diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..1fbb9a562 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,51 @@ +name: deploy-example-site-to-gitee + +on: + # 每当 push 到 main 分支时触发部署 + push: + branches: [main] + +jobs: + docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + # “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录 + fetch-depth: 0 + + - name: Clean git history + run: | + git config --global user.email "304327508@qq.com" + git config --global user.name "hooray" + git checkout --orphan new_branch + git add -A + git commit -m "deploy" + git branch -D main + git branch -m main + git push -f origin main + + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY + SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + with: + # 注意替换为你的 GitHub 源仓库地址 + source-repo: git@github.com:fantastic-admin/basic-example.git + # 注意替换为你的 Gitee 目标仓库地址 + destination-repo: git@gitee.com:fantastic-admin/basic-example.git + + - name: Build Gitee Pages + uses: yanglbme/gitee-pages-action@main + with: + # 注意替换为你的 Gitee 用户名 + gitee-username: hooray + # 注意在 Settings->Secrets 配置 GITEE_PASSWORD + gitee-password: ${{ secrets.GITEE_PASSWORD }} + # 注意替换为你的 Gitee 仓库,仓库名严格区分大小写,请准确填写,否则会出错 + gitee-repo: fantastic-admin/basic-example + # 要部署的分支,默认是 master,若是其他分支,则需要指定(指定的分支必须存在) + branch: main diff --git a/.nojekyll b/.nojekyll new file mode 100755 index 000000000..e69de29bb diff --git a/assets/HButton-8Jas6kcV.js b/assets/HButton-8Jas6kcV.js new file mode 100644 index 000000000..edf8de003 --- /dev/null +++ b/assets/HButton-8Jas6kcV.js @@ -0,0 +1 @@ +import{y as f}from"./index-QUc3dnoq.js";export{f as default}; diff --git a/assets/HCheckList-5QlfGgl8.js b/assets/HCheckList-5QlfGgl8.js new file mode 100644 index 000000000..d2abab62f --- /dev/null +++ b/assets/HCheckList-5QlfGgl8.js @@ -0,0 +1 @@ +import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js new file mode 100644 index 000000000..43942af7b --- /dev/null +++ b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js @@ -0,0 +1 @@ +import{d as c,D as u,o as a,e as s,M as l,Q as m,H as b,I as p,l as _,t as h,_ as f}from"./index-QUc3dnoq.js";const g={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7"},k=["disabled","onClick"],V=c({__name:"HCheckList",props:{modelValue:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(o,{emit:d}){const i=o,n=d;return u(()=>i.modelValue,t=>{n("change",t)}),(t,y)=>{const r=f;return a(),s("div",g,[(a(!0),s(l,null,m(t.options,e=>(a(),s("button",{key:e.value,disabled:t.disabled||e.disabled,class:b(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:bg-ui-primary hover:not-disabled:text-ui-text",{"text-ui-text bg-ui-primary":t.modelValue===e.value}]),onClick:v=>n("update:modelValue",e.value)},[e.icon?(a(),p(r,{key:0,name:e.icon},null,8,["name"])):(a(),s(l,{key:1},[_(h(e.label),1)],64))],10,k))),128))])}}});export{V as _}; diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.br b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.br new file mode 100644 index 000000000..08a739bc5 Binary files /dev/null and b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.br differ diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.gz b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.gz new file mode 100644 index 000000000..48fcc0e36 Binary files /dev/null and b/assets/HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js.gz differ diff --git a/assets/HDialog-dmffIHX0.js b/assets/HDialog-dmffIHX0.js new file mode 100644 index 000000000..0fc479529 --- /dev/null +++ b/assets/HDialog-dmffIHX0.js @@ -0,0 +1 @@ +import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js new file mode 100644 index 000000000..c59bb44a3 --- /dev/null +++ b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js @@ -0,0 +1 @@ +import{d as w,ai as b,r as C,C as p,o as d,I as k,i as t,h as s,g as e,a3 as c,a4 as m,f as o,H as V,a5 as B,aj as T,l as S,t as j,a7 as F,X as u,e as N,L as $,a9 as z,aa as D,_ as H}from"./index-QUc3dnoq.js";const I={class:"fixed inset-0 overflow-y-auto"},E={class:"min-h-full flex items-end justify-center p-4 text-center sm:items-center sm:p-0"},G={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},L={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},U=w({__name:"HDialog",props:{modelValue:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},emits:["update:modelValue","close"],setup(f,{emit:y}){const v=f,l=y,_=b(),x=C({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),h=p(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"})),r=p({get(){return v.modelValue},set(a){l("update:modelValue",a)}});function n(){r.value=!1,l("close")}return(a,i)=>{const g=H;return d(),k(e(D),{as:"template",appear:a.appear,show:e(r)},{default:t(()=>[s(e(z),{class:"fixed inset-0 z-2000 flex",onClose:i[0]||(i[0]=O=>!a.preventClose&&n())},{default:t(()=>[s(e(c),m({as:"template",appear:a.appear},e(x)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark:bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",I,[o("div",E,[s(e(c),m({as:"template",appear:a.appear},e(h)),{default:t(()=>[s(e(B),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl sm:my-8 sm:max-w-lg dark:bg-stone-8"},{default:t(()=>[o("div",G,[s(e(T),{"m-0":"","text-lg":"","text-dark":"","dark:text-white":""},{default:t(()=>[S(j(a.title),1)]),_:1}),s(g,{name:"carbon:close","cursor-pointer":"",onClick:n})]),s(e(F),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(_).footer?(d(),N("div",L,[u(a.$slots,"footer")])):$("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{U as _}; diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.br b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.br new file mode 100644 index 000000000..26b7e1861 Binary files /dev/null and b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.br differ diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.gz b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.gz new file mode 100644 index 000000000..9a9b52428 Binary files /dev/null and b/assets/HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js.gz differ diff --git a/assets/HDropdown-NekqRoz_.js b/assets/HDropdown-NekqRoz_.js new file mode 100644 index 000000000..1262f0fbd --- /dev/null +++ b/assets/HDropdown-NekqRoz_.js @@ -0,0 +1 @@ +import{n,c as t,o as p,I as a,i as e,X as r,a4 as c}from"./index-QUc3dnoq.js";const _={};function d(o,l){const s=t("VDropdown");return p(),a(s,c({triggers:["hover"],"popper-triggers":["hover"],delay:200},o.$attrs),{popper:e(()=>[r(o.$slots,"dropdown")]),default:e(()=>[r(o.$slots,"default")]),_:3},16)}const i=n(_,[["render",d]]);export{i as default}; diff --git a/assets/HDropdownMenu-poebdVt5.js b/assets/HDropdownMenu-poebdVt5.js new file mode 100644 index 000000000..10533b516 --- /dev/null +++ b/assets/HDropdownMenu-poebdVt5.js @@ -0,0 +1 @@ +import{U as f}from"./index-QUc3dnoq.js";export{f as default}; diff --git a/assets/HInput-K8-TW20p.js b/assets/HInput-K8-TW20p.js new file mode 100644 index 000000000..5ed0f0e84 --- /dev/null +++ b/assets/HInput-K8-TW20p.js @@ -0,0 +1 @@ +import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js b/assets/HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js new file mode 100644 index 000000000..3b5600b76 --- /dev/null +++ b/assets/HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js @@ -0,0 +1 @@ +import{d,r as n,o as r,e as i,f as p}from"./index-QUc3dnoq.js";const u={class:"relative w-full lg:w-48"},c=["value","placeholder","disabled"],_=d({__name:"HInput",props:{modelValue:{},placeholder:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(f,{expose:o,emit:a}){const t=a,l=n();function s(e){t("update:modelValue",e.target.value)}return o({ref:l}),(e,m)=>(r(),i("div",u,[p("input",{ref_key:"inputRef",ref:l,type:"text",value:e.modelValue,placeholder:e.placeholder,disabled:e.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled:cursor-not-allowed dark:bg-dark disabled:opacity-50 focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary placeholder-stone-4 dark:placeholder-stone-5",onInput:s},null,40,c)]))}});export{_}; diff --git a/assets/HKbd-JMGa1MD6.js b/assets/HKbd-JMGa1MD6.js new file mode 100644 index 000000000..1a4f81f5e --- /dev/null +++ b/assets/HKbd-JMGa1MD6.js @@ -0,0 +1 @@ +import{n,o as t,e as r,X as s}from"./index-QUc3dnoq.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] font-medium font-sans text-dark ring-1 ring-stone-3 ring-inset last:mr-0 dark:bg-dark-9 dark:text-white dark:ring-stone-7"};function i(e,c){return t(),r("kbd",a,[s(e.$slots,"default")])}const _=n(o,[["render",i]]);export{_ as default}; diff --git a/assets/HSelect-V-PN0_N2.js b/assets/HSelect-V-PN0_N2.js new file mode 100644 index 000000000..828131641 --- /dev/null +++ b/assets/HSelect-V-PN0_N2.js @@ -0,0 +1 @@ +import{_ as m}from"./HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js new file mode 100644 index 000000000..0550cea34 --- /dev/null +++ b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js @@ -0,0 +1 @@ +import{d as b,C as f,c as g,o as l,I as _,i as n,f as t,e as r,Q as h,M as v,t as d,g as k,h as w,a4 as x,_ as y,H as V}from"./index-QUc3dnoq.js";const C={class:"w-full inline-flex"},B=["disabled"],M={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg:w-48 focus:outline-none"},z=["disabled","onClick"],D=b({__name:"HSelect",props:{modelValue:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:c}){const o=i,u=c,a=f({get(){return o.options.find(e=>e.value===o.modelValue)??o.options[0]},set(e){u("update:modelValue",e.value)}});return(e,H)=>{const p=y,m=g("VMenu");return l(),_(m,x({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:n(()=>[t("div",$,[(l(!0),r(v,null,h(e.options,s=>(l(),r("button",{key:s.value,disabled:s.disabled,class:V(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled:cursor-not-allowed hover:not-disabled:bg-stone-1 dark:hover:not-disabled:bg-stone-9",{"font-bold":e.modelValue===s.value}]),onClick:I=>a.value=s},d(s.label),11,z))),128))])]),default:n(()=>[t("div",C,[t("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg:w-48 disabled:cursor-not-allowed dark:bg-dark focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary",disabled:e.disabled},[t("span",M,d(k(a).label),1),t("span",S,[w(p,{name:"carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,B)])]),_:1},16,["disabled"])}}});export{D as _}; diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.br b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.br new file mode 100644 index 000000000..e9bba292f Binary files /dev/null and b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.br differ diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.gz b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.gz new file mode 100644 index 000000000..4de7ed9ef Binary files /dev/null and b/assets/HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js.gz differ diff --git a/assets/HSlideover-s1L2ZFRV.js b/assets/HSlideover-s1L2ZFRV.js new file mode 100644 index 000000000..dbdfd9af9 --- /dev/null +++ b/assets/HSlideover-s1L2ZFRV.js @@ -0,0 +1 @@ +import{V as f}from"./index-QUc3dnoq.js";export{f as default}; diff --git a/assets/HTabList-D8q-ElJZ.js b/assets/HTabList-D8q-ElJZ.js new file mode 100644 index 000000000..bb21c133b --- /dev/null +++ b/assets/HTabList-D8q-ElJZ.js @@ -0,0 +1 @@ +import{W as f}from"./index-QUc3dnoq.js";export{f as default}; diff --git a/assets/HToggle-NBUKKPUp.js b/assets/HToggle-NBUKKPUp.js new file mode 100644 index 000000000..74549e987 --- /dev/null +++ b/assets/HToggle-NBUKKPUp.js @@ -0,0 +1 @@ +import{_ as m}from"./HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js new file mode 100644 index 000000000..fff63a320 --- /dev/null +++ b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js @@ -0,0 +1 @@ +import{r as w,C as d,d as V,ao as H,ap as K,aq as L,ar as P,x as R,D as U,as as v,at as j,au as O,av as $,aw as q,ax as M,M as z,ay as b,o as y,I as h,i as A,f as g,g as i,L as F,H as k,R as G,_ as J}from"./index-QUc3dnoq.js";function Q(t){var s,n;let o=(s=t==null?void 0:t.form)!=null?s:t.closest("form");if(o){for(let e of o.elements)if(e!==t&&(e.tagName==="INPUT"&&e.type==="submit"||e.tagName==="BUTTON"&&e.type==="submit"||e.nodeName==="INPUT"&&e.type==="image")){e.click();return}(n=o.requestSubmit)==null||n.call(o)}}function W(t,s,n){let o=w(n==null?void 0:n.value),e=d(()=>t.value!==void 0);return[d(()=>e.value?t.value:o.value),function(l){return e.value||(o.value=l),s==null?void 0:s(l)}]}let X=Symbol("GroupContext"),Y=V({name:"Switch",emits:{"update:modelValue":t=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:()=>`headlessui-switch-${H()}`}},inheritAttrs:!1,setup(t,{emit:s,attrs:n,slots:o,expose:e}){let l=K(X,null),[u,f]=W(d(()=>t.modelValue),a=>s("update:modelValue",a),d(()=>t.defaultChecked));function p(){f(!u.value)}let C=w(null),c=l===null?C:l.switchRef,x=L(d(()=>({as:t.as,type:n.type})),c);e({el:c,$el:c});function S(a){a.preventDefault(),p()}function I(a){a.key===b.Space?(a.preventDefault(),p()):a.key===b.Enter&&Q(a.currentTarget)}function B(a){a.preventDefault()}let m=d(()=>{var a,r;return(r=(a=P(c))==null?void 0:a.closest)==null?void 0:r.call(a,"form")});return R(()=>{U([m],()=>{if(!m.value||t.defaultChecked===void 0)return;function a(){f(t.defaultChecked)}return m.value.addEventListener("reset",a),()=>{var r;(r=m.value)==null||r.removeEventListener("reset",a)}},{immediate:!0})}),()=>{let{id:a,name:r,value:N,form:_,...T}=t,D={checked:u.value},E={id:a,ref:c,role:"switch",type:x.value,tabIndex:0,"aria-checked":u.value,"aria-labelledby":l==null?void 0:l.labelledby.value,"aria-describedby":l==null?void 0:l.describedby.value,onClick:S,onKeyup:I,onKeypress:B};return v(z,[r!=null&&u.value!=null?v(j,O({features:$.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:u.value,form:_,name:r,value:N})):null,q({ourProps:E,theirProps:{...n,...M(T,["modelValue","defaultChecked"])},slot:D,attrs:n,slots:o,name:"Switch"})])}}});const Z={class:"absolute inset-0 h-full w-full flex items-center justify-center"},ae=V({__name:"HToggle",props:{modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},emits:["update:modelValue"],setup(t,{emit:s}){const n=t,o=s,e=d({get(){return n.modelValue},set(l){o("update:modelValue",l)}});return(l,u)=>{const f=J;return y(),h(i(Y),{modelValue:i(e),"onUpdate:modelValue":u[0]||(u[0]=p=>G(e)?e.value=p:null),disabled:l.disabled,class:k(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",[i(e)?"bg-ui-primary":"bg-stone-3 dark:bg-stone-7"]])},{default:A(()=>[g("span",{class:k(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark:bg-dark",[i(e)?"translate-x-5":"translate-x-0"]])},[g("span",Z,[i(e)&&l.onIcon||!i(e)&&l.offIcon?(y(),h(f,{key:0,name:i(e)?l.onIcon:l.offIcon,class:"h-3 w-3 text-stone-7 dark:text-stone-3"},null,8,["name"])):F("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{ae as _}; diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.br b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.br new file mode 100644 index 000000000..5bbdc565c Binary files /dev/null and b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.br differ diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.gz b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.gz new file mode 100644 index 000000000..5f4097d7d Binary files /dev/null and b/assets/HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js.gz differ diff --git a/assets/HTooltip-q5RadIMw.js b/assets/HTooltip-q5RadIMw.js new file mode 100644 index 000000000..919c38f7b --- /dev/null +++ b/assets/HTooltip-q5RadIMw.js @@ -0,0 +1 @@ +import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js b/assets/HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js new file mode 100644 index 000000000..e90de3de0 --- /dev/null +++ b/assets/HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js @@ -0,0 +1 @@ +import{d as s,c as r,o as p,I as n,i as o,X as t,l,t as i,ae as c,af as d}from"./index-QUc3dnoq.js";const u=s({__name:"HTooltip",props:{text:{default:""}},setup(m){return(e,_)=>{const a=r("VTooltip");return p(),n(a,c(d(e.$attrs)),{popper:o(()=>[t(e.$slots,"text",{},()=>[l(i(e.text),1)])]),default:o(()=>[t(e.$slots,"default")]),_:3},16)}}});export{u as _}; diff --git a/assets/_...all_-3pbxKvO4.js b/assets/_...all_-3pbxKvO4.js new file mode 100644 index 000000000..35343718e --- /dev/null +++ b/assets/_...all_-3pbxKvO4.js @@ -0,0 +1 @@ +import{d as r,a as i,r as u,s as _,x as d,e as f,h as o,f as t,i as x,y as p,o as v,l as m,t as w,g,_ as h,q as a}from"./index-QUc3dnoq.js";const B={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12"},N={class:"flex flex-col gap-4"},k=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"desc mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),b=r({__name:"[...all]",setup(I){const s=i(),e=u({inter:Number.NaN,countdown:5});_(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){s.push("/")}return(C,V)=>{const l=h,c=p;return v(),f("div",B,[o(l,{name:"404",class:"text-[300px] lg:text-[400px]"}),t("div",N,[k,y,t("div",null,[o(c,{onClick:n},{default:x(()=>[m(w(g(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof a=="function"&&a(b);export{b as default}; diff --git a/assets/_...all_-3pbxKvO4.js.br b/assets/_...all_-3pbxKvO4.js.br new file mode 100644 index 000000000..78934dc20 --- /dev/null +++ b/assets/_...all_-3pbxKvO4.js.br @@ -0,0 +1,3 @@ +, Pڧ.IZ OvfǬe\H7Y9+X!L*61bnuk]ZIRN#$򴁂xN'TN!a 7x'1S4B1Z" mC,C J 9jz`8:S*WWzRD֩ fÚ Gn܋Vש +=RWKJd&åPE#4'kRkBJ⍔"GQ gwLR!-prhM?DrkOa{BE'~dVe +ӝo&r/s6FeY^W# v[[SݖęHύ6rVIcOGFA Nxp!%md )GGZ[bSgChH!Rd6p4.@vjXyOQIpt YdĪxtw({>6\b4a胍G]ς,0K[-R&2]4~M+ՕkF1\{̖/piMxё'}.G+e+ \ No newline at end of file diff --git a/assets/_...all_-3pbxKvO4.js.gz b/assets/_...all_-3pbxKvO4.js.gz new file mode 100644 index 000000000..37253392d Binary files /dev/null and b/assets/_...all_-3pbxKvO4.js.gz differ diff --git a/assets/actionbar.demo-gOTVaEUN.js b/assets/actionbar.demo-gOTVaEUN.js new file mode 100644 index 000000000..910a85e6c --- /dev/null +++ b/assets/actionbar.demo-gOTVaEUN.js @@ -0,0 +1 @@ +import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-AY0DsY4H.js";import{d as R,r as c,c as u,o as G,e as I,h as e,i as d,g as a,l as i,f as x,P as S,O as j,q as v}from"./index-QUc3dnoq.js";const A=x("p",null,"FixedActionBar",-1),N=x("p",{style:{"margin-bottom":"0"}}," 避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页 ",-1),O=R({name:"ComponentExampleActionbar",__name:"actionbar.demo",setup(T){const l=c({name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""});return($,o)=>{const k=S,s=u("ElInput"),n=u("ElFormItem"),r=u("ElOption"),f=u("ElSelect"),b=u("ElDatePicker"),p=u("ElCol"),_=u("ElTimePicker"),y=u("ElSwitch"),m=u("ElCheckbox"),E=u("ElCheckboxGroup"),V=u("ElRadio"),U=u("ElRadioGroup"),w=u("ElForm"),C=u("ElRow"),B=j,g=u("ElButton"),P=F;return G(),I("div",null,[e(k,{title:"固定底部操作栏",content:"避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页"},{content:d(()=>[A,N]),_:1}),e(B,null,{default:d(()=>[e(C,null,{default:d(()=>[e(p,{md:24,lg:12},{default:d(()=>[e(w,{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(f,{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(b,{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(_,{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(E,{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(V,{label:"线上品牌商赞助"}),e(V,{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(f,{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(b,{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(_,{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(E,{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(V,{label:"线上品牌商赞助"}),e(V,{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(f,{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(b,{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(_,{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(E,{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(V,{label:"线上品牌商赞助"}),e(V,{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(P,null,{default:d(()=>[e(g,{type:"primary",size:"large"},{default:d(()=>[i(" 立即创建 ")]),_:1}),e(g,{size:"large"},{default:d(()=>[i(" 取消 ")]),_:1})]),_:1})])}}});typeof v=="function"&&v(O);export{O as default}; diff --git a/assets/actionbar.demo-gOTVaEUN.js.br b/assets/actionbar.demo-gOTVaEUN.js.br new file mode 100644 index 000000000..63f0b202b Binary files /dev/null and b/assets/actionbar.demo-gOTVaEUN.js.br differ diff --git a/assets/actionbar.demo-gOTVaEUN.js.gz b/assets/actionbar.demo-gOTVaEUN.js.gz new file mode 100644 index 000000000..92f60f335 Binary files /dev/null and b/assets/actionbar.demo-gOTVaEUN.js.gz differ diff --git a/assets/alert-529_ZX8d.css b/assets/alert-529_ZX8d.css new file mode 100644 index 000000000..ece972780 --- /dev/null +++ b/assets/alert-529_ZX8d.css @@ -0,0 +1 @@ +.alert[data-v-95980fad]{padding:20px 20px 0;background-color:var(--g-container-bg);transition:background-color .3s} diff --git a/assets/alert-XNxsHsUl.js b/assets/alert-XNxsHsUl.js new file mode 100644 index 000000000..a53c762ce --- /dev/null +++ b/assets/alert-XNxsHsUl.js @@ -0,0 +1 @@ +import{n as o,c as t,o as c,e as s,h as n}from"./index-QUc3dnoq.js";const a={},r={class:"alert"};function l(_,d){const e=t("ElAlert");return c(),s("div",r,[n(e,{"show-icon":"",type:"info",title:"「插件」栏目下均为第三方插件的演示页面,框架默认并不包含这些插件。如需使用,请先安装对应插件。",closable:!1})])}const i=o(a,[["render",l],["__scopeId","data-v-95980fad"]]);export{i as default}; diff --git a/assets/animation-bJ9v-CIe.css b/assets/animation-bJ9v-CIe.css new file mode 100644 index 000000000..6115b1763 --- /dev/null +++ b/assets/animation-bJ9v-CIe.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-70e23f0e]{width:100px;height:100px;background-color:#00bfff} diff --git a/assets/animation-bJ9v-CIe.css.br b/assets/animation-bJ9v-CIe.css.br new file mode 100644 index 000000000..11cbbc0ac Binary files /dev/null and b/assets/animation-bJ9v-CIe.css.br differ diff --git a/assets/animation-bJ9v-CIe.css.gz b/assets/animation-bJ9v-CIe.css.gz new file mode 100644 index 000000000..8cca95bac Binary files /dev/null and b/assets/animation-bJ9v-CIe.css.gz differ diff --git a/assets/animation-iaG5UEqV.js b/assets/animation-iaG5UEqV.js new file mode 100644 index 000000000..d3744f825 --- /dev/null +++ b/assets/animation-iaG5UEqV.js @@ -0,0 +1 @@ +import{d as x,r as s,c as u,o as t,e as _,h as a,i as e,f as V,l as d,g as n,R as k,M as v,Q as p,t as y,T as F,L as $,_ as C,P as X,O as Y,I as c,n as j,q as B}from"./index-QUc3dnoq.js";import N from"./alert-XNxsHsUl.js";const P={style:{"margin-bottom":"0"}},A={key:0,class:"box"},w=x({__name:"animation",setup(G){const I=s([{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=s("animate__bounce"),m=s("animate__bounce"),f=s(!0);function U(r){window.open(r,"_blank")}return(r,o)=>{const D=u("ElTag"),z=C,O=u("ElButton"),S=X,h=u("ElOption"),L=u("ElOptionGroup"),R=u("ElSelect"),g=u("ElFormItem"),E=u("ElForm"),T=Y;return t(),_("div",null,[a(N),a(S,{title:"过渡动画",content:"结合 组件使用"},{content:e(()=>[V("p",P,[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(z,{name:"ep:link"})]),default:e(()=>[d(" 访问 animate.css ")]),_:1})]),_:1}),a(T,null,{default:e(()=>[a(E,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),_(v,null,p(n(I),l=>(t(),c(L,{key:l.label,label:l.label},{default:e(()=>[(t(!0),_(v,null,p(l.options,i=>(t(),c(h,{key:i.label,label:i.label,value:i.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),_(v,null,p(n(I),l=>(t(),c(L,{key:l.label,label:l.label},{default:e(()=>[(t(!0),_(v,null,p(l.options,i=>(t(),c(h,{key:i.label,label:i.label,value:i.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=>f.value=!n(f))},{default:e(()=>[d(y(n(f)?"隐藏":"显示"),1)]),_:1})]),_:1})]),_:1}),a(F,{"enter-active-class":`animate__animated ${n(b)}`,"leave-active-class":`animate__animated ${n(m)}`},{default:e(()=>[n(f)?(t(),_("div",A)):$("",!0)]),_:1},8,["enter-active-class","leave-active-class"])]),_:1})])}}});typeof B=="function"&&B(w);const q=j(w,[["__scopeId","data-v-70e23f0e"]]);export{q as default}; diff --git a/assets/animation-iaG5UEqV.js.br b/assets/animation-iaG5UEqV.js.br new file mode 100644 index 000000000..932221335 Binary files /dev/null and b/assets/animation-iaG5UEqV.js.br differ diff --git a/assets/animation-iaG5UEqV.js.gz b/assets/animation-iaG5UEqV.js.gz new file mode 100644 index 000000000..923e358fd Binary files /dev/null and b/assets/animation-iaG5UEqV.js.gz differ diff --git a/assets/button-DIhwCTDr.js b/assets/button-DIhwCTDr.js new file mode 100644 index 000000000..16c78795b --- /dev/null +++ b/assets/button-DIhwCTDr.js @@ -0,0 +1 @@ +import{n as u,c as p,o as _,e as s,h as e,i as t,l,f as r,_ as f}from"./index-QUc3dnoq.js";const c={},y={style:{"margin-bottom":"10px"}};function m(g,b){const d=p("ElDivider"),a=p("ElButton"),i=p("ElRow"),n=f,o=p("ElButtonGroup");return _(),s("div",null,[e(d,{"content-position":"left"},{default:t(()=>[l(" 基础用法 ")]),_:1}),e(i,null,{default:t(()=>[e(a,null,{default:t(()=>[l("默认按钮")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success"},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info"},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning"},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger"},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(a,{plain:""},{default:t(()=>[l(" 朴素按钮 ")]),_:1}),e(a,{type:"primary",plain:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",plain:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",plain:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",plain:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",plain:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(a,{round:""},{default:t(()=>[l(" 圆角按钮 ")]),_:1}),e(a,{type:"primary",round:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",round:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",round:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",round:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",round:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(a,{circle:""},{icon:t(()=>[e(n,{name:"ep:search"})]),_:1}),e(a,{type:"primary",circle:""},{icon:t(()=>[e(n,{name:"ep:edit"})]),_:1}),e(a,{type:"success",circle:""},{icon:t(()=>[e(n,{name:"ep:check"})]),_:1}),e(a,{type:"info",circle:""},{icon:t(()=>[e(n,{name:"ep:message"})]),_:1}),e(a,{type:"warning",circle:""},{icon:t(()=>[e(n,{name:"ep:star"})]),_:1}),e(a,{type:"danger",circle:""},{icon:t(()=>[e(n,{name:"ep:delete"})]),_:1})]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 禁用状态 ")]),_:1}),e(i,null,{default:t(()=>[e(a,{disabled:""},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{type:"primary",disabled:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",disabled:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",disabled:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",disabled:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",disabled:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(a,{plain:"",disabled:""},{default:t(()=>[l(" 朴素按钮 ")]),_:1}),e(a,{type:"primary",plain:"",disabled:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",plain:"",disabled:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",plain:"",disabled:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",plain:"",disabled:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",plain:"",disabled:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"primary",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"success",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"info",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"warning",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"danger",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 图标按钮 ")]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:edit"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:share"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:delete"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:search"})]),default:t(()=>[l(" 搜索 ")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 上传 "),e(n,{name:"ep:upload",class:"el-icon--right"})]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 按钮组 ")]),_:1}),e(o,{style:{"margin-right":"10px"}},{default:t(()=>[e(a,{type:"primary"},{default:t(()=>[e(n,{name:"ep:arrow-left",class:"el-icon--left"}),l(" 上一页 ")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 下一页 "),e(n,{name:"ep:arrow-right",class:"el-icon--right"})]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:edit"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:share"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"ep:delete"})]),_:1})]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 加载中 ")]),_:1}),e(a,{type:"primary",loading:!0},{default:t(()=>[l(" 加载中 ")]),_:1}),e(d,{"content-position":"left"},{default:t(()=>[l(" 不同尺寸 ")]),_:1}),r("div",y,[e(a,{size:"large"},{default:t(()=>[l(" 大号按钮 ")]),_:1}),e(a,{size:"default"},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{size:"small"},{default:t(()=>[l(" 小号按钮 ")]),_:1})]),r("div",null,[e(a,{size:"large",round:""},{default:t(()=>[l(" 大号按钮 ")]),_:1}),e(a,{size:"default",round:""},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{size:"small",round:""},{default:t(()=>[l(" 小号按钮 ")]),_:1})])])}const x=u(c,[["render",m],["__scopeId","data-v-96d55110"]]);export{x as default}; diff --git a/assets/button-DIhwCTDr.js.br b/assets/button-DIhwCTDr.js.br new file mode 100644 index 000000000..27cfc0ca5 Binary files /dev/null and b/assets/button-DIhwCTDr.js.br differ diff --git a/assets/button-DIhwCTDr.js.gz b/assets/button-DIhwCTDr.js.gz new file mode 100644 index 000000000..c86d9c7cd Binary files /dev/null and b/assets/button-DIhwCTDr.js.gz differ diff --git a/assets/button-E0PfI6s4.css b/assets/button-E0PfI6s4.css new file mode 100644 index 000000000..42545890f --- /dev/null +++ b/assets/button-E0PfI6s4.css @@ -0,0 +1 @@ +.el-row[data-v-96d55110]{margin-bottom:20px} diff --git a/assets/checkbox-A5mGditY.js b/assets/checkbox-A5mGditY.js new file mode 100644 index 000000000..07e1526f4 --- /dev/null +++ b/assets/checkbox-A5mGditY.js @@ -0,0 +1 @@ +import{_ as m}from"./checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js";import"./index-QUc3dnoq.js";export{m as default}; diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js new file mode 100644 index 000000000..1d6470c77 --- /dev/null +++ b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js @@ -0,0 +1 @@ +import{d as h,r as d,c as i,o as r,e as C,h as l,i as t,l as a,g as u,R as s,M as U,t as B,I as g,Q as D}from"./index-QUc3dnoq.js";const R=h({__name:"checkbox",setup(A){const p=d(!0),f=d(!1),V=d(!0),b=d(["选中且禁用","复选框 A"]),c=d(["上海","北京"]),E=d(["上海","北京","广州","深圳"]),k=d(["上海"]),_=d(!0),x=d(!1);return(L,o)=>{const m=i("ElDivider"),n=i("ElCheckbox"),v=i("ElCheckboxGroup"),G=i("ElCheckboxButton");return r(),C("div",null,[l(m,{"content-position":"left"},{default:t(()=>[a(" 基础用法 ")]),_:1}),l(n,{modelValue:u(p),"onUpdate:modelValue":o[0]||(o[0]=e=>s(p)?p.value=e:null)},{default:t(()=>[a(" 备选项 ")]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 禁用状态 ")]),_:1}),l(n,{modelValue:u(f),"onUpdate:modelValue":o[1]||(o[1]=e=>s(f)?f.value=e:null),disabled:""},{default:t(()=>[a(" 备选项1 ")]),_:1},8,["modelValue"]),l(n,{modelValue:u(V),"onUpdate:modelValue":o[2]||(o[2]=e=>s(V)?V.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(c),"onUpdate:modelValue":o[4]||(o[4]=e=>s(c)?c.value=e:null),min:1,max:2},{default:t(()=>[(r(!0),C(U,null,D(u(E),e=>(r(),g(n,{key:e,label:e},{default:t(()=>[a(B(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 按钮样式 ")]),_:1}),l(v,{modelValue:u(k),"onUpdate:modelValue":o[5]||(o[5]=e=>s(k)?k.value=e:null)},{default:t(()=>[(r(!0),C(U,null,D(u(E),e=>(r(),g(G,{key:e,label:e},{default:t(()=>[a(B(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 带有边框 ")]),_:1}),l(n,{modelValue:u(_),"onUpdate:modelValue":o[6]||(o[6]=e=>s(_)?_.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{R as _}; diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.br b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.br new file mode 100644 index 000000000..6cb8a81a9 Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.br differ diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.gz b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.gz new file mode 100644 index 000000000..9b2770b14 Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js.gz differ diff --git a/assets/count-7NYRvWLS.css b/assets/count-7NYRvWLS.css new file mode 100644 index 000000000..fb79665ae --- /dev/null +++ b/assets/count-7NYRvWLS.css @@ -0,0 +1 @@ +.count-to[data-v-32366631]{display:inline-block;margin-bottom:20px;font-size:60px;color:#f6416c} diff --git a/assets/count.to-i_EJeWkR.js b/assets/count.to-i_EJeWkR.js new file mode 100644 index 000000000..7392e64ac --- /dev/null +++ b/assets/count.to-i_EJeWkR.js @@ -0,0 +1 @@ +import{n as T,o as D,e as O,t as k,d as $,r as x,c as m,h as l,i as s,f as I,l as c,g as n,_ as j,P as B,O as R,q as g}from"./index-QUc3dnoq.js";import U from"./alert-XNxsHsUl.js";let F=0;const v="webkit moz ms o".split(" ");let d,p;const M=typeof window>"u";if(M)d=function(){},p=function(){};else{d=window.requestAnimationFrame,p=window.cancelAnimationFrame;let a;for(let e=0;e{e(t+i)},i);return F=t+i,u},p=function(e){window.clearTimeout(e)})}const z={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 H(a,e,t,i,u,y){return D(),O("span",null,k(u.displayValue),1)}const V=T(z,[["render",H]]);function K(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function S(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 G=function(a){for(var e=1;e{const N=m("ElTag"),q=j,_=m("ElButton"),A=B,h=m("ElInputNumber"),f=m("ElFormItem"),b=m("ElInput"),C=m("ElForm"),P=R;return D(),O("div",null,[l(U),l(A,{title:"计数器"},{content:s(()=>[I("p",J,[c(" 安装命令:"),l(N,null,{default:s(()=>[c("pnpm add vue3-count-to")]),_:1})])]),default:s(()=>[l(_,{onClick:r[0]||(r[0]=o=>y("https://github.com/xiaofan9/vue-count-to"))},{icon:s(()=>[l(q,{name:"ep:link"})]),default:s(()=>[c(" 访问 vue-count-to ")]),_:1})]),_:1}),l(P,null,{default:s(()=>[l(n(G),{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(C,{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":r[1]||(r[1]=o=>n(t).startVal=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"endVal"},{default:s(()=>[l(h,{modelValue:n(t).endVal,"onUpdate:modelValue":r[2]||(r[2]=o=>n(t).endVal=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"duration"},{default:s(()=>[l(h,{modelValue:n(t).duration,"onUpdate:modelValue":r[3]||(r[3]=o=>n(t).duration=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"decimals"},{default:s(()=>[l(h,{modelValue:n(t).decimals,"onUpdate:modelValue":r[4]||(r[4]=o=>n(t).decimals=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"separator"},{default:s(()=>[l(b,{modelValue:n(t).separator,"onUpdate:modelValue":r[5]||(r[5]=o=>n(t).separator=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"prefix"},{default:s(()=>[l(b,{modelValue:n(t).prefix,"onUpdate:modelValue":r[6]||(r[6]=o=>n(t).prefix=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"suffix"},{default:s(()=>[l(b,{modelValue:n(t).suffix,"onUpdate:modelValue":r[7]||(r[7]=o=>n(t).suffix=o)},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 g=="function"&&g(E);const W=T(E,[["__scopeId","data-v-32366631"]]);export{W as default}; diff --git a/assets/count.to-i_EJeWkR.js.br b/assets/count.to-i_EJeWkR.js.br new file mode 100644 index 000000000..38d2f808c Binary files /dev/null and b/assets/count.to-i_EJeWkR.js.br differ diff --git a/assets/count.to-i_EJeWkR.js.gz b/assets/count.to-i_EJeWkR.js.gz new file mode 100644 index 000000000..4c214fdb3 Binary files /dev/null and b/assets/count.to-i_EJeWkR.js.gz differ diff --git a/assets/detail-OW7HRb9K.js b/assets/detail-OW7HRb9K.js new file mode 100644 index 000000000..b4f051e03 --- /dev/null +++ b/assets/detail-OW7HRb9K.js @@ -0,0 +1 @@ +import{d as c,a as r,c as l,o as u,I as _,i as t,h as f,l as i,g as p,O as m,q as o}from"./index-QUc3dnoq.js";const d=c({__name:"detail",setup(k){const n=r();return(x,e)=>{const a=l("ElButton"),s=m;return u(),_(s,null,{default:t(()=>[f(a,{onClick:e[0]||(e[0]=B=>p(n).go(-1))},{default:t(()=>[i(" 返回 ")]),_:1})]),_:1})}}});typeof o=="function"&&o(d);export{d as default}; diff --git a/assets/detail1-vHtT3Pqd.js b/assets/detail1-vHtT3Pqd.js new file mode 100644 index 000000000..5a5322fe9 --- /dev/null +++ b/assets/detail1-vHtT3Pqd.js @@ -0,0 +1 @@ +import{n,o as c,e as o,h as s,i as r,l as _,q as e,O as l}from"./index-QUc3dnoq.js";const t={};function f(i,d){const a=l;return c(),o("div",null,[s(a,null,{default:r(()=>[_(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const m=n(t,[["render",f]]);export{m as default}; diff --git a/assets/detail2-vHtT3Pqd.js b/assets/detail2-vHtT3Pqd.js new file mode 100644 index 000000000..5a5322fe9 --- /dev/null +++ b/assets/detail2-vHtT3Pqd.js @@ -0,0 +1 @@ +import{n,o as c,e as o,h as s,i as r,l as _,q as e,O as l}from"./index-QUc3dnoq.js";const t={};function f(i,d){const a=l;return c(),o("div",null,[s(a,null,{default:r(()=>[_(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const m=n(t,[["render",f]]);export{m as default}; diff --git a/assets/echarts-9DJKEWd1.js b/assets/echarts-9DJKEWd1.js new file mode 100644 index 000000000..254f6797a --- /dev/null +++ b/assets/echarts-9DJKEWd1.js @@ -0,0 +1,60 @@ +import{d as pL,r as Al,x as dL,c as Ml,o as gL,e as yL,h as me,i as _e,f as Vi,l as Bh,_ as mL,P as _L,O as SL,q as am}from"./index-QUc3dnoq.js";import xL from"./alert-XNxsHsUl.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 wL=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),bL=function(){function r(){this.browser=new wL,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 bL;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):TL(navigator.userAgent,Mn);function TL(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 Tt=Mn;var Zd=12,ob="sans-serif",$a=Zd+"px "+ob,CL=20,AL=100,ML="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function DL(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 QL(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 cb(r){return r.nodeName.toUpperCase()==="CANVAS"}var JL=/([&<>"'])/g,jL={"&":"&","<":"<",">":">",'"':""","'":"'"};function Pe(r){return r==null?"":(r+"").replace(JL,function(e,t){return jL[t]})}var tI=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zh=[],eI=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function pp(r,e,t,a){return t=t||{},a?um(r,e,t):eI&&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(Tt.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(cb(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=rI(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&tI.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function rI(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 aI(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 nI=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=iI(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 Fr(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 fo(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 oI(r){var e=nr();return eg(e,r),e}var sI=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 lt=sI;var Ll=Math.min,Il=Math.max,rn=new lt,an=new lt,nn=new lt,on=new lt,Ao=new lt,Mo=new lt,lI=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=Ll(e.x,this.x),a=Ll(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Il(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Il(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 Fr(i,i,[-t.x,-t.y]),rg(i,i,[a,n]),Fr(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}rn.x=nn.x=t.x,rn.y=on.y=t.y,an.x=on.x=t.x+t.width,an.y=nn.y=t.y+t.height,rn.transform(a),on.transform(a),an.transform(a),nn.transform(a),e.x=Ll(rn.x,an.x,nn.x,on.x),e.y=Ll(rn.y,an.y,nn.y,on.y);var l=Il(rn.x,an.x,nn.x,on.x),u=Il(rn.y,an.y,nn.y,on.y);e.width=l-e.x,e.height=u-e.y},r}();const ht=lI;var pb="silent";function uI(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:fI}}function fI(){sa(this.event)}var hI=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}(),vI=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Fh=new ht(0,0,0,0),db=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 hI,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new YL(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(A(vI,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=gb(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=uI(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 ht(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 cI(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?pb:!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=cI(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==pb)){e.target=o;break}}}function gb(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}const pI=db;var yb=32,Lo=7;function dI(r){for(var e=0;r>=yb;)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 gI(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 yI(r,e){var t=Lo,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]=Lo||b>=Lo);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=Lo||C>=Lo);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,zi=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 mI=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 _I=mI;var mb;mb=Tt.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=mb;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 _b=Nu;var Pl=Math.pow,Ga=Math.sqrt,ef=1e-8,Sb=1e-4,ym=Ga(3),Rl=1/3,Rr=ui(),Je=ui(),Xi=ui();function ka(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(ka(f)&&ka(h))if(ka(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(ka(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=Ga(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*Ga(f*f*f)),x=Math.acos(w)/3,b=Ga(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 wb(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(ka(o)){if(xb(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var f=i*i-4*o*s;if(ka(f))n[0]=-i/(2*o);else if(f>0){var h=Ga(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 Ya(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 bb(r,e,t,a,n,i,o,s,l,u,f){var h,v=.005,c=1/0,p,d,g,y;Rr[0]=l,Rr[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(Rr,Je),g=0&&g=0&&u<=1&&(n[l++]=u)}}else{var f=o*o-4*i*s;if(ka(f)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(f>0){var h=Ga(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 Tb(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 Cb(r,e,t,a,n,i,o,s,l){var u,f=.005,h=1/0;Rr[0]=o,Rr[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(Rr,Je);c=0&&c=1?1:rf(0,a,i,1,l,s)&&jt(0,n,o,1,s[0])}}}var TI=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:_b[e]||ag(e)},r}();const CI=TI;var Ab=function(){function r(e){this.value=e}return r}(),AI=function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new Ab(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}(),MI=function(){function r(e){this._list=new AI,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 Ab(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=MI;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 mr(r){return r=Math.round(r),r<0?0:r>255?255:r}function DI(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)==="%"?mr(parseFloat(e)/100*255):mr(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 Oa(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 Mb=new nl(20),El=null;function mi(r,e){El&&mp(El,e),El=Mb.put(r,El||e.slice())}function Ge(r,e){if(r){e=e||[];var t=Mb.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]),mi(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),mi(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),mi(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])),mi(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),mi(r,e),e;case"hsl":if(u.length!==3){Ze(e,0,0,0,1);return}return _p(u,e),mi(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,mr(Yh(o,i,t+1/3)*255),mr(Yh(o,i,t)*255),mr(Yh(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function LI(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]=mr(Oa(o[0],s[0],l)),t[1]=mr(Oa(o[1],s[1],l)),t[2]=mr(Oa(o[2],s[2],l)),t[3]=Rs(Oa(o[3],s[3],l)),t}}function II(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([mr(Oa(o[0],s[0],l)),mr(Oa(o[1],s[1],l)),mr(Oa(o[2],s[2],l)),Rs(Oa(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=LI(n),e!=null&&(n[0]=DI(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 Na(r){return r-Sm}function kl(r){return of(r*1e3)/1e3}function xp(r){return of(r*1e4)/1e4}function PI(r){return"matrix("+kl(r[0])+","+kl(r[1])+","+kl(r[2])+","+kl(r[3])+","+xp(r[4])+","+xp(r[5])+")"}var RI={left:"start",right:"end",center:"middle",middle:"middle"};function EI(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function kI(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function OI(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 Db(r){return r&&!!r.image}function NI(r){return r&&!!r.svgElement}function ng(r){return Db(r)||NI(r)}function Lb(r){return r.type==="linear"}function Ib(r){return r.type==="radial"}function Pb(r){return r&&(r.type==="linear"||r.type==="radial")}function th(r){return"url(#"+r+")"}function Rb(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 Eb(r){var e=r.x||0,t=r.y||0,a=(r.rotation||0)*Ru,n=ut(r.scaleX,1),i=ut(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 BI=function(){return Tt.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 Jr(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(ge(t)){var u=FI(t);s=u,(u===1&&!At(t[0])||u===2&&!At(t[0][0]))&&(o=!0)}else if(At(t)&&!Is(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)}}),Lb(t)?s=bp:Ib(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:_b[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?Io: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):VI(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:Jr(_.x,S.x,y),y:Jr(_.y,S.y,y),colorStops:G(_.colorStops,function(b,T){var C=S.colorStops[T];return{offset:Jr(b.offset,C.offset,y),color:Bu(Xh([],b.color,C.color,y))}}),global:S.global},w?(e[l].x2=Jr(_.x2,S.x2,y),e[l].y2=Jr(_.y2,S.y2,y)):e[l].r=Jr(_.r,S.r,y)}else if(u)Xh(m,c[n],p[n],y),a||(e[l]=Bu(m));else{var x=Jr(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],Io),Ol(Io,Io,n,1),e[a]=Bu(Io)):t===Vu?Ol(e[a],e[a],n,1):t===kb&&xm(e[a],e[a],n,1)},r}(),WI=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=WI;function $i(){return new Date().getTime()}var $I=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=$i()-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=$i(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=$i(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=$i()-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 UI=$I;var YI=300,qh=Tt.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 ZI(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 XI(r,e){return Xe(r.dom,new qI(r,e),!0)}function Ob(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 qI=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;Ob(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.__lastTouchMomentDm||r<-Dm}var ln=[],_i=[],jh=nr(),tv=Math.abs,eP=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 sn(this.rotation)||sn(this.x)||sn(this.y)||sn(this.scaleX-1)||sn(this.scaleY-1)||sn(this.skewX)||sn(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),this.invTransform=null);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(ln);var a=ln[0]<0?-1:1,n=ln[1]<0?-1:1,i=((ln[0]-a)*t+a)/ln[0]||0,o=((ln[1]-n)*t+n)/ln[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||nr(),fo(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(_i,e.invTransform,t),t=_i);var a=this.originX,n=this.originY;(a||n)&&(jh[4]=a,jh[5]=n,aa(_i,t,jh),_i[4]-=a,_i[5]-=n,t=_i),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){Bb(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}(),Hr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Bb(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+=Sr(a[0],t.width),u+=Sr(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=Hr.concat(["ignore"]),rP=Gr(Hr,function(r,e){return r[e]=!0,r},{ignore:!1}),Si={},aP=new ht(0,0,0,0),og=function(){function r(e){this.id=ub(),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=aP;a.layoutRect?f.copy(a.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Si,a,f):lf(Si,a,f),i.x=Si.x,i.y=Si.y,o=Si.align,s=Si.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=Sr(h[0],f.width),c=Sr(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()?Lp: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]),iP(t,a,y)}}var w=new ig(t,!1,!1,h?It(p,function(L){return L.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 zb=og;var Gb=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)?vP(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),Hb),r=(+r).toFixed(e),t?r:+r}function rr(r){return r.sort(function(e,t){return e-t}),r}function kr(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 cP(r)}function cP(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 Wb(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 pP(r,e){var t=Gr(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=Gr(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 dP(r,e){var t=Math.max(kr(r),kr(e)),a=r+e;return t>Hb?a:$t(a,t)}var Em=9007199254740991;function $b(r){var e=Math.PI*2;return(r%e+e)%e}function uf(r){return r>-Rm&&r=10&&e++,e}function Ub(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 FP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],HP=ni(FP),WP=function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return HP(this,e,t)},r}(),Pp=new nl(50);function $P(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=Ua.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 nT(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?YP(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 YP(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=aT(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 L=b.width,I=L==null||L==="auto";if(typeof L=="string"&&L.charAt(L.length-1)==="%")x.percentWidth=L,f.push(x),x.contentWidth=Fe(x.text,M);else{if(I){var P=b.backgroundColor,R=P&&P.image;R&&(R=$P(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=iT(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 JP=Gr(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function jP(r){return QP(r)?!!JP[r]:!0}function iT(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"],tR=["invisible"],eR=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%fn,n<0&&(n=n+fn),i=i%fn,i<0&&(i=i+fn),n>i&&!o?i+=fn: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},hn=[],vn=[],Tr=[],ma=[],Cr=[],Ar=[],vv=Math.min,cv=Math.max,cn=Math.cos,pn=Math.sin,qr=Math.abs,Ep=Math.PI,Ma=Ep*2,pv=typeof Float32Array<"u",Po=[];function dv(r){var e=Math.round(r/Ep*1e8)/1e8;return e%2*Ep}function oT(r,e){var t=dv(r[0]);t<0&&(t+=Ma);var a=t-r[0],n=r[1];n+=a,!e&&n-t>=Ma?n=t+Ma:e&&t-n>=Ma?n=t-Ma:!e&&t>n?n=t+(Ma-dv(t-n)):e&&t0&&(this._ux=qr(a/sf/e)||0,this._uy=qr(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=qr(e-this._xi),n=qr(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,oT(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=cn(i)*a+e,this._yi=pn(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(){Tr[0]=Tr[1]=Cr[0]=Cr[1]=Number.MAX_VALUE,ma[0]=ma[1]=Ar[0]=Ar[1]=-Number.MAX_VALUE;var e=this.data,t=0,a=0,n=0,i=0,o;for(o=0;oa||qr(_)>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=SI(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=wI(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++],L=e[v++],I=e[v++],P=I+L;v+=1,e[v++],p&&(s=cn(L)*M+T,l=pn(L)*D+C),d=cv(M,D)*vv(Ma,Math.abs(I)),i=cn(P)*M+T,o=pn(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=qr(h-u),M=qr(v-f);if(C>n||M>i){if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;e.lineTo(u*(1-L)+h*L,f*(1-L)+v*L);break t}g+=D}e.lineTo(h,v),u=h,f=v,_=0}else{var I=C*C+M*M;I>_&&(S=h,w=v,_=I)}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 L=(m-g)/D;Ya(u,P,E,O,L,hn),Ya(f,R,N,V,L,vn),e.bezierCurveTo(hn[1],vn[1],hn[2],vn[2],hn[3],vn[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 L=(m-g)/D;Ps(u,P,E,L,hn),Ps(f,R,N,L,vn),e.quadraticCurveTo(hn[1],vn[1],hn[2],vn[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++],ct=a[x++],_t=a[x++],pt=!a[x++],et=Z>Q?Z:Q,dt=qr(Z-Q)>.001,ot=J+ct,q=!1;if(c){var D=p[y++];g+D>m&&(ot=J+ct*(m-g)/D,q=!0),g+=D}if(dt&&e.ellipse?e.ellipse(F,W,Z,Q,_t,J,ot,pt):e.arc(F,W,et,J,ot,pt),q)break t;T&&(s=cn(J)*Z+F,l=pn(J)*Q+W),u=cn(ot)*Z+F,f=pn(ot)*Q+W;break;case Rt.R:s=u=a[x],l=f=a[x+1],h=a[x++],v=a[x++];var st=a[x++],Vt=a[x++];if(c){var D=p[y++];if(g+D>m){var St=m-g;e.moveTo(h,v),e.lineTo(h+vv(St,st),v),St-=st,St>0&&e.lineTo(h+st,v+vv(St,Vt)),St-=Vt,St>0&&e.lineTo(h+cv(st-St,0),v+Vt),St-=st,St>0&&e.lineTo(h,v+cv(Vt-St,0));break t}g+=D}e.rect(h,v,st,Vt);break;case Rt.Z:if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;e.lineTo(u*(1-L)+s*L,f*(1-L)+l*L);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 $r=oR;function La(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 jr(r,e,t,a,n,i){if(i>e&&i>a||in?s:0}var _a=$r.CMD,dn=Math.PI*2,uR=1e-4;function fR(r,e){return Math.abs(r-e)e&&u>a&&u>i&&u>s||u1&&hR(),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);be[0]=-l,be[1]=l;var u=Math.abs(a-n);if(u<1e-4)return 0;if(u>=dn-1e-4){a=0,n=dn;var f=i?1:-1;return o>=be[0]+r&&o<=be[1]+r?f:0}if(a>n){var h=a;a=n,n=h}a<0&&(a+=dn,n+=dn);for(var v=0,c=0;c<2;c++){var p=be[c];if(p+r>o){var d=Math.atan2(s,p),f=i?1:-1;d<0&&(d=dn+d),(d>=a&&d<=n||d+dn>=a&&d+dn<=n)&&(d>Math.PI/2&&d1&&(t||(s+=jr(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(La(l,u,i[p],i[p+1],e,a,n))return!0}else s+=jr(l,u,i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case _a.C:if(t){if(sR(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=vR(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(sT(l,u,i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=cR(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+=jr(l,u,v,c,a,n);var T=(a-y)*S/_+y;if(t){if(lR(y,m,S,w,w+x,b,e,T,n))return!0}else s+=pR(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(La(f,h,v,h,e,a,n)||La(v,h,v,c,e,a,n)||La(v,c,f,c,e,a,n)||La(f,c,f,h,e,a,n))return!0}else s+=jr(v,h,v,c,a,n),s+=jr(f,c,f,h,a,n);break;case _a.Z:if(t){if(La(l,u,f,h,e,a,n))return!0}else s+=jr(l,u,f,h,a,n);l=f,u=h;break}}return!t&&!fR(u,h)&&(s+=jr(l,u,f,h,a,n)||0),s!==0}function dR(r,e,t){return lT(r,0,!1,e,t)}function gR(r,e,t,a){return lT(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),yR={style:j({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},nh.style)},gv=Hr.concat(["invisible","culling","z","z2","zlevel","parent"]),mR=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?tP:Lp}else if(t)return Lp}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&zi)&&(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)),gR(s,l/u,t,a)))return!0}if(this.hasFill())return dR(s,t,a)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=zi,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&zi)},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(_R,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);uT.prototype.type="tspan";const Os=uT;var SR=j({x:0,y:0},Xn),xR={style:j({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},nh.style)};function wR(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var fT=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return Jf(SR,t)},e.prototype._getSize=function(t){var a=this.style,n=a[t];if(n!=null)return n;var i=wR(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 xR},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ht(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ir);fT.prototype.type="image";const he=fT;function bR(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 Ui=Math.round;function hT(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&&(Ui(a*2)===Ui(n*2)&&(r.x1=r.x2=zn(a,s,!0)),Ui(i*2)===Ui(o*2)&&(r.y1=r.y2=zn(i,s,!0))),r}}function vT(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=Ui(r*2);return(a+Ui(e))%2===0?a/2:(a+(t?1:-1))/2}var TR=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),CR={},cT=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new TR},e.prototype.buildPath=function(t,a){var n,i,o,s;if(this.subPixelOptimize){var l=vT(CR,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?bR(t,a):t.rect(n,i,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(yt);cT.prototype.type="rect";const xt=cT;var Um={fill:"#000"},Ym=2,AR={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)},pT=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,L=t.width!=null&&(t.overflow==="truncate"||t.overflow==="break"||t.overflow==="breakAll"),I=o.calculatedLineHeight,P=0;P=0&&(P=x[I],P.align==="right");)this._placeToken(P,t,T,y,L,"right",_),C-=P.width,L-=P.width,I--;for(D+=(i-(D-g)-(m-L)-C)/2;M<=I;)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||$a,g.opacity=Vr(u.opacity,a.opacity,1),Xm(g,u),w&&(g.lineWidth=Vr(u.lineWidth,a.lineWidth,_),g.lineDash=ut(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 ht(as(g.x,b,g.textAlign),Gi(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(xt),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=ut(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=ut(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=Vr(t.opacity,a.opacity,1)},e.makeFont=function(t){var a="";return gT(t)&&(a=[t.fontStyle,t.fontWeight,dT(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),a&&dr(a)||t.textFont||t.font},e}(ir),MR={left:!0,right:1,center:1},DR={top:1,bottom:1,middle:1},Zm=["fontStyle","fontWeight","fontSize","fontFamily"];function dT(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 yt){var o=yT(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(xi(s)||xi(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=B({},a),u=B({},u),u.fill=s):!xi(u.fill)&&xi(s)?(i=!0,a=B({},a),u=B({},u),u.fill=a0(s)):!xi(u.stroke)&&xi(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??vo)}return a}function OR(r,e,t){if(t&&t.z2==null){t=B({},t);var a=r.z2SelectLift;t.z2=r.z2+(a??IR)}return t}function NR(r,e,t){var a=vt(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:ER(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 kR(this,r,e,t);if(r==="blur")return NR(this,r,t);if(r==="select")return OR(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){!TT(r,e)&&!r.__highByOuter&&pa(r,mT)}function o0(r,e){!TT(r,e)&&!r.__highByOuter&&pa(r,_T)}function ua(r,e){r.__highByOuter|=1<<(e||0),pa(r,mT)}function fa(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&pa(r,_T)}function xT(r){pa(r,pg)}function dg(r){pa(r,ST)}function wT(r){pa(r,PR)}function bT(r){pa(r,RR)}function TT(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function CT(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){ST(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 HR(r){Gn(r,!1)}function Ft(r,e,t,a){a?HR(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"],WR={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 qR=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,KR=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function QR(r){var e=new $r;if(!r)return e;var t=0,a=0,n=t,i=a,o,s=$r.CMD,l=r.match(qR);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 nE(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 iE(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*bi(l),h+a*gn(l)),r.arc(f,h,a,l,u,!v),n>hr&&(r.moveTo(f+n*bi(u),h+n*gn(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,L=void 0,I=void 0,P=void 0,R=a*bi(l),E=a*gn(l),N=n*bi(u),O=n*gn(u),V=c>hr;if(V){var F=e.cornerRadius;F&&(t=nE(F),d=t[0],g=t[1],y=t[2],m=t[3]);var W=p0(a-n)/2;if(_=Mr(W,y),S=Mr(W,m),w=Mr(W,d),x=Mr(W,g),C=b=ns(_,S),M=T=ns(w,x),(b>hr||T>hr)&&(D=a*bi(u),L=a*gn(u),I=n*bi(l),P=n*gn(l),chr){var dt=Mr(y,C),ot=Mr(m,C),q=Wl(I,P,R,E,a,dt,v),st=Wl(D,L,N,O,a,ot,v);r.moveTo(f+q.cx+q.x0,h+q.cy+q.y0),C0&&r.arc(f+q.cx,h+q.cy,dt,ce(q.y0,q.x0),ce(q.y1,q.x1),!v),r.arc(f,h,a,ce(q.cy+q.y1,q.cx+q.x1),ce(st.cy+st.y1,st.cx+st.x1),!v),ot>0&&r.arc(f+st.cx,h+st.cy,ot,ce(st.y1,st.x1),ce(st.y0,st.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 dt=Mr(d,M),ot=Mr(g,M),q=Wl(N,O,D,L,n,-ot,v),st=Wl(R,E,I,P,n,-dt,v);r.lineTo(f+q.cx+q.x0,h+q.cy+q.y0),M0&&r.arc(f+q.cx,h+q.cy,ot,ce(q.y0,q.x0),ce(q.y1,q.x1),!v),r.arc(f,h,n,ce(q.cy+q.y1,q.cx+q.x1),ce(st.cy+st.y1,st.cx+st.x1),v),dt>0&&r.arc(f+st.cx,h+st.cy,dt,ce(st.y1,st.x1),ce(st.y0,st.x0),!v))}else r.lineTo(f+N,h+O),r.arc(f,h,n,u,l,v)}r.closePath()}}}var oE=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}(),kT=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new oE},e.prototype.buildPath=function(t,a){iE(t,a)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(yt);kT.prototype.type="sector";const Oe=kT;var sE=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),OT=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new sE},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}(yt);OT.prototype.type="ring";const lh=OT;function lE(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=lE(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;smn[1]){if(s=!1,i)return s;var f=Math.abs(mn[0]-yn[1]),h=Math.abs(yn[0]-mn[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 qi(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 DE(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 DE(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 XT(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 LE(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 IE(r){return r<=1e-6&&r>=-1e-6}function po(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 tn(r,e){if(r)if(z(r))for(var t=0;t=0&&s.push(l)}),s}}function en(r,e){return ft(ft({},r,!0),e,!0)}const WE={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:". "}}}},$E={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={},rC=Tt.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return r.indexOf(gf)>-1?gf:zs}():zs;function aC(r,e){r=r.toUpperCase(),Tg[r]=new Ot(e),$u[r]=e}function UE(r){if($(r)){var e=$u[r.toUpperCase()]||{};return r===gf||r===bg?rt(e):ft(rt(e),rt($u[zs]),!1)}else return ft(rt(r),rt($u[zs]),!1)}function Hp(r){return Tg[r]}function YE(){return Tg[zs]}aC(bg,WE);aC(gf,$E);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"],nC=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Sa(r,e){return r+="","0000".substr(0,e-r.length)+r}function Ki(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 ZE(r){return r===Ki(r)}function XE(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function ch(r,e,t,a){var n=Wr(r),i=n[Mg(t)](),o=n[Qi(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||rC)||YE(),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,Sa(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,Sa(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Sa(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Sa(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Sa(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Sa(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,Sa(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,Sa(p,3)).replace(/{S}/g,p+"")}function qE(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 iC(r,e){var t=Wr(r),a=t[Qi(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=At(r)?Wr(r):r;switch(e=e||iC(r,t),e){case"year":return a[Mg(t)]();case"half-year":return a[Qi(t)]()>=6?1:0;case"quarter":return Math.floor((a[Qi(t)]()+1)/4);case"month":return a[Qi(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 Qi(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 KE(r){return r?"setUTCFullYear":"setFullYear"}function oC(r){return r?"setUTCMonth":"setMonth"}function sC(r){return r?"setUTCDate":"setDate"}function lC(r){return r?"setUTCHours":"setHours"}function uC(r){return r?"setUTCMinutes":"setMinutes"}function fC(r){return r?"setUTCSeconds":"setSeconds"}function hC(r){return r?"setUTCMilliseconds":"setMilliseconds"}function vC(r){if(!Yb(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 cC(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 mo=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?Wr(r):r;if(isNaN(+l)){if(s)return"-"}else return ch(l,a,t)}if(e==="ordinal")return lp(r)?n(r):At(r)&&i(r)?r+"":"-";var u=la(r);return i(u)?vC(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 pC(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,dC=["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 jE(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=mo(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=mo(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 ht(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 ht(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 tk(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 Xa(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=ft(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);rT(So,Ot);rh(So);FE(So);HE(So,rk);function rk(r){var e=[];return A(So.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=G(e,function(t){return Or(t).main}),r!=="dataset"&&vt(e,"dataset")<=0&&e.unshift("dataset"),e}const bt=So;var yC="";typeof navigator<"u"&&(yC=navigator.platform||"");var Ti="rgba(0, 0, 0, 0.2)";const ak={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ti,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ti,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ti,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ti,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ti,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ti,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:yC.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 mC=X(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),sr="original",ye="arrayRows",lr="objectRows",Yr="keyedColumns",Fa="typedArray",_C="unknown",zr="column",xo="row",oe={Must:1,Might:2,Not:3},SC=wt();function nk(r){SC(r).datasetMap=X()}function xC(r,e,t){var a={},n=Ig(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=SC(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 TC(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:uk(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 fk(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var Zl,ko,D0,L0="\0_ec_inner",hk=1,CC=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=X(),u=a&&a.replaceMergeMainTypeMap;nk(this),A(t,function(h,v){h!=null&&(bt.hasClass(v)?v&&(s.push(v),l.set(v,!0)):n[v]=n[v]==null?rt(h):ft(n[v],h,!0))}),u&&u.each(function(h,v){bt.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),bt.topologicalTravel(s,bt.getAllClassMainTypes(),f,this);function f(h){var v=sk(this,h,Pt(t[h])),c=i.get(h),p=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",d=Qb(c,v,p);AP(d,h,bt),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=bt.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=rt(this.option);return A(t,function(a,n){if(bt.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[L0],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 wk(r,e){return r.join(",")===e.join(",")}const bk=mk;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=dP(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===Yr?{}:[]),this.sourceFormat=e.sourceFormat||_C,this.seriesLayoutBy=e.seriesLayoutBy||zr,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[ye+"_"+zr]={pure:!0,appendData:i},e[ye+"_"+xo]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[lr]={pure:!0,appendData:i},e[Yr]={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[Fa]={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 to(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 Gk(r)}var Gk=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}},Hk=function(){function r(e,t){if(!At(t)){var a="";Dt(a)}this._opFn=BC[e],this._rvalFloat=la(t)}return r.prototype.evaluate=function(e){return At(e)?this._opFn(e,this._rvalFloat):this._opFn(la(e),this._rvalFloat)},r}(),VC=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=At(e)?e:la(e),n=At(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}(),Wk=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 $k(r,e){return r==="eq"||r==="ne"?new Wk(r==="eq",e):Y(BC,r)?new Hk(r,e):null}var Uk=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 Ha(e,t)},r}();function Yk(r,e){var t=new Uk,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==zr&&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?tO:eO}function Ci(){return[1/0,-1/0]}function rO(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function Z0(r,e,t,a,n){var i=FC[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 Ha(t[i],this._dimensions[i])}Iv={arrayRows:e,objectRows:function(t,a,n,i){return Ha(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Ha(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}}(),r}(),HC=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)?Fa:sr,i=[];var h=this._getSourceMetaRawOption()||{},v=u&&u.metaRawOption||{},c=ut(h.seriesLayoutBy,v.seriesLayoutBy)||null,p=ut(h.sourceHeader,v.sourceHeader),d=ut(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=Jk(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[Ek(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=YC(n);i>=e&&(e=i+ +(a&&(!i||Xp(n)&&!n.noHeader)))}),e}return 0}function iO(r,e,t,a){var n=e.noHeader,i=sO(YC(e)),o=[],s=e.blocks||[];Ae(!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 VC(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=UC(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=$C(a,r.renderMode).nameStyle;return r.renderMode==="richText"?ZC(r,v,c)+i.richText+h:qp('
'+Pe(v)+"
"+h,t)}function oO(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=$C(a,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(i?"":ZC(r,v,m))+(o?"":fO(r,p,d,g,_)):qp((s?"":h)+(i?"":lO(v,!s,m))+(o?"":uO(p,d,g,_)),t)}}function K0(r,e,t,a,n,i){if(r){var o=UC(r),s={useUTC:n,renderMode:t,orderMode:a,markupStyleCreator:e,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function sO(r){return{html:aO[r],richText:nO[r]}}function qp(r,e){var t='
',a="margin: "+e+"px 0 0";return'
'+r+t+"
"}function lO(r,e,t){var a=e?"margin-left:2px":"";return''+Pe(r)+""}function uO(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 Pe(o)}).join("  ")+""}function ZC(r,e,t){return r.markupStyleCreator.wrapRichTextStyle(e,t)}function fO(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 XC(r,e){var t=r.getData().getItemVisual(e,"style"),a=t[r.visualDrawType];return oi(a)}function qC(r,e){var t=r.get("padding");return t??(e==="richText"?[8,10]:10)}var Pv=function(){function r(){this.richTextStyles={},this._nextStyleNameId=Zb()}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=JE({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 KC(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=XC(e,t),f,h,v,c;if(o>1||l&&!o){var p=hO(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=to(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 hO(r,e,t,a,n){var i=e.getData(),o=Gr(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(to(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 xa=wt();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:cO,reset:pO}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=xa(this).sourceManager=new HC(this);i.prepareSource();var o=this.getInitialData(t,n);J0(o,this),this.dataTask.context.data=o,xa(this).dataBeforeProcessed=o,Q0(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=Fs(this),i=n?_o(t):{},o=this.subType;bt.hasClass(o)&&(o+="Series"),ft(t,a.getTheme().get(this.subType)),ft(t,this.getDefaultOption()),ri(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Xa(t,i,n)},e.prototype.mergeOption=function(t,a){t=ft(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Fs(this);n&&Xa(this.option,t,n);var i=xa(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,a);J0(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,xa(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 bt.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}(bt);Kt(xh,Og);Kt(xh,Pg);rT(xh,bt);function Q0(r){var e=r.name;lg(r)||(r.name=vO(r)||e)}function vO(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 cO(r){return r.model.getRawData().count()}function pO(r){var e=r.model;return e.setData(e.getRawData().cloneShallow()),dO}function dO(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(gO,e))})}function gO(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=yo("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 wo(){var r=wt();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=wt(),yO=wo(),Vg=function(){function r(){this.group=new at,this.uid=yo("viewChart"),this.renderTask=ws({plan:mO,reset:_O}),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){tn(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?UR(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 mO(r){return yO(r.model)}function _O(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),SO[l]}var SO={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 bo(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_=wt(),n_={itemStyle:ni(eC,!0),lineStyle:ni(tC,!0)},xO={lineStyle:"stroke",itemStyle:"fill"};function JC(r,e){var t=r.visualStyleMapper||n_[e];return t||(console.warn("Unknown style type '"+e+"'."),n_.itemStyle)}function jC(r,e){var t=r.visualDrawType||xO[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var wO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=r.getModel(a),i=JC(r,a),o=i(n),s=n.getShallow("decal");s&&(t.setVisual("decal",s),s.dirty=!0);var l=jC(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,bO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){if(!(r.ignoreStyleOnData||e.isSeriesFiltered(r))){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=JC(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}}}},TO={performRawSeries:!0,overallReset:function(r){var e=X();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=jC(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 CO(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 xt({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(a);var n=new Ct({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 xt({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 AO=function(){function r(e,t,a,n){this._stageTaskMap=X(),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=X();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="";Ae(!(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=X(),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:PO,reset:RO,count:kO}));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:MO});o.context={ecModel:a,api:n,overallReset:e.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=X(),u=e.seriesType,f=e.getTargetSeries,h=!0,v=!1,c="";Ae(!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:DO,onDirty:IO})));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:OO(e)}),e.uid=yo("stageHandler"),t&&(e.visualType=t),e},r}();function MO(r){r.overallReset(r.ecModel,r.api,r.payload)}function DO(r){return r.overallProgress&&LO}function LO(){this.agent.dirty(),this.getDownstream().dirty()}function IO(){this.agent&&this.agent.dirty()}function PO(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function RO(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 tA(a)}):EO}var EO=tA(0);function tA(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"]),zO={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"?eN(r,e,t):tN(r,e,t),n=e.colorStops,i=0;i0)?null:r==="dashed"?[4*e,2*e]:r==="dotted"?[e]:At(r)?[r]:z(r)?r:null}function Fg(r){var e=r.style,t=e.lineDash&&e.lineWidth>0&&aN(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 nN=new $r(!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 iN(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||nN,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&zi)&&(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 oN(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 sN(r,e,t){var a,n=t.text;if(n!=null&&(n+=""),n){r.font=t.font||$a,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 sA(r,e,t,a,n){var i=!1;if(!a&&(t=t||{},e===t))return!1;if(a||e.opacity!==t.opacity){ke(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||(ke(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[pe]){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[pe]=!0,!this._model||a){var l=new bk(this._api),u=this._theme,f=this._model=new AC;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[pe]=!1,this.getZr().wakeUp();else{try{Mi(this),wa.update.call(this,null,h)}catch(v){throw this[Ie]=null,this[pe]=!1,v}this._ssr||this._zr.flush(),this[Ie]=null,this[pe]=!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||Tt.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(Tt.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(rt(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=Ua.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 xt({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(EN,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,s)||{},!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)}),FO(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&&jb(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[pe]){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[pe]=!0;try{n&&Mi(this),wa.update.call(this,{type:"resize",animation:B({duration:0},t&&t.animation)})}catch(o){throw this[pe]=!1,o}this[pe]=!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[pe]){this._pendingActions.push(t);return}var n=a.silent;Vv.call(this,t,n);var i=a.flush;i?this._zr.flush():i!==!1&&Tt.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(){Mi=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")&&!Tt.node&&!Tt.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(qi(y))return;if(y instanceof yt&&YR(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){xT(p),We(h)},c.prototype.leaveBlur=function(p){dg(p),We(h)},c.prototype.enterSelect=function(p){wT(p),We(h)},c.prototype.leaveSelect=function(p){bT(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}(MC))(h)},wA=function(h){function v(c,p){for(var d=0;d=0)){L_.push(t);var i=aA.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,r.push(i)}}function DA(r,e){rd[r]=e}function GN(r,e,t){var a=mN("registerMap");a&&a(r,e,t)}var FN=Qk;ci(Hg,wO);ci(wh,bO);ci(wh,TO);ci(Hg,zO);ci(wh,GO);ci(gA,dN);AA(LC);MA(xN,Pk);DA("default",CO);Zr({type:qn,event:qn,update:qn},Yt);Zr({type:Fu,event:Fu,update:Fu},Yt);Zr({type:ms,event:ms,update:ms},Yt);Zr({type:Hu,event:Hu,update:Hu},Yt);Zr({type:_s,event:_s,update:_s},Yt);CA("light",NO);CA("dark",BO);var I_=[],HN={registerPreprocessor:AA,registerProcessor:MA,registerPostInit:NN,registerPostUpdate:BN,registerUpdateLifecycle:Ug,registerAction:Zr,registerCoordinateSystem:VN,registerLayout:zN,registerVisual:ci,registerTransform:FN,registerLoading:DA,registerMap:GN,registerImpl:yN,PRIORITY:IN,ComponentModel:bt,ComponentView:Ht,SeriesModel:zt,ChartView:Nt,registerComponentModel:function(r){bt.registerClass(r)},registerComponentView:function(r){Ht.registerClass(r)},registerSeriesModel:function(r){zt.registerClass(r)},registerChartView:function(r){Nt.registerClass(r)},registerSubTypeDefaulter:function(r,e){bt.registerSubTypeDefaulter(r,e)},registerPainter:function(r,e){hP(r,e)}};function gt(r){if(z(r)){A(r,function(e){gt(e)});return}vt(I_,r)>=0||(I_.push(r),K(r)&&(r={install:r}),r.install(HN))}function Go(r){return r==null?0:r.length||1}function P_(r){return r}var WN=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,ba=G,KN=typeof Int32Array>"u"?Array:Int32Array,QN="e\0\0",R_=-1,JN=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],jN=["_approximateExtent"],E_,ru,Ho,Wo,Fv,au,Hv,tB=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;IA(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:ba(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 KN(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),n[t]=l}}}(),r}();const Ce=tB;function pl(r,e){Rg(r)||(r=Eg(r)),e=e||{};var t=e.coordDimensions||[],a=e.dimensionsDefine||r.dimensionsDefine||[],n=X(),i=[],o=rB(r,t,a,e.dimensionsCount),s=e.canOmitUnusedDimensions&&EA(o),l=a===r.dimensionsDefine,u=l?RA(r):PA(a),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(r,o));for(var h=X(f),v=new GC(o),c=0;c0&&(a.name=n+(i-1)),i++,e.set(n,i)}}function rB(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 aB(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 nB=function(){function r(e){this.coordSysDims=[],this.axisMap=X(),this.categoryAxisMap=X(),this.coordSysName=e}return r}();function iB(r){var e=r.get("coordinateSystem"),t=new nB(e),a=oB[e];if(a)return a(r,t,t.axisMap,t.categoryAxisMap),t}var oB={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),Di(n)&&(a.set("x",n),e.firstCategoryDimIndex=0),Di(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),Di(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),Di(i)&&(a.set("radius",i),e.firstCategoryDimIndex=0),Di(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),Di(u)&&(a.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function Di(r){return r.get("type")==="category"}function sB(r,e,t){t=t||{};var a=t.byIndex,n=t.stackedCoordDimension,i,o,s;lB(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 lB(r){return!IA(r.schema)}function qa(r,e){return!!e&&e===r.getCalculationInfo("stackedDimension")}function kA(r,e){return qa(r,e)?r.getCalculationInfo("stackResultDimension"):e}function uB(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 fB(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=iB(e),s=uB(e,o),l=t.useEncodeDefaulter,u=K(l)?l:l?it(xC,s,e):null,f={coordDimensions:s,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},h=pl(n,f),v=fB(h.dimensions,t.createInvertedIndices,o),c=i?null:a.getSharedDataStore(h),p=sB(e,{schema:h,store:c}),d=new Ce(h,e);d.setCalculationInfo(p);var g=v!=null&&hB(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 hB(r){if(r.sourceFormat===sr){var e=vB(r.data||[]);return!z(ho(e))}}function vB(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(OA);const ga=OA;var cB=0,pB=function(){function r(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++cB}return r.createByAxisModel=function(e){var t=e.option,a=t.data,n=a&&G(a,dB);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=X(this.categories))},r}();function dB(r){return tt(r)&&r.value!=null?r.value:r+""}const ad=pB;function nd(r){return r.type==="interval"||r.type==="log"}function gB(r,e,t,a){var n={},i=r[1]-r[0],o=n.interval=Ub(i/e,!0);t!=null&&oa&&(o=n.interval=a);var s=n.intervalPrecision=NA(o),l=n.niceTickExtent=[$t(Math.ceil(r[0]/o)*o,s),$t(Math.floor(r[1]/o)*o,s)];return yB(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 NA(r){return kr(r)+2}function k_(r,e,t){r[e]=Math.max(Math.min(r[e],t[1]),t[0])}function yB(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 BA=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(BA);const Zg=BA;var wn=$t,VA=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=NA(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 FA(r){var e=SB(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")||(YA(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)})}),HA(t)}function HA(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 xB(r,e,t){if(r&&e){var a=r[qg(e)];return a!=null&&t!=null?a[Xg(t)]:a}}function WA(r,e){var t=GA(r,e),a=FA(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 $A(r){return{seriesType:r,plan:wo(),reset:function(e){if(UA(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=qa(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),c=wB(n,i),p=YA(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&&Nr(w*3),b=p&&l&&Nr(w*3),T=p&&Nr(w),C=a.master.getRect(),M=v?C.width:C.height,D,L=S.getStore(),I=0;(D=_.next())!=null;){var P=L.get(h?g:o,D),R=L.get(s,D),E=c,N=void 0;h&&(N=+P-L.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(bB(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 At(t)?t:+Wr(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}(Ka),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 TB(r,e,t,a){var n=Wr(e),i=Wr(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 CB(r,e){return r/=er,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function AB(r){var e=30*er;return r/=e,r>6?6:r>3?3:r>2?2:1}function MB(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 DB(r){return Ub(r,!0)}function LB(r,e,t){var a=new Date(r);switch(Ki(e)){case"year":case"month":a[oC(t)](0);case"day":a[sC(t)](1);case"hour":a[lC(t)](0);case"minute":a[uC(t)](0);case"second":a[fC(t)](0),a[hC(t)](0)}return a.getTime()}function IB(r,e,t,a){var n=1e4,i=nC,o=0;function s(M,D,L,I,P,R,E){for(var N=new Date(D),O=D,V=N[I]();O1&&R===0&&L.unshift({value:L[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=It(G(u,function(M){return It(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(EB(a[0]/i)*i),$t(RB(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),qA=Kg.prototype;qA.getMinorTicks=Cs.getMinorTicks;qA.getLabel=Cs.getLabel;function ou(r,e){return PB(r,kr(e))}ga.registerClass(Kg);const kB=Kg;var OB=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[BB[e]]=t},r.prototype.setDeterminedMinMax=function(e,t){var a=NB[e];this[a]=t},r.prototype.freeze=function(){this.frozen=!0},r}(),NB={min:"_determinedMin",max:"_determinedMax"},BB={min:"_dataMin",max:"_dataMax"};function KA(r,e,t){var a=r.rawExtentInfo;return a||(a=new OB(r,e,t),r.rawExtentInfo=a,a)}function su(r,e){return e==null?null:Is(e)?NaN:r.parse(e)}function QA(r,e){var t=r.type,a=KA(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=GA("bar",o),l=!1;if(A(s,function(h){l=l||h.getBaseAxis()===e.axis}),l){var u=FA(s),f=VB(n,i,e,u);n=f.min,i=f.max}}return{extent:[n,i],fixMin:a.minFixed,fixMax:a.maxFixed}}function VB(r,e,t,a){var n=t.axis.getExtent(),i=n[1]-n[0],o=xB(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 ro(r,e){var t=e,a=QA(r,t),n=a.extent,i=t.get("splitNumber");r instanceof kB&&(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 XA({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(ga.getClass(e)||Ka)}}function zB(r){var e=r.scale.getExtent(),t=e[0],a=e[1];return!(t>0&&a>0||t<0&&a<0)}function dl(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 GB(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=dl(r),l,u=1;n>40&&(u=Math.ceil(n/40));for(var f=0;fr[1]&&(r[1]=n[1])})}var gl=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},r.prototype.getCoordSysModel=function(){},r}(),WB=1e-8;function B_(r,e){return Math.abs(r-e)n&&(a=o,n=l)}if(a)return UB(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 ht(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 XB(r,e){return r=ZB(r),G(It(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 tM(a[e||"name"],i,a.cp);return s.properties=a,s})}var Ys=wt();function qB(r){return r.type==="category"?QB(r):jB(r)}function KB(r,e){return r.type==="category"?JB(r,e):{ticks:G(r.scale.getTicks(),function(t){return t.value})}}function QB(r){var e=r.getLabelModel(),t=rM(r,e);return!e.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:t.labelCategoryInterval}:t}function rM(r,e){var t=aM(r,"labels"),a=Jg(e),n=nM(t,a);if(n)return n;var i,o;return K(a)?i=sM(r,a):(o=a==="auto"?tV(r):a,i=oM(r,o)),iM(t,a,{labels:i,labelCategoryInterval:o})}function JB(r,e){var t=aM(r,"ticks"),a=Jg(e),n=nM(t,a);if(n)return n;var i,o;if((!e.get("show")||r.scale.isBlank())&&(i=[]),K(a))i=sM(r,a,!0);else if(a==="auto"){var s=rM(r,r.getLabelModel());o=s.labelCategoryInterval,i=G(s.labels,function(l){return l.tickValue})}else o=a,i=oM(r,o,!0);return iM(t,a,{ticks:i,tickCategoryInterval:o})}function jB(r){var e=r.scale.getTicks(),t=dl(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 aM(r,e){return Ys(r)[e]||(Ys(r)[e]=[])}function nM(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 rV(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 oM(r,e,t){var a=dl(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=JA(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 sM(r,e,t){var a=r.scale,n=dl(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],aV=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 Wb(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())),Lt(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=Lt(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=KB(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 nV(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 qB(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 eV(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 nV(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[1]};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 lM(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 lV(r,e,t){var a=lM(e.x,e.y,e.width,e.height,r.x,r.y,pr);return t.set(pr[0],pr[1]),a}function uV(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,yr.fromArray(r[0]),Et.fromArray(r[1]),Ut.fromArray(r[2]),lt.sub(Br,yr,Et),lt.sub(Er,Ut,Et);var t=Br.len(),a=Er.len();if(!(t<.001||a<.001)){Br.scale(1/t),Er.scale(1/a);var n=Br.dot(Er),i=Math.cos(e);if(i1&<.copy(Te,Ut),Te.toArray(r[1])}}}}function fV(r,e,t){if(t<=180&&t>0){t=t/180*Math.PI,yr.fromArray(r[0]),Et.fromArray(r[1]),Ut.fromArray(r[2]),lt.sub(Br,Et,yr),lt.sub(Er,Ut,Et);var a=Br.len(),n=Er.len();if(!(a<.001||n<.001)){Br.scale(1/a),Er.scale(1/n);var i=Br.dot(e),o=Math.cos(t);if(i=l)lt.copy(Te,Ut);else{Te.scaleAndAdd(Er,s/Math.tan(Math.PI/2-f));var h=Ut.x!==Et.x?(Te.x-Et.x)/(Ut.x-Et.x):(Te.y-Et.y)/(Ut.y-Et.y);if(isNaN(h))return;h<0?lt.copy(Te,Et):h>1&<.copy(Te,Ut)}Te.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 hV(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=Pa(a[0],a[1]),i=Pa(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 L=D+T;L<0&&x(-L*M,1)}else x(-T*M,1)}}function w(T,C,M){T!==0&&(u=!0);for(var D=C;D0)for(var L=0;L0;L--){var E=M[L-1]*R;w(-E,L,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 vV(r,e,t,a){return hM(r,"x","width",e,t,a)}function vM(r,e,t,a){return hM(r,"y","height",e,t,a)}function cM(r){var e=[];r.sort(function(d,g){return g.priority-d.priority});var t=new ht(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),!go(a).valueAnimation){var h=ut(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)}jT(a,l,f,t,t)}if(n&&!n.ignore&&!n.invisible){var i=dV(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 yV=gV;var Zv=wt();function mV(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){var n=Zv(t).labelManager;n||(n=Zv(t).labelManager=new yV),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,pM=Math.PI,Tn=Math.PI*2,_V=180/pM,SV=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=Na(h-Tn)||(f?u>=Tn:-u>=Tn),c=u>0?u%Tn:u%Tn+Tn,p=!1;v?p=!0:Na(h)?p=!1:p=c>=pM==!!f;var d=e+a*qv(o),g=t+n*Xv(o);this._start&&this._add("M",d,g);var y=Math.round(i*_V);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 LV(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 DV(o,s)+(o!=="style"?Pe(l):l||"")+(i?""+t+G(i,function(u){return a(u)}).join(t)+t:"")+LV(o)}return a(r)}function IV(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:gM,"xmlns:xlink":yM,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 PV(r,e,t){var a=B({},r.shape);B(a,e),r.buildPath(t,a);var n=new dM;return n.reset(Rb(r)),t.rebuildPath(n,1),n.generateStr(),n.getStr()}function RV(r,e){var t=e.originX,a=e.originY;(t||a)&&(r[Dn]=t+"px "+a+"px")}var EV={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function _M(r,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=r,t}function kV(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=_M(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=kV(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=_M(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 SM(r){return r&&$(r.src)}function xM(r){return r&&K(r.toDataURL)}function ry(r,e,t,a){CV(function(n,i){var o=n==="fill"||n==="stroke";o&&Pb(i)?bM(e,r,n,a):o&&ng(i)?TM(t,r,n,a):r[n]=i},e,t,!1),FV(t,r,a)}function q_(r){return Na(r[0]-1)&&Na(r[1])&&Na(r[2])&&Na(r[3]-1)}function OV(r){return Na(r[4])&&Na(r[5])}function ay(r,e,t){if(e&&!(OV(e)&&q_(e))){var a=t?10:1e4;r.transform=q_(e)?"translate("+Zs(e[4]*a)/a+" "+Zs(e[5]*a)/a+")":PI(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.";Ae(v,g),Ae(c,g)}else if(v==null||c==null){var y=function(M,D){if(M){var L=M.elm,I=v||D.width,P=c||D.height;M.tag==="pattern"&&(u?(P=1,I/=i.width):f&&(I=1,P/=i.height)),M.attrs.width=I,M.attrs.height=P,L&&(L.setAttribute("width",I),L.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=rt(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=Eb(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 HV(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,[wM(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 CM(r){return r.parentNode}function AM(r){return r.nextSibling}function Kv(r,e){r.textContent=e}var r1=58,WV=120,$V=te("","");function ld(r){return r===void 0}function Pr(r){return r!==void 0}function UV(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(Pr(a)){var n=r.elm=mM(a);if(ny($V,r),z(t))for(e=0;ei?(p=t[l+1]==null?null:t[l+1].elm,MM(r,p,t,n,l)):Lf(r,e,a,i))}function Fi(r,e){var t=e.elm=r.elm,a=r.children,n=e.children;r!==e&&(ny(r,e),ld(e.text)?Pr(a)&&Pr(n)?a!==n&&YV(t,a,n):Pr(n)?(Pr(r.text)&&Kv(t,""),MM(t,null,n,0,n.length-1)):Pr(a)?Lf(t,a,0,a.length-1):Pr(r.text)&&Kv(t,""):r.text!==e.text&&(Pr(a)&&Lf(t,a,0,a.length-1),Kv(t,e.text)))}function ZV(r,e){if(ls(r,e))Fi(r,e);else{var t=r.elm,a=CM(t);Xs(e),a!==null&&(On(a,e.elm,AM(t)),Lf(a,[r],0,0))}return e}var XV=0,qV=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"+XV++,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=mM("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",ZV(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=KV(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=IV(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:ut(e.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:ut(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]?ft(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 sz=oz;function ao(r,e){var t=r.mapDimensionsAll("defaultedLabel"),a=t.length;if(a===1){var n=to(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 lz=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=uz,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),xr(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=vi(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:L,inheritColor:b,defaultOpacity:x.opacity});function L(R){return D?t.getName(R):ao(t,R)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var I=s.ensureState("emphasis");I.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;I.scaleX=this._sizeX*P,I.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&&Za(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Za(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:t,removeOpt:s})},e.getSymbolSize=function(t,a){return To(t.getItemVisual(a,"symbolSize"))},e}(at);function uz(r,e){this.parent.drift(r,e)}const yl=lz;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 fz=function(){function r(e){this.group=new at,this._SymbolCtor=e||yl}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 IM(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 vz(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 cz(r,e,t,a,n,i,o,s){for(var l=vz(r,e),u=[],f=[],h=[],v=[],c=[],p=[],d=[],g=LM(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,L=y+F*V*o,I=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,L=y,I=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),L=y+M*o*C,I=m+D*o*C,L=Ta(L,Ca(x,y)),I=Ta(I,Ca(b,m)),L=Ca(L,Ta(x,y)),I=Ca(I,Ta(b,m)),M=L-y,D=I-m,c=y-M*O/V,p=m-D*O/V,c=Ta(c,Ca(u,y)),p=Ta(p,Ca(f,m)),c=Ca(c,Ta(u,y)),p=Ca(p,Ta(f,m)),M=y-c,D=m-p,L=y+M*V/O,I=m+D*V/O}r.bezierCurveTo(h,v,c,p,y,m),h=L,v=I}else r.lineTo(y,m)}u=y,f=m,d+=i}return g}var PM=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),pz=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 PM},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}(yt),dz=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e}(PM),RM=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 dz},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 mz(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=yz(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 _z(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&Sz(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 Sz(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 xz(r,e){return isNaN(r)||isNaN(e)}function wz(r){for(var e=r.length/2;e>0&&xz(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 bz(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 OM(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:I,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 ct=function(_t){i._changePolyState(_t)};l.eachItemGraphicEl(function(_t){_t&&(_t.onHoverStateChange=ct)}),this._polyline.onHoverStateChange=ct,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 yl(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 pz({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 RM({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(OM(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 Ct({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=wz(l);f>=0&&(fe(s,ee(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:f,defaultText:function(h,v,c){return c!=null?DM(o,c):ao(o,h)},enableTextSetter:!0},Tz(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=bz(h,S,b),C=T.range,M=C[1]-C[0],D=void 0;if(M>=1){if(M>1&&!c){var L=v1(h,C[0]);u.attr({x:L[0]+w,y:L[1]+x}),o&&(D=v.getRawValue(C[0]))}else{var L=f.getPointOn(S,b);L&&u.attr({x:L[0]+w,y:L[1]+x});var I=v.getRawValue(C[0]),P=v.getRawValue(C[1]);o&&(D=tT(n,p,I,P,T.t))}i.lastFrameIndex=C[0]}else{var R=t===1||i.lastFrameIndex>0?C[0]:0,L=v1(h,R);o&&(D=v.getRawValue(R)),u.attr({x:L[0]+w,y:L[1]+x})}if(o){var E=go(u);typeof E.setLabelText=="function"&&E.setLabelText(D)}}},e.prototype._doUpdateAnimation=function(t,a,n,i,o,s,l){var u=this._polyline,f=this._polygon,h=t.hostModel,v=cz(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=Aa(v.current,n,o,l),p=Aa(v.stackedOnCurrent,n,o,l),d=Aa(v.next,n,o,l),g=Aa(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=Mz[i]:K(i)&&(p=i),p&&e.setData(n.downSample(n.mapDimension(u.dim),1/c,p,Dz))}}}}}function Lz(r){r.registerChartView(Az),r.registerSeriesModel(sz),r.registerLayout(_l("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,NM("line"))}var BM=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(BM);const If=BM;var Iz=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=en(If.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}(If);const Pz=Iz;var Rz=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}(),Ez=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 Rz},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 xt({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:Oe,f=new u({shape:a,z2:1});f.name="item";var h=VM(n);if(f.calculateTextPosition=kz(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 Vz(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 Fz(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function VM(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:ao(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,Oz(r,g==="outside"?c:g,VM(o),a.get(["label","rotate"]))}JT(d,p,i.getRawValue(t),function(m){return DM(e,m)});var y=a.getModel(["emphasis"]);Ft(r,y.get("focus"),y.get("blurScope"),y.get("disabled")),ue(r,a),Fz(n)&&(r.style.fill="none",r.style.stroke="none",A(r.states,function(m){m.style&&(m.style.fill=m.style.stroke="none")}))}function Hz(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 Wz=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 Wz},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 $z(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 zM(r,e,t){if(pi(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 Uz(r,e,t){var a=r.type==="polar"?Oe:xt;return new a({shape:zM(e,t,r),silent:!0,z2:0})}const Yz=Bz;function Zz(r){r.registerChartView(Yz),r.registerSeriesModel(Pz),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(WA,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,$A("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,NM("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 GM(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function FM(r,e){var t=GM(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 Xz(r,e,t){e.eachSeriesByType(r,function(a){var n=a.getData(),i=n.mapDimension("value"),o=GM(a,t),s=FM(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 L;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"?L=d===0&&_?g:M*g:L=pu/p,Lt?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)*qz,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),L=D.getModel("label"),I=L.get("position")||D.get(["emphasis","label","position"]),P=L.get("distanceToLabelLine"),R=L.get("alignTo"),E=H(L.get("edgeDistance"),u),N=L.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=L.get("rotate");if(At(ve))Gt=ve*(Wt/180);else if(I==="center")Gt=0;else if(ve==="radial"||ve===!0){var Xr=Z<0?-W+Wt:-W;Gt=Xr}else if(ve==="tangential"&&I!=="outside"&&I!=="outer"){var De=Math.atan2(Z,Q);De<0&&(De=Wt*2+De);var Cl=Q>0;Cl&&(De=Wt+De),Gt=De-Wt}if(i=!!Gt,C.x=J,C.y=ct,C.rotation=Gt,C.setStyle({verticalAlign:"middle"}),et){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:I,len:V,len2:F,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new lt(Z,Q),linePoints:_t,textAlign:pt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:N,rect:ya,unconstrainedWidth:ya.width,labelStyleWidth:C.style.width})}b.setTextConfig({inside:et})}}),!i&&r.get("avoidLabelOverlap")&&Kz(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 t5=jz;function Co(r,e,t){e=z(e)&&{coordDimensions:e}||B({encodeDefine:r.getEncode()},e);var a=r.getSource(),n=pl(a,e).dimensions,i=new Ce(n,r);return i.initData(a,t),i}var e5=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 xl=e5;var r5=wt(),a5=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 xl(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 Co(this,{coordDimensions:["value"],encodeDefaulter:it(Lg,this)})},e.prototype.getDataParams=function(t){var a=this.getData(),n=r5(a),i=n.seats;if(!i){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),i=n.seats=pP(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 n5=a5;function i5(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!(At(o)&&!isNaN(o)&&o<0)})}}}function o5(r){r.registerChartView(t5),r.registerSeriesModel(n5),oA("pie",r.registerAction),r.registerLayout(it(Xz,"pie")),r.registerProcessor(Sl("pie")),r.registerProcessor(i5("pie"))}var s5=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 l5=s5;var WM=4,u5=function(){function r(){}return r}(),f5=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 u5},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 v5=h5;var c5=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=_l("").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 v5:new ml,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 p5=c5;var d5=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}(bt);const g5=d5;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}(bt);Kt(fd,gl);var $M={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)"]}}},y5=ft({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},$M),iy=ft({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}}},$M),m5=ft({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},iy),_5=j({logBase:10},iy);const UM={category:y5,value:iy,time:m5,log:_5};var S5={value:1,category:1,time:1,log:1};function no(r,e,t,a){A(S5,function(n,i){var o=ft(ft({},UM[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?_o(f):{},p=h.getTheme();ft(f,p.get(i+"Axis")),ft(f,this.getDefaultOption()),f.type=T1(f),v&&Xa(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 x5=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(),It(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 w5=x5;var hd=["x","y"];function C1(r){return r.type==="interval"||r.type==="time"}var b5=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=fo([],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 ht(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 ht(n,i,o,s)},e}(w5),T5=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}(br);const C5=T5;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 YM(r,e,t){var a=Ka.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 A5=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):(ro(d,p),nd(d)&&(s=c))}f.length&&(s||(s=f.pop(),ro(s.scale,s.model)),A(f,function(g){YM(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=GB(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]),M5(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-Ba)?(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}(),I1={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)||At(c))&&(c=[c,c]);var p=vi(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=P5(t,a,e,r),i=E5(t,a,e,r);if(I5(e,i,n),R5(t,a,e,r.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=fM(G(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));cM(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*Ba/180);var p;R1(i)?v=ti.innerTextLayout(r.rotation,c??r.rotation,o):(v=L5(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 Ct({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(po({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 L5(r,e,t,a){var n=$b(t-r),i,o,s=a[0]>a[1],l=e==="start"&&!s||e!=="start"&&s;return uf(n-Ba/2)?(o=l?"bottom":"top",i="center"):uf(n-Ba*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",nBa/2?i=l?"left":"right":i=l?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:o}}function I5(r,e,t){if(!JA(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 ZM(r,e,t,a,n){for(var i=[],o=[],s=[],l=0;l=0||r===e}function z5(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=ft(rt(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,gl.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:ft({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}(bt);const eG=tG;var rG=["axisLine","axisTickLabel","axisName"],aG=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(rG,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 Ur({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=[],L=0;L3?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),jM(r,e,t,a,n))}function jM(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 wl=cG;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 pG={axisPointer:1,tooltip:1,brush:1};function Lh(r,e,t){var a=e.getComponentByElement(r.topTarget),n=a&&a.coordinateSystem;return a&&a!==t&&!pG.hasOwnProperty(a.mainType)&&n&&n.model!==t}function tD(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),dG=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(e,t){t=t||{};var a=tD(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;mG(this._defs,this._defsUsePending),this._defsUsePending=[];var f,h;if(o){var v=Ih(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=rD(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 xt({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),gG(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 xt;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 Ur;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 Ne({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 Be({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=IT(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 WT(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={};eD(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=Ih(r),t=[],a=0;a0;i-=2){var o=a[i],s=a[i-1],l=Ih(o);switch(n=n||nr(),s){case"translate":Fr(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 eD(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 wG(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=X(),a=X(),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&&(aD(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||po({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&&$R(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 $G=WG;function UG(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 KG(r,e){A(e.get("geoCoord"),function(t,a){r.addGeoCoord(a,t)})}var QG=function(){function r(){this.dimensions=iD}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,KG(u,f)})}),a},r.prototype.getFilledRegions=function(e,t,a,n){for(var i=(e||[]).slice(),o=X(),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 o3(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){u3(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=f3(r,n,r.parentNode.hierNode.defaultAncestor||a[0],e)}function s3(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:c3}function us(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function l3(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u3(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 f3(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&&(v3(h3(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 h3(r,e,t){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:t}function v3(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 c3(r,e){return r.parentNode===e.parentNode?1:2}var p3=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),d3=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 p3},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 L=s.get(["emphasis","focus"]),I=L==="relative"?tf(o.getAncestorsIndices(),o.getDescendantIndices()):L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():null;I&&(nt(t).focus=I),y3(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 y3(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 vD(r){for(var e=[];r;)r=r.parentNode,r&&e.push(r);return e.reverse()}function py(r,e){var t=vD(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 D3=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 L3=D3;function I3(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 P3(r,e){r.eachSeriesByType("tree",function(t){R3(t,e)})}function R3(r,e){var t=l3(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){i3(s),I3(l,o3,o),s.hierNode.modifier=-l.hierNode.prelim,Zo(l,s3);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 E3(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 k3(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 O3(r){r.registerChartView(m3),r.registerSeriesModel(L3),r.registerLayout(P3),r.registerVisual(E3),k3(r)}var vS=["treemapZoomToNode","treemapRender","treemapMove"];function N3(r){for(var e=0;e1;)i=i.parentNode;var o=Up(r.ecModel,i.name||i.dataIndex+"",a);n.setVisual("decal",o)})}var B3=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};pD(n);var i=t.levels||[],o=this.designatedVisualItemStyle={},s=new Ot({itemStyle:o},this,a);i=t.levels=V3(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=X(),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(){cD(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 pD(r){var e=0;A(r.children,function(a){pD(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 V3(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 z3=B3;var G3=8,cS=8,hc=5,F3=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+G3*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=jE(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 Ne({shape:{points:H3(l,0,m,f,d===c.length-1,d===0)},style:j(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ct({style:kt(i,{text:_})}),textConfig:{position:"inside"},z2:vo*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),W3(S,e,y),l+=m+cS}},r.prototype.remove=function(){this.group.removeAll()},r}();function H3(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 W3(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 $3=F3;var U3=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 ht(o.x,o.y,o.width,o.height),l=this.seriesModel.layoutInfo;a-=l.x,n-=l.y;var u=nr();Fr(u,u,[-a,-n]),rg(u,u,[t.scale,t.scale]),Fr(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 $3(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 L=J("background",pS,u,X3);L&&V(D,L,w&&f.upperLabelHeight);var I=v.getModel("emphasis"),P=I.get("focus"),R=I.get("blurScope"),E=I.get("disabled"),N=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(w)Bs(D)&&Gn(D,!1),L&&(Gn(L,!E),h.setItemGraphicEl(o.dataIndex,L),Bp(L,N,R));else{var O=J("content",pS,u,q3);O&&F(D,O),L.disableMorphing=!0,L&&Bs(L)&&Gn(L,!1),Gn(D,!E),h.setItemGraphicEl(o.dataIndex,D),Bp(D,N,R)}return D;function V(pt,et,dt){var ot=nt(et);if(ot.dataIndex=o.dataIndex,ot.seriesIndex=r.seriesIndex,et.setShape({x:0,y:0,width:c,height:p,r:M}),g)W(et);else{et.invisible=!1;var q=o.getVisual("style"),st=q.stroke,Vt=mS(x);Vt.fill=st;var St=In(b);St.fill=b.get("borderColor");var Wt=In(T);Wt.fill=T.get("borderColor");var Gt=In(C);if(Gt.fill=C.get("borderColor"),dt){var ve=c-2*d;Z(et,st,q.opacity,{x:d,y:0,width:ve,height:S})}else et.removeTextContent();et.setStyle(Vt),et.ensureState("emphasis").style=St,et.ensureState("blur").style=Wt,et.ensureState("select").style=Gt,ii(et)}pt.add(et)}function F(pt,et){var dt=nt(et);dt.dataIndex=o.dataIndex,dt.seriesIndex=r.seriesIndex;var ot=Math.max(c-2*d,0),q=Math.max(p-2*d,0);if(et.culling=!0,et.setShape({x:d,y:d,width:ot,height:q,r:M}),g)W(et);else{et.invisible=!1;var st=o.getVisual("style"),Vt=st.fill,St=mS(x);St.fill=Vt,St.decal=st.decal;var Wt=In(b),Gt=In(T),ve=In(C);Z(et,Vt,st.opacity,null),et.setStyle(St),et.ensureState("emphasis").style=Wt,et.ensureState("blur").style=Gt,et.ensureState("select").style=ve,ii(et)}pt.add(et)}function W(pt){!pt.invisible&&i.push(pt)}function Z(pt,et,dt,ot){var q=v.getModel(ot?yS:gS),st=Qt(v.get("name"),null),Vt=q.getShallow("show");fe(pt,ee(v,ot?yS:gS),{defaultText:Vt?st:null,inheritColor:et,defaultOpacity:dt,labelFetcher:r,labelDataIndex:o.dataIndex});var St=pt.getTextContent();if(St){var Wt=St.style,Gt=jd(Wt.padding||0);ot&&(pt.setTextConfig({layoutRect:ot}),St.disableLabelLayout=!0),St.beforeUpdate=function(){var Xr=Math.max((ot?ot.width:pt.shape.width)-Gt[1]-Gt[3],0),De=Math.max((ot?ot.height:pt.shape.height)-Gt[0]-Gt[2],0);(Wt.width!==Xr||Wt.height!==De)&&St.setStyle({width:Xr,height:De})},Wt.truncateMinChar=2,Wt.lineOverflow="truncate",Q(Wt,ot,f);var ve=St.getState("emphasis");Q(ve?ve.style:null,ot,f)}}function Q(pt,et,dt){var ot=pt?pt.text:null;if(!et&&dt.isLeafRoot&&ot!=null){var q=r.get("drillDownIcon",!0);pt.text=q?q+" "+ot:ot}}function J(pt,et,dt,ot){var q=m!=null&&t[pt][m],st=n[pt];return q?(t[pt][m]=null,ct(st,q)):g||(q=new et,q instanceof ir&&(q.z2=J3(dt,ot)),_t(st,q)),e[pt][y]=q}function ct(pt,et){var dt=pt[y]={};et instanceof yd?(dt.oldX=et.x,dt.oldY=et.y):dt.oldShape=B({},et.shape)}function _t(pt,et){var dt=pt[y]={},ot=o.parentNode,q=et instanceof at;if(ot&&(!a||a.direction==="drillDown")){var st=0,Vt=0,St=n.background[ot.getRawIndex()];!a&&St&&St.oldShape&&(st=St.oldShape.width,Vt=St.oldShape.height),q?(dt.oldX=0,dt.oldY=Vt):dt.oldShape={x:st,y:Vt,width:0,height:0}}dt.fadein=!q}}function J3(r,e){return r*Z3+e}const j3=K3;var Qs=A,tF=tt,Of=-1,dy=function(){function r(e){var t=e.mappingMethod,a=e.type,n=this.option=rt(e);this.type=a,this.mappingMethod=t,this._normalizeData=aF[t];var i=r.visualHandlers[a];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[t],t==="piecewise"?(vc(n),eF(n)):t==="category"?n.categories?rF(n):vc(n,!0):(Ae(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(tF(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]),dD(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(Lt(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 Lt(e,r,this.option.visual,!0)},category:fs,piecewise:function(e,t){var a=_d.call(this,t);return a==null&&(a=Lt(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 dD(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 aF={linear:function(r){return Lt(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 Lt(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=uF(n,l,d,g,p,a);yD(d,y,t,a)}})}}}function oF(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 sF(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 lF(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 gD(v).drColorMappingBy=f,v}}}function pc(r,e){var t=r.get(e);return z(t)&&t.length?{name:e,range:t}:null}function uF(r,e,t,a,n,i){var o=B({},e);if(n){var s=n.type,l=s==="color"&&gD(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,mD=["itemStyle","borderWidth"],fF=["itemStyle","gapWidth"],hF=["upperLabel","show"],vF=["upperLabel","height"];const cF={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=vD(d);if(h!=="treemapMove"){var y=h==="treemapZoomToNode"?_F(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),_D(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(SF(s,p,c),!0),r.setLayoutInfo(s),SD(w,new ht(-s.x,-s.y,n,i),g,d,0)}};function _D(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(mD),u=s.get(fF)/2,f=xD(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=pF(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 mF(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=zF;var GF=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=DS(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=DS(e),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t){this._progressiveEls=[];function a(s){!s.isGroup&&!FF(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var n=e.start;n0}function DS(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 LS(r){return isNaN(r[0])||isNaN(r[1])}function _c(r){return r&&!LS(r[0])&&!LS(r[1])}const xy=GF;var Sc=[],xc=[],wc=[],Pi=ae,bc=Yn,IS=Math.abs;function PS(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]=Pi(a[0],n[0],i[0],f),Sc[1]=Pi(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(we(n[0],v[0]),we(n[1],v[2]),we(n[2],v[1]),f&&f!=="none"){var c=vs(s.node1),p=PS(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=PS(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]}we(u[0],n[0]),we(u[1],n[2]),we(u[2],n[1])}else{if(we(i[0],v[0]),we(i[1],v[1]),Vn(o,i[1],i[0]),uo(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)}we(u[0],i[0]),we(u[1],i[1])}})}function RS(r){return r.type==="view"}var HF=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 ml,i=new xy,o=this.group;this._controller=new wl(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(RS(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(_){CD(_,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)&&!Lh(u,n,t)}),!RS(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 WF=HF;function Ri(r){return"_EC_"+r}var $F=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[Ri(e)]){var n=new Rn(e,t);return n.hostGraph=this,this.nodes.push(n),a[Ri(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[Ri(e)]},r.prototype.addEdge=function(e,t,a){var n=this._nodesMap,i=this._edgesMap;if(At(e)&&(e=this.nodes[e]),At(t)&&(t=this.nodes[t]),e instanceof Rn||(e=n[Ri(e)]),t instanceof Rn||(t=n[Ri(t)]),!(!e||!t)){var o=e.id+"-"+t.id,s=new MD(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[Ri(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,DD("hostGraph","data"));Kt(MD,DD("hostGraph","edgeData"));const UF=$F;function LD(r,e,t,a,n){for(var i=new UF(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=pl(r,{coordDimensions:g,encodeDefine:t.getEncode()}).dimensions;p=new Ce(y,t),p.initData(r)}var m=new Ce(["value"],t);return m.initData(l,s),n&&n(p,m),fD({mainData:p,struct:i,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var YF=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 xl(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){MF(this);var s=LD(i,n,this,!0,l);return A(s.edges,function(u){DF(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=KC({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 Ce(["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 ZF=YF;var XF={type:"graphRoam",event:"graphRoam",update:"none"};function qF(r){r.registerChartView(WF),r.registerSeriesModel(ZF),r.registerProcessor(wF),r.registerVisual(bF),r.registerVisual(TF),r.registerLayout(LF),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,PF),r.registerLayout(EF),r.registerCoordinateSystem("graphView",{dimensions:bl.dimensions,create:OF}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Yt),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Yt),r.registerAction(XF,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 KF=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 KF},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}(yt);const JF=QF;function jF(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 tH=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=jF(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:Oe,p=h.get("show"),d=h.getModel("lineStyle"),g=d.get("width"),y=[u,f];oT(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:At(Q)&&(J=Q*Math.PI/180),J===0?h.add(new Ct({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 Ct({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 ct=0;ct<=w;ct++){P=Math.cos(T),R=Math.sin(T);var _t=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:L});L.stroke==="auto"&&_t.setStyle({stroke:i((E+ct/w)/S)}),h.add(_t),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 L=m.getItemModel(M),I=L.getModel("pointer"),P=H(I.get("width"),o.r),R=H(I.get("length"),o.r),E=t.get(["pointer","icon"]),N=I.get("offsetCenter"),O=H(N[0],o.r),V=H(N[1],o.r),F=I.get("keepAspect"),W;return E?W=qt(E,O-P/2,V-R,P,R,null,F):W=new JF({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 L=g.get("roundCap"),I=L?Pf:Oe,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 I({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 L=T(M,s);Bt(L,{rotation:-((isNaN(+D)?b[0]:Lt(D,x,b,!0))+Math.PI/2)},t),h.add(L),m.setItemGraphicEl(M,L)}if(y){var I=C(M,s),P=g.get("clip");Bt(I,{shape:{endAngle:Lt(D,x,b,P)}},t),h.add(I),kp(t.seriesIndex,m.dataType,M,I),p[M]=I}}).update(function(M,D){var L=m.get(_,M);if(d){var I=v.getItemGraphicEl(D),P=I?I.rotation:s,R=T(M,P);R.rotation=P,Mt(R,{rotation:-((isNaN(+L)?b[0]:Lt(L,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:Lt(L,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),L=D.getModel("emphasis"),I=L.get("focus"),P=L.get("blurScope"),R=L.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(Lt(m.get(_,M),x,[0,1],!0))),E.z2EmphasisLift=0,ue(E,D),Ft(E,I,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,I,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 Ct({silent:!0}),p[y]=new Ct({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(Lt(_,[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 L=D.get("offsetCenter"),I=o.cx+H(L[0],o.r),P=o.cy+H(L[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:I,y:P,text:Su(_,O),width:isNaN(R)?null:R,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:N})}),JT(M,{normal:D},_,function(F){return Su(F,O)}),d&&jT(M,y,l,t,{getFormattedLabel:function(F,W,Z,Q,J,ct){return Su(ct?ct.interpolatedValue:_,O)}}),S.add(M)}v.add(S)}),this.group.add(v),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Nt);const eH=tH;var rH=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 Co(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 aH=rH;function nH(r){r.registerChartView(eH),r.registerSeriesModel(aH)}var iH=["itemStyle","opacity"],oH=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=n,o=new Be,s=new Ct;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(iH);f=f??1,n||xr(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 lt(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}(Ne),sH=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 oH(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 lH=sH;var uH=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 xl(U(this.getData,this),U(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.getInitialData=function(t,a){return Co(this,{coordDimensions:["value"],encodeDefaulter:it(Lg,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 fH=uH;function hH(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function vH(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();oPH)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 kH=RH;var OH=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&&ft(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=It(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}(bt);const NH=OH;var BH=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}(br);const VH=BH;function gi(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=Ei(n,[0,o])),i!=null&&(i=Math.max(i,n??0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=Ei(s,[0,o]),n=i=Ei(s,[n,i]),a=0}e[0]=Ei(e[0],t),e[1]=Ei(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]=Ei(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 Ei(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,PD=Math.min,RD=Math.max,OS=Math.floor,zH=Math.ceil,NS=$t,GH=Math.PI,FH=function(){function r(e,t,a){this.type="parallel",this._axesMap=X(),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 VH(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)),ro(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")||OS(u/2);c=[f*d-p/2],c[1]=c[0]+p}var g=(s-p)/(u-h);g<3&&(g=0);var y=[OS(NS(c[0]/f,1))+1,zH(NS(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?WH:HH)(s,n),u={horizontal:{x:l.position,y:n.axisLength},vertical:{x:0,y:l.position}},f={horizontal:GH/2,vertical:0},h=[u[i].x+e.x,u[i].y+e.y],v=f[i],c=nr();fi(c,c,v),Fr(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?gi(l,n,o,"all"):u="none";else{var c=n[1]-n[0],p=o[1]*s/c;n=[RD(0,p-c/2)],n[1]=PD(o[1],n[0]+c),n[0]=n[1]-c}return{axisExpandWindow:n,behavior:u}},r}();function xu(r,e){return PD(RD(r,e[0]),e[1])}function HH(r,e){var t=e.layoutLength/(e.axisCount-1);return{position:t*r,axisNameAvailableWidth:t,axisLabelShow:!0}}function WH(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;iKH}function zD(r){var e=r.length-1;return e<0&&(e=0),[r[0],r[e]]}function GD(r,e,t,a){var n=new at;return n.add(new xt({name:"main",style:Cy(t),silent:!0,draggable:!0,cursor:"move",drift:it(GS,r,e,n,["n","s","w","e"]),ondragend:it(li,e,{isEnd:!0})})),A(a,function(i){n.add(new xt({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:it(GS,r,e,n,i),ondragend:it(li,e,{isEnd:!0})}))}),n}function FD(r,e,t,a){var n=a.brushStyle.lineWidth||0,i=io(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]):n4(r,i);o&&o.attr({silent:!a,invisible:!a,cursor:a?jH[s]+"-resize":null})})}function Qr(r,e,t,a,n,i,o){var s=e.childOfName(t);s&&s.setShape(o4(Ay(r,e,[[a,n],[a+i,n+o]])))}function Cy(r){return j({strokeNoScale:!0},r.brushStyle)}function HD(r,e,t,a){var n=[tl(r,t),tl(e,a)],i=[io(r,t),io(e,a)];return[[n[0],i[0]],[n[1],i[1]]]}function a4(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],a4(r));return a[n]}function n4(r,e){var t=[Cd(r,e[0]),Cd(r,e[1])];return(t[0]==="e"||t[0]==="w")&&t.reverse(),t.join("")}function GS(r,e,t,a,n,i){var o=t.__brushOption,s=r.toRectRange(o.range),l=WD(e,n,i);A(a,function(u){var f=JH[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(HD(s[0][0],s[1][0],s[0][1],s[1][1])),wy(e,t),li(e,{isEnd:!1})}function i4(r,e,t,a){var n=e.__brushOption.range,i=WD(r,t,a);A(n,function(o){o[0]+=i[0],o[1]+=i[1]}),wy(r,e),li(r,{isEnd:!1})}function WD(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=VD(r,e);return a&&a!==si?a.clipPath(t,r._transform):rt(t)}function o4(r){var e=tl(r[0][0],r[1][0]),t=tl(r[0][1],r[1][1]),a=io(r[0][0],r[1][0]),n=io(r[0][1],r[1][1]);return{x:e,y:t,width:a-e,height:n-t}}function s4(r,e,t){if(!(!r._brushType||u4(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:WS(0),lineY:WS(1),rect:{createCover:function(r,e){function t(a){return a}return GD({toRectRange:t,fromRectRange:t},r,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var e=zD(r);return HD(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(r,e,t,a){FD(r,e,t,a)},updateCommon:Td,contain:Md},polygon:{createCover:function(r,e){var t=new at;return t.add(new Be({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 Ne({name:"main",draggable:!0,drift:it(i4,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 WS(r){return{createCover:function(e,t){return GD({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=zD(e),a=tl(t[0][r],t[1][r]),n=io(t[0][r],t[1][r]);return[a,n]},updateCoverShape:function(e,t,a,n){var i,o=VD(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(),FD(e,t,l,n)},updateCommon:Td,contain:Md}}const My=e4;function UD(r){return r=Dy(r),function(e){return XT(e,r)}}function YD(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 ZD(r,e,t){var a=Dy(r);return function(n,i){return a.contain(i[0],i[1])&&!Lh(n,e,t)}}function Dy(r){return ht.create(r)}var f4=["axisLine","axisTickLabel","axisName"],h4=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(!v4(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=p4(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(f4,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=ht.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:UD(h),isTargetByCursor:ZD(h,s,i),getLinearBrushOtherExtent:YD(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(c4(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 v4(r,e,t){return t&&t.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:t})[0]===r}function c4(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 p4(r,e){return e.getComponent("parallel",r.get("parallelIndex"))}const d4=h4;var g4={type:"axisAreaSelect",event:"axisAreaSelected"};function y4(r){r.registerAction(g4,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 m4={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function XD(r){r.registerComponentView(kH),r.registerComponentModel(NH),r.registerCoordinateSystem("parallel",ZH),r.registerPreprocessor(DH),r.registerComponentModel(BS),r.registerComponentView(d4),no(r,"parallel",BS,m4),y4(r)}function _4(r){gt(XD),r.registerChartView(SH),r.registerSeriesModel(TH),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,MH)}var S4=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}(),x4=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new S4},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}(yt),w4=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 x4,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"),L=p.getLayout(),I,P,R,E,N,O,V,F;d.shape.extent=Math.max(1,L.dy),d.shape.orient=c,c==="vertical"?(I=(x!=null?x*u:S.x)+L.sy,P=(b!=null?b*f:S.y)+S.dy,R=(M!=null?M*u:T.x)+L.ty,E=D!=null?D*f:T.y,N=I,O=P*(1-_)+E*_,V=R,F=P*_+E*(1-_)):(I=(x!=null?x*u:S.x)+S.dx,P=(b!=null?b*f:S.y)+L.sy,R=M!=null?M*u:T.x,E=(D!=null?D*f:T.y)+L.ty,N=I*(1-_)+R*_,O=P,V=I*_+R*(1-_),F=E),d.setShape({x1:I,y1:P,x2:R,y2:E,cpx1:N,cpy1:O,cpx2:V,cpy2:F}),d.useStyle(m.getItemStyle()),$S(d.style,c,p);var W=""+y.get("value"),Z=ee(y,"edgeLabel");fe(d,Z,{labelFetcher:{getFormattedLabel:function(ct,_t,pt,et,dt,ot){return t.getFormattedLabel(ct,_t,"edge",et,Vr(dt,Z.normal&&Z.normal.get("formatter"),W),ot)}},labelDataIndex:p.dataIndex,defaultText:W}),d.setTextConfig({position:"inside"});var Q=y.getModel("emphasis");ue(d,y,"lineStyle",function(ct){var _t=ct.getItemStyle();return $S(_t,c,p),_t}),s.add(d),v.setItemGraphicEl(p.dataIndex,d);var J=Q.get("focus");Ft(d,J==="adjacency"?p.getAdjacentDataIndices():J==="trajectory"?p.getTrajectoryDataIndices():J,Q.get("blurScope"),Q.get("disabled"))}),o.eachNode(function(p){var d=p.getLayout(),g=p.getModel(),y=g.get("localX"),m=g.get("localY"),_=g.getModel("emphasis"),S=new xt({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:{getFormattedLabel:function(x,b){return t.getFormattedLabel(x,b,"node")}},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==="trajectory"?p.getTrajectoryDataIndices():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(b4(s.getBoundingRect(),t,function(){s.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Nt);function $S(r,e,t){switch(r.fill){case"source":r.fill=t.node1.getVisual("color"),r.decal=t.node1.getVisual("style").decal;break;case"target":r.fill=t.node2.getVisual("color"),r.decal=t.node2.getVisual("style").decal;break;case"gradient":var a=t.node1.getVisual("color"),n=t.node2.getVisual("color");$(a)&&$(n)&&(r.fill=new ll(0,0,+(e==="horizontal"),+(e==="vertical"),[{color:a,offset:0},{color:n,offset:1}]))}}function b4(r,e,t){var a=new xt({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 T4=w4;var C4=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=LD(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 A4=C4;function M4(r,e){r.eachSeriesByType("sankey",function(t){var a=t.get("nodeWidth"),n=t.get("nodeGap"),i=D4(t,e);t.layoutInfo=i;var o=i.width,s=i.height,l=t.getGraph(),u=l.nodes,f=l.edges;I4(u);var h=It(u,function(d){return d.getLayout().value===0}),v=h.length!==0?0:t.get("layoutIterations"),c=t.get("orient"),p=t.get("nodeAlign");L4(u,f,a,n,o,s,v,c,p)})}function D4(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function L4(r,e,t,a,n,i,o,s,l){P4(r,e,t,n,i,s,l),O4(r,e,i,n,a,o,s),$4(r,s)}function I4(r){A(r,function(e){var t=Wa(e.outEdges,Bf),a=Wa(e.inEdges,Bf),n=e.getValue()||0,i=Math.max(t,a,n);e.setLayout({value:i},!0)})}function P4(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"&&R4(r,o,i,b);var T=i==="vertical"?(n-t)/b:(a-t)/b;k4(r,T,i)}function qD(r){var e=r.hostGraph.data.getRawDataItem(r.dataIndex);return e.depth!=null&&e.depth>=0}function R4(r,e,t,a){if(e==="right"){for(var n=[],i=r,o=0;i.length;){for(var s=0;s0;i--)l*=.99,V4(s,l,o),Lc(s,n,t,a,o),W4(s,l,o),Lc(s,n,t,a,o)}function N4(r,e){var t=[],a=e==="vertical"?"y":"x",n=Ip(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 B4(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 V4(r,e,t){A(r.slice().reverse(),function(a){A(a,function(n){if(n.outEdges.length){var i=Wa(n.outEdges,z4,t)/Wa(n.outEdges,Bf);if(isNaN(i)){var o=n.outEdges.length;i=o?Wa(n.outEdges,G4,t)/o:0}if(t==="vertical"){var s=n.getLayout().x+(i-Qa(n,t))*e;n.setLayout({x:s},!0)}else{var l=n.getLayout().y+(i-Qa(n,t))*e;n.setLayout({y:l},!0)}}})})}function z4(r,e){return Qa(r.node2,e)*r.getValue()}function G4(r,e){return Qa(r.node2,e)}function F4(r,e){return Qa(r.node1,e)*r.getValue()}function H4(r,e){return Qa(r.node1,e)}function Qa(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 Wa(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 Y4(r){r.registerChartView(T4),r.registerSeriesModel(A4),r.registerLayout(M4),r.registerVisual(U4),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 KD=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 Co(this,{coordDimensions:_,dimensionsCount:m.length+1,encodeDefaulter:it(xC,_,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,KD,!0);const Z4=QD;var X4=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=US(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?(xr(h),JD(v,h,i,u)):h=US(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),q4=function(){function r(){}return r}(),K4=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 q4},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 nW={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==ye){var a="";Dt(a)}var n=aW(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function iW(r){r.registerSeriesModel(Z4),r.registerChartView(J4),r.registerLayout(j4),r.registerTransform(nW)}var oW=["color","borderColor"],sW=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){tn(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&&YS(u,h))return;var v=Ic(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&&YS(u,c)){i.remove(v);return}v?(Mt(v,{shape:{points:c.ends}},t,f),xr(v)):v=Ic(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(),ZS(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=Ic(s);Pc(l,n,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,a){ZS(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),lW=function(){function r(){}return r}(),uW=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 lW},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}(yt);function Ic(r,e,t){var a=r.ends;return new uW({shape:{points:t?fW(a,r):a},z2:100})}function YS(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(oW);e.useStyle(i),e.style.fill=null,e.style.stroke=n}const vW=sW;var jD=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(jD,KD,!0);const cW=jD;function pW(r){!r||!z(r.series)||A(r.series,function(e){tt(e)&&e.type==="k"&&(e.type="candlestick")})}var dW=["itemStyle","borderColor"],gW=["itemStyle","borderColor0"],yW=["itemStyle","borderColorDoji"],mW=["itemStyle","color"],_W=["itemStyle","color0"],SW={seriesType:"candlestick",plan:wo(),performRawSeries:!0,reset:function(r,e){function t(i,o){return o.get(i>0?mW:_W)}function a(i,o){return o.get(i===0?yW:i>0?dW:gW)}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 xW=SW;var wW={seriesType:"candlestick",plan:wo(),reset:function(r){var e=r.coordinateSystem,t=r.getData(),a=bW(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,_),L=N(x,_),I=N(b,_),P=[];O(P,D,0),O(P,M,1),P.push(F(I),F(D),F(L),F(M));var R=g.getItemModel(y),E=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(y,{sign:XS(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(),ct=Z.slice();J[n]=Wu(J[n]+a/2,1,!1),ct[n]=Wu(ct[n]-a/2,1,!0),Q?W.push(J,ct):W.push(ct,J)}function V(W,Z,Q){var J=N(W,Q),ct=N(Z,Q);return J[n]-=a/2,ct[n]-=a/2,{x:J[0],y:J[1],width:a,height:ct[1]-J[1]}}function F(W){return W[n]=Wu(W[n],1),W}}function p(d,g){for(var y=Nr(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),L=b.get(h,x),I=b.get(v,x);if(isNaN(C)||isNaN(L)||isNaN(I)){y[m++]=NaN,m+=3;continue}y[m++]=XS(b,x,M,D,f,T),S[n]=C,S[i]=L,_=e.dataToPoint(S,null,w),y[m++]=_?_[0]:NaN,y[m++]=_?_[1]:NaN,S[i]=I,_=e.dataToPoint(S,null,w),y[m++]=_?_[1]:NaN}g.setLayout("largePoints",y)}}};function XS(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 bW(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(ut(r.get("barMaxWidth"),n),n),o=H(ut(r.get("barMinWidth"),1),n),s=r.get("barWidth");return s!=null?H(s,n):Math.max(Math.min(n/2,i),o)}const TW=wW;function CW(r){r.registerChartView(vW),r.registerSeriesModel(cW),r.registerPreprocessor(pW),r.registerVisual(xW),r.registerLayout(TW)}function qS(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 AW=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=new yl(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 Pa(t.__p1,t.__cp1)+Pa(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}(t2);const NW=OW;var BW=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),VW=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 BW},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(sT(h,v,g,y,p,d,s,t,a))return l}else if(La(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 GW=zW;var FW={seriesType:"lines",plan:wo(),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=r2.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 GW:new xy(o?i?NW:e2:i?t2: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 WW=HW;var $W=typeof Uint32Array>"u"?Array:Uint32Array,UW=typeof Float64Array>"u"?Array:Float64Array;function KS(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 YW=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||[],KS(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(KS(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 ZW=YW;function wu(r){return r instanceof Array||(r=[r,r]),r}var XW={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 qW=XW;function KW(r){r.registerChartView(WW),r.registerSeriesModel(ZW),r.registerLayout(r2),r.registerVisual(qW)}var QW=256,JW=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Ua.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 L=o(_)?l:u;_>0&&(_=_*M+T),w[x++]=L[D],w[x++]=L[D+1],w[x++]=L[D+2],w[x++]=L[D+3]*_*256}else x+=4}return v.putImageData(S,0,0),h},r.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Ua.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 jW=JW;function t$(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 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.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){tn(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,a,n,i,o){var s=t.coordinateSystem,l=pi(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]);L=new xt({shape:{x:E[0]-u/2,y:E[1]-f/2,width:u,height:f},style:I})}else{if(isNaN(g.get(M[1],D)))continue;L=new xt({z2:1,shape:s.dataToRect([g.get(M[0],D)]).contentShape,style:I})}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)}L.shape.r=S;var V=t.getRawValue(D),F="-";V&&V[2]!=null&&(F=V[2]+""),fe(L,w,{labelFetcher:t,labelDataIndex:D,defaultOpacity:I.opacity,defaultText:F}),L.ensureState("emphasis").style=y,L.ensureState("blur").style=m,L.ensureState("select").style=_,Ft(L,b,T,C),L.incremental=o,o&&(L.states.emphasis.hoverLayer=!0),d.add(L),g.setItemGraphicEl(D,L),this._progressiveEls&&this._progressiveEls.push(L)}},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 jW;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"?e$(S,n.option.range):t$(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 a$=r$;var n$=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 i$=n$;function o$(r){r.registerChartView(a$),r.registerSeriesModel(i$)}var s$=["itemStyle","borderWidth"],JS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],kc=new Ur,l$=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:JS[+f],categoryDim:JS[1-+f]};return o.diff(s).add(function(c){if(o.hasValue(c)){var p=tx(o,c),d=jS(o,c,p,v),g=ex(o,v,d);o.setItemGraphicEl(c,g),i.add(g),ax(g,v,d)}}).update(function(c,p){var d=s.getItemGraphicEl(p);if(!o.hasValue(c)){i.remove(d);return}var g=tx(o,c),y=jS(o,c,g,v),m=l2(o,y);d&&m!==d.__pictorialShapeStr&&(i.remove(d),o.setItemGraphicEl(c,null),d=null),d?d$(d,v,y):d=ex(o,v,y,!0),o.setItemGraphicEl(c,d),d.__pictorialSymbolMeta=y,i.add(d),ax(d,v,y)}).remove(function(c){var p=s.getItemGraphicEl(c);p&&rx(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){rx(i,nt(o).dataIndex,t,o)}):n.removeAll()},e.type="pictorialBar",e}(Nt);function jS(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};u$(t,i,n,a,v),f$(r,e,n,i,o,v.boundingLength,v.pxSign,f,a,v),h$(t,v.symbolScale,u,a,v);var c=v.symbolSize,p=vi(t.get("symbolOffset"),c);return v$(t,c,n,i,o,p,s,v.valueLineWidth,v.boundingLength,v.repeatCutLength,a,v),v}function u$(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 f$(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 h$(r,e,t,a,n){var i=r.get(s$)||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 v$(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=Yb(a),T=b?a:nx((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?nx((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 L=h.bundlePosition=[];L[v.index]=t[v.xy],L[c.index]=t[c.xy];var I=h.barRectShape=B({},t);I[c.wh]=p*Math.max(Math.abs(t[c.wh]),Math.abs(D[c.index]+M)),I[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 a2(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 n2(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(Ly(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 i2(r,e,t,a){var n=r.__pictorialBundle,i=r.__pictorialMainPath;i?Ji(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=a2(t),n.add(i),Ji(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 o2(r,e,t){var a=B({},e.barRectShape),n=r.__pictorialBarRect;n?Ji(n,null,{shape:a},e,t):(n=r.__pictorialBarRect=new xt({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),n.disableMorphing=!0,r.add(n))}function s2(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 xt({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 tx(r,e){var t=r.getItemModel(e);return t.getAnimationDelayParams=c$,t.isAnimationEnabled=p$,t}function c$(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function p$(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function ex(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?n2(n,e,t):i2(n,e,t),o2(n,t,a),s2(n,e,t,a),n.__pictorialShapeStr=l2(r,t),n.__pictorialSymbolMeta=t,n}function d$(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?n2(r,e,t,!0):i2(r,e,t,!0),o2(r,t,!0),s2(r,e,t,!0)}function rx(r,e,t,a){var n=a.__pictorialBarRect;n&&n.removeTextContent();var i=[];Ly(a,function(o){i.push(o)}),a.__pictorialMainPath&&i.push(a.__pictorialMainPath),a.__pictorialClipPath&&(t=null),A(i,function(o){Za(o,{scaleX:0,scaleY:0},t,e,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(e,null)}function l2(r,e){return[r.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Ly(r,e,t){A(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&e.call(t,a)})}function Ji(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 ax(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");Ly(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:ao(e.seriesModel.getData(),a),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:c}),Ft(r,f,h,i.get("disabled"))}function nx(r){var e=Math.round(r);return Math.abs(r-e)<1e-4?e:Math.ceil(r)}const g$=l$;var y$=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=en(If.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}(If);const m$=y$;function _$(r){r.registerChartView(g$),r.registerSeriesModel(m$),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(WA,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,$A("pictorialBar"))}var S$=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 M$(r){r.registerChartView(w$),r.registerSeriesModel(T$),r.registerLayout(C$),r.registerProcessor(Sl("themeRiver"))}var D$=2,L$=4,I$=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this)||this;o.z2=D$,o.textConfig={inside:!0},nt(o).seriesIndex=a.seriesIndex;var s=new Ct({z2:L$,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=eo(c,o));var p=Un(l.getModel("itemStyle"),h,!0);B(h,p),A(Me,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),xr(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"):!L||L==="center"?(s===2*Math.PI&&o.r0===0?M=0:M=(o.r+o.r0)/2,L="center"):L==="left"?(M=o.r0+D,l>Math.PI/2&&(L="right")):L==="right"&&(M=o.r-D,l>Math.PI/2&&(L="left")),S.style.align=L,S.style.verticalAlign=g(m,"verticalAlign")||"middle",S.x=M*u+o.cx,S.y=M*f+o.cy;var I=g(m,"rotate"),P=0;I==="radial"?(P=gr(-l),P>Math.PI/2&&PMath.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):At(I)&&(P=I*Math.PI/180),S.rotation=gr(P)});function g(y,m){var _=y.get(m);return _??i.get(m)}v.dirtyStyle()},e}(Oe);const ox=I$;var Dd="sunburstRootToNode",sx="sunburstHighlight",P$="sunburstUnhighlight";function R$(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:sx,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,[sx],i);o&&(e.dataIndex=o.node.dataIndex)}a.dispatchAction(B(e,{type:"highlight"}))}),r.registerAction({type:P$,update:"updateView"},function(e,t,a){e=B({},e),a.dispatchAction(B(e,{type:"downplay"}))})}var E$=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 ox(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 ox(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 k$=E$;var O$=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};u2(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(){cD(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 u2(r){var e=0;A(r.children,function(a){u2(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 N$=O$;var lx=Math.PI/180;function B$(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")*lx,p=a.get("minAngle")*lx,d=a.getData().tree.root,g=a.getViewRoot(),y=g.depth,m=a.get("sort");m!=null&&f2(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,L=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 G$(r){r.registerChartView(k$),r.registerSeriesModel(N$),r.registerLayout(it(B$,"sunburst")),r.registerProcessor(it(Sl,"sunburst")),r.registerVisual(z$),R$(r)}var ux={color:"fill",borderColor:"stroke"},F$={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},ia=wt(),H$=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 W$=H$;function $$(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 U$(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($$,r)}}}function Y$(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 Z$(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(Y$,r)}}}function X$(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 q$(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(X$,r)}}}function K$(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(K$,r)}}}function J$(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 h2(r,e,t,a){return r&&(r.legacy||r.legacy!==!1&&!t&&!a&&e!=="tspan"&&(e==="text"||Y(r,"text")))}function v2(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 fx(o,r),A(o.rich,function(l){fx(l,l)}),{textConfig:n,textContent:i}}function fx(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 hx(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";vx(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){vx(s,s)}),a}function vx(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 c2={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},cx=mt(c2);Gr(Hr,function(r,e){return r[e]=1,r},{});Hr.join(", ");var Vf=["","style","shape","extra"],oo=wt();function Iy(r,e,t,a,n){var i=r+"Animation",o=co(r,a,n)||{},s=oo(e).userDuring;return o.duration>0&&(o.during=s?U(a6,{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=oo(r),u=e.style;l.userDuring=e.during;var f={},h={};if(i6(r,e,h),dx("shape",e,h),dx("extra",e,h),!i&&s&&(n6(r,e,f),px("shape",r,e,f),px("extra",r,e,f),o6(r,e,u,f)),h.style=u,j$(r,h,o),e6(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=Iy("enter",r,e,t,n);c.duration>0&&r.animateFrom(v,c)}else t6(r,e,n||0,t,f);p2(r,e),u?r.dirty():r.markRedraw()}function p2(r,e){for(var t=oo(r).leaveToProps,a=0;a0&&r.animateFrom(n,i)}}function e6(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 yt&&Y(e,"autoBatch")&&(r.autoBatch=e.autoBatch)}var Lr={},r6={setTransform:function(r,e){return Lr.el[r]=e,this},getTransform:function(r){return Lr.el[r]},setShape:function(r,e){var t=Lr.el,a=t.shape||(t.shape={});return a[r]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(r){var e=Lr.el.shape;if(e)return e[r]},setStyle:function(r,e){var t=Lr.el,a=t.style;return a&&(a[r]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(r){var e=Lr.el.style;if(e)return e[r]},setExtra:function(r,e){var t=Lr.el.extra||(Lr.el.extra={});return t[r]=e,this},getExtra:function(r){var e=Lr.el.extra;if(e)return e[r]}};function a6(){var r=this,e=r.el;if(e){var t=oo(e).userDuring,a=r.userDuring;if(t!==a){r.el=r.userDuring=null;return}Lr.el=e,a(r6)}}function px(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,Va).getItemStyle();N!=null&&(V.fill=N),O!=null&&(V.opacity=O);var F={inheritColor:$(N)?N:"#000"},W=_(R,Va),Z=kt(W,null,F,!1,!0);Z.text=W.getShallow("show")?ut(r.getFormattedLabel(R,Va),ao(e,R)):null;var Q=df(W,F,!1);return C(P,V),V=hx(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")?Vr(r.getFormattedLabel(R,oa),r.getFormattedLabel(R,Va),ao(e,R)):null;var V=df(N,null,!0);return C(P,E),E=hx(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(ux,P)){var E=e.getItemVisual(R,"style");return E?E[ux[P]]:null}if(Y(F$,P))return e.getItemVisual(R,P)}function D(P){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return _B(j({axis:R},P))}}function L(){return t.getCurrentSeriesIndices()}function I(P){return QT(P,t)}}function y6(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&&m2(e,a,n)&&(o=vt(i.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=Ey(a),s&&v6(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,_6(u,t,a,n,l,Ye),m6(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 m2(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"&&T6(i)&&_2(i)!==a.customPathData||n==="image"&&Y(o,"image")&&o.image!==a.customImagePath}function m6(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&&m2(o,i,a)&&(o=null),o||(o=Ey(i),r.setClipPath(o)),ky(null,o,e,i,null,a,n)}}function _6(r,e,t,a,n,i){if(!r.isGroup){yx(t,null,i),yx(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);x6(e,p,n)}}}function x6(r,e,t){e&&kh(e,ia(r).option,t)}function w6(r){new ha(r.oldChildren,r.newChildren,mx,mx,r).add(_x).update(_x).remove(b6).execute()}function mx(r,e){var t=r&&r.name;return t??f6+e}function _x(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 b6(r){var e=this.context,t=e.oldChildren[r];t&&kh(t,ia(t).option,e.seriesModel)}function _2(r){return r&&(r.pathData||r.d)}function T6(r){return r&&(Y(r,"pathData")||Y(r,"d"))}function C6(r){r.registerChartView(p6),r.registerSeriesModel(W$)}var Nn=wt(),Sx=rt,Gc=U,A6=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(xx,t,h);this.updatePointerEl(s,u,v),this.updateLabelEl(s,u,v,t)}Tx(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](Sx(t.pointer));e.add(o)}},r.prototype.createLabelEl=function(e,t,a,n){if(t.label){var i=Nn(e).labelEl=new Ct(Sx(t.label));e.add(i),bx(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}),bx(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)),Tx(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,bo(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},r.prototype._moveHandleToValue=function(e,t){xx(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 xx(r,e,t,a){S2(Nn(t).lastProp,a)||(Nn(t).lastProp=a,e?Mt(t,a,r):(t.stopAnimation(),t.attr(a)))}function S2(r,e){if(tt(r)&&tt(e)){var t=!0;return A(e,function(a,n){t=t&&S2(r[n],a)}),!!t}else return r===e}function bx(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 Tx(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=A6;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 x2(r,e,t,a,n){var i=t.get("value"),o=w2(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),s=t.getModel("label"),l=mo(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),M6(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 M6(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 w2(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),Fr(a,a,t.position),_r([r.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],a)}function b2(r,e,t,a,n,i){var o=va.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),x2(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 T2(r,e,t){return t=t||0,{x:r[t],y:r[1-t],width:e[t],height:e[1-t]}}function Cx(r,e,t,a,n,i){return{cx:r,cy:e,r0:t,r:a,startAngle:n,endAngle:i,clockwise:!0}}var D6=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=Ax(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var v=Vy(i),c=L6[u](s,h,f);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=vd(l.model,n);b2(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=Ax(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 Ax(r,e){var t={};return t[e.dim+"AxisIndex"]=e.index,r.getCartesian(t)}var L6={line:function(r,e,t){var a=Gy([e,t[0]],[e,t[1]],Mx(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:T2([e-a/2,t[0]],[a,n],Mx(r))}}};function Mx(r){return r.dim==="x"?0:1}const I6=D6;var P6=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,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(bt);const R6=P6;var ea=wt(),E6=A;function C2(r,e,t){if(!Tt.node){var a=e.getZr();ea(a).records||(ea(a).records={}),k6(a,e);var n=ea(a).records[r]||(ea(a).records[r]={});n.handler=t}}function k6(r,e){if(ea(r).initialized)return;ea(r).initialized=!0,t("click",it(Dx,"click")),t("mousemove",it(Dx,"mousemove")),t("globalout",N6);function t(a,n){r.on(a,function(i){var o=B6(e);E6(ea(r).records,function(s){s&&n(s,i,o.dispatchAction)}),O6(o.pendings,e)})}}function O6(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 N6(r,e,t){r.handler("leave",null,t)}function Dx(r,e,t,a){e.handler(r,t,a)}function B6(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(!Tt.node){var t=e.getZr(),a=(ea(t).records||{})[r];a&&(ea(t).records[r]=null)}}var V6=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";C2("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 z6=V6;function A2(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 Lx=wt();function G6(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=A2({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(H6,c),showTooltip:it(W6,p)};A(s.coordSysMap,function(y,m){var _=l||y.containPoint(n);A(s.coordSysAxesInfo[m],function(S,w){var x=S.axis,b=Z6(u,S);if(!h&&_&&(!u||b)){var T=b&&b.value;T==null&&!l&&(T=x.pointToData(n)),T!=null&&Ix(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,Px(S),Px(y)))),g[y.key]=b}})}),A(g,function(y,m){Ix(f[m],y,d,!0,v)}),$6(c,f,v),U6(p,n,r,o),Y6(f,o,t),v}}function Ix(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=F6(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 F6(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 H6(r,e,t,a){r[e.key]={value:t,payloadBatch:a}}function W6(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 $6(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 U6(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 Y6(r,e,t){var a=t.getZr(),n="axisPointerLastHighlights",i=Lx(a)[n]||{},o=Lx(a)[n]={};A(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&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 Z6(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 Px(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 Tl(r){di.registerAxisPointerClass("CartesianAxisPointer",I6),r.registerComponentModel(R6),r.registerComponentView(z6),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=k5(e,t)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},G6)}function X6(r){gt(JM),gt(Tl)}var q6=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=K6(a,n,i,l,d);x2(t,n,i,o,g)},e}(By);function K6(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),Fr(v,v,[a.cx,a.cy]),u=_r([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:Cx(e.cx,e.cy,a[0],a[1],(-t-n/2)*i,(-t+n/2)*i)}:{type:"Sector",shape:Cx(e.cx,e.cy,t-n/2,t+n/2,0,Math.PI*2)}}};const J6=q6;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.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}(bt);const tU=j6;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}(bt);Kt(Fy,gl);var eU=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),rU=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}(br);Hy.prototype.dataToRadius=br.prototype.dataToCoord;Hy.prototype.radiusToData=br.prototype.coordToData;const aU=Hy;var nU=wt(),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=nU(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}(br);Wy.prototype.dataToAngle=br.prototype.dataToCoord;Wy.prototype.angleToData=br.prototype.coordToData;const iU=Wy;var M2=["radius","angle"],oU=function(){function r(e){this.dimensions=M2,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new aU,this._angleAxis=new iU,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=Rx(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Rx(t);return n===this?this.pointToData(a):null},r}();function Rx(r){var e=r.seriesModel,t=r.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}const sU=oU;function lU(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 uU(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)})}}),ro(a.scale,a.model),ro(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 fU(r){return r.mainType==="angleAxis"}function Ex(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"),fU(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 hU={dimensions:M2,create:function(r,e){var t=[];return r.eachComponent("polar",function(a,n){var i=new sU(n+"");i.update=uU;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");Ex(o,l),Ex(s,u),lU(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 vU=hU;var cU=["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 kx(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 pU=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=rt(f);var h=n.scale,v=h.type==="ordinal"?h.getRawOrdinalNumber(f.tickValue):f.tickValue;return f.coord=n.dataToCoord(v),f});kx(u),kx(s),A(cU,function(f){t.get([f,"show"])&&(!n.scale.isBlank()||f==="axisLine")&&dU[f](this.group,t,i,s,l,o,u)},this)}},e.type="angleAxis",e}(di),dU={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 Ur({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 Ct({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",I=b;w&&(a[f][D]||(a[f][D]={p:b,n:b}),I=a[f][D][L]);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 TU(r){var e={};A(r,function(a,n){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=L2(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=D2(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=Ox(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Ox(t);return n===this?this.pointToData(a):null},r}();function Ox(r){var e=r.seriesModel,t=r.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function BU(r,e){var t=[];return r.eachComponent("singleAxis",function(a,n){var i=new NU(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 VU={create:BU,dimensions:P2};const zU=VU;var Nx=["x","y"],GU=["width","height"],FU=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=HU[h](s,f,u);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=Rd(n);b2(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),HU={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:T2([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[Nx[e]],t[Nx[e]]+t[GU[e]]]}const WU=FU;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.type="single",e}(Ht);function UU(r){gt(Tl),di.registerAxisPointerClass("SingleAxisPointer",WU),r.registerComponentView($U),r.registerComponentView(EU),r.registerComponentModel(Hc),no(r,"single",Hc,Hc.defaultOption),r.registerCoordinateSystem("single",zU)}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.init=function(t,a,n){var i=_o(t);r.prototype.init.apply(this,arguments),Bx(t,i)},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),Bx(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}(bt);function Bx(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 tk(e,i)&&(a[i]="auto"),a[i]!=null&&a[i]!=="auto"});Xa(r,e,{type:"box",ignoreSize:n})}const ZU=YU;var XU=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 xt({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 Be({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 Ct({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 Vx(r){var e=r.calendarModel,t=r.seriesModel,a=e?e.coordinateSystem:t?t.coordinateSystem:null;return a}const QU=KU;function JU(r){r.registerComponentModel(ZU),r.registerComponentView(qU),r.registerCoordinateSystem("calendar",QU)}function jU(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 zx(r,e){var t;return A(e,function(a){r[a]!=null&&r[a]!=="auto"&&(t=!0)}),t}function t8(r,e,t){var a=B({},t),n=r[e],i=t.$action||"merge";i==="merge"?n?(ft(n,a,!0),Xa(n,a,{ignoreSize:!0}),gC(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 R2=["transition","enterFrom","leaveTo"],e8=R2.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?R2:e8,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=X()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ht);function Ed(r){var e=Y(Gx,r)?Gx[r]:wg(r),t=new e({});return Qe(t).type=r,t}function Fx(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 Hx(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]=ut(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 i8(r){return r=B({},r),A(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(dC),function(e){delete r[e]}),r}function o8(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 s8(r){r.registerComponentModel(a8),r.registerComponentView(n8),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 Wx=["x","y","radius","angle","single"],l8=["cartesian2d","polar","singleAxis"];function u8(r){var e=r.get("coordinateSystem");return vt(l8,e)>=0}function za(r){return r+"Axis"}function f8(r,e){var t=X(),a=[],n=X();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 E2(r){var e=r.ecModel,t={infoList:[],infoMap:X()};return r.eachTargetAxis(function(a,n){var i=e.getComponent(za(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}(),h8=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=$x(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var a=$x(t);ft(this.option,t,!0),ft(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=X(),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(Wx,function(n){var i=this.getReferringComponents(za(n),IP);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(Wx,function(u){if(i){var f=n.findComponents({mainType:za(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(za(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(za(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 Hi(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)}});Hi(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;Hi(["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=Lt(a[0]+o,a,[0,100],!0):i!=null&&(o=Lt(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=Wb(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 m8(r,e,t){var a=[1/0,-1/0];Hi(t,function(o){HB(a,o.getData(),e)});var n=r.getAxisModel(),i=KA(n.axis.scale,n,a).calculate();return[i.min,i.max]}const _8=y8;var S8={getTargetSeries:function(r){function e(n){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(za(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 _8(n,i,s,r),t.push(o.__dzAxisProxy))});var a=X();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 x8=S8;function w8(r){r.registerAction("dataZoom",function(e,t){var a=f8(t,e);A(a,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var Yx=!1;function Uy(r){Yx||(Yx=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,x8),w8(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function b8(r){r.registerComponentModel(c8),r.registerComponentView(g8),Uy(r)}var je=function(){function r(){}return r}(),k2={};function Wi(r,e){k2[r]=e}function O2(r){return k2[r]}var T8=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=O2(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),ft(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}(bt);const C8=T8;function A8(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 N2(r,e){var t=mo(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),r=new xt({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 M8=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(D8(g))S={onclick:_.option.onclick,featureName:g};else{var w=O2(g);if(!w)return;S=new w}f[g]=S}else if(S=f[y],!S)return;S.uid=yo("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 L=new Ct({style:{text:x[C],align:m.get("textAlign"),borderRadius:m.get("textBorderRadius"),padding:m.get("textPadding"),fill:null},ignore:!0});M.setTextContent(L),po({el:M,componentModel:t,itemName:C,formatterParamsExtra:{title:x[C]}}),M.__title=x[C],M.on("mouseover",function(){var I=m.getItemStyle(),P=l?t.get("right")==null&&t.get("left")!=="right"?"right":"left":t.get("bottom")==null&&t.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:m.get("textFill")||I.fill||I.stroke||"#000",backgroundColor:m.get("textBackgroundColor")}),M.setTextConfig({position:m.get("textPosition")||P}),L.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",C])!=="emphasis"&&n.leaveEmphasis(this),L.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})}A8(o,t,n),o.add(N2(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,Ct.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 D8(r){return r.indexOf("my")===0}const L8=M8;var I8=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=Tt.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 P8=I8;var Zx="__ec_magicType_stack__",R8=[["line","bar"],["stack"]],E8=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(Xx[n]){var s={series:[]},l=function(h){var v=h.subType,c=h.id,p=Xx[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(R8,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=ft({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),Xx={line:function(r,e,t,a){if(r==="bar")return ft({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 ft({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")===Zx;if(r==="line"||r==="bar")return a.setIconStatus("stack",n?"normal":"emphasis"),ft({id:e,stack:n?"":Zx},a.get(["option","stack"])||{},!0)}};Zr({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,e){e.mergeOption(r.newOption)});const k8=E8;var Oh=new Array(60).join("-"),so=" ";function O8(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 N8(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(so)],f=0;f=0)return!0}var kd=new RegExp("["+so+"]+","g");function G8(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 Z8(r){var e=Yy(r),t=e[e.length-1];e.length>1&&e.pop();var a={};return B2(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 X8(r){V2(r).snapshots=null}function q8(r){return Yy(r).length}function Yy(r){var e=V2(r);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var K8=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){X8(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);Zr({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,e){e.resetOption("recreate")});const Q8=K8;var J8=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],j8=function(){function r(e,t,a){var n=this;this._targetInfoList=[];var i=qx(t,e);A(tY,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:jx[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?jx[a.brushType](i.values,o.offset,eY(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:UD(n),isTargetByCursor:ZD(n,e,a.coordSysModel),getLinearBrushOtherExtent:YD(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=qx(t,e),i=0;ir[1]&&r.reverse(),r}function qx(r,e){return ys(r,e,{includeMainTypes:J8})}var tY={grid:function(r,e){var t=r.xAxisModels,a=r.yAxisModels,n=r.gridModels,i=X(),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})})}},Kx=[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(Jx,0),lineY:it(Jx,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 Jx(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 jx={lineX:it(tw,0),lineY:it(tw,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 tw(r,e,t,a){return[e[0]-a[r]*t[0],e[1]-a[r]*t[1]]}function eY(r,e){var t=ew(r),a=ew(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 ew(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}const Zy=j8;var Nd=A,rY=CP("toolbox-dataZoom_"),aY=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()),oY(t,a,this,i,n),iY(t,a)},e.prototype.onclick=function(t,a,n){nY[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)}}),Y8(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=gi(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(rt(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),nY={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(Z8(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 iY(r,e){r.setIconStatus("back",q8(e)>1?"emphasis":"normal")}function oY(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)}ok("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:rY+u+h};v[f]=h,n.push(v)}return n});const sY=aY;function lY(r){r.registerComponentModel(C8),r.registerComponentView(L8),Wi("saveAsImage",P8),Wi("magicType",k8),Wi("dataView",U8),Wi("dataZoom",sY),Wi("restore",Q8),gt(b8)}var uY=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}(bt);const fY=uY;function z2(r){var e=r.get("confine");return e!=null?!!e:r.get("renderMode")==="richText"}function G2(r){if(Tt.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 yY(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+=Tt.transformSupported?","+qy+a:",left"+a+",top"+a),cY+":"+n}function rw(r,e,t){var a=r.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!Tt.transformSupported)return t?"top:"+n+";left:"+a+";":[["top",n],["left",a]];var i=Tt.transform3dSupported,o="translate"+(i?"3d":"")+"("+a+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+qy+":"+o+";":[["top",0],["left",0],[F2,o]]}function mY(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 _Y(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=qC(r,"html"),v=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+v),e&&n&&a.push(yY(n,t)),i&&a.push("background-color:"+i),A(["width","color","radius"],function(c){var p="border-"+c,d=cC(p),g=r.get(d);g!=null&&a.push(p+":"+g+(c==="color"?"":"px"))}),a.push(mY(f)),h!=null&&a.push("padding:"+mo(h).join("px ")+"px"),a.join(";")+";"}function aw(r,e,t,a,n){var i=e&&e.painter;if(t){var o=i&&i.getViewportRoot();o&&qL(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 SY=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,Tt.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;aw(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=vY(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=pY+_Y(e,!this._firstShow,this._longHide)+rw(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"&&!z2(a)&&(s=gY(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||Tt.node||!n.getDom())){var o=ow(i,n);this._ticket="";var s=i.dataByCoordSys,l=LY(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=TY;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=A2(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(ow(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=w2(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 L=$0(C.formatTooltip(M,!0,null)),I=L.frag;if(I){var P=Ko([C],i).get("valueFormatter");b.blocks.push(P?B({valueFormatter:P},I):I)}L.text&&h.push(L.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=rt(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=pC(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=DY(a,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=AY(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=sw(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=sw(c)?h[1]/2:c==="bottom"?h[1]:0),z2(t)){var y=MY(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){Tt.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 ow(r,e){return r.dispatchAction||U(e.dispatchAction,e)}function AY(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 MY(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 DY(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 sw(r){return r==="center"||r==="middle"}function LY(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 IY=CY;function PY(r){gt(Tl),r.registerComponentModel(fY),r.registerComponentView(IY),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Yt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Yt)}var RY=["rect","polygon","keep","clear"];function EY(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),kY(s),e&&!s.length&&s.push.apply(s,RY)}}function kY(r){var e={};A(r,function(t){e[t]=1}),r.length=0,A(e,function(t,a){r.push(a)})}var lw=A;function uw(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function Bd(r,e,t){var a={};return lw(e,function(i){var o=a[i]=n();lw(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=rt(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 W2(r,e,t){var a;A(t,function(n){e.hasOwnProperty(n)&&uw(e[n])&&(a=!0)}),a&&A(t,function(n){e.hasOwnProperty(n)&&uw(e[n])?r[n]=rt(e[n]):delete r[n]})}function OY(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){iA(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&&pw(e)}};function pw(r){return new ht(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var WY=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){$2(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:rt(n),$from:a}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:rt(n),$from:a})},e.type="brush",e}(Ht);const $Y=WY;var UY="#ddd",YY=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&&W2(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:UY},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=G(t,function(a){return dw(this.option,a)},this))},e.prototype.setBrushOption=function(t){this.brushOption=dw(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}(bt);function dw(r,e){return ft({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Ot(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},e,!0)}const ZY=YY;var XY=["rect","polygon","lineX","lineY","keep","clear"],qY=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:XY.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 KY=qY;function QY(r){r.registerComponentView($Y),r.registerComponentModel(ZY),r.registerPreprocessor(EY),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,VY),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),Wi("brush",KY)}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={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}(bt),jY=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=ut(t.get("textBaseline"),t.get("textVerticalAlign")),f=new Ct({style:kt(o,{text:t.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),v=t.get("subtext"),c=new Ct({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 xt({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 t7(r){r.registerComponentModel(JY),r.registerComponentView(jY)}var e7=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(ho(u),""),v;tt(u)?(v=rt(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 Ce([{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}(bt);const gw=e7;var U2=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=en(gw.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}(gw);Kt(U2,Og.prototype);const r7=U2;var a7=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 n7=a7;var i7=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}(br);const o7=i7;var Xc=Math.PI,yw=wt(),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.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=u7(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;Fr(s,s,[-l,-u]),fi(s,s,-Xc/2),Fr(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=l7(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 o7("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=mw(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 Ct({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),yw(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=Sr(ut(i.get(["controlStyle",p+"BtnSize"]),o),o),m=[0,-y/2,y,y],_=f7(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),_w(h,u._progressLine,s,n,i,!0)},onUpdate:function(h){_w(h,u._progressLine,s,n,i)}};this._currentPointer=mw(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(!m7(e)&&!z(e.coord)&&z(n)){var i=Z2(e,t,a,r);if(e=rt(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 Z2(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(_7(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 _7(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 S7(r,e,t){return r&&r.containZone&&e.coord&&t.coord&&!zd(e)&&!zd(t)?r.containZone(e.coord,t.coord):!0}function X2(r,e){return r?function(t,a,n,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Ha(o,e[i])}:function(t,a,n,i){return Ha(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=wt(),x7=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=X()},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?xT(l):dg(l))})}})},e.type="marker",e}(Ht);const Jy=x7;function xw(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 w7=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&&(xw(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 ml),h=b7(o,t,a);a.setData(h),xw(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 b7(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 Ce(a,t),i=G(t.get("data"),it(rl,e));r&&(i=It(i,it(al,r)));var o=X2(!!r,a);return n.initData(i,null,o),n}const T7=w7;function C7(r){r.registerComponentModel(y7),r.registerComponentView(T7),r.registerPreprocessor(function(e){Ky(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var A7=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 M7=A7;var Lu=wt(),D7=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=Z2(a,n,e,r);s=u.valueAxis;var f=kA(n,u.valueDataDim);l=Qy(n,f,o)}var h=s.dim==="x"?0:1,v=1-h,c=rt(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&&At(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,ft(g[2],g[0]),ft(g[2],g[1]),g};function Wf(r){return!isNaN(r)&&!isFinite(r)}function ww(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 L7(r,e){if(r.type==="cartesian2d"){var t=e[0].coord,a=e[1].coord;if(t&&a&&(ww(1,t,a,r)||ww(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(pi(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 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.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=ja.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=Lu(o).from,u=Lu(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=P7(o,t,a),v=h.from,c=h.to,p=h.line;Lu(a).from=v,Lu(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:ut(b.get("symbolOffset",!0),m[x?0:1]),symbolRotate:ut(b.get("symbolRotate",!0),y[x?0:1]),symbolSize:ut(b.get("symbolSize"),g[x?0:1]),symbol:ut(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 P7(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 Ce(a,t),i=new Ce(a,t),o=new Ce([],t),s=G(t.get("data"),it(D7,e,r,t));r&&(s=It(s,it(L7,r)));var l=X2(!!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 R7=I7;function E7(r){r.registerComponentModel(M7),r.registerComponentView(R7),r.registerPreprocessor(function(e){Ky(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var k7=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 O7=k7;var Iu=wt(),N7=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 bw(r,e,t,a){var n=1-r;return $f(e[n])&&$f(t[n])}function B7(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 pi(r,"cartesian2d")?t&&a&&(bw(1,t,a)||bw(0,t,a))?!0:S7(r,n,i):al(r,n)||al(r,i)}function Tw(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(pi(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 Cw=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],V7=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(Cw,function(h){return Tw(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=z7(o,t,a);a.setData(h),h.each(function(v){var c=G(Cw,function(T){return Tw(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(Iu(f).data).add(function(v){var c=h.getItemLayout(v);if(!c.allClipped){var p=new Ne({shape:{points:c.points}});h.setItemGraphicEl(v,p),f.group.add(p)}}).update(function(v,c){var p=Iu(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 Ne({shape:{points:d.points}}),h.setItemGraphicEl(v,p),f.group.add(p))}).remove(function(v){var c=Iu(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}),Iu(f).data=h,f.group.silent=a.get("silent")||t.get("silent")},e.type="markArea",e}(Jy);function z7(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 Ce(n,t)}else n=[{name:"value",type:"float"}],a=new Ce(n,t);var s=G(t.get("data"),it(N7,e,r,t));r&&(s=It(s,it(B7,r)));var l=r?function(u,f,h,v){var c=u.coord[Math.floor(v/2)][v%2];return Ha(c,n[v])}:function(u,f,h,v){return Ha(u.value,n[v])};return a.initData(s,null,l),a.hasItemOption=!0,a}const G7=V7;function F7(r){r.registerComponentModel(O7),r.registerComponentView(G7),r.registerPreprocessor(function(e){Ky(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var H7=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"])}},W7=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]=ft(i,H7(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}(bt);const Gd=W7;var ki=it,Fd=A,Pu=at,$7=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=N2(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=X(),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",ki(Aw,d,null,i,v)).on("mouseover",ki(Hd,y.name,null,i,v)).on("mouseout",ki(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"),L=Ge(M.fill);L&&L[3]===0&&(L[3]=.2,M=B(B({},M),{fill:na(L,"rgba")}));var I=this._createItem(b,d,p,c,a,t,{},M,D,h,i);I.on("click",ki(Aw,null,d,i,v)).on("mouseover",ki(Hd,null,d,i,v)).on("mouseout",ki(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 Ct({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=U7(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(Y7({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 L=g?x.getTextColor():i.get("inactiveColor");w.add(new Ct({style:kt(x,{text:D,x:T,y:d/2,fill:L,align:C,verticalAlign:"middle"},{inheritColor:L})}));var I=new xt({shape:w.getBoundingRect(),invisible:!0}),P=i.getModel("tooltip");return P.get("show")&&po({el:I,componentModel:o,itemName:a,itemTooltipOption:P.option}),w.add(I),w.eachChild(function(R){R.silent=!0}),I.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 U7(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:eo(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 Y7(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 Aw(r,e,t,a){Wd(r,e,t,a),t.dispatchAction({type:"legendToggleSelect",name:r??e}),Hd(r,e,t,a)}function q2(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],_=ut(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 xt({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}(K2);const J7=Q7;function j7(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 t9(r){gt(Q2),r.registerComponentModel(K7),r.registerComponentView(J7),j7(r)}function e9(r){gt(Q2),gt(t9)}var r9=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=en(el.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(el);const a9=r9;var jy=wt();function n9(r,e,t){jy(r).coordSysRecordMap.each(function(a){var n=a.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function i9(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 f9(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var a=jy(t),n=a.coordSysRecordMap||(a.coordSysRecordMap=X());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=E2(i);A(o.infoList,function(s){var l=s.model.uid,u=n.get(l)||n.set(l,o9(t,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=X());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){J2(n,i);return}var f=u9(l);o.enable(f.controlType,f.opt),o.setPointerChecker(i.containsPoint),bo(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var h9=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(),n9(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(){i9(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(gi(0,i,[0,100],0,f.minSpan,f.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:Lw(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:Lw(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 Lw(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(gi(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 v9=h9;function j2(r){Uy(r),r.registerComponentModel(a9),r.registerComponentView(v9),f9(r)}var c9=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=en(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 p9=c9;var jo=xt,Iw=7,d9=1,rp=30,g9=7,ts="horizontal",Pw="vertical",y9=5,m9=["line","bar","candlestick","scatter"],_9={easing:"cubicOut",duration:100,delay:0},S9=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),bo(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?g9: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-Iw-i,width:o.width,height:rp}:{right:Iw,top:o.y,width:rp,height:o.height},u=_o(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===Pw&&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===Pw&&!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==="",L=D?0:Lt(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,L]),g.push([m,L]),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,L=new Ne({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),I=new Be({shape:{points:f},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return D.add(L),D.add(I),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(m9,u.get("type"))<0)){var f=i.getComponent(za(o),s).axis,h=x9(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:d9,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:Rw(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 Ct({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 xt({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 xt({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:Rw(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=[Lt(t[0],[0,100],a,!0),Lt(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];gi(a,i,o,n.get("zoomLock")?"all":t,s.minSpan!=null?Lt(s.minSpan,l,o,!0):null,s.maxSpan!=null?Lt(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=rr([Lt(i[0],o,l,!0),Lt(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 lt(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([Lt(n.x,o,s,!0),Lt(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?_9:null,start:a[0],end:a[1]})},e.prototype._findCoordRect=function(){var t,a=E2(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 x9(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function Rw(r){return r==="vertical"?"ns-resize":"ew-resize"}const w9=S9;function tL(r){r.registerComponentModel(p9),r.registerComponentView(w9),Uy(r)}function b9(r){gt(j2),gt(tL)}var T9={get:function(r,e,t){var a=rt((C9[r]||{})[e]);return t&&z(a)?a[a.length-1]:a}},C9={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 eL=T9;var Ew=le.mapVisual,A9=le.eachVisual,M9=z,kw=A,D9=rr,L9=Lt,I9=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&&W2(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=D9([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={});ft(i,n),ft(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){M9(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]={},kw(p,function(g,y){if(le.isValidType(y)){var m=eL.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";kw(this.stateList,function(y){var m=this.itemSize,_=h[y];_||(_=h[y]={color:s?p:[p]}),_.symbol==null&&(_.symbol=v&&rt(v)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&rt(c)||(s?m[0]:[m[0],m[0]])),_.symbol=Ew(_.symbol,function(x){return x==="none"?g:x});var S=_.symbolSize;if(S!=null){var w=-1/0;A9(S,function(x){x>w&&(w=x)}),_.symbolSize=Ew(S,function(x){return L9(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}(bt);const Uf=I9;var Ow=[20,140],P9=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]=Ow[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=Ow[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=Nw(this,"outOfRange",this.getExtent()),n=Nw(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();k9([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=_r(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=_r(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||Gw(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=DP(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 W9(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(G9,F9),A(H9,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor($9))}function iL(r){r.registerComponentModel(R9),r.registerComponentView(z9),nL(r)}var U9=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=[],Y9[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=rt(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=G(this._pieceList,function(l){return l=rt(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]=eL.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=rt(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=en(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),Y9={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 $w(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}const Z9=U9;var X9=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 Ct({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 aL(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 Ct({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=rt(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}(rL);const q9=X9;function oL(r){r.registerComponentModel(Z9),r.registerComponentView(q9),nL(r)}function K9(r){gt(iL),gt(oL)}var Q9={label:{enabled:!0},decal:{show:!1}},Uw=wt(),J9={};function j9(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var a=rt(Q9);ft(a.label,r.getLocaleModel().get("aria"),!1),ft(t.option,a,!1),n(),i();function n(){var u=t.getModel("decal"),f=u.get("show");if(f){var h=X();r.eachSeries(function(v){if(!v.isColorBySeries()){var c=h.get(v.type);c||(c={},h.set(v.type,c)),Uw(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,J9,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",S(_,m))}else{var p=v.getRawData(),d={},g=Uw(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",L]):f.get(["series","single",L]),M=o(M,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var I=T.getData();if(I.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"},rZ=function(){function r(e){var t=this._condVal=$(e)?new RegExp(e):VL(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):At(t)?this._condVal.test(e+""):!1},r}(),aZ=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),nZ=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&a.push(n),n=[I,P]}function f(I,P,R,E){Zi(I,R)&&Zi(P,E)||n.push(I,P,R,E,R,E)}function h(I,P,R,E,N,O){var V=Math.abs(P-I),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(Zi(r,t)&&Zi(e,a)&&Zi(n,o)&&Zi(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=[];Ya(r,t,n,o,.5,C),Ya(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 mZ(r,e){var t=$d(r),a=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=lL([l,u],f?0:1,e),v=(f?s:u)/h.length,c=0;cn,o=lL([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 lt(d*l+r,d*u+e)}function xZ(r,e,t){var a=new lt;lt.sub(a,t,e),a.normalize();var n=new lt;lt.sub(n,r,e);var i=n.dot(a);return i}function Ni(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function wZ(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),wZ(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 bZ(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:RZ(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 hL(r){return AZ(r.path,r.count)}function Yd(){return{fromIndividuals:[],toIndividuals:[],count:0}}function EZ(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 OZ={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;tb(r)&&(u=r,f=e),tb(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:OZ[t],individualDelay:s&&function(N,O,V,F){return s(N+_,S)}},l),L=m?EZ(x,b,D):kZ(b,x,D),I=L.fromIndividuals,P=L.toIndividuals,R=I.length,E=0;Ee.length,c=u?eb(f,u):eb(v?e:r,[v?r:e]),p=0,d=0;dvL))for(var n=a.getIndices(),i=BZ(a),o=0;o0&&S.group.traverse(function(x){x instanceof yt&&!x.animators.length&&x.animateFrom({style:{opacity:0}},w)})})}function ab(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function nb(r){return z(r)?r.sort().join(","):r}function Ia(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function GZ(r,e){var t=X(),a=X(),n=X();return A(r.oldSeries,function(i,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=ab(i),f=nb(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=ab(i),u=nb(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 ib(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=ib(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&&cL(n,i,a)}function HZ(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=Ml("ElTag"),y=mL,m=Ml("ElButton"),_=_L,S=SL,w=Ml("ElCol"),x=Ml("ElRow");return gL(),yL("div",null,[me(xL),me(_,{title:"ECharts"},{content:_e(()=>[WZ,Vi("p",$Z,[Bh(" 安装命令:"),me(g,null,{default:_e(()=>[Bh("pnpm add echarts")]),_:1})])]),default:_e(()=>[me(m,{onClick:d[0]||(d[0]=b=>c("https://github.com/apache/echarts"))},{icon:_e(()=>[me(y,{name:"ep:link"})]),default:_e(()=>[Bh(" 访问 echart ")]),_:1})]),_:1}),me(x,{gutter:20,style:{margin:"-10px 10px"}},{default:_e(()=>[me(w,{md:12},{default:_e(()=>[me(S,{title:"柱状图",style:{margin:"10px 0"}},{default:_e(()=>[Vi("div",{ref_key:"chart1Ref",ref:e,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),me(w,{md:12},{default:_e(()=>[me(S,{title:"折线图",style:{margin:"10px 0"}},{default:_e(()=>[Vi("div",{ref_key:"chart2Ref",ref:t,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1}),me(x,{gutter:20,style:{margin:"0 10px"}},{default:_e(()=>[me(w,{md:12},{default:_e(()=>[me(S,{title:"饼图",style:{margin:"10px 0"}},{default:_e(()=>[Vi("div",{ref_key:"chart3Ref",ref:a,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),me(w,{md:12},{default:_e(()=>[me(S,{title:"雷达图",style:{margin:"10px 0"}},{default:_e(()=>[Vi("div",{ref_key:"chart4Ref",ref:n,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1})])}}});typeof am=="function"&&am(UZ);export{UZ as default}; diff --git a/assets/echarts-9DJKEWd1.js.br b/assets/echarts-9DJKEWd1.js.br new file mode 100644 index 000000000..71efd8ef2 Binary files /dev/null and b/assets/echarts-9DJKEWd1.js.br differ diff --git a/assets/echarts-9DJKEWd1.js.gz b/assets/echarts-9DJKEWd1.js.gz new file mode 100644 index 000000000..9299f22b4 Binary files /dev/null and b/assets/echarts-9DJKEWd1.js.gz differ diff --git a/assets/edit.password-vUNohkXq.js b/assets/edit.password-vUNohkXq.js new file mode 100644 index 000000000..35bfc41a5 --- /dev/null +++ b/assets/edit.password-vUNohkXq.js @@ -0,0 +1 @@ +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-AY0DsY4H.js";import{d as y,b as x,r as c,c as a,o as C,e as P,h as e,i as s,g as r,l as B,E as F,P as q,O as I,q as i}from"./index-QUc3dnoq.js";const R=y({name:"PersonalEditPassword",__name:"edit.password",setup(U){const w=x(),d=c(),o=c({password:"",newpassword:"",checkpassword:""}),_=c({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 f(){d.value&&d.value.validate(p=>{p&&w.editPassword(o.value).then(()=>{F({type:"success",message:"模拟修改成功,请重新登录"}),w.logout()})})}return(p,l)=>{const n=q,u=a("ElInput"),m=a("ElFormItem"),g=a("ElForm"),E=a("ElCol"),V=a("ElRow"),b=I,h=a("ElButton"),k=v;return C(),P("div",null,[e(n,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(b,null,{default:s(()=>[e(V,null,{default:s(()=>[e(E,{md:24,lg:12},{default:s(()=>[e(g,{ref_key:"formRef",ref:d,model:r(o),rules:r(_),"label-width":"120px"},{default:s(()=>[e(m,{label:"原密码",prop:"password"},{default:s(()=>[e(u,{modelValue:r(o).password,"onUpdate:modelValue":l[0]||(l[0]=t=>r(o).password=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(m,{label:"新密码",prop:"newpassword"},{default:s(()=>[e(u,{modelValue:r(o).newpassword,"onUpdate:modelValue":l[1]||(l[1]=t=>r(o).newpassword=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(m,{label:"确认新密码",prop:"checkpassword"},{default:s(()=>[e(u,{modelValue:r(o).checkpassword,"onUpdate:modelValue":l[2]||(l[2]=t=>r(o).checkpassword=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(k,null,{default:s(()=>[e(h,{type:"primary",size:"large",onClick:f},{default:s(()=>[B(" 提交 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i(R);export{R as default}; diff --git a/assets/edit.password-vUNohkXq.js.br b/assets/edit.password-vUNohkXq.js.br new file mode 100644 index 000000000..fe9a3c8e7 Binary files /dev/null and b/assets/edit.password-vUNohkXq.js.br differ diff --git a/assets/edit.password-vUNohkXq.js.gz b/assets/edit.password-vUNohkXq.js.gz new file mode 100644 index 000000000..7676b50c0 Binary files /dev/null and b/assets/edit.password-vUNohkXq.js.gz differ diff --git a/assets/esign-C_IL2RAj.css b/assets/esign-C_IL2RAj.css new file mode 100644 index 000000000..be278a2a1 --- /dev/null +++ b/assets/esign-C_IL2RAj.css @@ -0,0 +1 @@ +canvas[data-v-1fcc7cb1]{max-width:100%;display:block} diff --git a/assets/esign-QjlZZgUJ.js b/assets/esign-QjlZZgUJ.js new file mode 100644 index 000000000..e1d4148ee --- /dev/null +++ b/assets/esign-QjlZZgUJ.js @@ -0,0 +1 @@ +import{n as E,o as x,e as w,d as B,r as p,c as y,h as l,i as d,f as _,l as g,g as f,L as k,am as M,E as S,_ as R,P as I,O as X,q as b}from"./index-QUc3dnoq.js";import Y from"./alert-XNxsHsUl.js";const P={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((c,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 u=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 h=i.getContext("2d");i.width=o[2]-o[0],i.height=o[3]-o[1];const v=this.canvasTxt.getImageData(...o);h.globalCompositeOperation="destination-over",h.putImageData(v,0,0),h.fillStyle=this.myBg,h.fillRect(0,0,i.width,i.height),u=i.toDataURL(e,n),i=null}c(u)})},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,r=this.$refs.canvas.height,c=0,s=0;s0||t[u+1]>0||t[u+2]||t[u+3]>0)&&(c=Math.max(a,c),n=Math.max(s,n),r=Math.min(a,r),e=Math.min(s,e))}return e++,n++,r++,c++,[e,r,n,c]}}};function N(t,e,n,r,c,s){return x(),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=E(P,[["render",N],["__scopeId","data-v-1fcc7cb1"]]);T.install=function(t){this.installed||(this.installed=!0,t.component("vueEsign",T))};const W={style:{"margin-bottom":"0"}},z=["src"],U=B({name:"ComponentExampleSignCanvas",__name:"esign",setup(t){const e=p(),n=p({lineWidth:6,lineColor:"#000000",bgColor:"#f0f0f0",isCrop:!1}),r=p("");function c(){e.value.reset(),M(()=>{n.value.bgColor="#f0f0f0"})}function s(){e.value.generate().then(i=>{r.value=i}).catch(()=>{S("画板为空,无法生成图片")})}function a(){e.value.generate().then(i=>{const o=new Image;o.setAttribute("crossOrigin","anonymous"),o.onload=()=>{const h=document.createElement("a"),v=new MouseEvent("click");h.download=Date.parse(new Date().toString()).toString(),h.href=o.src,h.dispatchEvent(v)},o.src=i})}function u(i){window.open(i,"_blank")}return(i,o)=>{const h=y("ElTag"),v=R,m=y("ElButton"),D=I,$=X;return x(),w("div",null,[l(Y),l(D,{title:"电子签名"},{content:d(()=>[_("p",W,[g(" 安装命令:"),l(h,null,{default:d(()=>[g("pnpm add vue-esign")]),_:1})])]),default:d(()=>[l(m,{onClick:o[0]||(o[0]=C=>u("https://github.com/JaimeCheng/vue-esign"))},{icon:d(()=>[l(v,{name:"ep:link"})]),default:d(()=>[g(" 访问 vue-esign ")]),_:1})]),_:1}),l($,null,{default:d(()=>[l(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"]),_("div",null,[l(m,{onClick:c},{default:d(()=>[g(" 清空画板 ")]),_:1}),l(m,{onClick:s},{default:d(()=>[g(" 生成图片 ")]),_:1}),l(m,{onClick:a},{default:d(()=>[g(" 下载图片 ")]),_:1})]),f(r)?(x(),w("img",{key:0,src:f(r),width:500,height:300},null,8,z)):k("",!0)]),_:1})])}}});typeof b=="function"&&b(U);export{U as default}; diff --git a/assets/esign-QjlZZgUJ.js.br b/assets/esign-QjlZZgUJ.js.br new file mode 100644 index 000000000..3a84a66d2 Binary files /dev/null and b/assets/esign-QjlZZgUJ.js.br differ diff --git a/assets/esign-QjlZZgUJ.js.gz b/assets/esign-QjlZZgUJ.js.gz new file mode 100644 index 000000000..5e2fce4cb Binary files /dev/null and b/assets/esign-QjlZZgUJ.js.gz differ diff --git a/assets/g2plot-2Zij2Hp_.js b/assets/g2plot-2Zij2Hp_.js new file mode 100644 index 000000000..4e656e333 --- /dev/null +++ b/assets/g2plot-2Zij2Hp_.js @@ -0,0 +1,82 @@ +import{aP as aw,aQ as ow,d as sw,x as lw,s as uw,c as kn,o as cw,e as hw,h as Xt,i as Wt,f as pn,l as qa,_ as fw,P as vw,O as dw,q as Uh}from"./index-QUc3dnoq.js";import pw from"./alert-XNxsHsUl.js";const ds=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return qe},get Circle(){return C2},get Ellipse(){return M2},get Image(){return A2},get Line(){return F2},get Marker(){return E2},get Path(){return Jc},get Polygon(){return B2},get Polyline(){return R2},get Rect(){return G2},get Text(){return V2}},Symbol.toStringTag,{value:"Module"})),ps=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return ze},get Circle(){return q2},get Dom(){return U2},get Ellipse(){return j2},get Image(){return Z2},get Line(){return Q2},get Marker(){return K2},get Path(){return J2},get Polygon(){return tT},get Polyline(){return eT},get Rect(){return iT},get Text(){return sT}},Symbol.toStringTag,{value:"Module"}));var au=function(r,e){return au=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])},au(r,e)};function O(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");au(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var b=function(){return b=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 U(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 xp(){for(var r=0,e=0,t=arguments.length;e-1:!1},Qt=function(r,e){if(!Ce(r))return r;for(var t=[],i=0;ia[s])return 1;if(n[s]t?t:r},yl=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))},nt=function(r){return Kr(r,"Number")},Aw=1e-5;function Ut(r,e,t){return t===void 0&&(t=Aw),Math.abs(r-e)i&&(t=a,i=o)}return t}},Fw=function(r,e){if(z(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},Vw=function(r){return Ce(r)?Array.prototype.slice.call(r):[]};var Ua={};const Jr=function(r){return r=r||"g",Ua[r]?Ua[r]+=1:Ua[r]=1,r+Ua[r]},Rr=function(){};function $t(r){return R(r)?0:Ce(r)?r.length:Object.keys(r).length}var ja;const Za=mn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return ja||(ja=document.createElement("canvas").getContext("2d")),ja.font=[a,o,n,t+"px",i].join(" "),ja.measureText(J(r)?r:"").width},function(r,e){return e===void 0&&(e={}),xp([r],ys(e)).join("")}),Yw=function(r,e,t,i){i===void 0&&(i="...");var n=16,a=Za(i,t),o=J(r)?r:Ia(r),s=e,l=[],u,c;if(Za(r,t)<=e)return r;for(;u=o.substr(0,n),c=Za(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=Za(u,t),!(c+a>s);)if(l.push(u),s-=c,o=o.substr(1),!o)return l.join("");return""+l.join("")+i};var $w=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}(),Dt;(function(r){r.FORE="fore",r.MID="mid",r.BG="bg"})(Dt||(Dt={}));var V;(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"})(V||(V={}));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 ji={FORE:3,MID:2,BG:1},lt;(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"})(lt||(lt={}));var Gr;(function(r){r.BEFORE_DRAW_ANIMATE="beforeanimate",r.AFTER_DRAW_ANIMATE="afteranimate",r.BEFORE_RENDER_LABEL="beforerenderlabel",r.AFTER_RENDER_LABEL="afterrenderlabel"})(Gr||(Gr={}));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 $o;(function(r){r.ACTIVE="active",r.INACTIVE="inactive",r.SELECTED="selected",r.DEFAULT="default"})($o||($o={}));var Wi=["color","shape","size"],St="_origin",jh=1,Zh=1,Qh=.25,Ip={};function Hw(r){var e=Ip[r];if(!e)throw new Error("G engine '".concat(r,"' is not exist, please register it at first."));return e}function Pp(r,e){Ip[r]=e}function Ni(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 Gn,xl,Dp,su;function Xw(){Gn=document.createElement("table"),xl=document.createElement("tr"),Dp=/^\s*<(\w+|!)[^>]*>/,su={tr:document.createElement("tbody"),tbody:Gn,thead:Gn,tfoot:Gn,td:xl,th:xl,"*":document.createElement("div")}}function Vr(r){Gn||Xw();var e=Dp.test(r)&&RegExp.$1;(!e||!(e in su))&&(e="*");var t=su[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 Ww(r,e){var t=ve(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function _w(r,e){var t=Ww(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 qw(r,e){var t=ve(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function Uw(r,e){var t=qw(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 re(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function jw(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 Kh(r){return typeof r=="number"&&!isNaN(r)}function Jh(r,e,t,i){var n=t,a=i;if(e){var o=jw(r);n=o.width?o.width:n,a=o.height?o.height:a}return{width:Math.max(Kh(n)?n:jh,jh),height:Math.max(Kh(a)?a:Zh,Zh)}}function Zw(r){var e=r.parentNode;e&&e.removeChild(r)}var Qw="*",fc=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},lu=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},Qa=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},uu=function(r){if(r=_i(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*x*x-F*w*w)/(M*x*x+F*w*w)));g=T*t*x/i+(r+s)/2,y=T*-i*w/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 k=p-d;if(Math.abs(k)>c){var E=p,I=s,B=l;p=d+c*(o&&p>d?1:-1),s=g+t*Math.cos(p),l=y+i*Math.sin(p),f=Op(s,l,t,i,n,0,o,I,B,[p,E,g,y])}k=p-d;var N=Math.cos(d),Y=Math.sin(d),j=Math.cos(p),P=Math.sin(p),G=Math.tan(k/4),_=4/3*t*G,H=4/3*i*G,$=[r,e],q=[r+_*Y,e-H*N],it=[s+_*P,l-H*j],st=[s,l];if(q[0]=2*$[0]-q[0],q[1]=2*$[1]-q[1],u)return[q,it,st].concat(f);f=[q,it,st].concat(f).join().split(",");for(var tt=[],rt=0,mt=f.length;rt7){w[x].shift();for(var S=w[x];S.length;)o[x]="A",i&&(s[x]="A"),w.splice(x++,0,["C"].concat(S.splice(0,6)));w.splice(x,1),c=Math.max(t.length,i&&i.length||0)}},v=function(w,x,S,M,F){w&&x&&w[F][0]==="M"&&x[F][0]!=="M"&&(x.splice(F,0,["M",M.x,M.y]),S.bx=0,S.by=0,S.x=w[F][1],S.y=w[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 m=(-h-g)/(2*c);m>0&&m<1&&l.push(m)}}for(var w=l.length,x=w,S;w--;)v=l[w],S=1-v,u[0][w]=S*S*S*r+3*S*S*v*t+3*S*v*v*n+v*v*v*o,u[1][w]=S*S*S*e+3*S*S*v*i+3*S*v*v*a+v*v*v*s;return u[0][x]=r,u[1][x]=e,u[0][x+1]=o,u[1][x+1]=s,u[0].length=u[1].length=x+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])}}},r1=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}}}},Tr=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},Rp=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=Bp,a},hu=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:Rp(r,e,t,i),vb:[r,e,t,i].join(" ")}},i1=function(r,e){return r=hu(r),e=hu(e),Tr(e,r.x,r.y)||Tr(e,r.x2,r.y)||Tr(e,r.x,r.y2)||Tr(e,r.x2,r.y2)||Tr(r,e.x,e.y)||Tr(r,e.x2,e.y)||Tr(r,e.x,e.y2)||Tr(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},nf=function(r,e,t,i,n,a,o,s){z(r)||(r=[r,e,t,i,n,a,o,s]);var l=e1.apply(null,r);return hu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},af=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),m=t+2*l*(n-t)+f*(o-2*n+t),w=i+2*l*(a-i)+f*(s-2*a+i),x=u*r+l*t,S=u*e+l*i,M=u*n+l*o,F=u*a+l*s,T=90-Math.atan2(g-m,y-w)*180/Math.PI;return{x:d,y:p,m:{x:g,y},n:{x:m,y:w},start:{x,y:S},end:{x:M,y:F},alpha:T}},n1=function(r,e,t){var i=nf(r),n=nf(e);if(!i1(i,n))return t?0:[];for(var a=rf.apply(0,r),o=rf.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},a1=function(r,e,t){r=cu(r),e=cu(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 u1=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(l1(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},c1=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=wl(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=wl(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=wl(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 dc=Object.freeze(Object.defineProperty({__proto__:null,catmullRomToBezier:lu,fillPath:c1,fillPathByDiff:zp,formatPath:fu,intersection:o1,parsePathArray:Bp,parsePathString:_i,pathToAbsolute:uu,pathToCurve:cu,rectPath:Rp},Symbol.toStringTag,{value:"Module"}));var Pa=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 Gp(r,e){var t=r.indexOf(e);t!==-1&&r.splice(t,1)}var of=typeof window<"u"&&typeof window.document<"u";function Vp(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 oa(r){return r.cfg.visible&&r.cfg.capture}var xs=function(r){O(e,r);function e(t){var i=r.call(this)||this;i.destroyed=!1;var n=i.getDefaultCfg();return i.cfg=xt(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}(fc),sf=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 m1:typeof navigator<"u"?cf(navigator.userAgent):M1()}function S1(r){return r!==""&&b1.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 cf(r){var e=S1(r);if(!e)return null;var t=e[0],i=e[1];if(t==="searchbot")return new y1;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 P1(r,e){return r[0]*e[0]+r[1]*e[1]}function D1(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 vu(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 O1(r,e){return r[0]===e[0]&&r[1]===e[1]}var gi=$p;(function(){var r=I1();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 hf(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],m=e[6],w=e[7],x=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]=m*i+w*o+x*u,t[7]=m*n+w*s+x*c,t[8]=m*a+w*l+x*h,t}function dr(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 bs(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 Ln=Nt,bl="matrix",z1=["zIndex","capture","visible","type"],N1=["repeat"],G1=":",V1="*";function Y1(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 Wp=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;i.attrs={};var n=i.getDefaultAttrs();return xt(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=X1(a,x):n.addAnimator(this),a.push(x),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&&Vp(f,o))return"break";z(v)?C(v,function(d){n.emitDelegateEvent(f,d,i)}):l.emitDelegateEvent(f,v,i)}},l=this,u=0;u0)});o.length>0?C(o,function(l){var u=l.getBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},e.prototype.getCanvasBBox=function(){var t=1/0,i=-1/0,n=1/0,a=-1/0,o=this.getChildren().filter(function(l){return l.get("visible")&&(!l.isGroup()||l.isGroup()&&l.getChildren().length>0)});o.length>0?C(o,function(l){var u=l.getCanvasBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},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(oa(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&&W1(o,t,!1),t.set("parent",this),i&&_p(t,i),a&&qp(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[du]=n,i}),t.sort(_1(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}(Wp),nn=0,Vn=0,In=0,jp=1e3,Xo,Yn,Wo=0,Ai=0,Ss=0,la=typeof performance=="object"&&performance.now?performance:Date,Zp=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function Qp(){return Ai||(Zp(q1),Ai=la.now()+Ss)}function q1(){Ai=0}function pu(){this._call=this._time=this._next=null}pu.prototype=Kp.prototype={constructor:pu,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&&Yn!==this&&(Yn?Yn._next=this:Xo=this,Yn=this),this._call=r,this._time=t,gu()},stop:function(){this._call&&(this._call=null,this._time=1/0,gu())}};function Kp(r,e,t){var i=new pu;return i.restart(r,e,t),i}function U1(){Qp(),++nn;for(var r=Xo,e;r;)(e=Ai-r._time)>=0&&r._call.call(null,e),r=r._next;--nn}function vf(){Ai=(Wo=la.now())+Ss,nn=Vn=0;try{U1()}finally{nn=0,Z1(),Ai=0}}function j1(){var r=la.now(),e=r-Wo;e>jp&&(Ss-=e,Wo=r)}function Z1(){for(var r,e=Xo,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:Xo=t);Yn=r,gu(i)}function gu(r){if(!nn){Vn&&(Vn=clearTimeout(Vn));var e=r-Ai;e>24?(r<1/0&&(Vn=setTimeout(vf,r-la.now()-Ss)),In&&(In=clearInterval(In))):(In||(Wo=la.now(),In=setInterval(j1,jp)),nn=1,Zp(vf))}}function yc(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 Da(){}var ua=.7,_o=1/ua,Zi="\\s*([+-]?\\d+)\\s*",ca="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",er="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q1=/^#([0-9a-f]{3,8})$/,K1=new RegExp(`^rgb\\(${Zi},${Zi},${Zi}\\)$`),J1=new RegExp(`^rgb\\(${er},${er},${er}\\)$`),tb=new RegExp(`^rgba\\(${Zi},${Zi},${Zi},${ca}\\)$`),eb=new RegExp(`^rgba\\(${er},${er},${er},${ca}\\)$`),rb=new RegExp(`^hsl\\(${ca},${er},${er}\\)$`),ib=new RegExp(`^hsla\\(${ca},${er},${er},${ca}\\)$`),df={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};yc(Da,ha,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:pf,formatHex:pf,formatHex8:nb,formatHsl:ab,formatRgb:gf,toString:gf});function pf(){return this.rgb().formatHex()}function nb(){return this.rgb().formatHex8()}function ab(){return tg(this).formatHsl()}function gf(){return this.rgb().formatRgb()}function ha(r){var e,t;return r=(r+"").trim().toLowerCase(),(e=Q1.exec(r))?(t=e[1].length,e=parseInt(e[1],16),t===6?yf(e):t===3?new pe(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):t===8?Ja(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):t===4?Ja(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=K1.exec(r))?new pe(e[1],e[2],e[3],1):(e=J1.exec(r))?new pe(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=tb.exec(r))?Ja(e[1],e[2],e[3],e[4]):(e=eb.exec(r))?Ja(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=rb.exec(r))?wf(e[1],e[2]/100,e[3]/100,1):(e=ib.exec(r))?wf(e[1],e[2]/100,e[3]/100,e[4]):df.hasOwnProperty(r)?yf(df[r]):r==="transparent"?new pe(NaN,NaN,NaN,0):null}function yf(r){return new pe(r>>16&255,r>>8&255,r&255,1)}function Ja(r,e,t,i){return i<=0&&(r=e=t=NaN),new pe(r,e,t,i)}function ob(r){return r instanceof Da||(r=ha(r)),r?(r=r.rgb(),new pe(r.r,r.g,r.b,r.opacity)):new pe}function yu(r,e,t,i){return arguments.length===1?ob(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}yc(pe,yu,Jp(Da,{brighter(r){return r=r==null?_o:Math.pow(_o,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?ua:Math.pow(ua,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new pe(yi(this.r),yi(this.g),yi(this.b),qo(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:mf,formatHex:mf,formatHex8:sb,formatRgb:xf,toString:xf}));function mf(){return`#${hi(this.r)}${hi(this.g)}${hi(this.b)}`}function sb(){return`#${hi(this.r)}${hi(this.g)}${hi(this.b)}${hi((isNaN(this.opacity)?1:this.opacity)*255)}`}function xf(){const r=qo(this.opacity);return`${r===1?"rgb(":"rgba("}${yi(this.r)}, ${yi(this.g)}, ${yi(this.b)}${r===1?")":`, ${r})`}`}function qo(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function yi(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function hi(r){return r=yi(r),(r<16?"0":"")+r.toString(16)}function wf(r,e,t,i){return i<=0?r=e=t=NaN:t<=0||t>=1?r=e=NaN:e<=0&&(r=NaN),new Ye(r,e,t,i)}function tg(r){if(r instanceof Ye)return new Ye(r.h,r.s,r.l,r.opacity);if(r instanceof Da||(r=ha(r)),!r)return new Ye;if(r instanceof Ye)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 Ye(o,s,l,r.opacity)}function lb(r,e,t,i){return arguments.length===1?tg(r):new Ye(r,e,t,i??1)}function Ye(r,e,t,i){this.h=+r,this.s=+e,this.l=+t,this.opacity=+i}yc(Ye,lb,Jp(Da,{brighter(r){return r=r==null?_o:Math.pow(_o,r),new Ye(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?ua:Math.pow(ua,r),new Ye(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(Sl(r>=240?r-240:r+120,n,i),Sl(r,n,i),Sl(r<120?r+240:r-120,n,i),this.opacity)},clamp(){return new Ye(bf(this.h),to(this.s),to(this.l),qo(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=qo(this.opacity);return`${r===1?"hsl(":"hsla("}${bf(this.h)}, ${to(this.s)*100}%, ${to(this.l)*100}%${r===1?")":`, ${r})`}`}}));function bf(r){return r=(r||0)%360,r<0?r+360:r}function to(r){return Math.max(0,Math.min(1,r||0))}function Sl(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 mc=r=>()=>r;function ub(r,e){return function(t){return r+t*e}}function cb(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 hb(r){return(r=+r)==1?eg:function(e,t){return t-e?cb(e,t,r):mc(isNaN(e)?t:e)}}function eg(r,e){var t=e-r;return t?ub(r,t):mc(isNaN(r)?e:r)}const Sf=function r(e){var t=hb(e);function i(n,a){var o=t((n=yu(n)).r,(a=yu(a)).r),s=t(n.g,a.g),l=t(n.b,a.b),u=eg(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 rg(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:mu(i,n)})),t=Cl.lastIndex;return tu.length?(l=_i(a[s]),u=_i(n[s]),u=zp(u,l),u=fu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l):e.pathFormatted||(l=_i(a[s]),u=_i(n[s]),u=fu(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=Zb(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}(),Kb=40,Pf=0,Df=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Of(r,e,t){t.name=e,t.target=r,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}function Jb(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&&Vp(r,i)){t.bubbles=!1;return}t.name=e,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}}var tS=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(Df,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(Df,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 Pa(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===Pf&&(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===Pf){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>Kb?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,Of(n,e,s);for(var l=n.getParent();l;)l.emitDelegation(e,s),s.propagationStopped||Jb(l,e,s),s.propagationPath.push(l),l=l.getParent()}else{var u=this.canvas;Of(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}(),Bf="px",Rf=Yp(),eS=Rf&&Rf.name==="firefox",Cs=function(r){O(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");J(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 tS({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Qb(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,i){var n=this.get("el");of&&(n.style.width=t+Bf,n.style.height=i+Bf)},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");of&&i&&(i.style.cursor=t)},e.prototype.getPointByEvent=function(t){var i=this.get("supportCSSTransform");if(i){if(eS&&!R(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!R(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}(Up),Ms=function(r){O(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=dr(i,[t.minX,t.minY]),u=dr(i,[t.maxX,t.minY]),c=dr(i,[t.minX,t.maxY]),h=dr(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,m=y===void 0?0:y,w=n-d+g,x=o+d+g,S=a-d+m,M=s+d+m;n=Math.min(n,w),o=Math.max(o,x),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}(Wp),ug=new Map;function Re(r,e){ug.set(r,e)}function Fs(r){return ug.get(r)}function cg(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 hg(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 Io(r,e){return Math.abs(r-e)<.001}function xn(r,e){var t=Oe(r),i=Oe(e),n=Ae(r),a=Ae(e);return{x:t,y:i,width:n-t,height:a-i}}function Ts(r){return(r+Math.PI*2)%(Math.PI*2)}const jt={box:function(r,e,t,i){return xn([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(O1(o,[0,0]))return Math.sqrt((n-r)*(n-r)+(a-e)*(a-e));var s=[-o[1],o[0]];Hp(s,s);var l=[n-r,a-e];return Math.abs(P1(l,s))},tangentAngle:function(r,e,t,i){return Math.atan2(i-e,t-r)}};var rS=1e-4;function fg(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 Nf(r,e,t,i){return 2*(1-i)*(e-r)+2*i*(t-e)}function vg(r,e,t,i,n,a,o){var s=Pr(r,t,n,o),l=Pr(e,i,a,o),u=jt.pointAt(r,e,t,i,o),c=jt.pointAt(t,i,n,a,o);return[[r,e,u.x,u.y,s,l],[s,l,c.x,c.y,n,a]]}function bu(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=vg(r,e,t,i,n,a,.5),l=s[0],u=s[1];return l.push(o-1),u.push(o-1),bu.apply(null,l)+bu.apply(null,u)}const dg={box:function(r,e,t,i,n,a){var o=zf(r,t,n)[0],s=zf(e,i,a)[0],l=[r,n],u=[e,a];return o!==void 0&&l.push(Pr(r,t,n,o)),s!==void 0&&u.push(Pr(e,i,a,s)),xn(l,u)},length:function(r,e,t,i,n,a){return bu(r,e,t,i,n,a,3)},nearestPoint:function(r,e,t,i,n,a,o,s){return fg([r,t,n],[e,i,a],o,s,Pr)},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:Pr,pointAt:function(r,e,t,i,n,a,o){return{x:Pr(r,t,n,o),y:Pr(e,i,a,o)}},divide:function(r,e,t,i,n,a,o){return vg(r,e,t,i,n,a,o)},tangentAngle:function(r,e,t,i,n,a,o){var s=Nf(r,t,n,o),l=Nf(e,i,a,o),u=Math.atan2(l,s);return Ts(u)}};function Dr(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 Gf(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 Ml(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(Io(n,0))Io(a,0)||(l=-o/a,l>=0&&l<=1&&s.push(l));else{var h=a*a-4*n*o;Io(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 pg(r,e,t,i,n,a,o,s,l){var u=Dr(r,t,n,o,l),c=Dr(e,i,a,s,l),h=jt.pointAt(r,e,t,i,l),f=jt.pointAt(t,i,n,a,l),v=jt.pointAt(n,a,o,s,l),d=jt.pointAt(h.x,h.y,f.x,f.y,l),p=jt.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 Su(r,e,t,i,n,a,o,s,l){if(l===0)return iS([r,t,n,o],[e,i,a,s]);var u=pg(r,e,t,i,n,a,o,s,.5),c=u[0],h=u[1];return c.push(l-1),h.push(l-1),Su.apply(null,c)+Su.apply(null,h)}const Un={extrema:Ml,box:function(r,e,t,i,n,a,o,s){for(var l=[r,o],u=[e,s],c=Ml(r,t,n,o),h=Ml(e,i,a,s),f=0;f0?t:t*-1}const nS={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 m=(f-v)*Math.pow(Math.cos(d),3)/o,w=(v-f)*Math.pow(Math.sin(d),3)/s,x=p-m,S=g-w,M=c-m,F=h-w,T=Math.hypot(S,x),k=Math.hypot(F,M),E=T*Math.asin((x*F-S*M)/(T*k)),I=E/Math.sqrt(f+v-p*p-g*g);d+=I,d=Math.min(Math.PI/2,Math.max(0,d))}return{x:r+Vf(p,l),y:e+Vf(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 Ts(o)}};function aS(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 oS(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 sS(r,e,t){return Math.atan(-e/r*Math.tan(t))}function lS(r,e,t){return Math.atan(e/(r*Math.tan(t)))}function Yf(r,e,t,i,n,a){return t*Math.cos(n)*Math.cos(a)-i*Math.sin(n)*Math.sin(a)+r}function $f(r,e,t,i,n,a){return t*Math.sin(n)*Math.cos(a)+i*Math.cos(n)*Math.sin(a)+e}function uS(r,e,t,i){var n=Math.atan2(i*r,t*e);return(n+Math.PI*2)%(Math.PI*2)}function Hf(r,e,t){return{x:r*Math.cos(t),y:e*Math.sin(t)}}function Xf(r,e,t){var i=Math.cos(t),n=Math.sin(t);return[r*i-e*n,r*n+e*i]}const cS={box:function(r,e,t,i,n,a,o){for(var s=sS(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=lS(t,i,n),p=1/0,g=-1/0,y=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var m=d+h;ag&&(g=w)}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=Xf(s-r,l-e,-n),c=u[0],h=u[1],f=nS.nearestPoint(0,0,t,i,c,h),v=uS(t,i,f.x,f.y);vo&&(f=Hf(t,i,o));var d=Xf(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:Yf(r,e,t,i,n,l),y:$f(r,e,t,i,n,l)}},tangentAngle:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a,u=aS(r,e,t,i,n,a,o,l),c=oS(r,e,t,i,n,a,o,l);return Ts(Math.atan2(c,u))}};function gg(r){for(var e=0,t=[],i=0;i1||e<0||r.length<2)return null;var t=gg(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=jt.pointAt(u[0],u[1],c[0],c[1],f);break}a+=h}return o}function vS(r,e){if(e>1||e<0||r.length<2)return 0;for(var t=gg(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 dS(r,e,t){for(var i=1/0,n=0;n1){var n=yS(e,t);return e*i+n*(i-1)}return e}function yS(r,e){return e?e-r:r*.14}function mS(r,e){var t=Es(),i=0;if(R(r)||r==="")return i;if(t.save(),t.font=e,J(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 CS(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 TS=/[a-z]/;function _f(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function xg(r){var e=mg(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,m=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,w=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,x=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=qf([1,0],x),F=qf(x,S);return Cu(x,S)<=-1&&(F=Math.PI),Cu(x,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:m,cy:w,rx:Mu(r,[u,c])?0:t,ry:Mu(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}function Uf(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function wg(r){r=SS(r);for(var e=[],t=null,i=null,n=null,a=0,o=r.length,s=0;s=e&&r<=t};function kS(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;jf(v,0,1)&&jf(d,0,1)&&(f={x:r.x+v*o.x,y:r.y+v*o.y})}return f}var LS=1e-6;function Fl(r){return Math.abs(r)0!=Fl(s[1]-t)>0&&Fl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Qf(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 PS(r,e){var t=!1;return C(r,function(i){if(kS(i.from,i.to,e.from,e.to))return t=!0,!1}),t}function Kf(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 DS(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 RS(r){var e=r.attr(),t=e.path,i=e.stroke,n=i?e.lineWidth:0,a=r.get("segments")||wg(t),o=BS(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=Cc(r,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}function zS(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=Cc(r,c),{x:c.minX,y:c.minY,width:c.maxX-c.minX,height:c.maxY-c.minY}}function NS(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}}Re("rect",cg);Re("image",cg);Re("circle",hg);Re("marker",hg);Re("polyline",pS);Re("polygon",gS);Re("text",xS);Re("path",RS);Re("line",zS);Re("ellipse",NS);var Jf=0,GS=1/2,VS=1/2,YS=.05,Is=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]=Jf)}),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=xt({},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]=Xe(e,l).sort(function(u,c){return u-c}))}),!n&&this.isAdjust("y")){var s="y";a[s]=[Jf,1]}return a},r}(),bg={},Sg=function(r){return bg[r.toLowerCase()]},Ps=function(r,e){if(Sg(r))throw new Error("Adjust type '"+r+"' existed.");bg[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 Au=function(r,e){return Au=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])},Au(r,e)};function Ds(r,e){Au(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Je=function(){return Je=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(!R(u)&&R(l)&&u>=0){var d=this.getDodgeOnlyOffset(n,i);v=c+d}else if(!R(l)&&!R(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=R(f)?p:1/l/t*f,!R(c)){var g=c/s;p=Math.min(p,g)}if(!R(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 m=((1/2+i)*p+i*d+1/2*v)*l-v/2;return m},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,!R(c)){var g=c/s;p=Math.min(p,g)}if(!R(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 m=((1/2+i)*p+i*v+1/2*d)*l-d/2;return m},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=Xe(o,t);l.length||l.push(0),C(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),n[t]=a),a},e}(Is);function HS(r,e){return(e-r)*Math.random()+r}var XS=function(r){Ds(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)*YS;return HS(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}(Is),Tl=$w,WS=function(r){Ds(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 Tl,u=new Tl;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=z(d)?d[1]:d,!R(d)){var g=d>=0?l:u;g.has(p)||g.set(p,0);var y=g.get(p),m=d+y;return g.set(p,m),Je(Je({},h),(f={},f[a]=[y,m],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 Tl;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),Je(Je({},f),(v={},v[l]=y,v))})})},e}(Is),_S=function(r){Ds(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 Ft(t,function(u){return Ft(u,function(c){var h,f,v=c[o],d=c[a];if(z(v)){var p=(l-s[d])/2;return Je(Je({},c),(h={},h[o]=Ft(v,function(y){return p+y}),h))}var g=(l-v)/2;return Je(Je({},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 Nw(s,function(l){return i.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,i){var n=Ft(t,function(o){return A(o,i,[])}),a=Me(n);return Math.max.apply(Math,a)},e}(Is);Ps("Dodge",$S);Ps("Jitter",XS);Ps("Stack",WS);Ps("Symmetric",_S);var tv=function(r,e){return J(e)?e:r.invert(r.scale(e))},Oa=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 Cg([El(o,s,a,0),El(o,s,a,1),El(o,s,a,2)])},no,Ag=function(r){if(r[0]==="#"&&r.length===7)return r;no||(no=KS()),no.style.color=r;var e=document.defaultView.getComputedStyle(no,"").getPropertyValue("color"),t=qS.exec(e),i=t[1].split(/\s*,\s*/).map(function(n){return Number(n)});return e=Cg(i),e},tC=function(r){var e=J(r)?r.split("-"):r,t=Ft(e,function(i){return Mg(i.indexOf("#")===-1?Ag(i):i)});return function(i){return JS(t,i)}},eC=function(r){if(QS(r)){var e,t=void 0;if(r[0]==="l"){var i=US.exec(r),n=+i[1]+90;t=i[2],e="linear-gradient("+n+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var i=jS.exec(r);t=i[4]}var a=t.match(ZS);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 Yr={rgb2arr:Mg,gradient:tC,toRGB:mn(Ag),toCSSGradient:eC};var rC=function(r){K(e,r);function e(t){var i=r.call(this,t)||this;return i.type="color",i.names=["color"],J(i.values)&&(i.linear=!0),i.gradient=Yr.gradient(i.values),i}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(Oa),iC=function(r){K(e,r);function e(t){var i=r.call(this,t)||this;return i.type="opacity",i.names=["opacity"],i}return e}(Oa),nC=function(r){K(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 R(t)||R(i)?[]:[z(t)?t.map(function(s){return a.scale(s)}):a.scale(t),z(i)?i.map(function(s){return o.scale(s)}):o.scale(i)]},e}(Oa),aC=function(r){K(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}(Oa),oC=function(r){K(e,r);function e(t){var i=r.call(this,t)||this;return i.type="size",i.names=["size"],i}return e}(Oa),Fg={};function sC(r){return Fg[r]}function ar(r,e){Fg[r]=e}var Mc=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){xt(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return Ft(this.ticks,function(t,i){return yt(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 R(n)||!W(n.toString)?"":n.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){xt(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(J(e)){var i=sC(e);if(!i)throw new Error("There is no method to to calculate ticks!");t=i(this)}else W(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 nt(e)?(e-t)/(i-t):NaN},r.prototype.calcValue=function(e,t,i){return t+e*(i-t)},r}(),Bs=function(r){O(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}(Mc),Tg=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Ir="\\d\\d?",Er="\\d\\d",lC="\\d{3}",uC="\\d{4}",Zn="[^\\s]+",Eg=/\[([^]*?)\]/gm;function kg(r,e){for(var t=[],i=0,n=r.length;i-1?n:null}};function Wr(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},jo=Wr({},Ac),Pg=function(r){return jo=Wr(jo,r)},iv=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)}},nv=function(r){return+r-1},av=[null,Ir],ov=[null,Zn],sv=["isPm",Zn,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],lv=["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}],vC={D:["day",Ir],DD:["day",Er],Do:["day",Ir+Zn,function(r){return parseInt(r,10)}],M:["month",Ir,nv],MM:["month",Er,nv],YY:["year",Er,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",Ir,void 0,"isPm"],hh:["hour",Er,void 0,"isPm"],H:["hour",Ir],HH:["hour",Er],m:["minute",Ir],mm:["minute",Er],s:["second",Ir],ss:["second",Er],YYYY:["year",uC],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",Er,function(r){return+r*10}],SSS:["millisecond",lC],d:av,dd:av,ddd:ov,dddd:ov,MMM:["month",Zn,rv("monthNamesShort")],MMMM:["month",Zn,rv("monthNames")],a:sv,A:sv,ZZ:lv,Z:lv},Zo={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"},Dg=function(r){return Wr(Zo,r)},Og=function(r,e,t){if(e===void 0&&(e=Zo.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=Zo[e]||e;var i=[];e=e.replace(Eg,function(a,o){return i.push(o),"@@@"});var n=Wr(Wr({},jo),t);return e=e.replace(Tg,function(a){return fC[a](r,n)}),e.replace(/@@@/g,function(){return i.shift()})};function Bg(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=Zo[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(Eg,function(x,S){return o.push(iv(S)),"@@@"}),l={},u={};s=iv(s).replace(Tg,function(x){var S=vC[x],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(x){if(!l[x])throw new Error("Invalid format. "+x+" 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=Wr(Wr({},jo),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 Rg={format:Og,parse:Bg,defaultI18n:Ac,setGlobalDateI18n:Pg,setGlobalDateMasks:Dg};const dC=Object.freeze(Object.defineProperty({__proto__:null,assign:Wr,default:Rg,defaultI18n:Ac,format:Og,parse:Bg,setGlobalDateI18n:Pg,setGlobalDateMasks:Dg},Symbol.toStringTag,{value:"Module"}));function pC(r){return function(e,t,i,n){for(var a=R(i)?0:i,o=R(n)?e.length:n;a>>1;r(e[s])>t?o=s:a=s+1}return a}}var uv="format";function zg(r,e){var t=dC[uv]||Rg[uv];return t(r,e)}function Qo(r){return J(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),Fp(r)&&(r=r.getTime()),r}var Ve=1e3,mi=60*Ve,xi=60*mi,pr=24*xi,Qn=pr*31,cv=pr*365,Pn=[["HH:mm:ss",Ve],["HH:mm:ss",Ve*10],["HH:mm:ss",Ve*30],["HH:mm",mi],["HH:mm",mi*10],["HH:mm",mi*30],["HH",xi],["HH",xi*6],["HH",xi*12],["YYYY-MM-DD",pr],["YYYY-MM-DD",pr*4],["YYYY-WW",pr*7],["YYYY-MM",Qn],["YYYY-MM",Qn*4],["YYYY-MM",Qn*6],["YYYY",pr*380]];function gC(r,e,t){var i=(e-r)/t,n=pC(function(o){return o[1]})(Pn,i)-1,a=Pn[n];return n<0?a=Pn[0]:n>=Pn.length&&(a=Gt(Pn)),a}var yC=function(r){O(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=Qo(t);var i=this.values.indexOf(t);return i===-1&&(nt(t)&&t-1){var a=this.values[n],o=this.formatter;return a=o?o(a,i):zg(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]=Qo(i)}),t.sort(function(i,n){return i-n}),r.prototype.setDomain.call(this)},e}(Bs),Rs=function(r){O(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(R(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=Gt(t);ithis.max&&(this.max=n),R(this.minLimit)||(this.min=i),R(this.maxLimit)||(this.max=n)},e.prototype.setDomain=function(){var t=Sp(this.values),i=t.min,n=t.max;R(this.min)&&(this.min=i),R(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=Qt(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}(Mc),zs=function(r){O(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}(Rs);function Or(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 Ie(r,e){return r===1?1:Math.log(e)/Math.log(r)}function Ng(r,e,t){R(t)&&(t=Math.max.apply(null,r));var i=t;return C(r,function(n){n>0&&n1&&(i=1),i}var mC=function(r){O(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=Ie(i,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=Ie(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=(Or(a,t)-Or(a,n))/(Or(a,i)-Or(a,n));return o},e}(Rs),wC=function(r){O(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):zg(n,this.mask)},e.prototype.scale=function(t){var i=t;return(J(i)||Fp(i))&&(i=this.translate(i)),r.prototype.scale.call(this,i)},e.prototype.translate=function(t){return Qo(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((!R(i)||!nt(i))&&(this.min=this.translate(this.min)),(!R(n)||!nt(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=Qo(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),R(i)&&(this.min=o),R(n)&&(this.max=l)}},e}(zs),Gg=function(r){O(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 Gt(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||(Gt(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(tGt(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}(Rs),bC=function(r){O(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}(Gg),Vg={};function Eu(r){return Vg[r]}function or(r,e){if(Eu(r))throw new Error("type '"+r+"' existed.");Vg[r]=e}var SC=function(r){O(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&&nt(t)?t:this.range[0]},e.prototype.invert=function(t){var i=this.range;return ti[1]?NaN:this.values[0]},e}(Mc);function Yg(r){var e=r.values,t=r.tickInterval,i=r.tickCount,n=r.showLast;if(nt(t)){var a=Qt(e,function(d,p){return p%t===0}),o=Gt(e);return n&&Gt(a)!==o&&a.push(o),a}var s=e.length,l=r.min,u=r.max;if(R(l)&&(l=0),R(u)&&(u=e.length-1),!nt(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 CC(r){var e=r.min,t=r.max,i=r.nice,n=r.tickCount,a=new MC;return a.domain([e,t]),i&&a.nice(n),a.ticks(n)}var Ll=5,hv=Math.sqrt(50),fv=Math.sqrt(10),vv=Math.sqrt(2),MC=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=Ll);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=Po(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=Po(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=Ll),AC(this._domain[0],this._domain[this._domain.length-1],e||Ll)},r}();function AC(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>=hv?10:a>=fv?5:a>=vv?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(a>=hv?10:a>=fv?5:a>=vv?2:1)}function dv(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 Fc(r,e,t){var i=dv(r,t,"floor"),n=dv(e,t,"ceil");i=yl(i,t),n=yl(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=yl(s,o);a.push(l)}return{min:i,max:n,ticks:a}}function Tc(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=R(n)?R(e)?o:e:n,h=R(a)?R(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 IC(r,e,t){var i=$t(e),n=Lp(e,r),a=1;return 1-n/(i-1)-t+a}function PC(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 DC(r,e){return r>=e?2-(r-1)/(e-1):1}function OC(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 BC(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 RC(){return 1}function zC(r,e,t,i,n,a){t===void 0&&(t=5),i===void 0&&(i=!0),n===void 0&&(n=TC),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(q,it){return oi(r+l*it)})}}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&&k>=e)&&(u.lmin=T,u.lmax=k,u.lstep=E,u.score=j)}y+=1}d+=1}}c+=1}var P=oi(u.lmax),G=oi(u.lmin),_=oi(u.lstep),H=Math.floor(kC((P-G)/_))+1,$=new Array(H);$[0]=oi(G);for(var h=1;h0)o=Math.floor(Ie(e,i));else{var l=Ng(a,e,n);o=Math.floor(Ie(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 YC(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 $C(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&&ncv)for(var l=Ko(t),u=Math.ceil(a/cv),c=s;c<=l+u;c=c+u)o.push(_C(c));else if(a>Qn)for(var h=Math.ceil(a/Qn),f=ku(e),v=qC(e,t),c=0;c<=v+h;c=c+h)o.push(UC(s,c+f));else if(a>pr)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),y=d.getDate(),m=Math.ceil(a/pr),w=jC(e,t),c=0;cxi)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),m=d.getDate(),x=d.getHours(),S=Math.ceil(a/xi),M=ZC(e,t),c=0;c<=M+S;c=c+S)o.push(new Date(p,g,m,x+c).getTime());else if(a>mi)for(var F=QC(e,t),T=Math.ceil(a/mi),c=0;c<=F+T;c=c+T)o.push(e+c*mi);else{var k=a;k=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}ar("cat",Yg);ar("time-cat",WC);ar("wilkinson-extended",NC);ar("r-pretty",HC);ar("time",XC);ar("time-pretty",KC);ar("log",GC);ar("pow",VC);ar("quantile",$C);ar("d3-linear",FC);or("cat",Bs);or("category",Bs);or("identity",SC);or("linear",zs);or("log",mC);or("pow",xC);or("time",wC);or("timeCat",yC);or("quantize",Gg);or("quantile",bC);var Hg={},Xg=function(r){return Hg[r.toLowerCase()]},Ba=function(r,e){if(Xg(r))throw new Error("Attribute type '".concat(r,"' existed."));Hg[r.toLowerCase()]=e};Ba("Color",rC);Ba("Opacity",iC);Ba("Position",nC);Ba("Shape",aC);Ba("Size",oC);var Ec=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=ev([],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){xt(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 sa(a,a,n),a},r.prototype.invertMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=F1([0,0,0,0,0,0,0,0,0],n),o=[e,t,i];return a&&sa(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 $i(t,t,[-i.x,-i.y]),pc(t,t,e),$i(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 $i(i,i,[-n.x,-n.y]),Xp(i,i,[e,t]),$i(i,i,[n.x,n.y]),this},r.prototype.translate=function(e,t){var i=this.matrix;return $i(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||ev([],this.originalMatrix)},r}(),Wg=function(r){K(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}(Ec),JC=function(r){K(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=$p([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=gc(a,[1,0],!0),s=o*this.a;qi(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];pc(u,u,s);var c=[1,0,0];sa(c,c,u);var h=[c[0],c[1]],f=gc(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 nM(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function va(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 aM(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 Gs(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 wi(r,e,t){return(1-t)*r+e*t}function Qi(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function oM(r,e){var t=e.x-r.x,i=e.y-r.y;return Math.sqrt(t*t+i*i)}var ts=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=Zg(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]),m=Math.max(h[1],f[1],v[1],d[1]);pa&&(a=g),ys&&(s=m)}}):(n=0,a=0,o=0,s=0),i=Gs(n,o,a-n,s-o)}return t?sM(i,t):i}function lM(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=oM(r,e),a=i/n,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:wi(r.x,e.x,o),y:wi(r.y,e.y,o)}}var uM={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Kg=function(r){K(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&&(yt(a)&&n[o]&&(l=X({},n[o],a)),i.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Hr(t,"visible")&&(t.visible?this.show():this.hide()),Hr(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=D({},t);this.update(i)},e.prototype.getLocation=function(){var t=this,i={},n=this.get("locationType"),a=uM[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(yt(o)){var s=X({},n,o);t.set(a,s)}})},e}(xs),ni="update_status",cM=["visible","tip","delegateObject"],hM=["container","group","shapesMap","isRegister","isUpdating","destroyed"],ee=function(r){K(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 D(D({},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=iM(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),qg(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",Zg(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=Os(i,["id","component"]),s=new a(D(D({},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=kc(i);t.attr("matrix",n)},e.prototype.addAnimation=function(t,i,n){var a=i.attr("opacity");R(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=cc(v.cfg,gw(gn(v.cfg),hM));d.update(p),h.set(ni,"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(cM,function(x){h.set(x,u.get(x))}),lM(h,u),l=h,h.set(ni,"update")}else{i.add(u);var y=i.getChildren();if(y.splice(y.length-1,1),l){var m=y.indexOf(l);y.splice(m+1,0,u)}else y.unshift(u);if(n.registerElement(u),u.set(ni,"add"),u.get("isComponent")){var v=u.get("component");v.set("container",i)}else u.isGroup()&&n.registerNewGroup(u);if(l=u,a){var w=n.get("isInit")?o.appear:o.enter;w&&n.addAnimation(f,u,w)}}})},e.prototype.clearUpdateStatus=function(t){var i=t.getChildren();C(i,function(n){n.set(ni,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={}),xt(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(ni,"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(ni)||s.destroyed?n.push([l,s]):s.set(ni,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=xt({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}(Kg),Il="…";function fM(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function vM(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 Lu(r){if(r.length>gM)return yM(r);var e=0;return C(r,function(t){var i=t.getBBox(),n=i.width;e=0?f=vM(a,h,i):f=dM,f&&(e.attr("text",f),c=!0)}return c?e.set("tip",a):e.set("tip",null),c}function Vs(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:D({x:0,y:0,text:n},a)}),g=Jo(A(v,"padding",0));if(u&&c){var y=u-(g[1]+g[3]);Kn(!h,p,y,f)}if(v){var m=A(v,"style",{}),w=p.getCanvasBBox(),x=w.minX,S=w.minY,M=w.width,F=w.height,T=d.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:D({x:x-g[3],y:S-g[0],width:M+g[1]+g[3],height:F+g[0]+g[2]},m)});T.toBack()}Lc(d,t,i),jg(d,l,t,i)}const ct={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 xM=function(r){K(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 D(D({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:ct.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:ct.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:ct.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:D({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:J(n)&&n.indexOf("%")!==-1?a=parseInt(n,10)/100:nt(n)?a=n:a=1,(a>1||a<0)&&(a=1),{x:wi(t.x,i.x,a),y:wi(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,m=this.getLabelPoint(n,a,o),w=m.x+u,x=m.y+c,S={id:this.getElementId("line-text"),name:"annotation-line-text",x:w,y:x,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])}Vs(t,S)},e}(ee),wM=function(r){K(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 D(D({},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:ct.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:ct.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};Vs(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");Lc(t,n,a),jg(t,o,n,a)}},e}(ee),bM=function(r){K(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 D(D({},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=Qi(i,n,a),l=Qi(i,n,o),u=o-a>Math.PI?1:0,c=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=Qi(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:D({path:i},n)})},e}(ee),SM=function(r){K(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 D(D({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:ct.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=va({start:i,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:D({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(ee),CM=function(r){K(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 D(D({},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=va({start:t,end:i}),o=this.get("src");return D({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}(ee),MM=function(r){K(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 D(D({},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:ct.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:ct.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:ct.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=Os(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};Vs(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"),m=d.getCanvasBBox(),w=m.width,x=m.height,S=0,M=0;if(n+u<=s.minX)if(i==="leftward")S=1;else{var F=s.minX-(n+u);g=v.attr("x")+F}else if(n+c>=s.maxX)if(i==="rightward")S=-1;else{var F=n+c-s.maxX;g=v.attr("x")-F}if(S&&(p&&p.attr("path",[["M",0,0],["L",o*S,0]]),g=(o+2+w)*S),a+h<=s.minY)if(i==="upward")M=1;else{var F=s.minY-(a+h);y=v.attr("y")+F}else if(a+f>=s.maxY)if(i==="downward")M=-1;else{var F=a+f-s.maxY;y=v.attr("y")-F}M&&(p&&p.attr("path",[["M",0,0],["L",0,o*M]]),y=(o+2+x)*M),(g!==v.attr("x")||y!==v.attr("y"))&&Lc(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:D({x:0,y:0},i),line:D({path:[["M",0,0],["L",s*l,s*u]]},n),text:D({x:(s+2)*l,y:(s+2)*u,text:A(this.get("text"),"content",""),textBaseline:c,textAlign:h},a)}},e}(ee),AM=function(r){K(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 D(D({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:ct.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:ct.textColor,fontFamily:ct.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=aM(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:D({path:s},i)});var l=D({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));Vs(t,l)}},e}(ee),FM=function(r){K(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 D(D({},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=va({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}(ee),TM=function(r){K(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 D(D({},t),{name:"annotation",type:"shape",draw:Rr})},e.prototype.renderInner=function(t){var i=this.get("render");W(i)&&i(t)},e}(ee),Pc=function(r){K(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 D(D({},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 Gs(i,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Ic(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(R(t)){t=this.createDom();var i=this.get("parent");J(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 J(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=X({},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&&nM(i,n)){var a=t[n];re(i,a)}}},e.prototype.applyChildrenStyles=function(t,i){C(i,function(n,a){var o=t.getElementsByClassName(a);C(o,function(s){re(s,n)})})},e.prototype.applyStyle=function(t,i){var n=this.get("domStyles");re(i,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Vr(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){Hr(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Kg),EM=function(r){K(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 D(D({},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");Ic(t);var n=W(i)?i(t):i;if(Tp(n))t.appendChild(n);else if(J(n)||nt(n)){var a=Vr(""+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=Uw(t),h=_w(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),re(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(Pc);const kM=Object.freeze(Object.defineProperty({__proto__:null,Arc:bM,DataMarker:MM,DataRegion:AM,Html:EM,Image:CM,Line:xM,Region:SM,RegionFilter:FM,Shape:TM,Text:wM},Symbol.toStringTag,{value:"Module"}));function $n(r,e,t){var i=e+"Style",n=null;return C(t,function(a,o){r[o]&&a[i]&&(n||(n={}),xt(n,a[i]))}),n}var Jg=function(r){K(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 D(D({},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:ct.lineColor}},tickLine:{style:{lineWidth:1,stroke:ct.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:ct.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:ct.textColor,fontFamily:ct.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:ct.textColor,textBaseline:"middle",fontFamily:ct.fontFamily,textAlign:"center"},iconStyle:{fill:ct.descriptionIconFill,stroke:ct.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:ct.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){xt(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 Qt(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 Ut(t[0],0)?i="center":t[0]>0?i="start":t[0]<0&&(i="end"),i},e.prototype.getTextBaseline=function(t){var i;return Ut(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:xt({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=W(d)?A(this.get("theme"),["label","style"],{}):d;var p=xt({x:h.x+s,y:h.y+l,text:v,textAlign:this.getTextAnchor(f),textBaseline:this.getTextBaseline(f)},d);return u&&(p.matrix=Fi(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(W(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=xt({},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=xt({x:f.x,y:f.y,text:t.text},i),d=t.rotate,p=d;if(R(d)&&l){var g=this.getAxisVector(h),y=[1,0];p=gc(g,y,!0)}if(p){var m=Fi(f,p);v.matrix=m}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],m=g[1],w=[y+f,m+f],x=w[0],S=w[1],M=[y,S+f],F=M[0],T=M[1],k=[d,m+f],E=k[0],I=k[1],B=[d+f,p-u/4],N=B[0],Y=B[1],j=[N,Y+v],P=j[0],G=j[1],_=[P,G+v],H=_[0],$=_[1],q=[H,$+f*3/4],it=q[0],st=q[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:D({path:[["M",y,m],["A",f,f,0,0,1,x,S],["A",f,f,0,0,1,F,T],["A",f,f,0,0,1,E,I],["A",f,f,0,0,1,y,m],["M",N,Y],["L",P,G],["M",H,$],["L",it,st]],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=$n(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),c=i.findById(u);if(c){var h=$n(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=$n(t,"label",n);u&&o.attr(u)}if(l){var c=$n(t,"tickLine",n);c&&l.attr(c)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(ee);function Dc(r,e,t,i){var n=e.getChildren(),a=!1;return C(n,function(o){var s=Kn(r,o,t,i);a=a||s}),a}function LM(){return ty}function IM(r,e,t){return Dc(r,e,t,"head")}function ty(r,e,t){return Dc(r,e,t,"tail")}function PM(r,e,t){return Dc(r,e,t,"middle")}const DM=Object.freeze(Object.defineProperty({__proto__:null,ellipsisHead:IM,ellipsisMiddle:PM,ellipsisTail:ty,getDefault:LM},Symbol.toStringTag,{value:"Module"}));function OM(r){var e=r.attr("matrix");return e&&e[0]!==1}function ey(r){var e=OM(r)?rM(r.attr("matrix")):0;return e%360}function Iu(r,e,t,i){var n=!1,a=ey(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));ts(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}else{var l=Math.abs(Math.sin(a));ts(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}return n}function da(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(),da(r,e,!1,i)&&(a=!0)),s.get("visible")||(s.show(),da(r,e,!0,i)&&(a=!0))}return a}const VM=Object.freeze(Object.defineProperty({__proto__:null,equidistance:iy,equidistanceWithReverseBoth:GM,getDefault:BM,reserveBoth:NM,reserveFirst:RM,reserveLast:zM},Symbol.toStringTag,{value:"Module"}));function YM(r,e){C(r,function(t){var i=t.attr("x"),n=t.attr("y"),a=Fi({x:i,y:n},e);t.attr("matrix",a)})}function ny(r,e,t,i){var n=e.getChildren();if(!n.length||!r&&n.length<2)return!1;var a=Lu(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);YM(n,l)}return o}function $M(){return ay}function ay(r,e,t,i){return ny(r,e,t,function(){return nt(i)?i:r?ct.verticalAxisRotate:ct.horizontalAxisRotate})}function HM(r,e,t){return ny(r,e,t,function(i,n){if(!i)return r?ct.verticalAxisRotate:ct.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 XM=Object.freeze(Object.defineProperty({__proto__:null,fixedAngle:ay,getDefault:$M,unfixedAngle:HM},Symbol.toStringTag,{value:"Module"})),oy=Object.freeze(Object.defineProperty({__proto__:null,autoEllipsis:DM,autoHide:VM,autoRotate:XM},Symbol.toStringTag,{value:"Module"}));var WM=function(r){K(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 D(D({},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 Ut(t.x,i.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),i=this.get("end");return Ut(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=Hp([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&&R(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"?R(i.rotate):!0},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=this.isVertical(),l=!1,u=oy[t];if(i===!0)this.get("label"),l=u.getDefault()(s,n,a);else if(W(i))l=i(s,n,a);else if(yt(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),_M=function(r){K(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 D(D({},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=qi(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"?R(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&&R(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=oy[t];if(a>0)if(i===!0)s=l.getDefault()(!1,n,a);else if(W(i))s=i(!1,n,a);else if(yt(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),Oc=function(r){K(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 D(D({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:ct.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:ct.textColor,textAlign:"center",textBaseline:"middle",fontFamily:ct.fontFamily}},textBackground:{padding:5,style:{stroke:ct.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(!R(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Fi(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:D(D(D({},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:D({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=Jo(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:D({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}(ee),sy=function(r){K(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 D(D({},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}(Oc),qM=function(r){K(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 D(D({},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=Qi(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=Qi(i,n,a),h=Qi(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}(Oc),pa="g2-crosshair",Pu=pa+"-line",Du=pa+"-text",Dn;const UM=(Dn={},Dn[""+pa]={position:"relative"},Dn[""+Pu]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},Dn[""+Du]={position:"absolute",color:ct.textColor,fontFamily:ct.fontFamily},Dn);var jM=function(r){K(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 D(D({},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:pa,defaultStyles:UM,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=Vr(i);t.appendChild(n),this.applyStyle(Pu,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=Ap(this.get("textTpl"),t);i=Vr(o),a.appendChild(i),this.applyStyle(Du,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)?re(t,{width:"1px",height:he(Math.abs(n.y-i.y))}):re(t,{height:"1px",width:he(Math.abs(n.x-i.x))}),re(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}re(t,{top:he(a.y),left:he(a.x)})}},e.prototype.updateInner=function(t){Hr(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(Pc);const gv=Object.freeze(Object.defineProperty({__proto__:null,Base:Oc,Circle:qM,Html:jM,Line:sy},Symbol.toStringTag,{value:"Module"}));var ly=function(r){K(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 D(D({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:ct.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=W(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:xt({path:v},h)})}if(o&&u>0){var d=i.getElementId("region-"+c),p=u%2===0;if(J(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}(ee);function ZM(r,e,t,i){var n=t-r,a=i-e;return Math.sqrt(n*n+a*a)}var QM=function(r){K(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 D(D({},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=ZM(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}(ly),KM=function(r){K(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 D(D({},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}(ly),uy=function(r){K(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 D(D({},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)),Gs(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=Jo(i.padding),o=D({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:D({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=Jo(t.padding);i.x=n[3],i.y=n[0]}this.set("currentPoint",i)},e}(ee),Pl={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},oo={fill:ct.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:ct.fontFamily,fontWeight:"normal",lineHeight:12},Dl="navigation-arrow-right",Ol="navigation-arrow-left",yv={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},JM=function(r){K(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,k=v+(T===1?0:M),E=u-f-g.width-g.minX;this.pageHeight=k*T,this.pageWidth=E,C(l,function(B){var N=B.getBBox(),Y=h||N.width;(w&&wx&&(x=N.width)}),S=x,x+=f,u&&(x=Math.min(u,x),S=Math.min(u,S)),this.pageWidth=x,this.pageHeight=c-Math.max(g.height,v+M);var I=Math.floor(this.pageHeight/(v+M));C(l,function(B,N){N!==0&&N%I===0&&(m+=1,y.x+=x,y.y=o),n.moveElementTo(B,y),B.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:x,height:v}}),y.y+=v+M}),this.totalPagesCnt=m,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(m/this.get("maxRow")):this.totalPagesCnt=m,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=Os(l,["size"]),f=this.drawArrow(s,o,Ol,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:D({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,Dl,i==="horizontal"?"down":"right",c,h);return g.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var i=X({},Pl,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(Ol)):this.getElementByLocalId(Ol),f=t?t.findById(this.getElementId(Dl)):this.getElementByLocalId(Dl);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:D({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",Fi({x:l+o/2,y:u+o/2},yv[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=Fi({x:n+s/2,y:a+s/2},yv[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 kc(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=$n(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}(uy),tA=1.4,mv=.4,eA=function(r){K(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 D(D({},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:ct.textColor,textBaseline:"middle",fontFamily:ct.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:ct.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}(uy),Sr="g2-tooltip",Cr="g2-tooltip-title",ga="g2-tooltip-list",Ys="g2-tooltip-list-item",$s="g2-tooltip-marker",Hs="g2-tooltip-value",cy="g2-tooltip-name",Bc="g2-tooltip-crosshair-x",Rc="g2-tooltip-crosshair-y";const rA=Object.freeze(Object.defineProperty({__proto__:null,CONTAINER_CLASS:Sr,CROSSHAIR_X:Bc,CROSSHAIR_Y:Rc,LIST_CLASS:ga,LIST_ITEM_CLASS:Ys,MARKER_CLASS:$s,NAME_CLASS:cy,TITLE_CLASS:Cr,VALUE_CLASS:Hs},Symbol.toStringTag,{value:"Module"}));var je;const iA=(je={},je[""+Sr]={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:ct.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},je[""+Cr]={marginBottom:"4px"},je[""+ga]={margin:"0px",listStyleType:"none",padding:"0px"},je[""+Ys]={listStyleType:"none",marginBottom:"4px"},je[""+$s]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},je[""+Hs]={display:"inline-block",float:"right",marginLeft:"30px"},je[""+Bc]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},je[""+Rc]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},je);function nA(r,e,t,i,n){var a={left:rn.x+n.width,top:en.y+n.height};return a}function aA(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 oA(r,e,t,i,n,a,o){var s=aA(r,e,t,i,n,a);if(o){var l=nA(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 sA(r,e){var t=!1;return C(e,function(i){if(Hr(r,i))return t=!0,!1}),t}var lA=function(r){K(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 D(D({},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:Sr,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:iA})},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),re(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),re(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&&re(n,{display:i}),a&&re(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():(sA(t,["title","showTitle"])&&this.resetTitle(),Hr(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=va(u));var p=oA(t,i,n,f,v,l,d);re(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"));Tp(n)?t=n:t=Vr(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),i=t.getElementsByClassName(Cr)[0],n=t.getElementsByClassName(ga)[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=va(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"?re(n,{left:he(a),top:he(i.y),height:he(i.height)}):re(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=rA[a],s=this.get(i),l=this.get("parent");return s||(s=Vr(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=Yr.toCSSGradient(a.color),s=D(D({},a),{color:o}),l=Ap(i,s),u=Vr(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Ic(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}(Pc),uA={opacity:0},cA={stroke:"#C5C5C5",strokeOpacity:.85},hA={fill:"#CACED4",opacity:.85};function fA(r){return Ft(r,function(e,t){var i=t===0?"M":"L",n=e[0],a=e[1];return[i,n,a]})}function hy(r){return fA(r)}function vA(r){if(r.length<=2)return hy(r);var e=[];C(r,function(o){Ot(o,e.slice(e.length-2))||e.push(o[0],o[1])});var t=MS(e,!1),i=be(r),n=i[0],a=i[1];return t.unshift(["M",n,a]),t}function dA(r,e,t,i){i===void 0&&(i=!0);var n=new zs({values:r}),a=new Bs({values:Ft(r,function(s,l){return l})}),o=Ft(r,function(s,l){return[a.scale(l)*e,t-n.scale(s)*t]});return i?vA(o):hy(o)}function pA(r,e){var t=new zs({values:r}),i=t.max<0?t.max:Math.max(0,t.min);return e-t.scale(i)*e}function gA(r,e,t,i){var n=Tu(r),a=pA(i,t);return n.push(["L",e,a]),n.push(["L",0,a]),n.push(["Z"]),n}var yA=function(r){K(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 D(D({},t),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:uA,lineStyle:cA,areaStyle:hA})},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:D({x:0,y:0,width:n,height:a},u)});var f=dA(o,n,a,s);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:D({path:f},c)}),l){var v=gA(f,n,a,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:D({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}(ee),fy={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},xv=function(r){K(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 D(D({},t),{name:"handler",x:0,y:0,width:10,height:24,style:fy})},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}(ee),mA={fill:"#416180",opacity:.05},xA={fill:"#5B8FF9",opacity:.15,cursor:"move"},Do=10,wA={width:Do,height:24},bA={textBaseline:"middle",fill:"#000",opacity:.45},SA="sliderchange",CA=function(r){K(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(SA,[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=At(n,t,i),s=At(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(z(t)&&t.length===2){var n=[this.get("start"),this.get("end")];this.update({start:At(t[0],i.min,i.max),end:At(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 D(D({},t),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:mA,foregroundStyle:xA,handlerStyle:wA,textStyle:bA}})},e.prototype.update=function(t){var i=t.start,n=t.end,a=D({},t);R(i)||(a.start=At(i,0,1)),R(n)||(a.end=At(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",At(this.get("start"),0,1)),this.set("end",At(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=X({},fy,this.cfg.handlerStyle);$t(A(s,"data"))&&(this.trend=this.addComponent(t,D({component:yA,id:this.getElementId("trend"),x:0,y:0,width:n,height:a},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:D({x:0,y:0,width:n,height:a},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:D({y:a/2,textAlign:"right",text:l,silent:!1},p)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:D({y:a/2,textAlign:"left",text:u,silent:!1},p)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:D({y:0,height:a},v)});var y=A(g,"width",Do),m=A(g,"height",24);this.minHandler=this.addComponent(t,{component:xv,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(a-m)/2,width:y,height:m,cursor:"ew-resize",style:g}),this.maxHandler=this.addComponent(t,{component:xv,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(a-m)/2,width:y,height:m,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",Do);i.attr("text",u),n.attr("text",c);var g=this._dodgeText([v,d],i,n),y=g[0],m=g[1];this.minHandler&&(this.minHandler.update({x:v-p/2}),this.get("updateAutoRender")||this.minHandler.render()),C(y,function(w,x){return i.attr(x,w)}),this.maxHandler&&(this.maxHandler.update({x:d-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),C(m,function(w,x){return n.attr(x,w)})},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",Do),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"},m=g.width>u-v-c?{x:v-h/2-c,textAlign:"right"}:{x:v+h/2+c,textAlign:"left"};return d?[m,y]:[y,m]},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}(ee),MA={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},Bl={default:MA,hover:{thumbColor:"rgba(0,0,0,0.2)"}},AA=function(r){K(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=Rr,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=[Ni(i,"touchmove",t.onMouseMove),Ni(i,"touchend",t.onMouseUp),Ni(i,"touchcancel",t.onMouseUp)]:n=[Ni(i,"mousemove",t.onMouseMove),Ni(i,"mouseup",t.onMouseUp),Ni(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=At(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"))*At(t,i.min,i.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return At(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:Bl})},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=X({},Bl,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=X({},Bl,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 DA(r,e,t){if(J(r))return r.padEnd(e,t);if(z(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 OA(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function Ra(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 BA(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function Ws(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function RA(r,e){var t=!1;if(r)if(r.type==="theta"){var i=r.start,n=r.end;t=Ui(e.x,i.x,n.x)&&Ui(e.y,i.y,n.y)}else{var a=r.invert(e);t=Ui(a.x,0,1)&&Ui(a.y,0,1)}return t}function on(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function zc(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:$r(l.x,l.y,u+e,o,o)},endState:function(h){var f=(s-o)*h+o,v=$r(l.x,l.y,u+e,o,f);return{path:v}},attrs:{path:$r(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 zA(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 NA=/^(?:(?!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 GA(r){var e="linear";return NA.test(r)?e="timeCat":J(r)&&(e="cat"),e}function py(r,e,t,i){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Wi.includes(t)&&["interval"].includes(i)||r.isCategory?"cat":r.type}function VA(r,e,t){var i=e||[];if(nt(r)||R(mw(i,r))&&ge(t)){var n=Eu("identity");return new n({field:r.toString(),values:[r]})}var a=Xe(i,r),o=A(t,"type",GA(a[0])),s=Eu(o);return new s(b({field:r,values:a},t))}function YA(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 ma(r){return r.alias||r.field}function gy(r,e,t){var i=r.values,n=i.length,a;if(n===1)a=[.5,1];else{var o=1,s=0;BA(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 $A(r){var e=r.values.filter(function(t){return!R(t)&&!isNaN(t)});return Math.max.apply(Math,Q(Q([],U(e),!1),[R(r.max)?-1/0:r.max],!1))}function HA(r){var e,t;switch(r){case V.TOP:e={x:0,y:1},t={x:1,y:1};break;case V.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case V.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case V.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 XA(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 so(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=HA(e):r.isPolar&&(t=XA(r));var i=t.start,n=t.end;return{start:r.convert(i),end:r.convert(n)}}function yy(r){var e=r.start,t=r.end;return e.x===t.x}function Cv(r,e){var t=r.start,i=r.end,n=yy(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 lo(r,e){var t=A(r,["components","axis"],{});return X({},A(t,["common"],{}),X({},A(t,[e],{})))}function Mv(r,e,t){var i=A(r,["components","axis"],{});return X({},A(i,["common","title"],{}),X({},A(i,[e,"title"],{})),t)}function Rl(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?vu(o,s):vu(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 es(r,e){return en(r)?r===!1?!1:{}:A(r,[e])}function Av(r,e){return A(r,"position",e)}function Fv(r,e){return A(e,["title","text"],ma(r))}var wn=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=X({},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(Dt.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 nt(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];!R(o)&&!n[o]&&(i.push(o),n[o]=!0)}),i},r.prototype.getRegion=function(e,t,i,n){var a=U(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){R(i.axes)&&(i.axes={});var s=i.axes,l=U(a[0].getXYFields(),2),u=l[0],c=l[1],h=es(s,u),f=es(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 sc(e,function(i){var n=i.field,a=i.value;return!R(a)&&n?t[n]===a:!0})}},r}(),my={},WA=function(r){return my[yn(r)]},bn=function(r,e){my[yn(r)]=e},Mt=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){xt(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),_A=function(r){O(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}(Mt),Nc={};function qA(r,e){var t=Nc[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 _s(r){var e=Nc[r];return A(e,"ActionClass")}function Z(r,e,t){Nc[r]={ActionClass:e,cfg:t}}function UA(r,e){var t=new _A(e);return t.callback=r,t.name="callback",t}function jA(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=Ws(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 QA(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 KA=function(r,e,t,i){var n,a=[],o=!!i,s,l,u,c,h,f,v;if(o){n=U(i,2),u=n[0],c=n[1];for(var d=0,p=r.length;d0&&n>0&&(i>=e||n>=e)}function Cy(r,e){var t=r.getCanvasBBox();return Sy(r,e)?t:null}function My(r,e){var t=r.event.maskShapes;return t.map(function(i){return Cy(i,e)}).filter(function(i){return!!i})}function eF(r,e){var t=r.event,i=t.target;return Ay(i,e)}function Ay(r,e){return Sy(r,e)?r.attr("path"):null}function rF(r,e){var t=r.event.maskShapes;return t.map(function(i){return Ay(i,e)})}function _r(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}function Ti(r){var e=r.event,t=e.target,i;return t&&(i=t.get("delegateObject")),i}function Fy(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function xa(r){return r&&r.component&&r.component.isList()}function Ty(r){return r&&r.component&&r.component.isSlider()}function wa(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||qs(r)}function qs(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function Gc(r,e){var t=r.event.target;if(qs(r))return iF(r,e);if(t.get("type")==="path"){var i=eF(r,e);return i?Iy(r.view,i):void 0}var n=by(r,e);return n?Us(r.view,n):null}function iF(r,e){var t=r.event.target;if(t.get("type")==="path"){var i=rF(r,e);return i.length>0?i.flatMap(function(a){return Iy(r.view,a)}):null}var n=My(r,e);return n.length>0?n.flatMap(function(a){return Us(r.view,a)}):null}function Ey(r,e,t){if(qs(r))return nF(r,e,t);var i=by(r,t);return i?ky(i,r,e):null}function ky(r,e,t){var i=e.view,n=Bu(i,t,{x:r.x,y:r.y}),a=Bu(i,t,{x:r.maxX,y:r.maxY}),o={minX:n.x,minY:n.y,maxX:a.x,maxY:a.y};return Us(t,o)}function nF(r,e,t){var i=My(r,t);return i.length>0?i.flatMap(function(n){return ky(n,r,e)}):null}function Zt(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(Zt(i))}),t}function aF(r,e,t){var i=Zt(r);return i.filter(function(n){return We(n,e)===t})}function Ly(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 We(r,e){var t=r.getModel(),i=t.data,n;return z(i)?n=i[0][e]:n=i[e],n}function oF(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function rr(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(i){return i!==r})),t}function lF(r,e){var t=r.getCoordinate();return t.invert(e)}function Bu(r,e,t){var i=lF(r,t);return e.getCoordinate().convert(i)}function Dy(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 sn(r,e){var t=r.getScaleByField(e);return!t&&r.views&&C(r.views,function(i){if(t=sn(i,e),t)return!1}),t}var uF=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=Py(this.view),i=this.getCurrentPoint();return i?!!t.find(function(n){var a=n.getBBox();return e?n.get("name")===e&&Ev(a,i):Ev(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}(),cF=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 kv(r,e,t){var i=r.split(":"),n=i[0],a=e.getAction(n)||qA(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 Lv(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"},hF=function(r){O(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 uF(t);this.context=i;var n=this.steps;C(n,function(a){C(a,function(o){if(W(o.action))o.actionObject={action:UA(o.action,i),methodName:"execute"};else if(J(o.action))o.actionObject=kv(o.action,i,o.arg);else if(z(o.action)){var s=o.action,l=z(o.arg)?o.arg:[o.arg];o.actionObject=[],C(s,function(u,c){o.actionObject.push(kv(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)?(z(s)?C(s,function(h){a.event=c,Lv(h)}):(a.event=c,Lv(s)),n.afterExecute(t,i),i.callback&&(a.event=c,i.callback(a))):a.event=null};i.debounce?o[l]=Ep(u,i.debounce.wait,i.debounce.immediate):i.throttle?o[l]=hc(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}(cF),Oy={};function fF(r){return Oy[yn(r)]}function at(r,e){Oy[yn(r)]=e}function vF(r,e,t){var i=fF(r);if(!i)return null;if(tr(i)){var n=xt(ae(i),t);return new hF(e,n)}else{var a=i;return new a(e,t)}}function dF(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 pF(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 By(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=dF(r),n=pF(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=ya(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:Nt(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:b(b({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:b(b({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:b(b({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:b(b({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:b(b({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:b(b({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:b(b({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:b(b({},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:X({},i.grid,{line:{type:"line"}})},radius:{title:null,grid:X({},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(Sr)]={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(Cr)]={marginBottom:"12px",marginTop:"12px"},e["".concat(ga)]={margin:0,listStyleType:"none",padding:0},e["".concat(Ys)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat($s)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(Hs)]={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 pt={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Gi={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},gF=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],yF=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],mF=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],Ry=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?gF:e,i=r.paletteQualitative20,n=i===void 0?yF: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:mF,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, + "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"`,axisLineBorderColor:pt[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:pt[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:Gi[85],axisTickLineBorderColor:pt[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:pt[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:pt[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:pt[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:pt[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:pt[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:pt[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:pt[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:pt[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:pt[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:pt[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:pt[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:pt[25],annotationArcBorderColor:pt[15],annotationArcBorder:1,annotationLineBorderColor:pt[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:pt[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:pt[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:pt[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:pt[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:pt[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Gi[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:pt[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Gi[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:pt[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:Gi[100],pointBorderOpacity:1,pointActiveBorderColor:pt[100],pointSelectedBorder:2,pointSelectedBorderColor:pt[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:Gi[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:pt[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:pt[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:pt[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:pt[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:pt[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:pt[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Gi[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:pt[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:pt[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return b(b({},s),r)};Ry();function is(r){var e=r.styleSheet,t=e===void 0?{}:e,i=Ct(r,["styleSheet"]),n=Ry(t);return X({},By(n),i)}var xF=is({}),Ru={default:xF};function Jn(r){return A(Ru,yn(r),Ru.default)}function wF(r,e){Ru[yn(r)]=is(e)}function Iv(r,e,t){var i=t.translate(r),n=t.translate(e);return Ut(i,n)}function bF(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 Pv(r,e,t){var i=t.coordinate,n=t.getYScale(),a=n.field,o=i.invert(e),s=n.invert(o.y),l=$e(r,function(u){var c=u[St];return c[a][0]<=s&&c[a][1]>=s});return l||r[r.length-1]}var SF=mn(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 CF(r,e,t){var i=e.getAttribute("position"),n=i.getFields(),a=e.scales,o=W(t)||!t?n[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return W(t)?t(l,r):l}function MF(r){var e=ys(r.attributes);return Qt(e,function(t){return li(Wi,t.type)})}function zy(r){var e,t,i=MF(r),n;try{for(var a=vt(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=py(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 AF(r,e){var t=e.field,i=r[t];if(z(i)){var n=i.map(function(a){return e.getText(a)});return n.join("-")}return e.getText(i)}function FF(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=zy(e);return ma(a)}function Ny(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=x)if(T)z(l)||(l=[]),l.push(k);else{l=k;break}}z(l)&&(l=Pv(l,r,t))}else{var E=void 0;if(!n.isLinear&&n.type!=="timeCat"){for(var d=0;dn.translate(F)||xn.max||xMath.abs(n.translate(E[St][o])-x)&&(w=E)}var j=SF(t.getXScale());return!l&&Math.abs(n.translate(w[St][o])-x)<=j/2&&(l=w),l}function Yc(r,e,t,i){var n,a;t===void 0&&(t=""),i===void 0&&(i=!1);var o=r[St],s=CF(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,c=[],h,f;function v(k,E){if(i||!R(E)&&E!==""){var I={title:s,data:o,mappingData:r,name:k,value:E,color:r.color||u,marker:!0};c.push(I)}}if(yt(l)){var d=l.fields,p=l.callback;if(p){var g=d.map(function(k){return r[St][k]}),y=p.apply(void 0,Q([],U(g),!1)),m=b({data:r[St],mappingData:r,title:s,color:r.color||u,marker:!0},y);c.push(m)}else{var w=e.scales;try{for(var x=vt(d),S=x.next();!S.done;S=x.next()){var M=S.value;if(!R(o[M])){var F=w[M];h=ma(F),f=F.getText(o[M]),v(h,f)}}}catch(k){n={error:k}}finally{try{S&&!S.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}}}else{var T=zy(e);f=AF(o,T),h=FF(o,e),v(h,f)}return c}function Dv(r,e,t,i){var n,a,o=i.showNil,s=[],l=r.dataArray;if(!ge(l)){r.sort(l);try{for(var u=vt(l),c=u.next();!c.done;c=u.next()){var h=c.value,f=Ny(e,h,r);if(f){var v=r.getElementId(f),d=r.elementsMap[v];if(r.type==="heatmap"||d.visible){var p=Yc(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 Ov(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=Yc(l,r,t,n);u.length&&a.push(u)}return a}function zu(r,e,t){var i,n,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var c=vt(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=Ov(f,e,l,t):["area","line","path","heatmap"].includes(v)||s!==!1?d=Dv(f,e,l,t):d=Ov(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 TF(r,e,t){var i,n,a=zu(r,e,t);try{for(var o=vt(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(zu(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 EF(r){return!nt(r)&&!z(r)}function $c(r){r===void 0&&(r=0);var e=z(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=Q(Q([],U(e),!1),U(e),!1);break;case 3:e=Q(Q([],U(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var Hc={};function Di(r,e){Hc[r]=e}function kF(){return Object.keys(Hc)}function LF(r){return Hc[r]}var IF=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 gs(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=b({start:e,end:t},a),l=eM(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 b({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,i=this.option.actions;C(i,function(n){var a,o=U(n),s=o[0],l=o.slice(1),u=R(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,Q([],U(l),!1))})},r}(),kt=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 Pa(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 PF(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 DF=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=X(l,o.scaleDef,i)}var u=VA(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=nt(c.max)?Math.max(s,c.max):s,o=nt(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=gy(X({},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?(YA(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=Gt(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}(),Oo=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=U(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=U(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 V.TOP:case V.TOP_LEFT:case V.TOP_RIGHT:this.top+=n;break;case V.RIGHT:case V.RIGHT_TOP:case V.RIGHT_BOTTOM:this.right+=i;break;case V.BOTTOM:case V.BOTTOM_LEFT:case V.BOTTOM_RIGHT:this.bottom+=n;break;case V.LEFT:case V.LEFT_TOP:case V.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,Q([void 0],U(this.getPadding()),!1)))},r}();function OF(r){var e=r.padding;if(!EF(e))return new(Oo.bind.apply(Oo,Q([void 0],U($c(e)),!1)));var t=r.viewBBox,i=new Oo,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 BF(r,e,t){var i=t.instance();e.forEach(function(n){n.autoPadding=i.max(n.autoPadding.getPadding())})}var Gy=function(r){O(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=kF(),i.scalePool=new DF,i.layoutFunc=PF,i.isPreMouseInPlot=!1,i.isDataChanged=!1,i.isCoordinateChanged=!1,i.createdScaleKeys=new Map,i.onCanvasEvent=function(w){var x=w.name;if(!x.includes(":")){var S=i.createViewEvent(w);i.doPlotEvent(S),i.emit(x,S)}},i.onDelegateEvents=function(w){var x=w.name;if(x.includes(":")){var S=i.createViewEvent(w);i.emit(x,S)}};var n=t.id,a=n===void 0?Jr("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,m=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=b(b({},i.options),g),i.limitInPlot=y,i.id=a,i.syncViewPadding=m,i.themeObject=yt(p)?X({},Jn("default"),is(p)):Jn(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(lt.BEFORE_RENDER,kt.fromData(this,lt.BEFORE_RENDER,i)),this.paint(t),this.emit(lt.AFTER_RENDER,kt.fromData(this,lt.AFTER_RENDER,i)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(lt.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var i=this.geometries,n=0;n');E.appendChild(I);var B=Jh(E,l,a,o),N=Hw(f),Y=new N.Canvas(b({container:I,pixelRatio:v,localRefresh:p,supportCSSTransform:w},B));return i=r.call(this,{parent:null,canvas:Y,backgroundGroup:Y.addGroup({zIndex:ji.BG}),middleGroup:Y.addGroup({zIndex:ji.MID}),foregroundGroup:Y.addGroup({zIndex:ji.FORE}),padding:u,appendPadding:c,visible:y,options:M,limitInPlot:F,theme:T,syncViewPadding:k})||this,i.onResize=Ep(function(){i.forceFit()},300),i.ele=E,i.canvas=Y,i.width=B.width,i.height=B.height,i.autoFit=l,i.localRefresh=p,i.renderer=f,i.wrapperElement=I,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(lt.BEFORE_CHANGE_SIZE),this.width=t,this.height=i,this.canvas.changeSize(t,i),this.render(!0),this.emit(lt.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(),Zw(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=Jh(this.ele,!0,this.width,this.height),i=t.width,n=t.height;this.changeSize(i,n)}},e.prototype.updateCanvasStyle=function(){re(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}(Gy),Sn=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 zF(r){for(var e=[],t=function(n){var a=r[n],o=$e(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 x=u[0],S=Math.abs(t.y-x[0].y);try{for(var M=vt(u),F=M.next();!F.done;F=M.next()){var T=F.value,k=Math.abs(t.y-T[0].y);k<=S&&(x=T,S=k)}}catch(E){s={error:E}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[x]}return zF(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 X({},o,n,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if(en(t)||!A(t,"customContent"))return t;var i=t.customContent,n=function(a,o){var s=i(a,o)||"";return J(s)?'
    '+s+"
    ":s};return b(b({},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 Xs(b(b({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=vt(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=zc(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(),m=A(y,["components","tooltip","marker"],{}),w=b(b({fill:h.color,symbol:"circle",shadowColor:h.color},W(i)?b(b({},m),i(h)):i),{x:f,y:v});o.addShape("marker",{attrs:w})}}catch(x){n={error:x}}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=on(n,t),l=n.getCenter(),u=n.getRadius();o=Rt(l.x,l.y,u,s),a=l}var c=X({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 sy(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:Ws(n,t),startAngle:n.startAngle,endAngle:n.endAngle},o="Circle";a=X({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 gv[o](a),u.init()):u.update(a):(u=new gv[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 W(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=zu(t,i,o);try{for(var l=vt(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:$e(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}(Sn),Yy={};function $y(r){return Yy[r.toLowerCase()]}function Fe(r,e){Yy[r.toLowerCase()]=e}var ln={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},NF={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"}}},Bv={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 GF(r,e){return{delay:W(r.delay)?r.delay(e):r.delay,easing:W(r.easing)?r.easing(e):r.easing,duration:W(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function Hy(r,e,t){var i=NF[r];return i&&(W(i)&&(i=i(e)),i=X({},ln,i),t)?i[t]:i}function Ki(r,e,t){var i=A(r.get("origin"),"data",St),n=e.animation,a=GF(e,i);if(n){var o=$y(n);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function VF(r,e,t,i,n){if(Bv[t]){var a=Bv[t](i),o=$y(A(a,"animation",""));if(o){var s=b(b(b({},ln.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:i,minYPoint:n,toAttrs:null})}}}var Xc="element-background",Xy=function(r){O(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?Ki(n,a,{coordinate:i.coordinate,toAttrs:b({},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),qg(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=X({},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 W(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var i=this,n=this.animate;if(n){var a=n[t];return a&&b(b({},a),{callback:function(){var o;W(a.callback)&&a.callback(),(o=i.geometry)===null||o===void 0||o.emit(Gr.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?J(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(Gr.BEFORE_DRAW_ANIMATE),Ki(this.shape,h,{coordinate:o.coordinate,toAttrs:b({},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(R(i)||yt(i))yt(i)&&Ot(Object.keys(i),["values"])?zt(this.attributeOption,t,{fields:i.values}):zt(this.attributeOption,t,i);else{var a={};nt(i)?a.values=[i]:a.fields=On(i),n&&(W(n)?a.callback=n:a.values=n),zt(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=b({},v),p=d.callback,g=d.values,y=d.fields,m=y===void 0?[]:y,w=m.map(function(S){var M=t.scales[S];if(!l[S]&&Wi.includes(f)){var F=py(M,A(t.scaleDefs,S),f,t.type);F==="cat"&&(t.groupScales.push(M),l[S]=!0)}return M});d.scales=w,f!=="position"&&w.length===1&&w[0].type==="identity"?d.values=w[0].values:!p&&!g&&(f==="size"?d.values=o.sizes:f==="shape"?d.values=o.shapes[s]||[]:f==="color"&&(w.length?d.values=w[0].values.length<=10?o.colors10:o.colors20:d.values=o.colors10));var x=Xg(f);n[f]=new x(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 Zy(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=dy(l,c);s?Ki(l,s,{toAttrs:h,coordinate:o}):l.attr(h),c.isGroup()&&Zy(l,c,t)}}),C(e.getChildren(),function(l,u){u>=r.getCount()&&(l.destroyed||r.add(l))})}var ZF=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),na(this,void 0,void 0,function(){var n,a,o,s,l,u,c,h,f=this;return aa(this,function(v){switch(v.label){case 0:if(n={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=vt(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"),m=d.get("coordinate"),w=d.get("animateCfg"),x=u[p];Zy(x,n[p],{data:g,origin:y,animateCfg:w,coordinate:m}),n[p]=x}else{if(f.container.destroyed)return;f.container.add(d);var S=A(d.get("animateCfg"),i?"enter":"appear");S&&Ki(d,S,{toAttrs:b({},d.attr()),coordinate:d.get("coordinate")})}delete u[p]}}),C(u,function(d){var p=A(d.get("animateCfg"),"leave");p?Ki(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:b(b({},o),{data:o[St]}),coordinate:s},f=t.addGroup(b({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:X({},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"),m=e.x,w=e.y-g/2;y==="center"?m=m-p/2:(y==="right"||y==="end")&&(m=m-p),Ga(u,m,w),v=u,f.add(u)}else{var x=A(e,["style","fill"]);v=f.addShape("text",b({attrs:b(b({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:A(e,"textBaseline","middle"),text:e.content},e.style),{fill:Lw(x)?e.color:x})},h))}return e.rotate&&_c(v,e.rotate),f},r.prototype.doLayout=function(e,t,i){return na(this,void 0,void 0,function(){var n,a=this;return aa(this,function(o){switch(o.label){case 0:return this.layout?(n=z(this.layout)?this.layout:[this.layout],[4,Promise.all(n.map(function(s){var l=$F(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=Rt(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:b({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=jy(s,i,a.padding),c=u.rotation,h=Ct(u,["rotation"]),f=s.addShape("rect",{attrs:b(b({},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 zv(r){var e=0;return C(r,function(t){e+=t}),e/r.length}var Zs=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||R(a.x)||R(a.y)){i.push(null);return}var l=z(s.content)?s.content:[s.content];s.content=l;var u=l.length;C(l,function(c,h){if(R(c)||c===""){i.push(null);return}var f=b(b({},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),na(this,void 0,void 0,function(){var i,n,a;return aa(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=X({},i,a.innerLabels,e):o=X({},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,m){m===void 0&&(m=!1);var w=g;return z(w)&&(e.content.length===1?m?w=zv(w):w.length<=2?w=w[g.length-1]:w=zv(w):w=w[y]),w}var s={content:e.content[i],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=z(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var c=PA(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[St],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 ZF({container:t,layout:A(i,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=n,s.animate=a?Hy("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[St],g=t.getLabelText(p,h),y;if(u){var m=l.map(function(F){return p[F]});if(y=u.apply(void 0,Q([],U(m),!1)),R(y)){f.push(null);return}}var w=b(b({id:t.getLabelId(v),elementId:t.geometry.getElementId(v),data:p,mappingData:v,coordinate:o},c),y);W(w.position)&&(w.position=w.position(p,v,d));var x=t.getLabelOffset(w.offset||0),S=t.getDefaultLabelCfg(x,w.position);w=X({},S,w),w.offset=t.getLabelOffset(w.offset||0);var M=w.content;W(M)?w.content=M(p,v,d):ci(M)&&(w.content=g[0]),f.push(w)}),f},r.prototype.getLabelText=function(e,t){var i=[];return C(t,function(n){var a=e[n.field];z(a)?a=a.map(function(o){return n.getText(o)}):a=n.getText(a),R(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 nt(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 Nu(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,Q([e],U(n),!1)).join("")}else i=r.mapping(e).join("");return i||t}var Ei={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]]}},QF=["line","cross","tick","plus","hyphen"];function KF(r,e){return W(e)?e(r):X({},r,e)}function JF(r,e){var t=r.symbol;if(J(t)&&QF.indexOf(t)!==-1){var i=A(r,"style",{}),n=A(i,"lineWidth",1),a=i.stroke||i.fill||e;r.style=X({},r.style,{lineWidth:n,stroke:a,fill:null})}}function Qy(r){var e=r.symbol;J(e)&&Ei[e]&&(r.symbol=Ei[e])}function zl(r){return r.startsWith(V.LEFT)||r.startsWith(V.RIGHT)?"vertical":"horizontal"}function Ky(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),m=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||(m=!0)});var w=Nu(s,y,u),x=Nu(l,y,"point"),S=e.getShapeMarker(x,{color:w,isInPolar:c}),M=n;return W(M)&&(M=M(g,f,b({name:g,value:y},X({},i,S)))),S=X({},i,S,fe(b({},M),["style"])),JF(S,w),M&&M.style&&(S.style=KF(S.style,M.style)),Qy(S),{id:y,name:g,value:y,marker:S,unchecked:m}})}return[]}function t2(r,e,t){return t.map(function(i,n){var a=e;W(a)&&(a=a(i.name,n,X({},r,i)));var o=W(i.marker)?i.marker(i.name,n,X({},r,i)):i.marker,s=X({},r,a,o);return Qy(s),i.marker=s,i})}function Nv(r,e){var t=A(r,["components","legend"],{});return X({},A(t,["common"],{}),X({},A(t,[e],{})))}function Nl(r){return r?!1:r==null||isNaN(r)}function Gv(r){if(z(r))return Nl(r[1].y);var e=r.y;return z(e)?Nl(e[0]):Nl(e)}function Qs(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 ba(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,m=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,w=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,x=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Yv([1,0],x),F=Yv(x,S);return Vu(x,S)<=-1&&(F=Math.PI),Vu(x,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:m,cy:w,rx:Vv(r,[u,c])?0:t,ry:Vv(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}var as=Math.sin,os=Math.cos,Uc=Math.atan2,co=Math.PI;function sm(r,e,t,i,n,a,o){var s=e.stroke,l=e.lineWidth,u=t-n,c=i-a,h=Uc(c,u),f=new Jc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*os(co/6)+","+10*as(co/6)+" L0,0 L"+10*os(co/6)+",-"+10*as(co/6),stroke:s,lineWidth:l}});f.translate(n,a),f.rotateAtPoint(n,a,h),r.set(o?"startArrowShape":"endArrowShape",f)}function lm(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=Os(h,["d","fill","stroke","lineWidth"]),y=t-n,m=i-a,w=Uc(m,y);f&&(n=n-os(w)*f,a=a-as(w)*f);var x=new Jc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:D(D({},g),{stroke:d||u,lineWidth:p||c,fill:v})});x.translate(n,a),x.rotateAtPoint(n,a,w),r.set(o?"startArrowShape":"endArrowShape",x)}function bi(r,e,t,i,n){var a=Uc(i-e,t-r);return{dx:os(a)*n,dy:as(a)*n}}function jc(r,e,t,i,n,a){typeof e.startArrow=="object"?lm(r,e,t,i,n,a,!0):e.startArrow?sm(r,e,t,i,n,a,!0):r.set("startArrowShape",null)}function Zc(r,e,t,i,n,a){typeof e.endArrow=="object"?lm(r,e,t,i,n,a,!1):e.endArrow?sm(r,e,t,i,n,a,!1):r.set("startArrowShape",null)}var $v={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function un(r,e){var t=e.attr();for(var i in t){var n=t[i],a=$v[i]?$v[i]:i;a==="matrix"&&n?r.transform(n[0],n[1],n[3],n[4],n[6],n[7]):a==="lineDash"&&r.setLineDash?z(n)&&r.setLineDash(n):(a==="strokeStyle"||a==="fillStyle"?n=g2(r,e,n):a==="globalAlpha"&&(n=n*r.globalAlpha),r[a]=n)}}function Yu(r,e,t){for(var i=0;iS?x:S,I=x>S?1:x/S,B=x>S?S/x:1;e.translate(m,w),e.rotate(T),e.scale(I,B),e.arc(0,0,E,M,F,1-k),e.scale(1/I,1/B),e.rotate(-T),e.translate(-m,-w)}break}case"Z":e.closePath();break}if(f==="Z")s=l;else{var N=h.length;s=[h[N-2],h[N-1]]}}}}function hm(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 w2(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=u2(t,n):i?e=t:a&&(e=n)}return e}function b2(r){if(!r.length)return null;var e=[],t=[],i=[],n=[];return C(r,function(a){var o=w2(a);o&&(e.push(o.minX),t.push(o.minY),i.push(o.maxX),n.push(o.maxY))}),{minX:Oe(e),minY:Oe(t),maxX:Ae(i),maxY:Ae(n)}}function S2(r,e){return!r||!e||!ba(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 Kc=function(r){K(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){hm(this,t)},e.prototype.getShapeBase=function(){return ds},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,i){i&&(t.save(),un(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=Oe(i),s=Ae(i),l=Oe(n),u=Ae(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",ba(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(),un(t,this),this._applyClip(t,this.getClip()),Yu(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}(Ms),qe=function(r){K(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 D(D({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return ds},e.prototype.getGroupBase=function(){return Kc},e.prototype.onCanvasChange=function(t){hm(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),i=this.getHitLineWidth(),n=Fs(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(),un(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(!ba(i,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),un(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=ba(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()&&(!R(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&n>0&&(!R(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}(As),C2=function(r){K(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 D(D({},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=nm(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}(qe);function ho(r,e,t,i){return r/(t*t)+e/(i*i)}var M2=function(r){K(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 D(D({},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?ho(v,d,h+l,f+l)<=1:a?ho(v,d,h,f)<=1:n?ho(v,d,h-l,f-l)>=1&&ho(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}(qe);function Hv(r){return r instanceof HTMLElement&&J(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var A2=function(r){K(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 D(D({},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(J(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)):Hv(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||Hv(f))&&(!R(l)&&!R(u)&&!R(c)&&!R(h)?t.drawImage(f,l,u,c,h,n,a,o,s):t.drawImage(f,n,a,o,s))},e}(qe);function zr(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?jt.pointToLine(r,e,t,i,a,o)<=n/2:!1}var F2=function(r){K(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 D(D({},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&&jc(this,t,a,o,i,n),l&&Zc(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 zr(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=bi(n,a,o,s,i.startArrow.d)),u&&u.d&&(h=bi(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 jt.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 jt.pointAt(n,a,o,s,t)},e}(qe),T2={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"]]}},E2=function(r){K(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 R(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(W(a))s=a,l=s(i,n,o),l=xg(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");cm(this,t,{path:i},n)},e.Symbols=T2,e}(qe);function fm(r,e,t){var i=Es();return r.createPath(i),i.isPointInPath(e,t)}var k2=1e-6;function Gl(r){return Math.abs(r)0!=Gl(s[1]-t)>0&&Gl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Hn(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 nm(u.x,u.y,o,s)<=a/2}var I2=Nt;function P2(r){for(var e=!1,t=r.length,i=0;iw?m:w,k=m>w?1:m/w,E=m>w?w/m:1,I=I2(null,[["t",-g,-y],["r",-M],["s",1/k,1/E]]);sa(F,F,I),a=Hn(0,0,T,x,S,e,F[0],F[1]);break}if(a)break}}return a}function O2(r){for(var e=r.length,t=[],i=[],n=[],a=0;a0&&i.push(n),{polygons:t,polylines:i}}const fo=D({hasArc:P2,extractPolygons:O2,isPointInStroke:D2},dc);function Xv(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(R(s)||R(a))return null;var l=s.length,u=o[a+1];return Un.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",fo.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+=Un.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=Un.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}(qe);function dm(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)}),jt.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=jt.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}(qe);function z2(r,e,t,i,n,a,o){var s=n/2;return fi(r-s,e-s,t,n,a,o)||fi(r+t-s,e-s,n,i,a,o)||fi(r+s,e+i-s,t,n,a,o)||fi(r-s,e+s,n,i,a,o)}function N2(r,e,t,i,n,a,o,s){return zr(r+n,e,r+t-n,e,a,o,s)||zr(r+t,e+n,r+t,e+i-n,a,o,s)||zr(r+t-n,e+i,r+n,e+i,a,o,s)||zr(r,e+i-n,r,e+n,a,o,s)||Hn(r+t-n,e+n,n,1.5*Math.PI,2*Math.PI,a,o,s)||Hn(r+t-n,e+i-n,n,0,.5*Math.PI,a,o,s)||Hn(r+n,e+i-n,n,.5*Math.PI,Math.PI,a,o,s)||Hn(r+n,e+n,n,Math.PI,1.5*Math.PI,a,o,s)}var G2=function(r){K(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 D(D({},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=N2(l,u,c,h,f,o,t,i)),!d&&a&&(d=fm(this,t,i)),d}else{var v=o/2;if(a&&n)return fi(l-v,u-v,c+v,h+v,t,i);if(a)return fi(l,u,c,h,t,i);if(n)return z2(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=y2(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}(qe),V2=function(r){K(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 D(D({},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=Ls(t)},e.prototype._setText=function(t){var i=null;J(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=ks(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),R(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;R(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&&(!R(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!R(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}(qe);function Y2(r,e){if(e){var t=bs(e);return dr(t,r)}return r}function pm(r,e,t){var i=r.getTotalMatrix();if(i){var n=Y2([e,t,1],i),a=n[0],o=n[1];return[a,o]}return[e,t]}function Wv(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!oa(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var i=pm(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 gm(r,e,t){if(!Wv(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=gm(s,e,t);else if(Wv(s,e,t)){var l=s,u=pm(s,e,t),c=u[0],h=u[1];l.isInShape(c,h)&&(i=s)}if(i)break}return i}var $2=function(r){K(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 ds},e.prototype.getGroupBase=function(){return Kc},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||l2();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=gm(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=b2(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=S2(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&&(Ow(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),un(t,this),Yu(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(),un(t,this),m2(this,n,a),Yu(t,n,a),t.restore()):i.length&&um(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=Dw(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}(Cs),H2="0.5.12";const X2=Object.freeze(Object.defineProperty({__proto__:null,AbstractCanvas:Cs,AbstractGroup:Ms,AbstractShape:As,Base:xs,Canvas:$2,Event:Pa,Group:Kc,PathUtil:dc,Shape:ds,assembleFont:Ls,getArcParams:ns,getBBoxMethod:Fs,getOffScreenContext:Es,getTextHeight:ks,invert:bs,isAllowCapture:oa,multiplyVec2:dr,registerBBox:Re,registerEasing:lg,version:H2},Symbol.toStringTag,{value:"Module"}));var Hu={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},ft={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 Be(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function ym(r){var e=Hu[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var i=Be(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 mm(r,e){var t=r.get("el"),i=Vw(t.children).sort(e),n=document.createDocumentFragment();i.forEach(function(a){n.appendChild(a)}),t.appendChild(n)}function W2(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(ft.strokeOpacity,c),h&&f.setAttribute(ft.lineWidth,h))},e.prototype._setColor=function(t,i,n){var a=this.get("el");if(!n){a.setAttribute(ft[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(ft[i],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var o=t.find("pattern",n);o||(o=t.addPattern(n)),a.setAttribute(ft[i],"url(#"+o+")")}else a.setAttribute(ft[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)&&_2(this,t)},e.prototype.transform=function(t){var i=this.attr(),n=(t||i).matrix;n&&Va(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}(As),q2=function(r){K(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 D(D({},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):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),U2=function(r){K(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){ft[c]&&a.setAttribute(ft[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}(ze),j2=function(r){K(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 D(D({},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):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),Z2=function(r){K(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 D(D({},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):ft[l]&&o.setAttribute(ft[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(J(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&&J(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}(ze),Q2=function(r){K(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 D(D({},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=yt(o)?t.addArrow(n,ft[s]):t.getDefaultArrow(n,ft[s]);a.setAttribute(ft[s],"url(#"+l+")")}else a.removeAttribute(ft[s]);else ft[s]&&a.setAttribute(ft[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return jt.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 jt.pointAt(n,a,o,s,t)},e}(ze),vo={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 _v={get:function(r){return vo[r]},register:function(r,e){vo[r]=e},remove:function(r){delete vo[r]},getAll:function(){return vo}};var K2=function(r){K(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 z(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 W(o)?s=o:s=_v.get(o),s?s(i,n,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=_v,e}(ze),J2=function(r){K(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 D(D({},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"&&z(s))o.setAttribute("d",n._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=yt(s)?t.addArrow(a,ft[l]):t.getDefaultArrow(a,ft[l]);o.setAttribute(ft[l],"url(#"+u+")")}else o.removeAttribute(ft[l]);else ft[l]&&o.setAttribute(ft[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}(ze),tT=function(r){K(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"&&z(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),eT=function(r){K(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 D(D({},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"&&z(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ft[s]&&a.setAttribute(ft[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,i=this.get("totalLength");return R(i)?(this.set("totalLength",yg.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)}),jt.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=jt.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}(ze);function rT(r){var e=0,t=0,i=0,n=0;return z(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 iT=function(r){K(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 D(D({},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&&ft[c]&&o.setAttribute(ft[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=rT(s);z(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}(ze),qv=.3,nT={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},aT={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},oT={left:"left",start:"left",center:"middle",right:"end",end:"end"},sT=function(r){K(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 D(D({},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?Va(n):ft[l]&&o.setAttribute(ft[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=Yp();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",aT[n]||"alphabetic"):t.setAttribute("alignment-baseline",nT[n]||"baseline"),t.setAttribute("text-anchor",oT[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}(ze),lT=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,uT=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,cT=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function bm(r){var e=r.match(cT);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 hT(r,e){var t=lT.exec(r),i=lc(uc(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}(),Uv=function(){function r(e,t){this.cfg={};var i=Be("marker"),n=Jr("marker_");i.setAttribute("id",n);var a=Be("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;z(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}(),yT=function(){function r(e){this.type="clip",this.cfg={};var t=Be("clipPath");this.el=t,this.id=Jr("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}(),mT=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,xT=function(){function r(e){this.cfg={};var t=Be("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var i=Be("image");t.appendChild(i);var n=Jr("pattern_");t.id=n,this.el=t,this.id=n,this.cfg=e;var a=mT.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}(),wT=function(){function r(e){var t=Be("defs"),i=Jr("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 Ks(r,e,t,i,n){for(var a=Bt(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,c=Qs(l,o,u),h=[],f=0,v=c.length;fo&&(o=l),l=i[0]}));var g=this.scales[d];try{for(var y=vt(t),m=y.next();!m.done;m=y.next()){var w=m.value,x=this.getDrawCfg(w),S=x.x,M=x.y,F=g.scale(w[St][d]);this.drawGrayScaleBlurredCircle(S-u.x,M-c.y,n+a,F,p)}}catch(E){o={error:E}}finally{try{m&&!m.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 k=this.getImageShape();k.attr("x",u.x),k.attr("y",c.y),k.attr("width",h),k.attr("height",f),k.attr("img",p.canvas),k.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 Mm(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=U(Cm(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(),m=ya(r,t),w=m.startAngle,x=m.endAngle;if(t.type!=="theta"&&!t.isTransposed)i=$r(y.x,y.y,t.getRadius(),w,x);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=$r(y.x,y.y,c,t.startAngle,t.endAngle,h)}}return i}function ET(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=ih(r),o}function Am(r,e,t){var i=[];return R(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 Bn(r,e){return[e,r]}function kT(r,e,t){var i,n,a,o,s,l,u,c=U(Q([],U(r),!1),4),h=c[0],f=c[1],v=c[2],d=c[3],p=U(typeof t=="number"?Array(4).fill(t):t,4),g=p[0],y=p[1],m=p[2],w=p[3];e.isTransposed&&(i=U(Bn(f,d),2),f=i[0],d=i[1]),e.isReflect("y")&&(n=U(Bn(h,f),2),h=n[0],f=n[1],a=U(Bn(v,d),2),v=a[0],d=a[1]),e.isReflect("x")&&(o=U(Bn(h,d),2),h=o[0],d=o[1],s=U(Bn(f,v),2),f=s[0],v=s[1]);var x=[],S=function(M){return Math.abs(M)};return l=U(Cm([g,y,m,w],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],m=l[2],w=l[3],e.isTransposed&&(u=U([w,g,y,m],4),g=u[0],y=u[1],m=u[2],w=u[3]),h.yo&&(n=o)}return n}function IT(r,e){if(e){var t=Me(r),i=Xe(t,e);return i.length}return r.length}function nh(r){var e=r.theme,t=r.coordinate,i=r.getXScale(),n=i.values,a=r.beforeMappingData,o=n.length,s=Ra(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=LT(n,i);o=(i.max-i.min)/p,n.length>o&&(o=n.length)}var g=i.range,y=1/o,m=1;if(t.isPolar?t.isTransposed&&o>1?m=v:m=d:(i.isLinear&&(y*=g[1]-g[0]),m=f),!R(l)&&l>=0){var w=l/s;y=(1-(o-1)*w)/o}else y*=m;if(r.getAdjust("dodge")){var x=r.getAdjust("dodge"),S=x.dodgeBy,M=IT(a,S);if(!R(u)&&u>=0){var F=u/s;y=(y-F*(M-1))/M}else!R(l)&&l>=0&&(y*=m),y=y/M;y=y>=0?y:0}if(!R(c)&&c>=0){var T=c/s;y>T&&(y=T)}if(!R(h)&&h>=0){var k=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}(ei),DT=function(r){O(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}(eh),Fm=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],OT=["cross","tick","plus","hyphen","line"];function ah(r,e,t,i,n){var a,o,s=Bt(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=vt(l),f=h.next();!f.done;f=h.next()){var v=f.value;c.addShape({type:"marker",attrs:b(b(b({},s),{symbol:Ei[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:b(b(b({},s),{symbol:Ei[i]||i}),u)})}ti("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return qc(r)}});C(Fm,function(r){dt("point","hollow-".concat(r),{draw:function(e,t){return ah(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var BT=function(r){O(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 b(b({},i),{isStack:!!this.getAdjust("stack")})},e}(ei);function RT(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=YT(i[0],i[1],o):(t.fill=t.stroke,a=$T(i,o)),a=this.parsePath(a),e.addShape("path",{attrs:b(b({},t),{path:a})})}else{if(n==="normal")return i=this.parsePoints(i),a=vy((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:b(b({},t),{path:a})});var s=Xu(i[1],i[3]),l=Xu(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:b(b({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function HT(r,e){var t=Xu(r,e),i=[["M",r.x,r.y]];return i.push(t),i}dt("edge","smooth",{draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(HT(i[0],i[1]));return e.addShape("path",{attrs:b(b({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var po=1/3;function XT(r,e){var t=[];t.push({x:r.x,y:r.y*(1-po)+e.y*po}),t.push({x:e.x,y:r.y*(1-po)+e.y*po}),t.push(e);var i=[["M",r.x,r.y]];return C(t,function(n){i.push(["L",n.x,n.y])}),i}dt("edge","vhv",{draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(XT(i[0],i[1]));return e.addShape("path",{attrs:b(b({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});dt("interval","funnel",{getPoints:function(r){return r.size=r.size*2,rh(r)},draw:function(r,e){var t=Bt(r,!1,!0),i=this.parsePath(Am(r.points,r.nextPoints,!1)),n=e.addShape("path",{attrs:b(b({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});dt("interval","hollow-rect",{draw:function(r,e){var t=Bt(r,!0,!1),i=e,n=r==null?void 0:r.background;if(n){i=e.addGroup();var a=em(r),o=Mm(r,this.parsePoints(r.points),this.coordinate);i.addShape("path",{attrs:b(b({},a),{path:o}),capture:!1,zIndex:-1,name:Xc})}var s=this.parsePath(ih(r.points)),l=i.addShape("path",{attrs:b(b({},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 WT(r){var e=r.x,t=r.y,i=r.y0;return z(t)?t.map(function(n,a){return{x:z(e)?e[a]:e,y:n}}):[{x:e,y:i},{x:e,y:t}]}dt("interval","line",{getPoints:function(r){return WT(r)},draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=fe(b({},t),["fill"]),n=this.parsePath(ih(r.points,!1)),a=e.addShape("path",{attrs:b(b({},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}}}});dt("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,rh(r)},draw:function(r,e){var t=Bt(r,!1,!0),i=this.parsePath(Am(r.points,r.nextPoints,!0)),n=e.addShape("path",{attrs:b(b({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function _T(r){var e,t=r.x,i=r.y,n=r.y0,a=r.size,o,s;z(i)?(e=U(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 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],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}dt("interval","tick",{getPoints:function(r){return _T(r)},draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(qT(r.points)),n=e.addShape("path",{attrs:b(b({},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 UT=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 jT(r,e){var t=[];return C(r,function(i,n){var a=r[n+1];if(t.push(i),a){var o=UT(i,a,e);t=t.concat(o)}}),t}function ZT(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function QT(r,e){var t=Qs(r.points,r.connectNulls,r.showSinglePoint),i=[];return C(t,function(n){var a=jT(n,e);i=i.concat(ZT(a))}),b(b({},Bt(r,!0,!1,"lineWidth")),{path:i})}C(["hv","vh","hvh","vhv"],function(r){dt("line",r,{draw:function(e,t){var i=QT(e,r),n=t.addShape({type:"path",attrs:i,name:"line"});return n},getMarker:function(e){return rm(e,r)}})});C(OT,function(r){dt("point",r,{draw:function(e,t){return ah(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r],style:{r:4.5,stroke:t,fill:null}}}})});dt("point","image",{draw:function(r,e){var t,i,n=Bt(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=vt(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(Fm,function(r){dt("point",r,{draw:function(e,t){return ah(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,fill:t}}}})});function jv(r){var e=z(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 Zv(r,e,t){var i=t/2,n;if(z(e)){var a=jv(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=R(e)?.5:e;var v=jv(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 KT(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]]}dt("schema","box",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return Zv(e,t,i)},draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(KT(r.points)),n=e.addShape("path",{attrs:b(b({},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=Zv(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 JT(r){var e=z(r)?r:[r],t=e.sort(function(i,n){return n-i});return DA(t,4,t[t.length-1])}function Qv(r,e,t){var i=JT(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 tE(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]]}dt("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return Qv(e,t,i)},draw:function(r,e){var t=Bt(r,!0,!0),i=this.parsePath(tE(r.points)),n=e.addShape("path",{attrs:b(b({},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=Qv(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 eE(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=At(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}}dt("polygon","square",{draw:function(r,e){if(!ge(r.points)){var t=Bt(r,!0,!0),i=this.parsePoints(r.points);return e.addShape("rect",{attrs:b(b({},t),eE(i,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});dt("violin","smooth",{draw:function(r,e){var t=Bt(r,!0,!0),i=this.parsePath(tm(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}});dt("violin","hollow",{draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(Jy(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});dt("violin","hollow-smooth",{draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(tm(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var rE=function(r){O(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=b(b({},s),(o={},o[c]=s[c]*h,o)),l.isReflect("x")&&(s=b(b({},s),{x:s.x*-1})),l.isReflect("y")&&(s=b(b({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var i=this.geometry,n=this.getDefaultLabelCfg(),a=i.theme;return X({},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=z(i.shape)?i.shape[0]:i.shape;if(g==="funnel"||g==="pyramid"){var y=A(i,"nextPoints"),m=A(i,"points");if(y){var w=o.convert(m[0]),x=o.convert(m[1]),S=o.convert(y[0]),M=o.convert(y[1]);s?(f=Math.min(S.y,w.y),d=Math.max(S.y,w.y),v=(x.x+M.x)/2,p=(w.x+S.x)/2):(f=Math.min((x.y+M.y)/2,(w.y+S.y)/2),d=Math.max((x.y+M.y)/2,(w.y+S.y)/2),v=M.x,p=w.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}(Zs),go=Math.PI/2,Tm=function(r){O(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(nt(t))n=t;else if(J(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 Ft(i,function(a){if(a&&n){var o=n.scale(A(a.data,n.field));return b(b({},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),!z(t.x)&&!z(t.y)?{x:t.x,y:t.y}:{x:z(t.x)?t.x[i]:t.x,y:z(t.y)?t.y[i]:t.y}},e.prototype.getPointAngle=function(t){return on(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,i,n,a){var o=this.getCoordinate(),s=o.getCenter(),l=Ws(o,n);if(l===0)return b(b({},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+go;return n&&(a-=go),a&&(a>go?a=a-Math.PI:a<-go&&(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}(Zs),iE=function(r){O(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 X({},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:z(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:z(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=on(i,n);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=on(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 b(b({},Rt(a.x,a.y,o,t)),{angle:t,r:o})},e}(Tm),Kv=4;function nE(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],m=g[v];y.pos+y.size>m.pos&&(y.size+=m.size,y.targets=y.targets.concat(m.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 w={};try{for(var x=vt(r),S=x.next();!S.done;S=x.next()){var M=S.value;w[M.get("id")]=M}}catch(F){o={error:F}}finally{try{S&&!S.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}e.forEach(function(F){var T=F.r*F.r,k=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}),nE(e,v,l,h,s,d)})}C(r,function(v){if(v&&v.labelLine){var d=v.offset,p=v.angle,g=Rt(s.x,s.y,o,p),y=Rt(s.x,s.y,o+d/2,p),m=v.x+A(v,"offsetX",0),w=v.y+A(v,"offsetY",0),x={x:m-Math.cos(p)*Kv,y:w-Math.sin(p)*Kv};yt(v.labelLine)||(v.labelLine={}),v.labelLine.path=["M ".concat(g.x),"".concat(g.y," Q").concat(y.x),"".concat(y.y," ").concat(x.x),x.y].join(",")}})}}function Em(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 Jv=4;function oE(r,e){var t=e.getCenter(),i=e.getRadius();if(r&&r.labelLine){var n=r.angle,a=r.offset,o=Rt(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)*Jv,y:l-Math.sin(n)*Jv},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){yt(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=Rt(t.x,t.y,i+g,n),m=Rt(t.x,t.y,i+a/2,d),w=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(w," ").concat(p," ").concat(m.x," ").concat(m.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var y=Rt(t.x,t.y,i+(a/2>4?4:Math.max(a/2-1,0)),n),x=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+x*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 sE(r,e,t,i){var n,a,o=Qt(r,function(T){return!R(T)}),s=e[0]&&e[0].get("coordinate");if(s){var l=s.getCenter(),u=s.getRadius(),c={};try{for(var h=vt(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",m=Se(o,function(T){return T.xE&&(T.sort(function(I,B){return B.percent-I.percent}),C(T,function(I,B){B+1>E&&(c[I.id].set("visible",!1),I.invisible=!0)})),Em(T,d,F)}),C(m,function(T,k){C(T,function(E){var I=k===y,B=c[E.id],N=B.getChildByIndex(0);if(N){var Y=u+p,j=E.y-l.y,P=Math.pow(Y,2),G=Math.pow(j,2),_=P-G>0?P-G:0,H=Math.sqrt(_),$=Math.abs(Math.cos(E.angle)*Y);I?E.x=l.x+Math.max(H,$):E.x=l.x-Math.max(H,$)}N&&(N.attr("y",E.y),N.attr("x",E.x)),oE(E,s)})})}}}var _u=4,lE=4,td=4;function uE(r,e,t){var i=e.getCenter(),n=e.getRadius(),a={x:r.x-(t?td:-td),y:r.y},o=Rt(i.x,i.y,n+_u,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=Rt(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,I=R(T.offsetX)?lE:T.offsetX,B=Rt(s.x,s.y,l+_u,T.angle),N=d+I;T.x=s.x+(E?1:-1)*(l+N),T.y=B.y}}});var p=o.start,g=o.end,y="left",m="right",w=Se(r,function(T){return T.xx&&(x=Math.min(k,Math.abs(p.y-g.y)))});var S={minX:p.x,maxX:g.x,minY:s.y-x/2,maxY:s.y+x/2};C(w,function(T,k){var E=x/v;T.length>E&&(T.sort(function(I,B){return B.percent-I.percent}),C(T,function(I,B){B>E&&(u[I.id].set("visible",!1),I.invisible=!0)})),Em(T,v,S)});var M=S.minY,F=S.maxY;C(w,function(T,k){var E=k===m;C(T,function(I){var B=A(u,I&&[I.id]);if(B){if(I.yF){B.set("visible",!1);return}var N=B.getChildByIndex(0),Y=N.getCanvasBBox(),j={x:E?Y.x:Y.maxX,y:Y.y+Y.height/2};Ga(N,I.x-j.x,I.y-j.y),I.labelLine&&uE(I,o,E)}})})}}function hE(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,m=d,w=p;(cs?m=s-g:f>s&&(m=m-(f-s)),h>l?w=l-y:v>l&&(w=w-(v-l)),(m!==d||w!==p)&&Ga(n,m-d,w-p)})}function fE(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 vE=100,km=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 dE(r,e,t){t===void 0&&(t=vE);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 m=y*.1;return[m*Math.cos(m),m*Math.sin(m)]};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 yo(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 rd(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?[yo(e[0],t,e[0]),yo(e[1],t,e[0]),yo(e[2],t,e[0]),yo(e[3],t,e[0])]:e}function id(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(i){t.push(mE([i.x,i.y],e))}),{min:Math.min.apply(Math,Q([],U(t),!1)),max:Math.max.apply(Math,Q([],U(t),!1))}}function xE(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 CE(URL.createObjectURL(e))}}var AE=function(r){function e(){function u(w,x){return(w[0]||0)*(x[0]||0)+(w[1]||0)*(x[1]||0)+(w[2]||0)*(x[2]||0)}function c(w){if(w.length>4)return[];var x=function(F,T){return[T.x-F.x,T.y-F.y]},S=x(w[0],w[1]),M=x(w[1],w[2]);return[S,M]}function h(w,x,S){x===void 0&&(x=0),S===void 0&&(S={x:0,y:0});var M=w.x,F=w.y;return{x:(M-S.x)*Math.cos(-x)+(F-S.y)*Math.sin(-x)+S.x,y:(S.x-M)*Math.sin(-x)+(F-S.y)*Math.cos(-x)+S.y}}function f(w){var x=[{x:w.x,y:w.y},{x:w.x+w.width,y:w.y},{x:w.x+w.width,y:w.y+w.height},{x:w.x,y:w.y+w.height}],S=w.rotation;return S?[h(x[0],S,x[0]),h(x[1],S,x[0]),h(x[2],S,x[0]),h(x[3],S,x[0])]:x}function v(w,x){if(w.length>4)return{min:0,max:0};var S=[];return w.forEach(function(M){S.push(u([M.x,M.y],x))}),{min:Math.min.apply(null,S),max:Math.max.apply(null,S)}}function d(w,x){return w.max>x.min&&w.minw.x+w.width+S||x.x+x.widthw.y+w.height+S||x.y+x.height=a.height:o.width>=a.width}function IE(r,e,t){var i=!!r.getAdjust("stack");return i||e.every(function(n,a){var o=t[a];return LE(r,n,o)})}function PE(r,e,t){var i=r.coordinate,n=se.fromObject(t.getBBox()),a=qr(e);i.isTransposed?a.attr({x:n.minX+n.width/2,textAlign:"center"}):a.attr({y:n.minY+n.height/2,textBaseline:"middle"})}function DE(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=IE(a,e,t);o&&t.forEach(function(s,l){var u=e[l];PE(a,u,s)})}}}function OE(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 BE(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=OE(e),s=U(a.getXYFields(),1),l=s[0],u=[],c=[],h=Se(o,function(g){return g.get("data")[l]}),f=Mi(Ft(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,Q([],U(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")&&(jF(p,u)?p.set("visible",!1):u.push(p))}}}}function RE(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,Q([],U(n),!1)),i}function Lm(r,e,t){return r.some(function(i){return t(i,e)})}function zE(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 sd(r,e){return Lm(r,e,function(t,i){var n=qr(t),a=qr(i);return zE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function NE(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=U(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;Ft(gn(f).reverse(),function(p){for(var g=RE(l,f[p]);g.length;){var y=g.shift(),m=qr(y);if(Lm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){m.set("visible",!1);continue}var w=sd(v,y),x=!1;if(w&&(m.attr("y",m.attr("y")+2*d),x=sd(v,y)),x){m.set("visible",!1);continue}v.push(y)}})}}}function GE(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,Q([],U(n),!1)),i}function Im(r,e,t){return r.some(function(i){return t(i,e)})}function VE(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 ld(r,e){return Im(r,e,function(t,i){var n=qr(t),a=qr(i);return VE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function YE(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=U(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;Ft(gn(f).reverse(),function(p){for(var g=GE(l,f[p]);g.length;){var y=g.shift(),m=qr(y);if(Im(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){m.set("visible",!1);continue}var w=ld(v,y),x=!1;if(w&&(m.attr("y",m.attr("y")+2*d),x=ld(v,y)),x){m.set("visible",!1);continue}v.push(y)}})}}}var $l;function $E(){return $l||($l=document.createElement("canvas").getContext("2d")),$l}var mo=mn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=$E();return s.font=[a,o,n,"".concat(t,"px"),i].join(" "),s.measureText(J(r)?r:"").width},function(r,e){return e===void 0&&(e={}),Q([r],U(ys(e)),!1).join("")}),HE=function(r,e,t){var i=16,n=mo("...",t),a;J(r)?a=r:a=Ia(r);var o=e,s=[],l,u;if(mo(r,t)<=e)return r;for(;l=a.substr(0,i),u=mo(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=mo(l,t),!(u+n>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function XE(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=zA(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,m=p.maxX,w=p.maxY,x=p.x,S=p.y,M=p.width,F=p.height,T=x,k=S;if(a.indexOf("left")>=0&&(g=0&&(y=0&&(g>f?T=f-M:m>f&&(T=T-(m-f))),a.indexOf("bottom")>=0&&(y>v?k=v-F:w>v&&(k=k-(w-v))),T!==x||k!==S){var E=T-x;if(o==="translate")Ga(d,E,k-S);else if(o==="ellipsis"){var I=d.findAll(function(B){return B.get("type")==="text"});I.forEach(function(B){var N=cc(B.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),Y=B.getCanvasBBox(),j=HE(B.attr("text"),Y.width-Math.abs(E),N);B.attr("text",j)})}else d.hide()}})}}}function WE(r,e,t){var i={fillOpacity:R(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:R(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:R(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(i,e)}function _E(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 qE(r,e,t){var i,n=U(e,2),a=n[0],o=n[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}function oh(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=qE(r,[u,c],n);r.animate({matrix:h},e)}function UE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"x")}function jE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"y")}function ZE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"xy")}function QE(r,e,t){var i=r.getTotalLength();r.attr("lineDash",[i]),r.animate(function(n){return{lineDashOffset:(1-n)*i}},e)}function KE(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 JE(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=Nt(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:Nt(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function tk(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=Nt(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:Nt(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function ud(r,e){var t,i=ns(r,e),n=i.startAngle,a=i.endAngle;return!Ut(n,-Math.PI*.5)&&n<-Math.PI*.5&&(n+=Math.PI*2),!Ut(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=U([a,n],2),n=t[0],a=t[1]),Ut(n,Math.PI*1.5)&&(n=Math.PI*-.5),Ut(a,Math.PI*-.5)&&!Ut(n,a)&&(a=Math.PI*1.5),{startAngle:n,endAngle:a}}function cd(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 hd(r){var e,t,i,n=r.filter(function(w){return w[0]==="A"||w[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=cd(r[s-1]),c=cd(r[l-1]),h=ud(u,a),f=h.startAngle,v=h.endAngle,d=ud(c,o),p=d.startAngle,g=d.endAngle;Ut(f,p)&&Ut(v,g)?(t=f,i=v):(t=Math.min(f,p),i=Math.max(v,g));var y=a[1],m=n[n.length-1][1];return y=0;u--){var c=this.getFacetsByLevel(t,u);try{for(var h=(i=void 0,vt(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(R(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=Ct(p,["start","end"]),y=on(o,f),m=on(o,v);y>m&&(m=Math.PI*2+m),l=b(b({},g),{center:o.getCenter(),radius:Ws(o,f),startAngle:y,endAngle:m})}else if(t==="image"){var w=i;w.start,w.end;var g=Ct(w,["start","end"]);l=b(b({},g),{start:f,end:v,src:i.src})}else if(t==="line"){var x=i;x.start,x.end;var g=Ct(x,["start","end"]);l=b(b({},g),{start:f,end:v,text:A(i,"text",null)})}else if(t==="region"){var S=i;S.start,S.end;var g=Ct(S,["start","end"]);l=b(b({},g),{start:f,end:v})}else if(t==="text"){var M=this.view.getData(),F=i;F.position;var T=F.content,g=Ct(F,["position","content"]),k=T;W(T)&&(k=T(M)),l=b(b(b({},d),g),{content:k})}else if(t==="dataMarker"){var E=i;E.position;var I=E.point,B=E.line,N=E.text,Y=E.autoAdjust,j=E.direction,g=Ct(E,["position","point","line","text","autoAdjust","direction"]);l=b(b(b({},g),d),{coordinateBBox:this.getCoordinateBBox(),point:I,line:B,text:N,autoAdjust:Y,direction:j})}else if(t==="dataRegion"){var P=i,G=P.start,_=P.end,H=P.region,N=P.text,$=P.lineLength,g=Ct(P,["start","end","region","text","lineLength"]);l=b(b({},g),{points:this.getRegionPoints(G,_),region:H,text:N,lineLength:$})}else if(t==="regionFilter"){var q=i;q.start,q.end;var it=q.apply,st=q.color,g=Ct(q,["start","end","apply","color"]),tt=this.view.geometries,rt=[],mt=function(Ue){Ue&&(Ue.isGroup()?Ue.getChildren().forEach(function(En){return mt(En)}):rt.push(Ue))};C(tt,function(Ue){it?li(it,Ue.type)&&C(Ue.elements,function(En){mt(En.shape)}):C(Ue.elements,function(En){mt(En.shape)})}),l=b(b({},g),{color:st,shapes:rt,start:f,end:v})}else if(t==="shape"){var Et=i,It=Et.render,Kt=Ct(Et,["render"]),lr=function(nw){if(W(i.render))return It(nw,a.view,{parsePosition:a.parsePosition.bind(a)})};l=b(b({},Kt),{render:lr})}else if(t==="html"){var ur=i,cr=ur.html;ur.position;var Kt=Ct(ur,["html","position"]),ii=function(Ue){return W(cr)?cr(Ue,a.view):cr};l=b(b(b({},Kt),d),{parent:s.get("el").parentNode,html:ii})}var Fr=X({},n,b(b({},l),{top:i.top,style:i.style,offsetX:i.offsetX,offsetY:i.offsetY}));return t!=="html"&&(Fr.container=this.getComponentContainer(Fr)),Fr.animate=this.view.getOptions().animate&&Fr.animate&&A(i,"animate",Fr.animate),Fr.animateOption=X({},ln,Fr.animateOption,i.animateOption),Fr},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(b(b({},o||{}),{visible:!!o})),li(wo,t.type)&&i.component.render()}else i=this.createAnnotation(t),i&&(i.component.init(),li(wo,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){$e(i.option,function(s){return o===i.getCacheKey(s)})||(a.component.destroy(),n.delete(o))}),n},e.prototype.getCacheKey=function(t){return t},e}(Sn);function vd(r,e){var t=X({},A(r,["components","axis","common"]),A(r,["components","axis",e]));return A(t,["grid"],{})}function bo(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 Xl(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:Ft(Array(a+1),function(v,d){return r.convert({x:d/a,y:i?h:f})})}),u},s[0]),o}function dd(r,e){var t=A(e,"grid");if(t===null)return!1;var i=A(r,"grid");return!(t===void 0&&i===null)}var Lr=["container"],pd=b(b({},ln),{appear:null}),vk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.cache=new Map,i.gridContainer=i.view.getLayer(Dt.BG).addGroup(),i.gridForeContainer=i.view.getLayer(Dt.FORE).addGroup(),i.axisContainer=i.view.getLayer(Dt.BG).addGroup(),i.axisForeContainer=i.view.getLayer(Dt.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?so(i,o):Rl(i):u==="y"&&(f=i.isTransposed?Rl(i):so(i,o)):f=so(i,o);else if(s===Yt.GRID)if(i.isPolar){var v=void 0;i.isTransposed?v=u==="x"?Xl(i,t.view.getYScales()[0],c,h,u):bo(i,c,u,h):v=u==="x"?bo(i,c,u,h):Xl(i,t.view.getXScale(),c,h,u),f={items:v,center:t.view.getCoordinate().getCenter()}}else f={items:bo(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=es(this.option,i.field);if(n!==!1){var a=Av(n,V.BOTTOM),o=Dt.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,Lr),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,Lr),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,V.RADIUS):this.getCircleAxisCfg(i,n,a);fe(f,Lr),h.component.update(f),t.set(u,h)}else{if(l.isTransposed){if(ci(n))return;h=this.createLineAxis(i,n,o,V.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,V.RADIUS,s):this.getLineGridCfg(i,n,V.CIRCLE,s);fe(f,Lr),v.component.update(f),t.set(c,v)}else{if(l.isTransposed){if(ci(n))return;v=this.createCircleGrid(i,n,o,V.RADIUS,s)}else v=this.createLineGrid(i,n,o,V.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=es(i.option,s);if(l!==!1){var u=Dt.BG,c="y",h=i.getId("axis",s),f=i.getId("grid",s),v=i.view.getCoordinate();if(v.isRect){var d=Av(l,o===0?V.LEFT:V.RIGHT),p=i.cache.get(h);if(p){var g=i.getLineAxisCfg(a,l,d);fe(g,Lr),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,Lr),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,V.CIRCLE):i.getLineAxisCfg(a,l,V.RADIUS);fe(g,Lr),p.component.update(g),t.set(h,p)}else{if(v.isTransposed){if(ci(l))return;p=i.createCircleAxis(a,l,u,V.CIRCLE,c)}else p=i.createLineAxis(a,l,u,V.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,V.CIRCLE,c):i.getCircleGridCfg(a,l,V.RADIUS,c);fe(g,Lr),y.component.update(g),t.set(f,y)}else{if(v.isTransposed){if(ci(l))return;y=i.createLineGrid(a,l,u,V.CIRCLE,c)}else y=i.createCircleGrid(a,l,u,V.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 FA(this.getLineAxisCfg(t,i,a)),layer:n,direction:a===V.RADIUS?V.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 EA(s),layer:n,direction:V.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 TA(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 kA(s),layer:n,direction:V.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=so(o,n),l=Fv(t,i),u=lo(this.view.getTheme(),n),c=A(i,["title"])?X({title:{style:{text:l}}},{title:Mv(this.view.getTheme(),n,i.title)},i):i,h=X(b(b({container:a},s),{ticks:t.getTicks().map(function(w){return{id:"".concat(w.tickValue),name:w.text,value:w.value}}),verticalFactor:o.isPolar?Cv(s,o.getCenter())*-1:Cv(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=yy(s),g=A(h,"verticalLimitLength",p?1/3:1/2);if(g<=1){var y=this.view.getCanvas().get("width"),m=this.view.getCanvas().get("height");h.verticalLimitLength=g*(p?y:m)}return h},e.prototype.getLineGridCfg=function(t,i,n,a){if(dd(lo(this.view.getTheme(),n),i)){var o=vd(this.view.getTheme(),n),s=X({container:A(i,["top"])?this.gridForeContainer:this.gridContainer},o,A(i,"grid"),this.getAnimateCfg(i));return s.items=bo(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=Fv(t,i),u=lo(this.view.getTheme(),V.CIRCLE),c=A(i,["title"])?X({title:{style:{text:l}}},{title:Mv(this.view.getTheme(),n,i.title)},i):i,h=X(b(b({container:a},Rl(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(dd(lo(this.view.getTheme(),n),i)){var o=vd(this.view.getTheme(),V.RADIUS),s=X({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=Xl(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?X({},pd,t.animateOption):pd}},e}(Sn);function Nr(r,e,t){return t===V.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===V.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===V.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===V.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===V.TOP_LEFT||t===V.LEFT_TOP?[r.tl.x,r.tl.y]:t===V.TOP_RIGHT||t===V.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===V.BOTTOM_LEFT||t===V.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===V.BOTTOM_RIGHT||t===V.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function gd(r,e){return en(r)?r===!1?!1:{}:A(r,[e],r)}function So(r){return A(r,"position",V.BOTTOM)}var dk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.container=i.view.getLayer(Dt.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=zl(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=U(Nr(t.view.viewBBox,d,a),2),g=p[0],y=p[1],m=U(Nr(t.layoutBBox,d,a),2),w=m[0],x=m[1],S=0,M=0;a.startsWith("top")||a.startsWith("bottom")?(S=g,M=x):(S=w,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,m=gd(t.option,d.field);m!==!1&&(A(m,"custom")?y=t.getCategoryCfg(f,v,d,m,!0):d.isLinear?y=t.getContinuousCfg(f,v,d,m):d.isCategory&&(y=t.getCategoryCfg(f,v,d,m))),y&&(fe(y,["container"]),g.direction=So(m),g.component.update(y),i[p]=!0)}else{var w=t.createFieldLegend(f,v,d);w&&(w.component.init(),t.components.push(w),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=Dt.FORE,c=So(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=gd(this.option,n.field),s=Dt.FORE,l=So(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 wv(o)},e.prototype.createContinuousLegend=function(t,i,n,a){var o=this.getContinuousCfg(t,i,n,fe(a,["value"]));return new LA(o)},e.prototype.createCategoryLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a);return new wv(o)},e.prototype.getContinuousCfg=function(t,i,n,a){var o=n.getTicks(),s=$e(o,function(p){return p.value===0}),l=$e(o,function(p){return p.value===1}),u=o.map(function(p){var g=p.value,y=p.tickValue,m=i.mapping(n.invert(g)).join("");return{value:y,attrValue:m,color:m,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:Gt(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=So(a),v=zl(f),d=A(a,"title");return d&&(d=X({text:ma(n)},d)),c.container=h,c.layout=v,c.title=d,c.animateOption=ln,this.mergeLegendCfg(c,a,"continuous")},e.prototype.getCategoryCfg=function(t,i,n,a,o){var s=this.container,l=A(a,"position",V.BOTTOM),u=Nv(this.view.getTheme(),l),c=A(u,["marker"]),h=A(a,"marker"),f=zl(l),v=A(u,["pageNavigator"]),d=A(a,"pageNavigator"),p=o?t2(c,h,a.items):Ky(this.view,t,i,c,h),g=A(a,"title");g&&(g=X({text:n?ma(n):""},g));var y=A(a,"maxWidthRatio"),m=A(a,"maxHeightRatio"),w=this.getCategoryLegendSizeCfg(f,y,m);w.container=s,w.layout=f,w.items=p,w.title=g,w.animateOption=ln,w.pageNavigator=X({},v,d);var x=this.mergeLegendCfg(w,a,l);x.reversed&&x.items.reverse();var S=A(x,"maxItemWidth");return S&&S<=1&&(x.maxItemWidth=this.view.viewBBox.width*S),x},e.prototype.mergeLegendCfg=function(t,i,n){var a=n.split("-")[0],o=Nv(this.view.getTheme(),a);return X({},o,t,i)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return $e(this.components,function(i){return i.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,i,n){i===void 0&&(i=Qh),n===void 0&&(n=Qh);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}(Sn),pk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Rr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=U(n,2),o=a[0],s=a[1];i.start=o,i.end=s,i.changeViewData(o,s)},i.container=i.view.getLayer(Dt.FORE).addGroup(),i.onChangeFn=hc(i.onValueChange,20,{leading:!0}),i.width=0,i.view.on(lt.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(lt.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(lt.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(lt.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;R(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=U(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=U(Nr(this.view.viewBBox,u,V.BOTTOM),2);v[0];var d=v[1],p=U(Nr(this.view.coordinateBBox,u,V.BOTTOM),2),g=p[0];p[1],this.slider.component.update(b(b({},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,V.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),i=new CA(b({container:this.container},t));return i.init(),{component:i,layer:Dt.FORE,direction:V.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=b(b({},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(yt(this.option)){var i=b({data:this.getData()},A(this.option,"trendCfg",{}));t=X({},t,this.getThemeOptions(),this.option),t=b(b({},t),{trendCfg:i})}return t.start=At(Math.min(R(t.start)?0:t.start,R(t.end)?1:t.end),0,1),t.end=At(Math.max(R(t.start)?0:t.start,R(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,i=U(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=Xe(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=Xe(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?Ui(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}(Sn),Co=0,yd=8,gk=32,yk=20,mk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Rr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=n.ratio,o=i.getValidScrollbarCfg().animate;i.ratio=At(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(Dt.FORE).addGroup(),i.onChangeFn=hc(i.onValueChange,20,{leading:!0}),i.trackLen=0,i.thumbLen=0,i.ratio=0,i.view.on(lt.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(lt.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(lt.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(lt.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=U(Nr(this.view.viewBBox,o,V.BOTTOM),2);c[0];var h=c[1],f=U(Nr(this.view.coordinateBBox,o,V.BOTTOM),2),v=f[0];f[1],l=v,u=h}else{var d=U(Nr(this.view.viewBBox,o,V.RIGHT),2);d[0];var h=d[1],p=U(Nr(this.view.viewBBox,o,V.RIGHT),2),v=p[0];p[1],l=v,u=h}l+=n[3],u+=n[0],this.trackLen?this.scrollbar.component.update(b(b({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(b(b({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?V.BOTTOM:V.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=Ct(n,["thumbHighlightColor"]);return{default:X({},A(i,["default","style"],{}),o),hover:X({},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)*At(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=U(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",c=Xe(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?Ui(d,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,i=t!=="vertical",n=new AA(b(b({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:Dt.FORE,direction:i?V.BOTTOM:V.RIGHT,type:Yt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),i=this.trackLen?b(b({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):b({},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=Xe(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=U(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},m=this.getStep(),w=this.getCnt(),x=h?i.width-g-d:i.height-v-p,S=Math.max(x*At(m/w,0,1),yk);return b(b({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?u:l,isHorizontal:h,trackLen:x,thumbLen:S,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:gk,width:yd,height:yd,padding:[0,0,0,0],animate:!0,style:{}};return yt(this.option)&&(t=b(b({},t),this.option)),(!yt(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[Co,0,Co,0]:[0,Co,0,Co]),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=Q([],U(n),!1).reverse()),n},e}(Sn),xk={fill:"#CCD6EC",opacity:.3};function wk(r,e,t){var i,n,a,o,s,l,u=TF(r,e,t);if(u.length){u=Me(u);try{for(var c=vt(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var v=(a=void 0,vt(f)),d=v.next();!d.done;d=v.next()){var p=d.value,g=p.mappingData,y=g.x,m=g.y;p.x=z(y)?y[y.length-1]:y,p.y=z(m)?m[m.length-1]:m}}catch(E){a={error:E}}finally{try{d&&!d.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}}catch(E){i={error:E}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}var w=t.shared;if(w===!1&&u.length>1){var x=u[0],S=Math.abs(e.y-x[0].y);try{for(var M=vt(u),F=M.next();!F.done;F=M.next()){var T=F.value,k=Math.abs(e.y-T[0].y);k<=S&&(x=T,S=k)}}catch(E){s={error:E}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[x]}return Mi(Me(u))}return[]}var bk=function(r){O(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=wk(i,{x:n.x,y:n.y},a);if(!Ot(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(_){if(_.type==="interval"||_.type==="schema"){var H=_.getElementsBy(function($){var q=$.getData();return q[s]===l});u=u.concat(H)}}),u.length){var h=i.getCoordinate(),f=u[0].shape.getCanvasBBox(),v=u[0].shape.getCanvasBBox(),d=f;C(u,function(_){var H=_.shape.getCanvasBBox();h.isTransposed?(H.minYv.maxY&&(v=H)):(H.minXv.maxX&&(v=H)),d.x=Math.min(H.minX,d.minX),d.y=Math.min(H.minY,d.minY),d.width=Math.max(H.maxX,d.maxX)-d.x,d.height=Math.max(H.maxY,d.maxY)-d.y});var p=i.backgroundGroup,g=i.coordinateBBox,y=void 0;if(h.isRect){var m=i.getXScale(),w=t||{},x=w.appendRatio,S=w.appendWidth;R(S)&&(x=R(x)?m.isLinear?0:.25:x,S=h.isTransposed?x*v.height:x*f.width);var M=void 0,F=void 0,T=void 0,k=void 0;h.isTransposed?(M=g.minX,F=Math.min(v.minY,f.minY)-S,T=g.width,k=d.height+S*2):(M=Math.min(f.minX,v.minX)-S,F=g.minY,T=d.width+S*2,k=g.height),y=[["M",M,F],["L",M+T,F],["L",M+T,F+k],["L",M,F+k],["Z"]]}else{var E=be(u),I=Gt(u),B=ya(E.getModel(),h).startAngle,N=ya(I.getModel(),h).endAngle,Y=h.getCenter(),j=h.getRadius(),P=h.innerRadius*j;y=$r(Y.x,Y.y,j,B,N,P)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var G=A(t,"style",xk);this.regionPath=p.addShape({type:"path",name:"active-region",capture:!1,attrs:b(b({},G),{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}(Mt),Pm=function(r){O(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||!Ot(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}(Mt),Sk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,i){var n=rr(t);C(n,function(a){var o=Bu(t,a,i);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var i=rr(t);C(i,function(n){n.hideTooltip()})},e}(Pm),Ck=function(r){O(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||!Ot(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(b({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 Xs({parent:n.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:b({},X({},s,(t={},t[Sr]={"max-width":"50%"},t[Cr]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(Mt),lh=function(r){O(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=Ly(t,this.stateName);C(n,function(a){i.setElementState(a,!1)})},e}(Mt);function md(r){return A(r.get("delegateObject"),"item")}var uh=function(r){O(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=Zt(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=sn(a,i),s=We(t,i);return!R(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=_r(this.context);if(i)Fy(this.context)&&this.setStateByElement(i,t);else{var n=Ti(this.context);if(xa(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&&md(s.fromShape)===md(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=_r(this.context);if(t){var i=t.hasState(this.stateName);this.setElementState(t,!i)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(lh),Mk=function(r){O(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}(uh),Ak=function(r){O(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:b(b({},X({},o,W(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=We(t,o.field);if(!this.cache[s]){var l=aF(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}(ch),Lk=function(r){O(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=Zt(n);Dm(a,function(o){return t===o},i)},e.prototype.clear=function(){var t=this.context.view;fh(t)},e}(hh),Ik=function(r){O(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}(ch),Pk=function(r){O(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),Dk=function(r){O(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}(hh),Oi=function(r){O(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=Ti(this.context),i=null;return xa(t)&&(i={item:t.item,list:t.component}),i},e.prototype.getAllowComponents=function(){var t=this,i=this.context.view,n=Py(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=sn(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=sn(o,a),l=We(i,a),u=s.getText(l);this.setItemsState(t,u,n)},e.prototype.setStateEnable=function(t){var i=this,n=_r(this.context);if(n){var a=this.getAllowComponents();C(a,function(u){i.setStateByElement(u,n,t)})}else{var o=Ti(this.context);if(xa(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}(Mt),Ok=function(r){O(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}(Oi),xd="inactive",wd="active";function Bk(r){var e=r.getItems();C(e,function(t){r.hasState(t,wd)&&r.setItemState(t,wd,!1),r.hasState(t,xd)&&r.setItemState(t,xd,!1)})}var Rn="inactive",ai="active",dh=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=ai,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,Rn)&&t.setItemState(l,Rn,!1),t.setItemState(l,ai,!0)):t.hasState(l,ai)||t.setItemState(l,Rn,!0)});else{var o=t.getItemsByState(ai),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,ai)&&t.setItemState(l,ai,!1),t.setItemState(l,Rn,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)Bk(t.list);else{var i=this.getAllowComponents();C(i,function(n){n.clearItemsState(ai),n.clearItemsState(Rn)})}},e}(Oi),Rk=function(r){O(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}(Oi),zk=function(r){O(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}(Oi),Vi="unchecked",Mo="checked",Nk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Mo,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,Vi)&&t.setItemState(o,Vi,!1),t.setItemState(o,Mo,!0)):t.hasState(o,Mo)||t.setItemState(o,Vi,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=!gs(i.getItems(),function(o){return i.hasState(o,Vi)});a||i.hasState(n,Vi)?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(Mo),i.clearItemsState(Vi)})},e}(Oi),Yi="unchecked",Gk=function(r){O(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(E){return!h.hasState(E,Yi)}),p=v.filter(function(E){return h.hasState(E,Yi)}),g=d[0];if(v.length===d.length)try{for(var y=vt(v),m=y.next();!m.done;m=y.next()){var w=m.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){t={error:E}}finally{try{m&&!m.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 x=vt(v),S=x.next();!S.done;S=x.next()){var w=S.value;h.setItemState(w,Yi,!1)}}catch(E){n={error:E}}finally{try{S&&!S.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}else try{for(var M=vt(v),F=M.next();!F.done;F=M.next()){var w=F.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){o={error:E}}finally{try{F&&!F.done&&(s=M.return)&&s.call(M)}finally{if(o)throw o.error}}else try{for(var T=vt(v),k=T.next();!k.done;k=T.next()){var w=k.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){l={error:E}}finally{try{k&&!k.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}}},e}(Oi),bd="showRadio",Wl="legend-radio-tip",Vk=function(r){O(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,bd,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,bd,!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||!Ot(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(b(b({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[Sr]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[Cr]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(Wl)&&document.body.removeChild(document.getElementById(Wl));var n=new Xs({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:i,containerId:Wl});n.init(),n.setCapture(!1),this.tooltip=n},e}(Oi),ph=function(r){O(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:b({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=X({},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}(Mt);function Bm(r){var e=Gt(r),t=0,i=0,n=0;if(r.length){var a=r[0];t=Vc(a,e)/2,i=(e.x+a.x)/2,n=(e.y+a.y)/2}return{x:i,y:n,r:t}}var Yk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return Bm(this.points)},e}(ph);function Rm(r){return{start:be(r),end:Gt(r)}}function zm(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 Nm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return Rm(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),i=t.start,n=t.end;return zm(i,n)},e}(ph);function Sd(r){r.x=At(r.x,0,1),r.y=At(r.y,0,1)}function Gm(r,e,t,i){var n=null,a=null,o=i.invert(be(r)),s=i.invert(Gt(r));return t&&(Sd(o),Sd(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 Vm=function(r){O(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 Gm(this.points,this.dim,this.inPlot,t)},e}(Nm);function gh(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 Ym(r){return{path:gh(r)}}var $m=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return gh(this.points)},e.prototype.getMaskAttrs=function(){return Ym(this.points)},e.prototype.addPoint=function(){this.resize()},e}(ph);function yh(r){return sF(r,!0)}function Hm(r){return{path:yh(r)}}var $k=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return yh(this.points)},e.prototype.getMaskAttrs=function(){return Hm(this.points)},e}($m),mh=function(r){O(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:b({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=X({},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 Q([],U((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint();this.recordPoints=Q(Q([],U(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=Q(Q([],U(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}(Mt),Xm=function(r){O(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 Rm(t)},e.prototype.getMaskAttrs=function(t){var i=this.getRegion(t),n=i.start,a=i.end;return zm(n,a)},e}(mh),Wm=function(r){O(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 Gm(t,this.dim,this.inPlot,i)},e}(Xm),Hk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=Bm,t}return e}(mh),_m=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=gh,t.getMaskAttrs=Ym,t}return e.prototype.addPoint=function(){this.resize()},e}(mh),Xk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=yh,t.getMaskAttrs=Hm,t}return e}(_m),Wk=function(r){O(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}(Mt),_k=function(r){O(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=Ti(this.context);if(t){var i=this.context.view,n=t.component,a=n.get("field");if(xa(t)){if(a){var o=n.getItemsByState("unchecked"),s=sn(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(Ty(t)){var u=n.getValue(),c=U(u,2),h=c[0],f=c[1];this.filterView(i,a,function(v){return v>=h&&v<=f}),i.render(!0)}}},e}(Mt);function Cd(r,e,t,i){var n=Math.min(t[e],i[e]),a=Math.max(t[e],i[e]),o=U(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 Js=function(r){O(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(wa(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,kt.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=Cd(v,"x",h,f);this.filterView(s,v.field,d)}if(this.hasDim("y")){var p=s.getYScales()[0],d=Cd(p,"y",h,f);this.filterView(s,p.field,d)}this.reRender(s,{source:ce.FILTER}),s.emit(ce.AFTER_FILTER,kt.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,kt.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,kt.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}(Mt),xh=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=rr(t);C(a,function(o){o.filter(i,n)})},e.prototype.reRender=function(t){var i=rr(t);C(i,function(n){n.render(!0)})},e}(Js),qk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Ti(this.context),i=this.context.view,n=Zt(i);if(wa(this.context)){var a=Gc(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(xa(t)){if(s){var l=o.getItemsByState("unchecked"),u=sn(i,s),c=l.map(function(p){return p.name});C(n,function(p){var g=We(p,s),y=u.getText(g);c.indexOf(y)>=0?p.hide():p.show()})}}else if(Ty(t)){var h=o.getValue(),f=U(h,2),v=f[0],d=f[1];C(n,function(p){var g=We(p,s);g>=v&&g<=d?p.show():p.hide()})}}},e.prototype.clear=function(){var t=Zt(this.context.view);C(t,function(i){i.show()})},e.prototype.reset=function(){this.clear()},e}(Mt),qm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){wa(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,i=Gc(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=rr(t);C(s,function(l){var u=Zt(l);C(u,function(c){var h=c.getModel().data;Dy(o,h,n,a)?c.show():c.hide()})})}},e.prototype.filterByBBox=function(){var t=this,i=this.context.view,n=rr(i);C(n,function(a){var o=Ey(t.context,a,10),s=Zt(a);o&&C(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=rr(this.context.view);C(t,function(i){var n=Zt(i);C(n,function(a){a.show()})})},e}(Mt),Uk=10,jk=5,Zk=function(r){O(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 X(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:b({text:t.text},t.textStyle)}),a=n.getBBox(),o=$c(t.padding),s=i.addShape({type:"rect",name:"button-rect",attrs:b({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=Nt(null,[["t",n.x-o.width-Uk,n.y+o.height+jk]]);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}(Mt),Qk=4,Kk=function(r){O(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}):Vc(t,this.startPoint)>Qk&&(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}(Mt),Jk=5,tL=function(r){O(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=Vc(t,i);if(n>Jk&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=Nt(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}(Mt),Md="x",Ad="y",Um=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[Md,Ad],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(Md),this.resetDim(Ad);var t=this.context.view;t.render(!0)},e}(Mt),eL=function(r){O(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}(Um),rL=function(r){O(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}(Um);function iL(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var nL=1,aL=function(r){O(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)||nL,s=n.getController("scrollbar"),l=n.getXScale(),u=n.getOptions().data,c=$t(Xe(u,l.field)),h=$t(l.values),f=s.getValue(),v=Math.floor((c-h)*f),d=v+(iL(a)?o:-o),p=o/(c-h)/1e4,g=At(d/(c-h)+p,0,1);s.setValue(g)}},e}(Mt),oL="aixs-description-tooltip",sL=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,i=Ti(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 Xs({parent:n.get("el").parentNode,region:a,visible:!1,containerId:oL,domStyles:b({},X({},(t={},t[Sr]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[Cr]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(Mt);wF("dark",By(s2));Pp("canvas",X2);Pp("svg",CT);sr("Polygon",zT);sr("Interval",PT);sr("Schema",NT);sr("Path",eh);sr("Point",BT);sr("Line",DT);sr("Area",AT);sr("Edge",FT);sr("Heatmap",TT);sr("Violin",VT);Na("base",Zs);Na("interval",rE);Na("pie",iE);Na("polar",Tm);me("overlap",yE);me("distribute",aE);me("fixed-overlap",gE);me("hide-overlap",TE);me("limit-in-shape",fE);me("limit-in-canvas",hE);me("limit-in-plot",XE);me("pie-outer",sE);me("adjust-color",kE);me("interval-adjust-position",DE);me("interval-hide-overlap",BE);me("point-adjust-position",NE);me("pie-spider",cE);me("path-adjust-position",YE);Fe("fade-in",WE);Fe("fade-out",_E);Fe("grow-in-x",UE);Fe("grow-in-xy",ZE);Fe("grow-in-y",jE);Fe("scale-in-x",JE);Fe("scale-in-y",tk);Fe("wave-in",rk);Fe("zoom-in",ik);Fe("zoom-out",nk);Fe("position-update",KE);Fe("sector-path-update",ek);Fe("path-in",QE);bn("rect",uk);bn("mirror",lk);bn("list",ok);bn("matrix",sk);bn("circle",ak);bn("tree",ck);Di("axis",vk);Di("legend",dk);Di("tooltip",Vy);Di("annotation",fk);Di("slider",pk);Di("scrollbar",mk);Z("tooltip",Pm);Z("sibling-tooltip",Sk);Z("ellipsis-text",Ck);Z("element-active",Mk);Z("element-single-active",Tk);Z("element-range-active",Fk);Z("element-highlight",vh);Z("element-highlight-by-x",kk);Z("element-highlight-by-color",Ek);Z("element-single-highlight",Lk);Z("element-range-highlight",Om);Z("element-sibling-highlight",Om,{effectSiblings:!0,effectByRecord:!0});Z("element-selected",Pk);Z("element-single-selected",Dk);Z("element-range-selected",Ik);Z("element-link-by-color",Ak);Z("active-region",bk);Z("list-active",Ok);Z("list-selected",Rk);Z("list-highlight",dh);Z("list-unchecked",zk);Z("list-checked",Nk);Z("list-focus",Gk);Z("list-radio",Vk);Z("legend-item-highlight",dh,{componentNames:["legend"]});Z("axis-label-highlight",dh,{componentNames:["axis"]});Z("axis-description",sL);Z("rect-mask",Nm);Z("x-rect-mask",Vm,{dim:"x"});Z("y-rect-mask",Vm,{dim:"y"});Z("circle-mask",Yk);Z("path-mask",$m);Z("smooth-path-mask",$k);Z("rect-multi-mask",Xm);Z("x-rect-multi-mask",Wm,{dim:"x"});Z("y-rect-multi-mask",Wm,{dim:"y"});Z("circle-multi-mask",Hk);Z("path-multi-mask",_m);Z("smooth-path-multi-mask",Xk);Z("cursor",Wk);Z("data-filter",_k);Z("brush",Js);Z("brush-x",Js,{dims:["x"]});Z("brush-y",Js,{dims:["y"]});Z("sibling-filter",xh);Z("sibling-x-filter",xh,{dims:"x"});Z("sibling-y-filter",xh,{dims:"y"});Z("element-filter",qk);Z("element-sibling-filter",qm);Z("element-sibling-filter-record",qm,{byRecord:!0});Z("view-drag",Kk);Z("view-move",tL);Z("scale-translate",eL);Z("scale-zoom",rL);Z("reset-button",Zk,{name:"reset-button",text:"reset"});Z("mousewheel-scroll",aL);function mr(r){return r.isInPlot()}at("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"}]});at("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"}]});at("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]});at("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]});at("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]});at("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]});at("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});at("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"]}]});at("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"]}]});at("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"]}]});at("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"]}]});at("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"]}]});at("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:mr,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:mr,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"]}]});at("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"]}]});at("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:mr,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:mr,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]});at("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:"path-mask:start"},{trigger:"mousedown",isEnable:mr,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"}]});at("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:mr,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!qs(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"]}]});at("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]});at("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"]}]});at("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]});at("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]});at("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"]}]});at("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});at("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function Fd(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}at("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return Fd(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!Fd(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]});at("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});at("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"],_e;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})(_e||(_e={}));var lL="AntV/G2Plot";function uL(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 jm(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=gt(l,n);o[u]||(o[u]=b({id:++s,name:u},f)),o[c]||(o[c]=b({id:++s,name:c},f)),a.push(b({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 cn(r,e){var t=Qt(r,function(i){var n=i[e];return n===null||typeof n=="number"&&!isNaN(n)});return Ar(_e.WARN,t.length===r.length,"illegal data existed in chart data."),t}var cL=5,hL={}.toString,Zm=function(r,e){return hL.call(r)==="[object "+e+"]"},fL=function(r){return Zm(r,"Array")},vL=function(r){return typeof r=="object"&&r!==null},Td=function(r){if(!vL(r)||!Zm(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||cL;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];a?Td(a)?(Td(r[n])||(r[n]={}),t=i&&r<=n}function Ur(r){if(nt(r))return[r,r,r,r];if(z(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 tl(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var i=Ur(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 bh(r){var e=r.map(function(i){return Ur(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 yL(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")},gt(s,["offsetX","offsetY","rotate","style","formatter"])))}})},bL=function(r,e,t){var i=e.statistic,n=i.title,a=i.content;[n,a].forEach(function(o){if(o){var s=W(o.style)?o.style(t):o.style;r.annotation().html(b({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,b({width:"".concat(g,"px"),transform:"translate(-50%, ".concat(p,"px)")},Km(s)));var y=u.getData();if(o.customHtml)return o.customHtml(l,u,t,y);var m=o.content;return o.formatter&&(m=o.formatter(t,y)),m?J(m)?m:"".concat(m):"
    "}},gt(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function t0(r,e){return e?ie(e,function(t,i,n){return t.replace(new RegExp("{\\s*".concat(n,"\\s*}"),"g"),i)},r):r}function ut(r,e){return r.views.find(function(t){return t.id===e})}function Xn(r){var e=r.parent;return e?e.views:[]}function kd(r){return Xn(r).filter(function(e){return e!==r})}function Ya(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),C(t,function(i){var n;W(e)?n=e(i.type||i.shapeType,i)||!0:n=e,i.animate(n)})}function rl(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function Sh(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),i=rl();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 Ch(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 e0(r,e,t){var i=r+e;return t?i*2:i}function r0(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function Mh(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 SL={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function CL(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 ML(r){var e=L({},SL,r),t=e.size,i=e.padding,n=e.isStagger,a=e.rotation,o=e0(t,i,n),s=r0(o,n),l=Sh(o,o),u=l.getContext("2d");Ch(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;uw){var S=x/p.length,M=Math.max(1,Math.ceil(w/S)-1),F="".concat(p.slice(0,M),"...");m.attr("text",F)}}}}function bI(r,e,t){xI(r,e,t),wI(r,e,t)}function SI(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(L({},yt(s)?s:Jn(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=$e(a.geometries,function(d){return d.type==="interval"}),f={view:u,geometry:h,group:c,field:r,horizontal:e,options:mI(o,e)},v=h.elements;C(v,function(d,p){p>0&&bI(f,v[p-1],d)})}})),i}}function CI(r){var e=r.options,t=e.legend,i=e.seriesField,n=e.isStack;return i?t!==!1&&(t=b({position:n?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function MI(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?iI(i,h,[c,v],h):Ha(i,h,c,h,s),y=[];u&&f&&!l?g.forEach(function(x){var S=y.find(function(M){return M[c]===x[c]&&M[f]===x[f]});S?S[h]+=x[h]||0:y.push(b({},x))}):y=g,e.data(y);var m=s?b({formatter:function(x){var S;return{name:l&&u?"".concat(x[f]," - ").concat(x[v]):(S=x[f])!==null&&S!==void 0?S:x[c],value:(Number(x[h])*100).toFixed(2)+"%"}}},d):d,w=L({},r,{options:{data:y,widthRatio:o,tooltip:m,interval:{shape:p,style:n,color:a}}});return te(w),w}function kh(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 et(Pt((e={},e[o]=n,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=b(b({},wh(l,s)),c),t)))(r)}function AI(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 FI(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 TI(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=t.isRange,o=Jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=Ct(i,["callback"]);o.label({fields:[n],callback:s,cfg:b({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?b({content:function(u){var c;return(c=u[n])===null||c===void 0?void 0:c.join("-")}},l):l))})}return r}function EI(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=b(b({},h),{customItems:function(d){var p=[];return C(d,function(g){var y=Qt(s,function(m){return wp(m,gt(g.data,[l,c]))});y.forEach(function(m){p.push(b(b(b({},g),{value:m[u],data:m,mappingData:{_origin:m}}),v(m)))})}),f?f(p):p}})}e.tooltip(h)}return r}function cl(r,e){e===void 0&&(e=!1);var t=r.options,i=t.seriesField;return et(CI,ht,Te("columnStyle"),ri,i0("rect"),MI,kh,AI,FI,EI,$a,Ah,TI,d0,Tt,wt,Lt(),SI(t.yField,!e,!!i),yI(!t.isStack),Li)(r)}function kI(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?b({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=n!==!1?b({position:o[(n==null?void 0:n.position)||"bottom"]},n):!1;return b(b({},r),{options:b(b({},e),{xField:i,yField:t,xAxis:s,yAxis:l})})}function LI(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"}}])),L({},r,{options:{label:t}})}function II(r){var e=r.options,t=e.seriesField,i=e.isStack,n=e.legend;return t?n!==!1&&(n=b({position:i?"top-left":"right-top"},n||{})):n=!1,L({},r,{options:{legend:n}})}function PI(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return L({},r,{options:{coordinate:t}})}function DI(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return cl({chart:e,options:b(b({},t),{columnStyle:i,columnWidthRatio:n,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function g0(r){return et(kI,LI,II,Vt,PI,DI)(r)}var OI=L({},ot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),BI=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return OI},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=b(b({},s),{xField:u,yField:c,yAxis:f,xAxis:h});kh({chart:o,options:v}),o.changeData(Ha(t,u,c,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return g0},e}(ot),RI=L({},ot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),y0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return RI},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;kh({chart:l,options:u}),this.chart.changeData(Ha(t,n,a,n,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return cl},e}(ot),ql,jr="$$percentage$$",Zr="$$mappingValue$$",wr="$$conversion$$",ju="$$totalPercentage$$",Ma="$$x$$",Aa="$$y$$",zI={appendPadding:[0,80],minSize:0,maxSize:1,meta:(ql={},ql[Zr]={min:0,max:1,nice:!1},ql),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)"}}},m0="CONVERSION_TAG_NAME";function Lh(r,e,t){var i=[],n=t.yField,a=t.maxSize,o=t.minSize,s=A(Mp(e,n),[n]),l=nt(a)?a:1,u=nt(o)?o:0;return i=Ft(r,function(c,h){var f=(c[n]||0)/s;return c[jr]=f,c[Zr]=(l-u)*f+u,c[wr]=[A(r,[h-1,n]),c[n]],c}),i}function Ih(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[Zr]))){var c=r(l,u,o,{top:!0,name:m0,text:{content:W(s)?s(l,o):s,offsetX:n.offsetX,offsetY:n.offsetY,position:"end",autoRotate:!1,style:b({textAlign:"start",textBaseline:"middle"},n.style)}});t.annotation().line(c)}})}return e}}function NI(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=Lh(n,n,{yField:a,maxSize:o,minSize:s});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.shape,u=l===void 0?"funnel":l,c=t.funnelStyle,h=t.state,f=Ne(o,[i,n]),v=f.fields,d=f.formatter;xe({chart:e,options:{type:"interval",xField:i,yField:Zr,colorField:i,tooltipFields:z(v)&&v.concat([jr,wr]),mapping:{shape:u,tooltip:d,color:a,style:c},label:s,state:h}});var p=Jt(r.chart,"interval");return p.adjust("symmetric"),r}function VI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[]:[["transpose"],["scale",1,-1]]}),r}function x0(r){var e=r.options,t=r.chart,i=e.maxSize,n=A(t,["geometries","0","dataArray"],[]),a=A(t,["options","data","length"]),o=Ft(n,function(l){return A(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,c,h){var f=i-(i-l[Zr])/2;return b(b({},h),{start:[o[u-1]||u-.5,f],end:[o[u-1]||u-.5,f+.05]})};return Ih(s)(r),r}function w0(r){return et(NI,GI,VI,x0)(r)}function YI(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 $I(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 m=l?y.rowIndex:y.columnIndex;l||g.coordinate({type:"rect",actions:[["transpose"],["scale",m===0?-1:1,-1]]});var w=Lh(y.data,i,{yField:a,maxSize:c,minSize:h});g.data(w);var x=Ne(u,[n,a,s]),S=x.fields,M=x.formatter,F=l?{offset:m===0?10:-23,position:m===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:m===0?"end":"start"}};xe({chart:g,options:{type:"interval",xField:n,yField:Zr,colorField:n,tooltipFields:z(S)&&S.concat([jr,wr]),mapping:{shape:"funnel",tooltip:M,color:o,style:v},label:f===!1?!1:L({},F,f),state:d}})}}),r}function b0(r){var e=r.chart,t=r.index,i=r.options,n=i.conversionTag,a=i.isTransposed;(nt(t)?[e]:e.views).forEach(function(o,s){var l=A(o,["geometries","0","dataArray"],[]),u=A(o,["options","data","length"]),c=Ft(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 L({},p,{start:[c[v-1]||v-.5,f[Zr]],end:[c[v-1]||v-.5,f[Zr]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:n!==!1?g*n.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};Ih(h)(L({},{chart:o,options:i}))})}function HI(r){var e=r.chart;return e.once("beforepaint",function(){return b0(r)}),r}function XI(r){return et(YI,$I,HI)(r)}function WI(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=Mp(n,a)[a],l=Ft(n,function(u,c){var h=[],f=[];if(u[ju]=(u[a]||0)/o,c){var v=n[c-1][Ma],d=n[c-1][Aa];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[ju],h[2]=(f[2]+1)/4,f[3]=f[2],h[3]=-h[2],u[Ma]=h,u[Aa]=f,u[jr]=(u[a]||0)/s,u[wr]=[A(n,[c-1,a]),u[a]],u});return e.data(l),r}function _I(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=Ne(o,[i,n]),h=c.fields,f=c.formatter;return xe({chart:e,options:{type:"polygon",xField:Ma,yField:Aa,colorField:i,tooltipFields:z(h)&&h.concat([jr,wr]),label:s,state:u,mapping:{tooltip:f,color:a,style:l}}}),r}function qI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[["transpose"],["reflect","x"]]:[]}),r}function UI(r){var e=function(t,i,n,a){return b(b({},a),{start:[t[Ma][1],t[Aa][1]],end:[t[Ma][1]+.05,t[Aa][1]]})};return Ih(e)(r),r}function jI(r){return et(WI,_I,qI,UI)(r)}function ZI(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 QI(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){w0(L({},r,{chart:o,options:{data:s.data}}))}}),r}function KI(r){return et(ZI,QI)(r)}var JI=function(r){O(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?b0:x0,s=this.context.view,l=n||a?s.views:[s];Ft(l,function(u,c){var h=u.getController("annotation"),f=Qt(A(h,["option"],[]),function(d){var p=d.name;return p!==m0});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:b(b({},t),{filteredData:Lh(v,v,t)})}),u.filterData(v),i.rendering=!0,u.render(!0)})}this.rendering=!1},e}(Mt),S0="funnel-conversion-tag",Zu="funnel-afterrender",C0={trigger:"afterrender",action:"".concat(S0,":change")};Z(S0,JI);at(Zu,{start:[C0]});function tP(r){var e=r.options,t=e.compareField,i=e.xField,n=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=il(a),u={label:t?{fields:[i,n,t,jr,wr],formatter:function(h){return"".concat(h[n])}}:{fields:[i,n,jr,wr],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(p0.apply(void 0,h[wr]))}}},c;return(t||o)&&(c=function(h){return L({},t&&{lineWidth:1,stroke:"#fff"},W(o)?o(h):o)}),L({options:u},r,{options:{funnelStyle:c,data:ae(s)}})}function eP(r){var e=r.options,t=e.compareField,i=e.dynamicHeight,n=e.seriesField;return n?KI(r):t?XI(r):i?jI(r):w0(r)}function rP(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function iP(r){var e=r.chart;return e.axis(!1),r}function nP(r){var e=r.chart,t=r.options,i=t.legend;return i===!1?e.legend(!1):e.legend(i),r}function aP(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(Zu):e.interaction(Zu,{start:[b(b({},C0),{arg:t})]}),r}function M0(r){return et(tP,eP,rP,iP,Vt,aP,nP,wt,ht,Lt())(r)}var oP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return zI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return M0},e.prototype.setState=function(t,i,n){n===void 0&&(n=!0);var a=Ca(this.chart);C(a,function(o){i(o.getData())&&o.setState(t,n)})},e.prototype.getStates=function(){var t=Ca(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=wr,e.PERCENT_FIELD=jr,e.TOTAL_PERCENT_FIELD=ju,e}(ot),Fo,Ph="range",A0="type",gr="percent",sP="#f0f0f0",F0="indicator-view",T0="range-view",lP={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:(Fo={},Fo[Ph]={sync:"v"},Fo[gr]={sync:"v",tickCount:5,tickInterval:.2},Fo),animation:!1};function uP(r,e){return r.map(function(t,i){var n;return n={},n[Ph]=t-(r[i-1]||0),n[A0]="".concat(i),n[gr]=e,n})}function E0(r){var e;return[(e={},e[gr]=At(r,0,1),e)]}function k0(r,e){var t=A(e,["ticks"],[]),i=$t(t)?Mi(t):[0,At(r,0,1),1];return i[0]||i.shift(),uP(i,r)}function cP(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=E0(i),y=e.createView({id:F0});y.data(g),y.point().position("".concat(gr,"*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(gr,u),y.scale(gr,gt(u,de))}var m=k0(i,t.range),w=e.createView({id:T0});w.data(m);var x=J(d)?[d,sP]:d,S=te({chart:w,options:{xField:"1",yField:Ph,seriesField:A0,rawFields:[gr],isStack:!0,interval:{color:x,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}),w.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function hP(r){var e;return et(Pt((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[gr]={},e)))(r)}function L0(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=L({},{content:"".concat((a*100).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),bL(t,{statistic:b(b({},n),{content:s})},{percent:a})}return e&&t.render(!0),r}function fP(r){var e=r.chart,t=r.options,i=t.tooltip;return i?e.tooltip(L({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(n,a){var o=A(a,[0,"data",gr],0);return"".concat((o*100).toFixed(2),"%")}},i)):e.tooltip(!1),r}function vP(r){var e=r.chart;return e.legend(!1),r}function I0(r){return et(ht,wt,cP,hP,fP,L0,Tt,Lt(),vP)(r)}dt("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:b({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:n},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:b({x:u.x,y:u.y,stroke:n},s.style)}),l}});dt("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=At(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),m=y.startAngle,w=y.endAngle,x=m;x1?l/(i-1):s.max),!t&&!i){var c=pP(o);u=l/c}var h={},f=Se(a,n);ge(f)?C(a,function(d){var p=d[e],g=Dd(p,u,i),y="".concat(g[0],"-").concat(g[1]);Hr(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=Dd(g,u,i),m="".concat(y[0],"-").concat(y[1]),w="".concat(m,"-").concat(d);Hr(h,w)||(h[w]={range:y,count:0},h[w][n]=d),h[w].count+=1})});var v=[];return C(h,function(d){v.push(d)}),v}var cs="range",Fa="count",gP=L({},ot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function yP(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=P0(i,n,o,a,l);e.data(h);var f=L({},r,{options:{xField:cs,yField:Fa,seriesField:l,isStack:!0,interval:{color:s,style:c}}});return te(f),u&&l?e.legend(l,u):e.legend(!1),r}function mP(r){var e,t=r.options,i=t.xAxis,n=t.yAxis;return et(Pt((e={},e[cs]=i,e[Fa]=n,e)))(r)}function xP(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis;return i===!1?e.axis(cs,!1):e.axis(cs,i),n===!1?e.axis(Fa,!1):e.axis(Fa,n),r}function wP(r){var e=r.chart,t=r.options,i=t.label,n=Jt(e,"interval");if(!i)n.label(!1);else{var a=i.callback,o=Ct(i,["callback"]);n.label({fields:[Fa],callback:a,cfg:Ht(o)})}return r}function D0(r){return et(ht,Te("columnStyle"),yP,mP,xP,ri,wP,Vt,Tt,wt)(r)}var bP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return gP},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(P0(t,n,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return D0},e}(ot),SP=L({},ot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),CP=function(r){O(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=bp(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}(Mt);Z("marker-active",CP);at("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var O0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return SP},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;ul({chart:n,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return f0},e}(ot),B0=L({},ot.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}}}}}),MP=[1,0,0,0,1,0,0,0,1];function Qu(r,e){var t=e?Q([],e,!0):Q([],MP,!0);return ye.transform(t,r)}var AP=function(r){O(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 Ot(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}(Mt);function FP(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}var TP=function(r){O(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)}),el(n,{statistic:h,plotType:"pie"},o),n.render(!0)}var f=FP(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}(Mt),R0="pie-statistic";Z(R0,TP);at("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]});Z("pie-legend",AP);at("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function EP(r,e){var t=null;return C(r,function(i){typeof i[e]=="number"&&(t+=i[e])}),t}function kP(r,e){var t;switch(r){case"inner":return t="-30%",J(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,J(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function hs(r,e){return sc(cn(r,e),function(t){return t[e]===0})}function LP(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=cn(i,n);if(hs(u,n)){var c="$$percentage$$";u=u.map(function(f){var v;return b(b({},f),(v={},v[c]=1/u.length,v))}),e.data(u);var h=L({},r,{options:{xField:"1",yField:c,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});te(h)}else{e.data(u);var h=L({},r,{options:{xField:"1",yField:n,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});te(h)}return r}function IP(r){var e,t=r.chart,i=r.options,n=i.meta,a=i.colorField,o=L({},n);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function PP(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 DP(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=Ct(i,["callback"]),u=Ht(l);if(u.content){var c=u.content;u.content=function(d,p,g){var y=d[n],m=d[a],w=e.getScaleByField(a),x=w==null?void 0:w.scale(m);return W(c)?c(b(b({},d),{percent:x}),p,g):J(c)?t0(c,{value:m,name:y,percentage:nt(x)&&!R(m)?"".concat((x*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?z(u.layout)?u.layout:[u.layout]:[];u.layout=(f?[{type:f}]:[]).concat(v),o.label({fields:n?[a,n]:[a],callback:s,cfg:b(b({},u),{offset:kP(u.type,u.offset),type:"pie"})})}return r}function z0(r){var e=r.innerRadius,t=r.statistic,i=r.angleField,n=r.colorField,a=r.meta,o=r.locale,s=il(o);if(e&&t){var l=L({},B0.statistic,t),u=l.title,c=l.content;return u!==!1&&(u=L({},{formatter:function(h){var f=h?h[n]:R(u.content)?s.get(["statistic","total"]):u.content,v=A(a,[n,"formatter"])||function(d){return d};return v(f)}},u)),c!==!1&&(c=L({},{formatter:function(h,f){var v=h?h[i]:EP(f,i),d=A(a,[i,"formatter"])||function(p){return p};return h||R(c.content)?d(v):c.content}},c)),L({},{statistic:{title:u,content:c}},r)}return r}function N0(r){var e=r.chart,t=r.options,i=z0(t),n=i.innerRadius,a=i.statistic;return e.getController("annotation").clear(!0),et(Lt())(r),n&&a&&el(e,{statistic:a,plotType:"pie"}),r}function OP(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(L({},i,{shared:!1})),hs(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:Ia(u[a])}}),e.geometries[0].tooltip(s.join("*"),Hi(s,l))}return r}function BP(r){var e=r.chart,t=r.options,i=z0(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(R0,":change"),arg:{statistic:a,annotations:o}}]),C((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){c.push(b(b({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,L({},s.cfg,{start:c}))}else e.interaction(s.type,s.cfg||{})}),r}function G0(r){return et(Te("pieStyle"),LP,IP,ht,PP,Cn,OP,DP,ri,N0,BP,wt)(r)}var V0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return B0},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null));var i=this.options,n=this.options.angleField,a=cn(i.data,n),o=cn(t,n);hs(a,n)||hs(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),N0({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return G0},e}(ot),Y0=["#FAAD14","#E8EDF3"],RP={percent:.2,color:Y0,animation:{}};function Dh(r){var e=At(ki(r)?r:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function $0(r){var e=r.chart,t=r.options,i=t.percent,n=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Dh(i));var s=L({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:n,color:J(a)?[a,Y0[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return te(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function zP(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function H0(r){return et($0,Pt({}),zP,wt,ht,Lt())(r)}var NP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return RP},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Dh(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return H0},e}(ot);function GP(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius;return e.coordinate("theta",{innerRadius:i,radius:n}),r}function X0(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=L({},u,{content:R(u.content)?l(o):u.content})),el(t,{statistic:b(b({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function W0(r){return et($0,Pt({}),GP,X0,wt,ht,Lt())(r)}var VP={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:{}},YP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return VP},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Dh(t)),X0({chart:this.chart,options:this.options},!0),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return W0},e}(ot);function Qr(r,e){return $P(r)||HP(r,e)||XP()}function $P(r){if(Array.isArray(r))return r}function HP(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 XP(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Oh(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 Wa(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 _P(){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;Ri(n,r,e,function(w,x){var S=Math.log(x),M=w*x;++a,o+=(x-o)/a,l+=(M-l)/a,c+=(w*M-c)/a,s+=(x*S-s)/a,u+=(M*S-u)/a,t||(wf&&(f=w))});var v=Wa(l/o,s/o,u/o,c/o),d=Qr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(x){return p*Math.exp(g*x)},m=Xa(h,f,y);return m.a=p,m.b=g,m.predict=y,m.rSquared=An(n,r,e,o,y),m}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;Ri(n,r,e,function(m,w){++a,o+=(m-o)/a,s+=(w-s)/a,l+=(m*w-l)/a,u+=(m*m-u)/a,t||(mh&&(h=m))});var f=Wa(o,s,l,u),v=Qr(f,2),d=v[0],p=v[1],g=function(w){return p*w+d},y=[[c,g(c)],[h,g(h)]];return y.a=p,y.b=d,y.predict=g,y.rSquared=An(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 qP(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 Bd=2,Rd=1e-12;function UP(){var r=function(a){return a[0]},e=function(a){return a[1]},t=.3;function i(n){for(var a=Oh(n,r,e,!0),o=Qr(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<=Bd;){for(var y=[0,f-1],m=0;ms[S]-w?x:S,F=0,T=0,k=0,E=0,I=0,B=1/Math.abs(s[M]-w||1),N=x;N<=S;++N){var Y=s[N],j=l[N],P=jP(Math.abs(w-Y)*B)*p[N],G=Y*P;F+=P,T+=G,k+=j*P,E+=j*G,I+=Y*G}var _=Wa(T/F,k/F,E/F,I/F),H=Qr(_,2),$=H[0],q=H[1];v[m]=$+q*w,d[m]=Math.abs(l[m]-v[m]),ZP(s,m+1,y)}if(g===Bd)break;var it=qP(d);if(Math.abs(it)=1?Rd:(rt=1-tt*tt)*rt}return QP(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 jP(r){return(r=1-r*r*r)*r*r}function ZP(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 QP(r,e,t,i){for(var n=r.length,a=[],o=0,s=0,l=[],u;of&&(f=x))});var d=Wa(s,l,u,c),p=Qr(d,2),g=p[0],y=p[1],m=function(S){return y*Math.log(S)/v+g},w=Xa(h,f,m);return w.a=y,w.b=g,w.predict=m,w.rSquared=An(a,r,e,l,m),w}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 q0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=Oh(n,r,e),o=Qr(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,m,w,x;for(y=0;yT&&(T=P))});var k=d-f*f,E=f*k-v*v,I=(g*f-p*v)/E,B=(p*k-g*v)/E,N=-I*f,Y=function(G){return G=G-u,I*G*G+B*G+N+c},j=Xa(F,T,Y);return j.a=I,j.b=B-2*I*u,j.c=N-B*u+I*u*u+c,j.predict=Y,j.rSquared=An(n,r,e,S,Y),j}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 JP(){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=q0().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=Oh(a,r,e),u=Qr(l,4),c=u[0],h=u[1],f=u[2],v=u[3],d=c.length,p=[],g=[],y=t+1,m=0,w=0,x=i?+i[0]:1/0,S=i?+i[1]:-1/0;Ri(a,r,e,function(Y,j){++w,m+=(j-m)/w,i||(YS&&(S=Y))});var M,F,T,k,E;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 eD(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=w))});var v=Wa(o,s,l,u),d=Qr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(x){return p*Math.pow(x,g)},m=Xa(h,f,y);return m.a=p,m.b=g,m.predict=y,m.rSquared=An(n,r,e,c,y),m}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 iD={exp:_P,linear:_0,loess:UP,log:KP,poly:JP,pow:rD,quad:q0};function nD(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 aD=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 wL(l,!1)},oD=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=z(l)?l:l(n),h=u;else{var f=iD[s]().x(function(v){return v[t]}).y(function(v){return v[i]});c=f(n),h=lD(s,c)}return[aD(c,r),h]},sD=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"?(nt(s)&&(nt(p("min"))||(g.min=u?0:s*2),nt(p("max"))||(g.max=u?s*2:0)),g):(nt(l)&&(nt(p("min"))||(g.min=c?0:l*2),nt(p("max"))||(g.max=c?l*2:0)),g)}return b(b({},i),(e={},e[n]=b(b({},i[n]),h(n,"x")),e[a]=b(b({},i[a]),h(a,"y")),e))};function lD(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"}},FD={appendPadding:2,tooltip:b({},tx),animation:{}};function TD(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=zi(i);e.data(u);var c=L({},r,{options:{xField:Ea,yField:Ji,area:{color:n,style:a},line:s,point:o}}),h=L({},c,{options:{tooltip:!1}}),f=L({},c,{options:{tooltip:!1,state:l}});return nl(c),Mn(h),Ee(f),e.axis(!1),e.legend(!1),r}function Fn(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.data,s=zi(o);return et(Pt((e={},e[Ea]=n,e[Ji]=a,e),(t={},t[Ea]={type:"cat"},t[Ji]=wh(s,Ji),t)))(r)}function ex(r){return et(Te("areaStyle"),TD,Fn,Vt,ht,wt,Lt())(r)}var ED={appendPadding:2,tooltip:b({},tx),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},kD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return ED},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ex},e}(ot);function LD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=zi(i);e.data(s);var l=L({},r,{options:{xField:Ea,yField:Ji,widthRatio:o,interval:{style:a,color:n}}});return te(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function rx(r){return et(ht,Te("columnStyle"),LD,Fn,Vt,wt,Lt())(r)}var ID={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"}}},PD={appendPadding:2,tooltip:b({},ID),animation:{}},DD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return PD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return rx},e}(ot);function OD(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=zi(i);e.data(l);var u=L({},r,{options:{xField:Ea,yField:Ji,line:{color:n,style:a},point:o}}),c=L({},u,{options:{tooltip:!1,state:s}});return Mn(u),Ee(c),e.axis(!1),e.legend(!1),r}function ix(r){return et(OD,Fn,ht,Vt,wt,Lt())(r)}var BD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return FD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ix},e}(ot),RD={line:f0,pie:G0,column:cl,bar:g0,area:v0,gauge:I0,"tiny-line":ix,"tiny-column":rx,"tiny-area":ex,"ring-progress":W0,progress:H0,scatter:j0,histogram:D0,funnel:M0,stock:J0},zD={line:O0,pie:V0,column:y0,bar:BI,area:fI,gauge:dP,"tiny-line":BD,"tiny-column":DD,"tiny-area":kD,"ring-progress":YP,progress:NP,scatter:yD,histogram:bP,funnel:oP,stock:AD},ND={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Ku(r,e,t){var i=zD[r];if(!i){console.error("could not find ".concat(r," plot"));return}var n=RD[r];n({chart:e,options:L({},i.getDefaultOptions(),A(ND,r,{}),t)})}function GD(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,m){g[m]=gt(y,de)}),g=L({},l,g),p.scale(g),u?C(u,function(y,m){p.axis(m,y)}):p.axis(!1),p.coordinate(c),C(d,function(y){var m=xe({chart:p,options:y}).ext,w=y.adjust;w&&m.geometry.adjust(w)}),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](b({},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 VD(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){Ku(s,e,b(b({},c),{data:a}));return}var v=e.createView(b({region:l},gt(c,l0)));f&&v.interaction("tooltip"),Ku(s,v,b({data:a},c))}),r}function YD(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function $D(r){return et(wt,GD,VD,Tt,wt,ht,Vt,YD,Lt())(r)}function HD(r,e){var t=r.getModel(),i=t.data,n;return z(i)?n=i[0][e]:n=i[e],n}function XD(r){var e=ss(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 WD=function(r){O(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=Ft(ss(h),function(g){var y=!1,m=!1,w=z(c)?A(c[0],d):A(c,d);return HD(g,d)===w?y=!0:m=!0,{element:g,view:h,active:y,inactive:m}});u.push.apply(u,p)}})}return u},e.prototype.showTooltip=function(t){var i=kd(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=kd(this.context.view);C(t,function(i){i.hideTooltip()})},e.prototype.active=function(t){var i=Xn(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=Xn(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=Xn(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=Xn(this.context.view);C(t,function(i){XD(i)})},e}(Mt);Z("association",WD);at("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return $D},e})(ot);var zd;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(zd||(zd={}));var ir="first-axes-view",nr="second-axes-view",di="series-field-key";function nx(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 yr(r){return r!=="vertical"}function _D(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(yr(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)),yr(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)),!yr(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(!yr(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 qD(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=nx(n,a,di,i,yr(c));u?e.legend(di,u):u===!1&&e.legend(!1);var f,v,d=h[0],p=h[1];yr(c)?(f=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:ir}),f.coordinate().transpose().reflect("x"),v=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:nr}),v.coordinate().transpose(),f.data(d),v.data(p)):(f=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:ir}),v=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:nr}),v.coordinate().reflect("y"),f.data(d),v.data(p));var g=L({},r,{chart:f,options:{widthRatio:l,xField:n,yField:a[0],seriesField:di,interval:{color:o,style:s}}});te(g);var y=L({},r,{chart:v,options:{xField:n,yField:a[1],seriesField:di,widthRatio:l,interval:{color:o,style:s}}});return te(y),r}function UD(r){var e,t,i,n=r.options,a=r.chart,o=n.xAxis,s=n.yAxis,l=n.xField,u=n.yField,c=ut(a,ir),h=ut(a,nr),f={};return gn((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[di]={sync:!0,formatter:function(v){return A(f,v,v)}},e)),Pt((t={},t[l]=o,t[u[0]]=s[u[0]],t))(L({},r,{chart:c})),Pt((i={},i[l]=o,i[u[1]]=s[u[1]],i))(L({},r,{chart:h})),r}function jD(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=ut(e,ir),u=ut(e,nr);return(i==null?void 0:i.position)==="bottom"?u.axis(a,b(b({},i),{label:{formatter:function(){return""}}})):u.axis(a,!1),i===!1?l.axis(a,!1):l.axis(a,b({position:yr(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 ZD(r){var e=r.chart;return Tt(L({},r,{chart:ut(e,ir)})),Tt(L({},r,{chart:ut(e,nr)})),r}function QD(r){var e=r.chart,t=r.options,i=t.yField,n=t.yAxis;return Li(L({},r,{chart:ut(e,ir),options:{yAxis:n[i[0]]}})),Li(L({},r,{chart:ut(e,nr),options:{yAxis:n[i[1]]}})),r}function KD(r){var e=r.chart;return ht(L({},r,{chart:ut(e,ir)})),ht(L({},r,{chart:ut(e,nr)})),ht(r),r}function JD(r){var e=r.chart;return wt(L({},r,{chart:ut(e,ir)})),wt(L({},r,{chart:ut(e,nr)})),r}function tO(r){var e=this,t,i,n=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=ut(n,ir),c=ut(n,nr),h=Jt(u,"interval"),f=Jt(c,"interval");if(!o)h.label(!1),f.label(!1);else{var v=o.callback,d=Ct(o,["callback"]);d.position||(d.position="middle"),d.offset===void 0&&(d.offset=2);var p=b({},d);if(yr(l)){var g=((t=p.style)===null||t===void 0?void 0:t.textAlign)||(d.position==="middle"?"center":"left");d.style=L({},d.style,{textAlign:g});var y={left:"right",right:"left",center:"center"};p.style=L({},p.style,{textAlign:y[g]})}else{var m={top:"bottom",bottom:"top",middle:"middle"};typeof d.position=="string"?d.position=m[d.position]:typeof d.position=="function"&&(d.position=function(){for(var S=[],M=0;M1?"".concat(e,"_").concat(t):"".concat(e)}function sx(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 m,w=y===0?g:v[y]-v[y-1];s.push((m={rKey:"".concat(n,"_").concat(y)},m[t]=t?h[t]:String(f),m[n]=w,m))});var d=[h[i]].flat();d.forEach(function(g,y){var m;s.push((m={mKey:Nd(d,i,y)},m[t]=t?h[t]:String(f),m[i]=g,m))});var p=[h[a]].flat();p.forEach(function(g,y){var m;s.push((m={tKey:Nd(p,a,y)},m[t]=t?h[t]:String(f),m[a]=g,m))}),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 hO(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=sx(t),v=f.min,d=f.max,p=f.ds;e.data(p);var g=L({},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")}}});te(g),e.geometries[0].tooltip(!1);var y=L({},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")}}});te(y);var m=L({},r,{options:{xField:s,yField:n,seriesField:"tKey",label:A(h,"target"),point:{color:A(l,"target"),style:A(i,"target"),size:W(A(c,"target"))?function(w){return A(c,"target")(w)/2}:A(c,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Ee(m),u==="horizontal"&&e.coordinate().transpose(),b(b({},r),{ext:{data:{min:v,max:d}}})}function lx(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 et(Pt((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 fO(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 vO(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 dO(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),b({layout:[{type:"limit-in-plot"}]},Ht(i.range))):l.label(!1),A(i,"measure")?u.label("".concat(n),b({layout:[{type:"limit-in-plot"}]},Ht(i.measure))):u.label(!1),A(i,"target")?c.label("".concat(a),b({layout:[{type:"limit-in-plot"}]},Ht(i.target))):c.label(!1),r}function pO(r){et(hO,lx,fO,vO,ht,dO,Vt,Tt,wt)(r)}var gO=L({},ot.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){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return gO},e.prototype.changeData=function(t){this.updateOption({data:t});var i=sx(this.options),n=i.min,a=i.max,o=i.ds;lx({options:this.options,ext:{data:{min:n,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return pO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var yO={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 mO(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 xO(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&&W(e.sortBy)&&(i=e.sortBy),i&&r.sort(i)}function wO(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 bO(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 SO(r){return xt({},yO,r)}function CO(r,e){var t=SO(r),i={},n=e.nodes,a=e.links;n.forEach(function(l){var u=t.id(l);i[u]=l}),mO(i,a,t),xO(n,t);var o=wO(n,t),s=bO(i,a,t);return{nodes:o,links:s}}var ux="x",cx="y",hx="name",fx="source",MO={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 AO(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=jm(t,i,n,a),h=CO({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},c),f=h.nodes,v=h.links,d=f.map(function(g){return b(b({},gt(g,Q(["id","x","y","name"],u,!0))),{isNode:!0})}),p=v.map(function(g){return b(b({source:g.source.name,target:g.target.name,name:g.source.name||g.target.name},gt(g,Q(["x","y","value"],u,!0))),{isNode:!1})});return b(b({},r),{ext:b(b({},r.ext),{chordData:{nodesData:d,edgesData:p}})})}function FO(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[hx]={sync:"color"},e[fx]={sync:"color"},e)),r}function TO(r){var e=r.chart;return e.axis(!1),r}function EO(r){var e=r.chart;return e.legend(!1),r}function kO(r){var e=r.chart,t=r.options,i=t.tooltip;return e.tooltip(i),r}function LO(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function IO(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),al({chart:s,options:{xField:ux,yField:cx,seriesField:hx,polygon:{style:n},label:a,tooltip:o}}),r}function PO(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:ux,yField:cx,seriesField:fx,edge:{style:n,shape:"arc"},tooltip:a};return a0({chart:o,options:s}),r}function DO(r){var e=r.chart,t=r.options,i=t.animation;return Ya(e,i,dL(e)),r}function OO(r){return et(ht,AO,LO,FO,TO,EO,kO,PO,IO,Tt,ri,DO)(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return MO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return OO},e})(ot);var BO=["x","y","r","name","value","path","depth"],RO={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}},Gd=4,zO=0,Vd=5,Yd="drilldown-bread-crumb",NO={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},ka="hierarchy-data-transform-params",GO=function(r){O(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=NO,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+Vd*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+zO,o.y+n.height+Vd]]);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(b({data:t.data},t[ka]));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(b({data:l},t[ka]))}),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=Gt(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 L(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:Yd});var a=0;n.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:"".concat(Yd,"_").concat(o.name,"_text"),attrs:b(b({text:s===0&&!R(i.rootText)?i.rootText:o.name},i.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+Gd,l.on("click",function(f){var v,d=f.target.get("id");if(d!==((v=Gt(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=Gt(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 jO(){return this.eachAfter(UO)}function ZO(r,e){let t=-1;for(const i of this)r.call(e,i,++t,this);return this}function QO(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 KO(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 eB(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function rB(r){for(var e=this,t=iB(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 iB(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 nB(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function aB(){return Array.from(this)}function oB(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function sB(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}function*lB(){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 vn(o[s])),a.parent=i,a.depth=i.depth+1;return t.eachBefore(vx)}function uB(){return Tn(this).eachBefore(fB)}function cB(r){return r.children}function hB(r){return Array.isArray(r)?r[1]:null}function fB(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function vx(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function vn(r){this.data=r,this.depth=this.height=0,this.parent=null}vn.prototype=Tn.prototype={constructor:vn,count:jO,each:ZO,eachAfter:KO,eachBefore:QO,find:JO,sum:tB,sort:eB,path:rB,ancestors:nB,descendants:aB,leaves:oB,links:sB,copy:uB,[Symbol.iterator]:lB};function vB(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function dB(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 dx(r){for(var e=0,t=(r=dB(Array.from(r))).length,i=[],n,a;e0&&t*t>i*i+n*n}function jl(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 Hd(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 Xd(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 Eo(r){this._=r,this.next=null,this.previous=null}function yx(r){if(!(n=(r=vB(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;$d(t,e,i=r[2]),e=new Eo(e),t=new Eo(t),i=new Eo(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=fs(i),t):r},t.parentId=function(i){return arguments.length?(e=fs(i),t):e},t}function AB(r,e){return r.parent===e.parent?1:2}function Ql(r){var e=r.children;return e?e[0]:r.t}function Kl(r){var e=r.children;return e?e[e.length-1]:r.t}function FB(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 TB(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 EB(r,e,t){return r.a.parent===e.parent?r.a:t}function zo(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}zo.prototype=Object.create(vn.prototype);function kB(r){for(var e=new zo(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 zo(a[o],o)),n.parent=t;return(e.parent=new zo(null,0)).children=[e],e}function LB(){var r=AB,e=1,t=1,i=null;function n(u){var c=kB(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(m){m.xf.x&&(f=m),m.depth>v.depth&&(v=m)});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(m){m.x=(m.x+p)*g,m.y=m.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){TB(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,m=d.m,w=p.m,x;d=Kl(d),f=Ql(f),d&&f;)p=Ql(p),v=Kl(v),v.a=u,x=d.z+m-f.z-g+r(d._,f._),x>0&&(FB(EB(d,u,h),u,x),g+=x,y+=x),m+=d.m,g+=f.m,w+=p.m,y+=v.m;d&&!Kl(v)&&(v.t=d,v.m+=m-y),f&&!Ql(p)&&(p.t=f,p.m+=g-w,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 fl(r,e,t,i,n){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-t)/r.value;++sm&&(m=u),M=g*g*S,w=Math.max(m/M,M/y),w>x){g-=u;break}x=w}o.push(l={value:g,dice:v1?i:1)},t}(bx);function Mx(){var r=Cx,e=!1,t=1,i=1,n=[0],a=ui,o=ui,s=ui,l=ui,u=ui;function c(f){return f.x0=f.y0=0,f.x1=t,f.y1=i,f.eachBefore(h),n=[0],e&&f.eachBefore(xx),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 m=a[h];m.x0=d,m.y0=p,m.x1=g,m.y1=y;return}for(var w=u[h],x=v/2+w,S=h+1,M=f-1;S>>1;u[F]y-p){var E=v?(d*k+g*T)/v:g;c(h,S,T,d,p,E,y),c(S,f,k,E,p,g,y)}else{var I=v?(p*k+y*T)/v:y;c(h,S,T,d,p,g,I),c(S,f,k,d,I,g,y)}}}function PB(r,e,t,i,n){(r.depth&1?fl:_a)(r,e,t,i,n)}const DB=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}(bx),Ud=Object.freeze(Object.defineProperty({__proto__:null,cluster:qO,hierarchy:Tn,pack:mx,packEnclose:dx,packSiblings:mB,partition:wx,stratify:MB,tree:LB,treemap:Mx,treemapBinary:IB,treemapDice:_a,treemapResquarify:DB,treemapSlice:fl,treemapSliceDice:PB,treemapSquarify:Cx},Symbol.toStringTag,{value:"Module"}));var Ax="nodeIndex",Fx="childNodeCount",Bh="nodeAncestor",Jl="Invalid field: it must be a string!";function Rh(r,e){var t=r.field,i=r.fields;if(J(t))return t;if(z(t))return console.warn(Jl),t[0];if(console.warn("".concat(Jl," will try to get fields instead.")),J(i))return i;if(z(i)&&i.length)return i[0];if(e)return e;throw new TypeError(Jl)}function zh(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=Qt((((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=L({},l.data,b(b(b({},gt(l.data,n)),{path:c}),l));f.ext=t,f[ka]={hierarchyConfig:t,rawFields:n,enableDrillDown:a},s.push(f)}),s}function Ex(r,e,t){var i=bh([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,m=s+v,w=[p,g,y,m],x=f<0?0:f;return{finalPadding:w,finalSize:x}}function RB(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return L({options:{size:function(i){var n=i.r;return n*t}}},r)}function zB(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=tl(t.appendPadding,A(o,["breadCrumb","position"]));s=bh([l,a])}var u=Ex(n,s,i).finalPadding;return t.padding=u,t.appendPadding=0,r}function NB(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=Tx({data:t.data,hierarchyConfig:l,enableDrillDown:f==null?void 0:f.enabled,rawFields:h});e.data(v);var d=e.viewBBox,p=Ex(i,n,d).finalSize,g=function(y){var m=y.r;return m*p};return u&&(g=function(y){return y[u]*p}),Ee(L({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:Q(Q([],BO,!0),h,!0),point:{color:a,style:s,shape:"circle",size:g}}})),r}function GB(r){return et(Pt({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function VB(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=L({},{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 b(b({},o),{name:l(o.data.name),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function YB(r){var e=r.chart;return e.axis(!1),r}function $B(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?L({},r,{interactions:Q(Q([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Tx,enableDrillDown:!0}}],!1)}):r}function HB(r){var e=r.chart,t=r.options;return Tt({chart:e,options:$B(t)}),r}function XB(r){return et(Te("pointStyle"),RB,zB,ht,GB,NB,YB,Cn,VB,HB,wt,Lt())(r)}function jd(r){var e=A(r,["event","data","data"],{});return z(e.children)&&e.children.length>0}function Zd(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?gL(v,c,h):!0}),r.getRootView().render(!0)}};function UB(r){var e,t=r.options,i=t.geometryOptions,n=i===void 0?[]:i,a=t.xField,o=t.yField,s=sc(n,function(l){var u=l.geometry;return u===Ii.Line||u===void 0});return L({},{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:Kd(o,t.yAxis),geometryOptions:[Qd(a,o[0],n[0]),Qd(a,o[1],n[1])],annotations:Kd(o,t.annotations)}})}function jB(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:ke},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:Le}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return i.createView({id:l.id})}),r}function ZB(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[b(b({},a[0]),{id:ke,data:o[0],yField:n[0]}),b(b({},a[1]),{id:Le,data:o[1],yField:n[1]})];return l.forEach(function(u){var c=u.id,h=u.data,f=u.yField,v=Nh(u)&&u.isPercent,d=v?u0(h,f,i,f):h,p=ut(e,c).data(d),g=v?b({formatter:function(y){return{name:y[u.seriesField]||f,value:(Number(y[f])*100).toFixed(2)+"%"}}},s):s;qB({chart:p,options:{xField:i,yField:f,tooltip:g,geometryOption:u}})}),r}function QB(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=ut(t,l===0?ke:Le);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 KB(r){var e,t,i=r.chart,n=r.options,a=n.xAxis,o=n.yAxis,s=n.xField,l=n.yField;return Pt((e={},e[s]=a,e[l[0]]=o[0],e))(L({},r,{chart:ut(i,ke)})),Pt((t={},t[s]=a,t[l[1]]=o[1],t))(L({},r,{chart:ut(i,Le)})),r}function JB(r){var e=r.chart,t=r.options,i=ut(e,ke),n=ut(e,Le),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],Jd(l[0],dn.Left)),n.axis(a,!1),n.axis(o[1],Jd(l[1],dn.Right)),r}function tR(r){var e=r.chart,t=r.options,i=t.tooltip,n=ut(e,ke),a=ut(e,Le);return e.tooltip(i),n.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function eR(r){var e=r.chart;return Tt(L({},r,{chart:ut(e,ke)})),Tt(L({},r,{chart:ut(e,Le)})),r}function rR(r){var e=r.chart,t=r.options,i=t.annotations,n=A(i,[0]),a=A(i,[1]);return Lt(n)(L({},r,{chart:ut(e,ke),options:{annotations:n}})),Lt(a)(L({},r,{chart:ut(e,Le),options:{annotations:a}})),r}function iR(r){var e=r.chart;return ht(L({},r,{chart:ut(e,ke)})),ht(L({},r,{chart:ut(e,Le)})),ht(r),r}function nR(r){var e=r.chart;return wt(L({},r,{chart:ut(e,ke)})),wt(L({},r,{chart:ut(e,Le)})),r}function aR(r){var e=r.chart,t=r.options,i=t.yAxis;return Li(L({},r,{chart:ut(e,ke),options:{yAxis:i[0]}})),Li(L({},r,{chart:ut(e,Le),options:{yAxis:i[1]}})),r}function oR(r){var e=r.chart,t=r.options,i=t.legend,n=t.geometryOptions,a=t.yField,o=t.data,s=ut(e,ke),l=ut(e,Le);if(i===!1)e.legend(!1);else if(yt(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?tp({view:s,geometryOption:n[0],yField:a[0],legend:u}):[],f=o[1].length?tp({view:l,geometryOption:n[1],yField:a[1],legend:c}):[];e.legend(L({},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=bp(a,function(x){return x===d});if(y>-1){var m=A(ut(e,g),"geometries");C(m,function(x){x.changeVisible(!f.item.unchecked)})}}else{var w=A(e.getController("legend"),"option.items",[]);C(e.views,function(x){var S=x.getGroupScales();C(S,function(M){M.values&&M.values.indexOf(d)>-1&&x.filter(M.field,function(F){var T=$e(w,function(k){return k.value===F});return!T.unchecked})}),e.render(!0)})}}})}return r}function sR(r){var e=r.chart,t=r.options,i=t.slider,n=ut(e,ke),a=ut(e,Le);return i&&(n.option("slider",i),n.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;Ot(l,u)||ep(a,l)}),e.once("afterpaint",function(){if(!en(i)){var o=i.start,s=i.end;(o||s)&&ep(a,[o,s])}})),r}function lR(r){return et(UB,jB,iR,ZB,KB,JB,aR,tR,eR,rR,nR,QB,oR,sR)(r)}(function(r){O(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 L({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return lR},e})(ot);function uR(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]=gt(f,de)}),h=L({},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](b({},f))}),Ya(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function cR(r){var e=r.chart,t=r.options,i=t.type,n=t.data,a=t.fields,o=t.eachView,s=ms(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(n),e.facet(i,b(b({},s),{fields:a,eachView:function(l,u){var c=o(l,u);if(c.geometries)uR(l,c);else{var h=c,f=h.options;f.tooltip&&l.interaction("tooltip"),Ku(h.type,l,f)}}})),r}function hR(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]=gt(f,de)}),h=L({},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](b({},f))}),r}function fR(r){return et(ht,cR,hR)(r)}var vR={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){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return vR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return fR},e})(ot);function dR(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=Ne(f,[a,o,s]),y=g.fields,m=g.formatter,w=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]"):w=u),xe(L({},r,{options:{type:p,colorField:s,tooltipFields:y,shapeField:l||"",label:void 0,mapping:{tooltip:m,shape:c&&(l?function(x){var S=i.map(function(k){return k[l]}),M=(d==null?void 0:d[l])||{},F=M.min,T=M.max;return F=nt(F)?F:Math.min.apply(Math,S),T=nt(T)?T:Math.max.apply(Math,S),[c,(A(x,l)-F)/(T-F),w]}:function(){return[c,1,w]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:v}}})),r}function pR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function gR(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 yR(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 mR(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.type,o=Jt(e,a==="density"?"heatmap":"polygon");if(!i)o.label(!1);else if(n){var s=i.callback,l=Ct(i,["callback"]);o.label({fields:[n],callback:s,cfg:Ht(l)})}return r}function xR(r){var e,t,i=r.chart,n=r.options,a=n.coordinate,o=n.reflect,s=L({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 wR(r){return et(ht,Te("heatmapStyle"),pR,xR,dR,gR,yR,Vt,mR,Lt(),Tt,wt,ri)(r)}var bR=L({},ot.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"}}}}});dt("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:b(b(b({x:n,y:a,r:v},r.defaultStyle),r.style),{fill:d})});return p}});dt("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:b(b(b({x:n-v/2,y:a-v/2,width:v,height:v},r.defaultStyle),r.style),{fill:d})});return p}});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return bR},e.prototype.getSchemaAdaptor=function(){return wR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var SR="liquid";function Lx(r){return[{percent:r,type:SR}]}function CR(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(Lx(i));var h=t.color||e.getTheme().defaultColor,f=L({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:n,shape:"liquid-fill-gauge"}}}),v=te(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 Ix(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=L({},l,{content:R(l.content)?s(a):l.content})),el(t,{statistic:b(b({},n),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function MR(r){return et(ht,Te("liquidStyle"),CR,Ix,Pt({}),wt,Tt)(r)}var AR={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"},rp=5e3;function ip(r,e,t){return r+(e-r)*t}function FR(r){var e=b({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function TR(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=xt({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),nt(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function ER(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 kR(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 B=e.addGroup({name:"waves"}),N=B.setClip({type:"path",attrs:{path:I}});LR(w.x,w.y,1-r.points[1].y,g,F,B,N,M*2,y,h)}return e.addShape("path",{name:"distance",attrs:{path:I,fill:"transparent",lineWidth:d+p*2,stroke:c==="transparent"?"#fff":c}}),e.addShape("path",{name:"wrap",attrs:xt(T,{path:I,fill:"transparent",lineWidth:d})}),e}});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="liquid",t}return e.getDefaultOptions=function(){return AR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Lx(t)),Ix({chart:this.chart,options:this.options},!0),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return MR},e})(ot);function RR(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=L({},r,{options:{line:{style:n,color:a},point:o&&b({color:a},o),area:s&&b({color:a},s),label:void 0}}),u=L({},l,{options:{tooltip:!1}}),c=(o==null?void 0:o.state)||t.state,h=L({},l,{options:{tooltip:!1,state:c}});return Mn(l),Ee(h),nl(u),r}function zR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function NR(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 GR(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 VR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Jt(e,"line");if(!i)a.label(!1);else{var o=i.callback,s=Ct(i,["callback"]);a.label({fields:[n],callback:o,cfg:Ht(s)})}return r}function YR(r){return et(RR,zR,ht,NR,GR,Cn,Vt,VR,Tt,wt,Lt())(r)}var $R=function(r){O(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=R(a)?u:a;c.push(b(b({},d),{name:d.title,title:p}))}else if(n&&d){var p=R(a)?d.name||u:a;c.push(b(b({},d),{name:d.title,title:p}))}})}),c}return[]},e}(Vy);Di("radar-tooltip",$R);var HR=function(r){O(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}(Mt);Z("radar-tooltip",HR);at("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var XR=function(r){O(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 L({},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 YR},e}(ot);function WR(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 _R(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(b({},n))}),i}function qR(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=cn(c,u);e.data(f);var v=L({},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 te(v),s==="line"&&Ee({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:n}}}),r}function Px(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?_R(a,n,i):a,h=cn(c,i);return et(Pt((e={},e[i]={min:0,max:WR(u,i,h)},e)))(r)}function UR(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 jR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis;return e.axis(i,n),r}function ZR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Jt(e,"interval");if(!i)a.label(!1);else{var o=i.callback,s=Ct(i,["callback"]);a.label({fields:[n],callback:o,cfg:b(b({},Ht(s)),{type:"polar"})})}return r}function QR(r){return et(Te("barStyle"),qR,Px,jR,UR,Tt,wt,ht,Vt,Cn,Lt(),ZR)(r)}var KR=L({},ot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return KR},e.prototype.changeData=function(t){this.updateOption({data:t}),Px({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return QR},e})(ot);function JR(r){var e=r.chart,t=r.options,i=t.data,n=t.sectorStyle,a=t.shape,o=t.color;return e.data(i),et(te)(L({},r,{options:{marginRatio:1,interval:{style:n,color:o,shape:a}}})),r}function tz(r){var e=r.chart,t=r.options,i=t.label,n=t.xField,a=Jt(e,"interval");if(i===!1)a.label(!1);else if(yt(i)){var o=i.callback,s=i.fields,l=Ct(i,["callback","fields"]),u=l.offset,c=l.layout;(u===void 0||u>=0)&&(c=c?z(c)?c:[c]:[],l.layout=Qt(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 Ar(_e.WARN,i===null,"the label option must be an Object."),a.label({fields:[n]});return r}function ez(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 rz(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 iz(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function nz(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 az(r){et(Te("sectorStyle"),JR,iz,tz,rz,nz,ez,Vt,Tt,wt,ht,Lt(),ri)(r)}var oz=L({},ot.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){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return oz},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 az},e})(ot);var ap="x",op="y",sp="name",vl="nodes",dl="edges";function sz(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 lz(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 uz(r,e,t){if(!z(r))return[];var i=[],n=sz(r,e,t),a=lz(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 cz(r){return r.target.depth}function hz(r){return r.depth}function fz(r,e){return e-1-r.height}function Gh(r,e){return r.sourceLinks.length?r.depth:e-1}function vz(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?Fw(r.sourceLinks,cz)-1:0}function ko(r){return function(){return r}}function tu(r,e){for(var t=0,i=0;i_)throw new Error("circular link");H=$,$=new Set}if(u)for(var it=Math.max(eu(G,function(rt){return rt.depth})+1,0),st=void 0,tt=0;tt_)throw new Error("circular link");H=$,$=new Set}}function x(P){for(var G=P.nodes,_=Math.max(eu(G,function(It){return It.depth})+1,0),H=(t-r-n)/(_-1),$=new Array(_).fill(0).map(function(){return[]}),q=0,it=G;q0){var ii=(rt/mt-tt.y0)*G;tt.y0+=ii,tt.y1+=ii,B(tt)}}c===void 0&&q.sort(vs),q.length&&k(q,_)}}function T(P,G,_){for(var H=P.length,$=H-2;$>=0;--$){for(var q=P[$],it=0,st=q;it0){var ii=(rt/mt-tt.y0)*G;tt.y0+=ii,tt.y1+=ii,B(tt)}}c===void 0&&q.sort(vs),q.length&&k(q,_)}}function k(P,G){var _=P.length>>1,H=P[_];I(P,H.y0-o,_-1,G),E(P,H.y1+o,_+1,G),I(P,i,P.length-1,G),E(P,e,0,G)}function E(P,G,_,H){for(;_1e-6&&($.y0+=q,$.y1+=q),G=$.y1+o}}function I(P,G,_,H){for(;_>=0;--_){var $=P[_],q=($.y1-G)*H;q>1e-6&&($.y0-=q,$.y1-=q),G=$.y0-o}}function B(P){var G=P.sourceLinks,_=P.targetLinks;if(h===void 0){for(var H=0,$=_;H<$.length;H++){var q=$[H].source.sourceLinks;q.sort(up)}for(var it=0,st=G;it "+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=Dx(this.options,this.chart.width,this.chart.height),n=i.nodes,a=i.edges,o=ut(this.chart,vl),s=ut(this.chart,dl);o.changeData(n),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return Pz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var Vh="ancestor-node",Ox="value",La="path",Oz=[La,Ax,Bh,Fx,"name","depth","height"],Bz=L({},ot.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}}),Rz={field:"value",size:[1,1],round:!1,padding:0,sort:function(r,e){return e.value-r.value},as:["x","y"],ignoreParentValue:!0};function zz(r,e){e=xt({},Rz,e);var t=e.as;if(!z(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=Rh(e)}catch(l){console.warn(l)}var n=function(l){return wx().size(e.size).round(e.round).padding(e.padding)(Tn(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]})}),zh(a)}var Nz={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 Gz(r,e){return r==="treemapSquarify"?Ud[r].ratio(e):Ud[r]}function Bx(r,e){e=xt({},Nz,e);var t=e.as;if(!z(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=Rh(e)}catch(u){console.warn(u)}var n=Gz(e.tile,e.ratio),a=function(u){return Mx().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)(Tn(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]})}),zh(o)}function Rx(r){var e=r.data,t=r.colorField,i=r.rawFields,n=r.hierarchyConfig,a=n===void 0?{}:n,o=a.activeDepth,s={partition:zz,treemap:Bx},l=r.seriesField,u=r.type||"partition",c=s[u](e,b(b({field:l||"value"},ms(a,["activeDepth"])),{type:"hierarchy.".concat(u),as:["x","y"]})),h=[];return c.forEach(function(f){var v,d,p,g,y,m;if(f.depth===0||o>0&&f.depth>o)return null;for(var w=f.data.name,x=b({},f);x.depth>1;)w="".concat((d=x.parent.data)===null||d===void 0?void 0:d.name," / ").concat(w),x=x.parent;var S=b(b(b({},gt(f.data,Q(Q([],i||[],!0),[a.field],!1))),(v={},v[La]=w,v[Vh]=x.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]||((m=(y=f.parent)===null||y===void 0?void 0:y.data)===null||m===void 0?void 0:m[t])),S.ext=a,S[ka]={hierarchyConfig:a,colorField:t,rawFields:i},h.push(S)}),h}function Vz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=n===void 0?Vh:n,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=t.shape,c=Rx(t);e.data(c);var h;return o&&(h=function(f){return L({},{fillOpacity:Math.pow(.85,f.depth)},W(o)?o(f):o)}),al(L({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:Mi(Q(Q([],Oz,!0),l,!0)),polygon:{color:i,style:h,shape:u}}})),r}function Yz(r){var e=r.chart;return e.axis(!1),r}function $z(r){var e=r.chart,t=r.options,i=t.label,n=Jt(e,"polygon");if(!i)n.label(!1);else{var a=i.fields,o=a===void 0?["name"]:a,s=i.callback,l=Ct(i,["fields","callback"]);n.label({fields:o,callback:s,cfg:Ht(l)})}return r}function Hz(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 Xz(r){var e,t=r.options,i=t.hierarchyConfig,n=t.meta;return et(Pt({},(e={},e[Ox]=A(n,A(i,["field"],"value")),e)))(r)}function Wz(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=L({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,[La,"formatter"],function(c){return c}),u=A(s,[Ox,"formatter"],function(c){return c});return b(b({},o),{name:l(o.data[La]),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function _z(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?L({},r,{interactions:Q(Q([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Rx}}],!1)}):r}function qz(r){var e=r.chart,t=r.options,i=t.drilldown;return Tt({chart:e,options:_z(t)}),i!=null&&i.enabled&&(e.appendPadding=tl(e.appendPadding,A(i,["breadCrumb","position"]))),r}function Uz(r){return et(ht,Te("sunburstStyle"),Vz,Yz,Xz,Cn,Hz,Wz,$z,qz,wt,Lt())(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return Bz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Uz},e.SUNBURST_ANCESTOR_FIELD=Vh,e.SUNBURST_PATH_FIELD=La,e.NODE_ANCESTORS_FIELD=Bh,e})(ot);function zx(r,e){if(z(r))return r.find(function(t){return t.type===e})}function Nx(r,e){var t=zx(r,e);return t&&t.enable!==!1}function Yh(r){var e=r.interactions,t=r.drilldown;return A(t,"enabled")||Nx(e,"treemap-drill-down")}function jz(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 $h(r){var e=r.data,t=r.colorField,i=r.enableDrillDown,n=r.hierarchyConfig,a=Bx(e,b(b({},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&&z(e.path)?l.concat(e.path.slice(1)):l,c=Object.assign({},s.data,b({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[ka]={hierarchyConfig:n,colorField:t,enableDrillDown:i},o.push(c)}),o}function Zz(r){var e=r.options,t=e.colorField;return L({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(i){return{name:i.name,value:i.value}}}}},r)}function Qz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=$h({data:t.data,colorField:t.colorField,enableDrillDown:Yh(t),hierarchyConfig:o});return e.data(l),al(L({},r,{options:{xField:"x",yField:"y",seriesField:n,rawFields:s,polygon:{color:i,style:a}}})),e.coordinate().reflect("y"),r}function Kz(r){var e=r.chart;return e.axis(!1),r}function Jz(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t,n=Yh(r);return n?L({},r,{interactions:Q(Q([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:$h}}],!1)}):r}function tN(r){var e=r.chart,t=r.options,i=t.interactions,n=t.drilldown;Tt({chart:e,options:Jz(t)});var a=zx(i,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=Yh(t);return o&&(e.appendPadding=tl(e.appendPadding,A(n,["breadCrumb","position"]))),r}function eN(r){return et(Zz,ht,Te("rectStyle"),Qz,Kz,Cn,Vt,tN,wt,Lt())(r)}var rN={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){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return rN},e.prototype.changeData=function(t){var i=this.options,n=i.colorField,a=i.interactions,o=i.hierarchyConfig;this.updateOption({data:t});var s=$h({data:t,colorField:n,enableDrillDown:Nx(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),jz(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return eN},e})(ot);var br="id",tc="path",iN={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 pl(r){if(r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var nN=_s("element-active"),aN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(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}(nN),oN=_s("element-highlight"),sN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(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}(oN),lN=_s("element-selected"),uN=_s("element-single-selected"),cN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(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}(lN),hN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(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}(uN);Z("venn-element-active",aN);Z("venn-element-highlight",sN);Z("venn-element-selected",cN);Z("venn-element-single-selected",hN);at("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]});at("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]});at("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]});at("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]});at("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"]}]});at("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 fN=function(r){O(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}(Zs);Na("venn",fN);var ia=` +\v\f\r   ᠎              \u2028\u2029`,vN=new RegExp("([a-z])["+ia+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+ia+"]*,?["+ia+"]*)+)","ig"),dN=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+ia+"]*,?["+ia+"]*","ig");function pN(r){if(!r)return null;if(aw(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(vN,function(i,n,a){var o=[],s=n.toLowerCase();if(a.replace(dN,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 gN(r){return L({},r.defaultStyle,{fill:r.color},r.style)}dt("schema","venn",{draw:function(r,e){var t=r.data,i=pN(t[tc]),n=gN(r),a=e.addGroup({name:"venn-shape"});a.addShape("path",{attrs:b(b({},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 yN=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}},fp={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)))}},mN=function(r){if(!fp[r])throw new Error("unknown blend mode "+r);return fp[r]};function xN(r,e,t){t===void 0&&(t="normal");var i=yN(mN(t))(Lo(r),Lo(e)),n=Lo(r),a=n[0],o=n[1],s=n[2],l=n[3],u=Lo(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 Lo(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=Yr.rgb2arr(Yr.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=Yr.rgb2arr(e).concat([1])),t.map(function(i,n){return n===3?Number(i):i|0}))}function wN(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 I=!1;if(x.fx>E.fx?(vr(S,1+c,w,-c,E),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(vr(i.x,1,t.x,n,e),u=i.fx=r(i.x,i.fxprime),h=tn(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 SN(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(),ic(o,i.fxprime,-1);for(var c=0;c1){var l=Hx(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),m=y-g;m<0&&(m+=2*Math.PI);var w=y-m/2,x=He(f,{x:p.x+p.radius*Math.sin(w),y:p.y+p.radius*Math.cos(w)});x>p.radius*2&&(x=p.radius*2),(v===null||v.width>x)&&(v={circle:p,width:x,p1:h,p2:c})}v!==null&&(s.push(v),n+=nc(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-Vx,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 CN(r,e){for(var t=0;te[t].radius+Vx)return!1;return!0}function MN(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 nc(r,i)+nc(e,n)}function $x(r,e){var t=He(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 Hx(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[i],o=s)}var l=Gx(function(f){return-1*iu({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 TN(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 EN(r){var e={};Hh(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var i=t[0].circle;return TN(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 kN(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||DN,i=e.lossFunction||Xh;r=LN(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=Gx(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 PN(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 DN(r,e){var t=BN(r,e),i=e.lossFunction||Xh;if(r.length>=8){var n=ON(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 N=Math.max(B-h,0),Y=B,j=Math.min(B+h,y.length-1),P=N-(B-h),G=B+h-j,_=x[-h-1+P]||0,H=x[-h-1+G]||0,$=S/(S-_-H);P>0&&(F+=$*(P-1)*M);var q=Math.max(0,B-h+1);a.inside(0,y.length-1,q)&&(y[q].y+=$*1*M),a.inside(0,y.length-1,Y+1)&&(y[Y+1].y-=$*2*M),a.inside(0,y.length-1,j+1)&&(y[j+1].y+=$*1*M)}});var T=F,k=0,E=0;return y.forEach(function(I){k+=I.y,T+=k,I.y=T,E+=T}),E>0&&y.forEach(function(I){I.y/=E}),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)}}})(Zx);var i5=Zx.exports;const n5=ow(i5);function dp(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 zn(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function No(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));No(r,e,u,c)}var h=r[e],f=t,v=i;for(zn(r,t,e),r[i]>h&&zn(r,t,i);fh;)v--}r[t]===h?zn(r,t,v):(v++,zn(r,v,i)),v<=e&&(t=v+1),e<=v&&(i=v-1)}}function Nn(r,e){var t=r.slice();if(Array.isArray(e)){a5(t,e);for(var i=[],n=0;n0?c:h},g=L({},r,{options:{xField:n,yField:De,seriesField:n,rawFields:[a,gl,oc,De],widthRatio:l,interval:{style:u,shape:v||"waterfall",color:p}}}),y=te(g).ext,m=y.geometry;return m.customInfo(b(b({},d),{leaderLine:s})),r}function S5(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.meta,u=L({},{alias:s},A(l,s));return et(Pt((e={},e[o]=n,e[s]=a,e[De]=a,e),L({},l,(t={},t[De]=u,t[gl]=u,t[_h]=u,t))))(r)}function C5(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(De,!1)):(e.axis(o,n),e.axis(De,n)),r}function M5(r){var e=r.chart,t=r.options,i=t.legend,n=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=il(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:L({},{r:5},A(n,"style"))}}),e.legend(L({},{custom:!0,position:"top",items:u},i)),e.removeInteraction("legend-filter")}return r}function A5(r){var e=r.chart,t=r.options,i=t.label,n=t.labelMode,a=t.xField,o=Jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=Ct(i,["callback"]);o.label({fields:n==="absolute"?[_h,a]:[gl,a],callback:s,cfg:Ht(l)})}return r}function F5(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.xField,a=t.yField;if(i!==!1){e.tooltip(b({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 T5(r){return et(w5,ht,b5,S5,C5,M5,F5,A5,ri,Tt,wt,Lt())(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return g5},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(ew(t,n,a,o))},e.prototype.getSchemaAdaptor=function(){return T5},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var qh="color",E5=L({},ot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",qh],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}}),k5={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function L5(r,e){return e=xt({},k5,e),I5(r,e)}function I5(r,e){var t=X5();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){R(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 nu=Math.PI/180,_n=64,Yo=2048;function P5(r){return r.text}function D5(){return"serif"}function yp(){return"normal"}function O5(r){return r.value}function B5(){return~~(Math.random()*2)*90}function R5(){return 1}function z5(r,e,t,i){if(!e.sprite){var n=r.context,a=r.ratio;n.clearRect(0,0,(_n<<5)/a,Yo/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>=_n<<5&&(o=0,s+=l,l=0),s+h>=Yo)break;n.translate((o+(c>>1))/a,(s+(h>>1))/a),e.rotate&&n.rotate(e.rotate*nu),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 m=n.getImageData(0,0,(_n<<5)/a,Yo/a).data,w=[];--i>=0;)if(e=t[i],!!e.hasText){for(var c=e.width,x=c>>5,h=e.y1-e.y0,S=0;S>5),E=m[(s+T)*(_n<<5)+(o+S)<<2]?1<<31-S%32:0;w[k]|=E,M|=E}M?F=T:(e.y0++,h--,T--,s++)}e.y1=e.y0+F,e.sprite=w.slice(0,(e.y1-e.y0)*x)}}}function N5(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 G5(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 V5(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),x=l.length,S=[],M=l.map(function(E,I,B){return E.text=c.call(this,E,I,B),E.font=e.call(this,E,I,B),E.style=h.call(this,E,I,B),E.weight=i.call(this,E,I,B),E.rotate=n.call(this,E,I,B),E.size=~~t.call(this,E,I,B),E.padding=a.call(this,E,I,B),E}).sort(function(E,I){return I.size-E.size}),F=-1,T=v.board?[{x:0,y:0},{x:g,y}]:null;k();function k(){for(var E=Date.now();Date.now()-E>1,I.y=y*(s()+.5)>>1,z5(m,I,M,F),I.hasText&&p(w,I,T)&&(S.push(I),T?v.hasImage||G5(T,I):T=[{x:I.x+I.x0,y:I.y+I.y0},{x:I.x+I.x1,y:I.y+I.y1}],I.x-=r[0]>>1,I.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=(_n<<5)/y,g.height=Yo/y;var m=g.getContext("2d",{willReadFrequently:!0});return m.fillStyle=m.strokeStyle="red",m.textAlign="center",{context:m,ratio:y}}function p(g,y,m){for(var w=y.x,x=y.y,S=Math.sqrt(r[0]*r[0]+r[1]*r[1]),M=o(r),F=s()<.5?1:-1,T,k=-F,E,I;(T=M(k+=F))&&(E=~~T[0],I=~~T[1],!(Math.min(Math.abs(E),Math.abs(I))>=S));)if(y.x=w+E,y.y=x+I,!(y.x+y.x0<0||y.y+y.y0<0||y.x+y.x1>r[0]||y.y+y.y1>r[1])&&(!m||!N5(y,g,r[0]))&&(!m||V5(y,m))){for(var B=y.sprite,N=y.width>>5,Y=r[0]>>5,j=y.x-(N<<4),P=j&127,G=32-P,_=y.y1-y.y0,H=void 0,$=(y.y+y.y0)*Y+(j>>5),q=0;q<_;q++){H=0;for(var it=0;it<=N;it++)g[$+it]|=H<>>P:0);$+=Y}return delete y.sprite,!0}return!1}return v.createMask=function(g){var y=document.createElement("canvas"),m=r[0],w=r[1];if(!(!m||!w)){var x=m>>5,S=mp((m>>5)*w);y.width=m,y.height=w;var M=y.getContext("2d");M.drawImage(g,0,0,g.width,g.height,0,0,m,w);for(var F=M.getImageData(0,0,m,w).data,T=0;T>5),I=T*m+k<<2,B=F[I]>=250&&F[I+1]>=250&&F[I+2]>=250,N=B?1<<31-k%32:0;S[E]|=N}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=Qe(g)},v.fontWeight=function(g){i=Qe(g)},v.rotate=function(g){n=Qe(g)},v.spiral=function(g){o=H5[g]||g},v.fontSize=function(g){t=Qe(g)},v.padding=function(g){a=Qe(g)},v.random=function(g){s=Qe(g)},v}function iw(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,m=e.autoFit,w=m===void 0?!0:m,x=e.placementStrategy;if(!u||!u.length)return[];var S=d.fontFamily,M=d.fontWeight,F=d.padding,T=d.fontSize,k=j5(u,f),E=[K5(k),J5(k)],I=u.map(function(Y){return{text:Y[h],value:Y[f],color:Y[v],datum:Y}}),B={imageMask:c,font:S,fontSize:U5(T,E),fontWeight:M,size:W5({width:n,height:a,padding:o,appendPadding:s,autoFit:w,container:l}),padding:F,timeInterval:p,random:g,spiral:y,rotate:Z5(e)};if(W(x)){var N=I.map(function(Y,j,P){return b(b(b({},Y),{hasText:!!Y.text,font:Qe(B.font)(Y,j,P),weight:Qe(B.fontWeight)(Y,j,P),rotate:Qe(B.rotate)(Y,j,P),size:Qe(B.fontSize)(Y,j,P),style:"normal"}),x.call(t,Y,j,P))});return N.push({text:"",value:0,x:0,y:0,opacity:0}),N.push({text:"",value:0,x:B.size[0],y:B.size[1],opacity:0}),N}return L5(I,B)}function W5(r){var e=r.width,t=r.height,i=r.container,n=r.autoFit,a=r.padding,o=r.appendPadding;if(n){var s=qu(i);e=s.width,t=s.height}e=e||400,t=t||400;var l=_5({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 _5(r){var e=Ur(r.padding),t=Ur(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 q5(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if(J(r)){var i=new Image;i.crossOrigin="anonymous",i.src=r,i.onload=function(){e(i)},i.onerror=function(){Ar(_e.ERROR,!1,"image %s load failed !!!",r),t()};return}Ar(_e.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function U5(r,e){if(W(r))return r;if(z(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 j5(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function Z5(r){var e=Q5(r),t=e.rotation,i=e.rotationSteps;if(!z(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 Q5(r){var e=r.wordStyle.rotationSteps;return e<1&&(Ar(_e.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function K5(r){return Math.min.apply(Math,r)}function J5(r){return Math.max.apply(Math,r)}function tG(r){var e=r.chart,t=r.options,i=t.colorField,n=t.color,a=iw(r);e.data(a);var o=L({},r,{options:{xField:"x",yField:"y",seriesField:i&&qh,rawFields:W(n)&&Q(Q([],A(t,"rawFields",[]),!0),["datum"],!1),point:{color:n,shape:"word-cloud"}}}),s=Ee(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function eG(r){return et(Pt({x:{nice:!1},y:{nice:!1}}))(r)}function rG(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField;return i===!1?e.legend(!1):n&&e.legend(qh,i),r}function iG(r){et(tG,eG,Vt,rG,Tt,wt,ht,ri)(r)}dt("point","word-cloud",{draw:function(r,e){var t=r.x,i=r.y,n=e.addShape("text",{attrs:b(b({},nG(r)),{x:t,y:i})}),a=r.data.rotate;return typeof a=="number"&&ye.rotate(n,a*Math.PI/180),n}});function nG(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){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return E5},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(iw({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=b(b({},t.options),{imageMask:o||null}),r.prototype.render.call(t),i()};q5(n).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return iG},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e})(ot);(function(r){O(e,r);function e(t,i,n,a){var o=r.call(this,t,L({},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})(ot);n0("en-US",DL);n0("zh-CN",OL);const aG=pn("p",null,"由于 G2 的高度可定置化,导致不同开发者开发出来的图表效果有的好看,有的不好看,G2Plot 解决了这一问题,由官方制定了一套标准设计规范,开发者可以专注于数据,而不用关心最终呈现,当然缺点也很明显,就是自定义上不如 G2 ,所以如果你有更复杂的需求,推荐还是使用 G2 去自行实现。",-1),oG={style:{"margin-bottom":"0"}},sG=pn("div",{id:"chart1",style:{width:"100%",height:"400px"}},null,-1),lG=pn("div",{id:"chart2",style:{width:"100%",height:"400px"}},null,-1),uG=pn("div",{id:"chart3",style:{width:"100%",height:"400px"}},null,-1),cG=pn("div",{id:"chart4",style:{width:"100%",height:"400px"}},null,-1),hG=sw({__name:"g2plot",setup(r){let e,t,i,n;lw(()=>{a(),o(),s(),l()}),uw(()=>{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 y0("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 O0("chart2",{data:c,xField:"year",yField:"gdp",seriesField:"name",yAxis:{label:{formatter:h=>`${(Number.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 V0("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 XR("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=kn("ElTag"),v=fw,d=kn("ElButton"),p=kn("ElButtonGroup"),g=vw,y=dw,m=kn("ElCol"),w=kn("ElRow");return cw(),hw("div",null,[Xt(pw),Xt(g,{title:"G2plot"},{content:Wt(()=>[aG,pn("p",oG,[qa(" 安装命令:"),Xt(f,null,{default:Wt(()=>[qa("pnpm add @antv/g2plot")]),_:1})])]),default:Wt(()=>[Xt(p,null,{default:Wt(()=>[Xt(d,{onClick:h[0]||(h[0]=x=>u("https://github.com/antvis/g2"))},{icon:Wt(()=>[Xt(v,{name:"ep:link"})]),default:Wt(()=>[qa(" 访问 G2 ")]),_:1}),Xt(d,{onClick:h[1]||(h[1]=x=>u("https://github.com/antvis/G2Plot"))},{icon:Wt(()=>[Xt(v,{name:"ep:link"})]),default:Wt(()=>[qa(" 访问 G2plot ")]),_:1})]),_:1})]),_:1}),Xt(w,{gutter:20,style:{margin:"-10px 10px"}},{default:Wt(()=>[Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"柱状图",style:{margin:"10px 0"}},{default:Wt(()=>[sG]),_:1})]),_:1}),Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"折线图",style:{margin:"10px 0"}},{default:Wt(()=>[lG]),_:1})]),_:1})]),_:1}),Xt(w,{gutter:20,style:{margin:"0 10px"}},{default:Wt(()=>[Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"饼图",style:{margin:"10px 0"}},{default:Wt(()=>[uG]),_:1})]),_:1}),Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"雷达图",style:{margin:"10px 0"}},{default:Wt(()=>[cG]),_:1})]),_:1})]),_:1})])}}});typeof Uh=="function"&&Uh(hG);export{hG as default}; diff --git a/assets/g2plot-2Zij2Hp_.js.br b/assets/g2plot-2Zij2Hp_.js.br new file mode 100644 index 000000000..bc74b1a88 Binary files /dev/null and b/assets/g2plot-2Zij2Hp_.js.br differ diff --git a/assets/g2plot-2Zij2Hp_.js.gz b/assets/g2plot-2Zij2Hp_.js.gz new file mode 100644 index 000000000..0b0008ac7 Binary files /dev/null and b/assets/g2plot-2Zij2Hp_.js.gz differ diff --git a/assets/icon-YgIO_kLo.css b/assets/icon-YgIO_kLo.css new file mode 100644 index 000000000..14298605b --- /dev/null +++ b/assets/icon-YgIO_kLo.css @@ -0,0 +1 @@ +.demo>i[data-v-8e1ebc41]{color:#606266;margin:0 20px;font-size:1.5em;vertical-align:middle}.demo button[data-v-8e1ebc41]{margin:0 20px}.list-icon[data-v-8e1ebc41]{display:inline-block;margin:10px}.list-icon i[data-v-8e1ebc41]{font-size:32px;color:#606266} diff --git a/assets/icon-_TQACeT2.js b/assets/icon-_TQACeT2.js new file mode 100644 index 000000000..4013f9486 --- /dev/null +++ b/assets/icon-_TQACeT2.js @@ -0,0 +1 @@ +import{d as f,S as u,c as o,o as a,e as s,f as v,h as e,i as n,l as i,M as E,Q as h,g as x,_ as B,n as k}from"./index-QUc3dnoq.js";const g={class:"demo"},y=f({__name:"icon",setup(C){const r=u.filter(c=>c.prefix==="ep")[0];return(c,I)=>{const t=B,p=o("ElButton"),_=o("ElDivider"),d=o("ElTooltip");return a(),s("div",null,[v("div",g,[e(t,{name:"ep:edit"}),e(t,{name:"ep:share"}),e(t,{name:"ep:delete"}),e(p,{type:"primary"},{icon:n(()=>[e(t,{name:"ep:search"})]),default:n(()=>[i(" 搜索 ")]),_:1})]),e(_,{"content-position":"left"},{default:n(()=>[i(" 图标集合 ")]),_:1}),(a(!0),s(E,null,h(x(r).icons,(l,m)=>(a(),s("div",{key:m,class:"list-icon"},[e(d,{class:"item",effect:"dark",content:`ep:${l}`,placement:"top"},{default:n(()=>[e(t,{name:`ep:${l}`},null,8,["name"])]),_:2},1032,["content"])]))),128))])}}}),T=k(y,[["__scopeId","data-v-8e1ebc41"]]);export{T as default}; diff --git a/assets/iconfont.1697674293405-i9GleF0o.woff b/assets/iconfont.1697674293405-i9GleF0o.woff new file mode 100644 index 000000000..b59e04722 Binary files /dev/null and b/assets/iconfont.1697674293405-i9GleF0o.woff differ diff --git a/assets/iconfont.1697674293405-z4ndm2cZ.ttf b/assets/iconfont.1697674293405-z4ndm2cZ.ttf new file mode 100644 index 000000000..4f1ddea3c Binary files /dev/null and b/assets/iconfont.1697674293405-z4ndm2cZ.ttf differ diff --git a/assets/iconify-Ghys4nlI.js b/assets/iconify-Ghys4nlI.js new file mode 100644 index 000000000..6ba5ebaf8 --- /dev/null +++ b/assets/iconify-Ghys4nlI.js @@ -0,0 +1 @@ +import{d as S,r as U,C as q,D as F,E as H,c as a,o as i,e as f,h as e,i as o,l as d,M as x,Q as g,g as t,S as L,f as u,t as O,R as Q,P as T,_ as j,I as y,O as z,n as A,q as C}from"./index-QUc3dnoq.js";import{u as G}from"./index-hlK3TRFM.js";const J={class:"icon-box"},K={class:"icon-info"},W={class:"title"},X={class:"more-info"},$=S({__name:"iconify",setup(Y){const{text:b,copy:w,copied:I}=G(),l=U({visible:!1,iconName:""}),c=q(()=>``);F(I,_=>{_&&H.success(`复制成功:${b.value}`)});function N(_){l.value.iconName=_,l.value.visible=!0}return(_,s)=>{const V=T,m=j,h=a("ElCard"),r=a("ElCol"),p=a("ElRow"),k=z,v=a("ElButton"),B=a("ElInput"),D=a("ElDivider"),P=a("ElDialog");return i(),f("div",null,[e(V,{title:"Iconify"},{content:o(()=>[d(" 本框架支持使用 Iconify 的所有图标集,以下展示部分图标集。 ")]),_:1}),(i(!0),f(x,null,g(t(L),(n,R)=>(i(),y(k,{key:R,title:n.info.name},{default:o(()=>[e(p,{gutter:20},{default:o(()=>[(i(!0),f(x,null,g(n.info.samples,(E,M)=>(i(),y(r,{key:M,xs:6,sm:8,md:3,lg:2},{default:o(()=>[e(h,{shadow:"hover",onClick:Z=>N(`${n.prefix}:${E}`)},{default:o(()=>[e(m,{name:`${n.prefix}:${E}`},null,8,["name"])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),e(P,{modelValue:t(l).visible,"onUpdate:modelValue":s[2]||(s[2]=n=>t(l).visible=n),"show-close":!1,width:"600px"},{default:o(()=>[e(p,{type:"flex"},{default:o(()=>[e(r,{style:{"max-width":"100px"}},{default:o(()=>[u("div",J,[e(m,{name:t(l).iconName},null,8,["name"])])]),_:1}),e(r,{style:{flex:"1"}},{default:o(()=>[u("div",K,[u("div",W,O(t(l).iconName),1),e(B,{modelValue:t(c),"onUpdate:modelValue":s[1]||(s[1]=n=>Q(c)?c.value=n:null),readonly:""},{append:o(()=>[e(v,{type:"primary",onClick:s[0]||(s[0]=n=>t(w)(t(c)))},{default:o(()=>[d(" 复制 ")]),_:1})]),_:1},8,["modelValue"])])]),_:1})]),_:1}),u("div",X,[e(D,{"content-position":"left"},{default:o(()=>[d(" 结合 Element Plus 使用场景 ")]),_:1}),e(v,null,{icon:o(()=>[e(m,{name:t(l).iconName},null,8,["name"])]),default:o(()=>[d(" Icon 按钮 ")]),_:1})])]),_:1},8,["modelValue"])])}}});typeof C=="function"&&C($);const ne=A($,[["__scopeId","data-v-b4017f4b"]]);export{ne as default}; diff --git a/assets/iconify-Ghys4nlI.js.br b/assets/iconify-Ghys4nlI.js.br new file mode 100644 index 000000000..96a8a923a Binary files /dev/null and b/assets/iconify-Ghys4nlI.js.br differ diff --git a/assets/iconify-Ghys4nlI.js.gz b/assets/iconify-Ghys4nlI.js.gz new file mode 100644 index 000000000..1a57482f8 Binary files /dev/null and b/assets/iconify-Ghys4nlI.js.gz differ diff --git a/assets/iconify-Y8cnSzsv.css b/assets/iconify-Y8cnSzsv.css new file mode 100644 index 000000000..90c4e6fee --- /dev/null +++ b/assets/iconify-Y8cnSzsv.css @@ -0,0 +1 @@ +.el-card[data-v-b4017f4b]{margin-bottom:15px}.el-card[data-v-b4017f4b] .el-card__body{display:flex;justify-content:center;cursor:pointer}.el-card i[data-v-b4017f4b]{font-size:24px}[data-v-b4017f4b] .el-dialog .el-dialog__body{padding:0 30px 30px}[data-v-b4017f4b] .el-dialog .icon-box{display:flex;justify-content:center;align-items:center;width:80px;height:80px;border:1px solid #e0e8ef}[data-v-b4017f4b] .el-dialog .icon-box i{font-size:60px}[data-v-b4017f4b] .el-dialog .icon-info{display:flex;flex-direction:column;justify-content:space-between;height:100%}[data-v-b4017f4b] .el-dialog .icon-info .title{font-size:24px;font-weight:700} diff --git a/assets/image.preview-oTKnlntM.css b/assets/image.preview-oTKnlntM.css new file mode 100644 index 000000000..e29743cd7 --- /dev/null +++ b/assets/image.preview-oTKnlntM.css @@ -0,0 +1 @@ +.el-image[data-v-e93a3917]{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-e93a3917] .el-image__inner{transition:all .3s;cursor:pointer}.el-image[data-v-e93a3917] .el-image__inner:hover{transform:scale(1.2)}.el-image[data-v-e93a3917] .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#909399;font-size:30px} diff --git a/assets/image.preview.demo-TKBMv-de.js b/assets/image.preview.demo-TKBMv-de.js new file mode 100644 index 000000000..d03802f89 --- /dev/null +++ b/assets/image.preview.demo-TKBMv-de.js @@ -0,0 +1 @@ +import{d as g,C as p,c,o as h,I as w,i as o,f as v,h as e,Y as b,g as m,_ as x,n as I,e as T,P as $,O as y,q as _}from"./index-QUc3dnoq.js";const E={class:"image-slot"},C=g({name:"ImagePreview",__name:"index",props:{src:{},width:{default:200},height:{default:200}},setup(l){const t=l,r=p(()=>typeof t.width=="string"?t.width:`${t.width}px`),d=p(()=>typeof t.height=="string"?t.height:`${t.height}px`);return(n,i)=>{const s=x,a=c("ElImage");return h(),w(a,{src:n.src,fit:"cover",style:b(`width:${m(r)};height:${m(d)};`),"preview-src-list":[n.src],"preview-teleported":""},{error:o(()=>[v("div",E,[e(s,{name:"image-load-fail"})])]),_:1},8,["src","style","preview-src-list"])}}}),N=I(C,[["__scopeId","data-v-e93a3917"]]),P=g({__name:"image.preview.demo",setup(l){const t=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.gitee.io/logo.png"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.gitee.io/logo.png"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.gitee.io/logo.png"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.gitee.io/logo.png"}];return(r,d)=>{const n=$,i=N,s=y,a=c("ElTableColumn"),f=c("ElTable");return h(),T("div",null,[e(n,{title:"图片预览",content:"ImagePreview"}),e(s,null,{default:o(()=>[e(i,{src:"https://fantastic-admin.gitee.io/logo.png",width:200})]),_:1}),e(s,{title:"图片加载失败时"},{default:o(()=>[e(i,{src:"http://www.baidu.com",width:"100px",height:"100px"})]),_:1}),e(s,{title:"结合 el-table 使用"},{default:o(()=>[e(f,{data:t,style:{width:"100%"}},{default:o(()=>[e(a,{prop:"date",label:"日期",width:"180",fixed:"left"}),e(a,{prop:"name",label:"姓名",width:"180"}),e(a,{prop:"address",label:"地址"}),e(a,{label:"图片"},{default:o(({row:u})=>[e(i,{src:u.src,width:"100px",height:"100px"},null,8,["src"])]),_:1})]),_:1})]),_:1})])}}});typeof _=="function"&&_(P);export{P as default}; diff --git a/assets/image.preview.demo-TKBMv-de.js.br b/assets/image.preview.demo-TKBMv-de.js.br new file mode 100644 index 000000000..d3c56997e Binary files /dev/null and b/assets/image.preview.demo-TKBMv-de.js.br differ diff --git a/assets/image.preview.demo-TKBMv-de.js.gz b/assets/image.preview.demo-TKBMv-de.js.gz new file mode 100644 index 000000000..fd2ecb1f3 Binary files /dev/null and b/assets/image.preview.demo-TKBMv-de.js.gz differ diff --git a/assets/index--4nX9E7D.js b/assets/index--4nX9E7D.js new file mode 100644 index 000000000..14d0f88c0 --- /dev/null +++ b/assets/index--4nX9E7D.js @@ -0,0 +1 @@ +import{d as u,r as c,c as d,o as m,e as p,h as a,i as r,g as _,R as i,f,O as v,q as o}from"./index-QUc3dnoq.js";const x=f("div",null,"层级 1-1-1",-1),V=u({name:"TabExampleNestedTest",__name:"index",setup(E){const e=c("");return(k,n)=>{const t=d("ElInput"),l=v;return m(),p("div",null,[a(l,null,{default:r(()=>[x,a(t,{modelValue:_(e),"onUpdate:modelValue":n[0]||(n[0]=s=>i(e)?e.value=s:null)},null,8,["modelValue"])]),_:1})])}}});typeof o=="function"&&o(V);export{V as default}; diff --git a/assets/index--J5w-6ws.css b/assets/index--J5w-6ws.css new file mode 100644 index 000000000..60c0c5504 --- /dev/null +++ b/assets/index--J5w-6ws.css @@ -0,0 +1 @@ +[data-v-57b61e27] .breadcrumb-item:first-child .separator{display:none}[data-v-57b61e27] .breadcrumb-item:last-child .text{opacity:1} diff --git a/assets/index--eFwcE1U.js b/assets/index--eFwcE1U.js new file mode 100644 index 000000000..6dd5ed02e --- /dev/null +++ b/assets/index--eFwcE1U.js @@ -0,0 +1 @@ +import{d as a,h as s,l as e,n as t}from"./index-QUc3dnoq.js";const u=a({name:"JsxComp",setup(){return()=>s("div",{class:"test"},[e("这是一个用"),s("span",null,[e("JSX")]),e("编写的SFC组件。")])}}),n=t(u,[["__scopeId","data-v-ad3b43b5"]]);export{n as default}; diff --git a/assets/index-0wpihLM6.js b/assets/index-0wpihLM6.js new file mode 100644 index 000000000..daa9e6485 --- /dev/null +++ b/assets/index-0wpihLM6.js @@ -0,0 +1 @@ +import{d as r,z as p,g as e,o as s,e as o,h as g,t as a,L as i,M as _,_ as h,p as y,j as d,f as m,n as l}from"./index-QUc3dnoq.js";const f=n=>(y("data-v-39937ca0"),n=n(),d(),n),u={key:0,class:"copyright"},k=f(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=r({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const c=h;return e(t).settings.copyright.enable?(s(),o("footer",u,[k,g(c,{name:"ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-39937ca0"]]);export{N as default}; diff --git a/assets/index-0wpihLM6.js.br b/assets/index-0wpihLM6.js.br new file mode 100644 index 000000000..e421c6f88 Binary files /dev/null and b/assets/index-0wpihLM6.js.br differ diff --git a/assets/index-0wpihLM6.js.gz b/assets/index-0wpihLM6.js.gz new file mode 100644 index 000000000..fb7d325ed Binary files /dev/null and b/assets/index-0wpihLM6.js.gz differ diff --git a/assets/index-4uIIDuY6.js b/assets/index-4uIIDuY6.js new file mode 100644 index 000000000..7e23d3ba9 --- /dev/null +++ b/assets/index-4uIIDuY6.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BmnEek9v.js";import"./sub.vue_vue_type_script_setup_true_lang-NeVbA8x2.js";import"./index-QUc3dnoq.js";import"./item.vue_vue_type_script_setup_true_lang-ehu3wf2Y.js";export{o as default}; diff --git a/assets/index-5SY3EWla.css b/assets/index-5SY3EWla.css new file mode 100644 index 000000000..d08cf124c --- /dev/null +++ b/assets/index-5SY3EWla.css @@ -0,0 +1 @@ +.copyright[data-v-39937ca0]{margin-top:1rem;margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity))}.copyright span[data-v-39937ca0],.copyright a[data-v-39937ca0]{padding-left:.25rem;padding-right:.25rem}.copyright a[data-v-39937ca0]{text-align:center;--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity));text-decoration:none;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.copyright a[data-v-39937ca0]:hover{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.dark .copyright a[data-v-39937ca0]:hover{--un-text-opacity:1;color:rgb(246 246 246 / var(--un-text-opacity))} diff --git a/assets/index-5XCSTCfS.css b/assets/index-5XCSTCfS.css new file mode 100644 index 000000000..5ecf22b2f --- /dev/null +++ b/assets/index-5XCSTCfS.css @@ -0,0 +1 @@ +.buy-it[data-v-41cc82c8]{position:fixed;z-index:10;right:-58px;top:50%;transform:translateY(-50%);width:70px;display:flex;flex-direction:column;transition:right .3s}.buy-it.actived[data-v-41cc82c8],.buy-it[data-v-41cc82c8]:hover{right:0}.buy-it .item[data-v-41cc82c8]{display:flex;flex-direction:column;justify-content:center;gap:5px;height:70px;text-align:center;color:#fff;border-bottom:1px solid #fff;transition:.3s;opacity:.7;cursor:pointer}.buy-it .item[data-v-41cc82c8]:hover{opacity:1}.buy-it .item[data-v-41cc82c8]:first-child{border-top-left-radius:5px}.buy-it .item[data-v-41cc82c8]:last-child{border-bottom-left-radius:5px;border-bottom:0}.buy-it .item[data-v-41cc82c8]:nth-child(1){--un-bg-opacity:1;background-color:rgb(244 114 182 / var(--un-bg-opacity))}.buy-it .item[data-v-41cc82c8]:nth-child(2){--un-bg-opacity:1;background-color:rgb(251 146 60 / var(--un-bg-opacity))}.buy-it .item[data-v-41cc82c8]:nth-child(3){--un-bg-opacity:1;background-color:rgb(74 222 128 / var(--un-bg-opacity))}.buy-it .item[data-v-41cc82c8]:nth-child(4){--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity))}.buy-it .item[data-v-41cc82c8]:nth-child(5){--un-bg-opacity:1;background-color:rgb(168 162 158 / var(--un-bg-opacity))}.buy-it .item i[data-v-41cc82c8]{display:block;margin:0 auto;font-size:20px}.buy-it .item .title[data-v-41cc82c8]{display:inline-block;font-size:12px} diff --git a/assets/index-5XCSTCfS.css.br b/assets/index-5XCSTCfS.css.br new file mode 100644 index 000000000..fd03ee9d0 Binary files /dev/null and b/assets/index-5XCSTCfS.css.br differ diff --git a/assets/index-5XCSTCfS.css.gz b/assets/index-5XCSTCfS.css.gz new file mode 100644 index 000000000..46455868c Binary files /dev/null and b/assets/index-5XCSTCfS.css.gz differ diff --git a/assets/index-AkXlQMLl.css b/assets/index-AkXlQMLl.css new file mode 100644 index 000000000..9daeedb5c --- /dev/null +++ b/assets/index-AkXlQMLl.css @@ -0,0 +1 @@ +.page-main[data-v-7120472a]{margin:0;min-height:12.5rem;flex-shrink:1;flex-grow:1;flex-basis:400px}.page-main[data-v-7120472a] .main-container{display:flex;flex:1 1 0%;align-items:center;justify-content:center;gap:1rem} diff --git a/assets/index-EUE5b9RS.js b/assets/index-EUE5b9RS.js new file mode 100644 index 000000000..06198bc70 --- /dev/null +++ b/assets/index-EUE5b9RS.js @@ -0,0 +1 @@ +import{d as y,u as M,z as x,A as B,B as $,C as A,D as c,x as L,F as r,G as V,c as D,o as n,e as f,f as i,h as e,H as _,g as o,i as g,T as I,I as l,w as N,v as P,J as R,K as T,L as v,M as H,N as K,_ as z,n as F}from"./index-QUc3dnoq.js";import E from"./index-gRfHLjbA.js";import G from"./index-eDq9P74I.js";import J from"./index-GtFzsnr5.js";import U from"./index-zGuqt2fc.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-ReMUuSIx.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-HPsckt_g.js";import O from"./index-EjtuhEhW.js";import Q from"./link-DpUq7jI6.js";import W from"./index-0wpihLM6.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-OZ5tb5ck.js";import Y from"./index-WRwc0YJV.js";import{u as Z}from"./useMainPage-ug3Daq2W.js";import{u as ee}from"./useMenu-VZ9-kesy.js";import"./index.vue_vue_type_script_setup_true_lang-nte9vghj.js";import"./logo-muYuOVnJ.js";import"./index-_topo_Ui.js";import"./HKbd-JMGa1MD6.js";import"./index-hlK3TRFM.js";import"./index.vue_vue_type_script_setup_true_lang-BmnEek9v.js";import"./sub.vue_vue_type_script_setup_true_lang-NeVbA8x2.js";import"./item.vue_vue_type_script_setup_true_lang-ehu3wf2Y.js";import"./index-sjHy_WU0.js";import"./index-GyhwPQbo.js";import"./item.vue_vue_type_script_setup_true_lang--n1OGupn.js";import"./HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js";import"./HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js";import"./HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js";import"./HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js";const te={class:"layout"},oe={id:"app-main"},se={class:"wrapper"},ie={class:"main-container"},ne={class:"main"},ae=y({name:"Layout",__name:"index",setup(re){const u=M(),t=x(),b=B(),m=$(),h=Z(),k=ee(),d=A(()=>!!u.meta.link);return c(()=>t.settings.menu.subMenuCollapse,s=>{t.mode==="mobile"&&(s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>u.path,()=>{t.mode==="mobile"&&t.$patch(s=>{s.settings.menu.subMenuCollapse=!0})}),L(()=>{r("f5",s=>{t.settings.toolbar.enablePageReload&&(s.preventDefault(),h.reload())}),r("alt+`",s=>{t.settings.menu.enableHotkeys&&(s.preventDefault(),k.switchTo(m.actived+1{r.unbind("f5"),r.unbind("alt+`")}),(s,a)=>{const w=D("RouterView"),C=z;return n(),f("div",te,[i("div",oe,[e(E),i("div",se,[i("div",{class:_(["sidebar-container",{show:o(t).mode==="mobile"&&!o(t).settings.menu.subMenuCollapse}])},[e(G),e(J)],2),i("div",{class:_(["sidebar-mask",{show:o(t).mode==="mobile"&&!o(t).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=p=>o(t).toggleSidebarCollapse())},null,2),i("div",ie,[e(U),i("div",ne,[e(w,null,{default:g(({Component:p,route:S})=>[e(I,{name:"slide-right",mode:"out-in",appear:""},{default:g(()=>[(n(),l(T,{include:o(b).list},[N((n(),l(R(p),{key:S.fullPath})),[[P,!o(d)]])],1032,["include"]))]),_:2},1024)]),_:1}),o(d)?(n(),l(Q,{key:0})):v("",!0)]),e(W)])])]),e(j),e(q),o(t).settings.app.enableAppSetting?(n(),f(H,{key:0},[i("div",{class:"app-setting",onClick:a[1]||(a[1]=p=>o(K).emit("global-app-setting-toggle"))},[e(C,{name:"uiw:setting-o",class:"icon"})]),e(O)],64)):v("",!0),e(X),e(Y)])}}}),He=F(ae,[["__scopeId","data-v-50688743"]]);export{He as default}; diff --git a/assets/index-EUE5b9RS.js.br b/assets/index-EUE5b9RS.js.br new file mode 100644 index 000000000..a9d5639e0 Binary files /dev/null and b/assets/index-EUE5b9RS.js.br differ diff --git a/assets/index-EUE5b9RS.js.gz b/assets/index-EUE5b9RS.js.gz new file mode 100644 index 000000000..2583bcbc0 Binary files /dev/null and b/assets/index-EUE5b9RS.js.gz differ diff --git a/assets/index-EjtuhEhW.js b/assets/index-EjtuhEhW.js new file mode 100644 index 000000000..2deb11dae --- /dev/null +++ b/assets/index-EjtuhEhW.js @@ -0,0 +1 @@ +import{d as B,u as w,z as I,B as A,r as N,C as R,D as S,x as T,N as D,ab as z,o as _,I as J,ac as O,g as s,i as a,h as n,l as c,f as t,R as U,e as p,L as r,H as f,_ as j,y as F,V as L,p as E,j as G,n as K}from"./index-QUc3dnoq.js";import{_ as Q}from"./HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js";import{_ as W}from"./HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js";import{_ as X}from"./HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js";import{_ as Y}from"./HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js";import{u as Z}from"./index-hlK3TRFM.js";const i=V=>(E("data-v-c4427815"),V=V(),G(),V),ee=i(()=>t("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[t("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),t("p",{class:"my-1"}," 注意:在生产环境中应关闭该模块。 ")],-1)),se=i(()=>t("div",{class:"divider"}," 颜色主题风格 ",-1)),te={class:"flex items-center justify-center pb-4"},le={key:0,class:"divider"},oe={key:1,class:"menu-mode"},ne=i(()=>t("div",{class:"mode-container"},null,-1)),ie=[ne],de=i(()=>t("div",{class:"mode-container"},null,-1)),ae=[de],ue=i(()=>t("div",{class:"mode-container"},null,-1)),me=[ue],ce=i(()=>t("div",{class:"divider"}," 导航栏 ",-1)),_e={class:"setting-item"},ge={class:"label"},pe={class:"setting-item"},re={class:"label"},be={class:"setting-item"},ve=i(()=>t("div",{class:"label"}," 次导航是否折叠 ",-1)),Ve={key:2,class:"setting-item"},he=i(()=>t("div",{class:"label"}," 显示次导航折叠按钮 ",-1)),fe={class:"setting-item"},ye=i(()=>t("div",{class:"label"}," 是否启用快捷键 ",-1)),Se=i(()=>t("div",{class:"divider"}," 顶栏 ",-1)),Ue={class:"setting-item"},ke=i(()=>t("div",{class:"label"}," 模式 ",-1)),xe=i(()=>t("div",{class:"divider"}," 工具栏 ",-1)),Me={key:3,class:"setting-item"},Ce=i(()=>t("div",{class:"label"}," 全屏 ",-1)),He={class:"setting-item"},qe={class:"label"},Pe={class:"setting-item"},$e={class:"label"},Be={key:4,class:"divider"},we={key:5,class:"setting-item"},Ie=i(()=>t("div",{class:"label"}," 是否启用 ",-1)),Ae=i(()=>t("div",{class:"divider"}," 页面 ",-1)),Ne={class:"setting-item"},Re=i(()=>t("div",{class:"label"}," 是否启用快捷键 ",-1)),Te=i(()=>t("div",{class:"divider"}," 导航搜索 ",-1)),De={class:"setting-item"},ze={class:"label"},Je={class:"setting-item"},Oe=i(()=>t("div",{class:"label"}," 是否启用快捷键 ",-1)),je=i(()=>t("div",{class:"divider"}," 底部版权 ",-1)),Fe={class:"setting-item"},Le=i(()=>t("div",{class:"label"}," 是否启用 ",-1)),Ee={class:"setting-item"},Ge=i(()=>t("div",{class:"label"}," 日期 ",-1)),Ke={class:"setting-item"},Qe=i(()=>t("div",{class:"label"}," 公司 ",-1)),We={class:"setting-item"},Xe=i(()=>t("div",{class:"label"}," 网址 ",-1)),Ye={class:"setting-item"},Ze=i(()=>t("div",{class:"label"}," 备案 ",-1)),es=i(()=>t("div",{class:"divider"}," 主页 ",-1)),ss={class:"setting-item"},ts={class:"label"},ls={class:"setting-item"},os={class:"label"},ns=i(()=>t("div",{class:"divider"}," 其它 ",-1)),is={class:"setting-item"},ds=i(()=>t("div",{class:"label"}," 是否启用权限 ",-1)),as={class:"setting-item"},us={class:"label"},ms={class:"setting-item"},cs={class:"label"},_s=B({name:"AppSetting",__name:"index",setup(V){const k=w(),e=I(),y=A(),b=N(!1),h=R({get(){return e.settings.app.colorScheme==="dark"},set(g){e.settings.app.colorScheme=g?"dark":"light"}});S(()=>e.settings.menu.menuMode,g=>{g==="single"?y.setActived(0):y.setActived(k.fullPath)}),T(()=>{D.on("global-app-setting-toggle",()=>{b.value=!b.value})});const{copy:x,copied:M,isSupported:C}=Z();S(M,g=>{g&&z.success("复制成功,请粘贴到 src/settings.ts 文件中!",{zIndex:2e3})});function H(){x(JSON.stringify(e.settings,null,2))}return(g,l)=>{const d=Y,u=X,m=j,q=W,v=Q,P=F,$=L;return _(),J($,{modelValue:s(b),"onUpdate:modelValue":l[27]||(l[27]=o=>U(b)?b.value=o:null),title:"应用配置"},O({default:a(()=>[ee,se,t("div",te,[n(d,{modelValue:s(h),"onUpdate:modelValue":l[0]||(l[0]=o=>U(h)?h.value=o:null),"on-icon":"ri:sun-line","off-icon":"ri:moon-line"},null,8,["modelValue"])]),s(e).mode==="pc"?(_(),p("div",le," 导航栏模式 ")):r("",!0),s(e).mode==="pc"?(_(),p("div",oe,[n(u,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:a(()=>[t("div",{class:f(["mode mode-side",{active:s(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>s(e).settings.menu.menuMode="side")},ie,2)]),_:1}),n(u,{text:"顶部模式",placement:"bottom",delay:500},{default:a(()=>[t("div",{class:f(["mode mode-head",{active:s(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>s(e).settings.menu.menuMode="head")},ae,2)]),_:1}),n(u,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:a(()=>[t("div",{class:f(["mode mode-single",{active:s(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>s(e).settings.menu.menuMode="single")},me,2)]),_:1})])):r("",!0),ce,t("div",_e,[t("div",ge,[c(" 主导航切换跳转 "),n(u,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>s(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(s(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),t("div",pe,[t("div",re,[c(" 次导航保持展开一个 "),n(u,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>s(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),t("div",be,[ve,n(d,{modelValue:s(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>s(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),s(e).mode==="pc"?(_(),p("div",Ve,[he,n(d,{modelValue:s(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>s(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):r("",!0),t("div",fe,[ye,n(d,{modelValue:s(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>s(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(s(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),Se,t("div",Ue,[ke,n(q,{modelValue:s(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>s(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),xe,s(e).mode==="pc"?(_(),p("div",Me,[Ce,n(d,{modelValue:s(e).settings.toolbar.enableFullscreen,"onUpdate:modelValue":l[10]||(l[10]=o=>s(e).settings.toolbar.enableFullscreen=o)},null,8,["modelValue"])])):r("",!0),t("div",He,[t("div",qe,[c(" 页面刷新 "),n(u,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.toolbar.enablePageReload,"onUpdate:modelValue":l[11]||(l[11]=o=>s(e).settings.toolbar.enablePageReload=o)},null,8,["modelValue"])]),t("div",Pe,[t("div",$e,[c(" 颜色主题 "),n(u,{text:"开启后可在明亮/暗黑模式中切换"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.toolbar.enableColorScheme,"onUpdate:modelValue":l[12]||(l[12]=o=>s(e).settings.toolbar.enableColorScheme=o)},null,8,["modelValue"])]),s(e).mode==="pc"?(_(),p("div",Be," 面包屑导航 ")):r("",!0),s(e).mode==="pc"?(_(),p("div",we,[Ie,n(d,{modelValue:s(e).settings.breadcrumb.enable,"onUpdate:modelValue":l[13]||(l[13]=o=>s(e).settings.breadcrumb.enable=o)},null,8,["modelValue"])])):r("",!0),Ae,t("div",Ne,[Re,n(d,{modelValue:s(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[14]||(l[14]=o=>s(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Te,t("div",De,[t("div",ze,[c(" 是否启用 "),n(u,{text:"对导航进行快捷搜索"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.navSearch.enable,"onUpdate:modelValue":l[15]||(l[15]=o=>s(e).settings.navSearch.enable=o)},null,8,["modelValue"])]),t("div",Je,[Oe,n(d,{modelValue:s(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[16]||(l[16]=o=>s(e).settings.navSearch.enableHotkeys=o),disabled:!s(e).settings.navSearch.enable},null,8,["modelValue","disabled"])]),je,t("div",Fe,[Le,n(d,{modelValue:s(e).settings.copyright.enable,"onUpdate:modelValue":l[17]||(l[17]=o=>s(e).settings.copyright.enable=o)},null,8,["modelValue"])]),t("div",Ee,[Ge,n(v,{modelValue:s(e).settings.copyright.dates,"onUpdate:modelValue":l[18]||(l[18]=o=>s(e).settings.copyright.dates=o),disabled:!s(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),t("div",Ke,[Qe,n(v,{modelValue:s(e).settings.copyright.company,"onUpdate:modelValue":l[19]||(l[19]=o=>s(e).settings.copyright.company=o),disabled:!s(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),t("div",We,[Xe,n(v,{modelValue:s(e).settings.copyright.website,"onUpdate:modelValue":l[20]||(l[20]=o=>s(e).settings.copyright.website=o),disabled:!s(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),t("div",Ye,[Ze,n(v,{modelValue:s(e).settings.copyright.beian,"onUpdate:modelValue":l[21]||(l[21]=o=>s(e).settings.copyright.beian=o),disabled:!s(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),es,t("div",ss,[t("div",ts,[c(" 是否启用 "),n(u,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.home.enable,"onUpdate:modelValue":l[22]||(l[22]=o=>s(e).settings.home.enable=o)},null,8,["modelValue"])]),t("div",ls,[t("div",os,[c(" 主页名称 "),n(u,{text:"开启国际化时,该设置无效"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(v,{modelValue:s(e).settings.home.title,"onUpdate:modelValue":l[23]||(l[23]=o=>s(e).settings.home.title=o)},null,8,["modelValue"])]),ns,t("div",is,[ds,n(d,{modelValue:s(e).settings.app.enablePermission,"onUpdate:modelValue":l[24]||(l[24]=o=>s(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),t("div",as,[t("div",us,[c(" 载入进度条 "),n(u,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.app.enableProgress,"onUpdate:modelValue":l[25]||(l[25]=o=>s(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),t("div",ms,[t("div",cs,[c(" 动态标题 "),n(u,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:a(()=>[n(m,{name:"ri:question-line"})]),_:1})]),n(d,{modelValue:s(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[26]||(l[26]=o=>s(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[s(C)?{name:"footer",fn:a(()=>[n(P,{block:"",onClick:H},{default:a(()=>[n(m,{name:"ep:document-copy"}),c(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),hs=K(_s,[["__scopeId","data-v-c4427815"]]);export{hs as default}; diff --git a/assets/index-EjtuhEhW.js.br b/assets/index-EjtuhEhW.js.br new file mode 100644 index 000000000..a6f14501e Binary files /dev/null and b/assets/index-EjtuhEhW.js.br differ diff --git a/assets/index-EjtuhEhW.js.gz b/assets/index-EjtuhEhW.js.gz new file mode 100644 index 000000000..f6cb891c6 Binary files /dev/null and b/assets/index-EjtuhEhW.js.gz differ diff --git a/assets/index-FwDPvTiX.css b/assets/index-FwDPvTiX.css new file mode 100644 index 000000000..8aaf30092 --- /dev/null +++ b/assets/index-FwDPvTiX.css @@ -0,0 +1 @@ +.upload-container[data-v-5432e608]{line-height:initial}.el-image[data-v-5432e608]{display:block}.image[data-v-5432e608]{position:relative;border-radius:6px;overflow:hidden}.image .mask[data-v-5432e608]{opacity:0;position:absolute;top:0;width:100%;height:100%;background-color:var(--el-overlay-color-lighter);transition:opacity .3s}.image .mask .actions[data-v-5432e608]{width:100px;height:100px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.image .mask .actions span[data-v-5432e608]{width:50%;text-align:center;cursor:pointer;color:var(--el-color-white);transition:color .1s,transform .1s}.image .mask .actions span[data-v-5432e608]:hover{transform:scale(1.5)}.image .mask .actions span .icon[data-v-5432e608]{font-size:24px}.image:hover .mask[data-v-5432e608]{opacity:1}.image-upload[data-v-5432e608]{display:inline-block;vertical-align:top}[data-v-5432e608] .el-upload .el-upload-dragger{display:inline-block;padding:0}[data-v-5432e608] .el-upload .el-upload-dragger.is-dragover{border-width:1px}[data-v-5432e608] .el-upload .el-upload-dragger .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:var(--el-text-color-placeholder);background-color:transparent}[data-v-5432e608] .el-upload .el-upload-dragger .image-slot .icon{font-size:30px}[data-v-5432e608] .el-upload .el-upload-dragger .progress{position:absolute;top:0}[data-v-5432e608] .el-upload .el-upload-dragger .progress:after{content:"";position:absolute;width:100%;height:100%;left:0;top:0;background-color:var(--el-overlay-color-lighter)}[data-v-5432e608] .el-upload .el-upload-dragger .progress .el-progress{z-index:1;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}[data-v-5432e608] .el-upload .el-upload-dragger .progress .el-progress .el-progress__text{color:var(--el-text-color-placeholder)} diff --git a/assets/index-FwDPvTiX.css.br b/assets/index-FwDPvTiX.css.br new file mode 100644 index 000000000..c5bc86631 Binary files /dev/null and b/assets/index-FwDPvTiX.css.br differ diff --git a/assets/index-FwDPvTiX.css.gz b/assets/index-FwDPvTiX.css.gz new file mode 100644 index 000000000..d609fe957 Binary files /dev/null and b/assets/index-FwDPvTiX.css.gz differ diff --git a/assets/index-GtFzsnr5.js b/assets/index-GtFzsnr5.js new file mode 100644 index 000000000..c20fc60be --- /dev/null +++ b/assets/index-GtFzsnr5.js @@ -0,0 +1 @@ +import{d as p,u as b,z as _,B as f,r as g,o,e as n,h as t,g as e,H as r,f as S,i as h,M as v,Q as M,Z as w,v as x,w as C,n as B}from"./index-QUc3dnoq.js";import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-nte9vghj.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-BmnEek9v.js";import"./logo-muYuOVnJ.js";import"./sub.vue_vue_type_script_setup_true_lang-NeVbA8x2.js";import"./item.vue_vue_type_script_setup_true_lang-ehu3wf2Y.js";const z=p({name:"SubSidebar",__name:"index",setup(N){const l=b(),s=_(),a=f(),i=g(0);function d(u){i.value=u.target.scrollTop}return(u,O)=>(o(),n("div",{class:r(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[t(k,{"show-logo":e(s).settings.menu.menuMode==="single",class:r(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),S("div",{class:r(["sub-sidebar flex-1 transition-shadow-300",{shadow:e(i)}]),onScroll:d},[t(w,{name:"sub-sidebar"},{default:h(()=>[(o(!0),n(v,null,M(e(a).allMenus,(m,c)=>C((o(),n("div",{key:c},[t(T,{menu:m.children,value:e(l).meta.activeMenu||e(l).path,"default-openeds":e(a).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[x,c===e(a).actived]])),128))]),_:1})],34)],2))}}),F=B(z,[["__scopeId","data-v-392997b0"]]);export{F as default}; diff --git a/assets/index-GtFzsnr5.js.br b/assets/index-GtFzsnr5.js.br new file mode 100644 index 000000000..c90c74ddd Binary files /dev/null and b/assets/index-GtFzsnr5.js.br differ diff --git a/assets/index-GtFzsnr5.js.gz b/assets/index-GtFzsnr5.js.gz new file mode 100644 index 000000000..10751ab0e Binary files /dev/null and b/assets/index-GtFzsnr5.js.gz differ diff --git a/assets/index-GyhwPQbo.js b/assets/index-GyhwPQbo.js new file mode 100644 index 000000000..a6daacf39 --- /dev/null +++ b/assets/index-GyhwPQbo.js @@ -0,0 +1 @@ +import{n as t,o as s,e as r,X as c}from"./index-QUc3dnoq.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),r("div",o,[c(e.$slots,"default",{},void 0,!0)])}const f=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{f as default}; diff --git a/assets/index-HpevpxlN.css b/assets/index-HpevpxlN.css new file mode 100644 index 000000000..e286af623 --- /dev/null +++ b/assets/index-HpevpxlN.css @@ -0,0 +1 @@ +.main-sidebar-container[data-v-e87c7233]{display:flex;flex-direction:column;position:relative;z-index:1;width:var(--g-main-sidebar-width);color:var(--g-main-sidebar-menu-color);background-color:var(--g-main-sidebar-bg);box-shadow:1px 0 0 0 var(--g-border-color);transition:background-color .3s,color .3s,box-shadow .3s}.main-sidebar-container .sidebar-logo[data-v-e87c7233]{background-color:var(--g-main-sidebar-bg);transition:background-color .3s}.main-sidebar-container .menu[data-v-e87c7233]{flex:1;width:initial;overflow:hidden auto;overscroll-behavior:contain;scrollbar-width:none}.main-sidebar-container .menu[data-v-e87c7233]::-webkit-scrollbar{display:none}.main-sidebar-container .menu[data-v-e87c7233] .menu-item .menu-item-container{padding-block:8px;color:var(--g-main-sidebar-menu-color)}.main-sidebar-container .menu[data-v-e87c7233] .menu-item .menu-item-container:hover{color:var(--g-main-sidebar-menu-hover-color);background-color:var(--g-main-sidebar-menu-hover-bg)}.main-sidebar-container .menu[data-v-e87c7233] .menu-item .menu-item-container .menu-item-container-icon{font-size:24px!important}.main-sidebar-container .menu[data-v-e87c7233] .menu-item.active .menu-item-container{color:var(--g-main-sidebar-menu-active-color)!important;background-color:var(--g-main-sidebar-menu-active-bg)!important}.main-sidebar-enter-active[data-v-e87c7233],.main-sidebar-leave-active[data-v-e87c7233]{transition:.3s}.main-sidebar-enter-from[data-v-e87c7233],.main-sidebar-leave-to[data-v-e87c7233]{transform:translate(calc(var(--g-main-sidebar-width) * -1))} diff --git a/assets/index-HpevpxlN.css.br b/assets/index-HpevpxlN.css.br new file mode 100644 index 000000000..298d0cfb9 Binary files /dev/null and b/assets/index-HpevpxlN.css.br differ diff --git a/assets/index-HpevpxlN.css.gz b/assets/index-HpevpxlN.css.gz new file mode 100644 index 000000000..df0f35034 Binary files /dev/null and b/assets/index-HpevpxlN.css.gz differ diff --git a/assets/index-JQU63b1H.css b/assets/index-JQU63b1H.css new file mode 100644 index 000000000..12cf4ee72 --- /dev/null +++ b/assets/index-JQU63b1H.css @@ -0,0 +1 @@ +.topbar-container[data-v-7e103637]{position:absolute;z-index:999;top:0;display:flex;flex-direction:column;box-shadow:0 1px 0 0 var(--g-border-color);transition:width .3s,top .3s,transform .3s,box-shadow .3s}.topbar-container.topbar-fixed[data-v-7e103637],.topbar-container.topbar-sticky[data-v-7e103637]{position:fixed}.topbar-container.topbar-fixed.shadow[data-v-7e103637],.topbar-container.topbar-sticky.shadow[data-v-7e103637]{box-shadow:0 10px 10px -10px var(--g-box-shadow-color)}.topbar-container.topbar-sticky.hide[data-v-7e103637]{top:calc(var(--g-toolbar-height) * -1)!important} diff --git a/assets/index-JgbDITM4.js b/assets/index-JgbDITM4.js new file mode 100644 index 000000000..9b7780504 --- /dev/null +++ b/assets/index-JgbDITM4.js @@ -0,0 +1 @@ +import{d as B,c as t,o as s,e as l,h as o,i as n,f as c,g,N as v,l as i,M as C,Q as x,_ as N,P as T,O as h,J as w,I as y,q as r}from"./index-QUc3dnoq.js";import L from"./icon-_TQACeT2.js";import I from"./button-DIhwCTDr.js";import V from"./link-YzCXrVhe.js";import{_ as M}from"./radio.vue_vue_type_script_setup_true_lang-cLrYuHB5.js";import{_ as q}from"./checkbox.vue_vue_type_script_setup_true_lang-osHYf2H5.js";import{_ as z}from"./input.vue_vue_type_script_setup_true_lang-R8sHuNS9.js";import{_ as D}from"./inputnumber.vue_vue_type_script_setup_true_lang-2eWjNN31.js";import{_ as F}from"./select.vue_vue_type_script_setup_true_lang-iMG03S69.js";import{_ as H}from"./switch.vue_vue_type_script_setup_true_lang-2BXgrVdH.js";import{_ as J}from"./slider.vue_vue_type_script_setup_true_lang-PM8hxpAN.js";import{_ as O}from"./rate.vue_vue_type_script_setup_true_lang-dPX9Bmzm.js";const Q=c("p",null,"框架内置 Element Plus 组件库,本页仅展示部分组件,更多组件及使用说明请查看 Element Plus 官网",-1),S={class:"mb-0"},j=B({__name:"index",setup(A){const p={图标:L,按钮:I,文字链接:V,单选框:M,多选框:q,输入框:z,数字输入框:D,选择器:F,开关:H,滑块:J,评分:O};function f(m){window.open(m,"_blank")}return(m,e)=>{const u=t("ElLink"),d=N,E=t("ElButton"),$=T,b=t("ElTabPane"),k=t("ElTabs"),P=h;return s(),l("div",null,[o($,{title:"基础组件"},{content:n(()=>[Q,c("p",S,[o(u,{type:"primary",onClick:e[0]||(e[0]=a=>g(v).emit("global-ui-component-switch"))},{default:n(()=>[i(" 不想使用 Element Plus ? ")]),_:1})])]),default:n(()=>[o(E,{onClick:e[1]||(e[1]=a=>f("https://element-plus.org/#/zh-CN"))},{icon:n(()=>[o(d,{name:"ep:link"})]),default:n(()=>[i(" Element Plus 官网 ")]),_:1})]),_:1}),o(P,null,{default:n(()=>[o(k,{type:"border-card"},{default:n(()=>[(s(),l(C,null,x(p,(a,_)=>o(b,{key:_,label:_},{default:n(()=>[(s(),y(w(a)))]),_:2},1032,["label"])),64))]),_:1})]),_:1})])}}});typeof r=="function"&&r(j);export{j as default}; diff --git a/assets/index-JgbDITM4.js.br b/assets/index-JgbDITM4.js.br new file mode 100644 index 000000000..6d616c967 Binary files /dev/null and b/assets/index-JgbDITM4.js.br differ diff --git a/assets/index-JgbDITM4.js.gz b/assets/index-JgbDITM4.js.gz new file mode 100644 index 000000000..39c6bad08 Binary files /dev/null and b/assets/index-JgbDITM4.js.gz differ diff --git a/assets/index-NlqmGqdp.js b/assets/index-NlqmGqdp.js new file mode 100644 index 000000000..498000d4e --- /dev/null +++ b/assets/index-NlqmGqdp.js @@ -0,0 +1 @@ +import{_ as B}from"./HTooltip.vue_vue_type_script_setup_true_lang-Zno0rLrx.js";import{_ as y}from"./HToggle.vue_vue_type_script_setup_true_lang-9Iztqcez.js";import{d as K,r as d,o as M,e as N,h as e,f as r,i as l,l as a,g as u,R as s,P,y as j,O as R,_ as q,U as E,V as O,W,p as z,j as A,n as F}from"./index-QUc3dnoq.js";import{_ as G}from"./HSelect.vue_vue_type_script_setup_true_lang-q86JFcb2.js";import J from"./HKbd-JMGa1MD6.js";import{_ as Q}from"./HInput.vue_vue_type_script_setup_true_lang-6gZX1EIF.js";import X from"./HDropdown-NekqRoz_.js";import{_ as Y}from"./HDialog.vue_vue_type_script_setup_true_lang-SmjOoHXM.js";import{_ as Z}from"./HCheckList.vue_vue_type_script_setup_true_lang-iZLHTb0M.js";const h=m=>(z("data-v-7120472a"),m=m(),A(),m),ee={class:"flex flex-col flex-wrap gap-4 px-4 lg:flex-row"},le=h(()=>r("div",{class:"h-30 w-60 flex items-center justify-center"}," 下拉内容 ",-1)),te=K({__name:"index",setup(m){const c=d(1),p=d(!1),v=d(""),V=d(1),f=d(!1),b=d(1),i=d(!1);return(oe,t)=>{const H=P,_=j,n=R,w=Z,U=Y,g=q,I=X,S=E,k=Q,$=J,C=G,T=O,D=W,x=y,L=B;return M(),N("div",null,[e(H,{title:"内建组件",content:"内建组件仅服务于框架自身,不建议在业务页面内使用,业务页面内请使用专业的 UI 组件库。"}),r("div",ee,[e(n,{title:"Button"},{default:l(()=>[e(_,null,{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{outline:""},{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{disabled:""},{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{disabled:"",outline:""},{default:l(()=>[a(" 按钮 ")]),_:1})]),_:1}),e(n,{title:"CheckList"},{default:l(()=>[e(w,{modelValue:u(c),"onUpdate:modelValue":t[0]||(t[0]=o=>s(c)?c.value=o:null),options:[{label:"选项1",value:1},{label:"选项2",value:2,disabled:!0},{label:"选项3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Dialog"},{default:l(()=>[e(_,{onClick:t[1]||(t[1]=o=>p.value=!0)},{default:l(()=>[a(" 打开 ")]),_:1}),e(U,{modelValue:u(p),"onUpdate:modelValue":t[2]||(t[2]=o=>s(p)?p.value=o:null),title:"标题"},{default:l(()=>[a(" 这里是 dialog 内容 ")]),_:1},8,["modelValue"])]),_:1}),e(n,{title:"Dropdown"},{default:l(()=>[e(I,null,{dropdown:l(()=>[le]),default:l(()=>[r("div",null,[a(" 下拉面板 "),e(g,{name:"ep:caret-bottom"})])]),_:1})]),_:1}),e(n,{title:"DropdownMenu"},{default:l(()=>[e(S,{items:[[{label:"菜单1-1"},{label:"菜单1-2"},{label:"菜单1-3"}],[{label:"菜单2"}]]},{default:l(()=>[r("div",null,[a(" 下拉菜单 "),e(g,{name:"ep:caret-bottom"})])]),_:1})]),_:1}),e(n,{title:"Input"},{default:l(()=>[e(k,{modelValue:u(v),"onUpdate:modelValue":t[3]||(t[3]=o=>s(v)?v.value=o:null)},null,8,["modelValue"])]),_:1}),e(n,{title:"Kbd"},{default:l(()=>[e($,null,{default:l(()=>[a("Ctrl")]),_:1}),e($,null,{default:l(()=>[a("⌘ K")]),_:1})]),_:1}),e(n,{title:"Select"},{default:l(()=>[e(C,{modelValue:u(V),"onUpdate:modelValue":t[4]||(t[4]=o=>s(V)?V.value=o:null),options:[{label:"选项1",value:1},{label:"选项2",value:2,disabled:!0},{label:"选项3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Slideover"},{default:l(()=>[e(_,{onClick:t[5]||(t[5]=o=>f.value=!0)},{default:l(()=>[a(" 打开 ")]),_:1}),e(T,{modelValue:u(f),"onUpdate:modelValue":t[6]||(t[6]=o=>s(f)?f.value=o:null),title:"标题",overlay:!1},{default:l(()=>[a(" 这里是 slideover 内容 ")]),_:1},8,["modelValue"])]),_:1}),e(n,{title:"TabList"},{default:l(()=>[e(D,{modelValue:u(b),"onUpdate:modelValue":t[7]||(t[7]=o=>s(b)?b.value=o:null),options:[{label:"标签1",value:1},{label:"标签2",value:2},{label:"标签3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Toggle"},{default:l(()=>[e(x,{modelValue:u(i),"onUpdate:modelValue":t[8]||(t[8]=o=>s(i)?i.value=o:null)},null,8,["modelValue"]),e(x,{modelValue:u(i),"onUpdate:modelValue":t[9]||(t[9]=o=>s(i)?i.value=o:null),"on-icon":"ri:sun-line","off-icon":"ri:moon-line"},null,8,["modelValue"])]),_:1}),e(n,{title:"Tooltip"},{default:l(()=>[e(L,{text:"注意噢!"},{default:l(()=>[e(g,{name:"ri:question-line"})]),_:1})]),_:1})])])}}}),fe=F(te,[["__scopeId","data-v-7120472a"]]);export{fe as default}; diff --git a/assets/index-NlqmGqdp.js.br b/assets/index-NlqmGqdp.js.br new file mode 100644 index 000000000..d009bc8ad Binary files /dev/null and b/assets/index-NlqmGqdp.js.br differ diff --git a/assets/index-NlqmGqdp.js.gz b/assets/index-NlqmGqdp.js.gz new file mode 100644 index 000000000..ddfb5d586 Binary files /dev/null and b/assets/index-NlqmGqdp.js.gz differ diff --git a/assets/index-P8yjdkN0.css b/assets/index-P8yjdkN0.css new file mode 100644 index 000000000..46be021dd --- /dev/null +++ b/assets/index-P8yjdkN0.css @@ -0,0 +1 @@ +._example-icon_jktcf_1{font-size:48px}._test1_jktcf_5{font-size:24px}._test1_jktcf_5 ._a_jktcf_8{width:100px;height:100px;background-color:#000}._test2_jktcf_14{font-size:24px}._test2_jktcf_14 ._a_jktcf_8{width:100px;height:100px;background-color:#ff0} diff --git a/assets/index-QUc3dnoq.js b/assets/index-QUc3dnoq.js new file mode 100644 index 000000000..881f3f195 --- /dev/null +++ b/assets/index-QUc3dnoq.js @@ -0,0 +1,450 @@ +(function(){const qe=document.createElement("link").relList;if(qe&&qe.supports&&qe.supports("modulepreload"))return;for(const bn of document.querySelectorAll('link[rel="modulepreload"]'))vn(bn);new MutationObserver(bn=>{for(const wn of bn)if(wn.type==="childList")for(const kn of wn.addedNodes)kn.tagName==="LINK"&&kn.rel==="modulepreload"&&vn(kn)}).observe(document,{childList:!0,subtree:!0});function hn(bn){const wn={};return bn.integrity&&(wn.integrity=bn.integrity),bn.referrerPolicy&&(wn.referrerPolicy=bn.referrerPolicy),bn.crossOrigin==="use-credentials"?wn.credentials="include":bn.crossOrigin==="anonymous"?wn.credentials="omit":wn.credentials="same-origin",wn}function vn(bn){if(bn.ep)return;bn.ep=!0;const wn=hn(bn);fetch(bn.href,wn)}})();(function(){var hn;const Fe=document.createElement("script");Fe.src="https://hm.baidu.com/hm.js?7bb58fdfd1fe8ab146d4b4f23686b768";const qe=document.getElementsByTagName("script")[0];(hn=qe.parentNode)==null||hn.insertBefore(Fe,qe)})();{const Fe="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",qe=`${Fe} background: #e24329;`,hn=`${Fe} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",hn,qe,hn,` +https://fantastic-admin.gitee.io`):console.info("%cPowered by%cFantastic-admin",hn,qe,` +https://fantastic-admin.github.io`)}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=Fe=>getComputedStyle(Fe).position==="fixed"?!1:Fe.offsetParent!==null,obtainAllFocusableElements$1=Fe=>Array.from(Fe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(qe=>isFocusable(qe)&&isVisible(qe)),isFocusable=Fe=>{if(Fe.tabIndex>0||Fe.tabIndex===0&&Fe.getAttribute("tabIndex")!==null)return!0;if(Fe.disabled)return!1;switch(Fe.nodeName){case"A":return!!Fe.href&&Fe.rel!=="ignore";case"INPUT":return!(Fe.type==="hidden"||Fe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent$2=function(Fe,qe,...hn){let vn;qe.includes("mouse")||qe.includes("click")?vn="MouseEvents":qe.includes("key")?vn="KeyboardEvent":vn="HTMLEvents";const bn=document.createEvent(vn);return bn.initEvent(qe,...hn),Fe.dispatchEvent(bn),Fe},isLeaf=Fe=>!Fe.getAttribute("aria-owns"),getSibling=(Fe,qe,hn)=>{const{parentNode:vn}=Fe;if(!vn)return null;const bn=vn.querySelectorAll(hn),wn=Array.prototype.indexOf.call(bn,Fe);return bn[wn+qe]||null},focusNode=Fe=>{Fe&&(Fe.focus(),!isLeaf(Fe)&&Fe.click())},composeEventHandlers=(Fe,qe,{checkForDefaultPrevented:hn=!0}={})=>bn=>{const wn=Fe==null?void 0:Fe(bn);if(hn===!1||!wn)return qe==null?void 0:qe(bn)},whenMouse=Fe=>qe=>qe.pointerType==="mouse"?Fe(qe):void 0;function makeMap(Fe,qe){const hn=Object.create(null),vn=Fe.split(",");for(let bn=0;bn!!hn[bn.toLowerCase()]:bn=>!!hn[bn]}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=Fe=>onRE.test(Fe),isModelListener=Fe=>Fe.startsWith("onUpdate:"),extend$1=Object.assign,remove$3=(Fe,qe)=>{const hn=Fe.indexOf(qe);hn>-1&&Fe.splice(hn,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn=(Fe,qe)=>hasOwnProperty$g.call(Fe,qe),isArray$x=Array.isArray,isMap$4=Fe=>toTypeString(Fe)==="[object Map]",isSet$4=Fe=>toTypeString(Fe)==="[object Set]",isDate$a=Fe=>toTypeString(Fe)==="[object Date]",isRegExp$5=Fe=>toTypeString(Fe)==="[object RegExp]",isFunction$i=Fe=>typeof Fe=="function",isString$d=Fe=>typeof Fe=="string",isSymbol$4=Fe=>typeof Fe=="symbol",isObject$9=Fe=>Fe!==null&&typeof Fe=="object",isPromise=Fe=>(isObject$9(Fe)||isFunction$i(Fe))&&isFunction$i(Fe.then)&&isFunction$i(Fe.catch),objectToString$4=Object.prototype.toString,toTypeString=Fe=>objectToString$4.call(Fe),toRawType=Fe=>toTypeString(Fe).slice(8,-1),isPlainObject$b=Fe=>toTypeString(Fe)==="[object Object]",isIntegerKey=Fe=>isString$d(Fe)&&Fe!=="NaN"&&Fe[0]!=="-"&&""+parseInt(Fe,10)===Fe,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=Fe=>{const qe=Object.create(null);return hn=>qe[hn]||(qe[hn]=Fe(hn))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(Fe=>Fe.replace(camelizeRE,(qe,hn)=>hn?hn.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(Fe=>Fe.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(Fe=>Fe.charAt(0).toUpperCase()+Fe.slice(1)),toHandlerKey=cacheStringFunction(Fe=>Fe?`on${capitalize$1(Fe)}`:""),hasChanged=(Fe,qe)=>!Object.is(Fe,qe),invokeArrayFns=(Fe,qe)=>{for(let hn=0;hn{Object.defineProperty(Fe,qe,{configurable:!0,enumerable:!1,value:hn})},looseToNumber=Fe=>{const qe=parseFloat(Fe);return isNaN(qe)?Fe:qe},toNumber$9=Fe=>{const qe=isString$d(Fe)?Number(Fe):NaN;return isNaN(qe)?Fe:qe};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle(Fe){if(isArray$x(Fe)){const qe={};for(let hn=0;hn{if(hn){const vn=hn.split(propertyDelimiterRE);vn.length>1&&(qe[vn[0].trim()]=vn[1].trim())}}),qe}function normalizeClass(Fe){let qe="";if(isString$d(Fe))qe=Fe;else if(isArray$x(Fe))for(let hn=0;hnlooseEqual(hn,qe))}const toDisplayString=Fe=>isString$d(Fe)?Fe:Fe==null?"":isArray$x(Fe)||isObject$9(Fe)&&(Fe.toString===objectToString$4||!isFunction$i(Fe.toString))?JSON.stringify(Fe,replacer,2):String(Fe),replacer=(Fe,qe)=>qe&&qe.__v_isRef?replacer(Fe,qe.value):isMap$4(qe)?{[`Map(${qe.size})`]:[...qe.entries()].reduce((hn,[vn,bn])=>(hn[`${vn} =>`]=bn,hn),{})}:isSet$4(qe)?{[`Set(${qe.size})`]:[...qe.values()]}:isObject$9(qe)&&!isArray$x(qe)&&!isPlainObject$b(qe)?String(qe):qe;let activeEffectScope;class EffectScope{constructor(qe=!1){this.detached=qe,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!qe&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(qe){if(this._active){const hn=activeEffectScope;try{return activeEffectScope=this,qe()}finally{activeEffectScope=hn}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(qe){if(this._active){let hn,vn;for(hn=0,vn=this.effects.length;hn{const qe=new Set(Fe);return qe.w=0,qe.n=0,qe},wasTracked=Fe=>(Fe.w&trackOpBit)>0,newTracked=Fe=>(Fe.n&trackOpBit)>0,initDepMarkers=({deps:Fe})=>{if(Fe.length)for(let qe=0;qe{const{deps:qe}=Fe;if(qe.length){let hn=0;for(let vn=0;vn{(En==="length"||!isSymbol$4(En)&&En>=Cn)&&_n.push(xn)})}else switch(hn!==void 0&&_n.push(kn.get(hn)),qe){case"add":isArray$x(Fe)?isIntegerKey(hn)&&_n.push(kn.get("length")):(_n.push(kn.get(ITERATE_KEY)),isMap$4(Fe)&&_n.push(kn.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$x(Fe)||(_n.push(kn.get(ITERATE_KEY)),isMap$4(Fe)&&_n.push(kn.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$4(Fe)&&_n.push(kn.get(ITERATE_KEY));break}if(_n.length===1)_n[0]&&triggerEffects(_n[0]);else{const Cn=[];for(const xn of _n)xn&&Cn.push(...xn);triggerEffects(createDep(Cn))}}function triggerEffects(Fe,qe){const hn=isArray$x(Fe)?Fe:[...Fe];for(const vn of hn)vn.computed&&triggerEffect(vn);for(const vn of hn)vn.computed||triggerEffect(vn)}function triggerEffect(Fe,qe){(Fe!==activeEffect||Fe.allowRecurse)&&(Fe.scheduler?Fe.scheduler():Fe.run())}function getDepFromReactive(Fe,qe){var hn;return(hn=targetMap.get(Fe))==null?void 0:hn.get(qe)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Fe=>Fe!=="arguments"&&Fe!=="caller").map(Fe=>Symbol[Fe]).filter(isSymbol$4)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const Fe={};return["includes","indexOf","lastIndexOf"].forEach(qe=>{Fe[qe]=function(...hn){const vn=toRaw(this);for(let wn=0,kn=this.length;wn{Fe[qe]=function(...hn){pauseTracking();const vn=toRaw(this)[qe].apply(this,hn);return resetTracking(),vn}}),Fe}function hasOwnProperty$f(Fe){const qe=toRaw(this);return track(qe,"has",Fe),qe.hasOwnProperty(Fe)}class BaseReactiveHandler{constructor(qe=!1,hn=!1){this._isReadonly=qe,this._shallow=hn}get(qe,hn,vn){const bn=this._isReadonly,wn=this._shallow;if(hn==="__v_isReactive")return!bn;if(hn==="__v_isReadonly")return bn;if(hn==="__v_isShallow")return wn;if(hn==="__v_raw"&&vn===(bn?wn?shallowReadonlyMap:readonlyMap:wn?shallowReactiveMap:reactiveMap).get(qe))return qe;const kn=isArray$x(qe);if(!bn){if(kn&&hasOwn(arrayInstrumentations,hn))return Reflect.get(arrayInstrumentations,hn,vn);if(hn==="hasOwnProperty")return hasOwnProperty$f}const _n=Reflect.get(qe,hn,vn);return(isSymbol$4(hn)?builtInSymbols.has(hn):isNonTrackableKeys(hn))||(bn||track(qe,"get",hn),wn)?_n:isRef(_n)?kn&&isIntegerKey(hn)?_n:_n.value:isObject$9(_n)?bn?readonly(_n):reactive(_n):_n}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qe=!1){super(!1,qe)}set(qe,hn,vn,bn){let wn=qe[hn];if(isReadonly(wn)&&isRef(wn)&&!isRef(vn))return!1;if(!this._shallow&&(!isShallow(vn)&&!isReadonly(vn)&&(wn=toRaw(wn),vn=toRaw(vn)),!isArray$x(qe)&&isRef(wn)&&!isRef(vn)))return wn.value=vn,!0;const kn=isArray$x(qe)&&isIntegerKey(hn)?Number(hn)Fe,getProto=Fe=>Reflect.getPrototypeOf(Fe);function get$7(Fe,qe,hn=!1,vn=!1){Fe=Fe.__v_raw;const bn=toRaw(Fe),wn=toRaw(qe);hn||(hasChanged(qe,wn)&&track(bn,"get",qe),track(bn,"get",wn));const{has:kn}=getProto(bn),_n=vn?toShallow:hn?toReadonly:toReactive;if(kn.call(bn,qe))return _n(Fe.get(qe));if(kn.call(bn,wn))return _n(Fe.get(wn));Fe!==bn&&Fe.get(qe)}function has$2(Fe,qe=!1){const hn=this.__v_raw,vn=toRaw(hn),bn=toRaw(Fe);return qe||(hasChanged(Fe,bn)&&track(vn,"has",Fe),track(vn,"has",bn)),Fe===bn?hn.has(Fe):hn.has(Fe)||hn.has(bn)}function size(Fe,qe=!1){return Fe=Fe.__v_raw,!qe&&track(toRaw(Fe),"iterate",ITERATE_KEY),Reflect.get(Fe,"size",Fe)}function add$2(Fe){Fe=toRaw(Fe);const qe=toRaw(this);return getProto(qe).has.call(qe,Fe)||(qe.add(Fe),trigger$1(qe,"add",Fe,Fe)),this}function set$3(Fe,qe){qe=toRaw(qe);const hn=toRaw(this),{has:vn,get:bn}=getProto(hn);let wn=vn.call(hn,Fe);wn||(Fe=toRaw(Fe),wn=vn.call(hn,Fe));const kn=bn.call(hn,Fe);return hn.set(Fe,qe),wn?hasChanged(qe,kn)&&trigger$1(hn,"set",Fe,qe):trigger$1(hn,"add",Fe,qe),this}function deleteEntry(Fe){const qe=toRaw(this),{has:hn,get:vn}=getProto(qe);let bn=hn.call(qe,Fe);bn||(Fe=toRaw(Fe),bn=hn.call(qe,Fe)),vn&&vn.call(qe,Fe);const wn=qe.delete(Fe);return bn&&trigger$1(qe,"delete",Fe,void 0),wn}function clear$3(){const Fe=toRaw(this),qe=Fe.size!==0,hn=Fe.clear();return qe&&trigger$1(Fe,"clear",void 0,void 0),hn}function createForEach(Fe,qe){return function(vn,bn){const wn=this,kn=wn.__v_raw,_n=toRaw(kn),Cn=qe?toShallow:Fe?toReadonly:toReactive;return!Fe&&track(_n,"iterate",ITERATE_KEY),kn.forEach((xn,En)=>vn.call(bn,Cn(xn),Cn(En),wn))}}function createIterableMethod(Fe,qe,hn){return function(...vn){const bn=this.__v_raw,wn=toRaw(bn),kn=isMap$4(wn),_n=Fe==="entries"||Fe===Symbol.iterator&&kn,Cn=Fe==="keys"&&kn,xn=bn[Fe](...vn),En=hn?toShallow:qe?toReadonly:toReactive;return!qe&&track(wn,"iterate",Cn?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:$n,done:Sn}=xn.next();return Sn?{value:$n,done:Sn}:{value:_n?[En($n[0]),En($n[1])]:En($n),done:Sn}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Fe){return function(...qe){return Fe==="delete"?!1:Fe==="clear"?void 0:this}}function createInstrumentations(){const Fe={get(wn){return get$7(this,wn)},get size(){return size(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$3,forEach:createForEach(!1,!1)},qe={get(wn){return get$7(this,wn,!1,!0)},get size(){return size(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$3,forEach:createForEach(!1,!0)},hn={get(wn){return get$7(this,wn,!0)},get size(){return size(this,!0)},has(wn){return has$2.call(this,wn,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},vn={get(wn){return get$7(this,wn,!0,!0)},get size(){return size(this,!0)},has(wn){return has$2.call(this,wn,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(wn=>{Fe[wn]=createIterableMethod(wn,!1,!1),hn[wn]=createIterableMethod(wn,!0,!1),qe[wn]=createIterableMethod(wn,!1,!0),vn[wn]=createIterableMethod(wn,!0,!0)}),[Fe,hn,qe,vn]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(Fe,qe){const hn=qe?Fe?shallowReadonlyInstrumentations:shallowInstrumentations:Fe?readonlyInstrumentations:mutableInstrumentations;return(vn,bn,wn)=>bn==="__v_isReactive"?!Fe:bn==="__v_isReadonly"?Fe:bn==="__v_raw"?vn:Reflect.get(hasOwn(hn,bn)&&bn in vn?hn:vn,bn,wn)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Fe){switch(Fe){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Fe){return Fe.__v_skip||!Object.isExtensible(Fe)?0:targetTypeMap(toRawType(Fe))}function reactive(Fe){return isReadonly(Fe)?Fe:createReactiveObject(Fe,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Fe){return createReactiveObject(Fe,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Fe){return createReactiveObject(Fe,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(Fe,qe,hn,vn,bn){if(!isObject$9(Fe)||Fe.__v_raw&&!(qe&&Fe.__v_isReactive))return Fe;const wn=bn.get(Fe);if(wn)return wn;const kn=getTargetType(Fe);if(kn===0)return Fe;const _n=new Proxy(Fe,kn===2?vn:hn);return bn.set(Fe,_n),_n}function isReactive(Fe){return isReadonly(Fe)?isReactive(Fe.__v_raw):!!(Fe&&Fe.__v_isReactive)}function isReadonly(Fe){return!!(Fe&&Fe.__v_isReadonly)}function isShallow(Fe){return!!(Fe&&Fe.__v_isShallow)}function isProxy(Fe){return isReactive(Fe)||isReadonly(Fe)}function toRaw(Fe){const qe=Fe&&Fe.__v_raw;return qe?toRaw(qe):Fe}function markRaw(Fe){return def(Fe,"__v_skip",!0),Fe}const toReactive=Fe=>isObject$9(Fe)?reactive(Fe):Fe,toReadonly=Fe=>isObject$9(Fe)?readonly(Fe):Fe;function trackRefValue(Fe){shouldTrack&&activeEffect&&(Fe=toRaw(Fe),trackEffects(Fe.dep||(Fe.dep=createDep())))}function triggerRefValue(Fe,qe){Fe=toRaw(Fe);const hn=Fe.dep;hn&&triggerEffects(hn)}function isRef(Fe){return!!(Fe&&Fe.__v_isRef===!0)}function ref(Fe){return createRef(Fe,!1)}function shallowRef(Fe){return createRef(Fe,!0)}function createRef(Fe,qe){return isRef(Fe)?Fe:new RefImpl(Fe,qe)}class RefImpl{constructor(qe,hn){this.__v_isShallow=hn,this.dep=void 0,this.__v_isRef=!0,this._rawValue=hn?qe:toRaw(qe),this._value=hn?qe:toReactive(qe)}get value(){return trackRefValue(this),this._value}set value(qe){const hn=this.__v_isShallow||isShallow(qe)||isReadonly(qe);qe=hn?qe:toRaw(qe),hasChanged(qe,this._rawValue)&&(this._rawValue=qe,this._value=hn?qe:toReactive(qe),triggerRefValue(this))}}function triggerRef(Fe){triggerRefValue(Fe)}function unref(Fe){return isRef(Fe)?Fe.value:Fe}const shallowUnwrapHandlers={get:(Fe,qe,hn)=>unref(Reflect.get(Fe,qe,hn)),set:(Fe,qe,hn,vn)=>{const bn=Fe[qe];return isRef(bn)&&!isRef(hn)?(bn.value=hn,!0):Reflect.set(Fe,qe,hn,vn)}};function proxyRefs(Fe){return isReactive(Fe)?Fe:new Proxy(Fe,shallowUnwrapHandlers)}function toRefs(Fe){const qe=isArray$x(Fe)?new Array(Fe.length):{};for(const hn in Fe)qe[hn]=propertyToRef(Fe,hn);return qe}class ObjectRefImpl{constructor(qe,hn,vn){this._object=qe,this._key=hn,this._defaultValue=vn,this.__v_isRef=!0}get value(){const qe=this._object[this._key];return qe===void 0?this._defaultValue:qe}set value(qe){this._object[this._key]=qe}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qe){this._getter=qe,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(Fe,qe,hn){return isRef(Fe)?Fe:isFunction$i(Fe)?new GetterRefImpl(Fe):isObject$9(Fe)&&arguments.length>1?propertyToRef(Fe,qe,hn):ref(Fe)}function propertyToRef(Fe,qe,hn){const vn=Fe[qe];return isRef(vn)?vn:new ObjectRefImpl(Fe,qe,hn)}class ComputedRefImpl{constructor(qe,hn,vn,bn){this._setter=hn,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ReactiveEffect(qe,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!bn,this.__v_isReadonly=vn}get value(){const qe=toRaw(this);return trackRefValue(qe),(qe._dirty||!qe._cacheable)&&(qe._dirty=!1,qe._value=qe.effect.run()),qe._value}set value(qe){this._setter(qe)}}function computed$1(Fe,qe,hn=!1){let vn,bn;const wn=isFunction$i(Fe);return wn?(vn=Fe,bn=NOOP):(vn=Fe.get,bn=Fe.set),new ComputedRefImpl(vn,bn,wn||!bn,hn)}function warn(Fe,...qe){}function callWithErrorHandling(Fe,qe,hn,vn){let bn;try{bn=vn?Fe(...vn):Fe()}catch(wn){handleError(wn,qe,hn)}return bn}function callWithAsyncErrorHandling(Fe,qe,hn,vn){if(isFunction$i(Fe)){const wn=callWithErrorHandling(Fe,qe,hn,vn);return wn&&isPromise(wn)&&wn.catch(kn=>{handleError(kn,qe,hn)}),wn}const bn=[];for(let wn=0;wn>>1,bn=queue[vn],wn=getId(bn);wnflushIndex&&queue.splice(qe,1)}function queuePostFlushCb(Fe){isArray$x(Fe)?pendingPostFlushCbs.push(...Fe):(!activePostFlushCbs||!activePostFlushCbs.includes(Fe,Fe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(Fe),queueFlush()}function flushPreFlushCbs(Fe,qe=isFlushing?flushIndex+1:0){for(;qegetId(hn)-getId(vn)),postFlushIndex=0;postFlushIndexFe.id==null?1/0:Fe.id,comparator=(Fe,qe)=>{const hn=getId(Fe)-getId(qe);if(hn===0){if(Fe.pre&&!qe.pre)return-1;if(qe.pre&&!Fe.pre)return 1}return hn};function flushJobs(Fe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexisString$d(An)?An.trim():An)),$n&&(bn=hn.map(looseToNumber))}let _n,Cn=vn[_n=toHandlerKey(qe)]||vn[_n=toHandlerKey(camelize(qe))];!Cn&&wn&&(Cn=vn[_n=toHandlerKey(hyphenate(qe))]),Cn&&callWithAsyncErrorHandling(Cn,Fe,6,bn);const xn=vn[_n+"Once"];if(xn){if(!Fe.emitted)Fe.emitted={};else if(Fe.emitted[_n])return;Fe.emitted[_n]=!0,callWithAsyncErrorHandling(xn,Fe,6,bn)}}function normalizeEmitsOptions(Fe,qe,hn=!1){const vn=qe.emitsCache,bn=vn.get(Fe);if(bn!==void 0)return bn;const wn=Fe.emits;let kn={},_n=!1;if(!isFunction$i(Fe)){const Cn=xn=>{const En=normalizeEmitsOptions(xn,qe,!0);En&&(_n=!0,extend$1(kn,En))};!hn&&qe.mixins.length&&qe.mixins.forEach(Cn),Fe.extends&&Cn(Fe.extends),Fe.mixins&&Fe.mixins.forEach(Cn)}return!wn&&!_n?(isObject$9(Fe)&&vn.set(Fe,null),null):(isArray$x(wn)?wn.forEach(Cn=>kn[Cn]=null):extend$1(kn,wn),isObject$9(Fe)&&vn.set(Fe,kn),kn)}function isEmitListener(Fe,qe){return!Fe||!isOn(qe)?!1:(qe=qe.slice(2).replace(/Once$/,""),hasOwn(Fe,qe[0].toLowerCase()+qe.slice(1))||hasOwn(Fe,hyphenate(qe))||hasOwn(Fe,qe))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(Fe){const qe=currentRenderingInstance;return currentRenderingInstance=Fe,currentScopeId=Fe&&Fe.type.__scopeId||null,qe}function pushScopeId(Fe){currentScopeId=Fe}function popScopeId(){currentScopeId=null}const withScopeId=Fe=>withCtx;function withCtx(Fe,qe=currentRenderingInstance,hn){if(!qe||Fe._n)return Fe;const vn=(...bn)=>{vn._d&&setBlockTracking(-1);const wn=setCurrentRenderingInstance(qe);let kn;try{kn=Fe(...bn)}finally{setCurrentRenderingInstance(wn),vn._d&&setBlockTracking(1)}return kn};return vn._n=!0,vn._c=!0,vn._d=!0,vn}function markAttrsAccessed(){}function renderComponentRoot(Fe){const{type:qe,vnode:hn,proxy:vn,withProxy:bn,props:wn,propsOptions:[kn],slots:_n,attrs:Cn,emit:xn,render:En,renderCache:$n,data:Sn,setupState:An,ctx:Tn,inheritAttrs:Nn}=Fe;let Pn,On;const Rn=setCurrentRenderingInstance(Fe);try{if(hn.shapeFlag&4){const Mn=bn||vn,Bn=Mn;Pn=normalizeVNode(En.call(Bn,Mn,$n,wn,An,Sn,Tn)),On=Cn}else{const Mn=qe;Pn=normalizeVNode(Mn.length>1?Mn(wn,{attrs:Cn,slots:_n,emit:xn}):Mn(wn,null)),On=qe.props?Cn:getFunctionalFallthrough(Cn)}}catch(Mn){blockStack.length=0,handleError(Mn,Fe,1),Pn=createVNode(Comment$1)}let In=Pn;if(On&&Nn!==!1){const Mn=Object.keys(On),{shapeFlag:Bn}=In;Mn.length&&Bn&7&&(kn&&Mn.some(isModelListener)&&(On=filterModelListeners(On,kn)),In=cloneVNode(In,On))}return hn.dirs&&(In=cloneVNode(In),In.dirs=In.dirs?In.dirs.concat(hn.dirs):hn.dirs),hn.transition&&(In.transition=hn.transition),Pn=In,setCurrentRenderingInstance(Rn),Pn}const getFunctionalFallthrough=Fe=>{let qe;for(const hn in Fe)(hn==="class"||hn==="style"||isOn(hn))&&((qe||(qe={}))[hn]=Fe[hn]);return qe},filterModelListeners=(Fe,qe)=>{const hn={};for(const vn in Fe)(!isModelListener(vn)||!(vn.slice(9)in qe))&&(hn[vn]=Fe[vn]);return hn};function shouldUpdateComponent(Fe,qe,hn){const{props:vn,children:bn,component:wn}=Fe,{props:kn,children:_n,patchFlag:Cn}=qe,xn=wn.emitsOptions;if(qe.dirs||qe.transition)return!0;if(hn&&Cn>=0){if(Cn&1024)return!0;if(Cn&16)return vn?hasPropsChanged(vn,kn,xn):!!kn;if(Cn&8){const En=qe.dynamicProps;for(let $n=0;$nFe.__isSuspense;function queueEffectWithSuspense(Fe,qe){qe&&qe.pendingBranch?isArray$x(Fe)?qe.effects.push(...Fe):qe.effects.push(Fe):queuePostFlushCb(Fe)}function watchEffect(Fe,qe){return doWatch(Fe,null,qe)}function watchPostEffect(Fe,qe){return doWatch(Fe,null,{flush:"post"})}const INITIAL_WATCHER_VALUE={};function watch(Fe,qe,hn){return doWatch(Fe,qe,hn)}function doWatch(Fe,qe,{immediate:hn,deep:vn,flush:bn,onTrack:wn,onTrigger:kn}=EMPTY_OBJ){var _n;const Cn=getCurrentScope()===((_n=currentInstance)==null?void 0:_n.scope)?currentInstance:null;let xn,En=!1,$n=!1;if(isRef(Fe)?(xn=()=>Fe.value,En=isShallow(Fe)):isReactive(Fe)?(xn=()=>Fe,vn=!0):isArray$x(Fe)?($n=!0,En=Fe.some(Mn=>isReactive(Mn)||isShallow(Mn)),xn=()=>Fe.map(Mn=>{if(isRef(Mn))return Mn.value;if(isReactive(Mn))return traverse(Mn);if(isFunction$i(Mn))return callWithErrorHandling(Mn,Cn,2)})):isFunction$i(Fe)?qe?xn=()=>callWithErrorHandling(Fe,Cn,2):xn=()=>{if(!(Cn&&Cn.isUnmounted))return Sn&&Sn(),callWithAsyncErrorHandling(Fe,Cn,3,[An])}:xn=NOOP,qe&&vn){const Mn=xn;xn=()=>traverse(Mn())}let Sn,An=Mn=>{Sn=Rn.onStop=()=>{callWithErrorHandling(Mn,Cn,4),Sn=Rn.onStop=void 0}},Tn;if(isInSSRComponentSetup)if(An=NOOP,qe?hn&&callWithAsyncErrorHandling(qe,Cn,3,[xn(),$n?[]:void 0,An]):xn(),bn==="sync"){const Mn=useSSRContext();Tn=Mn.__watcherHandles||(Mn.__watcherHandles=[])}else return NOOP;let Nn=$n?new Array(Fe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Pn=()=>{if(Rn.active)if(qe){const Mn=Rn.run();(vn||En||($n?Mn.some((Bn,Dn)=>hasChanged(Bn,Nn[Dn])):hasChanged(Mn,Nn)))&&(Sn&&Sn(),callWithAsyncErrorHandling(qe,Cn,3,[Mn,Nn===INITIAL_WATCHER_VALUE?void 0:$n&&Nn[0]===INITIAL_WATCHER_VALUE?[]:Nn,An]),Nn=Mn)}else Rn.run()};Pn.allowRecurse=!!qe;let On;bn==="sync"?On=Pn:bn==="post"?On=()=>queuePostRenderEffect(Pn,Cn&&Cn.suspense):(Pn.pre=!0,Cn&&(Pn.id=Cn.uid),On=()=>queueJob(Pn));const Rn=new ReactiveEffect(xn,On);qe?hn?Pn():Nn=Rn.run():bn==="post"?queuePostRenderEffect(Rn.run.bind(Rn),Cn&&Cn.suspense):Rn.run();const In=()=>{Rn.stop(),Cn&&Cn.scope&&remove$3(Cn.scope.effects,Rn)};return Tn&&Tn.push(In),In}function instanceWatch(Fe,qe,hn){const vn=this.proxy,bn=isString$d(Fe)?Fe.includes(".")?createPathGetter(vn,Fe):()=>vn[Fe]:Fe.bind(vn,vn);let wn;isFunction$i(qe)?wn=qe:(wn=qe.handler,hn=qe);const kn=currentInstance;setCurrentInstance(this);const _n=doWatch(bn,wn.bind(vn),hn);return kn?setCurrentInstance(kn):unsetCurrentInstance(),_n}function createPathGetter(Fe,qe){const hn=qe.split(".");return()=>{let vn=Fe;for(let bn=0;bn{traverse(hn,qe)});else if(isPlainObject$b(Fe))for(const hn in Fe)traverse(Fe[hn],qe);return Fe}function withDirectives(Fe,qe){const hn=currentRenderingInstance;if(hn===null)return Fe;const vn=getExposeProxy(hn)||hn.proxy,bn=Fe.dirs||(Fe.dirs=[]);for(let wn=0;wn{Fe.isMounted=!0}),onBeforeUnmount(()=>{Fe.isUnmounting=!0}),Fe}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Fe,{slots:qe}){const hn=getCurrentInstance(),vn=useTransitionState();let bn;return()=>{const wn=qe.default&&getTransitionRawChildren(qe.default(),!0);if(!wn||!wn.length)return;let kn=wn[0];if(wn.length>1){for(const Nn of wn)if(Nn.type!==Comment$1){kn=Nn;break}}const _n=toRaw(Fe),{mode:Cn}=_n;if(vn.isLeaving)return emptyPlaceholder(kn);const xn=getKeepAliveChild(kn);if(!xn)return emptyPlaceholder(kn);const En=resolveTransitionHooks(xn,_n,vn,hn);setTransitionHooks(xn,En);const $n=hn.subTree,Sn=$n&&getKeepAliveChild($n);let An=!1;const{getTransitionKey:Tn}=xn.type;if(Tn){const Nn=Tn();bn===void 0?bn=Nn:Nn!==bn&&(bn=Nn,An=!0)}if(Sn&&Sn.type!==Comment$1&&(!isSameVNodeType(xn,Sn)||An)){const Nn=resolveTransitionHooks(Sn,_n,vn,hn);if(setTransitionHooks(Sn,Nn),Cn==="out-in")return vn.isLeaving=!0,Nn.afterLeave=()=>{vn.isLeaving=!1,hn.update.active!==!1&&hn.update()},emptyPlaceholder(kn);Cn==="in-out"&&xn.type!==Comment$1&&(Nn.delayLeave=(Pn,On,Rn)=>{const In=getLeavingNodesForType(vn,Sn);In[String(Sn.key)]=Sn,Pn[leaveCbKey]=()=>{On(),Pn[leaveCbKey]=void 0,delete En.delayedLeave},En.delayedLeave=Rn})}return kn}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Fe,qe){const{leavingVNodes:hn}=Fe;let vn=hn.get(qe.type);return vn||(vn=Object.create(null),hn.set(qe.type,vn)),vn}function resolveTransitionHooks(Fe,qe,hn,vn){const{appear:bn,mode:wn,persisted:kn=!1,onBeforeEnter:_n,onEnter:Cn,onAfterEnter:xn,onEnterCancelled:En,onBeforeLeave:$n,onLeave:Sn,onAfterLeave:An,onLeaveCancelled:Tn,onBeforeAppear:Nn,onAppear:Pn,onAfterAppear:On,onAppearCancelled:Rn}=qe,In=String(Fe.key),Mn=getLeavingNodesForType(hn,Fe),Bn=(Ln,zn)=>{Ln&&callWithAsyncErrorHandling(Ln,vn,9,zn)},Dn=(Ln,zn)=>{const Hn=zn[1];Bn(Ln,zn),isArray$x(Ln)?Ln.every(Fn=>Fn.length<=1)&&Hn():Ln.length<=1&&Hn()},Vn={mode:wn,persisted:kn,beforeEnter(Ln){let zn=_n;if(!hn.isMounted)if(bn)zn=Nn||_n;else return;Ln[leaveCbKey]&&Ln[leaveCbKey](!0);const Hn=Mn[In];Hn&&isSameVNodeType(Fe,Hn)&&Hn.el[leaveCbKey]&&Hn.el[leaveCbKey](),Bn(zn,[Ln])},enter(Ln){let zn=Cn,Hn=xn,Fn=En;if(!hn.isMounted)if(bn)zn=Pn||Cn,Hn=On||xn,Fn=Rn||En;else return;let Kn=!1;const Un=Ln[enterCbKey$1]=Gn=>{Kn||(Kn=!0,Gn?Bn(Fn,[Ln]):Bn(Hn,[Ln]),Vn.delayedLeave&&Vn.delayedLeave(),Ln[enterCbKey$1]=void 0)};zn?Dn(zn,[Ln,Un]):Un()},leave(Ln,zn){const Hn=String(Fe.key);if(Ln[enterCbKey$1]&&Ln[enterCbKey$1](!0),hn.isUnmounting)return zn();Bn($n,[Ln]);let Fn=!1;const Kn=Ln[leaveCbKey]=Un=>{Fn||(Fn=!0,zn(),Un?Bn(Tn,[Ln]):Bn(An,[Ln]),Ln[leaveCbKey]=void 0,Mn[Hn]===Fe&&delete Mn[Hn])};Mn[Hn]=Fe,Sn?Dn(Sn,[Ln,Kn]):Kn()},clone(Ln){return resolveTransitionHooks(Ln,qe,hn,vn)}};return Vn}function emptyPlaceholder(Fe){if(isKeepAlive(Fe))return Fe=cloneVNode(Fe),Fe.children=null,Fe}function getKeepAliveChild(Fe){return isKeepAlive(Fe)?Fe.children?Fe.children[0]:void 0:Fe}function setTransitionHooks(Fe,qe){Fe.shapeFlag&6&&Fe.component?setTransitionHooks(Fe.component.subTree,qe):Fe.shapeFlag&128?(Fe.ssContent.transition=qe.clone(Fe.ssContent),Fe.ssFallback.transition=qe.clone(Fe.ssFallback)):Fe.transition=qe}function getTransitionRawChildren(Fe,qe=!1,hn){let vn=[],bn=0;for(let wn=0;wn1)for(let wn=0;wn!!Fe.type.__asyncLoader,isKeepAlive=Fe=>Fe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(Fe,{slots:qe}){const hn=getCurrentInstance(),vn=hn.ctx;if(!vn.renderer)return()=>{const Rn=qe.default&&qe.default();return Rn&&Rn.length===1?Rn[0]:Rn};const bn=new Map,wn=new Set;let kn=null;const _n=hn.suspense,{renderer:{p:Cn,m:xn,um:En,o:{createElement:$n}}}=vn,Sn=$n("div");vn.activate=(Rn,In,Mn,Bn,Dn)=>{const Vn=Rn.component;xn(Rn,In,Mn,0,_n),Cn(Vn.vnode,Rn,In,Mn,Vn,_n,Bn,Rn.slotScopeIds,Dn),queuePostRenderEffect(()=>{Vn.isDeactivated=!1,Vn.a&&invokeArrayFns(Vn.a);const Ln=Rn.props&&Rn.props.onVnodeMounted;Ln&&invokeVNodeHook(Ln,Vn.parent,Rn)},_n)},vn.deactivate=Rn=>{const In=Rn.component;xn(Rn,Sn,null,1,_n),queuePostRenderEffect(()=>{In.da&&invokeArrayFns(In.da);const Mn=Rn.props&&Rn.props.onVnodeUnmounted;Mn&&invokeVNodeHook(Mn,In.parent,Rn),In.isDeactivated=!0},_n)};function An(Rn){resetShapeFlag(Rn),En(Rn,hn,_n,!0)}function Tn(Rn){bn.forEach((In,Mn)=>{const Bn=getComponentName$1(In.type);Bn&&(!Rn||!Rn(Bn))&&Nn(Mn)})}function Nn(Rn){const In=bn.get(Rn);!kn||!isSameVNodeType(In,kn)?An(In):kn&&resetShapeFlag(kn),bn.delete(Rn),wn.delete(Rn)}watch(()=>[Fe.include,Fe.exclude],([Rn,In])=>{Rn&&Tn(Mn=>matches(Rn,Mn)),In&&Tn(Mn=>!matches(In,Mn))},{flush:"post",deep:!0});let Pn=null;const On=()=>{Pn!=null&&bn.set(Pn,getInnerChild(hn.subTree))};return onMounted(On),onUpdated(On),onBeforeUnmount(()=>{bn.forEach(Rn=>{const{subTree:In,suspense:Mn}=hn,Bn=getInnerChild(In);if(Rn.type===Bn.type&&Rn.key===Bn.key){resetShapeFlag(Bn);const Dn=Bn.component.da;Dn&&queuePostRenderEffect(Dn,Mn);return}An(Rn)})}),()=>{if(Pn=null,!qe.default)return null;const Rn=qe.default(),In=Rn[0];if(Rn.length>1)return kn=null,Rn;if(!isVNode(In)||!(In.shapeFlag&4)&&!(In.shapeFlag&128))return kn=null,In;let Mn=getInnerChild(In);const Bn=Mn.type,Dn=getComponentName$1(isAsyncWrapper(Mn)?Mn.type.__asyncResolved||{}:Bn),{include:Vn,exclude:Ln,max:zn}=Fe;if(Vn&&(!Dn||!matches(Vn,Dn))||Ln&&Dn&&matches(Ln,Dn))return kn=Mn,In;const Hn=Mn.key==null?Bn:Mn.key,Fn=bn.get(Hn);return Mn.el&&(Mn=cloneVNode(Mn),In.shapeFlag&128&&(In.ssContent=Mn)),Pn=Hn,Fn?(Mn.el=Fn.el,Mn.component=Fn.component,Mn.transition&&setTransitionHooks(Mn,Mn.transition),Mn.shapeFlag|=512,wn.delete(Hn),wn.add(Hn)):(wn.add(Hn),zn&&wn.size>parseInt(zn,10)&&Nn(wn.values().next().value)),Mn.shapeFlag|=256,kn=Mn,isSuspense(In.type)?In:Mn}}},KeepAlive=KeepAliveImpl;function matches(Fe,qe){return isArray$x(Fe)?Fe.some(hn=>matches(hn,qe)):isString$d(Fe)?Fe.split(",").includes(qe):isRegExp$5(Fe)?Fe.test(qe):!1}function onActivated(Fe,qe){registerKeepAliveHook(Fe,"a",qe)}function onDeactivated(Fe,qe){registerKeepAliveHook(Fe,"da",qe)}function registerKeepAliveHook(Fe,qe,hn=currentInstance){const vn=Fe.__wdc||(Fe.__wdc=()=>{let bn=hn;for(;bn;){if(bn.isDeactivated)return;bn=bn.parent}return Fe()});if(injectHook(qe,vn,hn),hn){let bn=hn.parent;for(;bn&&bn.parent;)isKeepAlive(bn.parent.vnode)&&injectToKeepAliveRoot(vn,qe,hn,bn),bn=bn.parent}}function injectToKeepAliveRoot(Fe,qe,hn,vn){const bn=injectHook(qe,Fe,vn,!0);onUnmounted(()=>{remove$3(vn[qe],bn)},hn)}function resetShapeFlag(Fe){Fe.shapeFlag&=-257,Fe.shapeFlag&=-513}function getInnerChild(Fe){return Fe.shapeFlag&128?Fe.ssContent:Fe}function injectHook(Fe,qe,hn=currentInstance,vn=!1){if(hn){const bn=hn[Fe]||(hn[Fe]=[]),wn=qe.__weh||(qe.__weh=(...kn)=>{if(hn.isUnmounted)return;pauseTracking(),setCurrentInstance(hn);const _n=callWithAsyncErrorHandling(qe,hn,Fe,kn);return unsetCurrentInstance(),resetTracking(),_n});return vn?bn.unshift(wn):bn.push(wn),wn}}const createHook=Fe=>(qe,hn=currentInstance)=>(!isInSSRComponentSetup||Fe==="sp")&&injectHook(Fe,(...vn)=>qe(...vn),hn),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(Fe,qe=currentInstance){injectHook("ec",Fe,qe)}function renderList(Fe,qe,hn,vn){let bn;const wn=hn&&hn[vn];if(isArray$x(Fe)||isString$d(Fe)){bn=new Array(Fe.length);for(let kn=0,_n=Fe.length;kn<_n;kn++)bn[kn]=qe(Fe[kn],kn,void 0,wn&&wn[kn])}else if(typeof Fe=="number"){bn=new Array(Fe);for(let kn=0;knqe(kn,_n,void 0,wn&&wn[_n]));else{const kn=Object.keys(Fe);bn=new Array(kn.length);for(let _n=0,Cn=kn.length;_n{const wn=vn.fn(...bn);return wn&&(wn.key=vn.key),wn}:vn.fn)}return Fe}function renderSlot(Fe,qe,hn={},vn,bn){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return qe!=="default"&&(hn.name=qe),createVNode("slot",hn,vn&&vn());let wn=Fe[qe];wn&&wn._c&&(wn._d=!1),openBlock();const kn=wn&&ensureValidVNode(wn(hn)),_n=createBlock(Fragment,{key:hn.key||kn&&kn.key||`_${qe}`},kn||(vn?vn():[]),kn&&Fe._===1?64:-2);return!bn&&_n.scopeId&&(_n.slotScopeIds=[_n.scopeId+"-s"]),wn&&wn._c&&(wn._d=!0),_n}function ensureValidVNode(Fe){return Fe.some(qe=>isVNode(qe)?!(qe.type===Comment$1||qe.type===Fragment&&!ensureValidVNode(qe.children)):!0)?Fe:null}function toHandlers(Fe,qe){const hn={};for(const vn in Fe)hn[qe&&/[A-Z]/.test(vn)?`on:${vn}`:toHandlerKey(vn)]=Fe[vn];return hn}const getPublicInstance=Fe=>Fe?isStatefulComponent(Fe)?getExposeProxy(Fe)||Fe.proxy:getPublicInstance(Fe.parent):null,publicPropertiesMap=extend$1(Object.create(null),{$:Fe=>Fe,$el:Fe=>Fe.vnode.el,$data:Fe=>Fe.data,$props:Fe=>Fe.props,$attrs:Fe=>Fe.attrs,$slots:Fe=>Fe.slots,$refs:Fe=>Fe.refs,$parent:Fe=>getPublicInstance(Fe.parent),$root:Fe=>getPublicInstance(Fe.root),$emit:Fe=>Fe.emit,$options:Fe=>resolveMergedOptions(Fe),$forceUpdate:Fe=>Fe.f||(Fe.f=()=>queueJob(Fe.update)),$nextTick:Fe=>Fe.n||(Fe.n=nextTick.bind(Fe.proxy)),$watch:Fe=>instanceWatch.bind(Fe)}),hasSetupBinding=(Fe,qe)=>Fe!==EMPTY_OBJ&&!Fe.__isScriptSetup&&hasOwn(Fe,qe),PublicInstanceProxyHandlers={get({_:Fe},qe){const{ctx:hn,setupState:vn,data:bn,props:wn,accessCache:kn,type:_n,appContext:Cn}=Fe;let xn;if(qe[0]!=="$"){const An=kn[qe];if(An!==void 0)switch(An){case 1:return vn[qe];case 2:return bn[qe];case 4:return hn[qe];case 3:return wn[qe]}else{if(hasSetupBinding(vn,qe))return kn[qe]=1,vn[qe];if(bn!==EMPTY_OBJ&&hasOwn(bn,qe))return kn[qe]=2,bn[qe];if((xn=Fe.propsOptions[0])&&hasOwn(xn,qe))return kn[qe]=3,wn[qe];if(hn!==EMPTY_OBJ&&hasOwn(hn,qe))return kn[qe]=4,hn[qe];shouldCacheAccess&&(kn[qe]=0)}}const En=publicPropertiesMap[qe];let $n,Sn;if(En)return qe==="$attrs"&&track(Fe,"get",qe),En(Fe);if(($n=_n.__cssModules)&&($n=$n[qe]))return $n;if(hn!==EMPTY_OBJ&&hasOwn(hn,qe))return kn[qe]=4,hn[qe];if(Sn=Cn.config.globalProperties,hasOwn(Sn,qe))return Sn[qe]},set({_:Fe},qe,hn){const{data:vn,setupState:bn,ctx:wn}=Fe;return hasSetupBinding(bn,qe)?(bn[qe]=hn,!0):vn!==EMPTY_OBJ&&hasOwn(vn,qe)?(vn[qe]=hn,!0):hasOwn(Fe.props,qe)||qe[0]==="$"&&qe.slice(1)in Fe?!1:(wn[qe]=hn,!0)},has({_:{data:Fe,setupState:qe,accessCache:hn,ctx:vn,appContext:bn,propsOptions:wn}},kn){let _n;return!!hn[kn]||Fe!==EMPTY_OBJ&&hasOwn(Fe,kn)||hasSetupBinding(qe,kn)||(_n=wn[0])&&hasOwn(_n,kn)||hasOwn(vn,kn)||hasOwn(publicPropertiesMap,kn)||hasOwn(bn.config.globalProperties,kn)},defineProperty(Fe,qe,hn){return hn.get!=null?Fe._.accessCache[qe]=0:hasOwn(hn,"value")&&this.set(Fe,qe,hn.value,null),Reflect.defineProperty(Fe,qe,hn)}};function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const Fe=getCurrentInstance();return Fe.setupContext||(Fe.setupContext=createSetupContext(Fe))}function normalizePropsOrEmits(Fe){return isArray$x(Fe)?Fe.reduce((qe,hn)=>(qe[hn]=null,qe),{}):Fe}let shouldCacheAccess=!0;function applyOptions(Fe){const qe=resolveMergedOptions(Fe),hn=Fe.proxy,vn=Fe.ctx;shouldCacheAccess=!1,qe.beforeCreate&&callHook$1(qe.beforeCreate,Fe,"bc");const{data:bn,computed:wn,methods:kn,watch:_n,provide:Cn,inject:xn,created:En,beforeMount:$n,mounted:Sn,beforeUpdate:An,updated:Tn,activated:Nn,deactivated:Pn,beforeDestroy:On,beforeUnmount:Rn,destroyed:In,unmounted:Mn,render:Bn,renderTracked:Dn,renderTriggered:Vn,errorCaptured:Ln,serverPrefetch:zn,expose:Hn,inheritAttrs:Fn,components:Kn,directives:Un,filters:Gn}=qe;if(xn&&resolveInjections(xn,vn,null),kn)for(const Xn in kn){const qn=kn[Xn];isFunction$i(qn)&&(vn[Xn]=qn.bind(hn))}if(bn){const Xn=bn.call(hn,hn);isObject$9(Xn)&&(Fe.data=reactive(Xn))}if(shouldCacheAccess=!0,wn)for(const Xn in wn){const qn=wn[Xn],jn=isFunction$i(qn)?qn.bind(hn,hn):isFunction$i(qn.get)?qn.get.bind(hn,hn):NOOP,Jn=!isFunction$i(qn)&&isFunction$i(qn.set)?qn.set.bind(hn):NOOP,Qn=computed({get:jn,set:Jn});Object.defineProperty(vn,Xn,{enumerable:!0,configurable:!0,get:()=>Qn.value,set:no=>Qn.value=no})}if(_n)for(const Xn in _n)createWatcher(_n[Xn],vn,hn,Xn);if(Cn){const Xn=isFunction$i(Cn)?Cn.call(hn):Cn;Reflect.ownKeys(Xn).forEach(qn=>{provide(qn,Xn[qn])})}En&&callHook$1(En,Fe,"c");function Yn(Xn,qn){isArray$x(qn)?qn.forEach(jn=>Xn(jn.bind(hn))):qn&&Xn(qn.bind(hn))}if(Yn(onBeforeMount,$n),Yn(onMounted,Sn),Yn(onBeforeUpdate,An),Yn(onUpdated,Tn),Yn(onActivated,Nn),Yn(onDeactivated,Pn),Yn(onErrorCaptured,Ln),Yn(onRenderTracked,Dn),Yn(onRenderTriggered,Vn),Yn(onBeforeUnmount,Rn),Yn(onUnmounted,Mn),Yn(onServerPrefetch,zn),isArray$x(Hn))if(Hn.length){const Xn=Fe.exposed||(Fe.exposed={});Hn.forEach(qn=>{Object.defineProperty(Xn,qn,{get:()=>hn[qn],set:jn=>hn[qn]=jn})})}else Fe.exposed||(Fe.exposed={});Bn&&Fe.render===NOOP&&(Fe.render=Bn),Fn!=null&&(Fe.inheritAttrs=Fn),Kn&&(Fe.components=Kn),Un&&(Fe.directives=Un)}function resolveInjections(Fe,qe,hn=NOOP){isArray$x(Fe)&&(Fe=normalizeInject(Fe));for(const vn in Fe){const bn=Fe[vn];let wn;isObject$9(bn)?"default"in bn?wn=inject(bn.from||vn,bn.default,!0):wn=inject(bn.from||vn):wn=inject(bn),isRef(wn)?Object.defineProperty(qe,vn,{enumerable:!0,configurable:!0,get:()=>wn.value,set:kn=>wn.value=kn}):qe[vn]=wn}}function callHook$1(Fe,qe,hn){callWithAsyncErrorHandling(isArray$x(Fe)?Fe.map(vn=>vn.bind(qe.proxy)):Fe.bind(qe.proxy),qe,hn)}function createWatcher(Fe,qe,hn,vn){const bn=vn.includes(".")?createPathGetter(hn,vn):()=>hn[vn];if(isString$d(Fe)){const wn=qe[Fe];isFunction$i(wn)&&watch(bn,wn)}else if(isFunction$i(Fe))watch(bn,Fe.bind(hn));else if(isObject$9(Fe))if(isArray$x(Fe))Fe.forEach(wn=>createWatcher(wn,qe,hn,vn));else{const wn=isFunction$i(Fe.handler)?Fe.handler.bind(hn):qe[Fe.handler];isFunction$i(wn)&&watch(bn,wn,Fe)}}function resolveMergedOptions(Fe){const qe=Fe.type,{mixins:hn,extends:vn}=qe,{mixins:bn,optionsCache:wn,config:{optionMergeStrategies:kn}}=Fe.appContext,_n=wn.get(qe);let Cn;return _n?Cn=_n:!bn.length&&!hn&&!vn?Cn=qe:(Cn={},bn.length&&bn.forEach(xn=>mergeOptions$2(Cn,xn,kn,!0)),mergeOptions$2(Cn,qe,kn)),isObject$9(qe)&&wn.set(qe,Cn),Cn}function mergeOptions$2(Fe,qe,hn,vn=!1){const{mixins:bn,extends:wn}=qe;wn&&mergeOptions$2(Fe,wn,hn,!0),bn&&bn.forEach(kn=>mergeOptions$2(Fe,kn,hn,!0));for(const kn in qe)if(!(vn&&kn==="expose")){const _n=internalOptionMergeStrats[kn]||hn&&hn[kn];Fe[kn]=_n?_n(Fe[kn],qe[kn]):qe[kn]}return Fe}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Fe,qe){return qe?Fe?function(){return extend$1(isFunction$i(Fe)?Fe.call(this,this):Fe,isFunction$i(qe)?qe.call(this,this):qe)}:qe:Fe}function mergeInject(Fe,qe){return mergeObjectOptions(normalizeInject(Fe),normalizeInject(qe))}function normalizeInject(Fe){if(isArray$x(Fe)){const qe={};for(let hn=0;hn1)return hn&&isFunction$i(qe)?qe.call(vn&&vn.proxy):qe}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps(Fe,qe,hn,vn=!1){const bn={},wn={};def(wn,InternalObjectKey,1),Fe.propsDefaults=Object.create(null),setFullProps(Fe,qe,bn,wn);for(const kn in Fe.propsOptions[0])kn in bn||(bn[kn]=void 0);hn?Fe.props=vn?bn:shallowReactive(bn):Fe.type.props?Fe.props=bn:Fe.props=wn,Fe.attrs=wn}function updateProps(Fe,qe,hn,vn){const{props:bn,attrs:wn,vnode:{patchFlag:kn}}=Fe,_n=toRaw(bn),[Cn]=Fe.propsOptions;let xn=!1;if((vn||kn>0)&&!(kn&16)){if(kn&8){const En=Fe.vnode.dynamicProps;for(let $n=0;$n{Cn=!0;const[Sn,An]=normalizePropsOptions($n,qe,!0);extend$1(kn,Sn),An&&_n.push(...An)};!hn&&qe.mixins.length&&qe.mixins.forEach(En),Fe.extends&&En(Fe.extends),Fe.mixins&&Fe.mixins.forEach(En)}if(!wn&&!Cn)return isObject$9(Fe)&&vn.set(Fe,EMPTY_ARR),EMPTY_ARR;if(isArray$x(wn))for(let En=0;En-1,An[1]=Nn<0||Tn-1||hasOwn(An,"default"))&&_n.push($n)}}}const xn=[kn,_n];return isObject$9(Fe)&&vn.set(Fe,xn),xn}function validatePropName(Fe){return Fe[0]!=="$"}function getType$2(Fe){const qe=Fe&&Fe.toString().match(/^\s*(function|class) (\w+)/);return qe?qe[2]:Fe===null?"null":""}function isSameType(Fe,qe){return getType$2(Fe)===getType$2(qe)}function getTypeIndex(Fe,qe){return isArray$x(qe)?qe.findIndex(hn=>isSameType(hn,Fe)):isFunction$i(qe)&&isSameType(qe,Fe)?0:-1}const isInternalKey=Fe=>Fe[0]==="_"||Fe==="$stable",normalizeSlotValue=Fe=>isArray$x(Fe)?Fe.map(normalizeVNode):[normalizeVNode(Fe)],normalizeSlot$1=(Fe,qe,hn)=>{if(qe._n)return qe;const vn=withCtx((...bn)=>normalizeSlotValue(qe(...bn)),hn);return vn._c=!1,vn},normalizeObjectSlots=(Fe,qe,hn)=>{const vn=Fe._ctx;for(const bn in Fe){if(isInternalKey(bn))continue;const wn=Fe[bn];if(isFunction$i(wn))qe[bn]=normalizeSlot$1(bn,wn,vn);else if(wn!=null){const kn=normalizeSlotValue(wn);qe[bn]=()=>kn}}},normalizeVNodeSlots=(Fe,qe)=>{const hn=normalizeSlotValue(qe);Fe.slots.default=()=>hn},initSlots=(Fe,qe)=>{if(Fe.vnode.shapeFlag&32){const hn=qe._;hn?(Fe.slots=toRaw(qe),def(qe,"_",hn)):normalizeObjectSlots(qe,Fe.slots={})}else Fe.slots={},qe&&normalizeVNodeSlots(Fe,qe);def(Fe.slots,InternalObjectKey,1)},updateSlots=(Fe,qe,hn)=>{const{vnode:vn,slots:bn}=Fe;let wn=!0,kn=EMPTY_OBJ;if(vn.shapeFlag&32){const _n=qe._;_n?hn&&_n===1?wn=!1:(extend$1(bn,qe),!hn&&_n===1&&delete bn._):(wn=!qe.$stable,normalizeObjectSlots(qe,bn)),kn=qe}else qe&&(normalizeVNodeSlots(Fe,qe),kn={default:1});if(wn)for(const _n in bn)!isInternalKey(_n)&&kn[_n]==null&&delete bn[_n]};function setRef(Fe,qe,hn,vn,bn=!1){if(isArray$x(Fe)){Fe.forEach((Sn,An)=>setRef(Sn,qe&&(isArray$x(qe)?qe[An]:qe),hn,vn,bn));return}if(isAsyncWrapper(vn)&&!bn)return;const wn=vn.shapeFlag&4?getExposeProxy(vn.component)||vn.component.proxy:vn.el,kn=bn?null:wn,{i:_n,r:Cn}=Fe,xn=qe&&qe.r,En=_n.refs===EMPTY_OBJ?_n.refs={}:_n.refs,$n=_n.setupState;if(xn!=null&&xn!==Cn&&(isString$d(xn)?(En[xn]=null,hasOwn($n,xn)&&($n[xn]=null)):isRef(xn)&&(xn.value=null)),isFunction$i(Cn))callWithErrorHandling(Cn,_n,12,[kn,En]);else{const Sn=isString$d(Cn),An=isRef(Cn);if(Sn||An){const Tn=()=>{if(Fe.f){const Nn=Sn?hasOwn($n,Cn)?$n[Cn]:En[Cn]:Cn.value;bn?isArray$x(Nn)&&remove$3(Nn,wn):isArray$x(Nn)?Nn.includes(wn)||Nn.push(wn):Sn?(En[Cn]=[wn],hasOwn($n,Cn)&&($n[Cn]=En[Cn])):(Cn.value=[wn],Fe.k&&(En[Fe.k]=Cn.value))}else Sn?(En[Cn]=kn,hasOwn($n,Cn)&&($n[Cn]=kn)):An&&(Cn.value=kn,Fe.k&&(En[Fe.k]=kn))};kn?(Tn.id=-1,queuePostRenderEffect(Tn,hn)):Tn()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(Fe){return baseCreateRenderer(Fe)}function baseCreateRenderer(Fe,qe){const hn=getGlobalThis();hn.__VUE__=!0;const{insert:vn,remove:bn,patchProp:wn,createElement:kn,createText:_n,createComment:Cn,setText:xn,setElementText:En,parentNode:$n,nextSibling:Sn,setScopeId:An=NOOP,insertStaticContent:Tn}=Fe,Nn=(ro,eo,lo,ho=null,Io=null,Po=null,ko=!1,xo=null,Ao=!!eo.dynamicChildren)=>{if(ro===eo)return;ro&&!isSameVNodeType(ro,eo)&&(ho=io(ro),no(ro,Io,Po,!0),ro=null),eo.patchFlag===-2&&(Ao=!1,eo.dynamicChildren=null);const{type:vo,ref:qo,shapeFlag:jo}=eo;switch(vo){case Text$2:Pn(ro,eo,lo,ho);break;case Comment$1:On(ro,eo,lo,ho);break;case Static:ro==null&&Rn(eo,lo,ho,ko);break;case Fragment:Kn(ro,eo,lo,ho,Io,Po,ko,xo,Ao);break;default:jo&1?Bn(ro,eo,lo,ho,Io,Po,ko,xo,Ao):jo&6?Un(ro,eo,lo,ho,Io,Po,ko,xo,Ao):(jo&64||jo&128)&&vo.process(ro,eo,lo,ho,Io,Po,ko,xo,Ao,go)}qo!=null&&Io&&setRef(qo,ro&&ro.ref,Po,eo||ro,!eo)},Pn=(ro,eo,lo,ho)=>{if(ro==null)vn(eo.el=_n(eo.children),lo,ho);else{const Io=eo.el=ro.el;eo.children!==ro.children&&xn(Io,eo.children)}},On=(ro,eo,lo,ho)=>{ro==null?vn(eo.el=Cn(eo.children||""),lo,ho):eo.el=ro.el},Rn=(ro,eo,lo,ho)=>{[ro.el,ro.anchor]=Tn(ro.children,eo,lo,ho,ro.el,ro.anchor)},In=({el:ro,anchor:eo},lo,ho)=>{let Io;for(;ro&&ro!==eo;)Io=Sn(ro),vn(ro,lo,ho),ro=Io;vn(eo,lo,ho)},Mn=({el:ro,anchor:eo})=>{let lo;for(;ro&&ro!==eo;)lo=Sn(ro),bn(ro),ro=lo;bn(eo)},Bn=(ro,eo,lo,ho,Io,Po,ko,xo,Ao)=>{ko=ko||eo.type==="svg",ro==null?Dn(eo,lo,ho,Io,Po,ko,xo,Ao):zn(ro,eo,Io,Po,ko,xo,Ao)},Dn=(ro,eo,lo,ho,Io,Po,ko,xo)=>{let Ao,vo;const{type:qo,props:jo,shapeFlag:Ko,transition:bo,dirs:wo}=ro;if(Ao=ro.el=kn(ro.type,Po,jo&&jo.is,jo),Ko&8?En(Ao,ro.children):Ko&16&&Ln(ro.children,Ao,null,ho,Io,Po&&qo!=="foreignObject",ko,xo),wo&&invokeDirectiveHook(ro,null,ho,"created"),Vn(Ao,ro,ro.scopeId,ko,ho),jo){for(const Yo in jo)Yo!=="value"&&!isReservedProp(Yo)&&wn(Ao,Yo,null,jo[Yo],Po,ro.children,ho,Io,fo);"value"in jo&&wn(Ao,"value",null,jo.value),(vo=jo.onVnodeBeforeMount)&&invokeVNodeHook(vo,ho,ro)}wo&&invokeDirectiveHook(ro,null,ho,"beforeMount");const zo=needTransition(Io,bo);zo&&bo.beforeEnter(Ao),vn(Ao,eo,lo),((vo=jo&&jo.onVnodeMounted)||zo||wo)&&queuePostRenderEffect(()=>{vo&&invokeVNodeHook(vo,ho,ro),zo&&bo.enter(Ao),wo&&invokeDirectiveHook(ro,null,ho,"mounted")},Io)},Vn=(ro,eo,lo,ho,Io)=>{if(lo&&An(ro,lo),ho)for(let Po=0;Po{for(let vo=Ao;vo{const xo=eo.el=ro.el;let{patchFlag:Ao,dynamicChildren:vo,dirs:qo}=eo;Ao|=ro.patchFlag&16;const jo=ro.props||EMPTY_OBJ,Ko=eo.props||EMPTY_OBJ;let bo;lo&&toggleRecurse(lo,!1),(bo=Ko.onVnodeBeforeUpdate)&&invokeVNodeHook(bo,lo,eo,ro),qo&&invokeDirectiveHook(eo,ro,lo,"beforeUpdate"),lo&&toggleRecurse(lo,!0);const wo=Io&&eo.type!=="foreignObject";if(vo?Hn(ro.dynamicChildren,vo,xo,lo,ho,wo,Po):ko||qn(ro,eo,xo,null,lo,ho,wo,Po,!1),Ao>0){if(Ao&16)Fn(xo,eo,jo,Ko,lo,ho,Io);else if(Ao&2&&jo.class!==Ko.class&&wn(xo,"class",null,Ko.class,Io),Ao&4&&wn(xo,"style",jo.style,Ko.style,Io),Ao&8){const zo=eo.dynamicProps;for(let Yo=0;Yo{bo&&invokeVNodeHook(bo,lo,eo,ro),qo&&invokeDirectiveHook(eo,ro,lo,"updated")},ho)},Hn=(ro,eo,lo,ho,Io,Po,ko)=>{for(let xo=0;xo{if(lo!==ho){if(lo!==EMPTY_OBJ)for(const xo in lo)!isReservedProp(xo)&&!(xo in ho)&&wn(ro,xo,lo[xo],null,ko,eo.children,Io,Po,fo);for(const xo in ho){if(isReservedProp(xo))continue;const Ao=ho[xo],vo=lo[xo];Ao!==vo&&xo!=="value"&&wn(ro,xo,vo,Ao,ko,eo.children,Io,Po,fo)}"value"in ho&&wn(ro,"value",lo.value,ho.value)}},Kn=(ro,eo,lo,ho,Io,Po,ko,xo,Ao)=>{const vo=eo.el=ro?ro.el:_n(""),qo=eo.anchor=ro?ro.anchor:_n("");let{patchFlag:jo,dynamicChildren:Ko,slotScopeIds:bo}=eo;bo&&(xo=xo?xo.concat(bo):bo),ro==null?(vn(vo,lo,ho),vn(qo,lo,ho),Ln(eo.children,lo,qo,Io,Po,ko,xo,Ao)):jo>0&&jo&64&&Ko&&ro.dynamicChildren?(Hn(ro.dynamicChildren,Ko,lo,Io,Po,ko,xo),(eo.key!=null||Io&&eo===Io.subTree)&&traverseStaticChildren(ro,eo,!0)):qn(ro,eo,lo,qo,Io,Po,ko,xo,Ao)},Un=(ro,eo,lo,ho,Io,Po,ko,xo,Ao)=>{eo.slotScopeIds=xo,ro==null?eo.shapeFlag&512?Io.ctx.activate(eo,lo,ho,ko,Ao):Gn(eo,lo,ho,Io,Po,ko,Ao):Wn(ro,eo,Ao)},Gn=(ro,eo,lo,ho,Io,Po,ko)=>{const xo=ro.component=createComponentInstance(ro,ho,Io);if(isKeepAlive(ro)&&(xo.ctx.renderer=go),setupComponent(xo),xo.asyncDep){if(Io&&Io.registerDep(xo,Yn),!ro.el){const Ao=xo.subTree=createVNode(Comment$1);On(null,Ao,eo,lo)}return}Yn(xo,ro,eo,lo,Io,Po,ko)},Wn=(ro,eo,lo)=>{const ho=eo.component=ro.component;if(shouldUpdateComponent(ro,eo,lo))if(ho.asyncDep&&!ho.asyncResolved){Xn(ho,eo,lo);return}else ho.next=eo,invalidateJob(ho.update),ho.update();else eo.el=ro.el,ho.vnode=eo},Yn=(ro,eo,lo,ho,Io,Po,ko)=>{const xo=()=>{if(ro.isMounted){let{next:qo,bu:jo,u:Ko,parent:bo,vnode:wo}=ro,zo=qo,Yo;toggleRecurse(ro,!1),qo?(qo.el=wo.el,Xn(ro,qo,ko)):qo=wo,jo&&invokeArrayFns(jo),(Yo=qo.props&&qo.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Yo,bo,qo,wo),toggleRecurse(ro,!0);const _o=renderComponentRoot(ro),Fo=ro.subTree;ro.subTree=_o,Nn(Fo,_o,$n(Fo.el),io(Fo),ro,Io,Po),qo.el=_o.el,zo===null&&updateHOCHostEl(ro,_o.el),Ko&&queuePostRenderEffect(Ko,Io),(Yo=qo.props&&qo.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Yo,bo,qo,wo),Io)}else{let qo;const{el:jo,props:Ko}=eo,{bm:bo,m:wo,parent:zo}=ro,Yo=isAsyncWrapper(eo);if(toggleRecurse(ro,!1),bo&&invokeArrayFns(bo),!Yo&&(qo=Ko&&Ko.onVnodeBeforeMount)&&invokeVNodeHook(qo,zo,eo),toggleRecurse(ro,!0),jo&&Bo){const _o=()=>{ro.subTree=renderComponentRoot(ro),Bo(jo,ro.subTree,ro,Io,null)};Yo?eo.type.__asyncLoader().then(()=>!ro.isUnmounted&&_o()):_o()}else{const _o=ro.subTree=renderComponentRoot(ro);Nn(null,_o,lo,ho,ro,Io,Po),eo.el=_o.el}if(wo&&queuePostRenderEffect(wo,Io),!Yo&&(qo=Ko&&Ko.onVnodeMounted)){const _o=eo;queuePostRenderEffect(()=>invokeVNodeHook(qo,zo,_o),Io)}(eo.shapeFlag&256||zo&&isAsyncWrapper(zo.vnode)&&zo.vnode.shapeFlag&256)&&ro.a&&queuePostRenderEffect(ro.a,Io),ro.isMounted=!0,eo=lo=ho=null}},Ao=ro.effect=new ReactiveEffect(xo,()=>queueJob(vo),ro.scope),vo=ro.update=()=>Ao.run();vo.id=ro.uid,toggleRecurse(ro,!0),vo()},Xn=(ro,eo,lo)=>{eo.component=ro;const ho=ro.vnode.props;ro.vnode=eo,ro.next=null,updateProps(ro,eo.props,ho,lo),updateSlots(ro,eo.children,lo),pauseTracking(),flushPreFlushCbs(),resetTracking()},qn=(ro,eo,lo,ho,Io,Po,ko,xo,Ao=!1)=>{const vo=ro&&ro.children,qo=ro?ro.shapeFlag:0,jo=eo.children,{patchFlag:Ko,shapeFlag:bo}=eo;if(Ko>0){if(Ko&128){Jn(vo,jo,lo,ho,Io,Po,ko,xo,Ao);return}else if(Ko&256){jn(vo,jo,lo,ho,Io,Po,ko,xo,Ao);return}}bo&8?(qo&16&&fo(vo,Io,Po),jo!==vo&&En(lo,jo)):qo&16?bo&16?Jn(vo,jo,lo,ho,Io,Po,ko,xo,Ao):fo(vo,Io,Po,!0):(qo&8&&En(lo,""),bo&16&&Ln(jo,lo,ho,Io,Po,ko,xo,Ao))},jn=(ro,eo,lo,ho,Io,Po,ko,xo,Ao)=>{ro=ro||EMPTY_ARR,eo=eo||EMPTY_ARR;const vo=ro.length,qo=eo.length,jo=Math.min(vo,qo);let Ko;for(Ko=0;Koqo?fo(ro,Io,Po,!0,!1,jo):Ln(eo,lo,ho,Io,Po,ko,xo,Ao,jo)},Jn=(ro,eo,lo,ho,Io,Po,ko,xo,Ao)=>{let vo=0;const qo=eo.length;let jo=ro.length-1,Ko=qo-1;for(;vo<=jo&&vo<=Ko;){const bo=ro[vo],wo=eo[vo]=Ao?cloneIfMounted(eo[vo]):normalizeVNode(eo[vo]);if(isSameVNodeType(bo,wo))Nn(bo,wo,lo,null,Io,Po,ko,xo,Ao);else break;vo++}for(;vo<=jo&&vo<=Ko;){const bo=ro[jo],wo=eo[Ko]=Ao?cloneIfMounted(eo[Ko]):normalizeVNode(eo[Ko]);if(isSameVNodeType(bo,wo))Nn(bo,wo,lo,null,Io,Po,ko,xo,Ao);else break;jo--,Ko--}if(vo>jo){if(vo<=Ko){const bo=Ko+1,wo=boKo)for(;vo<=jo;)no(ro[vo],Io,Po,!0),vo++;else{const bo=vo,wo=vo,zo=new Map;for(vo=wo;vo<=Ko;vo++){const Eo=eo[vo]=Ao?cloneIfMounted(eo[vo]):normalizeVNode(eo[vo]);Eo.key!=null&&zo.set(Eo.key,vo)}let Yo,_o=0;const Fo=Ko-wo+1;let $o=!1,Do=0;const No=new Array(Fo);for(vo=0;vo=Fo){no(Eo,Io,Po,!0);continue}let rr;if(Eo.key!=null)rr=zo.get(Eo.key);else for(Yo=wo;Yo<=Ko;Yo++)if(No[Yo-wo]===0&&isSameVNodeType(Eo,eo[Yo])){rr=Yo;break}rr===void 0?no(Eo,Io,Po,!0):(No[rr-wo]=vo+1,rr>=Do?Do=rr:$o=!0,Nn(Eo,eo[rr],lo,null,Io,Po,ko,xo,Ao),_o++)}const Vo=$o?getSequence(No):EMPTY_ARR;for(Yo=Vo.length-1,vo=Fo-1;vo>=0;vo--){const Eo=wo+vo,rr=eo[Eo],sr=Eo+1{const{el:Po,type:ko,transition:xo,children:Ao,shapeFlag:vo}=ro;if(vo&6){Qn(ro.component.subTree,eo,lo,ho);return}if(vo&128){ro.suspense.move(eo,lo,ho);return}if(vo&64){ko.move(ro,eo,lo,go);return}if(ko===Fragment){vn(Po,eo,lo);for(let jo=0;joxo.enter(Po),Io);else{const{leave:jo,delayLeave:Ko,afterLeave:bo}=xo,wo=()=>vn(Po,eo,lo),zo=()=>{jo(Po,()=>{wo(),bo&&bo()})};Ko?Ko(Po,wo,zo):zo()}else vn(Po,eo,lo)},no=(ro,eo,lo,ho=!1,Io=!1)=>{const{type:Po,props:ko,ref:xo,children:Ao,dynamicChildren:vo,shapeFlag:qo,patchFlag:jo,dirs:Ko}=ro;if(xo!=null&&setRef(xo,null,lo,ro,!0),qo&256){eo.ctx.deactivate(ro);return}const bo=qo&1&&Ko,wo=!isAsyncWrapper(ro);let zo;if(wo&&(zo=ko&&ko.onVnodeBeforeUnmount)&&invokeVNodeHook(zo,eo,ro),qo&6)mo(ro.component,lo,ho);else{if(qo&128){ro.suspense.unmount(lo,ho);return}bo&&invokeDirectiveHook(ro,null,eo,"beforeUnmount"),qo&64?ro.type.remove(ro,eo,lo,Io,go,ho):vo&&(Po!==Fragment||jo>0&&jo&64)?fo(vo,eo,lo,!1,!0):(Po===Fragment&&jo&384||!Io&&qo&16)&&fo(Ao,eo,lo),ho&&so(ro)}(wo&&(zo=ko&&ko.onVnodeUnmounted)||bo)&&queuePostRenderEffect(()=>{zo&&invokeVNodeHook(zo,eo,ro),bo&&invokeDirectiveHook(ro,null,eo,"unmounted")},lo)},so=ro=>{const{type:eo,el:lo,anchor:ho,transition:Io}=ro;if(eo===Fragment){co(lo,ho);return}if(eo===Static){Mn(ro);return}const Po=()=>{bn(lo),Io&&!Io.persisted&&Io.afterLeave&&Io.afterLeave()};if(ro.shapeFlag&1&&Io&&!Io.persisted){const{leave:ko,delayLeave:xo}=Io,Ao=()=>ko(lo,Po);xo?xo(ro.el,Po,Ao):Ao()}else Po()},co=(ro,eo)=>{let lo;for(;ro!==eo;)lo=Sn(ro),bn(ro),ro=lo;bn(eo)},mo=(ro,eo,lo)=>{const{bum:ho,scope:Io,update:Po,subTree:ko,um:xo}=ro;ho&&invokeArrayFns(ho),Io.stop(),Po&&(Po.active=!1,no(ko,ro,eo,lo)),xo&&queuePostRenderEffect(xo,eo),queuePostRenderEffect(()=>{ro.isUnmounted=!0},eo),eo&&eo.pendingBranch&&!eo.isUnmounted&&ro.asyncDep&&!ro.asyncResolved&&ro.suspenseId===eo.pendingId&&(eo.deps--,eo.deps===0&&eo.resolve())},fo=(ro,eo,lo,ho=!1,Io=!1,Po=0)=>{for(let ko=Po;koro.shapeFlag&6?io(ro.component.subTree):ro.shapeFlag&128?ro.suspense.next():Sn(ro.anchor||ro.el),ao=(ro,eo,lo)=>{ro==null?eo._vnode&&no(eo._vnode,null,null,!0):Nn(eo._vnode||null,ro,eo,null,null,null,lo),flushPreFlushCbs(),flushPostFlushCbs(),eo._vnode=ro},go={p:Nn,um:no,m:Qn,r:so,mt:Gn,mc:Ln,pc:qn,pbc:Hn,n:io,o:Fe};let yo,Bo;return qe&&([yo,Bo]=qe(go)),{render:ao,hydrate:yo,createApp:createAppAPI(ao,yo)}}function toggleRecurse({effect:Fe,update:qe},hn){Fe.allowRecurse=qe.allowRecurse=hn}function needTransition(Fe,qe){return(!Fe||Fe&&!Fe.pendingBranch)&&qe&&!qe.persisted}function traverseStaticChildren(Fe,qe,hn=!1){const vn=Fe.children,bn=qe.children;if(isArray$x(vn)&&isArray$x(bn))for(let wn=0;wn>1,Fe[hn[_n]]0&&(qe[vn]=hn[wn-1]),hn[wn]=vn)}}for(wn=hn.length,kn=hn[wn-1];wn-- >0;)hn[wn]=kn,kn=qe[kn];return hn}const isTeleport=Fe=>Fe.__isTeleport,isTeleportDisabled=Fe=>Fe&&(Fe.disabled||Fe.disabled===""),isTargetSVG=Fe=>typeof SVGElement<"u"&&Fe instanceof SVGElement,resolveTarget=(Fe,qe)=>{const hn=Fe&&Fe.to;return isString$d(hn)?qe?qe(hn):null:hn},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Fe,qe,hn,vn,bn,wn,kn,_n,Cn,xn){const{mc:En,pc:$n,pbc:Sn,o:{insert:An,querySelector:Tn,createText:Nn,createComment:Pn}}=xn,On=isTeleportDisabled(qe.props);let{shapeFlag:Rn,children:In,dynamicChildren:Mn}=qe;if(Fe==null){const Bn=qe.el=Nn(""),Dn=qe.anchor=Nn("");An(Bn,hn,vn),An(Dn,hn,vn);const Vn=qe.target=resolveTarget(qe.props,Tn),Ln=qe.targetAnchor=Nn("");Vn&&(An(Ln,Vn),kn=kn||isTargetSVG(Vn));const zn=(Hn,Fn)=>{Rn&16&&En(In,Hn,Fn,bn,wn,kn,_n,Cn)};On?zn(hn,Dn):Vn&&zn(Vn,Ln)}else{qe.el=Fe.el;const Bn=qe.anchor=Fe.anchor,Dn=qe.target=Fe.target,Vn=qe.targetAnchor=Fe.targetAnchor,Ln=isTeleportDisabled(Fe.props),zn=Ln?hn:Dn,Hn=Ln?Bn:Vn;if(kn=kn||isTargetSVG(Dn),Mn?(Sn(Fe.dynamicChildren,Mn,zn,bn,wn,kn,_n),traverseStaticChildren(Fe,qe,!0)):Cn||$n(Fe,qe,zn,Hn,bn,wn,kn,_n,!1),On)Ln?qe.props&&Fe.props&&qe.props.to!==Fe.props.to&&(qe.props.to=Fe.props.to):moveTeleport(qe,hn,Bn,xn,1);else if((qe.props&&qe.props.to)!==(Fe.props&&Fe.props.to)){const Fn=qe.target=resolveTarget(qe.props,Tn);Fn&&moveTeleport(qe,Fn,null,xn,0)}else Ln&&moveTeleport(qe,Dn,Vn,xn,1)}updateCssVars(qe)},remove(Fe,qe,hn,vn,{um:bn,o:{remove:wn}},kn){const{shapeFlag:_n,children:Cn,anchor:xn,targetAnchor:En,target:$n,props:Sn}=Fe;if($n&&wn(En),kn&&wn(xn),_n&16){const An=kn||!isTeleportDisabled(Sn);for(let Tn=0;Tn0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Fe),Fe}function createElementBlock(Fe,qe,hn,vn,bn,wn){return setupBlock(createBaseVNode(Fe,qe,hn,vn,bn,wn,!0))}function createBlock(Fe,qe,hn,vn,bn){return setupBlock(createVNode(Fe,qe,hn,vn,bn,!0))}function isVNode(Fe){return Fe?Fe.__v_isVNode===!0:!1}function isSameVNodeType(Fe,qe){return Fe.type===qe.type&&Fe.key===qe.key}const InternalObjectKey="__vInternal",normalizeKey=({key:Fe})=>Fe??null,normalizeRef=({ref:Fe,ref_key:qe,ref_for:hn})=>(typeof Fe=="number"&&(Fe=""+Fe),Fe!=null?isString$d(Fe)||isRef(Fe)||isFunction$i(Fe)?{i:currentRenderingInstance,r:Fe,k:qe,f:!!hn}:Fe:null);function createBaseVNode(Fe,qe=null,hn=null,vn=0,bn=null,wn=Fe===Fragment?0:1,kn=!1,_n=!1){const Cn={__v_isVNode:!0,__v_skip:!0,type:Fe,props:qe,key:qe&&normalizeKey(qe),ref:qe&&normalizeRef(qe),scopeId:currentScopeId,slotScopeIds:null,children:hn,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:wn,patchFlag:vn,dynamicProps:bn,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return _n?(normalizeChildren(Cn,hn),wn&128&&Fe.normalize(Cn)):hn&&(Cn.shapeFlag|=isString$d(hn)?8:16),isBlockTreeEnabled>0&&!kn&¤tBlock&&(Cn.patchFlag>0||wn&6)&&Cn.patchFlag!==32&¤tBlock.push(Cn),Cn}const createVNode=_createVNode;function _createVNode(Fe,qe=null,hn=null,vn=0,bn=null,wn=!1){if((!Fe||Fe===NULL_DYNAMIC_COMPONENT)&&(Fe=Comment$1),isVNode(Fe)){const _n=cloneVNode(Fe,qe,!0);return hn&&normalizeChildren(_n,hn),isBlockTreeEnabled>0&&!wn&¤tBlock&&(_n.shapeFlag&6?currentBlock[currentBlock.indexOf(Fe)]=_n:currentBlock.push(_n)),_n.patchFlag|=-2,_n}if(isClassComponent(Fe)&&(Fe=Fe.__vccOpts),qe){qe=guardReactiveProps(qe);let{class:_n,style:Cn}=qe;_n&&!isString$d(_n)&&(qe.class=normalizeClass(_n)),isObject$9(Cn)&&(isProxy(Cn)&&!isArray$x(Cn)&&(Cn=extend$1({},Cn)),qe.style=normalizeStyle(Cn))}const kn=isString$d(Fe)?1:isSuspense(Fe)?128:isTeleport(Fe)?64:isObject$9(Fe)?4:isFunction$i(Fe)?2:0;return createBaseVNode(Fe,qe,hn,vn,bn,kn,wn,!0)}function guardReactiveProps(Fe){return Fe?isProxy(Fe)||InternalObjectKey in Fe?extend$1({},Fe):Fe:null}function cloneVNode(Fe,qe,hn=!1){const{props:vn,ref:bn,patchFlag:wn,children:kn}=Fe,_n=qe?mergeProps(vn||{},qe):vn;return{__v_isVNode:!0,__v_skip:!0,type:Fe.type,props:_n,key:_n&&normalizeKey(_n),ref:qe&&qe.ref?hn&&bn?isArray$x(bn)?bn.concat(normalizeRef(qe)):[bn,normalizeRef(qe)]:normalizeRef(qe):bn,scopeId:Fe.scopeId,slotScopeIds:Fe.slotScopeIds,children:kn,target:Fe.target,targetAnchor:Fe.targetAnchor,staticCount:Fe.staticCount,shapeFlag:Fe.shapeFlag,patchFlag:qe&&Fe.type!==Fragment?wn===-1?16:wn|16:wn,dynamicProps:Fe.dynamicProps,dynamicChildren:Fe.dynamicChildren,appContext:Fe.appContext,dirs:Fe.dirs,transition:Fe.transition,component:Fe.component,suspense:Fe.suspense,ssContent:Fe.ssContent&&cloneVNode(Fe.ssContent),ssFallback:Fe.ssFallback&&cloneVNode(Fe.ssFallback),el:Fe.el,anchor:Fe.anchor,ctx:Fe.ctx,ce:Fe.ce}}function createTextVNode(Fe=" ",qe=0){return createVNode(Text$2,null,Fe,qe)}function createCommentVNode(Fe="",qe=!1){return qe?(openBlock(),createBlock(Comment$1,null,Fe)):createVNode(Comment$1,null,Fe)}function normalizeVNode(Fe){return Fe==null||typeof Fe=="boolean"?createVNode(Comment$1):isArray$x(Fe)?createVNode(Fragment,null,Fe.slice()):typeof Fe=="object"?cloneIfMounted(Fe):createVNode(Text$2,null,String(Fe))}function cloneIfMounted(Fe){return Fe.el===null&&Fe.patchFlag!==-1||Fe.memo?Fe:cloneVNode(Fe)}function normalizeChildren(Fe,qe){let hn=0;const{shapeFlag:vn}=Fe;if(qe==null)qe=null;else if(isArray$x(qe))hn=16;else if(typeof qe=="object")if(vn&65){const bn=qe.default;bn&&(bn._c&&(bn._d=!1),normalizeChildren(Fe,bn()),bn._c&&(bn._d=!0));return}else{hn=32;const bn=qe._;!bn&&!(InternalObjectKey in qe)?qe._ctx=currentRenderingInstance:bn===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qe._=1:(qe._=2,Fe.patchFlag|=1024))}else isFunction$i(qe)?(qe={default:qe,_ctx:currentRenderingInstance},hn=32):(qe=String(qe),vn&64?(hn=16,qe=[createTextVNode(qe)]):hn=8);Fe.children=qe,Fe.shapeFlag|=hn}function mergeProps(...Fe){const qe={};for(let hn=0;hncurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,globalCurrentInstanceSetters,settersKey="__VUE_INSTANCE_SETTERS__";(globalCurrentInstanceSetters=getGlobalThis()[settersKey])||(globalCurrentInstanceSetters=getGlobalThis()[settersKey]=[]),globalCurrentInstanceSetters.push(Fe=>currentInstance=Fe),internalSetCurrentInstance=Fe=>{globalCurrentInstanceSetters.length>1?globalCurrentInstanceSetters.forEach(qe=>qe(Fe)):globalCurrentInstanceSetters[0](Fe)};const setCurrentInstance=Fe=>{internalSetCurrentInstance(Fe),Fe.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Fe){return Fe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Fe,qe=!1){isInSSRComponentSetup=qe;const{props:hn,children:vn}=Fe.vnode,bn=isStatefulComponent(Fe);initProps(Fe,hn,bn,qe),initSlots(Fe,vn);const wn=bn?setupStatefulComponent(Fe,qe):void 0;return isInSSRComponentSetup=!1,wn}function setupStatefulComponent(Fe,qe){const hn=Fe.type;Fe.accessCache=Object.create(null),Fe.proxy=markRaw(new Proxy(Fe.ctx,PublicInstanceProxyHandlers));const{setup:vn}=hn;if(vn){const bn=Fe.setupContext=vn.length>1?createSetupContext(Fe):null;setCurrentInstance(Fe),pauseTracking();const wn=callWithErrorHandling(vn,Fe,0,[Fe.props,bn]);if(resetTracking(),unsetCurrentInstance(),isPromise(wn)){if(wn.then(unsetCurrentInstance,unsetCurrentInstance),qe)return wn.then(kn=>{handleSetupResult(Fe,kn,qe)}).catch(kn=>{handleError(kn,Fe,0)});Fe.asyncDep=wn}else handleSetupResult(Fe,wn,qe)}else finishComponentSetup(Fe,qe)}function handleSetupResult(Fe,qe,hn){isFunction$i(qe)?Fe.type.__ssrInlineRender?Fe.ssrRender=qe:Fe.render=qe:isObject$9(qe)&&(Fe.setupState=proxyRefs(qe)),finishComponentSetup(Fe,hn)}let compile$1;function finishComponentSetup(Fe,qe,hn){const vn=Fe.type;if(!Fe.render){if(!qe&&compile$1&&!vn.render){const bn=vn.template||resolveMergedOptions(Fe).template;if(bn){const{isCustomElement:wn,compilerOptions:kn}=Fe.appContext.config,{delimiters:_n,compilerOptions:Cn}=vn,xn=extend$1(extend$1({isCustomElement:wn,delimiters:_n},kn),Cn);vn.render=compile$1(bn,xn)}}Fe.render=vn.render||NOOP}{setCurrentInstance(Fe),pauseTracking();try{applyOptions(Fe)}finally{resetTracking(),unsetCurrentInstance()}}}function getAttrsProxy(Fe){return Fe.attrsProxy||(Fe.attrsProxy=new Proxy(Fe.attrs,{get(qe,hn){return track(Fe,"get","$attrs"),qe[hn]}}))}function createSetupContext(Fe){const qe=hn=>{Fe.exposed=hn||{}};return{get attrs(){return getAttrsProxy(Fe)},slots:Fe.slots,emit:Fe.emit,expose:qe}}function getExposeProxy(Fe){if(Fe.exposed)return Fe.exposeProxy||(Fe.exposeProxy=new Proxy(proxyRefs(markRaw(Fe.exposed)),{get(qe,hn){if(hn in qe)return qe[hn];if(hn in publicPropertiesMap)return publicPropertiesMap[hn](Fe)},has(qe,hn){return hn in qe||hn in publicPropertiesMap}}))}function getComponentName$1(Fe,qe=!0){return isFunction$i(Fe)?Fe.displayName||Fe.name:Fe.name||qe&&Fe.__name}function isClassComponent(Fe){return isFunction$i(Fe)&&"__vccOpts"in Fe}const computed=(Fe,qe)=>computed$1(Fe,qe,isInSSRComponentSetup);function h$6(Fe,qe,hn){const vn=arguments.length;return vn===2?isObject$9(qe)&&!isArray$x(qe)?isVNode(qe)?createVNode(Fe,null,[qe]):createVNode(Fe,qe):createVNode(Fe,null,qe):(vn>3?hn=Array.prototype.slice.call(arguments,2):vn===3&&isVNode(hn)&&(hn=[hn]),createVNode(Fe,qe,hn))}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey),version$1="3.3.9",svgNS="http://www.w3.org/2000/svg",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Fe,qe,hn)=>{qe.insertBefore(Fe,hn||null)},remove:Fe=>{const qe=Fe.parentNode;qe&&qe.removeChild(Fe)},createElement:(Fe,qe,hn,vn)=>{const bn=qe?doc.createElementNS(svgNS,Fe):doc.createElement(Fe,hn?{is:hn}:void 0);return Fe==="select"&&vn&&vn.multiple!=null&&bn.setAttribute("multiple",vn.multiple),bn},createText:Fe=>doc.createTextNode(Fe),createComment:Fe=>doc.createComment(Fe),setText:(Fe,qe)=>{Fe.nodeValue=qe},setElementText:(Fe,qe)=>{Fe.textContent=qe},parentNode:Fe=>Fe.parentNode,nextSibling:Fe=>Fe.nextSibling,querySelector:Fe=>doc.querySelector(Fe),setScopeId(Fe,qe){Fe.setAttribute(qe,"")},insertStaticContent(Fe,qe,hn,vn,bn,wn){const kn=hn?hn.previousSibling:qe.lastChild;if(bn&&(bn===wn||bn.nextSibling))for(;qe.insertBefore(bn.cloneNode(!0),hn),!(bn===wn||!(bn=bn.nextSibling)););else{templateContainer.innerHTML=vn?`${Fe}`:Fe;const _n=templateContainer.content;if(vn){const Cn=_n.firstChild;for(;Cn.firstChild;)_n.appendChild(Cn.firstChild);_n.removeChild(Cn)}qe.insertBefore(_n,hn)}return[kn?kn.nextSibling:qe.firstChild,hn?hn.previousSibling:qe.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(Fe,{slots:qe})=>h$6(BaseTransition,resolveTransitionProps(Fe),qe);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({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(Fe,qe=[])=>{isArray$x(Fe)?Fe.forEach(hn=>hn(...qe)):Fe&&Fe(...qe)},hasExplicitCallback=Fe=>Fe?isArray$x(Fe)?Fe.some(qe=>qe.length>1):Fe.length>1:!1;function resolveTransitionProps(Fe){const qe={};for(const Kn in Fe)Kn in DOMTransitionPropsValidators||(qe[Kn]=Fe[Kn]);if(Fe.css===!1)return qe;const{name:hn="v",type:vn,duration:bn,enterFromClass:wn=`${hn}-enter-from`,enterActiveClass:kn=`${hn}-enter-active`,enterToClass:_n=`${hn}-enter-to`,appearFromClass:Cn=wn,appearActiveClass:xn=kn,appearToClass:En=_n,leaveFromClass:$n=`${hn}-leave-from`,leaveActiveClass:Sn=`${hn}-leave-active`,leaveToClass:An=`${hn}-leave-to`}=Fe,Tn=normalizeDuration(bn),Nn=Tn&&Tn[0],Pn=Tn&&Tn[1],{onBeforeEnter:On,onEnter:Rn,onEnterCancelled:In,onLeave:Mn,onLeaveCancelled:Bn,onBeforeAppear:Dn=On,onAppear:Vn=Rn,onAppearCancelled:Ln=In}=qe,zn=(Kn,Un,Gn)=>{removeTransitionClass(Kn,Un?En:_n),removeTransitionClass(Kn,Un?xn:kn),Gn&&Gn()},Hn=(Kn,Un)=>{Kn._isLeaving=!1,removeTransitionClass(Kn,$n),removeTransitionClass(Kn,An),removeTransitionClass(Kn,Sn),Un&&Un()},Fn=Kn=>(Un,Gn)=>{const Wn=Kn?Vn:Rn,Yn=()=>zn(Un,Kn,Gn);callHook(Wn,[Un,Yn]),nextFrame(()=>{removeTransitionClass(Un,Kn?Cn:wn),addTransitionClass(Un,Kn?En:_n),hasExplicitCallback(Wn)||whenTransitionEnds(Un,vn,Nn,Yn)})};return extend$1(qe,{onBeforeEnter(Kn){callHook(On,[Kn]),addTransitionClass(Kn,wn),addTransitionClass(Kn,kn)},onBeforeAppear(Kn){callHook(Dn,[Kn]),addTransitionClass(Kn,Cn),addTransitionClass(Kn,xn)},onEnter:Fn(!1),onAppear:Fn(!0),onLeave(Kn,Un){Kn._isLeaving=!0;const Gn=()=>Hn(Kn,Un);addTransitionClass(Kn,$n),forceReflow(),addTransitionClass(Kn,Sn),nextFrame(()=>{Kn._isLeaving&&(removeTransitionClass(Kn,$n),addTransitionClass(Kn,An),hasExplicitCallback(Mn)||whenTransitionEnds(Kn,vn,Pn,Gn))}),callHook(Mn,[Kn,Gn])},onEnterCancelled(Kn){zn(Kn,!1),callHook(In,[Kn])},onAppearCancelled(Kn){zn(Kn,!0),callHook(Ln,[Kn])},onLeaveCancelled(Kn){Hn(Kn),callHook(Bn,[Kn])}})}function normalizeDuration(Fe){if(Fe==null)return null;if(isObject$9(Fe))return[NumberOf(Fe.enter),NumberOf(Fe.leave)];{const qe=NumberOf(Fe);return[qe,qe]}}function NumberOf(Fe){return toNumber$9(Fe)}function addTransitionClass(Fe,qe){qe.split(/\s+/).forEach(hn=>hn&&Fe.classList.add(hn)),(Fe[vtcKey]||(Fe[vtcKey]=new Set)).add(qe)}function removeTransitionClass(Fe,qe){qe.split(/\s+/).forEach(vn=>vn&&Fe.classList.remove(vn));const hn=Fe[vtcKey];hn&&(hn.delete(qe),hn.size||(Fe[vtcKey]=void 0))}function nextFrame(Fe){requestAnimationFrame(()=>{requestAnimationFrame(Fe)})}let endId=0;function whenTransitionEnds(Fe,qe,hn,vn){const bn=Fe._endId=++endId,wn=()=>{bn===Fe._endId&&vn()};if(hn)return setTimeout(wn,hn);const{type:kn,timeout:_n,propCount:Cn}=getTransitionInfo(Fe,qe);if(!kn)return vn();const xn=kn+"end";let En=0;const $n=()=>{Fe.removeEventListener(xn,Sn),wn()},Sn=An=>{An.target===Fe&&++En>=Cn&&$n()};setTimeout(()=>{En(hn[Tn]||"").split(", "),bn=vn(`${TRANSITION}Delay`),wn=vn(`${TRANSITION}Duration`),kn=getTimeout(bn,wn),_n=vn(`${ANIMATION}Delay`),Cn=vn(`${ANIMATION}Duration`),xn=getTimeout(_n,Cn);let En=null,$n=0,Sn=0;qe===TRANSITION?kn>0&&(En=TRANSITION,$n=kn,Sn=wn.length):qe===ANIMATION?xn>0&&(En=ANIMATION,$n=xn,Sn=Cn.length):($n=Math.max(kn,xn),En=$n>0?kn>xn?TRANSITION:ANIMATION:null,Sn=En?En===TRANSITION?wn.length:Cn.length:0);const An=En===TRANSITION&&/\b(transform|all)(,|$)/.test(vn(`${TRANSITION}Property`).toString());return{type:En,timeout:$n,propCount:Sn,hasTransform:An}}function getTimeout(Fe,qe){for(;Fe.lengthtoMs(hn)+toMs(Fe[vn])))}function toMs(Fe){return Fe==="auto"?0:Number(Fe.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Fe,qe,hn){const vn=Fe[vtcKey];vn&&(qe=(qe?[qe,...vn]:[...vn]).join(" ")),qe==null?Fe.removeAttribute("class"):hn?Fe.setAttribute("class",qe):Fe.className=qe}const vShowOldKey=Symbol("_vod"),vShow={beforeMount(Fe,{value:qe},{transition:hn}){Fe[vShowOldKey]=Fe.style.display==="none"?"":Fe.style.display,hn&&qe?hn.beforeEnter(Fe):setDisplay(Fe,qe)},mounted(Fe,{value:qe},{transition:hn}){hn&&qe&&hn.enter(Fe)},updated(Fe,{value:qe,oldValue:hn},{transition:vn}){!qe!=!hn&&(vn?qe?(vn.beforeEnter(Fe),setDisplay(Fe,!0),vn.enter(Fe)):vn.leave(Fe,()=>{setDisplay(Fe,!1)}):setDisplay(Fe,qe))},beforeUnmount(Fe,{value:qe}){setDisplay(Fe,qe)}};function setDisplay(Fe,qe){Fe.style.display=qe?Fe[vShowOldKey]:"none"}function patchStyle(Fe,qe,hn){const vn=Fe.style,bn=isString$d(hn);if(hn&&!bn){if(qe&&!isString$d(qe))for(const wn in qe)hn[wn]==null&&setStyle(vn,wn,"");for(const wn in hn)setStyle(vn,wn,hn[wn])}else{const wn=vn.display;bn?qe!==hn&&(vn.cssText=hn):qe&&Fe.removeAttribute("style"),vShowOldKey in Fe&&(vn.display=wn)}}const importantRE=/\s*!important$/;function setStyle(Fe,qe,hn){if(isArray$x(hn))hn.forEach(vn=>setStyle(Fe,qe,vn));else if(hn==null&&(hn=""),qe.startsWith("--"))Fe.setProperty(qe,hn);else{const vn=autoPrefix(Fe,qe);importantRE.test(hn)?Fe.setProperty(hyphenate(vn),hn.replace(importantRE,""),"important"):Fe[vn]=hn}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Fe,qe){const hn=prefixCache[qe];if(hn)return hn;let vn=camelize(qe);if(vn!=="filter"&&vn in Fe)return prefixCache[qe]=vn;vn=capitalize$1(vn);for(let bn=0;bncachedNow||(p$8.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Fe,qe){const hn=vn=>{if(!vn._vts)vn._vts=Date.now();else if(vn._vts<=hn.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(vn,hn.value),qe,5,[vn])};return hn.value=Fe,hn.attached=getNow(),hn}function patchStopImmediatePropagation(Fe,qe){if(isArray$x(qe)){const hn=Fe.stopImmediatePropagation;return Fe.stopImmediatePropagation=()=>{hn.call(Fe),Fe._stopped=!0},qe.map(vn=>bn=>!bn._stopped&&vn&&vn(bn))}else return qe}const nativeOnRE=/^on[a-z]/,patchProp=(Fe,qe,hn,vn,bn=!1,wn,kn,_n,Cn)=>{qe==="class"?patchClass(Fe,vn,bn):qe==="style"?patchStyle(Fe,hn,vn):isOn(qe)?isModelListener(qe)||patchEvent(Fe,qe,hn,vn,kn):(qe[0]==="."?(qe=qe.slice(1),!0):qe[0]==="^"?(qe=qe.slice(1),!1):shouldSetAsProp(Fe,qe,vn,bn))?patchDOMProp(Fe,qe,vn,wn,kn,_n,Cn):(qe==="true-value"?Fe._trueValue=vn:qe==="false-value"&&(Fe._falseValue=vn),patchAttr(Fe,qe,vn,bn))};function shouldSetAsProp(Fe,qe,hn,vn){return vn?!!(qe==="innerHTML"||qe==="textContent"||qe in Fe&&nativeOnRE.test(qe)&&isFunction$i(hn)):qe==="spellcheck"||qe==="draggable"||qe==="translate"||qe==="form"||qe==="list"&&Fe.tagName==="INPUT"||qe==="type"&&Fe.tagName==="TEXTAREA"||nativeOnRE.test(qe)&&isString$d(hn)?!1:qe in Fe}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$1({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(Fe,{slots:qe}){const hn=getCurrentInstance(),vn=useTransitionState();let bn,wn;return onUpdated(()=>{if(!bn.length)return;const kn=Fe.moveClass||`${Fe.name||"v"}-move`;if(!hasCSSTransform(bn[0].el,hn.vnode.el,kn))return;bn.forEach(callPendingCbs),bn.forEach(recordPosition);const _n=bn.filter(applyTranslation);forceReflow(),_n.forEach(Cn=>{const xn=Cn.el,En=xn.style;addTransitionClass(xn,kn),En.transform=En.webkitTransform=En.transitionDuration="";const $n=xn[moveCbKey]=Sn=>{Sn&&Sn.target!==xn||(!Sn||/transform$/.test(Sn.propertyName))&&(xn.removeEventListener("transitionend",$n),xn[moveCbKey]=null,removeTransitionClass(xn,kn))};xn.addEventListener("transitionend",$n)})}),()=>{const kn=toRaw(Fe),_n=resolveTransitionProps(kn);let Cn=kn.tag||Fragment;bn=wn,wn=qe.default?getTransitionRawChildren(qe.default()):[];for(let xn=0;xndelete Fe.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(Fe){const qe=Fe.el;qe[moveCbKey]&&qe[moveCbKey](),qe[enterCbKey]&&qe[enterCbKey]()}function recordPosition(Fe){newPositionMap.set(Fe,Fe.el.getBoundingClientRect())}function applyTranslation(Fe){const qe=positionMap.get(Fe),hn=newPositionMap.get(Fe),vn=qe.left-hn.left,bn=qe.top-hn.top;if(vn||bn){const wn=Fe.el.style;return wn.transform=wn.webkitTransform=`translate(${vn}px,${bn}px)`,wn.transitionDuration="0s",Fe}}function hasCSSTransform(Fe,qe,hn){const vn=Fe.cloneNode(),bn=Fe[vtcKey];bn&&bn.forEach(_n=>{_n.split(/\s+/).forEach(Cn=>Cn&&vn.classList.remove(Cn))}),hn.split(/\s+/).forEach(_n=>_n&&vn.classList.add(_n)),vn.style.display="none";const wn=qe.nodeType===1?qe:qe.parentNode;wn.appendChild(vn);const{hasTransform:kn}=getTransitionInfo(vn);return wn.removeChild(vn),kn}const getModelAssigner=Fe=>{const qe=Fe.props["onUpdate:modelValue"]||!1;return isArray$x(qe)?hn=>invokeArrayFns(qe,hn):qe};function onCompositionStart(Fe){Fe.target.composing=!0}function onCompositionEnd(Fe){const qe=Fe.target;qe.composing&&(qe.composing=!1,qe.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Fe,{modifiers:{lazy:qe,trim:hn,number:vn}},bn){Fe[assignKey]=getModelAssigner(bn);const wn=vn||bn.props&&bn.props.type==="number";addEventListener$1(Fe,qe?"change":"input",kn=>{if(kn.target.composing)return;let _n=Fe.value;hn&&(_n=_n.trim()),wn&&(_n=looseToNumber(_n)),Fe[assignKey](_n)}),hn&&addEventListener$1(Fe,"change",()=>{Fe.value=Fe.value.trim()}),qe||(addEventListener$1(Fe,"compositionstart",onCompositionStart),addEventListener$1(Fe,"compositionend",onCompositionEnd),addEventListener$1(Fe,"change",onCompositionEnd))},mounted(Fe,{value:qe}){Fe.value=qe??""},beforeUpdate(Fe,{value:qe,modifiers:{lazy:hn,trim:vn,number:bn}},wn){if(Fe[assignKey]=getModelAssigner(wn),Fe.composing)return;const kn=bn||Fe.type==="number"?looseToNumber(Fe.value):Fe.value,_n=qe??"";kn!==_n&&(document.activeElement===Fe&&Fe.type!=="range"&&(hn||vn&&Fe.value.trim()===_n)||(Fe.value=_n))}},vModelCheckbox={deep:!0,created(Fe,qe,hn){Fe[assignKey]=getModelAssigner(hn),addEventListener$1(Fe,"change",()=>{const vn=Fe._modelValue,bn=getValue$2(Fe),wn=Fe.checked,kn=Fe[assignKey];if(isArray$x(vn)){const _n=looseIndexOf(vn,bn),Cn=_n!==-1;if(wn&&!Cn)kn(vn.concat(bn));else if(!wn&&Cn){const xn=[...vn];xn.splice(_n,1),kn(xn)}}else if(isSet$4(vn)){const _n=new Set(vn);wn?_n.add(bn):_n.delete(bn),kn(_n)}else kn(getCheckboxValue(Fe,wn))})},mounted:setChecked,beforeUpdate(Fe,qe,hn){Fe[assignKey]=getModelAssigner(hn),setChecked(Fe,qe,hn)}};function setChecked(Fe,{value:qe,oldValue:hn},vn){Fe._modelValue=qe,isArray$x(qe)?Fe.checked=looseIndexOf(qe,vn.props.value)>-1:isSet$4(qe)?Fe.checked=qe.has(vn.props.value):qe!==hn&&(Fe.checked=looseEqual(qe,getCheckboxValue(Fe,!0)))}const vModelRadio={created(Fe,{value:qe},hn){Fe.checked=looseEqual(qe,hn.props.value),Fe[assignKey]=getModelAssigner(hn),addEventListener$1(Fe,"change",()=>{Fe[assignKey](getValue$2(Fe))})},beforeUpdate(Fe,{value:qe,oldValue:hn},vn){Fe[assignKey]=getModelAssigner(vn),qe!==hn&&(Fe.checked=looseEqual(qe,vn.props.value))}};function getValue$2(Fe){return"_value"in Fe?Fe._value:Fe.value}function getCheckboxValue(Fe,qe){const hn=qe?"_trueValue":"_falseValue";return hn in Fe?Fe[hn]:qe}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Fe=>Fe.stopPropagation(),prevent:Fe=>Fe.preventDefault(),self:Fe=>Fe.target!==Fe.currentTarget,ctrl:Fe=>!Fe.ctrlKey,shift:Fe=>!Fe.shiftKey,alt:Fe=>!Fe.altKey,meta:Fe=>!Fe.metaKey,left:Fe=>"button"in Fe&&Fe.button!==0,middle:Fe=>"button"in Fe&&Fe.button!==1,right:Fe=>"button"in Fe&&Fe.button!==2,exact:(Fe,qe)=>systemModifiers.some(hn=>Fe[`${hn}Key`]&&!qe.includes(hn))},withModifiers=(Fe,qe)=>(hn,...vn)=>{for(let bn=0;bnhn=>{if(!("key"in hn))return;const vn=hyphenate(hn.key);if(qe.some(bn=>bn===vn||keyNames[bn]===vn))return Fe(hn)},rendererOptions=extend$1({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer(rendererOptions))}const render$1=(...Fe)=>{ensureRenderer().render(...Fe)},createApp=(...Fe)=>{const qe=ensureRenderer().createApp(...Fe),{mount:hn}=qe;return qe.mount=vn=>{const bn=normalizeContainer(vn);if(!bn)return;const wn=qe._component;!isFunction$i(wn)&&!wn.render&&!wn.template&&(wn.template=bn.innerHTML),bn.innerHTML="";const kn=hn(bn,!1,bn instanceof SVGElement);return bn instanceof Element&&(bn.removeAttribute("v-cloak"),bn.setAttribute("data-v-app","")),kn},qe};function normalizeContainer(Fe){return isString$d(Fe)?document.querySelector(Fe):Fe}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=(Fe,qe,hn)=>qe in Fe?__defProp$9(Fe,qe,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Fe[qe]=hn,__spreadValues$9=(Fe,qe)=>{for(var hn in qe||(qe={}))__hasOwnProp$b.call(qe,hn)&&__defNormalProp$9(Fe,hn,qe[hn]);if(__getOwnPropSymbols$b)for(var hn of __getOwnPropSymbols$b(qe))__propIsEnum$b.call(qe,hn)&&__defNormalProp$9(Fe,hn,qe[hn]);return Fe},__spreadProps$6=(Fe,qe)=>__defProps$6(Fe,__getOwnPropDescs$6(qe));function computedEager(Fe,qe){var hn;const vn=shallowRef();return watchEffect(()=>{vn.value=Fe()},__spreadProps$6(__spreadValues$9({},qe),{flush:(hn=qe==null?void 0:qe.flush)!=null?hn:"sync"})),readonly(vn)}var _a;const isClient$1=typeof window<"u",isDef=Fe=>typeof Fe<"u",isFunction$h=Fe=>typeof Fe=="function",isString$c=Fe=>typeof Fe=="string",noop$8=()=>{},isIOS=isClient$1&&((_a=window==null?void 0:window.navigator)==null?void 0:_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(Fe){return typeof Fe=="function"?Fe():unref(Fe)}function createFilterWrapper$1(Fe,qe){function hn(...vn){return new Promise((bn,wn)=>{Promise.resolve(Fe(()=>qe.apply(this,vn),{fn:qe,thisArg:this,args:vn})).then(bn).catch(wn)})}return hn}function debounceFilter$1(Fe,qe={}){let hn,vn,bn=noop$8;const wn=_n=>{clearTimeout(_n),bn(),bn=noop$8};return _n=>{const Cn=resolveUnref(Fe),xn=resolveUnref(qe.maxWait);return hn&&wn(hn),Cn<=0||xn!==void 0&&xn<=0?(vn&&(wn(vn),vn=null),Promise.resolve(_n())):new Promise((En,$n)=>{bn=qe.rejectOnCancel?$n:En,xn&&!vn&&(vn=setTimeout(()=>{hn&&wn(hn),vn=null,En(_n())},xn)),hn=setTimeout(()=>{vn&&wn(vn),vn=null,En(_n())},Cn)})}}function throttleFilter$1(Fe,qe=!0,hn=!0,vn=!1){let bn=0,wn,kn=!0,_n=noop$8,Cn;const xn=()=>{wn&&(clearTimeout(wn),wn=void 0,_n(),_n=noop$8)};return $n=>{const Sn=resolveUnref(Fe),An=Date.now()-bn,Tn=()=>Cn=$n();return xn(),Sn<=0?(bn=Date.now(),Tn()):(An>Sn&&(hn||!kn)?(bn=Date.now(),Tn()):qe&&(Cn=new Promise((Nn,Pn)=>{_n=vn?Pn:Nn,wn=setTimeout(()=>{bn=Date.now(),kn=!0,Nn(Tn()),xn()},Math.max(0,Sn-An))})),!hn&&!wn&&(wn=setTimeout(()=>kn=!0,Sn)),kn=!1,Cn)}}function identity$1(Fe){return Fe}function tryOnScopeDispose$1(Fe){return getCurrentScope()?(onScopeDispose(Fe),!0):!1}function useDebounceFn$1(Fe,qe=200,hn={}){return createFilterWrapper$1(debounceFilter$1(qe,hn),Fe)}function refDebounced(Fe,qe=200,hn={}){const vn=ref(Fe.value),bn=useDebounceFn$1(()=>{vn.value=Fe.value},qe,hn);return watch(Fe,()=>bn()),vn}function useThrottleFn$1(Fe,qe=200,hn=!1,vn=!0,bn=!1){return createFilterWrapper$1(throttleFilter$1(qe,hn,vn,bn),Fe)}function tryOnMounted(Fe,qe=!0){getCurrentInstance()?onMounted(Fe):qe?Fe():nextTick(Fe)}function useTimeoutFn$1(Fe,qe,hn={}){const{immediate:vn=!0}=hn,bn=ref(!1);let wn=null;function kn(){wn&&(clearTimeout(wn),wn=null)}function _n(){bn.value=!1,kn()}function Cn(...xn){kn(),bn.value=!0,wn=setTimeout(()=>{bn.value=!1,wn=null,Fe(...xn)},resolveUnref(qe))}return vn&&(bn.value=!0,isClient$1&&Cn()),tryOnScopeDispose$1(_n),{isPending:readonly(bn),start:Cn,stop:_n}}function unrefElement(Fe){var qe;const hn=resolveUnref(Fe);return(qe=hn==null?void 0:hn.$el)!=null?qe:hn}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener(...Fe){let qe,hn,vn,bn;if(isString$c(Fe[0])||Array.isArray(Fe[0])?([hn,vn,bn]=Fe,qe=defaultWindow):[qe,hn,vn,bn]=Fe,!qe)return noop$8;Array.isArray(hn)||(hn=[hn]),Array.isArray(vn)||(vn=[vn]);const wn=[],kn=()=>{wn.forEach(En=>En()),wn.length=0},_n=(En,$n,Sn,An)=>(En.addEventListener($n,Sn,An),()=>En.removeEventListener($n,Sn,An)),Cn=watch(()=>[unrefElement(qe),resolveUnref(bn)],([En,$n])=>{kn(),En&&wn.push(...hn.flatMap(Sn=>vn.map(An=>_n(En,Sn,An,$n))))},{immediate:!0,flush:"post"}),xn=()=>{Cn(),kn()};return tryOnScopeDispose$1(xn),xn}let _iOSWorkaround=!1;function onClickOutside(Fe,qe,hn={}){const{window:vn=defaultWindow,ignore:bn=[],capture:wn=!0,detectIframe:kn=!1}=hn;if(!vn)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(vn.document.body.children).forEach(Sn=>Sn.addEventListener("click",noop$8)));let _n=!0;const Cn=Sn=>bn.some(An=>{if(typeof An=="string")return Array.from(vn.document.querySelectorAll(An)).some(Tn=>Tn===Sn.target||Sn.composedPath().includes(Tn));{const Tn=unrefElement(An);return Tn&&(Sn.target===Tn||Sn.composedPath().includes(Tn))}}),En=[useEventListener(vn,"click",Sn=>{const An=unrefElement(Fe);if(!(!An||An===Sn.target||Sn.composedPath().includes(An))){if(Sn.detail===0&&(_n=!Cn(Sn)),!_n){_n=!0;return}qe(Sn)}},{passive:!0,capture:wn}),useEventListener(vn,"pointerdown",Sn=>{const An=unrefElement(Fe);An&&(_n=!Sn.composedPath().includes(An)&&!Cn(Sn))},{passive:!0}),kn&&useEventListener(vn,"blur",Sn=>{var An;const Tn=unrefElement(Fe);((An=vn.document.activeElement)==null?void 0:An.tagName)==="IFRAME"&&!(Tn!=null&&Tn.contains(vn.document.activeElement))&&qe(Sn)})].filter(Boolean);return()=>En.forEach(Sn=>Sn())}function useSupported(Fe,qe=!1){const hn=ref(),vn=()=>hn.value=!!Fe();return vn(),tryOnMounted(vn,qe),hn}function cloneFnJSON(Fe){return JSON.parse(JSON.stringify(Fe))}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(Fe,qe,{window:hn=defaultWindow,initialValue:vn=""}={}){const bn=ref(vn),wn=computed(()=>{var kn;return unrefElement(qe)||((kn=hn==null?void 0:hn.document)==null?void 0:kn.documentElement)});return watch([wn,()=>resolveUnref(Fe)],([kn,_n])=>{var Cn;if(kn&&hn){const xn=(Cn=hn.getComputedStyle(kn).getPropertyValue(_n))==null?void 0:Cn.trim();bn.value=xn||vn}},{immediate:!0}),watch(bn,kn=>{var _n;(_n=wn.value)!=null&&_n.style&&wn.value.style.setProperty(resolveUnref(Fe),kn)}),bn}function useDocumentVisibility({document:Fe=defaultDocument}={}){if(!Fe)return ref("visible");const qe=ref(Fe.visibilityState);return useEventListener(Fe,"visibilitychange",()=>{qe.value=Fe.visibilityState}),qe}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(Fe,qe)=>{var hn={};for(var vn in Fe)__hasOwnProp$g.call(Fe,vn)&&qe.indexOf(vn)<0&&(hn[vn]=Fe[vn]);if(Fe!=null&&__getOwnPropSymbols$g)for(var vn of __getOwnPropSymbols$g(Fe))qe.indexOf(vn)<0&&__propIsEnum$g.call(Fe,vn)&&(hn[vn]=Fe[vn]);return hn};function useResizeObserver(Fe,qe,hn={}){const vn=hn,{window:bn=defaultWindow}=vn,wn=__objRest$2(vn,["window"]);let kn;const _n=useSupported(()=>bn&&"ResizeObserver"in bn),Cn=()=>{kn&&(kn.disconnect(),kn=void 0)},xn=watch(()=>unrefElement(Fe),$n=>{Cn(),_n.value&&bn&&$n&&(kn=new ResizeObserver(qe),kn.observe($n,wn))},{immediate:!0,flush:"post"}),En=()=>{Cn(),xn()};return tryOnScopeDispose$1(En),{isSupported:_n,stop:En}}function useElementBounding(Fe,qe={}){const{reset:hn=!0,windowResize:vn=!0,windowScroll:bn=!0,immediate:wn=!0}=qe,kn=ref(0),_n=ref(0),Cn=ref(0),xn=ref(0),En=ref(0),$n=ref(0),Sn=ref(0),An=ref(0);function Tn(){const Nn=unrefElement(Fe);if(!Nn){hn&&(kn.value=0,_n.value=0,Cn.value=0,xn.value=0,En.value=0,$n.value=0,Sn.value=0,An.value=0);return}const Pn=Nn.getBoundingClientRect();kn.value=Pn.height,_n.value=Pn.bottom,Cn.value=Pn.left,xn.value=Pn.right,En.value=Pn.top,$n.value=Pn.width,Sn.value=Pn.x,An.value=Pn.y}return useResizeObserver(Fe,Tn),watch(()=>unrefElement(Fe),Nn=>!Nn&&Tn()),bn&&useEventListener("scroll",Tn,{capture:!0,passive:!0}),vn&&useEventListener("resize",Tn,{passive:!0}),tryOnMounted(()=>{wn&&Tn()}),{height:kn,bottom:_n,left:Cn,right:xn,top:En,width:$n,x:Sn,y:An,update:Tn}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(Fe,qe)=>{var hn={};for(var vn in Fe)__hasOwnProp$8.call(Fe,vn)&&qe.indexOf(vn)<0&&(hn[vn]=Fe[vn]);if(Fe!=null&&__getOwnPropSymbols$8)for(var vn of __getOwnPropSymbols$8(Fe))qe.indexOf(vn)<0&&__propIsEnum$8.call(Fe,vn)&&(hn[vn]=Fe[vn]);return hn};function useMutationObserver(Fe,qe,hn={}){const vn=hn,{window:bn=defaultWindow}=vn,wn=__objRest$1(vn,["window"]);let kn;const _n=useSupported(()=>bn&&"MutationObserver"in bn),Cn=()=>{kn&&(kn.disconnect(),kn=void 0)},xn=watch(()=>unrefElement(Fe),$n=>{Cn(),_n.value&&bn&&$n&&(kn=new MutationObserver(qe),kn.observe($n,wn))},{immediate:!0}),En=()=>{Cn(),xn()};return tryOnScopeDispose$1(En),{isSupported:_n,stop:En}}var SwipeDirection;(function(Fe){Fe.UP="UP",Fe.RIGHT="RIGHT",Fe.DOWN="DOWN",Fe.LEFT="LEFT",Fe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp$1=Object.defineProperty,__getOwnPropSymbols$1=Object.getOwnPropertySymbols,__hasOwnProp$1=Object.prototype.hasOwnProperty,__propIsEnum$1=Object.prototype.propertyIsEnumerable,__defNormalProp$1=(Fe,qe,hn)=>qe in Fe?__defProp$1(Fe,qe,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Fe[qe]=hn,__spreadValues$1=(Fe,qe)=>{for(var hn in qe||(qe={}))__hasOwnProp$1.call(qe,hn)&&__defNormalProp$1(Fe,hn,qe[hn]);if(__getOwnPropSymbols$1)for(var hn of __getOwnPropSymbols$1(qe))__propIsEnum$1.call(qe,hn)&&__defNormalProp$1(Fe,hn,qe[hn]);return Fe};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$1({linear:identity$1},_TransitionPresets);function useVModel(Fe,qe,hn,vn={}){var bn,wn,kn;const{clone:_n=!1,passive:Cn=!1,eventName:xn,deep:En=!1,defaultValue:$n}=vn,Sn=getCurrentInstance(),An=hn||(Sn==null?void 0:Sn.emit)||((bn=Sn==null?void 0:Sn.$emit)==null?void 0:bn.bind(Sn))||((kn=(wn=Sn==null?void 0:Sn.proxy)==null?void 0:wn.$emit)==null?void 0:kn.bind(Sn==null?void 0:Sn.proxy));let Tn=xn;qe||(qe="modelValue"),Tn=xn||Tn||`update:${qe.toString()}`;const Nn=On=>_n?isFunction$h(_n)?_n(On):cloneFnJSON(On):On,Pn=()=>isDef(Fe[qe])?Nn(Fe[qe]):$n;if(Cn){const On=Pn(),Rn=ref(On);return watch(()=>Fe[qe],In=>Rn.value=Nn(In)),watch(Rn,In=>{(In!==Fe[qe]||En)&&An(Tn,In)},{deep:En}),Rn}else return computed({get(){return Pn()},set(On){An(Tn,On)}})}function useWindowFocus({window:Fe=defaultWindow}={}){if(!Fe)return ref(!1);const qe=ref(Fe.document.hasFocus());return useEventListener(Fe,"blur",()=>{qe.value=!1}),useEventListener(Fe,"focus",()=>{qe.value=!0}),qe}function useWindowSize(Fe={}){const{window:qe=defaultWindow,initialWidth:hn=1/0,initialHeight:vn=1/0,listenOrientation:bn=!0,includeScrollbar:wn=!0}=Fe,kn=ref(hn),_n=ref(vn),Cn=()=>{qe&&(wn?(kn.value=qe.innerWidth,_n.value=qe.innerHeight):(kn.value=qe.document.documentElement.clientWidth,_n.value=qe.document.documentElement.clientHeight))};return Cn(),tryOnMounted(Cn),useEventListener("resize",Cn,{passive:!0}),bn&&useEventListener("orientationchange",Cn,{passive:!0}),{width:kn,height:_n}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(Fe,qe)=>{if(!isClient$1||!Fe||!qe)return!1;const hn=Fe.getBoundingClientRect();let vn;return qe instanceof Element?vn=qe.getBoundingClientRect():vn={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},hn.topvn.top&&hn.right>vn.left&&hn.left{let qe=0,hn=Fe;for(;hn;)qe+=hn.offsetTop,hn=hn.offsetParent;return qe},getOffsetTopDistance=(Fe,qe)=>Math.abs(getOffsetTop(Fe)-getOffsetTop(qe)),getClientXY=Fe=>{let qe,hn;return Fe.type==="touchend"?(hn=Fe.changedTouches[0].clientY,qe=Fe.changedTouches[0].clientX):Fe.type.startsWith("touch")?(hn=Fe.touches[0].clientY,qe=Fe.touches[0].clientX):(hn=Fe.clientY,qe=Fe.clientX),{clientX:qe,clientY:hn}};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(Fe){var qe=hasOwnProperty$e.call(Fe,symToStringTag$1),hn=Fe[symToStringTag$1];try{Fe[symToStringTag$1]=void 0;var vn=!0}catch{}var bn=nativeObjectToString$1.call(Fe);return vn&&(qe?Fe[symToStringTag$1]=hn:delete Fe[symToStringTag$1]),bn}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$3(Fe){return nativeObjectToString.call(Fe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(Fe){return Fe==null?Fe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Fe)?getRawTag(Fe):objectToString$3(Fe)}function isObjectLike(Fe){return Fe!=null&&typeof Fe=="object"}var symbolTag$3="[object Symbol]";function isSymbol$3(Fe){return typeof Fe=="symbol"||isObjectLike(Fe)&&baseGetTag(Fe)==symbolTag$3}function arrayMap(Fe,qe){for(var hn=-1,vn=Fe==null?0:Fe.length,bn=Array(vn);++hn0){if(++qe>=HOT_COUNT)return arguments[0]}else qe=0;return Fe.apply(void 0,arguments)}}function constant(Fe){return function(){return Fe}}var defineProperty=function(){try{var Fe=getNative(Object,"defineProperty");return Fe({},"",{}),Fe}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(Fe,qe){return defineProperty$1(Fe,"toString",{configurable:!0,enumerable:!1,value:constant(qe),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach$f(Fe,qe){for(var hn=-1,vn=Fe==null?0:Fe.length;++hn-1}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(Fe,qe){var hn=typeof Fe;return qe=qe??MAX_SAFE_INTEGER$1,!!qe&&(hn=="number"||hn!="symbol"&&reIsUint.test(Fe))&&Fe>-1&&Fe%1==0&&Fe-1&&Fe%1==0&&Fe<=MAX_SAFE_INTEGER}function isArrayLike$1(Fe){return Fe!=null&&isLength(Fe.length)&&!isFunction$g(Fe)}function isIterateeCall(Fe,qe,hn){if(!isObject$8(hn))return!1;var vn=typeof qe;return(vn=="number"?isArrayLike$1(hn)&&isIndex(qe,hn.length):vn=="string"&&qe in hn)?eq(hn[qe],Fe):!1}function createAssigner(Fe){return baseRest(function(qe,hn){var vn=-1,bn=hn.length,wn=bn>1?hn[bn-1]:void 0,kn=bn>2?hn[2]:void 0;for(wn=Fe.length>3&&typeof wn=="function"?(bn--,wn):void 0,kn&&isIterateeCall(hn[0],hn[1],kn)&&(wn=bn<3?void 0:wn,bn=1),qe=Object(qe);++vn-1}function listCacheSet(Fe,qe){var hn=this.__data__,vn=assocIndexOf(hn,Fe);return vn<0?(++this.size,hn.push([Fe,qe])):hn[vn][1]=qe,this}function ListCache(Fe){var qe=-1,hn=Fe==null?0:Fe.length;for(this.clear();++qe0&&hn(_n)?qe>1?baseFlatten(_n,qe-1,hn,vn,bn):arrayPush(bn,_n):vn||(bn[bn.length]=_n)}return bn}function flatten$2(Fe){var qe=Fe==null?0:Fe.length;return qe?baseFlatten(Fe,1):[]}function flatRest(Fe){return setToString$1(overRest(Fe,void 0,flatten$2),Fe+"")}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(Fe){if(!isObjectLike(Fe)||baseGetTag(Fe)!=objectTag$3)return!1;var qe=getPrototype$1(Fe);if(qe===null)return!0;var hn=hasOwnProperty$5.call(qe,"constructor")&&qe.constructor;return typeof hn=="function"&&hn instanceof hn&&funcToString.call(hn)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var Fe=arguments[0];return isArray$w(Fe)?Fe:[Fe]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(Fe){var qe=this.__data__,hn=qe.delete(Fe);return this.size=qe.size,hn}function stackGet(Fe){return this.__data__.get(Fe)}function stackHas(Fe){return this.__data__.has(Fe)}var LARGE_ARRAY_SIZE$1=200;function stackSet(Fe,qe){var hn=this.__data__;if(hn instanceof ListCache){var vn=hn.__data__;if(!Map$2||vn.length_n))return!1;var xn=wn.get(Fe),En=wn.get(qe);if(xn&&En)return xn==qe&&En==Fe;var $n=-1,Sn=!0,An=hn&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(wn.set(Fe,qe),wn.set(qe,Fe);++$n<_n;){var Tn=Fe[$n],Nn=qe[$n];if(vn)var Pn=kn?vn(Nn,Tn,$n,qe,Fe,wn):vn(Tn,Nn,$n,Fe,qe,wn);if(Pn!==void 0){if(Pn)continue;Sn=!1;break}if(An){if(!arraySome(qe,function(On,Rn){if(!cacheHas(An,Rn)&&(Tn===On||bn(Tn,On,hn,vn,wn)))return An.push(Rn)})){Sn=!1;break}}else if(!(Tn===Nn||bn(Tn,Nn,hn,vn,wn))){Sn=!1;break}}return wn.delete(Fe),wn.delete(qe),Sn}function mapToArray(Fe){var qe=-1,hn=Array(Fe.size);return Fe.forEach(function(vn,bn){hn[++qe]=[bn,vn]}),hn}function setToArray(Fe){var qe=-1,hn=Array(Fe.size);return Fe.forEach(function(vn){hn[++qe]=vn}),hn}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(Fe,qe,hn,vn,bn,wn,kn){switch(hn){case dataViewTag:if(Fe.byteLength!=qe.byteLength||Fe.byteOffset!=qe.byteOffset)return!1;Fe=Fe.buffer,qe=qe.buffer;case arrayBufferTag:return!(Fe.byteLength!=qe.byteLength||!wn(new Uint8Array$2(Fe),new Uint8Array$2(qe)));case boolTag:case dateTag:case numberTag:return eq(+Fe,+qe);case errorTag:return Fe.name==qe.name&&Fe.message==qe.message;case regexpTag:case stringTag:return Fe==qe+"";case mapTag:var _n=mapToArray;case setTag:var Cn=vn&COMPARE_PARTIAL_FLAG$4;if(_n||(_n=setToArray),Fe.size!=qe.size&&!Cn)return!1;var xn=kn.get(Fe);if(xn)return xn==qe;vn|=COMPARE_UNORDERED_FLAG$2,kn.set(Fe,qe);var En=equalArrays(_n(Fe),_n(qe),vn,bn,wn,kn);return kn.delete(Fe),En;case symbolTag:if(symbolValueOf)return symbolValueOf.call(Fe)==symbolValueOf.call(qe)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$3=objectProto$1.hasOwnProperty;function equalObjects(Fe,qe,hn,vn,bn,wn){var kn=hn&COMPARE_PARTIAL_FLAG$3,_n=getAllKeys(Fe),Cn=_n.length,xn=getAllKeys(qe),En=xn.length;if(Cn!=En&&!kn)return!1;for(var $n=Cn;$n--;){var Sn=_n[$n];if(!(kn?Sn in qe:hasOwnProperty$3.call(qe,Sn)))return!1}var An=wn.get(Fe),Tn=wn.get(qe);if(An&&Tn)return An==qe&&Tn==Fe;var Nn=!0;wn.set(Fe,qe),wn.set(qe,Fe);for(var Pn=kn;++$n=qe||Vn<0||$n&&Ln>=wn}function On(){var Dn=now$4();if(Pn(Dn))return Rn(Dn);_n=setTimeout(On,Nn(Dn))}function Rn(Dn){return _n=void 0,Sn&&vn?An(Dn):(vn=bn=void 0,kn)}function In(){_n!==void 0&&clearTimeout(_n),xn=0,vn=Cn=bn=_n=void 0}function Mn(){return _n===void 0?kn:Rn(now$4())}function Bn(){var Dn=now$4(),Vn=Pn(Dn);if(vn=arguments,bn=this,Cn=Dn,Vn){if(_n===void 0)return Tn(Cn);if($n)return clearTimeout(_n),_n=setTimeout(On,qe),An(Cn)}return _n===void 0&&(_n=setTimeout(On,qe)),kn}return Bn.cancel=In,Bn.flush=Mn,Bn}function assignMergeValue(Fe,qe,hn){(hn!==void 0&&!eq(Fe[qe],hn)||hn===void 0&&!(qe in Fe))&&baseAssignValue(Fe,qe,hn)}function isArrayLikeObject(Fe){return isObjectLike(Fe)&&isArrayLike$1(Fe)}function safeGet(Fe,qe){if(!(qe==="constructor"&&typeof Fe[qe]=="function")&&qe!="__proto__")return Fe[qe]}function toPlainObject(Fe){return copyObject(Fe,keysIn(Fe))}function baseMergeDeep(Fe,qe,hn,vn,bn,wn,kn){var _n=safeGet(Fe,hn),Cn=safeGet(qe,hn),xn=kn.get(Cn);if(xn){assignMergeValue(Fe,hn,xn);return}var En=wn?wn(_n,Cn,hn+"",Fe,qe,kn):void 0,$n=En===void 0;if($n){var Sn=isArray$w(Cn),An=!Sn&&isBuffer$2(Cn),Tn=!Sn&&!An&&isTypedArray$2(Cn);En=Cn,Sn||An||Tn?isArray$w(_n)?En=_n:isArrayLikeObject(_n)?En=copyArray(_n):An?($n=!1,En=cloneBuffer(Cn,!0)):Tn?($n=!1,En=cloneTypedArray(Cn,!0)):En=[]:isPlainObject$a(Cn)||isArguments$3(Cn)?(En=_n,isArguments$3(_n)?En=toPlainObject(_n):(!isObject$8(_n)||isFunction$g(_n))&&(En=initCloneObject(Cn))):$n=!1}$n&&(kn.set(Cn,En),bn(En,Cn,vn,wn,kn),kn.delete(Cn)),assignMergeValue(Fe,hn,En)}function baseMerge(Fe,qe,hn,vn,bn){Fe!==qe&&baseFor$1(qe,function(wn,kn){if(bn||(bn=new Stack),isObject$8(wn))baseMergeDeep(Fe,qe,kn,hn,baseMerge,vn,bn);else{var _n=vn?vn(safeGet(Fe,kn),wn,kn+"",Fe,qe,bn):void 0;_n===void 0&&(_n=wn),assignMergeValue(Fe,kn,_n)}},keysIn)}function customDefaultsMerge(Fe,qe,hn,vn,bn,wn){return isObject$8(Fe)&&isObject$8(qe)&&(wn.set(qe,Fe),baseMerge(Fe,qe,void 0,customDefaultsMerge,wn),wn.delete(qe)),Fe}var mergeWith=createAssigner(function(Fe,qe,hn,vn){baseMerge(Fe,qe,hn,vn)});const mergeWith$1=mergeWith;var defaultsDeep=baseRest(function(Fe){return Fe.push(void 0,customDefaultsMerge),apply(mergeWith$1,void 0,Fe)});const defaultsDeep$1=defaultsDeep;function arrayIncludesWith(Fe,qe,hn){for(var vn=-1,bn=Fe==null?0:Fe.length;++vn=LARGE_ARRAY_SIZE){var xn=qe?null:createSet$1(Fe);if(xn)return setToArray(xn);kn=!1,bn=cacheHas,Cn=new SetCache}else Cn=qe?[]:_n;e:for(;++vnFe===void 0,isBoolean$5=Fe=>typeof Fe=="boolean",isNumber$d=Fe=>typeof Fe=="number",isEmpty$3=Fe=>!Fe&&Fe!==0||isArray$x(Fe)&&Fe.length===0||isObject$9(Fe)&&!Object.keys(Fe).length,isElement$4=Fe=>typeof Element>"u"?!1:Fe instanceof Element,isPropAbsent=Fe=>isNil(Fe),isStringNumber=Fe=>isString$d(Fe)?!Number.isNaN(Number(Fe)):!1,escapeStringRegexp=(Fe="")=>Fe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=Fe=>capitalize$1(Fe),keysOf=Fe=>Object.keys(Fe),entriesOf=Fe=>Object.entries(Fe),getProp=(Fe,qe,hn)=>({get value(){return get$6(Fe,qe,hn)},set value(vn){set$2(Fe,qe,vn)}});class ElementPlusError extends Error{constructor(qe){super(qe),this.name="ElementPlusError"}}function throwError(Fe,qe){throw new ElementPlusError(`[${Fe}] ${qe}`)}function debugWarn(Fe,qe){}const classNameToArray=(Fe="")=>Fe.split(" ").filter(qe=>!!qe.trim()),hasClass$1=(Fe,qe)=>{if(!Fe||!qe)return!1;if(qe.includes(" "))throw new Error("className should not contain space.");return Fe.classList.contains(qe)},addClass$2=(Fe,qe)=>{!Fe||!qe.trim()||Fe.classList.add(...classNameToArray(qe))},removeClass$2=(Fe,qe)=>{!Fe||!qe.trim()||Fe.classList.remove(...classNameToArray(qe))},getStyle=(Fe,qe)=>{var hn;if(!isClient$1||!Fe||!qe)return"";let vn=camelize(qe);vn==="float"&&(vn="cssFloat");try{const bn=Fe.style[vn];if(bn)return bn;const wn=(hn=document.defaultView)==null?void 0:hn.getComputedStyle(Fe,"");return wn?wn[vn]:""}catch{return Fe.style[vn]}};function addUnit(Fe,qe="px"){if(!Fe)return"";if(isNumber$d(Fe)||isStringNumber(Fe))return`${Fe}${qe}`;if(isString$d(Fe))return Fe}const isScroll=(Fe,qe)=>{if(!isClient$1)return!1;const hn={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(qe)],vn=getStyle(Fe,hn);return["scroll","auto","overlay"].some(bn=>vn.includes(bn))},getScrollContainer=(Fe,qe)=>{if(!isClient$1)return;let hn=Fe;for(;hn;){if([window,document,document.documentElement].includes(hn))return window;if(isScroll(hn,qe))return hn;hn=hn.parentNode}return hn};let scrollBarWidth;const getScrollBarWidth=Fe=>{var qe;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const hn=document.createElement("div");hn.className=`${Fe}-scrollbar__wrap`,hn.style.visibility="hidden",hn.style.width="100px",hn.style.position="absolute",hn.style.top="-9999px",document.body.appendChild(hn);const vn=hn.offsetWidth;hn.style.overflow="scroll";const bn=document.createElement("div");bn.style.width="100%",hn.appendChild(bn);const wn=bn.offsetWidth;return(qe=hn.parentNode)==null||qe.removeChild(hn),scrollBarWidth=vn-wn,scrollBarWidth};function scrollIntoView$1(Fe,qe){if(!isClient$1)return;if(!qe){Fe.scrollTop=0;return}const hn=[];let vn=qe.offsetParent;for(;vn!==null&&Fe!==vn&&Fe.contains(vn);)hn.push(vn),vn=vn.offsetParent;const bn=qe.offsetTop+hn.reduce((Cn,xn)=>Cn+xn.offsetTop,0),wn=bn+qe.offsetHeight,kn=Fe.scrollTop,_n=kn+Fe.clientHeight;bn_n&&(Fe.scrollTop=wn-Fe.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(Fe){return(qe,hn)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const epPropKey="__epPropKey",definePropType=Fe=>Fe,isEpProp=Fe=>isObject$9(Fe)&&!!Fe[epPropKey],buildProp=(Fe,qe)=>{if(!isObject$9(Fe)||isEpProp(Fe))return Fe;const{values:hn,required:vn,default:bn,type:wn,validator:kn}=Fe,Cn={type:wn,required:!!vn,validator:hn||kn?xn=>{let En=!1,$n=[];if(hn&&($n=Array.from(hn),hasOwn(Fe,"default")&&$n.push(bn),En||(En=$n.includes(xn))),kn&&(En||(En=kn(xn))),!En&&$n.length>0){const Sn=[...new Set($n)].map(An=>JSON.stringify(An)).join(", ");warn(`Invalid prop: validation failed${qe?` for prop "${qe}"`:""}. Expected one of [${Sn}], got value ${JSON.stringify(xn)}.`)}return En}:void 0,[epPropKey]:!0};return hasOwn(Fe,"default")&&(Cn.default=bn),Cn},buildProps=Fe=>fromPairs(Object.entries(Fe).map(([qe,hn])=>[qe,buildProp(hn,qe)])),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$1=(Fe,qe)=>{if(Fe.install=hn=>{for(const vn of[Fe,...Object.values(qe??{})])hn.component(vn.name,vn)},qe)for(const[hn,vn]of Object.entries(qe))Fe[hn]=vn;return Fe},withInstallFunction=(Fe,qe)=>(Fe.install=hn=>{Fe._context=hn._context,hn.config.globalProperties[qe]=Fe},Fe),withInstallDirective=(Fe,qe)=>(Fe.install=hn=>{hn.directive(qe,Fe)},Fe),withNoopInstall=Fe=>(Fe.install=NOOP,Fe),composeRefs=(...Fe)=>qe=>{Fe.forEach(hn=>{isFunction$i(hn)?hn(qe):hn.value=qe})},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=Fe=>componentSizeMap[Fe||"default"],isValidComponentSize=Fe=>["",...componentSizes].includes(Fe);var PatchFlags=(Fe=>(Fe[Fe.TEXT=1]="TEXT",Fe[Fe.CLASS=2]="CLASS",Fe[Fe.STYLE=4]="STYLE",Fe[Fe.PROPS=8]="PROPS",Fe[Fe.FULL_PROPS=16]="FULL_PROPS",Fe[Fe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",Fe[Fe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",Fe[Fe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",Fe[Fe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",Fe[Fe.NEED_PATCH=512]="NEED_PATCH",Fe[Fe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",Fe[Fe.HOISTED=-1]="HOISTED",Fe[Fe.BAIL=-2]="BAIL",Fe))(PatchFlags||{});function isFragment(Fe){return isVNode(Fe)&&Fe.type===Fragment}function isComment(Fe){return isVNode(Fe)&&Fe.type===Comment$1}function isValidElementNode(Fe){return isVNode(Fe)&&!isFragment(Fe)&&!isComment(Fe)}const getNormalizedProps=Fe=>{if(!isVNode(Fe))return{};const qe=Fe.props||{},hn=(isVNode(Fe.type)?Fe.type.props:void 0)||{},vn={};return Object.keys(hn).forEach(bn=>{hasOwn(hn[bn],"default")&&(vn[bn]=hn[bn].default)}),Object.keys(qe).forEach(bn=>{vn[camelize(bn)]=qe[bn]}),vn},ensureOnlyChild=Fe=>{if(!isArray$x(Fe)||Fe.length>1)throw new Error("expect to receive a single Vue element child");return Fe[0]},flattedChildren=Fe=>{const qe=isArray$x(Fe)?Fe:[Fe],hn=[];return qe.forEach(vn=>{var bn;isArray$x(vn)?hn.push(...flattedChildren(vn)):isVNode(vn)&&isArray$x(vn.children)?hn.push(...flattedChildren(vn.children)):(hn.push(vn),isVNode(vn)&&((bn=vn.component)!=null&&bn.subTree)&&hn.push(...flattedChildren(vn.component.subTree)))}),hn},unique=Fe=>[...new Set(Fe)],castArray=Fe=>!Fe&&Fe!==0?[]:Array.isArray(Fe)?Fe:[Fe],isKorean=Fe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(Fe),rAF=Fe=>isClient$1?window.requestAnimationFrame(Fe):setTimeout(Fe,16),cAF=Fe=>isClient$1?window.cancelAnimationFrame(Fe):clearTimeout(Fe),generateId=()=>Math.floor(Math.random()*1e4),mutable=Fe=>Fe,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(Fe={})=>{const{excludeListeners:qe=!1,excludeKeys:hn}=Fe,vn=computed(()=>((hn==null?void 0:hn.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),bn=getCurrentInstance();return computed(bn?()=>{var wn;return fromPairs(Object.entries((wn=bn.proxy)==null?void 0:wn.$attrs).filter(([kn])=>!vn.value.includes(kn)&&!(qe&&LISTENER_PREFIX.test(kn))))}:()=>({}))},useDeprecated=({from:Fe,replacement:qe,scope:hn,version:vn,ref:bn,type:wn="API"},kn)=>{watch(()=>unref(kn),_n=>{},{immediate:!0})},useDraggable=(Fe,qe,hn)=>{let vn={offsetX:0,offsetY:0};const bn=_n=>{const Cn=_n.clientX,xn=_n.clientY,{offsetX:En,offsetY:$n}=vn,Sn=Fe.value.getBoundingClientRect(),An=Sn.left,Tn=Sn.top,Nn=Sn.width,Pn=Sn.height,On=document.documentElement.clientWidth,Rn=document.documentElement.clientHeight,In=-An+En,Mn=-Tn+$n,Bn=On-An-Nn+En,Dn=Rn-Tn-Pn+$n,Vn=zn=>{const Hn=Math.min(Math.max(En+zn.clientX-Cn,In),Bn),Fn=Math.min(Math.max($n+zn.clientY-xn,Mn),Dn);vn={offsetX:Hn,offsetY:Fn},Fe.value&&(Fe.value.style.transform=`translate(${addUnit(Hn)}, ${addUnit(Fn)})`)},Ln=()=>{document.removeEventListener("mousemove",Vn),document.removeEventListener("mouseup",Ln)};document.addEventListener("mousemove",Vn),document.addEventListener("mouseup",Ln)},wn=()=>{qe.value&&Fe.value&&qe.value.addEventListener("mousedown",bn)},kn=()=>{qe.value&&Fe.value&&qe.value.removeEventListener("mousedown",bn)};onMounted(()=>{watchEffect(()=>{hn.value?wn():kn()})}),onBeforeUnmount(()=>{kn()})};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=Fe=>(qe,hn)=>translate(qe,hn,unref(Fe)),translate=(Fe,qe,hn)=>get$6(hn,Fe,Fe).replace(/\{(\w+)\}/g,(vn,bn)=>{var wn;return`${(wn=qe==null?void 0:qe[bn])!=null?wn:`{${bn}}`}`}),buildLocaleContext=Fe=>{const qe=computed(()=>unref(Fe).name),hn=isRef(Fe)?Fe:ref(Fe);return{lang:qe,locale:hn,t:buildTranslator(Fe)}},localeContextKey=Symbol("localeContextKey"),useLocale=Fe=>{const qe=Fe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>qe.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(Fe,qe,hn,vn,bn)=>{let wn=`${Fe}-${qe}`;return hn&&(wn+=`-${hn}`),vn&&(wn+=`__${vn}`),bn&&(wn+=`--${bn}`),wn},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=Fe=>{const qe=Fe||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref(qe)||defaultNamespace)},useNamespace=(Fe,qe)=>{const hn=useGetDerivedNamespace(qe);return{namespace:hn,b:(Nn="")=>_bem(hn.value,Fe,Nn,"",""),e:Nn=>Nn?_bem(hn.value,Fe,"",Nn,""):"",m:Nn=>Nn?_bem(hn.value,Fe,"","",Nn):"",be:(Nn,Pn)=>Nn&&Pn?_bem(hn.value,Fe,Nn,Pn,""):"",em:(Nn,Pn)=>Nn&&Pn?_bem(hn.value,Fe,"",Nn,Pn):"",bm:(Nn,Pn)=>Nn&&Pn?_bem(hn.value,Fe,Nn,"",Pn):"",bem:(Nn,Pn,On)=>Nn&&Pn&&On?_bem(hn.value,Fe,Nn,Pn,On):"",is:(Nn,...Pn)=>{const On=Pn.length>=1?Pn[0]:!0;return Nn&&On?`${statePrefix}${Nn}`:""},cssVar:Nn=>{const Pn={};for(const On in Nn)Nn[On]&&(Pn[`--${hn.value}-${On}`]=Nn[On]);return Pn},cssVarName:Nn=>`--${hn.value}-${Nn}`,cssVarBlock:Nn=>{const Pn={};for(const On in Nn)Nn[On]&&(Pn[`--${hn.value}-${Fe}-${On}`]=Nn[On]);return Pn},cssVarBlockName:Nn=>`--${hn.value}-${Fe}-${Nn}`}},useLockscreen=(Fe,qe={})=>{isRef(Fe)||throwError("[useLockscreen]","You need to pass a ref param to this function");const hn=qe.ns||useNamespace("popup"),vn=computed$1(()=>hn.bm("parent","hidden"));if(!isClient$1||hasClass$1(document.body,vn.value))return;let bn=0,wn=!1,kn="0";const _n=()=>{setTimeout(()=>{removeClass$2(document==null?void 0:document.body,vn.value),wn&&document&&(document.body.style.width=kn)},200)};watch(Fe,Cn=>{if(!Cn){_n();return}wn=!hasClass$1(document.body,vn.value),wn&&(kn=document.body.style.width),bn=getScrollBarWidth(hn.namespace.value);const xn=document.documentElement.clientHeight0&&(xn||En==="scroll")&&wn&&(document.body.style.width=`calc(100% - ${bn}px)`),addClass$2(document.body,vn.value)}),onScopeDispose(()=>_n())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=Fe=>{const qe=`update:${Fe}`,hn=`onUpdate:${Fe}`,vn=[qe],bn={[Fe]:_prop,[hn]:_event};return{useModelToggle:({indicator:kn,toggleReason:_n,shouldHideWhenRouteChanges:Cn,shouldProceed:xn,onShow:En,onHide:$n})=>{const Sn=getCurrentInstance(),{emit:An}=Sn,Tn=Sn.props,Nn=computed(()=>isFunction$i(Tn[hn])),Pn=computed(()=>Tn[Fe]===null),On=Vn=>{kn.value!==!0&&(kn.value=!0,_n&&(_n.value=Vn),isFunction$i(En)&&En(Vn))},Rn=Vn=>{kn.value!==!1&&(kn.value=!1,_n&&(_n.value=Vn),isFunction$i($n)&&$n(Vn))},In=Vn=>{if(Tn.disabled===!0||isFunction$i(xn)&&!xn())return;const Ln=Nn.value&&isClient$1;Ln&&An(qe,!0),(Pn.value||!Ln)&&On(Vn)},Mn=Vn=>{if(Tn.disabled===!0||!isClient$1)return;const Ln=Nn.value&&isClient$1;Ln&&An(qe,!1),(Pn.value||!Ln)&&Rn(Vn)},Bn=Vn=>{isBoolean$5(Vn)&&(Tn.disabled&&Vn?Nn.value&&An(qe,!1):kn.value!==Vn&&(Vn?On():Rn()))},Dn=()=>{kn.value?Mn():In()};return watch(()=>Tn[Fe],Bn),Cn&&Sn.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Sn.proxy.$route}),()=>{Cn.value&&kn.value&&Mn()}),onMounted(()=>{Bn(Tn[Fe])}),{hide:Mn,show:In,toggle:Dn,hasUpdateHandler:Nn}},useModelToggleProps:bn,useModelToggleEmits:vn}};createModelToggleComposable("modelValue");const useProp=Fe=>{const qe=getCurrentInstance();return computed(()=>{var hn,vn;return(vn=(hn=qe==null?void 0:qe.proxy)==null?void 0:hn.$props)==null?void 0:vn[Fe]})};var E$9="top",R$3="bottom",W$4="right",P$6="left",me$2="auto",G$2=[E$9,R$3,W$4,P$6],U$5="start",J$3="end",Xe="clippingParents",je="viewport",K$3="popper",Ye="reference",De=G$2.reduce(function(Fe,qe){return Fe.concat([qe+"-"+U$5,qe+"-"+J$3])},[]),Ee=[].concat(G$2,[me$2]).reduce(function(Fe,qe){return Fe.concat([qe,qe+"-"+U$5,qe+"-"+J$3])},[]),Ge$1="beforeRead",Je$1="read",Ke="afterRead",Qe$1="beforeMain",Ze$1="main",et$2="afterMain",tt$2="beforeWrite",nt$2="write",rt$2="afterWrite",ot$2=[Ge$1,Je$1,Ke,Qe$1,Ze$1,et$2,tt$2,nt$2,rt$2];function C$6(Fe){return Fe?(Fe.nodeName||"").toLowerCase():null}function H$4(Fe){if(Fe==null)return window;if(Fe.toString()!=="[object Window]"){var qe=Fe.ownerDocument;return qe&&qe.defaultView||window}return Fe}function Q$4(Fe){var qe=H$4(Fe).Element;return Fe instanceof qe||Fe instanceof Element}function B$3(Fe){var qe=H$4(Fe).HTMLElement;return Fe instanceof qe||Fe instanceof HTMLElement}function Pe$1(Fe){if(typeof ShadowRoot>"u")return!1;var qe=H$4(Fe).ShadowRoot;return Fe instanceof qe||Fe instanceof ShadowRoot}function Mt$1(Fe){var qe=Fe.state;Object.keys(qe.elements).forEach(function(hn){var vn=qe.styles[hn]||{},bn=qe.attributes[hn]||{},wn=qe.elements[hn];!B$3(wn)||!C$6(wn)||(Object.assign(wn.style,vn),Object.keys(bn).forEach(function(kn){var _n=bn[kn];_n===!1?wn.removeAttribute(kn):wn.setAttribute(kn,_n===!0?"":_n)}))})}function Rt$1(Fe){var qe=Fe.state,hn={popper:{position:qe.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qe.elements.popper.style,hn.popper),qe.styles=hn,qe.elements.arrow&&Object.assign(qe.elements.arrow.style,hn.arrow),function(){Object.keys(qe.elements).forEach(function(vn){var bn=qe.elements[vn],wn=qe.attributes[vn]||{},kn=Object.keys(qe.styles.hasOwnProperty(vn)?qe.styles[vn]:hn[vn]),_n=kn.reduce(function(Cn,xn){return Cn[xn]="",Cn},{});!B$3(bn)||!C$6(bn)||(Object.assign(bn.style,_n),Object.keys(wn).forEach(function(Cn){bn.removeAttribute(Cn)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$1,effect:Rt$1,requires:["computeStyles"]};function q$2(Fe){return Fe.split("-")[0]}var X$3=Math.max,ve$1=Math.min,Z$2=Math.round;function ee(Fe,qe){qe===void 0&&(qe=!1);var hn=Fe.getBoundingClientRect(),vn=1,bn=1;if(B$3(Fe)&&qe){var wn=Fe.offsetHeight,kn=Fe.offsetWidth;kn>0&&(vn=Z$2(hn.width)/kn||1),wn>0&&(bn=Z$2(hn.height)/wn||1)}return{width:hn.width/vn,height:hn.height/bn,top:hn.top/bn,right:hn.right/vn,bottom:hn.bottom/bn,left:hn.left/vn,x:hn.left/vn,y:hn.top/bn}}function ke(Fe){var qe=ee(Fe),hn=Fe.offsetWidth,vn=Fe.offsetHeight;return Math.abs(qe.width-hn)<=1&&(hn=qe.width),Math.abs(qe.height-vn)<=1&&(vn=qe.height),{x:Fe.offsetLeft,y:Fe.offsetTop,width:hn,height:vn}}function it$2(Fe,qe){var hn=qe.getRootNode&&qe.getRootNode();if(Fe.contains(qe))return!0;if(hn&&Pe$1(hn)){var vn=qe;do{if(vn&&Fe.isSameNode(vn))return!0;vn=vn.parentNode||vn.host}while(vn)}return!1}function N$6(Fe){return H$4(Fe).getComputedStyle(Fe)}function Wt$1(Fe){return["table","td","th"].indexOf(C$6(Fe))>=0}function I$3(Fe){return((Q$4(Fe)?Fe.ownerDocument:Fe.document)||window.document).documentElement}function ge$2(Fe){return C$6(Fe)==="html"?Fe:Fe.assignedSlot||Fe.parentNode||(Pe$1(Fe)?Fe.host:null)||I$3(Fe)}function at$2(Fe){return!B$3(Fe)||N$6(Fe).position==="fixed"?null:Fe.offsetParent}function Bt(Fe){var qe=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,hn=navigator.userAgent.indexOf("Trident")!==-1;if(hn&&B$3(Fe)){var vn=N$6(Fe);if(vn.position==="fixed")return null}var bn=ge$2(Fe);for(Pe$1(bn)&&(bn=bn.host);B$3(bn)&&["html","body"].indexOf(C$6(bn))<0;){var wn=N$6(bn);if(wn.transform!=="none"||wn.perspective!=="none"||wn.contain==="paint"||["transform","perspective"].indexOf(wn.willChange)!==-1||qe&&wn.willChange==="filter"||qe&&wn.filter&&wn.filter!=="none")return bn;bn=bn.parentNode}return null}function se$1(Fe){for(var qe=H$4(Fe),hn=at$2(Fe);hn&&Wt$1(hn)&&N$6(hn).position==="static";)hn=at$2(hn);return hn&&(C$6(hn)==="html"||C$6(hn)==="body"&&N$6(hn).position==="static")?qe:hn||Bt(Fe)||qe}function Le(Fe){return["top","bottom"].indexOf(Fe)>=0?"x":"y"}function fe$1(Fe,qe,hn){return X$3(Fe,ve$1(qe,hn))}function St$2(Fe,qe,hn){var vn=fe$1(Fe,qe,hn);return vn>hn?hn:vn}function st$2(){return{top:0,right:0,bottom:0,left:0}}function ft$2(Fe){return Object.assign({},st$2(),Fe)}function ct$2(Fe,qe){return qe.reduce(function(hn,vn){return hn[vn]=Fe,hn},{})}var Tt$2=function(Fe,qe){return Fe=typeof Fe=="function"?Fe(Object.assign({},qe.rects,{placement:qe.placement})):Fe,ft$2(typeof Fe!="number"?Fe:ct$2(Fe,G$2))};function Ht$1(Fe){var qe,hn=Fe.state,vn=Fe.name,bn=Fe.options,wn=hn.elements.arrow,kn=hn.modifiersData.popperOffsets,_n=q$2(hn.placement),Cn=Le(_n),xn=[P$6,W$4].indexOf(_n)>=0,En=xn?"height":"width";if(!(!wn||!kn)){var $n=Tt$2(bn.padding,hn),Sn=ke(wn),An=Cn==="y"?E$9:P$6,Tn=Cn==="y"?R$3:W$4,Nn=hn.rects.reference[En]+hn.rects.reference[Cn]-kn[Cn]-hn.rects.popper[En],Pn=kn[Cn]-hn.rects.reference[Cn],On=se$1(wn),Rn=On?Cn==="y"?On.clientHeight||0:On.clientWidth||0:0,In=Nn/2-Pn/2,Mn=$n[An],Bn=Rn-Sn[En]-$n[Tn],Dn=Rn/2-Sn[En]/2+In,Vn=fe$1(Mn,Dn,Bn),Ln=Cn;hn.modifiersData[vn]=(qe={},qe[Ln]=Vn,qe.centerOffset=Vn-Dn,qe)}}function Ct$2(Fe){var qe=Fe.state,hn=Fe.options,vn=hn.element,bn=vn===void 0?"[data-popper-arrow]":vn;bn!=null&&(typeof bn=="string"&&(bn=qe.elements.popper.querySelector(bn),!bn)||!it$2(qe.elements.popper,bn)||(qe.elements.arrow=bn))}var pt$1={name:"arrow",enabled:!0,phase:"main",fn:Ht$1,effect:Ct$2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Fe){return Fe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$1(Fe){var qe=Fe.x,hn=Fe.y,vn=window,bn=vn.devicePixelRatio||1;return{x:Z$2(qe*bn)/bn||0,y:Z$2(hn*bn)/bn||0}}function ut$2(Fe){var qe,hn=Fe.popper,vn=Fe.popperRect,bn=Fe.placement,wn=Fe.variation,kn=Fe.offsets,_n=Fe.position,Cn=Fe.gpuAcceleration,xn=Fe.adaptive,En=Fe.roundOffsets,$n=Fe.isFixed,Sn=kn.x,An=Sn===void 0?0:Sn,Tn=kn.y,Nn=Tn===void 0?0:Tn,Pn=typeof En=="function"?En({x:An,y:Nn}):{x:An,y:Nn};An=Pn.x,Nn=Pn.y;var On=kn.hasOwnProperty("x"),Rn=kn.hasOwnProperty("y"),In=P$6,Mn=E$9,Bn=window;if(xn){var Dn=se$1(hn),Vn="clientHeight",Ln="clientWidth";if(Dn===H$4(hn)&&(Dn=I$3(hn),N$6(Dn).position!=="static"&&_n==="absolute"&&(Vn="scrollHeight",Ln="scrollWidth")),Dn=Dn,bn===E$9||(bn===P$6||bn===W$4)&&wn===J$3){Mn=R$3;var zn=$n&&Dn===Bn&&Bn.visualViewport?Bn.visualViewport.height:Dn[Vn];Nn-=zn-vn.height,Nn*=Cn?1:-1}if(bn===P$6||(bn===E$9||bn===R$3)&&wn===J$3){In=W$4;var Hn=$n&&Dn===Bn&&Bn.visualViewport?Bn.visualViewport.width:Dn[Ln];An-=Hn-vn.width,An*=Cn?1:-1}}var Fn=Object.assign({position:_n},xn&&qt),Kn=En===!0?Vt$1({x:An,y:Nn}):{x:An,y:Nn};if(An=Kn.x,Nn=Kn.y,Cn){var Un;return Object.assign({},Fn,(Un={},Un[Mn]=Rn?"0":"",Un[In]=On?"0":"",Un.transform=(Bn.devicePixelRatio||1)<=1?"translate("+An+"px, "+Nn+"px)":"translate3d("+An+"px, "+Nn+"px, 0)",Un))}return Object.assign({},Fn,(qe={},qe[Mn]=Rn?Nn+"px":"",qe[In]=On?An+"px":"",qe.transform="",qe))}function Nt(Fe){var qe=Fe.state,hn=Fe.options,vn=hn.gpuAcceleration,bn=vn===void 0?!0:vn,wn=hn.adaptive,kn=wn===void 0?!0:wn,_n=hn.roundOffsets,Cn=_n===void 0?!0:_n,xn={placement:q$2(qe.placement),variation:te$1(qe.placement),popper:qe.elements.popper,popperRect:qe.rects.popper,gpuAcceleration:bn,isFixed:qe.options.strategy==="fixed"};qe.modifiersData.popperOffsets!=null&&(qe.styles.popper=Object.assign({},qe.styles.popper,ut$2(Object.assign({},xn,{offsets:qe.modifiersData.popperOffsets,position:qe.options.strategy,adaptive:kn,roundOffsets:Cn})))),qe.modifiersData.arrow!=null&&(qe.styles.arrow=Object.assign({},qe.styles.arrow,ut$2(Object.assign({},xn,{offsets:qe.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Cn})))),qe.attributes.popper=Object.assign({},qe.attributes.popper,{"data-popper-placement":qe.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$2={passive:!0};function It$1(Fe){var qe=Fe.state,hn=Fe.instance,vn=Fe.options,bn=vn.scroll,wn=bn===void 0?!0:bn,kn=vn.resize,_n=kn===void 0?!0:kn,Cn=H$4(qe.elements.popper),xn=[].concat(qe.scrollParents.reference,qe.scrollParents.popper);return wn&&xn.forEach(function(En){En.addEventListener("scroll",hn.update,ye$2)}),_n&&Cn.addEventListener("resize",hn.update,ye$2),function(){wn&&xn.forEach(function(En){En.removeEventListener("scroll",hn.update,ye$2)}),_n&&Cn.removeEventListener("resize",hn.update,ye$2)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It$1,data:{}},_t$3={left:"right",right:"left",bottom:"top",top:"bottom"};function be$1(Fe){return Fe.replace(/left|right|bottom|top/g,function(qe){return _t$3[qe]})}var zt$2={start:"end",end:"start"};function lt$2(Fe){return Fe.replace(/start|end/g,function(qe){return zt$2[qe]})}function We$1(Fe){var qe=H$4(Fe),hn=qe.pageXOffset,vn=qe.pageYOffset;return{scrollLeft:hn,scrollTop:vn}}function Be(Fe){return ee(I$3(Fe)).left+We$1(Fe).scrollLeft}function Ft$1(Fe){var qe=H$4(Fe),hn=I$3(Fe),vn=qe.visualViewport,bn=hn.clientWidth,wn=hn.clientHeight,kn=0,_n=0;return vn&&(bn=vn.width,wn=vn.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(kn=vn.offsetLeft,_n=vn.offsetTop)),{width:bn,height:wn,x:kn+Be(Fe),y:_n}}function Ut(Fe){var qe,hn=I$3(Fe),vn=We$1(Fe),bn=(qe=Fe.ownerDocument)==null?void 0:qe.body,wn=X$3(hn.scrollWidth,hn.clientWidth,bn?bn.scrollWidth:0,bn?bn.clientWidth:0),kn=X$3(hn.scrollHeight,hn.clientHeight,bn?bn.scrollHeight:0,bn?bn.clientHeight:0),_n=-vn.scrollLeft+Be(Fe),Cn=-vn.scrollTop;return N$6(bn||hn).direction==="rtl"&&(_n+=X$3(hn.clientWidth,bn?bn.clientWidth:0)-wn),{width:wn,height:kn,x:_n,y:Cn}}function Se$2(Fe){var qe=N$6(Fe),hn=qe.overflow,vn=qe.overflowX,bn=qe.overflowY;return/auto|scroll|overlay|hidden/.test(hn+bn+vn)}function dt$2(Fe){return["html","body","#document"].indexOf(C$6(Fe))>=0?Fe.ownerDocument.body:B$3(Fe)&&Se$2(Fe)?Fe:dt$2(ge$2(Fe))}function ce$2(Fe,qe){var hn;qe===void 0&&(qe=[]);var vn=dt$2(Fe),bn=vn===((hn=Fe.ownerDocument)==null?void 0:hn.body),wn=H$4(vn),kn=bn?[wn].concat(wn.visualViewport||[],Se$2(vn)?vn:[]):vn,_n=qe.concat(kn);return bn?_n:_n.concat(ce$2(ge$2(kn)))}function Te$2(Fe){return Object.assign({},Fe,{left:Fe.x,top:Fe.y,right:Fe.x+Fe.width,bottom:Fe.y+Fe.height})}function Xt(Fe){var qe=ee(Fe);return qe.top=qe.top+Fe.clientTop,qe.left=qe.left+Fe.clientLeft,qe.bottom=qe.top+Fe.clientHeight,qe.right=qe.left+Fe.clientWidth,qe.width=Fe.clientWidth,qe.height=Fe.clientHeight,qe.x=qe.left,qe.y=qe.top,qe}function ht$1(Fe,qe){return qe===je?Te$2(Ft$1(Fe)):Q$4(qe)?Xt(qe):Te$2(Ut(I$3(Fe)))}function Yt(Fe){var qe=ce$2(ge$2(Fe)),hn=["absolute","fixed"].indexOf(N$6(Fe).position)>=0,vn=hn&&B$3(Fe)?se$1(Fe):Fe;return Q$4(vn)?qe.filter(function(bn){return Q$4(bn)&&it$2(bn,vn)&&C$6(bn)!=="body"}):[]}function Gt$1(Fe,qe,hn){var vn=qe==="clippingParents"?Yt(Fe):[].concat(qe),bn=[].concat(vn,[hn]),wn=bn[0],kn=bn.reduce(function(_n,Cn){var xn=ht$1(Fe,Cn);return _n.top=X$3(xn.top,_n.top),_n.right=ve$1(xn.right,_n.right),_n.bottom=ve$1(xn.bottom,_n.bottom),_n.left=X$3(xn.left,_n.left),_n},ht$1(Fe,wn));return kn.width=kn.right-kn.left,kn.height=kn.bottom-kn.top,kn.x=kn.left,kn.y=kn.top,kn}function mt$2(Fe){var qe=Fe.reference,hn=Fe.element,vn=Fe.placement,bn=vn?q$2(vn):null,wn=vn?te$1(vn):null,kn=qe.x+qe.width/2-hn.width/2,_n=qe.y+qe.height/2-hn.height/2,Cn;switch(bn){case E$9:Cn={x:kn,y:qe.y-hn.height};break;case R$3:Cn={x:kn,y:qe.y+qe.height};break;case W$4:Cn={x:qe.x+qe.width,y:_n};break;case P$6:Cn={x:qe.x-hn.width,y:_n};break;default:Cn={x:qe.x,y:qe.y}}var xn=bn?Le(bn):null;if(xn!=null){var En=xn==="y"?"height":"width";switch(wn){case U$5:Cn[xn]=Cn[xn]-(qe[En]/2-hn[En]/2);break;case J$3:Cn[xn]=Cn[xn]+(qe[En]/2-hn[En]/2);break}}return Cn}function ne$1(Fe,qe){qe===void 0&&(qe={});var hn=qe,vn=hn.placement,bn=vn===void 0?Fe.placement:vn,wn=hn.boundary,kn=wn===void 0?Xe:wn,_n=hn.rootBoundary,Cn=_n===void 0?je:_n,xn=hn.elementContext,En=xn===void 0?K$3:xn,$n=hn.altBoundary,Sn=$n===void 0?!1:$n,An=hn.padding,Tn=An===void 0?0:An,Nn=ft$2(typeof Tn!="number"?Tn:ct$2(Tn,G$2)),Pn=En===K$3?Ye:K$3,On=Fe.rects.popper,Rn=Fe.elements[Sn?Pn:En],In=Gt$1(Q$4(Rn)?Rn:Rn.contextElement||I$3(Fe.elements.popper),kn,Cn),Mn=ee(Fe.elements.reference),Bn=mt$2({reference:Mn,element:On,strategy:"absolute",placement:bn}),Dn=Te$2(Object.assign({},On,Bn)),Vn=En===K$3?Dn:Mn,Ln={top:In.top-Vn.top+Nn.top,bottom:Vn.bottom-In.bottom+Nn.bottom,left:In.left-Vn.left+Nn.left,right:Vn.right-In.right+Nn.right},zn=Fe.modifiersData.offset;if(En===K$3&&zn){var Hn=zn[bn];Object.keys(Ln).forEach(function(Fn){var Kn=[W$4,R$3].indexOf(Fn)>=0?1:-1,Un=[E$9,R$3].indexOf(Fn)>=0?"y":"x";Ln[Fn]+=Hn[Un]*Kn})}return Ln}function Jt(Fe,qe){qe===void 0&&(qe={});var hn=qe,vn=hn.placement,bn=hn.boundary,wn=hn.rootBoundary,kn=hn.padding,_n=hn.flipVariations,Cn=hn.allowedAutoPlacements,xn=Cn===void 0?Ee:Cn,En=te$1(vn),$n=En?_n?De:De.filter(function(Tn){return te$1(Tn)===En}):G$2,Sn=$n.filter(function(Tn){return xn.indexOf(Tn)>=0});Sn.length===0&&(Sn=$n);var An=Sn.reduce(function(Tn,Nn){return Tn[Nn]=ne$1(Fe,{placement:Nn,boundary:bn,rootBoundary:wn,padding:kn})[q$2(Nn)],Tn},{});return Object.keys(An).sort(function(Tn,Nn){return An[Tn]-An[Nn]})}function Kt(Fe){if(q$2(Fe)===me$2)return[];var qe=be$1(Fe);return[lt$2(Fe),qe,lt$2(qe)]}function Qt(Fe){var qe=Fe.state,hn=Fe.options,vn=Fe.name;if(!qe.modifiersData[vn]._skip){for(var bn=hn.mainAxis,wn=bn===void 0?!0:bn,kn=hn.altAxis,_n=kn===void 0?!0:kn,Cn=hn.fallbackPlacements,xn=hn.padding,En=hn.boundary,$n=hn.rootBoundary,Sn=hn.altBoundary,An=hn.flipVariations,Tn=An===void 0?!0:An,Nn=hn.allowedAutoPlacements,Pn=qe.options.placement,On=q$2(Pn),Rn=On===Pn,In=Cn||(Rn||!Tn?[be$1(Pn)]:Kt(Pn)),Mn=[Pn].concat(In).reduce(function(co,mo){return co.concat(q$2(mo)===me$2?Jt(qe,{placement:mo,boundary:En,rootBoundary:$n,padding:xn,flipVariations:Tn,allowedAutoPlacements:Nn}):mo)},[]),Bn=qe.rects.reference,Dn=qe.rects.popper,Vn=new Map,Ln=!0,zn=Mn[0],Hn=0;Hn=0,Wn=Gn?"width":"height",Yn=ne$1(qe,{placement:Fn,boundary:En,rootBoundary:$n,altBoundary:Sn,padding:xn}),Xn=Gn?Un?W$4:P$6:Un?R$3:E$9;Bn[Wn]>Dn[Wn]&&(Xn=be$1(Xn));var qn=be$1(Xn),jn=[];if(wn&&jn.push(Yn[Kn]<=0),_n&&jn.push(Yn[Xn]<=0,Yn[qn]<=0),jn.every(function(co){return co})){zn=Fn,Ln=!1;break}Vn.set(Fn,jn)}if(Ln)for(var Jn=Tn?3:1,Qn=function(co){var mo=Mn.find(function(fo){var io=Vn.get(fo);if(io)return io.slice(0,co).every(function(ao){return ao})});if(mo)return zn=mo,"break"},no=Jn;no>0;no--){var so=Qn(no);if(so==="break")break}qe.placement!==zn&&(qe.modifiersData[vn]._skip=!0,qe.placement=zn,qe.reset=!0)}}var vt$1={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt$2(Fe,qe,hn){return hn===void 0&&(hn={x:0,y:0}),{top:Fe.top-qe.height-hn.y,right:Fe.right-qe.width+hn.x,bottom:Fe.bottom-qe.height+hn.y,left:Fe.left-qe.width-hn.x}}function yt$2(Fe){return[E$9,W$4,R$3,P$6].some(function(qe){return Fe[qe]>=0})}function Zt(Fe){var qe=Fe.state,hn=Fe.name,vn=qe.rects.reference,bn=qe.rects.popper,wn=qe.modifiersData.preventOverflow,kn=ne$1(qe,{elementContext:"reference"}),_n=ne$1(qe,{altBoundary:!0}),Cn=gt$2(kn,vn),xn=gt$2(_n,bn,wn),En=yt$2(Cn),$n=yt$2(xn);qe.modifiersData[hn]={referenceClippingOffsets:Cn,popperEscapeOffsets:xn,isReferenceHidden:En,hasPopperEscaped:$n},qe.attributes.popper=Object.assign({},qe.attributes.popper,{"data-popper-reference-hidden":En,"data-popper-escaped":$n})}var bt$2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Fe,qe,hn){var vn=q$2(Fe),bn=[P$6,E$9].indexOf(vn)>=0?-1:1,wn=typeof hn=="function"?hn(Object.assign({},qe,{placement:Fe})):hn,kn=wn[0],_n=wn[1];return kn=kn||0,_n=(_n||0)*bn,[P$6,W$4].indexOf(vn)>=0?{x:_n,y:kn}:{x:kn,y:_n}}function tn(Fe){var qe=Fe.state,hn=Fe.options,vn=Fe.name,bn=hn.offset,wn=bn===void 0?[0,0]:bn,kn=Ee.reduce(function(En,$n){return En[$n]=en($n,qe.rects,wn),En},{}),_n=kn[qe.placement],Cn=_n.x,xn=_n.y;qe.modifiersData.popperOffsets!=null&&(qe.modifiersData.popperOffsets.x+=Cn,qe.modifiersData.popperOffsets.y+=xn),qe.modifiersData[vn]=kn}var wt$2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Fe){var qe=Fe.state,hn=Fe.name;qe.modifiersData[hn]=mt$2({reference:qe.rects.reference,element:qe.rects.popper,strategy:"absolute",placement:qe.placement})}var He$1={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Fe){return Fe==="x"?"y":"x"}function on(Fe){var qe=Fe.state,hn=Fe.options,vn=Fe.name,bn=hn.mainAxis,wn=bn===void 0?!0:bn,kn=hn.altAxis,_n=kn===void 0?!1:kn,Cn=hn.boundary,xn=hn.rootBoundary,En=hn.altBoundary,$n=hn.padding,Sn=hn.tether,An=Sn===void 0?!0:Sn,Tn=hn.tetherOffset,Nn=Tn===void 0?0:Tn,Pn=ne$1(qe,{boundary:Cn,rootBoundary:xn,padding:$n,altBoundary:En}),On=q$2(qe.placement),Rn=te$1(qe.placement),In=!Rn,Mn=Le(On),Bn=rn(Mn),Dn=qe.modifiersData.popperOffsets,Vn=qe.rects.reference,Ln=qe.rects.popper,zn=typeof Nn=="function"?Nn(Object.assign({},qe.rects,{placement:qe.placement})):Nn,Hn=typeof zn=="number"?{mainAxis:zn,altAxis:zn}:Object.assign({mainAxis:0,altAxis:0},zn),Fn=qe.modifiersData.offset?qe.modifiersData.offset[qe.placement]:null,Kn={x:0,y:0};if(Dn){if(wn){var Un,Gn=Mn==="y"?E$9:P$6,Wn=Mn==="y"?R$3:W$4,Yn=Mn==="y"?"height":"width",Xn=Dn[Mn],qn=Xn+Pn[Gn],jn=Xn-Pn[Wn],Jn=An?-Ln[Yn]/2:0,Qn=Rn===U$5?Vn[Yn]:Ln[Yn],no=Rn===U$5?-Ln[Yn]:-Vn[Yn],so=qe.elements.arrow,co=An&&so?ke(so):{width:0,height:0},mo=qe.modifiersData["arrow#persistent"]?qe.modifiersData["arrow#persistent"].padding:st$2(),fo=mo[Gn],io=mo[Wn],ao=fe$1(0,Vn[Yn],co[Yn]),go=In?Vn[Yn]/2-Jn-ao-fo-Hn.mainAxis:Qn-ao-fo-Hn.mainAxis,yo=In?-Vn[Yn]/2+Jn+ao+io+Hn.mainAxis:no+ao+io+Hn.mainAxis,Bo=qe.elements.arrow&&se$1(qe.elements.arrow),ro=Bo?Mn==="y"?Bo.clientTop||0:Bo.clientLeft||0:0,eo=(Un=Fn==null?void 0:Fn[Mn])!=null?Un:0,lo=Xn+go-eo-ro,ho=Xn+yo-eo,Io=fe$1(An?ve$1(qn,lo):qn,Xn,An?X$3(jn,ho):jn);Dn[Mn]=Io,Kn[Mn]=Io-Xn}if(_n){var Po,ko=Mn==="x"?E$9:P$6,xo=Mn==="x"?R$3:W$4,Ao=Dn[Bn],vo=Bn==="y"?"height":"width",qo=Ao+Pn[ko],jo=Ao-Pn[xo],Ko=[E$9,P$6].indexOf(On)!==-1,bo=(Po=Fn==null?void 0:Fn[Bn])!=null?Po:0,wo=Ko?qo:Ao-Vn[vo]-Ln[vo]-bo+Hn.altAxis,zo=Ko?Ao+Vn[vo]+Ln[vo]-bo-Hn.altAxis:jo,Yo=An&&Ko?St$2(wo,Ao,zo):fe$1(An?wo:qo,Ao,An?zo:jo);Dn[Bn]=Yo,Kn[Bn]=Yo-Ao}qe.modifiersData[vn]=Kn}}var xt$2={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(Fe){return{scrollLeft:Fe.scrollLeft,scrollTop:Fe.scrollTop}}function sn(Fe){return Fe===H$4(Fe)||!B$3(Fe)?We$1(Fe):an(Fe)}function fn(Fe){var qe=Fe.getBoundingClientRect(),hn=Z$2(qe.width)/Fe.offsetWidth||1,vn=Z$2(qe.height)/Fe.offsetHeight||1;return hn!==1||vn!==1}function cn(Fe,qe,hn){hn===void 0&&(hn=!1);var vn=B$3(qe),bn=B$3(qe)&&fn(qe),wn=I$3(qe),kn=ee(Fe,bn),_n={scrollLeft:0,scrollTop:0},Cn={x:0,y:0};return(vn||!vn&&!hn)&&((C$6(qe)!=="body"||Se$2(wn))&&(_n=sn(qe)),B$3(qe)?(Cn=ee(qe,!0),Cn.x+=qe.clientLeft,Cn.y+=qe.clientTop):wn&&(Cn.x=Be(wn))),{x:kn.left+_n.scrollLeft-Cn.x,y:kn.top+_n.scrollTop-Cn.y,width:kn.width,height:kn.height}}function pn(Fe){var qe=new Map,hn=new Set,vn=[];Fe.forEach(function(wn){qe.set(wn.name,wn)});function bn(wn){hn.add(wn.name);var kn=[].concat(wn.requires||[],wn.requiresIfExists||[]);kn.forEach(function(_n){if(!hn.has(_n)){var Cn=qe.get(_n);Cn&&bn(Cn)}}),vn.push(wn)}return Fe.forEach(function(wn){hn.has(wn.name)||bn(wn)}),vn}function un(Fe){var qe=pn(Fe);return ot$2.reduce(function(hn,vn){return hn.concat(qe.filter(function(bn){return bn.phase===vn}))},[])}function ln(Fe){var qe;return function(){return qe||(qe=new Promise(function(hn){Promise.resolve().then(function(){qe=void 0,hn(Fe())})})),qe}}function dn(Fe){var qe=Fe.reduce(function(hn,vn){var bn=hn[vn.name];return hn[vn.name]=bn?Object.assign({},bn,vn,{options:Object.assign({},bn.options,vn.options),data:Object.assign({},bn.data,vn.data)}):vn,hn},{});return Object.keys(qe).map(function(hn){return qe[hn]})}var Ot$1={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$2(){for(var Fe=arguments.length,qe=new Array(Fe),hn=0;hn{const vn={name:"updateState",enabled:!0,phase:"write",fn:({state:Cn})=>{const xn=deriveState(Cn);Object.assign(kn.value,xn)},requires:["computeStyles"]},bn=computed(()=>{const{onFirstUpdate:Cn,placement:xn,strategy:En,modifiers:$n}=unref(hn);return{onFirstUpdate:Cn,placement:xn||"bottom",strategy:En||"absolute",modifiers:[...$n||[],vn,{name:"applyStyles",enabled:!1}]}}),wn=shallowRef(),kn=ref({styles:{popper:{position:unref(bn).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),_n=()=>{wn.value&&(wn.value.destroy(),wn.value=void 0)};return watch(bn,Cn=>{const xn=unref(wn);xn&&xn.setOptions(Cn)},{deep:!0}),watch([Fe,qe],([Cn,xn])=>{_n(),!(!Cn||!xn)&&(wn.value=yn(Cn,xn,unref(bn)))}),onBeforeUnmount(()=>{_n()}),{state:computed(()=>{var Cn;return{...((Cn=unref(wn))==null?void 0:Cn.state)||{}}}),styles:computed(()=>unref(kn).styles),attributes:computed(()=>unref(kn).attributes),update:()=>{var Cn;return(Cn=unref(wn))==null?void 0:Cn.update()},forceUpdate:()=>{var Cn;return(Cn=unref(wn))==null?void 0:Cn.forceUpdate()},instanceRef:computed(()=>unref(wn))}};function deriveState(Fe){const qe=Object.keys(Fe.elements),hn=fromPairs(qe.map(bn=>[bn,Fe.styles[bn]||{}])),vn=fromPairs(qe.map(bn=>[bn,Fe.attributes[bn]]));return{styles:hn,attributes:vn}}const useSameTarget=Fe=>{if(!Fe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let qe=!1,hn=!1;return{onClick:kn=>{qe&&hn&&Fe(kn),qe=hn=!1},onMousedown:kn=>{qe=kn.target===kn.currentTarget},onMouseup:kn=>{hn=kn.target===kn.currentTarget}}},useThrottleRender=(Fe,qe=0)=>{if(qe===0)return Fe;const hn=ref(!1);let vn=0;const bn=()=>{vn&&clearTimeout(vn),vn=window.setTimeout(()=>{hn.value=Fe.value},qe)};return onMounted(bn),watch(()=>Fe.value,wn=>{wn?bn():hn.value=wn}),hn};function useTimeout$1(){let Fe;const qe=(vn,bn)=>{hn(),Fe=window.setTimeout(vn,bn)},hn=()=>window.clearTimeout(Fe);return tryOnScopeDispose$1(()=>hn()),{registerTimeout:qe,cancelTimeout:hn}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=Fe=>{const qe=useIdInjection(),hn=useGetDerivedNamespace();return computed(()=>unref(Fe)||`${hn.value}-id-${qe.prefix}-${qe.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=Fe=>{const qe=Fe;qe.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(hn=>hn(qe))},useEscapeKeydown=Fe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(Fe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(qe=>qe!==Fe),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const Fe=useGetDerivedNamespace(),qe=useIdInjection(),hn=computed(()=>`${Fe.value}-popper-container-${qe.prefix}`),vn=computed(()=>`#${hn.value}`);return{id:hn,selector:vn}},createContainer=Fe=>{const qe=document.createElement("div");return qe.id=Fe,document.body.appendChild(qe),qe},usePopperContainer=()=>{const{id:Fe,selector:qe}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector(qe.value)&&(cachedContainer=createContainer(Fe.value))}),{id:Fe,selector:qe}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:Fe,hideAfter:qe,autoClose:hn,open:vn,close:bn})=>{const{registerTimeout:wn}=useTimeout$1(),{registerTimeout:kn,cancelTimeout:_n}=useTimeout$1();return{onOpen:En=>{wn(()=>{vn(En);const $n=unref(hn);isNumber$d($n)&&$n>0&&kn(()=>{bn(En)},$n)},unref(Fe))},onClose:En=>{_n(),wn(()=>{bn(En)},unref(qe))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=Fe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:hn=>{Fe.value=hn}})},useForwardRefDirective=Fe=>({mounted(qe){Fe(qe)},updated(qe){Fe(qe)},unmounted(){Fe(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=Fe=>{const qe=Fe||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),hn=computed(()=>{const wn=unref(qe);return isNumber$d(wn)?wn:defaultInitialZIndex}),vn=computed(()=>hn.value+zIndex.value);return{initialZIndex:hn,currentZIndex:vn,nextZIndex:()=>(zIndex.value++,vn.value)}},min$3=Math.min,max$4=Math.max,round$4=Math.round,createCoords=Fe=>({x:Fe,y:Fe});function clamp(Fe,qe,hn){return max$4(Fe,min$3(qe,hn))}function evaluate(Fe,qe){return typeof Fe=="function"?Fe(qe):Fe}function getSide(Fe){return Fe.split("-")[0]}function getAlignment(Fe){return Fe.split("-")[1]}function getOppositeAxis(Fe){return Fe==="x"?"y":"x"}function getAxisLength(Fe){return Fe==="y"?"height":"width"}function getSideAxis(Fe){return["top","bottom"].includes(getSide(Fe))?"y":"x"}function getAlignmentAxis(Fe){return getOppositeAxis(getSideAxis(Fe))}function expandPaddingObject(Fe){return{top:0,right:0,bottom:0,left:0,...Fe}}function getPaddingObject(Fe){return typeof Fe!="number"?expandPaddingObject(Fe):{top:Fe,right:Fe,bottom:Fe,left:Fe}}function rectToClientRect(Fe){return{...Fe,top:Fe.y,left:Fe.x,right:Fe.x+Fe.width,bottom:Fe.y+Fe.height}}function computeCoordsFromPlacement(Fe,qe,hn){let{reference:vn,floating:bn}=Fe;const wn=getSideAxis(qe),kn=getAlignmentAxis(qe),_n=getAxisLength(kn),Cn=getSide(qe),xn=wn==="y",En=vn.x+vn.width/2-bn.width/2,$n=vn.y+vn.height/2-bn.height/2,Sn=vn[_n]/2-bn[_n]/2;let An;switch(Cn){case"top":An={x:En,y:vn.y-bn.height};break;case"bottom":An={x:En,y:vn.y+vn.height};break;case"right":An={x:vn.x+vn.width,y:$n};break;case"left":An={x:vn.x-bn.width,y:$n};break;default:An={x:vn.x,y:vn.y}}switch(getAlignment(qe)){case"start":An[kn]-=Sn*(hn&&xn?-1:1);break;case"end":An[kn]+=Sn*(hn&&xn?-1:1);break}return An}const computePosition$1=async(Fe,qe,hn)=>{const{placement:vn="bottom",strategy:bn="absolute",middleware:wn=[],platform:kn}=hn,_n=wn.filter(Boolean),Cn=await(kn.isRTL==null?void 0:kn.isRTL(qe));let xn=await kn.getElementRects({reference:Fe,floating:qe,strategy:bn}),{x:En,y:$n}=computeCoordsFromPlacement(xn,vn,Cn),Sn=vn,An={},Tn=0;for(let Nn=0;Nn<_n.length;Nn++){const{name:Pn,fn:On}=_n[Nn],{x:Rn,y:In,data:Mn,reset:Bn}=await On({x:En,y:$n,initialPlacement:vn,placement:Sn,strategy:bn,middlewareData:An,rects:xn,platform:kn,elements:{reference:Fe,floating:qe}});if(En=Rn??En,$n=In??$n,An={...An,[Pn]:{...An[Pn],...Mn}},Bn&&Tn<=50){Tn++,typeof Bn=="object"&&(Bn.placement&&(Sn=Bn.placement),Bn.rects&&(xn=Bn.rects===!0?await kn.getElementRects({reference:Fe,floating:qe,strategy:bn}):Bn.rects),{x:En,y:$n}=computeCoordsFromPlacement(xn,Sn,Cn)),Nn=-1;continue}}return{x:En,y:$n,placement:Sn,strategy:bn,middlewareData:An}},arrow=Fe=>({name:"arrow",options:Fe,async fn(qe){const{x:hn,y:vn,placement:bn,rects:wn,platform:kn,elements:_n,middlewareData:Cn}=qe,{element:xn,padding:En=0}=evaluate(Fe,qe)||{};if(xn==null)return{};const $n=getPaddingObject(En),Sn={x:hn,y:vn},An=getAlignmentAxis(bn),Tn=getAxisLength(An),Nn=await kn.getDimensions(xn),Pn=An==="y",On=Pn?"top":"left",Rn=Pn?"bottom":"right",In=Pn?"clientHeight":"clientWidth",Mn=wn.reference[Tn]+wn.reference[An]-Sn[An]-wn.floating[Tn],Bn=Sn[An]-wn.reference[An],Dn=await(kn.getOffsetParent==null?void 0:kn.getOffsetParent(xn));let Vn=Dn?Dn[In]:0;(!Vn||!await(kn.isElement==null?void 0:kn.isElement(Dn)))&&(Vn=_n.floating[In]||wn.floating[Tn]);const Ln=Mn/2-Bn/2,zn=Vn/2-Nn[Tn]/2-1,Hn=min$3($n[On],zn),Fn=min$3($n[Rn],zn),Kn=Hn,Un=Vn-Nn[Tn]-Fn,Gn=Vn/2-Nn[Tn]/2+Ln,Wn=clamp(Kn,Gn,Un),Yn=!Cn.arrow&&getAlignment(bn)!=null&&Gn!=Wn&&wn.reference[Tn]/2-(Gn"u"?!1:Fe instanceof ShadowRoot||Fe instanceof getWindow(Fe).ShadowRoot}function isOverflowElement(Fe){const{overflow:qe,overflowX:hn,overflowY:vn,display:bn}=getComputedStyle$1(Fe);return/auto|scroll|overlay|hidden|clip/.test(qe+vn+hn)&&!["inline","contents"].includes(bn)}function isTableElement(Fe){return["table","td","th"].includes(getNodeName(Fe))}function isContainingBlock(Fe){const qe=isWebKit(),hn=getComputedStyle$1(Fe);return hn.transform!=="none"||hn.perspective!=="none"||(hn.containerType?hn.containerType!=="normal":!1)||!qe&&(hn.backdropFilter?hn.backdropFilter!=="none":!1)||!qe&&(hn.filter?hn.filter!=="none":!1)||["transform","perspective","filter"].some(vn=>(hn.willChange||"").includes(vn))||["paint","layout","strict","content"].some(vn=>(hn.contain||"").includes(vn))}function getContainingBlock(Fe){let qe=getParentNode(Fe);for(;isHTMLElement$1(qe)&&!isLastTraversableNode(qe);){if(isContainingBlock(qe))return qe;qe=getParentNode(qe)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Fe){return["html","body","#document"].includes(getNodeName(Fe))}function getComputedStyle$1(Fe){return getWindow(Fe).getComputedStyle(Fe)}function getNodeScroll(Fe){return isElement$3(Fe)?{scrollLeft:Fe.scrollLeft,scrollTop:Fe.scrollTop}:{scrollLeft:Fe.pageXOffset,scrollTop:Fe.pageYOffset}}function getParentNode(Fe){if(getNodeName(Fe)==="html")return Fe;const qe=Fe.assignedSlot||Fe.parentNode||isShadowRoot(Fe)&&Fe.host||getDocumentElement(Fe);return isShadowRoot(qe)?qe.host:qe}function getNearestOverflowAncestor(Fe){const qe=getParentNode(Fe);return isLastTraversableNode(qe)?Fe.ownerDocument?Fe.ownerDocument.body:Fe.body:isHTMLElement$1(qe)&&isOverflowElement(qe)?qe:getNearestOverflowAncestor(qe)}function getOverflowAncestors(Fe,qe,hn){var vn;qe===void 0&&(qe=[]),hn===void 0&&(hn=!0);const bn=getNearestOverflowAncestor(Fe),wn=bn===((vn=Fe.ownerDocument)==null?void 0:vn.body),kn=getWindow(bn);return wn?qe.concat(kn,kn.visualViewport||[],isOverflowElement(bn)?bn:[],kn.frameElement&&hn?getOverflowAncestors(kn.frameElement):[]):qe.concat(bn,getOverflowAncestors(bn,[],hn))}function getCssDimensions(Fe){const qe=getComputedStyle$1(Fe);let hn=parseFloat(qe.width)||0,vn=parseFloat(qe.height)||0;const bn=isHTMLElement$1(Fe),wn=bn?Fe.offsetWidth:hn,kn=bn?Fe.offsetHeight:vn,_n=round$4(hn)!==wn||round$4(vn)!==kn;return _n&&(hn=wn,vn=kn),{width:hn,height:vn,$:_n}}function unwrapElement(Fe){return isElement$3(Fe)?Fe:Fe.contextElement}function getScale(Fe){const qe=unwrapElement(Fe);if(!isHTMLElement$1(qe))return createCoords(1);const hn=qe.getBoundingClientRect(),{width:vn,height:bn,$:wn}=getCssDimensions(qe);let kn=(wn?round$4(hn.width):hn.width)/vn,_n=(wn?round$4(hn.height):hn.height)/bn;return(!kn||!Number.isFinite(kn))&&(kn=1),(!_n||!Number.isFinite(_n))&&(_n=1),{x:kn,y:_n}}const noOffsets=createCoords(0);function getVisualOffsets(Fe){const qe=getWindow(Fe);return!isWebKit()||!qe.visualViewport?noOffsets:{x:qe.visualViewport.offsetLeft,y:qe.visualViewport.offsetTop}}function shouldAddVisualOffsets(Fe,qe,hn){return qe===void 0&&(qe=!1),!hn||qe&&hn!==getWindow(Fe)?!1:qe}function getBoundingClientRect$1(Fe,qe,hn,vn){qe===void 0&&(qe=!1),hn===void 0&&(hn=!1);const bn=Fe.getBoundingClientRect(),wn=unwrapElement(Fe);let kn=createCoords(1);qe&&(vn?isElement$3(vn)&&(kn=getScale(vn)):kn=getScale(Fe));const _n=shouldAddVisualOffsets(wn,hn,vn)?getVisualOffsets(wn):createCoords(0);let Cn=(bn.left+_n.x)/kn.x,xn=(bn.top+_n.y)/kn.y,En=bn.width/kn.x,$n=bn.height/kn.y;if(wn){const Sn=getWindow(wn),An=vn&&isElement$3(vn)?getWindow(vn):vn;let Tn=Sn.frameElement;for(;Tn&&vn&&An!==Sn;){const Nn=getScale(Tn),Pn=Tn.getBoundingClientRect(),On=getComputedStyle$1(Tn),Rn=Pn.left+(Tn.clientLeft+parseFloat(On.paddingLeft))*Nn.x,In=Pn.top+(Tn.clientTop+parseFloat(On.paddingTop))*Nn.y;Cn*=Nn.x,xn*=Nn.y,En*=Nn.x,$n*=Nn.y,Cn+=Rn,xn+=In,Tn=getWindow(Tn).frameElement}}return rectToClientRect({width:En,height:$n,x:Cn,y:xn})}function convertOffsetParentRelativeRectToViewportRelativeRect(Fe){let{rect:qe,offsetParent:hn,strategy:vn}=Fe;const bn=isHTMLElement$1(hn),wn=getDocumentElement(hn);if(hn===wn)return qe;let kn={scrollLeft:0,scrollTop:0},_n=createCoords(1);const Cn=createCoords(0);if((bn||!bn&&vn!=="fixed")&&((getNodeName(hn)!=="body"||isOverflowElement(wn))&&(kn=getNodeScroll(hn)),isHTMLElement$1(hn))){const xn=getBoundingClientRect$1(hn);_n=getScale(hn),Cn.x=xn.x+hn.clientLeft,Cn.y=xn.y+hn.clientTop}return{width:qe.width*_n.x,height:qe.height*_n.y,x:qe.x*_n.x-kn.scrollLeft*_n.x+Cn.x,y:qe.y*_n.y-kn.scrollTop*_n.y+Cn.y}}function getClientRects(Fe){return Array.from(Fe.getClientRects())}function getWindowScrollBarX(Fe){return getBoundingClientRect$1(getDocumentElement(Fe)).left+getNodeScroll(Fe).scrollLeft}function getDocumentRect(Fe){const qe=getDocumentElement(Fe),hn=getNodeScroll(Fe),vn=Fe.ownerDocument.body,bn=max$4(qe.scrollWidth,qe.clientWidth,vn.scrollWidth,vn.clientWidth),wn=max$4(qe.scrollHeight,qe.clientHeight,vn.scrollHeight,vn.clientHeight);let kn=-hn.scrollLeft+getWindowScrollBarX(Fe);const _n=-hn.scrollTop;return getComputedStyle$1(vn).direction==="rtl"&&(kn+=max$4(qe.clientWidth,vn.clientWidth)-bn),{width:bn,height:wn,x:kn,y:_n}}function getViewportRect(Fe,qe){const hn=getWindow(Fe),vn=getDocumentElement(Fe),bn=hn.visualViewport;let wn=vn.clientWidth,kn=vn.clientHeight,_n=0,Cn=0;if(bn){wn=bn.width,kn=bn.height;const xn=isWebKit();(!xn||xn&&qe==="fixed")&&(_n=bn.offsetLeft,Cn=bn.offsetTop)}return{width:wn,height:kn,x:_n,y:Cn}}function getInnerBoundingClientRect(Fe,qe){const hn=getBoundingClientRect$1(Fe,!0,qe==="fixed"),vn=hn.top+Fe.clientTop,bn=hn.left+Fe.clientLeft,wn=isHTMLElement$1(Fe)?getScale(Fe):createCoords(1),kn=Fe.clientWidth*wn.x,_n=Fe.clientHeight*wn.y,Cn=bn*wn.x,xn=vn*wn.y;return{width:kn,height:_n,x:Cn,y:xn}}function getClientRectFromClippingAncestor(Fe,qe,hn){let vn;if(qe==="viewport")vn=getViewportRect(Fe,hn);else if(qe==="document")vn=getDocumentRect(getDocumentElement(Fe));else if(isElement$3(qe))vn=getInnerBoundingClientRect(qe,hn);else{const bn=getVisualOffsets(Fe);vn={...qe,x:qe.x-bn.x,y:qe.y-bn.y}}return rectToClientRect(vn)}function hasFixedPositionAncestor(Fe,qe){const hn=getParentNode(Fe);return hn===qe||!isElement$3(hn)||isLastTraversableNode(hn)?!1:getComputedStyle$1(hn).position==="fixed"||hasFixedPositionAncestor(hn,qe)}function getClippingElementAncestors(Fe,qe){const hn=qe.get(Fe);if(hn)return hn;let vn=getOverflowAncestors(Fe,[],!1).filter(_n=>isElement$3(_n)&&getNodeName(_n)!=="body"),bn=null;const wn=getComputedStyle$1(Fe).position==="fixed";let kn=wn?getParentNode(Fe):Fe;for(;isElement$3(kn)&&!isLastTraversableNode(kn);){const _n=getComputedStyle$1(kn),Cn=isContainingBlock(kn);!Cn&&_n.position==="fixed"&&(bn=null),(wn?!Cn&&!bn:!Cn&&_n.position==="static"&&!!bn&&["absolute","fixed"].includes(bn.position)||isOverflowElement(kn)&&!Cn&&hasFixedPositionAncestor(Fe,kn))?vn=vn.filter(En=>En!==kn):bn=_n,kn=getParentNode(kn)}return qe.set(Fe,vn),vn}function getClippingRect(Fe){let{element:qe,boundary:hn,rootBoundary:vn,strategy:bn}=Fe;const kn=[...hn==="clippingAncestors"?getClippingElementAncestors(qe,this._c):[].concat(hn),vn],_n=kn[0],Cn=kn.reduce((xn,En)=>{const $n=getClientRectFromClippingAncestor(qe,En,bn);return xn.top=max$4($n.top,xn.top),xn.right=min$3($n.right,xn.right),xn.bottom=min$3($n.bottom,xn.bottom),xn.left=max$4($n.left,xn.left),xn},getClientRectFromClippingAncestor(qe,_n,bn));return{width:Cn.right-Cn.left,height:Cn.bottom-Cn.top,x:Cn.left,y:Cn.top}}function getDimensions(Fe){return getCssDimensions(Fe)}function getRectRelativeToOffsetParent(Fe,qe,hn){const vn=isHTMLElement$1(qe),bn=getDocumentElement(qe),wn=hn==="fixed",kn=getBoundingClientRect$1(Fe,!0,wn,qe);let _n={scrollLeft:0,scrollTop:0};const Cn=createCoords(0);if(vn||!vn&&!wn)if((getNodeName(qe)!=="body"||isOverflowElement(bn))&&(_n=getNodeScroll(qe)),vn){const xn=getBoundingClientRect$1(qe,!0,wn,qe);Cn.x=xn.x+qe.clientLeft,Cn.y=xn.y+qe.clientTop}else bn&&(Cn.x=getWindowScrollBarX(bn));return{x:kn.left+_n.scrollLeft-Cn.x,y:kn.top+_n.scrollTop-Cn.y,width:kn.width,height:kn.height}}function getTrueOffsetParent(Fe,qe){return!isHTMLElement$1(Fe)||getComputedStyle$1(Fe).position==="fixed"?null:qe?qe(Fe):Fe.offsetParent}function getOffsetParent(Fe,qe){const hn=getWindow(Fe);if(!isHTMLElement$1(Fe))return hn;let vn=getTrueOffsetParent(Fe,qe);for(;vn&&isTableElement(vn)&&getComputedStyle$1(vn).position==="static";)vn=getTrueOffsetParent(vn,qe);return vn&&(getNodeName(vn)==="html"||getNodeName(vn)==="body"&&getComputedStyle$1(vn).position==="static"&&!isContainingBlock(vn))?hn:vn||getContainingBlock(Fe)||hn}const getElementRects=async function(Fe){let{reference:qe,floating:hn,strategy:vn}=Fe;const bn=this.getOffsetParent||getOffsetParent,wn=this.getDimensions;return{reference:getRectRelativeToOffsetParent(qe,await bn(hn),vn),floating:{x:0,y:0,...await wn(hn)}}};function isRTL$1(Fe){return getComputedStyle$1(Fe).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$3,isRTL:isRTL$1},computePosition=(Fe,qe,hn)=>{const vn=new Map,bn={platform:platform$2,...hn},wn={...bn.platform,_c:vn};return computePosition$1(Fe,qe,{...bn,platform:wn})};buildProps({});const unrefReference=Fe=>{if(!isClient$1)return;if(!Fe)return Fe;const qe=unrefElement(Fe);return qe||(isRef(Fe)?qe:Fe)},useFloating=({middleware:Fe,placement:qe,strategy:hn})=>{const vn=ref(),bn=ref(),wn=ref(),kn=ref(),_n=ref({}),Cn={x:wn,y:kn,placement:qe,strategy:hn,middlewareData:_n},xn=async()=>{if(!isClient$1)return;const En=unrefReference(vn),$n=unrefElement(bn);if(!En||!$n)return;const Sn=await computePosition(En,$n,{placement:unref(qe),strategy:unref(hn),middleware:unref(Fe)});keysOf(Cn).forEach(An=>{Cn[An].value=Sn[An]})};return onMounted(()=>{watchEffect(()=>{xn()})}),{...Cn,update:xn,referenceRef:vn,contentRef:bn}},arrowMiddleware=({arrowRef:Fe,padding:qe})=>({name:"arrow",options:{element:Fe,padding:qe},fn(hn){const vn=unref(Fe);return vn?arrow({element:vn,padding:qe}).fn(hn):{}}});function useCursor(Fe){const qe=ref();function hn(){if(Fe.value==null)return;const{selectionStart:bn,selectionEnd:wn,value:kn}=Fe.value;if(bn==null||wn==null)return;const _n=kn.slice(0,Math.max(0,bn)),Cn=kn.slice(Math.max(0,wn));qe.value={selectionStart:bn,selectionEnd:wn,value:kn,beforeTxt:_n,afterTxt:Cn}}function vn(){if(Fe.value==null||qe.value==null)return;const{value:bn}=Fe.value,{beforeTxt:wn,afterTxt:kn,selectionStart:_n}=qe.value;if(wn==null||kn==null||_n==null)return;let Cn=bn.length;if(bn.endsWith(kn))Cn=bn.length-kn.length;else if(bn.startsWith(wn))Cn=wn.length;else{const xn=wn[_n-1],En=bn.indexOf(xn,_n-1);En!==-1&&(Cn=En+1)}Fe.value.setSelectionRange(Cn,Cn)}return[hn,vn]}const getOrderedChildren=(Fe,qe,hn)=>flattedChildren(Fe.subTree).filter(wn=>{var kn;return isVNode(wn)&&((kn=wn.type)==null?void 0:kn.name)===qe&&!!wn.component}).map(wn=>wn.component.uid).map(wn=>hn[wn]).filter(wn=>!!wn),useOrderedChildren=(Fe,qe)=>{const hn={},vn=shallowRef([]);return{children:vn,addChild:kn=>{hn[kn.uid]=kn,vn.value=getOrderedChildren(Fe,qe,hn)},removeChild:kn=>{delete hn[kn],vn.value=vn.value.filter(_n=>_n.uid!==kn)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const Fe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(Fe.size)||"")};function useFocusController(Fe,{afterFocus:qe,beforeBlur:hn,afterBlur:vn}={}){const bn=getCurrentInstance(),{emit:wn}=bn,kn=shallowRef(),_n=ref(!1),Cn=$n=>{_n.value||(_n.value=!0,wn("focus",$n),qe==null||qe())},xn=$n=>{var Sn;isFunction$i(hn)&&hn($n)||$n.relatedTarget&&((Sn=kn.value)!=null&&Sn.contains($n.relatedTarget))||(_n.value=!1,wn("blur",$n),vn==null||vn())},En=()=>{var $n;($n=Fe.value)==null||$n.focus()};return watch(kn,$n=>{$n&&$n.setAttribute("tabindex","-1")}),useEventListener(kn,"click",En),{wrapperRef:kn,isFocused:_n,handleFocus:Cn,handleBlur:xn}}const configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(Fe,qe=void 0){const hn=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return Fe?computed(()=>{var vn,bn;return(bn=(vn=hn.value)==null?void 0:vn[Fe])!=null?bn:qe}):hn}function useGlobalComponentSettings(Fe,qe){const hn=useGlobalConfig(),vn=useNamespace(Fe,computed(()=>{var _n;return((_n=hn.value)==null?void 0:_n.namespace)||defaultNamespace})),bn=useLocale(computed(()=>{var _n;return(_n=hn.value)==null?void 0:_n.locale})),wn=useZIndex(computed(()=>{var _n;return((_n=hn.value)==null?void 0:_n.zIndex)||defaultInitialZIndex})),kn=computed(()=>{var _n;return unref(qe)||((_n=hn.value)==null?void 0:_n.size)||""});return provideGlobalConfig(computed(()=>unref(hn)||{})),{ns:vn,locale:bn,zIndex:wn,size:kn}}const provideGlobalConfig=(Fe,qe,hn=!1)=>{var vn;const bn=!!getCurrentInstance(),wn=bn?useGlobalConfig():void 0,kn=(vn=qe==null?void 0:qe.provide)!=null?vn:bn?provide:void 0;if(!kn)return;const _n=computed(()=>{const Cn=unref(Fe);return wn!=null&&wn.value?mergeConfig$1(wn.value,Cn):Cn});return kn(configProviderContextKey,_n),kn(localeContextKey,computed(()=>_n.value.locale)),kn(namespaceContextKey,computed(()=>_n.value.namespace)),kn(zIndexContextKey,computed(()=>_n.value.zIndex)),kn(SIZE_INJECTION_KEY,{size:computed(()=>_n.value.size||"")}),(hn||!globalConfig.value)&&(globalConfig.value=_n.value),_n},mergeConfig$1=(Fe,qe)=>{var hn;const vn=[...new Set([...keysOf(Fe),...keysOf(qe)])],bn={};for(const wn of vn)bn[wn]=(hn=qe[wn])!=null?hn:Fe[wn];return bn},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(Fe,{slots:qe}){watch(()=>Fe.message,vn=>{Object.assign(messageConfig,vn??{})},{immediate:!0,deep:!0});const hn=provideGlobalConfig(Fe);return()=>renderSlot(qe,"default",{config:hn==null?void 0:hn.value})}}),ElConfigProvider=withInstall$1(ConfigProvider),version="2.4.3",makeInstaller=(Fe=[])=>({version,install:(hn,vn)=>{hn[INSTALLED_KEY]||(hn[INSTALLED_KEY]=!0,Fe.forEach(bn=>hn.use(bn)),vn&&provideGlobalConfig(vn,hn,!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:Fe,fixed:qe})=>isNumber$d(Fe)&&isBoolean$5(qe),[CHANGE_EVENT]:Fe=>isBoolean$5(Fe)};var _export_sfc$2=(Fe,qe)=>{const hn=Fe.__vccOpts||Fe;for(const[vn,bn]of qe)hn[vn]=bn;return hn};const COMPONENT_NAME$n="ElAffix",__default__$1D=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2v=defineComponent({...__default__$1D,props:affixProps,emits:affixEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useNamespace("affix"),wn=shallowRef(),kn=shallowRef(),_n=shallowRef(),{height:Cn}=useWindowSize(),{height:xn,width:En,top:$n,bottom:Sn,update:An}=useElementBounding(kn,{windowScroll:!1}),Tn=useElementBounding(wn),Nn=ref(!1),Pn=ref(0),On=ref(0),Rn=computed(()=>({height:Nn.value?`${xn.value}px`:"",width:Nn.value?`${En.value}px`:""})),In=computed(()=>{if(!Nn.value)return{};const Dn=vn.offset?addUnit(vn.offset):0;return{height:`${xn.value}px`,width:`${En.value}px`,top:vn.position==="top"?Dn:"",bottom:vn.position==="bottom"?Dn:"",transform:On.value?`translateY(${On.value}px)`:"",zIndex:vn.zIndex}}),Mn=()=>{if(_n.value)if(Pn.value=_n.value instanceof Window?document.documentElement.scrollTop:_n.value.scrollTop||0,vn.position==="top")if(vn.target){const Dn=Tn.bottom.value-vn.offset-xn.value;Nn.value=vn.offset>$n.value&&Tn.bottom.value>0,On.value=Dn<0?Dn:0}else Nn.value=vn.offset>$n.value;else if(vn.target){const Dn=Cn.value-Tn.top.value-vn.offset-xn.value;Nn.value=Cn.value-vn.offsetTn.top.value,On.value=Dn<0?-Dn:0}else Nn.value=Cn.value-vn.offset{An(),hn("scroll",{scrollTop:Pn.value,fixed:Nn.value})};return watch(Nn,Dn=>hn("change",Dn)),onMounted(()=>{var Dn;vn.target?(wn.value=(Dn=document.querySelector(vn.target))!=null?Dn:void 0,wn.value||throwError(COMPONENT_NAME$n,`Target is not existed: ${vn.target}`)):wn.value=document.documentElement,_n.value=getScrollContainer(kn.value,!0),An()}),useEventListener(_n,"scroll",Bn),watchEffect(Mn),qe({update:Mn,updateRoot:An}),(Dn,Vn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:kn,class:normalizeClass(unref(bn).b()),style:normalizeStyle(unref(Rn))},[createBaseVNode("div",{class:normalizeClass({[unref(bn).m("fixed")]:Nn.value}),style:normalizeStyle(unref(In))},[renderSlot(Dn.$slots,"default")],6)],6))}});var Affix=_export_sfc$2(_sfc_main$2v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall$1(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1C=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2u=defineComponent({...__default__$1C,props:iconProps,setup(Fe){const qe=Fe,hn=useNamespace("icon"),vn=computed(()=>{const{size:bn,color:wn}=qe;return!bn&&!wn?{}:{fontSize:isUndefined$d(bn)?void 0:addUnit(bn),"--color":wn}});return(bn,wn)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(hn).b(),style:unref(vn)},bn.$attrs),[renderSlot(bn.$slots,"default")],16))}});var Icon$3=_export_sfc$2(_sfc_main$2u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall$1(Icon$3),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:Fe=>Fe instanceof MouseEvent},__default__$1B=defineComponent({name:"ElAlert"}),_sfc_main$2t=defineComponent({...__default__$1B,props:alertProps,emits:alertEmits,setup(Fe,{emit:qe}){const hn=Fe,{Close:vn}=TypeComponents,bn=useSlots(),wn=useNamespace("alert"),kn=ref(!0),_n=computed(()=>TypeComponentsMap[hn.type]),Cn=computed(()=>[wn.e("icon"),{[wn.is("big")]:!!hn.description||!!bn.default}]),xn=computed(()=>({[wn.is("bold")]:hn.description||bn.default})),En=$n=>{kn.value=!1,qe("close",$n)};return($n,Sn)=>(openBlock(),createBlock(Transition,{name:unref(wn).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(wn).b(),unref(wn).m($n.type),unref(wn).is("center",$n.center),unref(wn).is($n.effect)]),role:"alert"},[$n.showIcon&&unref(_n)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Cn))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_n))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).e("content"))},[$n.title||$n.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(wn).e("title"),unref(xn)])},[renderSlot($n.$slots,"title",{},()=>[createTextVNode(toDisplayString($n.title),1)])],2)):createCommentVNode("v-if",!0),$n.$slots.default||$n.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(wn).e("description"))},[renderSlot($n.$slots,"default",{},()=>[createTextVNode(toDisplayString($n.description),1)])],2)):createCommentVNode("v-if",!0),$n.closable?(openBlock(),createElementBlock(Fragment,{key:2},[$n.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(wn).e("close-btn"),unref(wn).is("customed")]),onClick:En},toDisplayString($n.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(wn).e("close-btn")),onClick:En},{default:withCtx(()=>[createVNode(unref(vn))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,kn.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$2(_sfc_main$2t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall$1(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(Fe,qe={})=>{const hn=ref(void 0),vn=qe.prop?hn:useProp("size"),bn=qe.global?hn:useGlobalSize(),wn=qe.form?{size:void 0}:inject(formContextKey,void 0),kn=qe.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>vn.value||unref(Fe)||(kn==null?void 0:kn.size)||(wn==null?void 0:wn.size)||bn.value||"")},useFormDisabled=Fe=>{const qe=useProp("disabled"),hn=inject(formContextKey,void 0);return computed(()=>qe.value||unref(Fe)||(hn==null?void 0:hn.disabled)||!1)},useFormItem=()=>{const Fe=inject(formContextKey,void 0),qe=inject(formItemContextKey,void 0);return{form:Fe,formItem:qe}},useFormItemInputId=(Fe,{formItemContext:qe,disableIdGeneration:hn,disableIdManagement:vn})=>{hn||(hn=ref(!1)),vn||(vn=ref(!1));const bn=ref();let wn;const kn=computed(()=>{var _n;return!!(!Fe.label&&qe&&qe.inputIds&&((_n=qe.inputIds)==null?void 0:_n.length)<=1)});return onMounted(()=>{wn=watch([toRef(Fe,"id"),hn],([_n,Cn])=>{const xn=_n??(Cn?void 0:useId().value);xn!==bn.value&&(qe!=null&&qe.removeInputId&&(bn.value&&qe.removeInputId(bn.value),!(vn!=null&&vn.value)&&!Cn&&xn&&qe.addInputId(xn)),bn.value=xn)},{immediate:!0})}),onUnmounted(()=>{wn&&wn(),qe!=null&&qe.removeInputId&&bn.value&&qe.removeInputId(bn.value)}),{isLabeledByFormItem:kn,inputId:bn}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(Fe,qe,hn)=>(isArray$x(Fe)||isString$d(Fe))&&isBoolean$5(qe)&&isString$d(hn)};function useFormLabelWidth(){const Fe=ref([]),qe=computed(()=>{if(!Fe.value.length)return"0";const wn=Math.max(...Fe.value);return wn?`${wn}px`:""});function hn(wn){const kn=Fe.value.indexOf(wn);return kn===-1&&qe.value,kn}function vn(wn,kn){if(wn&&kn){const _n=hn(kn);Fe.value.splice(_n,1,wn)}else wn&&Fe.value.push(wn)}function bn(wn){const kn=hn(wn);kn>-1&&Fe.value.splice(kn,1)}return{autoLabelWidth:qe,registerLabelWidth:vn,deregisterLabelWidth:bn}}const filterFields=(Fe,qe)=>{const hn=castArray$1(qe);return hn.length>0?Fe.filter(vn=>vn.prop&&hn.includes(vn.prop)):Fe},COMPONENT_NAME$m="ElForm",__default__$1A=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2s=defineComponent({...__default__$1A,props:formProps,emits:formEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=[],wn=useFormSize(),kn=useNamespace("form"),_n=computed(()=>{const{labelPosition:Rn,inline:In}=vn;return[kn.b(),kn.m(wn.value||"default"),{[kn.m(`label-${Rn}`)]:Rn,[kn.m("inline")]:In}]}),Cn=Rn=>{bn.push(Rn)},xn=Rn=>{Rn.prop&&bn.splice(bn.indexOf(Rn),1)},En=(Rn=[])=>{vn.model&&filterFields(bn,Rn).forEach(In=>In.resetField())},$n=(Rn=[])=>{filterFields(bn,Rn).forEach(In=>In.clearValidate())},Sn=computed(()=>!!vn.model),An=Rn=>{if(bn.length===0)return[];const In=filterFields(bn,Rn);return In.length?In:[]},Tn=async Rn=>Pn(void 0,Rn),Nn=async(Rn=[])=>{if(!Sn.value)return!1;const In=An(Rn);if(In.length===0)return!0;let Mn={};for(const Bn of In)try{await Bn.validate("")}catch(Dn){Mn={...Mn,...Dn}}return Object.keys(Mn).length===0?!0:Promise.reject(Mn)},Pn=async(Rn=[],In)=>{const Mn=!isFunction$i(In);try{const Bn=await Nn(Rn);return Bn===!0&&(In==null||In(Bn)),Bn}catch(Bn){if(Bn instanceof Error)throw Bn;const Dn=Bn;return vn.scrollToError&&On(Object.keys(Dn)[0]),In==null||In(!1,Dn),Mn&&Promise.reject(Dn)}},On=Rn=>{var In;const Mn=filterFields(bn,Rn)[0];Mn&&((In=Mn.$el)==null||In.scrollIntoView(vn.scrollIntoViewOptions))};return watch(()=>vn.rules,()=>{vn.validateOnRuleChange&&Tn().catch(Rn=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(vn),emit:hn,resetFields:En,clearValidate:$n,validateField:Pn,addField:Cn,removeField:xn,...useFormLabelWidth()})),qe({validate:Tn,validateField:Pn,resetFields:En,clearValidate:$n,scrollToField:On}),(Rn,In)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(_n))},[renderSlot(Rn.$slots,"default")],2))}});var Form$1=_export_sfc$2(_sfc_main$2s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]),define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(Fe){for(var qe=1;qe"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(Fe,qe,hn){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(bn,wn,kn){var _n=[null];_n.push.apply(_n,wn);var Cn=Function.bind.apply(bn,_n),xn=new Cn;return kn&&_setPrototypeOf(xn,kn.prototype),xn},_construct.apply(null,arguments)}function _isNativeFunction(Fe){return Function.toString.call(Fe).indexOf("[native code]")!==-1}function _wrapNativeSuper(Fe){var qe=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(vn){if(vn===null||!_isNativeFunction(vn))return vn;if(typeof vn!="function")throw new TypeError("Super expression must either be null or a function");if(typeof qe<"u"){if(qe.has(vn))return qe.get(vn);qe.set(vn,bn)}function bn(){return _construct(vn,arguments,_getPrototypeOf(this).constructor)}return bn.prototype=Object.create(vn.prototype,{constructor:{value:bn,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(bn,vn)},_wrapNativeSuper(Fe)}var formatRegExp=/%[sdj%]/g,warning$1=function(){};typeof process<"u";function convertFieldsError(Fe){if(!Fe||!Fe.length)return null;var qe={};return Fe.forEach(function(hn){var vn=hn.field;qe[vn]=qe[vn]||[],qe[vn].push(hn)}),qe}function format(Fe){for(var qe=arguments.length,hn=new Array(qe>1?qe-1:0),vn=1;vn=wn)return _n;switch(_n){case"%s":return String(hn[bn++]);case"%d":return Number(hn[bn++]);case"%j":try{return JSON.stringify(hn[bn++])}catch{return"[Circular]"}break;default:return _n}});return kn}return Fe}function isNativeStringType(Fe){return Fe==="string"||Fe==="url"||Fe==="hex"||Fe==="email"||Fe==="date"||Fe==="pattern"}function isEmptyValue$1(Fe,qe){return!!(Fe==null||qe==="array"&&Array.isArray(Fe)&&!Fe.length||isNativeStringType(qe)&&typeof Fe=="string"&&!Fe)}function asyncParallelArray(Fe,qe,hn){var vn=[],bn=0,wn=Fe.length;function kn(_n){vn.push.apply(vn,_n||[]),bn++,bn===wn&&hn(vn)}Fe.forEach(function(_n){qe(_n,kn)})}function asyncSerialArray(Fe,qe,hn){var vn=0,bn=Fe.length;function wn(kn){if(kn&&kn.length){hn(kn);return}var _n=vn;vn=vn+1,_n()\[\]\\.,;:\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(qe){return types.number(qe)&&parseInt(qe,10)===qe},float:function(qe){return types.number(qe)&&!types.integer(qe)},array:function(qe){return Array.isArray(qe)},regexp:function(qe){if(qe instanceof RegExp)return!0;try{return!!new RegExp(qe)}catch{return!1}},date:function(qe){return typeof qe.getTime=="function"&&typeof qe.getMonth=="function"&&typeof qe.getYear=="function"&&!isNaN(qe.getTime())},number:function(qe){return isNaN(qe)?!1:typeof qe=="number"},object:function(qe){return typeof qe=="object"&&!types.array(qe)},method:function(qe){return typeof qe=="function"},email:function(qe){return typeof qe=="string"&&qe.length<=320&&!!qe.match(pattern$2.email)},url:function(qe){return typeof qe=="string"&&qe.length<=2048&&!!qe.match(getUrlRegex())},hex:function(qe){return typeof qe=="string"&&!!qe.match(pattern$2.hex)}},type$1=function(qe,hn,vn,bn,wn){if(qe.required&&hn===void 0){required$1(qe,hn,vn,bn,wn);return}var kn=["integer","float","array","regexp","object","method","email","number","date","url","hex"],_n=qe.type;kn.indexOf(_n)>-1?types[_n](hn)||bn.push(format(wn.messages.types[_n],qe.fullField,qe.type)):_n&&typeof hn!==qe.type&&bn.push(format(wn.messages.types[_n],qe.fullField,qe.type))},range$2=function(qe,hn,vn,bn,wn){var kn=typeof qe.len=="number",_n=typeof qe.min=="number",Cn=typeof qe.max=="number",xn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,En=hn,$n=null,Sn=typeof hn=="number",An=typeof hn=="string",Tn=Array.isArray(hn);if(Sn?$n="number":An?$n="string":Tn&&($n="array"),!$n)return!1;Tn&&(En=hn.length),An&&(En=hn.replace(xn,"_").length),kn?En!==qe.len&&bn.push(format(wn.messages[$n].len,qe.fullField,qe.len)):_n&&!Cn&&Enqe.max?bn.push(format(wn.messages[$n].max,qe.fullField,qe.max)):_n&&Cn&&(Enqe.max)&&bn.push(format(wn.messages[$n].range,qe.fullField,qe.min,qe.max))},ENUM$1="enum",enumerable$1=function(qe,hn,vn,bn,wn){qe[ENUM$1]=Array.isArray(qe[ENUM$1])?qe[ENUM$1]:[],qe[ENUM$1].indexOf(hn)===-1&&bn.push(format(wn.messages[ENUM$1],qe.fullField,qe[ENUM$1].join(", ")))},pattern$1=function(qe,hn,vn,bn,wn){if(qe.pattern){if(qe.pattern instanceof RegExp)qe.pattern.lastIndex=0,qe.pattern.test(hn)||bn.push(format(wn.messages.pattern.mismatch,qe.fullField,hn,qe.pattern));else if(typeof qe.pattern=="string"){var kn=new RegExp(qe.pattern);kn.test(hn)||bn.push(format(wn.messages.pattern.mismatch,qe.fullField,hn,qe.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$2,enum:enumerable$1,pattern:pattern$1},string=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn,"string")&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn,"string"),isEmptyValue$1(hn,"string")||(rules.type(qe,hn,bn,kn,wn),rules.range(qe,hn,bn,kn,wn),rules.pattern(qe,hn,bn,kn,wn),qe.whitespace===!0&&rules.whitespace(qe,hn,bn,kn,wn))}vn(kn)},method2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&rules.type(qe,hn,bn,kn,wn)}vn(kn)},number2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(hn===""&&(hn=void 0),isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&(rules.type(qe,hn,bn,kn,wn),rules.range(qe,hn,bn,kn,wn))}vn(kn)},_boolean=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&rules.type(qe,hn,bn,kn,wn)}vn(kn)},regexp2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),isEmptyValue$1(hn)||rules.type(qe,hn,bn,kn,wn)}vn(kn)},integer2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&(rules.type(qe,hn,bn,kn,wn),rules.range(qe,hn,bn,kn,wn))}vn(kn)},floatFn=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&(rules.type(qe,hn,bn,kn,wn),rules.range(qe,hn,bn,kn,wn))}vn(kn)},array2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(hn==null&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn,"array"),hn!=null&&(rules.type(qe,hn,bn,kn,wn),rules.range(qe,hn,bn,kn,wn))}vn(kn)},object2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&rules.type(qe,hn,bn,kn,wn)}vn(kn)},ENUM="enum",enumerable2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),hn!==void 0&&rules[ENUM](qe,hn,bn,kn,wn)}vn(kn)},pattern2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn,"string")&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn),isEmptyValue$1(hn,"string")||rules.pattern(qe,hn,bn,kn,wn)}vn(kn)},date2=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn,"date")&&!qe.required)return vn();if(rules.required(qe,hn,bn,kn,wn),!isEmptyValue$1(hn,"date")){var Cn;hn instanceof Date?Cn=hn:Cn=new Date(hn),rules.type(qe,Cn,bn,kn,wn),Cn&&rules.range(qe,Cn.getTime(),bn,kn,wn)}}vn(kn)},required2=function(qe,hn,vn,bn,wn){var kn=[],_n=Array.isArray(hn)?"array":typeof hn;rules.required(qe,hn,bn,kn,wn,_n),vn(kn)},type2=function(qe,hn,vn,bn,wn){var kn=qe.type,_n=[],Cn=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(Cn){if(isEmptyValue$1(hn,kn)&&!qe.required)return vn();rules.required(qe,hn,bn,_n,wn,kn),isEmptyValue$1(hn,kn)||rules.type(qe,hn,bn,_n,wn)}vn(_n)},any=function(qe,hn,vn,bn,wn){var kn=[],_n=qe.required||!qe.required&&bn.hasOwnProperty(qe.field);if(_n){if(isEmptyValue$1(hn)&&!qe.required)return vn();rules.required(qe,hn,bn,kn,wn)}vn(kn)},validators$3={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};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 qe=JSON.parse(JSON.stringify(this));return qe.clone=this.clone,qe}}}var messages=newMessages(),Schema=function(){function Fe(hn){this.rules=null,this._messages=messages,this.define(hn)}var qe=Fe.prototype;return qe.define=function(vn){var bn=this;if(!vn)throw new Error("Cannot configure a schema with no rules");if(typeof vn!="object"||Array.isArray(vn))throw new Error("Rules must be an object");this.rules={},Object.keys(vn).forEach(function(wn){var kn=vn[wn];bn.rules[wn]=Array.isArray(kn)?kn:[kn]})},qe.messages=function(vn){return vn&&(this._messages=deepMerge(newMessages(),vn)),this._messages},qe.validate=function(vn,bn,wn){var kn=this;bn===void 0&&(bn={}),wn===void 0&&(wn=function(){});var _n=vn,Cn=bn,xn=wn;if(typeof Cn=="function"&&(xn=Cn,Cn={}),!this.rules||Object.keys(this.rules).length===0)return xn&&xn(null,_n),Promise.resolve(_n);function En(Nn){var Pn=[],On={};function Rn(Mn){if(Array.isArray(Mn)){var Bn;Pn=(Bn=Pn).concat.apply(Bn,Mn)}else Pn.push(Mn)}for(var In=0;In");const bn=useNamespace("form"),wn=ref(),kn=ref(0),_n=()=>{var En;if((En=wn.value)!=null&&En.firstElementChild){const $n=window.getComputedStyle(wn.value.firstElementChild).width;return Math.ceil(Number.parseFloat($n))}else return 0},Cn=(En="update")=>{nextTick(()=>{qe.default&&Fe.isAutoWidth&&(En==="update"?kn.value=_n():En==="remove"&&(hn==null||hn.deregisterLabelWidth(kn.value)))})},xn=()=>Cn("update");return onMounted(()=>{xn()}),onBeforeUnmount(()=>{Cn("remove")}),onUpdated(()=>xn()),watch(kn,(En,$n)=>{Fe.updateAll&&(hn==null||hn.registerLabelWidth(En,$n))}),useResizeObserver(computed(()=>{var En,$n;return($n=(En=wn.value)==null?void 0:En.firstElementChild)!=null?$n:null}),xn),()=>{var En,$n;if(!qe)return null;const{isAutoWidth:Sn}=Fe;if(Sn){const An=hn==null?void 0:hn.autoLabelWidth,Tn=vn==null?void 0:vn.hasLabel,Nn={};if(Tn&&An&&An!=="auto"){const Pn=Math.max(0,Number.parseInt(An,10)-kn.value),On=hn.labelPosition==="left"?"marginRight":"marginLeft";Pn&&(Nn[On]=`${Pn}px`)}return createVNode("div",{ref:wn,class:[bn.be("item","label-wrap")],style:Nn},[(En=qe.default)==null?void 0:En.call(qe)])}else return createVNode(Fragment,{ref:wn},[($n=qe.default)==null?void 0:$n.call(qe)])}}});const _hoisted_1$1d=["role","aria-labelledby"],__default__$1z=defineComponent({name:"ElFormItem"}),_sfc_main$2r=defineComponent({...__default__$1z,props:formItemProps$1,setup(Fe,{expose:qe}){const hn=Fe,vn=useSlots(),bn=inject(formContextKey,void 0),wn=inject(formItemContextKey,void 0),kn=useFormSize(void 0,{formItem:!1}),_n=useNamespace("form-item"),Cn=useId().value,xn=ref([]),En=ref(""),$n=refDebounced(En,100),Sn=ref(""),An=ref();let Tn,Nn=!1;const Pn=computed(()=>{if((bn==null?void 0:bn.labelPosition)==="top")return{};const io=addUnit(hn.labelWidth||(bn==null?void 0:bn.labelWidth)||"");return io?{width:io}:{}}),On=computed(()=>{if((bn==null?void 0:bn.labelPosition)==="top"||bn!=null&&bn.inline)return{};if(!hn.label&&!hn.labelWidth&&zn)return{};const io=addUnit(hn.labelWidth||(bn==null?void 0:bn.labelWidth)||"");return!hn.label&&!vn.label?{marginLeft:io}:{}}),Rn=computed(()=>[_n.b(),_n.m(kn.value),_n.is("error",En.value==="error"),_n.is("validating",En.value==="validating"),_n.is("success",En.value==="success"),_n.is("required",Gn.value||hn.required),_n.is("no-asterisk",bn==null?void 0:bn.hideRequiredAsterisk),(bn==null?void 0:bn.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[_n.m("feedback")]:bn==null?void 0:bn.statusIcon}]),In=computed(()=>isBoolean$5(hn.inlineMessage)?hn.inlineMessage:(bn==null?void 0:bn.inlineMessage)||!1),Mn=computed(()=>[_n.e("error"),{[_n.em("error","inline")]:In.value}]),Bn=computed(()=>hn.prop?isString$d(hn.prop)?hn.prop:hn.prop.join("."):""),Dn=computed(()=>!!(hn.label||vn.label)),Vn=computed(()=>hn.for||(xn.value.length===1?xn.value[0]:void 0)),Ln=computed(()=>!Vn.value&&Dn.value),zn=!!wn,Hn=computed(()=>{const io=bn==null?void 0:bn.model;if(!(!io||!hn.prop))return getProp(io,hn.prop).value}),Fn=computed(()=>{const{required:io}=hn,ao=[];hn.rules&&ao.push(...castArray$1(hn.rules));const go=bn==null?void 0:bn.rules;if(go&&hn.prop){const yo=getProp(go,hn.prop).value;yo&&ao.push(...castArray$1(yo))}if(io!==void 0){const yo=ao.map((Bo,ro)=>[Bo,ro]).filter(([Bo])=>Object.keys(Bo).includes("required"));if(yo.length>0)for(const[Bo,ro]of yo)Bo.required!==io&&(ao[ro]={...Bo,required:io});else ao.push({required:io})}return ao}),Kn=computed(()=>Fn.value.length>0),Un=io=>Fn.value.filter(go=>!go.trigger||!io?!0:Array.isArray(go.trigger)?go.trigger.includes(io):go.trigger===io).map(({trigger:go,...yo})=>yo),Gn=computed(()=>Fn.value.some(io=>io.required)),Wn=computed(()=>{var io;return $n.value==="error"&&hn.showMessage&&((io=bn==null?void 0:bn.showMessage)!=null?io:!0)}),Yn=computed(()=>`${hn.label||""}${(bn==null?void 0:bn.labelSuffix)||""}`),Xn=io=>{En.value=io},qn=io=>{var ao,go;const{errors:yo,fields:Bo}=io;(!yo||!Bo)&&console.error(io),Xn("error"),Sn.value=yo?(go=(ao=yo==null?void 0:yo[0])==null?void 0:ao.message)!=null?go:`${hn.prop} is required`:"",bn==null||bn.emit("validate",hn.prop,!1,Sn.value)},jn=()=>{Xn("success"),bn==null||bn.emit("validate",hn.prop,!0,"")},Jn=async io=>{const ao=Bn.value;return new Schema({[ao]:io}).validate({[ao]:Hn.value},{firstFields:!0}).then(()=>(jn(),!0)).catch(yo=>(qn(yo),Promise.reject(yo)))},Qn=async(io,ao)=>{if(Nn||!hn.prop)return!1;const go=isFunction$i(ao);if(!Kn.value)return ao==null||ao(!1),!1;const yo=Un(io);return yo.length===0?(ao==null||ao(!0),!0):(Xn("validating"),Jn(yo).then(()=>(ao==null||ao(!0),!0)).catch(Bo=>{const{fields:ro}=Bo;return ao==null||ao(!1,ro),go?!1:Promise.reject(ro)}))},no=()=>{Xn(""),Sn.value="",Nn=!1},so=async()=>{const io=bn==null?void 0:bn.model;if(!io||!hn.prop)return;const ao=getProp(io,hn.prop);Nn=!0,ao.value=clone$4(Tn),await nextTick(),no(),Nn=!1},co=io=>{xn.value.includes(io)||xn.value.push(io)},mo=io=>{xn.value=xn.value.filter(ao=>ao!==io)};watch(()=>hn.error,io=>{Sn.value=io||"",Xn(io?"error":"")},{immediate:!0}),watch(()=>hn.validateStatus,io=>Xn(io||""));const fo=reactive({...toRefs(hn),$el:An,size:kn,validateState:En,labelId:Cn,inputIds:xn,isGroup:Ln,hasLabel:Dn,addInputId:co,removeInputId:mo,resetField:so,clearValidate:no,validate:Qn});return provide(formItemContextKey,fo),onMounted(()=>{hn.prop&&(bn==null||bn.addField(fo),Tn=clone$4(Hn.value))}),onBeforeUnmount(()=>{bn==null||bn.removeField(fo)}),qe({size:kn,validateMessage:Sn,validateState:En,validate:Qn,clearValidate:no,resetField:so}),(io,ao)=>{var go;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:An,class:normalizeClass(unref(Rn)),role:unref(Ln)?"group":void 0,"aria-labelledby":unref(Ln)?unref(Cn):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Pn).width==="auto","update-all":((go=unref(bn))==null?void 0:go.labelWidth)==="auto"},{default:withCtx(()=>[unref(Dn)?(openBlock(),createBlock(resolveDynamicComponent(unref(Vn)?"label":"div"),{key:0,id:unref(Cn),for:unref(Vn),class:normalizeClass(unref(_n).e("label")),style:normalizeStyle(unref(Pn))},{default:withCtx(()=>[renderSlot(io.$slots,"label",{label:unref(Yn)},()=>[createTextVNode(toDisplayString(unref(Yn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(_n).e("content")),style:normalizeStyle(unref(On))},[renderSlot(io.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(_n).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Wn)?renderSlot(io.$slots,"error",{key:0,error:Sn.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Mn))},toDisplayString(Sn.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$1d)}}});var FormItem$1=_export_sfc$2(_sfc_main$2r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall$1(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(Fe){const qe=window.getComputedStyle(Fe),hn=qe.getPropertyValue("box-sizing"),vn=Number.parseFloat(qe.getPropertyValue("padding-bottom"))+Number.parseFloat(qe.getPropertyValue("padding-top")),bn=Number.parseFloat(qe.getPropertyValue("border-bottom-width"))+Number.parseFloat(qe.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(kn=>`${kn}:${qe.getPropertyValue(kn)}`).join(";"),paddingSize:vn,borderSize:bn,boxSizing:hn}}function calcTextareaHeight(Fe,qe=1,hn){var vn;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:bn,borderSize:wn,boxSizing:kn,contextStyle:_n}=calculateNodeStyling(Fe);hiddenTextarea.setAttribute("style",`${_n};${HIDDEN_STYLE}`),hiddenTextarea.value=Fe.value||Fe.placeholder||"";let Cn=hiddenTextarea.scrollHeight;const xn={};kn==="border-box"?Cn=Cn+wn:kn==="content-box"&&(Cn=Cn-bn),hiddenTextarea.value="";const En=hiddenTextarea.scrollHeight-bn;if(isNumber$d(qe)){let $n=En*qe;kn==="border-box"&&($n=$n+bn+wn),Cn=Math.max($n,Cn),xn.minHeight=`${$n}px`}if(isNumber$d(hn)){let $n=En*hn;kn==="border-box"&&($n=$n+bn+wn),Cn=Math.min($n,Cn)}return xn.height=`${Cn}px`,(vn=hiddenTextarea.parentNode)==null||vn.removeChild(hiddenTextarea),hiddenTextarea=void 0,xn}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({})},autofocus:{type:Boolean,default:!1}}),inputEmits={[UPDATE_MODEL_EVENT]:Fe=>isString$d(Fe),input:Fe=>isString$d(Fe),change:Fe=>isString$d(Fe),focus:Fe=>Fe instanceof FocusEvent,blur:Fe=>Fe instanceof FocusEvent,clear:()=>!0,mouseleave:Fe=>Fe instanceof MouseEvent,mouseenter:Fe=>Fe instanceof MouseEvent,keydown:Fe=>Fe instanceof Event,compositionstart:Fe=>Fe instanceof CompositionEvent,compositionupdate:Fe=>Fe instanceof CompositionEvent,compositionend:Fe=>Fe instanceof CompositionEvent},_hoisted_1$1c=["role"],_hoisted_2$P=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$p=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1y=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2q=defineComponent({...__default__$1y,props:inputProps,emits:inputEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useAttrs$1(),wn=useSlots(),kn=computed(()=>{const bo={};return vn.containerRole==="combobox"&&(bo["aria-haspopup"]=bn["aria-haspopup"],bo["aria-owns"]=bn["aria-owns"],bo["aria-expanded"]=bn["aria-expanded"]),bo}),_n=computed(()=>[vn.type==="textarea"?Pn.b():Nn.b(),Nn.m(An.value),Nn.is("disabled",Tn.value),Nn.is("exceed",co.value),{[Nn.b("group")]:wn.prepend||wn.append,[Nn.bm("group","append")]:wn.append,[Nn.bm("group","prepend")]:wn.prepend,[Nn.m("prefix")]:wn.prefix||vn.prefixIcon,[Nn.m("suffix")]:wn.suffix||vn.suffixIcon||vn.clearable||vn.showPassword,[Nn.bm("suffix","password-clear")]:Jn.value&&Qn.value},bn.class]),Cn=computed(()=>[Nn.e("wrapper"),Nn.is("focus",Hn.value)]),xn=useAttrs({excludeKeys:computed(()=>Object.keys(kn.value))}),{form:En,formItem:$n}=useFormItem(),{inputId:Sn}=useFormItemInputId(vn,{formItemContext:$n}),An=useFormSize(),Tn=useFormDisabled(),Nn=useNamespace("input"),Pn=useNamespace("textarea"),On=shallowRef(),Rn=shallowRef(),In=ref(!1),Mn=ref(!1),Bn=ref(!1),Dn=ref(),Vn=shallowRef(vn.inputStyle),Ln=computed(()=>On.value||Rn.value),{wrapperRef:zn,isFocused:Hn,handleFocus:Fn,handleBlur:Kn}=useFocusController(Ln,{afterBlur(){var bo;vn.validateEvent&&((bo=$n==null?void 0:$n.validate)==null||bo.call($n,"blur").catch(wo=>void 0))}}),Un=computed(()=>{var bo;return(bo=En==null?void 0:En.statusIcon)!=null?bo:!1}),Gn=computed(()=>($n==null?void 0:$n.validateState)||""),Wn=computed(()=>Gn.value&&ValidateComponentsMap[Gn.value]),Yn=computed(()=>Bn.value?view_default:hide_default),Xn=computed(()=>[bn.style,vn.inputStyle]),qn=computed(()=>[vn.inputStyle,Vn.value,{resize:vn.resize}]),jn=computed(()=>isNil(vn.modelValue)?"":String(vn.modelValue)),Jn=computed(()=>vn.clearable&&!Tn.value&&!vn.readonly&&!!jn.value&&(Hn.value||In.value)),Qn=computed(()=>vn.showPassword&&!Tn.value&&!vn.readonly&&!!jn.value&&(!!jn.value||Hn.value)),no=computed(()=>vn.showWordLimit&&!!xn.value.maxlength&&(vn.type==="text"||vn.type==="textarea")&&!Tn.value&&!vn.readonly&&!vn.showPassword),so=computed(()=>jn.value.length),co=computed(()=>!!no.value&&so.value>Number(xn.value.maxlength)),mo=computed(()=>!!wn.suffix||!!vn.suffixIcon||Jn.value||vn.showPassword||no.value||!!Gn.value&&Un.value),[fo,io]=useCursor(On);useResizeObserver(Rn,bo=>{if(yo(),!no.value||vn.resize!=="both")return;const wo=bo[0],{width:zo}=wo.contentRect;Dn.value={right:`calc(100% - ${zo+15+6}px)`}});const ao=()=>{const{type:bo,autosize:wo}=vn;if(!(!isClient$1||bo!=="textarea"||!Rn.value))if(wo){const zo=isObject$9(wo)?wo.minRows:void 0,Yo=isObject$9(wo)?wo.maxRows:void 0,_o=calcTextareaHeight(Rn.value,zo,Yo);Vn.value={overflowY:"hidden",..._o},nextTick(()=>{Rn.value.offsetHeight,Vn.value=_o})}else Vn.value={minHeight:calcTextareaHeight(Rn.value).minHeight}},yo=(bo=>{let wo=!1;return()=>{var zo;if(wo||!vn.autosize)return;((zo=Rn.value)==null?void 0:zo.offsetParent)===null||(bo(),wo=!0)}})(ao),Bo=()=>{const bo=Ln.value,wo=vn.formatter?vn.formatter(jn.value):jn.value;!bo||bo.value===wo||(bo.value=wo)},ro=async bo=>{fo();let{value:wo}=bo.target;if(vn.formatter&&(wo=vn.parser?vn.parser(wo):wo),!Mn.value){if(wo===jn.value){Bo();return}hn(UPDATE_MODEL_EVENT,wo),hn("input",wo),await nextTick(),Bo(),io()}},eo=bo=>{hn("change",bo.target.value)},lo=bo=>{hn("compositionstart",bo),Mn.value=!0},ho=bo=>{var wo;hn("compositionupdate",bo);const zo=(wo=bo.target)==null?void 0:wo.value,Yo=zo[zo.length-1]||"";Mn.value=!isKorean(Yo)},Io=bo=>{hn("compositionend",bo),Mn.value&&(Mn.value=!1,ro(bo))},Po=()=>{Bn.value=!Bn.value,ko()},ko=async()=>{var bo;await nextTick(),(bo=Ln.value)==null||bo.focus()},xo=()=>{var bo;return(bo=Ln.value)==null?void 0:bo.blur()},Ao=bo=>{In.value=!1,hn("mouseleave",bo)},vo=bo=>{In.value=!0,hn("mouseenter",bo)},qo=bo=>{hn("keydown",bo)},jo=()=>{var bo;(bo=Ln.value)==null||bo.select()},Ko=()=>{hn(UPDATE_MODEL_EVENT,""),hn("change",""),hn("clear"),hn("input","")};return watch(()=>vn.modelValue,()=>{var bo;nextTick(()=>ao()),vn.validateEvent&&((bo=$n==null?void 0:$n.validate)==null||bo.call($n,"change").catch(wo=>void 0))}),watch(jn,()=>Bo()),watch(()=>vn.type,async()=>{await nextTick(),Bo(),ao()}),onMounted(()=>{!vn.formatter&&vn.parser,Bo(),nextTick(ao)}),qe({input:On,textarea:Rn,ref:Ln,textareaStyle:qn,autosize:toRef(vn,"autosize"),focus:ko,blur:xo,select:jo,clear:Ko,resizeTextarea:ao}),(bo,wo)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(kn),{class:unref(_n),style:unref(Xn),role:bo.containerRole,onMouseenter:vo,onMouseleave:Ao}),[createCommentVNode(" input "),bo.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),bo.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Nn).be("group","prepend"))},[renderSlot(bo.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:zn,class:normalizeClass(unref(Cn))},[createCommentVNode(" prefix slot "),bo.$slots.prefix||bo.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Nn).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Nn).e("prefix-inner"))},[renderSlot(bo.$slots,"prefix"),bo.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Nn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bo.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Sn),ref_key:"input",ref:On,class:unref(Nn).e("inner")},unref(xn),{type:bo.showPassword?Bn.value?"text":"password":bo.type,disabled:unref(Tn),formatter:bo.formatter,parser:bo.parser,readonly:bo.readonly,autocomplete:bo.autocomplete,tabindex:bo.tabindex,"aria-label":bo.label,placeholder:bo.placeholder,style:bo.inputStyle,form:vn.form,autofocus:vn.autofocus,onCompositionstart:lo,onCompositionupdate:ho,onCompositionend:Io,onInput:ro,onFocus:wo[0]||(wo[0]=(...zo)=>unref(Fn)&&unref(Fn)(...zo)),onBlur:wo[1]||(wo[1]=(...zo)=>unref(Kn)&&unref(Kn)(...zo)),onChange:eo,onKeydown:qo}),null,16,_hoisted_2$P),createCommentVNode(" suffix slot "),unref(mo)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Nn).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Nn).e("suffix-inner"))},[!unref(Jn)||!unref(Qn)||!unref(no)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(bo.$slots,"suffix"),bo.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Nn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bo.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(Jn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Nn).e("icon"),unref(Nn).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Ko},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Qn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Nn).e("icon"),unref(Nn).e("password")]),onClick:Po},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Yn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(no)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Nn).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Nn).e("count-inner"))},toDisplayString(unref(so))+" / "+toDisplayString(unref(xn).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Gn)&&unref(Wn)&&unref(Un)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Nn).e("icon"),unref(Nn).e("validateIcon"),unref(Nn).is("loading",unref(Gn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Wn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),bo.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Nn).be("group","append"))},[renderSlot(bo.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Sn),ref_key:"textarea",ref:Rn,class:unref(Pn).e("inner")},unref(xn),{tabindex:bo.tabindex,disabled:unref(Tn),readonly:bo.readonly,autocomplete:bo.autocomplete,style:unref(qn),"aria-label":bo.label,placeholder:bo.placeholder,form:vn.form,autofocus:vn.autofocus,onCompositionstart:lo,onCompositionupdate:ho,onCompositionend:Io,onInput:ro,onFocus:wo[2]||(wo[2]=(...zo)=>unref(Fn)&&unref(Fn)(...zo)),onBlur:wo[3]||(wo[3]=(...zo)=>unref(Kn)&&unref(Kn)(...zo)),onChange:eo,onKeydown:qo}),null,16,_hoisted_3$p),unref(no)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle(Dn.value),class:normalizeClass(unref(Nn).e("count"))},toDisplayString(unref(so))+" / "+toDisplayString(unref(xn).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$1c)),[[vShow,bo.type!=="hidden"]])}});var Input$1=_export_sfc$2(_sfc_main$2q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall$1(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:Fe,size:qe,bar:hn})=>({[hn.size]:qe,transform:`translate${hn.axis}(${Fe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2p=defineComponent({__name:"thumb",props:thumbProps,setup(Fe){const qe=Fe,hn=inject(scrollbarContextKey),vn=useNamespace("scrollbar");hn||throwError(COMPONENT_NAME$k,"can not inject scrollbar context");const bn=ref(),wn=ref(),kn=ref({}),_n=ref(!1);let Cn=!1,xn=!1,En=isClient$1?document.onselectstart:null;const $n=computed(()=>BAR_MAP[qe.vertical?"vertical":"horizontal"]),Sn=computed(()=>renderThumbStyle$1({size:qe.size,move:qe.move,bar:$n.value})),An=computed(()=>bn.value[$n.value.offset]**2/hn.wrapElement[$n.value.scrollSize]/qe.ratio/wn.value[$n.value.offset]),Tn=Dn=>{var Vn;if(Dn.stopPropagation(),Dn.ctrlKey||[1,2].includes(Dn.button))return;(Vn=window.getSelection())==null||Vn.removeAllRanges(),Pn(Dn);const Ln=Dn.currentTarget;Ln&&(kn.value[$n.value.axis]=Ln[$n.value.offset]-(Dn[$n.value.client]-Ln.getBoundingClientRect()[$n.value.direction]))},Nn=Dn=>{if(!wn.value||!bn.value||!hn.wrapElement)return;const Vn=Math.abs(Dn.target.getBoundingClientRect()[$n.value.direction]-Dn[$n.value.client]),Ln=wn.value[$n.value.offset]/2,zn=(Vn-Ln)*100*An.value/bn.value[$n.value.offset];hn.wrapElement[$n.value.scroll]=zn*hn.wrapElement[$n.value.scrollSize]/100},Pn=Dn=>{Dn.stopImmediatePropagation(),Cn=!0,document.addEventListener("mousemove",On),document.addEventListener("mouseup",Rn),En=document.onselectstart,document.onselectstart=()=>!1},On=Dn=>{if(!bn.value||!wn.value||Cn===!1)return;const Vn=kn.value[$n.value.axis];if(!Vn)return;const Ln=(bn.value.getBoundingClientRect()[$n.value.direction]-Dn[$n.value.client])*-1,zn=wn.value[$n.value.offset]-Vn,Hn=(Ln-zn)*100*An.value/bn.value[$n.value.offset];hn.wrapElement[$n.value.scroll]=Hn*hn.wrapElement[$n.value.scrollSize]/100},Rn=()=>{Cn=!1,kn.value[$n.value.axis]=0,document.removeEventListener("mousemove",On),document.removeEventListener("mouseup",Rn),Bn(),xn&&(_n.value=!1)},In=()=>{xn=!1,_n.value=!!qe.size},Mn=()=>{xn=!0,_n.value=Cn};onBeforeUnmount(()=>{Bn(),document.removeEventListener("mouseup",Rn)});const Bn=()=>{document.onselectstart!==En&&(document.onselectstart=En)};return useEventListener(toRef(hn,"scrollbarElement"),"mousemove",In),useEventListener(toRef(hn,"scrollbarElement"),"mouseleave",Mn),(Dn,Vn)=>(openBlock(),createBlock(Transition,{name:unref(vn).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:bn,class:normalizeClass([unref(vn).e("bar"),unref(vn).is(unref($n).key)]),onMousedown:Nn},[createBaseVNode("div",{ref_key:"thumb",ref:wn,class:normalizeClass(unref(vn).e("thumb")),style:normalizeStyle(unref(Sn)),onMousedown:Tn},null,38)],34),[[vShow,Dn.always||_n.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$2(_sfc_main$2p,[["__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$2o=defineComponent({__name:"bar",props:barProps,setup(Fe,{expose:qe}){const hn=Fe,vn=ref(0),bn=ref(0);return qe({handleScroll:kn=>{if(kn){const _n=kn.offsetHeight-GAP,Cn=kn.offsetWidth-GAP;bn.value=kn.scrollTop*100/_n*hn.ratioY,vn.value=kn.scrollLeft*100/Cn*hn.ratioX}}}),(kn,_n)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:vn.value,ratio:kn.ratioX,size:kn.width,always:kn.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:bn.value,ratio:kn.ratioY,size:kn.height,vertical:"",always:kn.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$2(_sfc_main$2o,[["__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},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),scrollbarEmits={scroll:({scrollTop:Fe,scrollLeft:qe})=>[Fe,qe].every(isNumber$d)},COMPONENT_NAME$j="ElScrollbar",__default__$1x=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2n=defineComponent({...__default__$1x,props:scrollbarProps,emits:scrollbarEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useNamespace("scrollbar");let wn,kn;const _n=ref(),Cn=ref(),xn=ref(),En=ref("0"),$n=ref("0"),Sn=ref(),An=ref(1),Tn=ref(1),Nn=computed(()=>{const Vn={};return vn.height&&(Vn.height=addUnit(vn.height)),vn.maxHeight&&(Vn.maxHeight=addUnit(vn.maxHeight)),[vn.wrapStyle,Vn]}),Pn=computed(()=>[vn.wrapClass,bn.e("wrap"),{[bn.em("wrap","hidden-default")]:!vn.native}]),On=computed(()=>[bn.e("view"),vn.viewClass]),Rn=()=>{var Vn;Cn.value&&((Vn=Sn.value)==null||Vn.handleScroll(Cn.value),hn("scroll",{scrollTop:Cn.value.scrollTop,scrollLeft:Cn.value.scrollLeft}))};function In(Vn,Ln){isObject$9(Vn)?Cn.value.scrollTo(Vn):isNumber$d(Vn)&&isNumber$d(Ln)&&Cn.value.scrollTo(Vn,Ln)}const Mn=Vn=>{isNumber$d(Vn)&&(Cn.value.scrollTop=Vn)},Bn=Vn=>{isNumber$d(Vn)&&(Cn.value.scrollLeft=Vn)},Dn=()=>{if(!Cn.value)return;const Vn=Cn.value.offsetHeight-GAP,Ln=Cn.value.offsetWidth-GAP,zn=Vn**2/Cn.value.scrollHeight,Hn=Ln**2/Cn.value.scrollWidth,Fn=Math.max(zn,vn.minSize),Kn=Math.max(Hn,vn.minSize);An.value=zn/(Vn-zn)/(Fn/(Vn-Fn)),Tn.value=Hn/(Ln-Hn)/(Kn/(Ln-Kn)),$n.value=Fn+GAPvn.noresize,Vn=>{Vn?(wn==null||wn(),kn==null||kn()):({stop:wn}=useResizeObserver(xn,Dn),kn=useEventListener("resize",Dn))},{immediate:!0}),watch(()=>[vn.maxHeight,vn.height],()=>{vn.native||nextTick(()=>{var Vn;Dn(),Cn.value&&((Vn=Sn.value)==null||Vn.handleScroll(Cn.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:_n,wrapElement:Cn})),onMounted(()=>{vn.native||nextTick(()=>{Dn()})}),onUpdated(()=>Dn()),qe({wrapRef:Cn,update:Dn,scrollTo:In,setScrollTop:Mn,setScrollLeft:Bn,handleScroll:Rn}),(Vn,Ln)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:_n,class:normalizeClass(unref(bn).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:Cn,class:normalizeClass(unref(Pn)),style:normalizeStyle(unref(Nn)),onScroll:Rn},[(openBlock(),createBlock(resolveDynamicComponent(Vn.tag),{id:Vn.id,ref_key:"resizeRef",ref:xn,class:normalizeClass(unref(On)),style:normalizeStyle(Vn.viewStyle),role:Vn.role,"aria-label":Vn.ariaLabel,"aria-orientation":Vn.ariaOrientation},{default:withCtx(()=>[renderSlot(Vn.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),Vn.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Sn,height:$n.value,width:En.value,always:Vn.always,"ratio-x":Tn.value,"ratio-y":An.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$2(_sfc_main$2n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ElScrollbar=withInstall$1(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__$1w=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2m=defineComponent({...__default__$1w,props:popperProps,setup(Fe,{expose:qe}){const hn=Fe,vn=ref(),bn=ref(),wn=ref(),kn=ref(),_n=computed(()=>hn.role),Cn={triggerRef:vn,popperInstanceRef:bn,contentRef:wn,referenceRef:kn,role:_n};return qe(Cn),provide(POPPER_INJECTION_KEY,Cn),(xn,En)=>renderSlot(xn.$slots,"default")}});var Popper=_export_sfc$2(_sfc_main$2m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1v=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2l=defineComponent({...__default__$1v,props:popperArrowProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("popper"),{arrowOffset:bn,arrowRef:wn,arrowStyle:kn}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>hn.arrowOffset,_n=>{bn.value=_n}),onBeforeUnmount(()=>{wn.value=void 0}),qe({arrowRef:wn}),(_n,Cn)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:wn,class:normalizeClass(unref(vn).e("arrow")),style:normalizeStyle(unref(kn)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$2(_sfc_main$2l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(Fe,{slots:qe,attrs:hn}){var vn;const bn=inject(FORWARD_REF_INJECTION_KEY),wn=useForwardRefDirective((vn=bn==null?void 0:bn.setForwardRef)!=null?vn:NOOP);return()=>{var kn;const _n=(kn=qe.default)==null?void 0:kn.call(qe,hn);if(!_n||_n.length>1)return null;const Cn=findFirstLegitChild(_n);return Cn?withDirectives(cloneVNode(Cn,hn),[[wn]]):null}}});function findFirstLegitChild(Fe){if(!Fe)return null;const qe=Fe;for(const hn of qe){if(isObject$9(hn))switch(hn.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(hn);case Fragment:return findFirstLegitChild(hn.children);default:return hn}return wrapTextContent(hn)}return null}function wrapTextContent(Fe){const qe=useNamespace("only-child");return createVNode("span",{class:qe.e("content")},[Fe])}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__$1u=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2k=defineComponent({...__default__$1u,props:popperTriggerProps,setup(Fe,{expose:qe}){const hn=Fe,{role:vn,triggerRef:bn}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(bn);const wn=computed(()=>_n.value?hn.id:void 0),kn=computed(()=>{if(vn&&vn.value==="tooltip")return hn.open&&hn.id?hn.id:void 0}),_n=computed(()=>{if(vn&&vn.value!=="tooltip")return vn.value}),Cn=computed(()=>_n.value?`${hn.open}`:void 0);let xn;return onMounted(()=>{watch(()=>hn.virtualRef,En=>{En&&(bn.value=unrefElement(En))},{immediate:!0}),watch(bn,(En,$n)=>{xn==null||xn(),xn=void 0,isElement$4(En)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(Sn=>{var An;const Tn=hn[Sn];Tn&&(En.addEventListener(Sn.slice(2).toLowerCase(),Tn),(An=$n==null?void 0:$n.removeEventListener)==null||An.call($n,Sn.slice(2).toLowerCase(),Tn))}),xn=watch([wn,kn,_n,Cn],Sn=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((An,Tn)=>{isNil(Sn[Tn])?En.removeAttribute(An):En.setAttribute(An,Sn[Tn])})},{immediate:!0})),isElement$4($n)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Sn=>$n.removeAttribute(Sn))},{immediate:!0})}),onBeforeUnmount(()=>{xn==null||xn(),xn=void 0}),qe({triggerRef:bn}),(En,$n)=>En.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},En.$attrs,{"aria-controls":unref(wn),"aria-describedby":unref(kn),"aria-expanded":unref(Cn),"aria-haspopup":unref(_n)}),{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$2(_sfc_main$2k,[["__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=Fe=>{const qe=[],hn=document.createTreeWalker(Fe,NodeFilter.SHOW_ELEMENT,{acceptNode:vn=>{const bn=vn.tagName==="INPUT"&&vn.type==="hidden";return vn.disabled||vn.hidden||bn?NodeFilter.FILTER_SKIP:vn.tabIndex>=0||vn===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;hn.nextNode();)qe.push(hn.currentNode);return qe},getVisibleElement=(Fe,qe)=>{for(const hn of Fe)if(!isHidden(hn,qe))return hn},isHidden=(Fe,qe)=>{if(getComputedStyle(Fe).visibility==="hidden")return!0;for(;Fe;){if(qe&&Fe===qe)return!1;if(getComputedStyle(Fe).display==="none")return!0;Fe=Fe.parentElement}return!1},getEdges=Fe=>{const qe=obtainAllFocusableElements(Fe),hn=getVisibleElement(qe,Fe),vn=getVisibleElement(qe.reverse(),Fe);return[hn,vn]},isSelectable=Fe=>Fe instanceof HTMLInputElement&&"select"in Fe,tryFocus=(Fe,qe)=>{if(Fe&&Fe.focus){const hn=document.activeElement;Fe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),Fe!==hn&&isSelectable(Fe)&&qe&&Fe.select()}};function removeFromStack(Fe,qe){const hn=[...Fe],vn=Fe.indexOf(qe);return vn!==-1&&hn.splice(vn,1),hn}const createFocusableStack=()=>{let Fe=[];return{push:vn=>{const bn=Fe[0];bn&&vn!==bn&&bn.pause(),Fe=removeFromStack(Fe,vn),Fe.unshift(vn)},remove:vn=>{var bn,wn;Fe=removeFromStack(Fe,vn),(wn=(bn=Fe[0])==null?void 0:bn.resume)==null||wn.call(bn)}}},focusFirstDescendant=(Fe,qe=!1)=>{const hn=document.activeElement;for(const vn of Fe)if(tryFocus(vn,qe),document.activeElement!==hn)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=Fe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:Fe}),_sfc_main$2j=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(Fe,{emit:qe}){const hn=ref();let vn,bn;const{focusReason:wn}=useFocusReason();useEscapeKeydown(Tn=>{Fe.trapped&&!kn.paused&&qe("release-requested",Tn)});const kn={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},_n=Tn=>{if(!Fe.loop&&!Fe.trapped||kn.paused)return;const{key:Nn,altKey:Pn,ctrlKey:On,metaKey:Rn,currentTarget:In,shiftKey:Mn}=Tn,{loop:Bn}=Fe,Dn=Nn===EVENT_CODE.tab&&!Pn&&!On&&!Rn,Vn=document.activeElement;if(Dn&&Vn){const Ln=In,[zn,Hn]=getEdges(Ln);if(zn&&Hn){if(!Mn&&Vn===Hn){const Kn=createFocusOutPreventedEvent({focusReason:wn.value});qe("focusout-prevented",Kn),Kn.defaultPrevented||(Tn.preventDefault(),Bn&&tryFocus(zn,!0))}else if(Mn&&[zn,Ln].includes(Vn)){const Kn=createFocusOutPreventedEvent({focusReason:wn.value});qe("focusout-prevented",Kn),Kn.defaultPrevented||(Tn.preventDefault(),Bn&&tryFocus(Hn,!0))}}else if(Vn===Ln){const Kn=createFocusOutPreventedEvent({focusReason:wn.value});qe("focusout-prevented",Kn),Kn.defaultPrevented||Tn.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:hn,onKeydown:_n}),watch(()=>Fe.focusTrapEl,Tn=>{Tn&&(hn.value=Tn)},{immediate:!0}),watch([hn],([Tn],[Nn])=>{Tn&&(Tn.addEventListener("keydown",_n),Tn.addEventListener("focusin",En),Tn.addEventListener("focusout",$n)),Nn&&(Nn.removeEventListener("keydown",_n),Nn.removeEventListener("focusin",En),Nn.removeEventListener("focusout",$n))});const Cn=Tn=>{qe(ON_TRAP_FOCUS_EVT,Tn)},xn=Tn=>qe(ON_RELEASE_FOCUS_EVT,Tn),En=Tn=>{const Nn=unref(hn);if(!Nn)return;const Pn=Tn.target,On=Tn.relatedTarget,Rn=Pn&&Nn.contains(Pn);Fe.trapped||On&&Nn.contains(On)||(vn=On),Rn&&qe("focusin",Tn),!kn.paused&&Fe.trapped&&(Rn?bn=Pn:tryFocus(bn,!0))},$n=Tn=>{const Nn=unref(hn);if(!(kn.paused||!Nn))if(Fe.trapped){const Pn=Tn.relatedTarget;!isNil(Pn)&&!Nn.contains(Pn)&&setTimeout(()=>{if(!kn.paused&&Fe.trapped){const On=createFocusOutPreventedEvent({focusReason:wn.value});qe("focusout-prevented",On),On.defaultPrevented||tryFocus(bn,!0)}},0)}else{const Pn=Tn.target;Pn&&Nn.contains(Pn)||qe("focusout",Tn)}};async function Sn(){await nextTick();const Tn=unref(hn);if(Tn){focusableStack.push(kn);const Nn=Tn.contains(document.activeElement)?vn:document.activeElement;if(vn=Nn,!Tn.contains(Nn)){const On=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Tn.addEventListener(FOCUS_AFTER_TRAPPED,Cn),Tn.dispatchEvent(On),On.defaultPrevented||nextTick(()=>{let Rn=Fe.focusStartEl;isString$d(Rn)||(tryFocus(Rn),document.activeElement!==Rn&&(Rn="first")),Rn==="first"&&focusFirstDescendant(obtainAllFocusableElements(Tn),!0),(document.activeElement===Nn||Rn==="container")&&tryFocus(Tn)})}}}function An(){const Tn=unref(hn);if(Tn){Tn.removeEventListener(FOCUS_AFTER_TRAPPED,Cn);const Nn=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:wn.value}});Tn.addEventListener(FOCUS_AFTER_RELEASED,xn),Tn.dispatchEvent(Nn),!Nn.defaultPrevented&&(wn.value=="keyboard"||!isFocusCausedByUserEvent()||Tn.contains(document.activeElement))&&tryFocus(vn??document.body),Tn.removeEventListener(FOCUS_AFTER_RELEASED,xn),focusableStack.remove(kn)}}return onMounted(()=>{Fe.trapped&&Sn(),watch(()=>Fe.trapped,Tn=>{Tn?Sn():An()})}),onBeforeUnmount(()=>{Fe.trapped&&An()}),{onKeydown:_n}}});function _sfc_render$w(Fe,qe,hn,vn,bn,wn){return renderSlot(Fe.$slots,"default",{handleKeydown:Fe.onKeydown})}var ElFocusTrap=_export_sfc$2(_sfc_main$2j,[["render",_sfc_render$w],["__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:Fe=>Fe instanceof MouseEvent,mouseleave:Fe=>Fe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(Fe,qe=[])=>{const{placement:hn,strategy:vn,popperOptions:bn}=Fe,wn={placement:hn,strategy:vn,...bn,modifiers:[...genModifiers(Fe),...qe]};return deriveExtraModifiers(wn,bn==null?void 0:bn.modifiers),wn},unwrapMeasurableEl=Fe=>{if(isClient$1)return unrefElement(Fe)};function genModifiers(Fe){const{offset:qe,gpuAcceleration:hn,fallbackPlacements:vn}=Fe;return[{name:"offset",options:{offset:[0,qe??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:vn}},{name:"computeStyles",options:{gpuAcceleration:hn}}]}function deriveExtraModifiers(Fe,qe){qe&&(Fe.modifiers=[...Fe.modifiers,...qe??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=Fe=>{const{popperInstanceRef:qe,contentRef:hn,triggerRef:vn,role:bn}=inject(POPPER_INJECTION_KEY,void 0),wn=ref(),kn=ref(),_n=computed(()=>({name:"eventListeners",enabled:!!Fe.visible})),Cn=computed(()=>{var On;const Rn=unref(wn),In=(On=unref(kn))!=null?On:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$e(Rn),options:{element:Rn,padding:In}}}),xn=computed(()=>({onFirstUpdate:()=>{Tn()},...buildPopperOptions(Fe,[unref(Cn),unref(_n)])})),En=computed(()=>unwrapMeasurableEl(Fe.referenceEl)||unref(vn)),{attributes:$n,state:Sn,styles:An,update:Tn,forceUpdate:Nn,instanceRef:Pn}=usePopper(En,hn,xn);return watch(Pn,On=>qe.value=On),onMounted(()=>{watch(()=>{var On;return(On=unref(En))==null?void 0:On.getBoundingClientRect()},()=>{Tn()})}),{attributes:$n,arrowRef:wn,contentRef:hn,instanceRef:Pn,state:Sn,styles:An,role:bn,forceUpdate:Nn,update:Tn}},usePopperContentDOM=(Fe,{attributes:qe,styles:hn,role:vn})=>{const{nextZIndex:bn}=useZIndex(),wn=useNamespace("popper"),kn=computed(()=>unref(qe).popper),_n=ref(isNumber$d(Fe.zIndex)?Fe.zIndex:bn()),Cn=computed(()=>[wn.b(),wn.is("pure",Fe.pure),wn.is(Fe.effect),Fe.popperClass]),xn=computed(()=>[{zIndex:unref(_n)},unref(hn).popper,Fe.popperStyle||{}]),En=computed(()=>vn.value==="dialog"?"false":void 0),$n=computed(()=>unref(hn).arrow||{});return{ariaModal:En,arrowStyle:$n,contentAttrs:kn,contentClass:Cn,contentStyle:xn,contentZIndex:_n,updateZIndex:()=>{_n.value=isNumber$d(Fe.zIndex)?Fe.zIndex:bn()}}},usePopperContentFocusTrap=(Fe,qe)=>{const hn=ref(!1),vn=ref();return{focusStartRef:vn,trapped:hn,onFocusAfterReleased:xn=>{var En;((En=xn.detail)==null?void 0:En.focusReason)!=="pointer"&&(vn.value="first",qe("blur"))},onFocusAfterTrapped:()=>{qe("focus")},onFocusInTrap:xn=>{Fe.visible&&!hn.value&&(xn.target&&(vn.value=xn.target),hn.value=!0)},onFocusoutPrevented:xn=>{Fe.trapping||(xn.detail.focusReason==="pointer"&&xn.preventDefault(),hn.value=!1)},onReleaseRequested:()=>{hn.value=!1,qe("close")}}},__default__$1t=defineComponent({name:"ElPopperContent"}),_sfc_main$2i=defineComponent({...__default__$1t,props:popperContentProps,emits:popperContentEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{focusStartRef:bn,trapped:wn,onFocusAfterReleased:kn,onFocusAfterTrapped:_n,onFocusInTrap:Cn,onFocusoutPrevented:xn,onReleaseRequested:En}=usePopperContentFocusTrap(vn,hn),{attributes:$n,arrowRef:Sn,contentRef:An,styles:Tn,instanceRef:Nn,role:Pn,update:On}=usePopperContent(vn),{ariaModal:Rn,arrowStyle:In,contentAttrs:Mn,contentClass:Bn,contentStyle:Dn,updateZIndex:Vn}=usePopperContentDOM(vn,{styles:Tn,attributes:$n,role:Pn}),Ln=inject(formItemContextKey,void 0),zn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:In,arrowRef:Sn,arrowOffset:zn}),Ln&&(Ln.addInputId||Ln.removeInputId)&&provide(formItemContextKey,{...Ln,addInputId:NOOP,removeInputId:NOOP});let Hn;const Fn=(Un=!0)=>{On(),Un&&Vn()},Kn=()=>{Fn(!1),vn.visible&&vn.focusOnShow?wn.value=!0:vn.visible===!1&&(wn.value=!1)};return onMounted(()=>{watch(()=>vn.triggerTargetEl,(Un,Gn)=>{Hn==null||Hn(),Hn=void 0;const Wn=unref(Un||An.value),Yn=unref(Gn||An.value);isElement$4(Wn)&&(Hn=watch([Pn,()=>vn.ariaLabel,Rn,()=>vn.id],Xn=>{["role","aria-label","aria-modal","id"].forEach((qn,jn)=>{isNil(Xn[jn])?Wn.removeAttribute(qn):Wn.setAttribute(qn,Xn[jn])})},{immediate:!0})),Yn!==Wn&&isElement$4(Yn)&&["role","aria-label","aria-modal","id"].forEach(Xn=>{Yn.removeAttribute(Xn)})},{immediate:!0}),watch(()=>vn.visible,Kn,{immediate:!0})}),onBeforeUnmount(()=>{Hn==null||Hn(),Hn=void 0}),qe({popperContentRef:An,popperInstanceRef:Nn,updatePopper:Fn,contentStyle:Dn}),(Un,Gn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:An},unref(Mn),{style:unref(Dn),class:unref(Bn),tabindex:"-1",onMouseenter:Gn[0]||(Gn[0]=Wn=>Un.$emit("mouseenter",Wn)),onMouseleave:Gn[1]||(Gn[1]=Wn=>Un.$emit("mouseleave",Wn))}),[createVNode(unref(ElFocusTrap),{trapped:unref(wn),"trap-on-focus-in":!0,"focus-trap-el":unref(An),"focus-start-el":unref(bn),onFocusAfterTrapped:unref(_n),onFocusAfterReleased:unref(kn),onFocusin:unref(Cn),onFocusoutPrevented:unref(xn),onReleaseRequested:unref(En)},{default:withCtx(()=>[renderSlot(Un.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$2(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall$1(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=(Fe,qe)=>isArray$x(Fe)?Fe.includes(qe):Fe===qe,whenTrigger=(Fe,qe,hn)=>vn=>{isTriggerType(unref(Fe),qe)&&hn(vn)},__default__$1s=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2h=defineComponent({...__default__$1s,props:useTooltipTriggerProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("tooltip"),{controlled:bn,id:wn,open:kn,onOpen:_n,onClose:Cn,onToggle:xn}=inject(TOOLTIP_INJECTION_KEY,void 0),En=ref(null),$n=()=>{if(unref(bn)||hn.disabled)return!0},Sn=toRef(hn,"trigger"),An=composeEventHandlers($n,whenTrigger(Sn,"hover",_n)),Tn=composeEventHandlers($n,whenTrigger(Sn,"hover",Cn)),Nn=composeEventHandlers($n,whenTrigger(Sn,"click",Mn=>{Mn.button===0&&xn(Mn)})),Pn=composeEventHandlers($n,whenTrigger(Sn,"focus",_n)),On=composeEventHandlers($n,whenTrigger(Sn,"focus",Cn)),Rn=composeEventHandlers($n,whenTrigger(Sn,"contextmenu",Mn=>{Mn.preventDefault(),xn(Mn)})),In=composeEventHandlers($n,Mn=>{const{code:Bn}=Mn;hn.triggerKeys.includes(Bn)&&(Mn.preventDefault(),xn(Mn))});return qe({triggerRef:En}),(Mn,Bn)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(wn),"virtual-ref":Mn.virtualRef,open:unref(kn),"virtual-triggering":Mn.virtualTriggering,class:normalizeClass(unref(vn).e("trigger")),onBlur:unref(On),onClick:unref(Nn),onContextmenu:unref(Rn),onFocus:unref(Pn),onMouseenter:unref(An),onMouseleave:unref(Tn),onKeydown:unref(In)},{default:withCtx(()=>[renderSlot(Mn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$2(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1r=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2g=defineComponent({...__default__$1r,props:useTooltipContentProps,setup(Fe,{expose:qe}){const hn=Fe,{selector:vn}=usePopperContainerId(),bn=useNamespace("tooltip"),wn=ref(null),kn=ref(!1),{controlled:_n,id:Cn,open:xn,trigger:En,onClose:$n,onOpen:Sn,onShow:An,onHide:Tn,onBeforeShow:Nn,onBeforeHide:Pn}=inject(TOOLTIP_INJECTION_KEY,void 0),On=computed(()=>hn.transition||`${bn.namespace.value}-fade-in-linear`),Rn=computed(()=>hn.persistent);onBeforeUnmount(()=>{kn.value=!0});const In=computed(()=>unref(Rn)?!0:unref(xn)),Mn=computed(()=>hn.disabled?!1:unref(xn)),Bn=computed(()=>hn.appendTo||vn.value),Dn=computed(()=>{var Xn;return(Xn=hn.style)!=null?Xn:{}}),Vn=computed(()=>!unref(xn)),Ln=()=>{Tn()},zn=()=>{if(unref(_n))return!0},Hn=composeEventHandlers(zn,()=>{hn.enterable&&unref(En)==="hover"&&Sn()}),Fn=composeEventHandlers(zn,()=>{unref(En)==="hover"&&$n()}),Kn=()=>{var Xn,qn;(qn=(Xn=wn.value)==null?void 0:Xn.updatePopper)==null||qn.call(Xn),Nn==null||Nn()},Un=()=>{Pn==null||Pn()},Gn=()=>{An(),Yn=onClickOutside(computed(()=>{var Xn;return(Xn=wn.value)==null?void 0:Xn.popperContentRef}),()=>{if(unref(_n))return;unref(En)!=="hover"&&$n()})},Wn=()=>{hn.virtualTriggering||$n()};let Yn;return watch(()=>unref(xn),Xn=>{Xn||Yn==null||Yn()},{flush:"post"}),watch(()=>hn.content,()=>{var Xn,qn;(qn=(Xn=wn.value)==null?void 0:Xn.updatePopper)==null||qn.call(Xn)}),qe({contentRef:wn}),(Xn,qn)=>(openBlock(),createBlock(Teleport,{disabled:!Xn.teleported,to:unref(Bn)},[createVNode(Transition,{name:unref(On),onAfterLeave:Ln,onBeforeEnter:Kn,onAfterEnter:Gn,onBeforeLeave:Un},{default:withCtx(()=>[unref(In)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(Cn),ref_key:"contentRef",ref:wn},Xn.$attrs,{"aria-label":Xn.ariaLabel,"aria-hidden":unref(Vn),"boundaries-padding":Xn.boundariesPadding,"fallback-placements":Xn.fallbackPlacements,"gpu-acceleration":Xn.gpuAcceleration,offset:Xn.offset,placement:Xn.placement,"popper-options":Xn.popperOptions,strategy:Xn.strategy,effect:Xn.effect,enterable:Xn.enterable,pure:Xn.pure,"popper-class":Xn.popperClass,"popper-style":[Xn.popperStyle,unref(Dn)],"reference-el":Xn.referenceEl,"trigger-target-el":Xn.triggerTargetEl,visible:unref(Mn),"z-index":Xn.zIndex,onMouseenter:unref(Hn),onMouseleave:unref(Fn),onBlur:Wn,onClose:unref($n)}),{default:withCtx(()=>[kn.value?createCommentVNode("v-if",!0):renderSlot(Xn.$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(Mn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$2(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$1b=["innerHTML"],_hoisted_2$O={key:1},__default__$1q=defineComponent({name:"ElTooltip"}),_sfc_main$2f=defineComponent({...__default__$1q,props:useTooltipProps,emits:tooltipEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe;usePopperContainer();const bn=useId(),wn=ref(),kn=ref(),_n=()=>{var On;const Rn=unref(wn);Rn&&((On=Rn.popperInstanceRef)==null||On.update())},Cn=ref(!1),xn=ref(),{show:En,hide:$n,hasUpdateHandler:Sn}=useTooltipModelToggle({indicator:Cn,toggleReason:xn}),{onOpen:An,onClose:Tn}=useDelayedToggle({showAfter:toRef(vn,"showAfter"),hideAfter:toRef(vn,"hideAfter"),autoClose:toRef(vn,"autoClose"),open:En,close:$n}),Nn=computed(()=>isBoolean$5(vn.visible)&&!Sn.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Nn,id:bn,open:readonly(Cn),trigger:toRef(vn,"trigger"),onOpen:On=>{An(On)},onClose:On=>{Tn(On)},onToggle:On=>{unref(Cn)?Tn(On):An(On)},onShow:()=>{hn("show",xn.value)},onHide:()=>{hn("hide",xn.value)},onBeforeShow:()=>{hn("before-show",xn.value)},onBeforeHide:()=>{hn("before-hide",xn.value)},updatePopper:_n}),watch(()=>vn.disabled,On=>{On&&Cn.value&&(Cn.value=!1)});const Pn=On=>{var Rn,In;const Mn=(In=(Rn=kn.value)==null?void 0:Rn.contentRef)==null?void 0:In.popperContentRef,Bn=(On==null?void 0:On.relatedTarget)||document.activeElement;return Mn&&Mn.contains(Bn)};return onDeactivated(()=>Cn.value&&$n()),qe({popperRef:wn,contentRef:kn,isFocusInsideContent:Pn,updatePopper:_n,onOpen:An,onClose:Tn,hide:$n}),(On,Rn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:wn,role:On.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:On.disabled,trigger:On.trigger,"trigger-keys":On.triggerKeys,"virtual-ref":On.virtualRef,"virtual-triggering":On.virtualTriggering},{default:withCtx(()=>[On.$slots.default?renderSlot(On.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:kn,"aria-label":On.ariaLabel,"boundaries-padding":On.boundariesPadding,content:On.content,disabled:On.disabled,effect:On.effect,enterable:On.enterable,"fallback-placements":On.fallbackPlacements,"hide-after":On.hideAfter,"gpu-acceleration":On.gpuAcceleration,offset:On.offset,persistent:On.persistent,"popper-class":On.popperClass,"popper-style":On.popperStyle,placement:On.placement,"popper-options":On.popperOptions,pure:On.pure,"raw-content":On.rawContent,"reference-el":On.referenceEl,"trigger-target-el":On.triggerTargetEl,"show-after":On.showAfter,strategy:On.strategy,teleported:On.teleported,transition:On.transition,"virtual-triggering":On.virtualTriggering,"z-index":On.zIndex,"append-to":On.appendTo},{default:withCtx(()=>[renderSlot(On.$slots,"content",{},()=>[On.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:On.content},null,8,_hoisted_1$1b)):(openBlock(),createElementBlock("span",_hoisted_2$O,toDisplayString(On.content),1))]),On.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":On.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$2(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall$1(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]:Fe=>isString$d(Fe),[INPUT_EVENT]:Fe=>isString$d(Fe),[CHANGE_EVENT]:Fe=>isString$d(Fe),focus:Fe=>Fe instanceof FocusEvent,blur:Fe=>Fe instanceof FocusEvent,clear:()=>!0,select:Fe=>isObject$9(Fe)},_hoisted_1$1a=["aria-expanded","aria-owns"],_hoisted_2$N={key:0},_hoisted_3$o=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1p=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$2e=defineComponent({...__default__$1p,props:autocompleteProps,emits:autocompleteEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useAttrs(),wn=useAttrs$1(),kn=useFormDisabled(),_n=useNamespace("autocomplete"),Cn=ref(),xn=ref(),En=ref(),$n=ref();let Sn=!1,An=!1;const Tn=ref([]),Nn=ref(-1),Pn=ref(""),On=ref(!1),Rn=ref(!1),In=ref(!1),Mn=computed(()=>_n.b(String(generateId()))),Bn=computed(()=>wn.style),Dn=computed(()=>(Tn.value.length>0||In.value)&&On.value),Vn=computed(()=>!vn.hideLoading&&In.value),Ln=computed(()=>Cn.value?Array.from(Cn.value.$el.querySelectorAll("input")):[]),zn=()=>{Dn.value&&(Pn.value=`${Cn.value.$el.offsetWidth}px`)},Hn=()=>{Nn.value=-1},Kn=debounce$3(async fo=>{if(Rn.value)return;const io=ao=>{In.value=!1,!Rn.value&&(isArray$x(ao)?(Tn.value=ao,Nn.value=vn.highlightFirstItem?0:-1):throwError(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(In.value=!0,isArray$x(vn.fetchSuggestions))io(vn.fetchSuggestions);else{const ao=await vn.fetchSuggestions(fo,io);isArray$x(ao)&&io(ao)}},vn.debounce),Un=fo=>{const io=!!fo;if(hn(INPUT_EVENT,fo),hn(UPDATE_MODEL_EVENT,fo),Rn.value=!1,On.value||(On.value=io),!vn.triggerOnFocus&&!fo){Rn.value=!0,Tn.value=[];return}Kn(fo)},Gn=fo=>{var io;kn.value||(((io=fo.target)==null?void 0:io.tagName)!=="INPUT"||Ln.value.includes(document.activeElement))&&(On.value=!0)},Wn=fo=>{hn(CHANGE_EVENT,fo)},Yn=fo=>{An?An=!1:(On.value=!0,hn("focus",fo),vn.triggerOnFocus&&!Sn&&Kn(String(vn.modelValue)))},Xn=fo=>{setTimeout(()=>{var io;if((io=En.value)!=null&&io.isFocusInsideContent()){An=!0;return}On.value&&Qn(),hn("blur",fo)})},qn=()=>{On.value=!1,hn(UPDATE_MODEL_EVENT,""),hn("clear")},jn=async()=>{Dn.value&&Nn.value>=0&&Nn.value{Dn.value&&(fo.preventDefault(),fo.stopPropagation(),Qn())},Qn=()=>{On.value=!1},no=()=>{var fo;(fo=Cn.value)==null||fo.focus()},so=()=>{var fo;(fo=Cn.value)==null||fo.blur()},co=async fo=>{hn(INPUT_EVENT,fo[vn.valueKey]),hn(UPDATE_MODEL_EVENT,fo[vn.valueKey]),hn("select",fo),Tn.value=[],Nn.value=-1},mo=fo=>{if(!Dn.value||In.value)return;if(fo<0){Nn.value=-1;return}fo>=Tn.value.length&&(fo=Tn.value.length-1);const io=xn.value.querySelector(`.${_n.be("suggestion","wrap")}`),go=io.querySelectorAll(`.${_n.be("suggestion","list")} li`)[fo],yo=io.scrollTop,{offsetTop:Bo,scrollHeight:ro}=go;Bo+ro>yo+io.clientHeight&&(io.scrollTop+=ro),Bo{Dn.value&&Qn()}),onMounted(()=>{Cn.value.ref.setAttribute("role","textbox"),Cn.value.ref.setAttribute("aria-autocomplete","list"),Cn.value.ref.setAttribute("aria-controls","id"),Cn.value.ref.setAttribute("aria-activedescendant",`${Mn.value}-item-${Nn.value}`),Sn=Cn.value.ref.hasAttribute("readonly")}),qe({highlightedIndex:Nn,activated:On,loading:In,inputRef:Cn,popperRef:En,suggestions:Tn,handleSelect:co,handleKeyEnter:jn,focus:no,blur:so,close:Qn,highlight:mo}),(fo,io)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:En,visible:unref(Dn),placement:fo.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(_n).e("popper"),fo.popperClass],teleported:fo.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(_n).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:zn,onHide:Hn},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:xn,class:normalizeClass([unref(_n).b("suggestion"),unref(_n).is("loading",unref(Vn))]),style:normalizeStyle({[fo.fitInputWidth?"width":"minWidth"]:Pn.value,outline:"none"}),role:"region"},[createVNode(unref(ElScrollbar),{id:unref(Mn),tag:"ul","wrap-class":unref(_n).be("suggestion","wrap"),"view-class":unref(_n).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Vn)?(openBlock(),createElementBlock("li",_hoisted_2$N,[createVNode(unref(ElIcon),{class:normalizeClass(unref(_n).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Tn.value,(ao,go)=>(openBlock(),createElementBlock("li",{id:`${unref(Mn)}-item-${go}`,key:go,class:normalizeClass({highlighted:Nn.value===go}),role:"option","aria-selected":Nn.value===go,onClick:yo=>co(ao)},[renderSlot(fo.$slots,"default",{item:ao},()=>[createTextVNode(toDisplayString(ao[fo.valueKey]),1)])],10,_hoisted_3$o))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:$n,class:normalizeClass([unref(_n).b(),fo.$attrs.class]),style:normalizeStyle(unref(Bn)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(Dn),"aria-owns":unref(Mn)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:Cn},unref(bn),{clearable:fo.clearable,disabled:unref(kn),name:fo.name,"model-value":fo.modelValue,onInput:Un,onChange:Wn,onFocus:Yn,onBlur:Xn,onClear:qn,onKeydown:[io[0]||(io[0]=withKeys(withModifiers(ao=>mo(Nn.value-1),["prevent"]),["up"])),io[1]||(io[1]=withKeys(withModifiers(ao=>mo(Nn.value+1),["prevent"]),["down"])),withKeys(jn,["enter"]),withKeys(Qn,["tab"]),withKeys(Jn,["esc"])],onMousedown:Gn}),createSlots({_:2},[fo.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(fo.$slots,"prepend")])}:void 0,fo.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(fo.$slots,"append")])}:void 0,fo.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(fo.$slots,"prefix")])}:void 0,fo.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(fo.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$1a)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$2(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall$1(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:Fe=>isNumber$d(Fe)},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:Fe=>Fe instanceof Event},_hoisted_1$19=["src","alt","srcset"],__default__$1o=defineComponent({name:"ElAvatar"}),_sfc_main$2d=defineComponent({...__default__$1o,props:avatarProps,emits:avatarEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("avatar"),bn=ref(!1),wn=computed(()=>{const{size:xn,icon:En,shape:$n}=hn,Sn=[vn.b()];return isString$d(xn)&&Sn.push(vn.m(xn)),En&&Sn.push(vn.m("icon")),$n&&Sn.push(vn.m($n)),Sn}),kn=computed(()=>{const{size:xn}=hn;return isNumber$d(xn)?vn.cssVarBlock({size:addUnit(xn)||""}):void 0}),_n=computed(()=>({objectFit:hn.fit}));watch(()=>hn.src,()=>bn.value=!1);function Cn(xn){bn.value=!0,qe("error",xn)}return(xn,En)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(wn)),style:normalizeStyle(unref(kn))},[(xn.src||xn.srcSet)&&!bn.value?(openBlock(),createElementBlock("img",{key:0,src:xn.src,alt:xn.alt,srcset:xn.srcSet,style:normalizeStyle(unref(_n)),onError:Cn},null,44,_hoisted_1$19)):xn.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xn.icon)))]),_:1})):renderSlot(xn.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$2(_sfc_main$2d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const ElAvatar=withInstall$1(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:Fe=>Fe instanceof MouseEvent},useBackTop=(Fe,qe,hn)=>{const vn=shallowRef(),bn=shallowRef(),wn=ref(!1),kn=()=>{vn.value&&(wn.value=vn.value.scrollTop>=Fe.visibilityHeight)},_n=xn=>{var En;(En=vn.value)==null||En.scrollTo({top:0,behavior:"smooth"}),qe("click",xn)},Cn=useThrottleFn$1(kn,300,!0);return useEventListener(bn,"scroll",Cn),onMounted(()=>{var xn;bn.value=document,vn.value=document.documentElement,Fe.target&&(vn.value=(xn=document.querySelector(Fe.target))!=null?xn:void 0,vn.value||throwError(hn,`target does not exist: ${Fe.target}`),bn.value=vn.value),kn()}),{visible:wn,handleClick:_n}},COMPONENT_NAME$h="ElBacktop",__default__$1n=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$2c=defineComponent({...__default__$1n,props:backtopProps,emits:backtopEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("backtop"),{handleClick:bn,visible:wn}=useBackTop(hn,qe,COMPONENT_NAME$h),kn=computed(()=>({right:`${hn.right}px`,bottom:`${hn.bottom}px`}));return(_n,Cn)=>(openBlock(),createBlock(Transition,{name:`${unref(vn).namespace.value}-fade-in`},{default:withCtx(()=>[unref(wn)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle(unref(kn)),class:normalizeClass(unref(vn).b()),onClick:Cn[0]||(Cn[0]=withModifiers((...xn)=>unref(bn)&&unref(bn)(...xn),["stop"]))},[renderSlot(_n.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(vn).e("icon"))},{default:withCtx(()=>[createVNode(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$2(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const ElBacktop=withInstall$1(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$18=["textContent"],__default__$1m=defineComponent({name:"ElBadge"}),_sfc_main$2b=defineComponent({...__default__$1m,props:badgeProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("badge"),bn=computed(()=>hn.isDot?"":isNumber$d(hn.value)&&isNumber$d(hn.max)?hn.max(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn).b())},[renderSlot(wn.$slots,"default"),createVNode(Transition,{name:`${unref(vn).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(vn).e("content"),unref(vn).em("content",wn.type),unref(vn).is("fixed",!!wn.$slots.default),unref(vn).is("dot",wn.isDot)]),textContent:toDisplayString(unref(bn))},null,10,_hoisted_1$18),[[vShow,!wn.hidden&&(unref(bn)||wn.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$2(_sfc_main$2b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall$1(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1l=defineComponent({name:"ElBreadcrumb"}),_sfc_main$2a=defineComponent({...__default__$1l,props:breadcrumbProps,setup(Fe){const qe=Fe,hn=useNamespace("breadcrumb"),vn=ref();return provide(breadcrumbKey,qe),onMounted(()=>{const bn=vn.value.querySelectorAll(`.${hn.e("item")}`);bn.length&&bn[bn.length-1].setAttribute("aria-current","page")}),(bn,wn)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:vn,class:normalizeClass(unref(hn).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(bn.$slots,"default")],2))}});var Breadcrumb=_export_sfc$2(_sfc_main$2a,[["__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__$1k=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$29=defineComponent({...__default__$1k,props:breadcrumbItemProps,setup(Fe){const qe=Fe,hn=getCurrentInstance(),vn=inject(breadcrumbKey,void 0),bn=useNamespace("breadcrumb"),wn=hn.appContext.config.globalProperties.$router,kn=ref(),_n=()=>{!qe.to||!wn||(qe.replace?wn.replace(qe.to):wn.push(qe.to))};return(Cn,xn)=>{var En,$n;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(bn).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:kn,class:normalizeClass([unref(bn).e("inner"),unref(bn).is("link",!!Cn.to)]),role:"link",onClick:_n},[renderSlot(Cn.$slots,"default")],2),(En=unref(vn))!=null&&En.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(bn).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(bn).e("separator")),role:"presentation"},toDisplayString(($n=unref(vn))==null?void 0:$n.separator),3))],2)}}});var BreadcrumbItem=_export_sfc$2(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall$1(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(Fe,qe)=>{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(()=>Fe.type==="text"));const hn=inject(buttonGroupContextKey,void 0),vn=useGlobalConfig("button"),{form:bn}=useFormItem(),wn=useFormSize(computed(()=>hn==null?void 0:hn.size)),kn=useFormDisabled(),_n=ref(),Cn=useSlots(),xn=computed(()=>Fe.type||(hn==null?void 0:hn.type)||""),En=computed(()=>{var Tn,Nn,Pn;return(Pn=(Nn=Fe.autoInsertSpace)!=null?Nn:(Tn=vn.value)==null?void 0:Tn.autoInsertSpace)!=null?Pn:!1}),$n=computed(()=>Fe.tag==="button"?{ariaDisabled:kn.value||Fe.loading,disabled:kn.value||Fe.loading,autofocus:Fe.autofocus,type:Fe.nativeType}:{}),Sn=computed(()=>{var Tn;const Nn=(Tn=Cn.default)==null?void 0:Tn.call(Cn);if(En.value&&(Nn==null?void 0:Nn.length)===1){const Pn=Nn[0];if((Pn==null?void 0:Pn.type)===Text$2){const On=Pn.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(On.trim())}}return!1});return{_disabled:kn,_size:wn,_type:xn,_ref:_n,_props:$n,shouldAddSpace:Sn,handleClick:Tn=>{Fe.nativeType==="reset"&&(bn==null||bn.resetFields()),qe("click",Tn)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:Fe=>Fe instanceof MouseEvent};function bound01$1(Fe,qe){isOnePointZero$1(Fe)&&(Fe="100%");var hn=isPercentage$1(Fe);return Fe=qe===360?Fe:Math.min(qe,Math.max(0,parseFloat(Fe))),hn&&(Fe=parseInt(String(Fe*qe),10)/100),Math.abs(Fe-qe)<1e-6?1:(qe===360?Fe=(Fe<0?Fe%qe+qe:Fe%qe)/parseFloat(String(qe)):Fe=Fe%qe/parseFloat(String(qe)),Fe)}function clamp01(Fe){return Math.min(1,Math.max(0,Fe))}function isOnePointZero$1(Fe){return typeof Fe=="string"&&Fe.indexOf(".")!==-1&&parseFloat(Fe)===1}function isPercentage$1(Fe){return typeof Fe=="string"&&Fe.indexOf("%")!==-1}function boundAlpha(Fe){return Fe=parseFloat(Fe),(isNaN(Fe)||Fe<0||Fe>1)&&(Fe=1),Fe}function convertToPercentage(Fe){return Fe<=1?"".concat(Number(Fe)*100,"%"):Fe}function pad2(Fe){return Fe.length===1?"0"+Fe:String(Fe)}function rgbToRgb(Fe,qe,hn){return{r:bound01$1(Fe,255)*255,g:bound01$1(qe,255)*255,b:bound01$1(hn,255)*255}}function rgbToHsl(Fe,qe,hn){Fe=bound01$1(Fe,255),qe=bound01$1(qe,255),hn=bound01$1(hn,255);var vn=Math.max(Fe,qe,hn),bn=Math.min(Fe,qe,hn),wn=0,kn=0,_n=(vn+bn)/2;if(vn===bn)kn=0,wn=0;else{var Cn=vn-bn;switch(kn=_n>.5?Cn/(2-vn-bn):Cn/(vn+bn),vn){case Fe:wn=(qe-hn)/Cn+(qe1&&(hn-=1),hn<1/6?Fe+(qe-Fe)*(6*hn):hn<1/2?qe:hn<2/3?Fe+(qe-Fe)*(2/3-hn)*6:Fe}function hslToRgb(Fe,qe,hn){var vn,bn,wn;if(Fe=bound01$1(Fe,360),qe=bound01$1(qe,100),hn=bound01$1(hn,100),qe===0)bn=hn,wn=hn,vn=hn;else{var kn=hn<.5?hn*(1+qe):hn+qe-hn*qe,_n=2*hn-kn;vn=hue2rgb(_n,kn,Fe+1/3),bn=hue2rgb(_n,kn,Fe),wn=hue2rgb(_n,kn,Fe-1/3)}return{r:vn*255,g:bn*255,b:wn*255}}function rgbToHsv(Fe,qe,hn){Fe=bound01$1(Fe,255),qe=bound01$1(qe,255),hn=bound01$1(hn,255);var vn=Math.max(Fe,qe,hn),bn=Math.min(Fe,qe,hn),wn=0,kn=vn,_n=vn-bn,Cn=vn===0?0:_n/vn;if(vn===bn)wn=0;else{switch(vn){case Fe:wn=(qe-hn)/_n+(qe>16,g:(Fe&65280)>>8,b:Fe&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(Fe){var qe={r:0,g:0,b:0},hn=1,vn=null,bn=null,wn=null,kn=!1,_n=!1;return typeof Fe=="string"&&(Fe=stringInputToObject(Fe)),typeof Fe=="object"&&(isValidCSSUnit(Fe.r)&&isValidCSSUnit(Fe.g)&&isValidCSSUnit(Fe.b)?(qe=rgbToRgb(Fe.r,Fe.g,Fe.b),kn=!0,_n=String(Fe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(Fe.h)&&isValidCSSUnit(Fe.s)&&isValidCSSUnit(Fe.v)?(vn=convertToPercentage(Fe.s),bn=convertToPercentage(Fe.v),qe=hsvToRgb(Fe.h,vn,bn),kn=!0,_n="hsv"):isValidCSSUnit(Fe.h)&&isValidCSSUnit(Fe.s)&&isValidCSSUnit(Fe.l)&&(vn=convertToPercentage(Fe.s),wn=convertToPercentage(Fe.l),qe=hslToRgb(Fe.h,vn,wn),kn=!0,_n="hsl"),Object.prototype.hasOwnProperty.call(Fe,"a")&&(hn=Fe.a)),hn=boundAlpha(hn),{ok:kn,format:Fe.format||_n,r:Math.min(255,Math.max(qe.r,0)),g:Math.min(255,Math.max(qe.g,0)),b:Math.min(255,Math.max(qe.b,0)),a:hn}}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(Fe){if(Fe=Fe.trim().toLowerCase(),Fe.length===0)return!1;var qe=!1;if(names[Fe])Fe=names[Fe],qe=!0;else if(Fe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var hn=matchers.rgb.exec(Fe);return hn?{r:hn[1],g:hn[2],b:hn[3]}:(hn=matchers.rgba.exec(Fe),hn?{r:hn[1],g:hn[2],b:hn[3],a:hn[4]}:(hn=matchers.hsl.exec(Fe),hn?{h:hn[1],s:hn[2],l:hn[3]}:(hn=matchers.hsla.exec(Fe),hn?{h:hn[1],s:hn[2],l:hn[3],a:hn[4]}:(hn=matchers.hsv.exec(Fe),hn?{h:hn[1],s:hn[2],v:hn[3]}:(hn=matchers.hsva.exec(Fe),hn?{h:hn[1],s:hn[2],v:hn[3],a:hn[4]}:(hn=matchers.hex8.exec(Fe),hn?{r:parseIntFromHex(hn[1]),g:parseIntFromHex(hn[2]),b:parseIntFromHex(hn[3]),a:convertHexToDecimal(hn[4]),format:qe?"name":"hex8"}:(hn=matchers.hex6.exec(Fe),hn?{r:parseIntFromHex(hn[1]),g:parseIntFromHex(hn[2]),b:parseIntFromHex(hn[3]),format:qe?"name":"hex"}:(hn=matchers.hex4.exec(Fe),hn?{r:parseIntFromHex(hn[1]+hn[1]),g:parseIntFromHex(hn[2]+hn[2]),b:parseIntFromHex(hn[3]+hn[3]),a:convertHexToDecimal(hn[4]+hn[4]),format:qe?"name":"hex8"}:(hn=matchers.hex3.exec(Fe),hn?{r:parseIntFromHex(hn[1]+hn[1]),g:parseIntFromHex(hn[2]+hn[2]),b:parseIntFromHex(hn[3]+hn[3]),format:qe?"name":"hex"}:!1)))))))))}function isValidCSSUnit(Fe){return!!matchers.CSS_UNIT.exec(String(Fe))}var TinyColor=function(){function Fe(qe,hn){qe===void 0&&(qe=""),hn===void 0&&(hn={});var vn;if(qe instanceof Fe)return qe;typeof qe=="number"&&(qe=numberInputToObject(qe)),this.originalInput=qe;var bn=inputToRGB(qe);this.originalInput=qe,this.r=bn.r,this.g=bn.g,this.b=bn.b,this.a=bn.a,this.roundA=Math.round(100*this.a)/100,this.format=(vn=hn.format)!==null&&vn!==void 0?vn:bn.format,this.gradientType=hn.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=bn.ok}return Fe.prototype.isDark=function(){return this.getBrightness()<128},Fe.prototype.isLight=function(){return!this.isDark()},Fe.prototype.getBrightness=function(){var qe=this.toRgb();return(qe.r*299+qe.g*587+qe.b*114)/1e3},Fe.prototype.getLuminance=function(){var qe=this.toRgb(),hn,vn,bn,wn=qe.r/255,kn=qe.g/255,_n=qe.b/255;return wn<=.03928?hn=wn/12.92:hn=Math.pow((wn+.055)/1.055,2.4),kn<=.03928?vn=kn/12.92:vn=Math.pow((kn+.055)/1.055,2.4),_n<=.03928?bn=_n/12.92:bn=Math.pow((_n+.055)/1.055,2.4),.2126*hn+.7152*vn+.0722*bn},Fe.prototype.getAlpha=function(){return this.a},Fe.prototype.setAlpha=function(qe){return this.a=boundAlpha(qe),this.roundA=Math.round(100*this.a)/100,this},Fe.prototype.isMonochrome=function(){var qe=this.toHsl().s;return qe===0},Fe.prototype.toHsv=function(){var qe=rgbToHsv(this.r,this.g,this.b);return{h:qe.h*360,s:qe.s,v:qe.v,a:this.a}},Fe.prototype.toHsvString=function(){var qe=rgbToHsv(this.r,this.g,this.b),hn=Math.round(qe.h*360),vn=Math.round(qe.s*100),bn=Math.round(qe.v*100);return this.a===1?"hsv(".concat(hn,", ").concat(vn,"%, ").concat(bn,"%)"):"hsva(".concat(hn,", ").concat(vn,"%, ").concat(bn,"%, ").concat(this.roundA,")")},Fe.prototype.toHsl=function(){var qe=rgbToHsl(this.r,this.g,this.b);return{h:qe.h*360,s:qe.s,l:qe.l,a:this.a}},Fe.prototype.toHslString=function(){var qe=rgbToHsl(this.r,this.g,this.b),hn=Math.round(qe.h*360),vn=Math.round(qe.s*100),bn=Math.round(qe.l*100);return this.a===1?"hsl(".concat(hn,", ").concat(vn,"%, ").concat(bn,"%)"):"hsla(".concat(hn,", ").concat(vn,"%, ").concat(bn,"%, ").concat(this.roundA,")")},Fe.prototype.toHex=function(qe){return qe===void 0&&(qe=!1),rgbToHex(this.r,this.g,this.b,qe)},Fe.prototype.toHexString=function(qe){return qe===void 0&&(qe=!1),"#"+this.toHex(qe)},Fe.prototype.toHex8=function(qe){return qe===void 0&&(qe=!1),rgbaToHex(this.r,this.g,this.b,this.a,qe)},Fe.prototype.toHex8String=function(qe){return qe===void 0&&(qe=!1),"#"+this.toHex8(qe)},Fe.prototype.toHexShortString=function(qe){return qe===void 0&&(qe=!1),this.a===1?this.toHexString(qe):this.toHex8String(qe)},Fe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},Fe.prototype.toRgbString=function(){var qe=Math.round(this.r),hn=Math.round(this.g),vn=Math.round(this.b);return this.a===1?"rgb(".concat(qe,", ").concat(hn,", ").concat(vn,")"):"rgba(".concat(qe,", ").concat(hn,", ").concat(vn,", ").concat(this.roundA,")")},Fe.prototype.toPercentageRgb=function(){var qe=function(hn){return"".concat(Math.round(bound01$1(hn,255)*100),"%")};return{r:qe(this.r),g:qe(this.g),b:qe(this.b),a:this.a}},Fe.prototype.toPercentageRgbString=function(){var qe=function(hn){return Math.round(bound01$1(hn,255)*100)};return this.a===1?"rgb(".concat(qe(this.r),"%, ").concat(qe(this.g),"%, ").concat(qe(this.b),"%)"):"rgba(".concat(qe(this.r),"%, ").concat(qe(this.g),"%, ").concat(qe(this.b),"%, ").concat(this.roundA,")")},Fe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var qe="#"+rgbToHex(this.r,this.g,this.b,!1),hn=0,vn=Object.entries(names);hn=0,wn=!hn&&bn&&(qe.startsWith("hex")||qe==="name");return wn?qe==="name"&&this.a===0?this.toName():this.toRgbString():(qe==="rgb"&&(vn=this.toRgbString()),qe==="prgb"&&(vn=this.toPercentageRgbString()),(qe==="hex"||qe==="hex6")&&(vn=this.toHexString()),qe==="hex3"&&(vn=this.toHexString(!0)),qe==="hex4"&&(vn=this.toHex8String(!0)),qe==="hex8"&&(vn=this.toHex8String()),qe==="name"&&(vn=this.toName()),qe==="hsl"&&(vn=this.toHslString()),qe==="hsv"&&(vn=this.toHsvString()),vn||this.toHexString())},Fe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},Fe.prototype.clone=function(){return new Fe(this.toString())},Fe.prototype.lighten=function(qe){qe===void 0&&(qe=10);var hn=this.toHsl();return hn.l+=qe/100,hn.l=clamp01(hn.l),new Fe(hn)},Fe.prototype.brighten=function(qe){qe===void 0&&(qe=10);var hn=this.toRgb();return hn.r=Math.max(0,Math.min(255,hn.r-Math.round(255*-(qe/100)))),hn.g=Math.max(0,Math.min(255,hn.g-Math.round(255*-(qe/100)))),hn.b=Math.max(0,Math.min(255,hn.b-Math.round(255*-(qe/100)))),new Fe(hn)},Fe.prototype.darken=function(qe){qe===void 0&&(qe=10);var hn=this.toHsl();return hn.l-=qe/100,hn.l=clamp01(hn.l),new Fe(hn)},Fe.prototype.tint=function(qe){return qe===void 0&&(qe=10),this.mix("white",qe)},Fe.prototype.shade=function(qe){return qe===void 0&&(qe=10),this.mix("black",qe)},Fe.prototype.desaturate=function(qe){qe===void 0&&(qe=10);var hn=this.toHsl();return hn.s-=qe/100,hn.s=clamp01(hn.s),new Fe(hn)},Fe.prototype.saturate=function(qe){qe===void 0&&(qe=10);var hn=this.toHsl();return hn.s+=qe/100,hn.s=clamp01(hn.s),new Fe(hn)},Fe.prototype.greyscale=function(){return this.desaturate(100)},Fe.prototype.spin=function(qe){var hn=this.toHsl(),vn=(hn.h+qe)%360;return hn.h=vn<0?360+vn:vn,new Fe(hn)},Fe.prototype.mix=function(qe,hn){hn===void 0&&(hn=50);var vn=this.toRgb(),bn=new Fe(qe).toRgb(),wn=hn/100,kn={r:(bn.r-vn.r)*wn+vn.r,g:(bn.g-vn.g)*wn+vn.g,b:(bn.b-vn.b)*wn+vn.b,a:(bn.a-vn.a)*wn+vn.a};return new Fe(kn)},Fe.prototype.analogous=function(qe,hn){qe===void 0&&(qe=6),hn===void 0&&(hn=30);var vn=this.toHsl(),bn=360/hn,wn=[this];for(vn.h=(vn.h-(bn*qe>>1)+720)%360;--qe;)vn.h=(vn.h+bn)%360,wn.push(new Fe(vn));return wn},Fe.prototype.complement=function(){var qe=this.toHsl();return qe.h=(qe.h+180)%360,new Fe(qe)},Fe.prototype.monochromatic=function(qe){qe===void 0&&(qe=6);for(var hn=this.toHsv(),vn=hn.h,bn=hn.s,wn=hn.v,kn=[],_n=1/qe;qe--;)kn.push(new Fe({h:vn,s:bn,v:wn})),wn=(wn+_n)%1;return kn},Fe.prototype.splitcomplement=function(){var qe=this.toHsl(),hn=qe.h;return[this,new Fe({h:(hn+72)%360,s:qe.s,l:qe.l}),new Fe({h:(hn+216)%360,s:qe.s,l:qe.l})]},Fe.prototype.onBackground=function(qe){var hn=this.toRgb(),vn=new Fe(qe).toRgb(),bn=hn.a+vn.a*(1-hn.a);return new Fe({r:(hn.r*hn.a+vn.r*vn.a*(1-hn.a))/bn,g:(hn.g*hn.a+vn.g*vn.a*(1-hn.a))/bn,b:(hn.b*hn.a+vn.b*vn.a*(1-hn.a))/bn,a:bn})},Fe.prototype.triad=function(){return this.polyad(3)},Fe.prototype.tetrad=function(){return this.polyad(4)},Fe.prototype.polyad=function(qe){for(var hn=this.toHsl(),vn=hn.h,bn=[this],wn=360/qe,kn=1;kn{let vn={};const bn=Fe.color;if(bn){const wn=new TinyColor(bn),kn=Fe.dark?wn.tint(20).toString():darken(wn,20);if(Fe.plain)vn=hn.cssVarBlock({"bg-color":Fe.dark?darken(wn,90):wn.tint(90).toString(),"text-color":bn,"border-color":Fe.dark?darken(wn,50):wn.tint(50).toString(),"hover-text-color":`var(${hn.cssVarName("color-white")})`,"hover-bg-color":bn,"hover-border-color":bn,"active-bg-color":kn,"active-text-color":`var(${hn.cssVarName("color-white")})`,"active-border-color":kn}),qe.value&&(vn[hn.cssVarBlockName("disabled-bg-color")]=Fe.dark?darken(wn,90):wn.tint(90).toString(),vn[hn.cssVarBlockName("disabled-text-color")]=Fe.dark?darken(wn,50):wn.tint(50).toString(),vn[hn.cssVarBlockName("disabled-border-color")]=Fe.dark?darken(wn,80):wn.tint(80).toString());else{const _n=Fe.dark?darken(wn,30):wn.tint(30).toString(),Cn=wn.isDark()?`var(${hn.cssVarName("color-white")})`:`var(${hn.cssVarName("color-black")})`;if(vn=hn.cssVarBlock({"bg-color":bn,"text-color":Cn,"border-color":bn,"hover-bg-color":_n,"hover-text-color":Cn,"hover-border-color":_n,"active-bg-color":kn,"active-border-color":kn}),qe.value){const xn=Fe.dark?darken(wn,50):wn.tint(50).toString();vn[hn.cssVarBlockName("disabled-bg-color")]=xn,vn[hn.cssVarBlockName("disabled-text-color")]=Fe.dark?"rgba(255, 255, 255, 0.5)":`var(${hn.cssVarName("color-white")})`,vn[hn.cssVarBlockName("disabled-border-color")]=xn}}}return vn})}const __default__$1j=defineComponent({name:"ElButton"}),_sfc_main$28=defineComponent({...__default__$1j,props:buttonProps,emits:buttonEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useButtonCustomStyle(vn),wn=useNamespace("button"),{_ref:kn,_size:_n,_type:Cn,_disabled:xn,_props:En,shouldAddSpace:$n,handleClick:Sn}=useButton(vn,hn);return qe({ref:kn,size:_n,type:Cn,disabled:xn,shouldAddSpace:$n}),(An,Tn)=>(openBlock(),createBlock(resolveDynamicComponent(An.tag),mergeProps({ref_key:"_ref",ref:kn},unref(En),{class:[unref(wn).b(),unref(wn).m(unref(Cn)),unref(wn).m(unref(_n)),unref(wn).is("disabled",unref(xn)),unref(wn).is("loading",An.loading),unref(wn).is("plain",An.plain),unref(wn).is("round",An.round),unref(wn).is("circle",An.circle),unref(wn).is("text",An.text),unref(wn).is("link",An.link),unref(wn).is("has-bg",An.bg)],style:unref(bn),onClick:unref(Sn)}),{default:withCtx(()=>[An.loading?(openBlock(),createElementBlock(Fragment,{key:0},[An.$slots.loading?renderSlot(An.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(wn).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.loadingIcon)))]),_:1},8,["class"]))],64)):An.icon||An.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[An.icon?(openBlock(),createBlock(resolveDynamicComponent(An.icon),{key:0})):renderSlot(An.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),An.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(wn).em("text","expand")]:unref($n)})},[renderSlot(An.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button$1=_export_sfc$2(_sfc_main$28,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1i=defineComponent({name:"ElButtonGroup"}),_sfc_main$27=defineComponent({...__default__$1i,props:buttonGroupProps,setup(Fe){const qe=Fe;provide(buttonGroupContextKey,reactive({size:toRef(qe,"size"),type:toRef(qe,"type")}));const hn=useNamespace("button");return(vn,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(hn).b("group")}`)},[renderSlot(vn.$slots,"default")],2))}});var ButtonGroup=_export_sfc$2(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall$1(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(Fe){return Fe&&Fe.__esModule&&Object.prototype.hasOwnProperty.call(Fe,"default")?Fe.default:Fe}var dayjs_min={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){var hn=1e3,vn=6e4,bn=36e5,wn="millisecond",kn="second",_n="minute",Cn="hour",xn="day",En="week",$n="month",Sn="quarter",An="year",Tn="date",Nn="Invalid Date",Pn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,On=/\[([^\]]+)]|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,Rn={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(Gn){var Wn=["th","st","nd","rd"],Yn=Gn%100;return"["+Gn+(Wn[(Yn-20)%10]||Wn[Yn]||Wn[0])+"]"}},In=function(Gn,Wn,Yn){var Xn=String(Gn);return!Xn||Xn.length>=Wn?Gn:""+Array(Wn+1-Xn.length).join(Yn)+Gn},Mn={s:In,z:function(Gn){var Wn=-Gn.utcOffset(),Yn=Math.abs(Wn),Xn=Math.floor(Yn/60),qn=Yn%60;return(Wn<=0?"+":"-")+In(Xn,2,"0")+":"+In(qn,2,"0")},m:function Gn(Wn,Yn){if(Wn.date()1)return Gn(Jn[0])}else{var Qn=Wn.name;Dn[Qn]=Wn,qn=Qn}return!Xn&&qn&&(Bn=qn),qn||!Xn&&Bn},Hn=function(Gn,Wn){if(Ln(Gn))return Gn.clone();var Yn=typeof Wn=="object"?Wn:{};return Yn.date=Gn,Yn.args=arguments,new Kn(Yn)},Fn=Mn;Fn.l=zn,Fn.i=Ln,Fn.w=function(Gn,Wn){return Hn(Gn,{locale:Wn.$L,utc:Wn.$u,x:Wn.$x,$offset:Wn.$offset})};var Kn=function(){function Gn(Yn){this.$L=zn(Yn.locale,null,!0),this.parse(Yn),this.$x=this.$x||Yn.x||{},this[Vn]=!0}var Wn=Gn.prototype;return Wn.parse=function(Yn){this.$d=function(Xn){var qn=Xn.date,jn=Xn.utc;if(qn===null)return new Date(NaN);if(Fn.u(qn))return new Date;if(qn instanceof Date)return new Date(qn);if(typeof qn=="string"&&!/Z$/i.test(qn)){var Jn=qn.match(Pn);if(Jn){var Qn=Jn[2]-1||0,no=(Jn[7]||"0").substring(0,3);return jn?new Date(Date.UTC(Jn[1],Qn,Jn[3]||1,Jn[4]||0,Jn[5]||0,Jn[6]||0,no)):new Date(Jn[1],Qn,Jn[3]||1,Jn[4]||0,Jn[5]||0,Jn[6]||0,no)}}return new Date(qn)}(Yn),this.init()},Wn.init=function(){var Yn=this.$d;this.$y=Yn.getFullYear(),this.$M=Yn.getMonth(),this.$D=Yn.getDate(),this.$W=Yn.getDay(),this.$H=Yn.getHours(),this.$m=Yn.getMinutes(),this.$s=Yn.getSeconds(),this.$ms=Yn.getMilliseconds()},Wn.$utils=function(){return Fn},Wn.isValid=function(){return this.$d.toString()!==Nn},Wn.isSame=function(Yn,Xn){var qn=Hn(Yn);return this.startOf(Xn)<=qn&&qn<=this.endOf(Xn)},Wn.isAfter=function(Yn,Xn){return Hn(Yn)68?1900:2e3)},xn=function(Nn){return function(Pn){this[Nn]=+Pn}},En=[/[+-]\d\d:?(\d\d)?|Z/,function(Nn){(this.zone||(this.zone={})).offset=function(Pn){if(!Pn||Pn==="Z")return 0;var On=Pn.match(/([+-]|\d\d)/g),Rn=60*On[1]+(+On[2]||0);return Rn===0?0:On[0]==="+"?-Rn:Rn}(Nn)}],$n=function(Nn){var Pn=_n[Nn];return Pn&&(Pn.indexOf?Pn:Pn.s.concat(Pn.f))},Sn=function(Nn,Pn){var On,Rn=_n.meridiem;if(Rn){for(var In=1;In<=24;In+=1)if(Nn.indexOf(Rn(In,0,Pn))>-1){On=In>12;break}}else On=Nn===(Pn?"pm":"PM");return On},An={A:[kn,function(Nn){this.afternoon=Sn(Nn,!1)}],a:[kn,function(Nn){this.afternoon=Sn(Nn,!0)}],S:[/\d/,function(Nn){this.milliseconds=100*+Nn}],SS:[bn,function(Nn){this.milliseconds=10*+Nn}],SSS:[/\d{3}/,function(Nn){this.milliseconds=+Nn}],s:[wn,xn("seconds")],ss:[wn,xn("seconds")],m:[wn,xn("minutes")],mm:[wn,xn("minutes")],H:[wn,xn("hours")],h:[wn,xn("hours")],HH:[wn,xn("hours")],hh:[wn,xn("hours")],D:[wn,xn("day")],DD:[bn,xn("day")],Do:[kn,function(Nn){var Pn=_n.ordinal,On=Nn.match(/\d+/);if(this.day=On[0],Pn)for(var Rn=1;Rn<=31;Rn+=1)Pn(Rn).replace(/\[|\]/g,"")===Nn&&(this.day=Rn)}],M:[wn,xn("month")],MM:[bn,xn("month")],MMM:[kn,function(Nn){var Pn=$n("months"),On=($n("monthsShort")||Pn.map(function(Rn){return Rn.slice(0,3)})).indexOf(Nn)+1;if(On<1)throw new Error;this.month=On%12||On}],MMMM:[kn,function(Nn){var Pn=$n("months").indexOf(Nn)+1;if(Pn<1)throw new Error;this.month=Pn%12||Pn}],Y:[/[+-]?\d+/,xn("year")],YY:[bn,function(Nn){this.year=Cn(Nn)}],YYYY:[/\d{4}/,xn("year")],Z:En,ZZ:En};function Tn(Nn){var Pn,On;Pn=Nn,On=_n&&_n.formats;for(var Rn=(Nn=Pn.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(zn,Hn,Fn){var Kn=Fn&&Fn.toUpperCase();return Hn||On[Fn]||hn[Fn]||On[Kn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Un,Gn,Wn){return Gn||Wn.slice(1)})})).match(vn),In=Rn.length,Mn=0;Mn-1)return new Date((Xn==="X"?1e3:1)*Yn);var jn=Tn(Xn)(Yn),Jn=jn.year,Qn=jn.month,no=jn.day,so=jn.hours,co=jn.minutes,mo=jn.seconds,fo=jn.milliseconds,io=jn.zone,ao=new Date,go=no||(Jn||Qn?1:ao.getDate()),yo=Jn||ao.getFullYear(),Bo=0;Jn&&!Qn||(Bo=Qn>0?Qn-1:ao.getMonth());var ro=so||0,eo=co||0,lo=mo||0,ho=fo||0;return io?new Date(Date.UTC(yo,Bo,go,ro,eo,lo,ho+60*io.offset*1e3)):qn?new Date(Date.UTC(yo,Bo,go,ro,eo,lo,ho)):new Date(yo,Bo,go,ro,eo,lo,ho)}catch{return new Date("")}}(Bn,Ln,Dn),this.init(),Kn&&Kn!==!0&&(this.$L=this.locale(Kn).$L),Fn&&Bn!=this.format(Ln)&&(this.$d=new Date("")),_n={}}else if(Ln instanceof Array)for(var Un=Ln.length,Gn=1;Gn<=Un;Gn+=1){Vn[1]=Ln[Gn-1];var Wn=On.apply(this,Vn);if(Wn.isValid()){this.$d=Wn.$d,this.$L=Wn.$L,this.init();break}Gn===Un&&(this.$d=new Date(""))}else In.call(this,Mn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(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=(Fe,qe)=>[Fe>0?Fe-1:void 0,Fe,FeArray.from(Array.from({length:Fe}).keys()),extractDateFormat=Fe=>Fe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=Fe=>Fe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(Fe,qe){const hn=isDate$a(Fe),vn=isDate$a(qe);return hn&&vn?Fe.getTime()===qe.getTime():!hn&&!vn?Fe===qe:!1},valueEquals=function(Fe,qe){const hn=isArray$x(Fe),vn=isArray$x(qe);return hn&&vn?Fe.length!==qe.length?!1:Fe.every((bn,wn)=>dateEquals(bn,qe[wn])):!hn&&!vn?dateEquals(Fe,qe):!1},parseDate$1=function(Fe,qe,hn){const vn=isEmpty$3(qe)||qe==="x"?dayjs(Fe).locale(hn):dayjs(Fe,qe).locale(hn);return vn.isValid()?vn:void 0},formatter=function(Fe,qe,hn){return isEmpty$3(qe)?Fe:qe==="x"?+Fe:dayjs(Fe).locale(hn).format(qe)},makeList=(Fe,qe)=>{var hn;const vn=[],bn=qe==null?void 0:qe();for(let wn=0;wn({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),_hoisted_1$17=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$M=["id","name","placeholder","value","disabled","readonly"],__default__$1h=defineComponent({name:"Picker"}),_sfc_main$26=defineComponent({...__default__$1h,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useAttrs$1(),{lang:wn}=useLocale(),kn=useNamespace("date"),_n=useNamespace("input"),Cn=useNamespace("range"),{form:xn,formItem:En}=useFormItem(),$n=inject("ElPopperOptions",{}),Sn=ref(),An=ref(),Tn=ref(!1),Nn=ref(!1),Pn=ref(null);let On=!1,Rn=!1;const In=computed(()=>[kn.b("editor"),kn.bm("editor",vn.type),_n.e("wrapper"),kn.is("disabled",no.value),kn.is("active",Tn.value),Cn.b("editor"),Po?Cn.bm("editor",Po.value):"",bn.class]),Mn=computed(()=>[_n.e("icon"),Cn.e("close-icon"),go.value?"":Cn.e("close-icon--hidden")]);watch(Tn,Eo=>{Eo?nextTick(()=>{Eo&&(Pn.value=vn.modelValue)}):(Ao.value=null,nextTick(()=>{Bn(vn.modelValue)}))});const Bn=(Eo,rr)=>{(rr||!valueEquals(Eo,Pn.value))&&(hn("change",Eo),vn.validateEvent&&(En==null||En.validate("change").catch(sr=>void 0)))},Dn=Eo=>{if(!valueEquals(vn.modelValue,Eo)){let rr;isArray$x(Eo)?rr=Eo.map(sr=>formatter(sr,vn.valueFormat,wn.value)):Eo&&(rr=formatter(Eo,vn.valueFormat,wn.value)),hn("update:modelValue",Eo&&rr,wn.value)}},Vn=Eo=>{hn("keydown",Eo)},Ln=computed(()=>{if(An.value){const Eo=Io.value?An.value:An.value.$el;return Array.from(Eo.querySelectorAll("input"))}return[]}),zn=(Eo,rr,sr)=>{const ur=Ln.value;ur.length&&(!sr||sr==="min"?(ur[0].setSelectionRange(Eo,rr),ur[0].focus()):sr==="max"&&(ur[1].setSelectionRange(Eo,rr),ur[1].focus()))},Hn=()=>{qn(!0,!0),nextTick(()=>{Rn=!1})},Fn=(Eo="",rr=!1)=>{rr||(Rn=!0),Tn.value=rr;let sr;isArray$x(Eo)?sr=Eo.map(ur=>ur.toDate()):sr=Eo&&Eo.toDate(),Ao.value=null,Dn(sr)},Kn=()=>{Nn.value=!0},Un=()=>{hn("visible-change",!0)},Gn=Eo=>{(Eo==null?void 0:Eo.key)===EVENT_CODE.esc&&qn(!0,!0)},Wn=()=>{Nn.value=!1,Tn.value=!1,Rn=!1,hn("visible-change",!1)},Yn=()=>{Tn.value=!0},Xn=()=>{Tn.value=!1},qn=(Eo=!0,rr=!1)=>{Rn=rr;const[sr,ur]=unref(Ln);let hr=sr;!Eo&&Io.value&&(hr=ur),hr&&hr.focus()},jn=Eo=>{vn.readonly||no.value||Tn.value||Rn||(Tn.value=!0,hn("focus",Eo))};let Jn;const Qn=Eo=>{const rr=async()=>{setTimeout(()=>{var sr;Jn===rr&&(!((sr=Sn.value)!=null&&sr.isFocusInsideContent()&&!On)&&Ln.value.filter(ur=>ur.contains(document.activeElement)).length===0&&(vo(),Tn.value=!1,hn("blur",Eo),vn.validateEvent&&(En==null||En.validate("blur").catch(ur=>void 0))),On=!1)},0)};Jn=rr,rr()},no=computed(()=>vn.disabled||(xn==null?void 0:xn.disabled)),so=computed(()=>{let Eo;if(Bo.value?$o.value.getDefaultValue&&(Eo=$o.value.getDefaultValue()):isArray$x(vn.modelValue)?Eo=vn.modelValue.map(rr=>parseDate$1(rr,vn.valueFormat,wn.value)):Eo=parseDate$1(vn.modelValue,vn.valueFormat,wn.value),$o.value.getRangeAvailableTime){const rr=$o.value.getRangeAvailableTime(Eo);isEqual$4(rr,Eo)||(Eo=rr,Dn(isArray$x(Eo)?Eo.map(sr=>sr.toDate()):Eo.toDate()))}return isArray$x(Eo)&&Eo.some(rr=>!rr)&&(Eo=[]),Eo}),co=computed(()=>{if(!$o.value.panelReady)return"";const Eo=jo(so.value);return isArray$x(Ao.value)?[Ao.value[0]||Eo&&Eo[0]||"",Ao.value[1]||Eo&&Eo[1]||""]:Ao.value!==null?Ao.value:!fo.value&&Bo.value||!Tn.value&&Bo.value?"":Eo?io.value?Eo.join(", "):Eo:""}),mo=computed(()=>vn.type.includes("time")),fo=computed(()=>vn.type.startsWith("time")),io=computed(()=>vn.type==="dates"),ao=computed(()=>vn.prefixIcon||(mo.value?clock_default:calendar_default)),go=ref(!1),yo=Eo=>{vn.readonly||no.value||go.value&&(Eo.stopPropagation(),Hn(),Dn(null),Bn(null,!0),go.value=!1,Tn.value=!1,$o.value.handleClear&&$o.value.handleClear())},Bo=computed(()=>{const{modelValue:Eo}=vn;return!Eo||isArray$x(Eo)&&!Eo.filter(Boolean).length}),ro=async Eo=>{var rr;vn.readonly||no.value||(((rr=Eo.target)==null?void 0:rr.tagName)!=="INPUT"||Ln.value.includes(document.activeElement))&&(Tn.value=!0)},eo=()=>{vn.readonly||no.value||!Bo.value&&vn.clearable&&(go.value=!0)},lo=()=>{go.value=!1},ho=Eo=>{var rr;vn.readonly||no.value||(((rr=Eo.touches[0].target)==null?void 0:rr.tagName)!=="INPUT"||Ln.value.includes(document.activeElement))&&(Tn.value=!0)},Io=computed(()=>vn.type.includes("range")),Po=useFormSize(),ko=computed(()=>{var Eo,rr;return(rr=(Eo=unref(Sn))==null?void 0:Eo.popperRef)==null?void 0:rr.contentRef}),xo=computed(()=>{var Eo;return unref(Io)?unref(An):(Eo=unref(An))==null?void 0:Eo.$el});onClickOutside(xo,Eo=>{const rr=unref(ko),sr=unref(xo);rr&&(Eo.target===rr||Eo.composedPath().includes(rr))||Eo.target===sr||Eo.composedPath().includes(sr)||(Tn.value=!1)});const Ao=ref(null),vo=()=>{if(Ao.value){const Eo=qo(co.value);Eo&&Ko(Eo)&&(Dn(isArray$x(Eo)?Eo.map(rr=>rr.toDate()):Eo.toDate()),Ao.value=null)}Ao.value===""&&(Dn(null),Bn(null),Ao.value=null)},qo=Eo=>Eo?$o.value.parseUserInput(Eo):null,jo=Eo=>Eo?$o.value.formatToString(Eo):null,Ko=Eo=>$o.value.isValidValue(Eo),bo=async Eo=>{if(vn.readonly||no.value)return;const{code:rr}=Eo;if(Vn(Eo),rr===EVENT_CODE.esc){Tn.value===!0&&(Tn.value=!1,Eo.preventDefault(),Eo.stopPropagation());return}if(rr===EVENT_CODE.down&&($o.value.handleFocusPicker&&(Eo.preventDefault(),Eo.stopPropagation()),Tn.value===!1&&(Tn.value=!0,await nextTick()),$o.value.handleFocusPicker)){$o.value.handleFocusPicker();return}if(rr===EVENT_CODE.tab){On=!0;return}if(rr===EVENT_CODE.enter||rr===EVENT_CODE.numpadEnter){(Ao.value===null||Ao.value===""||Ko(qo(co.value)))&&(vo(),Tn.value=!1),Eo.stopPropagation();return}if(Ao.value){Eo.stopPropagation();return}$o.value.handleKeydownInput&&$o.value.handleKeydownInput(Eo)},wo=Eo=>{Ao.value=Eo,Tn.value||(Tn.value=!0)},zo=Eo=>{const rr=Eo.target;Ao.value?Ao.value=[rr.value,Ao.value[1]]:Ao.value=[rr.value,null]},Yo=Eo=>{const rr=Eo.target;Ao.value?Ao.value=[Ao.value[0],rr.value]:Ao.value=[null,rr.value]},_o=()=>{var Eo;const rr=Ao.value,sr=qo(rr&&rr[0]),ur=unref(so);if(sr&&sr.isValid()){Ao.value=[jo(sr),((Eo=co.value)==null?void 0:Eo[1])||null];const hr=[sr,ur&&(ur[1]||null)];Ko(hr)&&(Dn(hr),Ao.value=null)}},Fo=()=>{var Eo;const rr=unref(Ao),sr=qo(rr&&rr[1]),ur=unref(so);if(sr&&sr.isValid()){Ao.value=[((Eo=unref(co))==null?void 0:Eo[0])||null,jo(sr)];const hr=[ur&&ur[0],sr];Ko(hr)&&(Dn(hr),Ao.value=null)}},$o=ref({}),Do=Eo=>{$o.value[Eo[0]]=Eo[1],$o.value.panelReady=!0},No=Eo=>{hn("calendar-change",Eo)},Vo=(Eo,rr,sr)=>{hn("panel-change",Eo,rr,sr)};return provide("EP_PICKER_BASE",{props:vn}),qe({focus:qn,handleFocusInput:jn,handleBlurInput:Qn,handleOpen:Yn,handleClose:Xn,onPick:Fn}),(Eo,rr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:Sn,visible:Tn.value,effect:"light",pure:"",trigger:"click"},Eo.$attrs,{role:"dialog",teleported:"",transition:`${unref(kn).namespace.value}-zoom-in-top`,"popper-class":[`${unref(kn).namespace.value}-picker__popper`,Eo.popperClass],"popper-options":unref($n),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Kn,onShow:Un,onHide:Wn}),{default:withCtx(()=>[unref(Io)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:An,class:normalizeClass(unref(In)),style:normalizeStyle(Eo.$attrs.style),onClick:jn,onMouseenter:eo,onMouseleave:lo,onTouchstart:ho,onKeydown:bo},[unref(ao)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(_n).e("icon"),unref(Cn).e("icon")]),onMousedown:withModifiers(ro,["prevent"]),onTouchstart:ho},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ao))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Eo.id&&Eo.id[0],autocomplete:"off",name:Eo.name&&Eo.name[0],placeholder:Eo.startPlaceholder,value:unref(co)&&unref(co)[0],disabled:unref(no),readonly:!Eo.editable||Eo.readonly,class:normalizeClass(unref(Cn).b("input")),onMousedown:ro,onInput:zo,onChange:_o,onFocus:jn,onBlur:Qn},null,42,_hoisted_1$17),renderSlot(Eo.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Cn).b("separator"))},toDisplayString(Eo.rangeSeparator),3)]),createBaseVNode("input",{id:Eo.id&&Eo.id[1],autocomplete:"off",name:Eo.name&&Eo.name[1],placeholder:Eo.endPlaceholder,value:unref(co)&&unref(co)[1],disabled:unref(no),readonly:!Eo.editable||Eo.readonly,class:normalizeClass(unref(Cn).b("input")),onMousedown:ro,onFocus:jn,onBlur:Qn,onInput:Yo,onChange:Fo},null,42,_hoisted_2$M),Eo.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(Mn)),onClick:yo},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Eo.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Eo.id,ref_key:"inputRef",ref:An,"container-role":"combobox","model-value":unref(co),name:Eo.name,size:unref(Po),disabled:unref(no),placeholder:Eo.placeholder,class:normalizeClass([unref(kn).b("editor"),unref(kn).bm("editor",Eo.type),Eo.$attrs.class]),style:normalizeStyle(Eo.$attrs.style),readonly:!Eo.editable||Eo.readonly||unref(io)||Eo.type==="week",label:Eo.label,tabindex:Eo.tabindex,"validate-event":!1,onInput:wo,onFocus:jn,onBlur:Qn,onKeydown:bo,onChange:vo,onMousedown:ro,onMouseenter:eo,onMouseleave:lo,onTouchstart:ho,onClick:rr[0]||(rr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(ao)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_n).e("icon")),onMousedown:withModifiers(ro,["prevent"]),onTouchstart:ho},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ao))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[go.value&&Eo.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(_n).e("icon")} clear-icon`),onClick:withModifiers(yo,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Eo.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(Eo.$slots,"default",{visible:Tn.value,actualVisible:Nn.value,parsedValue:unref(so),format:Eo.format,dateFormat:Eo.dateFormat,timeFormat:Eo.timeFormat,unlinkPanels:Eo.unlinkPanels,type:Eo.type,defaultValue:Eo.defaultValue,onPick:Fn,onSelectRange:zn,onSetPickerOption:Do,onCalendarChange:No,onPanelChange:Vo,onKeydown:Gn,onMousedown:rr[1]||(rr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$2(_sfc_main$26,[["__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:Fe,getAvailableMinutes:qe,getAvailableSeconds:hn})=>{const vn=(kn,_n,Cn,xn)=>{const En={hour:Fe,minute:qe,second:hn};let $n=kn;return["hour","minute","second"].forEach(Sn=>{if(En[Sn]){let An;const Tn=En[Sn];switch(Sn){case"minute":{An=Tn($n.hour(),_n,xn);break}case"second":{An=Tn($n.hour(),$n.minute(),_n,xn);break}default:{An=Tn(_n,xn);break}}if(An!=null&&An.length&&!An.includes($n[Sn]())){const Nn=Cn?0:An.length-1;$n=$n[Sn](An[Nn])}}}),$n},bn={};return{timePickerOptions:bn,getAvailableTime:vn,onSetOption:([kn,_n])=>{bn[kn]=_n}}},makeAvailableArr=Fe=>{const qe=(vn,bn)=>vn||bn,hn=vn=>vn!==!0;return Fe.map(qe).filter(hn)},getTimeLists=(Fe,qe,hn)=>({getHoursList:(kn,_n)=>makeList(24,Fe&&(()=>Fe==null?void 0:Fe(kn,_n))),getMinutesList:(kn,_n,Cn)=>makeList(60,qe&&(()=>qe==null?void 0:qe(kn,_n,Cn))),getSecondsList:(kn,_n,Cn,xn)=>makeList(60,hn&&(()=>hn==null?void 0:hn(kn,_n,Cn,xn)))}),buildAvailableTimeSlotGetter=(Fe,qe,hn)=>{const{getHoursList:vn,getMinutesList:bn,getSecondsList:wn}=getTimeLists(Fe,qe,hn);return{getAvailableHours:(xn,En)=>makeAvailableArr(vn(xn,En)),getAvailableMinutes:(xn,En,$n)=>makeAvailableArr(bn(xn,En,$n)),getAvailableSeconds:(xn,En,$n,Sn)=>makeAvailableArr(wn(xn,En,$n,Sn))}},useOldValue=Fe=>{const qe=ref(Fe.parsedValue);return watch(()=>Fe.visible,hn=>{hn||(qe.value=Fe.parsedValue)}),qe},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",Fe=>startClick=Fe),document.addEventListener("mouseup",Fe=>{for(const qe of nodeList.values())for(const{documentHandler:hn}of qe)hn(Fe,startClick)}));function createDocumentHandler(Fe,qe){let hn=[];return Array.isArray(qe.arg)?hn=qe.arg:isElement$4(qe.arg)&&hn.push(qe.arg),function(vn,bn){const wn=qe.instance.popperRef,kn=vn.target,_n=bn==null?void 0:bn.target,Cn=!qe||!qe.instance,xn=!kn||!_n,En=Fe.contains(kn)||Fe.contains(_n),$n=Fe===kn,Sn=hn.length&&hn.some(Tn=>Tn==null?void 0:Tn.contains(kn))||hn.length&&hn.includes(_n),An=wn&&(wn.contains(kn)||wn.contains(_n));Cn||xn||En||$n||Sn||An||qe.value(vn,bn)}}const ClickOutside={beforeMount(Fe,qe){nodeList.has(Fe)||nodeList.set(Fe,[]),nodeList.get(Fe).push({documentHandler:createDocumentHandler(Fe,qe),bindingFn:qe.value})},updated(Fe,qe){nodeList.has(Fe)||nodeList.set(Fe,[]);const hn=nodeList.get(Fe),vn=hn.findIndex(wn=>wn.bindingFn===qe.oldValue),bn={documentHandler:createDocumentHandler(Fe,qe),bindingFn:qe.value};vn>=0?hn.splice(vn,1,bn):hn.push(bn)},unmounted(Fe){nodeList.delete(Fe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(Fe,qe){const hn=qe.value,{interval:vn=REPEAT_INTERVAL,delay:bn=REPEAT_DELAY}=isFunction$i(hn)?{}:hn;let wn,kn;const _n=()=>isFunction$i(hn)?hn():hn.handler(),Cn=()=>{kn&&(clearTimeout(kn),kn=void 0),wn&&(clearInterval(wn),wn=void 0)};Fe.addEventListener("mousedown",xn=>{xn.button===0&&(Cn(),_n(),document.addEventListener("mouseup",()=>Cn(),{once:!0}),kn=setTimeout(()=>{wn=setInterval(()=>{_n()},vn)},bn))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=Fe=>{if(FOCUS_STACK.length===0)return;const qe=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(qe.length>0&&Fe.code===EVENT_CODE.tab){if(qe.length===1){Fe.preventDefault(),document.activeElement!==qe[0]&&qe[0].focus();return}const hn=Fe.shiftKey,vn=Fe.target===qe[0],bn=Fe.target===qe[qe.length-1];vn&&hn&&(Fe.preventDefault(),qe[qe.length-1].focus()),bn&&!hn&&(Fe.preventDefault(),qe[0].focus())}},TrapFocus={beforeMount(Fe){Fe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Fe),FOCUS_STACK.push(Fe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(Fe){nextTick(()=>{Fe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Fe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v$7=!1,o$6,f$6,s$4,u$7,d$9,N$5,l$6,p$7,m$8,w$6,D$2,x$4,E$8,M$3,F$6;function a$7(){if(!v$7){v$7=!0;var Fe=navigator.userAgent,qe=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(Fe),hn=/(Mac OS X)|(Windows)|(Linux)/.exec(Fe);if(x$4=/\b(iPhone|iP[ao]d)/.exec(Fe),E$8=/\b(iP[ao]d)/.exec(Fe),w$6=/Android/i.exec(Fe),M$3=/FBAN\/\w+;/i.exec(Fe),F$6=/Mobile/i.exec(Fe),D$2=!!/Win64/.exec(Fe),qe){o$6=qe[1]?parseFloat(qe[1]):qe[5]?parseFloat(qe[5]):NaN,o$6&&document&&document.documentMode&&(o$6=document.documentMode);var vn=/(?:Trident\/(\d+.\d+))/.exec(Fe);N$5=vn?parseFloat(vn[1])+4:o$6,f$6=qe[2]?parseFloat(qe[2]):NaN,s$4=qe[3]?parseFloat(qe[3]):NaN,u$7=qe[4]?parseFloat(qe[4]):NaN,u$7?(qe=/(?:Chrome\/(\d+\.\d+))/.exec(Fe),d$9=qe&&qe[1]?parseFloat(qe[1]):NaN):d$9=NaN}else o$6=f$6=s$4=d$9=u$7=NaN;if(hn){if(hn[1]){var bn=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(Fe);l$6=bn?parseFloat(bn[1].replace("_",".")):!0}else l$6=!1;p$7=!!hn[2],m$8=!!hn[3]}else l$6=p$7=m$8=!1}}var _$3={ie:function(){return a$7()||o$6},ieCompatibilityMode:function(){return a$7()||N$5>o$6},ie64:function(){return _$3.ie()&&D$2},firefox:function(){return a$7()||f$6},opera:function(){return a$7()||s$4},webkit:function(){return a$7()||u$7},safari:function(){return _$3.webkit()},chrome:function(){return a$7()||d$9},windows:function(){return a$7()||p$7},osx:function(){return a$7()||l$6},linux:function(){return a$7()||m$8},iphone:function(){return a$7()||x$4},mobile:function(){return a$7()||x$4||E$8||w$6||F$6},nativeApp:function(){return a$7()||M$3},android:function(){return a$7()||w$6},ipad:function(){return a$7()||E$8}},A$4=_$3,c$7=!!(typeof window<"u"&&window.document&&window.document.createElement),U$4={canUseDOM:c$7,canUseWorkers:typeof Worker<"u",canUseEventListeners:c$7&&!!(window.addEventListener||window.attachEvent),canUseViewport:c$7&&!!window.screen,isInWorker:!c$7},h$5=U$4,X$2;h$5.canUseDOM&&(X$2=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S$6(Fe,qe){if(!h$5.canUseDOM||qe&&!("addEventListener"in document))return!1;var hn="on"+Fe,vn=hn in document;if(!vn){var bn=document.createElement("div");bn.setAttribute(hn,"return;"),vn=typeof bn[hn]=="function"}return!vn&&X$2&&Fe==="wheel"&&(vn=document.implementation.hasFeature("Events.wheel","3.0")),vn}var b$7=S$6,O$4=10,I$2=40,P$5=800;function T$4(Fe){var qe=0,hn=0,vn=0,bn=0;return"detail"in Fe&&(hn=Fe.detail),"wheelDelta"in Fe&&(hn=-Fe.wheelDelta/120),"wheelDeltaY"in Fe&&(hn=-Fe.wheelDeltaY/120),"wheelDeltaX"in Fe&&(qe=-Fe.wheelDeltaX/120),"axis"in Fe&&Fe.axis===Fe.HORIZONTAL_AXIS&&(qe=hn,hn=0),vn=qe*O$4,bn=hn*O$4,"deltaY"in Fe&&(bn=Fe.deltaY),"deltaX"in Fe&&(vn=Fe.deltaX),(vn||bn)&&Fe.deltaMode&&(Fe.deltaMode==1?(vn*=I$2,bn*=I$2):(vn*=P$5,bn*=P$5)),vn&&!qe&&(qe=vn<1?-1:1),bn&&!hn&&(hn=bn<1?-1:1),{spinX:qe,spinY:hn,pixelX:vn,pixelY:bn}}T$4.getEventType=function(){return A$4.firefox()?"DOMMouseScroll":b$7("wheel")?"wheel":"mousewheel"};var Y$1=T$4;/** +* 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(Fe,qe){if(Fe&&Fe.addEventListener){const hn=function(vn){const bn=Y$1(vn);qe&&Reflect.apply(qe,this,[vn,bn])};Fe.addEventListener("wheel",hn,{passive:!0})}},Mousewheel={beforeMount(Fe,qe){mousewheel(Fe,qe.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$16=["onClick"],_hoisted_2$L=["onMouseenter"],_sfc_main$25=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("time"),{getHoursList:bn,getMinutesList:wn,getSecondsList:kn}=getTimeLists(hn.disabledHours,hn.disabledMinutes,hn.disabledSeconds);let _n=!1;const Cn=ref(),xn=ref(),En=ref(),$n=ref(),Sn={hours:xn,minutes:En,seconds:$n},An=computed(()=>hn.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),Tn=computed(()=>{const{spinnerDate:jn}=hn,Jn=jn.hour(),Qn=jn.minute(),no=jn.second();return{hours:Jn,minutes:Qn,seconds:no}}),Nn=computed(()=>{const{hours:jn,minutes:Jn}=unref(Tn);return{hours:bn(hn.role),minutes:wn(jn,hn.role),seconds:kn(jn,Jn,hn.role)}}),Pn=computed(()=>{const{hours:jn,minutes:Jn,seconds:Qn}=unref(Tn);return{hours:buildTimeList(jn,23),minutes:buildTimeList(Jn,59),seconds:buildTimeList(Qn,59)}}),On=debounce$3(jn=>{_n=!1,Mn(jn)},200),Rn=jn=>{if(!!!hn.amPmMode)return"";const Qn=hn.amPmMode==="A";let no=jn<12?" am":" pm";return Qn&&(no=no.toUpperCase()),no},In=jn=>{let Jn;switch(jn){case"hours":Jn=[0,2];break;case"minutes":Jn=[3,5];break;case"seconds":Jn=[6,8];break}const[Qn,no]=Jn;qe("select-range",Qn,no),Cn.value=jn},Mn=jn=>{Vn(jn,unref(Tn)[jn])},Bn=()=>{Mn("hours"),Mn("minutes"),Mn("seconds")},Dn=jn=>jn.querySelector(`.${vn.namespace.value}-scrollbar__wrap`),Vn=(jn,Jn)=>{if(hn.arrowControl)return;const Qn=unref(Sn[jn]);Qn&&Qn.$el&&(Dn(Qn.$el).scrollTop=Math.max(0,Jn*Ln(jn)))},Ln=jn=>{const Jn=unref(Sn[jn]),Qn=Jn==null?void 0:Jn.$el.querySelector("li");return Qn&&Number.parseFloat(getStyle(Qn,"height"))||0},zn=()=>{Fn(1)},Hn=()=>{Fn(-1)},Fn=jn=>{Cn.value||In("hours");const Jn=Cn.value,Qn=unref(Tn)[Jn],no=Cn.value==="hours"?24:60,so=Kn(Jn,Qn,jn,no);Un(Jn,so),Vn(Jn,so),nextTick(()=>In(Jn))},Kn=(jn,Jn,Qn,no)=>{let so=(Jn+Qn+no)%no;const co=unref(Nn)[jn];for(;co[so]&&so!==Jn;)so=(so+Qn+no)%no;return so},Un=(jn,Jn)=>{if(unref(Nn)[jn][Jn])return;const{hours:so,minutes:co,seconds:mo}=unref(Tn);let fo;switch(jn){case"hours":fo=hn.spinnerDate.hour(Jn).minute(co).second(mo);break;case"minutes":fo=hn.spinnerDate.hour(so).minute(Jn).second(mo);break;case"seconds":fo=hn.spinnerDate.hour(so).minute(co).second(Jn);break}qe("change",fo)},Gn=(jn,{value:Jn,disabled:Qn})=>{Qn||(Un(jn,Jn),In(jn),Vn(jn,Jn))},Wn=jn=>{_n=!0,On(jn);const Jn=Math.min(Math.round((Dn(unref(Sn[jn]).$el).scrollTop-(Yn(jn)*.5-10)/Ln(jn)+3)/Ln(jn)),jn==="hours"?23:59);Un(jn,Jn)},Yn=jn=>unref(Sn[jn]).$el.offsetHeight,Xn=()=>{const jn=Jn=>{const Qn=unref(Sn[Jn]);Qn&&Qn.$el&&(Dn(Qn.$el).onscroll=()=>{Wn(Jn)})};jn("hours"),jn("minutes"),jn("seconds")};onMounted(()=>{nextTick(()=>{!hn.arrowControl&&Xn(),Bn(),hn.role==="start"&&In("hours")})});const qn=(jn,Jn)=>{Sn[Jn].value=jn};return qe("set-option",[`${hn.role}_scrollDown`,Fn]),qe("set-option",[`${hn.role}_emitSelectRange`,In]),watch(()=>hn.spinnerDate,()=>{_n||Bn()}),(jn,Jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b("spinner"),{"has-seconds":jn.showSeconds}])},[jn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(An),Qn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Qn,ref_for:!0,ref:no=>qn(no,Qn),class:normalizeClass(unref(vn).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(vn).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:no=>In(Qn),onMousemove:no=>Mn(Qn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Nn)[Qn],(no,so)=>(openBlock(),createElementBlock("li",{key:so,class:normalizeClass([unref(vn).be("spinner","item"),unref(vn).is("active",so===unref(Tn)[Qn]),unref(vn).is("disabled",no)]),onClick:co=>Gn(Qn,{value:so,disabled:no})},[Qn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(jn.amPmMode?so%12||12:so)).slice(-2))+toDisplayString(Rn(so)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+so).slice(-2)),1)],64))],10,_hoisted_1$16))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),jn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(An),Qn=>(openBlock(),createElementBlock("div",{key:Qn,class:normalizeClass([unref(vn).be("spinner","wrapper"),unref(vn).is("arrow")]),onMouseenter:no=>In(Qn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(vn).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Hn]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(vn).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),zn]]),createBaseVNode("ul",{class:normalizeClass(unref(vn).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn)[Qn],(no,so)=>(openBlock(),createElementBlock("li",{key:so,class:normalizeClass([unref(vn).be("spinner","item"),unref(vn).is("active",no===unref(Tn)[Qn]),unref(vn).is("disabled",unref(Nn)[Qn][no])])},[typeof no=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Qn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(jn.amPmMode?no%12||12:no)).slice(-2))+toDisplayString(Rn(no)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+no).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$L))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$2(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$24=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(Fe,{emit:qe}){const hn=Fe,vn=inject("EP_PICKER_BASE"),{arrowControl:bn,disabledHours:wn,disabledMinutes:kn,disabledSeconds:_n,defaultValue:Cn}=vn.props,{getAvailableHours:xn,getAvailableMinutes:En,getAvailableSeconds:$n}=buildAvailableTimeSlotGetter(wn,kn,_n),Sn=useNamespace("time"),{t:An,lang:Tn}=useLocale(),Nn=ref([0,2]),Pn=useOldValue(hn),On=computed(()=>isUndefined$d(hn.actualVisible)?`${Sn.namespace.value}-zoom-in-top`:""),Rn=computed(()=>hn.format.includes("ss")),In=computed(()=>hn.format.includes("A")?"A":hn.format.includes("a")?"a":""),Mn=qn=>{const jn=dayjs(qn).locale(Tn.value),Jn=Gn(jn);return jn.isSame(Jn)},Bn=()=>{qe("pick",Pn.value,!1)},Dn=(qn=!1,jn=!1)=>{jn||qe("pick",hn.parsedValue,qn)},Vn=qn=>{if(!hn.visible)return;const jn=Gn(qn).millisecond(0);qe("pick",jn,!0)},Ln=(qn,jn)=>{qe("select-range",qn,jn),Nn.value=[qn,jn]},zn=qn=>{const jn=[0,3].concat(Rn.value?[6]:[]),Jn=["hours","minutes"].concat(Rn.value?["seconds"]:[]),no=(jn.indexOf(Nn.value[0])+qn+jn.length)%jn.length;Fn.start_emitSelectRange(Jn[no])},Hn=qn=>{const jn=qn.code,{left:Jn,right:Qn,up:no,down:so}=EVENT_CODE;if([Jn,Qn].includes(jn)){zn(jn===Jn?-1:1),qn.preventDefault();return}if([no,so].includes(jn)){const co=jn===no?-1:1;Fn.start_scrollDown(co),qn.preventDefault();return}},{timePickerOptions:Fn,onSetOption:Kn,getAvailableTime:Un}=useTimePanel({getAvailableHours:xn,getAvailableMinutes:En,getAvailableSeconds:$n}),Gn=qn=>Un(qn,hn.datetimeRole||"",!0),Wn=qn=>qn?dayjs(qn,hn.format).locale(Tn.value):null,Yn=qn=>qn?qn.format(hn.format):null,Xn=()=>dayjs(Cn).locale(Tn.value);return qe("set-picker-option",["isValidValue",Mn]),qe("set-picker-option",["formatToString",Yn]),qe("set-picker-option",["parseUserInput",Wn]),qe("set-picker-option",["handleKeydownInput",Hn]),qe("set-picker-option",["getRangeAvailableTime",Gn]),qe("set-picker-option",["getDefaultValue",Xn]),(qn,jn)=>(openBlock(),createBlock(Transition,{name:unref(On)},{default:withCtx(()=>[qn.actualVisible||qn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(Sn).be("panel","content"),{"has-seconds":unref(Rn)}])},[createVNode(TimeSpinner,{ref:"spinner",role:qn.datetimeRole||"start","arrow-control":unref(bn),"show-seconds":unref(Rn),"am-pm-mode":unref(In),"spinner-date":qn.parsedValue,"disabled-hours":unref(wn),"disabled-minutes":unref(kn),"disabled-seconds":unref(_n),onChange:Vn,onSetOption:unref(Kn),onSelectRange:Ln},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(Sn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).be("panel","btn"),"cancel"]),onClick:Bn},toDisplayString(unref(An)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).be("panel","btn"),"confirm"]),onClick:jn[0]||(jn[0]=Jn=>Dn())},toDisplayString(unref(An)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$2(_sfc_main$24,[["__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$15=["disabled"],_sfc_main$23=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(Fe,{emit:qe}){const hn=Fe,vn=(Bo,ro)=>{const eo=[];for(let lo=Bo;lo<=ro;lo++)eo.push(lo);return eo},{t:bn,lang:wn}=useLocale(),kn=useNamespace("time"),_n=useNamespace("picker"),Cn=inject("EP_PICKER_BASE"),{arrowControl:xn,disabledHours:En,disabledMinutes:$n,disabledSeconds:Sn,defaultValue:An}=Cn.props,Tn=computed(()=>[kn.be("range-picker","body"),kn.be("panel","content"),kn.is("arrow",xn),Mn.value?"has-seconds":""]),Nn=computed(()=>[kn.be("range-picker","body"),kn.be("panel","content"),kn.is("arrow",xn),Mn.value?"has-seconds":""]),Pn=computed(()=>hn.parsedValue[0]),On=computed(()=>hn.parsedValue[1]),Rn=useOldValue(hn),In=()=>{qe("pick",Rn.value,!1)},Mn=computed(()=>hn.format.includes("ss")),Bn=computed(()=>hn.format.includes("A")?"A":hn.format.includes("a")?"a":""),Dn=(Bo=!1)=>{qe("pick",[Pn.value,On.value],Bo)},Vn=Bo=>{Hn(Bo.millisecond(0),On.value)},Ln=Bo=>{Hn(Pn.value,Bo.millisecond(0))},zn=Bo=>{const ro=Bo.map(lo=>dayjs(lo).locale(wn.value)),eo=Qn(ro);return ro[0].isSame(eo[0])&&ro[1].isSame(eo[1])},Hn=(Bo,ro)=>{qe("pick",[Bo,ro],!0)},Fn=computed(()=>Pn.value>On.value),Kn=ref([0,2]),Un=(Bo,ro)=>{qe("select-range",Bo,ro,"min"),Kn.value=[Bo,ro]},Gn=computed(()=>Mn.value?11:8),Wn=(Bo,ro)=>{qe("select-range",Bo,ro,"max");const eo=unref(Gn);Kn.value=[Bo+eo,ro+eo]},Yn=Bo=>{const ro=Mn.value?[0,3,6,11,14,17]:[0,3,8,11],eo=["hours","minutes"].concat(Mn.value?["seconds"]:[]),ho=(ro.indexOf(Kn.value[0])+Bo+ro.length)%ro.length,Io=ro.length/2;ho{const ro=Bo.code,{left:eo,right:lo,up:ho,down:Io}=EVENT_CODE;if([eo,lo].includes(ro)){Yn(ro===eo?-1:1),Bo.preventDefault();return}if([ho,Io].includes(ro)){const Po=ro===ho?-1:1,ko=Kn.value[0]{const eo=En?En(Bo):[],lo=Bo==="start",Io=(ro||(lo?On.value:Pn.value)).hour(),Po=lo?vn(Io+1,23):vn(0,Io-1);return union$3(eo,Po)},jn=(Bo,ro,eo)=>{const lo=$n?$n(Bo,ro):[],ho=ro==="start",Io=eo||(ho?On.value:Pn.value),Po=Io.hour();if(Bo!==Po)return lo;const ko=Io.minute(),xo=ho?vn(ko+1,59):vn(0,ko-1);return union$3(lo,xo)},Jn=(Bo,ro,eo,lo)=>{const ho=Sn?Sn(Bo,ro,eo):[],Io=eo==="start",Po=lo||(Io?On.value:Pn.value),ko=Po.hour(),xo=Po.minute();if(Bo!==ko||ro!==xo)return ho;const Ao=Po.second(),vo=Io?vn(Ao+1,59):vn(0,Ao-1);return union$3(ho,vo)},Qn=([Bo,ro])=>[fo(Bo,"start",!0,ro),fo(ro,"end",!1,Bo)],{getAvailableHours:no,getAvailableMinutes:so,getAvailableSeconds:co}=buildAvailableTimeSlotGetter(qn,jn,Jn),{timePickerOptions:mo,getAvailableTime:fo,onSetOption:io}=useTimePanel({getAvailableHours:no,getAvailableMinutes:so,getAvailableSeconds:co}),ao=Bo=>Bo?isArray$x(Bo)?Bo.map(ro=>dayjs(ro,hn.format).locale(wn.value)):dayjs(Bo,hn.format).locale(wn.value):null,go=Bo=>Bo?isArray$x(Bo)?Bo.map(ro=>ro.format(hn.format)):Bo.format(hn.format):null,yo=()=>{if(isArray$x(An))return An.map(ro=>dayjs(ro).locale(wn.value));const Bo=dayjs(An).locale(wn.value);return[Bo,Bo.add(60,"m")]};return qe("set-picker-option",["formatToString",go]),qe("set-picker-option",["parseUserInput",ao]),qe("set-picker-option",["isValidValue",zn]),qe("set-picker-option",["handleKeydownInput",Xn]),qe("set-picker-option",["getDefaultValue",yo]),qe("set-picker-option",["getRangeAvailableTime",Qn]),(Bo,ro)=>Bo.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(kn).b("range-picker"),unref(_n).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(kn).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(kn).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(kn).be("range-picker","header"))},toDisplayString(unref(bn)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Tn))},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Mn),"am-pm-mode":unref(Bn),"arrow-control":unref(xn),"spinner-date":unref(Pn),"disabled-hours":qn,"disabled-minutes":jn,"disabled-seconds":Jn,onChange:Vn,onSetOption:unref(io),onSelectRange:Un},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(kn).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(kn).be("range-picker","header"))},toDisplayString(unref(bn)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(Nn))},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Mn),"am-pm-mode":unref(Bn),"arrow-control":unref(xn),"spinner-date":unref(On),"disabled-hours":qn,"disabled-minutes":jn,"disabled-seconds":Jn,onChange:Ln,onSetOption:unref(io),onSelectRange:Wn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(kn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(kn).be("panel","btn"),"cancel"]),onClick:ro[0]||(ro[0]=eo=>In())},toDisplayString(unref(bn)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(kn).be("panel","btn"),"confirm"]),disabled:unref(Fn),onClick:ro[1]||(ro[1]=eo=>Dn())},toDisplayString(unref(bn)("el.datepicker.confirm")),11,_hoisted_1$15)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$2(_sfc_main$23,[["__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(Fe,qe){const hn=ref(),[vn,bn]=Fe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],wn=kn=>qe.emit("update:modelValue",kn);return provide("ElPopperOptions",Fe.popperOptions),qe.expose({focus:kn=>{var _n;(_n=hn.value)==null||_n.handleFocusInput(kn)},blur:kn=>{var _n;(_n=hn.value)==null||_n.handleBlurInput(kn)},handleOpen:()=>{var kn;(kn=hn.value)==null||kn.handleOpen()},handleClose:()=>{var kn;(kn=hn.value)==null||kn.handleClose()}}),()=>{var kn;const _n=(kn=Fe.format)!=null?kn:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps(Fe,{ref:hn,type:vn,format:_n,"onUpdate:modelValue":wn}),{default:Cn=>createVNode(bn,Cn,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=Fe=>{Fe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(Fe,qe)=>{const hn=Fe.subtract(1,"month").endOf("month").date();return rangeArr(qe).map((vn,bn)=>hn-(qe-bn-1))},getMonthDays=Fe=>{const qe=Fe.daysInMonth();return rangeArr(qe).map((hn,vn)=>vn+1)},toNestedArr=Fe=>rangeArr(Fe.length/7).map(qe=>{const hn=qe*7;return Fe.slice(hn,hn+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:Fe=>isObject$9(Fe)};var localeData$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn,bn){var wn=vn.prototype,kn=function($n){return $n&&($n.indexOf?$n:$n.s)},_n=function($n,Sn,An,Tn,Nn){var Pn=$n.name?$n:$n.$locale(),On=kn(Pn[Sn]),Rn=kn(Pn[An]),In=On||Rn.map(function(Bn){return Bn.slice(0,Tn)});if(!Nn)return In;var Mn=Pn.weekStart;return In.map(function(Bn,Dn){return In[(Dn+(Mn||0))%7]})},Cn=function(){return bn.Ls[bn.locale()]},xn=function($n,Sn){return $n.formats[Sn]||function(An){return An.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Tn,Nn,Pn){return Nn||Pn.slice(1)})}($n.formats[Sn.toUpperCase()])},En=function(){var $n=this;return{months:function(Sn){return Sn?Sn.format("MMMM"):_n($n,"months")},monthsShort:function(Sn){return Sn?Sn.format("MMM"):_n($n,"monthsShort","months",3)},firstDayOfWeek:function(){return $n.$locale().weekStart||0},weekdays:function(Sn){return Sn?Sn.format("dddd"):_n($n,"weekdays")},weekdaysMin:function(Sn){return Sn?Sn.format("dd"):_n($n,"weekdaysMin","weekdays",2)},weekdaysShort:function(Sn){return Sn?Sn.format("ddd"):_n($n,"weekdaysShort","weekdays",3)},longDateFormat:function(Sn){return xn($n.$locale(),Sn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};wn.localeData=function(){return En.bind(this)()},bn.localeData=function(){var $n=Cn();return{firstDayOfWeek:function(){return $n.weekStart||0},weekdays:function(){return bn.weekdays()},weekdaysShort:function(){return bn.weekdaysShort()},weekdaysMin:function(){return bn.weekdaysMin()},months:function(){return bn.months()},monthsShort:function(){return bn.monthsShort()},longDateFormat:function(Sn){return xn($n,Sn)},meridiem:$n.meridiem,ordinal:$n.ordinal}},bn.months=function(){return _n(Cn(),"months")},bn.monthsShort=function(){return _n(Cn(),"monthsShort","months",3)},bn.weekdays=function($n){return _n(Cn(),"weekdays",null,null,$n)},bn.weekdaysShort=function($n){return _n(Cn(),"weekdaysShort","weekdays",3,$n)},bn.weekdaysMin=function($n){return _n(Cn(),"weekdaysMin","weekdays",2,$n)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(Fe,qe)=>{dayjs.extend(localeData);const hn=dayjs.localeData().firstDayOfWeek(),{t:vn,lang:bn}=useLocale(),wn=dayjs().locale(bn.value),kn=computed(()=>!!Fe.range&&!!Fe.range.length),_n=computed(()=>{let Sn=[];if(kn.value){const[An,Tn]=Fe.range,Nn=rangeArr(Tn.date()-An.date()+1).map(Rn=>({text:An.date()+Rn,type:"current"}));let Pn=Nn.length%7;Pn=Pn===0?0:7-Pn;const On=rangeArr(Pn).map((Rn,In)=>({text:In+1,type:"next"}));Sn=Nn.concat(On)}else{const An=Fe.date.startOf("month").day(),Tn=getPrevMonthLastDays(Fe.date,(An-hn+7)%7).map(Rn=>({text:Rn,type:"prev"})),Nn=getMonthDays(Fe.date).map(Rn=>({text:Rn,type:"current"}));Sn=[...Tn,...Nn];const Pn=7-(Sn.length%7||7),On=rangeArr(Pn).map((Rn,In)=>({text:In+1,type:"next"}));Sn=Sn.concat(On)}return toNestedArr(Sn)}),Cn=computed(()=>{const Sn=hn;return Sn===0?WEEK_DAYS.map(An=>vn(`el.datepicker.weeks.${An}`)):WEEK_DAYS.slice(Sn).concat(WEEK_DAYS.slice(0,Sn)).map(An=>vn(`el.datepicker.weeks.${An}`))}),xn=(Sn,An)=>{switch(An){case"prev":return Fe.date.startOf("month").subtract(1,"month").date(Sn);case"next":return Fe.date.startOf("month").add(1,"month").date(Sn);case"current":return Fe.date.date(Sn)}};return{now:wn,isInRange:kn,rows:_n,weekDays:Cn,getFormattedDate:xn,handlePickDay:({text:Sn,type:An})=>{const Tn=xn(Sn,An);qe("pick",Tn)},getSlotData:({text:Sn,type:An})=>{const Tn=xn(Sn,An);return{isSelected:Tn.isSame(Fe.selectedDay),type:`${An}-month`,day:Tn.format("YYYY-MM-DD"),date:Tn.toDate()}}}},_hoisted_1$14={key:0},_hoisted_2$K=["onClick"],__default__$1g=defineComponent({name:"DateTable"}),_sfc_main$22=defineComponent({...__default__$1g,props:dateTableProps,emits:dateTableEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{isInRange:bn,now:wn,rows:kn,weekDays:_n,getFormattedDate:Cn,handlePickDay:xn,getSlotData:En}=useDateTable(vn,hn),$n=useNamespace("calendar-table"),Sn=useNamespace("calendar-day"),An=({text:Tn,type:Nn})=>{const Pn=[Nn];if(Nn==="current"){const On=Cn(Tn,Nn);On.isSame(vn.selectedDay,"day")&&Pn.push(Sn.is("selected")),On.isSame(wn,"day")&&Pn.push(Sn.is("today"))}return Pn};return qe({getFormattedDate:Cn}),(Tn,Nn)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref($n).b(),unref($n).is("range",unref(bn))]),cellspacing:"0",cellpadding:"0"},[Tn.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_n),Pn=>(openBlock(),createElementBlock("th",{key:Pn},toDisplayString(Pn),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(kn),(Pn,On)=>(openBlock(),createElementBlock("tr",{key:On,class:normalizeClass({[unref($n).e("row")]:!0,[unref($n).em("row","hide-border")]:On===0&&Tn.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Pn,(Rn,In)=>(openBlock(),createElementBlock("td",{key:In,class:normalizeClass(An(Rn)),onClick:Mn=>unref(xn)(Rn)},[createBaseVNode("div",{class:normalizeClass(unref(Sn).b())},[renderSlot(Tn.$slots,"date-cell",{data:unref(En)(Rn)},()=>[createBaseVNode("span",null,toDisplayString(Rn.text),1)])],2)],10,_hoisted_2$K))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$2(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(Fe,qe)=>{const hn=Fe.endOf("month"),vn=qe.startOf("month"),wn=hn.isSame(vn,"week")?vn.add(1,"week"):vn;return[[Fe,hn],[wn.startOf("week"),qe]]},threeConsecutiveMonth=(Fe,qe)=>{const hn=Fe.endOf("month"),vn=Fe.add(1,"month").startOf("month"),bn=hn.isSame(vn,"week")?vn.add(1,"week"):vn,wn=bn.endOf("month"),kn=qe.startOf("month"),_n=wn.isSame(kn,"week")?kn.add(1,"week"):kn;return[[Fe,hn],[bn.startOf("week"),wn],[_n.startOf("week"),qe]]},useCalendar=(Fe,qe,hn)=>{const vn=useSlots(),{lang:bn}=useLocale(),wn=ref(),kn=dayjs().locale(bn.value),_n=computed({get(){return Fe.modelValue?xn.value:wn.value},set(On){if(!On)return;wn.value=On;const Rn=On.toDate();qe(INPUT_EVENT,Rn),qe(UPDATE_MODEL_EVENT,Rn)}}),Cn=computed(()=>{if(!Fe.range)return[];const On=Fe.range.map(Mn=>dayjs(Mn).locale(bn.value)),[Rn,In]=On;return Rn.isAfter(In)?[]:Rn.isSame(In,"month")?Tn(Rn,In):Rn.add(1,"month").month()!==In.month()?[]:Tn(Rn,In)}),xn=computed(()=>Fe.modelValue?dayjs(Fe.modelValue).locale(bn.value):_n.value||(Cn.value.length?Cn.value[0][0]:kn)),En=computed(()=>xn.value.subtract(1,"month").date(1)),$n=computed(()=>xn.value.add(1,"month").date(1)),Sn=computed(()=>xn.value.subtract(1,"year").date(1)),An=computed(()=>xn.value.add(1,"year").date(1)),Tn=(On,Rn)=>{const In=On.startOf("week"),Mn=Rn.endOf("week"),Bn=In.get("month"),Dn=Mn.get("month");return Bn===Dn?[[In,Mn]]:(Bn+1)%12===Dn?adjacentMonth(In,Mn):Bn+2===Dn||(Bn+1)%11===Dn?threeConsecutiveMonth(In,Mn):[]},Nn=On=>{_n.value=On},Pn=On=>{const In={"prev-month":En.value,"next-month":$n.value,"prev-year":Sn.value,"next-year":An.value,today:kn}[On];In.isSame(xn.value,"day")||Nn(In)};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(()=>!!vn.dateCell)),{calculateValidatedDateRange:Tn,date:xn,realSelectedDay:_n,pickDay:Nn,selectDate:Pn,validatedRange:Cn}},isValidRange$1=Fe=>isArray$x(Fe)&&Fe.length===2&&Fe.every(qe=>isDate$a(qe)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:Fe=>isDate$a(Fe),[INPUT_EVENT]:Fe=>isDate$a(Fe)},COMPONENT_NAME$g="ElCalendar",__default__$1f=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$21=defineComponent({...__default__$1f,props:calendarProps,emits:calendarEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useNamespace("calendar"),{calculateValidatedDateRange:wn,date:kn,pickDay:_n,realSelectedDay:Cn,selectDate:xn,validatedRange:En}=useCalendar(vn,hn),{t:$n}=useLocale(),Sn=computed(()=>{const An=`el.datepicker.month${kn.value.format("M")}`;return`${kn.value.year()} ${$n("el.datepicker.year")} ${$n(An)}`});return qe({selectedDay:Cn,pickDay:_n,selectDate:xn,calculateValidatedDateRange:wn}),(An,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(bn).b())},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("header"))},[renderSlot(An.$slots,"header",{date:unref(Sn)},()=>[createBaseVNode("div",{class:normalizeClass(unref(bn).e("title"))},toDisplayString(unref(Sn)),3),unref(En).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:Tn[0]||(Tn[0]=Nn=>unref(xn)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($n)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Tn[1]||(Tn[1]=Nn=>unref(xn)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($n)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:Tn[2]||(Tn[2]=Nn=>unref(xn)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($n)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(En).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).e("body"))},[createVNode(DateTable$1,{date:unref(kn),"selected-day":unref(Cn),onPick:unref(_n)},createSlots({_:2},[An.$slots["date-cell"]||An.$slots.dateCell?{name:"date-cell",fn:withCtx(Nn=>[An.$slots["date-cell"]?renderSlot(An.$slots,"date-cell",normalizeProps(mergeProps({key:0},Nn))):renderSlot(An.$slots,"dateCell",normalizeProps(mergeProps({key:1},Nn)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(bn).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(En),(Nn,Pn)=>(openBlock(),createBlock(DateTable$1,{key:Pn,date:Nn[0],"selected-day":unref(Cn),range:Nn,"hide-header":Pn!==0,onPick:unref(_n)},createSlots({_:2},[An.$slots["date-cell"]||An.$slots.dateCell?{name:"date-cell",fn:withCtx(On=>[An.$slots["date-cell"]?renderSlot(An.$slots,"date-cell",normalizeProps(mergeProps({key:0},On))):renderSlot(An.$slots,"dateCell",normalizeProps(mergeProps({key:1},On)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc$2(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall$1(Calendar),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1e=defineComponent({name:"ElCard"}),_sfc_main$20=defineComponent({...__default__$1e,props:cardProps,setup(Fe){const qe=useNamespace("card");return(hn,vn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(qe).is(`${hn.shadow}-shadow`)])},[hn.$slots.header||hn.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("header"))},[renderSlot(hn.$slots,"header",{},()=>[createTextVNode(toDisplayString(hn.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(qe).e("body"),hn.bodyClass]),style:normalizeStyle(hn.bodyStyle)},[renderSlot(hn.$slots,"default")],6),hn.$slots.footer||hn.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(qe).e("footer"))},[renderSlot(hn.$slots,"footer",{},()=>[createTextVNode(toDisplayString(hn.footer),1)])],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc$2(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall$1(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:(Fe,qe)=>[Fe,qe].every(isNumber$d)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(Fe,qe,hn)=>{const{children:vn,addChild:bn,removeChild:wn}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),kn=useSlots(),_n=ref(-1),Cn=ref(null),xn=ref(!1),En=ref(),$n=ref(0),Sn=ref(!0),An=computed(()=>Fe.arrow!=="never"&&!unref(Pn)),Tn=computed(()=>vn.value.some(so=>so.props.label.toString().length>0)),Nn=computed(()=>Fe.type==="card"),Pn=computed(()=>Fe.direction==="vertical"),On=computed(()=>Fe.height!=="auto"?{height:Fe.height}:{height:`${$n.value}px`,overflow:"hidden"}),Rn=throttle$2(so=>{Ln(so)},THROTTLE_TIME,{trailing:!0}),In=throttle$2(so=>{Yn(so)},THROTTLE_TIME),Mn=so=>Sn.value?_n.value<=1?so<=1:so>1:!0;function Bn(){Cn.value&&(clearInterval(Cn.value),Cn.value=null)}function Dn(){Fe.interval<=0||!Fe.autoplay||Cn.value||(Cn.value=setInterval(()=>Vn(),Fe.interval))}const Vn=()=>{_n.valueio.props.name===so);fo.length>0&&(so=vn.value.indexOf(fo[0]))}if(so=Number(so),Number.isNaN(so)||so!==Math.floor(so))return;const co=vn.value.length,mo=_n.value;so<0?_n.value=Fe.loop?co-1:0:so>=co?_n.value=Fe.loop?0:co-1:_n.value=so,mo===_n.value&&zn(mo),jn()}function zn(so){vn.value.forEach((co,mo)=>{co.translateItem(mo,_n.value,so)})}function Hn(so,co){var mo,fo,io,ao;const go=unref(vn),yo=go.length;if(yo===0||!so.states.inStage)return!1;const Bo=co+1,ro=co-1,eo=yo-1,lo=go[eo].states.active,ho=go[0].states.active,Io=(fo=(mo=go[Bo])==null?void 0:mo.states)==null?void 0:fo.active,Po=(ao=(io=go[ro])==null?void 0:io.states)==null?void 0:ao.active;return co===eo&&ho||Io?"left":co===0&&lo||Po?"right":!1}function Fn(){xn.value=!0,Fe.pauseOnHover&&Bn()}function Kn(){xn.value=!1,Dn()}function Un(so){unref(Pn)||vn.value.forEach((co,mo)=>{so===Hn(co,mo)&&(co.states.hover=!0)})}function Gn(){unref(Pn)||vn.value.forEach(so=>{so.states.hover=!1})}function Wn(so){_n.value=so}function Yn(so){Fe.trigger==="hover"&&so!==_n.value&&(_n.value=so)}function Xn(){Ln(_n.value-1)}function qn(){Ln(_n.value+1)}function jn(){Bn(),Fe.pauseOnHover||Dn()}function Jn(so){Fe.height==="auto"&&($n.value=so)}function Qn(){var so;const co=(so=kn.default)==null?void 0:so.call(kn);if(!co)return null;const mo=flattedChildren(co),fo="ElCarouselItem",io=mo.filter(ao=>isVNode(ao)&&ao.type.name===fo);return(io==null?void 0:io.length)===2&&Fe.loop&&!Nn.value?(Sn.value=!0,io):(Sn.value=!1,null)}watch(()=>_n.value,(so,co)=>{zn(co),Sn.value&&(so=so%2,co=co%2),co>-1&&qe("change",so,co)}),watch(()=>Fe.autoplay,so=>{so?Dn():Bn()}),watch(()=>Fe.loop,()=>{Ln(_n.value)}),watch(()=>Fe.interval,()=>{jn()});const no=shallowRef();return onMounted(()=>{watch(()=>vn.value,()=>{vn.value.length>0&&Ln(Fe.initialIndex)},{immediate:!0}),no.value=useResizeObserver(En.value,()=>{zn()}),Dn()}),onBeforeUnmount(()=>{Bn(),En.value&&no.value&&no.value.stop()}),provide(carouselContextKey,{root:En,isCardType:Nn,isVertical:Pn,items:vn,loop:Fe.loop,addItem:bn,removeItem:wn,setActiveItem:Ln,setContainerHeight:Jn}),{root:En,activeIndex:_n,arrowDisplay:An,hasLabel:Tn,hover:xn,isCardType:Nn,items:vn,isVertical:Pn,containerStyle:On,isItemsTwoLength:Sn,handleButtonEnter:Un,handleButtonLeave:Gn,handleIndicatorClick:Wn,handleMouseEnter:Fn,handleMouseLeave:Kn,setActiveItem:Ln,prev:Xn,next:qn,PlaceholderItem:Qn,isTwoLengthShow:Mn,throttledArrowClick:Rn,throttledIndicatorHover:In}},_hoisted_1$13=["onMouseenter","onClick"],_hoisted_2$J={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1d=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1$=defineComponent({...__default__$1d,props:carouselProps,emits:carouselEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{root:bn,activeIndex:wn,arrowDisplay:kn,hasLabel:_n,hover:Cn,isCardType:xn,items:En,isVertical:$n,containerStyle:Sn,handleButtonEnter:An,handleButtonLeave:Tn,handleIndicatorClick:Nn,handleMouseEnter:Pn,handleMouseLeave:On,setActiveItem:Rn,prev:In,next:Mn,PlaceholderItem:Bn,isTwoLengthShow:Dn,throttledArrowClick:Vn,throttledIndicatorHover:Ln}=useCarousel(vn,hn),zn=useNamespace("carousel"),Hn=computed(()=>{const Kn=[zn.b(),zn.m(vn.direction)];return unref(xn)&&Kn.push(zn.m("card")),Kn}),Fn=computed(()=>{const Kn=[zn.e("indicators"),zn.em("indicators",vn.direction)];return unref(_n)&&Kn.push(zn.em("indicators","labels")),vn.indicatorPosition==="outside"&&Kn.push(zn.em("indicators","outside")),unref($n)&&Kn.push(zn.em("indicators","right")),Kn});return qe({setActiveItem:Rn,prev:In,next:Mn}),(Kn,Un)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:bn,class:normalizeClass(unref(Hn)),onMouseenter:Un[6]||(Un[6]=withModifiers((...Gn)=>unref(Pn)&&unref(Pn)(...Gn),["stop"])),onMouseleave:Un[7]||(Un[7]=withModifiers((...Gn)=>unref(On)&&unref(On)(...Gn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(zn).e("container")),style:normalizeStyle(unref(Sn))},[unref(kn)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(zn).e("arrow"),unref(zn).em("arrow","left")]),onMouseenter:Un[0]||(Un[0]=Gn=>unref(An)("left")),onMouseleave:Un[1]||(Un[1]=(...Gn)=>unref(Tn)&&unref(Tn)(...Gn)),onClick:Un[2]||(Un[2]=withModifiers(Gn=>unref(Vn)(unref(wn)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,(Kn.arrow==="always"||unref(Cn))&&(vn.loop||unref(wn)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(kn)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(zn).e("arrow"),unref(zn).em("arrow","right")]),onMouseenter:Un[3]||(Un[3]=Gn=>unref(An)("right")),onMouseleave:Un[4]||(Un[4]=(...Gn)=>unref(Tn)&&unref(Tn)(...Gn)),onClick:Un[5]||(Un[5]=withModifiers(Gn=>unref(Vn)(unref(wn)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,(Kn.arrow==="always"||unref(Cn))&&(vn.loop||unref(wn)withDirectives((openBlock(),createElementBlock("li",{key:Wn,class:normalizeClass([unref(zn).e("indicator"),unref(zn).em("indicator",Kn.direction),unref(zn).is("active",Wn===unref(wn))]),onMouseenter:Yn=>unref(Ln)(Wn),onClick:withModifiers(Yn=>unref(Nn)(Wn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(zn).e("button"))},[unref(_n)?(openBlock(),createElementBlock("span",_hoisted_2$J,toDisplayString(Gn.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$13)),[[vShow,unref(Dn)(Wn)]])),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$2(_sfc_main$1$,[["__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=(Fe,qe)=>{const hn=inject(carouselContextKey),vn=getCurrentInstance(),bn=.83,wn=ref(),kn=ref(!1),_n=ref(0),Cn=ref(1),xn=ref(!1),En=ref(!1),$n=ref(!1),Sn=ref(!1),{isCardType:An,isVertical:Tn}=hn;function Nn(Mn,Bn,Dn){const Vn=Dn-1,Ln=Bn-1,zn=Bn+1,Hn=Dn/2;return Bn===0&&Mn===Vn?-1:Bn===Vn&&Mn===0?Dn:Mn=Hn?Dn+1:Mn>zn&&Mn-Bn>=Hn?-2:Mn}function Pn(Mn,Bn){var Dn,Vn;const Ln=unref(Tn)?((Dn=hn.root.value)==null?void 0:Dn.offsetHeight)||0:((Vn=hn.root.value)==null?void 0:Vn.offsetWidth)||0;return $n.value?Ln*((2-bn)*(Mn-Bn)+1)/4:Mn{var Vn;const Ln=unref(An),zn=(Vn=hn.items.value.length)!=null?Vn:Number.NaN,Hn=Mn===Bn;!Ln&&!isUndefined$d(Dn)&&(Sn.value=Hn||Mn===Dn),!Hn&&zn>2&&hn.loop&&(Mn=Nn(Mn,Bn,zn));const Fn=unref(Tn);xn.value=Hn,Ln?($n.value=Math.round(Math.abs(Mn-Bn))<=1,_n.value=Pn(Mn,Bn),Cn.value=unref(xn)?1:bn):_n.value=On(Mn,Bn,Fn),En.value=!0,Hn&&wn.value&&hn.setContainerHeight(wn.value.offsetHeight)};function In(){if(hn&&unref(An)){const Mn=hn.items.value.findIndex(({uid:Bn})=>Bn===vn.uid);hn.setActiveItem(Mn)}}return onMounted(()=>{hn.addItem({props:Fe,states:reactive({hover:kn,translate:_n,scale:Cn,active:xn,ready:En,inStage:$n,animating:Sn}),uid:vn.uid,translateItem:Rn})}),onUnmounted(()=>{hn.removeItem(vn.uid)}),{carouselItemRef:wn,active:xn,animating:Sn,hover:kn,inStage:$n,isVertical:Tn,translate:_n,isCardType:An,scale:Cn,ready:En,handleItemClick:In}},__default__$1c=defineComponent({name:"ElCarouselItem"}),_sfc_main$1_=defineComponent({...__default__$1c,props:carouselItemProps,setup(Fe){const qe=Fe,hn=useNamespace("carousel"),{carouselItemRef:vn,active:bn,animating:wn,hover:kn,inStage:_n,isVertical:Cn,translate:xn,isCardType:En,scale:$n,ready:Sn,handleItemClick:An}=useCarouselItem(qe),Tn=computed(()=>{const Pn=`${`translate${unref(Cn)?"Y":"X"}`}(${unref(xn)}px)`,On=`scale(${unref($n)})`;return{transform:[Pn,On].join(" ")}});return(Nn,Pn)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:vn,class:normalizeClass([unref(hn).e("item"),unref(hn).is("active",unref(bn)),unref(hn).is("in-stage",unref(_n)),unref(hn).is("hover",unref(kn)),unref(hn).is("animating",unref(wn)),{[unref(hn).em("item","card")]:unref(En),[unref(hn).em("item","card-vertical")]:unref(En)&&unref(Cn)}]),style:normalizeStyle(unref(Tn)),onClick:Pn[0]||(Pn[0]=(...On)=>unref(An)&&unref(An)(...On))},[unref(En)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(hn).e("mask"))},null,2)),[[vShow,!unref(bn)]]):createCommentVNode("v-if",!0),renderSlot(Nn.$slots,"default")],6)),[[vShow,unref(Sn)]])}});var CarouselItem=_export_sfc$2(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall$1(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},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]:Fe=>isString$d(Fe)||isNumber$d(Fe)||isBoolean$5(Fe),change:Fe=>isString$d(Fe)||isNumber$d(Fe)||isBoolean$5(Fe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:Fe,isChecked:qe})=>{const hn=inject(checkboxGroupContextKey,void 0),vn=computed(()=>{var wn,kn;const _n=(wn=hn==null?void 0:hn.max)==null?void 0:wn.value,Cn=(kn=hn==null?void 0:hn.min)==null?void 0:kn.value;return!isUndefined$d(_n)&&Fe.value.length>=_n&&!qe.value||!isUndefined$d(Cn)&&Fe.value.length<=Cn&&qe.value});return{isDisabled:useFormDisabled(computed(()=>(hn==null?void 0:hn.disabled.value)||vn.value)),isLimitDisabled:vn}},useCheckboxEvent=(Fe,{model:qe,isLimitExceeded:hn,hasOwnLabel:vn,isDisabled:bn,isLabeledByFormItem:wn})=>{const kn=inject(checkboxGroupContextKey,void 0),{formItem:_n}=useFormItem(),{emit:Cn}=getCurrentInstance();function xn(Tn){var Nn,Pn;return Tn===Fe.trueLabel||Tn===!0?(Nn=Fe.trueLabel)!=null?Nn:!0:(Pn=Fe.falseLabel)!=null?Pn:!1}function En(Tn,Nn){Cn("change",xn(Tn),Nn)}function $n(Tn){if(hn.value)return;const Nn=Tn.target;Cn("change",xn(Nn.checked),Tn)}async function Sn(Tn){hn.value||!vn.value&&!bn.value&&wn.value&&(Tn.composedPath().some(On=>On.tagName==="LABEL")||(qe.value=xn([!1,Fe.falseLabel].includes(qe.value)),await nextTick(),En(qe.value,Tn)))}const An=computed(()=>(kn==null?void 0:kn.validateEvent)||Fe.validateEvent);return watch(()=>Fe.modelValue,()=>{An.value&&(_n==null||_n.validate("change").catch(Tn=>void 0))}),{handleChange:$n,onClickRoot:Sn}},useCheckboxModel=Fe=>{const qe=ref(!1),{emit:hn}=getCurrentInstance(),vn=inject(checkboxGroupContextKey,void 0),bn=computed(()=>isUndefined$d(vn)===!1),wn=ref(!1);return{model:computed({get(){var _n,Cn;return bn.value?(_n=vn==null?void 0:vn.modelValue)==null?void 0:_n.value:(Cn=Fe.modelValue)!=null?Cn:qe.value},set(_n){var Cn,xn;bn.value&&isArray$x(_n)?(wn.value=((Cn=vn==null?void 0:vn.max)==null?void 0:Cn.value)!==void 0&&_n.length>(vn==null?void 0:vn.max.value),wn.value===!1&&((xn=vn==null?void 0:vn.changeEvent)==null||xn.call(vn,_n))):(hn(UPDATE_MODEL_EVENT,_n),qe.value=_n)}}),isGroup:bn,isLimitExceeded:wn}},useCheckboxStatus=(Fe,qe,{model:hn})=>{const vn=inject(checkboxGroupContextKey,void 0),bn=ref(!1),wn=computed(()=>{const xn=hn.value;return isBoolean$5(xn)?xn:isArray$x(xn)?isObject$9(Fe.label)?xn.map(toRaw).some(En=>isEqual$4(En,Fe.label)):xn.map(toRaw).includes(Fe.label):xn!=null?xn===Fe.trueLabel:!!xn}),kn=useFormSize(computed(()=>{var xn;return(xn=vn==null?void 0:vn.size)==null?void 0:xn.value}),{prop:!0}),_n=useFormSize(computed(()=>{var xn;return(xn=vn==null?void 0:vn.size)==null?void 0:xn.value})),Cn=computed(()=>!!qe.default||!isNil(Fe.label));return{checkboxButtonSize:kn,isChecked:wn,isFocused:bn,checkboxSize:_n,hasOwnLabel:Cn}},setStoreValue=(Fe,{model:qe})=>{function hn(){isArray$x(qe.value)&&!qe.value.includes(Fe.label)?qe.value.push(Fe.label):qe.value=Fe.trueLabel||!0}Fe.checked&&hn()},useCheckbox=(Fe,qe)=>{const{formItem:hn}=useFormItem(),{model:vn,isGroup:bn,isLimitExceeded:wn}=useCheckboxModel(Fe),{isFocused:kn,isChecked:_n,checkboxButtonSize:Cn,checkboxSize:xn,hasOwnLabel:En}=useCheckboxStatus(Fe,qe,{model:vn}),{isDisabled:$n}=useCheckboxDisabled({model:vn,isChecked:_n}),{inputId:Sn,isLabeledByFormItem:An}=useFormItemInputId(Fe,{formItemContext:hn,disableIdGeneration:En,disableIdManagement:bn}),{handleChange:Tn,onClickRoot:Nn}=useCheckboxEvent(Fe,{model:vn,isLimitExceeded:wn,hasOwnLabel:En,isDisabled:$n,isLabeledByFormItem:An});return setStoreValue(Fe,{model:vn}),{inputId:Sn,isLabeledByFormItem:An,isChecked:_n,isDisabled:$n,isFocused:kn,checkboxButtonSize:Cn,checkboxSize:xn,hasOwnLabel:En,model:vn,handleChange:Tn,onClickRoot:Nn}},_hoisted_1$12=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],_hoisted_2$I=["id","indeterminate","disabled","value","name","tabindex"],__default__$1b=defineComponent({name:"ElCheckbox"}),_sfc_main$1Z=defineComponent({...__default__$1b,props:checkboxProps,emits:checkboxEmits,setup(Fe){const qe=Fe,hn=useSlots(),{inputId:vn,isLabeledByFormItem:bn,isChecked:wn,isDisabled:kn,isFocused:_n,checkboxSize:Cn,hasOwnLabel:xn,model:En,handleChange:$n,onClickRoot:Sn}=useCheckbox(qe,hn),An=useNamespace("checkbox"),Tn=computed(()=>[An.b(),An.m(Cn.value),An.is("disabled",kn.value),An.is("bordered",qe.border),An.is("checked",wn.value)]),Nn=computed(()=>[An.e("input"),An.is("disabled",kn.value),An.is("checked",wn.value),An.is("indeterminate",qe.indeterminate),An.is("focus",_n.value)]);return(Pn,On)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(xn)&&unref(bn)?"span":"label"),{class:normalizeClass(unref(Tn)),"aria-controls":Pn.indeterminate?Pn.controls:null,onClick:unref(Sn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(Nn))},[Pn.trueLabel||Pn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(vn),"onUpdate:modelValue":On[0]||(On[0]=Rn=>isRef(En)?En.value=Rn:null),class:normalizeClass(unref(An).e("original")),type:"checkbox",indeterminate:Pn.indeterminate,name:Pn.name,tabindex:Pn.tabindex,disabled:unref(kn),"true-value":Pn.trueLabel,"false-value":Pn.falseLabel,onChange:On[1]||(On[1]=(...Rn)=>unref($n)&&unref($n)(...Rn)),onFocus:On[2]||(On[2]=Rn=>_n.value=!0),onBlur:On[3]||(On[3]=Rn=>_n.value=!1),onClick:On[4]||(On[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$12)),[[vModelCheckbox,unref(En)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(vn),"onUpdate:modelValue":On[5]||(On[5]=Rn=>isRef(En)?En.value=Rn:null),class:normalizeClass(unref(An).e("original")),type:"checkbox",indeterminate:Pn.indeterminate,disabled:unref(kn),value:Pn.label,name:Pn.name,tabindex:Pn.tabindex,onChange:On[6]||(On[6]=(...Rn)=>unref($n)&&unref($n)(...Rn)),onFocus:On[7]||(On[7]=Rn=>_n.value=!0),onBlur:On[8]||(On[8]=Rn=>_n.value=!1),onClick:On[9]||(On[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$I)),[[vModelCheckbox,unref(En)]]),createBaseVNode("span",{class:normalizeClass(unref(An).e("inner"))},null,2)],2),unref(xn)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(An).e("label"))},[renderSlot(Pn.$slots,"default"),Pn.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Pn.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox$1=_export_sfc$2(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$11=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$H=["name","tabindex","disabled","value"],__default__$1a=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1Y=defineComponent({...__default__$1a,props:checkboxProps,emits:checkboxEmits,setup(Fe){const qe=Fe,hn=useSlots(),{isFocused:vn,isChecked:bn,isDisabled:wn,checkboxButtonSize:kn,model:_n,handleChange:Cn}=useCheckbox(qe,hn),xn=inject(checkboxGroupContextKey,void 0),En=useNamespace("checkbox"),$n=computed(()=>{var An,Tn,Nn,Pn;const On=(Tn=(An=xn==null?void 0:xn.fill)==null?void 0:An.value)!=null?Tn:"";return{backgroundColor:On,borderColor:On,color:(Pn=(Nn=xn==null?void 0:xn.textColor)==null?void 0:Nn.value)!=null?Pn:"",boxShadow:On?`-1px 0 0 0 ${On}`:void 0}}),Sn=computed(()=>[En.b("button"),En.bm("button",kn.value),En.is("disabled",wn.value),En.is("checked",bn.value),En.is("focus",vn.value)]);return(An,Tn)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(Sn))},[An.trueLabel||An.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Tn[0]||(Tn[0]=Nn=>isRef(_n)?_n.value=Nn:null),class:normalizeClass(unref(En).be("button","original")),type:"checkbox",name:An.name,tabindex:An.tabindex,disabled:unref(wn),"true-value":An.trueLabel,"false-value":An.falseLabel,onChange:Tn[1]||(Tn[1]=(...Nn)=>unref(Cn)&&unref(Cn)(...Nn)),onFocus:Tn[2]||(Tn[2]=Nn=>vn.value=!0),onBlur:Tn[3]||(Tn[3]=Nn=>vn.value=!1),onClick:Tn[4]||(Tn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$11)),[[vModelCheckbox,unref(_n)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":Tn[5]||(Tn[5]=Nn=>isRef(_n)?_n.value=Nn:null),class:normalizeClass(unref(En).be("button","original")),type:"checkbox",name:An.name,tabindex:An.tabindex,disabled:unref(wn),value:An.label,onChange:Tn[6]||(Tn[6]=(...Nn)=>unref(Cn)&&unref(Cn)(...Nn)),onFocus:Tn[7]||(Tn[7]=Nn=>vn.value=!0),onBlur:Tn[8]||(Tn[8]=Nn=>vn.value=!1),onClick:Tn[9]||(Tn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$H)),[[vModelCheckbox,unref(_n)]]),An.$slots.default||An.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(En).be("button","inner")),style:normalizeStyle(unref(bn)?unref($n):void 0)},[renderSlot(An.$slots,"default",{},()=>[createTextVNode(toDisplayString(An.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$2(_sfc_main$1Y,[["__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]:Fe=>isArray$x(Fe),change:Fe=>isArray$x(Fe)},__default__$19=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1X=defineComponent({...__default__$19,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("checkbox"),{formItem:bn}=useFormItem(),{inputId:wn,isLabeledByFormItem:kn}=useFormItemInputId(hn,{formItemContext:bn}),_n=async xn=>{qe(UPDATE_MODEL_EVENT,xn),await nextTick(),qe("change",xn)},Cn=computed({get(){return hn.modelValue},set(xn){_n(xn)}});return provide(checkboxGroupContextKey,{...pick$3(toRefs(hn),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:Cn,changeEvent:_n}),watch(()=>hn.modelValue,()=>{hn.validateEvent&&(bn==null||bn.validate("change").catch(xn=>void 0))}),(xn,En)=>{var $n;return openBlock(),createBlock(resolveDynamicComponent(xn.tag),{id:unref(wn),class:normalizeClass(unref(vn).b("group")),role:"group","aria-label":unref(kn)?void 0:xn.label||"checkbox-group","aria-labelledby":unref(kn)?($n=unref(bn))==null?void 0:$n.labelId:void 0},{default:withCtx(()=>[renderSlot(xn.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup$1=_export_sfc$2(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall$1(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]:Fe=>isString$d(Fe)||isNumber$d(Fe)||isBoolean$5(Fe),[CHANGE_EVENT]:Fe=>isString$d(Fe)||isNumber$d(Fe)||isBoolean$5(Fe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(Fe,qe)=>{const hn=ref(),vn=inject(radioGroupKey,void 0),bn=computed(()=>!!vn),wn=computed({get(){return bn.value?vn.modelValue:Fe.modelValue},set(En){bn.value?vn.changeEvent(En):qe&&qe(UPDATE_MODEL_EVENT,En),hn.value.checked=Fe.modelValue===Fe.label}}),kn=useFormSize(computed(()=>vn==null?void 0:vn.size)),_n=useFormDisabled(computed(()=>vn==null?void 0:vn.disabled)),Cn=ref(!1),xn=computed(()=>_n.value||bn.value&&wn.value!==Fe.label?-1:0);return{radioRef:hn,isGroup:bn,radioGroup:vn,focus:Cn,size:kn,disabled:_n,tabIndex:xn,modelValue:wn}},_hoisted_1$10=["value","name","disabled"],__default__$18=defineComponent({name:"ElRadio"}),_sfc_main$1W=defineComponent({...__default__$18,props:radioProps,emits:radioEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("radio"),{radioRef:bn,radioGroup:wn,focus:kn,size:_n,disabled:Cn,modelValue:xn}=useRadio(hn,qe);function En(){nextTick(()=>qe("change",xn.value))}return($n,Sn)=>{var An;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(vn).b(),unref(vn).is("disabled",unref(Cn)),unref(vn).is("focus",unref(kn)),unref(vn).is("bordered",$n.border),unref(vn).is("checked",unref(xn)===$n.label),unref(vn).m(unref(_n))])},[createBaseVNode("span",{class:normalizeClass([unref(vn).e("input"),unref(vn).is("disabled",unref(Cn)),unref(vn).is("checked",unref(xn)===$n.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:bn,"onUpdate:modelValue":Sn[0]||(Sn[0]=Tn=>isRef(xn)?xn.value=Tn:null),class:normalizeClass(unref(vn).e("original")),value:$n.label,name:$n.name||((An=unref(wn))==null?void 0:An.name),disabled:unref(Cn),type:"radio",onFocus:Sn[1]||(Sn[1]=Tn=>kn.value=!0),onBlur:Sn[2]||(Sn[2]=Tn=>kn.value=!1),onChange:En,onClick:Sn[3]||(Sn[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$10),[[vModelRadio,unref(xn)]]),createBaseVNode("span",{class:normalizeClass(unref(vn).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(vn).e("label")),onKeydown:Sn[4]||(Sn[4]=withModifiers(()=>{},["stop"]))},[renderSlot($n.$slots,"default",{},()=>[createTextVNode(toDisplayString($n.label),1)])],34)],2)}}});var Radio$1=_export_sfc$2(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$$=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadioButton"}),_sfc_main$1V=defineComponent({...__default__$17,props:radioButtonProps,setup(Fe){const qe=Fe,hn=useNamespace("radio"),{radioRef:vn,focus:bn,size:wn,disabled:kn,modelValue:_n,radioGroup:Cn}=useRadio(qe),xn=computed(()=>({backgroundColor:(Cn==null?void 0:Cn.fill)||"",borderColor:(Cn==null?void 0:Cn.fill)||"",boxShadow:Cn!=null&&Cn.fill?`-1px 0 0 0 ${Cn.fill}`:"",color:(Cn==null?void 0:Cn.textColor)||""}));return(En,$n)=>{var Sn;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(hn).b("button"),unref(hn).is("active",unref(_n)===En.label),unref(hn).is("disabled",unref(kn)),unref(hn).is("focus",unref(bn)),unref(hn).bm("button",unref(wn))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:vn,"onUpdate:modelValue":$n[0]||($n[0]=An=>isRef(_n)?_n.value=An:null),class:normalizeClass(unref(hn).be("button","original-radio")),value:En.label,type:"radio",name:En.name||((Sn=unref(Cn))==null?void 0:Sn.name),disabled:unref(kn),onFocus:$n[1]||($n[1]=An=>bn.value=!0),onBlur:$n[2]||($n[2]=An=>bn.value=!1),onClick:$n[3]||($n[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$$),[[vModelRadio,unref(_n)]]),createBaseVNode("span",{class:normalizeClass(unref(hn).be("button","inner")),style:normalizeStyle(unref(_n)===En.label?unref(xn):{}),onKeydown:$n[4]||($n[4]=withModifiers(()=>{},["stop"]))},[renderSlot(En.$slots,"default",{},()=>[createTextVNode(toDisplayString(En.label),1)])],38)],2)}}});var RadioButton$1=_export_sfc$2(_sfc_main$1V,[["__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$_=["id","aria-label","aria-labelledby"],__default__$16=defineComponent({name:"ElRadioGroup"}),_sfc_main$1U=defineComponent({...__default__$16,props:radioGroupProps,emits:radioGroupEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("radio"),bn=useId(),wn=ref(),{formItem:kn}=useFormItem(),{inputId:_n,isLabeledByFormItem:Cn}=useFormItemInputId(hn,{formItemContext:kn}),xn=$n=>{qe(UPDATE_MODEL_EVENT,$n),nextTick(()=>qe("change",$n))};onMounted(()=>{const $n=wn.value.querySelectorAll("[type=radio]"),Sn=$n[0];!Array.from($n).some(An=>An.checked)&&Sn&&(Sn.tabIndex=0)});const En=computed(()=>hn.name||bn.value);return provide(radioGroupKey,reactive({...toRefs(hn),changeEvent:xn,name:En})),watch(()=>hn.modelValue,()=>{hn.validateEvent&&(kn==null||kn.validate("change").catch($n=>void 0))}),($n,Sn)=>(openBlock(),createElementBlock("div",{id:unref(_n),ref_key:"radioGroupRef",ref:wn,class:normalizeClass(unref(vn).b("group")),role:"radiogroup","aria-label":unref(Cn)?void 0:$n.label||"radio-group","aria-labelledby":unref(Cn)?unref(kn).labelId:void 0},[renderSlot($n.$slots,"default")],10,_hoisted_1$_))}});var RadioGroup$1=_export_sfc$2(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall$1(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:Fe}=this,{node:qe,panel:hn}=this.$parent,{data:vn,label:bn}=qe,{renderLabelFn:wn}=hn;return h$6("span",{class:Fe.e("label")},wn?wn({node:qe,data:vn}):bn)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1T=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(Fe,{emit:qe}){const hn=inject(CASCADER_PANEL_INJECTION_KEY),vn=useNamespace("cascader-node"),bn=computed(()=>hn.isHoverMenu),wn=computed(()=>hn.config.multiple),kn=computed(()=>hn.config.checkStrictly),_n=computed(()=>{var Dn;return(Dn=hn.checkedNodes[0])==null?void 0:Dn.uid}),Cn=computed(()=>Fe.node.isDisabled),xn=computed(()=>Fe.node.isLeaf),En=computed(()=>kn.value&&!xn.value||!Cn.value),$n=computed(()=>An(hn.expandingNode)),Sn=computed(()=>kn.value&&hn.checkedNodes.some(An)),An=Dn=>{var Vn;const{level:Ln,uid:zn}=Fe.node;return((Vn=Dn==null?void 0:Dn.pathNodes[Ln-1])==null?void 0:Vn.uid)===zn},Tn=()=>{$n.value||hn.expandNode(Fe.node)},Nn=Dn=>{const{node:Vn}=Fe;Dn!==Vn.checked&&hn.handleCheckChange(Vn,Dn)},Pn=()=>{hn.lazyLoad(Fe.node,()=>{xn.value||Tn()})},On=Dn=>{bn.value&&(Rn(),!xn.value&&qe("expand",Dn))},Rn=()=>{const{node:Dn}=Fe;!En.value||Dn.loading||(Dn.loaded?Tn():Pn())},In=()=>{bn.value&&!xn.value||(xn.value&&!Cn.value&&!kn.value&&!wn.value?Bn(!0):Rn())},Mn=Dn=>{kn.value?(Nn(Dn),Fe.node.loaded&&Tn()):Bn(Dn)},Bn=Dn=>{Fe.node.loaded?(Nn(Dn),!kn.value&&Tn()):Pn()};return{panel:hn,isHoverMenu:bn,multiple:wn,checkStrictly:kn,checkedNodeId:_n,isDisabled:Cn,isLeaf:xn,expandable:En,inExpandingPath:$n,inCheckedPath:Sn,ns:vn,handleHoverExpand:On,handleExpand:Rn,handleClick:In,handleCheck:Bn,handleSelectCheck:Mn}}}),_hoisted_1$Z=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$G=createBaseVNode("span",null,null,-1);function _sfc_render$v(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-checkbox"),_n=resolveComponent("el-radio"),Cn=resolveComponent("check"),xn=resolveComponent("el-icon"),En=resolveComponent("node-content"),$n=resolveComponent("loading"),Sn=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${Fe.menuId}-${Fe.node.uid}`,role:"menuitem","aria-haspopup":!Fe.isLeaf,"aria-owns":Fe.isLeaf?null:Fe.menuId,"aria-expanded":Fe.inExpandingPath,tabindex:Fe.expandable?-1:void 0,class:normalizeClass([Fe.ns.b(),Fe.ns.is("selectable",Fe.checkStrictly),Fe.ns.is("active",Fe.node.checked),Fe.ns.is("disabled",!Fe.expandable),Fe.inExpandingPath&&"in-active-path",Fe.inCheckedPath&&"in-checked-path"]),onMouseenter:qe[2]||(qe[2]=(...An)=>Fe.handleHoverExpand&&Fe.handleHoverExpand(...An)),onFocus:qe[3]||(qe[3]=(...An)=>Fe.handleHoverExpand&&Fe.handleHoverExpand(...An)),onClick:qe[4]||(qe[4]=(...An)=>Fe.handleClick&&Fe.handleClick(...An))},[createCommentVNode(" prefix "),Fe.multiple?(openBlock(),createBlock(kn,{key:0,"model-value":Fe.node.checked,indeterminate:Fe.node.indeterminate,disabled:Fe.isDisabled,onClick:qe[0]||(qe[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":Fe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):Fe.checkStrictly?(openBlock(),createBlock(_n,{key:1,"model-value":Fe.checkedNodeId,label:Fe.node.uid,disabled:Fe.isDisabled,"onUpdate:modelValue":Fe.handleSelectCheck,onClick:qe[1]||(qe[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$G]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):Fe.isLeaf&&Fe.node.checked?(openBlock(),createBlock(xn,{key:2,class:normalizeClass(Fe.ns.e("prefix"))},{default:withCtx(()=>[createVNode(Cn)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(En),createCommentVNode(" postfix "),Fe.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[Fe.node.loading?(openBlock(),createBlock(xn,{key:0,class:normalizeClass([Fe.ns.is("loading"),Fe.ns.e("postfix")])},{default:withCtx(()=>[createVNode($n)]),_:1},8,["class"])):(openBlock(),createBlock(xn,{key:1,class:normalizeClass(["arrow-right",Fe.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Sn)]),_:1},8,["class"]))],64))],42,_hoisted_1$Z)}var ElCascaderNode=_export_sfc$2(_sfc_main$1T,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1S=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(Fe){const qe=getCurrentInstance(),hn=useNamespace("cascader-menu"),{t:vn}=useLocale(),bn=generateId();let wn=null,kn=null;const _n=inject(CASCADER_PANEL_INJECTION_KEY),Cn=ref(null),xn=computed(()=>!Fe.nodes.length),En=computed(()=>!_n.initialLoaded),$n=computed(()=>`cascader-menu-${bn}-${Fe.index}`),Sn=Pn=>{wn=Pn.target},An=Pn=>{if(!(!_n.isHoverMenu||!wn||!Cn.value))if(wn.contains(Pn.target)){Tn();const On=qe.vnode.el,{left:Rn}=On.getBoundingClientRect(),{offsetWidth:In,offsetHeight:Mn}=On,Bn=Pn.clientX-Rn,Dn=wn.offsetTop,Vn=Dn+wn.offsetHeight;Cn.value.innerHTML=` + + + `}else kn||(kn=window.setTimeout(Nn,_n.config.hoverThreshold))},Tn=()=>{kn&&(clearTimeout(kn),kn=null)},Nn=()=>{Cn.value&&(Cn.value.innerHTML="",Tn())};return{ns:hn,panel:_n,hoverZone:Cn,isEmpty:xn,isLoading:En,menuId:$n,t:vn,handleExpand:Sn,handleMouseMove:An,clearHoverZone:Nn}}});function _sfc_render$u(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-cascader-node"),_n=resolveComponent("loading"),Cn=resolveComponent("el-icon"),xn=resolveComponent("el-scrollbar");return openBlock(),createBlock(xn,{key:Fe.menuId,tag:"ul",role:"menu",class:normalizeClass(Fe.ns.b()),"wrap-class":Fe.ns.e("wrap"),"view-class":[Fe.ns.e("list"),Fe.ns.is("empty",Fe.isEmpty)],onMousemove:Fe.handleMouseMove,onMouseleave:Fe.clearHoverZone},{default:withCtx(()=>{var En;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.nodes,$n=>(openBlock(),createBlock(kn,{key:$n.uid,node:$n,"menu-id":Fe.menuId,onExpand:Fe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),Fe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Fe.ns.e("empty-text"))},[createVNode(Cn,{size:"14",class:normalizeClass(Fe.ns.is("loading"))},{default:withCtx(()=>[createVNode(_n)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(Fe.t("el.cascader.loading")),1)],2)):Fe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Fe.ns.e("empty-text"))},toDisplayString(Fe.t("el.cascader.noData")),3)):(En=Fe.panel)!=null&&En.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(Fe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$2(_sfc_main$1S,[["render",_sfc_render$u],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=Fe=>{const qe=[Fe];let{parent:hn}=Fe;for(;hn;)qe.unshift(hn),hn=hn.parent;return qe};let Node$2=class ul{constructor(qe,hn,vn,bn=!1){this.data=qe,this.config=hn,this.parent=vn,this.root=bn,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:wn,label:kn,children:_n}=hn,Cn=qe[_n],xn=calculatePathNodes(this);this.level=bn?0:vn?vn.level+1:1,this.value=qe[wn],this.label=qe[kn],this.pathNodes=xn,this.pathValues=xn.map(En=>En.value),this.pathLabels=xn.map(En=>En.label),this.childrenData=Cn,this.children=(Cn||[]).map(En=>new ul(En,hn,this)),this.loaded=!hn.lazy||this.isLeaf||!isEmpty$3(Cn)}get isDisabled(){const{data:qe,parent:hn,config:vn}=this,{disabled:bn,checkStrictly:wn}=vn;return(isFunction$i(bn)?bn(qe,this):!!qe[bn])||!wn&&(hn==null?void 0:hn.isDisabled)}get isLeaf(){const{data:qe,config:hn,childrenData:vn,loaded:bn}=this,{lazy:wn,leaf:kn}=hn,_n=isFunction$i(kn)?kn(qe,this):qe[kn];return isUndefined$d(_n)?wn&&!bn?!1:!(Array.isArray(vn)&&vn.length):!!_n}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(qe){const{childrenData:hn,children:vn}=this,bn=new ul(qe,this.config,this);return Array.isArray(hn)?hn.push(qe):this.childrenData=[qe],vn.push(bn),bn}calcText(qe,hn){const vn=qe?this.pathLabels.join(hn):this.label;return this.text=vn,vn}broadcast(qe,...hn){const vn=`onParent${capitalize(qe)}`;this.children.forEach(bn=>{bn&&(bn.broadcast(qe,...hn),bn[vn]&&bn[vn](...hn))})}emit(qe,...hn){const{parent:vn}=this,bn=`onChild${capitalize(qe)}`;vn&&(vn[bn]&&vn[bn](...hn),vn.emit(qe,...hn))}onParentCheck(qe){this.isDisabled||this.setCheckState(qe)}onChildCheck(){const{children:qe}=this,hn=qe.filter(bn=>!bn.isDisabled),vn=hn.length?hn.every(bn=>bn.checked):!1;this.setCheckState(vn)}setCheckState(qe){const hn=this.children.length,vn=this.children.reduce((bn,wn)=>{const kn=wn.checked?1:wn.indeterminate?.5:0;return bn+kn},0);this.checked=this.loaded&&this.children.filter(bn=>!bn.isDisabled).every(bn=>bn.loaded&&bn.checked)&&qe,this.indeterminate=this.loaded&&vn!==hn&&vn>0}doCheck(qe){if(this.checked===qe)return;const{checkStrictly:hn,multiple:vn}=this.config;hn||!vn?this.checked=qe:(this.broadcast("check",qe),this.setCheckState(qe),this.emit("check"))}};const flatNodes=(Fe,qe)=>Fe.reduce((hn,vn)=>(vn.isLeaf?hn.push(vn):(!qe&&hn.push(vn),hn=hn.concat(flatNodes(vn.children,qe))),hn),[]);let Store$1=class{constructor(qe,hn){this.config=hn;const vn=(qe||[]).map(bn=>new Node$2(bn,this.config));this.nodes=vn,this.allNodes=flatNodes(vn,!1),this.leafNodes=flatNodes(vn,!0)}getNodes(){return this.nodes}getFlattedNodes(qe){return qe?this.leafNodes:this.allNodes}appendNode(qe,hn){const vn=hn?hn.appendChild(qe):new Node$2(qe,this.config);hn||this.nodes.push(vn),this.allNodes.push(vn),vn.isLeaf&&this.leafNodes.push(vn)}appendNodes(qe,hn){qe.forEach(vn=>this.appendNode(vn,hn))}getNodeByValue(qe,hn=!1){return!qe&&qe!==0?null:this.getFlattedNodes(hn).find(bn=>isEqual$4(bn.value,qe)||isEqual$4(bn.pathValues,qe))||null}getSameNode(qe){return qe&&this.getFlattedNodes(!1).find(({value:vn,level:bn})=>isEqual$4(qe.value,vn)&&qe.level===bn)||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=Fe=>computed(()=>({...DefaultProps,...Fe.props})),getMenuIndex=Fe=>{if(!Fe)return 0;const qe=Fe.id.split("-");return Number(qe[qe.length-2])},checkNode=Fe=>{if(!Fe)return;const qe=Fe.querySelector("input");qe?qe.click():isLeaf(Fe)&&Fe.click()},sortByOriginalOrder=(Fe,qe)=>{const hn=qe.slice(0),vn=hn.map(wn=>wn.uid),bn=Fe.reduce((wn,kn)=>{const _n=vn.indexOf(kn.uid);return _n>-1&&(wn.push(kn),hn.splice(_n,1),vn.splice(_n,1)),wn},[]);return bn.push(...hn),bn},_sfc_main$1R=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(Fe,{emit:qe,slots:hn}){let vn=!1;const bn=useNamespace("cascader"),wn=useCascaderConfig(Fe);let kn=null;const _n=ref(!0),Cn=ref([]),xn=ref(null),En=ref([]),$n=ref(null),Sn=ref([]),An=computed(()=>wn.value.expandTrigger==="hover"),Tn=computed(()=>Fe.renderLabel||hn.default),Nn=()=>{const{options:Kn}=Fe,Un=wn.value;vn=!1,kn=new Store$1(Kn,Un),En.value=[kn.getNodes()],Un.lazy&&isEmpty$3(Fe.options)?(_n.value=!1,Pn(void 0,Gn=>{Gn&&(kn=new Store$1(Gn,Un),En.value=[kn.getNodes()]),_n.value=!0,Ln(!1,!0)})):Ln(!1,!0)},Pn=(Kn,Un)=>{const Gn=wn.value;Kn=Kn||new Node$2({},Gn,void 0,!0),Kn.loading=!0;const Wn=Yn=>{const Xn=Kn,qn=Xn.root?null:Xn;Yn&&(kn==null||kn.appendNodes(Yn,qn)),Xn.loading=!1,Xn.loaded=!0,Xn.childrenData=Xn.childrenData||[],Un&&Un(Yn)};Gn.lazyLoad(Kn,Wn)},On=(Kn,Un)=>{var Gn;const{level:Wn}=Kn,Yn=En.value.slice(0,Wn);let Xn;Kn.isLeaf?Xn=Kn.pathNodes[Wn-2]:(Xn=Kn,Yn.push(Kn.children)),((Gn=$n.value)==null?void 0:Gn.uid)!==(Xn==null?void 0:Xn.uid)&&($n.value=Kn,En.value=Yn,!Un&&qe("expand-change",(Kn==null?void 0:Kn.pathValues)||[]))},Rn=(Kn,Un,Gn=!0)=>{const{checkStrictly:Wn,multiple:Yn}=wn.value,Xn=Sn.value[0];vn=!0,!Yn&&(Xn==null||Xn.doCheck(!1)),Kn.doCheck(Un),Vn(),Gn&&!Yn&&!Wn&&qe("close"),!Gn&&!Yn&&!Wn&&In(Kn)},In=Kn=>{Kn&&(Kn=Kn.parent,In(Kn),Kn&&On(Kn))},Mn=Kn=>kn==null?void 0:kn.getFlattedNodes(Kn),Bn=Kn=>{var Un;return(Un=Mn(Kn))==null?void 0:Un.filter(Gn=>Gn.checked!==!1)},Dn=()=>{Sn.value.forEach(Kn=>Kn.doCheck(!1)),Vn(),En.value=En.value.slice(0,1),$n.value=null,qe("expand-change",[])},Vn=()=>{var Kn;const{checkStrictly:Un,multiple:Gn}=wn.value,Wn=Sn.value,Yn=Bn(!Un),Xn=sortByOriginalOrder(Wn,Yn),qn=Xn.map(jn=>jn.valueByOption);Sn.value=Xn,xn.value=Gn?qn:(Kn=qn[0])!=null?Kn:null},Ln=(Kn=!1,Un=!1)=>{const{modelValue:Gn}=Fe,{lazy:Wn,multiple:Yn,checkStrictly:Xn}=wn.value,qn=!Xn;if(!(!_n.value||vn||!Un&&isEqual$4(Gn,xn.value)))if(Wn&&!Kn){const Jn=unique(flattenDeep$1(castArray(Gn))).map(Qn=>kn==null?void 0:kn.getNodeByValue(Qn)).filter(Qn=>!!Qn&&!Qn.loaded&&!Qn.loading);Jn.length?Jn.forEach(Qn=>{Pn(Qn,()=>Ln(!1,Un))}):Ln(!0,Un)}else{const jn=Yn?castArray(Gn):[Gn],Jn=unique(jn.map(Qn=>kn==null?void 0:kn.getNodeByValue(Qn,qn)));zn(Jn,Un),xn.value=cloneDeep(Gn)}},zn=(Kn,Un=!0)=>{const{checkStrictly:Gn}=wn.value,Wn=Sn.value,Yn=Kn.filter(jn=>!!jn&&(Gn||jn.isLeaf)),Xn=kn==null?void 0:kn.getSameNode($n.value),qn=Un&&Xn||Yn[0];qn?qn.pathNodes.forEach(jn=>On(jn,!0)):$n.value=null,Wn.forEach(jn=>jn.doCheck(!1)),Fe.props.multiple?reactive(Yn).forEach(jn=>jn.doCheck(!0)):Yn.forEach(jn=>jn.doCheck(!0)),Sn.value=Yn,nextTick(Hn)},Hn=()=>{isClient$1&&Cn.value.forEach(Kn=>{const Un=Kn==null?void 0:Kn.$el;if(Un){const Gn=Un.querySelector(`.${bn.namespace.value}-scrollbar__wrap`),Wn=Un.querySelector(`.${bn.b("node")}.${bn.is("active")}`)||Un.querySelector(`.${bn.b("node")}.in-active-path`);scrollIntoView$1(Gn,Wn)}})},Fn=Kn=>{const Un=Kn.target,{code:Gn}=Kn;switch(Gn){case EVENT_CODE.up:case EVENT_CODE.down:{Kn.preventDefault();const Wn=Gn===EVENT_CODE.up?-1:1;focusNode(getSibling(Un,Wn,`.${bn.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Kn.preventDefault();const Wn=Cn.value[getMenuIndex(Un)-1],Yn=Wn==null?void 0:Wn.$el.querySelector(`.${bn.b("node")}[aria-expanded="true"]`);focusNode(Yn);break}case EVENT_CODE.right:{Kn.preventDefault();const Wn=Cn.value[getMenuIndex(Un)+1],Yn=Wn==null?void 0:Wn.$el.querySelector(`.${bn.b("node")}[tabindex="-1"]`);focusNode(Yn);break}case EVENT_CODE.enter:checkNode(Un);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:wn,expandingNode:$n,checkedNodes:Sn,isHoverMenu:An,initialLoaded:_n,renderLabelFn:Tn,lazyLoad:Pn,expandNode:On,handleCheckChange:Rn})),watch([wn,()=>Fe.options],Nn,{deep:!0,immediate:!0}),watch(()=>Fe.modelValue,()=>{vn=!1,Ln()},{deep:!0}),watch(()=>xn.value,Kn=>{isEqual$4(Kn,Fe.modelValue)||(qe(UPDATE_MODEL_EVENT,Kn),qe(CHANGE_EVENT,Kn))}),onBeforeUpdate(()=>Cn.value=[]),onMounted(()=>!isEmpty$3(Fe.modelValue)&&Ln()),{ns:bn,menuList:Cn,menus:En,checkedNodes:Sn,handleKeyDown:Fn,handleCheckChange:Rn,getFlattedNodes:Mn,getCheckedNodes:Bn,clearCheckedNodes:Dn,calculateCheckedValue:Vn,scrollToExpandingNode:Hn}}});function _sfc_render$t(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([Fe.ns.b("panel"),Fe.ns.is("bordered",Fe.border)]),onKeydown:qe[0]||(qe[0]=(..._n)=>Fe.handleKeyDown&&Fe.handleKeyDown(..._n))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.menus,(_n,Cn)=>(openBlock(),createBlock(kn,{key:Cn,ref_for:!0,ref:xn=>Fe.menuList[Cn]=xn,index:Cn,nodes:[..._n]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$2(_sfc_main$1R,[["render",_sfc_render$t],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);CascaderPanel.install=Fe=>{Fe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:componentSizes,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:Fe=>Fe instanceof MouseEvent,click:Fe=>Fe instanceof MouseEvent},__default__$15=defineComponent({name:"ElTag"}),_sfc_main$1Q=defineComponent({...__default__$15,props:tagProps,emits:tagEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useFormSize(),bn=useNamespace("tag"),wn=computed(()=>{const{type:Cn,hit:xn,effect:En,closable:$n,round:Sn}=hn;return[bn.b(),bn.is("closable",$n),bn.m(Cn),bn.m(vn.value),bn.m(En),bn.is("hit",xn),bn.is("round",Sn)]}),kn=Cn=>{qe("close",Cn)},_n=Cn=>{qe("click",Cn)};return(Cn,xn)=>Cn.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(wn)),style:normalizeStyle({backgroundColor:Cn.color}),onClick:_n},[createBaseVNode("span",{class:normalizeClass(unref(bn).e("content"))},[renderSlot(Cn.$slots,"default")],2),Cn.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(bn).e("close")),onClick:withModifiers(kn,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(bn).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(wn)),style:normalizeStyle({backgroundColor:Cn.color}),onClick:_n},[createBaseVNode("span",{class:normalizeClass(unref(bn).e("content"))},[renderSlot(Cn.$slots,"default")],2),Cn.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(bn).e("close")),onClick:withModifiers(kn,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$2(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall$1(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(Fe,qe)=>Fe.text.includes(qe)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cascaderEmits={[UPDATE_MODEL_EVENT]:Fe=>!!Fe||Fe===null,[CHANGE_EVENT]:Fe=>!!Fe||Fe===null,focus:Fe=>Fe instanceof FocusEvent,blur:Fe=>Fe instanceof FocusEvent,visibleChange:Fe=>isBoolean$5(Fe),expandChange:Fe=>!!Fe,removeTag:Fe=>!!Fe},_hoisted_1$Y={key:0},_hoisted_2$F=["placeholder","onKeydown"],_hoisted_3$n=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$14=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1P=defineComponent({...__default__$14,props:cascaderProps,emits:cascaderEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Do})=>{const{modifiersData:No,placement:Vo}=Do;["right","left","bottom","top"].includes(Vo)||(No.arrow.x=35)},requires:["arrow"]}]},wn=useAttrs$1();let kn=0,_n=0;const Cn=useNamespace("cascader"),xn=useNamespace("input"),{t:En}=useLocale(),{form:$n,formItem:Sn}=useFormItem(),An=ref(null),Tn=ref(null),Nn=ref(null),Pn=ref(null),On=ref(null),Rn=ref(!1),In=ref(!1),Mn=ref(!1),Bn=ref(!1),Dn=ref(""),Vn=ref(""),Ln=ref([]),zn=ref([]),Hn=ref([]),Fn=ref(!1),Kn=computed(()=>wn.style),Un=computed(()=>vn.disabled||($n==null?void 0:$n.disabled)),Gn=computed(()=>vn.placeholder||En("el.cascader.placeholder")),Wn=computed(()=>Vn.value||Ln.value.length>0||Fn.value?"":Gn.value),Yn=useFormSize(),Xn=computed(()=>["small"].includes(Yn.value)?"small":"default"),qn=computed(()=>!!vn.props.multiple),jn=computed(()=>!vn.filterable||qn.value),Jn=computed(()=>qn.value?Vn.value:Dn.value),Qn=computed(()=>{var Do;return((Do=Pn.value)==null?void 0:Do.checkedNodes)||[]}),no=computed(()=>!vn.clearable||Un.value||Mn.value||!In.value?!1:!!Qn.value.length),so=computed(()=>{const{showAllLevels:Do,separator:No}=vn,Vo=Qn.value;return Vo.length?qn.value?"":Vo[0].calcText(Do,No):""}),co=computed({get(){return cloneDeep(vn.modelValue)},set(Do){hn(UPDATE_MODEL_EVENT,Do),hn(CHANGE_EVENT,Do),vn.validateEvent&&(Sn==null||Sn.validate("change").catch(No=>void 0))}}),mo=computed(()=>[Cn.b(),Cn.m(Yn.value),Cn.is("disabled",Un.value),wn.class]),fo=computed(()=>[xn.e("icon"),"icon-arrow-down",Cn.is("reverse",Rn.value)]),io=computed(()=>Cn.is("focus",Rn.value||Bn.value)),ao=computed(()=>{var Do,No;return(No=(Do=An.value)==null?void 0:Do.popperRef)==null?void 0:No.contentRef}),go=Do=>{var No,Vo,Eo;Un.value||(Do=Do??!Rn.value,Do!==Rn.value&&(Rn.value=Do,(Vo=(No=Tn.value)==null?void 0:No.input)==null||Vo.setAttribute("aria-expanded",`${Do}`),Do?(yo(),nextTick((Eo=Pn.value)==null?void 0:Eo.scrollToExpandingNode)):vn.filterable&&jo(),hn("visibleChange",Do)))},yo=()=>{nextTick(()=>{var Do;(Do=An.value)==null||Do.updatePopper()})},Bo=()=>{Mn.value=!1},ro=Do=>{const{showAllLevels:No,separator:Vo}=vn;return{node:Do,key:Do.uid,text:Do.calcText(No,Vo),hitState:!1,closable:!Un.value&&!Do.isDisabled,isCollapseTag:!1}},eo=Do=>{var No;const Vo=Do.node;Vo.doCheck(!1),(No=Pn.value)==null||No.calculateCheckedValue(),hn("removeTag",Vo.valueByOption)},lo=()=>{if(!qn.value)return;const Do=Qn.value,No=[],Vo=[];if(Do.forEach(Eo=>Vo.push(ro(Eo))),zn.value=Vo,Do.length){Do.slice(0,vn.maxCollapseTags).forEach(sr=>No.push(ro(sr)));const Eo=Do.slice(vn.maxCollapseTags),rr=Eo.length;rr&&(vn.collapseTags?No.push({key:-1,text:`+ ${rr}`,closable:!1,isCollapseTag:!0}):Eo.forEach(sr=>No.push(ro(sr))))}Ln.value=No},ho=()=>{var Do,No;const{filterMethod:Vo,showAllLevels:Eo,separator:rr}=vn,sr=(No=(Do=Pn.value)==null?void 0:Do.getFlattedNodes(!vn.props.checkStrictly))==null?void 0:No.filter(ur=>ur.isDisabled?!1:(ur.calcText(Eo,rr),Vo(ur,Jn.value)));qn.value&&(Ln.value.forEach(ur=>{ur.hitState=!1}),zn.value.forEach(ur=>{ur.hitState=!1})),Mn.value=!0,Hn.value=sr,yo()},Io=()=>{var Do;let No;Mn.value&&On.value?No=On.value.$el.querySelector(`.${Cn.e("suggestion-item")}`):No=(Do=Pn.value)==null?void 0:Do.$el.querySelector(`.${Cn.b("node")}[tabindex="-1"]`),No&&(No.focus(),!Mn.value&&No.click())},Po=()=>{var Do,No;const Vo=(Do=Tn.value)==null?void 0:Do.input,Eo=Nn.value,rr=(No=On.value)==null?void 0:No.$el;if(!(!isClient$1||!Vo)){if(rr){const sr=rr.querySelector(`.${Cn.e("suggestion-list")}`);sr.style.minWidth=`${Vo.offsetWidth}px`}if(Eo){const{offsetHeight:sr}=Eo,ur=Ln.value.length>0?`${Math.max(sr+6,kn)}px`:`${kn}px`;Vo.style.height=ur,yo()}}},ko=Do=>{var No;return(No=Pn.value)==null?void 0:No.getCheckedNodes(Do)},xo=Do=>{yo(),hn("expandChange",Do)},Ao=Do=>{var No;const Vo=(No=Do.target)==null?void 0:No.value;if(Do.type==="compositionend")Fn.value=!1,nextTick(()=>Fo(Vo));else{const Eo=Vo[Vo.length-1]||"";Fn.value=!isKorean(Eo)}},vo=Do=>{if(!Fn.value)switch(Do.code){case EVENT_CODE.enter:go();break;case EVENT_CODE.down:go(!0),nextTick(Io),Do.preventDefault();break;case EVENT_CODE.esc:Rn.value===!0&&(Do.preventDefault(),Do.stopPropagation(),go(!1));break;case EVENT_CODE.tab:go(!1);break}},qo=()=>{var Do;(Do=Pn.value)==null||Do.clearCheckedNodes(),!Rn.value&&vn.filterable&&jo(),go(!1)},jo=()=>{const{value:Do}=so;Dn.value=Do,Vn.value=Do},Ko=Do=>{var No,Vo;const{checked:Eo}=Do;qn.value?(No=Pn.value)==null||No.handleCheckChange(Do,!Eo,!1):(!Eo&&((Vo=Pn.value)==null||Vo.handleCheckChange(Do,!0,!1)),go(!1))},bo=Do=>{const No=Do.target,{code:Vo}=Do;switch(Vo){case EVENT_CODE.up:case EVENT_CODE.down:{const Eo=Vo===EVENT_CODE.up?-1:1;focusNode(getSibling(No,Eo,`.${Cn.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:No.click();break}},wo=()=>{const Do=Ln.value,No=Do[Do.length-1];_n=Vn.value?0:_n+1,!(!No||!_n||vn.collapseTags&&Do.length>1)&&(No.hitState?eo(No):No.hitState=!0)},zo=Do=>{const No=Do.target,Vo=Cn.e("search-input");No.className===Vo&&(Bn.value=!0),hn("focus",Do)},Yo=Do=>{Bn.value=!1,hn("blur",Do)},_o=debounce$3(()=>{const{value:Do}=Jn;if(!Do)return;const No=vn.beforeFilter(Do);isPromise(No)?No.then(ho).catch(()=>{}):No!==!1?ho():Bo()},vn.debounce),Fo=(Do,No)=>{!Rn.value&&go(!0),!(No!=null&&No.isComposing)&&(Do?_o():Bo())},$o=Do=>Number.parseFloat(useCssVar(xn.cssVarName("input-height"),Do).value)-2;return watch(Mn,yo),watch([Qn,Un],lo),watch(Ln,()=>{nextTick(()=>Po())}),watch(Yn,async()=>{await nextTick();const Do=Tn.value.input;kn=$o(Do)||kn,Po()}),watch(so,jo,{immediate:!0}),onMounted(()=>{const Do=Tn.value.input,No=$o(Do);kn=Do.offsetHeight||No,useResizeObserver(Do,Po)}),qe({getCheckedNodes:ko,cascaderPanelRef:Pn,togglePopperVisible:go,contentRef:ao}),(Do,No)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:An,visible:Rn.value,teleported:Do.teleported,"popper-class":[unref(Cn).e("dropdown"),Do.popperClass],"popper-options":bn,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(Cn).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Bo},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(mo)),style:normalizeStyle(unref(Kn)),onClick:No[5]||(No[5]=()=>go(unref(jn)?void 0:!0)),onKeydown:vo,onMouseenter:No[6]||(No[6]=Vo=>In.value=!0),onMouseleave:No[7]||(No[7]=Vo=>In.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:Tn,modelValue:Dn.value,"onUpdate:modelValue":No[1]||(No[1]=Vo=>Dn.value=Vo),placeholder:unref(Wn),readonly:unref(jn),disabled:unref(Un),"validate-event":!1,size:unref(Yn),class:normalizeClass(unref(io)),tabindex:unref(qn)&&Do.filterable&&!unref(Un)?-1:void 0,onCompositionstart:Ao,onCompositionupdate:Ao,onCompositionend:Ao,onFocus:zo,onBlur:Yo,onInput:Fo},{suffix:withCtx(()=>[unref(no)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(xn).e("icon"),"icon-circle-close"]),onClick:withModifiers(qo,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(fo)),onClick:No[0]||(No[0]=withModifiers(Vo=>go(),["stop"]))},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(qn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Nn,class:normalizeClass(unref(Cn).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ln.value,Vo=>(openBlock(),createBlock(unref(ElTag),{key:Vo.key,type:Do.tagType,size:unref(Xn),hit:Vo.hitState,closable:Vo.closable,"disable-transitions":"",onClose:Eo=>eo(Vo)},{default:withCtx(()=>[Vo.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$Y,toDisplayString(Vo.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:Rn.value||!Do.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Vo.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Cn).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(zn.value.slice(Do.maxCollapseTags),(Eo,rr)=>(openBlock(),createElementBlock("div",{key:rr,class:normalizeClass(unref(Cn).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:Eo.key,class:"in-tooltip",type:Do.tagType,size:unref(Xn),hit:Eo.hitState,closable:Eo.closable,"disable-transitions":"",onClose:sr=>eo(Eo)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Eo.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),Do.filterable&&!unref(Un)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":No[2]||(No[2]=Vo=>Vn.value=Vo),type:"text",class:normalizeClass(unref(Cn).e("search-input")),placeholder:unref(so)?"":unref(Gn),onInput:No[3]||(No[3]=Vo=>Fo(Vn.value,Vo)),onClick:No[4]||(No[4]=withModifiers(Vo=>go(!0),["stop"])),onKeydown:withKeys(wo,["delete"]),onCompositionstart:Ao,onCompositionupdate:Ao,onCompositionend:Ao,onFocus:zo,onBlur:Yo},null,42,_hoisted_2$F)),[[vModelText,Vn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>go(!1),unref(ao)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Pn,modelValue:unref(co),"onUpdate:modelValue":No[8]||(No[8]=Vo=>isRef(co)?co.value=Vo:null),options:Do.options,props:vn.props,border:!1,"render-label":Do.$slots.default,onExpandChange:xo,onClose:No[9]||(No[9]=Vo=>Do.$nextTick(()=>go(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!Mn.value]]),Do.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:On,tag:"ul",class:normalizeClass(unref(Cn).e("suggestion-panel")),"view-class":unref(Cn).e("suggestion-list"),onKeydown:bo},{default:withCtx(()=>[Hn.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(Hn.value,Vo=>(openBlock(),createElementBlock("li",{key:Vo.uid,class:normalizeClass([unref(Cn).e("suggestion-item"),unref(Cn).is("checked",Vo.checked)]),tabindex:-1,onClick:Eo=>Ko(Vo)},[createBaseVNode("span",null,toDisplayString(Vo.text),1),Vo.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$n))),128)):renderSlot(Do.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(Cn).e("empty-text"))},toDisplayString(unref(En)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,Mn.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$2(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Cascader.install=Fe=>{Fe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":Fe=>isBoolean$5(Fe),[CHANGE_EVENT]:Fe=>isBoolean$5(Fe)},__default__$13=defineComponent({name:"ElCheckTag"}),_sfc_main$1O=defineComponent({...__default__$13,props:checkTagProps,emits:checkTagEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("check-tag"),bn=computed(()=>[vn.b(),vn.is("checked",hn.checked)]),wn=()=>{const kn=!hn.checked;qe(CHANGE_EVENT,kn),qe("update:checked",kn)};return(kn,_n)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(bn)),onClick:wn},[renderSlot(kn.$slots,"default")],2))}});var CheckTag=_export_sfc$2(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall$1(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__$12=defineComponent({name:"ElRow"}),_sfc_main$1N=defineComponent({...__default__$12,props:rowProps,setup(Fe){const qe=Fe,hn=useNamespace("row"),vn=computed(()=>qe.gutter);provide(rowContextKey,{gutter:vn});const bn=computed(()=>{const kn={};return qe.gutter&&(kn.marginRight=kn.marginLeft=`-${qe.gutter/2}px`),kn}),wn=computed(()=>[hn.b(),hn.is(`justify-${qe.justify}`,qe.justify!=="start"),hn.is(`align-${qe.align}`,!!qe.align)]);return(kn,_n)=>(openBlock(),createBlock(resolveDynamicComponent(kn.tag),{class:normalizeClass(unref(wn)),style:normalizeStyle(unref(bn))},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$2(_sfc_main$1N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall$1(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__$11=defineComponent({name:"ElCol"}),_sfc_main$1M=defineComponent({...__default__$11,props:colProps,setup(Fe){const qe=Fe,{gutter:hn}=inject(rowContextKey,{gutter:computed(()=>0)}),vn=useNamespace("col"),bn=computed(()=>{const kn={};return hn.value&&(kn.paddingLeft=kn.paddingRight=`${hn.value/2}px`),kn}),wn=computed(()=>{const kn=[];return["span","offset","pull","push"].forEach(xn=>{const En=qe[xn];isNumber$d(En)&&(xn==="span"?kn.push(vn.b(`${qe[xn]}`)):En>0&&kn.push(vn.b(`${xn}-${qe[xn]}`)))}),["xs","sm","md","lg","xl"].forEach(xn=>{isNumber$d(qe[xn])?kn.push(vn.b(`${xn}-${qe[xn]}`)):isObject$9(qe[xn])&&Object.entries(qe[xn]).forEach(([En,$n])=>{kn.push(En!=="span"?vn.b(`${xn}-${En}-${$n}`):vn.b(`${xn}-${$n}`))})}),hn.value&&kn.push(vn.is("guttered")),[vn.b(),kn]});return(kn,_n)=>(openBlock(),createBlock(resolveDynamicComponent(kn.tag),{class:normalizeClass(unref(wn)),style:normalizeStyle(unref(bn))},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$2(_sfc_main$1M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall$1(Col),emitChangeFn=Fe=>typeof isNumber$d(Fe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(Fe,qe)=>{const hn=ref(castArray$1(Fe.modelValue)),vn=wn=>{hn.value=wn;const kn=Fe.accordion?hn.value[0]:hn.value;qe(UPDATE_MODEL_EVENT,kn),qe(CHANGE_EVENT,kn)},bn=wn=>{if(Fe.accordion)vn([hn.value[0]===wn?"":wn]);else{const kn=[...hn.value],_n=kn.indexOf(wn);_n>-1?kn.splice(_n,1):kn.push(wn),vn(kn)}};return watch(()=>Fe.modelValue,()=>hn.value=castArray$1(Fe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:hn,handleItemClick:bn}),{activeNames:hn,setActiveNames:vn}},useCollapseDOM=()=>{const Fe=useNamespace("collapse");return{rootKls:computed(()=>Fe.b())}},__default__$10=defineComponent({name:"ElCollapse"}),_sfc_main$1L=defineComponent({...__default__$10,props:collapseProps,emits:collapseEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{activeNames:bn,setActiveNames:wn}=useCollapse(vn,hn),{rootKls:kn}=useCollapseDOM();return qe({activeNames:bn,setActiveNames:wn}),(_n,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(kn))},[renderSlot(_n.$slots,"default")],2))}});var Collapse=_export_sfc$2(_sfc_main$1L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$$=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1K=defineComponent({...__default__$$,setup(Fe){const qe=useNamespace("collapse-transition"),hn=bn=>{bn.style.maxHeight="",bn.style.overflow=bn.dataset.oldOverflow,bn.style.paddingTop=bn.dataset.oldPaddingTop,bn.style.paddingBottom=bn.dataset.oldPaddingBottom},vn={beforeEnter(bn){bn.dataset||(bn.dataset={}),bn.dataset.oldPaddingTop=bn.style.paddingTop,bn.dataset.oldPaddingBottom=bn.style.paddingBottom,bn.style.maxHeight=0,bn.style.paddingTop=0,bn.style.paddingBottom=0},enter(bn){bn.dataset.oldOverflow=bn.style.overflow,bn.scrollHeight!==0?bn.style.maxHeight=`${bn.scrollHeight}px`:bn.style.maxHeight=0,bn.style.paddingTop=bn.dataset.oldPaddingTop,bn.style.paddingBottom=bn.dataset.oldPaddingBottom,bn.style.overflow="hidden"},afterEnter(bn){bn.style.maxHeight="",bn.style.overflow=bn.dataset.oldOverflow},enterCancelled(bn){hn(bn)},beforeLeave(bn){bn.dataset||(bn.dataset={}),bn.dataset.oldPaddingTop=bn.style.paddingTop,bn.dataset.oldPaddingBottom=bn.style.paddingBottom,bn.dataset.oldOverflow=bn.style.overflow,bn.style.maxHeight=`${bn.scrollHeight}px`,bn.style.overflow="hidden"},leave(bn){bn.scrollHeight!==0&&(bn.style.maxHeight=0,bn.style.paddingTop=0,bn.style.paddingBottom=0)},afterLeave(bn){hn(bn)},leaveCancelled(bn){hn(bn)}};return(bn,wn)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(qe).b()},toHandlers(vn)),{default:withCtx(()=>[renderSlot(bn.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$2(_sfc_main$1K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);CollapseTransition.install=Fe=>{Fe.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=Fe=>{const qe=inject(collapseContextKey),hn=ref(!1),vn=ref(!1),bn=ref(generateId()),wn=computed(()=>qe==null?void 0:qe.activeNames.value.includes(Fe.name));return{focusing:hn,id:bn,isActive:wn,handleFocus:()=>{setTimeout(()=>{vn.value?vn.value=!1:hn.value=!0},50)},handleHeaderClick:()=>{Fe.disabled||(qe==null||qe.handleItemClick(Fe.name),hn.value=!1,vn.value=!0)},handleEnterClick:()=>{qe==null||qe.handleItemClick(Fe.name)}}},useCollapseItemDOM=(Fe,{focusing:qe,isActive:hn,id:vn})=>{const bn=useNamespace("collapse"),wn=computed(()=>[bn.b("item"),bn.is("active",unref(hn)),bn.is("disabled",Fe.disabled)]),kn=computed(()=>[bn.be("item","header"),bn.is("active",unref(hn)),{focusing:unref(qe)&&!Fe.disabled}]),_n=computed(()=>[bn.be("item","arrow"),bn.is("active",unref(hn))]),Cn=computed(()=>bn.be("item","wrap")),xn=computed(()=>bn.be("item","content")),En=computed(()=>bn.b(`content-${unref(vn)}`)),$n=computed(()=>bn.b(`head-${unref(vn)}`));return{arrowKls:_n,headKls:kn,rootKls:wn,itemWrapperKls:Cn,itemContentKls:xn,scopedContentId:En,scopedHeadId:$n}},_hoisted_1$X=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$E=["id","aria-hidden","aria-labelledby"],__default__$_=defineComponent({name:"ElCollapseItem"}),_sfc_main$1J=defineComponent({...__default__$_,props:collapseItemProps,setup(Fe,{expose:qe}){const hn=Fe,{focusing:vn,id:bn,isActive:wn,handleFocus:kn,handleHeaderClick:_n,handleEnterClick:Cn}=useCollapseItem(hn),{arrowKls:xn,headKls:En,rootKls:$n,itemWrapperKls:Sn,itemContentKls:An,scopedContentId:Tn,scopedHeadId:Nn}=useCollapseItemDOM(hn,{focusing:vn,isActive:wn,id:bn});return qe({isActive:wn}),(Pn,On)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref($n))},[createBaseVNode("button",{id:unref(Nn),class:normalizeClass(unref(En)),"aria-expanded":unref(wn),"aria-controls":unref(Tn),"aria-describedby":unref(Tn),tabindex:Pn.disabled?-1:0,type:"button",onClick:On[0]||(On[0]=(...Rn)=>unref(_n)&&unref(_n)(...Rn)),onKeydown:On[1]||(On[1]=withKeys(withModifiers((...Rn)=>unref(Cn)&&unref(Cn)(...Rn),["stop","prevent"]),["space","enter"])),onFocus:On[2]||(On[2]=(...Rn)=>unref(kn)&&unref(kn)(...Rn)),onBlur:On[3]||(On[3]=Rn=>vn.value=!1)},[renderSlot(Pn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Pn.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(xn))},{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$X),createVNode(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(Tn),role:"region",class:normalizeClass(unref(Sn)),"aria-hidden":!unref(wn),"aria-labelledby":unref(Nn)},[createBaseVNode("div",{class:normalizeClass(unref(An))},[renderSlot(Pn.$slots,"default")],2)],10,_hoisted_2$E),[[vShow,unref(wn)]])]),_:3})],2))}});var CollapseItem=_export_sfc$2(_sfc_main$1J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall$1(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(Fe,qe){if(!isClient$1)return;const hn=function(wn){var kn;(kn=qe.drag)==null||kn.call(qe,wn)},vn=function(wn){var kn;document.removeEventListener("mousemove",hn),document.removeEventListener("mouseup",vn),document.removeEventListener("touchmove",hn),document.removeEventListener("touchend",vn),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(kn=qe.end)==null||kn.call(qe,wn)},bn=function(wn){var kn;isDragging||(wn.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",hn),document.addEventListener("mouseup",vn),document.addEventListener("touchmove",hn),document.addEventListener("touchend",vn),isDragging=!0,(kn=qe.start)==null||kn.call(qe,wn))};Fe.addEventListener("mousedown",bn),Fe.addEventListener("touchstart",bn)}const useAlphaSlider=Fe=>{const qe=getCurrentInstance(),hn=shallowRef(),vn=shallowRef();function bn(kn){kn.target!==hn.value&&wn(kn)}function wn(kn){if(!vn.value||!hn.value)return;const Cn=qe.vnode.el.getBoundingClientRect(),{clientX:xn,clientY:En}=getClientXY(kn);if(Fe.vertical){let $n=En-Cn.top;$n=Math.max(hn.value.offsetHeight/2,$n),$n=Math.min($n,Cn.height-hn.value.offsetHeight/2),Fe.color.set("alpha",Math.round(($n-hn.value.offsetHeight/2)/(Cn.height-hn.value.offsetHeight)*100))}else{let $n=xn-Cn.left;$n=Math.max(hn.value.offsetWidth/2,$n),$n=Math.min($n,Cn.width-hn.value.offsetWidth/2),Fe.color.set("alpha",Math.round(($n-hn.value.offsetWidth/2)/(Cn.width-hn.value.offsetWidth)*100))}}return{thumb:hn,bar:vn,handleDrag:wn,handleClick:bn}},useAlphaSliderDOM=(Fe,{bar:qe,thumb:hn,handleDrag:vn})=>{const bn=getCurrentInstance(),wn=useNamespace("color-alpha-slider"),kn=ref(0),_n=ref(0),Cn=ref();function xn(){if(!hn.value||Fe.vertical)return 0;const Rn=bn.vnode.el,In=Fe.color.get("alpha");return Rn?Math.round(In*(Rn.offsetWidth-hn.value.offsetWidth/2)/100):0}function En(){if(!hn.value)return 0;const Rn=bn.vnode.el;if(!Fe.vertical)return 0;const In=Fe.color.get("alpha");return Rn?Math.round(In*(Rn.offsetHeight-hn.value.offsetHeight/2)/100):0}function $n(){if(Fe.color&&Fe.color.value){const{r:Rn,g:In,b:Mn}=Fe.color.toRgb();return`linear-gradient(to right, rgba(${Rn}, ${In}, ${Mn}, 0) 0%, rgba(${Rn}, ${In}, ${Mn}, 1) 100%)`}return""}function Sn(){kn.value=xn(),_n.value=En(),Cn.value=$n()}onMounted(()=>{if(!qe.value||!hn.value)return;const Rn={drag:In=>{vn(In)},end:In=>{vn(In)}};draggable(qe.value,Rn),draggable(hn.value,Rn),Sn()}),watch(()=>Fe.color.get("alpha"),()=>Sn()),watch(()=>Fe.color.value,()=>Sn());const An=computed(()=>[wn.b(),wn.is("vertical",Fe.vertical)]),Tn=computed(()=>wn.e("bar")),Nn=computed(()=>wn.e("thumb")),Pn=computed(()=>({background:Cn.value})),On=computed(()=>({left:addUnit(kn.value),top:addUnit(_n.value)}));return{rootKls:An,barKls:Tn,barStyle:Pn,thumbKls:Nn,thumbStyle:On,update:Sn}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Z=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1I=defineComponent({...__default__$Z,props:alphaSliderProps,setup(Fe,{expose:qe}){const hn=Fe,{bar:vn,thumb:bn,handleDrag:wn,handleClick:kn}=useAlphaSlider(hn),{rootKls:_n,barKls:Cn,barStyle:xn,thumbKls:En,thumbStyle:$n,update:Sn}=useAlphaSliderDOM(hn,{bar:vn,thumb:bn,handleDrag:wn});return qe({update:Sn,bar:vn,thumb:bn}),(An,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_n))},[createBaseVNode("div",{ref_key:"bar",ref:vn,class:normalizeClass(unref(Cn)),style:normalizeStyle(unref(xn)),onClick:Tn[0]||(Tn[0]=(...Nn)=>unref(kn)&&unref(kn)(...Nn))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:bn,class:normalizeClass(unref(En)),style:normalizeStyle(unref($n))},null,6)],2))}});var AlphaSlider=_export_sfc$2(_sfc_main$1I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1H=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(Fe){const qe=useNamespace("color-hue-slider"),hn=getCurrentInstance(),vn=ref(),bn=ref(),wn=ref(0),kn=ref(0),_n=computed(()=>Fe.color.get("hue"));watch(()=>_n.value,()=>{Sn()});function Cn(An){An.target!==vn.value&&xn(An)}function xn(An){if(!bn.value||!vn.value)return;const Nn=hn.vnode.el.getBoundingClientRect(),{clientX:Pn,clientY:On}=getClientXY(An);let Rn;if(Fe.vertical){let In=On-Nn.top;In=Math.min(In,Nn.height-vn.value.offsetHeight/2),In=Math.max(vn.value.offsetHeight/2,In),Rn=Math.round((In-vn.value.offsetHeight/2)/(Nn.height-vn.value.offsetHeight)*360)}else{let In=Pn-Nn.left;In=Math.min(In,Nn.width-vn.value.offsetWidth/2),In=Math.max(vn.value.offsetWidth/2,In),Rn=Math.round((In-vn.value.offsetWidth/2)/(Nn.width-vn.value.offsetWidth)*360)}Fe.color.set("hue",Rn)}function En(){if(!vn.value)return 0;const An=hn.vnode.el;if(Fe.vertical)return 0;const Tn=Fe.color.get("hue");return An?Math.round(Tn*(An.offsetWidth-vn.value.offsetWidth/2)/360):0}function $n(){if(!vn.value)return 0;const An=hn.vnode.el;if(!Fe.vertical)return 0;const Tn=Fe.color.get("hue");return An?Math.round(Tn*(An.offsetHeight-vn.value.offsetHeight/2)/360):0}function Sn(){wn.value=En(),kn.value=$n()}return onMounted(()=>{if(!bn.value||!vn.value)return;const An={drag:Tn=>{xn(Tn)},end:Tn=>{xn(Tn)}};draggable(bn.value,An),draggable(vn.value,An),Sn()}),{bar:bn,thumb:vn,thumbLeft:wn,thumbTop:kn,hueValue:_n,handleClick:Cn,update:Sn,ns:qe}}});function _sfc_render$s(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("div",{class:normalizeClass([Fe.ns.b(),Fe.ns.is("vertical",Fe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(Fe.ns.e("bar")),onClick:qe[0]||(qe[0]=(...kn)=>Fe.handleClick&&Fe.handleClick(...kn))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(Fe.ns.e("thumb")),style:normalizeStyle({left:Fe.thumbLeft+"px",top:Fe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$2(_sfc_main$1H,[["render",_sfc_render$s],["__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]:Fe=>isString$d(Fe)||isNil(Fe),[CHANGE_EVENT]:Fe=>isString$d(Fe)||isNil(Fe),activeChange:Fe=>isString$d(Fe)||isNil(Fe),focus:Fe=>Fe instanceof FocusEvent,blur:Fe=>Fe instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(Fe,qe,hn){return[Fe,qe*hn/((Fe=(2-qe)*hn)<1?Fe:2-Fe)||0,Fe/2]},isOnePointZero=function(Fe){return typeof Fe=="string"&&Fe.includes(".")&&Number.parseFloat(Fe)===1},isPercentage=function(Fe){return typeof Fe=="string"&&Fe.includes("%")},bound01=function(Fe,qe){isOnePointZero(Fe)&&(Fe="100%");const hn=isPercentage(Fe);return Fe=Math.min(qe,Math.max(0,Number.parseFloat(`${Fe}`))),hn&&(Fe=Number.parseInt(`${Fe*qe}`,10)/100),Math.abs(Fe-qe)<1e-6?1:Fe%qe/Number.parseFloat(qe)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=Fe=>{Fe=Math.min(Math.round(Fe),255);const qe=Math.floor(Fe/16),hn=Fe%16;return`${INT_HEX_MAP[qe]||qe}${INT_HEX_MAP[hn]||hn}`},toHex=function({r:Fe,g:qe,b:hn}){return Number.isNaN(+Fe)||Number.isNaN(+qe)||Number.isNaN(+hn)?"":`#${hexOne(Fe)}${hexOne(qe)}${hexOne(hn)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(Fe){return Fe.length===2?(HEX_INT_MAP[Fe[0].toUpperCase()]||+Fe[0])*16+(HEX_INT_MAP[Fe[1].toUpperCase()]||+Fe[1]):HEX_INT_MAP[Fe[1].toUpperCase()]||+Fe[1]},hsl2hsv=function(Fe,qe,hn){qe=qe/100,hn=hn/100;let vn=qe;const bn=Math.max(hn,.01);hn*=2,qe*=hn<=1?hn:2-hn,vn*=bn<=1?bn:2-bn;const wn=(hn+qe)/2,kn=hn===0?2*vn/(bn+vn):2*qe/(hn+qe);return{h:Fe,s:kn*100,v:wn*100}},rgb2hsv=(Fe,qe,hn)=>{Fe=bound01(Fe,255),qe=bound01(qe,255),hn=bound01(hn,255);const vn=Math.max(Fe,qe,hn),bn=Math.min(Fe,qe,hn);let wn;const kn=vn,_n=vn-bn,Cn=vn===0?0:_n/vn;if(vn===bn)wn=0;else{switch(vn){case Fe:{wn=(qe-hn)/_n+(qe{this._hue=Math.max(0,Math.min(360,vn)),this._saturation=Math.max(0,Math.min(100,bn)),this._value=Math.max(0,Math.min(100,wn)),this.doOnChange()};if(qe.includes("hsl")){const vn=qe.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(bn=>bn!=="").map((bn,wn)=>wn>2?Number.parseFloat(bn):Number.parseInt(bn,10));if(vn.length===4?this._alpha=Number.parseFloat(vn[3])*100:vn.length===3&&(this._alpha=100),vn.length>=3){const{h:bn,s:wn,v:kn}=hsl2hsv(vn[0],vn[1],vn[2]);hn(bn,wn,kn)}}else if(qe.includes("hsv")){const vn=qe.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(bn=>bn!=="").map((bn,wn)=>wn>2?Number.parseFloat(bn):Number.parseInt(bn,10));vn.length===4?this._alpha=Number.parseFloat(vn[3])*100:vn.length===3&&(this._alpha=100),vn.length>=3&&hn(vn[0],vn[1],vn[2])}else if(qe.includes("rgb")){const vn=qe.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(bn=>bn!=="").map((bn,wn)=>wn>2?Number.parseFloat(bn):Number.parseInt(bn,10));if(vn.length===4?this._alpha=Number.parseFloat(vn[3])*100:vn.length===3&&(this._alpha=100),vn.length>=3){const{h:bn,s:wn,v:kn}=rgb2hsv(vn[0],vn[1],vn[2]);hn(bn,wn,kn)}}else if(qe.includes("#")){const vn=qe.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(vn))return;let bn,wn,kn;vn.length===3?(bn=parseHexChannel(vn[0]+vn[0]),wn=parseHexChannel(vn[1]+vn[1]),kn=parseHexChannel(vn[2]+vn[2])):(vn.length===6||vn.length===8)&&(bn=parseHexChannel(vn.slice(0,2)),wn=parseHexChannel(vn.slice(2,4)),kn=parseHexChannel(vn.slice(4,6))),vn.length===8?this._alpha=parseHexChannel(vn.slice(6))/255*100:(vn.length===3||vn.length===6)&&(this._alpha=100);const{h:_n,s:Cn,v:xn}=rgb2hsv(bn,wn,kn);hn(_n,Cn,xn)}}compare(qe){return Math.abs(qe._hue-this._hue)<2&&Math.abs(qe._saturation-this._saturation)<1&&Math.abs(qe._value-this._value)<1&&Math.abs(qe._alpha-this._alpha)<1}doOnChange(){const{_hue:qe,_saturation:hn,_value:vn,_alpha:bn,format:wn}=this;if(this.enableAlpha)switch(wn){case"hsl":{const kn=hsv2hsl(qe,hn/100,vn/100);this.value=`hsla(${qe}, ${Math.round(kn[1]*100)}%, ${Math.round(kn[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${qe}, ${Math.round(hn)}%, ${Math.round(vn)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb(qe,hn,vn))}${hexOne(bn*255/100)}`;break}default:{const{r:kn,g:_n,b:Cn}=hsv2rgb(qe,hn,vn);this.value=`rgba(${kn}, ${_n}, ${Cn}, ${this.get("alpha")/100})`}}else switch(wn){case"hsl":{const kn=hsv2hsl(qe,hn/100,vn/100);this.value=`hsl(${qe}, ${Math.round(kn[1]*100)}%, ${Math.round(kn[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${qe}, ${Math.round(hn)}%, ${Math.round(vn)}%)`;break}case"rgb":{const{r:kn,g:_n,b:Cn}=hsv2rgb(qe,hn,vn);this.value=`rgb(${kn}, ${_n}, ${Cn})`;break}default:this.value=toHex(hsv2rgb(qe,hn,vn))}}}const _sfc_main$1G=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(Fe){const qe=useNamespace("color-predefine"),{currentColor:hn}=inject(colorPickerContextKey),vn=ref(wn(Fe.colors,Fe.color));watch(()=>hn.value,kn=>{const _n=new Color;_n.fromString(kn),vn.value.forEach(Cn=>{Cn.selected=_n.compare(Cn)})}),watchEffect(()=>{vn.value=wn(Fe.colors,Fe.color)});function bn(kn){Fe.color.fromString(Fe.colors[kn])}function wn(kn,_n){return kn.map(Cn=>{const xn=new Color;return xn.enableAlpha=!0,xn.format="rgba",xn.fromString(Cn),xn.selected=xn.value===_n.value,xn})}return{rgbaColors:vn,handleSelect:bn,ns:qe}}}),_hoisted_1$W=["onClick"];function _sfc_render$r(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("div",{class:normalizeClass(Fe.ns.b())},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.rgbaColors,(kn,_n)=>(openBlock(),createElementBlock("div",{key:Fe.colors[_n],class:normalizeClass([Fe.ns.e("color-selector"),Fe.ns.is("alpha",kn._alpha<100),{selected:kn.selected}]),onClick:Cn=>Fe.handleSelect(_n)},[createBaseVNode("div",{style:normalizeStyle({backgroundColor:kn.value})},null,4)],10,_hoisted_1$W))),128))],2)],2)}var Predefine=_export_sfc$2(_sfc_main$1G,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1F=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(Fe){const qe=useNamespace("color-svpanel"),hn=getCurrentInstance(),vn=ref(0),bn=ref(0),wn=ref("hsl(0, 100%, 50%)"),kn=computed(()=>{const xn=Fe.color.get("hue"),En=Fe.color.get("value");return{hue:xn,value:En}});function _n(){const xn=Fe.color.get("saturation"),En=Fe.color.get("value"),$n=hn.vnode.el,{clientWidth:Sn,clientHeight:An}=$n;bn.value=xn*Sn/100,vn.value=(100-En)*An/100,wn.value=`hsl(${Fe.color.get("hue")}, 100%, 50%)`}function Cn(xn){const $n=hn.vnode.el.getBoundingClientRect(),{clientX:Sn,clientY:An}=getClientXY(xn);let Tn=Sn-$n.left,Nn=An-$n.top;Tn=Math.max(0,Tn),Tn=Math.min(Tn,$n.width),Nn=Math.max(0,Nn),Nn=Math.min(Nn,$n.height),bn.value=Tn,vn.value=Nn,Fe.color.set({saturation:Tn/$n.width*100,value:100-Nn/$n.height*100})}return watch(()=>kn.value,()=>{_n()}),onMounted(()=>{draggable(hn.vnode.el,{drag:xn=>{Cn(xn)},end:xn=>{Cn(xn)}}),_n()}),{cursorTop:vn,cursorLeft:bn,background:wn,colorValue:kn,handleDrag:Cn,update:_n,ns:qe}}}),_hoisted_1$V=createBaseVNode("div",null,null,-1),_hoisted_2$D=[_hoisted_1$V];function _sfc_render$q(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("div",{class:normalizeClass(Fe.ns.b()),style:normalizeStyle({backgroundColor:Fe.background})},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(Fe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(Fe.ns.e("cursor")),style:normalizeStyle({top:Fe.cursorTop+"px",left:Fe.cursorLeft+"px"})},_hoisted_2$D,6)],6)}var SvPanel=_export_sfc$2(_sfc_main$1F,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$U=["onKeydown"],_hoisted_2$C=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],__default__$Y=defineComponent({name:"ElColorPicker"}),_sfc_main$1E=defineComponent({...__default__$Y,props:colorPickerProps,emits:colorPickerEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{t:bn}=useLocale(),wn=useNamespace("color"),{formItem:kn}=useFormItem(),_n=useFormSize(),Cn=useFormDisabled(),{inputId:xn,isLabeledByFormItem:En}=useFormItemInputId(vn,{formItemContext:kn}),$n=ref(),Sn=ref(),An=ref(),Tn=ref(),Nn=ref(),Pn=ref(),{isFocused:On,handleFocus:Rn,handleBlur:In}=useFocusController(Nn,{beforeBlur(yo){var Bo;return(Bo=Tn.value)==null?void 0:Bo.isFocusInsideContent(yo)},afterBlur(){Yn(!1),Jn()}}),Mn=yo=>{if(Cn.value)return go();Rn(yo)};let Bn=!0;const Dn=reactive(new Color({enableAlpha:vn.showAlpha,format:vn.colorFormat||"",value:vn.modelValue})),Vn=ref(!1),Ln=ref(!1),zn=ref(""),Hn=computed(()=>!vn.modelValue&&!Ln.value?"transparent":Wn(Dn,vn.showAlpha)),Fn=computed(()=>!vn.modelValue&&!Ln.value?"":Dn.value),Kn=computed(()=>En.value?void 0:vn.label||bn("el.colorpicker.defaultLabel")),Un=computed(()=>En.value?kn==null?void 0:kn.labelId:void 0),Gn=computed(()=>[wn.b("picker"),wn.is("disabled",Cn.value),wn.bm("picker",_n.value),wn.is("focused",On.value)]);function Wn(yo,Bo){if(!(yo instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:ro,g:eo,b:lo}=yo.toRgb();return Bo?`rgba(${ro}, ${eo}, ${lo}, ${yo.get("alpha")/100})`:`rgb(${ro}, ${eo}, ${lo})`}function Yn(yo){Vn.value=yo}const Xn=debounce$3(Yn,100,{leading:!0});function qn(){Cn.value||Yn(!0)}function jn(){Xn(!1),Jn()}function Jn(){nextTick(()=>{vn.modelValue?Dn.fromString(vn.modelValue):(Dn.value="",nextTick(()=>{Ln.value=!1}))})}function Qn(){Cn.value||Xn(!Vn.value)}function no(){Dn.fromString(zn.value)}function so(){const yo=Dn.value;hn(UPDATE_MODEL_EVENT,yo),hn("change",yo),vn.validateEvent&&(kn==null||kn.validate("change").catch(Bo=>void 0)),Xn(!1),nextTick(()=>{const Bo=new Color({enableAlpha:vn.showAlpha,format:vn.colorFormat||"",value:vn.modelValue});Dn.compare(Bo)||Jn()})}function co(){Xn(!1),hn(UPDATE_MODEL_EVENT,null),hn("change",null),vn.modelValue!==null&&vn.validateEvent&&(kn==null||kn.validate("change").catch(yo=>void 0)),Jn()}function mo(yo){if(Vn.value&&(jn(),On.value)){const Bo=new FocusEvent("focus",yo);In(Bo)}}function fo(yo){yo.preventDefault(),yo.stopPropagation(),Yn(!1),Jn()}function io(yo){switch(yo.code){case EVENT_CODE.enter:case EVENT_CODE.space:yo.preventDefault(),yo.stopPropagation(),qn(),Pn.value.focus();break;case EVENT_CODE.esc:fo(yo);break}}function ao(){Nn.value.focus()}function go(){Nn.value.blur()}return onMounted(()=>{vn.modelValue&&(zn.value=Fn.value)}),watch(()=>vn.modelValue,yo=>{yo?yo&&yo!==Dn.value&&(Bn=!1,Dn.fromString(yo)):Ln.value=!1}),watch(()=>Fn.value,yo=>{zn.value=yo,Bn&&hn("activeChange",yo),Bn=!0}),watch(()=>Dn.value,()=>{!vn.modelValue&&!Ln.value&&(Ln.value=!0)}),watch(()=>Vn.value,()=>{nextTick(()=>{var yo,Bo,ro;(yo=$n.value)==null||yo.update(),(Bo=Sn.value)==null||Bo.update(),(ro=An.value)==null||ro.update()})}),provide(colorPickerContextKey,{currentColor:Fn}),qe({color:Dn,show:qn,hide:jn,focus:ao,blur:go}),(yo,Bo)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Tn,visible:Vn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(wn).be("picker","panel"),unref(wn).b("dropdown"),yo.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(wn).namespace.value}-zoom-in-top`,persistent:"",onHide:Bo[2]||(Bo[2]=ro=>Yn(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(fo,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(wn).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:$n,class:"hue-slider",color:unref(Dn),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref_key:"sv",ref:Sn,color:unref(Dn)},null,8,["color"])],2),yo.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:An,color:unref(Dn)},null,8,["color"])):createCommentVNode("v-if",!0),yo.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(Dn),colors:yo.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(wn).be("dropdown","value"))},[createVNode(unref(ElInput),{ref_key:"inputRef",ref:Pn,modelValue:zn.value,"onUpdate:modelValue":Bo[0]||(Bo[0]=ro=>zn.value=ro),"validate-event":!1,size:"small",onKeyup:withKeys(no,["enter"]),onBlur:no},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(wn).be("dropdown","link-btn")),text:"",size:"small",onClick:co},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(bn)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(wn).be("dropdown","btn")),onClick:so},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(bn)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,_hoisted_1$U)),[[unref(ClickOutside),mo]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(xn),ref_key:"triggerRef",ref:Nn,class:normalizeClass(unref(Gn)),role:"button","aria-label":unref(Kn),"aria-labelledby":unref(Un),"aria-description":unref(bn)("el.colorpicker.description",{color:yo.modelValue||""}),"aria-disabled":unref(Cn),tabindex:unref(Cn)?-1:yo.tabindex,onKeydown:io,onFocus:Mn,onBlur:Bo[1]||(Bo[1]=(...ro)=>unref(In)&&unref(In)(...ro))},[unref(Cn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).be("picker","trigger")),onClick:Qn},[createBaseVNode("span",{class:normalizeClass([unref(wn).be("picker","color"),unref(wn).is("alpha",yo.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(wn).be("picker","color-inner")),style:normalizeStyle({backgroundColor:unref(Hn)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(wn).be("picker","icon"),unref(wn).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,yo.modelValue||Ln.value]]),withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(wn).be("picker","empty"),unref(wn).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"]),[[vShow,!yo.modelValue&&!Ln.value]])],6)],2)],2)],42,_hoisted_2$C)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$2(_sfc_main$1E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall$1(ColorPicker),__default__$X=defineComponent({name:"ElContainer"}),_sfc_main$1D=defineComponent({...__default__$X,props:{direction:{type:String}},setup(Fe){const qe=Fe,hn=useSlots(),vn=useNamespace("container"),bn=computed(()=>qe.direction==="vertical"?!0:qe.direction==="horizontal"?!1:hn&&hn.default?hn.default().some(kn=>{const _n=kn.type.name;return _n==="ElHeader"||_n==="ElFooter"}):!1);return(wn,kn)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(vn).b(),unref(vn).is("vertical",unref(bn))])},[renderSlot(wn.$slots,"default")],2))}});var Container=_export_sfc$2(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$W=defineComponent({name:"ElAside"}),_sfc_main$1C=defineComponent({...__default__$W,props:{width:{type:String,default:null}},setup(Fe){const qe=Fe,hn=useNamespace("aside"),vn=computed(()=>qe.width?hn.cssVarBlock({width:qe.width}):{});return(bn,wn)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(hn).b()),style:normalizeStyle(unref(vn))},[renderSlot(bn.$slots,"default")],6))}});var Aside=_export_sfc$2(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$V=defineComponent({name:"ElFooter"}),_sfc_main$1B=defineComponent({...__default__$V,props:{height:{type:String,default:null}},setup(Fe){const qe=Fe,hn=useNamespace("footer"),vn=computed(()=>qe.height?hn.cssVarBlock({height:qe.height}):{});return(bn,wn)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(hn).b()),style:normalizeStyle(unref(vn))},[renderSlot(bn.$slots,"default")],6))}});var Footer$3=_export_sfc$2(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$U=defineComponent({name:"ElHeader"}),_sfc_main$1A=defineComponent({...__default__$U,props:{height:{type:String,default:null}},setup(Fe){const qe=Fe,hn=useNamespace("header"),vn=computed(()=>qe.height?hn.cssVarBlock({height:qe.height}):{});return(bn,wn)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(hn).b()),style:normalizeStyle(unref(vn))},[renderSlot(bn.$slots,"default")],6))}});var Header$1=_export_sfc$2(_sfc_main$1A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$T=defineComponent({name:"ElMain"}),_sfc_main$1z=defineComponent({...__default__$T,setup(Fe){const qe=useNamespace("main");return(hn,vn)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(qe).b())},[renderSlot(hn.$slots,"default")],2))}});var Main=_export_sfc$2(_sfc_main$1z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall$1(Container,{Aside,Footer:Footer$3,Header:Header$1,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$3),ElHeader=withNoopInstall(Header$1),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn){var bn=vn.prototype,wn=bn.format;bn.format=function(kn){var _n=this,Cn=this.$locale();if(!this.isValid())return wn.bind(this)(kn);var xn=this.$utils(),En=(kn||"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($n){switch($n){case"Q":return Math.ceil((_n.$M+1)/3);case"Do":return Cn.ordinal(_n.$D);case"gggg":return _n.weekYear();case"GGGG":return _n.isoWeekYear();case"wo":return Cn.ordinal(_n.week(),"W");case"w":case"ww":return xn.s(_n.week(),$n==="w"?1:2,"0");case"W":case"WW":return xn.s(_n.isoWeek(),$n==="W"?1:2,"0");case"k":case"kk":return xn.s(String(_n.$H===0?24:_n.$H),$n==="k"?1:2,"0");case"X":return Math.floor(_n.$d.getTime()/1e3);case"x":return _n.$d.getTime();case"z":return"["+_n.offsetName()+"]";case"zzz":return"["+_n.offsetName("long")+"]";default:return $n}});return wn.bind(this)(En)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){var hn="week",vn="year";return function(bn,wn,kn){var _n=wn.prototype;_n.week=function(Cn){if(Cn===void 0&&(Cn=null),Cn!==null)return this.add(7*(Cn-this.week()),"day");var xn=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var En=kn(this).startOf(vn).add(1,vn).date(xn),$n=kn(this).endOf(hn);if(En.isBefore($n))return 1}var Sn=kn(this).startOf(vn).date(xn).startOf(hn).subtract(1,"millisecond"),An=this.diff(Sn,hn,!0);return An<0?kn(this).startOf("week").week():Math.ceil(An)},_n.weeks=function(Cn){return Cn===void 0&&(Cn=null),this.week(Cn)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn){vn.prototype.weekYear=function(){var bn=this.month(),wn=this.week(),kn=this.year();return wn===1&&bn===11?kn+1:bn===0&&wn>=52?kn-1:kn}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn,bn){vn.prototype.dayOfYear=function(wn){var kn=Math.round((bn(this).startOf("day")-bn(this).startOf("year"))/864e5)+1;return wn==null?kn:this.add(wn-kn,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn){vn.prototype.isSameOrAfter=function(bn,wn){return this.isSame(bn,wn)||this.isAfter(bn,wn)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(Fe,qe){(function(hn,vn){Fe.exports=vn()})(commonjsGlobal,function(){return function(hn,vn){vn.prototype.isSameOrBefore=function(bn,wn){return this.isSame(bn,wn)||this.isBefore(bn,wn)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,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},dateFormat:String,timeFormat:String}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=Fe=>({type:String,values:selectionModes,default:Fe}),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")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=Fe=>{if(!isArray$x(Fe))return!1;const[qe,hn]=Fe;return dayjs.isDayjs(qe)&&dayjs.isDayjs(hn)&&qe.isSameOrBefore(hn)},getDefaultValue=(Fe,{lang:qe,unit:hn,unlinkPanels:vn})=>{let bn;if(isArray$x(Fe)){let[wn,kn]=Fe.map(_n=>dayjs(_n).locale(qe));return vn||(kn=wn.add(1,hn)),[wn,kn]}else Fe?bn=dayjs(Fe):bn=dayjs();return bn=bn.locale(qe),[bn,bn.add(1,hn)]},buildPickerTable=(Fe,qe,{columnIndexOffset:hn,startDate:vn,nextEndDate:bn,now:wn,unit:kn,relativeDateGetter:_n,setCellMetadata:Cn,setRowMetadata:xn})=>{for(let En=0;En["normal","today"].includes(Fe),useBasicDateTable=(Fe,qe)=>{const{lang:hn}=useLocale(),vn=ref(),bn=ref(),wn=ref(),kn=ref(),_n=ref([[],[],[],[],[],[]]);let Cn=!1;const xn=Fe.date.$locale().weekStart||7,En=Fe.date.locale("en").localeData().weekdaysShort().map(jn=>jn.toLowerCase()),$n=computed(()=>xn>3?7-xn:-xn),Sn=computed(()=>{const jn=Fe.date.startOf("month");return jn.subtract(jn.day()||7,"day")}),An=computed(()=>En.concat(En).slice(xn,xn+7)),Tn=computed(()=>flatten$2(unref(Mn)).some(jn=>jn.isCurrent)),Nn=computed(()=>{const jn=Fe.date.startOf("month"),Jn=jn.day()||7,Qn=jn.daysInMonth(),no=jn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Jn,dateCountOfMonth:Qn,dateCountOfLastMonth:no}}),Pn=computed(()=>Fe.selectionMode==="dates"?castArray(Fe.parsedValue):[]),On=(jn,{count:Jn,rowIndex:Qn,columnIndex:no})=>{const{startOfMonthDay:so,dateCountOfMonth:co,dateCountOfLastMonth:mo}=unref(Nn),fo=unref($n);if(Qn>=0&&Qn<=1){const io=so+fo<0?7+so+fo:so+fo;if(no+Qn*7>=io)return jn.text=Jn,!0;jn.text=mo-(io-no%7)+1+Qn*7,jn.type="prev-month"}else return Jn<=co?jn.text=Jn:(jn.text=Jn-co,jn.type="next-month"),!0;return!1},Rn=(jn,{columnIndex:Jn,rowIndex:Qn},no)=>{const{disabledDate:so,cellClassName:co}=Fe,mo=unref(Pn),fo=On(jn,{count:no,rowIndex:Qn,columnIndex:Jn}),io=jn.dayjs.toDate();return jn.selected=mo.find(ao=>ao.valueOf()===jn.dayjs.valueOf()),jn.isSelected=!!jn.selected,jn.isCurrent=Dn(jn),jn.disabled=so==null?void 0:so(io),jn.customClass=co==null?void 0:co(io),fo},In=jn=>{if(Fe.selectionMode==="week"){const[Jn,Qn]=Fe.showWeekNumber?[1,7]:[0,6],no=qn(jn[Jn+1]);jn[Jn].inRange=no,jn[Jn].start=no,jn[Qn].inRange=no,jn[Qn].end=no}},Mn=computed(()=>{const{minDate:jn,maxDate:Jn,rangeState:Qn,showWeekNumber:no}=Fe,so=unref($n),co=unref(_n),mo="day";let fo=1;if(no)for(let io=0;io<6;io++)co[io][0]||(co[io][0]={type:"week",text:unref(Sn).add(io*7+1,mo).week()});return buildPickerTable({row:6,column:7},co,{startDate:jn,columnIndexOffset:no?1:0,nextEndDate:Qn.endDate||Jn||Qn.selecting&&jn||null,now:dayjs().locale(unref(hn)).startOf(mo),unit:mo,relativeDateGetter:io=>unref(Sn).add(io-so,mo),setCellMetadata:(...io)=>{Rn(...io,fo)&&(fo+=1)},setRowMetadata:In}),co});watch(()=>Fe.date,async()=>{var jn;(jn=unref(vn))!=null&&jn.contains(document.activeElement)&&(await nextTick(),await Bn())});const Bn=async()=>{var jn;return(jn=unref(bn))==null?void 0:jn.focus()},Dn=jn=>Fe.selectionMode==="date"&&isNormalDay(jn.type)&&Vn(jn,Fe.parsedValue),Vn=(jn,Jn)=>Jn?dayjs(Jn).locale(unref(hn)).isSame(Fe.date.date(Number(jn.text)),"day"):!1,Ln=(jn,Jn)=>{const Qn=jn*7+(Jn-(Fe.showWeekNumber?1:0))-unref($n);return unref(Sn).add(Qn,"day")},zn=jn=>{var Jn;if(!Fe.rangeState.selecting)return;let Qn=jn.target;if(Qn.tagName==="SPAN"&&(Qn=(Jn=Qn.parentNode)==null?void 0:Jn.parentNode),Qn.tagName==="DIV"&&(Qn=Qn.parentNode),Qn.tagName!=="TD")return;const no=Qn.parentNode.rowIndex-1,so=Qn.cellIndex;unref(Mn)[no][so].disabled||(no!==unref(wn)||so!==unref(kn))&&(wn.value=no,kn.value=so,qe("changerange",{selecting:!0,endDate:Ln(no,so)}))},Hn=jn=>!unref(Tn)&&(jn==null?void 0:jn.text)===1&&jn.type==="normal"||jn.isCurrent,Fn=jn=>{Cn||unref(Tn)||Fe.selectionMode!=="date"||Xn(jn,!0)},Kn=jn=>{jn.target.closest("td")&&(Cn=!0)},Un=jn=>{jn.target.closest("td")&&(Cn=!1)},Gn=jn=>{!Fe.rangeState.selecting||!Fe.minDate?(qe("pick",{minDate:jn,maxDate:null}),qe("select",!0)):(jn>=Fe.minDate?qe("pick",{minDate:Fe.minDate,maxDate:jn}):qe("pick",{minDate:jn,maxDate:Fe.minDate}),qe("select",!1))},Wn=jn=>{const Jn=jn.week(),Qn=`${jn.year()}w${Jn}`;qe("pick",{year:jn.year(),week:Jn,value:Qn,date:jn.startOf("week")})},Yn=(jn,Jn)=>{const Qn=Jn?castArray(Fe.parsedValue).filter(no=>(no==null?void 0:no.valueOf())!==jn.valueOf()):castArray(Fe.parsedValue).concat([jn]);qe("pick",Qn)},Xn=(jn,Jn=!1)=>{const Qn=jn.target.closest("td");if(!Qn)return;const no=Qn.parentNode.rowIndex-1,so=Qn.cellIndex,co=unref(Mn)[no][so];if(co.disabled||co.type==="week")return;const mo=Ln(no,so);switch(Fe.selectionMode){case"range":{Gn(mo);break}case"date":{qe("pick",mo,Jn);break}case"week":{Wn(mo);break}case"dates":{Yn(mo,!!co.selected);break}}},qn=jn=>{if(Fe.selectionMode!=="week")return!1;let Jn=Fe.date.startOf("day");if(jn.type==="prev-month"&&(Jn=Jn.subtract(1,"month")),jn.type==="next-month"&&(Jn=Jn.add(1,"month")),Jn=Jn.date(Number.parseInt(jn.text,10)),Fe.parsedValue&&!Array.isArray(Fe.parsedValue)){const Qn=(Fe.parsedValue.day()-xn+7)%7-1;return Fe.parsedValue.subtract(Qn,"day").isSame(Jn,"day")}return!1};return{WEEKS:An,rows:Mn,tbodyRef:vn,currentCellRef:bn,focus:Bn,isCurrent:Dn,isWeekActive:qn,isSelectedCell:Hn,handlePickDate:Xn,handleMouseUp:Un,handleMouseDown:Kn,handleMouseMove:zn,handleFocus:Fn}},useBasicDateTableDOM=(Fe,{isCurrent:qe,isWeekActive:hn})=>{const vn=useNamespace("date-table"),{t:bn}=useLocale(),wn=computed(()=>[vn.b(),{"is-week-mode":Fe.selectionMode==="week"}]),kn=computed(()=>bn("el.datepicker.dateTablePrompt")),_n=computed(()=>bn("el.datepicker.week"));return{tableKls:wn,tableLabel:kn,weekLabel:_n,getCellClasses:En=>{const $n=[];return isNormalDay(En.type)&&!En.disabled?($n.push("available"),En.type==="today"&&$n.push("today")):$n.push(En.type),qe(En)&&$n.push("current"),En.inRange&&(isNormalDay(En.type)||Fe.selectionMode==="week")&&($n.push("in-range"),En.start&&$n.push("start-date"),En.end&&$n.push("end-date")),En.disabled&&$n.push("disabled"),En.selected&&$n.push("selected"),En.customClass&&$n.push(En.customClass),$n.join(" ")},getRowKls:En=>[vn.e("row"),{current:hn(En)}],t:bn}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(Fe){const qe=useNamespace("date-table-cell"),{slots:hn}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:vn}=Fe;if(hn.default){const bn=hn.default(vn).filter(wn=>wn.patchFlag!==-2&&wn.type.toString()!=="Symbol(Comment)"&&wn.type.toString()!=="Symbol(v-cmt)");if(bn.length)return bn}return createVNode("div",{class:qe.b()},[createVNode("span",{class:qe.e("text")},[vn==null?void 0:vn.text])])}}});const _hoisted_1$T=["aria-label"],_hoisted_2$B={key:0,scope:"col"},_hoisted_3$m=["aria-label"],_hoisted_4$g=["aria-current","aria-selected","tabindex"],_sfc_main$1y=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{WEEKS:bn,rows:wn,tbodyRef:kn,currentCellRef:_n,focus:Cn,isCurrent:xn,isWeekActive:En,isSelectedCell:$n,handlePickDate:Sn,handleMouseUp:An,handleMouseDown:Tn,handleMouseMove:Nn,handleFocus:Pn}=useBasicDateTable(vn,hn),{tableLabel:On,tableKls:Rn,weekLabel:In,getCellClasses:Mn,getRowKls:Bn,t:Dn}=useBasicDateTableDOM(vn,{isCurrent:xn,isWeekActive:En});return qe({focus:Cn}),(Vn,Ln)=>(openBlock(),createElementBlock("table",{"aria-label":unref(On),class:normalizeClass(unref(Rn)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:Ln[1]||(Ln[1]=(...zn)=>unref(Sn)&&unref(Sn)(...zn)),onMousemove:Ln[2]||(Ln[2]=(...zn)=>unref(Nn)&&unref(Nn)(...zn)),onMousedown:Ln[3]||(Ln[3]=withModifiers((...zn)=>unref(Tn)&&unref(Tn)(...zn),["prevent"])),onMouseup:Ln[4]||(Ln[4]=(...zn)=>unref(An)&&unref(An)(...zn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:kn},[createBaseVNode("tr",null,[Vn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$B,toDisplayString(unref(In)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(zn,Hn)=>(openBlock(),createElementBlock("th",{key:Hn,"aria-label":unref(Dn)("el.datepicker.weeksFull."+zn),scope:"col"},toDisplayString(unref(Dn)("el.datepicker.weeks."+zn)),9,_hoisted_3$m))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),(zn,Hn)=>(openBlock(),createElementBlock("tr",{key:Hn,class:normalizeClass(unref(Bn)(zn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(zn,(Fn,Kn)=>(openBlock(),createElementBlock("td",{key:`${Hn}.${Kn}`,ref_for:!0,ref:Un=>unref($n)(Fn)&&(_n.value=Un),class:normalizeClass(unref(Mn)(Fn)),"aria-current":Fn.isCurrent?"date":void 0,"aria-selected":Fn.isCurrent,tabindex:unref($n)(Fn)?0:-1,onFocus:Ln[0]||(Ln[0]=(...Un)=>unref(Pn)&&unref(Pn)(...Un))},[createVNode(unref(ElDatePickerCell),{cell:Fn},null,8,["cell"])],42,_hoisted_4$g))),128))],2))),128))],512)],42,_hoisted_1$T))}});var DateTable=_export_sfc$2(_sfc_main$1y,[["__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$S=["aria-label"],_hoisted_2$A=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$l={class:"cell"},_sfc_main$1x=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=(Mn,Bn,Dn)=>{const Vn=dayjs().locale(Dn).startOf("month").month(Bn).year(Mn),Ln=Vn.daysInMonth();return rangeArr(Ln).map(zn=>Vn.add(zn,"day").toDate())},wn=useNamespace("month-table"),{t:kn,lang:_n}=useLocale(),Cn=ref(),xn=ref(),En=ref(vn.date.locale("en").localeData().monthsShort().map(Mn=>Mn.toLowerCase())),$n=ref([[],[],[]]),Sn=ref(),An=ref(),Tn=computed(()=>{var Mn,Bn;const Dn=$n.value,Vn=dayjs().locale(_n.value).startOf("month");for(let Ln=0;Ln<3;Ln++){const zn=Dn[Ln];for(let Hn=0;Hn<4;Hn++){const Fn=zn[Hn]||(zn[Hn]={row:Ln,column:Hn,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});Fn.type="normal";const Kn=Ln*4+Hn,Un=vn.date.startOf("year").month(Kn),Gn=vn.rangeState.endDate||vn.maxDate||vn.rangeState.selecting&&vn.minDate||null;Fn.inRange=!!(vn.minDate&&Un.isSameOrAfter(vn.minDate,"month")&&Gn&&Un.isSameOrBefore(Gn,"month"))||!!(vn.minDate&&Un.isSameOrBefore(vn.minDate,"month")&&Gn&&Un.isSameOrAfter(Gn,"month")),(Mn=vn.minDate)!=null&&Mn.isSameOrAfter(Gn)?(Fn.start=!!(Gn&&Un.isSame(Gn,"month")),Fn.end=vn.minDate&&Un.isSame(vn.minDate,"month")):(Fn.start=!!(vn.minDate&&Un.isSame(vn.minDate,"month")),Fn.end=!!(Gn&&Un.isSame(Gn,"month"))),Vn.isSame(Un)&&(Fn.type="today"),Fn.text=Kn,Fn.disabled=((Bn=vn.disabledDate)==null?void 0:Bn.call(vn,Un.toDate()))||!1}}return Dn}),Nn=()=>{var Mn;(Mn=xn.value)==null||Mn.focus()},Pn=Mn=>{const Bn={},Dn=vn.date.year(),Vn=new Date,Ln=Mn.text;return Bn.disabled=vn.disabledDate?bn(Dn,Ln,_n.value).every(vn.disabledDate):!1,Bn.current=castArray(vn.parsedValue).findIndex(zn=>dayjs.isDayjs(zn)&&zn.year()===Dn&&zn.month()===Ln)>=0,Bn.today=Vn.getFullYear()===Dn&&Vn.getMonth()===Ln,Mn.inRange&&(Bn["in-range"]=!0,Mn.start&&(Bn["start-date"]=!0),Mn.end&&(Bn["end-date"]=!0)),Bn},On=Mn=>{const Bn=vn.date.year(),Dn=Mn.text;return castArray(vn.date).findIndex(Vn=>Vn.year()===Bn&&Vn.month()===Dn)>=0},Rn=Mn=>{var Bn;if(!vn.rangeState.selecting)return;let Dn=Mn.target;if(Dn.tagName==="A"&&(Dn=(Bn=Dn.parentNode)==null?void 0:Bn.parentNode),Dn.tagName==="DIV"&&(Dn=Dn.parentNode),Dn.tagName!=="TD")return;const Vn=Dn.parentNode.rowIndex,Ln=Dn.cellIndex;Tn.value[Vn][Ln].disabled||(Vn!==Sn.value||Ln!==An.value)&&(Sn.value=Vn,An.value=Ln,hn("changerange",{selecting:!0,endDate:vn.date.startOf("year").month(Vn*4+Ln)}))},In=Mn=>{var Bn;const Dn=(Bn=Mn.target)==null?void 0:Bn.closest("td");if((Dn==null?void 0:Dn.tagName)!=="TD"||hasClass$1(Dn,"disabled"))return;const Vn=Dn.cellIndex,zn=Dn.parentNode.rowIndex*4+Vn,Hn=vn.date.startOf("year").month(zn);vn.selectionMode==="range"?vn.rangeState.selecting?(vn.minDate&&Hn>=vn.minDate?hn("pick",{minDate:vn.minDate,maxDate:Hn}):hn("pick",{minDate:Hn,maxDate:vn.minDate}),hn("select",!1)):(hn("pick",{minDate:Hn,maxDate:null}),hn("select",!0)):hn("pick",zn)};return watch(()=>vn.date,async()=>{var Mn,Bn;(Mn=Cn.value)!=null&&Mn.contains(document.activeElement)&&(await nextTick(),(Bn=xn.value)==null||Bn.focus())}),qe({focus:Nn}),(Mn,Bn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(kn)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(wn).b()),onClick:In,onMousemove:Rn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Cn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Tn),(Dn,Vn)=>(openBlock(),createElementBlock("tr",{key:Vn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn,(Ln,zn)=>(openBlock(),createElementBlock("td",{key:zn,ref_for:!0,ref:Hn=>On(Ln)&&(xn.value=Hn),class:normalizeClass(Pn(Ln)),"aria-selected":`${On(Ln)}`,"aria-label":unref(kn)(`el.datepicker.month${+Ln.text+1}`),tabindex:On(Ln)?0:-1,onKeydown:[withKeys(withModifiers(In,["prevent","stop"]),["space"]),withKeys(withModifiers(In,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$l,toDisplayString(unref(kn)("el.datepicker.months."+En.value[Ln.text])),1)])],42,_hoisted_2$A))),128))]))),128))],512)],42,_hoisted_1$S))}});var MonthTable=_export_sfc$2(_sfc_main$1x,[["__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$R=["aria-label"],_hoisted_2$z=["aria-selected","tabindex","onKeydown"],_hoisted_3$k={class:"cell"},_hoisted_4$f={key:1},_sfc_main$1w=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=(Nn,Pn)=>{const On=dayjs(String(Nn)).locale(Pn).startOf("year"),In=On.endOf("year").dayOfYear();return rangeArr(In).map(Mn=>On.add(Mn,"day").toDate())},wn=useNamespace("year-table"),{t:kn,lang:_n}=useLocale(),Cn=ref(),xn=ref(),En=computed(()=>Math.floor(vn.date.year()/10)*10),$n=()=>{var Nn;(Nn=xn.value)==null||Nn.focus()},Sn=Nn=>{const Pn={},On=dayjs().locale(_n.value);return Pn.disabled=vn.disabledDate?bn(Nn,_n.value).every(vn.disabledDate):!1,Pn.current=castArray(vn.parsedValue).findIndex(Rn=>Rn.year()===Nn)>=0,Pn.today=On.year()===Nn,Pn},An=Nn=>Nn===En.value&&vn.date.year()En.value+9||castArray(vn.date).findIndex(Pn=>Pn.year()===Nn)>=0,Tn=Nn=>{const On=Nn.target.closest("td");if(On&&On.textContent){if(hasClass$1(On,"disabled"))return;const Rn=On.textContent||On.innerText;hn("pick",Number(Rn))}};return watch(()=>vn.date,async()=>{var Nn,Pn;(Nn=Cn.value)!=null&&Nn.contains(document.activeElement)&&(await nextTick(),(Pn=xn.value)==null||Pn.focus())}),qe({focus:$n}),(Nn,Pn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(kn)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(wn).b()),onClick:Tn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Cn},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(On,Rn)=>createBaseVNode("tr",{key:Rn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(In,Mn)=>(openBlock(),createElementBlock(Fragment,{key:Rn+"_"+Mn},[Rn*4+Mn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:Bn=>An(unref(En)+Rn*4+Mn)&&(xn.value=Bn),class:normalizeClass(["available",Sn(unref(En)+Rn*4+Mn)]),"aria-selected":`${An(unref(En)+Rn*4+Mn)}`,tabindex:An(unref(En)+Rn*4+Mn)?0:-1,onKeydown:[withKeys(withModifiers(Tn,["prevent","stop"]),["space"]),withKeys(withModifiers(Tn,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$k,toDisplayString(unref(En)+Rn*4+Mn),1)],42,_hoisted_2$z)):(openBlock(),createElementBlock("td",_hoisted_4$f))],64))),64))])),64))],512)],10,_hoisted_1$R))}});var YearTable=_export_sfc$2(_sfc_main$1w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$Q=["onClick"],_hoisted_2$y=["aria-label"],_hoisted_3$j=["aria-label"],_hoisted_4$e=["aria-label"],_hoisted_5$b=["aria-label"],_sfc_main$1v=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(Fe,{emit:qe}){const hn=Fe,vn=($o,Do,No)=>!0,bn=useNamespace("picker-panel"),wn=useNamespace("date-picker"),kn=useAttrs$1(),_n=useSlots(),{t:Cn,lang:xn}=useLocale(),En=inject("EP_PICKER_BASE"),$n=inject(TOOLTIP_INJECTION_KEY),{shortcuts:Sn,disabledDate:An,cellClassName:Tn,defaultTime:Nn}=En.props,Pn=toRef(En.props,"defaultValue"),On=ref(),Rn=ref(dayjs().locale(xn.value)),In=ref(!1);let Mn=!1;const Bn=computed(()=>dayjs(Nn).locale(xn.value)),Dn=computed(()=>Rn.value.month()),Vn=computed(()=>Rn.value.year()),Ln=ref([]),zn=ref(null),Hn=ref(null),Fn=$o=>Ln.value.length>0?vn($o,Ln.value,hn.format||"HH:mm:ss"):!0,Kn=$o=>Nn&&!lo.value&&!In.value&&!Mn?Bn.value.year($o.year()).month($o.month()).date($o.date()):fo.value?$o.millisecond(0):$o.startOf("day"),Un=($o,...Do)=>{if(!$o)qe("pick",$o,...Do);else if(isArray$x($o)){const No=$o.map(Kn);qe("pick",No,...Do)}else qe("pick",Kn($o),...Do);zn.value=null,Hn.value=null,In.value=!1,Mn=!1},Gn=($o,Do)=>{if(Jn.value==="date"){$o=$o;let No=hn.parsedValue?hn.parsedValue.year($o.year()).month($o.month()).date($o.date()):$o;Fn(No)||(No=Ln.value[0][0].year($o.year()).month($o.month()).date($o.date())),Rn.value=No,Un(No,fo.value||Do)}else Jn.value==="week"?Un($o.date):Jn.value==="dates"&&Un($o,!0)},Wn=$o=>{const Do=$o?"add":"subtract";Rn.value=Rn.value[Do](1,"month"),Fo("month")},Yn=$o=>{const Do=Rn.value,No=$o?"add":"subtract";Rn.value=Xn.value==="year"?Do[No](10,"year"):Do[No](1,"year"),Fo("year")},Xn=ref("date"),qn=computed(()=>{const $o=Cn("el.datepicker.year");if(Xn.value==="year"){const Do=Math.floor(Vn.value/10)*10;return $o?`${Do} ${$o} - ${Do+9} ${$o}`:`${Do} - ${Do+9}`}return`${Vn.value} ${$o}`}),jn=$o=>{const Do=isFunction$i($o.value)?$o.value():$o.value;if(Do){Mn=!0,Un(dayjs(Do).locale(xn.value));return}$o.onClick&&$o.onClick({attrs:kn,slots:_n,emit:qe})},Jn=computed(()=>{const{type:$o}=hn;return["week","month","year","dates"].includes($o)?$o:"date"}),Qn=computed(()=>Jn.value==="date"?Xn.value:Jn.value),no=computed(()=>!!Sn.length),so=async $o=>{Rn.value=Rn.value.startOf("month").month($o),Jn.value==="month"?Un(Rn.value,!1):(Xn.value="date",["month","year","date","week"].includes(Jn.value)&&(Un(Rn.value,!0),await nextTick(),zo())),Fo("month")},co=async $o=>{Jn.value==="year"?(Rn.value=Rn.value.startOf("year").year($o),Un(Rn.value,!1)):(Rn.value=Rn.value.year($o),Xn.value="month",["month","year","date","week"].includes(Jn.value)&&(Un(Rn.value,!0),await nextTick(),zo())),Fo("year")},mo=async $o=>{Xn.value=$o,await nextTick(),zo()},fo=computed(()=>hn.type==="datetime"||hn.type==="datetimerange"),io=computed(()=>fo.value||Jn.value==="dates"),ao=computed(()=>An?hn.parsedValue?isArray$x(hn.parsedValue)?An(hn.parsedValue[0].toDate()):An(hn.parsedValue.toDate()):!0:!1),go=()=>{if(Jn.value==="dates")Un(hn.parsedValue);else{let $o=hn.parsedValue;if(!$o){const Do=dayjs(Nn).locale(xn.value),No=wo();$o=Do.year(No.year()).month(No.month()).date(No.date())}Rn.value=$o,Un($o)}},yo=computed(()=>An?An(dayjs().locale(xn.value).toDate()):!1),Bo=()=>{const Do=dayjs().locale(xn.value).toDate();In.value=!0,(!An||!An(Do))&&Fn(Do)&&(Rn.value=dayjs().locale(xn.value),Un(Rn.value))},ro=computed(()=>hn.timeFormat||extractTimeFormat(hn.format)),eo=computed(()=>hn.dateFormat||extractDateFormat(hn.format)),lo=computed(()=>{if(Hn.value)return Hn.value;if(!(!hn.parsedValue&&!Pn.value))return(hn.parsedValue||Rn.value).format(ro.value)}),ho=computed(()=>{if(zn.value)return zn.value;if(!(!hn.parsedValue&&!Pn.value))return(hn.parsedValue||Rn.value).format(eo.value)}),Io=ref(!1),Po=()=>{Io.value=!0},ko=()=>{Io.value=!1},xo=$o=>({hour:$o.hour(),minute:$o.minute(),second:$o.second(),year:$o.year(),month:$o.month(),date:$o.date()}),Ao=($o,Do,No)=>{const{hour:Vo,minute:Eo,second:rr}=xo($o),sr=hn.parsedValue?hn.parsedValue.hour(Vo).minute(Eo).second(rr):$o;Rn.value=sr,Un(Rn.value,!0),No||(Io.value=Do)},vo=$o=>{const Do=dayjs($o,ro.value).locale(xn.value);if(Do.isValid()&&Fn(Do)){const{year:No,month:Vo,date:Eo}=xo(Rn.value);Rn.value=Do.year(No).month(Vo).date(Eo),Hn.value=null,Io.value=!1,Un(Rn.value,!0)}},qo=$o=>{const Do=dayjs($o,eo.value).locale(xn.value);if(Do.isValid()){if(An&&An(Do.toDate()))return;const{hour:No,minute:Vo,second:Eo}=xo(Rn.value);Rn.value=Do.hour(No).minute(Vo).second(Eo),zn.value=null,Un(Rn.value,!0)}},jo=$o=>dayjs.isDayjs($o)&&$o.isValid()&&(An?!An($o.toDate()):!0),Ko=$o=>Jn.value==="dates"?$o.map(Do=>Do.format(hn.format)):$o.format(hn.format),bo=$o=>dayjs($o,hn.format).locale(xn.value),wo=()=>{const $o=dayjs(Pn.value).locale(xn.value);if(!Pn.value){const Do=Bn.value;return dayjs().hour(Do.hour()).minute(Do.minute()).second(Do.second()).locale(xn.value)}return $o},zo=async()=>{var $o;["week","month","year","date"].includes(Jn.value)&&(($o=On.value)==null||$o.focus(),Jn.value==="week"&&_o(EVENT_CODE.down))},Yo=$o=>{const{code:Do}=$o;[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(Do)&&(_o(Do),$o.stopPropagation(),$o.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Do)&&zn.value===null&&Hn.value===null&&($o.preventDefault(),Un(Rn.value,!1))},_o=$o=>{var Do;const{up:No,down:Vo,left:Eo,right:rr,home:sr,end:ur,pageUp:hr,pageDown:Co}=EVENT_CODE,Er={year:{[No]:-4,[Vo]:4,[Eo]:-1,[rr]:1,offset:(Qo,mr)=>Qo.setFullYear(Qo.getFullYear()+mr)},month:{[No]:-4,[Vo]:4,[Eo]:-1,[rr]:1,offset:(Qo,mr)=>Qo.setMonth(Qo.getMonth()+mr)},week:{[No]:-1,[Vo]:1,[Eo]:-1,[rr]:1,offset:(Qo,mr)=>Qo.setDate(Qo.getDate()+mr*7)},date:{[No]:-7,[Vo]:7,[Eo]:-1,[rr]:1,[sr]:Qo=>-Qo.getDay(),[ur]:Qo=>-Qo.getDay()+6,[hr]:Qo=>-new Date(Qo.getFullYear(),Qo.getMonth(),0).getDate(),[Co]:Qo=>new Date(Qo.getFullYear(),Qo.getMonth()+1,0).getDate(),offset:(Qo,mr)=>Qo.setDate(Qo.getDate()+mr)}},$r=Rn.value.toDate();for(;Math.abs(Rn.value.diff($r,"year",!0))<1;){const Qo=Er[Qn.value];if(!Qo)return;if(Qo.offset($r,isFunction$i(Qo[$o])?Qo[$o]($r):(Do=Qo[$o])!=null?Do:0),An&&An($r))break;const mr=dayjs($r).locale(xn.value);Rn.value=mr,qe("pick",mr,!0);break}},Fo=$o=>{qe("panel-change",Rn.value.toDate(),$o,Xn.value)};return watch(()=>Jn.value,$o=>{if(["month","year"].includes($o)){Xn.value=$o;return}Xn.value="date"},{immediate:!0}),watch(()=>Xn.value,()=>{$n==null||$n.updatePopper()}),watch(()=>Pn.value,$o=>{$o&&(Rn.value=wo())},{immediate:!0}),watch(()=>hn.parsedValue,$o=>{if($o){if(Jn.value==="dates"||Array.isArray($o))return;Rn.value=$o}else Rn.value=wo()},{immediate:!0}),qe("set-picker-option",["isValidValue",jo]),qe("set-picker-option",["formatToString",Ko]),qe("set-picker-option",["parseUserInput",bo]),qe("set-picker-option",["handleFocusPicker",zo]),($o,Do)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(bn).b(),unref(wn).b(),{"has-sidebar":$o.$slots.sidebar||unref(no),"has-time":unref(fo)}])},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("body-wrapper"))},[renderSlot($o.$slots,"sidebar",{class:normalizeClass(unref(bn).e("sidebar"))}),unref(no)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Sn),(No,Vo)=>(openBlock(),createElementBlock("button",{key:Vo,type:"button",class:normalizeClass(unref(bn).e("shortcut")),onClick:Eo=>jn(No)},toDisplayString(No.text),11,_hoisted_1$Q))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(bn).e("body"))},[unref(fo)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(wn).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(Cn)("el.datepicker.selectDate"),"model-value":unref(ho),size:"small","validate-event":!1,onInput:Do[0]||(Do[0]=No=>zn.value=No),onChange:qo},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(wn).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(Cn)("el.datepicker.selectTime"),"model-value":unref(lo),size:"small","validate-event":!1,onFocus:Po,onInput:Do[1]||(Do[1]=No=>Hn.value=No),onChange:vo},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:Io.value,format:unref(ro),"parsed-value":Rn.value,onPick:Ao},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),ko]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(wn).e("header"),(Xn.value==="year"||Xn.value==="month")&&unref(wn).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(wn).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(Cn)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(bn).e("icon-btn")]),onClick:Do[2]||(Do[2]=No=>Yn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$y),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Cn)("el.datepicker.prevMonth"),class:normalizeClass([unref(bn).e("icon-btn"),"arrow-left"]),onClick:Do[3]||(Do[3]=No=>Wn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$j),[[vShow,Xn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(wn).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Do[4]||(Do[4]=withKeys(No=>mo("year"),["enter"])),onClick:Do[5]||(Do[5]=No=>mo("year"))},toDisplayString(unref(qn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(wn).e("header-label"),{active:Xn.value==="month"}]),onKeydown:Do[6]||(Do[6]=withKeys(No=>mo("month"),["enter"])),onClick:Do[7]||(Do[7]=No=>mo("month"))},toDisplayString(unref(Cn)(`el.datepicker.month${unref(Dn)+1}`)),35),[[vShow,Xn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(wn).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Cn)("el.datepicker.nextMonth"),class:normalizeClass([unref(bn).e("icon-btn"),"arrow-right"]),onClick:Do[8]||(Do[8]=No=>Wn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$e),[[vShow,Xn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(Cn)("el.datepicker.nextYear"),class:normalizeClass([unref(bn).e("icon-btn"),"d-arrow-right"]),onClick:Do[9]||(Do[9]=No=>Yn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$b)],2)],2),[[vShow,Xn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(bn).e("content")),onKeydown:Yo},[Xn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:On,"selection-mode":unref(Jn),date:Rn.value,"parsed-value":$o.parsedValue,"disabled-date":unref(An),"cell-class-name":unref(Tn),onPick:Gn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Xn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:On,date:Rn.value,"disabled-date":unref(An),"parsed-value":$o.parsedValue,onPick:co},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Xn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:On,date:Rn.value,"parsed-value":$o.parsedValue,"disabled-date":unref(An),onPick:so},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(bn).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(bn).e("link-btn")),disabled:unref(yo),onClick:Bo},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Cn)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(Jn)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(bn).e("link-btn")),disabled:unref(ao),onClick:go},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Cn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(io)&&Xn.value==="date"]])],2))}});var DatePickPanel=_export_sfc$2(_sfc_main$1v,[["__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=Fe=>{const{emit:qe}=getCurrentInstance(),hn=useAttrs$1(),vn=useSlots();return wn=>{const kn=isFunction$i(wn.value)?wn.value():wn.value;if(kn){qe("pick",[dayjs(kn[0]).locale(Fe.value),dayjs(kn[1]).locale(Fe.value)]);return}wn.onClick&&wn.onClick({attrs:hn,slots:vn,emit:qe})}},useRangePicker=(Fe,{defaultValue:qe,leftDate:hn,rightDate:vn,unit:bn,onParsedValueChanged:wn})=>{const{emit:kn}=getCurrentInstance(),{pickerNs:_n}=inject(ROOT_PICKER_INJECTION_KEY),Cn=useNamespace("date-range-picker"),{t:xn,lang:En}=useLocale(),$n=useShortcut(En),Sn=ref(),An=ref(),Tn=ref({endDate:null,selecting:!1}),Nn=In=>{Tn.value=In},Pn=(In=!1)=>{const Mn=unref(Sn),Bn=unref(An);isValidRange([Mn,Bn])&&kn("pick",[Mn,Bn],In)},On=In=>{Tn.value.selecting=In,In||(Tn.value.endDate=null)},Rn=()=>{const[In,Mn]=getDefaultValue(unref(qe),{lang:unref(En),unit:bn,unlinkPanels:Fe.unlinkPanels});Sn.value=void 0,An.value=void 0,hn.value=In,vn.value=Mn};return watch(qe,In=>{In&&Rn()},{immediate:!0}),watch(()=>Fe.parsedValue,In=>{if(isArray$x(In)&&In.length===2){const[Mn,Bn]=In;Sn.value=Mn,hn.value=Mn,An.value=Bn,wn(unref(Sn),unref(An))}else Rn()},{immediate:!0}),{minDate:Sn,maxDate:An,rangeState:Tn,lang:En,ppNs:_n,drpNs:Cn,handleChangeRange:Nn,handleRangeConfirm:Pn,handleShortcutClick:$n,onSelect:On,t:xn}},_hoisted_1$P=["onClick"],_hoisted_2$x=["aria-label"],_hoisted_3$i=["aria-label"],_hoisted_4$d=["disabled","aria-label"],_hoisted_5$a=["disabled","aria-label"],_hoisted_6$6=["disabled","aria-label"],_hoisted_7$4=["disabled","aria-label"],_hoisted_8$4=["aria-label"],_hoisted_9$4=["aria-label"],unit$1="month",_sfc_main$1u=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(Fe,{emit:qe}){const hn=Fe,vn=inject("EP_PICKER_BASE"),{disabledDate:bn,cellClassName:wn,format:kn,defaultTime:_n,clearable:Cn}=vn.props,xn=toRef(vn.props,"shortcuts"),En=toRef(vn.props,"defaultValue"),{lang:$n}=useLocale(),Sn=ref(dayjs().locale($n.value)),An=ref(dayjs().locale($n.value).add(1,unit$1)),{minDate:Tn,maxDate:Nn,rangeState:Pn,ppNs:On,drpNs:Rn,handleChangeRange:In,handleRangeConfirm:Mn,handleShortcutClick:Bn,onSelect:Dn,t:Vn}=useRangePicker(hn,{defaultValue:En,leftDate:Sn,rightDate:An,unit:unit$1,onParsedValueChanged:Do}),Ln=ref({min:null,max:null}),zn=ref({min:null,max:null}),Hn=computed(()=>`${Sn.value.year()} ${Vn("el.datepicker.year")} ${Vn(`el.datepicker.month${Sn.value.month()+1}`)}`),Fn=computed(()=>`${An.value.year()} ${Vn("el.datepicker.year")} ${Vn(`el.datepicker.month${An.value.month()+1}`)}`),Kn=computed(()=>Sn.value.year()),Un=computed(()=>Sn.value.month()),Gn=computed(()=>An.value.year()),Wn=computed(()=>An.value.month()),Yn=computed(()=>!!xn.value.length),Xn=computed(()=>Ln.value.min!==null?Ln.value.min:Tn.value?Tn.value.format(no.value):""),qn=computed(()=>Ln.value.max!==null?Ln.value.max:Nn.value||Tn.value?(Nn.value||Tn.value).format(no.value):""),jn=computed(()=>zn.value.min!==null?zn.value.min:Tn.value?Tn.value.format(Qn.value):""),Jn=computed(()=>zn.value.max!==null?zn.value.max:Nn.value||Tn.value?(Nn.value||Tn.value).format(Qn.value):""),Qn=computed(()=>hn.timeFormat||extractTimeFormat(kn)),no=computed(()=>hn.dateFormat||extractDateFormat(kn)),so=No=>isValidRange(No)&&(bn?!bn(No[0].toDate())&&!bn(No[1].toDate()):!0),co=()=>{Sn.value=Sn.value.subtract(1,"year"),hn.unlinkPanels||(An.value=Sn.value.add(1,"month")),ro("year")},mo=()=>{Sn.value=Sn.value.subtract(1,"month"),hn.unlinkPanels||(An.value=Sn.value.add(1,"month")),ro("month")},fo=()=>{hn.unlinkPanels?An.value=An.value.add(1,"year"):(Sn.value=Sn.value.add(1,"year"),An.value=Sn.value.add(1,"month")),ro("year")},io=()=>{hn.unlinkPanels?An.value=An.value.add(1,"month"):(Sn.value=Sn.value.add(1,"month"),An.value=Sn.value.add(1,"month")),ro("month")},ao=()=>{Sn.value=Sn.value.add(1,"year"),ro("year")},go=()=>{Sn.value=Sn.value.add(1,"month"),ro("month")},yo=()=>{An.value=An.value.subtract(1,"year"),ro("year")},Bo=()=>{An.value=An.value.subtract(1,"month"),ro("month")},ro=No=>{qe("panel-change",[Sn.value.toDate(),An.value.toDate()],No)},eo=computed(()=>{const No=(Un.value+1)%12,Vo=Un.value+1>=12?1:0;return hn.unlinkPanels&&new Date(Kn.value+Vo,No)hn.unlinkPanels&&Gn.value*12+Wn.value-(Kn.value*12+Un.value+1)>=12),ho=computed(()=>!(Tn.value&&Nn.value&&!Pn.value.selecting&&isValidRange([Tn.value,Nn.value]))),Io=computed(()=>hn.type==="datetime"||hn.type==="datetimerange"),Po=(No,Vo)=>{if(No)return _n?dayjs(_n[Vo]||_n).locale($n.value).year(No.year()).month(No.month()).date(No.date()):No},ko=(No,Vo=!0)=>{const Eo=No.minDate,rr=No.maxDate,sr=Po(Eo,0),ur=Po(rr,1);Nn.value===ur&&Tn.value===sr||(qe("calendar-change",[Eo.toDate(),rr&&rr.toDate()]),Nn.value=ur,Tn.value=sr,!(!Vo||Io.value)&&Mn())},xo=ref(!1),Ao=ref(!1),vo=()=>{xo.value=!1},qo=()=>{Ao.value=!1},jo=(No,Vo)=>{Ln.value[Vo]=No;const Eo=dayjs(No,no.value).locale($n.value);if(Eo.isValid()){if(bn&&bn(Eo.toDate()))return;Vo==="min"?(Sn.value=Eo,Tn.value=(Tn.value||Sn.value).year(Eo.year()).month(Eo.month()).date(Eo.date()),!hn.unlinkPanels&&(!Nn.value||Nn.value.isBefore(Tn.value))&&(An.value=Eo.add(1,"month"),Nn.value=Tn.value.add(1,"month"))):(An.value=Eo,Nn.value=(Nn.value||An.value).year(Eo.year()).month(Eo.month()).date(Eo.date()),!hn.unlinkPanels&&(!Tn.value||Tn.value.isAfter(Nn.value))&&(Sn.value=Eo.subtract(1,"month"),Tn.value=Nn.value.subtract(1,"month")))}},Ko=(No,Vo)=>{Ln.value[Vo]=null},bo=(No,Vo)=>{zn.value[Vo]=No;const Eo=dayjs(No,Qn.value).locale($n.value);Eo.isValid()&&(Vo==="min"?(xo.value=!0,Tn.value=(Tn.value||Sn.value).hour(Eo.hour()).minute(Eo.minute()).second(Eo.second()),(!Nn.value||Nn.value.isBefore(Tn.value))&&(Nn.value=Tn.value)):(Ao.value=!0,Nn.value=(Nn.value||An.value).hour(Eo.hour()).minute(Eo.minute()).second(Eo.second()),An.value=Nn.value,Nn.value&&Nn.value.isBefore(Tn.value)&&(Tn.value=Nn.value)))},wo=(No,Vo)=>{zn.value[Vo]=null,Vo==="min"?(Sn.value=Tn.value,xo.value=!1):(An.value=Nn.value,Ao.value=!1)},zo=(No,Vo,Eo)=>{zn.value.min||(No&&(Sn.value=No,Tn.value=(Tn.value||Sn.value).hour(No.hour()).minute(No.minute()).second(No.second())),Eo||(xo.value=Vo),(!Nn.value||Nn.value.isBefore(Tn.value))&&(Nn.value=Tn.value,An.value=No))},Yo=(No,Vo,Eo)=>{zn.value.max||(No&&(An.value=No,Nn.value=(Nn.value||An.value).hour(No.hour()).minute(No.minute()).second(No.second())),Eo||(Ao.value=Vo),Nn.value&&Nn.value.isBefore(Tn.value)&&(Tn.value=Nn.value))},_o=()=>{Sn.value=getDefaultValue(unref(En),{lang:unref($n),unit:"month",unlinkPanels:hn.unlinkPanels})[0],An.value=Sn.value.add(1,"month"),qe("pick",null)},Fo=No=>isArray$x(No)?No.map(Vo=>Vo.format(kn)):No.format(kn),$o=No=>isArray$x(No)?No.map(Vo=>dayjs(Vo,kn).locale($n.value)):dayjs(No,kn).locale($n.value);function Do(No,Vo){if(hn.unlinkPanels&&Vo){const Eo=(No==null?void 0:No.year())||0,rr=(No==null?void 0:No.month())||0,sr=Vo.year(),ur=Vo.month();An.value=Eo===sr&&rr===ur?Vo.add(1,unit$1):Vo}else An.value=Sn.value.add(1,unit$1),Vo&&(An.value=An.value.hour(Vo.hour()).minute(Vo.minute()).second(Vo.second()))}return qe("set-picker-option",["isValidValue",so]),qe("set-picker-option",["parseUserInput",$o]),qe("set-picker-option",["formatToString",Fo]),qe("set-picker-option",["handleClear",_o]),(No,Vo)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(On).b(),unref(Rn).b(),{"has-sidebar":No.$slots.sidebar||unref(Yn),"has-time":unref(Io)}])},[createBaseVNode("div",{class:normalizeClass(unref(On).e("body-wrapper"))},[renderSlot(No.$slots,"sidebar",{class:normalizeClass(unref(On).e("sidebar"))}),unref(Yn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(On).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(xn),(Eo,rr)=>(openBlock(),createElementBlock("button",{key:rr,type:"button",class:normalizeClass(unref(On).e("shortcut")),onClick:sr=>unref(Bn)(Eo)},toDisplayString(Eo.text),11,_hoisted_1$P))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(On).e("body"))},[unref(Io)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Rn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(Rn).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(Rn).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",disabled:unref(Pn).selecting,placeholder:unref(Vn)("el.datepicker.startDate"),class:normalizeClass(unref(Rn).e("editor")),"model-value":unref(Xn),"validate-event":!1,onInput:Vo[0]||(Vo[0]=Eo=>jo(Eo,"min")),onChange:Vo[1]||(Vo[1]=Eo=>Ko(Eo,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Rn).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Rn).e("editor")),disabled:unref(Pn).selecting,placeholder:unref(Vn)("el.datepicker.startTime"),"model-value":unref(jn),"validate-event":!1,onFocus:Vo[2]||(Vo[2]=Eo=>xo.value=!0),onInput:Vo[3]||(Vo[3]=Eo=>bo(Eo,"min")),onChange:Vo[4]||(Vo[4]=Eo=>wo(Eo,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:xo.value,format:unref(Qn),"datetime-role":"start","parsed-value":Sn.value,onPick:zo},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),vo]])],2),createBaseVNode("span",null,[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(Rn).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(Rn).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Rn).e("editor")),disabled:unref(Pn).selecting,placeholder:unref(Vn)("el.datepicker.endDate"),"model-value":unref(qn),readonly:!unref(Tn),"validate-event":!1,onInput:Vo[5]||(Vo[5]=Eo=>jo(Eo,"max")),onChange:Vo[6]||(Vo[6]=Eo=>Ko(Eo,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Rn).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(Rn).e("editor")),disabled:unref(Pn).selecting,placeholder:unref(Vn)("el.datepicker.endTime"),"model-value":unref(Jn),readonly:!unref(Tn),"validate-event":!1,onFocus:Vo[7]||(Vo[7]=Eo=>unref(Tn)&&(Ao.value=!0)),onInput:Vo[8]||(Vo[8]=Eo=>bo(Eo,"max")),onChange:Vo[9]||(Vo[9]=Eo=>wo(Eo,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:Ao.value,format:unref(Qn),"parsed-value":An.value,onPick:Yo},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),qo]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(On).e("content"),unref(Rn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Rn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Vn)("el.datepicker.prevYear"),onClick:co},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$x),createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("icon-btn"),"arrow-left"]),"aria-label":unref(Vn)("el.datepicker.prevMonth"),onClick:mo},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$i),No.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(lo),class:normalizeClass([[unref(On).e("icon-btn"),{"is-disabled":!unref(lo)}],"d-arrow-right"]),"aria-label":unref(Vn)("el.datepicker.nextYear"),onClick:ao},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$d)):createCommentVNode("v-if",!0),No.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(eo),class:normalizeClass([[unref(On).e("icon-btn"),{"is-disabled":!unref(eo)}],"arrow-right"]),"aria-label":unref(Vn)("el.datepicker.nextMonth"),onClick:go},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_5$a)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Hn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Sn.value,"min-date":unref(Tn),"max-date":unref(Nn),"range-state":unref(Pn),"disabled-date":unref(bn),"cell-class-name":unref(wn),onChangerange:unref(In),onPick:ko,onSelect:unref(Dn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(On).e("content"),unref(Rn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Rn).e("header"))},[No.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(lo),class:normalizeClass([[unref(On).e("icon-btn"),{"is-disabled":!unref(lo)}],"d-arrow-left"]),"aria-label":unref(Vn)("el.datepicker.prevYear"),onClick:yo},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$6)):createCommentVNode("v-if",!0),No.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(eo),class:normalizeClass([[unref(On).e("icon-btn"),{"is-disabled":!unref(eo)}],"arrow-left"]),"aria-label":unref(Vn)("el.datepicker.prevMonth"),onClick:Bo},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_7$4)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Vn)("el.datepicker.nextYear"),class:normalizeClass([unref(On).e("icon-btn"),"d-arrow-right"]),onClick:fo},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$4),createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("icon-btn"),"arrow-right"]),"aria-label":unref(Vn)("el.datepicker.nextMonth"),onClick:io},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_9$4),createBaseVNode("div",null,toDisplayString(unref(Fn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:An.value,"min-date":unref(Tn),"max-date":unref(Nn),"range-state":unref(Pn),"disabled-date":unref(bn),"cell-class-name":unref(wn),onChangerange:unref(In),onPick:ko,onSelect:unref(Dn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(Io)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(On).e("footer"))},[unref(Cn)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(On).e("link-btn")),onClick:_o},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Vn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(On).e("link-btn")),disabled:unref(ho),onClick:Vo[10]||(Vo[10]=Eo=>unref(Mn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Vn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$2(_sfc_main$1u,[["__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","calendar-change"],useMonthRangeHeader=({unlinkPanels:Fe,leftDate:qe,rightDate:hn})=>{const{t:vn}=useLocale(),bn=()=>{qe.value=qe.value.subtract(1,"year"),Fe.value||(hn.value=hn.value.subtract(1,"year"))},wn=()=>{Fe.value||(qe.value=qe.value.add(1,"year")),hn.value=hn.value.add(1,"year")},kn=()=>{qe.value=qe.value.add(1,"year")},_n=()=>{hn.value=hn.value.subtract(1,"year")},Cn=computed(()=>`${qe.value.year()} ${vn("el.datepicker.year")}`),xn=computed(()=>`${hn.value.year()} ${vn("el.datepicker.year")}`),En=computed(()=>qe.value.year()),$n=computed(()=>hn.value.year()===qe.value.year()?qe.value.year()+1:hn.value.year());return{leftPrevYear:bn,rightNextYear:wn,leftNextYear:kn,rightPrevYear:_n,leftLabel:Cn,rightLabel:xn,leftYear:En,rightYear:$n}},_hoisted_1$O=["onClick"],_hoisted_2$w=["disabled"],_hoisted_3$h=["disabled"],unit="year",__default__$S=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1t=defineComponent({...__default__$S,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(Fe,{emit:qe}){const hn=Fe,{lang:vn}=useLocale(),bn=inject("EP_PICKER_BASE"),{shortcuts:wn,disabledDate:kn,format:_n}=bn.props,Cn=toRef(bn.props,"defaultValue"),xn=ref(dayjs().locale(vn.value)),En=ref(dayjs().locale(vn.value).add(1,unit)),{minDate:$n,maxDate:Sn,rangeState:An,ppNs:Tn,drpNs:Nn,handleChangeRange:Pn,handleRangeConfirm:On,handleShortcutClick:Rn,onSelect:In}=useRangePicker(hn,{defaultValue:Cn,leftDate:xn,rightDate:En,unit,onParsedValueChanged:Yn}),Mn=computed(()=>!!wn.length),{leftPrevYear:Bn,rightNextYear:Dn,leftNextYear:Vn,rightPrevYear:Ln,leftLabel:zn,rightLabel:Hn,leftYear:Fn,rightYear:Kn}=useMonthRangeHeader({unlinkPanels:toRef(hn,"unlinkPanels"),leftDate:xn,rightDate:En}),Un=computed(()=>hn.unlinkPanels&&Kn.value>Fn.value+1),Gn=(Xn,qn=!0)=>{const jn=Xn.minDate,Jn=Xn.maxDate;Sn.value===Jn&&$n.value===jn||(qe("calendar-change",[jn.toDate(),Jn&&Jn.toDate()]),Sn.value=Jn,$n.value=jn,qn&&On())},Wn=Xn=>Xn.map(qn=>qn.format(_n));function Yn(Xn,qn){if(hn.unlinkPanels&&qn){const jn=(Xn==null?void 0:Xn.year())||0,Jn=qn.year();En.value=jn===Jn?qn.add(1,unit):qn}else En.value=xn.value.add(1,unit)}return qe("set-picker-option",["formatToString",Wn]),(Xn,qn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Tn).b(),unref(Nn).b(),{"has-sidebar":!!Xn.$slots.sidebar||unref(Mn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Tn).e("body-wrapper"))},[renderSlot(Xn.$slots,"sidebar",{class:normalizeClass(unref(Tn).e("sidebar"))}),unref(Mn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Tn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),(jn,Jn)=>(openBlock(),createElementBlock("button",{key:Jn,type:"button",class:normalizeClass(unref(Tn).e("shortcut")),onClick:Qn=>unref(Rn)(jn)},toDisplayString(jn.text),11,_hoisted_1$O))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Tn).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(Tn).e("content"),unref(Nn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Nn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Tn).e("icon-btn"),"d-arrow-left"]),onClick:qn[0]||(qn[0]=(...jn)=>unref(Bn)&&unref(Bn)(...jn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),Xn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Un),class:normalizeClass([[unref(Tn).e("icon-btn"),{[unref(Tn).is("disabled")]:!unref(Un)}],"d-arrow-right"]),onClick:qn[1]||(qn[1]=(...jn)=>unref(Vn)&&unref(Vn)(...jn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$w)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(zn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:xn.value,"min-date":unref($n),"max-date":unref(Sn),"range-state":unref(An),"disabled-date":unref(kn),onChangerange:unref(Pn),onPick:Gn,onSelect:unref(In)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Tn).e("content"),unref(Nn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Nn).e("header"))},[Xn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Un),class:normalizeClass([[unref(Tn).e("icon-btn"),{"is-disabled":!unref(Un)}],"d-arrow-left"]),onClick:qn[2]||(qn[2]=(...jn)=>unref(Ln)&&unref(Ln)(...jn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$h)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Tn).e("icon-btn"),"d-arrow-right"]),onClick:qn[3]||(qn[3]=(...jn)=>unref(Dn)&&unref(Dn)(...jn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(Hn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:En.value,"min-date":unref($n),"max-date":unref(Sn),"range-state":unref(An),"disabled-date":unref(kn),onChangerange:unref(Pn),onPick:Gn,onSelect:unref(In)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$2(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const getPanel=function(Fe){switch(Fe){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:datePickerProps,emits:["update:modelValue"],setup(Fe,{expose:qe,emit:hn,slots:vn}){const bn=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(Fe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:vn,pickerNs:bn});const wn=ref();qe({focus:(Cn=!0)=>{var xn;(xn=wn.value)==null||xn.focus(Cn)},handleOpen:()=>{var Cn;(Cn=wn.value)==null||Cn.handleOpen()},handleClose:()=>{var Cn;(Cn=wn.value)==null||Cn.handleClose()}});const _n=Cn=>{hn("update:modelValue",Cn)};return()=>{var Cn;const xn=(Cn=Fe.format)!=null?Cn:DEFAULT_FORMATS_DATEPICKER[Fe.type]||DEFAULT_FORMATS_DATE,En=getPanel(Fe.type);return createVNode(CommonPicker,mergeProps(Fe,{format:xn,type:Fe.type,ref:wn,"onUpdate:modelValue":_n}),{default:$n=>createVNode(En,$n,null),"range-separator":vn["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=Fe=>{Fe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var Fe,qe,hn,vn,bn,wn,kn;const _n=getNormalizedProps(this.cell),Cn=(((Fe=this.cell)==null?void 0:Fe.dirs)||[]).map(Bn=>{const{dir:Dn,arg:Vn,modifiers:Ln,value:zn}=Bn;return[Dn,zn,Vn,Ln]}),{border:xn,direction:En}=this.descriptions,$n=En==="vertical",Sn=((vn=(hn=(qe=this.cell)==null?void 0:qe.children)==null?void 0:hn.label)==null?void 0:vn.call(hn))||_n.label,An=(kn=(wn=(bn=this.cell)==null?void 0:bn.children)==null?void 0:wn.default)==null?void 0:kn.call(wn),Tn=_n.span,Nn=_n.align?`is-${_n.align}`:"",Pn=_n.labelAlign?`is-${_n.labelAlign}`:Nn,On=_n.className,Rn=_n.labelClassName,In={width:addUnit(_n.width),minWidth:addUnit(_n.minWidth)},Mn=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$6(this.tag,{style:In,class:[Mn.e("cell"),Mn.e("label"),Mn.is("bordered-label",xn),Mn.is("vertical-label",$n),Pn,Rn],colSpan:$n?Tn:1},Sn),Cn);case"content":return withDirectives(h$6(this.tag,{style:In,class:[Mn.e("cell"),Mn.e("content"),Mn.is("bordered-content",xn),Mn.is("vertical-content",$n),Nn,On],colSpan:$n?Tn:Tn*2-1},An),Cn);default:return withDirectives(h$6("td",{style:In,class:[Mn.e("cell"),Nn],colSpan:Tn},[isNil(Sn)?void 0:h$6("span",{class:[Mn.e("label"),Rn]},Sn),h$6("span",{class:[Mn.e("content"),On]},An)]),Cn)}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$N={key:1},__default__$R=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1s=defineComponent({...__default__$R,props:descriptionsRowProps,setup(Fe){const qe=inject(descriptionsKey,{});return(hn,vn)=>unref(qe).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(hn.row,(bn,wn)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${wn}`,cell:bn,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(hn.row,(bn,wn)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${wn}`,cell:bn,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$N,[(openBlock(!0),createElementBlock(Fragment,null,renderList(hn.row,(bn,wn)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${wn}`},[unref(qe).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:bn,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:bn,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:bn,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$2(_sfc_main$1s,[["__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__$Q=defineComponent({name:"ElDescriptions"}),_sfc_main$1r=defineComponent({...__default__$Q,props:descriptionProps,setup(Fe){const qe=Fe,hn=useNamespace("descriptions"),vn=useFormSize(),bn=useSlots();provide(descriptionsKey,qe);const wn=computed(()=>[hn.b(),hn.m(vn.value)]),kn=(Cn,xn,En,$n=!1)=>(Cn.props||(Cn.props={}),xn>En&&(Cn.props.span=En),$n&&(Cn.props.span=xn),Cn),_n=()=>{if(!bn.default)return[];const Cn=flattedChildren(bn.default()).filter(An=>{var Tn;return((Tn=An==null?void 0:An.type)==null?void 0:Tn.name)==="ElDescriptionsItem"}),xn=[];let En=[],$n=qe.column,Sn=0;return Cn.forEach((An,Tn)=>{var Nn;const Pn=((Nn=An.props)==null?void 0:Nn.span)||1;if(Tn$n?$n:Pn),Tn===Cn.length-1){const On=qe.column-Sn%qe.column;En.push(kn(An,On,$n,!0)),xn.push(En);return}Pn<$n?($n-=Pn,En.push(An)):(En.push(kn(An,Pn,$n)),xn.push(En),$n=qe.column,En=[])}),xn};return(Cn,xn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(wn))},[Cn.title||Cn.extra||Cn.$slots.title||Cn.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(hn).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(hn).e("title"))},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Cn.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(hn).e("extra"))},[renderSlot(Cn.$slots,"extra",{},()=>[createTextVNode(toDisplayString(Cn.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(hn).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(hn).e("table"),unref(hn).is("bordered",Cn.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(_n(),(En,$n)=>(openBlock(),createBlock(ElDescriptionsRow,{key:$n,row:En},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$2(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]);const descriptionItemProps=buildProps({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:""}}),DescriptionItem=defineComponent({name:"ElDescriptionsItem",props:descriptionItemProps}),ElDescriptions=withInstall$1(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),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:Fe=>Fe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(Fe,{slots:qe,emit:hn}){const vn=useNamespace(BLOCK),bn=Cn=>{hn("click",Cn)},{onClick:wn,onMousedown:kn,onMouseup:_n}=useSameTarget(Fe.customMaskEvent?void 0:bn);return()=>Fe.mask?createVNode("div",{class:[vn.b(),Fe.overlayClass],style:{zIndex:Fe.zIndex},onClick:wn,onMousedown:kn,onMouseup:_n},[renderSlot(qe,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$6("div",{class:Fe.overlayClass,style:{zIndex:Fe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(qe,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},customClass:{type:String,default:""},draggable:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$M=["aria-level"],_hoisted_2$v=["aria-label"],_hoisted_3$g=["id"],__default__$P=defineComponent({name:"ElDialogContent"}),_sfc_main$1q=defineComponent({...__default__$P,props:dialogContentProps,emits:dialogContentEmits,setup(Fe){const qe=Fe,{t:hn}=useLocale(),{Close:vn}=CloseComponents,{dialogRef:bn,headerRef:wn,bodyId:kn,ns:_n,style:Cn}=inject(dialogInjectionKey),{focusTrapRef:xn}=inject(FOCUS_TRAP_INJECTION_KEY),En=computed(()=>[_n.b(),_n.is("fullscreen",qe.fullscreen),_n.is("draggable",qe.draggable),_n.is("align-center",qe.alignCenter),{[_n.m("center")]:qe.center},qe.customClass]),$n=composeRefs(xn,bn),Sn=computed(()=>qe.draggable);return useDraggable(bn,wn,Sn),(An,Tn)=>(openBlock(),createElementBlock("div",{ref:unref($n),class:normalizeClass(unref(En)),style:normalizeStyle(unref(Cn)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:wn,class:normalizeClass(unref(_n).e("header"))},[renderSlot(An.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":An.ariaLevel,class:normalizeClass(unref(_n).e("title"))},toDisplayString(An.title),11,_hoisted_1$M)]),An.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(hn)("el.dialog.close"),class:normalizeClass(unref(_n).e("headerbtn")),type:"button",onClick:Tn[0]||(Tn[0]=Nn=>An.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(_n).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.closeIcon||unref(vn))))]),_:1},8,["class"])],10,_hoisted_2$v)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(kn),class:normalizeClass(unref(_n).e("body"))},[renderSlot(An.$slots,"default")],10,_hoisted_3$g),An.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(_n).e("footer"))},[renderSlot(An.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$2(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:definePropType(String),default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:Fe=>isBoolean$5(Fe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(Fe,qe)=>{var hn;const bn=getCurrentInstance().emit,{nextZIndex:wn}=useZIndex();let kn="";const _n=useId(),Cn=useId(),xn=ref(!1),En=ref(!1),$n=ref(!1),Sn=ref((hn=Fe.zIndex)!=null?hn:wn());let An,Tn;const Nn=useGlobalConfig("namespace",defaultNamespace),Pn=computed(()=>{const Wn={},Yn=`--${Nn.value}-dialog`;return Fe.fullscreen||(Fe.top&&(Wn[`${Yn}-margin-top`]=Fe.top),Fe.width&&(Wn[`${Yn}-width`]=addUnit(Fe.width))),Wn}),On=computed(()=>Fe.alignCenter?{display:"flex"}:{});function Rn(){bn("opened")}function In(){bn("closed"),bn(UPDATE_MODEL_EVENT,!1),Fe.destroyOnClose&&($n.value=!1)}function Mn(){bn("close")}function Bn(){Tn==null||Tn(),An==null||An(),Fe.openDelay&&Fe.openDelay>0?{stop:An}=useTimeoutFn$1(()=>zn(),Fe.openDelay):zn()}function Dn(){An==null||An(),Tn==null||Tn(),Fe.closeDelay&&Fe.closeDelay>0?{stop:Tn}=useTimeoutFn$1(()=>Hn(),Fe.closeDelay):Hn()}function Vn(){function Wn(Yn){Yn||(En.value=!0,xn.value=!1)}Fe.beforeClose?Fe.beforeClose(Wn):Dn()}function Ln(){Fe.closeOnClickModal&&Vn()}function zn(){isClient$1&&(xn.value=!0)}function Hn(){xn.value=!1}function Fn(){bn("openAutoFocus")}function Kn(){bn("closeAutoFocus")}function Un(Wn){var Yn;((Yn=Wn.detail)==null?void 0:Yn.focusReason)==="pointer"&&Wn.preventDefault()}Fe.lockScroll&&useLockscreen(xn);function Gn(){Fe.closeOnPressEscape&&Vn()}return watch(()=>Fe.modelValue,Wn=>{Wn?(En.value=!1,Bn(),$n.value=!0,Sn.value=isUndefined$e(Fe.zIndex)?wn():Sn.value++,nextTick(()=>{bn("open"),qe.value&&(qe.value.scrollTop=0)})):xn.value&&Dn()}),watch(()=>Fe.fullscreen,Wn=>{qe.value&&(Wn?(kn=qe.value.style.transform,qe.value.style.transform=""):qe.value.style.transform=kn)}),onMounted(()=>{Fe.modelValue&&(xn.value=!0,$n.value=!0,Bn())}),{afterEnter:Rn,afterLeave:In,beforeLeave:Mn,handleClose:Vn,onModalClick:Ln,close:Dn,doClose:Hn,onOpenAutoFocus:Fn,onCloseAutoFocus:Kn,onCloseRequested:Gn,onFocusoutPrevented:Un,titleId:_n,bodyId:Cn,closed:En,style:Pn,overlayDialogStyle:On,rendered:$n,visible:xn,zIndex:Sn}},_hoisted_1$L=["aria-label","aria-labelledby","aria-describedby"],__default__$O=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1p=defineComponent({...__default__$O,props:dialogProps,emits:dialogEmits,setup(Fe,{expose:qe}){const hn=Fe,vn=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(()=>!!vn.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(()=>!!hn.customClass));const bn=useNamespace("dialog"),wn=ref(),kn=ref(),_n=ref(),{visible:Cn,titleId:xn,bodyId:En,style:$n,overlayDialogStyle:Sn,rendered:An,zIndex:Tn,afterEnter:Nn,afterLeave:Pn,beforeLeave:On,handleClose:Rn,onModalClick:In,onOpenAutoFocus:Mn,onCloseAutoFocus:Bn,onCloseRequested:Dn,onFocusoutPrevented:Vn}=useDialog(hn,wn);provide(dialogInjectionKey,{dialogRef:wn,headerRef:kn,bodyId:En,ns:bn,rendered:An,style:$n});const Ln=useSameTarget(In),zn=computed(()=>hn.draggable&&!hn.fullscreen);return qe({visible:Cn,dialogContentRef:_n}),(Hn,Fn)=>(openBlock(),createBlock(Teleport,{to:Hn.appendTo,disabled:Hn.appendTo!=="body"?!1:!Hn.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(Nn),onAfterLeave:unref(Pn),onBeforeLeave:unref(On),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(unref(ElOverlay),{"custom-mask-event":"",mask:Hn.modal,"overlay-class":Hn.modalClass,"z-index":unref(Tn)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":Hn.title||void 0,"aria-labelledby":Hn.title?void 0:unref(xn),"aria-describedby":unref(En),class:normalizeClass(`${unref(bn).namespace.value}-overlay-dialog`),style:normalizeStyle(unref(Sn)),onClick:Fn[0]||(Fn[0]=(...Kn)=>unref(Ln).onClick&&unref(Ln).onClick(...Kn)),onMousedown:Fn[1]||(Fn[1]=(...Kn)=>unref(Ln).onMousedown&&unref(Ln).onMousedown(...Kn)),onMouseup:Fn[2]||(Fn[2]=(...Kn)=>unref(Ln).onMouseup&&unref(Ln).onMouseup(...Kn))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref(Cn),"focus-start-el":"container",onFocusAfterTrapped:unref(Mn),onFocusAfterReleased:unref(Bn),onFocusoutPrevented:unref(Vn),onReleaseRequested:unref(Dn)},{default:withCtx(()=>[unref(An)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:_n},Hn.$attrs,{"custom-class":Hn.customClass,center:Hn.center,"align-center":Hn.alignCenter,"close-icon":Hn.closeIcon,draggable:unref(zn),fullscreen:Hn.fullscreen,"show-close":Hn.showClose,title:Hn.title,"aria-level":Hn.headerAriaLevel,onClose:unref(Rn)}),createSlots({header:withCtx(()=>[Hn.$slots.title?renderSlot(Hn.$slots,"title",{key:1}):renderSlot(Hn.$slots,"header",{key:0,close:unref(Rn),titleId:unref(xn),titleClass:unref(bn).e("title")})]),default:withCtx(()=>[renderSlot(Hn.$slots,"default")]),_:2},[Hn.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(Hn.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$L)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(Cn)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Dialog=_export_sfc$2(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const ElDialog=withInstall$1(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__$N=defineComponent({name:"ElDivider"}),_sfc_main$1o=defineComponent({...__default__$N,props:dividerProps,setup(Fe){const qe=Fe,hn=useNamespace("divider"),vn=computed(()=>hn.cssVar({"border-style":qe.borderStyle}));return(bn,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(hn).b(),unref(hn).m(bn.direction)]),style:normalizeStyle(unref(vn)),role:"separator"},[bn.$slots.default&&bn.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(hn).e("text"),unref(hn).is(bn.contentPosition)])},[renderSlot(bn.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$2(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const ElDivider=withInstall$1(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_sfc_main$1n=defineComponent({name:"ElDrawer",components:{ElOverlay,ElFocusTrap,ElIcon,Close:close_default},inheritAttrs:!1,props:drawerProps,emits:drawerEmits,setup(Fe,{slots:qe}){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(()=>!!qe.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(()=>!!Fe.customClass));const hn=ref(),vn=ref(),bn=useNamespace("drawer"),{t:wn}=useLocale(),kn=computed(()=>Fe.direction==="rtl"||Fe.direction==="ltr"),_n=computed(()=>addUnit(Fe.size));return{...useDialog(Fe,hn),drawerRef:hn,focusStartRef:vn,isHorizontal:kn,drawerSize:_n,ns:bn,t:wn}}}),_hoisted_1$K=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$u=["id","aria-level"],_hoisted_3$f=["aria-label"],_hoisted_4$c=["id"];function _sfc_render$p(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("close"),_n=resolveComponent("el-icon"),Cn=resolveComponent("el-focus-trap"),xn=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!Fe.appendToBody},[createVNode(Transition,{name:Fe.ns.b("fade"),onAfterEnter:Fe.afterEnter,onAfterLeave:Fe.afterLeave,onBeforeLeave:Fe.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode(xn,{mask:Fe.modal,"overlay-class":Fe.modalClass,"z-index":Fe.zIndex,onClick:Fe.onModalClick},{default:withCtx(()=>[createVNode(Cn,{loop:"",trapped:Fe.visible,"focus-trap-el":Fe.drawerRef,"focus-start-el":Fe.focusStartRef,onReleaseRequested:Fe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":Fe.title||void 0,"aria-labelledby":Fe.title?void 0:Fe.titleId,"aria-describedby":Fe.bodyId},Fe.$attrs,{class:[Fe.ns.b(),Fe.direction,Fe.visible&&"open",Fe.customClass],style:Fe.isHorizontal?"width: "+Fe.drawerSize:"height: "+Fe.drawerSize,role:"dialog",onClick:qe[1]||(qe[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass(Fe.ns.e("sr-focus")),tabindex:"-1"},null,2),Fe.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(Fe.ns.e("header"))},[Fe.$slots.title?renderSlot(Fe.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Fe.$slots,"header",{key:0,close:Fe.handleClose,titleId:Fe.titleId,titleClass:Fe.ns.e("title")},()=>[Fe.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:Fe.titleId,role:"heading","aria-level":Fe.headerAriaLevel,class:normalizeClass(Fe.ns.e("title"))},toDisplayString(Fe.title),11,_hoisted_2$u))]),Fe.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":Fe.t("el.drawer.close"),class:normalizeClass(Fe.ns.e("close-btn")),type:"button",onClick:qe[0]||(qe[0]=(...En)=>Fe.handleClose&&Fe.handleClose(...En))},[createVNode(_n,{class:normalizeClass(Fe.ns.e("close"))},{default:withCtx(()=>[createVNode(kn)]),_:1},8,["class"])],10,_hoisted_3$f)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),Fe.rendered?(openBlock(),createElementBlock("div",{key:1,id:Fe.bodyId,class:normalizeClass(Fe.ns.e("body"))},[renderSlot(Fe.$slots,"default")],10,_hoisted_4$c)):createCommentVNode("v-if",!0),Fe.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(Fe.ns.e("footer"))},[renderSlot(Fe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$K)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,Fe.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Drawer=_export_sfc$2(_sfc_main$1n,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall$1(Drawer),_sfc_main$1m=defineComponent({inheritAttrs:!1});function _sfc_render$o(Fe,qe,hn,vn,bn,wn){return renderSlot(Fe.$slots,"default")}var Collection=_export_sfc$2(_sfc_main$1m,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1l=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$n(Fe,qe,hn,vn,bn,wn){return renderSlot(Fe.$slots,"default")}var CollectionItem=_export_sfc$2(_sfc_main$1l,[["render",_sfc_render$n],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=Fe=>{const qe=`El${Fe}Collection`,hn=`${qe}Item`,vn=Symbol(qe),bn=Symbol(hn),wn={...Collection,name:qe,setup(){const _n=ref(null),Cn=new Map;provide(vn,{itemMap:Cn,getItems:()=>{const En=unref(_n);if(!En)return[];const $n=Array.from(En.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...Cn.values()].sort((An,Tn)=>$n.indexOf(An.ref)-$n.indexOf(Tn.ref))},collectionRef:_n})}},kn={...CollectionItem,name:hn,setup(_n,{attrs:Cn}){const xn=ref(null),En=inject(vn,void 0);provide(bn,{collectionItemRef:xn}),onMounted(()=>{const $n=unref(xn);$n&&En.itemMap.set($n,{ref:$n,...Cn})}),onBeforeUnmount(()=>{const $n=unref(xn);En.itemMap.delete($n)})}};return{COLLECTION_INJECTION_KEY:vn,COLLECTION_ITEM_INJECTION_KEY:bn,ElCollection:wn,ElCollectionItem:kn}},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=(Fe,qe)=>{if(qe!=="rtl")return Fe;switch(Fe){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return Fe}},getFocusIntent=(Fe,qe,hn)=>{const vn=getDirectionAwareKey(Fe.key,hn);if(!(qe==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(vn))&&!(qe==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(vn)))return MAP_KEY_TO_FOCUS_INTENT[vn]},reorderArray=(Fe,qe)=>Fe.map((hn,vn)=>Fe[(vn+qe)%Fe.length]),focusFirst=Fe=>{const{activeElement:qe}=document;for(const hn of Fe)if(hn===qe||(hn.focus(),qe!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1k=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(Fe,{emit:qe}){var hn;const vn=ref((hn=Fe.currentTabId||Fe.defaultCurrentTabId)!=null?hn:null),bn=ref(!1),wn=ref(!1),kn=ref(null),{getItems:_n}=inject(COLLECTION_INJECTION_KEY$1,void 0),Cn=computed(()=>[{outline:"none"},Fe.style]),xn=Nn=>{qe(CURRENT_TAB_ID_CHANGE_EVT,Nn)},En=()=>{bn.value=!0},$n=composeEventHandlers(Nn=>{var Pn;(Pn=Fe.onMousedown)==null||Pn.call(Fe,Nn)},()=>{wn.value=!0}),Sn=composeEventHandlers(Nn=>{var Pn;(Pn=Fe.onFocus)==null||Pn.call(Fe,Nn)},Nn=>{const Pn=!unref(wn),{target:On,currentTarget:Rn}=Nn;if(On===Rn&&Pn&&!unref(bn)){const In=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(Rn==null||Rn.dispatchEvent(In),!In.defaultPrevented){const Mn=_n().filter(zn=>zn.focusable),Bn=Mn.find(zn=>zn.active),Dn=Mn.find(zn=>zn.id===unref(vn)),Ln=[Bn,Dn,...Mn].filter(Boolean).map(zn=>zn.ref);focusFirst(Ln)}}wn.value=!1}),An=composeEventHandlers(Nn=>{var Pn;(Pn=Fe.onBlur)==null||Pn.call(Fe,Nn)},()=>{bn.value=!1}),Tn=(...Nn)=>{qe("entryFocus",...Nn)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(vn),loop:toRef(Fe,"loop"),tabIndex:computed(()=>unref(bn)?-1:0),rovingFocusGroupRef:kn,rovingFocusGroupRootStyle:Cn,orientation:toRef(Fe,"orientation"),dir:toRef(Fe,"dir"),onItemFocus:xn,onItemShiftTab:En,onBlur:An,onFocus:Sn,onMousedown:$n}),watch(()=>Fe.currentTabId,Nn=>{vn.value=Nn??null}),useEventListener(kn,ENTRY_FOCUS_EVT,Tn)}});function _sfc_render$m(Fe,qe,hn,vn,bn,wn){return renderSlot(Fe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$2(_sfc_main$1k,[["render",_sfc_render$m],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$1j=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$l(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-roving-focus-group-impl"),_n=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(_n,null,{default:withCtx(()=>[createVNode(kn,normalizeProps(guardReactiveProps(Fe.$attrs)),{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$2(_sfc_main$1j,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$1i=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(Fe,{emit:qe}){const{currentTabbedId:hn,loop:vn,onItemFocus:bn,onItemShiftTab:wn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:kn}=inject(COLLECTION_INJECTION_KEY$1,void 0),_n=useId(),Cn=ref(null),xn=composeEventHandlers(An=>{qe("mousedown",An)},An=>{Fe.focusable?bn(unref(_n)):An.preventDefault()}),En=composeEventHandlers(An=>{qe("focus",An)},()=>{bn(unref(_n))}),$n=composeEventHandlers(An=>{qe("keydown",An)},An=>{const{key:Tn,shiftKey:Nn,target:Pn,currentTarget:On}=An;if(Tn===EVENT_CODE.tab&&Nn){wn();return}if(Pn!==On)return;const Rn=getFocusIntent(An);if(Rn){An.preventDefault();let Mn=kn().filter(Bn=>Bn.focusable).map(Bn=>Bn.ref);switch(Rn){case"last":{Mn.reverse();break}case"prev":case"next":{Rn==="prev"&&Mn.reverse();const Bn=Mn.indexOf(On);Mn=vn.value?reorderArray(Mn,Bn+1):Mn.slice(Bn+1);break}}nextTick(()=>{focusFirst(Mn)})}}),Sn=computed(()=>hn.value===unref(_n));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:Cn,tabIndex:computed(()=>unref(Sn)?0:-1),handleMousedown:xn,handleFocus:En,handleKeydown:$n}),{id:_n,handleKeydown:$n,handleFocus:En,handleMousedown:xn}}});function _sfc_render$k(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(kn,{id:Fe.id,focusable:Fe.focusable,active:Fe.active},{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$2(_sfc_main$1i,[["render",_sfc_render$k],["__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$1h=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(Fe,{emit:qe}){const hn=getCurrentInstance(),vn=useNamespace("dropdown"),{t:bn}=useLocale(),wn=ref(),kn=ref(),_n=ref(null),Cn=ref(null),xn=ref(null),En=ref(null),$n=ref(!1),Sn=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],An=computed(()=>({maxHeight:addUnit(Fe.maxHeight)})),Tn=computed(()=>[vn.m(Bn.value)]),Nn=computed(()=>castArray$1(Fe.trigger)),Pn=useId().value,On=computed(()=>Fe.id||Pn);watch([wn,Nn],([Xn,qn],[jn])=>{var Jn,Qn,no;(Jn=jn==null?void 0:jn.$el)!=null&&Jn.removeEventListener&&jn.$el.removeEventListener("pointerenter",Vn),(Qn=Xn==null?void 0:Xn.$el)!=null&&Qn.removeEventListener&&Xn.$el.removeEventListener("pointerenter",Vn),(no=Xn==null?void 0:Xn.$el)!=null&&no.addEventListener&&qn.includes("hover")&&Xn.$el.addEventListener("pointerenter",Vn)},{immediate:!0}),onBeforeUnmount(()=>{var Xn,qn;(qn=(Xn=wn.value)==null?void 0:Xn.$el)!=null&&qn.removeEventListener&&wn.value.$el.removeEventListener("pointerenter",Vn)});function Rn(){In()}function In(){var Xn;(Xn=_n.value)==null||Xn.onClose()}function Mn(){var Xn;(Xn=_n.value)==null||Xn.onOpen()}const Bn=useFormSize();function Dn(...Xn){qe("command",...Xn)}function Vn(){var Xn,qn;(qn=(Xn=wn.value)==null?void 0:Xn.$el)==null||qn.focus()}function Ln(){}function zn(){const Xn=unref(Cn);Nn.value.includes("hover")&&(Xn==null||Xn.focus()),En.value=null}function Hn(Xn){En.value=Xn}function Fn(Xn){$n.value||(Xn.preventDefault(),Xn.stopImmediatePropagation())}function Kn(){qe("visible-change",!0)}function Un(Xn){(Xn==null?void 0:Xn.type)==="keydown"&&Cn.value.focus()}function Gn(){qe("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:Cn,role:computed(()=>Fe.role),triggerId:On,isUsingKeyboard:$n,onItemEnter:Ln,onItemLeave:zn}),provide("elDropdown",{instance:hn,dropdownSize:Bn,handleClick:Rn,commandHandler:Dn,trigger:toRef(Fe,"trigger"),hideOnClick:toRef(Fe,"hideOnClick")}),{t:bn,ns:vn,scrollbar:xn,wrapStyle:An,dropdownTriggerKls:Tn,dropdownSize:Bn,triggerId:On,triggerKeys:Sn,currentTabId:En,handleCurrentTabIdChange:Hn,handlerMainButtonClick:Xn=>{qe("click",Xn)},handleEntryFocus:Fn,handleClose:In,handleOpen:Mn,handleBeforeShowTooltip:Kn,handleShowTooltip:Un,handleBeforeHideTooltip:Gn,onFocusAfterTrapped:Xn=>{var qn,jn;Xn.preventDefault(),(jn=(qn=Cn.value)==null?void 0:qn.focus)==null||jn.call(qn,{preventScroll:!0})},popperRef:_n,contentRef:Cn,triggeringElementRef:wn,referenceElementRef:kn}}});function _sfc_render$j(Fe,qe,hn,vn,bn,wn){var kn;const _n=resolveComponent("el-dropdown-collection"),Cn=resolveComponent("el-roving-focus-group"),xn=resolveComponent("el-scrollbar"),En=resolveComponent("el-only-child"),$n=resolveComponent("el-tooltip"),Sn=resolveComponent("el-button"),An=resolveComponent("arrow-down"),Tn=resolveComponent("el-icon"),Nn=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([Fe.ns.b(),Fe.ns.is("disabled",Fe.disabled)])},[createVNode($n,{ref:"popperRef",role:Fe.role,effect:Fe.effect,"fallback-placements":["bottom","top"],"popper-options":Fe.popperOptions,"gpu-acceleration":!1,"hide-after":Fe.trigger==="hover"?Fe.hideTimeout:0,"manual-mode":!0,placement:Fe.placement,"popper-class":[Fe.ns.e("popper"),Fe.popperClass],"reference-element":(kn=Fe.referenceElementRef)==null?void 0:kn.$el,trigger:Fe.trigger,"trigger-keys":Fe.triggerKeys,"trigger-target-el":Fe.contentRef,"show-after":Fe.trigger==="hover"?Fe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":Fe.triggeringElementRef,"virtual-triggering":Fe.splitButton,disabled:Fe.disabled,transition:`${Fe.ns.namespace.value}-zoom-in-top`,teleported:Fe.teleported,pure:"",persistent:"",onBeforeShow:Fe.handleBeforeShowTooltip,onShow:Fe.handleShowTooltip,onBeforeHide:Fe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode(xn,{ref:"scrollbar","wrap-style":Fe.wrapStyle,tag:"div","view-class":Fe.ns.e("list")},{default:withCtx(()=>[createVNode(Cn,{loop:Fe.loop,"current-tab-id":Fe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:Fe.handleCurrentTabIdChange,onEntryFocus:Fe.handleEntryFocus},{default:withCtx(()=>[createVNode(_n,null,{default:withCtx(()=>[renderSlot(Fe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[Fe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode(En,{id:Fe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:Fe.tabindex},{default:withCtx(()=>[renderSlot(Fe.$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"]),Fe.splitButton?(openBlock(),createBlock(Nn,{key:0},{default:withCtx(()=>[createVNode(Sn,mergeProps({ref:"referenceElementRef"},Fe.buttonProps,{size:Fe.dropdownSize,type:Fe.type,disabled:Fe.disabled,tabindex:Fe.tabindex,onClick:Fe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode(Sn,mergeProps({id:Fe.triggerId,ref:"triggeringElementRef"},Fe.buttonProps,{role:"button",size:Fe.dropdownSize,type:Fe.type,class:Fe.ns.e("caret-button"),disabled:Fe.disabled,tabindex:Fe.tabindex,"aria-label":Fe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode(Tn,{class:normalizeClass(Fe.ns.e("icon"))},{default:withCtx(()=>[createVNode(An)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$2(_sfc_main$1h,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$1g=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(Fe,{emit:qe}){const hn=useNamespace("dropdown"),{role:vn}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:bn}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:wn}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:kn,tabIndex:_n,handleFocus:Cn,handleKeydown:xn,handleMousedown:En}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),$n=composeRefs(bn,wn,kn),Sn=computed(()=>vn.value==="menu"?"menuitem":vn.value==="navigation"?"link":"button"),An=composeEventHandlers(Tn=>{const{code:Nn}=Tn;if(Nn===EVENT_CODE.enter||Nn===EVENT_CODE.space)return Tn.preventDefault(),Tn.stopImmediatePropagation(),qe("clickimpl",Tn),!0},xn);return{ns:hn,itemRef:$n,dataset:{[COLLECTION_ITEM_SIGN]:""},role:Sn,tabIndex:_n,handleFocus:Cn,handleKeydown:An,handleMousedown:En}}}),_hoisted_1$J=["aria-disabled","tabindex","role"];function _sfc_render$i(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[Fe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:Fe.ns.bem("menu","item","divided")},Fe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:Fe.itemRef},{...Fe.dataset,...Fe.$attrs},{"aria-disabled":Fe.disabled,class:[Fe.ns.be("menu","item"),Fe.ns.is("disabled",Fe.disabled)],tabindex:Fe.tabIndex,role:Fe.role,onClick:qe[0]||(qe[0]=_n=>Fe.$emit("clickimpl",_n)),onFocus:qe[1]||(qe[1]=(..._n)=>Fe.handleFocus&&Fe.handleFocus(..._n)),onKeydown:qe[2]||(qe[2]=withModifiers((..._n)=>Fe.handleKeydown&&Fe.handleKeydown(..._n),["self"])),onMousedown:qe[3]||(qe[3]=(..._n)=>Fe.handleMousedown&&Fe.handleMousedown(..._n)),onPointermove:qe[4]||(qe[4]=_n=>Fe.$emit("pointermove",_n)),onPointerleave:qe[5]||(qe[5]=_n=>Fe.$emit("pointerleave",_n))}),[Fe.icon?(openBlock(),createBlock(kn,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(Fe.$slots,"default")],16,_hoisted_1$J)],64)}var ElDropdownItemImpl=_export_sfc$2(_sfc_main$1g,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const Fe=inject("elDropdown",{}),qe=computed(()=>Fe==null?void 0:Fe.dropdownSize);return{elDropdown:Fe,_elDropdownSize:qe}},_sfc_main$1f=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(Fe,{emit:qe,attrs:hn}){const{elDropdown:vn}=useDropdown(),bn=getCurrentInstance(),wn=ref(null),kn=computed(()=>{var An,Tn;return(Tn=(An=unref(wn))==null?void 0:An.textContent)!=null?Tn:""}),{onItemEnter:_n,onItemLeave:Cn}=inject(DROPDOWN_INJECTION_KEY,void 0),xn=composeEventHandlers(An=>(qe("pointermove",An),An.defaultPrevented),whenMouse(An=>{if(Fe.disabled){Cn(An);return}const Tn=An.currentTarget;Tn===document.activeElement||Tn.contains(document.activeElement)||(_n(An),An.defaultPrevented||Tn==null||Tn.focus())})),En=composeEventHandlers(An=>(qe("pointerleave",An),An.defaultPrevented),whenMouse(An=>{Cn(An)})),$n=composeEventHandlers(An=>{if(!Fe.disabled)return qe("click",An),An.type!=="keydown"&&An.defaultPrevented},An=>{var Tn,Nn,Pn;if(Fe.disabled){An.stopImmediatePropagation();return}(Tn=vn==null?void 0:vn.hideOnClick)!=null&&Tn.value&&((Nn=vn.handleClick)==null||Nn.call(vn)),(Pn=vn.commandHandler)==null||Pn.call(vn,Fe.command,bn,An)}),Sn=computed(()=>({...Fe,...hn}));return{handleClick:$n,handlePointerMove:xn,handlePointerLeave:En,textContent:kn,propsAndAttrs:Sn}}});function _sfc_render$h(Fe,qe,hn,vn,bn,wn){var kn;const _n=resolveComponent("el-dropdown-item-impl"),Cn=resolveComponent("el-roving-focus-item"),xn=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(xn,{disabled:Fe.disabled,"text-value":(kn=Fe.textValue)!=null?kn:Fe.textContent},{default:withCtx(()=>[createVNode(Cn,{focusable:!Fe.disabled},{default:withCtx(()=>[createVNode(_n,mergeProps(Fe.propsAndAttrs,{onPointerleave:Fe.handlePointerLeave,onPointermove:Fe.handlePointerMove,onClickimpl:Fe.handleClick}),{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$2(_sfc_main$1f,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$1e=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(Fe){const qe=useNamespace("dropdown"),{_elDropdownSize:hn}=useDropdown(),vn=hn.value,{focusTrapRef:bn,onKeydown:wn}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:kn,role:_n,triggerId:Cn}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:xn,getItems:En}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:$n,rovingFocusGroupRootStyle:Sn,tabIndex:An,onBlur:Tn,onFocus:Nn,onMousedown:Pn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:On}=inject(COLLECTION_INJECTION_KEY$1,void 0),Rn=computed(()=>[qe.b("menu"),qe.bm("menu",vn==null?void 0:vn.value)]),In=composeRefs(kn,xn,bn,$n,On),Mn=composeEventHandlers(Dn=>{var Vn;(Vn=Fe.onKeydown)==null||Vn.call(Fe,Dn)},Dn=>{const{currentTarget:Vn,code:Ln,target:zn}=Dn;if(Vn.contains(zn),EVENT_CODE.tab===Ln&&Dn.stopImmediatePropagation(),Dn.preventDefault(),zn!==unref(kn)||!FIRST_LAST_KEYS.includes(Ln))return;const Fn=En().filter(Kn=>!Kn.disabled).map(Kn=>Kn.ref);LAST_KEYS.includes(Ln)&&Fn.reverse(),focusFirst(Fn)});return{size:vn,rovingFocusGroupRootStyle:Sn,tabIndex:An,dropdownKls:Rn,role:_n,triggerId:Cn,dropdownListWrapperRef:In,handleKeydown:Dn=>{Mn(Dn),wn(Dn)},onBlur:Tn,onFocus:Nn,onMousedown:Pn}}}),_hoisted_1$I=["role","aria-labelledby"];function _sfc_render$g(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("ul",{ref:Fe.dropdownListWrapperRef,class:normalizeClass(Fe.dropdownKls),style:normalizeStyle(Fe.rovingFocusGroupRootStyle),tabindex:-1,role:Fe.role,"aria-labelledby":Fe.triggerId,onBlur:qe[0]||(qe[0]=(...kn)=>Fe.onBlur&&Fe.onBlur(...kn)),onFocus:qe[1]||(qe[1]=(...kn)=>Fe.onFocus&&Fe.onFocus(...kn)),onKeydown:qe[2]||(qe[2]=withModifiers((...kn)=>Fe.handleKeydown&&Fe.handleKeydown(...kn),["self"])),onMousedown:qe[3]||(qe[3]=withModifiers((...kn)=>Fe.onMousedown&&Fe.onMousedown(...kn),["self"]))},[renderSlot(Fe.$slots,"default")],46,_hoisted_1$I)}var DropdownMenu=_export_sfc$2(_sfc_main$1e,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall$1(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$H={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$t=["id"],_hoisted_3$e=["stop-color"],_hoisted_4$b=["stop-color"],_hoisted_5$9=["id"],_hoisted_6$5=["stop-color"],_hoisted_7$3=["stop-color"],_hoisted_8$3=["id"],_hoisted_9$3={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$3={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$3={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$3=["fill"],_hoisted_13$1=["fill"],_hoisted_14={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=["fill"],_hoisted_16=["fill"],_hoisted_17=["fill"],_hoisted_18=["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__$M=defineComponent({name:"ImgEmpty"}),_sfc_main$1d=defineComponent({...__default__$M,setup(Fe){const qe=useNamespace("empty"),hn=useId();return(vn,bn)=>(openBlock(),createElementBlock("svg",_hoisted_1$H,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(hn)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(qe).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$e),createBaseVNode("stop",{"stop-color":`var(${unref(qe).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$b)],8,_hoisted_2$t),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(hn)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(qe).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$5),createBaseVNode("stop",{"stop-color":`var(${unref(qe).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$3)],8,_hoisted_5$9),createBaseVNode("rect",{id:`path-3-${unref(hn)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$3)]),createBaseVNode("g",_hoisted_9$3,[createBaseVNode("g",_hoisted_10$3,[createBaseVNode("g",_hoisted_11$3,[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(qe).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$3),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(qe).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,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref(qe).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),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref(qe).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(hn)})`,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),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref(qe).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)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(hn)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(qe).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(hn)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(qe).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(hn)})`,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(qe).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$2(_sfc_main$1d,[["__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$G=["src"],_hoisted_2$s={key:1},__default__$L=defineComponent({name:"ElEmpty"}),_sfc_main$1c=defineComponent({...__default__$L,props:emptyProps,setup(Fe){const qe=Fe,{t:hn}=useLocale(),vn=useNamespace("empty"),bn=computed(()=>qe.description||hn("el.table.emptyText")),wn=computed(()=>({width:addUnit(qe.imageSize)}));return(kn,_n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn).b())},[createBaseVNode("div",{class:normalizeClass(unref(vn).e("image")),style:normalizeStyle(unref(wn))},[kn.image?(openBlock(),createElementBlock("img",{key:0,src:kn.image,ondragstart:"return false"},null,8,_hoisted_1$G)):renderSlot(kn.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(vn).e("description"))},[kn.$slots.description?renderSlot(kn.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$s,toDisplayString(unref(bn)),1))],2),kn.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("bottom"))},[renderSlot(kn.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$2(_sfc_main$1c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall$1(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7}}),imageViewerEmits={close:()=>!0,switch:Fe=>isNumber$d(Fe),rotate:Fe=>isNumber$d(Fe)},_hoisted_1$F=["src"],__default__$K=defineComponent({name:"ElImageViewer"}),_sfc_main$1b=defineComponent({...__default__$K,props:imageViewerProps,emits:imageViewerEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:wn}=useLocale(),kn=useNamespace("image-viewer"),{nextZIndex:_n}=useZIndex(),Cn=ref(),xn=ref([]),En=effectScope(),$n=ref(!0),Sn=ref(vn.initialIndex),An=shallowRef(bn.CONTAIN),Tn=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Nn=computed(()=>{const{urlList:jn}=vn;return jn.length<=1}),Pn=computed(()=>Sn.value===0),On=computed(()=>Sn.value===vn.urlList.length-1),Rn=computed(()=>vn.urlList[Sn.value]),In=computed(()=>[kn.e("btn"),kn.e("prev"),kn.is("disabled",!vn.infinite&&Pn.value)]),Mn=computed(()=>[kn.e("btn"),kn.e("next"),kn.is("disabled",!vn.infinite&&On.value)]),Bn=computed(()=>{const{scale:jn,deg:Jn,offsetX:Qn,offsetY:no,enableTransition:so}=Tn.value;let co=Qn/jn,mo=no/jn;switch(Jn%360){case 90:case-270:[co,mo]=[mo,-co];break;case 180:case-180:[co,mo]=[-co,-mo];break;case 270:case-90:[co,mo]=[-mo,co];break}const fo={transform:`scale(${jn}) rotate(${Jn}deg) translate(${co}px, ${mo}px)`,transition:so?"transform .3s":""};return An.value.name===bn.CONTAIN.name&&(fo.maxWidth=fo.maxHeight="100%"),fo}),Dn=computed(()=>isNumber$d(vn.zIndex)?vn.zIndex:_n());function Vn(){zn(),hn("close")}function Ln(){const jn=throttle$2(Qn=>{switch(Qn.code){case EVENT_CODE.esc:vn.closeOnPressEscape&&Vn();break;case EVENT_CODE.space:Gn();break;case EVENT_CODE.left:Yn();break;case EVENT_CODE.up:qn("zoomIn");break;case EVENT_CODE.right:Xn();break;case EVENT_CODE.down:qn("zoomOut");break}}),Jn=throttle$2(Qn=>{const no=Qn.deltaY||Qn.deltaX;qn(no<0?"zoomIn":"zoomOut",{zoomRate:vn.zoomRate,enableTransition:!1})});En.run(()=>{useEventListener(document,"keydown",jn),useEventListener(document,"wheel",Jn)})}function zn(){En.stop()}function Hn(){$n.value=!1}function Fn(jn){$n.value=!1,jn.target.alt=wn("el.image.error")}function Kn(jn){if($n.value||jn.button!==0||!Cn.value)return;Tn.value.enableTransition=!1;const{offsetX:Jn,offsetY:Qn}=Tn.value,no=jn.pageX,so=jn.pageY,co=throttle$2(fo=>{Tn.value={...Tn.value,offsetX:Jn+fo.pageX-no,offsetY:Qn+fo.pageY-so}}),mo=useEventListener(document,"mousemove",co);useEventListener(document,"mouseup",()=>{mo()}),jn.preventDefault()}function Un(){Tn.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Gn(){if($n.value)return;const jn=keysOf(bn),Jn=Object.values(bn),Qn=An.value.name,so=(Jn.findIndex(co=>co.name===Qn)+1)%jn.length;An.value=bn[jn[so]],Un()}function Wn(jn){const Jn=vn.urlList.length;Sn.value=(jn+Jn)%Jn}function Yn(){Pn.value&&!vn.infinite||Wn(Sn.value-1)}function Xn(){On.value&&!vn.infinite||Wn(Sn.value+1)}function qn(jn,Jn={}){if($n.value)return;const{minScale:Qn,maxScale:no}=vn,{zoomRate:so,rotateDeg:co,enableTransition:mo}={zoomRate:vn.zoomRate,rotateDeg:90,enableTransition:!0,...Jn};switch(jn){case"zoomOut":Tn.value.scale>Qn&&(Tn.value.scale=Number.parseFloat((Tn.value.scale/so).toFixed(3)));break;case"zoomIn":Tn.value.scale{nextTick(()=>{const jn=xn.value[0];jn!=null&&jn.complete||($n.value=!0)})}),watch(Sn,jn=>{Un(),hn("switch",jn)}),onMounted(()=>{var jn,Jn;Ln(),(Jn=(jn=Cn.value)==null?void 0:jn.focus)==null||Jn.call(jn)}),qe({setActiveItem:Wn}),(jn,Jn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!jn.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:Cn,tabindex:-1,class:normalizeClass(unref(kn).e("wrapper")),style:normalizeStyle({zIndex:unref(Dn)})},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("mask")),onClick:Jn[0]||(Jn[0]=withModifiers(Qn=>jn.hideOnClickModal&&Vn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(kn).e("btn"),unref(kn).e("close")]),onClick:Vn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Nn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(In)),onClick:Yn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref(Mn)),onClick:Xn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(kn).e("btn"),unref(kn).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:Jn[1]||(Jn[1]=Qn=>qn("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Jn[2]||(Jn[2]=Qn=>qn("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(kn).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Gn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(An).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(kn).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:Jn[3]||(Jn[3]=Qn=>qn("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:Jn[4]||(Jn[4]=Qn=>qn("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(kn).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jn.urlList,(Qn,no)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:so=>xn.value[no]=so,key:Qn,src:Qn,style:normalizeStyle(unref(Bn)),class:normalizeClass(unref(kn).e("img")),onLoad:Hn,onError:Fn,onMousedown:Kn},null,46,_hoisted_1$F)),[[vShow,no===Sn.value]])),128))],2),renderSlot(jn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$2(_sfc_main$1b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall$1(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7}}),imageEmits={load:Fe=>Fe instanceof Event,error:Fe=>Fe instanceof Event,switch:Fe=>isNumber$d(Fe),close:()=>!0,show:()=>!0},_hoisted_1$E=["src","loading"],_hoisted_2$r={key:0},__default__$J=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$1a=defineComponent({...__default__$J,props:imageProps,emits:imageEmits,setup(Fe,{emit:qe}){const hn=Fe;let vn="";const{t:bn}=useLocale(),wn=useNamespace("image"),kn=useAttrs$1(),_n=useAttrs(),Cn=ref(),xn=ref(!1),En=ref(!0),$n=ref(!1),Sn=ref(),An=ref(),Tn=isClient$1&&"loading"in HTMLImageElement.prototype;let Nn,Pn;const On=computed(()=>[wn.e("inner"),Mn.value&&wn.e("preview"),En.value&&wn.is("loading")]),Rn=computed(()=>kn.style),In=computed(()=>{const{fit:qn}=hn;return isClient$1&&qn?{objectFit:qn}:{}}),Mn=computed(()=>{const{previewSrcList:qn}=hn;return Array.isArray(qn)&&qn.length>0}),Bn=computed(()=>{const{previewSrcList:qn,initialIndex:jn}=hn;let Jn=jn;return jn>qn.length-1&&(Jn=0),Jn}),Dn=computed(()=>hn.loading==="eager"?!1:!Tn&&hn.loading==="lazy"||hn.lazy),Vn=()=>{isClient$1&&(En.value=!0,xn.value=!1,Cn.value=hn.src)};function Ln(qn){En.value=!1,xn.value=!1,qe("load",qn)}function zn(qn){En.value=!1,xn.value=!0,qe("error",qn)}function Hn(){isInContainer(Sn.value,An.value)&&(Vn(),Un())}const Fn=useThrottleFn$1(Hn,200,!0);async function Kn(){var qn;if(!isClient$1)return;await nextTick();const{scrollContainer:jn}=hn;isElement$4(jn)?An.value=jn:isString$d(jn)&&jn!==""?An.value=(qn=document.querySelector(jn))!=null?qn:void 0:Sn.value&&(An.value=getScrollContainer(Sn.value)),An.value&&(Nn=useEventListener(An,"scroll",Fn),setTimeout(()=>Hn(),100))}function Un(){!isClient$1||!An.value||!Fn||(Nn==null||Nn(),An.value=void 0)}function Gn(qn){if(qn.ctrlKey){if(qn.deltaY<0)return qn.preventDefault(),!1;if(qn.deltaY>0)return qn.preventDefault(),!1}}function Wn(){Mn.value&&(Pn=useEventListener("wheel",Gn,{passive:!1}),vn=document.body.style.overflow,document.body.style.overflow="hidden",$n.value=!0,qe("show"))}function Yn(){Pn==null||Pn(),document.body.style.overflow=vn,$n.value=!1,qe("close")}function Xn(qn){qe("switch",qn)}return watch(()=>hn.src,()=>{Dn.value?(En.value=!0,xn.value=!1,Un(),Kn()):Vn()}),onMounted(()=>{Dn.value?Kn():Vn()}),(qn,jn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:Sn,class:normalizeClass([unref(wn).b(),qn.$attrs.class]),style:normalizeStyle(unref(Rn))},[xn.value?renderSlot(qn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(wn).e("error"))},toDisplayString(unref(bn)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[Cn.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(_n),{src:Cn.value,loading:qn.loading,style:unref(In),class:unref(On),onClick:Wn,onLoad:Ln,onError:zn}),null,16,_hoisted_1$E)):createCommentVNode("v-if",!0),En.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(wn).e("wrapper"))},[renderSlot(qn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(wn).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(Mn)?(openBlock(),createElementBlock(Fragment,{key:2},[$n.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":qn.zIndex,"initial-index":unref(Bn),infinite:qn.infinite,"zoom-rate":qn.zoomRate,"min-scale":qn.minScale,"max-scale":qn.maxScale,"url-list":qn.previewSrcList,"hide-on-click-modal":qn.hideOnClickModal,teleported:qn.previewTeleported,"close-on-press-escape":qn.closeOnPressEscape,onClose:Yn,onSwitch:Xn},{default:withCtx(()=>[qn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$r,[renderSlot(qn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","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$2(_sfc_main$1a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const ElImage=withInstall$1(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:Fe=>Fe===null||isNumber$d(Fe)||["min","max"].includes(Fe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:Fe=>Fe>=0&&Fe===Number.parseInt(`${Fe}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:(Fe,qe)=>qe!==Fe,blur:Fe=>Fe instanceof FocusEvent,focus:Fe=>Fe instanceof FocusEvent,[INPUT_EVENT]:Fe=>isNumber$d(Fe)||isNil(Fe),[UPDATE_MODEL_EVENT]:Fe=>isNumber$d(Fe)||isNil(Fe)},_hoisted_1$D=["aria-label","onKeydown"],_hoisted_2$q=["aria-label","onKeydown"],__default__$I=defineComponent({name:"ElInputNumber"}),_sfc_main$19=defineComponent({...__default__$I,props:inputNumberProps,emits:inputNumberEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,{t:bn}=useLocale(),wn=useNamespace("input-number"),kn=ref(),_n=reactive({currentValue:vn.modelValue,userInput:null}),{formItem:Cn}=useFormItem(),xn=computed(()=>isNumber$d(vn.modelValue)&&vn.modelValue<=vn.min),En=computed(()=>isNumber$d(vn.modelValue)&&vn.modelValue>=vn.max),$n=computed(()=>{const Un=On(vn.step);return isUndefined$d(vn.precision)?Math.max(On(vn.modelValue),Un):(Un>vn.precision,vn.precision)}),Sn=computed(()=>vn.controls&&vn.controlsPosition==="right"),An=useFormSize(),Tn=useFormDisabled(),Nn=computed(()=>{if(_n.userInput!==null)return _n.userInput;let Un=_n.currentValue;if(isNil(Un))return"";if(isNumber$d(Un)){if(Number.isNaN(Un))return"";isUndefined$d(vn.precision)||(Un=Un.toFixed(vn.precision))}return Un}),Pn=(Un,Gn)=>{if(isUndefined$d(Gn)&&(Gn=$n.value),Gn===0)return Math.round(Un);let Wn=String(Un);const Yn=Wn.indexOf(".");if(Yn===-1||!Wn.replace(".","").split("")[Yn+Gn])return Un;const jn=Wn.length;return Wn.charAt(jn-1)==="5"&&(Wn=`${Wn.slice(0,Math.max(0,jn-1))}6`),Number.parseFloat(Number(Wn).toFixed(Gn))},On=Un=>{if(isNil(Un))return 0;const Gn=Un.toString(),Wn=Gn.indexOf(".");let Yn=0;return Wn!==-1&&(Yn=Gn.length-Wn-1),Yn},Rn=(Un,Gn=1)=>isNumber$d(Un)?Pn(Un+vn.step*Gn):_n.currentValue,In=()=>{if(vn.readonly||Tn.value||En.value)return;const Un=Number(Nn.value)||0,Gn=Rn(Un);Dn(Gn),hn(INPUT_EVENT,_n.currentValue)},Mn=()=>{if(vn.readonly||Tn.value||xn.value)return;const Un=Number(Nn.value)||0,Gn=Rn(Un,-1);Dn(Gn),hn(INPUT_EVENT,_n.currentValue)},Bn=(Un,Gn)=>{const{max:Wn,min:Yn,step:Xn,precision:qn,stepStrictly:jn,valueOnClear:Jn}=vn;WnWn||QnWn?Wn:Yn,Gn&&hn(UPDATE_MODEL_EVENT,Qn)),Qn},Dn=(Un,Gn=!0)=>{var Wn;const Yn=_n.currentValue,Xn=Bn(Un);if(!Gn){hn(UPDATE_MODEL_EVENT,Xn);return}Yn!==Xn&&(_n.userInput=null,hn(UPDATE_MODEL_EVENT,Xn),hn(CHANGE_EVENT,Xn,Yn),vn.validateEvent&&((Wn=Cn==null?void 0:Cn.validate)==null||Wn.call(Cn,"change").catch(qn=>void 0)),_n.currentValue=Xn)},Vn=Un=>{_n.userInput=Un;const Gn=Un===""?null:Number(Un);hn(INPUT_EVENT,Gn),Dn(Gn,!1)},Ln=Un=>{const Gn=Un!==""?Number(Un):"";(isNumber$d(Gn)&&!Number.isNaN(Gn)||Un==="")&&Dn(Gn),_n.userInput=null},zn=()=>{var Un,Gn;(Gn=(Un=kn.value)==null?void 0:Un.focus)==null||Gn.call(Un)},Hn=()=>{var Un,Gn;(Gn=(Un=kn.value)==null?void 0:Un.blur)==null||Gn.call(Un)},Fn=Un=>{hn("focus",Un)},Kn=Un=>{var Gn;hn("blur",Un),vn.validateEvent&&((Gn=Cn==null?void 0:Cn.validate)==null||Gn.call(Cn,"blur").catch(Wn=>void 0))};return watch(()=>vn.modelValue,Un=>{const Gn=Bn(_n.userInput),Wn=Bn(Un,!0);!isNumber$d(Gn)&&(!Gn||Gn!==Wn)&&(_n.currentValue=Wn,_n.userInput=null)},{immediate:!0}),onMounted(()=>{var Un;const{min:Gn,max:Wn,modelValue:Yn}=vn,Xn=(Un=kn.value)==null?void 0:Un.input;if(Xn.setAttribute("role","spinbutton"),Number.isFinite(Wn)?Xn.setAttribute("aria-valuemax",String(Wn)):Xn.removeAttribute("aria-valuemax"),Number.isFinite(Gn)?Xn.setAttribute("aria-valuemin",String(Gn)):Xn.removeAttribute("aria-valuemin"),Xn.setAttribute("aria-valuenow",_n.currentValue||_n.currentValue===0?String(_n.currentValue):""),Xn.setAttribute("aria-disabled",String(Tn.value)),!isNumber$d(Yn)&&Yn!=null){let qn=Number(Yn);Number.isNaN(qn)&&(qn=null),hn(UPDATE_MODEL_EVENT,qn)}}),onUpdated(()=>{var Un,Gn;const Wn=(Un=kn.value)==null?void 0:Un.input;Wn==null||Wn.setAttribute("aria-valuenow",`${(Gn=_n.currentValue)!=null?Gn:""}`)}),qe({focus:zn,blur:Hn}),(Un,Gn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(wn).b(),unref(wn).m(unref(An)),unref(wn).is("disabled",unref(Tn)),unref(wn).is("without-controls",!Un.controls),unref(wn).is("controls-right",unref(Sn))]),onDragstart:Gn[1]||(Gn[1]=withModifiers(()=>{},["prevent"]))},[Un.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(bn)("el.inputNumber.decrease"),class:normalizeClass([unref(wn).e("decrease"),unref(wn).is("disabled",unref(xn))]),onKeydown:withKeys(Mn,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Sn)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$D)),[[unref(vRepeatClick),Mn]]):createCommentVNode("v-if",!0),Un.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(bn)("el.inputNumber.increase"),class:normalizeClass([unref(wn).e("increase"),unref(wn).is("disabled",unref(En))]),onKeydown:withKeys(In,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Sn)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$q)),[[unref(vRepeatClick),In]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:Un.id,ref_key:"input",ref:kn,type:"number",step:Un.step,"model-value":unref(Nn),placeholder:Un.placeholder,readonly:Un.readonly,disabled:unref(Tn),size:unref(An),max:Un.max,min:Un.min,name:Un.name,label:Un.label,"validate-event":!1,onWheel:Gn[0]||(Gn[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(In,["prevent"]),["up"]),withKeys(withModifiers(Mn,["prevent"]),["down"])],onBlur:Kn,onFocus:Fn,onInput:Vn,onChange:Ln},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var InputNumber=_export_sfc$2(_sfc_main$19,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall$1(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:Fe=>Fe instanceof MouseEvent},_hoisted_1$C=["href"],__default__$H=defineComponent({name:"ElLink"}),_sfc_main$18=defineComponent({...__default__$H,props:linkProps,emits:linkEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("link"),bn=computed(()=>[vn.b(),vn.m(hn.type),vn.is("disabled",hn.disabled),vn.is("underline",hn.underline&&!hn.disabled)]);function wn(kn){hn.disabled||qe("click",kn)}return(kn,_n)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(bn)),href:kn.disabled||!kn.href?void 0:kn.href,onClick:wn},[kn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(kn.icon)))]),_:1})):createCommentVNode("v-if",!0),kn.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(vn).e("inner"))},[renderSlot(kn.$slots,"default")],2)):createCommentVNode("v-if",!0),kn.$slots.icon?renderSlot(kn.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$C))}});var Link=_export_sfc$2(_sfc_main$18,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall$1(Link);let SubMenu$1=class{constructor(qe,hn){this.parent=qe,this.domNode=hn,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(qe){qe===this.subMenuItems.length?qe=0:qe<0&&(qe=this.subMenuItems.length-1),this.subMenuItems[qe].focus(),this.subIndex=qe}addListeners(){const qe=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,hn=>{hn.addEventListener("keydown",vn=>{let bn=!1;switch(vn.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),bn=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),bn=!0;break}case EVENT_CODE.tab:{triggerEvent$2(qe,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{bn=!0,vn.currentTarget.click();break}}return bn&&(vn.preventDefault(),vn.stopPropagation()),!1})})}},MenuItem$1=class{constructor(qe,hn){this.domNode=qe,this.submenu=null,this.submenu=null,this.init(hn)}init(qe){this.domNode.setAttribute("tabindex","0");const hn=this.domNode.querySelector(`.${qe}-menu`);hn&&(this.submenu=new SubMenu$1(this,hn)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",qe=>{let hn=!1;switch(qe.code){case EVENT_CODE.down:{triggerEvent$2(qe.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),hn=!0;break}case EVENT_CODE.up:{triggerEvent$2(qe.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),hn=!0;break}case EVENT_CODE.tab:{triggerEvent$2(qe.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{hn=!0,qe.currentTarget.click();break}}hn&&qe.preventDefault()})}},Menu$2=class{constructor(qe,hn){this.domNode=qe,this.init(hn)}init(qe){const hn=this.domNode.childNodes;Array.from(hn).forEach(vn=>{vn.nodeType===1&&new MenuItem$1(vn,qe)})}};const _sfc_main$17=defineComponent({name:"ElMenuCollapseTransition",setup(){const Fe=useNamespace("menu");return{listeners:{onBeforeEnter:hn=>hn.style.opacity="0.2",onEnter(hn,vn){addClass$2(hn,`${Fe.namespace.value}-opacity-transition`),hn.style.opacity="1",vn()},onAfterEnter(hn){removeClass$2(hn,`${Fe.namespace.value}-opacity-transition`),hn.style.opacity=""},onBeforeLeave(hn){hn.dataset||(hn.dataset={}),hasClass$1(hn,Fe.m("collapse"))?(removeClass$2(hn,Fe.m("collapse")),hn.dataset.oldOverflow=hn.style.overflow,hn.dataset.scrollWidth=hn.clientWidth.toString(),addClass$2(hn,Fe.m("collapse"))):(addClass$2(hn,Fe.m("collapse")),hn.dataset.oldOverflow=hn.style.overflow,hn.dataset.scrollWidth=hn.clientWidth.toString(),removeClass$2(hn,Fe.m("collapse"))),hn.style.width=`${hn.scrollWidth}px`,hn.style.overflow="hidden"},onLeave(hn){addClass$2(hn,"horizontal-collapse-transition"),hn.style.width=`${hn.dataset.scrollWidth}px`}}}}});function _sfc_render$f(Fe,qe,hn,vn,bn,wn){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},Fe.listeners),{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$2(_sfc_main$17,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(Fe,qe){const hn=computed(()=>{let bn=Fe.parent;const wn=[qe.value];for(;bn.type.name!=="ElMenu";)bn.props.index&&wn.unshift(bn.props.index),bn=bn.parent;return wn});return{parentMenu:computed(()=>{let bn=Fe.parent;for(;bn&&!["ElMenu","ElSubMenu"].includes(bn.type.name);)bn=bn.parent;return bn}),indexPath:hn}}function useMenuColor(Fe){return computed(()=>{const hn=Fe.backgroundColor;return hn?new TinyColor(hn).shade(20).toString():""})}const useMenuCssVar=(Fe,qe)=>{const hn=useNamespace("menu");return computed(()=>hn.cssVarBlock({"text-color":Fe.textColor||"","hover-text-color":Fe.textColor||"","bg-color":Fe.backgroundColor||"","hover-bg-color":useMenuColor(Fe).value||"","active-color":Fe.activeTextColor||"",level:`${qe}`}))},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(Fe,{slots:qe,expose:hn}){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(()=>Fe.popperAppendToBody!==void 0));const vn=getCurrentInstance(),{indexPath:bn,parentMenu:wn}=useMenu(vn,computed(()=>Fe.index)),kn=useNamespace("menu"),_n=useNamespace("sub-menu"),Cn=inject("rootMenu");Cn||throwError(COMPONENT_NAME$c,"can not inject root menu");const xn=inject(`subMenu:${wn.value.uid}`);xn||throwError(COMPONENT_NAME$c,"can not inject sub menu");const En=ref({}),$n=ref({});let Sn;const An=ref(!1),Tn=ref(),Nn=ref(null),Pn=computed(()=>Ln.value==="horizontal"&&Rn.value?"bottom-start":"right-start"),On=computed(()=>Ln.value==="horizontal"&&Rn.value||Ln.value==="vertical"&&!Cn.props.collapse?Fe.expandCloseIcon&&Fe.expandOpenIcon?Dn.value?Fe.expandOpenIcon:Fe.expandCloseIcon:arrow_down_default:Fe.collapseCloseIcon&&Fe.collapseOpenIcon?Dn.value?Fe.collapseOpenIcon:Fe.collapseCloseIcon:arrow_right_default),Rn=computed(()=>xn.level===0),In=computed(()=>{var Yn;const Xn=(Yn=Fe.teleported)!=null?Yn:Fe.popperAppendToBody;return Xn===void 0?Rn.value:Xn}),Mn=computed(()=>Cn.props.collapse?`${kn.namespace.value}-zoom-in-left`:`${kn.namespace.value}-zoom-in-top`),Bn=computed(()=>Ln.value==="horizontal"&&Rn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),Dn=computed(()=>Cn.openedMenus.includes(Fe.index)),Vn=computed(()=>{let Yn=!1;return Object.values(En.value).forEach(Xn=>{Xn.active&&(Yn=!0)}),Object.values($n.value).forEach(Xn=>{Xn.active&&(Yn=!0)}),Yn}),Ln=computed(()=>Cn.props.mode),zn=reactive({index:Fe.index,indexPath:bn,active:Vn}),Hn=useMenuCssVar(Cn.props,xn.level+1),Fn=()=>{var Yn,Xn,qn;return(qn=(Xn=(Yn=Nn.value)==null?void 0:Yn.popperRef)==null?void 0:Xn.popperInstanceRef)==null?void 0:qn.destroy()},Kn=Yn=>{Yn||Fn()},Un=()=>{Cn.props.menuTrigger==="hover"&&Cn.props.mode==="horizontal"||Cn.props.collapse&&Cn.props.mode==="vertical"||Fe.disabled||Cn.handleSubMenuClick({index:Fe.index,indexPath:bn.value,active:Vn.value})},Gn=(Yn,Xn=Fe.showTimeout)=>{var qn;Yn.type!=="focus"&&(Cn.props.menuTrigger==="click"&&Cn.props.mode==="horizontal"||!Cn.props.collapse&&Cn.props.mode==="vertical"||Fe.disabled||(xn.mouseInChild.value=!0,Sn==null||Sn(),{stop:Sn}=useTimeoutFn$1(()=>{Cn.openMenu(Fe.index,bn.value)},Xn),In.value&&((qn=wn.value.vnode.el)==null||qn.dispatchEvent(new MouseEvent("mouseenter")))))},Wn=(Yn=!1)=>{var Xn,qn;Cn.props.menuTrigger==="click"&&Cn.props.mode==="horizontal"||!Cn.props.collapse&&Cn.props.mode==="vertical"||(Sn==null||Sn(),xn.mouseInChild.value=!1,{stop:Sn}=useTimeoutFn$1(()=>!An.value&&Cn.closeMenu(Fe.index,bn.value),Fe.hideTimeout),In.value&&Yn&&((Xn=vn.parent)==null?void 0:Xn.type.name)==="ElSubMenu"&&((qn=xn.handleMouseleave)==null||qn.call(xn,!0)))};watch(()=>Cn.props.collapse,Yn=>Kn(!!Yn));{const Yn=qn=>{$n.value[qn.index]=qn},Xn=qn=>{delete $n.value[qn.index]};provide(`subMenu:${vn.uid}`,{addSubMenu:Yn,removeSubMenu:Xn,handleMouseleave:Wn,mouseInChild:An,level:xn.level+1})}return hn({opened:Dn}),onMounted(()=>{Cn.addSubMenu(zn),xn.addSubMenu(zn)}),onBeforeUnmount(()=>{xn.removeSubMenu(zn),Cn.removeSubMenu(zn)}),()=>{var Yn;const Xn=[(Yn=qe.title)==null?void 0:Yn.call(qe),h$6(ElIcon,{class:_n.e("icon-arrow"),style:{transform:Dn.value?Fe.expandCloseIcon&&Fe.expandOpenIcon||Fe.collapseCloseIcon&&Fe.collapseOpenIcon&&Cn.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$d(On.value)?h$6(vn.appContext.components[On.value]):h$6(On.value)})],qn=Cn.isMenuPopup?h$6(ElTooltip,{ref:Nn,visible:Dn.value,effect:"light",pure:!0,offset:Fe.popperOffset,showArrow:!1,persistent:!0,popperClass:Fe.popperClass,placement:Pn.value,teleported:In.value,fallbackPlacements:Bn.value,transition:Mn.value,gpuAcceleration:!1},{content:()=>{var jn;return h$6("div",{class:[kn.m(Ln.value),kn.m("popup-container"),Fe.popperClass],onMouseenter:Jn=>Gn(Jn,100),onMouseleave:()=>Wn(!0),onFocus:Jn=>Gn(Jn,100)},[h$6("ul",{class:[kn.b(),kn.m("popup"),kn.m(`popup-${Pn.value}`)],style:Hn.value},[(jn=qe.default)==null?void 0:jn.call(qe)])])},default:()=>h$6("div",{class:_n.e("title"),onClick:Un},Xn)}):h$6(Fragment,{},[h$6("div",{class:_n.e("title"),ref:Tn,onClick:Un},Xn),h$6(_CollapseTransition,{},{default:()=>{var jn;return withDirectives(h$6("ul",{role:"menu",class:[kn.b(),kn.m("inline")],style:Hn.value},[(jn=qe.default)==null?void 0:jn.call(qe)]),[[vShow,Dn.value]])}})]);return h$6("li",{class:[_n.b(),_n.is("active",Vn.value),_n.is("opened",Dn.value),_n.is("disabled",Fe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:Dn.value,onMouseenter:Gn,onMouseleave:()=>Wn(!0),onFocus:Gn},[qn])}}});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=Fe=>Array.isArray(Fe)&&Fe.every(qe=>isString$d(qe)),menuEmits={close:(Fe,qe)=>isString$d(Fe)&&checkIndexPath(qe),open:(Fe,qe)=>isString$d(Fe)&&checkIndexPath(qe),select:(Fe,qe,hn,vn)=>isString$d(Fe)&&checkIndexPath(qe)&&isObject$9(hn)&&(vn===void 0||vn instanceof Promise)};var Menu$1=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(Fe,{emit:qe,slots:hn,expose:vn}){const bn=getCurrentInstance(),wn=bn.appContext.config.globalProperties.$router,kn=ref(),_n=useNamespace("menu"),Cn=useNamespace("sub-menu"),xn=ref(-1),En=ref(Fe.defaultOpeneds&&!Fe.collapse?Fe.defaultOpeneds.slice(0):[]),$n=ref(Fe.defaultActive),Sn=ref({}),An=ref({}),Tn=computed(()=>Fe.mode==="horizontal"||Fe.mode==="vertical"&&Fe.collapse),Nn=()=>{const Fn=$n.value&&Sn.value[$n.value];if(!Fn||Fe.mode==="horizontal"||Fe.collapse)return;Fn.indexPath.forEach(Un=>{const Gn=An.value[Un];Gn&&Pn(Un,Gn.indexPath)})},Pn=(Fn,Kn)=>{En.value.includes(Fn)||(Fe.uniqueOpened&&(En.value=En.value.filter(Un=>Kn.includes(Un))),En.value.push(Fn),qe("open",Fn,Kn))},On=Fn=>{const Kn=En.value.indexOf(Fn);Kn!==-1&&En.value.splice(Kn,1)},Rn=(Fn,Kn)=>{On(Fn),qe("close",Fn,Kn)},In=({index:Fn,indexPath:Kn})=>{En.value.includes(Fn)?Rn(Fn,Kn):Pn(Fn,Kn)},Mn=Fn=>{(Fe.mode==="horizontal"||Fe.collapse)&&(En.value=[]);const{index:Kn,indexPath:Un}=Fn;if(!(isNil(Kn)||isNil(Un)))if(Fe.router&&wn){const Gn=Fn.route||Kn,Wn=wn.push(Gn).then(Yn=>(Yn||($n.value=Kn),Yn));qe("select",Kn,Un,{index:Kn,indexPath:Un,route:Gn},Wn)}else $n.value=Kn,qe("select",Kn,Un,{index:Kn,indexPath:Un})},Bn=Fn=>{const Kn=Sn.value,Un=Kn[Fn]||$n.value&&Kn[$n.value]||Kn[Fe.defaultActive];Un?$n.value=Un.index:$n.value=Fn},Dn=()=>{var Fn,Kn;if(!kn.value)return-1;const Un=Array.from((Kn=(Fn=kn.value)==null?void 0:Fn.childNodes)!=null?Kn:[]).filter(Jn=>Jn.nodeName!=="#comment"&&(Jn.nodeName!=="#text"||Jn.nodeValue)),Gn=64,Wn=Number.parseInt(getComputedStyle(kn.value).paddingLeft,10),Yn=Number.parseInt(getComputedStyle(kn.value).paddingRight,10),Xn=kn.value.clientWidth-Wn-Yn;let qn=0,jn=0;return Un.forEach((Jn,Qn)=>{qn+=Jn.offsetWidth||0,qn<=Xn-Gn&&(jn=Qn+1)}),jn===Un.length?-1:jn},Vn=(Fn,Kn=33.34)=>{let Un;return()=>{Un&&clearTimeout(Un),Un=setTimeout(()=>{Fn()},Kn)}};let Ln=!0;const zn=()=>{const Fn=()=>{xn.value=-1,nextTick(()=>{xn.value=Dn()})};Ln?Fn():Vn(Fn)(),Ln=!1};watch(()=>Fe.defaultActive,Fn=>{Sn.value[Fn]||($n.value=""),Bn(Fn)}),watch(()=>Fe.collapse,Fn=>{Fn&&(En.value=[])}),watch(Sn.value,Nn);let Hn;watchEffect(()=>{Fe.mode==="horizontal"&&Fe.ellipsis?Hn=useResizeObserver(kn,zn).stop:Hn==null||Hn()});{const Fn=Wn=>{An.value[Wn.index]=Wn},Kn=Wn=>{delete An.value[Wn.index]};provide("rootMenu",reactive({props:Fe,openedMenus:En,items:Sn,subMenus:An,activeIndex:$n,isMenuPopup:Tn,addMenuItem:Wn=>{Sn.value[Wn.index]=Wn},removeMenuItem:Wn=>{delete Sn.value[Wn.index]},addSubMenu:Fn,removeSubMenu:Kn,openMenu:Pn,closeMenu:Rn,handleMenuItemClick:Mn,handleSubMenuClick:In})),provide(`subMenu:${bn.uid}`,{addSubMenu:Fn,removeSubMenu:Kn,mouseInChild:ref(!1),level:0})}return onMounted(()=>{Fe.mode==="horizontal"&&new Menu$2(bn.vnode.el,_n.namespace.value)}),vn({open:Kn=>{const{indexPath:Un}=An.value[Kn];Un.forEach(Gn=>Pn(Gn,Un))},close:On,handleResize:zn}),()=>{var Fn,Kn;let Un=(Kn=(Fn=hn.default)==null?void 0:Fn.call(hn))!=null?Kn:[];const Gn=[];if(Fe.mode==="horizontal"&&kn.value){const Xn=flattedChildren(Un),qn=xn.value===-1?Xn:Xn.slice(0,xn.value),jn=xn.value===-1?[]:Xn.slice(xn.value);jn!=null&&jn.length&&Fe.ellipsis&&(Un=qn,Gn.push(h$6(SubMenu,{index:"sub-menu-more",class:Cn.e("hide-arrow")},{title:()=>h$6(ElIcon,{class:Cn.e("icon-more")},{default:()=>h$6(more_default)}),default:()=>jn})))}const Wn=useMenuCssVar(Fe,0),Yn=h$6("ul",{key:String(Fe.collapse),role:"menubar",ref:kn,style:Wn.value,class:{[_n.b()]:!0,[_n.m(Fe.mode)]:!0,[_n.m("collapse")]:Fe.collapse}},[...Un,...Gn]);return Fe.collapseTransition&&Fe.mode==="vertical"?h$6(ElMenuCollapseTransition,()=>Yn):Yn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:Fe=>isString$d(Fe.index)&&Array.isArray(Fe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$16=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(Fe,{emit:qe}){const hn=getCurrentInstance(),vn=inject("rootMenu"),bn=useNamespace("menu"),wn=useNamespace("menu-item");vn||throwError(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:kn,indexPath:_n}=useMenu(hn,toRef(Fe,"index")),Cn=inject(`subMenu:${kn.value.uid}`);Cn||throwError(COMPONENT_NAME$b,"can not inject sub menu");const xn=computed(()=>Fe.index===vn.activeIndex),En=reactive({index:Fe.index,indexPath:_n,active:xn}),$n=()=>{Fe.disabled||(vn.handleMenuItemClick({index:Fe.index,indexPath:_n.value,route:Fe.route}),qe("click",En))};return onMounted(()=>{Cn.addSubMenu(En),vn.addMenuItem(En)}),onBeforeUnmount(()=>{Cn.removeSubMenu(En),vn.removeMenuItem(En)}),{parentMenu:kn,rootMenu:vn,active:xn,nsMenu:bn,nsMenuItem:wn,handleClick:$n}}});function _sfc_render$e(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([Fe.nsMenuItem.b(),Fe.nsMenuItem.is("active",Fe.active),Fe.nsMenuItem.is("disabled",Fe.disabled)]),role:"menuitem",tabindex:"-1",onClick:qe[0]||(qe[0]=(..._n)=>Fe.handleClick&&Fe.handleClick(..._n))},[Fe.parentMenu.type.name==="ElMenu"&&Fe.rootMenu.props.collapse&&Fe.$slots.title?(openBlock(),createBlock(kn,{key:0,effect:Fe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(Fe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(Fe.nsMenu.be("tooltip","trigger"))},[renderSlot(Fe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(Fe.$slots,"default"),renderSlot(Fe.$slots,"title")],64))],2)}var MenuItem=_export_sfc$2(_sfc_main$16,[["render",_sfc_render$e],["__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$15=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$d(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("li",{class:normalizeClass(Fe.ns.b())},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("title"))},[Fe.$slots.title?renderSlot(Fe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Fe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(Fe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$2(_sfc_main$15,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall$1(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$B=["aria-label"],__default__$G=defineComponent({name:"ElPageHeader"}),_sfc_main$14=defineComponent({...__default__$G,props:pageHeaderProps,emits:pageHeaderEmits,setup(Fe,{emit:qe}){const hn=useSlots(),{t:vn}=useLocale(),bn=useNamespace("page-header"),wn=computed(()=>[bn.b(),{[bn.m("has-breadcrumb")]:!!hn.breadcrumb,[bn.m("has-extra")]:!!hn.extra,[bn.is("contentful")]:!!hn.default}]);function kn(){qe("back")}return(_n,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(wn))},[_n.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).e("breadcrumb"))},[renderSlot(_n.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(bn).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("back")),role:"button",tabindex:"0",onClick:kn},[_n.icon||_n.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":_n.title||unref(vn)("el.pageHeader.title"),class:normalizeClass(unref(bn).e("icon"))},[renderSlot(_n.$slots,"icon",{},()=>[_n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(_n.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$B)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(bn).e("title"))},[renderSlot(_n.$slots,"title",{},()=>[createTextVNode(toDisplayString(_n.title||unref(vn)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(bn).e("content"))},[renderSlot(_n.$slots,"content",{},()=>[createTextVNode(toDisplayString(_n.content),1)])],2)],2),_n.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).e("extra"))},[renderSlot(_n.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),_n.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(bn).e("main"))},[renderSlot(_n.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$2(_sfc_main$14,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const ElPageHeader=withInstall$1(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:Fe=>Fe instanceof MouseEvent},_hoisted_1$A=["disabled","aria-label","aria-disabled"],_hoisted_2$p={key:0},__default__$F=defineComponent({name:"ElPaginationPrev"}),_sfc_main$13=defineComponent({...__default__$F,props:paginationPrevProps,emits:paginationPrevEmits,setup(Fe){const qe=Fe,{t:hn}=useLocale(),vn=computed(()=>qe.disabled||qe.currentPage<=1);return(bn,wn)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(vn),"aria-label":bn.prevText||unref(hn)("el.pagination.prev"),"aria-disabled":unref(vn),onClick:wn[0]||(wn[0]=kn=>bn.$emit("click",kn))},[bn.prevText?(openBlock(),createElementBlock("span",_hoisted_2$p,toDisplayString(bn.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.prevIcon)))]),_:1}))],8,_hoisted_1$A))}});var Prev=_export_sfc$2(_sfc_main$13,[["__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$z=["disabled","aria-label","aria-disabled"],_hoisted_2$o={key:0},__default__$E=defineComponent({name:"ElPaginationNext"}),_sfc_main$12=defineComponent({...__default__$E,props:paginationNextProps,emits:["click"],setup(Fe){const qe=Fe,{t:hn}=useLocale(),vn=computed(()=>qe.disabled||qe.currentPage===qe.pageCount||qe.pageCount===0);return(bn,wn)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(vn),"aria-label":bn.nextText||unref(hn)("el.pagination.next"),"aria-disabled":unref(vn),onClick:wn[0]||(wn[0]=kn=>bn.$emit("click",kn))},[bn.nextText?(openBlock(),createElementBlock("span",_hoisted_2$o,toDisplayString(bn.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.nextIcon)))]),_:1}))],8,_hoisted_1$z))}});var Next=_export_sfc$2(_sfc_main$12,[["__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(Fe,qe){const hn=inject(selectKey),vn=inject(selectGroupKey,{disabled:!1}),bn=computed(()=>isObject$9(Fe.value)),wn=computed(()=>hn.props.multiple?$n(hn.props.modelValue,Fe.value):Sn(Fe.value,hn.props.modelValue)),kn=computed(()=>{if(hn.props.multiple){const Nn=hn.props.modelValue||[];return!wn.value&&Nn.length>=hn.props.multipleLimit&&hn.props.multipleLimit>0}else return!1}),_n=computed(()=>Fe.label||(bn.value?"":Fe.value)),Cn=computed(()=>Fe.value||Fe.label||""),xn=computed(()=>Fe.disabled||qe.groupDisabled||kn.value),En=getCurrentInstance(),$n=(Nn=[],Pn)=>{if(bn.value){const On=hn.props.valueKey;return Nn&&Nn.some(Rn=>toRaw(get$6(Rn,On))===get$6(Pn,On))}else return Nn&&Nn.includes(Pn)},Sn=(Nn,Pn)=>{if(bn.value){const{valueKey:On}=hn.props;return get$6(Nn,On)===get$6(Pn,On)}else return Nn===Pn},An=()=>{!Fe.disabled&&!vn.disabled&&(hn.hoverIndex=hn.optionsArray.indexOf(En.proxy))};watch(()=>_n.value,()=>{!Fe.created&&!hn.props.remote&&hn.setSelected()}),watch(()=>Fe.value,(Nn,Pn)=>{const{remote:On,valueKey:Rn}=hn.props;if(Object.is(Nn,Pn)||(hn.onOptionDestroy(Pn,En.proxy),hn.onOptionCreate(En.proxy)),!Fe.created&&!On){if(Rn&&isObject$9(Nn)&&isObject$9(Pn)&&Nn[Rn]===Pn[Rn])return;hn.setSelected()}}),watch(()=>vn.disabled,()=>{qe.groupDisabled=vn.disabled},{immediate:!0});const{queryChange:Tn}=toRaw(hn);return watch(Tn,Nn=>{const{query:Pn}=unref(Nn),On=new RegExp(escapeStringRegexp(Pn),"i");qe.visible=On.test(_n.value)||Fe.created,qe.visible||hn.filteredOptionsCount--},{immediate:!0}),{select:hn,currentLabel:_n,currentValue:Cn,itemSelected:wn,isDisabled:xn,hoverItem:An}}const _sfc_main$11=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(Fe){const qe=useNamespace("select"),hn=useId(),vn=computed(()=>[qe.be("dropdown","item"),qe.is("disabled",unref(_n)),{selected:unref(kn),hover:unref($n)}]),bn=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:wn,itemSelected:kn,isDisabled:_n,select:Cn,hoverItem:xn}=useOption$1(Fe,bn),{visible:En,hover:$n}=toRefs(bn),Sn=getCurrentInstance().proxy;Cn.onOptionCreate(Sn),onBeforeUnmount(()=>{const Tn=Sn.value,{selected:Nn}=Cn,On=(Cn.props.multiple?Nn:[Nn]).some(Rn=>Rn.value===Sn.value);nextTick(()=>{Cn.cachedOptions.get(Tn)===Sn&&!On&&Cn.cachedOptions.delete(Tn)}),Cn.onOptionDestroy(Tn,Sn)});function An(){Fe.disabled!==!0&&bn.groupDisabled!==!0&&Cn.handleOptionSelect(Sn)}return{ns:qe,id:hn,containerKls:vn,currentLabel:wn,itemSelected:kn,isDisabled:_n,select:Cn,hoverItem:xn,visible:En,hover:$n,selectOptionClick:An,states:bn}}}),_hoisted_1$y=["id","aria-disabled","aria-selected"];function _sfc_render$c(Fe,qe,hn,vn,bn,wn){return withDirectives((openBlock(),createElementBlock("li",{id:Fe.id,class:normalizeClass(Fe.containerKls),role:"option","aria-disabled":Fe.isDisabled||void 0,"aria-selected":Fe.itemSelected,onMouseenter:qe[0]||(qe[0]=(...kn)=>Fe.hoverItem&&Fe.hoverItem(...kn)),onClick:qe[1]||(qe[1]=withModifiers((...kn)=>Fe.selectOptionClick&&Fe.selectOptionClick(...kn),["stop"]))},[renderSlot(Fe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Fe.currentLabel),1)])],42,_hoisted_1$y)),[[vShow,Fe.visible]])}var Option$1=_export_sfc$2(_sfc_main$11,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$10=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const Fe=inject(selectKey),qe=useNamespace("select"),hn=computed(()=>Fe.props.popperClass),vn=computed(()=>Fe.props.multiple),bn=computed(()=>Fe.props.fitInputWidth),wn=ref("");function kn(){var _n;wn.value=`${(_n=Fe.selectWrapper)==null?void 0:_n.offsetWidth}px`}return onMounted(()=>{kn(),useResizeObserver(Fe.selectWrapper,kn)}),{ns:qe,minWidth:wn,popperClass:hn,isMultiple:vn,isFitInputWidth:bn}}});function _sfc_render$b(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("div",{class:normalizeClass([Fe.ns.b("dropdown"),Fe.ns.is("multiple",Fe.isMultiple),Fe.popperClass]),style:normalizeStyle({[Fe.isFitInputWidth?"width":"minWidth"]:Fe.minWidth})},[Fe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Fe.ns.be("dropdown","header"))},[renderSlot(Fe.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(Fe.$slots,"default"),Fe.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Fe.ns.be("dropdown","footer"))},[renderSlot(Fe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc$2(_sfc_main$10,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function useSelectStates(Fe){const{t:qe}=useLocale();return reactive({options:new Map,cachedOptions:new Map,disabledOptions:new Map,createdLabel:null,createdSelected:!1,selected:Fe.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:qe("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1,focused:!1})}const useSelect$2=(Fe,qe,hn)=>{const{t:vn}=useLocale(),bn=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(()=>Fe.suffixTransition===!1));const wn=ref(null),kn=ref(null),_n=ref(null),Cn=ref(null),xn=ref(null),En=ref(null),$n=ref(null),Sn=ref(null),An=ref(),Tn=shallowRef({query:""}),Nn=shallowRef(""),Pn=ref([]);let On=0;const{form:Rn,formItem:In}=useFormItem(),Mn=computed(()=>!Fe.filterable||Fe.multiple||!qe.visible),Bn=computed(()=>Fe.disabled||(Rn==null?void 0:Rn.disabled)),Dn=computed(()=>{const Qo=Fe.multiple?Array.isArray(Fe.modelValue)&&Fe.modelValue.length>0:Fe.modelValue!==void 0&&Fe.modelValue!==null&&Fe.modelValue!=="";return Fe.clearable&&!Bn.value&&qe.inputHovering&&Qo}),Vn=computed(()=>Fe.remote&&Fe.filterable&&!Fe.remoteShowSuffix?"":Fe.suffixIcon),Ln=computed(()=>bn.is("reverse",Vn.value&&qe.visible&&Fe.suffixTransition)),zn=computed(()=>(Rn==null?void 0:Rn.statusIcon)&&(In==null?void 0:In.validateState)&&ValidateComponentsMap[In==null?void 0:In.validateState]),Hn=computed(()=>Fe.remote?300:0),Fn=computed(()=>Fe.loading?Fe.loadingText||vn("el.select.loading"):Fe.remote&&qe.query===""&&qe.options.size===0?!1:Fe.filterable&&qe.query&&qe.options.size>0&&qe.filteredOptionsCount===0?Fe.noMatchText||vn("el.select.noMatch"):qe.options.size===0?Fe.noDataText||vn("el.select.noData"):null),Kn=computed(()=>{const Qo=Array.from(qe.options.values()),mr=[];return Pn.value.forEach(br=>{const Ir=Qo.findIndex(Mr=>Mr.currentLabel===br);Ir>-1&&mr.push(Qo[Ir])}),mr.length>=Qo.length?mr:Qo}),Un=computed(()=>Array.from(qe.cachedOptions.values())),Gn=computed(()=>{const Qo=Kn.value.filter(mr=>!mr.created).some(mr=>mr.currentLabel===qe.query);return Fe.filterable&&Fe.allowCreate&&qe.query!==""&&!Qo}),Wn=useFormSize(),Yn=computed(()=>["small"].includes(Wn.value)?"small":"default"),Xn=computed({get(){return qe.visible&&Fn.value!==!1},set(Qo){qe.visible=Qo}});watch([()=>Bn.value,()=>Wn.value,()=>Rn==null?void 0:Rn.size],()=>{nextTick(()=>{qn()})}),watch(()=>Fe.placeholder,Qo=>{qe.cachedPlaceHolder=qe.currentPlaceholder=Qo,Fe.multiple&&Array.isArray(Fe.modelValue)&&Fe.modelValue.length>0&&(qe.currentPlaceholder="")}),watch(()=>Fe.modelValue,(Qo,mr)=>{Fe.multiple&&(qn(),Qo&&Qo.length>0||kn.value&&qe.query!==""?qe.currentPlaceholder="":qe.currentPlaceholder=qe.cachedPlaceHolder,Fe.filterable&&!Fe.reserveKeyword&&(qe.query="",jn(qe.query))),no(),Fe.filterable&&!Fe.multiple&&(qe.inputLength=20),!isEqual$4(Qo,mr)&&Fe.validateEvent&&(In==null||In.validate("change").catch(br=>void 0))},{flush:"post",deep:!0}),watch(()=>qe.visible,Qo=>{var mr,br,Ir,Mr,ir;Qo?((br=(mr=Cn.value)==null?void 0:mr.updatePopper)==null||br.call(mr),Fe.filterable&&(qe.filteredOptionsCount=qe.optionsCount,qe.query=Fe.remote?"":qe.selectedLabel,(Mr=(Ir=_n.value)==null?void 0:Ir.focus)==null||Mr.call(Ir),Fe.multiple?(ir=kn.value)==null||ir.focus():qe.selectedLabel&&(qe.currentPlaceholder=`${qe.selectedLabel}`,qe.selectedLabel=""),jn(qe.query),!Fe.multiple&&!Fe.remote&&(Tn.value.query="",triggerRef(Tn),triggerRef(Nn)))):(Fe.filterable&&(isFunction$i(Fe.filterMethod)&&Fe.filterMethod(""),isFunction$i(Fe.remoteMethod)&&Fe.remoteMethod("")),qe.query="",qe.previousQuery=null,qe.selectedLabel="",qe.inputLength=20,qe.menuVisibleOnFocus=!1,co(),nextTick(()=>{kn.value&&kn.value.value===""&&qe.selected.length===0&&(qe.currentPlaceholder=qe.cachedPlaceHolder)}),Fe.multiple||(qe.selected&&(Fe.filterable&&Fe.allowCreate&&qe.createdSelected&&qe.createdLabel?qe.selectedLabel=qe.createdLabel:qe.selectedLabel=qe.selected.currentLabel,Fe.filterable&&(qe.query=qe.selectedLabel)),Fe.filterable&&(qe.currentPlaceholder=qe.cachedPlaceHolder))),hn.emit("visible-change",Qo)}),watch(()=>qe.options.entries(),()=>{var Qo,mr,br;if(!isClient$1)return;(mr=(Qo=Cn.value)==null?void 0:Qo.updatePopper)==null||mr.call(Qo),Fe.multiple&&qn();const Ir=((br=$n.value)==null?void 0:br.querySelectorAll("input"))||[];(!Fe.filterable&&!Fe.defaultFirstOption&&!isUndefined$d(Fe.modelValue)||!Array.from(Ir).includes(document.activeElement))&&no(),Fe.defaultFirstOption&&(Fe.filterable||Fe.remote)&&qe.filteredOptionsCount&&Qn()},{flush:"post"}),watch(()=>qe.hoverIndex,Qo=>{isNumber$d(Qo)&&Qo>-1?An.value=Kn.value[Qo]||{}:An.value={},Kn.value.forEach(mr=>{mr.hover=An.value===mr})});const qn=()=>{nextTick(()=>{var Qo,mr;if(!wn.value)return;const br=wn.value.$el.querySelector("input");On=On||(br.clientHeight>0?br.clientHeight+2:0);const Ir=En.value,Mr=getComputedStyle(br).getPropertyValue(bn.cssVarName("input-height")),ir=Number.parseFloat(Mr)||getComponentSize(Wn.value||(Rn==null?void 0:Rn.size)),Sr=Wn.value||ir===On||On<=0?ir:On;!(br.offsetParent===null)&&(br.style.height=`${(qe.selected.length===0?Sr:Math.max(Ir?Ir.clientHeight+(Ir.clientHeight>Sr?6:0):0,Sr))-2}px`),qe.visible&&Fn.value!==!1&&((mr=(Qo=Cn.value)==null?void 0:Qo.updatePopper)==null||mr.call(Qo))})},jn=async Qo=>{if(!(qe.previousQuery===Qo||qe.isOnComposition)){if(qe.previousQuery===null&&(isFunction$i(Fe.filterMethod)||isFunction$i(Fe.remoteMethod))){qe.previousQuery=Qo;return}qe.previousQuery=Qo,nextTick(()=>{var mr,br;qe.visible&&((br=(mr=Cn.value)==null?void 0:mr.updatePopper)==null||br.call(mr))}),qe.hoverIndex=-1,Fe.multiple&&Fe.filterable&&nextTick(()=>{if(!Bn.value){const mr=kn.value.value.length*15+20;qe.inputLength=Fe.collapseTags?Math.min(50,mr):mr,Jn()}qn()}),Fe.remote&&isFunction$i(Fe.remoteMethod)?(qe.hoverIndex=-1,Fe.remoteMethod(Qo)):isFunction$i(Fe.filterMethod)?(Fe.filterMethod(Qo),triggerRef(Nn)):(qe.filteredOptionsCount=qe.optionsCount,Tn.value.query=Qo,triggerRef(Tn),triggerRef(Nn)),Fe.defaultFirstOption&&(Fe.filterable||Fe.remote)&&qe.filteredOptionsCount&&(await nextTick(),Qn())}},Jn=()=>{qe.currentPlaceholder!==""&&(qe.currentPlaceholder=kn.value.value?"":qe.cachedPlaceHolder)},Qn=()=>{const Qo=Kn.value.filter(Ir=>Ir.visible&&!Ir.disabled&&!Ir.states.groupDisabled),mr=Qo.find(Ir=>Ir.created),br=Qo[0];qe.hoverIndex=Io(Kn.value,mr||br)},no=()=>{var Qo;if(Fe.multiple)qe.selectedLabel="";else{const br=so(Fe.modelValue);(Qo=br.props)!=null&&Qo.created?(qe.createdLabel=br.props.value,qe.createdSelected=!0):qe.createdSelected=!1,qe.selectedLabel=br.currentLabel,qe.selected=br,Fe.filterable&&(qe.query=qe.selectedLabel);return}const mr=[];Array.isArray(Fe.modelValue)&&Fe.modelValue.forEach(br=>{mr.push(so(br))}),qe.selected=mr,nextTick(()=>{qn()})},so=Qo=>{let mr;const br=toRawType(Qo).toLowerCase()==="object",Ir=toRawType(Qo).toLowerCase()==="null",Mr=toRawType(Qo).toLowerCase()==="undefined";for(let Lr=qe.cachedOptions.size-1;Lr>=0;Lr--){const qr=Un.value[Lr];if(br?get$6(qr.value,Fe.valueKey)===get$6(Qo,Fe.valueKey):qr.value===Qo){mr={value:Qo,currentLabel:qr.currentLabel,isDisabled:qr.isDisabled};break}}if(mr)return mr;const ir=br?Qo.label:!Ir&&!Mr?Qo:"",Sr={value:Qo,currentLabel:ir};return Fe.multiple&&(Sr.hitState=!1),Sr},co=()=>{setTimeout(()=>{const Qo=Fe.valueKey;Fe.multiple?qe.selected.length>0?qe.hoverIndex=Math.min.apply(null,qe.selected.map(mr=>Kn.value.findIndex(br=>get$6(br,Qo)===get$6(mr,Qo)))):qe.hoverIndex=-1:qe.hoverIndex=Kn.value.findIndex(mr=>Vo(mr)===Vo(qe.selected))},300)},mo=()=>{var Qo,mr;fo(),(mr=(Qo=Cn.value)==null?void 0:Qo.updatePopper)==null||mr.call(Qo),Fe.multiple&&qn()},fo=()=>{var Qo;qe.inputWidth=(Qo=wn.value)==null?void 0:Qo.$el.offsetWidth},io=()=>{Fe.filterable&&qe.query!==qe.selectedLabel&&(qe.query=qe.selectedLabel,jn(qe.query))},ao=debounce$3(()=>{io()},Hn.value),go=debounce$3(Qo=>{jn(Qo.target.value)},Hn.value),yo=Qo=>{isEqual$4(Fe.modelValue,Qo)||hn.emit(CHANGE_EVENT,Qo)},Bo=Qo=>findLastIndex(Qo,mr=>!qe.disabledOptions.has(mr)),ro=Qo=>{if(Qo.code!==EVENT_CODE.delete){if(Qo.target.value.length<=0&&!qo()){const mr=Fe.modelValue.slice(),br=Bo(mr);if(br<0)return;mr.splice(br,1),hn.emit(UPDATE_MODEL_EVENT,mr),yo(mr)}Qo.target.value.length===1&&Fe.modelValue.length===0&&(qe.currentPlaceholder=qe.cachedPlaceHolder)}},eo=(Qo,mr)=>{const br=qe.selected.indexOf(mr);if(br>-1&&!Bn.value){const Ir=Fe.modelValue.slice();Ir.splice(br,1),hn.emit(UPDATE_MODEL_EVENT,Ir),yo(Ir),hn.emit("remove-tag",mr.value)}Qo.stopPropagation(),wo()},lo=Qo=>{Qo.stopPropagation();const mr=Fe.multiple?[]:"";if(!isString$d(mr))for(const br of qe.selected)br.isDisabled&&mr.push(br.value);hn.emit(UPDATE_MODEL_EVENT,mr),yo(mr),qe.hoverIndex=-1,qe.visible=!1,hn.emit("clear"),wo()},ho=Qo=>{var mr;if(Fe.multiple){const br=(Fe.modelValue||[]).slice(),Ir=Io(br,Qo.value);Ir>-1?br.splice(Ir,1):(Fe.multipleLimit<=0||br.length{ko(Qo)})},Io=(Qo=[],mr)=>{if(!isObject$9(mr))return Qo.indexOf(mr);const br=Fe.valueKey;let Ir=-1;return Qo.some((Mr,ir)=>toRaw(get$6(Mr,br))===get$6(mr,br)?(Ir=ir,!0):!1),Ir},Po=()=>{const Qo=kn.value||wn.value;Qo&&(Qo==null||Qo.focus())},ko=Qo=>{var mr,br,Ir,Mr,ir;const Sr=Array.isArray(Qo)?Qo[0]:Qo;let Lr=null;if(Sr!=null&&Sr.value){const qr=Kn.value.filter(ba=>ba.value===Sr.value);qr.length>0&&(Lr=qr[0].$el)}if(Cn.value&&Lr){const qr=(Mr=(Ir=(br=(mr=Cn.value)==null?void 0:mr.popperRef)==null?void 0:br.contentRef)==null?void 0:Ir.querySelector)==null?void 0:Mr.call(Ir,`.${bn.be("dropdown","wrap")}`);qr&&scrollIntoView$1(qr,Lr)}(ir=Sn.value)==null||ir.handleScroll()},xo=Qo=>{qe.optionsCount++,qe.filteredOptionsCount++,qe.options.set(Qo.value,Qo),qe.cachedOptions.set(Qo.value,Qo),Qo.disabled&&qe.disabledOptions.set(Qo.value,Qo)},Ao=(Qo,mr)=>{qe.options.get(Qo)===mr&&(qe.optionsCount--,qe.filteredOptionsCount--,qe.options.delete(Qo))},vo=Qo=>{Qo.code!==EVENT_CODE.backspace&&qo(!1),qe.inputLength=kn.value.value.length*15+20,qn()},qo=Qo=>{if(!Array.isArray(qe.selected))return;const mr=Bo(qe.selected.map(Ir=>Ir.value)),br=qe.selected[mr];if(br)return Qo===!0||Qo===!1?(br.hitState=Qo,Qo):(br.hitState=!br.hitState,br.hitState)},jo=Qo=>{const mr=Qo.target.value;if(Qo.type==="compositionend")qe.isOnComposition=!1,nextTick(()=>jn(mr));else{const br=mr[mr.length-1]||"";qe.isOnComposition=!isKorean(br)}},Ko=()=>{nextTick(()=>ko(qe.selected))},bo=Qo=>{qe.focused||((Fe.automaticDropdown||Fe.filterable)&&(Fe.filterable&&!qe.visible&&(qe.menuVisibleOnFocus=!0),qe.visible=!0),qe.focused=!0,hn.emit("focus",Qo))},wo=()=>{var Qo,mr;qe.visible?(Qo=kn.value||wn.value)==null||Qo.focus():(mr=wn.value)==null||mr.focus()},zo=()=>{var Qo,mr,br;qe.visible=!1,(Qo=wn.value)==null||Qo.blur(),(br=(mr=_n.value)==null?void 0:mr.blur)==null||br.call(mr)},Yo=Qo=>{var mr,br,Ir;(mr=Cn.value)!=null&&mr.isFocusInsideContent(Qo)||(br=xn.value)!=null&&br.isFocusInsideContent(Qo)||(Ir=$n.value)!=null&&Ir.contains(Qo.relatedTarget)||(qe.visible&&Fo(),qe.focused=!1,hn.emit("blur",Qo))},_o=Qo=>{lo(Qo)},Fo=()=>{qe.visible=!1},$o=Qo=>{qe.visible&&(Qo.preventDefault(),Qo.stopPropagation(),qe.visible=!1)},Do=Qo=>{Qo&&!qe.mouseEnter||Bn.value||(qe.menuVisibleOnFocus?qe.menuVisibleOnFocus=!1:(!Cn.value||!Cn.value.isFocusInsideContent())&&(qe.visible=!qe.visible),wo())},No=()=>{qe.visible?Kn.value[qe.hoverIndex]&&ho(Kn.value[qe.hoverIndex]):Do()},Vo=Qo=>isObject$9(Qo.value)?get$6(Qo.value,Fe.valueKey):Qo.value,Eo=computed(()=>Kn.value.filter(Qo=>Qo.visible).every(Qo=>Qo.disabled)),rr=computed(()=>Fe.multiple?qe.selected.slice(0,Fe.maxCollapseTags):[]),sr=computed(()=>Fe.multiple?qe.selected.slice(Fe.maxCollapseTags):[]),ur=Qo=>{if(!qe.visible){qe.visible=!0;return}if(!(qe.options.size===0||qe.filteredOptionsCount===0)&&!qe.isOnComposition&&!Eo.value){Qo==="next"?(qe.hoverIndex++,qe.hoverIndex===qe.options.size&&(qe.hoverIndex=0)):Qo==="prev"&&(qe.hoverIndex--,qe.hoverIndex<0&&(qe.hoverIndex=qe.options.size-1));const mr=Kn.value[qe.hoverIndex];(mr.disabled===!0||mr.states.groupDisabled===!0||!mr.visible)&&ur(Qo),nextTick(()=>ko(An.value))}},hr=()=>{qe.mouseEnter=!0},Co=()=>{qe.mouseEnter=!1},Er=(Qo,mr)=>{var br,Ir;eo(Qo,mr),(Ir=(br=xn.value)==null?void 0:br.updatePopper)==null||Ir.call(br)},$r=computed(()=>({maxWidth:`${unref(qe.inputWidth)-32-(zn.value?22:0)}px`,width:"100%"}));return{optionList:Pn,optionsArray:Kn,hoverOption:An,selectSize:Wn,handleResize:mo,debouncedOnInputChange:ao,debouncedQueryChange:go,deletePrevTag:ro,deleteTag:eo,deleteSelected:lo,handleOptionSelect:ho,scrollToOption:ko,readonly:Mn,resetInputHeight:qn,showClose:Dn,iconComponent:Vn,iconReverse:Ln,showNewOption:Gn,collapseTagSize:Yn,setSelected:no,managePlaceholder:Jn,selectDisabled:Bn,emptyText:Fn,toggleLastOptionHitState:qo,resetInputState:vo,handleComposition:jo,onOptionCreate:xo,onOptionDestroy:Ao,handleMenuEnter:Ko,handleFocus:bo,focus:wo,blur:zo,handleBlur:Yo,handleClearClick:_o,handleClose:Fo,handleKeydownEscape:$o,toggleMenu:Do,selectOption:No,getValueKey:Vo,navigateOptions:ur,handleDeleteTooltipTag:Er,dropMenuVisible:Xn,queryChange:Tn,groupQueryChange:Nn,showTagList:rr,collapseTagList:sr,selectTagsStyle:$r,reference:wn,input:kn,iOSInput:_n,tooltipRef:Cn,tagTooltipRef:xn,tags:En,selectWrapper:$n,scrollbar:Sn,handleMouseEnter:hr,handleMouseLeave:Co}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup(Fe,{slots:qe,emit:hn}){let vn=[];function bn(wn,kn){if(wn.length!==kn.length)return!1;for(const[_n]of wn.entries())if(wn[_n]!=kn[_n])return!1;return!0}return()=>{var wn,kn;const _n=(wn=qe.default)==null?void 0:wn.call(qe),Cn=[];function xn(En){Array.isArray(En)&&En.forEach($n=>{var Sn,An,Tn,Nn;const Pn=(Sn=($n==null?void 0:$n.type)||{})==null?void 0:Sn.name;Pn==="ElOptionGroup"?xn(!isString$d($n.children)&&!Array.isArray($n.children)&&isFunction$i((An=$n.children)==null?void 0:An.default)?(Tn=$n.children)==null?void 0:Tn.default():$n.children):Pn==="ElOption"?Cn.push((Nn=$n.props)==null?void 0:Nn.label):Array.isArray($n.children)&&xn($n.children)})}return _n.length&&xn((kn=_n[0])==null?void 0:kn.children),bn(Cn,vn)||(vn=Cn,hn("update-options",Cn)),_n}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$$=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:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ee,default:"bottom-start"},ariaLabel:{type:String,default:void 0}},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(Fe,qe){const hn=useNamespace("select"),vn=useNamespace("input"),{t:bn}=useLocale(),wn=useId(),kn=useSelectStates(Fe),{optionList:_n,optionsArray:Cn,hoverOption:xn,selectSize:En,readonly:$n,handleResize:Sn,collapseTagSize:An,debouncedOnInputChange:Tn,debouncedQueryChange:Nn,deletePrevTag:Pn,deleteTag:On,deleteSelected:Rn,handleOptionSelect:In,scrollToOption:Mn,setSelected:Bn,resetInputHeight:Dn,managePlaceholder:Vn,showClose:Ln,selectDisabled:zn,iconComponent:Hn,iconReverse:Fn,showNewOption:Kn,emptyText:Un,toggleLastOptionHitState:Gn,resetInputState:Wn,handleComposition:Yn,onOptionCreate:Xn,onOptionDestroy:qn,handleMenuEnter:jn,handleFocus:Jn,focus:Qn,blur:no,handleBlur:so,handleClearClick:co,handleClose:mo,handleKeydownEscape:fo,toggleMenu:io,selectOption:ao,getValueKey:go,navigateOptions:yo,handleDeleteTooltipTag:Bo,dropMenuVisible:ro,reference:eo,input:lo,iOSInput:ho,tooltipRef:Io,tagTooltipRef:Po,tags:ko,selectWrapper:xo,scrollbar:Ao,queryChange:vo,groupQueryChange:qo,handleMouseEnter:jo,handleMouseLeave:Ko,showTagList:bo,collapseTagList:wo,selectTagsStyle:zo}=useSelect$2(Fe,kn,qe),{inputWidth:Yo,selected:_o,inputLength:Fo,filteredOptionsCount:$o,visible:Do,selectedLabel:No,hoverIndex:Vo,query:Eo,inputHovering:rr,currentPlaceholder:sr,menuVisibleOnFocus:ur,isOnComposition:hr,options:Co,cachedOptions:Er,optionsCount:$r,prefixWidth:Qo}=toRefs(kn),mr=computed(()=>{const Ur=[hn.b()],Gr=unref(En);return Gr&&Ur.push(hn.m(Gr)),Fe.disabled&&Ur.push(hn.m("disabled")),Ur}),br=computed(()=>[hn.e("tags"),hn.is("disabled",unref(zn))]),Ir=computed(()=>[hn.b("tags-wrapper"),{"has-prefix":unref(Qo)&&unref(_o).length}]),Mr=computed(()=>[hn.e("input"),hn.is(unref(En)),hn.is("disabled",unref(zn))]),ir=computed(()=>[hn.e("input"),hn.is(unref(En)),hn.em("input","iOS")]),Sr=computed(()=>[hn.is("empty",!Fe.allowCreate&&!!unref(Eo)&&unref($o)===0)]),Lr=computed(()=>({maxWidth:`${unref(Yo)>123&&unref(_o).length>Fe.maxCollapseTags?unref(Yo)-123:unref(Yo)-75}px`})),qr=computed(()=>({marginLeft:`${unref(Qo)}px`,flexGrow:1,width:`${unref(Fo)/(unref(Yo)-32)}%`,maxWidth:`${unref(Yo)-42}px`}));provide(selectKey,reactive({props:Fe,options:Co,optionsArray:Cn,cachedOptions:Er,optionsCount:$r,filteredOptionsCount:$o,hoverIndex:Vo,handleOptionSelect:In,onOptionCreate:Xn,onOptionDestroy:qn,selectWrapper:xo,selected:_o,setSelected:Bn,queryChange:vo,groupQueryChange:qo})),onMounted(()=>{kn.cachedPlaceHolder=sr.value=Fe.placeholder||(()=>bn("el.select.placeholder")),Fe.multiple&&Array.isArray(Fe.modelValue)&&Fe.modelValue.length>0&&(sr.value=""),useResizeObserver(xo,Sn),Fe.remote&&Fe.multiple&&Dn(),nextTick(()=>{const Ur=eo.value&&eo.value.$el;if(Ur&&(Yo.value=Ur.getBoundingClientRect().width,qe.slots.prefix)){const Gr=Ur.querySelector(`.${vn.e("prefix")}`);Qo.value=Math.max(Gr.getBoundingClientRect().width+11,30)}}),Bn()}),Fe.multiple&&!Array.isArray(Fe.modelValue)&&qe.emit(UPDATE_MODEL_EVENT,[]),!Fe.multiple&&Array.isArray(Fe.modelValue)&&qe.emit(UPDATE_MODEL_EVENT,"");const ba=computed(()=>{var Ur,Gr;return(Gr=(Ur=Io.value)==null?void 0:Ur.popperRef)==null?void 0:Gr.contentRef});return{isIOS,onOptionsRendered:Ur=>{_n.value=Ur},prefixWidth:Qo,selectSize:En,readonly:$n,handleResize:Sn,collapseTagSize:An,debouncedOnInputChange:Tn,debouncedQueryChange:Nn,deletePrevTag:Pn,deleteTag:On,handleDeleteTooltipTag:Bo,deleteSelected:Rn,handleOptionSelect:In,scrollToOption:Mn,inputWidth:Yo,selected:_o,inputLength:Fo,filteredOptionsCount:$o,visible:Do,selectedLabel:No,hoverIndex:Vo,query:Eo,inputHovering:rr,currentPlaceholder:sr,menuVisibleOnFocus:ur,isOnComposition:hr,options:Co,resetInputHeight:Dn,managePlaceholder:Vn,showClose:Ln,selectDisabled:zn,iconComponent:Hn,iconReverse:Fn,showNewOption:Kn,emptyText:Un,toggleLastOptionHitState:Gn,resetInputState:Wn,handleComposition:Yn,handleMenuEnter:jn,handleFocus:Jn,focus:Qn,blur:no,handleBlur:so,handleClearClick:co,handleClose:mo,handleKeydownEscape:fo,toggleMenu:io,selectOption:ao,getValueKey:go,navigateOptions:yo,dropMenuVisible:ro,reference:eo,input:lo,iOSInput:ho,tooltipRef:Io,popperPaneRef:ba,tags:ko,selectWrapper:xo,scrollbar:Ao,wrapperKls:mr,tagsKls:br,tagWrapperKls:Ir,inputKls:Mr,iOSInputKls:ir,scrollbarKls:Sr,selectTagsStyle:zo,nsSelect:hn,tagTextStyle:Lr,inputStyle:qr,handleMouseEnter:jo,handleMouseLeave:Ko,showTagList:bo,collapseTagList:wo,tagTooltipRef:Po,contentId:wn,hoverOption:xn}}}),_hoisted_1$x=["disabled","autocomplete","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$n=["disabled"],_hoisted_3$d={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$a(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-tag"),_n=resolveComponent("el-tooltip"),Cn=resolveComponent("el-icon"),xn=resolveComponent("el-input"),En=resolveComponent("el-option"),$n=resolveComponent("el-options"),Sn=resolveComponent("el-scrollbar"),An=resolveComponent("el-select-menu"),Tn=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass(Fe.wrapperKls),onMouseenter:qe[22]||(qe[22]=(...Nn)=>Fe.handleMouseEnter&&Fe.handleMouseEnter(...Nn)),onMouseleave:qe[23]||(qe[23]=(...Nn)=>Fe.handleMouseLeave&&Fe.handleMouseLeave(...Nn)),onClick:qe[24]||(qe[24]=withModifiers((...Nn)=>Fe.toggleMenu&&Fe.toggleMenu(...Nn),["stop"]))},[createVNode(_n,{ref:"tooltipRef",visible:Fe.dropMenuVisible,placement:Fe.placement,teleported:Fe.teleported,"popper-class":[Fe.nsSelect.e("popper"),Fe.popperClass],"popper-options":Fe.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:Fe.effect,pure:"",trigger:"click",transition:`${Fe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:Fe.persistent,onShow:Fe.handleMenuEnter},{default:withCtx(()=>{var Nn,Pn;return[createBaseVNode("div",{class:"select-trigger",onMouseenter:qe[20]||(qe[20]=On=>Fe.inputHovering=!0),onMouseleave:qe[21]||(qe[21]=On=>Fe.inputHovering=!1)},[Fe.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",tabindex:"-1",class:normalizeClass(Fe.tagsKls),style:normalizeStyle(Fe.selectTagsStyle),onClick:qe[15]||(qe[15]=(...On)=>Fe.focus&&Fe.focus(...On))},[Fe.collapseTags&&Fe.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:Fe.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.tagWrapperKls)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.showTagList,On=>(openBlock(),createBlock(kn,{key:Fe.getValueKey(On),closable:!Fe.selectDisabled&&!On.isDisabled,size:Fe.collapseTagSize,hit:On.hitState,type:Fe.tagType,"disable-transitions":"",onClose:Rn=>Fe.deleteTag(Rn,On)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelect.e("tags-text")),style:normalizeStyle(Fe.tagTextStyle)},toDisplayString(On.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),Fe.selected.length>Fe.maxCollapseTags?(openBlock(),createBlock(kn,{key:0,closable:!1,size:Fe.collapseTagSize,type:Fe.tagType,"disable-transitions":""},{default:withCtx(()=>[Fe.collapseTagsTooltip?(openBlock(),createBlock(_n,{key:0,ref:"tagTooltipRef",disabled:Fe.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:Fe.effect,placement:"bottom",teleported:Fe.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelect.e("tags-text"))},"+ "+toDisplayString(Fe.selected.length-Fe.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(Fe.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.collapseTagList,On=>(openBlock(),createElementBlock("div",{key:Fe.getValueKey(On),class:normalizeClass(Fe.nsSelect.e("collapse-tag"))},[createVNode(kn,{class:"in-tooltip",closable:!Fe.selectDisabled&&!On.isDisabled,size:Fe.collapseTagSize,hit:On.hitState,type:Fe.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:Rn=>Fe.handleDeleteTooltipTag(Rn,On)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelect.e("tags-text")),style:normalizeStyle({maxWidth:Fe.inputWidth-75+"px"})},toDisplayString(On.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(Fe.nsSelect.e("tags-text"))},"+ "+toDisplayString(Fe.selected.length-Fe.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),Fe.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:Fe.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.tagWrapperKls),style:normalizeStyle(Fe.prefixWidth&&Fe.selected.length?{marginLeft:`${Fe.prefixWidth}px`}:"")},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.selected,On=>(openBlock(),createBlock(kn,{key:Fe.getValueKey(On),closable:!Fe.selectDisabled&&!On.isDisabled,size:Fe.collapseTagSize,hit:On.hitState,type:Fe.tagType,"disable-transitions":"",onClose:Rn=>Fe.deleteTag(Rn,On)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelect.e("tags-text")),style:normalizeStyle({maxWidth:Fe.inputWidth-75+"px"})},toDisplayString(On.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),Fe.filterable&&!Fe.selectDisabled?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":qe[0]||(qe[0]=On=>Fe.query=On),type:"text",class:normalizeClass(Fe.inputKls),disabled:Fe.selectDisabled,autocomplete:Fe.autocomplete,style:normalizeStyle(Fe.inputStyle),role:"combobox","aria-activedescendant":((Nn=Fe.hoverOption)==null?void 0:Nn.id)||"","aria-controls":Fe.contentId,"aria-expanded":Fe.dropMenuVisible,"aria-label":Fe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:qe[1]||(qe[1]=(...On)=>Fe.handleFocus&&Fe.handleFocus(...On)),onBlur:qe[2]||(qe[2]=(...On)=>Fe.handleBlur&&Fe.handleBlur(...On)),onKeyup:qe[3]||(qe[3]=(...On)=>Fe.managePlaceholder&&Fe.managePlaceholder(...On)),onKeydown:[qe[4]||(qe[4]=(...On)=>Fe.resetInputState&&Fe.resetInputState(...On)),qe[5]||(qe[5]=withKeys(withModifiers(On=>Fe.navigateOptions("next"),["prevent"]),["down"])),qe[6]||(qe[6]=withKeys(withModifiers(On=>Fe.navigateOptions("prev"),["prevent"]),["up"])),qe[7]||(qe[7]=withKeys((...On)=>Fe.handleKeydownEscape&&Fe.handleKeydownEscape(...On),["esc"])),qe[8]||(qe[8]=withKeys(withModifiers((...On)=>Fe.selectOption&&Fe.selectOption(...On),["stop","prevent"]),["enter"])),qe[9]||(qe[9]=withKeys((...On)=>Fe.deletePrevTag&&Fe.deletePrevTag(...On),["delete"])),qe[10]||(qe[10]=withKeys(On=>Fe.visible=!1,["tab"]))],onCompositionstart:qe[11]||(qe[11]=(...On)=>Fe.handleComposition&&Fe.handleComposition(...On)),onCompositionupdate:qe[12]||(qe[12]=(...On)=>Fe.handleComposition&&Fe.handleComposition(...On)),onCompositionend:qe[13]||(qe[13]=(...On)=>Fe.handleComposition&&Fe.handleComposition(...On)),onInput:qe[14]||(qe[14]=(...On)=>Fe.debouncedQueryChange&&Fe.debouncedQueryChange(...On))},null,46,_hoisted_1$x)),[[vModelText,Fe.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),Fe.isIOS&&!Fe.multiple&&Fe.filterable&&Fe.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass(Fe.iOSInputKls),disabled:Fe.selectDisabled,type:"text"},null,10,_hoisted_2$n)):createCommentVNode("v-if",!0),createVNode(xn,{id:Fe.id,ref:"reference",modelValue:Fe.selectedLabel,"onUpdate:modelValue":qe[16]||(qe[16]=On=>Fe.selectedLabel=On),type:"text",placeholder:typeof Fe.currentPlaceholder=="function"?Fe.currentPlaceholder():Fe.currentPlaceholder,name:Fe.name,autocomplete:Fe.autocomplete,size:Fe.selectSize,disabled:Fe.selectDisabled,readonly:Fe.readonly,"validate-event":!1,class:normalizeClass([Fe.nsSelect.is("focus",Fe.visible)]),tabindex:Fe.multiple&&Fe.filterable?-1:void 0,role:"combobox","aria-activedescendant":((Pn=Fe.hoverOption)==null?void 0:Pn.id)||"","aria-controls":Fe.contentId,"aria-expanded":Fe.dropMenuVisible,label:Fe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:Fe.handleFocus,onBlur:Fe.handleBlur,onInput:Fe.debouncedOnInputChange,onPaste:Fe.debouncedOnInputChange,onCompositionstart:Fe.handleComposition,onCompositionupdate:Fe.handleComposition,onCompositionend:Fe.handleComposition,onKeydown:[qe[17]||(qe[17]=withKeys(withModifiers(On=>Fe.navigateOptions("next"),["stop","prevent"]),["down"])),qe[18]||(qe[18]=withKeys(withModifiers(On=>Fe.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers(Fe.selectOption,["stop","prevent"]),["enter"]),withKeys(Fe.handleKeydownEscape,["esc"]),qe[19]||(qe[19]=withKeys(On=>Fe.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[Fe.iconComponent&&!Fe.showClose?(openBlock(),createBlock(Cn,{key:0,class:normalizeClass([Fe.nsSelect.e("caret"),Fe.nsSelect.e("icon"),Fe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Fe.showClose&&Fe.clearIcon?(openBlock(),createBlock(Cn,{key:1,class:normalizeClass([Fe.nsSelect.e("caret"),Fe.nsSelect.e("icon")]),onClick:Fe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[Fe.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$d,[renderSlot(Fe.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","aria-activedescendant","aria-controls","aria-expanded","label","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]}),content:withCtx(()=>[createVNode(An,null,createSlots({default:withCtx(()=>[withDirectives(createVNode(Sn,{id:Fe.contentId,ref:"scrollbar",tag:"ul","wrap-class":Fe.nsSelect.be("dropdown","wrap"),"view-class":Fe.nsSelect.be("dropdown","list"),class:normalizeClass(Fe.scrollbarKls),role:"listbox","aria-label":Fe.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[Fe.showNewOption?(openBlock(),createBlock(En,{key:0,value:Fe.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode($n,{onUpdateOptions:Fe.onOptionsRendered},{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,Fe.options.size>0&&!Fe.loading]]),Fe.emptyText&&(!Fe.allowCreate||Fe.loading||Fe.allowCreate&&Fe.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[Fe.$slots.empty?renderSlot(Fe.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(Fe.nsSelect.be("dropdown","empty"))},toDisplayString(Fe.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:2},[Fe.$slots.header?{name:"header",fn:withCtx(()=>[renderSlot(Fe.$slots,"header")])}:void 0,Fe.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(Fe.$slots,"footer")])}:void 0]),1024)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[Tn,Fe.handleClose,Fe.popperPaneRef]])}var Select$2=_export_sfc$2(_sfc_main$$,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$_=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(Fe){const qe=useNamespace("select"),hn=ref(!0),vn=getCurrentInstance(),bn=ref([]);provide(selectGroupKey,reactive({...toRefs(Fe)}));const wn=inject(selectKey);onMounted(()=>{bn.value=kn(vn.subTree)});const kn=Cn=>{const xn=[];return Array.isArray(Cn.children)&&Cn.children.forEach(En=>{var $n;En.type&&En.type.name==="ElOption"&&En.component&&En.component.proxy?xn.push(En.component.proxy):($n=En.children)!=null&&$n.length&&xn.push(...kn(En))}),xn},{groupQueryChange:_n}=toRaw(wn);return watch(_n,()=>{hn.value=bn.value.some(Cn=>Cn.visible===!0)},{flush:"post"}),{visible:hn,ns:qe}}});function _sfc_render$9(Fe,qe,hn,vn,bn,wn){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass(Fe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(Fe.ns.be("group","title"))},toDisplayString(Fe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(Fe.ns.b("group"))},[renderSlot(Fe.$slots,"default")],2)])],2)),[[vShow,Fe.visible]])}var OptionGroup=_export_sfc$2(_sfc_main$_,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ElSelect=withInstall$1(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,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$D=defineComponent({name:"ElPaginationSizes"}),_sfc_main$Z=defineComponent({...__default__$D,props:paginationSizesProps,emits:["page-size-change"],setup(Fe,{emit:qe}){const hn=Fe,{t:vn}=useLocale(),bn=useNamespace("pagination"),wn=usePagination(),kn=ref(hn.pageSize);watch(()=>hn.pageSizes,(xn,En)=>{if(!isEqual$4(xn,En)&&Array.isArray(xn)){const $n=xn.includes(hn.pageSize)?hn.pageSize:hn.pageSizes[0];qe("page-size-change",$n)}}),watch(()=>hn.pageSize,xn=>{kn.value=xn});const _n=computed(()=>hn.pageSizes);function Cn(xn){var En;xn!==kn.value&&(kn.value=xn,(En=wn.handleSizeChange)==null||En.call(wn,Number(xn)))}return(xn,En)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(bn).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":kn.value,disabled:xn.disabled,"popper-class":xn.popperClass,size:xn.size,teleported:xn.teleported,"validate-event":!1,onChange:Cn},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_n),$n=>(openBlock(),createBlock(unref(ElOption),{key:$n,value:$n,label:$n+unref(vn)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc$2(_sfc_main$Z,[["__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$w=["disabled"],__default__$C=defineComponent({name:"ElPaginationJumper"}),_sfc_main$Y=defineComponent({...__default__$C,props:paginationJumperProps,setup(Fe){const{t:qe}=useLocale(),hn=useNamespace("pagination"),{pageCount:vn,disabled:bn,currentPage:wn,changeEvent:kn}=usePagination(),_n=ref(),Cn=computed(()=>{var $n;return($n=_n.value)!=null?$n:wn==null?void 0:wn.value});function xn($n){_n.value=$n?+$n:""}function En($n){$n=Math.trunc(+$n),kn==null||kn($n),_n.value=void 0}return($n,Sn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(hn).e("jump")),disabled:unref(bn)},[createBaseVNode("span",{class:normalizeClass([unref(hn).e("goto")])},toDisplayString(unref(qe)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:$n.size,class:normalizeClass([unref(hn).e("editor"),unref(hn).is("in-pagination")]),min:1,max:unref(vn),disabled:unref(bn),"model-value":unref(Cn),"validate-event":!1,label:unref(qe)("el.pagination.page"),type:"number","onUpdate:modelValue":xn,onChange:En},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(hn).e("classifier")])},toDisplayString(unref(qe)("el.pagination.pageClassifier")),3)],10,_hoisted_1$w))}});var Jumper=_export_sfc$2(_sfc_main$Y,[["__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$v=["disabled"],__default__$B=defineComponent({name:"ElPaginationTotal"}),_sfc_main$X=defineComponent({...__default__$B,props:paginationTotalProps,setup(Fe){const{t:qe}=useLocale(),hn=useNamespace("pagination"),{disabled:vn}=usePagination();return(bn,wn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(hn).e("total")),disabled:unref(vn)},toDisplayString(unref(qe)("el.pagination.total",{total:bn.total})),11,_hoisted_1$v))}});var Total=_export_sfc$2(_sfc_main$X,[["__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$u=["onKeyup"],_hoisted_2$m=["aria-current","aria-label","tabindex"],_hoisted_3$c=["tabindex","aria-label"],_hoisted_4$a=["aria-current","aria-label","tabindex"],_hoisted_5$8=["tabindex","aria-label"],_hoisted_6$4=["aria-current","aria-label","tabindex"],__default__$A=defineComponent({name:"ElPaginationPager"}),_sfc_main$W=defineComponent({...__default__$A,props:paginationPagerProps,emits:["change"],setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("pager"),bn=useNamespace("icon"),{t:wn}=useLocale(),kn=ref(!1),_n=ref(!1),Cn=ref(!1),xn=ref(!1),En=ref(!1),$n=ref(!1),Sn=computed(()=>{const Mn=hn.pagerCount,Bn=(Mn-1)/2,Dn=Number(hn.currentPage),Vn=Number(hn.pageCount);let Ln=!1,zn=!1;Vn>Mn&&(Dn>Mn-Bn&&(Ln=!0),Dn["more","btn-quickprev",bn.b(),vn.is("disabled",hn.disabled)]),Tn=computed(()=>["more","btn-quicknext",bn.b(),vn.is("disabled",hn.disabled)]),Nn=computed(()=>hn.disabled?-1:0);watchEffect(()=>{const Mn=(hn.pagerCount-1)/2;kn.value=!1,_n.value=!1,hn.pageCount>hn.pagerCount&&(hn.currentPage>hn.pagerCount-Mn&&(kn.value=!0),hn.currentPageVn&&(Dn=Vn)),Dn!==Ln&&qe("change",Dn)}return(Mn,Bn)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(vn).b()),onClick:In,onKeyup:withKeys(Rn,["enter"])},[Mn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(vn).is("active",Mn.currentPage===1),unref(vn).is("disabled",Mn.disabled)],"number"]),"aria-current":Mn.currentPage===1,"aria-label":unref(wn)("el.pagination.currentPage",{pager:1}),tabindex:unref(Nn)}," 1 ",10,_hoisted_2$m)):createCommentVNode("v-if",!0),kn.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(An)),tabindex:unref(Nn),"aria-label":unref(wn)("el.pagination.prevPages",{pager:Mn.pagerCount-2}),onMouseenter:Bn[0]||(Bn[0]=Dn=>Pn(!0)),onMouseleave:Bn[1]||(Bn[1]=Dn=>Cn.value=!1),onFocus:Bn[2]||(Bn[2]=Dn=>On(!0)),onBlur:Bn[3]||(Bn[3]=Dn=>En.value=!1)},[(Cn.value||En.value)&&!Mn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$c)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Sn),Dn=>(openBlock(),createElementBlock("li",{key:Dn,class:normalizeClass([[unref(vn).is("active",Mn.currentPage===Dn),unref(vn).is("disabled",Mn.disabled)],"number"]),"aria-current":Mn.currentPage===Dn,"aria-label":unref(wn)("el.pagination.currentPage",{pager:Dn}),tabindex:unref(Nn)},toDisplayString(Dn),11,_hoisted_4$a))),128)),_n.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(Tn)),tabindex:unref(Nn),"aria-label":unref(wn)("el.pagination.nextPages",{pager:Mn.pagerCount-2}),onMouseenter:Bn[4]||(Bn[4]=Dn=>Pn()),onMouseleave:Bn[5]||(Bn[5]=Dn=>xn.value=!1),onFocus:Bn[6]||(Bn[6]=Dn=>On()),onBlur:Bn[7]||(Bn[7]=Dn=>$n.value=!1)},[(xn.value||$n.value)&&!Mn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$8)):createCommentVNode("v-if",!0),Mn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(vn).is("active",Mn.currentPage===Mn.pageCount),unref(vn).is("disabled",Mn.disabled)],"number"]),"aria-current":Mn.currentPage===Mn.pageCount,"aria-label":unref(wn)("el.pagination.currentPage",{pager:Mn.pageCount}),tabindex:unref(Nn)},toDisplayString(Mn.pageCount),11,_hoisted_6$4)):createCommentVNode("v-if",!0)],42,_hoisted_1$u))}});var Pager$1=_export_sfc$2(_sfc_main$W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=Fe=>typeof Fe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:Fe=>isNumber$d(Fe)&&Math.trunc(Fe)===Fe&&Fe>4&&Fe<22&&Fe%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":Fe=>isNumber$d(Fe),"update:page-size":Fe=>isNumber$d(Fe),"size-change":Fe=>isNumber$d(Fe),"current-change":Fe=>isNumber$d(Fe),"prev-click":Fe=>isNumber$d(Fe),"next-click":Fe=>isNumber$d(Fe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(Fe,{emit:qe,slots:hn}){const{t:vn}=useLocale(),bn=useNamespace("pagination"),wn=getCurrentInstance().vnode.props||{},kn="onUpdate:currentPage"in wn||"onUpdate:current-page"in wn||"onCurrentChange"in wn,_n="onUpdate:pageSize"in wn||"onUpdate:page-size"in wn||"onSizeChange"in wn,Cn=computed(()=>{if(isAbsent(Fe.total)&&isAbsent(Fe.pageCount)||!isAbsent(Fe.currentPage)&&!kn)return!1;if(Fe.layout.includes("sizes")){if(isAbsent(Fe.pageCount)){if(!isAbsent(Fe.total)&&!isAbsent(Fe.pageSize)&&!_n)return!1}else if(!_n)return!1}return!0}),xn=ref(isAbsent(Fe.defaultPageSize)?10:Fe.defaultPageSize),En=ref(isAbsent(Fe.defaultCurrentPage)?1:Fe.defaultCurrentPage),$n=computed({get(){return isAbsent(Fe.pageSize)?xn.value:Fe.pageSize},set(In){isAbsent(Fe.pageSize)&&(xn.value=In),_n&&(qe("update:page-size",In),qe("size-change",In))}}),Sn=computed(()=>{let In=0;return isAbsent(Fe.pageCount)?isAbsent(Fe.total)||(In=Math.max(1,Math.ceil(Fe.total/$n.value))):In=Fe.pageCount,In}),An=computed({get(){return isAbsent(Fe.currentPage)?En.value:Fe.currentPage},set(In){let Mn=In;In<1?Mn=1:In>Sn.value&&(Mn=Sn.value),isAbsent(Fe.currentPage)&&(En.value=Mn),kn&&(qe("update:current-page",Mn),qe("current-change",Mn))}});watch(Sn,In=>{An.value>In&&(An.value=In)});function Tn(In){An.value=In}function Nn(In){$n.value=In;const Mn=Sn.value;An.value>Mn&&(An.value=Mn)}function Pn(){Fe.disabled||(An.value-=1,qe("prev-click",An.value))}function On(){Fe.disabled||(An.value+=1,qe("next-click",An.value))}function Rn(In,Mn){In&&(In.props||(In.props={}),In.props.class=[In.props.class,Mn].join(" "))}return provide(elPaginationKey,{pageCount:Sn,disabled:computed(()=>Fe.disabled),currentPage:An,changeEvent:Tn,handleSizeChange:Nn}),()=>{var In,Mn;if(!Cn.value)return vn("el.pagination.deprecationWarning"),null;if(!Fe.layout||Fe.hideOnSinglePage&&Sn.value<=1)return null;const Bn=[],Dn=[],Vn=h$6("div",{class:bn.e("rightwrapper")},Dn),Ln={prev:h$6(Prev,{disabled:Fe.disabled,currentPage:An.value,prevText:Fe.prevText,prevIcon:Fe.prevIcon,onClick:Pn}),jumper:h$6(Jumper,{size:Fe.small?"small":"default"}),pager:h$6(Pager$1,{currentPage:An.value,pageCount:Sn.value,pagerCount:Fe.pagerCount,onChange:Tn,disabled:Fe.disabled}),next:h$6(Next,{disabled:Fe.disabled,currentPage:An.value,pageCount:Sn.value,nextText:Fe.nextText,nextIcon:Fe.nextIcon,onClick:On}),sizes:h$6(Sizes,{pageSize:$n.value,pageSizes:Fe.pageSizes,popperClass:Fe.popperClass,disabled:Fe.disabled,teleported:Fe.teleported,size:Fe.small?"small":"default"}),slot:(Mn=(In=hn==null?void 0:hn.default)==null?void 0:In.call(hn))!=null?Mn:null,total:h$6(Total,{total:isAbsent(Fe.total)?0:Fe.total})},zn=Fe.layout.split(",").map(Fn=>Fn.trim());let Hn=!1;return zn.forEach(Fn=>{if(Fn==="->"){Hn=!0;return}Hn?Dn.push(Ln[Fn]):Bn.push(Ln[Fn])}),Rn(Bn[0],bn.is("first")),Rn(Bn[Bn.length-1],bn.is("last")),Hn&&Dn.length>0&&(Rn(Dn[0],bn.is("first")),Rn(Dn[Dn.length-1],bn.is("last")),Bn.push(Vn)),h$6("div",{class:[bn.b(),bn.is("background",Fe.background),{[bn.m("small")]:Fe.small}]},Bn)}}});const ElPagination=withInstall$1(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:Fe=>Fe instanceof MouseEvent,cancel:Fe=>Fe instanceof MouseEvent},__default__$z=defineComponent({name:"ElPopconfirm"}),_sfc_main$V=defineComponent({...__default__$z,props:popconfirmProps,emits:popconfirmEmits,setup(Fe,{emit:qe}){const hn=Fe,{t:vn}=useLocale(),bn=useNamespace("popconfirm"),wn=ref(),kn=()=>{var Sn,An;(An=(Sn=wn.value)==null?void 0:Sn.onClose)==null||An.call(Sn)},_n=computed(()=>({width:addUnit(hn.width)})),Cn=Sn=>{qe("confirm",Sn),kn()},xn=Sn=>{qe("cancel",Sn),kn()},En=computed(()=>hn.confirmButtonText||vn("el.popconfirm.confirmButtonText")),$n=computed(()=>hn.cancelButtonText||vn("el.popconfirm.cancelButtonText"));return(Sn,An)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:wn,trigger:"click",effect:"light"},Sn.$attrs,{"popper-class":`${unref(bn).namespace.value}-popover`,"popper-style":unref(_n),teleported:Sn.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":Sn.hideAfter,persistent:Sn.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(bn).b())},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("main"))},[!Sn.hideIcon&&Sn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(bn).e("icon")),style:normalizeStyle({color:Sn.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(Sn.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(bn).e("action"))},[createVNode(unref(ElButton),{size:"small",type:Sn.cancelButtonType==="text"?"":Sn.cancelButtonType,text:Sn.cancelButtonType==="text",onClick:xn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($n)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:Sn.confirmButtonType==="text"?"":Sn.confirmButtonType,text:Sn.confirmButtonType==="text",onClick:Cn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(En)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[Sn.$slots.reference?renderSlot(Sn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$2(_sfc_main$V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall$1(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":Fe=>isBoolean$5(Fe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$y=defineComponent({name:"ElPopover"}),_sfc_main$U=defineComponent({...__default__$y,props:popoverProps,emits:popoverEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=computed(()=>vn[updateEventKeyRaw]),wn=useNamespace("popover"),kn=ref(),_n=computed(()=>{var Pn;return(Pn=unref(kn))==null?void 0:Pn.popperRef}),Cn=computed(()=>[{width:addUnit(vn.width)},vn.popperStyle]),xn=computed(()=>[wn.b(),vn.popperClass,{[wn.m("plain")]:!!vn.content}]),En=computed(()=>vn.transition===`${wn.namespace.value}-fade-in-linear`),$n=()=>{var Pn;(Pn=kn.value)==null||Pn.hide()},Sn=()=>{hn("before-enter")},An=()=>{hn("before-leave")},Tn=()=>{hn("after-enter")},Nn=()=>{hn("update:visible",!1),hn("after-leave")};return qe({popperRef:_n,hide:$n}),(Pn,On)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:kn},Pn.$attrs,{trigger:Pn.trigger,placement:Pn.placement,disabled:Pn.disabled,visible:Pn.visible,transition:Pn.transition,"popper-options":Pn.popperOptions,tabindex:Pn.tabindex,content:Pn.content,offset:Pn.offset,"show-after":Pn.showAfter,"hide-after":Pn.hideAfter,"auto-close":Pn.autoClose,"show-arrow":Pn.showArrow,"aria-label":Pn.title,effect:Pn.effect,enterable:Pn.enterable,"popper-class":unref(xn),"popper-style":unref(Cn),teleported:Pn.teleported,persistent:Pn.persistent,"gpu-acceleration":unref(En),"onUpdate:visible":unref(bn),onBeforeShow:Sn,onBeforeHide:An,onShow:Tn,onHide:Nn}),{content:withCtx(()=>[Pn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("title")),role:"title"},toDisplayString(Pn.title),3)):createCommentVNode("v-if",!0),renderSlot(Pn.$slots,"default",{},()=>[createTextVNode(toDisplayString(Pn.content),1)])]),default:withCtx(()=>[Pn.$slots.reference?renderSlot(Pn.$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$2(_sfc_main$U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(Fe,qe)=>{const hn=qe.arg||qe.value,vn=hn==null?void 0:hn.popperRef;vn&&(vn.triggerRef=Fe)};var PopoverDirective={mounted(Fe,qe){attachEvents(Fe,qe)},updated(Fe,qe){attachEvents(Fe,qe)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall$1(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:Fe=>Fe>=0&&Fe<=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:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:Fe=>`${Fe}%`}}),_hoisted_1$t=["aria-valuenow"],_hoisted_2$l={viewBox:"0 0 100 100"},_hoisted_3$b=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$9=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$7={key:0},__default__$x=defineComponent({name:"ElProgress"}),_sfc_main$T=defineComponent({...__default__$x,props:progressProps,setup(Fe){const qe=Fe,hn={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},vn=useNamespace("progress"),bn=computed(()=>({width:`${qe.percentage}%`,animationDuration:`${qe.duration}s`,backgroundColor:Rn(qe.percentage)})),wn=computed(()=>(qe.strokeWidth/qe.width*100).toFixed(1)),kn=computed(()=>["circle","dashboard"].includes(qe.type)?Number.parseInt(`${50-Number.parseFloat(wn.value)/2}`,10):0),_n=computed(()=>{const In=kn.value,Mn=qe.type==="dashboard";return` + M 50 50 + m 0 ${Mn?"":"-"}${In} + a ${In} ${In} 0 1 1 0 ${Mn?"-":""}${In*2} + a ${In} ${In} 0 1 1 0 ${Mn?"":"-"}${In*2} + `}),Cn=computed(()=>2*Math.PI*kn.value),xn=computed(()=>qe.type==="dashboard"?.75:1),En=computed(()=>`${-1*Cn.value*(1-xn.value)/2}px`),$n=computed(()=>({strokeDasharray:`${Cn.value*xn.value}px, ${Cn.value}px`,strokeDashoffset:En.value})),Sn=computed(()=>({strokeDasharray:`${Cn.value*xn.value*(qe.percentage/100)}px, ${Cn.value}px`,strokeDashoffset:En.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),An=computed(()=>{let In;return qe.color?In=Rn(qe.percentage):In=hn[qe.status]||hn.default,In}),Tn=computed(()=>qe.status==="warning"?warning_filled_default:qe.type==="line"?qe.status==="success"?circle_check_default:circle_close_default:qe.status==="success"?check_default:close_default),Nn=computed(()=>qe.type==="line"?12+qe.strokeWidth*.4:qe.width*.111111+2),Pn=computed(()=>qe.format(qe.percentage));function On(In){const Mn=100/In.length;return In.map((Dn,Vn)=>isString$d(Dn)?{color:Dn,percentage:(Vn+1)*Mn}:Dn).sort((Dn,Vn)=>Dn.percentage-Vn.percentage)}const Rn=In=>{var Mn;const{color:Bn}=qe;if(isFunction$i(Bn))return Bn(In);if(isString$d(Bn))return Bn;{const Dn=On(Bn);for(const Vn of Dn)if(Vn.percentage>In)return Vn.color;return(Mn=Dn[Dn.length-1])==null?void 0:Mn.color}};return(In,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b(),unref(vn).m(In.type),unref(vn).is(In.status),{[unref(vn).m("without-text")]:!In.showText,[unref(vn).m("text-inside")]:In.textInside}]),role:"progressbar","aria-valuenow":In.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[In.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(vn).be("bar","outer")),style:normalizeStyle({height:`${In.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(vn).be("bar","inner"),{[unref(vn).bem("bar","inner","indeterminate")]:In.indeterminate},{[unref(vn).bem("bar","inner","striped")]:In.striped},{[unref(vn).bem("bar","inner","striped-flow")]:In.stripedFlow}]),style:normalizeStyle(unref(bn))},[(In.showText||In.$slots.default)&&In.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).be("bar","innerText"))},[renderSlot(In.$slots,"default",{percentage:In.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Pn)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(vn).b("circle")),style:normalizeStyle({height:`${In.width}px`,width:`${In.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$l,[createBaseVNode("path",{class:normalizeClass(unref(vn).be("circle","track")),d:unref(_n),stroke:`var(${unref(vn).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":In.strokeLinecap,"stroke-width":unref(wn),fill:"none",style:normalizeStyle(unref($n))},null,14,_hoisted_3$b),createBaseVNode("path",{class:normalizeClass(unref(vn).be("circle","path")),d:unref(_n),stroke:unref(An),fill:"none",opacity:In.percentage?1:0,"stroke-linecap":In.strokeLinecap,"stroke-width":unref(wn),style:normalizeStyle(unref(Sn))},null,14,_hoisted_4$9)]))],6)),(In.showText||In.$slots.default)&&!In.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(vn).e("text")),style:normalizeStyle({fontSize:`${unref(Nn)}px`})},[renderSlot(In.$slots,"default",{percentage:In.percentage},()=>[In.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Tn))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$7,toDisplayString(unref(Pn)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$t))}});var Progress=_export_sfc$2(_sfc_main$T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ElProgress=withInstall$1(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]:Fe=>isNumber$d(Fe),[UPDATE_MODEL_EVENT]:Fe=>isNumber$d(Fe)},_hoisted_1$s=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$k=["onMousemove","onClick"],__default__$w=defineComponent({name:"ElRate"}),_sfc_main$S=defineComponent({...__default__$w,props:rateProps,emits:rateEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe;function bn(Yn,Xn){const qn=Qn=>isObject$9(Qn),jn=Object.keys(Xn).map(Qn=>+Qn).filter(Qn=>{const no=Xn[Qn];return(qn(no)?no.excluded:!1)?YnQn-no),Jn=Xn[jn[0]];return qn(Jn)&&Jn.value||Jn}const wn=inject(formContextKey,void 0),kn=inject(formItemContextKey,void 0),_n=useFormSize(),Cn=useNamespace("rate"),{inputId:xn,isLabeledByFormItem:En}=useFormItemInputId(vn,{formItemContext:kn}),$n=ref(vn.modelValue),Sn=ref(-1),An=ref(!0),Tn=computed(()=>[Cn.b(),Cn.m(_n.value)]),Nn=computed(()=>vn.disabled||(wn==null?void 0:wn.disabled)),Pn=computed(()=>Cn.cssVarBlock({"void-color":vn.voidColor,"disabled-void-color":vn.disabledVoidColor,"fill-color":Mn.value})),On=computed(()=>{let Yn="";return vn.showScore?Yn=vn.scoreTemplate.replace(/\{\s*value\s*\}/,Nn.value?`${vn.modelValue}`:`${$n.value}`):vn.showText&&(Yn=vn.texts[Math.ceil($n.value)-1]),Yn}),Rn=computed(()=>vn.modelValue*100-Math.floor(vn.modelValue)*100),In=computed(()=>isArray$x(vn.colors)?{[vn.lowThreshold]:vn.colors[0],[vn.highThreshold]:{value:vn.colors[1],excluded:!0},[vn.max]:vn.colors[2]}:vn.colors),Mn=computed(()=>{const Yn=bn($n.value,In.value);return isObject$9(Yn)?"":Yn}),Bn=computed(()=>{let Yn="";return Nn.value?Yn=`${Rn.value}%`:vn.allowHalf&&(Yn="50%"),{color:Mn.value,width:Yn}}),Dn=computed(()=>{let Yn=isArray$x(vn.icons)?[...vn.icons]:{...vn.icons};return Yn=markRaw(Yn),isArray$x(Yn)?{[vn.lowThreshold]:Yn[0],[vn.highThreshold]:{value:Yn[1],excluded:!0},[vn.max]:Yn[2]}:Yn}),Vn=computed(()=>bn(vn.modelValue,Dn.value)),Ln=computed(()=>Nn.value?isString$d(vn.disabledVoidIcon)?vn.disabledVoidIcon:markRaw(vn.disabledVoidIcon):isString$d(vn.voidIcon)?vn.voidIcon:markRaw(vn.voidIcon)),zn=computed(()=>bn($n.value,Dn.value));function Hn(Yn){const Xn=Nn.value&&Rn.value>0&&Yn-1vn.modelValue,qn=vn.allowHalf&&An.value&&Yn-.5<=$n.value&&Yn>$n.value;return Xn||qn}function Fn(Yn){vn.clearable&&Yn===vn.modelValue&&(Yn=0),hn(UPDATE_MODEL_EVENT,Yn),vn.modelValue!==Yn&&hn("change",Yn)}function Kn(Yn){Nn.value||(vn.allowHalf&&An.value?Fn($n.value):Fn(Yn))}function Un(Yn){if(Nn.value)return;let Xn=$n.value;const qn=Yn.code;return qn===EVENT_CODE.up||qn===EVENT_CODE.right?(vn.allowHalf?Xn+=.5:Xn+=1,Yn.stopPropagation(),Yn.preventDefault()):(qn===EVENT_CODE.left||qn===EVENT_CODE.down)&&(vn.allowHalf?Xn-=.5:Xn-=1,Yn.stopPropagation(),Yn.preventDefault()),Xn=Xn<0?0:Xn,Xn=Xn>vn.max?vn.max:Xn,hn(UPDATE_MODEL_EVENT,Xn),hn("change",Xn),Xn}function Gn(Yn,Xn){if(!Nn.value){if(vn.allowHalf&&Xn){let qn=Xn.target;hasClass$1(qn,Cn.e("item"))&&(qn=qn.querySelector(`.${Cn.e("icon")}`)),(qn.clientWidth===0||hasClass$1(qn,Cn.e("decimal")))&&(qn=qn.parentNode),An.value=Xn.offsetX*2<=qn.clientWidth,$n.value=An.value?Yn-.5:Yn}else $n.value=Yn;Sn.value=Yn}}function Wn(){Nn.value||(vn.allowHalf&&(An.value=vn.modelValue!==Math.floor(vn.modelValue)),$n.value=vn.modelValue,Sn.value=-1)}return watch(()=>vn.modelValue,Yn=>{$n.value=Yn,An.value=vn.modelValue!==Math.floor(vn.modelValue)}),vn.modelValue||hn(UPDATE_MODEL_EVENT,0),qe({setCurrentValue:Gn,resetCurrentValue:Wn}),(Yn,Xn)=>{var qn;return openBlock(),createElementBlock("div",{id:unref(xn),class:normalizeClass([unref(Tn),unref(Cn).is("disabled",unref(Nn))]),role:"slider","aria-label":unref(En)?void 0:Yn.label||"rating","aria-labelledby":unref(En)?(qn=unref(kn))==null?void 0:qn.labelId:void 0,"aria-valuenow":$n.value,"aria-valuetext":unref(On)||void 0,"aria-valuemin":"0","aria-valuemax":Yn.max,tabindex:"0",style:normalizeStyle(unref(Pn)),onKeydown:Un},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Yn.max,(jn,Jn)=>(openBlock(),createElementBlock("span",{key:Jn,class:normalizeClass(unref(Cn).e("item")),onMousemove:Qn=>Gn(jn,Qn),onMouseleave:Wn,onClick:Qn=>Kn(jn)},[createVNode(unref(ElIcon),{class:normalizeClass([unref(Cn).e("icon"),{hover:Sn.value===jn},unref(Cn).is("active",jn<=$n.value)])},{default:withCtx(()=>[Hn(jn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(zn)),null,null,512)),[[vShow,jn<=$n.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Ln)),null,null,512)),[[vShow,!(jn<=$n.value)]])],64)),Hn(jn)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(Ln)),{class:normalizeClass([unref(Cn).em("decimal","box")])},null,8,["class"])),createVNode(unref(ElIcon),{style:normalizeStyle(unref(Bn)),class:normalizeClass([unref(Cn).e("icon"),unref(Cn).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Vn))))]),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$k))),128)),Yn.showText||Yn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Cn).e("text")),style:normalizeStyle({color:Yn.textColor})},toDisplayString(unref(On)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$s)}}});var Rate=_export_sfc$2(_sfc_main$S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const ElRate=withInstall$1(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__$v=defineComponent({name:"ElResult"}),_sfc_main$R=defineComponent({...__default__$v,props:resultProps,setup(Fe){const qe=Fe,hn=useNamespace("result"),vn=computed(()=>{const bn=qe.icon,wn=bn&&IconMap[bn]?IconMap[bn]:"icon-info",kn=IconComponentMap[wn]||IconComponentMap["icon-info"];return{class:wn,component:kn}});return(bn,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(hn).b())},[createBaseVNode("div",{class:normalizeClass(unref(hn).e("icon"))},[renderSlot(bn.$slots,"icon",{},()=>[unref(vn).component?(openBlock(),createBlock(resolveDynamicComponent(unref(vn).component),{key:0,class:normalizeClass(unref(vn).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),bn.title||bn.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(hn).e("title"))},[renderSlot(bn.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(bn.title),1)])],2)):createCommentVNode("v-if",!0),bn.subTitle||bn.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(hn).e("subtitle"))},[renderSlot(bn.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(bn.subTitle),1)])],2)):createCommentVNode("v-if",!0),bn.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(hn).e("extra"))},[renderSlot(bn.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$2(_sfc_main$R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall$1(Result);var safeIsNaN=Number.isNaN||function(qe){return typeof qe=="number"&&qe!==qe};function isEqual$3(Fe,qe){return!!(Fe===qe||safeIsNaN(Fe)&&safeIsNaN(qe))}function areInputsEqual(Fe,qe){if(Fe.length!==qe.length)return!1;for(var hn=0;hn{const qe=getCurrentInstance().proxy.$props;return computed(()=>{const hn=(vn,bn,wn)=>({});return qe.perfMode?memoize(hn):memoizeOne(hn)})},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:Fe,atStartEdge:qe,layout:hn},vn)=>{let bn,wn=0;const kn=Cn=>Cn<0&&qe.value||Cn>0&&Fe.value;return{hasReachedEdge:kn,onWheel:Cn=>{cAF(bn);const xn=Cn[LayoutKeys[hn.value]];kn(wn)&&kn(wn+xn)||(wn+=xn,isFirefox()||Cn.preventDefault(),bn=rAF(()=>{vn(wn),wn=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,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,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,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:Fe,rowIndex:qe})=>`${qe}:${Fe}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(Fe,qe)=>FeFe===LTR||Fe===RTL||Fe===HORIZONTAL,isRTL=Fe=>Fe===RTL;let cachedRTLResult=null;function getRTLOffsetType(Fe=!1){if(cachedRTLResult===null||Fe){const qe=document.createElement("div"),hn=qe.style;hn.width="50px",hn.height="50px",hn.overflow="scroll",hn.direction="rtl";const vn=document.createElement("div"),bn=vn.style;return bn.width="100px",bn.height="100px",qe.appendChild(vn),document.body.appendChild(qe),qe.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(qe.scrollLeft=1,qe.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(qe),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:Fe,size:qe,bar:hn},vn){const bn={},wn=`translate${hn.axis}(${Fe}px)`;return bn[hn.size]=qe,bn.transform=wn,bn.msTransform=wn,bn.webkitTransform=wn,vn==="horizontal"?bn.height="100%":bn.width="100%",bn}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(Fe,{emit:qe}){const hn=computed(()=>Fe.startGap+Fe.endGap),vn=useNamespace("virtual-scrollbar"),bn=useNamespace("scrollbar"),wn=ref(),kn=ref();let _n=null,Cn=null;const xn=reactive({isDragging:!1,traveled:0}),En=computed(()=>BAR_MAP[Fe.layout]),$n=computed(()=>Fe.clientSize-unref(hn)),Sn=computed(()=>({position:"absolute",width:`${HORIZONTAL===Fe.layout?$n.value:Fe.scrollbarSize}px`,height:`${HORIZONTAL===Fe.layout?Fe.scrollbarSize:$n.value}px`,[ScrollbarDirKey[Fe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),An=computed(()=>{const Dn=Fe.ratio,Vn=Fe.clientSize;if(Dn>=100)return Number.POSITIVE_INFINITY;if(Dn>=50)return Dn*Vn/100;const Ln=Vn/3;return Math.floor(Math.min(Math.max(Dn*Vn,SCROLLBAR_MIN_SIZE),Ln))}),Tn=computed(()=>{if(!Number.isFinite(An.value))return{display:"none"};const Dn=`${An.value}px`;return renderThumbStyle({bar:En.value,size:Dn,move:xn.traveled},Fe.layout)}),Nn=computed(()=>Math.floor(Fe.clientSize-An.value-unref(hn))),Pn=()=>{window.addEventListener("mousemove",Mn),window.addEventListener("mouseup",In);const Dn=unref(kn);Dn&&(Cn=document.onselectstart,document.onselectstart=()=>!1,Dn.addEventListener("touchmove",Mn),Dn.addEventListener("touchend",In))},On=()=>{window.removeEventListener("mousemove",Mn),window.removeEventListener("mouseup",In),document.onselectstart=Cn,Cn=null;const Dn=unref(kn);Dn&&(Dn.removeEventListener("touchmove",Mn),Dn.removeEventListener("touchend",In))},Rn=Dn=>{Dn.stopImmediatePropagation(),!(Dn.ctrlKey||[1,2].includes(Dn.button))&&(xn.isDragging=!0,xn[En.value.axis]=Dn.currentTarget[En.value.offset]-(Dn[En.value.client]-Dn.currentTarget.getBoundingClientRect()[En.value.direction]),qe("start-move"),Pn())},In=()=>{xn.isDragging=!1,xn[En.value.axis]=0,qe("stop-move"),On()},Mn=Dn=>{const{isDragging:Vn}=xn;if(!Vn||!kn.value||!wn.value)return;const Ln=xn[En.value.axis];if(!Ln)return;cAF(_n);const zn=(wn.value.getBoundingClientRect()[En.value.direction]-Dn[En.value.client])*-1,Hn=kn.value[En.value.offset]-Ln,Fn=zn-Hn;_n=rAF(()=>{xn.traveled=Math.max(Fe.startGap,Math.min(Fn,Nn.value)),qe("scroll",Fn,Nn.value)})},Bn=Dn=>{const Vn=Math.abs(Dn.target.getBoundingClientRect()[En.value.direction]-Dn[En.value.client]),Ln=kn.value[En.value.offset]/2,zn=Vn-Ln;xn.traveled=Math.max(0,Math.min(zn,Nn.value)),qe("scroll",zn,Nn.value)};return watch(()=>Fe.scrollFrom,Dn=>{xn.isDragging||(xn.traveled=Math.ceil(Dn*Nn.value))}),onBeforeUnmount(()=>{On()}),()=>h$6("div",{role:"presentation",ref:wn,class:[vn.b(),Fe.class,(Fe.alwaysOn||xn.isDragging)&&"always-on"],style:Sn.value,onMousedown:withModifiers(Bn,["stop","prevent"]),onTouchstartPrevent:Rn},h$6("div",{ref:kn,class:bn.e("thumb"),style:Tn.value,onMousedown:Rn},[]))}}),createList=({name:Fe,getOffset:qe,getItemSize:hn,getItemOffset:vn,getEstimatedTotalSize:bn,getStartIndexForOffset:wn,getStopIndexForStartIndex:kn,initCache:_n,clearCache:Cn,validateProps:xn})=>defineComponent({name:Fe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(En,{emit:$n,expose:Sn}){xn(En);const An=getCurrentInstance(),Tn=useNamespace("vl"),Nn=ref(_n(En,An)),Pn=useCache(),On=ref(),Rn=ref(),In=ref(),Mn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$d(En.initScrollOffset)?En.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:En.scrollbarAlwaysOn}),Bn=computed(()=>{const{total:so,cache:co}=En,{isScrolling:mo,scrollDir:fo,scrollOffset:io}=unref(Mn);if(so===0)return[0,0,0,0];const ao=wn(En,io,unref(Nn)),go=kn(En,ao,io,unref(Nn)),yo=!mo||fo===BACKWARD?Math.max(1,co):1,Bo=!mo||fo===FORWARD?Math.max(1,co):1;return[Math.max(0,ao-yo),Math.max(0,Math.min(so-1,go+Bo)),ao,go]}),Dn=computed(()=>bn(En,unref(Nn))),Vn=computed(()=>isHorizontal(En.layout)),Ln=computed(()=>[{position:"relative",[`overflow-${Vn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:En.direction,height:isNumber$d(En.height)?`${En.height}px`:En.height,width:isNumber$d(En.width)?`${En.width}px`:En.width},En.style]),zn=computed(()=>{const so=unref(Dn),co=unref(Vn);return{height:co?"100%":`${so}px`,pointerEvents:unref(Mn).isScrolling?"none":void 0,width:co?`${so}px`:"100%"}}),Hn=computed(()=>Vn.value?En.width:En.height),{onWheel:Fn}=useWheel({atStartEdge:computed(()=>Mn.value.scrollOffset<=0),atEndEdge:computed(()=>Mn.value.scrollOffset>=Dn.value),layout:computed(()=>En.layout)},so=>{var co,mo;(mo=(co=In.value).onMouseUp)==null||mo.call(co),Xn(Math.min(Mn.value.scrollOffset+so,Dn.value-Hn.value))}),Kn=()=>{const{total:so}=En;if(so>0){const[io,ao,go,yo]=unref(Bn);$n(ITEM_RENDER_EVT,io,ao,go,yo)}const{scrollDir:co,scrollOffset:mo,updateRequested:fo}=unref(Mn);$n(SCROLL_EVT,co,mo,fo)},Un=so=>{const{clientHeight:co,scrollHeight:mo,scrollTop:fo}=so.currentTarget,io=unref(Mn);if(io.scrollOffset===fo)return;const ao=Math.max(0,Math.min(fo,mo-co));Mn.value={...io,isScrolling:!0,scrollDir:getScrollDir(io.scrollOffset,ao),scrollOffset:ao,updateRequested:!1},nextTick(Jn)},Gn=so=>{const{clientWidth:co,scrollLeft:mo,scrollWidth:fo}=so.currentTarget,io=unref(Mn);if(io.scrollOffset===mo)return;const{direction:ao}=En;let go=mo;if(ao===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{go=-mo;break}case RTL_OFFSET_POS_DESC:{go=fo-co-mo;break}}go=Math.max(0,Math.min(go,fo-co)),Mn.value={...io,isScrolling:!0,scrollDir:getScrollDir(io.scrollOffset,go),scrollOffset:go,updateRequested:!1},nextTick(Jn)},Wn=so=>{unref(Vn)?Gn(so):Un(so),Kn()},Yn=(so,co)=>{const mo=(Dn.value-Hn.value)/co*so;Xn(Math.min(Dn.value-Hn.value,mo))},Xn=so=>{so=Math.max(so,0),so!==unref(Mn).scrollOffset&&(Mn.value={...unref(Mn),scrollOffset:so,scrollDir:getScrollDir(unref(Mn).scrollOffset,so),updateRequested:!0},nextTick(Jn))},qn=(so,co=AUTO_ALIGNMENT)=>{const{scrollOffset:mo}=unref(Mn);so=Math.max(0,Math.min(so,En.total-1)),Xn(qe(En,so,co,mo,unref(Nn)))},jn=so=>{const{direction:co,itemSize:mo,layout:fo}=En,io=Pn.value(Cn&&mo,Cn&&fo,Cn&&co);let ao;if(hasOwn(io,String(so)))ao=io[so];else{const go=vn(En,so,unref(Nn)),yo=hn(En,so,unref(Nn)),Bo=unref(Vn),ro=co===RTL,eo=Bo?go:0;io[so]=ao={position:"absolute",left:ro?void 0:`${eo}px`,right:ro?`${eo}px`:void 0,top:Bo?0:`${go}px`,height:Bo?"100%":`${yo}px`,width:Bo?`${yo}px`:"100%"}}return ao},Jn=()=>{Mn.value.isScrolling=!1,nextTick(()=>{Pn.value(-1,null,null)})},Qn=()=>{const so=On.value;so&&(so.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:so}=En,co=unref(On);isNumber$d(so)&&co&&(unref(Vn)?co.scrollLeft=so:co.scrollTop=so),Kn()}),onUpdated(()=>{const{direction:so,layout:co}=En,{scrollOffset:mo,updateRequested:fo}=unref(Mn),io=unref(On);if(fo&&io)if(co===HORIZONTAL)if(so===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{io.scrollLeft=-mo;break}case RTL_OFFSET_POS_ASC:{io.scrollLeft=mo;break}default:{const{clientWidth:ao,scrollWidth:go}=io;io.scrollLeft=go-ao-mo;break}}else io.scrollLeft=mo;else io.scrollTop=mo});const no={ns:Tn,clientSize:Hn,estimatedTotalSize:Dn,windowStyle:Ln,windowRef:On,innerRef:Rn,innerStyle:zn,itemsToRender:Bn,scrollbarRef:In,states:Mn,getItemStyle:jn,onScroll:Wn,onScrollbarScroll:Yn,onWheel:Fn,scrollTo:Xn,scrollToItem:qn,resetScrollTop:Qn};return Sn({windowRef:On,innerRef:Rn,getItemStyleCache:Pn,scrollTo:Xn,scrollToItem:qn,resetScrollTop:Qn,states:Mn}),no},render(En){var $n;const{$slots:Sn,className:An,clientSize:Tn,containerElement:Nn,data:Pn,getItemStyle:On,innerElement:Rn,itemsToRender:In,innerStyle:Mn,layout:Bn,total:Dn,onScroll:Vn,onScrollbarScroll:Ln,onWheel:zn,states:Hn,useIsScrolling:Fn,windowStyle:Kn,ns:Un}=En,[Gn,Wn]=In,Yn=resolveDynamicComponent(Nn),Xn=resolveDynamicComponent(Rn),qn=[];if(Dn>0)for(let no=Gn;no<=Wn;no++)qn.push(($n=Sn.default)==null?void 0:$n.call(Sn,{data:Pn,key:no,index:no,isScrolling:Fn?Hn.isScrolling:void 0,style:On(no)}));const jn=[h$6(Xn,{style:Mn,ref:"innerRef"},isString$d(Xn)?qn:{default:()=>qn})],Jn=h$6(ScrollBar,{ref:"scrollbarRef",clientSize:Tn,layout:Bn,onScroll:Ln,ratio:Tn*100/this.estimatedTotalSize,scrollFrom:Hn.scrollOffset/(this.estimatedTotalSize-Tn),total:Dn}),Qn=h$6(Yn,{class:[Un.e("window"),An],style:Kn,onScroll:Vn,onWheel:zn,ref:"windowRef",key:0},isString$d(Yn)?[jn]:{default:()=>[jn]});return h$6("div",{key:0,class:[Un.e("wrapper"),Hn.scrollbarAlwaysOn?"always-on":""]},[Qn,Jn])}}),FixedSizeList=createList({name:"ElFixedSizeList",getItemOffset:({itemSize:Fe},qe)=>qe*Fe,getItemSize:({itemSize:Fe})=>Fe,getEstimatedTotalSize:({total:Fe,itemSize:qe})=>qe*Fe,getOffset:({height:Fe,total:qe,itemSize:hn,layout:vn,width:bn},wn,kn,_n)=>{const Cn=isHorizontal(vn)?bn:Fe,xn=Math.max(0,qe*hn-Cn),En=Math.min(xn,wn*hn),$n=Math.max(0,(wn+1)*hn-Cn);switch(kn===SMART_ALIGNMENT&&(_n>=$n-Cn&&_n<=En+Cn?kn=AUTO_ALIGNMENT:kn=CENTERED_ALIGNMENT),kn){case START_ALIGNMENT:return En;case END_ALIGNMENT:return $n;case CENTERED_ALIGNMENT:{const Sn=Math.round($n+(En-$n)/2);return Snxn+Math.floor(Cn/2)?xn:Sn}case AUTO_ALIGNMENT:default:return _n>=$n&&_n<=En?_n:_n<$n?$n:En}},getStartIndexForOffset:({total:Fe,itemSize:qe},hn)=>Math.max(0,Math.min(Fe-1,Math.floor(hn/qe))),getStopIndexForStartIndex:({height:Fe,total:qe,itemSize:hn,layout:vn,width:bn},wn,kn)=>{const _n=wn*hn,Cn=isHorizontal(vn)?bn:Fe,xn=Math.ceil((Cn+kn-_n)/hn);return Math.max(0,Math.min(qe-1,wn+xn-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(Fe,qe,hn)=>{const{itemSize:vn}=Fe,{items:bn,lastVisitedIndex:wn}=hn;if(qe>wn){let kn=0;if(wn>=0){const _n=bn[wn];kn=_n.offset+_n.size}for(let _n=wn+1;_n<=qe;_n++){const Cn=vn(_n);bn[_n]={offset:kn,size:Cn},kn+=Cn}hn.lastVisitedIndex=qe}return bn[qe]},findItem$1=(Fe,qe,hn)=>{const{items:vn,lastVisitedIndex:bn}=qe;return(bn>0?vn[bn].offset:0)>=hn?bs$1(Fe,qe,0,bn,hn):es$1(Fe,qe,Math.max(0,bn),hn)},bs$1=(Fe,qe,hn,vn,bn)=>{for(;hn<=vn;){const wn=hn+Math.floor((vn-hn)/2),kn=getItemFromCache$1(Fe,wn,qe).offset;if(kn===bn)return wn;knbn&&(vn=wn-1)}return Math.max(0,hn-1)},es$1=(Fe,qe,hn,vn)=>{const{total:bn}=Fe;let wn=1;for(;hn{let bn=0;if(vn>=Fe&&(vn=Fe-1),vn>=0){const _n=qe[vn];bn=_n.offset+_n.size}const kn=(Fe-vn-1)*hn;return bn+kn},DynamicSizeList=createList({name:"ElDynamicSizeList",getItemOffset:(Fe,qe,hn)=>getItemFromCache$1(Fe,qe,hn).offset,getItemSize:(Fe,qe,{items:hn})=>hn[qe].size,getEstimatedTotalSize,getOffset:(Fe,qe,hn,vn,bn)=>{const{height:wn,layout:kn,width:_n}=Fe,Cn=isHorizontal(kn)?_n:wn,xn=getItemFromCache$1(Fe,qe,bn),En=getEstimatedTotalSize(Fe,bn),$n=Math.max(0,Math.min(En-Cn,xn.offset)),Sn=Math.max(0,xn.offset-Cn+xn.size);switch(hn===SMART_ALIGNMENT&&(vn>=Sn-Cn&&vn<=$n+Cn?hn=AUTO_ALIGNMENT:hn=CENTERED_ALIGNMENT),hn){case START_ALIGNMENT:return $n;case END_ALIGNMENT:return Sn;case CENTERED_ALIGNMENT:return Math.round(Sn+($n-Sn)/2);case AUTO_ALIGNMENT:default:return vn>=Sn&&vn<=$n?vn:vnfindItem$1(Fe,hn,qe),getStopIndexForStartIndex:(Fe,qe,hn,vn)=>{const{height:bn,total:wn,layout:kn,width:_n}=Fe,Cn=isHorizontal(kn)?_n:bn,xn=getItemFromCache$1(Fe,qe,vn),En=hn+Cn;let $n=xn.offset+xn.size,Sn=qe;for(;Sn{var wn,kn;hn.lastVisitedIndex=Math.min(hn.lastVisitedIndex,vn-1),(wn=qe.exposed)==null||wn.getItemStyleCache(-1),bn&&((kn=qe.proxy)==null||kn.$forceUpdate())},hn},clearCache:!1,validateProps:({itemSize:Fe})=>{}}),useGridWheel=({atXEndEdge:Fe,atXStartEdge:qe,atYEndEdge:hn,atYStartEdge:vn},bn)=>{let wn=null,kn=0,_n=0;const Cn=(En,$n)=>{const Sn=En<=0&&qe.value||En>=0&&Fe.value,An=$n<=0&&vn.value||$n>=0&&hn.value;return Sn&&An};return{hasReachedEdge:Cn,onWheel:En=>{cAF(wn);let $n=En.deltaX,Sn=En.deltaY;Math.abs($n)>Math.abs(Sn)?Sn=0:$n=0,En.shiftKey&&Sn!==0&&($n=Sn,Sn=0),!(Cn(kn,_n)&&Cn(kn+$n,_n+Sn))&&(kn+=$n,_n+=Sn,En.preventDefault(),wn=rAF(()=>{bn(kn,_n),kn=0,_n=0}))}}},createGrid=({name:Fe,clearCache:qe,getColumnPosition:hn,getColumnStartIndexForOffset:vn,getColumnStopIndexForStartIndex:bn,getEstimatedTotalHeight:wn,getEstimatedTotalWidth:kn,getColumnOffset:_n,getRowOffset:Cn,getRowPosition:xn,getRowStartIndexForOffset:En,getRowStopIndexForStartIndex:$n,initCache:Sn,injectToInstance:An,validateProps:Tn})=>defineComponent({name:Fe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Nn,{emit:Pn,expose:On,slots:Rn}){const In=useNamespace("vl");Tn(Nn);const Mn=getCurrentInstance(),Bn=ref(Sn(Nn,Mn));An==null||An(Mn,Bn);const Dn=ref(),Vn=ref(),Ln=ref(),zn=ref(null),Hn=ref({isScrolling:!1,scrollLeft:isNumber$d(Nn.initScrollLeft)?Nn.initScrollLeft:0,scrollTop:isNumber$d(Nn.initScrollTop)?Nn.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),Fn=useCache(),Kn=computed(()=>Number.parseInt(`${Nn.height}`,10)),Un=computed(()=>Number.parseInt(`${Nn.width}`,10)),Gn=computed(()=>{const{totalColumn:Po,totalRow:ko,columnCache:xo}=Nn,{isScrolling:Ao,xAxisScrollDir:vo,scrollLeft:qo}=unref(Hn);if(Po===0||ko===0)return[0,0,0,0];const jo=vn(Nn,qo,unref(Bn)),Ko=bn(Nn,jo,qo,unref(Bn)),bo=!Ao||vo===BACKWARD?Math.max(1,xo):1,wo=!Ao||vo===FORWARD?Math.max(1,xo):1;return[Math.max(0,jo-bo),Math.max(0,Math.min(Po-1,Ko+wo)),jo,Ko]}),Wn=computed(()=>{const{totalColumn:Po,totalRow:ko,rowCache:xo}=Nn,{isScrolling:Ao,yAxisScrollDir:vo,scrollTop:qo}=unref(Hn);if(Po===0||ko===0)return[0,0,0,0];const jo=En(Nn,qo,unref(Bn)),Ko=$n(Nn,jo,qo,unref(Bn)),bo=!Ao||vo===BACKWARD?Math.max(1,xo):1,wo=!Ao||vo===FORWARD?Math.max(1,xo):1;return[Math.max(0,jo-bo),Math.max(0,Math.min(ko-1,Ko+wo)),jo,Ko]}),Yn=computed(()=>wn(Nn,unref(Bn))),Xn=computed(()=>kn(Nn,unref(Bn))),qn=computed(()=>{var Po;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Nn.direction,height:isNumber$d(Nn.height)?`${Nn.height}px`:Nn.height,width:isNumber$d(Nn.width)?`${Nn.width}px`:Nn.width},(Po=Nn.style)!=null?Po:{}]}),jn=computed(()=>{const Po=`${unref(Xn)}px`;return{height:`${unref(Yn)}px`,pointerEvents:unref(Hn).isScrolling?"none":void 0,width:Po}}),Jn=()=>{const{totalColumn:Po,totalRow:ko}=Nn;if(Po>0&&ko>0){const[Ko,bo,wo,zo]=unref(Gn),[Yo,_o,Fo,$o]=unref(Wn);Pn(ITEM_RENDER_EVT,{columnCacheStart:Ko,columnCacheEnd:bo,rowCacheStart:Yo,rowCacheEnd:_o,columnVisibleStart:wo,columnVisibleEnd:zo,rowVisibleStart:Fo,rowVisibleEnd:$o})}const{scrollLeft:xo,scrollTop:Ao,updateRequested:vo,xAxisScrollDir:qo,yAxisScrollDir:jo}=unref(Hn);Pn(SCROLL_EVT,{xAxisScrollDir:qo,scrollLeft:xo,yAxisScrollDir:jo,scrollTop:Ao,updateRequested:vo})},Qn=Po=>{const{clientHeight:ko,clientWidth:xo,scrollHeight:Ao,scrollLeft:vo,scrollTop:qo,scrollWidth:jo}=Po.currentTarget,Ko=unref(Hn);if(Ko.scrollTop===qo&&Ko.scrollLeft===vo)return;let bo=vo;if(isRTL(Nn.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:bo=-vo;break;case RTL_OFFSET_POS_DESC:bo=jo-xo-vo;break}Hn.value={...Ko,isScrolling:!0,scrollLeft:bo,scrollTop:Math.max(0,Math.min(qo,Ao-ko)),updateRequested:!0,xAxisScrollDir:getScrollDir(Ko.scrollLeft,bo),yAxisScrollDir:getScrollDir(Ko.scrollTop,qo)},nextTick(()=>ao()),go(),Jn()},no=(Po,ko)=>{const xo=unref(Kn),Ao=(Yn.value-xo)/ko*Po;mo({scrollTop:Math.min(Yn.value-xo,Ao)})},so=(Po,ko)=>{const xo=unref(Un),Ao=(Xn.value-xo)/ko*Po;mo({scrollLeft:Math.min(Xn.value-xo,Ao)})},{onWheel:co}=useGridWheel({atXStartEdge:computed(()=>Hn.value.scrollLeft<=0),atXEndEdge:computed(()=>Hn.value.scrollLeft>=Xn.value-unref(Un)),atYStartEdge:computed(()=>Hn.value.scrollTop<=0),atYEndEdge:computed(()=>Hn.value.scrollTop>=Yn.value-unref(Kn))},(Po,ko)=>{var xo,Ao,vo,qo;(Ao=(xo=Vn.value)==null?void 0:xo.onMouseUp)==null||Ao.call(xo),(qo=(vo=Ln.value)==null?void 0:vo.onMouseUp)==null||qo.call(vo);const jo=unref(Un),Ko=unref(Kn);mo({scrollLeft:Math.min(Hn.value.scrollLeft+Po,Xn.value-jo),scrollTop:Math.min(Hn.value.scrollTop+ko,Yn.value-Ko)})}),mo=({scrollLeft:Po=Hn.value.scrollLeft,scrollTop:ko=Hn.value.scrollTop})=>{Po=Math.max(Po,0),ko=Math.max(ko,0);const xo=unref(Hn);ko===xo.scrollTop&&Po===xo.scrollLeft||(Hn.value={...xo,xAxisScrollDir:getScrollDir(xo.scrollLeft,Po),yAxisScrollDir:getScrollDir(xo.scrollTop,ko),scrollLeft:Po,scrollTop:ko,updateRequested:!0},nextTick(()=>ao()),go(),Jn())},fo=(Po=0,ko=0,xo=AUTO_ALIGNMENT)=>{const Ao=unref(Hn);ko=Math.max(0,Math.min(ko,Nn.totalColumn-1)),Po=Math.max(0,Math.min(Po,Nn.totalRow-1));const vo=getScrollBarWidth(In.namespace.value),qo=unref(Bn),jo=wn(Nn,qo),Ko=kn(Nn,qo);mo({scrollLeft:_n(Nn,ko,xo,Ao.scrollLeft,qo,Ko>Nn.width?vo:0),scrollTop:Cn(Nn,Po,xo,Ao.scrollTop,qo,jo>Nn.height?vo:0)})},io=(Po,ko)=>{const{columnWidth:xo,direction:Ao,rowHeight:vo}=Nn,qo=Fn.value(qe&&xo,qe&&vo,qe&&Ao),jo=`${Po},${ko}`;if(hasOwn(qo,jo))return qo[jo];{const[,Ko]=hn(Nn,ko,unref(Bn)),bo=unref(Bn),wo=isRTL(Ao),[zo,Yo]=xn(Nn,Po,bo),[_o]=hn(Nn,ko,bo);return qo[jo]={position:"absolute",left:wo?void 0:`${Ko}px`,right:wo?`${Ko}px`:void 0,top:`${Yo}px`,height:`${zo}px`,width:`${_o}px`},qo[jo]}},ao=()=>{Hn.value.isScrolling=!1,nextTick(()=>{Fn.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:Po,initScrollTop:ko}=Nn,xo=unref(Dn);xo&&(isNumber$d(Po)&&(xo.scrollLeft=Po),isNumber$d(ko)&&(xo.scrollTop=ko)),Jn()});const go=()=>{const{direction:Po}=Nn,{scrollLeft:ko,scrollTop:xo,updateRequested:Ao}=unref(Hn),vo=unref(Dn);if(Ao&&vo){if(Po===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{vo.scrollLeft=-ko;break}case RTL_OFFSET_POS_ASC:{vo.scrollLeft=ko;break}default:{const{clientWidth:qo,scrollWidth:jo}=vo;vo.scrollLeft=jo-qo-ko;break}}else vo.scrollLeft=Math.max(0,ko);vo.scrollTop=Math.max(0,xo)}},{resetAfterColumnIndex:yo,resetAfterRowIndex:Bo,resetAfter:ro}=Mn.proxy;On({windowRef:Dn,innerRef:zn,getItemStyleCache:Fn,scrollTo:mo,scrollToItem:fo,states:Hn,resetAfterColumnIndex:yo,resetAfterRowIndex:Bo,resetAfter:ro});const eo=()=>{const{scrollbarAlwaysOn:Po,scrollbarStartGap:ko,scrollbarEndGap:xo,totalColumn:Ao,totalRow:vo}=Nn,qo=unref(Un),jo=unref(Kn),Ko=unref(Xn),bo=unref(Yn),{scrollLeft:wo,scrollTop:zo}=unref(Hn),Yo=h$6(ScrollBar,{ref:Vn,alwaysOn:Po,startGap:ko,endGap:xo,class:In.e("horizontal"),clientSize:qo,layout:"horizontal",onScroll:so,ratio:qo*100/Ko,scrollFrom:wo/(Ko-qo),total:vo,visible:!0}),_o=h$6(ScrollBar,{ref:Ln,alwaysOn:Po,startGap:ko,endGap:xo,class:In.e("vertical"),clientSize:jo,layout:"vertical",onScroll:no,ratio:jo*100/bo,scrollFrom:zo/(bo-jo),total:Ao,visible:!0});return{horizontalScrollbar:Yo,verticalScrollbar:_o}},lo=()=>{var Po;const[ko,xo]=unref(Gn),[Ao,vo]=unref(Wn),{data:qo,totalColumn:jo,totalRow:Ko,useIsScrolling:bo,itemKey:wo}=Nn,zo=[];if(Ko>0&&jo>0)for(let Yo=Ao;Yo<=vo;Yo++)for(let _o=ko;_o<=xo;_o++)zo.push((Po=Rn.default)==null?void 0:Po.call(Rn,{columnIndex:_o,data:qo,key:wo({columnIndex:_o,data:qo,rowIndex:Yo}),isScrolling:bo?unref(Hn).isScrolling:void 0,style:io(Yo,_o),rowIndex:Yo}));return zo},ho=()=>{const Po=resolveDynamicComponent(Nn.innerElement),ko=lo();return[h$6(Po,{style:unref(jn),ref:zn},isString$d(Po)?ko:{default:()=>ko})]};return()=>{const Po=resolveDynamicComponent(Nn.containerElement),{horizontalScrollbar:ko,verticalScrollbar:xo}=eo(),Ao=ho();return h$6("div",{key:0,class:In.e("wrapper"),role:Nn.role},[h$6(Po,{class:Nn.className,style:unref(qn),onScroll:Qn,onWheel:co,ref:Dn},isString$d(Po)?Ao:{default:()=>Ao}),ko,xo])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:Fe},qe)=>[Fe,qe*Fe],getRowPosition:({rowHeight:Fe},qe)=>[Fe,qe*Fe],getEstimatedTotalHeight:({totalRow:Fe,rowHeight:qe})=>qe*Fe,getEstimatedTotalWidth:({totalColumn:Fe,columnWidth:qe})=>qe*Fe,getColumnOffset:({totalColumn:Fe,columnWidth:qe,width:hn},vn,bn,wn,kn,_n)=>{hn=Number(hn);const Cn=Math.max(0,Fe*qe-hn),xn=Math.min(Cn,vn*qe),En=Math.max(0,vn*qe-hn+_n+qe);switch(bn==="smart"&&(wn>=En-hn&&wn<=xn+hn?bn=AUTO_ALIGNMENT:bn=CENTERED_ALIGNMENT),bn){case START_ALIGNMENT:return xn;case END_ALIGNMENT:return En;case CENTERED_ALIGNMENT:{const $n=Math.round(En+(xn-En)/2);return $nCn+Math.floor(hn/2)?Cn:$n}case AUTO_ALIGNMENT:default:return wn>=En&&wn<=xn?wn:En>xn||wn{qe=Number(qe);const Cn=Math.max(0,hn*Fe-qe),xn=Math.min(Cn,vn*Fe),En=Math.max(0,vn*Fe-qe+_n+Fe);switch(bn===SMART_ALIGNMENT&&(wn>=En-qe&&wn<=xn+qe?bn=AUTO_ALIGNMENT:bn=CENTERED_ALIGNMENT),bn){case START_ALIGNMENT:return xn;case END_ALIGNMENT:return En;case CENTERED_ALIGNMENT:{const $n=Math.round(En+(xn-En)/2);return $nCn+Math.floor(qe/2)?Cn:$n}case AUTO_ALIGNMENT:default:return wn>=En&&wn<=xn?wn:En>xn||wnMath.max(0,Math.min(qe-1,Math.floor(hn/Fe))),getColumnStopIndexForStartIndex:({columnWidth:Fe,totalColumn:qe,width:hn},vn,bn)=>{const wn=vn*Fe,kn=Math.ceil((hn+bn-wn)/Fe);return Math.max(0,Math.min(qe-1,vn+kn-1))},getRowStartIndexForOffset:({rowHeight:Fe,totalRow:qe},hn)=>Math.max(0,Math.min(qe-1,Math.floor(hn/Fe))),getRowStopIndexForStartIndex:({rowHeight:Fe,totalRow:qe,height:hn},vn,bn)=>{const wn=vn*Fe,kn=Math.ceil((hn+bn-wn)/Fe);return Math.max(0,Math.min(qe-1,vn+kn-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:Fe,rowHeight:qe})=>{}}),{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=(Fe,qe,hn,vn)=>{const[bn,wn,kn]=[hn[vn],Fe[ACCESS_SIZER_KEY_MAP[vn]],hn[ACCESS_LAST_VISITED_KEY_MAP[vn]]];if(qe>kn){let _n=0;if(kn>=0){const Cn=bn[kn];_n=Cn.offset+Cn.size}for(let Cn=kn+1;Cn<=qe;Cn++){const xn=wn(Cn);bn[Cn]={offset:_n,size:xn},_n+=xn}hn[ACCESS_LAST_VISITED_KEY_MAP[vn]]=qe}return bn[qe]},bs=(Fe,qe,hn,vn,bn,wn)=>{for(;hn<=vn;){const kn=hn+floor$3((vn-hn)/2),_n=getItemFromCache(Fe,kn,qe,wn).offset;if(_n===bn)return kn;_n{const wn=bn==="column"?Fe.totalColumn:Fe.totalRow;let kn=1;for(;hn{const[bn,wn]=[qe[vn],qe[ACCESS_LAST_VISITED_KEY_MAP[vn]]];return(wn>0?bn[wn].offset:0)>=hn?bs(Fe,qe,0,wn,hn,vn):es(Fe,qe,max$3(0,wn),hn,vn)},getEstimatedTotalHeight=({totalRow:Fe},{estimatedRowHeight:qe,lastVisitedRowIndex:hn,row:vn})=>{let bn=0;if(hn>=Fe&&(hn=Fe-1),hn>=0){const _n=vn[hn];bn=_n.offset+_n.size}const kn=(Fe-hn-1)*qe;return bn+kn},getEstimatedTotalWidth=({totalColumn:Fe},{column:qe,estimatedColumnWidth:hn,lastVisitedColumnIndex:vn})=>{let bn=0;if(vn>Fe&&(vn=Fe-1),vn>=0){const _n=qe[vn];bn=_n.offset+_n.size}const kn=(Fe-vn-1)*hn;return bn+kn},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(Fe,qe,hn,vn,bn,wn,kn)=>{const[_n,Cn]=[wn==="row"?Fe.height:Fe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[wn]],xn=getItemFromCache(Fe,qe,bn,wn),En=Cn(Fe,bn),$n=max$3(0,min$2(En-_n,xn.offset)),Sn=max$3(0,xn.offset-_n+kn+xn.size);switch(hn===SMART_ALIGNMENT&&(vn>=Sn-_n&&vn<=$n+_n?hn=AUTO_ALIGNMENT:hn=CENTERED_ALIGNMENT),hn){case START_ALIGNMENT:return $n;case END_ALIGNMENT:return Sn;case CENTERED_ALIGNMENT:return Math.round(Sn+($n-Sn)/2);case AUTO_ALIGNMENT:default:return vn>=Sn&&vn<=$n?vn:Sn>$n||vn{const vn=getItemFromCache(Fe,qe,hn,"column");return[vn.size,vn.offset]},getRowPosition:(Fe,qe,hn)=>{const vn=getItemFromCache(Fe,qe,hn,"row");return[vn.size,vn.offset]},getColumnOffset:(Fe,qe,hn,vn,bn,wn)=>getOffset$1(Fe,qe,hn,vn,bn,"column",wn),getRowOffset:(Fe,qe,hn,vn,bn,wn)=>getOffset$1(Fe,qe,hn,vn,bn,"row",wn),getColumnStartIndexForOffset:(Fe,qe,hn)=>findItem(Fe,hn,qe,"column"),getColumnStopIndexForStartIndex:(Fe,qe,hn,vn)=>{const bn=getItemFromCache(Fe,qe,vn,"column"),wn=hn+Fe.width;let kn=bn.offset+bn.size,_n=qe;for(;_nfindItem(Fe,hn,qe,"row"),getRowStopIndexForStartIndex:(Fe,qe,hn,vn)=>{const{totalRow:bn,height:wn}=Fe,kn=getItemFromCache(Fe,qe,vn,"row"),_n=hn+wn;let Cn=kn.size+kn.offset,xn=qe;for(;xn{const hn=({columnIndex:wn,rowIndex:kn},_n)=>{var Cn,xn;_n=isUndefined$d(_n)?!0:_n,isNumber$d(wn)&&(qe.value.lastVisitedColumnIndex=Math.min(qe.value.lastVisitedColumnIndex,wn-1)),isNumber$d(kn)&&(qe.value.lastVisitedRowIndex=Math.min(qe.value.lastVisitedRowIndex,kn-1)),(Cn=Fe.exposed)==null||Cn.getItemStyleCache.value(-1,null,null),_n&&((xn=Fe.proxy)==null||xn.$forceUpdate())},vn=(wn,kn)=>{hn({columnIndex:wn},kn)},bn=(wn,kn)=>{hn({rowIndex:wn},kn)};Object.assign(Fe.proxy,{resetAfterColumnIndex:vn,resetAfterRowIndex:bn,resetAfter:hn})},initCache:({estimatedColumnWidth:Fe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:qe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:Fe,estimatedRowHeight:qe,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:Fe,rowHeight:qe})=>{}}),_sfc_main$Q=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$8(Fe,qe,hn,vn,bn,wn){return Fe.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Fe.ns.be("group","title")),style:normalizeStyle([Fe.style,{lineHeight:`${Fe.height}px`}])},toDisplayString(Fe.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Fe.ns.be("group","split")),style:normalizeStyle(Fe.style)},[createBaseVNode("span",{class:normalizeClass(Fe.ns.be("group","split-dash")),style:normalizeStyle({top:`${Fe.height/2}px`})},null,6)],6))}var GroupItem=_export_sfc$2(_sfc_main$Q,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption(Fe,{emit:qe}){return{hoverItem:()=>{Fe.disabled||qe("hover",Fe.index)},selectOptionClick:()=>{Fe.disabled||qe("select",Fe.item,Fe.index)}}}const defaultProps$3={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(Fe){const qe=computed(()=>({...defaultProps$3,...Fe.props}));return{aliasProps:qe,getLabel:kn=>get$6(kn,qe.value.label),getValue:kn=>get$6(kn,qe.value.value),getDisabled:kn=>get$6(kn,qe.value.disabled),getOptions:kn=>get$6(kn,qe.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:{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:{type:definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$3},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=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$P=defineComponent({props:OptionProps,emits:["select","hover"],setup(Fe,{emit:qe}){const hn=inject(selectV2InjectionKey),vn=useNamespace("select"),{hoverItem:bn,selectOptionClick:wn}=useOption(Fe,{emit:qe}),{getLabel:kn}=useProps(hn.props);return{ns:vn,hoverItem:bn,selectOptionClick:wn,getLabel:kn}}}),_hoisted_1$r=["aria-selected"];function _sfc_render$7(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("li",{"aria-selected":Fe.selected,style:normalizeStyle(Fe.style),class:normalizeClass([Fe.ns.be("dropdown","option-item"),Fe.ns.is("selected",Fe.selected),Fe.ns.is("disabled",Fe.disabled),Fe.ns.is("created",Fe.created),{hover:Fe.hovering}]),onMouseenter:qe[0]||(qe[0]=(...kn)=>Fe.hoverItem&&Fe.hoverItem(...kn)),onClick:qe[1]||(qe[1]=withModifiers((...kn)=>Fe.selectOptionClick&&Fe.selectOptionClick(...kn),["stop"]))},[renderSlot(Fe.$slots,"default",{item:Fe.item,index:Fe.index,disabled:Fe.disabled},()=>[createBaseVNode("span",null,toDisplayString(Fe.getLabel(Fe.item)),1)])],46,_hoisted_1$r)}var OptionItem=_export_sfc$2(_sfc_main$P,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]),ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(Fe,{slots:qe,expose:hn}){const vn=inject(selectV2InjectionKey),bn=useNamespace("select"),{getLabel:wn,getValue:kn,getDisabled:_n}=useProps(vn.props),Cn=ref([]),xn=ref(),En=computed(()=>Fe.data.length);watch(()=>En.value,()=>{var Fn,Kn;(Kn=(Fn=vn.popper.value).updatePopper)==null||Kn.call(Fn)});const $n=computed(()=>isUndefined$d(vn.props.estimatedOptionHeight)),Sn=computed(()=>$n.value?{itemSize:vn.props.itemHeight}:{estimatedSize:vn.props.estimatedOptionHeight,itemSize:Fn=>Cn.value[Fn]}),An=(Fn=[],Kn)=>{const{props:{valueKey:Un}}=vn;return isObject$9(Kn)?Fn&&Fn.some(Gn=>toRaw(get$6(Gn,Un))===get$6(Kn,Un)):Fn.includes(Kn)},Tn=(Fn,Kn)=>{if(isObject$9(Kn)){const{valueKey:Un}=vn.props;return get$6(Fn,Un)===get$6(Kn,Un)}else return Fn===Kn},Nn=(Fn,Kn)=>vn.props.multiple?An(Fn,kn(Kn)):Tn(Fn,kn(Kn)),Pn=(Fn,Kn)=>{const{disabled:Un,multiple:Gn,multipleLimit:Wn}=vn.props;return Un||!Kn&&(Gn?Wn>0&&Fn.length>=Wn:!1)},On=Fn=>Fe.hoveringIndex===Fn;hn({listRef:xn,isSized:$n,isItemDisabled:Pn,isItemHovering:On,isItemSelected:Nn,scrollToItem:Fn=>{const Kn=xn.value;Kn&&Kn.scrollToItem(Fn)},resetScrollTop:()=>{const Fn=xn.value;Fn&&Fn.resetScrollTop()}});const Mn=Fn=>{const{index:Kn,data:Un,style:Gn}=Fn,Wn=unref($n),{itemSize:Yn,estimatedSize:Xn}=unref(Sn),{modelValue:qn}=vn.props,{onSelect:jn,onHover:Jn}=vn,Qn=Un[Kn];if(Qn.type==="Group")return createVNode(GroupItem,{item:Qn,style:Gn,height:Wn?Yn:Xn},null);const no=Nn(qn,Qn),so=Pn(qn,no),co=On(Kn);return createVNode(OptionItem,mergeProps(Fn,{selected:no,disabled:_n(Qn)||so,created:!!Qn.created,hovering:co,item:Qn,onSelect:jn,onHover:Jn}),{default:mo=>{var fo;return((fo=qe.default)==null?void 0:fo.call(qe,mo))||createVNode("span",null,[wn(Qn)])}})},{onKeyboardNavigate:Bn,onKeyboardSelect:Dn}=vn,Vn=()=>{Bn("forward")},Ln=()=>{Bn("backward")},zn=()=>{vn.expanded=!1},Hn=Fn=>{const{code:Kn}=Fn,{tab:Un,esc:Gn,down:Wn,up:Yn,enter:Xn}=EVENT_CODE;switch(Kn!==Un&&(Fn.preventDefault(),Fn.stopPropagation()),Kn){case Un:case Gn:{zn();break}case Wn:{Vn();break}case Yn:{Ln();break}case Xn:{Dn();break}}};return()=>{var Fn;const{data:Kn,width:Un}=Fe,{height:Gn,multiple:Wn,scrollbarAlwaysOn:Yn}=vn.props;if(Kn.length===0)return createVNode("div",{class:bn.b("dropdown"),style:{width:`${Un}px`}},[(Fn=qe.empty)==null?void 0:Fn.call(qe)]);const Xn=unref($n)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[bn.b("dropdown"),bn.is("multiple",Wn)]},[createVNode(Xn,mergeProps({ref:xn},unref(Sn),{className:bn.be("dropdown","list"),scrollbarAlwaysOn:Yn,data:Kn,height:Gn,width:Un,total:Kn.length,onKeydown:Hn}),{default:qn=>createVNode(Mn,qn,null)})])}}});function useAllowCreate(Fe,qe){const{aliasProps:hn,getLabel:vn,getValue:bn}=useProps(Fe),wn=ref(0),kn=ref(null),_n=computed(()=>Fe.allowCreate&&Fe.filterable);function Cn(An){const Tn=Nn=>bn(Nn)===An;return Fe.options&&Fe.options.some(Tn)||qe.createdOptions.some(Tn)}function xn(An){_n.value&&(Fe.multiple&&An.created?wn.value++:kn.value=An)}function En(An){if(_n.value)if(An&&An.length>0&&!Cn(An)){const Tn={[hn.value.value]:An,[hn.value.label]:An,created:!0,[hn.value.disabled]:!1};qe.createdOptions.length>=wn.value?qe.createdOptions[wn.value]=Tn:qe.createdOptions.push(Tn)}else if(Fe.multiple)qe.createdOptions.length=wn.value;else{const Tn=kn.value;qe.createdOptions.length=0,Tn&&Tn.created&&qe.createdOptions.push(Tn)}}function $n(An){if(!_n.value||!An||!An.created||An.created&&Fe.reserveKeyword&&qe.inputValue===vn(An))return;const Tn=qe.createdOptions.findIndex(Nn=>bn(Nn)===bn(An));~Tn&&(qe.createdOptions.splice(Tn,1),wn.value--)}function Sn(){_n.value&&(qe.createdOptions.length=0,wn.value=0)}return{createNewOption:En,removeNewOption:$n,selectNewOption:xn,clearAllNewOption:Sn}}function useInput(Fe){const qe=ref(!1);return{handleCompositionStart:()=>{qe.value=!0},handleCompositionUpdate:wn=>{const kn=wn.target.value,_n=kn[kn.length-1]||"";qe.value=!isKorean(_n)},handleCompositionEnd:wn=>{qe.value&&(qe.value=!1,isFunction$i(Fe)&&Fe(wn))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=(Fe,qe)=>{const{t:hn}=useLocale(),vn=useNamespace("select-v2"),bn=useNamespace("input"),{form:wn,formItem:kn}=useFormItem(),{getLabel:_n,getValue:Cn,getDisabled:xn,getOptions:En}=useProps(Fe),$n=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}),Sn=ref(-1),An=ref(-1),Tn=ref(null),Nn=ref(null),Pn=ref(null),On=ref(null),Rn=ref(null),In=ref(null),Mn=ref(null),Bn=ref(!1),Dn=computed(()=>Fe.disabled||(wn==null?void 0:wn.disabled)),Vn=computed(()=>{const ir=Yn.value.length*34;return ir>Fe.height?Fe.height:ir}),Ln=computed(()=>!isNil(Fe.modelValue)),zn=computed(()=>{const ir=Fe.multiple?Array.isArray(Fe.modelValue)&&Fe.modelValue.length>0:Ln.value;return Fe.clearable&&!Dn.value&&$n.comboBoxHovering&&ir}),Hn=computed(()=>Fe.remote&&Fe.filterable?"":arrow_up_default),Fn=computed(()=>Hn.value&&vn.is("reverse",Bn.value)),Kn=computed(()=>(kn==null?void 0:kn.validateState)||""),Un=computed(()=>ValidateComponentsMap[Kn.value]),Gn=computed(()=>Fe.remote?300:0),Wn=computed(()=>{const ir=Yn.value;return Fe.loading?Fe.loadingText||hn("el.select.loading"):Fe.remote&&$n.inputValue===""&&ir.length===0?!1:Fe.filterable&&$n.inputValue&&ir.length>0?Fe.noMatchText||hn("el.select.noMatch"):ir.length===0?Fe.noDataText||hn("el.select.noData"):null}),Yn=computed(()=>{const ir=Sr=>{const Lr=$n.inputValue,qr=new RegExp(escapeStringRegexp(Lr),"i");return Lr?qr.test(_n(Sr)||""):!0};return Fe.loading?[]:[...Fe.options,...$n.createdOptions].reduce((Sr,Lr)=>{const qr=En(Lr);if(isArray$x(qr)){const ba=qr.filter(ir);ba.length>0&&Sr.push({label:_n(Lr),isTitle:!0,type:"Group"},...ba,{type:"Group"})}else(Fe.remote||ir(Lr))&&Sr.push(Lr);return Sr},[])}),Xn=computed(()=>{const ir=new Map;return Yn.value.forEach((Sr,Lr)=>{ir.set(wo(Cn(Sr)),{option:Sr,index:Lr})}),ir}),qn=computed(()=>Yn.value.every(ir=>xn(ir))),jn=useFormSize(),Jn=computed(()=>jn.value==="small"?"small":"default"),Qn=computed(()=>{const ir=In.value,Sr=Jn.value||"default",Lr=ir?Number.parseInt(getComputedStyle(ir).paddingLeft):0,qr=ir?Number.parseInt(getComputedStyle(ir).paddingRight):0;return $n.selectWidth-qr-Lr-TAG_BASE_WIDTH[Sr]}),no=()=>{var ir;An.value=((ir=Rn.value)==null?void 0:ir.offsetWidth)||200},so=computed(()=>({width:`${$n.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil($n.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),co=computed(()=>isArray$x(Fe.modelValue)?Fe.modelValue.length===0&&!$n.displayInputValue:Fe.filterable?$n.displayInputValue.length===0:!0),mo=computed(()=>{const ir=Fe.placeholder||hn("el.select.placeholder");return Fe.multiple||isNil(Fe.modelValue)?ir:$n.selectedLabel}),fo=computed(()=>{var ir,Sr;return(Sr=(ir=On.value)==null?void 0:ir.popperRef)==null?void 0:Sr.contentRef}),io=computed(()=>{if(Fe.multiple){const ir=Fe.modelValue.length;if(Fe.modelValue.length>0&&Xn.value.has(Fe.modelValue[ir-1])){const{index:Sr}=Xn.value.get(Fe.modelValue[ir-1]);return Sr}}else if(Fe.modelValue&&Xn.value.has(Fe.modelValue)){const{index:ir}=Xn.value.get(Fe.modelValue);return ir}return-1}),ao=computed({get(){return Bn.value&&Wn.value!==!1},set(ir){Bn.value=ir}}),go=computed(()=>$n.cachedOptions.slice(0,Fe.maxCollapseTags)),yo=computed(()=>$n.cachedOptions.slice(Fe.maxCollapseTags)),{createNewOption:Bo,removeNewOption:ro,selectNewOption:eo,clearAllNewOption:lo}=useAllowCreate(Fe,$n),{handleCompositionStart:ho,handleCompositionUpdate:Io,handleCompositionEnd:Po}=useInput(ir=>Qo(ir)),ko=()=>{var ir,Sr,Lr;(Sr=(ir=Nn.value)==null?void 0:ir.focus)==null||Sr.call(ir),(Lr=On.value)==null||Lr.updatePopper()},xo=()=>{if(!Fe.automaticDropdown&&!Dn.value)return $n.isComposing&&($n.softFocus=!0),nextTick(()=>{var ir,Sr;Bn.value=!Bn.value,(Sr=(ir=Nn.value)==null?void 0:ir.focus)==null||Sr.call(ir)})},Ao=()=>(Fe.filterable&&$n.inputValue!==$n.selectedLabel&&($n.query=$n.selectedLabel),qo($n.inputValue),nextTick(()=>{Bo($n.inputValue)})),vo=debounce$3(Ao,Gn.value),qo=ir=>{$n.previousQuery!==ir&&($n.previousQuery=ir,Fe.filterable&&isFunction$i(Fe.filterMethod)?Fe.filterMethod(ir):Fe.filterable&&Fe.remote&&isFunction$i(Fe.remoteMethod)&&Fe.remoteMethod(ir))},jo=ir=>{isEqual$4(Fe.modelValue,ir)||qe(CHANGE_EVENT,ir)},Ko=ir=>{qe(UPDATE_MODEL_EVENT,ir),jo(ir),$n.previousValue=String(ir)},bo=(ir=[],Sr)=>{if(!isObject$9(Sr))return ir.indexOf(Sr);const Lr=Fe.valueKey;let qr=-1;return ir.some((ba,ta)=>get$6(ba,Lr)===get$6(Sr,Lr)?(qr=ta,!0):!1),qr},wo=ir=>isObject$9(ir)?get$6(ir,Fe.valueKey):ir,zo=()=>nextTick(()=>{var ir,Sr;if(!Nn.value)return;const Lr=In.value;Rn.value.height=Lr.offsetHeight,Bn.value&&Wn.value!==!1&&((Sr=(ir=On.value)==null?void 0:ir.updatePopper)==null||Sr.call(ir))}),Yo=()=>{var ir,Sr;if(_o(),no(),(Sr=(ir=On.value)==null?void 0:ir.updatePopper)==null||Sr.call(ir),Fe.multiple)return zo()},_o=()=>{const ir=In.value;ir&&($n.selectWidth=ir.getBoundingClientRect().width)},Fo=(ir,Sr,Lr=!0)=>{var qr,ba;if(Fe.multiple){let ta=Fe.modelValue.slice();const Ur=bo(ta,Cn(ir));Ur>-1?(ta=[...ta.slice(0,Ur),...ta.slice(Ur+1)],$n.cachedOptions.splice(Ur,1),ro(ir)):(Fe.multipleLimit<=0||ta.length{let Lr=Fe.modelValue.slice();const qr=bo(Lr,Cn(Sr));if(qr>-1&&!Dn.value)return Lr=[...Fe.modelValue.slice(0,qr),...Fe.modelValue.slice(qr+1)],$n.cachedOptions.splice(qr,1),Ko(Lr),qe("remove-tag",Cn(Sr)),$n.softFocus=!0,ro(Sr),nextTick(ko);ir.stopPropagation()},Do=ir=>{const Sr=$n.isComposing;$n.isComposing=!0,$n.softFocus?$n.softFocus=!1:Sr||qe("focus",ir)},No=ir=>($n.softFocus=!1,nextTick(()=>{var Sr,Lr;(Lr=(Sr=Nn.value)==null?void 0:Sr.blur)==null||Lr.call(Sr),Mn.value&&($n.calculatedWidth=Mn.value.getBoundingClientRect().width),$n.isSilentBlur?$n.isSilentBlur=!1:$n.isComposing&&qe("blur",ir),$n.isComposing=!1})),Vo=()=>{$n.displayInputValue.length>0?sr(""):Bn.value=!1},Eo=ir=>{if($n.displayInputValue.length===0){ir.preventDefault();const Sr=Fe.modelValue.slice();Sr.pop(),ro($n.cachedOptions.pop()),Ko(Sr)}},rr=()=>{let ir;return isArray$x(Fe.modelValue)?ir=[]:ir=void 0,$n.softFocus=!0,Fe.multiple?$n.cachedOptions=[]:$n.selectedLabel="",Bn.value=!1,Ko(ir),qe("clear"),lo(),nextTick(ko)},sr=ir=>{$n.displayInputValue=ir,$n.inputValue=ir},ur=(ir,Sr=void 0)=>{const Lr=Yn.value;if(!["forward","backward"].includes(ir)||Dn.value||Lr.length<=0||qn.value)return;if(!Bn.value)return xo();Sr===void 0&&(Sr=$n.hoveringIndex);let qr=-1;ir==="forward"?(qr=Sr+1,qr>=Lr.length&&(qr=0)):ir==="backward"&&(qr=Sr-1,(qr<0||qr>=Lr.length)&&(qr=Lr.length-1));const ba=Lr[qr];if(xn(ba)||ba.type==="Group")return ur(ir,qr);Co(qr),Ir(qr)},hr=()=>{if(Bn.value)~$n.hoveringIndex&&Yn.value[$n.hoveringIndex]&&Fo(Yn.value[$n.hoveringIndex],$n.hoveringIndex,!1);else return xo()},Co=ir=>{$n.hoveringIndex=ir},Er=()=>{$n.hoveringIndex=-1},$r=()=>{var ir;const Sr=Nn.value;Sr&&((ir=Sr.focus)==null||ir.call(Sr))},Qo=ir=>{const Sr=ir.target.value;if(sr(Sr),$n.displayInputValue.length>0&&!Bn.value&&(Bn.value=!0),$n.calculatedWidth=Mn.value.getBoundingClientRect().width,Fe.multiple&&zo(),Fe.remote)vo();else return Ao()},mr=()=>(Bn.value=!1,No()),br=()=>($n.inputValue=$n.displayInputValue,nextTick(()=>{~io.value&&(Co(io.value),Ir($n.hoveringIndex))})),Ir=ir=>{Pn.value.scrollToItem(ir)},Mr=()=>{if(Er(),Fe.multiple)if(Fe.modelValue.length>0){let ir=!1;$n.cachedOptions.length=0,$n.previousValue=Fe.modelValue.toString();for(const Sr of Fe.modelValue){const Lr=wo(Sr);if(Xn.value.has(Lr)){const{index:qr,option:ba}=Xn.value.get(Lr);$n.cachedOptions.push(ba),ir||Co(qr),ir=!0}}}else $n.cachedOptions=[],$n.previousValue=void 0;else if(Ln.value){$n.previousValue=Fe.modelValue;const ir=Yn.value,Sr=ir.findIndex(Lr=>wo(Cn(Lr))===wo(Fe.modelValue));~Sr?($n.selectedLabel=_n(ir[Sr]),Co(Sr)):$n.selectedLabel=wo(Fe.modelValue)}else $n.selectedLabel="",$n.previousValue=void 0;lo(),no()};return watch(Bn,ir=>{var Sr,Lr;qe("visible-change",ir),ir?(Lr=(Sr=On.value).update)==null||Lr.call(Sr):($n.displayInputValue="",$n.previousQuery=null,Bo(""))}),watch(()=>Fe.modelValue,(ir,Sr)=>{var Lr;(!ir||ir.toString()!==$n.previousValue)&&Mr(),!isEqual$4(ir,Sr)&&Fe.validateEvent&&((Lr=kn==null?void 0:kn.validate)==null||Lr.call(kn,"change").catch(qr=>void 0))},{deep:!0}),watch(()=>Fe.options,()=>{const ir=Nn.value;(!ir||ir&&document.activeElement!==ir)&&Mr()},{deep:!0}),watch(Yn,()=>Pn.value&&nextTick(Pn.value.resetScrollTop)),watch(()=>ao.value,ir=>{ir||Er()}),onMounted(()=>{Mr()}),useResizeObserver(Rn,Yo),{collapseTagSize:Jn,currentPlaceholder:mo,expanded:Bn,emptyText:Wn,popupHeight:Vn,debounce:Gn,filteredOptions:Yn,iconComponent:Hn,iconReverse:Fn,inputWrapperStyle:so,popperSize:An,dropdownMenuVisible:ao,hasModelValue:Ln,shouldShowPlaceholder:co,selectDisabled:Dn,selectSize:jn,showClearBtn:zn,states:$n,tagMaxWidth:Qn,nsSelectV2:vn,nsInput:bn,calculatorRef:Mn,controlRef:Tn,inputRef:Nn,menuRef:Pn,popper:On,selectRef:Rn,selectionRef:In,popperRef:fo,validateState:Kn,validateIcon:Un,showTagList:go,collapseTagList:yo,debouncedOnInputChange:vo,deleteTag:$o,getLabel:_n,getValue:Cn,getDisabled:xn,getValueKey:wo,handleBlur:No,handleClear:rr,handleClickOutside:mr,handleDel:Eo,handleEsc:Vo,handleFocus:Do,handleMenuEnter:br,handleResize:Yo,toggleMenu:xo,scrollTo:Ir,onInput:Qo,onKeyboardNavigate:ur,onKeyboardSelect:hr,onSelect:Fo,onHover:Co,onUpdateInputValue:sr,handleCompositionStart:ho,handleCompositionEnd:Po,handleCompositionUpdate:Io}},_sfc_main$O=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(Fe,{emit:qe}){const hn=computed(()=>{const{modelValue:bn,multiple:wn}=Fe,kn=wn?[]:void 0;return isArray$x(bn)?wn?bn:kn:wn?kn:bn}),vn=useSelect$1(reactive({...toRefs(Fe),modelValue:hn}),qe);return provide(selectV2InjectionKey,{props:reactive({...toRefs(Fe),height:vn.popupHeight,modelValue:hn}),popper:vn.popper,onSelect:vn.onSelect,onHover:vn.onHover,onKeyboardNavigate:vn.onKeyboardNavigate,onKeyboardSelect:vn.onKeyboardSelect}),{...vn,modelValue:hn}}}),_hoisted_1$q={key:0},_hoisted_2$j=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$a=["textContent"],_hoisted_4$8=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$6=["textContent"];function _sfc_render$6(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-tag"),_n=resolveComponent("el-tooltip"),Cn=resolveComponent("el-icon"),xn=resolveComponent("el-select-menu"),En=resolveDirective("model-text"),$n=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([Fe.nsSelectV2.b(),Fe.nsSelectV2.m(Fe.selectSize)]),onClick:qe[24]||(qe[24]=withModifiers((...Sn)=>Fe.toggleMenu&&Fe.toggleMenu(...Sn),["stop"])),onMouseenter:qe[25]||(qe[25]=Sn=>Fe.states.comboBoxHovering=!0),onMouseleave:qe[26]||(qe[26]=Sn=>Fe.states.comboBoxHovering=!1)},[createVNode(_n,{ref:"popper",visible:Fe.dropdownMenuVisible,teleported:Fe.teleported,"popper-class":[Fe.nsSelectV2.e("popper"),Fe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":Fe.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:Fe.effect,placement:Fe.placement,pure:"",transition:`${Fe.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:Fe.persistent,onBeforeShow:Fe.handleMenuEnter,onHide:qe[23]||(qe[23]=Sn=>Fe.states.inputValue=Fe.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([Fe.nsSelectV2.e("wrapper"),Fe.nsSelectV2.is("focused",Fe.states.isComposing||Fe.expanded),Fe.nsSelectV2.is("hovering",Fe.states.comboBoxHovering),Fe.nsSelectV2.is("filterable",Fe.filterable),Fe.nsSelectV2.is("disabled",Fe.selectDisabled)])},[Fe.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$q,[renderSlot(Fe.$slots,"prefix")])):createCommentVNode("v-if",!0),Fe.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Fe.nsSelectV2.e("selection"))},[Fe.collapseTags&&Fe.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.showTagList,Sn=>(openBlock(),createElementBlock("div",{key:Fe.getValueKey(Fe.getValue(Sn)),class:normalizeClass(Fe.nsSelectV2.e("selected-item"))},[createVNode(kn,{closable:!Fe.selectDisabled&&!Fe.getDisabled(Sn),size:Fe.collapseTagSize,type:"info","disable-transitions":"",onClose:An=>Fe.deleteTag(An,Sn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${Fe.tagMaxWidth}px`})},toDisplayString(Fe.getLabel(Sn)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass(Fe.nsSelectV2.e("selected-item"))},[Fe.modelValue.length>Fe.maxCollapseTags?(openBlock(),createBlock(kn,{key:0,closable:!1,size:Fe.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[Fe.collapseTagsTooltip?(openBlock(),createBlock(_n,{key:0,disabled:Fe.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:Fe.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${Fe.tagMaxWidth}px`})}," + "+toDisplayString(Fe.modelValue.length-Fe.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(Fe.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.collapseTagList,Sn=>(openBlock(),createElementBlock("div",{key:Fe.getValueKey(Fe.getValue(Sn)),class:normalizeClass(Fe.nsSelectV2.e("selected-item"))},[createVNode(kn,{closable:!Fe.selectDisabled&&!Fe.getDisabled(Sn),size:Fe.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:An=>Fe.deleteTag(An,Sn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${Fe.tagMaxWidth}px`})},toDisplayString(Fe.getLabel(Sn)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(Fe.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${Fe.tagMaxWidth}px`})}," + "+toDisplayString(Fe.modelValue.length-Fe.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Fe.states.cachedOptions,Sn=>(openBlock(),createElementBlock("div",{key:Fe.getValueKey(Fe.getValue(Sn)),class:normalizeClass(Fe.nsSelectV2.e("selected-item"))},[createVNode(kn,{closable:!Fe.selectDisabled&&!Fe.getDisabled(Sn),size:Fe.collapseTagSize,type:"info","disable-transitions":"",onClose:An=>Fe.deleteTag(An,Sn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Fe.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${Fe.tagMaxWidth}px`})},toDisplayString(Fe.getLabel(Sn)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([Fe.nsSelectV2.e("selected-item"),Fe.nsSelectV2.e("input-wrapper")]),style:normalizeStyle(Fe.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:Fe.id,ref:"inputRef",autocomplete:Fe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":Fe.expanded,"aria-labelledby":Fe.label,class:normalizeClass([Fe.nsSelectV2.is(Fe.selectSize),Fe.nsSelectV2.e("combobox-input")]),disabled:Fe.disabled,role:"combobox",readonly:!Fe.filterable,spellcheck:"false",type:"text",name:Fe.name,unselectable:Fe.expanded?"on":void 0,"onUpdate:modelValue":qe[0]||(qe[0]=(...Sn)=>Fe.onUpdateInputValue&&Fe.onUpdateInputValue(...Sn)),onFocus:qe[1]||(qe[1]=(...Sn)=>Fe.handleFocus&&Fe.handleFocus(...Sn)),onBlur:qe[2]||(qe[2]=(...Sn)=>Fe.handleBlur&&Fe.handleBlur(...Sn)),onInput:qe[3]||(qe[3]=(...Sn)=>Fe.onInput&&Fe.onInput(...Sn)),onCompositionstart:qe[4]||(qe[4]=(...Sn)=>Fe.handleCompositionStart&&Fe.handleCompositionStart(...Sn)),onCompositionupdate:qe[5]||(qe[5]=(...Sn)=>Fe.handleCompositionUpdate&&Fe.handleCompositionUpdate(...Sn)),onCompositionend:qe[6]||(qe[6]=(...Sn)=>Fe.handleCompositionEnd&&Fe.handleCompositionEnd(...Sn)),onKeydown:[qe[7]||(qe[7]=withKeys(withModifiers(Sn=>Fe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),qe[8]||(qe[8]=withKeys(withModifiers(Sn=>Fe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),qe[9]||(qe[9]=withKeys(withModifiers((...Sn)=>Fe.onKeyboardSelect&&Fe.onKeyboardSelect(...Sn),["stop","prevent"]),["enter"])),qe[10]||(qe[10]=withKeys(withModifiers((...Sn)=>Fe.handleEsc&&Fe.handleEsc(...Sn),["stop","prevent"]),["esc"])),qe[11]||(qe[11]=withKeys(withModifiers((...Sn)=>Fe.handleDel&&Fe.handleDel(...Sn),["stop"]),["delete"]))]},null,42,_hoisted_2$j),[[En,Fe.states.displayInputValue]]),Fe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(Fe.nsSelectV2.e("input-calculator")),textContent:toDisplayString(Fe.states.displayInputValue)},null,10,_hoisted_3$a)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([Fe.nsSelectV2.e("selected-item"),Fe.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:Fe.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":Fe.label,"aria-expanded":Fe.expanded,autocapitalize:"off",autocomplete:Fe.autocomplete,class:normalizeClass(Fe.nsSelectV2.e("combobox-input")),disabled:Fe.disabled,name:Fe.name,role:"combobox",readonly:!Fe.filterable,spellcheck:"false",type:"text",unselectable:Fe.expanded?"on":void 0,onCompositionstart:qe[12]||(qe[12]=(...Sn)=>Fe.handleCompositionStart&&Fe.handleCompositionStart(...Sn)),onCompositionupdate:qe[13]||(qe[13]=(...Sn)=>Fe.handleCompositionUpdate&&Fe.handleCompositionUpdate(...Sn)),onCompositionend:qe[14]||(qe[14]=(...Sn)=>Fe.handleCompositionEnd&&Fe.handleCompositionEnd(...Sn)),onFocus:qe[15]||(qe[15]=(...Sn)=>Fe.handleFocus&&Fe.handleFocus(...Sn)),onBlur:qe[16]||(qe[16]=(...Sn)=>Fe.handleBlur&&Fe.handleBlur(...Sn)),onInput:qe[17]||(qe[17]=(...Sn)=>Fe.onInput&&Fe.onInput(...Sn)),onKeydown:[qe[18]||(qe[18]=withKeys(withModifiers(Sn=>Fe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),qe[19]||(qe[19]=withKeys(withModifiers(Sn=>Fe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),qe[20]||(qe[20]=withKeys(withModifiers((...Sn)=>Fe.onKeyboardSelect&&Fe.onKeyboardSelect(...Sn),["stop","prevent"]),["enter"])),qe[21]||(qe[21]=withKeys(withModifiers((...Sn)=>Fe.handleEsc&&Fe.handleEsc(...Sn),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":qe[22]||(qe[22]=(...Sn)=>Fe.onUpdateInputValue&&Fe.onUpdateInputValue(...Sn))},null,42,_hoisted_4$8),[[En,Fe.states.displayInputValue]])],2),Fe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([Fe.nsSelectV2.e("selected-item"),Fe.nsSelectV2.e("input-calculator")]),textContent:toDisplayString(Fe.states.displayInputValue)},null,10,_hoisted_5$6)):createCommentVNode("v-if",!0)],64)),Fe.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([Fe.nsSelectV2.e("placeholder"),Fe.nsSelectV2.is("transparent",Fe.multiple?Fe.modelValue.length===0:!Fe.hasModelValue)])},toDisplayString(Fe.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(Fe.nsSelectV2.e("suffix"))},[Fe.iconComponent?withDirectives((openBlock(),createBlock(Cn,{key:0,class:normalizeClass([Fe.nsSelectV2.e("caret"),Fe.nsInput.e("icon"),Fe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.iconComponent)))]),_:1},8,["class"])),[[vShow,!Fe.showClearBtn]]):createCommentVNode("v-if",!0),Fe.showClearBtn&&Fe.clearIcon?(openBlock(),createBlock(Cn,{key:1,class:normalizeClass([Fe.nsSelectV2.e("caret"),Fe.nsInput.e("icon")]),onClick:withModifiers(Fe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Fe.validateState&&Fe.validateIcon?(openBlock(),createBlock(Cn,{key:2,class:normalizeClass([Fe.nsInput.e("icon"),Fe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode(xn,{ref:"menuRef",data:Fe.filteredOptions,width:Fe.popperSize,"hovering-index":Fe.states.hoveringIndex,"scrollbar-always-on":Fe.scrollbarAlwaysOn},{default:withCtx(Sn=>[renderSlot(Fe.$slots,"default",normalizeProps(guardReactiveProps(Sn)))]),empty:withCtx(()=>[renderSlot(Fe.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass(Fe.nsSelectV2.e("empty"))},toDisplayString(Fe.emptyText?Fe.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)),[[$n,Fe.handleClickOutside,Fe.popperRef]])}var Select$1=_export_sfc$2(_sfc_main$O,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Select$1.install=Fe=>{Fe.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__$u=defineComponent({name:"ElSkeletonItem"}),_sfc_main$N=defineComponent({...__default__$u,props:skeletonItemProps,setup(Fe){const qe=useNamespace("skeleton");return(hn,vn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).e("item"),unref(qe).e(hn.variant)])},[hn.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$2(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$t=defineComponent({name:"ElSkeleton"}),_sfc_main$M=defineComponent({...__default__$t,props:skeletonProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("skeleton"),bn=useThrottleRender(toRef(hn,"loading"),hn.throttle);return qe({uiLoading:bn}),(wn,kn)=>unref(bn)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(vn).b(),unref(vn).is("animated",wn.animated)]},wn.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.count,_n=>(openBlock(),createElementBlock(Fragment,{key:_n},[wn.loading?renderSlot(wn.$slots,"template",{key:_n},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(vn).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.rows,Cn=>(openBlock(),createBlock(SkeletonItem,{key:Cn,class:normalizeClass([unref(vn).e("paragraph"),unref(vn).is("last",Cn===wn.rows&&wn.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(wn.$slots,"default",normalizeProps(mergeProps({key:1},wn.$attrs)))}});var Skeleton=_export_sfc$2(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall$1(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=Fe=>isNumber$d(Fe)||isArray$x(Fe)&&Fe.every(isNumber$d),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(Fe,qe,hn)=>{const vn=ref();return onMounted(async()=>{Fe.range?(Array.isArray(Fe.modelValue)?(qe.firstValue=Math.max(Fe.min,Fe.modelValue[0]),qe.secondValue=Math.min(Fe.max,Fe.modelValue[1])):(qe.firstValue=Fe.min,qe.secondValue=Fe.max),qe.oldValue=[qe.firstValue,qe.secondValue]):(typeof Fe.modelValue!="number"||Number.isNaN(Fe.modelValue)?qe.firstValue=Fe.min:qe.firstValue=Math.min(Fe.max,Math.max(Fe.min,Fe.modelValue)),qe.oldValue=qe.firstValue),useEventListener(window,"resize",hn),await nextTick(),hn()}),{sliderWrapper:vn}},useMarks=Fe=>computed(()=>Fe.marks?Object.keys(Fe.marks).map(Number.parseFloat).sort((hn,vn)=>hn-vn).filter(hn=>hn<=Fe.max&&hn>=Fe.min).map(hn=>({point:hn,position:(hn-Fe.min)*100/(Fe.max-Fe.min),mark:Fe.marks[hn]})):[]),useSlide=(Fe,qe,hn)=>{const{form:vn,formItem:bn}=useFormItem(),wn=shallowRef(),kn=ref(),_n=ref(),Cn={firstButton:kn,secondButton:_n},xn=computed(()=>Fe.disabled||(vn==null?void 0:vn.disabled)||!1),En=computed(()=>Math.min(qe.firstValue,qe.secondValue)),$n=computed(()=>Math.max(qe.firstValue,qe.secondValue)),Sn=computed(()=>Fe.range?`${100*($n.value-En.value)/(Fe.max-Fe.min)}%`:`${100*(qe.firstValue-Fe.min)/(Fe.max-Fe.min)}%`),An=computed(()=>Fe.range?`${100*(En.value-Fe.min)/(Fe.max-Fe.min)}%`:"0%"),Tn=computed(()=>Fe.vertical?{height:Fe.height}:{}),Nn=computed(()=>Fe.vertical?{height:Sn.value,bottom:An.value}:{width:Sn.value,left:An.value}),Pn=()=>{wn.value&&(qe.sliderSize=wn.value[`client${Fe.vertical?"Height":"Width"}`])},On=Fn=>{const Kn=Fe.min+Fn*(Fe.max-Fe.min)/100;if(!Fe.range)return kn;let Un;return Math.abs(En.value-Kn)qe.secondValue?"firstButton":"secondButton",Cn[Un]},Rn=Fn=>{const Kn=On(Fn);return Kn.value.setPosition(Fn),Kn},In=Fn=>{qe.firstValue=Fn,Bn(Fe.range?[En.value,$n.value]:Fn)},Mn=Fn=>{qe.secondValue=Fn,Fe.range&&Bn([En.value,$n.value])},Bn=Fn=>{hn(UPDATE_MODEL_EVENT,Fn),hn(INPUT_EVENT,Fn)},Dn=async()=>{await nextTick(),hn(CHANGE_EVENT,Fe.range?[En.value,$n.value]:Fe.modelValue)},Vn=Fn=>{var Kn,Un,Gn,Wn,Yn,Xn;if(xn.value||qe.dragging)return;Pn();let qn=0;if(Fe.vertical){const jn=(Gn=(Un=(Kn=Fn.touches)==null?void 0:Kn.item(0))==null?void 0:Un.clientY)!=null?Gn:Fn.clientY;qn=(wn.value.getBoundingClientRect().bottom-jn)/qe.sliderSize*100}else{const jn=(Xn=(Yn=(Wn=Fn.touches)==null?void 0:Wn.item(0))==null?void 0:Yn.clientX)!=null?Xn:Fn.clientX,Jn=wn.value.getBoundingClientRect().left;qn=(jn-Jn)/qe.sliderSize*100}if(!(qn<0||qn>100))return Rn(qn)};return{elFormItem:bn,slider:wn,firstButton:kn,secondButton:_n,sliderDisabled:xn,minValue:En,maxValue:$n,runwayStyle:Tn,barStyle:Nn,resetSize:Pn,setPosition:Rn,emitChange:Dn,onSliderWrapperPrevent:Fn=>{var Kn,Un;((Kn=Cn.firstButton.value)!=null&&Kn.dragging||(Un=Cn.secondButton.value)!=null&&Un.dragging)&&Fn.preventDefault()},onSliderClick:Fn=>{Vn(Fn)&&Dn()},onSliderDown:async Fn=>{const Kn=Vn(Fn);Kn&&(await nextTick(),Kn.value.onButtonDown(Fn))},setFirstValue:In,setSecondValue:Mn}},{left,down,right,up,home,end,pageUp,pageDown}=EVENT_CODE,useTooltip=(Fe,qe,hn)=>{const vn=ref(),bn=ref(!1),wn=computed(()=>qe.value instanceof Function),kn=computed(()=>wn.value&&qe.value(Fe.modelValue)||Fe.modelValue),_n=debounce$3(()=>{hn.value&&(bn.value=!0)},50),Cn=debounce$3(()=>{hn.value&&(bn.value=!1)},50);return{tooltip:vn,tooltipVisible:bn,formatValue:kn,displayTooltip:_n,hideTooltip:Cn}},useSliderButton=(Fe,qe,hn)=>{const{disabled:vn,min:bn,max:wn,step:kn,showTooltip:_n,precision:Cn,sliderSize:xn,formatTooltip:En,emitChange:$n,resetSize:Sn,updateDragging:An}=inject(sliderContextKey),{tooltip:Tn,tooltipVisible:Nn,formatValue:Pn,displayTooltip:On,hideTooltip:Rn}=useTooltip(Fe,En,_n),In=ref(),Mn=computed(()=>`${(Fe.modelValue-bn.value)/(wn.value-bn.value)*100}%`),Bn=computed(()=>Fe.vertical?{bottom:Mn.value}:{left:Mn.value}),Dn=()=>{qe.hovering=!0,On()},Vn=()=>{qe.hovering=!1,qe.dragging||Rn()},Ln=no=>{vn.value||(no.preventDefault(),qn(no),window.addEventListener("mousemove",jn),window.addEventListener("touchmove",jn),window.addEventListener("mouseup",Jn),window.addEventListener("touchend",Jn),window.addEventListener("contextmenu",Jn),In.value.focus())},zn=no=>{vn.value||(qe.newPosition=Number.parseFloat(Mn.value)+no/(wn.value-bn.value)*100,Qn(qe.newPosition),$n())},Hn=()=>{zn(-kn.value)},Fn=()=>{zn(kn.value)},Kn=()=>{zn(-kn.value*4)},Un=()=>{zn(kn.value*4)},Gn=()=>{vn.value||(Qn(0),$n())},Wn=()=>{vn.value||(Qn(100),$n())},Yn=no=>{let so=!0;[left,down].includes(no.key)?Hn():[right,up].includes(no.key)?Fn():no.key===home?Gn():no.key===end?Wn():no.key===pageDown?Kn():no.key===pageUp?Un():so=!1,so&&no.preventDefault()},Xn=no=>{let so,co;return no.type.startsWith("touch")?(co=no.touches[0].clientY,so=no.touches[0].clientX):(co=no.clientY,so=no.clientX),{clientX:so,clientY:co}},qn=no=>{qe.dragging=!0,qe.isClick=!0;const{clientX:so,clientY:co}=Xn(no);Fe.vertical?qe.startY=co:qe.startX=so,qe.startPosition=Number.parseFloat(Mn.value),qe.newPosition=qe.startPosition},jn=no=>{if(qe.dragging){qe.isClick=!1,On(),Sn();let so;const{clientX:co,clientY:mo}=Xn(no);Fe.vertical?(qe.currentY=mo,so=(qe.startY-qe.currentY)/xn.value*100):(qe.currentX=co,so=(qe.currentX-qe.startX)/xn.value*100),qe.newPosition=qe.startPosition+so,Qn(qe.newPosition)}},Jn=()=>{qe.dragging&&(setTimeout(()=>{qe.dragging=!1,qe.hovering||Rn(),qe.isClick||Qn(qe.newPosition),$n()},0),window.removeEventListener("mousemove",jn),window.removeEventListener("touchmove",jn),window.removeEventListener("mouseup",Jn),window.removeEventListener("touchend",Jn),window.removeEventListener("contextmenu",Jn))},Qn=async no=>{if(no===null||Number.isNaN(+no))return;no<0?no=0:no>100&&(no=100);const so=100/((wn.value-bn.value)/kn.value);let mo=Math.round(no/so)*so*(wn.value-bn.value)*.01+bn.value;mo=Number.parseFloat(mo.toFixed(Cn.value)),mo!==Fe.modelValue&&hn(UPDATE_MODEL_EVENT,mo),!qe.dragging&&Fe.modelValue!==qe.oldValue&&(qe.oldValue=Fe.modelValue),await nextTick(),qe.dragging&&On(),Tn.value.updatePopper()};return watch(()=>qe.dragging,no=>{An(no)}),{disabled:vn,button:In,tooltip:Tn,tooltipVisible:Nn,showTooltip:_n,wrapperStyle:Bn,formatValue:Pn,handleMouseEnter:Dn,handleMouseLeave:Vn,onButtonDown:Ln,onKeyDown:Yn,setPosition:Qn}},useStops=(Fe,qe,hn,vn)=>({stops:computed(()=>{if(!Fe.showStops||Fe.min>Fe.max)return[];if(Fe.step===0)return[];const kn=(Fe.max-Fe.min)/Fe.step,_n=100*Fe.step/(Fe.max-Fe.min),Cn=Array.from({length:kn-1}).map((xn,En)=>(En+1)*_n);return Fe.range?Cn.filter(xn=>xn<100*(hn.value-Fe.min)/(Fe.max-Fe.min)||xn>100*(vn.value-Fe.min)/(Fe.max-Fe.min)):Cn.filter(xn=>xn>100*(qe.firstValue-Fe.min)/(Fe.max-Fe.min))}),getStopStyle:kn=>Fe.vertical?{bottom:`${kn}%`}:{left:`${kn}%`}}),useWatch=(Fe,qe,hn,vn,bn,wn)=>{const kn=xn=>{bn(UPDATE_MODEL_EVENT,xn),bn(INPUT_EVENT,xn)},_n=()=>Fe.range?![hn.value,vn.value].every((xn,En)=>xn===qe.oldValue[En]):Fe.modelValue!==qe.oldValue,Cn=()=>{var xn,En;Fe.min>Fe.max&&throwError("Slider","min should not be greater than max.");const $n=Fe.modelValue;Fe.range&&Array.isArray($n)?$n[1]Fe.max?kn([Fe.max,Fe.max]):$n[0]Fe.max?kn([$n[0],Fe.max]):(qe.firstValue=$n[0],qe.secondValue=$n[1],_n()&&(Fe.validateEvent&&((xn=wn==null?void 0:wn.validate)==null||xn.call(wn,"change").catch(Sn=>void 0)),qe.oldValue=$n.slice())):!Fe.range&&typeof $n=="number"&&!Number.isNaN($n)&&($nFe.max?kn(Fe.max):(qe.firstValue=$n,_n()&&(Fe.validateEvent&&((En=wn==null?void 0:wn.validate)==null||En.call(wn,"change").catch(Sn=>void 0)),qe.oldValue=$n)))};Cn(),watch(()=>qe.dragging,xn=>{xn||Cn()}),watch(()=>Fe.modelValue,(xn,En)=>{qe.dragging||Array.isArray(xn)&&Array.isArray(En)&&xn.every(($n,Sn)=>$n===En[Sn])&&qe.firstValue===xn[0]&&qe.secondValue===xn[1]||Cn()},{deep:!0}),watch(()=>[Fe.min,Fe.max],()=>{Cn()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:Fe=>isNumber$d(Fe)},_hoisted_1$p=["tabindex"],__default__$s=defineComponent({name:"ElSliderButton"}),_sfc_main$L=defineComponent({...__default__$s,props:sliderButtonProps,emits:sliderButtonEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useNamespace("slider"),wn=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:vn.modelValue}),{disabled:kn,button:_n,tooltip:Cn,showTooltip:xn,tooltipVisible:En,wrapperStyle:$n,formatValue:Sn,handleMouseEnter:An,handleMouseLeave:Tn,onButtonDown:Nn,onKeyDown:Pn,setPosition:On}=useSliderButton(vn,wn,hn),{hovering:Rn,dragging:In}=toRefs(wn);return qe({onButtonDown:Nn,onKeyDown:Pn,setPosition:On,hovering:Rn,dragging:In}),(Mn,Bn)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:_n,class:normalizeClass([unref(bn).e("button-wrapper"),{hover:unref(Rn),dragging:unref(In)}]),style:normalizeStyle(unref($n)),tabindex:unref(kn)?-1:0,onMouseenter:Bn[0]||(Bn[0]=(...Dn)=>unref(An)&&unref(An)(...Dn)),onMouseleave:Bn[1]||(Bn[1]=(...Dn)=>unref(Tn)&&unref(Tn)(...Dn)),onMousedown:Bn[2]||(Bn[2]=(...Dn)=>unref(Nn)&&unref(Nn)(...Dn)),onTouchstart:Bn[3]||(Bn[3]=(...Dn)=>unref(Nn)&&unref(Nn)(...Dn)),onFocus:Bn[4]||(Bn[4]=(...Dn)=>unref(An)&&unref(An)(...Dn)),onBlur:Bn[5]||(Bn[5]=(...Dn)=>unref(Tn)&&unref(Tn)(...Dn)),onKeydown:Bn[6]||(Bn[6]=(...Dn)=>unref(Pn)&&unref(Pn)(...Dn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:Cn,visible:unref(En),placement:Mn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Mn.tooltipClass,disabled:!unref(xn),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(Sn)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(bn).e("button"),{hover:unref(Rn),dragging:unref(In)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$p))}});var SliderButton=_export_sfc$2(_sfc_main$L,[["__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(Fe){const qe=useNamespace("slider"),hn=computed(()=>isString$d(Fe.mark)?Fe.mark:Fe.mark.label),vn=computed(()=>isString$d(Fe.mark)?void 0:Fe.mark.style);return()=>h$6("div",{class:qe.e("marks-text"),style:vn.value},hn.value)}});const _hoisted_1$o=["id","role","aria-label","aria-labelledby"],_hoisted_2$i={key:1},__default__$r=defineComponent({name:"ElSlider"}),_sfc_main$K=defineComponent({...__default__$r,props:sliderProps,emits:sliderEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useNamespace("slider"),{t:wn}=useLocale(),kn=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:_n,slider:Cn,firstButton:xn,secondButton:En,sliderDisabled:$n,minValue:Sn,maxValue:An,runwayStyle:Tn,barStyle:Nn,resetSize:Pn,emitChange:On,onSliderWrapperPrevent:Rn,onSliderClick:In,onSliderDown:Mn,setFirstValue:Bn,setSecondValue:Dn}=useSlide(vn,kn,hn),{stops:Vn,getStopStyle:Ln}=useStops(vn,kn,Sn,An),{inputId:zn,isLabeledByFormItem:Hn}=useFormItemInputId(vn,{formItemContext:_n}),Fn=useFormSize(),Kn=computed(()=>vn.inputSize||Fn.value),Un=computed(()=>vn.label||wn("el.slider.defaultLabel",{min:vn.min,max:vn.max})),Gn=computed(()=>vn.range?vn.rangeStartLabel||wn("el.slider.defaultRangeStartLabel"):Un.value),Wn=computed(()=>vn.formatValueText?vn.formatValueText(no.value):`${no.value}`),Yn=computed(()=>vn.rangeEndLabel||wn("el.slider.defaultRangeEndLabel")),Xn=computed(()=>vn.formatValueText?vn.formatValueText(so.value):`${so.value}`),qn=computed(()=>[bn.b(),bn.m(Fn.value),bn.is("vertical",vn.vertical),{[bn.m("with-input")]:vn.showInput}]),jn=useMarks(vn);useWatch(vn,kn,Sn,An,hn,_n);const Jn=computed(()=>{const fo=[vn.min,vn.max,vn.step].map(io=>{const ao=`${io}`.split(".")[1];return ao?ao.length:0});return Math.max.apply(null,fo)}),{sliderWrapper:Qn}=useLifecycle(vn,kn,Pn),{firstValue:no,secondValue:so,sliderSize:co}=toRefs(kn),mo=fo=>{kn.dragging=fo};return provide(sliderContextKey,{...toRefs(vn),sliderSize:co,disabled:$n,precision:Jn,emitChange:On,resetSize:Pn,updateDragging:mo}),qe({onSliderClick:In}),(fo,io)=>{var ao,go;return openBlock(),createElementBlock("div",{id:fo.range?unref(zn):void 0,ref_key:"sliderWrapper",ref:Qn,class:normalizeClass(unref(qn)),role:fo.range?"group":void 0,"aria-label":fo.range&&!unref(Hn)?unref(Un):void 0,"aria-labelledby":fo.range&&unref(Hn)?(ao=unref(_n))==null?void 0:ao.labelId:void 0,onTouchstart:io[2]||(io[2]=(...yo)=>unref(Rn)&&unref(Rn)(...yo)),onTouchmove:io[3]||(io[3]=(...yo)=>unref(Rn)&&unref(Rn)(...yo))},[createBaseVNode("div",{ref_key:"slider",ref:Cn,class:normalizeClass([unref(bn).e("runway"),{"show-input":fo.showInput&&!fo.range},unref(bn).is("disabled",unref($n))]),style:normalizeStyle(unref(Tn)),onMousedown:io[0]||(io[0]=(...yo)=>unref(Mn)&&unref(Mn)(...yo)),onTouchstart:io[1]||(io[1]=(...yo)=>unref(Mn)&&unref(Mn)(...yo))},[createBaseVNode("div",{class:normalizeClass(unref(bn).e("bar")),style:normalizeStyle(unref(Nn))},null,6),createVNode(SliderButton,{id:fo.range?void 0:unref(zn),ref_key:"firstButton",ref:xn,"model-value":unref(no),vertical:fo.vertical,"tooltip-class":fo.tooltipClass,placement:fo.placement,role:"slider","aria-label":fo.range||!unref(Hn)?unref(Gn):void 0,"aria-labelledby":!fo.range&&unref(Hn)?(go=unref(_n))==null?void 0:go.labelId:void 0,"aria-valuemin":fo.min,"aria-valuemax":fo.range?unref(so):fo.max,"aria-valuenow":unref(no),"aria-valuetext":unref(Wn),"aria-orientation":fo.vertical?"vertical":"horizontal","aria-disabled":unref($n),"onUpdate:modelValue":unref(Bn)},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"]),fo.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:En,"model-value":unref(so),vertical:fo.vertical,"tooltip-class":fo.tooltipClass,placement:fo.placement,role:"slider","aria-label":unref(Yn),"aria-valuemin":unref(no),"aria-valuemax":fo.max,"aria-valuenow":unref(so),"aria-valuetext":unref(Xn),"aria-orientation":fo.vertical?"vertical":"horizontal","aria-disabled":unref($n),"onUpdate:modelValue":unref(Dn)},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),fo.showStops?(openBlock(),createElementBlock("div",_hoisted_2$i,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Vn),(yo,Bo)=>(openBlock(),createElementBlock("div",{key:Bo,class:normalizeClass(unref(bn).e("stop")),style:normalizeStyle(unref(Ln)(yo))},null,6))),128))])):createCommentVNode("v-if",!0),unref(jn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jn),(yo,Bo)=>(openBlock(),createElementBlock("div",{key:Bo,style:normalizeStyle(unref(Ln)(yo.position)),class:normalizeClass([unref(bn).e("stop"),unref(bn).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(bn).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jn),(yo,Bo)=>(openBlock(),createBlock(unref(SliderMarker),{key:Bo,mark:yo.mark,style:normalizeStyle(unref(Ln)(yo.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),fo.showInput&&!fo.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(no),class:normalizeClass(unref(bn).e("input")),step:fo.step,disabled:unref($n),controls:fo.showInputControls,min:fo.min,max:fo.max,debounce:fo.debounce,size:unref(Kn),"onUpdate:modelValue":unref(Bn),onChange:unref(On)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$o)}}});var Slider=_export_sfc$2(_sfc_main$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall$1(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(Fe,{slots:qe}){const hn=useNamespace("space"),vn=computed(()=>`${Fe.prefixCls||hn.b()}__item`);return()=>h$6("div",{class:vn.value},renderSlot(qe,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(Fe){const qe=useNamespace("space"),hn=computed(()=>[qe.b(),qe.m(Fe.direction),Fe.class]),vn=ref(0),bn=ref(0),wn=computed(()=>{const _n=Fe.wrap||Fe.fill?{flexWrap:"wrap",marginBottom:`-${bn.value}px`}:{},Cn={alignItems:Fe.alignment};return[_n,Cn,Fe.style]}),kn=computed(()=>{const _n={paddingBottom:`${bn.value}px`,marginRight:`${vn.value}px`},Cn=Fe.fill?{flexGrow:1,minWidth:`${Fe.fillRatio}%`}:{};return[_n,Cn]});return watchEffect(()=>{const{size:_n="small",wrap:Cn,direction:xn,fill:En}=Fe;if(isArray$x(_n)){const[$n=0,Sn=0]=_n;vn.value=$n,bn.value=Sn}else{let $n;isNumber$d(_n)?$n=_n:$n=SIZE_MAP[_n||"small"]||SIZE_MAP.small,(Cn||En)&&xn==="horizontal"?vn.value=bn.value=$n:xn==="horizontal"?(vn.value=$n,bn.value=0):(bn.value=$n,vn.value=0)}}),{classes:hn,containerStyle:wn,itemStyle:kn}}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:Fe=>isVNode(Fe)||isNumber$d(Fe)||isString$d(Fe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:Fe=>isNumber$d(Fe)||isArray$x(Fe)&&Fe.length===2&&Fe.every(isNumber$d)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(Fe,{slots:qe}){const{classes:hn,containerStyle:vn,itemStyle:bn}=useSpace(Fe);function wn(kn,_n="",Cn=[]){const{prefixCls:xn}=Fe;return kn.forEach((En,$n)=>{isFragment(En)?isArray$x(En.children)&&En.children.forEach((Sn,An)=>{isFragment(Sn)&&isArray$x(Sn.children)?wn(Sn.children,`${_n+An}-`,Cn):Cn.push(createVNode(SpaceItem,{style:bn.value,prefixCls:xn,key:`nested-${_n+An}`},{default:()=>[Sn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(En)&&Cn.push(createVNode(SpaceItem,{style:bn.value,prefixCls:xn,key:`LoopKey${_n+$n}`},{default:()=>[En]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),Cn}return()=>{var kn;const{spacer:_n,direction:Cn}=Fe,xn=renderSlot(qe,"default",{key:0},()=>[]);if(((kn=xn.children)!=null?kn:[]).length===0)return null;if(isArray$x(xn.children)){let En=wn(xn.children);if(_n){const $n=En.length-1;En=En.reduce((Sn,An,Tn)=>{const Nn=[...Sn,An];return Tn!==$n&&Nn.push(createVNode("span",{style:[bn.value,Cn==="vertical"?"width: 100%":null],key:Tn},[isVNode(_n)?_n:createTextVNode(_n,PatchFlags.TEXT)],PatchFlags.STYLE)),Nn},[])}return createVNode("div",{class:hn.value,style:vn.value},En,PatchFlags.STYLE|PatchFlags.CLASS)}return xn.children}}}),ElSpace=withInstall$1(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__$q=defineComponent({name:"ElStatistic"}),_sfc_main$J=defineComponent({...__default__$q,props:statisticProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("statistic"),bn=computed(()=>{const{value:wn,formatter:kn,precision:_n,decimalSeparator:Cn,groupSeparator:xn}=hn;if(isFunction$i(kn))return kn(wn);if(!isNumber$d(wn))return wn;let[En,$n=""]=String(wn).split(".");return $n=$n.padEnd(_n,"0").slice(0,_n>0?_n:0),En=En.replace(/\B(?=(\d{3})+(?!\d))/g,xn),[En,$n].join($n?Cn:"")});return qe({displayValue:bn}),(wn,kn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn).b())},[wn.$slots.title||wn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("head"))},[renderSlot(wn.$slots,"title",{},()=>[createTextVNode(toDisplayString(wn.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("content"))},[wn.$slots.prefix||wn.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn).e("prefix"))},[renderSlot(wn.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(wn.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(vn).e("number")),style:normalizeStyle(wn.valueStyle)},toDisplayString(unref(bn)),7),wn.$slots.suffix||wn.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(vn).e("suffix"))},[renderSlot(wn.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(wn.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$2(_sfc_main$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const ElStatistic=withInstall$1(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]:Fe=>isNumber$d(Fe)},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=Fe=>isNumber$d(Fe)?new Date(Fe).getTime():Fe.valueOf(),formatTime$1=(Fe,qe)=>{let hn=Fe;const vn=/\[([^\]]*)]/g;return timeUnits.reduce((wn,[kn,_n])=>{const Cn=new RegExp(`${kn}+(?![^\\[\\]]*\\])`,"g");if(Cn.test(wn)){const xn=Math.floor(hn/_n);return hn-=xn*_n,wn.replace(Cn,En=>String(xn).padStart(En.length,"0"))}return wn},qe).replace(vn,"$1")},__default__$p=defineComponent({name:"ElCountdown"}),_sfc_main$I=defineComponent({...__default__$p,props:countdownProps,emits:countdownEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe;let bn;const wn=ref(getTime(vn.value)-Date.now()),kn=computed(()=>formatTime$1(wn.value,vn.format)),_n=En=>formatTime$1(En,vn.format),Cn=()=>{bn&&(cAF(bn),bn=void 0)},xn=()=>{const En=getTime(vn.value),$n=()=>{let Sn=En-Date.now();hn("change",Sn),Sn<=0?(Sn=0,Cn(),hn("finish")):bn=rAF($n),wn.value=Sn};bn=rAF($n)};return watch(()=>[vn.value,vn.format],()=>{Cn(),xn()},{immediate:!0}),onBeforeUnmount(()=>{Cn()}),qe({displayValue:kn}),(En,$n)=>(openBlock(),createBlock(unref(ElStatistic),{value:wn.value,title:En.title,prefix:En.prefix,suffix:En.suffix,"value-style":En.valueStyle,formatter:_n},createSlots({_:2},[renderList(En.$slots,(Sn,An)=>({name:An,fn:withCtx(()=>[renderSlot(En.$slots,An)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$2(_sfc_main$I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const ElCountdown=withInstall$1(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]:(Fe,qe)=>[Fe,qe].every(isNumber$d)},__default__$o=defineComponent({name:"ElSteps"}),_sfc_main$H=defineComponent({...__default__$o,props:stepsProps,emits:stepsEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=useNamespace("steps"),{children:bn,addChild:wn,removeChild:kn}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(bn,()=>{bn.value.forEach((_n,Cn)=>{_n.setIndex(Cn)})}),provide("ElSteps",{props:hn,steps:bn,addStep:wn,removeStep:kn}),watch(()=>hn.active,(_n,Cn)=>{qe(CHANGE_EVENT,_n,Cn)}),(_n,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b(),unref(vn).m(_n.simple?"simple":_n.direction)])},[renderSlot(_n.$slots,"default")],2))}});var Steps=_export_sfc$2(_sfc_main$H,[["__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__$n=defineComponent({name:"ElStep"}),_sfc_main$G=defineComponent({...__default__$n,props:stepProps,setup(Fe){const qe=Fe,hn=useNamespace("step"),vn=ref(-1),bn=ref({}),wn=ref(""),kn=inject("ElSteps"),_n=getCurrentInstance();onMounted(()=>{watch([()=>kn.props.active,()=>kn.props.processStatus,()=>kn.props.finishStatus],([Dn])=>{Mn(Dn)},{immediate:!0})}),onBeforeUnmount(()=>{kn.removeStep(Bn.uid)});const Cn=computed(()=>qe.status||wn.value),xn=computed(()=>{const Dn=kn.steps.value[vn.value-1];return Dn?Dn.currentStatus:"wait"}),En=computed(()=>kn.props.alignCenter),$n=computed(()=>kn.props.direction==="vertical"),Sn=computed(()=>kn.props.simple),An=computed(()=>kn.steps.value.length),Tn=computed(()=>{var Dn;return((Dn=kn.steps.value[An.value-1])==null?void 0:Dn.uid)===(_n==null?void 0:_n.uid)}),Nn=computed(()=>Sn.value?"":kn.props.space),Pn=computed(()=>[hn.b(),hn.is(Sn.value?"simple":kn.props.direction),hn.is("flex",Tn.value&&!Nn.value&&!En.value),hn.is("center",En.value&&!$n.value&&!Sn.value)]),On=computed(()=>{const Dn={flexBasis:isNumber$d(Nn.value)?`${Nn.value}px`:Nn.value?Nn.value:`${100/(An.value-(En.value?0:1))}%`};return $n.value||Tn.value&&(Dn.maxWidth=`${100/An.value}%`),Dn}),Rn=Dn=>{vn.value=Dn},In=Dn=>{const Vn=Dn==="wait",Ln={transitionDelay:`${Vn?"-":""}${150*vn.value}ms`},zn=Dn===kn.props.processStatus||Vn?0:100;Ln.borderWidth=zn&&!Sn.value?"1px":0,Ln[kn.props.direction==="vertical"?"height":"width"]=`${zn}%`,bn.value=Ln},Mn=Dn=>{Dn>vn.value?wn.value=kn.props.finishStatus:Dn===vn.value&&xn.value!=="error"?wn.value=kn.props.processStatus:wn.value="wait";const Vn=kn.steps.value[vn.value-1];Vn&&Vn.calcProgress(wn.value)},Bn=reactive({uid:_n.uid,currentStatus:Cn,setIndex:Rn,calcProgress:In});return kn.addStep(Bn),(Dn,Vn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle(unref(On)),class:normalizeClass(unref(Pn))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(hn).e("head"),unref(hn).is(unref(Cn))])},[unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(hn).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(hn).e("line-inner")),style:normalizeStyle(bn.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(hn).e("icon"),unref(hn).is(Dn.icon||Dn.$slots.icon?"icon":"text")])},[renderSlot(Dn.$slots,"icon",{},()=>[Dn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(hn).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dn.icon)))]),_:1},8,["class"])):unref(Cn)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(hn).e("icon-inner"),unref(hn).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref(Cn)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(hn).e("icon-inner"),unref(hn).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(hn).e("icon-inner"))},toDisplayString(vn.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(hn).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(hn).e("title"),unref(hn).is(unref(Cn))])},[renderSlot(Dn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Dn.title),1)])],2),unref(Sn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(hn).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(hn).e("description"),unref(hn).is(unref(Cn))])},[renderSlot(Dn.$slots,"description",{},()=>[createTextVNode(toDisplayString(Dn.description),1)])],2))],2)],6))}});var Step=_export_sfc$2(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall$1(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1},label:{type:String,default:void 0}}),switchEmits={[UPDATE_MODEL_EVENT]:Fe=>isBoolean$5(Fe)||isString$d(Fe)||isNumber$d(Fe),[CHANGE_EVENT]:Fe=>isBoolean$5(Fe)||isString$d(Fe)||isNumber$d(Fe),[INPUT_EVENT]:Fe=>isBoolean$5(Fe)||isString$d(Fe)||isNumber$d(Fe)},_hoisted_1$n=["onClick"],_hoisted_2$h=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$9=["aria-hidden"],_hoisted_4$7=["aria-hidden"],_hoisted_5$5=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$m=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$F=defineComponent({...__default__$m,props:switchProps,emits:switchEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=getCurrentInstance(),{formItem:wn}=useFormItem(),kn=useFormSize(),_n=useNamespace("switch");(Ln=>{Ln.forEach(zn=>{useDeprecated({from:zn[0],replacement:zn[1],scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var Hn;return!!((Hn=bn.vnode.props)!=null&&Hn[zn[2]])}))})})([['"value"','"model-value" or "v-model"',"value"],['"active-color"',"CSS var `--el-switch-on-color`","activeColor"],['"inactive-color"',"CSS var `--el-switch-off-color`","inactiveColor"],['"border-color"',"CSS var `--el-switch-border-color`","borderColor"]]);const{inputId:xn}=useFormItemInputId(vn,{formItemContext:wn}),En=useFormDisabled(computed(()=>vn.loading)),$n=ref(vn.modelValue!==!1),Sn=ref(),An=ref(),Tn=computed(()=>[_n.b(),_n.m(kn.value),_n.is("disabled",En.value),_n.is("checked",In.value)]),Nn=computed(()=>[_n.e("label"),_n.em("label","left"),_n.is("active",!In.value)]),Pn=computed(()=>[_n.e("label"),_n.em("label","right"),_n.is("active",In.value)]),On=computed(()=>({width:addUnit(vn.width)}));watch(()=>vn.modelValue,()=>{$n.value=!0}),watch(()=>vn.value,()=>{$n.value=!1});const Rn=computed(()=>$n.value?vn.modelValue:vn.value),In=computed(()=>Rn.value===vn.activeValue);[vn.activeValue,vn.inactiveValue].includes(Rn.value)||(hn(UPDATE_MODEL_EVENT,vn.inactiveValue),hn(CHANGE_EVENT,vn.inactiveValue),hn(INPUT_EVENT,vn.inactiveValue)),watch(In,Ln=>{var zn;Sn.value.checked=Ln,vn.validateEvent&&((zn=wn==null?void 0:wn.validate)==null||zn.call(wn,"change").catch(Hn=>void 0))});const Mn=()=>{const Ln=In.value?vn.inactiveValue:vn.activeValue;hn(UPDATE_MODEL_EVENT,Ln),hn(CHANGE_EVENT,Ln),hn(INPUT_EVENT,Ln),nextTick(()=>{Sn.value.checked=In.value})},Bn=()=>{if(En.value)return;const{beforeChange:Ln}=vn;if(!Ln){Mn();return}const zn=Ln();[isPromise(zn),isBoolean$5(zn)].includes(!0)||throwError(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise(zn)?zn.then(Fn=>{Fn&&Mn()}).catch(Fn=>{}):zn&&Mn()},Dn=computed(()=>_n.cssVarBlock({...vn.activeColor?{"on-color":vn.activeColor}:null,...vn.inactiveColor?{"off-color":vn.inactiveColor}:null,...vn.borderColor?{"border-color":vn.borderColor}:null})),Vn=()=>{var Ln,zn;(zn=(Ln=Sn.value)==null?void 0:Ln.focus)==null||zn.call(Ln)};return onMounted(()=>{Sn.value.checked=In.value}),qe({focus:Vn,checked:In}),(Ln,zn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Tn)),style:normalizeStyle(unref(Dn)),onClick:withModifiers(Bn,["prevent"])},[createBaseVNode("input",{id:unref(xn),ref_key:"input",ref:Sn,class:normalizeClass(unref(_n).e("input")),type:"checkbox",role:"switch","aria-checked":unref(In),"aria-disabled":unref(En),"aria-label":Ln.label,name:Ln.name,"true-value":Ln.activeValue,"false-value":Ln.inactiveValue,disabled:unref(En),tabindex:Ln.tabindex,onChange:Mn,onKeydown:withKeys(Bn,["enter"])},null,42,_hoisted_2$h),!Ln.inlinePrompt&&(Ln.inactiveIcon||Ln.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Nn))},[Ln.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ln.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Ln.inactiveIcon&&Ln.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(In)},toDisplayString(Ln.inactiveText),9,_hoisted_3$9)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:An,class:normalizeClass(unref(_n).e("core")),style:normalizeStyle(unref(On))},[Ln.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(_n).e("inner"))},[Ln.activeIcon||Ln.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_n).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(In)?Ln.activeIcon:Ln.inactiveIcon)))]),_:1},8,["class"])):Ln.activeText||Ln.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(_n).is("text")),"aria-hidden":!unref(In)},toDisplayString(unref(In)?Ln.activeText:Ln.inactiveText),11,_hoisted_4$7)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(_n).e("action"))},[Ln.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(_n).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):Ln.activeActionIcon&&unref(In)?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ln.activeActionIcon)))]),_:1})):Ln.inactiveActionIcon&&!unref(In)?(openBlock(),createBlock(unref(ElIcon),{key:2},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ln.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)],2)],6),!Ln.inlinePrompt&&(Ln.activeIcon||Ln.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Pn))},[Ln.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ln.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Ln.activeIcon&&Ln.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(In)},toDisplayString(Ln.activeText),9,_hoisted_5$5)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$n))}});var Switch$1=_export_sfc$2(_sfc_main$F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall$1(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;function escapeHtml(Fe){var qe=""+Fe,hn=matchHtmlRegExp.exec(qe);if(!hn)return qe;var vn,bn="",wn=0,kn=0;for(wn=hn.index;wntypeof xn=="string"?get$6(_n,xn):xn(_n,Cn,Fe))):(qe!=="$key"&&isObject$9(_n)&&"$value"in _n&&(_n=_n.$value),[isObject$9(_n)?get$6(_n,qe):_n])},kn=function(_n,Cn){if(vn)return vn(_n.value,Cn.value);for(let xn=0,En=_n.key.length;xnCn.key[xn])return 1}return 0};return Fe.map((_n,Cn)=>({value:_n,index:Cn,key:wn?wn(_n,Cn):null})).sort((_n,Cn)=>{let xn=kn(_n,Cn);return xn||(xn=_n.index-Cn.index),xn*+hn}).map(_n=>_n.value)},getColumnById=function(Fe,qe){let hn=null;return Fe.columns.forEach(vn=>{vn.id===qe&&(hn=vn)}),hn},getColumnByKey=function(Fe,qe){let hn=null;for(let vn=0;vn{if(!Fe)throw new Error("Row is required when get row identity");if(typeof qe=="string"){if(!qe.includes("."))return`${Fe[qe]}`;const hn=qe.split(".");let vn=Fe;for(const bn of hn)vn=vn[bn];return`${vn}`}else if(typeof qe=="function")return qe.call(null,Fe)},getKeysMap=function(Fe,qe){const hn={};return(Fe||[]).forEach((vn,bn)=>{hn[getRowIdentity(vn,qe)]={row:vn,index:bn}}),hn};function mergeOptions$1(Fe,qe){const hn={};let vn;for(vn in Fe)hn[vn]=Fe[vn];for(vn in qe)if(hasOwn(qe,vn)){const bn=qe[vn];typeof bn<"u"&&(hn[vn]=bn)}return hn}function parseWidth(Fe){return Fe===""||Fe!==void 0&&(Fe=Number.parseInt(Fe,10),Number.isNaN(Fe)&&(Fe="")),Fe}function parseMinWidth(Fe){return Fe===""||Fe!==void 0&&(Fe=parseWidth(Fe),Number.isNaN(Fe)&&(Fe=80)),Fe}function parseHeight(Fe){return typeof Fe=="number"?Fe:typeof Fe=="string"?/^\d+(?:px)?$/.test(Fe)?Number.parseInt(Fe,10):Fe:null}function compose(...Fe){return Fe.length===0?qe=>qe:Fe.length===1?Fe[0]:Fe.reduce((qe,hn)=>(...vn)=>qe(hn(...vn)))}function toggleRowStatus(Fe,qe,hn){let vn=!1;const bn=Fe.indexOf(qe),wn=bn!==-1,kn=_n=>{_n==="add"?Fe.push(qe):Fe.splice(bn,1),vn=!0,isArray$x(qe.children)&&qe.children.forEach(Cn=>{toggleRowStatus(Fe,Cn,hn??!wn)})};return isBoolean$5(hn)?hn&&!wn?kn("add"):!hn&&wn&&kn("remove"):kn(wn?"remove":"add"),vn}function walkTreeNode(Fe,qe,hn="children",vn="hasChildren"){const bn=kn=>!(Array.isArray(kn)&&kn.length);function wn(kn,_n,Cn){qe(kn,_n,Cn),_n.forEach(xn=>{if(xn[vn]){qe(xn,null,Cn+1);return}const En=xn[hn];bn(En)||wn(xn,En,Cn+1)})}Fe.forEach(kn=>{if(kn[vn]){qe(kn,null,0);return}const _n=kn[hn];bn(_n)||wn(kn,_n,0)})}let removePopper;function createTablePopper(Fe,qe,hn,vn,bn){bn=merge$4({enterable:!0,showArrow:!0},bn);const wn=Fe==null?void 0:Fe.dataset.prefix,kn=Fe==null?void 0:Fe.querySelector(`.${wn}-scrollbar__wrap`);function _n(){const Pn=bn.effect==="light",On=document.createElement("div");return On.className=[`${wn}-popper`,Pn?"is-light":"is-dark",bn.popperClass||""].join(" "),hn=escapeHtml$1(hn),On.innerHTML=hn,On.style.zIndex=String(vn()),Fe==null||Fe.appendChild(On),On}function Cn(){const Pn=document.createElement("div");return Pn.className=`${wn}-popper__arrow`,Pn}function xn(){En&&En.update()}removePopper==null||removePopper(),removePopper=()=>{try{En&&En.destroy(),An&&(Fe==null||Fe.removeChild(An)),qe.removeEventListener("mouseenter",$n),qe.removeEventListener("mouseleave",Sn),kn==null||kn.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let En=null,$n=xn,Sn=removePopper;bn.enterable&&({onOpen:$n,onClose:Sn}=useDelayedToggle({showAfter:bn.showAfter,hideAfter:bn.hideAfter,open:xn,close:removePopper}));const An=_n();An.onmouseenter=$n,An.onmouseleave=Sn;const Tn=[];if(bn.offset&&Tn.push({name:"offset",options:{offset:[0,bn.offset]}}),bn.showArrow){const Pn=An.appendChild(Cn());Tn.push({name:"arrow",options:{element:Pn,padding:10}})}const Nn=bn.popperOptions||{};return En=yn(qe,An,{placement:bn.placement||"top",strategy:"fixed",...Nn,modifiers:Nn.modifiers?Tn.concat(Nn.modifiers):Tn}),qe.addEventListener("mouseenter",$n),qe.addEventListener("mouseleave",Sn),kn==null||kn.addEventListener("scroll",removePopper),En}function getCurrentColumns(Fe){return Fe.children?flatMap(Fe.children,getCurrentColumns):[Fe]}function getColSpan(Fe,qe){return Fe+qe.colSpan}const isFixedColumn=(Fe,qe,hn,vn)=>{let bn=0,wn=Fe;const kn=hn.states.columns.value;if(vn){const Cn=getCurrentColumns(vn[Fe]);bn=kn.slice(0,kn.indexOf(Cn[0])).reduce(getColSpan,0),wn=bn+Cn.reduce(getColSpan,0)-1}else bn=Fe;let _n;switch(qe){case"left":wn=kn.length-hn.states.rightFixedLeafColumnsLength.value&&(_n="right");break;default:wn=kn.length-hn.states.rightFixedLeafColumnsLength.value&&(_n="right")}return _n?{direction:_n,start:bn,after:wn}:{}},getFixedColumnsClass=(Fe,qe,hn,vn,bn,wn=0)=>{const kn=[],{direction:_n,start:Cn,after:xn}=isFixedColumn(qe,hn,vn,bn);if(_n){const En=_n==="left";kn.push(`${Fe}-fixed-column--${_n}`),En&&xn+wn===vn.states.fixedLeafColumnsLength.value-1?kn.push("is-last-column"):!En&&Cn-wn===vn.states.columns.value.length-vn.states.rightFixedLeafColumnsLength.value&&kn.push("is-first-column")}return kn};function getOffset(Fe,qe){return Fe+(qe.realWidth===null||Number.isNaN(qe.realWidth)?Number(qe.width):qe.realWidth)}const getFixedColumnOffset=(Fe,qe,hn,vn)=>{const{direction:bn,start:wn=0,after:kn=0}=isFixedColumn(Fe,qe,hn,vn);if(!bn)return;const _n={},Cn=bn==="left",xn=hn.states.columns.value;return Cn?_n.left=xn.slice(0,wn).reduce(getOffset,0):_n.right=xn.slice(kn+1).reverse().reduce(getOffset,0),_n},ensurePosition=(Fe,qe)=>{Fe&&(Number.isNaN(Fe[qe])||(Fe[qe]=`${Fe[qe]}px`))};function useExpand(Fe){const qe=getCurrentInstance(),hn=ref(!1),vn=ref([]);return{updateExpandRows:()=>{const Cn=Fe.data.value||[],xn=Fe.rowKey.value;if(hn.value)vn.value=Cn.slice();else if(xn){const En=getKeysMap(vn.value,xn);vn.value=Cn.reduce(($n,Sn)=>{const An=getRowIdentity(Sn,xn);return En[An]&&$n.push(Sn),$n},[])}else vn.value=[]},toggleRowExpansion:(Cn,xn)=>{toggleRowStatus(vn.value,Cn,xn)&&qe.emit("expand-change",Cn,vn.value.slice())},setExpandRowKeys:Cn=>{qe.store.assertRowKey();const xn=Fe.data.value||[],En=Fe.rowKey.value,$n=getKeysMap(xn,En);vn.value=Cn.reduce((Sn,An)=>{const Tn=$n[An];return Tn&&Sn.push(Tn.row),Sn},[])},isRowExpanded:Cn=>{const xn=Fe.rowKey.value;return xn?!!getKeysMap(vn.value,xn)[getRowIdentity(Cn,xn)]:vn.value.includes(Cn)},states:{expandRows:vn,defaultExpandAll:hn}}}function useCurrent(Fe){const qe=getCurrentInstance(),hn=ref(null),vn=ref(null),bn=xn=>{qe.store.assertRowKey(),hn.value=xn,kn(xn)},wn=()=>{hn.value=null},kn=xn=>{const{data:En,rowKey:$n}=Fe;let Sn=null;$n.value&&(Sn=(unref(En)||[]).find(An=>getRowIdentity(An,$n.value)===xn)),vn.value=Sn,qe.emit("current-change",vn.value,null)};return{setCurrentRowKey:bn,restoreCurrentRowKey:wn,setCurrentRowByKey:kn,updateCurrentRow:xn=>{const En=vn.value;if(xn&&xn!==En){vn.value=xn,qe.emit("current-change",vn.value,En);return}!xn&&En&&(vn.value=null,qe.emit("current-change",null,En))},updateCurrentRowData:()=>{const xn=Fe.rowKey.value,En=Fe.data.value||[],$n=vn.value;if(!En.includes($n)&&$n){if(xn){const Sn=getRowIdentity($n,xn);kn(Sn)}else vn.value=null;vn.value===null&&qe.emit("current-change",null,$n)}else hn.value&&(kn(hn.value),wn())},states:{_currentRowKey:hn,currentRow:vn}}}function useTree$2(Fe){const qe=ref([]),hn=ref({}),vn=ref(16),bn=ref(!1),wn=ref({}),kn=ref("hasChildren"),_n=ref("children"),Cn=getCurrentInstance(),xn=computed(()=>{if(!Fe.rowKey.value)return{};const On=Fe.data.value||[];return $n(On)}),En=computed(()=>{const On=Fe.rowKey.value,Rn=Object.keys(wn.value),In={};return Rn.length&&Rn.forEach(Mn=>{if(wn.value[Mn].length){const Bn={children:[]};wn.value[Mn].forEach(Dn=>{const Vn=getRowIdentity(Dn,On);Bn.children.push(Vn),Dn[kn.value]&&!In[Vn]&&(In[Vn]={children:[]})}),In[Mn]=Bn}}),In}),$n=On=>{const Rn=Fe.rowKey.value,In={};return walkTreeNode(On,(Mn,Bn,Dn)=>{const Vn=getRowIdentity(Mn,Rn);Array.isArray(Bn)?In[Vn]={children:Bn.map(Ln=>getRowIdentity(Ln,Rn)),level:Dn}:bn.value&&(In[Vn]={children:[],lazy:!0,level:Dn})},_n.value,kn.value),In},Sn=(On=!1,Rn=(In=>(In=Cn.store)==null?void 0:In.states.defaultExpandAll.value)())=>{var In;const Mn=xn.value,Bn=En.value,Dn=Object.keys(Mn),Vn={};if(Dn.length){const Ln=unref(hn),zn=[],Hn=(Kn,Un)=>{if(On)return qe.value?Rn||qe.value.includes(Un):!!(Rn||Kn!=null&&Kn.expanded);{const Gn=Rn||qe.value&&qe.value.includes(Un);return!!(Kn!=null&&Kn.expanded||Gn)}};Dn.forEach(Kn=>{const Un=Ln[Kn],Gn={...Mn[Kn]};if(Gn.expanded=Hn(Un,Kn),Gn.lazy){const{loaded:Wn=!1,loading:Yn=!1}=Un||{};Gn.loaded=!!Wn,Gn.loading=!!Yn,zn.push(Kn)}Vn[Kn]=Gn});const Fn=Object.keys(Bn);bn.value&&Fn.length&&zn.length&&Fn.forEach(Kn=>{const Un=Ln[Kn],Gn=Bn[Kn].children;if(zn.includes(Kn)){if(Vn[Kn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Vn[Kn].children=Gn}else{const{loaded:Wn=!1,loading:Yn=!1}=Un||{};Vn[Kn]={lazy:!0,loaded:!!Wn,loading:!!Yn,expanded:Hn(Un,Kn),children:Gn,level:""}}})}hn.value=Vn,(In=Cn.store)==null||In.updateTableScrollY()};watch(()=>qe.value,()=>{Sn(!0)}),watch(()=>xn.value,()=>{Sn()}),watch(()=>En.value,()=>{Sn()});const An=On=>{qe.value=On,Sn()},Tn=(On,Rn)=>{Cn.store.assertRowKey();const In=Fe.rowKey.value,Mn=getRowIdentity(On,In),Bn=Mn&&hn.value[Mn];if(Mn&&Bn&&"expanded"in Bn){const Dn=Bn.expanded;Rn=typeof Rn>"u"?!Bn.expanded:Rn,hn.value[Mn].expanded=Rn,Dn!==Rn&&Cn.emit("expand-change",On,Rn),Cn.store.updateTableScrollY()}},Nn=On=>{Cn.store.assertRowKey();const Rn=Fe.rowKey.value,In=getRowIdentity(On,Rn),Mn=hn.value[In];bn.value&&Mn&&"loaded"in Mn&&!Mn.loaded?Pn(On,In,Mn):Tn(On,void 0)},Pn=(On,Rn,In)=>{const{load:Mn}=Cn.props;Mn&&!hn.value[Rn].loaded&&(hn.value[Rn].loading=!0,Mn(On,In,Bn=>{if(!Array.isArray(Bn))throw new TypeError("[ElTable] data must be an array");hn.value[Rn].loading=!1,hn.value[Rn].loaded=!0,hn.value[Rn].expanded=!0,Bn.length&&(wn.value[Rn]=Bn),Cn.emit("expand-change",On,!0)}))};return{loadData:Pn,loadOrToggle:Nn,toggleTreeExpansion:Tn,updateTreeExpandKeys:An,updateTreeData:Sn,normalize:$n,states:{expandRowKeys:qe,treeData:hn,indent:vn,lazy:bn,lazyTreeNodeMap:wn,lazyColumnIdentifier:kn,childrenColumnName:_n}}}const sortData=(Fe,qe)=>{const hn=qe.sortingColumn;return!hn||typeof hn.sortable=="string"?Fe:orderBy$4(Fe,qe.sortProp,qe.sortOrder,hn.sortMethod,hn.sortBy)},doFlattenColumns=Fe=>{const qe=[];return Fe.forEach(hn=>{hn.children&&hn.children.length>0?qe.push.apply(qe,doFlattenColumns(hn.children)):qe.push(hn)}),qe};function useWatcher$1(){var Fe;const qe=getCurrentInstance(),{size:hn}=toRefs((Fe=qe.proxy)==null?void 0:Fe.$props),vn=ref(null),bn=ref([]),wn=ref([]),kn=ref(!1),_n=ref([]),Cn=ref([]),xn=ref([]),En=ref([]),$n=ref([]),Sn=ref([]),An=ref([]),Tn=ref([]),Nn=[],Pn=ref(0),On=ref(0),Rn=ref(0),In=ref(!1),Mn=ref([]),Bn=ref(!1),Dn=ref(!1),Vn=ref(null),Ln=ref({}),zn=ref(null),Hn=ref(null),Fn=ref(null),Kn=ref(null),Un=ref(null);watch(bn,()=>qe.state&&Xn(!1),{deep:!0});const Gn=()=>{if(!vn.value)throw new Error("[ElTable] prop row-key is required")},Wn=Fo=>{var $o;($o=Fo.children)==null||$o.forEach(Do=>{Do.fixed=Fo.fixed,Wn(Do)})},Yn=()=>{_n.value.forEach(Vo=>{Wn(Vo)}),En.value=_n.value.filter(Vo=>Vo.fixed===!0||Vo.fixed==="left"),$n.value=_n.value.filter(Vo=>Vo.fixed==="right"),En.value.length>0&&_n.value[0]&&_n.value[0].type==="selection"&&!_n.value[0].fixed&&(_n.value[0].fixed=!0,En.value.unshift(_n.value[0]));const Fo=_n.value.filter(Vo=>!Vo.fixed);Cn.value=[].concat(En.value).concat(Fo).concat($n.value);const $o=doFlattenColumns(Fo),Do=doFlattenColumns(En.value),No=doFlattenColumns($n.value);Pn.value=$o.length,On.value=Do.length,Rn.value=No.length,xn.value=[].concat(Do).concat($o).concat(No),kn.value=En.value.length>0||$n.value.length>0},Xn=(Fo,$o=!1)=>{Fo&&Yn(),$o?qe.state.doLayout():qe.state.debouncedUpdateLayout()},qn=Fo=>Mn.value.includes(Fo),jn=()=>{In.value=!1,Mn.value.length&&(Mn.value=[],qe.emit("selection-change",[]))},Jn=()=>{let Fo;if(vn.value){Fo=[];const $o=getKeysMap(Mn.value,vn.value),Do=getKeysMap(bn.value,vn.value);for(const No in $o)hasOwn($o,No)&&!Do[No]&&Fo.push($o[No].row)}else Fo=Mn.value.filter($o=>!bn.value.includes($o));if(Fo.length){const $o=Mn.value.filter(Do=>!Fo.includes(Do));Mn.value=$o,qe.emit("selection-change",$o.slice())}},Qn=()=>(Mn.value||[]).slice(),no=(Fo,$o=void 0,Do=!0)=>{if(toggleRowStatus(Mn.value,Fo,$o)){const Vo=(Mn.value||[]).slice();Do&&qe.emit("select",Vo,Fo),qe.emit("selection-change",Vo)}},so=()=>{var Fo,$o;const Do=Dn.value?!In.value:!(In.value||Mn.value.length);In.value=Do;let No=!1,Vo=0;const Eo=($o=(Fo=qe==null?void 0:qe.store)==null?void 0:Fo.states)==null?void 0:$o.rowKey.value;bn.value.forEach((rr,sr)=>{const ur=sr+Vo;Vn.value?Vn.value.call(null,rr,ur)&&toggleRowStatus(Mn.value,rr,Do)&&(No=!0):toggleRowStatus(Mn.value,rr,Do)&&(No=!0),Vo+=fo(getRowIdentity(rr,Eo))}),No&&qe.emit("selection-change",Mn.value?Mn.value.slice():[]),qe.emit("select-all",Mn.value)},co=()=>{const Fo=getKeysMap(Mn.value,vn.value);bn.value.forEach($o=>{const Do=getRowIdentity($o,vn.value),No=Fo[Do];No&&(Mn.value[No.index]=$o)})},mo=()=>{var Fo,$o,Do;if(((Fo=bn.value)==null?void 0:Fo.length)===0){In.value=!1;return}let No;vn.value&&(No=getKeysMap(Mn.value,vn.value));const Vo=function(ur){return No?!!No[getRowIdentity(ur,vn.value)]:Mn.value.includes(ur)};let Eo=!0,rr=0,sr=0;for(let ur=0,hr=(bn.value||[]).length;ur{var $o;if(!qe||!qe.store)return 0;const{treeData:Do}=qe.store.states;let No=0;const Vo=($o=Do.value[Fo])==null?void 0:$o.children;return Vo&&(No+=Vo.length,Vo.forEach(Eo=>{No+=fo(Eo)})),No},io=(Fo,$o)=>{Array.isArray(Fo)||(Fo=[Fo]);const Do={};return Fo.forEach(No=>{Ln.value[No.id]=$o,Do[No.columnKey||No.id]=$o}),Do},ao=(Fo,$o,Do)=>{Hn.value&&Hn.value!==Fo&&(Hn.value.order=null),Hn.value=Fo,Fn.value=$o,Kn.value=Do},go=()=>{let Fo=unref(wn);Object.keys(Ln.value).forEach($o=>{const Do=Ln.value[$o];if(!Do||Do.length===0)return;const No=getColumnById({columns:xn.value},$o);No&&No.filterMethod&&(Fo=Fo.filter(Vo=>Do.some(Eo=>No.filterMethod.call(null,Eo,Vo,No))))}),zn.value=Fo},yo=()=>{bn.value=sortData(zn.value,{sortingColumn:Hn.value,sortProp:Fn.value,sortOrder:Kn.value})},Bo=(Fo=void 0)=>{Fo&&Fo.filter||go(),yo()},ro=Fo=>{const{tableHeaderRef:$o}=qe.refs;if(!$o)return;const Do=Object.assign({},$o.filterPanels),No=Object.keys(Do);if(No.length)if(typeof Fo=="string"&&(Fo=[Fo]),Array.isArray(Fo)){const Vo=Fo.map(Eo=>getColumnByKey({columns:xn.value},Eo));No.forEach(Eo=>{const rr=Vo.find(sr=>sr.id===Eo);rr&&(rr.filteredValue=[])}),qe.store.commit("filterChange",{column:Vo,values:[],silent:!0,multi:!0})}else No.forEach(Vo=>{const Eo=xn.value.find(rr=>rr.id===Vo);Eo&&(Eo.filteredValue=[])}),Ln.value={},qe.store.commit("filterChange",{column:{},values:[],silent:!0})},eo=()=>{Hn.value&&(ao(null,null,null),qe.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:lo,toggleRowExpansion:ho,updateExpandRows:Io,states:Po,isRowExpanded:ko}=useExpand({data:bn,rowKey:vn}),{updateTreeExpandKeys:xo,toggleTreeExpansion:Ao,updateTreeData:vo,loadOrToggle:qo,states:jo}=useTree$2({data:bn,rowKey:vn}),{updateCurrentRowData:Ko,updateCurrentRow:bo,setCurrentRowKey:wo,states:zo}=useCurrent({data:bn,rowKey:vn});return{assertRowKey:Gn,updateColumns:Yn,scheduleLayout:Xn,isSelected:qn,clearSelection:jn,cleanSelection:Jn,getSelectionRows:Qn,toggleRowSelection:no,_toggleAllSelection:so,toggleAllSelection:null,updateSelectionByRowKey:co,updateAllSelected:mo,updateFilters:io,updateCurrentRow:bo,updateSort:ao,execFilter:go,execSort:yo,execQuery:Bo,clearFilter:ro,clearSort:eo,toggleRowExpansion:ho,setExpandRowKeysAdapter:Fo=>{lo(Fo),xo(Fo)},setCurrentRowKey:wo,toggleRowExpansionAdapter:(Fo,$o)=>{xn.value.some(({type:No})=>No==="expand")?ho(Fo,$o):Ao(Fo,$o)},isRowExpanded:ko,updateExpandRows:Io,updateCurrentRowData:Ko,loadOrToggle:qo,updateTreeData:vo,states:{tableSize:hn,rowKey:vn,data:bn,_data:wn,isComplex:kn,_columns:_n,originColumns:Cn,columns:xn,fixedColumns:En,rightFixedColumns:$n,leafColumns:Sn,fixedLeafColumns:An,rightFixedLeafColumns:Tn,updateOrderFns:Nn,leafColumnsLength:Pn,fixedLeafColumnsLength:On,rightFixedLeafColumnsLength:Rn,isAllSelected:In,selection:Mn,reserveSelection:Bn,selectOnIndeterminate:Dn,selectable:Vn,filters:Ln,filteredData:zn,sortingColumn:Hn,sortProp:Fn,sortOrder:Kn,hoverRow:Un,...Po,...jo,...zo}}}function replaceColumn(Fe,qe){return Fe.map(hn=>{var vn;return hn.id===qe.id?qe:((vn=hn.children)!=null&&vn.length&&(hn.children=replaceColumn(hn.children,qe)),hn)})}function sortColumn(Fe){Fe.forEach(qe=>{var hn,vn;qe.no=(hn=qe.getColumnIndex)==null?void 0:hn.call(qe),(vn=qe.children)!=null&&vn.length&&sortColumn(qe.children)}),Fe.sort((qe,hn)=>qe.no-hn.no)}function useStore(){const Fe=getCurrentInstance(),qe=useWatcher$1();return{ns:useNamespace("table"),...qe,mutations:{setData(kn,_n){const Cn=unref(kn._data)!==_n;kn.data.value=_n,kn._data.value=_n,Fe.store.execQuery(),Fe.store.updateCurrentRowData(),Fe.store.updateExpandRows(),Fe.store.updateTreeData(Fe.store.states.defaultExpandAll.value),unref(kn.reserveSelection)?(Fe.store.assertRowKey(),Fe.store.updateSelectionByRowKey()):Cn?Fe.store.clearSelection():Fe.store.cleanSelection(),Fe.store.updateAllSelected(),Fe.$ready&&Fe.store.scheduleLayout()},insertColumn(kn,_n,Cn,xn){const En=unref(kn._columns);let $n=[];Cn?(Cn&&!Cn.children&&(Cn.children=[]),Cn.children.push(_n),$n=replaceColumn(En,Cn)):(En.push(_n),$n=En),sortColumn($n),kn._columns.value=$n,kn.updateOrderFns.push(xn),_n.type==="selection"&&(kn.selectable.value=_n.selectable,kn.reserveSelection.value=_n.reserveSelection),Fe.$ready&&(Fe.store.updateColumns(),Fe.store.scheduleLayout())},updateColumnOrder(kn,_n){var Cn;((Cn=_n.getColumnIndex)==null?void 0:Cn.call(_n))!==_n.no&&(sortColumn(kn._columns.value),Fe.$ready&&Fe.store.updateColumns())},removeColumn(kn,_n,Cn,xn){const En=unref(kn._columns)||[];if(Cn)Cn.children.splice(Cn.children.findIndex(Sn=>Sn.id===_n.id),1),nextTick(()=>{var Sn;((Sn=Cn.children)==null?void 0:Sn.length)===0&&delete Cn.children}),kn._columns.value=replaceColumn(En,Cn);else{const Sn=En.indexOf(_n);Sn>-1&&(En.splice(Sn,1),kn._columns.value=En)}const $n=kn.updateOrderFns.indexOf(xn);$n>-1&&kn.updateOrderFns.splice($n,1),Fe.$ready&&(Fe.store.updateColumns(),Fe.store.scheduleLayout())},sort(kn,_n){const{prop:Cn,order:xn,init:En}=_n;if(Cn){const $n=unref(kn.columns).find(Sn=>Sn.property===Cn);$n&&($n.order=xn,Fe.store.updateSort($n,Cn,xn),Fe.store.commit("changeSortCondition",{init:En}))}},changeSortCondition(kn,_n){const{sortingColumn:Cn,sortProp:xn,sortOrder:En}=kn,$n=unref(Cn),Sn=unref(xn),An=unref(En);An===null&&(kn.sortingColumn.value=null,kn.sortProp.value=null);const Tn={filter:!0};Fe.store.execQuery(Tn),(!_n||!(_n.silent||_n.init))&&Fe.emit("sort-change",{column:$n,prop:Sn,order:An}),Fe.store.updateTableScrollY()},filterChange(kn,_n){const{column:Cn,values:xn,silent:En}=_n,$n=Fe.store.updateFilters(Cn,xn);Fe.store.execQuery(),En||Fe.emit("filter-change",$n),Fe.store.updateTableScrollY()},toggleAllSelection(){Fe.store.toggleAllSelection()},rowSelectedChanged(kn,_n){Fe.store.toggleRowSelection(_n),Fe.store.updateAllSelected()},setHoverRow(kn,_n){kn.hoverRow.value=_n},setCurrentRow(kn,_n){Fe.store.updateCurrentRow(_n)}},commit:function(kn,..._n){const Cn=Fe.store.mutations;if(Cn[kn])Cn[kn].apply(Fe,[Fe.store.states].concat(_n));else throw new Error(`Action not found: ${kn}`)},updateTableScrollY:function(){nextTick(()=>Fe.layout.updateScrollY.apply(Fe.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(Fe,qe){if(!Fe)throw new Error("Table is required.");const hn=useStore();return hn.toggleAllSelection=debounce$3(hn._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(vn=>{handleValue(getArrKeysValue(qe,vn),vn,hn)}),proxyTableProps(hn,qe),hn}function proxyTableProps(Fe,qe){Object.keys(InitialStateMap).forEach(hn=>{watch(()=>getArrKeysValue(qe,hn),vn=>{handleValue(vn,hn,Fe)})})}function handleValue(Fe,qe,hn){let vn=Fe,bn=InitialStateMap[qe];typeof InitialStateMap[qe]=="object"&&(bn=bn.key,vn=vn||InitialStateMap[qe].default),hn.states[bn].value=vn}function getArrKeysValue(Fe,qe){if(qe.includes(".")){const hn=qe.split(".");let vn=Fe;return hn.forEach(bn=>{vn=vn[bn]}),vn}else return Fe[qe]}class TableLayout{constructor(qe){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 hn in qe)hasOwn(qe,hn)&&(isRef(this[hn])?this[hn].value=qe[hn]:this[hn]=qe[hn]);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 hn=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(hn!=null&&hn.wrapRef)){let vn=!0;const bn=this.scrollY.value;return vn=hn.wrapRef.scrollHeight>hn.wrapRef.clientHeight,this.scrollY.value=vn,bn!==vn}return!1}setHeight(qe,hn="height"){if(!isClient$1)return;const vn=this.table.vnode.el;if(qe=parseHeight(qe),this.height.value=Number(qe),!vn&&(qe||qe===0))return nextTick(()=>this.setHeight(qe,hn));typeof qe=="number"?(vn.style[hn]=`${qe}px`,this.updateElsHeight()):typeof qe=="string"&&(vn.style[hn]=qe,this.updateElsHeight())}setMaxHeight(qe){this.setHeight(qe,"max-height")}getFlattenColumns(){const qe=[];return this.table.store.states.columns.value.forEach(vn=>{vn.isColumnGroup?qe.push.apply(qe,vn.columns):qe.push(vn)}),qe}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(qe){if(!qe)return!0;let hn=qe;for(;hn.tagName!=="DIV";){if(getComputedStyle(hn).display==="none")return!0;hn=hn.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const qe=this.fit,hn=this.table.vnode.el.clientWidth;let vn=0;const bn=this.getFlattenColumns(),wn=bn.filter(Cn=>typeof Cn.width!="number");if(bn.forEach(Cn=>{typeof Cn.width=="number"&&Cn.realWidth&&(Cn.realWidth=null)}),wn.length>0&&qe){if(bn.forEach(Cn=>{vn+=Number(Cn.width||Cn.minWidth||80)}),vn<=hn){this.scrollX.value=!1;const Cn=hn-vn;if(wn.length===1)wn[0].realWidth=Number(wn[0].minWidth||80)+Cn;else{const xn=wn.reduce((Sn,An)=>Sn+Number(An.minWidth||80),0),En=Cn/xn;let $n=0;wn.forEach((Sn,An)=>{if(An===0)return;const Tn=Math.floor(Number(Sn.minWidth||80)*En);$n+=Tn,Sn.realWidth=Number(Sn.minWidth||80)+Tn}),wn[0].realWidth=Number(wn[0].minWidth||80)+Cn-$n}}else this.scrollX.value=!0,wn.forEach(Cn=>{Cn.realWidth=Number(Cn.minWidth)});this.bodyWidth.value=Math.max(vn,hn),this.table.state.resizeState.value.width=this.bodyWidth.value}else bn.forEach(Cn=>{!Cn.width&&!Cn.minWidth?Cn.realWidth=80:Cn.realWidth=Number(Cn.width||Cn.minWidth),vn+=Cn.realWidth}),this.scrollX.value=vn>hn,this.bodyWidth.value=vn;const kn=this.store.states.fixedColumns.value;if(kn.length>0){let Cn=0;kn.forEach(xn=>{Cn+=Number(xn.realWidth||xn.width)}),this.fixedWidth.value=Cn}const _n=this.store.states.rightFixedColumns.value;if(_n.length>0){let Cn=0;_n.forEach(xn=>{Cn+=Number(xn.realWidth||xn.width)}),this.rightFixedWidth.value=Cn}this.notifyObservers("columns")}addObserver(qe){this.observers.push(qe)}removeObserver(qe){const hn=this.observers.indexOf(qe);hn!==-1&&this.observers.splice(hn,1)}notifyObservers(qe){this.observers.forEach(vn=>{var bn,wn;switch(qe){case"columns":(bn=vn.state)==null||bn.onColumnsChange(this);break;case"scrollable":(wn=vn.state)==null||wn.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${qe}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$E=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(Fe){const qe=getCurrentInstance(),{t:hn}=useLocale(),vn=useNamespace("table-filter"),bn=qe==null?void 0:qe.parent;bn.filterPanels.value[Fe.column.id]||(bn.filterPanels.value[Fe.column.id]=qe);const wn=ref(!1),kn=ref(null),_n=computed(()=>Fe.column&&Fe.column.filters),Cn=computed({get:()=>{var Mn;return(((Mn=Fe.column)==null?void 0:Mn.filteredValue)||[])[0]},set:Mn=>{xn.value&&(typeof Mn<"u"&&Mn!==null?xn.value.splice(0,1,Mn):xn.value.splice(0,1))}}),xn=computed({get(){return Fe.column?Fe.column.filteredValue||[]:[]},set(Mn){Fe.column&&Fe.upDataColumn("filteredValue",Mn)}}),En=computed(()=>Fe.column?Fe.column.filterMultiple:!0),$n=Mn=>Mn.value===Cn.value,Sn=()=>{wn.value=!1},An=Mn=>{Mn.stopPropagation(),wn.value=!wn.value},Tn=()=>{wn.value=!1},Nn=()=>{Rn(xn.value),Sn()},Pn=()=>{xn.value=[],Rn(xn.value),Sn()},On=Mn=>{Cn.value=Mn,Rn(typeof Mn<"u"&&Mn!==null?xn.value:[]),Sn()},Rn=Mn=>{Fe.store.commit("filterChange",{column:Fe.column,values:Mn}),Fe.store.updateAllSelected()};watch(wn,Mn=>{Fe.column&&Fe.upDataColumn("filterOpened",Mn)},{immediate:!0});const In=computed(()=>{var Mn,Bn;return(Bn=(Mn=kn.value)==null?void 0:Mn.popperRef)==null?void 0:Bn.contentRef});return{tooltipVisible:wn,multiple:En,filteredValue:xn,filterValue:Cn,filters:_n,handleConfirm:Nn,handleReset:Pn,handleSelect:On,isActive:$n,t:hn,ns:vn,showFilterPanel:An,hideFilterPanel:Tn,popperPaneRef:In,tooltip:kn}}}),_hoisted_1$m={key:0},_hoisted_2$g=["disabled"],_hoisted_3$8=["label","onClick"];function _sfc_render$5(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-checkbox"),_n=resolveComponent("el-checkbox-group"),Cn=resolveComponent("el-scrollbar"),xn=resolveComponent("arrow-up"),En=resolveComponent("arrow-down"),$n=resolveComponent("el-icon"),Sn=resolveComponent("el-tooltip"),An=resolveDirective("click-outside");return openBlock(),createBlock(Sn,{ref:"tooltip",visible:Fe.tooltipVisible,offset:0,placement:Fe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":Fe.ns.b(),persistent:""},{content:withCtx(()=>[Fe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$m,[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("content"))},[createVNode(Cn,{"wrap-class":Fe.ns.e("wrap")},{default:withCtx(()=>[createVNode(_n,{modelValue:Fe.filteredValue,"onUpdate:modelValue":qe[0]||(qe[0]=Tn=>Fe.filteredValue=Tn),class:normalizeClass(Fe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.filters,Tn=>(openBlock(),createBlock(kn,{key:Tn.value,label:Tn.value},{default:withCtx(()=>[createTextVNode(toDisplayString(Tn.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(Fe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[Fe.ns.is("disabled")]:Fe.filteredValue.length===0}),disabled:Fe.filteredValue.length===0,type:"button",onClick:qe[1]||(qe[1]=(...Tn)=>Fe.handleConfirm&&Fe.handleConfirm(...Tn))},toDisplayString(Fe.t("el.table.confirmFilter")),11,_hoisted_2$g),createBaseVNode("button",{type:"button",onClick:qe[2]||(qe[2]=(...Tn)=>Fe.handleReset&&Fe.handleReset(...Tn))},toDisplayString(Fe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(Fe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([Fe.ns.e("list-item"),{[Fe.ns.is("active")]:Fe.filterValue===void 0||Fe.filterValue===null}]),onClick:qe[3]||(qe[3]=Tn=>Fe.handleSelect(null))},toDisplayString(Fe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.filters,Tn=>(openBlock(),createElementBlock("li",{key:Tn.value,class:normalizeClass([Fe.ns.e("list-item"),Fe.ns.is("active",Fe.isActive(Tn))]),label:Tn.value,onClick:Nn=>Fe.handleSelect(Tn.value)},toDisplayString(Tn.text),11,_hoisted_3$8))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${Fe.ns.namespace.value}-table__column-filter-trigger`,`${Fe.ns.namespace.value}-none-outline`]),onClick:qe[4]||(qe[4]=(...Tn)=>Fe.showFilterPanel&&Fe.showFilterPanel(...Tn))},[createVNode($n,null,{default:withCtx(()=>[Fe.column.filterOpened?(openBlock(),createBlock(xn,{key:0})):(openBlock(),createBlock(En,{key:1}))]),_:1})],2)),[[An,Fe.hideFilterPanel,Fe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$2(_sfc_main$E,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver(Fe){const qe=getCurrentInstance();onBeforeMount(()=>{hn.value.addObserver(qe)}),onMounted(()=>{vn(hn.value),bn(hn.value)}),onUpdated(()=>{vn(hn.value),bn(hn.value)}),onUnmounted(()=>{hn.value.removeObserver(qe)});const hn=computed(()=>{const wn=Fe.layout;if(!wn)throw new Error("Can not find table layout.");return wn}),vn=wn=>{var kn;const _n=((kn=Fe.vnode.el)==null?void 0:kn.querySelectorAll("colgroup > col"))||[];if(!_n.length)return;const Cn=wn.getFlattenColumns(),xn={};Cn.forEach(En=>{xn[En.id]=En});for(let En=0,$n=_n.length;En<$n;En++){const Sn=_n[En],An=Sn.getAttribute("name"),Tn=xn[An];Tn&&Sn.setAttribute("width",Tn.realWidth||Tn.width)}},bn=wn=>{var kn,_n;const Cn=((kn=Fe.vnode.el)==null?void 0:kn.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let En=0,$n=Cn.length;En<$n;En++)Cn[En].setAttribute("width",wn.scrollY.value?wn.gutterWidth:"0");const xn=((_n=Fe.vnode.el)==null?void 0:_n.querySelectorAll("th.gutter"))||[];for(let En=0,$n=xn.length;En<$n;En++){const Sn=xn[En];Sn.style.width=wn.scrollY.value?`${wn.gutterWidth}px`:"0",Sn.style.display=wn.scrollY.value?"":"none"}};return{tableLayout:hn.value,onColumnsChange:vn,onScrollableChange:bn}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(Fe,qe){const hn=getCurrentInstance(),vn=inject(TABLE_INJECTION_KEY),bn=Nn=>{Nn.stopPropagation()},wn=(Nn,Pn)=>{!Pn.filters&&Pn.sortable?Tn(Nn,Pn,!1):Pn.filterable&&!Pn.sortable&&bn(Nn),vn==null||vn.emit("header-click",Pn,Nn)},kn=(Nn,Pn)=>{vn==null||vn.emit("header-contextmenu",Pn,Nn)},_n=ref(null),Cn=ref(!1),xn=ref({}),En=(Nn,Pn)=>{if(isClient$1&&!(Pn.children&&Pn.children.length>0)&&_n.value&&Fe.border){Cn.value=!0;const On=vn;qe("set-drag-visible",!0);const In=(On==null?void 0:On.vnode.el).getBoundingClientRect().left,Mn=hn.vnode.el.querySelector(`th.${Pn.id}`),Bn=Mn.getBoundingClientRect(),Dn=Bn.left-In+30;addClass$2(Mn,"noclick"),xn.value={startMouseLeft:Nn.clientX,startLeft:Bn.right-In,startColumnLeft:Bn.left-In,tableLeft:In};const Vn=On==null?void 0:On.refs.resizeProxy;Vn.style.left=`${xn.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Ln=Hn=>{const Fn=Hn.clientX-xn.value.startMouseLeft,Kn=xn.value.startLeft+Fn;Vn.style.left=`${Math.max(Dn,Kn)}px`},zn=()=>{if(Cn.value){const{startColumnLeft:Hn,startLeft:Fn}=xn.value,Un=Number.parseInt(Vn.style.left,10)-Hn;Pn.width=Pn.realWidth=Un,On==null||On.emit("header-dragend",Pn.width,Fn-Hn,Pn,Nn),requestAnimationFrame(()=>{Fe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",Cn.value=!1,_n.value=null,xn.value={},qe("set-drag-visible",!1)}document.removeEventListener("mousemove",Ln),document.removeEventListener("mouseup",zn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass$2(Mn,"noclick")},0)};document.addEventListener("mousemove",Ln),document.addEventListener("mouseup",zn)}},$n=(Nn,Pn)=>{if(Pn.children&&Pn.children.length>0)return;const On=Nn.target;if(!isElement$4(On))return;const Rn=On==null?void 0:On.closest("th");if(!(!Pn||!Pn.resizable)&&!Cn.value&&Fe.border){const In=Rn.getBoundingClientRect(),Mn=document.body.style;In.width>12&&In.right-Nn.pageX<8?(Mn.cursor="col-resize",hasClass$1(Rn,"is-sortable")&&(Rn.style.cursor="col-resize"),_n.value=Pn):Cn.value||(Mn.cursor="",hasClass$1(Rn,"is-sortable")&&(Rn.style.cursor="pointer"),_n.value=null)}},Sn=()=>{isClient$1&&(document.body.style.cursor="")},An=({order:Nn,sortOrders:Pn})=>{if(Nn==="")return Pn[0];const On=Pn.indexOf(Nn||null);return Pn[On>Pn.length-2?0:On+1]},Tn=(Nn,Pn,On)=>{var Rn;Nn.stopPropagation();const In=Pn.order===On?null:On||An(Pn),Mn=(Rn=Nn.target)==null?void 0:Rn.closest("th");if(Mn&&hasClass$1(Mn,"noclick")){removeClass$2(Mn,"noclick");return}if(!Pn.sortable)return;const Bn=Fe.store.states;let Dn=Bn.sortProp.value,Vn;const Ln=Bn.sortingColumn.value;(Ln!==Pn||Ln===Pn&&Ln.order===null)&&(Ln&&(Ln.order=null),Bn.sortingColumn.value=Pn,Dn=Pn.property),In?Vn=Pn.order=In:Vn=Pn.order=null,Bn.sortProp.value=Dn,Bn.sortOrder.value=Vn,vn==null||vn.store.commit("changeSortCondition")};return{handleHeaderClick:wn,handleHeaderContextMenu:kn,handleMouseDown:En,handleMouseMove:$n,handleMouseOut:Sn,handleSortClick:Tn,handleFilterClick:bn}}function useStyle$2(Fe){const qe=inject(TABLE_INJECTION_KEY),hn=useNamespace("table");return{getHeaderRowStyle:_n=>{const Cn=qe==null?void 0:qe.props.headerRowStyle;return typeof Cn=="function"?Cn.call(null,{rowIndex:_n}):Cn},getHeaderRowClass:_n=>{const Cn=[],xn=qe==null?void 0:qe.props.headerRowClassName;return typeof xn=="string"?Cn.push(xn):typeof xn=="function"&&Cn.push(xn.call(null,{rowIndex:_n})),Cn.join(" ")},getHeaderCellStyle:(_n,Cn,xn,En)=>{var $n;let Sn=($n=qe==null?void 0:qe.props.headerCellStyle)!=null?$n:{};typeof Sn=="function"&&(Sn=Sn.call(null,{rowIndex:_n,columnIndex:Cn,row:xn,column:En}));const An=getFixedColumnOffset(Cn,En.fixed,Fe.store,xn);return ensurePosition(An,"left"),ensurePosition(An,"right"),Object.assign({},Sn,An)},getHeaderCellClass:(_n,Cn,xn,En)=>{const $n=getFixedColumnsClass(hn.b(),Cn,En.fixed,Fe.store,xn),Sn=[En.id,En.order,En.headerAlign,En.className,En.labelClassName,...$n];En.children||Sn.push("is-leaf"),En.sortable&&Sn.push("is-sortable");const An=qe==null?void 0:qe.props.headerCellClassName;return typeof An=="string"?Sn.push(An):typeof An=="function"&&Sn.push(An.call(null,{rowIndex:_n,columnIndex:Cn,row:xn,column:En})),Sn.push(hn.e("cell")),Sn.filter(Tn=>!!Tn).join(" ")}}}const getAllColumns$1=Fe=>{const qe=[];return Fe.forEach(hn=>{hn.children?(qe.push(hn),qe.push.apply(qe,getAllColumns$1(hn.children))):qe.push(hn)}),qe},convertToRows$2=Fe=>{let qe=1;const hn=(wn,kn)=>{if(kn&&(wn.level=kn.level+1,qe{hn(Cn,wn),_n+=Cn.colSpan}),wn.colSpan=_n}else wn.colSpan=1};Fe.forEach(wn=>{wn.level=1,hn(wn,void 0)});const vn=[];for(let wn=0;wn{wn.children?(wn.rowSpan=1,wn.children.forEach(kn=>kn.isSubColumn=!0)):wn.rowSpan=qe-wn.level+1,vn[wn.level-1].push(wn)}),vn};function useUtils$1(Fe){const qe=inject(TABLE_INJECTION_KEY),hn=computed(()=>convertToRows$2(Fe.store.states.originColumns.value));return{isGroup:computed(()=>{const wn=hn.value.length>1;return wn&&qe&&(qe.state.isGroup.value=!0),wn}),toggleAllSelection:wn=>{wn.stopPropagation(),qe==null||qe.store.commit("toggleAllSelection")},columnRows:hn}}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(Fe,{emit:qe}){const hn=getCurrentInstance(),vn=inject(TABLE_INJECTION_KEY),bn=useNamespace("table"),wn=ref({}),{onColumnsChange:kn,onScrollableChange:_n}=useLayoutObserver(vn);onMounted(async()=>{await nextTick(),await nextTick();const{prop:Dn,order:Vn}=Fe.defaultSort;vn==null||vn.store.commit("sort",{prop:Dn,order:Vn,init:!0})});const{handleHeaderClick:Cn,handleHeaderContextMenu:xn,handleMouseDown:En,handleMouseMove:$n,handleMouseOut:Sn,handleSortClick:An,handleFilterClick:Tn}=useEvent(Fe,qe),{getHeaderRowStyle:Nn,getHeaderRowClass:Pn,getHeaderCellStyle:On,getHeaderCellClass:Rn}=useStyle$2(Fe),{isGroup:In,toggleAllSelection:Mn,columnRows:Bn}=useUtils$1(Fe);return hn.state={onColumnsChange:kn,onScrollableChange:_n},hn.filterPanels=wn,{ns:bn,filterPanels:wn,onColumnsChange:kn,onScrollableChange:_n,columnRows:Bn,getHeaderRowClass:Pn,getHeaderRowStyle:Nn,getHeaderCellClass:Rn,getHeaderCellStyle:On,handleHeaderClick:Cn,handleHeaderContextMenu:xn,handleMouseDown:En,handleMouseMove:$n,handleMouseOut:Sn,handleSortClick:An,handleFilterClick:Tn,isGroup:In,toggleAllSelection:Mn}},render(){const{ns:Fe,isGroup:qe,columnRows:hn,getHeaderCellStyle:vn,getHeaderCellClass:bn,getHeaderRowClass:wn,getHeaderRowStyle:kn,handleHeaderClick:_n,handleHeaderContextMenu:Cn,handleMouseDown:xn,handleMouseMove:En,handleSortClick:$n,handleMouseOut:Sn,store:An,$parent:Tn}=this;let Nn=1;return h$6("thead",{class:{[Fe.is("group")]:qe}},hn.map((Pn,On)=>h$6("tr",{class:wn(On),key:On,style:kn(On)},Pn.map((Rn,In)=>(Rn.rowSpan>Nn&&(Nn=Rn.rowSpan),h$6("th",{class:bn(On,In,Pn,Rn),colspan:Rn.colSpan,key:`${Rn.id}-thead`,rowspan:Rn.rowSpan,style:vn(On,In,Pn,Rn),onClick:Mn=>_n(Mn,Rn),onContextmenu:Mn=>Cn(Mn,Rn),onMousedown:Mn=>xn(Mn,Rn),onMousemove:Mn=>En(Mn,Rn),onMouseout:Sn},[h$6("div",{class:["cell",Rn.filteredValue&&Rn.filteredValue.length>0?"highlight":""]},[Rn.renderHeader?Rn.renderHeader({column:Rn,$index:In,store:An,_self:Tn}):Rn.label,Rn.sortable&&h$6("span",{onClick:Mn=>$n(Mn,Rn),class:"caret-wrapper"},[h$6("i",{onClick:Mn=>$n(Mn,Rn,"ascending"),class:"sort-caret ascending"}),h$6("i",{onClick:Mn=>$n(Mn,Rn,"descending"),class:"sort-caret descending"})]),Rn.filterable&&h$6(FilterPanel,{store:An,placement:Rn.filterPlacement||"bottom-start",column:Rn,upDataColumn:(Mn,Bn)=>{Rn[Mn]=Bn}})])]))))))}});function useEvents(Fe){const qe=inject(TABLE_INJECTION_KEY),hn=ref(""),vn=ref(h$6("div")),{nextZIndex:bn}=useZIndex(),wn=(Tn,Nn,Pn)=>{var On;const Rn=qe,In=getCell(Tn);let Mn;const Bn=(On=Rn==null?void 0:Rn.vnode.el)==null?void 0:On.dataset.prefix;In&&(Mn=getColumnByCell({columns:Fe.store.states.columns.value},In,Bn),Mn&&(Rn==null||Rn.emit(`cell-${Pn}`,Nn,Mn,In,Tn))),Rn==null||Rn.emit(`row-${Pn}`,Nn,Mn,Tn)},kn=(Tn,Nn)=>{wn(Tn,Nn,"dblclick")},_n=(Tn,Nn)=>{Fe.store.commit("setCurrentRow",Nn),wn(Tn,Nn,"click")},Cn=(Tn,Nn)=>{wn(Tn,Nn,"contextmenu")},xn=debounce$3(Tn=>{Fe.store.commit("setHoverRow",Tn)},30),En=debounce$3(()=>{Fe.store.commit("setHoverRow",null)},30),$n=Tn=>{const Nn=window.getComputedStyle(Tn,null),Pn=Number.parseInt(Nn.paddingLeft,10)||0,On=Number.parseInt(Nn.paddingRight,10)||0,Rn=Number.parseInt(Nn.paddingTop,10)||0,In=Number.parseInt(Nn.paddingBottom,10)||0;return{left:Pn,right:On,top:Rn,bottom:In}};return{handleDoubleClick:kn,handleClick:_n,handleContextMenu:Cn,handleMouseEnter:xn,handleMouseLeave:En,handleCellMouseEnter:(Tn,Nn,Pn)=>{var On;const Rn=qe,In=getCell(Tn),Mn=(On=Rn==null?void 0:Rn.vnode.el)==null?void 0:On.dataset.prefix;if(In){const Xn=getColumnByCell({columns:Fe.store.states.columns.value},In,Mn),qn=Rn.hoverState={cell:In,column:Xn,row:Nn};Rn==null||Rn.emit("cell-mouse-enter",qn.row,qn.column,qn.cell,Tn)}if(!Pn)return;const Bn=Tn.target.querySelector(".cell");if(!(hasClass$1(Bn,`${Mn}-tooltip`)&&Bn.childNodes.length))return;const Dn=document.createRange();Dn.setStart(Bn,0),Dn.setEnd(Bn,Bn.childNodes.length);let Vn=Dn.getBoundingClientRect().width,Ln=Dn.getBoundingClientRect().height;Vn-Math.floor(Vn)<.001&&(Vn=Math.floor(Vn)),Ln-Math.floor(Ln)<.001&&(Ln=Math.floor(Ln));const{top:Fn,left:Kn,right:Un,bottom:Gn}=$n(Bn),Wn=Kn+Un,Yn=Fn+Gn;(Vn+Wn>Bn.offsetWidth||Ln+Yn>Bn.offsetHeight||Bn.scrollWidth>Bn.offsetWidth)&&createTablePopper(qe==null?void 0:qe.refs.tableWrapper,In,In.innerText||In.textContent,bn,Pn)},handleCellMouseLeave:Tn=>{if(!getCell(Tn))return;const Pn=qe==null?void 0:qe.hoverState;qe==null||qe.emit("cell-mouse-leave",Pn==null?void 0:Pn.row,Pn==null?void 0:Pn.column,Pn==null?void 0:Pn.cell,Tn)},tooltipContent:hn,tooltipTrigger:vn}}function useStyles$1(Fe){const qe=inject(TABLE_INJECTION_KEY),hn=useNamespace("table");return{getRowStyle:(xn,En)=>{const $n=qe==null?void 0:qe.props.rowStyle;return typeof $n=="function"?$n.call(null,{row:xn,rowIndex:En}):$n||null},getRowClass:(xn,En)=>{const $n=[hn.e("row")];qe!=null&&qe.props.highlightCurrentRow&&xn===Fe.store.states.currentRow.value&&$n.push("current-row"),Fe.stripe&&En%2===1&&$n.push(hn.em("row","striped"));const Sn=qe==null?void 0:qe.props.rowClassName;return typeof Sn=="string"?$n.push(Sn):typeof Sn=="function"&&$n.push(Sn.call(null,{row:xn,rowIndex:En})),$n},getCellStyle:(xn,En,$n,Sn)=>{const An=qe==null?void 0:qe.props.cellStyle;let Tn=An??{};typeof An=="function"&&(Tn=An.call(null,{rowIndex:xn,columnIndex:En,row:$n,column:Sn}));const Nn=getFixedColumnOffset(En,Fe==null?void 0:Fe.fixed,Fe.store);return ensurePosition(Nn,"left"),ensurePosition(Nn,"right"),Object.assign({},Tn,Nn)},getCellClass:(xn,En,$n,Sn,An)=>{const Tn=getFixedColumnsClass(hn.b(),En,Fe==null?void 0:Fe.fixed,Fe.store,void 0,An),Nn=[Sn.id,Sn.align,Sn.className,...Tn],Pn=qe==null?void 0:qe.props.cellClassName;return typeof Pn=="string"?Nn.push(Pn):typeof Pn=="function"&&Nn.push(Pn.call(null,{rowIndex:xn,columnIndex:En,row:$n,column:Sn})),Nn.push(hn.e("cell")),Nn.filter(On=>!!On).join(" ")},getSpan:(xn,En,$n,Sn)=>{let An=1,Tn=1;const Nn=qe==null?void 0:qe.props.spanMethod;if(typeof Nn=="function"){const Pn=Nn({row:xn,column:En,rowIndex:$n,columnIndex:Sn});Array.isArray(Pn)?(An=Pn[0],Tn=Pn[1]):typeof Pn=="object"&&(An=Pn.rowspan,Tn=Pn.colspan)}return{rowspan:An,colspan:Tn}},getColspanRealWidth:(xn,En,$n)=>{if(En<1)return xn[$n].realWidth;const Sn=xn.map(({realWidth:An,width:Tn})=>An||Tn).slice($n,$n+En);return Number(Sn.reduce((An,Tn)=>Number(An)+Number(Tn),-1))}}}function useRender$1(Fe){const qe=inject(TABLE_INJECTION_KEY),hn=useNamespace("table"),{handleDoubleClick:vn,handleClick:bn,handleContextMenu:wn,handleMouseEnter:kn,handleMouseLeave:_n,handleCellMouseEnter:Cn,handleCellMouseLeave:xn,tooltipContent:En,tooltipTrigger:$n}=useEvents(Fe),{getRowStyle:Sn,getRowClass:An,getCellStyle:Tn,getCellClass:Nn,getSpan:Pn,getColspanRealWidth:On}=useStyles$1(Fe),Rn=computed(()=>Fe.store.states.columns.value.findIndex(({type:Vn})=>Vn==="default")),In=(Vn,Ln)=>{const zn=qe.props.rowKey;return zn?getRowIdentity(Vn,zn):Ln},Mn=(Vn,Ln,zn,Hn=!1)=>{const{tooltipEffect:Fn,tooltipOptions:Kn,store:Un}=Fe,{indent:Gn,columns:Wn}=Un.states,Yn=An(Vn,Ln);let Xn=!0;return zn&&(Yn.push(hn.em("row",`level-${zn.level}`)),Xn=zn.display),h$6("tr",{style:[Xn?null:{display:"none"},Sn(Vn,Ln)],class:Yn,key:In(Vn,Ln),onDblclick:jn=>vn(jn,Vn),onClick:jn=>bn(jn,Vn),onContextmenu:jn=>wn(jn,Vn),onMouseenter:()=>kn(Ln),onMouseleave:_n},Wn.value.map((jn,Jn)=>{const{rowspan:Qn,colspan:no}=Pn(Vn,jn,Ln,Jn);if(!Qn||!no)return null;const so=Object.assign({},jn);so.realWidth=On(Wn.value,no,Jn);const co={store:Fe.store,_self:Fe.context||qe,column:so,row:Vn,$index:Ln,cellIndex:Jn,expanded:Hn};Jn===Rn.value&&zn&&(co.treeNode={indent:zn.level*Gn.value,level:zn.level},typeof zn.expanded=="boolean"&&(co.treeNode.expanded=zn.expanded,"loading"in zn&&(co.treeNode.loading=zn.loading),"noLazyChildren"in zn&&(co.treeNode.noLazyChildren=zn.noLazyChildren)));const mo=`${Ln},${Jn}`,fo=so.columnKey||so.rawColumnKey||"",io=Bn(Jn,jn,co),ao=jn.showOverflowTooltip&&merge$4({effect:Fn},Kn,jn.showOverflowTooltip);return h$6("td",{style:Tn(Ln,Jn,Vn,jn),class:Nn(Ln,Jn,Vn,jn,no-1),key:`${fo}${mo}`,rowspan:Qn,colspan:no,onMouseenter:go=>Cn(go,Vn,ao),onMouseleave:xn},[io])}))},Bn=(Vn,Ln,zn)=>Ln.renderCell(zn);return{wrappedRowRender:(Vn,Ln)=>{const zn=Fe.store,{isRowExpanded:Hn,assertRowKey:Fn}=zn,{treeData:Kn,lazyTreeNodeMap:Un,childrenColumnName:Gn,rowKey:Wn}=zn.states,Yn=zn.states.columns.value;if(Yn.some(({type:qn})=>qn==="expand")){const qn=Hn(Vn),jn=Mn(Vn,Ln,void 0,qn),Jn=qe.renderExpanded;return qn?Jn?[[jn,h$6("tr",{key:`expanded-row__${jn.key}`},[h$6("td",{colspan:Yn.length,class:`${hn.e("cell")} ${hn.e("expanded-cell")}`},[Jn({row:Vn,$index:Ln,store:zn,expanded:qn})])])]]:(console.error("[Element Error]renderExpanded is required."),jn):[[jn]]}else if(Object.keys(Kn.value).length){Fn();const qn=getRowIdentity(Vn,Wn.value);let jn=Kn.value[qn],Jn=null;jn&&(Jn={expanded:jn.expanded,level:jn.level,display:!0},typeof jn.lazy=="boolean"&&(typeof jn.loaded=="boolean"&&jn.loaded&&(Jn.noLazyChildren=!(jn.children&&jn.children.length)),Jn.loading=jn.loading));const Qn=[Mn(Vn,Ln,Jn)];if(jn){let no=0;const so=(mo,fo)=>{mo&&mo.length&&fo&&mo.forEach(io=>{const ao={display:fo.display&&fo.expanded,level:fo.level+1,expanded:!1,noLazyChildren:!1,loading:!1},go=getRowIdentity(io,Wn.value);if(go==null)throw new Error("For nested data item, row-key is required.");if(jn={...Kn.value[go]},jn&&(ao.expanded=jn.expanded,jn.level=jn.level||ao.level,jn.display=!!(jn.expanded&&ao.display),typeof jn.lazy=="boolean"&&(typeof jn.loaded=="boolean"&&jn.loaded&&(ao.noLazyChildren=!(jn.children&&jn.children.length)),ao.loading=jn.loading)),no++,Qn.push(Mn(io,Ln+no,ao)),jn){const yo=Un.value[go]||io[Gn.value];so(yo,jn)}})};jn.display=!0;const co=Un.value[qn]||Vn[Gn.value];so(co,jn)}return Qn}else return Mn(Vn,Ln,void 0)},tooltipContent:En,tooltipTrigger:$n}}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(Fe){const qe=getCurrentInstance(),hn=inject(TABLE_INJECTION_KEY),vn=useNamespace("table"),{wrappedRowRender:bn,tooltipContent:wn,tooltipTrigger:kn}=useRender$1(Fe),{onColumnsChange:_n,onScrollableChange:Cn}=useLayoutObserver(hn);return watch(Fe.store.states.hoverRow,(xn,En)=>{!Fe.store.states.isComplex.value||!isClient$1||rAF(()=>{const $n=qe==null?void 0:qe.vnode.el,Sn=Array.from(($n==null?void 0:$n.children)||[]).filter(Nn=>Nn==null?void 0:Nn.classList.contains(`${vn.e("row")}`)),An=Sn[En],Tn=Sn[xn];An&&removeClass$2(An,"hover-row"),Tn&&addClass$2(Tn,"hover-row")})}),onUnmounted(()=>{var xn;(xn=removePopper)==null||xn()}),{ns:vn,onColumnsChange:_n,onScrollableChange:Cn,wrappedRowRender:bn,tooltipContent:wn,tooltipTrigger:kn}},render(){const{wrappedRowRender:Fe,store:qe}=this,hn=qe.states.data.value||[];return h$6("tbody",{tabIndex:-1},[hn.reduce((vn,bn)=>vn.concat(Fe(bn,vn.length)),[])])}});function useMapState(){const Fe=inject(TABLE_INJECTION_KEY),qe=Fe==null?void 0:Fe.store,hn=computed(()=>qe.states.fixedLeafColumnsLength.value),vn=computed(()=>qe.states.rightFixedColumns.value.length),bn=computed(()=>qe.states.columns.value.length),wn=computed(()=>qe.states.fixedColumns.value.length),kn=computed(()=>qe.states.rightFixedColumns.value.length);return{leftFixedLeafCount:hn,rightFixedLeafCount:vn,columnsCount:bn,leftFixedCount:wn,rightFixedCount:kn,columns:qe.states.columns}}function useStyle$1(Fe){const{columns:qe}=useMapState(),hn=useNamespace("table");return{getCellClasses:(wn,kn)=>{const _n=wn[kn],Cn=[hn.e("cell"),_n.id,_n.align,_n.labelClassName,...getFixedColumnsClass(hn.b(),kn,_n.fixed,Fe.store)];return _n.className&&Cn.push(_n.className),_n.children||Cn.push(hn.is("leaf")),Cn},getCellStyles:(wn,kn)=>{const _n=getFixedColumnOffset(kn,wn.fixed,Fe.store);return ensurePosition(_n,"left"),ensurePosition(_n,"right"),_n},columns:qe}}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(Fe){const{getCellClasses:qe,getCellStyles:hn,columns:vn}=useStyle$1(Fe);return{ns:useNamespace("table"),getCellClasses:qe,getCellStyles:hn,columns:vn}},render(){const{columns:Fe,getCellStyles:qe,getCellClasses:hn,summaryMethod:vn,sumText:bn}=this,wn=this.store.states.data.value;let kn=[];return vn?kn=vn({columns:Fe,data:wn}):Fe.forEach((_n,Cn)=>{if(Cn===0){kn[Cn]=bn;return}const xn=wn.map(An=>Number(An[_n.property])),En=[];let $n=!0;xn.forEach(An=>{if(!Number.isNaN(+An)){$n=!1;const Tn=`${An}`.split(".")[1];En.push(Tn?Tn.length:0)}});const Sn=Math.max.apply(null,En);$n?kn[Cn]="":kn[Cn]=xn.reduce((An,Tn)=>{const Nn=Number(Tn);return Number.isNaN(+Nn)?An:Number.parseFloat((An+Tn).toFixed(Math.min(Sn,20)))},0)}),h$6(h$6("tfoot",[h$6("tr",{},[...Fe.map((_n,Cn)=>h$6("td",{key:Cn,colspan:_n.colSpan,rowspan:_n.rowSpan,class:hn(Fe,Cn),style:qe(_n,Cn)},[h$6("div",{class:["cell",_n.labelClassName]},[kn[Cn]])]))])]))}});function useUtils(Fe){return{setCurrentRow:En=>{Fe.commit("setCurrentRow",En)},getSelectionRows:()=>Fe.getSelectionRows(),toggleRowSelection:(En,$n)=>{Fe.toggleRowSelection(En,$n,!1),Fe.updateAllSelected()},clearSelection:()=>{Fe.clearSelection()},clearFilter:En=>{Fe.clearFilter(En)},toggleAllSelection:()=>{Fe.commit("toggleAllSelection")},toggleRowExpansion:(En,$n)=>{Fe.toggleRowExpansionAdapter(En,$n)},clearSort:()=>{Fe.clearSort()},sort:(En,$n)=>{Fe.commit("sort",{prop:En,order:$n})}}}function useStyle(Fe,qe,hn,vn){const bn=ref(!1),wn=ref(null),kn=ref(!1),_n=jn=>{kn.value=jn},Cn=ref({width:null,height:null,headerHeight:null}),xn=ref(!1),En={display:"inline-block",verticalAlign:"middle"},$n=ref(),Sn=ref(0),An=ref(0),Tn=ref(0),Nn=ref(0),Pn=ref(0);watchEffect(()=>{qe.setHeight(Fe.height)}),watchEffect(()=>{qe.setMaxHeight(Fe.maxHeight)}),watch(()=>[Fe.currentRowKey,hn.states.rowKey],([jn,Jn])=>{!unref(Jn)||!unref(jn)||hn.setCurrentRowKey(`${jn}`)},{immediate:!0}),watch(()=>Fe.data,jn=>{vn.store.commit("setData",jn)},{immediate:!0,deep:!0}),watchEffect(()=>{Fe.expandRowKeys&&hn.setExpandRowKeysAdapter(Fe.expandRowKeys)});const On=()=>{vn.store.commit("setHoverRow",null),vn.hoverState&&(vn.hoverState=null)},Rn=(jn,Jn)=>{const{pixelX:Qn,pixelY:no}=Jn;Math.abs(Qn)>=Math.abs(no)&&(vn.refs.bodyWrapper.scrollLeft+=Jn.pixelX/5)},In=computed(()=>Fe.height||Fe.maxHeight||hn.states.fixedColumns.value.length>0||hn.states.rightFixedColumns.value.length>0),Mn=computed(()=>({width:qe.bodyWidth.value?`${qe.bodyWidth.value}px`:""})),Bn=()=>{In.value&&qe.updateElsHeight(),qe.updateColumnsWidth(),requestAnimationFrame(zn)};onMounted(async()=>{await nextTick(),hn.updateColumns(),Hn(),requestAnimationFrame(Bn);const jn=vn.vnode.el,Jn=vn.refs.headerWrapper;Fe.flexible&&jn&&jn.parentElement&&(jn.parentElement.style.minWidth="0"),Cn.value={width:$n.value=jn.offsetWidth,height:jn.offsetHeight,headerHeight:Fe.showHeader&&Jn?Jn.offsetHeight:null},hn.states.columns.value.forEach(Qn=>{Qn.filteredValue&&Qn.filteredValue.length&&vn.store.commit("filterChange",{column:Qn,values:Qn.filteredValue,silent:!0})}),vn.$ready=!0});const Dn=(jn,Jn)=>{if(!jn)return;const Qn=Array.from(jn.classList).filter(no=>!no.startsWith("is-scrolling-"));Qn.push(qe.scrollX.value?Jn:"is-scrolling-none"),jn.className=Qn.join(" ")},Vn=jn=>{const{tableWrapper:Jn}=vn.refs;Dn(Jn,jn)},Ln=jn=>{const{tableWrapper:Jn}=vn.refs;return!!(Jn&&Jn.classList.contains(jn))},zn=function(){if(!vn.refs.scrollBarRef)return;if(!qe.scrollX.value){const fo="is-scrolling-none";Ln(fo)||Vn(fo);return}const jn=vn.refs.scrollBarRef.wrapRef;if(!jn)return;const{scrollLeft:Jn,offsetWidth:Qn,scrollWidth:no}=jn,{headerWrapper:so,footerWrapper:co}=vn.refs;so&&(so.scrollLeft=Jn),co&&(co.scrollLeft=Jn);const mo=no-Qn-1;Jn>=mo?Vn("is-scrolling-right"):Vn(Jn===0?"is-scrolling-left":"is-scrolling-middle")},Hn=()=>{vn.refs.scrollBarRef&&(vn.refs.scrollBarRef.wrapRef&&useEventListener(vn.refs.scrollBarRef.wrapRef,"scroll",zn,{passive:!0}),Fe.fit?useResizeObserver(vn.vnode.el,Fn):useEventListener(window,"resize",Fn),useResizeObserver(vn.refs.bodyWrapper,()=>{var jn,Jn;Fn(),(Jn=(jn=vn.refs)==null?void 0:jn.scrollBarRef)==null||Jn.update()}))},Fn=()=>{var jn,Jn,Qn,no;const so=vn.vnode.el;if(!vn.$ready||!so)return;let co=!1;const{width:mo,height:fo,headerHeight:io}=Cn.value,ao=$n.value=so.offsetWidth;mo!==ao&&(co=!0);const go=so.offsetHeight;(Fe.height||In.value)&&fo!==go&&(co=!0);const yo=Fe.tableLayout==="fixed"?vn.refs.headerWrapper:(jn=vn.refs.tableHeaderRef)==null?void 0:jn.$el;Fe.showHeader&&(yo==null?void 0:yo.offsetHeight)!==io&&(co=!0),Sn.value=((Jn=vn.refs.tableWrapper)==null?void 0:Jn.scrollHeight)||0,Tn.value=(yo==null?void 0:yo.scrollHeight)||0,Nn.value=((Qn=vn.refs.footerWrapper)==null?void 0:Qn.offsetHeight)||0,Pn.value=((no=vn.refs.appendWrapper)==null?void 0:no.offsetHeight)||0,An.value=Sn.value-Tn.value-Nn.value-Pn.value,co&&(Cn.value={width:ao,height:go,headerHeight:Fe.showHeader&&(yo==null?void 0:yo.offsetHeight)||0},Bn())},Kn=useFormSize(),Un=computed(()=>{const{bodyWidth:jn,scrollY:Jn,gutterWidth:Qn}=qe;return jn.value?`${jn.value-(Jn.value?Qn:0)}px`:""}),Gn=computed(()=>Fe.maxHeight?"fixed":Fe.tableLayout),Wn=computed(()=>{if(Fe.data&&Fe.data.length)return null;let jn="100%";Fe.height&&An.value&&(jn=`${An.value}px`);const Jn=$n.value;return{width:Jn?`${Jn}px`:"",height:jn}}),Yn=computed(()=>Fe.height?{height:Number.isNaN(Number(Fe.height))?Fe.height:`${Fe.height}px`}:Fe.maxHeight?{maxHeight:Number.isNaN(Number(Fe.maxHeight))?Fe.maxHeight:`${Fe.maxHeight}px`}:{}),Xn=computed(()=>Fe.height?{height:"100%"}:Fe.maxHeight?Number.isNaN(Number(Fe.maxHeight))?{maxHeight:`calc(${Fe.maxHeight} - ${Tn.value+Nn.value}px)`}:{maxHeight:`${Fe.maxHeight-Tn.value-Nn.value}px`}:{});return{isHidden:bn,renderExpanded:wn,setDragVisible:_n,isGroup:xn,handleMouseLeave:On,handleHeaderFooterMousewheel:Rn,tableSize:Kn,emptyBlockStyle:Wn,handleFixedMousewheel:(jn,Jn)=>{const Qn=vn.refs.bodyWrapper;if(Math.abs(Jn.spinY)>0){const no=Qn.scrollTop;Jn.pixelY<0&&no!==0&&jn.preventDefault(),Jn.pixelY>0&&Qn.scrollHeight-Qn.clientHeight>no&&jn.preventDefault(),Qn.scrollTop+=Math.ceil(Jn.pixelY/5)}else Qn.scrollLeft+=Math.ceil(Jn.pixelX/5)},resizeProxyVisible:kn,bodyWidth:Un,resizeState:Cn,doLayout:Bn,tableBodyStyles:Mn,tableLayout:Gn,scrollbarViewStyle:En,tableInnerStyle:Yn,scrollbarStyle:Xn}}function useKeyRender(Fe){const qe=ref(),hn=()=>{const bn=Fe.vnode.el.querySelector(".hidden-columns"),wn={childList:!0,subtree:!0},kn=Fe.store.states.updateOrderFns;qe.value=new MutationObserver(()=>{kn.forEach(_n=>_n())}),qe.value.observe(bn,wn)};onMounted(()=>{hn()}),onUnmounted(()=>{var vn;(vn=qe.value)==null||vn.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,showOverflowTooltip:[Boolean,Object]};function hColgroup(Fe){const qe=Fe.tableLayout==="auto";let hn=Fe.columns||[];qe&&hn.every(bn=>bn.width===void 0)&&(hn=[]);const vn=bn=>{const wn={key:`${Fe.tableLayout}_${bn.id}`,style:{},name:void 0};return qe?wn.style={width:`${bn.width}px`}:wn.name=bn.id,wn};return h$6("colgroup",{},hn.map(bn=>h$6("col",vn(bn))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const Fe=ref(),qe=(wn,kn)=>{const _n=Fe.value;_n&&_n.scrollTo(wn,kn)},hn=(wn,kn)=>{const _n=Fe.value;_n&&isNumber$d(kn)&&["Top","Left"].includes(wn)&&_n[`setScroll${wn}`](kn)};return{scrollBarRef:Fe,scrollTo:qe,setScrollTop:wn=>hn("Top",wn),setScrollLeft:wn=>hn("Left",wn)}};let tableIdSeed=1;const _sfc_main$D=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(Fe){const{t:qe}=useLocale(),hn=useNamespace("table"),vn=getCurrentInstance();provide(TABLE_INJECTION_KEY,vn);const bn=createStore(vn,Fe);vn.store=bn;const wn=new TableLayout({store:vn.store,table:vn,fit:Fe.fit,showHeader:Fe.showHeader});vn.layout=wn;const kn=computed(()=>(bn.states.data.value||[]).length===0),{setCurrentRow:_n,getSelectionRows:Cn,toggleRowSelection:xn,clearSelection:En,clearFilter:$n,toggleAllSelection:Sn,toggleRowExpansion:An,clearSort:Tn,sort:Nn}=useUtils(bn),{isHidden:Pn,renderExpanded:On,setDragVisible:Rn,isGroup:In,handleMouseLeave:Mn,handleHeaderFooterMousewheel:Bn,tableSize:Dn,emptyBlockStyle:Vn,handleFixedMousewheel:Ln,resizeProxyVisible:zn,bodyWidth:Hn,resizeState:Fn,doLayout:Kn,tableBodyStyles:Un,tableLayout:Gn,scrollbarViewStyle:Wn,tableInnerStyle:Yn,scrollbarStyle:Xn}=useStyle(Fe,wn,bn,vn),{scrollBarRef:qn,scrollTo:jn,setScrollLeft:Jn,setScrollTop:Qn}=useScrollbar$1(),no=debounce$3(Kn,50),so=`${hn.namespace.value}-table_${tableIdSeed++}`;vn.tableId=so,vn.state={isGroup:In,resizeState:Fn,doLayout:Kn,debouncedUpdateLayout:no};const co=computed(()=>Fe.sumText||qe("el.table.sumText")),mo=computed(()=>Fe.emptyText||qe("el.table.emptyText"));return useKeyRender(vn),{ns:hn,layout:wn,store:bn,handleHeaderFooterMousewheel:Bn,handleMouseLeave:Mn,tableId:so,tableSize:Dn,isHidden:Pn,isEmpty:kn,renderExpanded:On,resizeProxyVisible:zn,resizeState:Fn,isGroup:In,bodyWidth:Hn,tableBodyStyles:Un,emptyBlockStyle:Vn,debouncedUpdateLayout:no,handleFixedMousewheel:Ln,setCurrentRow:_n,getSelectionRows:Cn,toggleRowSelection:xn,clearSelection:En,clearFilter:$n,toggleAllSelection:Sn,toggleRowExpansion:An,clearSort:Tn,doLayout:Kn,sort:Nn,t:qe,setDragVisible:Rn,context:vn,computedSumText:co,computedEmptyText:mo,tableLayout:Gn,scrollbarViewStyle:Wn,tableInnerStyle:Yn,scrollbarStyle:Xn,scrollBarRef:qn,scrollTo:jn,setScrollLeft:Jn,setScrollTop:Qn}}}),_hoisted_1$l=["data-prefix"],_hoisted_2$f={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$4(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("hColgroup"),_n=resolveComponent("table-header"),Cn=resolveComponent("table-body"),xn=resolveComponent("table-footer"),En=resolveComponent("el-scrollbar"),$n=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[Fe.ns.m("fit")]:Fe.fit,[Fe.ns.m("striped")]:Fe.stripe,[Fe.ns.m("border")]:Fe.border||Fe.isGroup,[Fe.ns.m("hidden")]:Fe.isHidden,[Fe.ns.m("group")]:Fe.isGroup,[Fe.ns.m("fluid-height")]:Fe.maxHeight,[Fe.ns.m("scrollable-x")]:Fe.layout.scrollX.value,[Fe.ns.m("scrollable-y")]:Fe.layout.scrollY.value,[Fe.ns.m("enable-row-hover")]:!Fe.store.states.isComplex.value,[Fe.ns.m("enable-row-transition")]:(Fe.store.states.data.value||[]).length!==0&&(Fe.store.states.data.value||[]).length<100,"has-footer":Fe.showSummary},Fe.ns.m(Fe.tableSize),Fe.className,Fe.ns.b(),Fe.ns.m(`layout-${Fe.tableLayout}`)]),style:normalizeStyle(Fe.style),"data-prefix":Fe.ns.namespace.value,onMouseleave:qe[0]||(qe[0]=(...Sn)=>Fe.handleMouseLeave&&Fe.handleMouseLeave(...Sn))},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("inner-wrapper")),style:normalizeStyle(Fe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$f,[renderSlot(Fe.$slots,"default")],512),Fe.showHeader&&Fe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(Fe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(Fe.ns.e("header")),style:normalizeStyle(Fe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode(kn,{columns:Fe.store.states.columns.value,"table-layout":Fe.tableLayout},null,8,["columns","table-layout"]),createVNode(_n,{ref:"tableHeaderRef",border:Fe.border,"default-sort":Fe.defaultSort,store:Fe.store,onSetDragVisible:Fe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[$n,Fe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(Fe.ns.e("body-wrapper"))},[createVNode(En,{ref:"scrollBarRef","view-style":Fe.scrollbarViewStyle,"wrap-style":Fe.scrollbarStyle,always:Fe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(Fe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle({width:Fe.bodyWidth,tableLayout:Fe.tableLayout})},[createVNode(kn,{columns:Fe.store.states.columns.value,"table-layout":Fe.tableLayout},null,8,["columns","table-layout"]),Fe.showHeader&&Fe.tableLayout==="auto"?(openBlock(),createBlock(_n,{key:0,ref:"tableHeaderRef",class:normalizeClass(Fe.ns.e("body-header")),border:Fe.border,"default-sort":Fe.defaultSort,store:Fe.store,onSetDragVisible:Fe.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode(Cn,{context:Fe.context,highlight:Fe.highlightCurrentRow,"row-class-name":Fe.rowClassName,"tooltip-effect":Fe.tooltipEffect,"tooltip-options":Fe.tooltipOptions,"row-style":Fe.rowStyle,store:Fe.store,stripe:Fe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),Fe.showSummary&&Fe.tableLayout==="auto"?(openBlock(),createBlock(xn,{key:1,class:normalizeClass(Fe.ns.e("body-footer")),border:Fe.border,"default-sort":Fe.defaultSort,store:Fe.store,"sum-text":Fe.computedSumText,"summary-method":Fe.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),Fe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle(Fe.emptyBlockStyle),class:normalizeClass(Fe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(Fe.ns.e("empty-text"))},[renderSlot(Fe.$slots,"empty",{},()=>[createTextVNode(toDisplayString(Fe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),Fe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(Fe.ns.e("append-wrapper"))},[renderSlot(Fe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),Fe.showSummary&&Fe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(Fe.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(Fe.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle(Fe.tableBodyStyles)},[createVNode(kn,{columns:Fe.store.states.columns.value,"table-layout":Fe.tableLayout},null,8,["columns","table-layout"]),createVNode(xn,{border:Fe.border,"default-sort":Fe.defaultSort,store:Fe.store,"sum-text":Fe.computedSumText,"summary-method":Fe.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!Fe.isEmpty],[$n,Fe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),Fe.border||Fe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(Fe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(Fe.ns.e("column-resize-proxy"))},null,2),[[vShow,Fe.resizeProxyVisible]])],46,_hoisted_1$l)}var Table$1=_export_sfc$2(_sfc_main$D,[["render",_sfc_render$4],["__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=Fe=>defaultClassNames[Fe]||"",cellForced={selection:{renderHeader({store:Fe,column:qe}){function hn(){return Fe.states.data.value&&Fe.states.data.value.length===0}return h$6(ElCheckbox,{disabled:hn(),size:Fe.states.tableSize.value,indeterminate:Fe.states.selection.value.length>0&&!Fe.states.isAllSelected.value,"onUpdate:modelValue":Fe.toggleAllSelection,modelValue:Fe.states.isAllSelected.value,ariaLabel:qe.label})},renderCell({row:Fe,column:qe,store:hn,$index:vn}){return h$6(ElCheckbox,{disabled:qe.selectable?!qe.selectable.call(null,Fe,vn):!1,size:hn.states.tableSize.value,onChange:()=>{hn.commit("rowSelectedChanged",Fe)},onClick:bn=>bn.stopPropagation(),modelValue:hn.isSelected(Fe),ariaLabel:qe.label})},sortable:!1,resizable:!1},index:{renderHeader({column:Fe}){return Fe.label||"#"},renderCell({column:Fe,$index:qe}){let hn=qe+1;const vn=Fe.index;return typeof vn=="number"?hn=qe+vn:typeof vn=="function"&&(hn=vn(qe)),h$6("div",{},[hn])},sortable:!1},expand:{renderHeader({column:Fe}){return Fe.label||""},renderCell({row:Fe,store:qe,expanded:hn}){const{ns:vn}=qe,bn=[vn.e("expand-icon")];return hn&&bn.push(vn.em("expand-icon","expanded")),h$6("div",{class:bn,onClick:function(kn){kn.stopPropagation(),qe.toggleRowExpansion(Fe)}},{default:()=>[h$6(ElIcon,null,{default:()=>[h$6(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:Fe,column:qe,$index:hn}){var vn;const bn=qe.property,wn=bn&&getProp(Fe,bn).value;return qe&&qe.formatter?qe.formatter(Fe,qe,wn,hn):((vn=wn==null?void 0:wn.toString)==null?void 0:vn.call(wn))||""}function treeCellPrefix({row:Fe,treeNode:qe,store:hn},vn=!1){const{ns:bn}=hn;if(!qe)return vn?[h$6("span",{class:bn.e("placeholder")})]:null;const wn=[],kn=function(_n){_n.stopPropagation(),!qe.loading&&hn.loadOrToggle(Fe)};if(qe.indent&&wn.push(h$6("span",{class:bn.e("indent"),style:{"padding-left":`${qe.indent}px`}})),typeof qe.expanded=="boolean"&&!qe.noLazyChildren){const _n=[bn.e("expand-icon"),qe.expanded?bn.em("expand-icon","expanded"):""];let Cn=arrow_right_default;qe.loading&&(Cn=loading_default),wn.push(h$6("div",{class:_n,onClick:kn},{default:()=>[h$6(ElIcon,{class:{[bn.is("loading")]:qe.loading}},{default:()=>[h$6(Cn)]})]}))}else wn.push(h$6("span",{class:bn.e("placeholder")}));return wn}function getAllAliases(Fe,qe){return Fe.reduce((hn,vn)=>(hn[vn]=vn,hn),qe)}function useWatcher(Fe,qe){const hn=getCurrentInstance();return{registerComplexWatchers:()=>{const wn=["fixed"],kn={realWidth:"width",realMinWidth:"minWidth"},_n=getAllAliases(wn,kn);Object.keys(_n).forEach(Cn=>{const xn=kn[Cn];hasOwn(qe,xn)&&watch(()=>qe[xn],En=>{let $n=En;xn==="width"&&Cn==="realWidth"&&($n=parseWidth(En)),xn==="minWidth"&&Cn==="realMinWidth"&&($n=parseMinWidth(En)),hn.columnConfig.value[xn]=$n,hn.columnConfig.value[Cn]=$n;const Sn=xn==="fixed";Fe.value.store.scheduleLayout(Sn)})})},registerNormalWatchers:()=>{const wn=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],kn={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},_n=getAllAliases(wn,kn);Object.keys(_n).forEach(Cn=>{const xn=kn[Cn];hasOwn(qe,xn)&&watch(()=>qe[xn],En=>{hn.columnConfig.value[Cn]=En})})}}}function useRender(Fe,qe,hn){const vn=getCurrentInstance(),bn=ref(""),wn=ref(!1),kn=ref(),_n=ref(),Cn=useNamespace("table");watchEffect(()=>{kn.value=Fe.align?`is-${Fe.align}`:null,kn.value}),watchEffect(()=>{_n.value=Fe.headerAlign?`is-${Fe.headerAlign}`:kn.value,_n.value});const xn=computed(()=>{let Mn=vn.vnode.vParent||vn.parent;for(;Mn&&!Mn.tableId&&!Mn.columnId;)Mn=Mn.vnode.vParent||Mn.parent;return Mn}),En=computed(()=>{const{store:Mn}=vn.parent;if(!Mn)return!1;const{treeData:Bn}=Mn.states,Dn=Bn.value;return Dn&&Object.keys(Dn).length>0}),$n=ref(parseWidth(Fe.width)),Sn=ref(parseMinWidth(Fe.minWidth)),An=Mn=>($n.value&&(Mn.width=$n.value),Sn.value&&(Mn.minWidth=Sn.value),!$n.value&&Sn.value&&(Mn.width=void 0),Mn.minWidth||(Mn.minWidth=80),Mn.realWidth=Number(Mn.width===void 0?Mn.minWidth:Mn.width),Mn),Tn=Mn=>{const Bn=Mn.type,Dn=cellForced[Bn]||{};Object.keys(Dn).forEach(Ln=>{const zn=Dn[Ln];Ln!=="className"&&zn!==void 0&&(Mn[Ln]=zn)});const Vn=getDefaultClassName(Bn);if(Vn){const Ln=`${unref(Cn.namespace)}-${Vn}`;Mn.className=Mn.className?`${Mn.className} ${Ln}`:Ln}return Mn},Nn=Mn=>{Array.isArray(Mn)?Mn.forEach(Dn=>Bn(Dn)):Bn(Mn);function Bn(Dn){var Vn;((Vn=Dn==null?void 0:Dn.type)==null?void 0:Vn.name)==="ElTableColumn"&&(Dn.vParent=vn)}};return{columnId:bn,realAlign:kn,isSubColumn:wn,realHeaderAlign:_n,columnOrTableParent:xn,setColumnWidth:An,setColumnForcedProps:Tn,setColumnRenders:Mn=>{Fe.renderHeader||Mn.type!=="selection"&&(Mn.renderHeader=Dn=>{vn.columnConfig.value.label;const Vn=qe.header;return Vn?Vn(Dn):Mn.label});let Bn=Mn.renderCell;return Mn.type==="expand"?(Mn.renderCell=Dn=>h$6("div",{class:"cell"},[Bn(Dn)]),hn.value.renderExpanded=Dn=>qe.default?qe.default(Dn):qe.default):(Bn=Bn||defaultRenderCell,Mn.renderCell=Dn=>{let Vn=null;if(qe.default){const Un=qe.default(Dn);Vn=Un.some(Gn=>Gn.type!==Comment$1)?Un:Bn(Dn)}else Vn=Bn(Dn);const{columns:Ln}=hn.value.store.states,zn=Ln.value.findIndex(Un=>Un.type==="default"),Hn=En.value&&Dn.cellIndex===zn,Fn=treeCellPrefix(Dn,Hn),Kn={class:"cell",style:{}};return Mn.showOverflowTooltip&&(Kn.class=`${Kn.class} ${unref(Cn.namespace)}-tooltip`,Kn.style={width:`${(Dn.column.realWidth||Number(Dn.column.width))-1}px`}),Nn(Vn),h$6("div",Kn,[Fn,Vn])}),Mn},getPropsData:(...Mn)=>Mn.reduce((Bn,Dn)=>(Array.isArray(Dn)&&Dn.forEach(Vn=>{Bn[Vn]=Fe[Vn]}),Bn),{}),getColumnElIndex:(Mn,Bn)=>Array.prototype.indexOf.call(Mn,Bn),updateColumnOrder:()=>{hn.value.store.commit("updateColumnOrder",vn.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:{type:[Boolean,Object],default:void 0},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:Fe=>Fe.every(qe=>["ascending","descending",null].includes(qe))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(Fe,{slots:qe}){const hn=getCurrentInstance(),vn=ref({}),bn=computed(()=>{let In=hn.parent;for(;In&&!In.tableId;)In=In.parent;return In}),{registerNormalWatchers:wn,registerComplexWatchers:kn}=useWatcher(bn,Fe),{columnId:_n,isSubColumn:Cn,realHeaderAlign:xn,columnOrTableParent:En,setColumnWidth:$n,setColumnForcedProps:Sn,setColumnRenders:An,getPropsData:Tn,getColumnElIndex:Nn,realAlign:Pn,updateColumnOrder:On}=useRender(Fe,qe,bn),Rn=En.value;_n.value=`${Rn.tableId||Rn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{Cn.value=bn.value!==Rn;const In=Fe.type||"default",Mn=Fe.sortable===""?!0:Fe.sortable,Bn=isUndefined$d(Fe.showOverflowTooltip)?Rn.props.showOverflowTooltip:Fe.showOverflowTooltip,Dn={...cellStarts[In],id:_n.value,type:In,property:Fe.prop||Fe.property,align:Pn,headerAlign:xn,showOverflowTooltip:Bn,filterable:Fe.filters||Fe.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Mn,index:Fe.index,rawColumnKey:hn.vnode.key};let Fn=Tn(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);Fn=mergeOptions$1(Dn,Fn),Fn=compose(An,$n,Sn)(Fn),vn.value=Fn,wn(),kn()}),onMounted(()=>{var In;const Mn=En.value,Bn=Cn.value?Mn.vnode.el.children:(In=Mn.refs.hiddenColumns)==null?void 0:In.children,Dn=()=>Nn(Bn||[],hn.vnode.el);vn.value.getColumnIndex=Dn,Dn()>-1&&bn.value.store.commit("insertColumn",vn.value,Cn.value?Mn.columnConfig.value:null,On)}),onBeforeUnmount(()=>{bn.value.store.commit("removeColumn",vn.value,Cn.value?Rn.columnConfig.value:null,On)}),hn.columnId=_n.value,hn.columnConfig=vn},render(){var Fe,qe,hn;try{const vn=(qe=(Fe=this.$slots).default)==null?void 0:qe.call(Fe,{row:{},column:{},$index:-1}),bn=[];if(Array.isArray(vn))for(const kn of vn)((hn=kn.type)==null?void 0:hn.name)==="ElTableColumn"||kn.shapeFlag&2?bn.push(kn):kn.type===Fragment&&Array.isArray(kn.children)&&kn.children.forEach(_n=>{(_n==null?void 0:_n.patchFlag)!==1024&&!isString$d(_n==null?void 0:_n.children)&&bn.push(_n)});return h$6("div",bn)}catch{return h$6("div",[])}}});const ElTable=withInstall$1(Table$1,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(Fe=>(Fe.ASC="asc",Fe.DESC="desc",Fe))(SortOrder||{}),Alignment=(Fe=>(Fe.CENTER="center",Fe.RIGHT="right",Fe))(Alignment||{}),FixedDir=(Fe=>(Fe.LEFT="left",Fe.RIGHT="right",Fe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(Fe,qe,hn)=>{var vn;const bn={flexGrow:0,flexShrink:0,...hn?{}:{flexGrow:Fe.flexGrow||0,flexShrink:Fe.flexShrink||1}};hn||(bn.flexShrink=1);const wn={...(vn=Fe.style)!=null?vn:{},...bn,flexBasis:"auto",width:Fe.width};return qe||(Fe.maxWidth&&(wn.maxWidth=Fe.maxWidth),Fe.minWidth&&(wn.minWidth=Fe.minWidth)),wn};function useColumns(Fe,qe,hn){const vn=computed(()=>unref(qe).filter(Nn=>!Nn.hidden)),bn=computed(()=>unref(vn).filter(Nn=>Nn.fixed==="left"||Nn.fixed===!0)),wn=computed(()=>unref(vn).filter(Nn=>Nn.fixed==="right")),kn=computed(()=>unref(vn).filter(Nn=>!Nn.fixed)),_n=computed(()=>{const Nn=[];return unref(bn).forEach(Pn=>{Nn.push({...Pn,placeholderSign})}),unref(kn).forEach(Pn=>{Nn.push(Pn)}),unref(wn).forEach(Pn=>{Nn.push({...Pn,placeholderSign})}),Nn}),Cn=computed(()=>unref(bn).length||unref(wn).length),xn=computed(()=>unref(qe).reduce((Pn,On)=>(Pn[On.key]=calcColumnStyle(On,unref(hn),Fe.fixed),Pn),{})),En=computed(()=>unref(vn).reduce((Nn,Pn)=>Nn+Pn.width,0)),$n=Nn=>unref(qe).find(Pn=>Pn.key===Nn),Sn=Nn=>unref(xn)[Nn],An=(Nn,Pn)=>{Nn.width=Pn};function Tn(Nn){var Pn;const{key:On}=Nn.currentTarget.dataset;if(!On)return;const{sortState:Rn,sortBy:In}=Fe;let Mn=SortOrder.ASC;isObject$9(Rn)?Mn=oppositeOrderMap[Rn[On]]:Mn=oppositeOrderMap[In.order],(Pn=Fe.onColumnSort)==null||Pn.call(Fe,{column:$n(On),key:On,order:Mn})}return{columns:qe,columnsStyles:xn,columnsTotalWidth:En,fixedColumnsOnLeft:bn,fixedColumnsOnRight:wn,hasFixedColumns:Cn,mainColumns:_n,normalColumns:kn,visibleColumns:vn,getColumn:$n,getColumnStyle:Sn,updateColumnWidth:An,onColumnSorted:Tn}}const useScrollbar=(Fe,{mainTableRef:qe,leftTableRef:hn,rightTableRef:vn,onMaybeEndReached:bn})=>{const wn=ref({scrollLeft:0,scrollTop:0});function kn(An){var Tn,Nn,Pn;const{scrollTop:On}=An;(Tn=qe.value)==null||Tn.scrollTo(An),(Nn=hn.value)==null||Nn.scrollToTop(On),(Pn=vn.value)==null||Pn.scrollToTop(On)}function _n(An){wn.value=An,kn(An)}function Cn(An){wn.value.scrollTop=An,kn(unref(wn))}function xn(An){var Tn,Nn;wn.value.scrollLeft=An,(Nn=(Tn=qe.value)==null?void 0:Tn.scrollTo)==null||Nn.call(Tn,unref(wn))}function En(An){var Tn;_n(An),(Tn=Fe.onScroll)==null||Tn.call(Fe,An)}function $n({scrollTop:An}){const{scrollTop:Tn}=unref(wn);An!==Tn&&Cn(An)}function Sn(An,Tn="auto"){var Nn;(Nn=qe.value)==null||Nn.scrollToRow(An,Tn)}return watch(()=>unref(wn).scrollTop,(An,Tn)=>{An>Tn&&bn()}),{scrollPos:wn,scrollTo:_n,scrollToLeft:xn,scrollToTop:Cn,scrollToRow:Sn,onScroll:En,onVerticalScroll:$n}},useRow=(Fe,{mainTableRef:qe,leftTableRef:hn,rightTableRef:vn})=>{const bn=getCurrentInstance(),{emit:wn}=bn,kn=shallowRef(!1),_n=shallowRef(null),Cn=ref(Fe.defaultExpandedRowKeys||[]),xn=ref(-1),En=shallowRef(null),$n=ref({}),Sn=ref({}),An=shallowRef({}),Tn=shallowRef({}),Nn=shallowRef({}),Pn=computed(()=>isNumber$d(Fe.estimatedRowHeight));function On(Ln){var zn;(zn=Fe.onRowsRendered)==null||zn.call(Fe,Ln),Ln.rowCacheEnd>unref(xn)&&(xn.value=Ln.rowCacheEnd)}function Rn({hovered:Ln,rowKey:zn}){_n.value=Ln?zn:null}function In({expanded:Ln,rowData:zn,rowIndex:Hn,rowKey:Fn}){var Kn,Un;const Gn=[...unref(Cn)],Wn=Gn.indexOf(Fn);Ln?Wn===-1&&Gn.push(Fn):Wn>-1&&Gn.splice(Wn,1),Cn.value=Gn,wn("update:expandedRowKeys",Gn),(Kn=Fe.onRowExpand)==null||Kn.call(Fe,{expanded:Ln,rowData:zn,rowIndex:Hn,rowKey:Fn}),(Un=Fe.onExpandedRowsChange)==null||Un.call(Fe,Gn)}const Mn=debounce$3(()=>{var Ln,zn,Hn,Fn;kn.value=!0,$n.value={...unref($n),...unref(Sn)},Bn(unref(En),!1),Sn.value={},En.value=null,(Ln=qe.value)==null||Ln.forceUpdate(),(zn=hn.value)==null||zn.forceUpdate(),(Hn=vn.value)==null||Hn.forceUpdate(),(Fn=bn.proxy)==null||Fn.$forceUpdate(),kn.value=!1},0);function Bn(Ln,zn=!1){unref(Pn)&&[qe,hn,vn].forEach(Hn=>{const Fn=unref(Hn);Fn&&Fn.resetAfterRowIndex(Ln,zn)})}function Dn(Ln,zn,Hn){const Fn=unref(En);(Fn===null||Fn>Hn)&&(En.value=Hn),Sn.value[Ln]=zn}function Vn({rowKey:Ln,height:zn,rowIndex:Hn},Fn){Fn?Fn===FixedDir.RIGHT?Nn.value[Ln]=zn:An.value[Ln]=zn:Tn.value[Ln]=zn;const Kn=Math.max(...[An,Nn,Tn].map(Un=>Un.value[Ln]||0));unref($n)[Ln]!==Kn&&(Dn(Ln,Kn,Hn),Mn())}return{hoveringRowKey:_n,expandedRowKeys:Cn,lastRenderedRowIndex:xn,isDynamic:Pn,isResetting:kn,rowHeights:$n,resetAfterIndex:Bn,onRowExpanded:In,onRowHovered:Rn,onRowsRendered:On,onRowHeightChange:Vn}},useData=(Fe,{expandedRowKeys:qe,lastRenderedRowIndex:hn,resetAfterIndex:vn})=>{const bn=ref({}),wn=computed(()=>{const _n={},{data:Cn,rowKey:xn}=Fe,En=unref(qe);if(!En||!En.length)return Cn;const $n=[],Sn=new Set;En.forEach(Tn=>Sn.add(Tn));let An=Cn.slice();for(An.forEach(Tn=>_n[Tn[xn]]=0);An.length>0;){const Tn=An.shift();$n.push(Tn),Sn.has(Tn[xn])&&Array.isArray(Tn.children)&&Tn.children.length>0&&(An=[...Tn.children,...An],Tn.children.forEach(Nn=>_n[Nn[xn]]=_n[Tn[xn]]+1))}return bn.value=_n,$n}),kn=computed(()=>{const{data:_n,expandColumnKey:Cn}=Fe;return Cn?unref(wn):_n});return watch(kn,(_n,Cn)=>{_n!==Cn&&(hn.value=-1,vn(0,!0))}),{data:kn,depthMap:bn}},sumReducer=(Fe,qe)=>Fe+qe,sum$3=Fe=>isArray$x(Fe)?Fe.reduce(sumReducer,0):Fe,tryCall=(Fe,qe,hn={})=>isFunction$i(Fe)?Fe(qe):Fe??hn,enforceUnit=Fe=>(["width","maxWidth","minWidth","height"].forEach(qe=>{Fe[qe]=addUnit(Fe[qe])}),Fe),componentToSlot=Fe=>isVNode(Fe)?qe=>h$6(Fe,qe):Fe,useStyles=(Fe,{columnsTotalWidth:qe,data:hn,fixedColumnsOnLeft:vn,fixedColumnsOnRight:bn})=>{const wn=computed(()=>{const{fixed:In,width:Mn,vScrollbarSize:Bn}=Fe,Dn=Mn-Bn;return In?Math.max(Math.round(unref(qe)),Dn):Dn}),kn=computed(()=>unref(wn)+(Fe.fixed?Fe.vScrollbarSize:0)),_n=computed(()=>{const{height:In=0,maxHeight:Mn=0,footerHeight:Bn,hScrollbarSize:Dn}=Fe;if(Mn>0){const Vn=unref(Tn),Ln=unref(Cn),Hn=unref(An)+Vn+Ln+Dn;return Math.min(Hn,Mn-Bn)}return In-Bn}),Cn=computed(()=>{const{rowHeight:In,estimatedRowHeight:Mn}=Fe,Bn=unref(hn);return isNumber$d(Mn)?Bn.length*Mn:Bn.length*In}),xn=computed(()=>{const{maxHeight:In}=Fe,Mn=unref(_n);if(isNumber$d(In)&&In>0)return Mn;const Bn=unref(Cn)+unref(An)+unref(Tn);return Math.min(Mn,Bn)}),En=In=>In.width,$n=computed(()=>sum$3(unref(vn).map(En))),Sn=computed(()=>sum$3(unref(bn).map(En))),An=computed(()=>sum$3(Fe.headerHeight)),Tn=computed(()=>{var In;return(((In=Fe.fixedData)==null?void 0:In.length)||0)*Fe.rowHeight}),Nn=computed(()=>unref(_n)-unref(An)-unref(Tn)),Pn=computed(()=>{const{style:In={},height:Mn,width:Bn}=Fe;return enforceUnit({...In,height:Mn,width:Bn})}),On=computed(()=>enforceUnit({height:Fe.footerHeight})),Rn=computed(()=>({top:addUnit(unref(An)),bottom:addUnit(Fe.footerHeight),width:addUnit(Fe.width)}));return{bodyWidth:wn,fixedTableHeight:xn,mainTableHeight:_n,leftTableWidth:$n,rightTableWidth:Sn,headerWidth:kn,rowsHeight:Cn,windowHeight:Nn,footerHeight:On,emptyStyle:Rn,rootStyle:Pn,headerHeight:An}},useAutoResize=Fe=>{const qe=ref(),hn=ref(0),vn=ref(0);let bn;return onMounted(()=>{bn=useResizeObserver(qe,([wn])=>{const{width:kn,height:_n}=wn.contentRect,{paddingLeft:Cn,paddingRight:xn,paddingTop:En,paddingBottom:$n}=getComputedStyle(wn.target),Sn=Number.parseInt(Cn)||0,An=Number.parseInt(xn)||0,Tn=Number.parseInt(En)||0,Nn=Number.parseInt($n)||0;hn.value=kn-Sn-An,vn.value=_n-Tn-Nn}).stop}),onBeforeUnmount(()=>{bn==null||bn()}),watch([hn,vn],([wn,kn])=>{var _n;(_n=Fe.onResize)==null||_n.call(Fe,{width:wn,height:kn})}),{sizer:qe,width:hn,height:vn}};function useTable(Fe){const qe=ref(),hn=ref(),vn=ref(),{columns:bn,columnsStyles:wn,columnsTotalWidth:kn,fixedColumnsOnLeft:_n,fixedColumnsOnRight:Cn,hasFixedColumns:xn,mainColumns:En,onColumnSorted:$n}=useColumns(Fe,toRef(Fe,"columns"),toRef(Fe,"fixed")),{scrollTo:Sn,scrollToLeft:An,scrollToTop:Tn,scrollToRow:Nn,onScroll:Pn,onVerticalScroll:On,scrollPos:Rn}=useScrollbar(Fe,{mainTableRef:qe,leftTableRef:hn,rightTableRef:vn,onMaybeEndReached:ro}),{expandedRowKeys:In,hoveringRowKey:Mn,lastRenderedRowIndex:Bn,isDynamic:Dn,isResetting:Vn,rowHeights:Ln,resetAfterIndex:zn,onRowExpanded:Hn,onRowHeightChange:Fn,onRowHovered:Kn,onRowsRendered:Un}=useRow(Fe,{mainTableRef:qe,leftTableRef:hn,rightTableRef:vn}),{data:Gn,depthMap:Wn}=useData(Fe,{expandedRowKeys:In,lastRenderedRowIndex:Bn,resetAfterIndex:zn}),{bodyWidth:Yn,fixedTableHeight:Xn,mainTableHeight:qn,leftTableWidth:jn,rightTableWidth:Jn,headerWidth:Qn,rowsHeight:no,windowHeight:so,footerHeight:co,emptyStyle:mo,rootStyle:fo,headerHeight:io}=useStyles(Fe,{columnsTotalWidth:kn,data:Gn,fixedColumnsOnLeft:_n,fixedColumnsOnRight:Cn}),ao=shallowRef(!1),go=ref(),yo=computed(()=>{const eo=unref(Gn).length===0;return isArray$x(Fe.fixedData)?Fe.fixedData.length===0&&eo:eo});function Bo(eo){const{estimatedRowHeight:lo,rowHeight:ho,rowKey:Io}=Fe;return lo?unref(Ln)[unref(Gn)[eo][Io]]||lo:ho}function ro(){const{onEndReached:eo}=Fe;if(!eo)return;const{scrollTop:lo}=unref(Rn),ho=unref(no),Io=unref(so),Po=ho-(lo+Io)+Fe.hScrollbarSize;unref(Bn)>=0&&ho===lo+unref(qn)-unref(io)&&eo(Po)}return watch(()=>Fe.expandedRowKeys,eo=>In.value=eo,{deep:!0}),{columns:bn,containerRef:go,mainTableRef:qe,leftTableRef:hn,rightTableRef:vn,isDynamic:Dn,isResetting:Vn,isScrolling:ao,hoveringRowKey:Mn,hasFixedColumns:xn,columnsStyles:wn,columnsTotalWidth:kn,data:Gn,expandedRowKeys:In,depthMap:Wn,fixedColumnsOnLeft:_n,fixedColumnsOnRight:Cn,mainColumns:En,bodyWidth:Yn,emptyStyle:mo,rootStyle:fo,headerWidth:Qn,footerHeight:co,mainTableHeight:qn,fixedTableHeight:Xn,leftTableWidth:jn,rightTableWidth:Jn,showEmpty:yo,getRowHeight:Bo,onColumnSorted:$n,onRowHovered:Kn,onRowExpanded:Hn,onRowsRendered:Un,onRowHeightChange:Fn,scrollTo:Sn,scrollToLeft:An,scrollToTop:Tn,scrollToRow:Nn,onScroll:Pn,onVerticalScroll:On}}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=(Fe,{slots:qe})=>{var hn;const{cellData:vn,style:bn}=Fe,wn=((hn=vn==null?void 0:vn.toString)==null?void 0:hn.call(vn))||"";return createVNode("div",{class:Fe.class,title:wn,style:bn},[qe.default?qe.default(Fe):wn])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(Fe,{slots:qe})=>{var hn,vn;return qe.default?qe.default(Fe):createVNode("div",{class:Fe.class,title:(hn=Fe.column)==null?void 0:hn.title},[(vn=Fe.column)==null?void 0:vn.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(Fe,{slots:qe}){return()=>{const{columns:hn,columnsStyles:vn,headerIndex:bn,style:wn}=Fe;let kn=hn.map((_n,Cn)=>qe.cell({columns:hn,column:_n,columnIndex:Cn,headerIndex:bn,style:vn[_n.key]}));return qe.header&&(kn=qe.header({cells:kn.map(_n=>isArray$x(_n)&&_n.length===1?_n[0]:_n),columns:hn,headerIndex:bn})),createVNode("div",{class:Fe.class,style:wn,role:"row"},[kn])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(Fe,{slots:qe,expose:hn}){const vn=useNamespace("table-v2"),bn=ref(),wn=computed(()=>enforceUnit({width:Fe.width,height:Fe.height})),kn=computed(()=>enforceUnit({width:Fe.rowWidth,height:Fe.height})),_n=computed(()=>castArray$1(unref(Fe.headerHeight))),Cn=$n=>{const Sn=unref(bn);nextTick(()=>{Sn!=null&&Sn.scroll&&Sn.scroll({left:$n})})},xn=()=>{const $n=vn.e("fixed-header-row"),{columns:Sn,fixedHeaderData:An,rowHeight:Tn}=Fe;return An==null?void 0:An.map((Nn,Pn)=>{var On;const Rn=enforceUnit({height:Tn,width:"100%"});return(On=qe.fixed)==null?void 0:On.call(qe,{class:$n,columns:Sn,rowData:Nn,rowIndex:-(Pn+1),style:Rn})})},En=()=>{const $n=vn.e("dynamic-header-row"),{columns:Sn}=Fe;return unref(_n).map((An,Tn)=>{var Nn;const Pn=enforceUnit({width:"100%",height:An});return(Nn=qe.dynamic)==null?void 0:Nn.call(qe,{class:$n,columns:Sn,headerIndex:Tn,style:Pn})})};return hn({scrollToLeft:Cn}),()=>{if(!(Fe.height<=0))return createVNode("div",{ref:bn,class:Fe.class,style:unref(wn),role:"rowgroup"},[createVNode("div",{style:unref(kn),class:vn.e("header")},[En(),xn()])])}}}),useTableRow=Fe=>{const{isScrolling:qe}=inject(TableV2InjectionKey),hn=ref(!1),vn=ref(),bn=computed(()=>isNumber$d(Fe.estimatedRowHeight)&&Fe.rowIndex>=0),wn=(Cn=!1)=>{const xn=unref(vn);if(!xn)return;const{columns:En,onRowHeightChange:$n,rowKey:Sn,rowIndex:An,style:Tn}=Fe,{height:Nn}=xn.getBoundingClientRect();hn.value=!0,nextTick(()=>{if(Cn||Nn!==Number.parseInt(Tn.height)){const Pn=En[0],On=(Pn==null?void 0:Pn.placeholderSign)===placeholderSign;$n==null||$n({rowKey:Sn,height:Nn,rowIndex:An},Pn&&!On&&Pn.fixed)}})},kn=computed(()=>{const{rowData:Cn,rowIndex:xn,rowKey:En,onRowHover:$n}=Fe,Sn=Fe.rowEventHandlers||{},An={};return Object.entries(Sn).forEach(([Tn,Nn])=>{isFunction$i(Nn)&&(An[Tn]=Pn=>{Nn({event:Pn,rowData:Cn,rowIndex:xn,rowKey:En})})}),$n&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:Tn,hovered:Nn})=>{const Pn=An[Tn];An[Tn]=On=>{$n({event:On,hovered:Nn,rowData:Cn,rowIndex:xn,rowKey:En}),Pn==null||Pn(On)}}),An}),_n=Cn=>{const{onRowExpand:xn,rowData:En,rowIndex:$n,rowKey:Sn}=Fe;xn==null||xn({expanded:Cn,rowData:En,rowIndex:$n,rowKey:Sn})};return onMounted(()=>{unref(bn)&&wn(!0)}),{isScrolling:qe,measurable:bn,measured:hn,rowRef:vn,eventHandlers:kn,onExpand:_n}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(Fe,{expose:qe,slots:hn,attrs:vn}){const{eventHandlers:bn,isScrolling:wn,measurable:kn,measured:_n,rowRef:Cn,onExpand:xn}=useTableRow(Fe);return qe({onExpand:xn}),()=>{const{columns:En,columnsStyles:$n,expandColumnKey:Sn,depth:An,rowData:Tn,rowIndex:Nn,style:Pn}=Fe;let On=En.map((Rn,In)=>{const Mn=isArray$x(Tn.children)&&Tn.children.length>0&&Rn.key===Sn;return hn.cell({column:Rn,columns:En,columnIndex:In,depth:An,style:$n[Rn.key],rowData:Tn,rowIndex:Nn,isScrolling:unref(wn),expandIconProps:Mn?{rowData:Tn,rowIndex:Nn,onExpand:xn}:void 0})});if(hn.row&&(On=hn.row({cells:On.map(Rn=>isArray$x(Rn)&&Rn.length===1?Rn[0]:Rn),style:Pn,columns:En,depth:An,rowData:Tn,rowIndex:Nn,isScrolling:unref(wn)})),unref(kn)){const{height:Rn,...In}=Pn||{},Mn=unref(_n);return createVNode("div",mergeProps({ref:Cn,class:Fe.class,style:Mn?Pn:In,role:"row"},vn,unref(bn)),[On])}return createVNode("div",mergeProps(vn,{ref:Cn,class:Fe.class,style:Pn,role:"row"},unref(bn)),[On])}}}),SortIcon=Fe=>{const{sortOrder:qe}=Fe;return createVNode(ElIcon,{size:14,class:Fe.class},{default:()=>[qe===SortOrder.ASC?createVNode(sort_up_default,null,null):createVNode(sort_down_default,null,null)]})},ExpandIcon=Fe=>{const{expanded:qe,expandable:hn,onExpand:vn,style:bn,size:wn}=Fe,kn={onClick:hn?()=>vn(!qe):void 0,class:Fe.class};return createVNode(ElIcon,mergeProps(kn,{size:wn,style:bn}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=Fe=>{const qe=ref(),hn=ref(),vn=computed(()=>{const{data:Nn,rowHeight:Pn,estimatedRowHeight:On}=Fe;if(!On)return Nn.length*Pn}),bn=computed(()=>{const{fixedData:Nn,rowHeight:Pn}=Fe;return((Nn==null?void 0:Nn.length)||0)*Pn}),wn=computed(()=>sum$3(Fe.headerHeight)),kn=computed(()=>{const{height:Nn}=Fe;return Math.max(0,Nn-unref(wn)-unref(bn))}),_n=computed(()=>unref(wn)+unref(bn)>0),Cn=({data:Nn,rowIndex:Pn})=>Nn[Pn][Fe.rowKey];function xn({rowCacheStart:Nn,rowCacheEnd:Pn,rowVisibleStart:On,rowVisibleEnd:Rn}){var In;(In=Fe.onRowsRendered)==null||In.call(Fe,{rowCacheStart:Nn,rowCacheEnd:Pn,rowVisibleStart:On,rowVisibleEnd:Rn})}function En(Nn,Pn){var On;(On=hn.value)==null||On.resetAfterRowIndex(Nn,Pn)}function $n(Nn,Pn){const On=unref(qe),Rn=unref(hn);!On||!Rn||(isObject$9(Nn)?(On.scrollToLeft(Nn.scrollLeft),Rn.scrollTo(Nn)):(On.scrollToLeft(Nn),Rn.scrollTo({scrollLeft:Nn,scrollTop:Pn})))}function Sn(Nn){var Pn;(Pn=unref(hn))==null||Pn.scrollTo({scrollTop:Nn})}function An(Nn,Pn){var On;(On=unref(hn))==null||On.scrollToItem(Nn,1,Pn)}function Tn(){var Nn,Pn;(Nn=unref(hn))==null||Nn.$forceUpdate(),(Pn=unref(qe))==null||Pn.$forceUpdate()}return{bodyRef:hn,forceUpdate:Tn,fixedRowHeight:bn,gridHeight:kn,hasHeader:_n,headerHeight:wn,headerRef:qe,totalHeight:vn,itemKey:Cn,onItemRendered:xn,resetAfterRowIndex:En,scrollTo:$n,scrollToTop:Sn,scrollToRow:An}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(Fe,{slots:qe,expose:hn}){const{ns:vn}=inject(TableV2InjectionKey),{bodyRef:bn,fixedRowHeight:wn,gridHeight:kn,hasHeader:_n,headerRef:Cn,headerHeight:xn,totalHeight:En,forceUpdate:$n,itemKey:Sn,onItemRendered:An,resetAfterRowIndex:Tn,scrollTo:Nn,scrollToTop:Pn,scrollToRow:On}=useTableGrid(Fe);hn({forceUpdate:$n,totalHeight:En,scrollTo:Nn,scrollToTop:Pn,scrollToRow:On,resetAfterRowIndex:Tn});const Rn=()=>Fe.bodyWidth;return()=>{const{cache:In,columns:Mn,data:Bn,fixedData:Dn,useIsScrolling:Vn,scrollbarAlwaysOn:Ln,scrollbarEndGap:zn,scrollbarStartGap:Hn,style:Fn,rowHeight:Kn,bodyWidth:Un,estimatedRowHeight:Gn,headerWidth:Wn,height:Yn,width:Xn,getRowHeight:qn,onScroll:jn}=Fe,Jn=isNumber$d(Gn),Qn=Jn?DynamicSizeGrid:FixedSizeGrid,no=unref(xn);return createVNode("div",{role:"table",class:[vn.e("table"),Fe.class],style:Fn},[createVNode(Qn,{ref:bn,data:Bn,useIsScrolling:Vn,itemKey:Sn,columnCache:0,columnWidth:Jn?Rn:Un,totalColumn:1,totalRow:Bn.length,rowCache:In,rowHeight:Jn?qn:Kn,width:Xn,height:unref(kn),class:vn.e("body"),role:"rowgroup",scrollbarStartGap:Hn,scrollbarEndGap:zn,scrollbarAlwaysOn:Ln,onScroll:jn,onItemRendered:An,perfMode:!1},{default:so=>{var co;const mo=Bn[so.rowIndex];return(co=qe.row)==null?void 0:co.call(qe,{...so,columns:Mn,rowData:mo})}}),unref(_n)&&createVNode(TableV2Header,{ref:Cn,class:vn.e("header-wrapper"),columns:Mn,headerData:Bn,headerHeight:Fe.headerHeight,fixedHeaderData:Dn,rowWidth:Wn,rowHeight:Kn,width:Xn,height:Math.min(no+unref(wn),Yn)},{dynamic:qe.header,fixed:qe.row})])}}});function _isSlot$5(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const MainTable=(Fe,{slots:qe})=>{const{mainTableRef:hn,...vn}=Fe;return createVNode(TableGrid,mergeProps({ref:hn},vn),_isSlot$5(qe)?qe:{default:()=>[qe]})};function _isSlot$4(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const LeftTable$1=(Fe,{slots:qe})=>{if(!Fe.columns.length)return;const{leftTableRef:hn,...vn}=Fe;return createVNode(TableGrid,mergeProps({ref:hn},vn),_isSlot$4(qe)?qe:{default:()=>[qe]})};function _isSlot$3(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const LeftTable=(Fe,{slots:qe})=>{if(!Fe.columns.length)return;const{rightTableRef:hn,...vn}=Fe;return createVNode(TableGrid,mergeProps({ref:hn},vn),_isSlot$3(qe)?qe:{default:()=>[qe]})};function _isSlot$2(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const RowRenderer=(Fe,{slots:qe})=>{const{columns:hn,columnsStyles:vn,depthMap:bn,expandColumnKey:wn,expandedRowKeys:kn,estimatedRowHeight:_n,hasFixedColumns:Cn,hoveringRowKey:xn,rowData:En,rowIndex:$n,style:Sn,isScrolling:An,rowProps:Tn,rowClass:Nn,rowKey:Pn,rowEventHandlers:On,ns:Rn,onRowHovered:In,onRowExpanded:Mn}=Fe,Bn=tryCall(Nn,{columns:hn,rowData:En,rowIndex:$n},""),Dn=tryCall(Tn,{columns:hn,rowData:En,rowIndex:$n}),Vn=En[Pn],Ln=bn[Vn]||0,zn=!!wn,Hn=$n<0,Fn=[Rn.e("row"),Bn,{[Rn.e(`row-depth-${Ln}`)]:zn&&$n>=0,[Rn.is("expanded")]:zn&&kn.includes(Vn),[Rn.is("hovered")]:!An&&Vn===xn,[Rn.is("fixed")]:!Ln&&Hn,[Rn.is("customized")]:!!qe.row}],Kn=Cn?In:void 0,Un={...Dn,columns:hn,columnsStyles:vn,class:Fn,depth:Ln,expandColumnKey:wn,estimatedRowHeight:Hn?void 0:_n,isScrolling:An,rowIndex:$n,rowData:En,rowKey:Vn,rowEventHandlers:On,style:Sn};return createVNode(TableV2Row,mergeProps(Un,{onRowHover:Kn,onRowExpand:Mn}),_isSlot$2(qe)?qe:{default:()=>[qe]})},CellRenderer=({columns:Fe,column:qe,columnIndex:hn,depth:vn,expandIconProps:bn,isScrolling:wn,rowData:kn,rowIndex:_n,style:Cn,expandedRowKeys:xn,ns:En,cellProps:$n,expandColumnKey:Sn,indentSize:An,iconSize:Tn,rowKey:Nn},{slots:Pn})=>{const On=enforceUnit(Cn);if(qe.placeholderSign===placeholderSign)return createVNode("div",{class:En.em("row-cell","placeholder"),style:On},null);const{cellRenderer:Rn,dataKey:In,dataGetter:Mn}=qe,Dn=componentToSlot(Rn)||Pn.default||(Yn=>createVNode(TableV2Cell,Yn,null)),Vn=isFunction$i(Mn)?Mn({columns:Fe,column:qe,columnIndex:hn,rowData:kn,rowIndex:_n}):get$6(kn,In??""),Ln=tryCall($n,{cellData:Vn,columns:Fe,column:qe,columnIndex:hn,rowIndex:_n,rowData:kn}),zn={class:En.e("cell-text"),columns:Fe,column:qe,columnIndex:hn,cellData:Vn,isScrolling:wn,rowData:kn,rowIndex:_n},Hn=Dn(zn),Fn=[En.e("row-cell"),qe.class,qe.align===Alignment.CENTER&&En.is("align-center"),qe.align===Alignment.RIGHT&&En.is("align-right")],Kn=_n>=0&&Sn&&qe.key===Sn,Un=_n>=0&&xn.includes(kn[Nn]);let Gn;const Wn=`margin-inline-start: ${vn*An}px;`;return Kn&&(isObject$9(bn)?Gn=createVNode(ExpandIcon,mergeProps(bn,{class:[En.e("expand-icon"),En.is("expanded",Un)],size:Tn,expanded:Un,style:Wn,expandable:!0}),null):Gn=createVNode("div",{style:[Wn,`width: ${Tn}px; height: ${Tn}px;`].join(" ")},null)),createVNode("div",mergeProps({class:Fn,style:On},Ln,{role:"cell"}),[Gn,Hn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const HeaderRenderer=({columns:Fe,columnsStyles:qe,headerIndex:hn,style:vn,headerClass:bn,headerProps:wn,ns:kn},{slots:_n})=>{const Cn={columns:Fe,headerIndex:hn},xn=[kn.e("header-row"),tryCall(bn,Cn,""),{[kn.is("customized")]:!!_n.header}],En={...tryCall(wn,Cn),columnsStyles:qe,class:xn,columns:Fe,headerIndex:hn,style:vn};return createVNode(TableV2HeaderRow,En,_isSlot$1(_n)?_n:{default:()=>[_n]})},HeaderCellRenderer=(Fe,{slots:qe})=>{const{column:hn,ns:vn,style:bn,onColumnSorted:wn}=Fe,kn=enforceUnit(bn);if(hn.placeholderSign===placeholderSign)return createVNode("div",{class:vn.em("header-row-cell","placeholder"),style:kn},null);const{headerCellRenderer:_n,headerClass:Cn,sortable:xn}=hn,En={...Fe,class:vn.e("header-cell-text")},Sn=(componentToSlot(_n)||qe.default||(Mn=>createVNode(HeaderCell,Mn,null)))(En),{sortBy:An,sortState:Tn,headerCellProps:Nn}=Fe;let Pn,On;if(Tn){const Mn=Tn[hn.key];Pn=!!oppositeOrderMap[Mn],On=Pn?Mn:SortOrder.ASC}else Pn=hn.key===An.key,On=Pn?An.order:SortOrder.ASC;const Rn=[vn.e("header-cell"),tryCall(Cn,Fe,""),hn.align===Alignment.CENTER&&vn.is("align-center"),hn.align===Alignment.RIGHT&&vn.is("align-right"),xn&&vn.is("sortable")],In={...tryCall(Nn,Fe),onClick:hn.sortable?wn:void 0,class:Rn,style:kn,"data-key":hn.key};return createVNode("div",mergeProps(In,{role:"columnheader"}),[Sn,xn&&createVNode(SortIcon,{class:[vn.e("sort-icon"),Pn&&vn.is("sorting")],sortOrder:On},null)])},Footer$2=(Fe,{slots:qe})=>{var hn;return createVNode("div",{class:Fe.class,style:Fe.style},[(hn=qe.default)==null?void 0:hn.call(qe)])};Footer$2.displayName="ElTableV2Footer";const Footer$1=(Fe,{slots:qe})=>createVNode("div",{class:Fe.class,style:Fe.style},[qe.default?qe.default():createVNode(ElEmpty,null,null)]);Footer$1.displayName="ElTableV2Empty";const Overlay=(Fe,{slots:qe})=>{var hn;return createVNode("div",{class:Fe.class,style:Fe.style},[(hn=qe.default)==null?void 0:hn.call(qe)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(Fe){return typeof Fe=="function"||Object.prototype.toString.call(Fe)==="[object Object]"&&!isVNode(Fe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(Fe,{slots:qe,expose:hn}){const vn=useNamespace("table-v2"),{columnsStyles:bn,fixedColumnsOnLeft:wn,fixedColumnsOnRight:kn,mainColumns:_n,mainTableHeight:Cn,fixedTableHeight:xn,leftTableWidth:En,rightTableWidth:$n,data:Sn,depthMap:An,expandedRowKeys:Tn,hasFixedColumns:Nn,hoveringRowKey:Pn,mainTableRef:On,leftTableRef:Rn,rightTableRef:In,isDynamic:Mn,isResetting:Bn,isScrolling:Dn,bodyWidth:Vn,emptyStyle:Ln,rootStyle:zn,headerWidth:Hn,footerHeight:Fn,showEmpty:Kn,scrollTo:Un,scrollToLeft:Gn,scrollToTop:Wn,scrollToRow:Yn,getRowHeight:Xn,onColumnSorted:qn,onRowHeightChange:jn,onRowHovered:Jn,onRowExpanded:Qn,onRowsRendered:no,onScroll:so,onVerticalScroll:co}=useTable(Fe);return hn({scrollTo:Un,scrollToLeft:Gn,scrollToTop:Wn,scrollToRow:Yn}),provide(TableV2InjectionKey,{ns:vn,isResetting:Bn,hoveringRowKey:Pn,isScrolling:Dn}),()=>{const{cache:mo,cellProps:fo,estimatedRowHeight:io,expandColumnKey:ao,fixedData:go,headerHeight:yo,headerClass:Bo,headerProps:ro,headerCellProps:eo,sortBy:lo,sortState:ho,rowHeight:Io,rowClass:Po,rowEventHandlers:ko,rowKey:xo,rowProps:Ao,scrollbarAlwaysOn:vo,indentSize:qo,iconSize:jo,useIsScrolling:Ko,vScrollbarSize:bo,width:wo}=Fe,zo=unref(Sn),Yo={cache:mo,class:vn.e("main"),columns:unref(_n),data:zo,fixedData:go,estimatedRowHeight:io,bodyWidth:unref(Vn)+bo,headerHeight:yo,headerWidth:unref(Hn),height:unref(Cn),mainTableRef:On,rowKey:xo,rowHeight:Io,scrollbarAlwaysOn:vo,scrollbarStartGap:2,scrollbarEndGap:bo,useIsScrolling:Ko,width:wo,getRowHeight:Xn,onRowsRendered:no,onScroll:so},_o=unref(En),Fo=unref(xn),$o={cache:mo,class:vn.e("left"),columns:unref(wn),data:zo,estimatedRowHeight:io,leftTableRef:Rn,rowHeight:Io,bodyWidth:_o,headerWidth:_o,headerHeight:yo,height:Fo,rowKey:xo,scrollbarAlwaysOn:vo,scrollbarStartGap:2,scrollbarEndGap:bo,useIsScrolling:Ko,width:_o,getRowHeight:Xn,onScroll:co},No=unref($n)+bo,Vo={cache:mo,class:vn.e("right"),columns:unref(kn),data:zo,estimatedRowHeight:io,rightTableRef:In,rowHeight:Io,bodyWidth:No,headerWidth:No,headerHeight:yo,height:Fo,rowKey:xo,scrollbarAlwaysOn:vo,scrollbarStartGap:2,scrollbarEndGap:bo,width:No,style:`--${unref(vn.namespace)}-table-scrollbar-size: ${bo}px`,useIsScrolling:Ko,getRowHeight:Xn,onScroll:co},Eo=unref(bn),rr={ns:vn,depthMap:unref(An),columnsStyles:Eo,expandColumnKey:ao,expandedRowKeys:unref(Tn),estimatedRowHeight:io,hasFixedColumns:unref(Nn),hoveringRowKey:unref(Pn),rowProps:Ao,rowClass:Po,rowKey:xo,rowEventHandlers:ko,onRowHovered:Jn,onRowExpanded:Qn,onRowHeightChange:jn},sr={cellProps:fo,expandColumnKey:ao,indentSize:qo,iconSize:jo,rowKey:xo,expandedRowKeys:unref(Tn),ns:vn},ur={ns:vn,headerClass:Bo,headerProps:ro,columnsStyles:Eo},hr={ns:vn,sortBy:lo,sortState:ho,headerCellProps:eo,onColumnSorted:qn},Co={row:Qo=>createVNode(RowRenderer,mergeProps(Qo,rr),{row:qe.row,cell:mr=>{let br;return qe.cell?createVNode(CellRenderer,mergeProps(mr,sr,{style:Eo[mr.column.key]}),_isSlot(br=qe.cell(mr))?br:{default:()=>[br]}):createVNode(CellRenderer,mergeProps(mr,sr,{style:Eo[mr.column.key]}),null)}}),header:Qo=>createVNode(HeaderRenderer,mergeProps(Qo,ur),{header:qe.header,cell:mr=>{let br;return qe["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(mr,hr,{style:Eo[mr.column.key]}),_isSlot(br=qe["header-cell"](mr))?br:{default:()=>[br]}):createVNode(HeaderCellRenderer,mergeProps(mr,hr,{style:Eo[mr.column.key]}),null)}})},Er=[Fe.class,vn.b(),vn.e("root"),{[vn.is("dynamic")]:unref(Mn)}],$r={class:vn.e("footer"),style:unref(Fn)};return createVNode("div",{class:Er,style:unref(zn)},[createVNode(MainTable,Yo,_isSlot(Co)?Co:{default:()=>[Co]}),createVNode(LeftTable$1,$o,_isSlot(Co)?Co:{default:()=>[Co]}),createVNode(LeftTable,Vo,_isSlot(Co)?Co:{default:()=>[Co]}),qe.footer&&createVNode(Footer$2,$r,{default:qe.footer}),unref(Kn)&&createVNode(Footer$1,{class:vn.e("empty"),style:unref(Ln)},{default:qe.empty}),qe.overlay&&createVNode(Overlay,{class:vn.e("overlay")},{default:qe.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(Fe,{slots:qe}){const hn=useNamespace("auto-resizer"),{height:vn,width:bn,sizer:wn}=useAutoResize(Fe),kn={width:"100%",height:"100%"};return()=>{var _n;return createVNode("div",{ref:wn,class:hn.b(),style:kn},[(_n=qe.default)==null?void 0:_n.call(qe,{height:vn.value,width:bn.value})])}}}),ElTableV2=withInstall$1(TableV2),ElAutoResizer=withInstall$1(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$l=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$C=defineComponent({...__default__$l,props:tabBarProps,setup(Fe,{expose:qe}){const hn=Fe,vn=getCurrentInstance(),bn=inject(tabsRootContextKey);bn||throwError(COMPONENT_NAME$3,"");const wn=useNamespace("tabs"),kn=ref(),_n=ref(),Cn=()=>{let En=0,$n=0;const Sn=["top","bottom"].includes(bn.props.tabPosition)?"width":"height",An=Sn==="width"?"x":"y",Tn=An==="x"?"left":"top";return hn.tabs.every(Nn=>{var Pn,On;const Rn=(On=(Pn=vn.parent)==null?void 0:Pn.refs)==null?void 0:On[`tab-${Nn.uid}`];if(!Rn)return!1;if(!Nn.active)return!0;En=Rn[`offset${capitalize(Tn)}`],$n=Rn[`client${capitalize(Sn)}`];const In=window.getComputedStyle(Rn);return Sn==="width"&&(hn.tabs.length>1&&($n-=Number.parseFloat(In.paddingLeft)+Number.parseFloat(In.paddingRight)),En+=Number.parseFloat(In.paddingLeft)),!1}),{[Sn]:`${$n}px`,transform:`translate${capitalize(An)}(${En}px)`}},xn=()=>_n.value=Cn();return watch(()=>hn.tabs,async()=>{await nextTick(),xn()},{immediate:!0}),useResizeObserver(kn,()=>xn()),qe({ref:kn,update:xn}),(En,$n)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:kn,class:normalizeClass([unref(wn).e("active-bar"),unref(wn).is(unref(bn).props.tabPosition)]),style:normalizeStyle(_n.value)},null,6))}});var TabBar=_export_sfc$2(_sfc_main$C,[["__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:(Fe,qe,hn)=>hn instanceof Event,tabRemove:(Fe,qe)=>qe instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(Fe,{expose:qe,emit:hn}){const vn=getCurrentInstance(),bn=inject(tabsRootContextKey);bn||throwError(COMPONENT_NAME$2,"");const wn=useNamespace("tabs"),kn=useDocumentVisibility(),_n=useWindowFocus(),Cn=ref(),xn=ref(),En=ref(),$n=ref(),Sn=ref(!1),An=ref(0),Tn=ref(!1),Nn=ref(!0),Pn=computed(()=>["top","bottom"].includes(bn.props.tabPosition)?"width":"height"),On=computed(()=>({transform:`translate${Pn.value==="width"?"X":"Y"}(-${An.value}px)`})),Rn=()=>{if(!Cn.value)return;const zn=Cn.value[`offset${capitalize(Pn.value)}`],Hn=An.value;if(!Hn)return;const Fn=Hn>zn?Hn-zn:0;An.value=Fn},In=()=>{if(!Cn.value||!xn.value)return;const zn=xn.value[`offset${capitalize(Pn.value)}`],Hn=Cn.value[`offset${capitalize(Pn.value)}`],Fn=An.value;if(zn-Fn<=Hn)return;const Kn=zn-Fn>Hn*2?Fn+Hn:zn-Hn;An.value=Kn},Mn=async()=>{const zn=xn.value;if(!Sn.value||!En.value||!Cn.value||!zn)return;await nextTick();const Hn=En.value.querySelector(".is-active");if(!Hn)return;const Fn=Cn.value,Kn=["top","bottom"].includes(bn.props.tabPosition),Un=Hn.getBoundingClientRect(),Gn=Fn.getBoundingClientRect(),Wn=Kn?zn.offsetWidth-Gn.width:zn.offsetHeight-Gn.height,Yn=An.value;let Xn=Yn;Kn?(Un.leftGn.right&&(Xn=Yn+Un.right-Gn.right)):(Un.topGn.bottom&&(Xn=Yn+(Un.bottom-Gn.bottom))),Xn=Math.max(Xn,0),An.value=Math.min(Xn,Wn)},Bn=()=>{var zn;if(!xn.value||!Cn.value)return;Fe.stretch&&((zn=$n.value)==null||zn.update());const Hn=xn.value[`offset${capitalize(Pn.value)}`],Fn=Cn.value[`offset${capitalize(Pn.value)}`],Kn=An.value;Fn0&&(An.value=0))},Dn=zn=>{const Hn=zn.code,{up:Fn,down:Kn,left:Un,right:Gn}=EVENT_CODE;if(![Fn,Kn,Un,Gn].includes(Hn))return;const Wn=Array.from(zn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Yn=Wn.indexOf(zn.target);let Xn;Hn===Un||Hn===Fn?Yn===0?Xn=Wn.length-1:Xn=Yn-1:Yn{Nn.value&&(Tn.value=!0)},Ln=()=>Tn.value=!1;return watch(kn,zn=>{zn==="hidden"?Nn.value=!1:zn==="visible"&&setTimeout(()=>Nn.value=!0,50)}),watch(_n,zn=>{zn?setTimeout(()=>Nn.value=!0,50):Nn.value=!1}),useResizeObserver(En,Bn),onMounted(()=>setTimeout(()=>Mn(),0)),onUpdated(()=>Bn()),qe({scrollToActiveTab:Mn,removeFocus:Ln}),watch(()=>Fe.panes,()=>vn.update(),{flush:"post",deep:!0}),()=>{const zn=Sn.value?[createVNode("span",{class:[wn.e("nav-prev"),wn.is("disabled",!Sn.value.prev)],onClick:Rn},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[wn.e("nav-next"),wn.is("disabled",!Sn.value.next)],onClick:In},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,Hn=Fe.panes.map((Fn,Kn)=>{var Un,Gn,Wn,Yn;const Xn=Fn.uid,qn=Fn.props.disabled,jn=(Gn=(Un=Fn.props.name)!=null?Un:Fn.index)!=null?Gn:`${Kn}`,Jn=!qn&&(Fn.isClosable||Fe.editable);Fn.index=`${Kn}`;const Qn=Jn?createVNode(ElIcon,{class:"is-icon-close",onClick:co=>hn("tabRemove",Fn,co)},{default:()=>[createVNode(close_default,null,null)]}):null,no=((Yn=(Wn=Fn.slots).label)==null?void 0:Yn.call(Wn))||Fn.props.label,so=!qn&&Fn.active?0:-1;return createVNode("div",{ref:`tab-${Xn}`,class:[wn.e("item"),wn.is(bn.props.tabPosition),wn.is("active",Fn.active),wn.is("disabled",qn),wn.is("closable",Jn),wn.is("focus",Tn.value)],id:`tab-${jn}`,key:`tab-${Xn}`,"aria-controls":`pane-${jn}`,role:"tab","aria-selected":Fn.active,tabindex:so,onFocus:()=>Vn(),onBlur:()=>Ln(),onClick:co=>{Ln(),hn("tabClick",Fn,jn,co)},onKeydown:co=>{Jn&&(co.code===EVENT_CODE.delete||co.code===EVENT_CODE.backspace)&&hn("tabRemove",Fn,co)}},[no,Qn])});return createVNode("div",{ref:En,class:[wn.e("nav-wrap"),wn.is("scrollable",!!Sn.value),wn.is(bn.props.tabPosition)]},[zn,createVNode("div",{class:wn.e("nav-scroll"),ref:Cn},[createVNode("div",{class:[wn.e("nav"),wn.is(bn.props.tabPosition),wn.is("stretch",Fe.stretch&&["top","bottom"].includes(bn.props.tabPosition))],ref:xn,style:On.value,role:"tablist",onKeydown:Dn},[Fe.type?null:createVNode(TabBar,{ref:$n,tabs:[...Fe.panes]},null),Hn])])])}}}),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=Fe=>isString$d(Fe)||isNumber$d(Fe),tabsEmits={[UPDATE_MODEL_EVENT]:Fe=>isPaneName(Fe),tabClick:(Fe,qe)=>qe instanceof Event,tabChange:Fe=>isPaneName(Fe),edit:(Fe,qe)=>["remove","add"].includes(qe),tabRemove:Fe=>isPaneName(Fe),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(Fe,{emit:qe,slots:hn,expose:vn}){var bn,wn;const kn=useNamespace("tabs"),{children:_n,addChild:Cn,removeChild:xn}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),En=ref(),$n=ref((wn=(bn=Fe.modelValue)!=null?bn:Fe.activeName)!=null?wn:"0"),Sn=async(Pn,On=!1)=>{var Rn,In,Mn;if(!($n.value===Pn||isUndefined$d(Pn)))try{await((Rn=Fe.beforeLeave)==null?void 0:Rn.call(Fe,Pn,$n.value))!==!1&&($n.value=Pn,On&&(qe(UPDATE_MODEL_EVENT,Pn),qe("tabChange",Pn)),(Mn=(In=En.value)==null?void 0:In.removeFocus)==null||Mn.call(In))}catch{}},An=(Pn,On,Rn)=>{Pn.props.disabled||(Sn(On,!0),qe("tabClick",Pn,Rn))},Tn=(Pn,On)=>{Pn.props.disabled||isUndefined$d(Pn.props.name)||(On.stopPropagation(),qe("edit",Pn.props.name,"remove"),qe("tabRemove",Pn.props.name))},Nn=()=>{qe("edit",void 0,"add"),qe("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(()=>!!Fe.activeName)),watch(()=>Fe.activeName,Pn=>Sn(Pn)),watch(()=>Fe.modelValue,Pn=>Sn(Pn)),watch($n,async()=>{var Pn;await nextTick(),(Pn=En.value)==null||Pn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:Fe,currentName:$n,registerPane:Cn,unregisterPane:xn}),vn({currentName:$n}),()=>{const Pn=hn.addIcon,On=Fe.editable||Fe.addable?createVNode("span",{class:kn.e("new-tab"),tabindex:"0",onClick:Nn,onKeydown:Mn=>{Mn.code===EVENT_CODE.enter&&Nn()}},[Pn?renderSlot(hn,"addIcon"):createVNode(ElIcon,{class:kn.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,Rn=createVNode("div",{class:[kn.e("header"),kn.is(Fe.tabPosition)]},[On,createVNode(TabNav,{ref:En,currentName:$n.value,editable:Fe.editable,type:Fe.type,panes:_n.value,stretch:Fe.stretch,onTabClick:An,onTabRemove:Tn},null)]),In=createVNode("div",{class:kn.e("content")},[renderSlot(hn,"default")]);return createVNode("div",{class:[kn.b(),kn.m(Fe.tabPosition),{[kn.m("card")]:Fe.type==="card",[kn.m("border-card")]:Fe.type==="border-card"}]},[...Fe.tabPosition!=="bottom"?[Rn,In]:[In,Rn]])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$k=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$k=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$B=defineComponent({...__default__$k,props:tabPaneProps,setup(Fe){const qe=Fe,hn=getCurrentInstance(),vn=useSlots(),bn=inject(tabsRootContextKey);bn||throwError(COMPONENT_NAME$1,"usage: ");const wn=useNamespace("tab-pane"),kn=ref(),_n=computed(()=>qe.closable||bn.props.closable),Cn=computedEager(()=>{var An;return bn.currentName.value===((An=qe.name)!=null?An:kn.value)}),xn=ref(Cn.value),En=computed(()=>{var An;return(An=qe.name)!=null?An:kn.value}),$n=computedEager(()=>!qe.lazy||xn.value||Cn.value);watch(Cn,An=>{An&&(xn.value=!0)});const Sn=reactive({uid:hn.uid,slots:vn,props:qe,paneName:En,active:Cn,index:kn,isClosable:_n});return onMounted(()=>{bn.registerPane(Sn)}),onUnmounted(()=>{bn.unregisterPane(Sn.uid)}),(An,Tn)=>unref($n)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(En)}`,class:normalizeClass(unref(wn).b()),role:"tabpanel","aria-hidden":!unref(Cn),"aria-labelledby":`tab-${unref(En)}`},[renderSlot(An.$slots,"default")],10,_hoisted_1$k)),[[vShow,unref(Cn)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$2(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall$1(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},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$j=defineComponent({name:"ElText"}),_sfc_main$A=defineComponent({...__default__$j,props:textProps,setup(Fe){const qe=Fe,hn=useFormSize(),vn=useNamespace("text"),bn=computed(()=>[vn.b(),vn.m(qe.type),vn.m(hn.value),vn.is("truncated",qe.truncated),vn.is("line-clamp",!isUndefined$d(qe.lineClamp))]);return(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(wn.tag),{class:normalizeClass(unref(bn)),style:normalizeStyle({"-webkit-line-clamp":wn.lineClamp})},{default:withCtx(()=>[renderSlot(wn.$slots,"default")]),_:3},8,["class","style"]))}});var Text$1=_export_sfc$2(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall$1(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=Fe=>{const qe=(Fe||"").split(":");if(qe.length>=2){let hn=Number.parseInt(qe[0],10);const vn=Number.parseInt(qe[1],10),bn=Fe.toUpperCase();return bn.includes("AM")&&hn===12?hn=0:bn.includes("PM")&&hn!==12&&(hn+=12),{hours:hn,minutes:vn}}return null},compareTime=(Fe,qe)=>{const hn=parseTime(Fe);if(!hn)return-1;const vn=parseTime(qe);if(!vn)return-1;const bn=hn.minutes+hn.hours*60,wn=vn.minutes+vn.hours*60;return bn===wn?0:bn>wn?1:-1},padTime=Fe=>`${Fe}`.padStart(2,"0"),formatTime=Fe=>`${padTime(Fe.hours)}:${padTime(Fe.minutes)}`,nextTime=(Fe,qe)=>{const hn=parseTime(Fe);if(!hn)return"";const vn=parseTime(qe);if(!vn)return"";const bn={hours:hn.hours,minutes:hn.minutes};return bn.minutes+=vn.minutes,bn.hours+=vn.hours,bn.hours+=Math.floor(bn.minutes/60),bn.minutes=bn.minutes%60,formatTime(bn)},__default__$i=defineComponent({name:"ElTimeSelect"}),_sfc_main$z=defineComponent({...__default__$i,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(Fe,{expose:qe}){const hn=Fe;dayjs.extend(customParseFormat);const{Option:vn}=ElSelect,bn=useNamespace("input"),wn=ref(),kn=useFormDisabled(),{lang:_n}=useLocale(),Cn=computed(()=>hn.modelValue),xn=computed(()=>{const On=parseTime(hn.start);return On?formatTime(On):null}),En=computed(()=>{const On=parseTime(hn.end);return On?formatTime(On):null}),$n=computed(()=>{const On=parseTime(hn.step);return On?formatTime(On):null}),Sn=computed(()=>{const On=parseTime(hn.minTime||"");return On?formatTime(On):null}),An=computed(()=>{const On=parseTime(hn.maxTime||"");return On?formatTime(On):null}),Tn=computed(()=>{const On=[];if(hn.start&&hn.end&&hn.step){let Rn=xn.value,In;for(;Rn&&En.value&&compareTime(Rn,En.value)<=0;)In=dayjs(Rn,"HH:mm").locale(_n.value).format(hn.format),On.push({value:In,disabled:compareTime(Rn,Sn.value||"-1:-1")<=0||compareTime(Rn,An.value||"100:100")>=0}),Rn=nextTime(Rn,$n.value)}return On});return qe({blur:()=>{var On,Rn;(Rn=(On=wn.value)==null?void 0:On.blur)==null||Rn.call(On)},focus:()=>{var On,Rn;(Rn=(On=wn.value)==null?void 0:On.focus)==null||Rn.call(On)}}),(On,Rn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:wn,"model-value":unref(Cn),disabled:unref(kn),clearable:On.clearable,"clear-icon":On.clearIcon,size:On.size,effect:On.effect,placeholder:On.placeholder,"default-first-option":"",filterable:On.editable,"onUpdate:modelValue":Rn[0]||(Rn[0]=In=>On.$emit("update:modelValue",In)),onChange:Rn[1]||(Rn[1]=In=>On.$emit("change",In)),onBlur:Rn[2]||(Rn[2]=In=>On.$emit("blur",In)),onFocus:Rn[3]||(Rn[3]=In=>On.$emit("focus",In))},{prefix:withCtx(()=>[On.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(bn).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(On.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Tn),In=>(openBlock(),createBlock(unref(vn),{key:In.value,label:In.value,value:In.value,disabled:In.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var TimeSelect=_export_sfc$2(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);TimeSelect.install=Fe=>{Fe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(Fe,{slots:qe}){const hn=useNamespace("timeline");return provide("timeline",qe),()=>h$6("ul",{class:[hn.b()]},[renderSlot(qe,"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__$h=defineComponent({name:"ElTimelineItem"}),_sfc_main$y=defineComponent({...__default__$h,props:timelineItemProps,setup(Fe){const qe=Fe,hn=useNamespace("timeline-item"),vn=computed(()=>[hn.e("node"),hn.em("node",qe.size||""),hn.em("node",qe.type||""),hn.is("hollow",qe.hollow)]);return(bn,wn)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(hn).b(),{[unref(hn).e("center")]:bn.center}])},[createBaseVNode("div",{class:normalizeClass(unref(hn).e("tail"))},null,2),bn.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(vn)),style:normalizeStyle({backgroundColor:bn.color})},[bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(hn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),bn.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(hn).e("dot"))},[renderSlot(bn.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(hn).e("wrapper"))},[!bn.hideTimestamp&&bn.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(hn).e("timestamp"),unref(hn).is("top")])},toDisplayString(bn.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(hn).e("content"))},[renderSlot(bn.$slots,"default")],2),!bn.hideTimestamp&&bn.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(hn).e("timestamp"),unref(hn).is("bottom")])},toDisplayString(bn.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$2(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall$1(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(Fe=>(Fe.top="top",Fe.bottom="bottom",Fe.left="left",Fe.right="right",Fe))(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__$g=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$x=defineComponent({...__default__$g,props:tooltipV2RootProps,setup(Fe,{expose:qe}){const hn=Fe,vn=ref(hn.defaultOpen),bn=ref(null),wn=computed({get:()=>isPropAbsent(hn.open)?vn.value:hn.open,set:Pn=>{var On;vn.value=Pn,(On=hn["onUpdate:open"])==null||On.call(hn,Pn)}}),kn=computed(()=>isNumber$d(hn.delayDuration)&&hn.delayDuration>0),{start:_n,stop:Cn}=useTimeoutFn$1(()=>{wn.value=!0},computed(()=>hn.delayDuration),{immediate:!1}),xn=useNamespace("tooltip-v2"),En=useId(),$n=()=>{Cn(),wn.value=!0},Sn=()=>{unref(kn)?_n():$n()},An=$n,Tn=()=>{Cn(),wn.value=!1};return watch(wn,Pn=>{var On;Pn&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),An()),(On=hn.onOpenChange)==null||On.call(hn,Pn)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,Tn)}),onBeforeUnmount(()=>{Cn(),document.removeEventListener(TOOLTIP_V2_OPEN,Tn)}),provide(tooltipV2RootKey,{contentId:En,triggerRef:bn,ns:xn,onClose:Tn,onDelayOpen:Sn,onOpen:An}),qe({onOpen:An,onClose:Tn}),(Pn,On)=>renderSlot(Pn.$slots,"default",{open:unref(wn)})}});var TooltipV2Root=_export_sfc$2(_sfc_main$x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$f=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$w=defineComponent({...__default__$f,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(Fe){const qe=Fe,{ns:hn}=inject(tooltipV2RootKey),{arrowRef:vn}=inject(tooltipV2ContentKey),bn=computed(()=>{const{style:wn,width:kn,height:_n}=qe,Cn=hn.namespace.value;return{[`--${Cn}-tooltip-v2-arrow-width`]:`${kn}px`,[`--${Cn}-tooltip-v2-arrow-height`]:`${_n}px`,[`--${Cn}-tooltip-v2-arrow-border-width`]:`${kn/2}px`,[`--${Cn}-tooltip-v2-arrow-cover-width`]:kn/2-1,...wn||{}}});return(wn,kn)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:vn,style:normalizeStyle(unref(bn)),class:normalizeClass(unref(hn).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$2(_sfc_main$w,[["__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__$e=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$v=defineComponent({...__default__$e,props:visualHiddenProps,setup(Fe){const qe=Fe,hn=computed(()=>[qe.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(vn,bn)=>(openBlock(),createElementBlock("span",mergeProps(vn.$attrs,{style:unref(hn)}),[renderSlot(vn.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$2(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$j=["data-side"],__default__$d=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$u=defineComponent({...__default__$d,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(Fe){const qe=Fe,{triggerRef:hn,contentId:vn}=inject(tooltipV2RootKey),bn=ref(qe.placement),wn=ref(qe.strategy),kn=ref(null),{referenceRef:_n,contentRef:Cn,middlewareData:xn,x:En,y:$n,update:Sn}=useFloating({placement:bn,strategy:wn,middleware:computed(()=>{const In=[offset(qe.offset)];return qe.showArrow&&In.push(arrowMiddleware({arrowRef:kn})),In})}),An=useZIndex().nextZIndex(),Tn=useNamespace("tooltip-v2"),Nn=computed(()=>bn.value.split("-")[0]),Pn=computed(()=>({position:unref(wn),top:`${unref($n)||0}px`,left:`${unref(En)||0}px`,zIndex:An})),On=computed(()=>{if(!qe.showArrow)return{};const{arrow:In}=unref(xn);return{[`--${Tn.namespace.value}-tooltip-v2-arrow-x`]:`${In==null?void 0:In.x}px`||"",[`--${Tn.namespace.value}-tooltip-v2-arrow-y`]:`${In==null?void 0:In.y}px`||""}}),Rn=computed(()=>[Tn.e("content"),Tn.is("dark",qe.effect==="dark"),Tn.is(unref(wn)),qe.contentClass]);return watch(kn,()=>Sn()),watch(()=>qe.placement,In=>bn.value=In),onMounted(()=>{watch(()=>qe.reference||hn.value,In=>{_n.value=In||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:kn}),(In,Mn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:Cn,style:normalizeStyle(unref(Pn)),"data-tooltip-v2-root":""},[In.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(Nn),class:normalizeClass(unref(Rn))},[renderSlot(In.$slots,"default",{contentStyle:unref(Pn),contentClass:unref(Rn)}),createVNode(unref(ElVisuallyHidden),{id:unref(vn),role:"tooltip"},{default:withCtx(()=>[In.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(In.ariaLabel),1)],64)):renderSlot(In.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(In.$slots,"arrow",{style:normalizeStyle(unref(On)),side:unref(Nn)})],10,_hoisted_1$j))],4))}});var TooltipV2Content=_export_sfc$2(_sfc_main$u,[["__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(Fe,{slots:qe}){const hn=ref(),vn=composeRefs(hn,bn=>{bn?Fe.setRef(bn.nextElementSibling):Fe.setRef(null)});return()=>{var bn;const[wn]=((bn=qe.default)==null?void 0:bn.call(qe))||[],kn=Fe.onlyChild?ensureOnlyChild(wn.children):wn.children;return createVNode(Fragment,{ref:vn},[kn])}}});const __default__$c=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$t=defineComponent({...__default__$c,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(Fe){const qe=Fe,{onClose:hn,onOpen:vn,onDelayOpen:bn,triggerRef:wn,contentId:kn}=inject(tooltipV2RootKey);let _n=!1;const Cn=Rn=>{wn.value=Rn},xn=()=>{_n=!1},En=composeEventHandlers(qe.onMouseEnter,bn),$n=composeEventHandlers(qe.onMouseLeave,hn),Sn=composeEventHandlers(qe.onMouseDown,()=>{hn(),_n=!0,document.addEventListener("mouseup",xn,{once:!0})}),An=composeEventHandlers(qe.onFocus,()=>{_n||vn()}),Tn=composeEventHandlers(qe.onBlur,hn),Nn=composeEventHandlers(qe.onClick,Rn=>{Rn.detail===0&&hn()}),Pn={blur:Tn,click:Nn,focus:An,mousedown:Sn,mouseenter:En,mouseleave:$n},On=(Rn,In,Mn)=>{Rn&&Object.entries(In).forEach(([Bn,Dn])=>{Rn[Mn](Bn,Dn)})};return watch(wn,(Rn,In)=>{On(Rn,Pn,"addEventListener"),On(In,Pn,"removeEventListener"),Rn&&Rn.setAttribute("aria-describedby",kn.value)}),onBeforeUnmount(()=>{On(wn.value,Pn,"removeEventListener"),document.removeEventListener("mouseup",xn)}),(Rn,In)=>Rn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":Cn,"only-child":""},{default:withCtx(()=>[renderSlot(Rn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:wn},Rn.$attrs),[renderSlot(Rn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$2(_sfc_main$t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$b=defineComponent({name:"ElTooltipV2"}),_sfc_main$s=defineComponent({...__default__$b,props:tooltipV2Props,setup(Fe){const hn=toRefs(Fe),vn=reactive(pick$3(hn,Object.keys(tooltipV2ArrowProps))),bn=reactive(pick$3(hn,Object.keys(tooltipV2ContentProps))),wn=reactive(pick$3(hn,Object.keys(tooltipV2RootProps))),kn=reactive(pick$3(hn,Object.keys(tooltipV2TriggerProps)));return(_n,Cn)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(wn)),{default:withCtx(({open:xn})=>[createVNode(TooltipV2Trigger,mergeProps(kn,{nowrap:""}),{default:withCtx(()=>[renderSlot(_n.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:_n.to,disabled:!_n.teleported},[_n.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},_n.transitionProps)),{default:withCtx(()=>[_n.alwaysOn||xn?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},bn)),{arrow:withCtx(({style:En,side:$n})=>[_n.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},vn,{style:En,side:$n}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[_n.alwaysOn||xn?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},bn)),{arrow:withCtx(({style:En,side:$n})=>[_n.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},vn,{style:En,side:$n}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$2(_sfc_main$s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const ElTooltipV2=withInstall$1(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=(Fe,qe)=>[Fe,qe].every(isArray$x)||isArray$x(Fe)&&isNil(qe),transferEmits={[CHANGE_EVENT]:(Fe,qe,hn)=>[Fe,hn].every(isArray$x)&&["left","right"].includes(qe),[UPDATE_MODEL_EVENT]:Fe=>isArray$x(Fe),[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=Fe=>{const qe={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...qe,...Fe.props}))},useCheck$1=(Fe,qe,hn)=>{const vn=usePropsAlias(Fe),bn=computed(()=>Fe.data.filter(En=>isFunction$i(Fe.filterMethod)?Fe.filterMethod(qe.query,En):String(En[vn.value.label]||En[vn.value.key]).toLowerCase().includes(qe.query.toLowerCase()))),wn=computed(()=>bn.value.filter(En=>!En[vn.value.disabled])),kn=computed(()=>{const En=qe.checked.length,$n=Fe.data.length,{noChecked:Sn,hasChecked:An}=Fe.format;return Sn&&An?En>0?An.replace(/\${checked}/g,En.toString()).replace(/\${total}/g,$n.toString()):Sn.replace(/\${total}/g,$n.toString()):`${En}/${$n}`}),_n=computed(()=>{const En=qe.checked.length;return En>0&&En{const En=wn.value.map($n=>$n[vn.value.key]);qe.allChecked=En.length>0&&En.every($n=>qe.checked.includes($n))},xn=En=>{qe.checked=En?wn.value.map($n=>$n[vn.value.key]):[]};return watch(()=>qe.checked,(En,$n)=>{if(Cn(),qe.checkChangeByUser){const Sn=En.concat($n).filter(An=>!En.includes(An)||!$n.includes(An));hn(CHECKED_CHANGE_EVENT,En,Sn)}else hn(CHECKED_CHANGE_EVENT,En),qe.checkChangeByUser=!0}),watch(wn,()=>{Cn()}),watch(()=>Fe.data,()=>{const En=[],$n=bn.value.map(Sn=>Sn[vn.value.key]);qe.checked.forEach(Sn=>{$n.includes(Sn)&&En.push(Sn)}),qe.checkChangeByUser=!1,qe.checked=En}),watch(()=>Fe.defaultChecked,(En,$n)=>{if($n&&En.length===$n.length&&En.every(Tn=>$n.includes(Tn)))return;const Sn=[],An=wn.value.map(Tn=>Tn[vn.value.key]);En.forEach(Tn=>{An.includes(Tn)&&Sn.push(Tn)}),qe.checkChangeByUser=!1,qe.checked=Sn},{immediate:!0}),{filteredData:bn,checkableData:wn,checkedSummary:kn,isIndeterminate:_n,updateAllChecked:Cn,handleAllCheckedChange:xn}},useCheckedChange=(Fe,qe)=>({onSourceCheckedChange:(bn,wn)=>{Fe.leftChecked=bn,wn&&qe(LEFT_CHECK_CHANGE_EVENT,bn,wn)},onTargetCheckedChange:(bn,wn)=>{Fe.rightChecked=bn,wn&&qe(RIGHT_CHECK_CHANGE_EVENT,bn,wn)}}),useComputedData=Fe=>{const qe=usePropsAlias(Fe),hn=computed(()=>Fe.data.reduce((wn,kn)=>(wn[kn[qe.value.key]]=kn)&&wn,{})),vn=computed(()=>Fe.data.filter(wn=>!Fe.modelValue.includes(wn[qe.value.key]))),bn=computed(()=>Fe.targetOrder==="original"?Fe.data.filter(wn=>Fe.modelValue.includes(wn[qe.value.key])):Fe.modelValue.reduce((wn,kn)=>{const _n=hn.value[kn];return _n&&wn.push(_n),wn},[]));return{sourceData:vn,targetData:bn}},useMove=(Fe,qe,hn)=>{const vn=usePropsAlias(Fe),bn=(_n,Cn,xn)=>{hn(UPDATE_MODEL_EVENT,_n),hn(CHANGE_EVENT,_n,Cn,xn)};return{addToLeft:()=>{const _n=Fe.modelValue.slice();qe.rightChecked.forEach(Cn=>{const xn=_n.indexOf(Cn);xn>-1&&_n.splice(xn,1)}),bn(_n,"left",qe.rightChecked)},addToRight:()=>{let _n=Fe.modelValue.slice();const Cn=Fe.data.filter(xn=>{const En=xn[vn.value.key];return qe.leftChecked.includes(En)&&!Fe.modelValue.includes(En)}).map(xn=>xn[vn.value.key]);_n=Fe.targetOrder==="unshift"?Cn.concat(_n):_n.concat(Cn),Fe.targetOrder==="original"&&(_n=Fe.data.filter(xn=>_n.includes(xn[vn.value.key])).map(xn=>xn[vn.value.key])),bn(_n,"right",qe.leftChecked)}}},__default__$a=defineComponent({name:"ElTransferPanel"}),_sfc_main$r=defineComponent({...__default__$a,props:transferPanelProps,emits:transferPanelEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useSlots(),wn=({option:In})=>In,{t:kn}=useLocale(),_n=useNamespace("transfer"),Cn=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),xn=usePropsAlias(vn),{filteredData:En,checkedSummary:$n,isIndeterminate:Sn,handleAllCheckedChange:An}=useCheck$1(vn,Cn,hn),Tn=computed(()=>!isEmpty$3(Cn.query)&&isEmpty$3(En.value)),Nn=computed(()=>!isEmpty$3(bn.default()[0].children)),{checked:Pn,allChecked:On,query:Rn}=toRefs(Cn);return qe({query:Rn}),(In,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(_n).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(_n).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(On),"onUpdate:modelValue":Mn[0]||(Mn[0]=Bn=>isRef(On)?On.value=Bn:null),indeterminate:unref(Sn),"validate-event":!1,onChange:unref(An)},{default:withCtx(()=>[createTextVNode(toDisplayString(In.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref($n)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(_n).be("panel","body"),unref(_n).is("with-footer",unref(Nn))])},[In.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(Rn),"onUpdate:modelValue":Mn[1]||(Mn[1]=Bn=>isRef(Rn)?Rn.value=Bn:null),class:normalizeClass(unref(_n).be("panel","filter")),size:"default",placeholder:In.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(Pn),"onUpdate:modelValue":Mn[2]||(Mn[2]=Bn=>isRef(Pn)?Pn.value=Bn:null),"validate-event":!1,class:normalizeClass([unref(_n).is("filterable",In.filterable),unref(_n).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(En),Bn=>(openBlock(),createBlock(unref(ElCheckbox),{key:Bn[unref(xn).key],class:normalizeClass(unref(_n).be("panel","item")),label:Bn[unref(xn).key],disabled:Bn[unref(xn).disabled],"validate-event":!1},{default:withCtx(()=>{var Dn;return[createVNode(wn,{option:(Dn=In.optionRender)==null?void 0:Dn.call(In,Bn)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(Tn)&&!unref(isEmpty$3)(In.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(_n).be("panel","empty"))},toDisplayString(unref(Tn)?unref(kn)("el.transfer.noMatch"):unref(kn)("el.transfer.noData")),3),[[vShow,unref(Tn)||unref(isEmpty$3)(In.data)]])],2),unref(Nn)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(_n).be("panel","footer"))},[renderSlot(In.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$2(_sfc_main$r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$i={key:0},_hoisted_2$e={key:0},__default__$9=defineComponent({name:"ElTransfer"}),_sfc_main$q=defineComponent({...__default__$9,props:transferProps,emits:transferEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useSlots(),{t:wn}=useLocale(),kn=useNamespace("transfer"),{formItem:_n}=useFormItem(),Cn=reactive({leftChecked:[],rightChecked:[]}),xn=usePropsAlias(vn),{sourceData:En,targetData:$n}=useComputedData(vn),{onSourceCheckedChange:Sn,onTargetCheckedChange:An}=useCheckedChange(Cn,hn),{addToLeft:Tn,addToRight:Nn}=useMove(vn,Cn,hn),Pn=ref(),On=ref(),Rn=Ln=>{switch(Ln){case"left":Pn.value.query="";break;case"right":On.value.query="";break}},In=computed(()=>vn.buttonTexts.length===2),Mn=computed(()=>vn.titles[0]||wn("el.transfer.titles.0")),Bn=computed(()=>vn.titles[1]||wn("el.transfer.titles.1")),Dn=computed(()=>vn.filterPlaceholder||wn("el.transfer.filterPlaceholder"));watch(()=>vn.modelValue,()=>{var Ln;vn.validateEvent&&((Ln=_n==null?void 0:_n.validate)==null||Ln.call(_n,"change").catch(zn=>void 0))});const Vn=computed(()=>Ln=>vn.renderContent?vn.renderContent(h$6,Ln):bn.default?bn.default({option:Ln}):h$6("span",Ln[xn.value.label]||Ln[xn.value.key]));return qe({clearQuery:Rn,leftPanel:Pn,rightPanel:On}),(Ln,zn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(kn).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:Pn,data:unref(En),"option-render":unref(Vn),placeholder:unref(Dn),title:unref(Mn),filterable:Ln.filterable,format:Ln.format,"filter-method":Ln.filterMethod,"default-checked":Ln.leftDefaultChecked,props:vn.props,onCheckedChange:unref(Sn)},{default:withCtx(()=>[renderSlot(Ln.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(kn).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(kn).e("button"),unref(kn).is("with-texts",unref(In))]),disabled:unref(isEmpty$3)(Cn.rightChecked),onClick:unref(Tn)},{default:withCtx(()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1}),unref(isUndefined$d)(Ln.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$i,toDisplayString(Ln.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(kn).e("button"),unref(kn).is("with-texts",unref(In))]),disabled:unref(isEmpty$3)(Cn.leftChecked),onClick:unref(Nn)},{default:withCtx(()=>[unref(isUndefined$d)(Ln.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$e,toDisplayString(Ln.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:On,data:unref($n),"option-render":unref(Vn),placeholder:unref(Dn),filterable:Ln.filterable,format:Ln.format,"filter-method":Ln.filterMethod,title:unref(Bn),"default-checked":Ln.rightDefaultChecked,props:vn.props,onCheckedChange:unref(An)},{default:withCtx(()=>[renderSlot(Ln.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$2(_sfc_main$q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall$1(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(Fe,qe){!qe||qe[NODE_KEY]||Object.defineProperty(qe,NODE_KEY,{value:Fe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(Fe,qe){return Fe?qe[Fe]:qe[NODE_KEY]},handleCurrentChange=(Fe,qe,hn)=>{const vn=Fe.value.currentNode;hn();const bn=Fe.value.currentNode;vn!==bn&&qe("current-change",bn?bn.data:null,bn)},getChildState=Fe=>{let qe=!0,hn=!0,vn=!0;for(let bn=0,wn=Fe.length;bn"u"){const wn=vn[qe];return wn===void 0?"":wn}};let nodeIdSeed=0,Node$1=class ll{constructor(qe){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 hn in qe)hasOwn(qe,hn)&&(this[hn]=qe[hn]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const qe=this.store;if(!qe)throw new Error("[Node]store is required!");qe.registerNode(this);const hn=qe.props;if(hn&&typeof hn.isLeaf<"u"){const wn=getPropertyFromData(this,"isLeaf");typeof wn=="boolean"&&(this.isLeafByUser=wn)}if(qe.lazy!==!0&&this.data?(this.setData(this.data),qe.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&qe.lazy&&qe.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const vn=qe.defaultExpandedKeys,bn=qe.key;bn&&vn&&vn.includes(this.key)&&this.expand(null,qe.autoExpandParent),bn&&qe.currentNodeKey!==void 0&&this.key===qe.currentNodeKey&&(qe.currentNode=this,qe.currentNode.isCurrent=!0),qe.lazy&&qe._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(qe){Array.isArray(qe)||markNodeData(this,qe),this.data=qe,this.childNodes=[];let hn;this.level===0&&Array.isArray(this.data)?hn=this.data:hn=getPropertyFromData(this,"children")||[];for(let vn=0,bn=hn.length;vn-1)return qe.childNodes[hn+1]}return null}get previousSibling(){const qe=this.parent;if(qe){const hn=qe.childNodes.indexOf(this);if(hn>-1)return hn>0?qe.childNodes[hn-1]:null}return null}contains(qe,hn=!0){return(this.childNodes||[]).some(vn=>vn===qe||hn&&vn.contains(qe))}remove(){const qe=this.parent;qe&&qe.removeChild(this)}insertChild(qe,hn,vn){if(!qe)throw new Error("InsertChild error: child is required.");if(!(qe instanceof ll)){if(!vn){const bn=this.getChildren(!0);bn.includes(qe.data)||(typeof hn>"u"||hn<0?bn.push(qe.data):bn.splice(hn,0,qe.data))}Object.assign(qe,{parent:this,store:this.store}),qe=reactive(new ll(qe)),qe instanceof ll&&qe.initialize()}qe.level=this.level+1,typeof hn>"u"||hn<0?this.childNodes.push(qe):this.childNodes.splice(hn,0,qe),this.updateLeafState()}insertBefore(qe,hn){let vn;hn&&(vn=this.childNodes.indexOf(hn)),this.insertChild(qe,vn)}insertAfter(qe,hn){let vn;hn&&(vn=this.childNodes.indexOf(hn),vn!==-1&&(vn+=1)),this.insertChild(qe,vn)}removeChild(qe){const hn=this.getChildren()||[],vn=hn.indexOf(qe.data);vn>-1&&hn.splice(vn,1);const bn=this.childNodes.indexOf(qe);bn>-1&&(this.store&&this.store.deregisterNode(qe),qe.parent=null,this.childNodes.splice(bn,1)),this.updateLeafState()}removeChildByData(qe){let hn=null;for(let vn=0;vn{if(hn){let bn=this.parent;for(;bn.level>0;)bn.expanded=!0,bn=bn.parent}this.expanded=!0,qe&&qe(),this.childNodes.forEach(bn=>{bn.canFocus=!0})};this.shouldLoadData()?this.loadData(bn=>{Array.isArray(bn)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),vn())}):vn()}doCreateChildren(qe,hn={}){qe.forEach(vn=>{this.insertChild(Object.assign({data:vn},hn),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(qe=>{qe.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 qe=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!qe||qe.length===0;return}this.isLeaf=!1}setChecked(qe,hn,vn,bn){if(this.indeterminate=qe==="half",this.checked=qe===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:kn,allWithoutDisable:_n}=getChildState(this.childNodes);!this.isLeaf&&!kn&&_n&&(this.checked=!1,qe=!1);const Cn=()=>{if(hn){const xn=this.childNodes;for(let Sn=0,An=xn.length;Sn{Cn(),reInitChecked(this)},{checked:qe!==!1});return}else Cn()}const wn=this.parent;!wn||wn.level===0||vn||reInitChecked(wn)}getChildren(qe=!1){if(this.level===0)return this.data;const hn=this.data;if(!hn)return null;const vn=this.store.props;let bn="children";return vn&&(bn=vn.children||"children"),hn[bn]===void 0&&(hn[bn]=null),qe&&!hn[bn]&&(hn[bn]=[]),hn[bn]}updateChildren(){const qe=this.getChildren()||[],hn=this.childNodes.map(wn=>wn.data),vn={},bn=[];qe.forEach((wn,kn)=>{const _n=wn[NODE_KEY];!!_n&&hn.findIndex(xn=>xn[NODE_KEY]===_n)>=0?vn[_n]={index:kn,data:wn}:bn.push({index:kn,data:wn})}),this.store.lazy||hn.forEach(wn=>{vn[wn[NODE_KEY]]||this.removeChildByData(wn)}),bn.forEach(({index:wn,data:kn})=>{this.insertChild({data:kn},wn)}),this.updateLeafState()}loadData(qe,hn={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(hn).length)){this.loading=!0;const vn=bn=>{this.childNodes=[],this.doCreateChildren(bn,hn),this.loaded=!0,this.loading=!1,this.updateLeafState(),qe&&qe.call(this,bn)};this.store.load(this,vn)}else qe&&qe.call(this)}};class TreeStore{constructor(qe){this.currentNode=null,this.currentNodeKey=null;for(const hn in qe)hasOwn(qe,hn)&&(this[hn]=qe[hn]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const qe=this.load;qe(this.root,hn=>{this.root.doCreateChildren(hn),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(qe){const hn=this.filterNodeMethod,vn=this.lazy,bn=function(wn){const kn=wn.root?wn.root.childNodes:wn.childNodes;if(kn.forEach(_n=>{_n.visible=hn.call(_n,qe,_n.data,_n),bn(_n)}),!wn.visible&&kn.length){let _n=!0;_n=!kn.some(Cn=>Cn.visible),wn.root?wn.root.visible=_n===!1:wn.visible=_n===!1}qe&&wn.visible&&!wn.isLeaf&&!vn&&wn.expand()};bn(this)}setData(qe){qe!==this.root.data?(this.root.setData(qe),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(qe){if(qe instanceof Node$1)return qe;const hn=isObject$9(qe)?getNodeKey(this.key,qe):qe;return this.nodesMap[hn]||null}insertBefore(qe,hn){const vn=this.getNode(hn);vn.parent.insertBefore({data:qe},vn)}insertAfter(qe,hn){const vn=this.getNode(hn);vn.parent.insertAfter({data:qe},vn)}remove(qe){const hn=this.getNode(qe);hn&&hn.parent&&(hn===this.currentNode&&(this.currentNode=null),hn.parent.removeChild(hn))}append(qe,hn){const vn=hn?this.getNode(hn):this.root;vn&&vn.insertChild({data:qe})}_initDefaultCheckedNodes(){const qe=this.defaultCheckedKeys||[],hn=this.nodesMap;qe.forEach(vn=>{const bn=hn[vn];bn&&bn.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(qe){(this.defaultCheckedKeys||[]).includes(qe.key)&&qe.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(qe){qe!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=qe,this._initDefaultCheckedNodes())}registerNode(qe){const hn=this.key;!qe||!qe.data||(hn?qe.key!==void 0&&(this.nodesMap[qe.key]=qe):this.nodesMap[qe.id]=qe)}deregisterNode(qe){!this.key||!qe||!qe.data||(qe.childNodes.forEach(vn=>{this.deregisterNode(vn)}),delete this.nodesMap[qe.key])}getCheckedNodes(qe=!1,hn=!1){const vn=[],bn=function(wn){(wn.root?wn.root.childNodes:wn.childNodes).forEach(_n=>{(_n.checked||hn&&_n.indeterminate)&&(!qe||qe&&_n.isLeaf)&&vn.push(_n.data),bn(_n)})};return bn(this),vn}getCheckedKeys(qe=!1){return this.getCheckedNodes(qe).map(hn=>(hn||{})[this.key])}getHalfCheckedNodes(){const qe=[],hn=function(vn){(vn.root?vn.root.childNodes:vn.childNodes).forEach(wn=>{wn.indeterminate&&qe.push(wn.data),hn(wn)})};return hn(this),qe}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(qe=>(qe||{})[this.key])}_getAllNodes(){const qe=[],hn=this.nodesMap;for(const vn in hn)hasOwn(hn,vn)&&qe.push(hn[vn]);return qe}updateChildren(qe,hn){const vn=this.nodesMap[qe];if(!vn)return;const bn=vn.childNodes;for(let wn=bn.length-1;wn>=0;wn--){const kn=bn[wn];this.remove(kn.data)}for(let wn=0,kn=hn.length;wnCn.level-_n.level),wn=Object.create(null),kn=Object.keys(vn);bn.forEach(_n=>_n.setChecked(!1,!1));for(let _n=0,Cn=bn.length;_n0;)wn[Sn.data[qe]]=!0,Sn=Sn.parent;if(xn.isLeaf||this.checkStrictly){xn.setChecked(!0,!1);continue}if(xn.setChecked(!0,!0),hn){xn.setChecked(!1,!1);const An=function(Tn){Tn.childNodes.forEach(Pn=>{Pn.isLeaf||Pn.setChecked(!1,!1),An(Pn)})};An(xn)}}}setCheckedNodes(qe,hn=!1){const vn=this.key,bn={};qe.forEach(wn=>{bn[(wn||{})[vn]]=!0}),this._setCheckedKeys(vn,hn,bn)}setCheckedKeys(qe,hn=!1){this.defaultCheckedKeys=qe;const vn=this.key,bn={};qe.forEach(wn=>{bn[wn]=!0}),this._setCheckedKeys(vn,hn,bn)}setDefaultExpandedKeys(qe){qe=qe||[],this.defaultExpandedKeys=qe,qe.forEach(hn=>{const vn=this.getNode(hn);vn&&vn.expand(null,this.autoExpandParent)})}setChecked(qe,hn,vn){const bn=this.getNode(qe);bn&&bn.setChecked(!!hn,vn)}getCurrentNode(){return this.currentNode}setCurrentNode(qe){const hn=this.currentNode;hn&&(hn.isCurrent=!1),this.currentNode=qe,this.currentNode.isCurrent=!0}setUserCurrentNode(qe,hn=!0){const vn=qe[this.key],bn=this.nodesMap[vn];this.setCurrentNode(bn),hn&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(qe,hn=!0){if(qe==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const vn=this.getNode(qe);vn&&(this.setCurrentNode(vn),hn&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$p=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(Fe){const qe=useNamespace("tree"),hn=inject("NodeInstance"),vn=inject("RootTree");return()=>{const bn=Fe.node,{data:wn,store:kn}=bn;return Fe.renderContent?Fe.renderContent(h$6,{_self:hn,node:bn,data:wn,store:kn}):renderSlot(vn.ctx.slots,"default",{node:bn,data:wn},()=>[h$6("span",{class:qe.be("node","label")},[bn.label])])}}});var NodeContent=_export_sfc$2(_sfc_main$p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(Fe){const qe=inject("TreeNodeMap",null),hn={treeNodeExpand:vn=>{Fe.node!==vn&&Fe.node.collapse()},children:[]};return qe&&qe.children.push(hn),provide("TreeNodeMap",hn),{broadcastExpanded:vn=>{if(Fe.accordion)for(const bn of hn.children)bn.treeNodeExpand(vn)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:Fe,ctx:qe,el$:hn,dropIndicator$:vn,store:bn}){const wn=useNamespace("tree"),kn=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:En,treeNode:$n})=>{if(typeof Fe.allowDrag=="function"&&!Fe.allowDrag($n.node))return En.preventDefault(),!1;En.dataTransfer.effectAllowed="move";try{En.dataTransfer.setData("text/plain","")}catch{}kn.value.draggingNode=$n,qe.emit("node-drag-start",$n.node,En)},treeNodeDragOver:({event:En,treeNode:$n})=>{const Sn=$n,An=kn.value.dropNode;An&&An.node.id!==Sn.node.id&&removeClass$2(An.$el,wn.is("drop-inner"));const Tn=kn.value.draggingNode;if(!Tn||!Sn)return;let Nn=!0,Pn=!0,On=!0,Rn=!0;typeof Fe.allowDrop=="function"&&(Nn=Fe.allowDrop(Tn.node,Sn.node,"prev"),Rn=Pn=Fe.allowDrop(Tn.node,Sn.node,"inner"),On=Fe.allowDrop(Tn.node,Sn.node,"next")),En.dataTransfer.dropEffect=Pn||Nn||On?"move":"none",(Nn||Pn||On)&&(An==null?void 0:An.node.id)!==Sn.node.id&&(An&&qe.emit("node-drag-leave",Tn.node,An.node,En),qe.emit("node-drag-enter",Tn.node,Sn.node,En)),(Nn||Pn||On)&&(kn.value.dropNode=Sn),Sn.node.nextSibling===Tn.node&&(On=!1),Sn.node.previousSibling===Tn.node&&(Nn=!1),Sn.node.contains(Tn.node,!1)&&(Pn=!1),(Tn.node===Sn.node||Tn.node.contains(Sn.node))&&(Nn=!1,Pn=!1,On=!1);const In=Sn.$el.querySelector(`.${wn.be("node","content")}`).getBoundingClientRect(),Mn=hn.value.getBoundingClientRect();let Bn;const Dn=Nn?Pn?.25:On?.45:1:-1,Vn=On?Pn?.75:Nn?.55:0:1;let Ln=-9999;const zn=En.clientY-In.top;znIn.height*Vn?Bn="after":Pn?Bn="inner":Bn="none";const Hn=Sn.$el.querySelector(`.${wn.be("node","expand-icon")}`).getBoundingClientRect(),Fn=vn.value;Bn==="before"?Ln=Hn.top-Mn.top:Bn==="after"&&(Ln=Hn.bottom-Mn.top),Fn.style.top=`${Ln}px`,Fn.style.left=`${Hn.right-Mn.left}px`,Bn==="inner"?addClass$2(Sn.$el,wn.is("drop-inner")):removeClass$2(Sn.$el,wn.is("drop-inner")),kn.value.showDropIndicator=Bn==="before"||Bn==="after",kn.value.allowDrop=kn.value.showDropIndicator||Rn,kn.value.dropType=Bn,qe.emit("node-drag-over",Tn.node,Sn.node,En)},treeNodeDragEnd:En=>{const{draggingNode:$n,dropType:Sn,dropNode:An}=kn.value;if(En.preventDefault(),En.dataTransfer.dropEffect="move",$n&&An){const Tn={data:$n.node.data};Sn!=="none"&&$n.node.remove(),Sn==="before"?An.node.parent.insertBefore(Tn,An.node):Sn==="after"?An.node.parent.insertAfter(Tn,An.node):Sn==="inner"&&An.node.insertChild(Tn),Sn!=="none"&&bn.value.registerNode(Tn),removeClass$2(An.$el,wn.is("drop-inner")),qe.emit("node-drag-end",$n.node,An.node,Sn,En),Sn!=="none"&&qe.emit("node-drop",$n.node,An.node,Sn,En)}$n&&!An&&qe.emit("node-drag-end",$n.node,null,Sn,En),kn.value.showDropIndicator=!1,kn.value.draggingNode=null,kn.value.dropNode=null,kn.value.allowDrop=!0}}),{dragState:kn}}const _sfc_main$o=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(Fe,qe){const hn=useNamespace("tree"),{broadcastExpanded:vn}=useNodeExpandEventBroadcast(Fe),bn=inject("RootTree"),wn=ref(!1),kn=ref(!1),_n=ref(null),Cn=ref(null),xn=ref(null),En=inject(dragEventsKey),$n=getCurrentInstance();provide("NodeInstance",$n),Fe.node.expanded&&(wn.value=!0,kn.value=!0);const Sn=bn.props.props.children||"children";watch(()=>{const zn=Fe.node.data[Sn];return zn&&[...zn]},()=>{Fe.node.updateChildren()}),watch(()=>Fe.node.indeterminate,zn=>{Nn(Fe.node.checked,zn)}),watch(()=>Fe.node.checked,zn=>{Nn(zn,Fe.node.indeterminate)}),watch(()=>Fe.node.expanded,zn=>{nextTick(()=>wn.value=zn),zn&&(kn.value=!0)});const An=zn=>getNodeKey(bn.props.nodeKey,zn.data),Tn=zn=>{const Hn=Fe.props.class;if(!Hn)return{};let Fn;if(isFunction$i(Hn)){const{data:Kn}=zn;Fn=Hn(Kn,zn)}else Fn=Hn;return isString$d(Fn)?{[Fn]:!0}:Fn},Nn=(zn,Hn)=>{(_n.value!==zn||Cn.value!==Hn)&&bn.ctx.emit("check-change",Fe.node.data,zn,Hn),_n.value=zn,Cn.value=Hn},Pn=zn=>{handleCurrentChange(bn.store,bn.ctx.emit,()=>bn.store.value.setCurrentNode(Fe.node)),bn.currentNode.value=Fe.node,bn.props.expandOnClickNode&&Rn(),bn.props.checkOnClickNode&&!Fe.node.disabled&&In(null,{target:{checked:!Fe.node.checked}}),bn.ctx.emit("node-click",Fe.node.data,Fe.node,$n,zn)},On=zn=>{bn.instance.vnode.props.onNodeContextmenu&&(zn.stopPropagation(),zn.preventDefault()),bn.ctx.emit("node-contextmenu",zn,Fe.node.data,Fe.node,$n)},Rn=()=>{Fe.node.isLeaf||(wn.value?(bn.ctx.emit("node-collapse",Fe.node.data,Fe.node,$n),Fe.node.collapse()):(Fe.node.expand(),qe.emit("node-expand",Fe.node.data,Fe.node,$n)))},In=(zn,Hn)=>{Fe.node.setChecked(Hn.target.checked,!bn.props.checkStrictly),nextTick(()=>{const Fn=bn.store.value;bn.ctx.emit("check",Fe.node.data,{checkedNodes:Fn.getCheckedNodes(),checkedKeys:Fn.getCheckedKeys(),halfCheckedNodes:Fn.getHalfCheckedNodes(),halfCheckedKeys:Fn.getHalfCheckedKeys()})})};return{ns:hn,node$:xn,tree:bn,expanded:wn,childNodeRendered:kn,oldChecked:_n,oldIndeterminate:Cn,getNodeKey:An,getNodeClass:Tn,handleSelectChange:Nn,handleClick:Pn,handleContextMenu:On,handleExpandIconClick:Rn,handleCheckChange:In,handleChildNodeExpand:(zn,Hn,Fn)=>{vn(Hn),bn.ctx.emit("node-expand",zn,Hn,Fn)},handleDragStart:zn=>{bn.props.draggable&&En.treeNodeDragStart({event:zn,treeNode:Fe})},handleDragOver:zn=>{zn.preventDefault(),bn.props.draggable&&En.treeNodeDragOver({event:zn,treeNode:{$el:xn.value,node:Fe.node}})},handleDrop:zn=>{zn.preventDefault()},handleDragEnd:zn=>{bn.props.draggable&&En.treeNodeDragEnd(zn)},CaretRight:caret_right_default}}}),_hoisted_1$h=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$d=["aria-expanded"];function _sfc_render$3(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-icon"),_n=resolveComponent("el-checkbox"),Cn=resolveComponent("loading"),xn=resolveComponent("node-content"),En=resolveComponent("el-tree-node"),$n=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([Fe.ns.b("node"),Fe.ns.is("expanded",Fe.expanded),Fe.ns.is("current",Fe.node.isCurrent),Fe.ns.is("hidden",!Fe.node.visible),Fe.ns.is("focusable",!Fe.node.disabled),Fe.ns.is("checked",!Fe.node.disabled&&Fe.node.checked),Fe.getNodeClass(Fe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":Fe.expanded,"aria-disabled":Fe.node.disabled,"aria-checked":Fe.node.checked,draggable:Fe.tree.props.draggable,"data-key":Fe.getNodeKey(Fe.node),onClick:qe[1]||(qe[1]=withModifiers((...Sn)=>Fe.handleClick&&Fe.handleClick(...Sn),["stop"])),onContextmenu:qe[2]||(qe[2]=(...Sn)=>Fe.handleContextMenu&&Fe.handleContextMenu(...Sn)),onDragstart:qe[3]||(qe[3]=withModifiers((...Sn)=>Fe.handleDragStart&&Fe.handleDragStart(...Sn),["stop"])),onDragover:qe[4]||(qe[4]=withModifiers((...Sn)=>Fe.handleDragOver&&Fe.handleDragOver(...Sn),["stop"])),onDragend:qe[5]||(qe[5]=withModifiers((...Sn)=>Fe.handleDragEnd&&Fe.handleDragEnd(...Sn),["stop"])),onDrop:qe[6]||(qe[6]=withModifiers((...Sn)=>Fe.handleDrop&&Fe.handleDrop(...Sn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(Fe.ns.be("node","content")),style:normalizeStyle({paddingLeft:(Fe.node.level-1)*Fe.tree.props.indent+"px"})},[Fe.tree.props.icon||Fe.CaretRight?(openBlock(),createBlock(kn,{key:0,class:normalizeClass([Fe.ns.be("node","expand-icon"),Fe.ns.is("leaf",Fe.node.isLeaf),{expanded:!Fe.node.isLeaf&&Fe.expanded}]),onClick:withModifiers(Fe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.tree.props.icon||Fe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Fe.showCheckbox?(openBlock(),createBlock(_n,{key:1,"model-value":Fe.node.checked,indeterminate:Fe.node.indeterminate,disabled:!!Fe.node.disabled,onClick:qe[0]||(qe[0]=withModifiers(()=>{},["stop"])),onChange:Fe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),Fe.node.loading?(openBlock(),createBlock(kn,{key:2,class:normalizeClass([Fe.ns.be("node","loading-icon"),Fe.ns.is("loading")])},{default:withCtx(()=>[createVNode(Cn)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(xn,{node:Fe.node,"render-content":Fe.renderContent},null,8,["node","render-content"])],6),createVNode($n,null,{default:withCtx(()=>[!Fe.renderAfterExpand||Fe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Fe.ns.be("node","children")),role:"group","aria-expanded":Fe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.node.childNodes,Sn=>(openBlock(),createBlock(En,{key:Fe.getNodeKey(Sn),"render-content":Fe.renderContent,"render-after-expand":Fe.renderAfterExpand,"show-checkbox":Fe.showCheckbox,node:Sn,accordion:Fe.accordion,props:Fe.props,onNodeExpand:Fe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$d)),[[vShow,Fe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$h)),[[vShow,Fe.node.visible]])}var ElTreeNode$1=_export_sfc$2(_sfc_main$o,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:Fe},qe){const hn=useNamespace("tree"),vn=shallowRef([]),bn=shallowRef([]);onMounted(()=>{kn()}),onUpdated(()=>{vn.value=Array.from(Fe.value.querySelectorAll("[role=treeitem]")),bn.value=Array.from(Fe.value.querySelectorAll("input[type=checkbox]"))}),watch(bn,_n=>{_n.forEach(Cn=>{Cn.setAttribute("tabindex","-1")})}),useEventListener(Fe,"keydown",_n=>{const Cn=_n.target;if(!Cn.className.includes(hn.b("node")))return;const xn=_n.code;vn.value=Array.from(Fe.value.querySelectorAll(`.${hn.is("focusable")}[role=treeitem]`));const En=vn.value.indexOf(Cn);let $n;if([EVENT_CODE.up,EVENT_CODE.down].includes(xn)){if(_n.preventDefault(),xn===EVENT_CODE.up){$n=En===-1?0:En!==0?En-1:vn.value.length-1;const An=$n;for(;!qe.value.getNode(vn.value[$n].dataset.key).canFocus;){if($n--,$n===An){$n=-1;break}$n<0&&($n=vn.value.length-1)}}else{$n=En===-1?0:En=vn.value.length&&($n=0)}}$n!==-1&&vn.value[$n].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(xn)&&(_n.preventDefault(),Cn.click());const Sn=Cn.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(xn)&&Sn&&(_n.preventDefault(),Sn.click())});const kn=()=>{var _n;vn.value=Array.from(Fe.value.querySelectorAll(`.${hn.is("focusable")}[role=treeitem]`)),bn.value=Array.from(Fe.value.querySelectorAll("input[type=checkbox]"));const Cn=Fe.value.querySelectorAll(`.${hn.is("checked")}[role=treeitem]`);if(Cn.length){Cn[0].setAttribute("tabindex","0");return}(_n=vn.value[0])==null||_n.setAttribute("tabindex","0")}}const _sfc_main$n=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(Fe,qe){const{t:hn}=useLocale(),vn=useNamespace("tree"),bn=ref(new TreeStore({key:Fe.nodeKey,data:Fe.data,lazy:Fe.lazy,props:Fe.props,load:Fe.load,currentNodeKey:Fe.currentNodeKey,checkStrictly:Fe.checkStrictly,checkDescendants:Fe.checkDescendants,defaultCheckedKeys:Fe.defaultCheckedKeys,defaultExpandedKeys:Fe.defaultExpandedKeys,autoExpandParent:Fe.autoExpandParent,defaultExpandAll:Fe.defaultExpandAll,filterNodeMethod:Fe.filterNodeMethod}));bn.value.initialize();const wn=ref(bn.value.root),kn=ref(null),_n=ref(null),Cn=ref(null),{broadcastExpanded:xn}=useNodeExpandEventBroadcast(Fe),{dragState:En}=useDragNodeHandler({props:Fe,ctx:qe,el$:_n,dropIndicator$:Cn,store:bn});useKeydown({el$:_n},bn);const $n=computed(()=>{const{childNodes:Xn}=wn.value;return!Xn||Xn.length===0||Xn.every(({visible:qn})=>!qn)});watch(()=>Fe.currentNodeKey,Xn=>{bn.value.setCurrentNodeKey(Xn)}),watch(()=>Fe.defaultCheckedKeys,Xn=>{bn.value.setDefaultCheckedKey(Xn)}),watch(()=>Fe.defaultExpandedKeys,Xn=>{bn.value.setDefaultExpandedKeys(Xn)}),watch(()=>Fe.data,Xn=>{bn.value.setData(Xn)},{deep:!0}),watch(()=>Fe.checkStrictly,Xn=>{bn.value.checkStrictly=Xn});const Sn=Xn=>{if(!Fe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");bn.value.filter(Xn)},An=Xn=>getNodeKey(Fe.nodeKey,Xn.data),Tn=Xn=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const qn=bn.value.getNode(Xn);if(!qn)return[];const jn=[qn.data];let Jn=qn.parent;for(;Jn&&Jn!==wn.value;)jn.push(Jn.data),Jn=Jn.parent;return jn.reverse()},Nn=(Xn,qn)=>bn.value.getCheckedNodes(Xn,qn),Pn=Xn=>bn.value.getCheckedKeys(Xn),On=()=>{const Xn=bn.value.getCurrentNode();return Xn?Xn.data:null},Rn=()=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Xn=On();return Xn?Xn[Fe.nodeKey]:null},In=(Xn,qn)=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");bn.value.setCheckedNodes(Xn,qn)},Mn=(Xn,qn)=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");bn.value.setCheckedKeys(Xn,qn)},Bn=(Xn,qn,jn)=>{bn.value.setChecked(Xn,qn,jn)},Dn=()=>bn.value.getHalfCheckedNodes(),Vn=()=>bn.value.getHalfCheckedKeys(),Ln=(Xn,qn=!0)=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(bn,qe.emit,()=>bn.value.setUserCurrentNode(Xn,qn))},zn=(Xn,qn=!0)=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(bn,qe.emit,()=>bn.value.setCurrentNodeKey(Xn,qn))},Hn=Xn=>bn.value.getNode(Xn),Fn=Xn=>{bn.value.remove(Xn)},Kn=(Xn,qn)=>{bn.value.append(Xn,qn)},Un=(Xn,qn)=>{bn.value.insertBefore(Xn,qn)},Gn=(Xn,qn)=>{bn.value.insertAfter(Xn,qn)},Wn=(Xn,qn,jn)=>{xn(qn),qe.emit("node-expand",Xn,qn,jn)},Yn=(Xn,qn)=>{if(!Fe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");bn.value.updateChildren(Xn,qn)};return provide("RootTree",{ctx:qe,props:Fe,store:bn,root:wn,currentNode:kn,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:vn,store:bn,root:wn,currentNode:kn,dragState:En,el$:_n,dropIndicator$:Cn,isEmpty:$n,filter:Sn,getNodeKey:An,getNodePath:Tn,getCheckedNodes:Nn,getCheckedKeys:Pn,getCurrentNode:On,getCurrentKey:Rn,setCheckedNodes:In,setCheckedKeys:Mn,setChecked:Bn,getHalfCheckedNodes:Dn,getHalfCheckedKeys:Vn,setCurrentNode:Ln,setCurrentKey:zn,t:hn,getNode:Hn,remove:Fn,append:Kn,insertBefore:Un,insertAfter:Gn,handleNodeExpand:Wn,updateKeyChildren:Yn}}});function _sfc_render$2(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([Fe.ns.b(),Fe.ns.is("dragging",!!Fe.dragState.draggingNode),Fe.ns.is("drop-not-allow",!Fe.dragState.allowDrop),Fe.ns.is("drop-inner",Fe.dragState.dropType==="inner"),{[Fe.ns.m("highlight-current")]:Fe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.root.childNodes,_n=>(openBlock(),createBlock(kn,{key:Fe.getNodeKey(_n),node:_n,props:Fe.props,accordion:Fe.accordion,"render-after-expand":Fe.renderAfterExpand,"show-checkbox":Fe.showCheckbox,"render-content":Fe.renderContent,onNodeExpand:Fe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),Fe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Fe.ns.e("empty-block"))},[renderSlot(Fe.$slots,"empty",{},()=>{var _n;return[createBaseVNode("span",{class:normalizeClass(Fe.ns.e("empty-text"))},toDisplayString((_n=Fe.emptyText)!=null?_n:Fe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(Fe.ns.e("drop-indicator"))},null,2),[[vShow,Fe.dragState.showDropIndicator]])],2)}var Tree=_export_sfc$2(_sfc_main$n,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Tree.install=Fe=>{Fe.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=(Fe,{attrs:qe,emit:hn},{tree:vn,key:bn})=>{const wn=useNamespace("tree-select"),kn={...pick$3(toRefs(Fe),Object.keys(ElSelect.props)),...qe,"onUpdate:modelValue":_n=>hn(UPDATE_MODEL_EVENT,_n),valueKey:bn,popperClass:computed(()=>{const _n=[wn.e("popper")];return Fe.popperClass&&_n.push(Fe.popperClass),_n.join(" ")}),filterMethod:(_n="")=>{Fe.filterMethod&&Fe.filterMethod(_n),nextTick(()=>{var Cn;(Cn=vn.value)==null||Cn.filter(_n)})},onVisibleChange:_n=>{var Cn;(Cn=qe.onVisibleChange)==null||Cn.call(qe,_n),Fe.filterable&&_n&&kn.filterMethod()}};return kn},component=defineComponent({extends:ElOption,setup(Fe,qe){const hn=ElOption.setup(Fe,qe);delete hn.selectOptionClick;const vn=getCurrentInstance().proxy;return nextTick(()=>{hn.select.cachedOptions.get(vn.value)||hn.select.onOptionCreate(vn)}),hn},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(Fe){return Fe||Fe===0}function isValidArray(Fe){return Array.isArray(Fe)&&Fe.length}function toValidArray(Fe){return Array.isArray(Fe)?Fe:isValidValue(Fe)?[Fe]:[]}function treeFind(Fe,qe,hn,vn,bn){for(let wn=0;wn{watch(()=>Fe.modelValue,()=>{Fe.showCheckbox&&nextTick(()=>{const Sn=wn.value;Sn&&!isEqual$4(Sn.getCheckedKeys(),toValidArray(Fe.modelValue))&&Sn.setCheckedKeys(toValidArray(Fe.modelValue))})},{immediate:!0,deep:!0});const _n=computed(()=>({value:kn.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...Fe.props})),Cn=(Sn,An)=>{var Tn;const Nn=_n.value[Sn];return isFunction$i(Nn)?Nn(An,(Tn=wn.value)==null?void 0:Tn.getNode(Cn("value",An))):An[Nn]},xn=toValidArray(Fe.modelValue).map(Sn=>treeFind(Fe.data||[],An=>Cn("value",An)===Sn,An=>Cn("children",An),(An,Tn,Nn,Pn)=>Pn&&Cn("value",Pn))).filter(Sn=>isValidValue(Sn)),En=computed(()=>{if(!Fe.renderAfterExpand&&!Fe.lazy)return[];const Sn=[];return treeEach(Fe.data.concat(Fe.cacheData),An=>{const Tn=Cn("value",An);Sn.push({value:Tn,currentLabel:Cn("label",An),isDisabled:Cn("disabled",An)})},An=>Cn("children",An)),Sn}),$n=computed(()=>En.value.reduce((Sn,An)=>({...Sn,[An.value]:An}),{}));return{...pick$3(toRefs(Fe),Object.keys(_Tree.props)),...qe,nodeKey:kn,expandOnClickNode:computed(()=>!Fe.checkStrictly&&Fe.expandOnClickNode),defaultExpandedKeys:computed(()=>Fe.defaultExpandedKeys?Fe.defaultExpandedKeys.concat(xn):xn),renderContent:(Sn,{node:An,data:Tn,store:Nn})=>Sn(component,{value:Cn("value",Tn),label:Cn("label",Tn),disabled:Cn("disabled",Tn)},Fe.renderContent?()=>Fe.renderContent(Sn,{node:An,data:Tn,store:Nn}):hn.default?()=>hn.default({node:An,data:Tn,store:Nn}):void 0),filterNodeMethod:(Sn,An,Tn)=>{var Nn;return Fe.filterNodeMethod?Fe.filterNodeMethod(Sn,An,Tn):Sn?(Nn=Cn("label",An))==null?void 0:Nn.includes(Sn):!0},onNodeClick:(Sn,An,Tn)=>{var Nn,Pn,On;if((Nn=qe.onNodeClick)==null||Nn.call(qe,Sn,An,Tn),!(Fe.showCheckbox&&Fe.checkOnClickNode))if(!Fe.showCheckbox&&(Fe.checkStrictly||An.isLeaf)){if(!Cn("disabled",Sn)){const Rn=(Pn=bn.value)==null?void 0:Pn.options.get(Cn("value",Sn));(On=bn.value)==null||On.handleOptionSelect(Rn)}}else Fe.expandOnClickNode&&Tn.proxy.handleExpandIconClick()},onCheck:(Sn,An)=>{if(!Fe.showCheckbox)return;const Tn=Cn("value",Sn),Nn=An.checkedKeys,Pn=Fe.multiple?toValidArray(Fe.modelValue).filter(Rn=>Rn in $n.value&&!wn.value.getNode(Rn)&&!Nn.includes(Rn)):[],On=Nn.concat(Pn);if(Fe.checkStrictly)vn(UPDATE_MODEL_EVENT,Fe.multiple?On:On.includes(Tn)?Tn:void 0);else if(Fe.multiple)vn(UPDATE_MODEL_EVENT,wn.value.getCheckedKeys(!0));else{const Rn=treeFind([Sn],Bn=>!isValidArray(Cn("children",Bn))&&!Cn("disabled",Bn),Bn=>Cn("children",Bn)),In=Rn?Cn("value",Rn):void 0,Mn=isValidValue(Fe.modelValue)&&!!treeFind([Sn],Bn=>Cn("value",Bn)===Fe.modelValue,Bn=>Cn("children",Bn));vn(UPDATE_MODEL_EVENT,In===Fe.modelValue||Mn?void 0:In)}nextTick(()=>{var Rn;const In=toValidArray(Fe.modelValue);wn.value.setCheckedKeys(In),(Rn=qe.onCheck)==null||Rn.call(qe,Sn,{checkedKeys:wn.value.getCheckedKeys(),checkedNodes:wn.value.getCheckedNodes(),halfCheckedKeys:wn.value.getHalfCheckedKeys(),halfCheckedNodes:wn.value.getHalfCheckedNodes()})})},cacheOptions:En}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(Fe){const qe=inject(selectKey);return watch(()=>Fe.data,()=>{var hn;Fe.data.forEach(bn=>{qe.cachedOptions.has(bn.value)||qe.cachedOptions.set(bn.value,bn)});const vn=((hn=qe.selectWrapper)==null?void 0:hn.querySelectorAll("input"))||[];Array.from(vn).includes(document.activeElement)||qe.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$m=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(Fe,qe){const{slots:hn,expose:vn}=qe,bn=ref(),wn=ref(),kn=computed(()=>Fe.nodeKey||Fe.valueKey||"value"),_n=useSelect(Fe,qe,{select:bn,tree:wn,key:kn}),{cacheOptions:Cn,...xn}=useTree$1(Fe,qe,{select:bn,tree:wn,key:kn}),En=reactive({});return vn(En),onMounted(()=>{Object.assign(En,{...pick$3(wn.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$3(bn.value,["focus","blur"])})}),()=>h$6(ElSelect,reactive({..._n,ref:$n=>bn.value=$n}),{...hn,default:()=>[h$6(CacheOptions,{data:Cn.value}),h$6(_Tree,reactive({...xn,ref:$n=>wn.value=$n}))]})}});var TreeSelect=_export_sfc$2(_sfc_main$m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);TreeSelect.install=Fe=>{Fe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(Fe=>(Fe.KEY="id",Fe.LABEL="label",Fe.CHILDREN="children",Fe.DISABLED="disabled",Fe))(TreeOptionsEnum||{}),SetOperationEnum=(Fe=>(Fe.ADD="add",Fe.DELETE="delete",Fe))(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]:(Fe,qe,hn)=>Fe&&qe&&hn,[NODE_EXPAND]:(Fe,qe)=>Fe&&qe,[NODE_COLLAPSE]:(Fe,qe)=>Fe&&qe,[CURRENT_CHANGE]:(Fe,qe)=>Fe&&qe,[NODE_CHECK]:(Fe,qe)=>Fe&&qe,[NODE_CHECK_CHANGE]:(Fe,qe)=>Fe&&typeof qe=="boolean",[NODE_CONTEXTMENU]:(Fe,qe,hn)=>Fe&&qe&&hn},treeNodeEmits={click:(Fe,qe)=>!!(Fe&&qe),toggle:Fe=>!!Fe,check:(Fe,qe)=>Fe&&typeof qe=="boolean"};function useCheck(Fe,qe){const hn=ref(new Set),vn=ref(new Set),{emit:bn}=getCurrentInstance();watch([()=>qe.value,()=>Fe.defaultCheckedKeys],()=>nextTick(()=>{Rn(Fe.defaultCheckedKeys)}),{immediate:!0});const wn=()=>{if(!qe.value||!Fe.showCheckbox||Fe.checkStrictly)return;const{levelTreeNodeMap:In,maxLevel:Mn}=qe.value,Bn=hn.value,Dn=new Set;for(let Vn=Mn-1;Vn>=1;--Vn){const Ln=In.get(Vn);Ln&&Ln.forEach(zn=>{const Hn=zn.children;if(Hn){let Fn=!0,Kn=!1;for(const Un of Hn){const Gn=Un.key;if(Bn.has(Gn))Kn=!0;else if(Dn.has(Gn)){Fn=!1,Kn=!0;break}else Fn=!1}Fn?Bn.add(zn.key):Kn?(Dn.add(zn.key),Bn.delete(zn.key)):(Bn.delete(zn.key),Dn.delete(zn.key))}})}vn.value=Dn},kn=In=>hn.value.has(In.key),_n=In=>vn.value.has(In.key),Cn=(In,Mn,Bn=!0)=>{const Dn=hn.value,Vn=(Ln,zn)=>{Dn[zn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Ln.key);const Hn=Ln.children;!Fe.checkStrictly&&Hn&&Hn.forEach(Fn=>{Fn.disabled||Vn(Fn,zn)})};Vn(In,Mn),wn(),Bn&&xn(In,Mn)},xn=(In,Mn)=>{const{checkedNodes:Bn,checkedKeys:Dn}=Tn(),{halfCheckedNodes:Vn,halfCheckedKeys:Ln}=Nn();bn(NODE_CHECK,In.data,{checkedKeys:Dn,checkedNodes:Bn,halfCheckedKeys:Ln,halfCheckedNodes:Vn}),bn(NODE_CHECK_CHANGE,In.data,Mn)};function En(In=!1){return Tn(In).checkedKeys}function $n(In=!1){return Tn(In).checkedNodes}function Sn(){return Nn().halfCheckedKeys}function An(){return Nn().halfCheckedNodes}function Tn(In=!1){const Mn=[],Bn=[];if(qe!=null&&qe.value&&Fe.showCheckbox){const{treeNodeMap:Dn}=qe.value;hn.value.forEach(Vn=>{const Ln=Dn.get(Vn);Ln&&(!In||In&&Ln.isLeaf)&&(Bn.push(Vn),Mn.push(Ln.data))})}return{checkedKeys:Bn,checkedNodes:Mn}}function Nn(){const In=[],Mn=[];if(qe!=null&&qe.value&&Fe.showCheckbox){const{treeNodeMap:Bn}=qe.value;vn.value.forEach(Dn=>{const Vn=Bn.get(Dn);Vn&&(Mn.push(Dn),In.push(Vn.data))})}return{halfCheckedNodes:In,halfCheckedKeys:Mn}}function Pn(In){hn.value.clear(),vn.value.clear(),Rn(In)}function On(In,Mn){if(qe!=null&&qe.value&&Fe.showCheckbox){const Bn=qe.value.treeNodeMap.get(In);Bn&&Cn(Bn,Mn,!1)}}function Rn(In){if(qe!=null&&qe.value){const{treeNodeMap:Mn}=qe.value;if(Fe.showCheckbox&&Mn&&In)for(const Bn of In){const Dn=Mn.get(Bn);Dn&&!kn(Dn)&&Cn(Dn,!0,!1)}}}return{updateCheckedKeys:wn,toggleCheckbox:Cn,isChecked:kn,isIndeterminate:_n,getCheckedKeys:En,getCheckedNodes:$n,getHalfCheckedKeys:Sn,getHalfCheckedNodes:An,setChecked:On,setCheckedKeys:Pn}}function useFilter(Fe,qe){const hn=ref(new Set([])),vn=ref(new Set([])),bn=computed(()=>isFunction$i(Fe.filterMethod));function wn(_n){var Cn;if(!bn.value)return;const xn=new Set,En=vn.value,$n=hn.value,Sn=[],An=((Cn=qe.value)==null?void 0:Cn.treeNodes)||[],Tn=Fe.filterMethod;$n.clear();function Nn(Pn){Pn.forEach(On=>{Sn.push(On),Tn!=null&&Tn(_n,On.data)?Sn.forEach(In=>{xn.add(In.key)}):On.isLeaf&&$n.add(On.key);const Rn=On.children;if(Rn&&Nn(Rn),!On.isLeaf){if(!xn.has(On.key))$n.add(On.key);else if(Rn){let In=!0;for(const Mn of Rn)if(!$n.has(Mn.key)){In=!1;break}In?En.add(On.key):En.delete(On.key)}}Sn.pop()})}return Nn(An),xn}function kn(_n){return vn.value.has(_n.key)}return{hiddenExpandIconKeySet:vn,hiddenNodeKeySet:hn,doFilter:wn,isForceHiddenExpandIcon:kn}}function useTree(Fe,qe){const hn=ref(new Set(Fe.defaultExpandedKeys)),vn=ref(),bn=shallowRef();watch(()=>Fe.currentNodeKey,ao=>{vn.value=ao},{immediate:!0}),watch(()=>Fe.data,ao=>{fo(ao)},{immediate:!0});const{isIndeterminate:wn,isChecked:kn,toggleCheckbox:_n,getCheckedKeys:Cn,getCheckedNodes:xn,getHalfCheckedKeys:En,getHalfCheckedNodes:$n,setChecked:Sn,setCheckedKeys:An}=useCheck(Fe,bn),{doFilter:Tn,hiddenNodeKeySet:Nn,isForceHiddenExpandIcon:Pn}=useFilter(Fe,bn),On=computed(()=>{var ao;return((ao=Fe.props)==null?void 0:ao.value)||TreeOptionsEnum.KEY}),Rn=computed(()=>{var ao;return((ao=Fe.props)==null?void 0:ao.children)||TreeOptionsEnum.CHILDREN}),In=computed(()=>{var ao;return((ao=Fe.props)==null?void 0:ao.disabled)||TreeOptionsEnum.DISABLED}),Mn=computed(()=>{var ao;return((ao=Fe.props)==null?void 0:ao.label)||TreeOptionsEnum.LABEL}),Bn=computed(()=>{const ao=hn.value,go=Nn.value,yo=[],Bo=bn.value&&bn.value.treeNodes||[];function ro(){const eo=[];for(let lo=Bo.length-1;lo>=0;--lo)eo.push(Bo[lo]);for(;eo.length;){const lo=eo.pop();if(lo&&(go.has(lo.key)||yo.push(lo),ao.has(lo.key))){const ho=lo.children;if(ho){const Io=ho.length;for(let Po=Io-1;Po>=0;--Po)eo.push(ho[Po])}}}}return ro(),yo}),Dn=computed(()=>Bn.value.length>0);function Vn(ao){const go=new Map,yo=new Map;let Bo=1;function ro(lo,ho=1,Io=void 0){var Po;const ko=[];for(const xo of lo){const Ao=Hn(xo),vo={level:ho,key:Ao,data:xo};vo.label=Kn(xo),vo.parent=Io;const qo=zn(xo);vo.disabled=Fn(xo),vo.isLeaf=!qo||qo.length===0,qo&&qo.length&&(vo.children=ro(qo,ho+1,vo)),ko.push(vo),go.set(Ao,vo),yo.has(ho)||yo.set(ho,[]),(Po=yo.get(ho))==null||Po.push(vo)}return ho>Bo&&(Bo=ho),ko}const eo=ro(ao);return{treeNodeMap:go,levelTreeNodeMap:yo,maxLevel:Bo,treeNodes:eo}}function Ln(ao){const go=Tn(ao);go&&(hn.value=go)}function zn(ao){return ao[Rn.value]}function Hn(ao){return ao?ao[On.value]:""}function Fn(ao){return ao[In.value]}function Kn(ao){return ao[Mn.value]}function Un(ao){hn.value.has(ao.key)?jn(ao):qn(ao)}function Gn(ao){hn.value=new Set(ao)}function Wn(ao,go){qe(NODE_CLICK,ao.data,ao,go),Yn(ao),Fe.expandOnClickNode&&Un(ao),Fe.showCheckbox&&Fe.checkOnClickNode&&!ao.disabled&&_n(ao,!kn(ao),!0)}function Yn(ao){no(ao)||(vn.value=ao.key,qe(CURRENT_CHANGE,ao.data,ao))}function Xn(ao,go){_n(ao,go)}function qn(ao){const go=hn.value;if(bn.value&&Fe.accordion){const{treeNodeMap:yo}=bn.value;go.forEach(Bo=>{const ro=yo.get(Bo);ao&&ao.level===(ro==null?void 0:ro.level)&&go.delete(Bo)})}go.add(ao.key),qe(NODE_EXPAND,ao.data,ao)}function jn(ao){hn.value.delete(ao.key),qe(NODE_COLLAPSE,ao.data,ao)}function Jn(ao){return hn.value.has(ao.key)}function Qn(ao){return!!ao.disabled}function no(ao){const go=vn.value;return go!==void 0&&go===ao.key}function so(){var ao,go;if(vn.value)return(go=(ao=bn.value)==null?void 0:ao.treeNodeMap.get(vn.value))==null?void 0:go.data}function co(){return vn.value}function mo(ao){vn.value=ao}function fo(ao){nextTick(()=>bn.value=Vn(ao))}function io(ao){var go;const yo=isObject$9(ao)?Hn(ao):ao;return(go=bn.value)==null?void 0:go.treeNodeMap.get(yo)}return{tree:bn,flattenTree:Bn,isNotEmpty:Dn,getKey:Hn,getChildren:zn,toggleExpand:Un,toggleCheckbox:_n,isExpanded:Jn,isChecked:kn,isIndeterminate:wn,isDisabled:Qn,isCurrent:no,isForceHiddenExpandIcon:Pn,handleNodeClick:Wn,handleNodeCheck:Xn,getCurrentNode:so,getCurrentKey:co,setCurrentKey:mo,getCheckedKeys:Cn,getCheckedNodes:xn,getHalfCheckedKeys:En,getHalfCheckedNodes:$n,setChecked:Sn,setCheckedKeys:An,filter:Ln,setData:fo,getNode:io,expandNode:qn,collapseNode:jn,setExpandedKeys:Gn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(Fe){const qe=inject(ROOT_TREE_INJECTION_KEY),hn=useNamespace("tree");return()=>{const vn=Fe.node,{data:bn}=vn;return qe!=null&&qe.ctx.slots.default?qe.ctx.slots.default({node:vn,data:bn}):h$6("span",{class:hn.be("node","label")},[vn==null?void 0:vn.label])}}});const _hoisted_1$g=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$8=defineComponent({name:"ElTreeNode"}),_sfc_main$l=defineComponent({...__default__$8,props:treeNodeProps,emits:treeNodeEmits,setup(Fe,{emit:qe}){const hn=Fe,vn=inject(ROOT_TREE_INJECTION_KEY),bn=useNamespace("tree"),wn=computed(()=>{var $n;return($n=vn==null?void 0:vn.props.indent)!=null?$n:16}),kn=computed(()=>{var $n;return($n=vn==null?void 0:vn.props.icon)!=null?$n:caret_right_default}),_n=$n=>{qe("click",hn.node,$n)},Cn=()=>{qe("toggle",hn.node)},xn=$n=>{qe("check",hn.node,$n)},En=$n=>{var Sn,An,Tn,Nn;(Tn=(An=(Sn=vn==null?void 0:vn.instance)==null?void 0:Sn.vnode)==null?void 0:An.props)!=null&&Tn.onNodeContextmenu&&($n.stopPropagation(),$n.preventDefault()),vn==null||vn.ctx.emit(NODE_CONTEXTMENU,$n,(Nn=hn.node)==null?void 0:Nn.data,hn.node)};return($n,Sn)=>{var An,Tn,Nn;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(bn).b("node"),unref(bn).is("expanded",$n.expanded),unref(bn).is("current",$n.current),unref(bn).is("focusable",!$n.disabled),unref(bn).is("checked",!$n.disabled&&$n.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":$n.expanded,"aria-disabled":$n.disabled,"aria-checked":$n.checked,"data-key":(An=$n.node)==null?void 0:An.key,onClick:withModifiers(_n,["stop"]),onContextmenu:En},[createBaseVNode("div",{class:normalizeClass(unref(bn).be("node","content")),style:normalizeStyle({paddingLeft:`${($n.node.level-1)*unref(wn)}px`,height:$n.itemSize+"px"})},[unref(kn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(bn).is("leaf",!!((Tn=$n.node)!=null&&Tn.isLeaf)),unref(bn).is("hidden",$n.hiddenExpandIcon),{expanded:!((Nn=$n.node)!=null&&Nn.isLeaf)&&$n.expanded},unref(bn).be("node","expand-icon")]),onClick:withModifiers(Cn,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(kn))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$n.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":$n.checked,indeterminate:$n.indeterminate,disabled:$n.disabled,onChange:xn,onClick:Sn[0]||(Sn[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode(unref(ElNodeContent),{node:$n.node},null,8,["node"])],6)],42,_hoisted_1$g)}}});var ElTreeNode=_export_sfc$2(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$7=defineComponent({name:"ElTreeV2"}),_sfc_main$k=defineComponent({...__default__$7,props:treeProps,emits:treeEmits,setup(Fe,{expose:qe,emit:hn}){const vn=Fe,bn=useSlots(),wn=computed(()=>vn.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:hn,slots:bn},props:vn,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:kn}=useLocale(),_n=useNamespace("tree"),{flattenTree:Cn,isNotEmpty:xn,toggleExpand:En,isExpanded:$n,isIndeterminate:Sn,isChecked:An,isDisabled:Tn,isCurrent:Nn,isForceHiddenExpandIcon:Pn,handleNodeClick:On,handleNodeCheck:Rn,toggleCheckbox:In,getCurrentNode:Mn,getCurrentKey:Bn,setCurrentKey:Dn,getCheckedKeys:Vn,getCheckedNodes:Ln,getHalfCheckedKeys:zn,getHalfCheckedNodes:Hn,setChecked:Fn,setCheckedKeys:Kn,filter:Un,setData:Gn,getNode:Wn,expandNode:Yn,collapseNode:Xn,setExpandedKeys:qn}=useTree(vn,hn);return qe({toggleCheckbox:In,getCurrentNode:Mn,getCurrentKey:Bn,setCurrentKey:Dn,getCheckedKeys:Vn,getCheckedNodes:Ln,getHalfCheckedKeys:zn,getHalfCheckedNodes:Hn,setChecked:Fn,setCheckedKeys:Kn,filter:Un,setData:Gn,getNode:Wn,expandNode:Yn,collapseNode:Xn,setExpandedKeys:qn}),(jn,Jn)=>{var Qn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(_n).b(),{[unref(_n).m("highlight-current")]:jn.highlightCurrent}]),role:"tree"},[unref(xn)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(_n).b("virtual-list"),data:unref(Cn),total:unref(Cn).length,height:jn.height,"item-size":unref(wn),"perf-mode":jn.perfMode},{default:withCtx(({data:no,index:so,style:co})=>[(openBlock(),createBlock(ElTreeNode,{key:no[so].key,style:normalizeStyle(co),node:no[so],expanded:unref($n)(no[so]),"show-checkbox":jn.showCheckbox,checked:unref(An)(no[so]),indeterminate:unref(Sn)(no[so]),"item-size":unref(wn),disabled:unref(Tn)(no[so]),current:unref(Nn)(no[so]),"hidden-expand-icon":unref(Pn)(no[so]),onClick:unref(On),onToggle:unref(En),onCheck:unref(Rn)},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(_n).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(_n).e("empty-text"))},toDisplayString((Qn=jn.emptyText)!=null?Qn:unref(kn)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$2(_sfc_main$k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall$1(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(qe,hn,vn,bn){super(qe),this.name="UploadAjaxError",this.status=hn,this.method=vn,this.url=bn}}function getError(Fe,qe,hn){let vn;return hn.response?vn=`${hn.response.error||hn.response}`:hn.responseText?vn=`${hn.responseText}`:vn=`fail to ${qe.method} ${Fe} ${hn.status}`,new UploadAjaxError(vn,hn.status,qe.method,Fe)}function getBody(Fe){const qe=Fe.responseText||Fe.response;if(!qe)return qe;try{return JSON.parse(qe)}catch{return qe}}const ajaxUpload=Fe=>{typeof XMLHttpRequest>"u"&&throwError(SCOPE$2,"XMLHttpRequest is undefined");const qe=new XMLHttpRequest,hn=Fe.action;qe.upload&&qe.upload.addEventListener("progress",wn=>{const kn=wn;kn.percent=wn.total>0?wn.loaded/wn.total*100:0,Fe.onProgress(kn)});const vn=new FormData;if(Fe.data)for(const[wn,kn]of Object.entries(Fe.data))isArray$x(kn)&&kn.length?vn.append(wn,...kn):vn.append(wn,kn);vn.append(Fe.filename,Fe.file,Fe.file.name),qe.addEventListener("error",()=>{Fe.onError(getError(hn,Fe,qe))}),qe.addEventListener("load",()=>{if(qe.status<200||qe.status>=300)return Fe.onError(getError(hn,Fe,qe));Fe.onSuccess(getBody(qe))}),qe.open(Fe.method,hn,!0),Fe.withCredentials&&"withCredentials"in qe&&(qe.withCredentials=!0);const bn=Fe.headers||{};if(bn instanceof Headers)bn.forEach((wn,kn)=>qe.setRequestHeader(kn,wn));else for(const[wn,kn]of Object.entries(bn))isNil(kn)||qe.setRequestHeader(wn,String(kn));return qe.send(vn),qe},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:{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:""},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:Fe=>!!Fe},_hoisted_1$f=["onKeydown"],_hoisted_2$c=["src"],_hoisted_3$7=["onClick"],_hoisted_4$6=["title"],_hoisted_5$4=["onClick"],_hoisted_6$3=["onClick"],__default__$6=defineComponent({name:"ElUploadList"}),_sfc_main$j=defineComponent({...__default__$6,props:uploadListProps,emits:uploadListEmits,setup(Fe,{emit:qe}){const hn=Fe,{t:vn}=useLocale(),bn=useNamespace("upload"),wn=useNamespace("icon"),kn=useNamespace("list"),_n=useFormDisabled(),Cn=ref(!1),xn=computed(()=>[bn.b("list"),bn.bm("list",hn.listType),bn.is("disabled",hn.disabled)]),En=$n=>{qe("remove",$n)};return($n,Sn)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(xn)),name:unref(kn).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList($n.files,An=>(openBlock(),createElementBlock("li",{key:An.uid||An.name,class:normalizeClass([unref(bn).be("list","item"),unref(bn).is(An.status),{focusing:Cn.value}]),tabindex:"0",onKeydown:withKeys(Tn=>!unref(_n)&&En(An),["delete"]),onFocus:Sn[0]||(Sn[0]=Tn=>Cn.value=!0),onBlur:Sn[1]||(Sn[1]=Tn=>Cn.value=!1),onClick:Sn[2]||(Sn[2]=Tn=>Cn.value=!1)},[renderSlot($n.$slots,"default",{file:An},()=>[$n.listType==="picture"||An.status!=="uploading"&&$n.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(bn).be("list","item-thumbnail")),src:An.url,alt:""},null,10,_hoisted_2$c)):createCommentVNode("v-if",!0),An.status==="uploading"||$n.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(bn).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(bn).be("list","item-name")),onClick:withModifiers(Tn=>$n.handlePreview(An),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(wn).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(bn).be("list","item-file-name")),title:An.name},toDisplayString(An.name),11,_hoisted_4$6)],10,_hoisted_3$7),An.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:$n.listType==="picture-card"?"circle":"line","stroke-width":$n.listType==="picture-card"?6:2,percentage:Number(An.percentage),style:normalizeStyle($n.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(bn).be("list","item-status-label"))},[$n.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(wn).m("upload-success"),unref(wn).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes($n.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(wn).m("upload-success"),unref(wn).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(_n)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(wn).m("close")),onClick:Tn=>En(An)},{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(_n)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(wn).m("close-tip"))},toDisplayString(unref(vn)("el.upload.deleteTip")),3)),$n.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(bn).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(bn).be("list","item-preview")),onClick:Tn=>$n.handlePreview(An)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(wn).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$4),unref(_n)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(bn).be("list","item-delete")),onClick:Tn=>En(An)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(wn).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6$3))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$f))),128)),renderSlot($n.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$2(_sfc_main$j,[["__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:Fe=>isArray$x(Fe)},_hoisted_1$e=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$5=defineComponent({name:COMPONENT_NAME}),_sfc_main$i=defineComponent({...__default__$5,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(Fe,{emit:qe}){const hn=inject(uploadContextKey);hn||throwError(COMPONENT_NAME,"usage: ");const vn=useNamespace("upload"),bn=ref(!1),wn=useFormDisabled(),kn=Cn=>{if(wn.value)return;bn.value=!1,Cn.stopPropagation();const xn=Array.from(Cn.dataTransfer.files),En=hn.accept.value;if(!En){qe("file",xn);return}const $n=xn.filter(Sn=>{const{type:An,name:Tn}=Sn,Nn=Tn.includes(".")?`.${Tn.split(".").pop()}`:"",Pn=An.replace(/\/.*$/,"");return En.split(",").map(On=>On.trim()).filter(On=>On).some(On=>On.startsWith(".")?Nn===On:/\/\*$/.test(On)?Pn===On.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(On)?An===On:!1)});qe("file",$n)},_n=()=>{wn.value||(bn.value=!0)};return(Cn,xn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b("dragger"),unref(vn).is("dragover",bn.value)]),onDrop:withModifiers(kn,["prevent"]),onDragover:withModifiers(_n,["prevent"]),onDragleave:xn[0]||(xn[0]=withModifiers(En=>bn.value=!1,["prevent"]))},[renderSlot(Cn.$slots,"default")],42,_hoisted_1$e))}});var UploadDragger=_export_sfc$2(_sfc_main$i,[["__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$d=["onKeydown"],_hoisted_2$b=["name","multiple","accept"],__default__$4=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$h=defineComponent({...__default__$4,props:uploadContentProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useNamespace("upload"),bn=useFormDisabled(),wn=shallowRef({}),kn=shallowRef(),_n=Nn=>{if(Nn.length===0)return;const{autoUpload:Pn,limit:On,fileList:Rn,multiple:In,onStart:Mn,onExceed:Bn}=hn;if(On&&Rn.length+Nn.length>On){Bn(Nn,Rn);return}In||(Nn=Nn.slice(0,1));for(const Dn of Nn){const Vn=Dn;Vn.uid=genFileId(),Mn(Vn),Pn&&Cn(Vn)}},Cn=async Nn=>{if(kn.value.value="",!hn.beforeUpload)return En(Nn);let Pn,On={};try{const In=hn.data,Mn=hn.beforeUpload(Nn);On=isPlainObject$b(hn.data)?cloneDeep(hn.data):hn.data,Pn=await Mn,isPlainObject$b(hn.data)&&isEqual$4(In,On)&&(On=cloneDeep(hn.data))}catch{Pn=!1}if(Pn===!1){hn.onRemove(Nn);return}let Rn=Nn;Pn instanceof Blob&&(Pn instanceof File?Rn=Pn:Rn=new File([Pn],Nn.name,{type:Nn.type})),En(Object.assign(Rn,{uid:Nn.uid}),On)},xn=async(Nn,Pn)=>isFunction$i(Nn)?Nn(Pn):Nn,En=async(Nn,Pn)=>{const{headers:On,data:Rn,method:In,withCredentials:Mn,name:Bn,action:Dn,onProgress:Vn,onSuccess:Ln,onError:zn,httpRequest:Hn}=hn;try{Pn=await xn(Pn??Rn,Nn)}catch{hn.onRemove(Nn);return}const{uid:Fn}=Nn,Kn={headers:On||{},withCredentials:Mn,file:Nn,data:Pn,method:In,filename:Bn,action:Dn,onProgress:Gn=>{Vn(Gn,Nn)},onSuccess:Gn=>{Ln(Gn,Nn),delete wn.value[Fn]},onError:Gn=>{zn(Gn,Nn),delete wn.value[Fn]}},Un=Hn(Kn);wn.value[Fn]=Un,Un instanceof Promise&&Un.then(Kn.onSuccess,Kn.onError)},$n=Nn=>{const Pn=Nn.target.files;Pn&&_n(Array.from(Pn))},Sn=()=>{bn.value||(kn.value.value="",kn.value.click())},An=()=>{Sn()};return qe({abort:Nn=>{entriesOf(wn.value).filter(Nn?([On])=>String(Nn.uid)===On:()=>!0).forEach(([On,Rn])=>{Rn instanceof XMLHttpRequest&&Rn.abort(),delete wn.value[On]})},upload:Cn}),(Nn,Pn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(vn).b(),unref(vn).m(Nn.listType),unref(vn).is("drag",Nn.drag)]),tabindex:"0",onClick:Sn,onKeydown:withKeys(withModifiers(An,["self"]),["enter","space"])},[Nn.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(bn),onFile:_n},{default:withCtx(()=>[renderSlot(Nn.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Nn.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:kn,class:normalizeClass(unref(vn).e("input")),name:Nn.name,multiple:Nn.multiple,accept:Nn.accept,type:"file",onChange:$n,onClick:Pn[0]||(Pn[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$b)],42,_hoisted_1$d))}});var UploadContent=_export_sfc$2(_sfc_main$h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=Fe=>{var qe;(qe=Fe.url)!=null&&qe.startsWith("blob:")&&URL.revokeObjectURL(Fe.url)},useHandlers=(Fe,qe)=>{const hn=useVModel(Fe,"fileList",void 0,{passive:!0}),vn=Sn=>hn.value.find(An=>An.uid===Sn.uid);function bn(Sn){var An;(An=qe.value)==null||An.abort(Sn)}function wn(Sn=["ready","uploading","success","fail"]){hn.value=hn.value.filter(An=>!Sn.includes(An.status))}const kn=(Sn,An)=>{const Tn=vn(An);Tn&&(console.error(Sn),Tn.status="fail",hn.value.splice(hn.value.indexOf(Tn),1),Fe.onError(Sn,Tn,hn.value),Fe.onChange(Tn,hn.value))},_n=(Sn,An)=>{const Tn=vn(An);Tn&&(Fe.onProgress(Sn,Tn,hn.value),Tn.status="uploading",Tn.percentage=Math.round(Sn.percent))},Cn=(Sn,An)=>{const Tn=vn(An);Tn&&(Tn.status="success",Tn.response=Sn,Fe.onSuccess(Sn,Tn,hn.value),Fe.onChange(Tn,hn.value))},xn=Sn=>{isNil(Sn.uid)&&(Sn.uid=genFileId());const An={name:Sn.name,percentage:0,status:"ready",size:Sn.size,raw:Sn,uid:Sn.uid};if(Fe.listType==="picture-card"||Fe.listType==="picture")try{An.url=URL.createObjectURL(Sn)}catch(Tn){Tn.message,Fe.onError(Tn,An,hn.value)}hn.value=[...hn.value,An],Fe.onChange(An,hn.value)},En=async Sn=>{const An=Sn instanceof File?vn(Sn):Sn;An||throwError(SCOPE$1,"file to be removed not found");const Tn=Nn=>{bn(Nn);const Pn=hn.value;Pn.splice(Pn.indexOf(Nn),1),Fe.onRemove(Nn,Pn),revokeFileObjectURL(Nn)};Fe.beforeRemove?await Fe.beforeRemove(An,hn.value)!==!1&&Tn(An):Tn(An)};function $n(){hn.value.filter(({status:Sn})=>Sn==="ready").forEach(({raw:Sn})=>{var An;return Sn&&((An=qe.value)==null?void 0:An.upload(Sn))})}return watch(()=>Fe.listType,Sn=>{Sn!=="picture-card"&&Sn!=="picture"||(hn.value=hn.value.map(An=>{const{raw:Tn,url:Nn}=An;if(!Nn&&Tn)try{An.url=URL.createObjectURL(Tn)}catch(Pn){Fe.onError(Pn,An,hn.value)}return An}))}),watch(hn,Sn=>{for(const An of Sn)An.uid||(An.uid=genFileId()),An.status||(An.status="success")},{immediate:!0,deep:!0}),{uploadFiles:hn,abort:bn,clearFiles:wn,handleError:kn,handleProgress:_n,handleStart:xn,handleSuccess:Cn,handleRemove:En,submit:$n,revokeFileObjectURL}},__default__$3=defineComponent({name:"ElUpload"}),_sfc_main$g=defineComponent({...__default__$3,props:uploadProps,setup(Fe,{expose:qe}){const hn=Fe,vn=useFormDisabled(),bn=shallowRef(),{abort:wn,submit:kn,clearFiles:_n,uploadFiles:Cn,handleStart:xn,handleError:En,handleRemove:$n,handleSuccess:Sn,handleProgress:An,revokeFileObjectURL:Tn}=useHandlers(hn,bn),Nn=computed(()=>hn.listType==="picture-card"),Pn=computed(()=>({...hn,fileList:Cn.value,onStart:xn,onProgress:An,onSuccess:Sn,onError:En,onRemove:$n}));return onBeforeUnmount(()=>{Cn.value.forEach(Tn)}),provide(uploadContextKey,{accept:toRef(hn,"accept")}),qe({abort:wn,submit:kn,clearFiles:_n,handleStart:xn,handleRemove:$n}),(On,Rn)=>(openBlock(),createElementBlock("div",null,[unref(Nn)&&On.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(vn),"list-type":On.listType,files:unref(Cn),"handle-preview":On.onPreview,onRemove:unref($n)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:bn},unref(Pn)),{default:withCtx(()=>[On.$slots.trigger?renderSlot(On.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!On.$slots.trigger&&On.$slots.default?renderSlot(On.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[On.$slots.file?{name:"default",fn:withCtx(({file:In})=>[renderSlot(On.$slots,"file",{file:In})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(Nn)||unref(Nn)&&!On.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:bn},unref(Pn)),{default:withCtx(()=>[On.$slots.trigger?renderSlot(On.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!On.$slots.trigger&&On.$slots.default?renderSlot(On.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),On.$slots.trigger?renderSlot(On.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(On.$slots,"tip"),!unref(Nn)&&On.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(vn),"list-type":On.listType,files:unref(Cn),"handle-preview":On.onPreview,onRemove:unref($n)},createSlots({_:2},[On.$slots.file?{name:"default",fn:withCtx(({file:In})=>[renderSlot(On.$slots,"file",{file:In})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$2(_sfc_main$g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall$1(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(Fe){return Fe.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(Fe){return Object.keys(Fe).map(qe=>`${toLowercaseSeparator(qe)}: ${Fe[qe]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(Fe,qe)=>{let hn=!1;return Fe.removedNodes.length&&qe&&(hn=Array.from(Fe.removedNodes).includes(qe)),Fe.type==="attributes"&&Fe.target===qe&&(hn=!0),hn},FontGap=3;function prepareCanvas(Fe,qe,hn=1){const vn=document.createElement("canvas"),bn=vn.getContext("2d"),wn=Fe*hn,kn=qe*hn;return vn.setAttribute("width",`${wn}px`),vn.setAttribute("height",`${kn}px`),bn.save(),[bn,vn,wn,kn]}function useClips(){function Fe(qe,hn,vn,bn,wn,kn,_n,Cn){const[xn,En,$n,Sn]=prepareCanvas(bn,wn,vn);if(qe instanceof HTMLImageElement)xn.drawImage(qe,0,0,$n,Sn);else{const{color:Qn,fontSize:no,fontStyle:so,fontWeight:co,fontFamily:mo,textAlign:fo,textBaseline:io}=kn,ao=Number(no)*vn;xn.font=`${so} normal ${co} ${ao}px/${wn}px ${mo}`,xn.fillStyle=Qn,xn.textAlign=fo,xn.textBaseline=io;const go=Array.isArray(qe)?qe:[qe];go==null||go.forEach((yo,Bo)=>{xn.fillText(yo??"",$n/2,Bo*(ao+FontGap*vn))})}const An=Math.PI/180*Number(hn),Tn=Math.max(bn,wn),[Nn,Pn,On]=prepareCanvas(Tn,Tn,vn);Nn.translate(On/2,On/2),Nn.rotate(An),$n>0&&Sn>0&&Nn.drawImage(En,-$n/2,-Sn/2);function Rn(Qn,no){const so=Qn*Math.cos(An)-no*Math.sin(An),co=Qn*Math.sin(An)+no*Math.cos(An);return[so,co]}let In=0,Mn=0,Bn=0,Dn=0;const Vn=$n/2,Ln=Sn/2;[[0-Vn,0-Ln],[0+Vn,0-Ln],[0+Vn,0+Ln],[0-Vn,0+Ln]].forEach(([Qn,no])=>{const[so,co]=Rn(Qn,no);In=Math.min(In,so),Mn=Math.max(Mn,so),Bn=Math.min(Bn,co),Dn=Math.max(Dn,co)});const Hn=In+On/2,Fn=Bn+On/2,Kn=Mn-In,Un=Dn-Bn,Gn=_n*vn,Wn=Cn*vn,Yn=(Kn+Gn)*2,Xn=Un+Wn,[qn,jn]=prepareCanvas(Yn,Xn);function Jn(Qn=0,no=0){qn.drawImage(Pn,Hn,Fn,Kn,Un,Qn,no,Kn,Un)}return Jn(),Jn(Kn+Gn,-Un/2-Wn/2),Jn(Kn+Gn,+Un/2+Wn/2),[jn.toDataURL(),Yn/vn,Xn/vn]}return Fe}const __default__$2=defineComponent({name:"ElWatermark"}),_sfc_main$f=defineComponent({...__default__$2,props:watermarkProps,setup(Fe){const qe=Fe,hn={position:"relative"},vn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.color)!=null?Fn:"rgba(0,0,0,.15)"}),bn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.fontSize)!=null?Fn:16}),wn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.fontWeight)!=null?Fn:"normal"}),kn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.fontStyle)!=null?Fn:"normal"}),_n=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.fontFamily)!=null?Fn:"sans-serif"}),Cn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.textAlign)!=null?Fn:"center"}),xn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.font)==null?void 0:Hn.textBaseline)!=null?Fn:"top"}),En=computed(()=>qe.gap[0]),$n=computed(()=>qe.gap[1]),Sn=computed(()=>En.value/2),An=computed(()=>$n.value/2),Tn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.offset)==null?void 0:Hn[0])!=null?Fn:Sn.value}),Nn=computed(()=>{var Hn,Fn;return(Fn=(Hn=qe.offset)==null?void 0:Hn[1])!=null?Fn:An.value}),Pn=()=>{const Hn={zIndex:qe.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let Fn=Tn.value-Sn.value,Kn=Nn.value-An.value;return Fn>0&&(Hn.left=`${Fn}px`,Hn.width=`calc(100% - ${Fn}px)`,Fn=0),Kn>0&&(Hn.top=`${Kn}px`,Hn.height=`calc(100% - ${Kn}px)`,Kn=0),Hn.backgroundPosition=`${Fn}px ${Kn}px`,Hn},On=shallowRef(null),Rn=shallowRef(),In=ref(!1),Mn=()=>{Rn.value&&(Rn.value.remove(),Rn.value=void 0)},Bn=(Hn,Fn)=>{var Kn;On.value&&Rn.value&&(In.value=!0,Rn.value.setAttribute("style",getStyleStr({...Pn(),backgroundImage:`url('${Hn}')`,backgroundSize:`${Math.floor(Fn)}px`})),(Kn=On.value)==null||Kn.append(Rn.value),setTimeout(()=>{In.value=!1}))},Dn=Hn=>{let Fn=120,Kn=64;const Un=qe.image,Gn=qe.content,Wn=qe.width,Yn=qe.height;if(!Un&&Hn.measureText){Hn.font=`${Number(bn.value)}px ${_n.value}`;const Xn=Array.isArray(Gn)?Gn:[Gn],qn=Xn.map(jn=>{const Jn=Hn.measureText(jn);return[Jn.width,Jn.fontBoundingBoxAscent+Jn.fontBoundingBoxDescent]});Fn=Math.ceil(Math.max(...qn.map(jn=>jn[0]))),Kn=Math.ceil(Math.max(...qn.map(jn=>jn[1])))*Xn.length+(Xn.length-1)*FontGap}return[Wn??Fn,Yn??Kn]},Vn=useClips(),Ln=()=>{const Fn=document.createElement("canvas").getContext("2d"),Kn=qe.image,Un=qe.content,Gn=qe.rotate;if(Fn){Rn.value||(Rn.value=document.createElement("div"));const Wn=getPixelRatio(),[Yn,Xn]=Dn(Fn),qn=jn=>{const[Jn,Qn]=Vn(jn||"",Gn,Wn,Yn,Xn,{color:vn.value,fontSize:bn.value,fontStyle:kn.value,fontWeight:wn.value,fontFamily:_n.value,textAlign:Cn.value,textBaseline:xn.value},En.value,$n.value);Bn(Jn,Qn)};if(Kn){const jn=new Image;jn.onload=()=>{qn(jn)},jn.onerror=()=>{qn(Un)},jn.crossOrigin="anonymous",jn.referrerPolicy="no-referrer",jn.src=Kn}else qn(Un)}};return onMounted(()=>{Ln()}),watch(()=>qe,()=>{Ln()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Mn()}),useMutationObserver(On,Hn=>{In.value||Hn.forEach(Fn=>{reRendering(Fn,Rn.value)&&(Mn(),Ln())})},{attributes:!0}),(Hn,Fn)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:On,style:normalizeStyle([hn])},[renderSlot(Hn.$slots,"default")],4))}});var Watermark=_export_sfc$2(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/watermark/src/watermark.vue"]]);const ElWatermark=withInstall$1(Watermark);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,ElWatermark];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=(Fe,qe)=>Object.entries(attributes).reduce((hn,[vn,bn])=>{var wn,kn;const{type:_n,default:Cn}=bn,xn=Fe.getAttribute(`infinite-scroll-${vn}`);let En=(kn=(wn=qe[xn])!=null?wn:xn)!=null?kn:Cn;return En=En==="false"?!1:En,En=_n(En),hn[vn]=Number.isNaN(En)?Cn:En,hn},{}),destroyObserver=Fe=>{const{observer:qe}=Fe[SCOPE];qe&&(qe.disconnect(),delete Fe[SCOPE].observer)},handleScroll=(Fe,qe)=>{const{container:hn,containerEl:vn,instance:bn,observer:wn,lastScrollTop:kn}=Fe[SCOPE],{disabled:_n,distance:Cn}=getScrollOptions(Fe,bn),{clientHeight:xn,scrollHeight:En,scrollTop:$n}=vn,Sn=$n-kn;if(Fe[SCOPE].lastScrollTop=$n,wn||_n||Sn<0)return;let An=!1;if(hn===Fe)An=En-(xn+$n)<=Cn;else{const{clientTop:Tn,scrollHeight:Nn}=Fe,Pn=getOffsetTopDistance(Fe,vn);An=$n+xn>=Pn+Tn+Nn-Cn}An&&qe.call(bn)};function checkFull(Fe,qe){const{containerEl:hn,instance:vn}=Fe[SCOPE],{disabled:bn}=getScrollOptions(Fe,vn);bn||hn.clientHeight===0||(hn.scrollHeight<=hn.clientHeight?qe.call(vn):destroyObserver(Fe))}const InfiniteScroll={async mounted(Fe,qe){const{instance:hn,value:vn}=qe;isFunction$i(vn)||throwError(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:bn,immediate:wn}=getScrollOptions(Fe,hn),kn=getScrollContainer(Fe,!0),_n=kn===window?document.documentElement:kn,Cn=throttle$2(handleScroll.bind(null,Fe,vn),bn);if(kn){if(Fe[SCOPE]={instance:hn,container:kn,containerEl:_n,delay:bn,cb:vn,onScroll:Cn,lastScrollTop:_n.scrollTop},wn){const xn=new MutationObserver(throttle$2(checkFull.bind(null,Fe,vn),CHECK_INTERVAL));Fe[SCOPE].observer=xn,xn.observe(Fe,{childList:!0,subtree:!0}),checkFull(Fe,vn)}kn.addEventListener("scroll",Cn)}},unmounted(Fe){const{container:qe,onScroll:hn}=Fe[SCOPE];qe==null||qe.removeEventListener("scroll",hn),destroyObserver(Fe)},async updated(Fe){if(!Fe[SCOPE])await nextTick();else{const{containerEl:qe,cb:hn,observer:vn}=Fe[SCOPE];qe.clientHeight&&vn&&checkFull(Fe,hn)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=Fe=>{Fe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(Fe){let qe;const hn=ref(!1),vn=reactive({...Fe,originalPosition:"",originalOverflow:"",visible:!1});function bn(Sn){vn.text=Sn}function wn(){const Sn=vn.parent,An=$n.ns;if(!Sn.vLoadingAddClassList){let Tn=Sn.getAttribute("loading-number");Tn=Number.parseInt(Tn)-1,Tn?Sn.setAttribute("loading-number",Tn.toString()):(removeClass$2(Sn,An.bm("parent","relative")),Sn.removeAttribute("loading-number")),removeClass$2(Sn,An.bm("parent","hidden"))}kn(),En.unmount()}function kn(){var Sn,An;(An=(Sn=$n.$el)==null?void 0:Sn.parentNode)==null||An.removeChild($n.$el)}function _n(){var Sn;Fe.beforeClose&&!Fe.beforeClose()||(hn.value=!0,clearTimeout(qe),qe=window.setTimeout(Cn,400),vn.visible=!1,(Sn=Fe.closed)==null||Sn.call(Fe))}function Cn(){if(!hn.value)return;const Sn=vn.parent;hn.value=!1,Sn.vLoadingAddClassList=void 0,wn()}const En=createApp(defineComponent({name:"ElLoading",setup(Sn,{expose:An}){const{ns:Tn,zIndex:Nn}=useGlobalComponentSettings("loading");return An({ns:Tn,zIndex:Nn}),()=>{const Pn=vn.spinner||vn.svg,On=h$6("svg",{class:"circular",viewBox:vn.svgViewBox?vn.svgViewBox:"0 0 50 50",...Pn?{innerHTML:Pn}:{}},[h$6("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Rn=vn.text?h$6("p",{class:Tn.b("text")},[vn.text]):void 0;return h$6(Transition,{name:Tn.b("fade"),onAfterLeave:Cn},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:vn.background||""},class:[Tn.b("mask"),vn.customClass,vn.fullscreen?"is-fullscreen":""]},[h$6("div",{class:Tn.b("spinner")},[On,Rn])]),[[vShow,vn.visible]])])})}}})),$n=En.mount(document.createElement("div"));return{...toRefs(vn),setText:bn,removeElLoadingChild:kn,close:_n,handleAfterLeave:Cn,vm:$n,get $el(){return $n.$el}}}let fullscreenInstance;const Loading=function(Fe={}){if(!isClient$1)return;const qe=resolveOptions(Fe);if(qe.fullscreen&&fullscreenInstance)return fullscreenInstance;const hn=createLoadingComponent({...qe,closed:()=>{var bn;(bn=qe.closed)==null||bn.call(qe),qe.fullscreen&&(fullscreenInstance=void 0)}});addStyle(qe,qe.parent,hn),addClassList(qe,qe.parent,hn),qe.parent.vLoadingAddClassList=()=>addClassList(qe,qe.parent,hn);let vn=qe.parent.getAttribute("loading-number");return vn?vn=`${Number.parseInt(vn)+1}`:vn="1",qe.parent.setAttribute("loading-number",vn),qe.parent.appendChild(hn.$el),nextTick(()=>hn.visible.value=qe.visible),qe.fullscreen&&(fullscreenInstance=hn),hn},resolveOptions=Fe=>{var qe,hn,vn,bn;let wn;return isString$d(Fe.target)?wn=(qe=document.querySelector(Fe.target))!=null?qe:document.body:wn=Fe.target||document.body,{parent:wn===document.body||Fe.body?document.body:wn,background:Fe.background||"",svg:Fe.svg||"",svgViewBox:Fe.svgViewBox||"",spinner:Fe.spinner||!1,text:Fe.text||"",fullscreen:wn===document.body&&((hn=Fe.fullscreen)!=null?hn:!0),lock:(vn=Fe.lock)!=null?vn:!1,customClass:Fe.customClass||"",visible:(bn=Fe.visible)!=null?bn:!0,target:wn}},addStyle=async(Fe,qe,hn)=>{const{nextZIndex:vn}=hn.vm.zIndex||hn.vm._.exposed.zIndex,bn={};if(Fe.fullscreen)hn.originalPosition.value=getStyle(document.body,"position"),hn.originalOverflow.value=getStyle(document.body,"overflow"),bn.zIndex=vn();else if(Fe.parent===document.body){hn.originalPosition.value=getStyle(document.body,"position"),await nextTick();for(const wn of["top","left"]){const kn=wn==="top"?"scrollTop":"scrollLeft";bn[wn]=`${Fe.target.getBoundingClientRect()[wn]+document.body[kn]+document.documentElement[kn]-Number.parseInt(getStyle(document.body,`margin-${wn}`),10)}px`}for(const wn of["height","width"])bn[wn]=`${Fe.target.getBoundingClientRect()[wn]}px`}else hn.originalPosition.value=getStyle(qe,"position");for(const[wn,kn]of Object.entries(bn))hn.$el.style[wn]=kn},addClassList=(Fe,qe,hn)=>{const vn=hn.vm.ns||hn.vm._.exposed.ns;["absolute","fixed","sticky"].includes(hn.originalPosition.value)?removeClass$2(qe,vn.bm("parent","relative")):addClass$2(qe,vn.bm("parent","relative")),Fe.fullscreen&&Fe.lock?addClass$2(qe,vn.bm("parent","hidden")):removeClass$2(qe,vn.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(Fe,qe)=>{var hn,vn,bn,wn;const kn=qe.instance,_n=Sn=>isObject$9(qe.value)?qe.value[Sn]:void 0,Cn=Sn=>{const An=isString$d(Sn)&&(kn==null?void 0:kn[Sn])||Sn;return An&&ref(An)},xn=Sn=>Cn(_n(Sn)||Fe.getAttribute(`element-loading-${hyphenate(Sn)}`)),En=(hn=_n("fullscreen"))!=null?hn:qe.modifiers.fullscreen,$n={text:xn("text"),svg:xn("svg"),svgViewBox:xn("svgViewBox"),spinner:xn("spinner"),background:xn("background"),customClass:xn("customClass"),fullscreen:En,target:(vn=_n("target"))!=null?vn:En?void 0:Fe,body:(bn=_n("body"))!=null?bn:qe.modifiers.body,lock:(wn=_n("lock"))!=null?wn:qe.modifiers.lock};Fe[INSTANCE_KEY]={options:$n,instance:Loading($n)}},updateOptions=(Fe,qe)=>{for(const hn of Object.keys(qe))isRef(qe[hn])&&(qe[hn].value=Fe[hn])},vLoading={mounted(Fe,qe){qe.value&&createInstance$1(Fe,qe)},updated(Fe,qe){const hn=Fe[INSTANCE_KEY];qe.oldValue!==qe.value&&(qe.value&&!qe.oldValue?createInstance$1(Fe,qe):qe.value&&qe.oldValue?isObject$9(qe.value)&&updateOptions(qe.value,hn.options):hn==null||hn.instance.close())},unmounted(Fe){var qe;(qe=Fe[INSTANCE_KEY])==null||qe.instance.close()}},ElLoading={install(Fe){Fe.directive("loading",vLoading),Fe.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$1?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$1=shallowReactive([]),getInstance$1=Fe=>{const qe=instances$1.findIndex(bn=>bn.id===Fe),hn=instances$1[qe];let vn;return qe>0&&(vn=instances$1[qe-1]),{current:hn,prev:vn}},getLastOffset=Fe=>{const{prev:qe}=getInstance$1(Fe);return qe?qe.vm.exposed.bottom.value:0},getOffsetOrSpace=(Fe,qe)=>instances$1.findIndex(vn=>vn.id===Fe)>0?20:qe,_hoisted_1$c=["id"],_hoisted_2$a=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$e=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(Fe,{expose:qe}){const hn=Fe,{Close:vn}=TypeComponents,{ns:bn,zIndex:wn}=useGlobalComponentSettings("message"),{currentZIndex:kn,nextZIndex:_n}=wn,Cn=ref(),xn=ref(!1),En=ref(0);let $n;const Sn=computed(()=>hn.type?hn.type==="error"?"danger":hn.type:"info"),An=computed(()=>{const Vn=hn.type;return{[bn.bm("icon",Vn)]:Vn&&TypeComponentsMap[Vn]}}),Tn=computed(()=>hn.icon||TypeComponentsMap[hn.type]||""),Nn=computed(()=>getLastOffset(hn.id)),Pn=computed(()=>getOffsetOrSpace(hn.id,hn.offset)+Nn.value),On=computed(()=>En.value+Pn.value),Rn=computed(()=>({top:`${Pn.value}px`,zIndex:kn.value}));function In(){hn.duration!==0&&({stop:$n}=useTimeoutFn$1(()=>{Bn()},hn.duration))}function Mn(){$n==null||$n()}function Bn(){xn.value=!1}function Dn({code:Vn}){Vn===EVENT_CODE.esc&&Bn()}return onMounted(()=>{In(),_n(),xn.value=!0}),watch(()=>hn.repeatNum,()=>{Mn(),In()}),useEventListener(document,"keydown",Dn),useResizeObserver(Cn,()=>{En.value=Cn.value.getBoundingClientRect().height}),qe({visible:xn,bottom:On,close:Bn}),(Vn,Ln)=>(openBlock(),createBlock(Transition,{name:unref(bn).b("fade"),onBeforeLeave:Vn.onClose,onAfterLeave:Ln[0]||(Ln[0]=zn=>Vn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Vn.id,ref_key:"messageRef",ref:Cn,class:normalizeClass([unref(bn).b(),{[unref(bn).m(Vn.type)]:Vn.type&&!Vn.icon},unref(bn).is("center",Vn.center),unref(bn).is("closable",Vn.showClose),Vn.customClass]),style:normalizeStyle(unref(Rn)),role:"alert",onMouseenter:Mn,onMouseleave:In},[Vn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Vn.repeatNum,type:unref(Sn),class:normalizeClass(unref(bn).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Tn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(bn).e("icon"),unref(An)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Tn))))]),_: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(bn).e("content")),innerHTML:Vn.message},null,10,_hoisted_2$a)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(bn).e("content"))},toDisplayString(Vn.message),3))]),Vn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(bn).e("closeBtn")),onClick:withModifiers(Bn,["stop"])},{default:withCtx(()=>[createVNode(unref(vn))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$c),[[vShow,xn.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$2(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$2=1;const normalizeOptions=Fe=>{const qe=!Fe||isString$d(Fe)||isVNode(Fe)||isFunction$i(Fe)?{message:Fe}:Fe,hn={...messageDefaults,...qe};if(!hn.appendTo)hn.appendTo=document.body;else if(isString$d(hn.appendTo)){let vn=document.querySelector(hn.appendTo);isElement$4(vn)||(vn=document.body),hn.appendTo=vn}return hn},closeMessage=Fe=>{const qe=instances$1.indexOf(Fe);if(qe===-1)return;instances$1.splice(qe,1);const{handler:hn}=Fe;hn.close()},createMessage=({appendTo:Fe,...qe},hn)=>{const vn=`message_${seed$2++}`,bn=qe.onClose,wn=document.createElement("div"),kn={...qe,id:vn,onClose:()=>{bn==null||bn(),closeMessage(En)},onDestroy:()=>{render$1(null,wn)}},_n=createVNode(MessageConstructor,kn,isFunction$i(kn.message)||isVNode(kn.message)?{default:isFunction$i(kn.message)?kn.message:()=>kn.message}:null);_n.appContext=hn||message$1._context,render$1(_n,wn),Fe.appendChild(wn.firstElementChild);const Cn=_n.component,En={id:vn,vnode:_n,vm:Cn,handler:{close:()=>{Cn.exposed.visible.value=!1}},props:_n.component.props};return En},message$1=(Fe={},qe)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$d(messageConfig.max)&&instances$1.length>=messageConfig.max)return{close:()=>{}};const hn=normalizeOptions(Fe);if(hn.grouping&&instances$1.length){const bn=instances$1.find(({vnode:wn})=>{var kn;return((kn=wn.props)==null?void 0:kn.message)===hn.message});if(bn)return bn.props.repeatNum+=1,bn.props.type=hn.type,bn.handler}const vn=createMessage(hn,qe);return instances$1.push(vn),vn.handler};messageTypes.forEach(Fe=>{message$1[Fe]=(qe={},hn)=>{const vn=normalizeOptions(qe);return message$1({...vn,type:Fe},hn)}});function closeAll$1(Fe){for(const qe of instances$1)(!Fe||Fe===qe.props.type)&&qe.handler.close()}message$1.closeAll=closeAll$1;message$1._context=null;const ElMessage=withInstallFunction(message$1,"$message"),_sfc_main$d=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(Fe,{emit:qe}){const{locale:hn,zIndex:vn,ns:bn,size:wn}=useGlobalComponentSettings("message-box",computed(()=>Fe.buttonSize)),{t:kn}=hn,{nextZIndex:_n}=vn,Cn=ref(!1),xn=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:_n()}),En=computed(()=>{const Wn=xn.type;return{[bn.bm("icon",Wn)]:Wn&&TypeComponentsMap[Wn]}}),$n=useId(),Sn=useId(),An=computed(()=>xn.icon||TypeComponentsMap[xn.type]||""),Tn=computed(()=>!!xn.message),Nn=ref(),Pn=ref(),On=ref(),Rn=ref(),In=ref(),Mn=computed(()=>xn.confirmButtonClass);watch(()=>xn.inputValue,async Wn=>{await nextTick(),Fe.boxType==="prompt"&&Wn!==null&&Fn()},{immediate:!0}),watch(()=>Cn.value,Wn=>{var Yn,Xn;Wn&&(Fe.boxType!=="prompt"&&(xn.autofocus?On.value=(Xn=(Yn=In.value)==null?void 0:Yn.$el)!=null?Xn:Nn.value:On.value=Nn.value),xn.zIndex=_n()),Fe.boxType==="prompt"&&(Wn?nextTick().then(()=>{var qn;Rn.value&&Rn.value.$el&&(xn.autofocus?On.value=(qn=Kn())!=null?qn:Nn.value:On.value=Nn.value)}):(xn.editorErrorMessage="",xn.validateError=!1))});const Bn=computed(()=>Fe.draggable);useDraggable(Nn,Pn,Bn),onMounted(async()=>{await nextTick(),Fe.closeOnHashChange&&window.addEventListener("hashchange",Dn)}),onBeforeUnmount(()=>{Fe.closeOnHashChange&&window.removeEventListener("hashchange",Dn)});function Dn(){Cn.value&&(Cn.value=!1,nextTick(()=>{xn.action&&qe("action",xn.action)}))}const Vn=()=>{Fe.closeOnClickModal&&Hn(xn.distinguishCancelAndClose?"close":"cancel")},Ln=useSameTarget(Vn),zn=Wn=>{if(xn.inputType!=="textarea")return Wn.preventDefault(),Hn("confirm")},Hn=Wn=>{var Yn;Fe.boxType==="prompt"&&Wn==="confirm"&&!Fn()||(xn.action=Wn,xn.beforeClose?(Yn=xn.beforeClose)==null||Yn.call(xn,Wn,xn,Dn):Dn())},Fn=()=>{if(Fe.boxType==="prompt"){const Wn=xn.inputPattern;if(Wn&&!Wn.test(xn.inputValue||""))return xn.editorErrorMessage=xn.inputErrorMessage||kn("el.messagebox.error"),xn.validateError=!0,!1;const Yn=xn.inputValidator;if(typeof Yn=="function"){const Xn=Yn(xn.inputValue);if(Xn===!1)return xn.editorErrorMessage=xn.inputErrorMessage||kn("el.messagebox.error"),xn.validateError=!0,!1;if(typeof Xn=="string")return xn.editorErrorMessage=Xn,xn.validateError=!0,!1}}return xn.editorErrorMessage="",xn.validateError=!1,!0},Kn=()=>{const Wn=Rn.value.$refs;return Wn.input||Wn.textarea},Un=()=>{Hn("close")},Gn=()=>{Fe.closeOnPressEscape&&Un()};return Fe.lockScroll&&useLockscreen(Cn),{...toRefs(xn),ns:bn,overlayEvent:Ln,visible:Cn,hasMessage:Tn,typeClass:En,contentId:$n,inputId:Sn,btnSize:wn,iconComponent:An,confirmButtonClasses:Mn,rootRef:Nn,focusStartRef:On,headerRef:Pn,inputRef:Rn,confirmRef:In,doClose:Dn,handleClose:Un,onCloseRequested:Gn,handleWrapperClick:Vn,handleInputEnter:zn,handleAction:Hn,t:kn}}}),_hoisted_1$b=["aria-label","aria-describedby"],_hoisted_2$9=["aria-label"],_hoisted_3$6=["id"];function _sfc_render$1(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("el-icon"),_n=resolveComponent("close"),Cn=resolveComponent("el-input"),xn=resolveComponent("el-button"),En=resolveComponent("el-focus-trap"),$n=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:qe[11]||(qe[11]=Sn=>Fe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode($n,{"z-index":Fe.zIndex,"overlay-class":[Fe.ns.is("message-box"),Fe.modalClass],mask:Fe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":Fe.title,"aria-modal":"true","aria-describedby":Fe.showInput?void 0:Fe.contentId,class:normalizeClass(`${Fe.ns.namespace.value}-overlay-message-box`),onClick:qe[8]||(qe[8]=(...Sn)=>Fe.overlayEvent.onClick&&Fe.overlayEvent.onClick(...Sn)),onMousedown:qe[9]||(qe[9]=(...Sn)=>Fe.overlayEvent.onMousedown&&Fe.overlayEvent.onMousedown(...Sn)),onMouseup:qe[10]||(qe[10]=(...Sn)=>Fe.overlayEvent.onMouseup&&Fe.overlayEvent.onMouseup(...Sn))},[createVNode(En,{loop:"",trapped:Fe.visible,"focus-trap-el":Fe.rootRef,"focus-start-el":Fe.focusStartRef,onReleaseRequested:Fe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([Fe.ns.b(),Fe.customClass,Fe.ns.is("draggable",Fe.draggable),{[Fe.ns.m("center")]:Fe.center}]),style:normalizeStyle(Fe.customStyle),tabindex:"-1",onClick:qe[7]||(qe[7]=withModifiers(()=>{},["stop"]))},[Fe.title!==null&&Fe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass(Fe.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("title"))},[Fe.iconComponent&&Fe.center?(openBlock(),createBlock(kn,{key:0,class:normalizeClass([Fe.ns.e("status"),Fe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(Fe.title),1)],2),Fe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(Fe.ns.e("headerbtn")),"aria-label":Fe.t("el.messagebox.close"),onClick:qe[0]||(qe[0]=Sn=>Fe.handleAction(Fe.distinguishCancelAndClose?"close":"cancel")),onKeydown:qe[1]||(qe[1]=withKeys(withModifiers(Sn=>Fe.handleAction(Fe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(kn,{class:normalizeClass(Fe.ns.e("close"))},{default:withCtx(()=>[createVNode(_n)]),_:1},8,["class"])],42,_hoisted_2$9)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:Fe.contentId,class:normalizeClass(Fe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(Fe.ns.e("container"))},[Fe.iconComponent&&!Fe.center&&Fe.hasMessage?(openBlock(),createBlock(kn,{key:0,class:normalizeClass([Fe.ns.e("status"),Fe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Fe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Fe.ns.e("message"))},[renderSlot(Fe.$slots,"default",{},()=>[Fe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(Fe.showInput?"label":"p"),{key:1,for:Fe.showInput?Fe.inputId:void 0,innerHTML:Fe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(Fe.showInput?"label":"p"),{key:0,for:Fe.showInput?Fe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(Fe.dangerouslyUseHTMLString?"":Fe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(Fe.ns.e("input"))},[createVNode(Cn,{id:Fe.inputId,ref:"inputRef",modelValue:Fe.inputValue,"onUpdate:modelValue":qe[2]||(qe[2]=Sn=>Fe.inputValue=Sn),type:Fe.inputType,placeholder:Fe.inputPlaceholder,"aria-invalid":Fe.validateError,class:normalizeClass({invalid:Fe.validateError}),onKeydown:withKeys(Fe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(Fe.ns.e("errormsg")),style:normalizeStyle({visibility:Fe.editorErrorMessage?"visible":"hidden"})},toDisplayString(Fe.editorErrorMessage),7)],2),[[vShow,Fe.showInput]])],10,_hoisted_3$6),createBaseVNode("div",{class:normalizeClass(Fe.ns.e("btns"))},[Fe.showCancelButton?(openBlock(),createBlock(xn,{key:0,loading:Fe.cancelButtonLoading,class:normalizeClass([Fe.cancelButtonClass]),round:Fe.roundButton,size:Fe.btnSize,onClick:qe[3]||(qe[3]=Sn=>Fe.handleAction("cancel")),onKeydown:qe[4]||(qe[4]=withKeys(withModifiers(Sn=>Fe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(Fe.cancelButtonText||Fe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode(xn,{ref:"confirmRef",type:"primary",loading:Fe.confirmButtonLoading,class:normalizeClass([Fe.confirmButtonClasses]),round:Fe.roundButton,disabled:Fe.confirmButtonDisabled,size:Fe.btnSize,onClick:qe[5]||(qe[5]=Sn=>Fe.handleAction("confirm")),onKeydown:qe[6]||(qe[6]=withKeys(withModifiers(Sn=>Fe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(Fe.confirmButtonText||Fe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,Fe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$b)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,Fe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$2(_sfc_main$d,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=Fe=>{let qe=document.body;return Fe.appendTo&&(isString$d(Fe.appendTo)&&(qe=document.querySelector(Fe.appendTo)),isElement$4(Fe.appendTo)&&(qe=Fe.appendTo),isElement$4(qe)||(qe=document.body)),qe},initInstance=(Fe,qe,hn=null)=>{const vn=createVNode(MessageBoxConstructor,Fe,isFunction$i(Fe.message)||isVNode(Fe.message)?{default:isFunction$i(Fe.message)?Fe.message:()=>Fe.message}:null);return vn.appContext=hn,render$1(vn,qe),getAppendToElement(Fe).appendChild(qe.firstElementChild),vn.component},genContainer=()=>document.createElement("div"),showMessage=(Fe,qe)=>{const hn=genContainer();Fe.onVanish=()=>{render$1(null,hn),messageInstance.delete(bn)},Fe.onAction=wn=>{const kn=messageInstance.get(bn);let _n;Fe.showInput?_n={value:bn.inputValue,action:wn}:_n=wn,Fe.callback?Fe.callback(_n,vn.proxy):wn==="cancel"||wn==="close"?Fe.distinguishCancelAndClose&&wn!=="cancel"?kn.reject("close"):kn.reject("cancel"):kn.resolve(_n)};const vn=initInstance(Fe,hn,qe),bn=vn.proxy;for(const wn in Fe)hasOwn(Fe,wn)&&!hasOwn(bn.$props,wn)&&(bn[wn]=Fe[wn]);return bn.visible=!0,bn};function MessageBox(Fe,qe=null){if(!isClient$1)return Promise.reject();let hn;return isString$d(Fe)||isVNode(Fe)?Fe={message:Fe}:hn=Fe.callback,new Promise((vn,bn)=>{const wn=showMessage(Fe,qe??MessageBox._context);messageInstance.set(wn,{options:Fe,callback:hn,resolve:vn,reject:bn})})}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(Fe=>{MessageBox[Fe]=messageBoxFactory(Fe)});function messageBoxFactory(Fe){return(qe,hn,vn,bn)=>{let wn="";return isObject$9(hn)?(vn=hn,wn=""):isUndefined$d(hn)?wn="":wn=hn,MessageBox(Object.assign({title:wn,message:qe,type:"",...MESSAGE_BOX_DEFAULT_OPTS[Fe]},vn,{boxType:Fe}),bn)}}MessageBox.close=()=>{messageInstance.forEach((Fe,qe)=>{qe.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=Fe=>{_MessageBox._context=Fe._context,Fe.config.globalProperties.$msgbox=_MessageBox,Fe.config.globalProperties.$messageBox=_MessageBox,Fe.config.globalProperties.$alert=_MessageBox.alert,Fe.config.globalProperties.$confirm=_MessageBox.confirm,Fe.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:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$a=["id"],_hoisted_2$8=["textContent"],_hoisted_3$5={key:0},_hoisted_4$5=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$c=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(Fe,{expose:qe}){const hn=Fe,{ns:vn,zIndex:bn}=useGlobalComponentSettings("notification"),{nextZIndex:wn,currentZIndex:kn}=bn,{Close:_n}=CloseComponents,Cn=ref(!1);let xn;const En=computed(()=>{const In=hn.type;return In&&TypeComponentsMap[hn.type]?vn.m(In):""}),$n=computed(()=>hn.type&&TypeComponentsMap[hn.type]||hn.icon),Sn=computed(()=>hn.position.endsWith("right")?"right":"left"),An=computed(()=>hn.position.startsWith("top")?"top":"bottom"),Tn=computed(()=>{var In;return{[An.value]:`${hn.offset}px`,zIndex:(In=hn.zIndex)!=null?In:kn.value}});function Nn(){hn.duration>0&&({stop:xn}=useTimeoutFn$1(()=>{Cn.value&&On()},hn.duration))}function Pn(){xn==null||xn()}function On(){Cn.value=!1}function Rn({code:In}){In===EVENT_CODE.delete||In===EVENT_CODE.backspace?Pn():In===EVENT_CODE.esc?Cn.value&&On():Nn()}return onMounted(()=>{Nn(),wn(),Cn.value=!0}),useEventListener(document,"keydown",Rn),qe({visible:Cn,close:On}),(In,Mn)=>(openBlock(),createBlock(Transition,{name:unref(vn).b("fade"),onBeforeLeave:In.onClose,onAfterLeave:Mn[1]||(Mn[1]=Bn=>In.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:In.id,class:normalizeClass([unref(vn).b(),In.customClass,unref(Sn)]),style:normalizeStyle(unref(Tn)),role:"alert",onMouseenter:Pn,onMouseleave:Nn,onClick:Mn[0]||(Mn[0]=(...Bn)=>In.onClick&&In.onClick(...Bn))},[unref($n)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(vn).e("icon"),unref(En)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($n))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(vn).e("title")),textContent:toDisplayString(In.title)},null,10,_hoisted_2$8),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(vn).e("content")),style:normalizeStyle(In.title?void 0:{margin:0})},[renderSlot(In.$slots,"default",{},()=>[In.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:In.message},null,8,_hoisted_4$5)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$5,toDisplayString(In.message),1))])],6),[[vShow,In.message]]),In.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(vn).e("closeBtn")),onClick:withModifiers(On,["stop"])},{default:withCtx(()=>[createVNode(unref(_n))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$a),[[vShow,Cn.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$2(_sfc_main$c,[["__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=1;const notify=function(Fe={},qe=null){if(!isClient$1)return{close:()=>{}};(typeof Fe=="string"||isVNode(Fe))&&(Fe={message:Fe});const hn=Fe.position||"top-right";let vn=Fe.offset||0;notifications[hn].forEach(({vm:En})=>{var $n;vn+=((($n=En.el)==null?void 0:$n.offsetHeight)||0)+GAP_SIZE}),vn+=GAP_SIZE;const bn=`notification_${seed$1++}`,wn=Fe.onClose,kn={...Fe,offset:vn,id:bn,onClose:()=>{close(bn,hn,wn)}};let _n=document.body;isElement$4(Fe.appendTo)?_n=Fe.appendTo:isString$d(Fe.appendTo)&&(_n=document.querySelector(Fe.appendTo)),isElement$4(_n)||(_n=document.body);const Cn=document.createElement("div"),xn=createVNode(NotificationConstructor,kn,isVNode(kn.message)?{default:()=>kn.message}:null);return xn.appContext=qe??notify._context,xn.props.onDestroy=()=>{render$1(null,Cn)},render$1(xn,Cn),notifications[hn].push({vm:xn}),_n.appendChild(Cn.firstElementChild),{close:()=>{xn.component.exposed.visible.value=!1}}};notificationTypes.forEach(Fe=>{notify[Fe]=(qe={})=>((typeof qe=="string"||isVNode(qe))&&(qe={message:qe}),notify({...qe,type:Fe}))});function close(Fe,qe,hn){const vn=notifications[qe],bn=vn.findIndex(({vm:xn})=>{var En;return((En=xn.component)==null?void 0:En.props.id)===Fe});if(bn===-1)return;const{vm:wn}=vn[bn];if(!wn)return;hn==null||hn(wn);const kn=wn.el.offsetHeight,_n=qe.split("-")[0];vn.splice(bn,1);const Cn=vn.length;if(!(Cn<1))for(let xn=bn;xn{qe.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]);function t$7(Fe){return Fe.split("-")[1]}function e$3(Fe){return Fe==="y"?"height":"width"}function n$7(Fe){return Fe.split("-")[0]}function o$5(Fe){return["top","bottom"].includes(n$7(Fe))?"x":"y"}function i$5(Fe,qe,hn){let{reference:vn,floating:bn}=Fe;const wn=vn.x+vn.width/2-bn.width/2,kn=vn.y+vn.height/2-bn.height/2,_n=o$5(qe),Cn=e$3(_n),xn=vn[Cn]/2-bn[Cn]/2,En=_n==="x";let $n;switch(n$7(qe)){case"top":$n={x:wn,y:vn.y-bn.height};break;case"bottom":$n={x:wn,y:vn.y+vn.height};break;case"right":$n={x:vn.x+vn.width,y:kn};break;case"left":$n={x:vn.x-bn.width,y:kn};break;default:$n={x:vn.x,y:vn.y}}switch(t$7(qe)){case"start":$n[_n]-=xn*(hn&&En?-1:1);break;case"end":$n[_n]+=xn*(hn&&En?-1:1)}return $n}const r$3=async(Fe,qe,hn)=>{const{placement:vn="bottom",strategy:bn="absolute",middleware:wn=[],platform:kn}=hn,_n=wn.filter(Boolean),Cn=await(kn.isRTL==null?void 0:kn.isRTL(qe));let xn=await kn.getElementRects({reference:Fe,floating:qe,strategy:bn}),{x:En,y:$n}=i$5(xn,vn,Cn),Sn=vn,An={},Tn=0;for(let Nn=0;Nn<_n.length;Nn++){const{name:Pn,fn:On}=_n[Nn],{x:Rn,y:In,data:Mn,reset:Bn}=await On({x:En,y:$n,initialPlacement:vn,placement:Sn,strategy:bn,middlewareData:An,rects:xn,platform:kn,elements:{reference:Fe,floating:qe}});En=Rn??En,$n=In??$n,An={...An,[Pn]:{...An[Pn],...Mn}},Bn&&Tn<=50&&(Tn++,typeof Bn=="object"&&(Bn.placement&&(Sn=Bn.placement),Bn.rects&&(xn=Bn.rects===!0?await kn.getElementRects({reference:Fe,floating:qe,strategy:bn}):Bn.rects),{x:En,y:$n}=i$5(xn,Sn,Cn)),Nn=-1)}return{x:En,y:$n,placement:Sn,strategy:bn,middlewareData:An}};function a$6(Fe,qe){return typeof Fe=="function"?Fe(qe):Fe}function l$5(Fe){return typeof Fe!="number"?function(qe){return{top:0,right:0,bottom:0,left:0,...qe}}(Fe):{top:Fe,right:Fe,bottom:Fe,left:Fe}}function s$3(Fe){return{...Fe,top:Fe.y,left:Fe.x,right:Fe.x+Fe.width,bottom:Fe.y+Fe.height}}async function c$6(Fe,qe){var hn;qe===void 0&&(qe={});const{x:vn,y:bn,platform:wn,rects:kn,elements:_n,strategy:Cn}=Fe,{boundary:xn="clippingAncestors",rootBoundary:En="viewport",elementContext:$n="floating",altBoundary:Sn=!1,padding:An=0}=a$6(qe,Fe),Tn=l$5(An),Nn=_n[Sn?$n==="floating"?"reference":"floating":$n],Pn=s$3(await wn.getClippingRect({element:(hn=await(wn.isElement==null?void 0:wn.isElement(Nn)))==null||hn?Nn:Nn.contextElement||await(wn.getDocumentElement==null?void 0:wn.getDocumentElement(_n.floating)),boundary:xn,rootBoundary:En,strategy:Cn})),On=$n==="floating"?{...kn.floating,x:vn,y:bn}:kn.reference,Rn=await(wn.getOffsetParent==null?void 0:wn.getOffsetParent(_n.floating)),In=await(wn.isElement==null?void 0:wn.isElement(Rn))&&await(wn.getScale==null?void 0:wn.getScale(Rn))||{x:1,y:1},Mn=s$3(wn.convertOffsetParentRelativeRectToViewportRelativeRect?await wn.convertOffsetParentRelativeRectToViewportRelativeRect({rect:On,offsetParent:Rn,strategy:Cn}):On);return{top:(Pn.top-Mn.top+Tn.top)/In.y,bottom:(Mn.bottom-Pn.bottom+Tn.bottom)/In.y,left:(Pn.left-Mn.left+Tn.left)/In.x,right:(Mn.right-Pn.right+Tn.right)/In.x}}const f$5=Math.min,m$7=Math.max;function u$6(Fe,qe,hn){return m$7(Fe,f$5(qe,hn))}const g$6=Fe=>({name:"arrow",options:Fe,async fn(qe){const{x:hn,y:vn,placement:bn,rects:wn,platform:kn,elements:_n}=qe,{element:Cn,padding:xn=0}=a$6(Fe,qe)||{};if(Cn==null)return{};const En=l$5(xn),$n={x:hn,y:vn},Sn=o$5(bn),An=e$3(Sn),Tn=await kn.getDimensions(Cn),Nn=Sn==="y",Pn=Nn?"top":"left",On=Nn?"bottom":"right",Rn=Nn?"clientHeight":"clientWidth",In=wn.reference[An]+wn.reference[Sn]-$n[Sn]-wn.floating[An],Mn=$n[Sn]-wn.reference[Sn],Bn=await(kn.getOffsetParent==null?void 0:kn.getOffsetParent(Cn));let Dn=Bn?Bn[Rn]:0;Dn&&await(kn.isElement==null?void 0:kn.isElement(Bn))||(Dn=_n.floating[Rn]||wn.floating[An]);const Vn=In/2-Mn/2,Ln=Dn/2-Tn[An]/2-1,zn=f$5(En[Pn],Ln),Hn=f$5(En[On],Ln),Fn=zn,Kn=Dn-Tn[An]-Hn,Un=Dn/2-Tn[An]/2+Vn,Gn=u$6(Fn,Un,Kn),Wn=t$7(bn)!=null&&Un!=Gn&&wn.reference[An]/2-(UnFe.concat(qe,qe+"-start",qe+"-end"),[]),h$4={left:"right",right:"left",bottom:"top",top:"bottom"};function y$6(Fe){return Fe.replace(/left|right|bottom|top/g,qe=>h$4[qe])}function x$3(Fe,qe,hn){hn===void 0&&(hn=!1);const vn=t$7(Fe),bn=o$5(Fe),wn=e$3(bn);let kn=bn==="x"?vn===(hn?"end":"start")?"right":"left":vn==="start"?"bottom":"top";return qe.reference[wn]>qe.floating[wn]&&(kn=y$6(kn)),{main:kn,cross:y$6(kn)}}const w$5={start:"end",end:"start"};function v$6(Fe){return Fe.replace(/start|end/g,qe=>w$5[qe])}const b$6=function(Fe){return Fe===void 0&&(Fe={}),{name:"autoPlacement",options:Fe,async fn(qe){var hn,vn,bn;const{rects:wn,middlewareData:kn,placement:_n,platform:Cn,elements:xn}=qe,{crossAxis:En=!1,alignment:$n,allowedPlacements:Sn=p$6,autoAlignment:An=!0,...Tn}=a$6(Fe,qe),Nn=$n!==void 0||Sn===p$6?function(Hn,Fn,Kn){return(Hn?[...Kn.filter(Un=>t$7(Un)===Hn),...Kn.filter(Un=>t$7(Un)!==Hn)]:Kn.filter(Un=>n$7(Un)===Un)).filter(Un=>!Hn||t$7(Un)===Hn||!!Fn&&v$6(Un)!==Un)}($n||null,An,Sn):Sn,Pn=await c$6(qe,Tn),On=((hn=kn.autoPlacement)==null?void 0:hn.index)||0,Rn=Nn[On];if(Rn==null)return{};const{main:In,cross:Mn}=x$3(Rn,wn,await(Cn.isRTL==null?void 0:Cn.isRTL(xn.floating)));if(_n!==Rn)return{reset:{placement:Nn[0]}};const Bn=[Pn[n$7(Rn)],Pn[In],Pn[Mn]],Dn=[...((vn=kn.autoPlacement)==null?void 0:vn.overflows)||[],{placement:Rn,overflows:Bn}],Vn=Nn[On+1];if(Vn)return{data:{index:On+1,overflows:Dn},reset:{placement:Vn}};const Ln=Dn.map(Hn=>{const Fn=t$7(Hn.placement);return[Hn.placement,Fn&&En?Hn.overflows.slice(0,2).reduce((Kn,Un)=>Kn+Un,0):Hn.overflows[0],Hn.overflows]}).sort((Hn,Fn)=>Hn[1]-Fn[1]),zn=((bn=Ln.filter(Hn=>Hn[2].slice(0,t$7(Hn[0])?2:3).every(Fn=>Fn<=0))[0])==null?void 0:bn[0])||Ln[0][0];return zn!==_n?{data:{index:On+1,overflows:Dn},reset:{placement:zn}}:{}}}},A$3=function(Fe){return Fe===void 0&&(Fe={}),{name:"flip",options:Fe,async fn(qe){var hn;const{placement:vn,middlewareData:bn,rects:wn,initialPlacement:kn,platform:_n,elements:Cn}=qe,{mainAxis:xn=!0,crossAxis:En=!0,fallbackPlacements:$n,fallbackStrategy:Sn="bestFit",fallbackAxisSideDirection:An="none",flipAlignment:Tn=!0,...Nn}=a$6(Fe,qe),Pn=n$7(vn),On=n$7(kn)===kn,Rn=await(_n.isRTL==null?void 0:_n.isRTL(Cn.floating)),In=$n||(On||!Tn?[y$6(kn)]:function(Fn){const Kn=y$6(Fn);return[v$6(Fn),Kn,v$6(Kn)]}(kn));$n||An==="none"||In.push(...function(Fn,Kn,Un,Gn){const Wn=t$7(Fn);let Yn=function(Xn,qn,jn){const Jn=["left","right"],Qn=["right","left"],no=["top","bottom"],so=["bottom","top"];switch(Xn){case"top":case"bottom":return jn?qn?Qn:Jn:qn?Jn:Qn;case"left":case"right":return qn?no:so;default:return[]}}(n$7(Fn),Un==="start",Gn);return Wn&&(Yn=Yn.map(Xn=>Xn+"-"+Wn),Kn&&(Yn=Yn.concat(Yn.map(v$6)))),Yn}(kn,Tn,An,Rn));const Mn=[kn,...In],Bn=await c$6(qe,Nn),Dn=[];let Vn=((hn=bn.flip)==null?void 0:hn.overflows)||[];if(xn&&Dn.push(Bn[Pn]),En){const{main:Fn,cross:Kn}=x$3(vn,wn,Rn);Dn.push(Bn[Fn],Bn[Kn])}if(Vn=[...Vn,{placement:vn,overflows:Dn}],!Dn.every(Fn=>Fn<=0)){var Ln,zn;const Fn=(((Ln=bn.flip)==null?void 0:Ln.index)||0)+1,Kn=Mn[Fn];if(Kn)return{data:{index:Fn,overflows:Vn},reset:{placement:Kn}};let Un=(zn=Vn.filter(Gn=>Gn.overflows[0]<=0).sort((Gn,Wn)=>Gn.overflows[1]-Wn.overflows[1])[0])==null?void 0:zn.placement;if(!Un)switch(Sn){case"bestFit":{var Hn;const Gn=(Hn=Vn.map(Wn=>[Wn.placement,Wn.overflows.filter(Yn=>Yn>0).reduce((Yn,Xn)=>Yn+Xn,0)]).sort((Wn,Yn)=>Wn[1]-Yn[1])[0])==null?void 0:Hn[0];Gn&&(Un=Gn);break}case"initialPlacement":Un=kn}if(vn!==Un)return{reset:{placement:Un}}}return{}}}},L$6=function(Fe){return Fe===void 0&&(Fe=0),{name:"offset",options:Fe,async fn(qe){const{x:hn,y:vn}=qe,bn=await async function(wn,kn){const{placement:_n,platform:Cn,elements:xn}=wn,En=await(Cn.isRTL==null?void 0:Cn.isRTL(xn.floating)),$n=n$7(_n),Sn=t$7(_n),An=o$5(_n)==="x",Tn=["left","top"].includes($n)?-1:1,Nn=En&&An?-1:1,Pn=a$6(kn,wn);let{mainAxis:On,crossAxis:Rn,alignmentAxis:In}=typeof Pn=="number"?{mainAxis:Pn,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Pn};return Sn&&typeof In=="number"&&(Rn=Sn==="end"?-1*In:In),An?{x:Rn*Nn,y:On*Tn}:{x:On*Tn,y:Rn*Nn}}(qe,Fe);return{x:hn+bn.x,y:vn+bn.y,data:bn}}}};function k$4(Fe){return Fe==="x"?"y":"x"}const O$3=function(Fe){return Fe===void 0&&(Fe={}),{name:"shift",options:Fe,async fn(qe){const{x:hn,y:vn,placement:bn}=qe,{mainAxis:wn=!0,crossAxis:kn=!1,limiter:_n={fn:Pn=>{let{x:On,y:Rn}=Pn;return{x:On,y:Rn}}},...Cn}=a$6(Fe,qe),xn={x:hn,y:vn},En=await c$6(qe,Cn),$n=o$5(n$7(bn)),Sn=k$4($n);let An=xn[$n],Tn=xn[Sn];if(wn){const Pn=$n==="y"?"bottom":"right";An=u$6(An+En[$n==="y"?"top":"left"],An,An-En[Pn])}if(kn){const Pn=Sn==="y"?"bottom":"right";Tn=u$6(Tn+En[Sn==="y"?"top":"left"],Tn,Tn-En[Pn])}const Nn=_n.fn({...qe,[$n]:An,[Sn]:Tn});return{...Nn,data:{x:Nn.x-hn,y:Nn.y-vn}}}}},C$5=function(Fe){return Fe===void 0&&(Fe={}),{name:"size",options:Fe,async fn(qe){const{placement:hn,rects:vn,platform:bn,elements:wn}=qe,{apply:kn=()=>{},..._n}=a$6(Fe,qe),Cn=await c$6(qe,_n),xn=n$7(hn),En=t$7(hn),$n=o$5(hn)==="x",{width:Sn,height:An}=vn.floating;let Tn,Nn;xn==="top"||xn==="bottom"?(Tn=xn,Nn=En===(await(bn.isRTL==null?void 0:bn.isRTL(wn.floating))?"start":"end")?"left":"right"):(Nn=xn,Tn=En==="end"?"top":"bottom");const Pn=An-Cn[Tn],On=Sn-Cn[Nn],Rn=!qe.middlewareData.shift;let In=Pn,Mn=On;if($n){const Dn=Sn-Cn.left-Cn.right;Mn=En||Rn?f$5(On,Dn):Dn}else{const Dn=An-Cn.top-Cn.bottom;In=En||Rn?f$5(Pn,Dn):Dn}if(Rn&&!En){const Dn=m$7(Cn.left,0),Vn=m$7(Cn.right,0),Ln=m$7(Cn.top,0),zn=m$7(Cn.bottom,0);$n?Mn=Sn-2*(Dn!==0||Vn!==0?Dn+Vn:m$7(Cn.left,Cn.right)):In=An-2*(Ln!==0||zn!==0?Ln+zn:m$7(Cn.top,Cn.bottom))}await kn({...qe,availableWidth:Mn,availableHeight:In});const Bn=await bn.getDimensions(wn.floating);return Sn!==Bn.width||An!==Bn.height?{reset:{rects:!0}}:{}}}};function n$6(Fe){var qe;return((qe=Fe.ownerDocument)==null?void 0:qe.defaultView)||window}function o$4(Fe){return n$6(Fe).getComputedStyle(Fe)}const i$4=Math.min,r$2=Math.max,l$4=Math.round;function c$5(Fe){const qe=o$4(Fe);let hn=parseFloat(qe.width),vn=parseFloat(qe.height);const bn=Fe.offsetWidth,wn=Fe.offsetHeight,kn=l$4(hn)!==bn||l$4(vn)!==wn;return kn&&(hn=bn,vn=wn),{width:hn,height:vn,fallback:kn}}function s$2(Fe){return h$3(Fe)?(Fe.nodeName||"").toLowerCase():""}let f$4;function u$5(){if(f$4)return f$4;const Fe=navigator.userAgentData;return Fe&&Array.isArray(Fe.brands)?(f$4=Fe.brands.map(qe=>qe.brand+"/"+qe.version).join(" "),f$4):navigator.userAgent}function a$5(Fe){return Fe instanceof n$6(Fe).HTMLElement}function d$7(Fe){return Fe instanceof n$6(Fe).Element}function h$3(Fe){return Fe instanceof n$6(Fe).Node}function p$5(Fe){return typeof ShadowRoot>"u"?!1:Fe instanceof n$6(Fe).ShadowRoot||Fe instanceof ShadowRoot}function g$5(Fe){const{overflow:qe,overflowX:hn,overflowY:vn,display:bn}=o$4(Fe);return/auto|scroll|overlay|hidden|clip/.test(qe+vn+hn)&&!["inline","contents"].includes(bn)}function m$6(Fe){return["table","td","th"].includes(s$2(Fe))}function y$5(Fe){const qe=/firefox/i.test(u$5()),hn=o$4(Fe),vn=hn.backdropFilter||hn.WebkitBackdropFilter;return hn.transform!=="none"||hn.perspective!=="none"||!!vn&&vn!=="none"||qe&&hn.willChange==="filter"||qe&&!!hn.filter&&hn.filter!=="none"||["transform","perspective"].some(bn=>hn.willChange.includes(bn))||["paint","layout","strict","content"].some(bn=>{const wn=hn.contain;return wn!=null&&wn.includes(bn)})}function x$2(){return!/^((?!chrome|android).)*safari/i.test(u$5())}function w$4(Fe){return["html","body","#document"].includes(s$2(Fe))}function v$5(Fe){return d$7(Fe)?Fe:Fe.contextElement}const b$5={x:1,y:1};function L$5(Fe){const qe=v$5(Fe);if(!a$5(qe))return b$5;const hn=qe.getBoundingClientRect(),{width:vn,height:bn,fallback:wn}=c$5(qe);let kn=(wn?l$4(hn.width):hn.width)/vn,_n=(wn?l$4(hn.height):hn.height)/bn;return kn&&Number.isFinite(kn)||(kn=1),_n&&Number.isFinite(_n)||(_n=1),{x:kn,y:_n}}function E$7(Fe,qe,hn,vn){var bn,wn;qe===void 0&&(qe=!1),hn===void 0&&(hn=!1);const kn=Fe.getBoundingClientRect(),_n=v$5(Fe);let Cn=b$5;qe&&(vn?d$7(vn)&&(Cn=L$5(vn)):Cn=L$5(Fe));const xn=_n?n$6(_n):window,En=!x$2()&&hn;let $n=(kn.left+(En&&((bn=xn.visualViewport)==null?void 0:bn.offsetLeft)||0))/Cn.x,Sn=(kn.top+(En&&((wn=xn.visualViewport)==null?void 0:wn.offsetTop)||0))/Cn.y,An=kn.width/Cn.x,Tn=kn.height/Cn.y;if(_n){const Nn=n$6(_n),Pn=vn&&d$7(vn)?n$6(vn):vn;let On=Nn.frameElement;for(;On&&vn&&Pn!==Nn;){const Rn=L$5(On),In=On.getBoundingClientRect(),Mn=getComputedStyle(On);In.x+=(On.clientLeft+parseFloat(Mn.paddingLeft))*Rn.x,In.y+=(On.clientTop+parseFloat(Mn.paddingTop))*Rn.y,$n*=Rn.x,Sn*=Rn.y,An*=Rn.x,Tn*=Rn.y,$n+=In.x,Sn+=In.y,On=n$6(On).frameElement}}return{width:An,height:Tn,top:Sn,right:$n+An,bottom:Sn+Tn,left:$n,x:$n,y:Sn}}function R$2(Fe){return((h$3(Fe)?Fe.ownerDocument:Fe.document)||window.document).documentElement}function T$3(Fe){return d$7(Fe)?{scrollLeft:Fe.scrollLeft,scrollTop:Fe.scrollTop}:{scrollLeft:Fe.pageXOffset,scrollTop:Fe.pageYOffset}}function C$4(Fe){return E$7(R$2(Fe)).left+T$3(Fe).scrollLeft}function F$5(Fe){if(s$2(Fe)==="html")return Fe;const qe=Fe.assignedSlot||Fe.parentNode||p$5(Fe)&&Fe.host||R$2(Fe);return p$5(qe)?qe.host:qe}function W$3(Fe){const qe=F$5(Fe);return w$4(qe)?qe.ownerDocument.body:a$5(qe)&&g$5(qe)?qe:W$3(qe)}function D$1(Fe,qe){var hn;qe===void 0&&(qe=[]);const vn=W$3(Fe),bn=vn===((hn=Fe.ownerDocument)==null?void 0:hn.body),wn=n$6(vn);return bn?qe.concat(wn,wn.visualViewport||[],g$5(vn)?vn:[]):qe.concat(vn,D$1(vn))}function S$5(Fe,qe,hn){return qe==="viewport"?s$3(function(vn,bn){const wn=n$6(vn),kn=R$2(vn),_n=wn.visualViewport;let Cn=kn.clientWidth,xn=kn.clientHeight,En=0,$n=0;if(_n){Cn=_n.width,xn=_n.height;const Sn=x$2();(Sn||!Sn&&bn==="fixed")&&(En=_n.offsetLeft,$n=_n.offsetTop)}return{width:Cn,height:xn,x:En,y:$n}}(Fe,hn)):d$7(qe)?s$3(function(vn,bn){const wn=E$7(vn,!0,bn==="fixed"),kn=wn.top+vn.clientTop,_n=wn.left+vn.clientLeft,Cn=a$5(vn)?L$5(vn):{x:1,y:1};return{width:vn.clientWidth*Cn.x,height:vn.clientHeight*Cn.y,x:_n*Cn.x,y:kn*Cn.y}}(qe,hn)):s$3(function(vn){const bn=R$2(vn),wn=T$3(vn),kn=vn.ownerDocument.body,_n=r$2(bn.scrollWidth,bn.clientWidth,kn.scrollWidth,kn.clientWidth),Cn=r$2(bn.scrollHeight,bn.clientHeight,kn.scrollHeight,kn.clientHeight);let xn=-wn.scrollLeft+C$4(vn);const En=-wn.scrollTop;return o$4(kn).direction==="rtl"&&(xn+=r$2(bn.clientWidth,kn.clientWidth)-_n),{width:_n,height:Cn,x:xn,y:En}}(R$2(Fe)))}function A$2(Fe){return a$5(Fe)&&o$4(Fe).position!=="fixed"?Fe.offsetParent:null}function H$3(Fe){const qe=n$6(Fe);let hn=A$2(Fe);for(;hn&&m$6(hn)&&o$4(hn).position==="static";)hn=A$2(hn);return hn&&(s$2(hn)==="html"||s$2(hn)==="body"&&o$4(hn).position==="static"&&!y$5(hn))?qe:hn||function(vn){let bn=F$5(vn);for(;a$5(bn)&&!w$4(bn);){if(y$5(bn))return bn;bn=F$5(bn)}return null}(Fe)||qe}function O$2(Fe,qe,hn){const vn=a$5(qe),bn=R$2(qe),wn=E$7(Fe,!0,hn==="fixed",qe);let kn={scrollLeft:0,scrollTop:0};const _n={x:0,y:0};if(vn||!vn&&hn!=="fixed")if((s$2(qe)!=="body"||g$5(bn))&&(kn=T$3(qe)),a$5(qe)){const Cn=E$7(qe,!0);_n.x=Cn.x+qe.clientLeft,_n.y=Cn.y+qe.clientTop}else bn&&(_n.x=C$4(bn));return{x:wn.left+kn.scrollLeft-_n.x,y:wn.top+kn.scrollTop-_n.y,width:wn.width,height:wn.height}}const P$4={getClippingRect:function(Fe){let{element:qe,boundary:hn,rootBoundary:vn,strategy:bn}=Fe;const wn=hn==="clippingAncestors"?function(xn,En){const $n=En.get(xn);if($n)return $n;let Sn=D$1(xn).filter(Pn=>d$7(Pn)&&s$2(Pn)!=="body"),An=null;const Tn=o$4(xn).position==="fixed";let Nn=Tn?F$5(xn):xn;for(;d$7(Nn)&&!w$4(Nn);){const Pn=o$4(Nn),On=y$5(Nn);(Tn?On||An:On||Pn.position!=="static"||!An||!["absolute","fixed"].includes(An.position))?An=Pn:Sn=Sn.filter(Rn=>Rn!==Nn),Nn=F$5(Nn)}return En.set(xn,Sn),Sn}(qe,this._c):[].concat(hn),kn=[...wn,vn],_n=kn[0],Cn=kn.reduce((xn,En)=>{const $n=S$5(qe,En,bn);return xn.top=r$2($n.top,xn.top),xn.right=i$4($n.right,xn.right),xn.bottom=i$4($n.bottom,xn.bottom),xn.left=r$2($n.left,xn.left),xn},S$5(qe,_n,bn));return{width:Cn.right-Cn.left,height:Cn.bottom-Cn.top,x:Cn.left,y:Cn.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(Fe){let{rect:qe,offsetParent:hn,strategy:vn}=Fe;const bn=a$5(hn),wn=R$2(hn);if(hn===wn)return qe;let kn={scrollLeft:0,scrollTop:0},_n={x:1,y:1};const Cn={x:0,y:0};if((bn||!bn&&vn!=="fixed")&&((s$2(hn)!=="body"||g$5(wn))&&(kn=T$3(hn)),a$5(hn))){const xn=E$7(hn);_n=L$5(hn),Cn.x=xn.x+hn.clientLeft,Cn.y=xn.y+hn.clientTop}return{width:qe.width*_n.x,height:qe.height*_n.y,x:qe.x*_n.x-kn.scrollLeft*_n.x+Cn.x,y:qe.y*_n.y-kn.scrollTop*_n.y+Cn.y}},isElement:d$7,getDimensions:function(Fe){return a$5(Fe)?c$5(Fe):Fe.getBoundingClientRect()},getOffsetParent:H$3,getDocumentElement:R$2,getScale:L$5,async getElementRects(Fe){let{reference:qe,floating:hn,strategy:vn}=Fe;const bn=this.getOffsetParent||H$3,wn=this.getDimensions;return{reference:O$2(qe,await bn(hn),vn),floating:{x:0,y:0,...await wn(hn)}}},getClientRects:Fe=>Array.from(Fe.getClientRects()),isRTL:Fe=>o$4(Fe).direction==="rtl"},B$2=(Fe,qe,hn)=>{const vn=new Map,bn={platform:P$4,...hn},wn={...bn.platform,_c:vn};return r$3(Fe,qe,{...bn,platform:wn})};function fe(Fe,qe){for(const hn in qe)Object.prototype.hasOwnProperty.call(qe,hn)&&(typeof qe[hn]=="object"&&Fe[hn]?fe(Fe[hn],qe[hn]):Fe[hn]=qe[hn])}const u$4={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:Fe=>[...Fe,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function b$4(Fe,qe){let hn=u$4.themes[Fe]||{},vn;do vn=hn[qe],typeof vn>"u"?hn.$extend?hn=u$4.themes[hn.$extend]||{}:(hn=null,vn=u$4[qe]):hn=null;while(hn);return vn}function Je(Fe){const qe=[Fe];let hn=u$4.themes[Fe]||{};do hn.$extend&&!hn.$resetCss?(qe.push(hn.$extend),hn=u$4.themes[hn.$extend]||{}):hn=null;while(hn);return qe.map(vn=>`v-popper--theme-${vn}`)}function oe(Fe){const qe=[Fe];let hn=u$4.themes[Fe]||{};do hn.$extend?(qe.push(hn.$extend),hn=u$4.themes[hn.$extend]||{}):hn=null;while(hn);return qe}let _$2=!1;if(typeof window<"u"){_$2=!1;try{const Fe=Object.defineProperty({},"passive",{get(){_$2=!0}});window.addEventListener("test",null,Fe)}catch{}}let me$1=!1;typeof window<"u"&&typeof navigator<"u"&&(me$1=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ge$1=["auto","top","bottom","left","right"].reduce((Fe,qe)=>Fe.concat([qe,`${qe}-start`,`${qe}-end`]),[]),ie={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},se={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ne(Fe,qe){const hn=Fe.indexOf(qe);hn!==-1&&Fe.splice(hn,1)}function W$2(){return new Promise(Fe=>requestAnimationFrame(()=>{requestAnimationFrame(Fe)}))}const d$6=[];let g$4=null;const re={};function pe$1(Fe){let qe=re[Fe];return qe||(qe=re[Fe]=[]),qe}let X$1=function(){};typeof window<"u"&&(X$1=window.Element);function n$5(Fe){return function(qe){return b$4(qe.theme,Fe)}}const G$1="__floating-vue__popper",K$2=()=>defineComponent({name:"VPopper",provide(){return{[G$1]:{parentPopper:this}}},inject:{[G$1]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:n$5("disabled")},positioningDisabled:{type:Boolean,default:n$5("positioningDisabled")},placement:{type:String,default:n$5("placement"),validator:Fe=>ge$1.includes(Fe)},delay:{type:[String,Number,Object],default:n$5("delay")},distance:{type:[Number,String],default:n$5("distance")},skidding:{type:[Number,String],default:n$5("skidding")},triggers:{type:Array,default:n$5("triggers")},showTriggers:{type:[Array,Function],default:n$5("showTriggers")},hideTriggers:{type:[Array,Function],default:n$5("hideTriggers")},popperTriggers:{type:Array,default:n$5("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:n$5("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:n$5("popperHideTriggers")},container:{type:[String,Object,X$1,Boolean],default:n$5("container")},boundary:{type:[String,X$1],default:n$5("boundary")},strategy:{type:String,validator:Fe=>["absolute","fixed"].includes(Fe),default:n$5("strategy")},autoHide:{type:[Boolean,Function],default:n$5("autoHide")},handleResize:{type:Boolean,default:n$5("handleResize")},instantMove:{type:Boolean,default:n$5("instantMove")},eagerMount:{type:Boolean,default:n$5("eagerMount")},popperClass:{type:[String,Array,Object],default:n$5("popperClass")},computeTransformOrigin:{type:Boolean,default:n$5("computeTransformOrigin")},autoMinSize:{type:Boolean,default:n$5("autoMinSize")},autoSize:{type:[Boolean,String],default:n$5("autoSize")},autoMaxSize:{type:Boolean,default:n$5("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:n$5("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:n$5("preventOverflow")},overflowPadding:{type:[Number,String],default:n$5("overflowPadding")},arrowPadding:{type:[Number,String],default:n$5("arrowPadding")},arrowOverflow:{type:Boolean,default:n$5("arrowOverflow")},flip:{type:Boolean,default:n$5("flip")},shift:{type:Boolean,default:n$5("shift")},shiftCrossAxis:{type:Boolean,default:n$5("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:n$5("noAutoFocus")},disposeTimeout:{type:Number,default:n$5("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var Fe;return(Fe=this[G$1])==null?void 0:Fe.parentPopper},hasPopperShowTriggerHover(){var Fe,qe;return((Fe=this.popperTriggers)==null?void 0:Fe.includes("hover"))||((qe=this.popperShowTriggers)==null?void 0:qe.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(Fe){Fe?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((Fe,qe)=>(Fe[qe]="$_refreshListeners",Fe),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((Fe,qe)=>(Fe[qe]="$_computePosition",Fe),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(Fe=>Fe.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:Fe=null,skipDelay:qe=!1,force:hn=!1}={}){var vn,bn;(vn=this.parentPopper)!=null&&vn.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(hn||!this.disabled)&&(((bn=this.parentPopper)==null?void 0:bn.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(Fe,qe),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:Fe=null,skipDelay:qe=!1}={}){var hn;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:qe}),this.parentPopper.lockedChild=null)},1e3));return}((hn=this.parentPopper)==null?void 0:hn.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(Fe,qe),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var Fe;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((Fe=this.referenceNode)==null?void 0:Fe.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(qe=>qe.nodeType===qe.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const Fe={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&Fe.middleware.push(L$6({mainAxis:this.distance,crossAxis:this.skidding}));const qe=this.placement.startsWith("auto");if(qe?Fe.middleware.push(b$6({alignment:this.placement.split("-")[1]??""})):Fe.placement=this.placement,this.preventOverflow&&(this.shift&&Fe.middleware.push(O$3({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!qe&&this.flip&&Fe.middleware.push(A$3({padding:this.overflowPadding,boundary:this.boundary}))),Fe.middleware.push(g$6({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&Fe.middleware.push({name:"arrowOverflow",fn:({placement:vn,rects:bn,middlewareData:wn})=>{let kn;const{centerOffset:_n}=wn.arrow;return vn.startsWith("top")||vn.startsWith("bottom")?kn=Math.abs(_n)>bn.reference.width/2:kn=Math.abs(_n)>bn.reference.height/2,{data:{overflow:kn}}}}),this.autoMinSize||this.autoSize){const vn=this.autoSize?this.autoSize:this.autoMinSize?"min":null;Fe.middleware.push({name:"autoSize",fn:({rects:bn,placement:wn,middlewareData:kn})=>{var _n;if((_n=kn.autoSize)!=null&&_n.skip)return{};let Cn,xn;return wn.startsWith("top")||wn.startsWith("bottom")?Cn=bn.reference.width:xn=bn.reference.height,this.$_innerNode.style[vn==="min"?"minWidth":vn==="max"?"maxWidth":"width"]=Cn!=null?`${Cn}px`:null,this.$_innerNode.style[vn==="min"?"minHeight":vn==="max"?"maxHeight":"height"]=xn!=null?`${xn}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,Fe.middleware.push(C$5({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:vn,availableHeight:bn})=>{this.$_innerNode.style.maxWidth=vn!=null?`${vn}px`:null,this.$_innerNode.style.maxHeight=bn!=null?`${bn}px`:null}})));const hn=await B$2(this.$_referenceNode,this.$_popperNode,Fe);Object.assign(this.result,{x:hn.x,y:hn.y,placement:hn.placement,strategy:hn.strategy,arrow:{...hn.middlewareData.arrow,...hn.middlewareData.arrowOverflow}})},$_scheduleShow(Fe=null,qe=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),g$4&&this.instantMove&&g$4.instantMove&&g$4!==this.parentPopper){g$4.$_applyHide(!0),this.$_applyShow(!0);return}qe?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(Fe=null,qe=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(g$4=this),qe?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(Fe){const qe=this.delay;return parseInt(qe&&qe[Fe]||qe||0)},async $_applyShow(Fe=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=Fe,!this.isShown&&(this.$_ensureTeleport(),await W$2(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...D$1(this.$_referenceNode),...D$1(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const qe=this.$_referenceNode.getBoundingClientRect(),hn=this.$_popperNode.querySelector(".v-popper__wrapper"),vn=hn.parentNode.getBoundingClientRect(),bn=qe.x+qe.width/2-(vn.left+hn.offsetLeft),wn=qe.y+qe.height/2-(vn.top+hn.offsetTop);this.result.transformOrigin=`${bn}px ${wn}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const Fe=this.showGroup;if(Fe){let qe;for(let hn=0;hn0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=Fe,ne(d$6,this),d$6.length===0&&document.body.classList.remove("v-popper--some-open");for(const hn of oe(this.theme)){const vn=pe$1(hn);ne(vn,this),vn.length===0&&document.body.classList.remove(`v-popper--some-open--${hn}`)}g$4===this&&(g$4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const qe=this.disposeTimeout;qe!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},qe)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await W$2(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let Fe=this.container;if(typeof Fe=="string"?Fe=window.document.querySelector(Fe):Fe===!1&&(Fe=this.$_targetNodes[0].parentNode),!Fe)throw new Error("No container for popover: "+this.container);Fe.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const Fe=hn=>{this.isShown&&!this.$_hideInProgress||(hn.usedByTooltip=!0,!this.$_preventShow&&this.show({event:hn}))};this.$_registerTriggerListeners(this.$_targetNodes,ie,this.triggers,this.showTriggers,Fe),this.$_registerTriggerListeners([this.$_popperNode],ie,this.popperTriggers,this.popperShowTriggers,Fe);const qe=hn=>{hn.usedByTooltip||this.hide({event:hn})};this.$_registerTriggerListeners(this.$_targetNodes,se,this.triggers,this.hideTriggers,qe),this.$_registerTriggerListeners([this.$_popperNode],se,this.popperTriggers,this.popperHideTriggers,qe)},$_registerEventListeners(Fe,qe,hn){this.$_events.push({targetNodes:Fe,eventType:qe,handler:hn}),Fe.forEach(vn=>vn.addEventListener(qe,hn,_$2?{passive:!0}:void 0))},$_registerTriggerListeners(Fe,qe,hn,vn,bn){let wn=hn;vn!=null&&(wn=typeof vn=="function"?vn(wn):vn),wn.forEach(kn=>{const _n=qe[kn];_n&&this.$_registerEventListeners(Fe,_n,bn)})},$_removeEventListeners(Fe){const qe=[];this.$_events.forEach(hn=>{const{targetNodes:vn,eventType:bn,handler:wn}=hn;!Fe||Fe===bn?vn.forEach(kn=>kn.removeEventListener(bn,wn)):qe.push(hn)}),this.$_events=qe},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(Fe,qe=!1){this.$_showFrameLocked||(this.hide({event:Fe}),Fe.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),qe&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(Fe,qe){for(const hn of this.$_targetNodes){const vn=hn.getAttribute(Fe);vn&&(hn.removeAttribute(Fe),hn.setAttribute(qe,vn))}},$_applyAttrsToTarget(Fe){for(const qe of this.$_targetNodes)for(const hn in Fe){const vn=Fe[hn];vn==null?qe.removeAttribute(hn):qe.setAttribute(hn,vn)}},$_updateParentShownChildren(Fe){let qe=this.parentPopper;for(;qe;)Fe?qe.shownChildren.add(this.randomId):(qe.shownChildren.delete(this.randomId),qe.$_pendingHide&&qe.hide()),qe=qe.parentPopper},$_isAimingPopper(){const Fe=this.$_referenceNode.getBoundingClientRect();if(v$4>=Fe.left&&v$4<=Fe.right&&y$4>=Fe.top&&y$4<=Fe.bottom){const qe=this.$_popperNode.getBoundingClientRect(),hn=v$4-f$3,vn=y$4-m$5,bn=qe.left+qe.width/2-f$3+(qe.top+qe.height/2)-m$5+qe.width+qe.height,wn=f$3+hn*bn,kn=m$5+vn*bn;return S$4(f$3,m$5,wn,kn,qe.left,qe.top,qe.left,qe.bottom)||S$4(f$3,m$5,wn,kn,qe.left,qe.top,qe.right,qe.top)||S$4(f$3,m$5,wn,kn,qe.right,qe.top,qe.right,qe.bottom)||S$4(f$3,m$5,wn,kn,qe.left,qe.bottom,qe.right,qe.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(me$1?(document.addEventListener("touchstart",ae,_$2?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Ze,_$2?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ae,!0),window.addEventListener("click",Qe,!0)),window.addEventListener("resize",ot$1));function ae(Fe){for(let qe=0;qe=0;vn--){const bn=d$6[vn];try{const wn=bn.$_containsGlobalTarget=et$1(bn,Fe);bn.$_pendingHide=!1,requestAnimationFrame(()=>{if(bn.$_pendingHide=!1,!hn[bn.randomId]&&de(bn,wn,Fe)){if(bn.$_handleGlobalClose(Fe,qe),!Fe.closeAllPopover&&Fe.closePopover&&wn){let _n=bn.parentPopper;for(;_n;)hn[_n.randomId]=!0,_n=_n.parentPopper;return}let kn=bn.parentPopper;for(;kn&&de(kn,kn.$_containsGlobalTarget,Fe);)kn.$_handleGlobalClose(Fe,qe),kn=kn.parentPopper}})}catch{}}}function et$1(Fe,qe){const hn=Fe.popperNode();return Fe.$_mouseDownContains||hn.contains(qe.target)}function de(Fe,qe,hn){return hn.closeAllPopover||hn.closePopover&&qe||tt$1(Fe,hn)&&!qe}function tt$1(Fe,qe){if(typeof Fe.autoHide=="function"){const hn=Fe.autoHide(qe);return Fe.lastAutoHide=hn,hn}return Fe.autoHide}function ot$1(Fe){for(let qe=0;qe{f$3=v$4,m$5=y$4,v$4=Fe.clientX,y$4=Fe.clientY},_$2?{passive:!0}:void 0);function S$4(Fe,qe,hn,vn,bn,wn,kn,_n){const Cn=((kn-bn)*(qe-wn)-(_n-wn)*(Fe-bn))/((_n-wn)*(hn-Fe)-(kn-bn)*(vn-qe)),xn=((hn-Fe)*(qe-wn)-(vn-qe)*(Fe-bn))/((_n-wn)*(hn-Fe)-(kn-bn)*(vn-qe));return Cn>=0&&Cn<=1&&xn>=0&&xn<=1}const it$1={extends:K$2()},k$3=(Fe,qe)=>{const hn=Fe.__vccOpts||Fe;for(const[vn,bn]of qe)hn[vn]=bn;return hn};function st$1(Fe,qe,hn,vn,bn,wn){return openBlock(),createElementBlock("div",{ref:"reference",class:normalizeClass(["v-popper",{"v-popper--shown":Fe.slotData.isShown}])},[renderSlot(Fe.$slots,"default",normalizeProps(guardReactiveProps(Fe.slotData)))],2)}const nt$1=k$3(it$1,[["render",st$1]]);function rt$1(){var Fe=window.navigator.userAgent,qe=Fe.indexOf("MSIE ");if(qe>0)return parseInt(Fe.substring(qe+5,Fe.indexOf(".",qe)),10);var hn=Fe.indexOf("Trident/");if(hn>0){var vn=Fe.indexOf("rv:");return parseInt(Fe.substring(vn+3,Fe.indexOf(".",vn)),10)}var bn=Fe.indexOf("Edge/");return bn>0?parseInt(Fe.substring(bn+5,Fe.indexOf(".",bn)),10):-1}let z$2;function U$3(){U$3.init||(U$3.init=!0,z$2=rt$1()!==-1)}var E$6={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){U$3(),nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const Fe=document.createElement("object");this._resizeObject=Fe,Fe.setAttribute("aria-hidden","true"),Fe.setAttribute("tabindex",-1),Fe.onload=this.addResizeHandlers,Fe.type="text/html",z$2&&this.$el.appendChild(Fe),Fe.data="about:blank",z$2||this.$el.appendChild(Fe)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!z$2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const pt=withScopeId();pushScopeId("data-v-b329ee4c");const at$1={class:"resize-observer",tabindex:"-1"};popScopeId();const dt$1=pt((Fe,qe,hn,vn,bn,wn)=>(openBlock(),createBlock("div",at$1)));E$6.render=dt$1;E$6.__scopeId="data-v-b329ee4c";E$6.__file="src/components/ResizeObserver.vue";const J$2=(Fe="theme")=>({computed:{themeClass(){return Je(this[Fe])}}}),ht=defineComponent({name:"VPopperContent",components:{ResizeObserver:E$6},mixins:[J$2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(Fe){return Fe!=null&&!isNaN(Fe)?`${Fe}px`:null}}}),lt$1=["id","aria-hidden","tabindex","data-popper-placement"],ut$1={ref:"inner",class:"v-popper__inner"},ct$1=createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),ft$1=createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),mt$1=[ct$1,ft$1];function gt$1(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("ResizeObserver");return openBlock(),createElementBlock("div",{id:Fe.popperId,ref:"popover",class:normalizeClass(["v-popper__popper",[Fe.themeClass,Fe.classes.popperClass,{"v-popper__popper--shown":Fe.shown,"v-popper__popper--hidden":!Fe.shown,"v-popper__popper--show-from":Fe.classes.showFrom,"v-popper__popper--show-to":Fe.classes.showTo,"v-popper__popper--hide-from":Fe.classes.hideFrom,"v-popper__popper--hide-to":Fe.classes.hideTo,"v-popper__popper--skip-transition":Fe.skipTransition,"v-popper__popper--arrow-overflow":Fe.result&&Fe.result.arrow.overflow,"v-popper__popper--no-positioning":!Fe.result}]]),style:normalizeStyle(Fe.result?{position:Fe.result.strategy,transform:`translate3d(${Math.round(Fe.result.x)}px,${Math.round(Fe.result.y)}px,0)`}:void 0),"aria-hidden":Fe.shown?"false":"true",tabindex:Fe.autoHide?0:void 0,"data-popper-placement":Fe.result?Fe.result.placement:void 0,onKeyup:qe[2]||(qe[2]=withKeys(_n=>Fe.autoHide&&Fe.$emit("hide"),["esc"]))},[createBaseVNode("div",{class:"v-popper__backdrop",onClick:qe[0]||(qe[0]=_n=>Fe.autoHide&&Fe.$emit("hide"))}),createBaseVNode("div",{class:"v-popper__wrapper",style:normalizeStyle(Fe.result?{transformOrigin:Fe.result.transformOrigin}:void 0)},[createBaseVNode("div",ut$1,[Fe.mounted?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",null,[renderSlot(Fe.$slots,"default")]),Fe.handleResize?(openBlock(),createBlock(kn,{key:0,onNotify:qe[1]||(qe[1]=_n=>Fe.$emit("resize",_n))})):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],512),createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:normalizeStyle(Fe.result?{left:Fe.toPx(Fe.result.arrow.x),top:Fe.toPx(Fe.result.arrow.y)}:void 0)},mt$1,4)],4)],46,lt$1)}const Q$3=k$3(ht,[["render",gt$1]]),Z$1={methods:{show(...Fe){return this.$refs.popper.show(...Fe)},hide(...Fe){return this.$refs.popper.hide(...Fe)},dispose(...Fe){return this.$refs.popper.dispose(...Fe)},onResize(...Fe){return this.$refs.popper.onResize(...Fe)}}},$t$1=defineComponent({name:"VPopperWrapper",components:{Popper:nt$1,PopperContent:Q$3},mixins:[Z$1,J$2("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(Fe=>Fe!==this.$refs.popperContent.$el)}}});function _t$2(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("PopperContent"),_n=resolveComponent("Popper");return openBlock(),createBlock(_n,{ref:"popper",theme:Fe.finalTheme,"target-nodes":Fe.getTargetNodes,"popper-node":()=>Fe.$refs.popperContent.$el,class:normalizeClass([Fe.themeClass])},{default:withCtx(({popperId:Cn,isShown:xn,shouldMountContent:En,skipTransition:$n,autoHide:Sn,show:An,hide:Tn,handleResize:Nn,onResize:Pn,classes:On,result:Rn})=>[renderSlot(Fe.$slots,"default",{shown:xn,show:An,hide:Tn}),createVNode(kn,{ref:"popperContent","popper-id":Cn,theme:Fe.finalTheme,shown:xn,mounted:En,"skip-transition":$n,"auto-hide":Sn,"handle-resize":Nn,classes:On,result:Rn,onHide:Tn,onResize:Pn},{default:withCtx(()=>[renderSlot(Fe.$slots,"popper",{shown:xn,hide:Tn})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const L$4=k$3($t$1,[["render",_t$2]]),_e={...L$4,name:"VDropdown",vPopperTheme:"dropdown"},we={...L$4,name:"VMenu",vPopperTheme:"menu"},ve={...L$4,name:"VTooltip",vPopperTheme:"tooltip"},wt$1=defineComponent({name:"VTooltipDirective",components:{Popper:K$2(),PopperContent:Q$3},mixins:[Z$1],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:Fe=>b$4(Fe.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:Fe=>b$4(Fe.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(Fe){if(typeof this.content=="function"&&this.$_isShown&&(Fe||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const qe=++this.$_fetchId,hn=this.content(this);hn.then?hn.then(vn=>this.onResult(qe,vn)):this.onResult(qe,hn)}},onResult(Fe,qe){Fe===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=qe)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vt=["innerHTML"],yt$1=["textContent"];function Pt$1(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("PopperContent"),_n=resolveComponent("Popper");return openBlock(),createBlock(_n,mergeProps({ref:"popper"},Fe.$attrs,{theme:Fe.theme,"target-nodes":Fe.targetNodes,"popper-node":()=>Fe.$refs.popperContent.$el,onApplyShow:Fe.onShow,onApplyHide:Fe.onHide}),{default:withCtx(({popperId:Cn,isShown:xn,shouldMountContent:En,skipTransition:$n,autoHide:Sn,hide:An,handleResize:Tn,onResize:Nn,classes:Pn,result:On})=>[createVNode(kn,{ref:"popperContent",class:normalizeClass({"v-popper--tooltip-loading":Fe.loading}),"popper-id":Cn,theme:Fe.theme,shown:xn,mounted:En,"skip-transition":$n,"auto-hide":Sn,"handle-resize":Tn,classes:Pn,result:On,onHide:An,onResize:Nn},{default:withCtx(()=>[Fe.html?(openBlock(),createElementBlock("div",{key:0,innerHTML:Fe.finalContent},null,8,vt)):(openBlock(),createElementBlock("div",{key:1,textContent:toDisplayString(Fe.finalContent)},null,8,yt$1))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ye$1=k$3(wt$1,[["render",Pt$1]]),Pe="v-popper--has-tooltip";function Tt$1(Fe,qe){let hn=Fe.placement;if(!hn&&qe)for(const vn of ge$1)qe[vn]&&(hn=vn);return hn||(hn=b$4(Fe.theme||"tooltip","placement")),hn}function Te$1(Fe,qe,hn){let vn;const bn=typeof qe;return bn==="string"?vn={content:qe}:qe&&bn==="object"?vn=qe:vn={content:!1},vn.placement=Tt$1(vn,hn),vn.targetNodes=()=>[Fe],vn.referenceNode=()=>Fe,vn}let q$1,C$3,bt$1=0;function Ct$1(){if(q$1)return;C$3=ref([]),q$1=createApp({name:"VTooltipDirectiveApp",setup(){return{directives:C$3}},render(){return this.directives.map(qe=>h$6(ye$1,{...qe.options,shown:qe.shown||qe.options.shown,key:qe.id}))},devtools:{hide:!0}});const Fe=document.createElement("div");document.body.appendChild(Fe),q$1.mount(Fe)}function St$1(Fe,qe,hn){Ct$1();const vn=ref(Te$1(Fe,qe,hn)),bn=ref(!1),wn={id:bt$1++,options:vn,shown:bn};return C$3.value.push(wn),Fe.classList&&Fe.classList.add(Pe),Fe.$_popper={options:vn,item:wn,show(){bn.value=!0},hide(){bn.value=!1}}}function be(Fe){if(Fe.$_popper){const qe=C$3.value.indexOf(Fe.$_popper.item);qe!==-1&&C$3.value.splice(qe,1),delete Fe.$_popper,delete Fe.$_popperOldShown,delete Fe.$_popperMountTarget}Fe.classList&&Fe.classList.remove(Pe)}function he$1(Fe,{value:qe,modifiers:hn}){const vn=Te$1(Fe,qe,hn);if(!vn.content||b$4(vn.theme||"tooltip","disabled"))be(Fe);else{let bn;Fe.$_popper?(bn=Fe.$_popper,bn.options.value=vn):bn=St$1(Fe,qe,hn),typeof qe.shown<"u"&&qe.shown!==Fe.$_popperOldShown&&(Fe.$_popperOldShown=qe.shown,qe.shown?bn.show():bn.hide())}}const Ce={beforeMount:he$1,updated:he$1,beforeUnmount(Fe){be(Fe)}};function le$1(Fe){Fe.addEventListener("click",Se$1),Fe.addEventListener("touchstart",ze,_$2?{passive:!0}:!1)}function ue(Fe){Fe.removeEventListener("click",Se$1),Fe.removeEventListener("touchstart",ze),Fe.removeEventListener("touchend",Ne),Fe.removeEventListener("touchcancel",Ae)}function Se$1(Fe){const qe=Fe.currentTarget;Fe.closePopover=!qe.$_vclosepopover_touch,Fe.closeAllPopover=qe.$_closePopoverModifiers&&!!qe.$_closePopoverModifiers.all}function ze(Fe){if(Fe.changedTouches.length===1){const qe=Fe.currentTarget;qe.$_vclosepopover_touch=!0;const hn=Fe.changedTouches[0];qe.$_vclosepopover_touchPoint=hn,qe.addEventListener("touchend",Ne),qe.addEventListener("touchcancel",Ae)}}function Ne(Fe){const qe=Fe.currentTarget;if(qe.$_vclosepopover_touch=!1,Fe.changedTouches.length===1){const hn=Fe.changedTouches[0],vn=qe.$_vclosepopover_touchPoint;Fe.closePopover=Math.abs(hn.screenY-vn.screenY)<20&&Math.abs(hn.screenX-vn.screenX)<20,Fe.closeAllPopover=qe.$_closePopoverModifiers&&!!qe.$_closePopoverModifiers.all}}function Ae(Fe){const qe=Fe.currentTarget;qe.$_vclosepopover_touch=!1}const He={beforeMount(Fe,{value:qe,modifiers:hn}){Fe.$_closePopoverModifiers=hn,(typeof qe>"u"||qe)&&le$1(Fe)},updated(Fe,{value:qe,oldValue:hn,modifiers:vn}){Fe.$_closePopoverModifiers=vn,qe!==hn&&(typeof qe>"u"||qe?le$1(Fe):ue(Fe))},beforeUnmount(Fe){ue(Fe)}};function zt$1(Fe,qe={}){Fe.$_vTooltipInstalled||(Fe.$_vTooltipInstalled=!0,fe(u$4,qe),Fe.directive("tooltip",Ce),Fe.directive("close-popper",He),Fe.component("VTooltip",ve),Fe.component("VDropdown",_e),Fe.component("VMenu",we))}const xt$1={version:"2.0.0-beta.24",install:zt$1,options:u$4};var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(Fe,qe,hn)=>qe in Fe?__defProp(Fe,qe,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Fe[qe]=hn,__spreadValues=(Fe,qe)=>{for(var hn in qe||(qe={}))__hasOwnProp.call(qe,hn)&&__defNormalProp(Fe,hn,qe[hn]);if(__getOwnPropSymbols)for(var hn of __getOwnPropSymbols(qe))__propIsEnum.call(qe,hn)&&__defNormalProp(Fe,hn,qe[hn]);return Fe},__spreadProps=(Fe,qe)=>__defProps(Fe,__getOwnPropDescs(qe));const icons$1={},addIcon$1=function(Fe,qe){icons$1[Fe]=qe},Icon$2=defineComponent({name:"Icon",props:{name:String,color:String},computed:{svg(){if(this.name)return icons$1[this.name]}},render(Fe){const qe=this.svg;if(!qe)return console.warn(`The name of '${this.name}' could not be found.`),createVNode("span",{class:"m-svg-icon"},null);const hn={color:this.color?this.color:qe.fill?qe.fill:null};return createVNode("span",{class:["m-svg-icon","m-svg-icon--"+this.name]},[createVNode("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:qe.viewBox,style:hn,class:qe.class},[qe.defs&&createVNode("defs",{innerHTML:qe.defs},null),qe.path&&createVNode("path",{fill:"currentColor",d:qe.path},null),qe.html&&createVNode("g",{innerHTML:qe.html},null),this.$slots.default])])}});Icon$2.add=addIcon$1;const error={name:"error",fill:"#F56C6C",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M579.7,512l101.6-101.6 c18.7-18.7,18.7-49,0-67.7c-18.7-18.7-49-18.7-67.7,0l0,0L512,444.3L410.4,342.7c-18.7-18.7-49-18.7-67.7,0s-18.7,49,0,67.7 L444.3,512L342.7,613.6c-18.7,18.7-18.7,49,0,67.7c18.7,18.7,49,18.7,67.7,0L512,579.7l101.6,101.6c18.7,18.7,49,18.7,67.7,0 c18.7-18.7,18.7-49,0-67.7L579.7,512z"},info={name:"info",fill:"#1CADF2",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72z M581,673.9 c-33.2,49.9-67,88.3-123.8,88.3c-38.8-6.3-54.7-34.1-46.3-62.4L484,457.6c1.8-5.9-1.2-12.3-6.6-14.2c-5.4-1.9-15.9,5.1-25.1,15.1 l-44.2,53.2c-1.2-8.9-0.1-23.7-0.1-29.6c33.2-49.9,87.8-89.2,124.8-89.2c35.2,3.6,51.8,31.7,45.7,62.6l-73.6,243.3 c-1,5.5,1.9,11.1,6.9,12.8c5.4,1.9,16.8-5.1,26-15.1l44.2-53.1C583,652.3,581,667.9,581,673.9z M571.2,357.6 c-28,0-50.6-20.4-50.6-50.4c0-30,22.7-50.3,50.6-50.3c28,0,50.6,20.4,50.6,50.3C621.8,337.3,599.1,357.6,571.2,357.6z"},success={name:"success",fill:"#17B77E",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72L512,72z M758.9,374 c-48.5,48.6-81.2,76.9-172.3,186.8c-52.6,63.4-102.3,131.5-102.7,132L462.1,720c-4.6,6.1-13.5,6.8-19.1,1.6L267.9,558.9 c-17.8-16.5-18.8-44.4-2.3-62.2s44.4-18.8,62.2-2.3l104.9,97.5c5.5,5.1,14.1,4.5,18.9-1.3c16.2-20.1,38.4-44.5,62.4-68.6 c90.2-90.9,145.6-139.7,175.2-161.3c36-26.2,77.3-48.6,87.3-36.2C792,343.9,782.5,350.3,758.9,374L758.9,374z"},warning={name:"warning",fill:"#FFC603",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M510,770.8 c30.4,0,55-24.6,55-55s-24.6-55-55-55s-55,24.6-55,55S479.6,770.8,510,770.8z M509.8,255.3c-39.3,0-71.2,31.9-71.2,71.2 c0,3.1,0.2,6.2,0.6,9.3L472.4,588c2.5,19.3,18.9,33.7,38.4,33.7c19.4,0,35.8-14.4,38.2-33.7l31.8-252.2c5-39.2-22.8-75-62-79.9 C515.9,255.5,512.8,255.3,509.8,255.3z"},loading={name:"loading",viewBox:"0 0 50 50",html:''};Icon$2.add(error.name,error);Icon$2.add(info.name,info);Icon$2.add(success.name,success);Icon$2.add(warning.name,warning);Icon$2.add(loading.name,loading);var _export_sfc$1=(Fe,qe)=>{const hn=Fe.__vccOpts||Fe;for(const[vn,bn]of qe)hn[vn]=bn;return hn};function useTimeout(Fe,qe){const hn=ref(0);return hn.value=window.setTimeout(Fe,qe),{stop(){window.clearTimeout(hn.value)}}}const _sfc_main$b=defineComponent({components:{Icon:Icon$2},name:"m-message",emits:["close","destroy","collapsed"],props:{id:String,type:{type:String,default:"info"},title:String,message:String,iconURL:String,duration:{type:Number,default:3e3},isCollapsed:Boolean,collapsable:Boolean,supportHTML:Boolean,width:String,className:String,wrapperClassName:String,closable:Boolean,stopTimerOnHover:{type:Boolean,default:!0}},setup(Fe,{expose:qe,emit:hn}){const vn=reactive({visible:!0,collapsed:Fe.isCollapsed,timer:null});let bn;const wn=()=>{Fe.duration<0||({stop:bn}=useTimeout(()=>{_n()},Fe.duration))},kn=()=>{bn==null||bn()},_n=()=>{vn.visible=!1},Cn=()=>{vn.collapsed=!vn.collapsed,hn("collapsed",vn.collapsed)},xn=()=>{vn.visible=!1},En=()=>{Fe.stopTimerOnHover&&kn()},$n=()=>{Fe.stopTimerOnHover&&wn()};return onBeforeMount(()=>{kn()}),onMounted(()=>{wn()}),qe({close:_n}),{state:vn,handleClearTimer:En,handleStartTimer:$n,triggerCollapse:Cn,handleClose:xn}}}),_hoisted_1$9=["id"],_hoisted_2$7={key:0,class:"m-message-icons"},_hoisted_3$4=["src"],_hoisted_4$4={class:"m-message-content"},_hoisted_5$3={key:0,class:"m-message--title"},_hoisted_6$2=["innerHTML"],_hoisted_7$2={key:0,class:"m-message--description"},_hoisted_8$2={class:"m-message--control"},_hoisted_9$2=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M9.4,13.9c-0.2,0.2-0.2,0.6,0,0.8l8.1,8.1l0,0l0,0l8.1-8.1c0.2-0.2,0.2-0.6,0-0.8l-1.3-1.3 c-0.2-0.2-0.6-0.2-0.8,0l-5.5,5.5c-0.2,0.2-0.6,0.2-0.8,0l-5.5-5.5c-0.2-0.2-0.6-0.2-0.8,0L9.4,13.9z"})],-1),_hoisted_10$2=[_hoisted_9$2],_hoisted_11$2=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M19.5,17.5l5.1,5.1l-2,2l-5.1-5.1l-5.1,5.1l-2-2l5.1-5.1l-5.1-5.1l2-2l5.1,5.1l5.1-5.1l2,2L19.5,17.5z"})],-1),_hoisted_12$2=[_hoisted_11$2];function _sfc_render(Fe,qe,hn,vn,bn,wn){const kn=resolveComponent("icon");return openBlock(),createBlock(Transition,{name:"m-message-fade",appear:"",mode:"in-out",onBeforeLeave:qe[4]||(qe[4]=_n=>Fe.$emit("close")),onAfterLeave:qe[5]||(qe[5]=_n=>Fe.$emit("destroy"))},{default:withCtx(()=>[Fe.state.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["m-message-wrapper",Fe.wrapperClassName]),id:Fe.id,style:normalizeStyle({width:Fe.width})},[createBaseVNode("div",{class:normalizeClass(["m-message",Fe.className]),onMouseenter:qe[2]||(qe[2]=(..._n)=>Fe.handleClearTimer&&Fe.handleClearTimer(..._n)),onMouseleave:qe[3]||(qe[3]=(..._n)=>Fe.handleStartTimer&&Fe.handleStartTimer(..._n))},[Fe.iconURL||Fe.type?(openBlock(),createElementBlock("div",_hoisted_2$7,[Fe.iconURL?(openBlock(),createElementBlock("img",{key:0,src:Fe.iconURL,class:"m-message--icon"},null,8,_hoisted_3$4)):Fe.type?(openBlock(),createBlock(kn,{key:1,name:Fe.type,class:"m-message--icon"},null,8,["name"])):createCommentVNode("",!0)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$4,[Fe.title||Fe.$slots.title?(openBlock(),createElementBlock("div",_hoisted_5$3,[renderSlot(Fe.$slots,"title",{},()=>[createTextVNode(toDisplayString(Fe.title),1)])])):createCommentVNode("",!0),Fe.supportHTML&&Fe.message?(openBlock(),createElementBlock(Fragment,{key:1},[Fe.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:"m-message--description",innerHTML:Fe.message},null,8,_hoisted_6$2))],64)):(openBlock(),createElementBlock(Fragment,{key:2},[Fe.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_7$2,[renderSlot(Fe.$slots,"default",{},()=>[createTextVNode(toDisplayString(Fe.message),1)])]))],64))]),createBaseVNode("div",_hoisted_8$2,[Fe.collapsable&&(Fe.title||Fe.$slots.title)?(openBlock(),createElementBlock("button",{key:0,class:normalizeClass(["m-message--button m-message--arrow-down",{"is-collapsed":Fe.state.collapsed}]),onClick:qe[0]||(qe[0]=(..._n)=>Fe.triggerCollapse&&Fe.triggerCollapse(..._n))},_hoisted_10$2,2)):createCommentVNode("",!0),Fe.closable?(openBlock(),createElementBlock("button",{key:1,class:"m-message--button m-message--close",onClick:qe[1]||(qe[1]=(..._n)=>Fe.handleClose&&Fe.handleClose(..._n))},_hoisted_12$2)):createCommentVNode("",!0)])],34)],14,_hoisted_1$9)):createCommentVNode("",!0)]),_:3})}var MessageComponent=_export_sfc$1(_sfc_main$b,[["render",_sfc_render]]);const instances=[];let seed=0;const containers={};let globalsOptions={};const defaultOptions={stopTimerOnHover:!0,duration:3e3},message=Fe=>{const qe="m-message-"+seed++,hn=__spreadProps(__spreadValues(__spreadValues(__spreadValues({},defaultOptions),globalsOptions),Fe),{id:qe});delete hn.hasMask,delete hn.position,delete hn.zIndex;const vn=Fe.position||"top-center",bn=Fe.hasMask||!1,wn=vn+(bn?"-mask":"");let kn=containers[wn];kn?kn.count++:(kn=containers[wn]={el:document.createElement("div"),count:1},kn.el.className=["m-message-container","is-"+vn,bn?"has-mask":""].filter(function($n){return!!$n}).join(" "),document.body.appendChild(kn.el)),Fe.zIndex&&(kn.el.style.zIndex=String(Fe.zIndex));let _n=null;isVNode(Fe.message)?(_n={default:()=>Fe.message},hn.message=""):typeof Fe.message=="function"&&(_n={default:Fe.message},hn.message="");const Cn=createVNode(MessageComponent,hn,_n),xn=document.createElement("div");Cn.appContext=Fe.ctx||message._context||null,Cn.props.onClose=Fe.onClose,Cn.props.onDestroy=()=>{kn.count--,kn.count===0&&(delete containers[wn],kn.el.remove()),render$1(null,xn)},render$1(Cn,xn),vn.indexOf("bottom")===0&&kn.el.firstChild?kn.el.insertBefore(xn.firstElementChild,kn.el.firstChild):kn.el.appendChild(xn.firstElementChild);const En={id:qe,close(){var $n,Sn;(Sn=($n=Cn==null?void 0:Cn.component)==null?void 0:$n.exposed)==null||Sn.close()}};return instances.push(En),En};message.success=(Fe,qe)=>message(__spreadProps(__spreadValues({},qe),{type:"success",message:Fe}));message.info=(Fe,qe)=>message(__spreadProps(__spreadValues({},qe),{type:"info",message:Fe}));message.warning=(Fe,qe)=>message(__spreadProps(__spreadValues({},qe),{type:"warning",message:Fe}));message.error=(Fe,qe)=>message(__spreadProps(__spreadValues({},qe),{type:"error",message:Fe}));message.loading=(Fe,qe)=>message(__spreadProps(__spreadValues({},qe),{type:"loading",message:Fe}));message.closeAll=function(){for(let Fe=instances.length-1;Fe>=0;Fe--)instances[Fe].close()};message.setDefault=Fe=>{globalsOptions=__spreadValues({},Fe)};const withInstall=(Fe,qe)=>(Fe.install=qe,Fe);var index$1=withInstall(message,function(Fe,qe={}){message._context=Fe._context,Fe.config.globalProperties["$"+(qe.name||"mmessage")]=message,qe.defaultOptions&&message.setDefault(qe.defaultOptions)}),setupDefaults$9={cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1},setupDefaults_1=setupDefaults$9;function arrayEach$e(Fe,qe,hn){if(Fe)if(Fe.forEach)Fe.forEach(qe,hn);else for(var vn=0,bn=Fe.length;vn1?function(wn){bn.push([""+wn,vn[wn]])}:function(){bn.push(arguments[qe])})}return bn}}var helperCreateGetObjects_1=helperCreateGetObjects$3,helperCreateGetObjects$2=helperCreateGetObjects_1,keys$b=helperCreateGetObjects$2("keys",1),keys_1=keys$b,objectToString=staticObjectToString,objectEach$3=objectEach_1,arrayEach$c=arrayEach_1;function getCativeCtor(Fe,qe){var hn=Fe.__proto__.constructor;return qe?new hn(qe):new hn}function handleValueClone(Fe,qe){return qe?copyValue(Fe,qe):Fe}function copyValue(Fe,qe){if(Fe)switch(objectToString.call(Fe)){case"[object Object]":{var hn=Object.create(Fe.__proto__);return objectEach$3(Fe,function(kn,_n){hn[_n]=handleValueClone(kn,qe)}),hn}case"[object Date]":case"[object RegExp]":return getCativeCtor(Fe,Fe.valueOf());case"[object Array]":case"[object Arguments]":{var vn=[];return arrayEach$c(Fe,function(kn){vn.push(handleValueClone(kn,qe))}),vn}case"[object Set]":{var bn=getCativeCtor(Fe);return bn.forEach(function(kn){bn.add(handleValueClone(kn,qe))}),bn}case"[object Map]":{var wn=getCativeCtor(Fe);return wn.forEach(function(kn,_n){wn.set(_n,handleValueClone(kn,qe))}),wn}}return Fe}function clone$3(Fe,qe){return Fe&©Value(Fe,qe)}var clone_1=clone$3,arrayEach$b=arrayEach_1,keys$a=keys_1,isArray$s=isArray_1,clone$2=clone_1,objectAssignFns=Object.assign;function handleAssign(Fe,qe,hn){for(var vn=qe.length,bn,wn=1;wn1)return Fe=isArray$s(Fe[1])?[]:{},handleAssign(Fe,qe,!0)}else return objectAssignFns?objectAssignFns.apply(Object,qe):handleAssign(Fe,qe)}return Fe},assign_1=assign$d,setupDefaults$8=setupDefaults_1,arrayEach$a=arrayEach_1,each$i=each_1,isFunction$e=isFunction_1,assign$c=assign_1,XEUtils$2=function(){};function mixin(){arrayEach$a(arguments,function(Fe){each$i(Fe,function(qe,hn){XEUtils$2[hn]=isFunction$e(qe)?function(){var vn=qe.apply(XEUtils$2.$context,arguments);return XEUtils$2.$context=null,vn}:qe})})}function setup$1(Fe){return assign$c(setupDefaults$8,Fe)}XEUtils$2.VERSION="3.5.14";XEUtils$2.mixin=mixin;XEUtils$2.setup=setup$1;var ctor=XEUtils$2;function lastArrayEach$3(Fe,qe,hn){for(var vn=Fe.length-1;vn>=0;vn--)qe.call(hn,Fe[vn],vn,Fe)}var lastArrayEach_1=lastArrayEach$3,lastArrayEach$2=lastArrayEach_1,keys$9=keys_1;function lastObjectEach$2(Fe,qe,hn){lastArrayEach$2(keys$9(Fe),function(vn){qe.call(hn,Fe[vn],vn,Fe)})}var lastObjectEach_1=lastObjectEach$2;function isNull$a(Fe){return Fe===null}var isNull_1=isNull$a,isNull$9=isNull_1;function property$6(Fe,qe){return function(hn){return isNull$9(hn)?qe:hn[Fe]}}var property_1=property$6,each$h=each_1,isFunction$d=isFunction_1,property$5=property_1;function objectMap$1(Fe,qe,hn){var vn={};if(Fe)if(qe)isFunction$d(qe)||(qe=property$5(qe)),each$h(Fe,function(bn,wn){vn[wn]=qe.call(hn,bn,wn,Fe)});else return Fe;return vn}var objectMap_1=objectMap$1;function isPlainObject$9(Fe){return Fe?Fe.constructor===Object:!1}var isPlainObject_1=isPlainObject$9,isArray$r=isArray_1,isPlainObject$8=isPlainObject_1,each$g=each_1;function handleMerge(Fe,qe){return isPlainObject$8(Fe)&&isPlainObject$8(qe)||isArray$r(Fe)&&isArray$r(qe)?(each$g(qe,function(hn,vn){Fe[vn]=handleMerge(Fe[vn],hn)}),Fe):qe}var merge$2=function(Fe){Fe||(Fe={});for(var qe=arguments,hn=qe.length,vn,bn=1;bn1){if(Fe.map)return Fe.map(qe,hn);each$f(Fe,function(){vn.push(qe.apply(hn,arguments))})}return vn}var map_1=map$6,hasOwnProp$8=hasOwnProp_1,isArray$q=isArray_1;function helperCreateIterateHandle$4(Fe,qe,hn,vn,bn){return function(wn,kn,_n){if(wn&&kn){if(Fe&&wn[Fe])return wn[Fe](kn,_n);if(qe&&isArray$q(wn)){for(var Cn=0,xn=wn.length;Cnqe?1:-1}function buildMultiOrders(Fe,qe,hn){return function(vn,bn){var wn=vn[Fe],kn=bn[Fe];return wn===kn?hn?hn(vn,bn):0:qe.order===ORDER_PROP_DESC?handleSort(kn,wn):handleSort(wn,kn)}}function getSortConfs(Fe,qe,hn,vn){var bn=[];return hn=isArray$o(hn)?hn:[hn],arrayEach$9(hn,function(wn,kn){if(wn){var _n=wn,Cn;isArray$o(wn)?(_n=wn[0],Cn=wn[1]):isPlainObject$7(wn)&&(_n=wn.field,Cn=wn.order),bn.push({field:_n,order:Cn||ORDER_PROP_ASC}),arrayEach$9(qe,isFunction$b(_n)?function(xn,En){xn[kn]=_n.call(vn,xn.data,En,Fe)}:function(xn){xn[kn]=_n?get$4(xn.data,_n):xn.data})}}),bn}function orderBy$3(Fe,qe,hn){if(Fe){if(eqNull$6(qe))return toArray$2(Fe).sort(handleSort);for(var vn,bn=map$4(Fe,function(_n){return{data:_n}}),wn=getSortConfs(Fe,bn,qe,hn),kn=wn.length-1;kn>=0;)vn=buildMultiOrders(kn,wn[kn],vn),kn--;return vn&&(bn=bn.sort(vn)),map$4(bn,property$3("data"))}return[]}var orderBy_1=orderBy$3,orderBy$2=orderBy_1,sortBy$1=orderBy$2,sortBy_1=sortBy$1;function random$2(Fe,qe){return Fe>=qe?Fe:(Fe=Fe>>0)+Math.round(Math.random()*((qe||9)-Fe))}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(Fe){for(var qe,hn=[],vn=values$5(Fe),bn=vn.length-1;bn>=0;bn--)qe=bn>0?random$1(0,bn):0,hn.push(vn[qe]),vn.splice(qe,1);return hn}var shuffle_1=shuffle$2,shuffle$1=shuffle_1;function sample$1(Fe,qe){var hn=shuffle$1(Fe);return arguments.length<=1?hn[0]:(qe=2?toNumber$6(qe):0,hn=bn>=3?toNumber$6(hn):Fe.length,Fe.slice)return Fe.slice(qe,hn);for(;qe=0;vn--)if(qe.call(hn,Fe[vn],vn,Fe))return Fe[vn]}}var findLast_1=findLast$1,keys$8=keys_1;function reduce$1(Fe,qe,hn){if(Fe){var vn,bn,wn=0,kn=null,_n=hn,Cn=arguments.length>2,xn=keys$8(Fe);if(Fe.length&&Fe.reduce)return bn=function(){return qe.apply(kn,arguments)},Cn?Fe.reduce(bn,_n):Fe.reduce(bn);for(Cn&&(wn=1,_n=Fe[xn[0]]),vn=xn.length;wn>0,_n=hn>>0,Cn=Fe.length,xn=arguments.length>3?vn>>0:Cn;if(kn=0?kn:Cn+kn,kn>=0&&(_n=_n>=0?_n:Cn+_n,xn=xn>=0?xn:Cn+xn,_n>0||1;if(isArray$l(Fe))if(bn>=0&&Fe.length>bn)for(hn=0;hn1&&(isNull$6(qe)||!isObject$6(qe)),wn=bn?hn:qe;if(isPlainObject$6(Fe))objectEach$2(Fe,bn?function(kn,_n){Fe[_n]=qe}:function(kn,_n){helperDeleteProperty$1(Fe,_n)}),wn&&assign$b(Fe,wn);else if(isArray$h(Fe)){if(bn)for(vn=Fe.length;vn>0;)vn--,Fe[vn]=qe;else Fe.length=0;wn&&Fe.push.apply(Fe,wn)}}return Fe}var clear_1=clear$2,helperDeleteProperty=helperDeleteProperty_1,isFunction$9=isFunction_1,isArray$g=isArray_1,each$b=each_1,arrayEach$6=arrayEach_1,lastEach$1=lastEach_1,clear$1=clear_1,eqNull$4=eqNull_1;function pluckProperty(Fe){return function(qe,hn){return hn===Fe}}function remove$2(Fe,qe,hn){if(Fe){if(!eqNull$4(qe)){var vn=[],bn=[];return isFunction$9(qe)||(qe=pluckProperty(qe)),each$b(Fe,function(wn,kn,_n){qe.call(hn,wn,kn,_n)&&vn.push(kn)}),isArray$g(Fe)?lastEach$1(vn,function(wn,kn){bn.push(Fe[wn]),Fe.splice(wn,1)}):(bn={},arrayEach$6(vn,function(wn){bn[wn]=Fe[wn],helperDeleteProperty(Fe,wn)})),bn}return clear$1(Fe)}return Fe}var remove_1=remove$2,setupDefaults$7=setupDefaults_1,orderBy$1=orderBy_1,clone$1=clone_1,eqNull$3=eqNull_1,each$a=each_1,remove$1=remove_1,assign$a=assign_1;function strictTree(Fe,qe){each$a(Fe,function(hn){hn[qe]&&!hn[qe].length&&remove$1(hn,qe)})}function toArrayTree$1(Fe,qe){var hn=assign$a({},setupDefaults$7.treeOptions,qe),vn=hn.strict,bn=hn.key,wn=hn.parentKey,kn=hn.children,_n=hn.mapChildren,Cn=hn.sortKey,xn=hn.reverse,En=hn.data,$n=[],Sn={},An={},Tn,Nn,Pn;return Cn&&(Fe=orderBy$1(clone$1(Fe),Cn),xn&&(Fe=Fe.reverse())),each$a(Fe,function(On){Tn=On[bn],An[Tn]=!0}),each$a(Fe,function(On){Tn=On[bn],En?(Nn={},Nn[En]=On):Nn=On,Pn=On[wn],Sn[Tn]=Sn[Tn]||[],Sn[Pn]=Sn[Pn]||[],Sn[Pn].push(Nn),Nn[bn]=Tn,Nn[wn]=Pn,Nn[kn]=Sn[Tn],_n&&(Nn[_n]=Sn[Tn]),(!vn||vn&&eqNull$3(Pn))&&(An[Pn]||$n.push(Nn))}),vn&&strictTree(Fe,kn),$n}var toArrayTree_1=toArrayTree$1,setupDefaults$6=setupDefaults_1,each$9=each_1,assign$9=assign_1;function unTreeList(Fe,qe,hn){var vn=hn.children,bn=hn.data,wn=hn.clear;return each$9(qe,function(kn){var _n=kn[vn];bn&&(kn=kn[bn]),Fe.push(kn),_n&&_n.length&&unTreeList(Fe,_n,hn),wn&&delete kn[vn]}),Fe}function toTreeArray$1(Fe,qe){return unTreeList([],Fe,assign$9({},setupDefaults$6.treeOptions,qe))}var toTreeArray_1=toTreeArray$1;function helperCreateTreeFunc$4(Fe){return function(qe,hn,vn,bn){var wn=vn||{},kn=wn.children||"children";return Fe(null,qe,hn,bn,[],[],kn,wn)}}var helperCreateTreeFunc_1=helperCreateTreeFunc$4,helperCreateTreeFunc$3=helperCreateTreeFunc_1;function findTreeItem(Fe,qe,hn,vn,bn,wn,kn,_n){if(qe){var Cn,xn,En,$n,Sn,An;for(xn=0,En=qe.length;xn=0;hn--)if(qe===Fe[hn])return hn;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(Fe){return isNumber$b(Fe)&&isNaN(Fe)}var _isNaN=isNumberNaN$1,helperCreateInTypeof$1=helperCreateInTypeof_1,isString$b=helperCreateInTypeof$1("string"),isString_1=isString$b,helperCreateInInObjectString$3=helperCreateInInObjectString_1,isDate$9=helperCreateInInObjectString$3("Date"),isDate_1=isDate$9,staticParseInt$5=parseInt,staticParseInt_1=staticParseInt$5;function helperGetUTCDateTime$1(Fe){return Date.UTC(Fe.y,Fe.M||0,Fe.d||1,Fe.H||0,Fe.m||0,Fe.s||0,Fe.S||0)}var helperGetUTCDateTime_1=helperGetUTCDateTime$1;function helperGetDateTime$c(Fe){return Fe.getTime()}var helperGetDateTime_1=helperGetDateTime$c,staticParseInt$4=staticParseInt_1,helperGetUTCDateTime=helperGetUTCDateTime_1,helperGetDateTime$b=helperGetDateTime_1,isString$a=isString_1,isDate$8=isDate_1;function getParseRule(Fe){return"(\\d{"+Fe+"})"}function toParseMs(Fe){return Fe<10?Fe*100:Fe<100?Fe*10:Fe}function toParseNum(Fe){return isNaN(Fe)?Fe:staticParseInt$4(Fe)}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$3=0;i$3=0&&qe.call(hn,Fe[vn],vn,Fe)!==!1;vn--);else for(bn=keys$7(Fe),vn=bn.length-1;vn>=0&&qe.call(hn,Fe[bn[vn]],bn[vn],Fe)!==!1;vn--);}}var lastForOf_1=lastForOf$1,isArray$d=isArray_1,isString$9=isString_1,hasOwnProp$4=hasOwnProp_1;function helperCreateIndexOf$2(Fe,qe){return function(hn,vn){if(hn){if(hn[Fe])return hn[Fe](vn);if(isString$9(hn)||isArray$d(hn))return qe(hn,vn);for(var bn in hn)if(hasOwnProp$4(hn,bn)&&vn===hn[bn])return bn}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$7=each_1;function getSize$2(Fe){var qe=0;return isString$8(Fe)||isArray$c(Fe)?Fe.length:(each$7(Fe,function(){qe++}),qe)}var getSize_1=getSize$2,isNumber$a=isNumber_1;function isNumberFinite$1(Fe){return isNumber$a(Fe)&&isFinite(Fe)}var _isFinite=isNumberFinite$1,isArray$b=isArray_1,isNull$5=isNull_1,isInteger$2=function(Fe){return!isNull$5(Fe)&&!isNaN(Fe)&&!isArray$b(Fe)&&Fe%1===0},isInteger_1=isInteger$2,isArray$a=isArray_1,isInteger$1=isInteger_1,isNull$4=isNull_1;function isFloat$1(Fe){return!isNull$4(Fe)&&!isNaN(Fe)&&!isArray$a(Fe)&&!isInteger$1(Fe)}var isFloat_1=isFloat$1,helperCreateInTypeof=helperCreateInTypeof_1,isBoolean$4=helperCreateInTypeof("boolean"),isBoolean_1=isBoolean$4,helperCreateInInObjectString$2=helperCreateInInObjectString_1,isRegExp$4=helperCreateInInObjectString$2("RegExp"),isRegExp_1=isRegExp$4,helperCreateInInObjectString$1=helperCreateInInObjectString_1,isError$2=helperCreateInInObjectString$1("Error"),isError_1=isError$2;function isTypeError$1(Fe){return Fe?Fe.constructor===TypeError:!1}var isTypeError_1=isTypeError$1;function isEmpty$2(Fe){for(var qe in Fe)return!1;return!0}var isEmpty_1=isEmpty$2,staticStrUndefined$9=staticStrUndefined_1,supportSymbol=typeof Symbol!==staticStrUndefined$9;function isSymbol$2(Fe){return supportSymbol&&Symbol.isSymbol?Symbol.isSymbol(Fe):typeof Fe=="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$2(Fe){return!!(Fe&&isString$7(Fe.nodeName)&&isNumber$9(Fe.nodeType))}var isElement_1=isElement$2,staticStrUndefined$8=staticStrUndefined_1,staticDocument$3=typeof document===staticStrUndefined$8?0:document,staticDocument_1=staticDocument$3,staticDocument$2=staticDocument_1;function isDocument$1(Fe){return!!(Fe&&staticDocument$2&&Fe.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(Fe){return staticWindow$1&&!!(Fe&&Fe===Fe.window)}var isWindow_1=isWindow$1,staticStrUndefined$6=staticStrUndefined_1,supportFormData=typeof FormData!==staticStrUndefined$6;function isFormData$2(Fe){return supportFormData&&Fe instanceof FormData}var isFormData_1=isFormData$2,staticStrUndefined$5=staticStrUndefined_1,supportMap=typeof Map!==staticStrUndefined$5;function isMap$1(Fe){return supportMap&&Fe instanceof Map}var isMap_1=isMap$1,staticStrUndefined$4=staticStrUndefined_1,supportWeakMap=typeof WeakMap!==staticStrUndefined$4;function isWeakMap$1(Fe){return supportWeakMap&&Fe instanceof WeakMap}var isWeakMap_1=isWeakMap$1,staticStrUndefined$3=staticStrUndefined_1,supportSet=typeof Set!==staticStrUndefined$3;function isSet$1(Fe){return supportSet&&Fe instanceof Set}var isSet_1=isSet$1,staticStrUndefined$2=staticStrUndefined_1,supportWeakSet=typeof WeakSet!==staticStrUndefined$2;function isWeakSet$1(Fe){return supportWeakSet&&Fe 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(Fe){return function(qe,hn,vn){if(qe&&isFunction$8(hn)){if(isArray$9(qe)||isString$6(qe))return Fe(qe,hn,vn);for(var bn in qe)if(hasOwnProp$3(qe,bn)&&hn.call(vn,qe[bn],bn,qe))return bn}return-1}}var helperCreateiterateIndexOf_1=helperCreateiterateIndexOf$2,helperCreateiterateIndexOf$1=helperCreateiterateIndexOf_1,findIndexOf$3=helperCreateiterateIndexOf$1(function(Fe,qe,hn){for(var vn=0,bn=Fe.length;vn-1})}else return!0;return isEqual$1(Fe,qe)}var isMatch_1=isMatch$1,helperEqualCompare=helperEqualCompare_1,helperDefaultCompare=helperDefaultCompare_1,isFunction$7=isFunction_1,isUndefined$7=isUndefined_1;function isEqualWith$1(Fe,qe,hn){return isFunction$7(hn)?helperEqualCompare(Fe,qe,function(vn,bn,wn,kn,_n){var Cn=hn(vn,bn,wn,kn,_n);return isUndefined$7(Cn)?helperDefaultCompare(vn,bn):!!Cn},hn):helperEqualCompare(Fe,qe,helperDefaultCompare)}var isEqualWith_1=isEqualWith$1,isSymbol$1=isSymbol_1,isDate$5=isDate_1,isArray$7=isArray_1,isRegExp$2=isRegExp_1,isError$1=isError_1,isNull$3=isNull_1;function getType$1(Fe){return isNull$3(Fe)?"null":isSymbol$1(Fe)?"symbol":isDate$5(Fe)?"date":isArray$7(Fe)?"array":isRegExp$2(Fe)?"regexp":isError$1(Fe)?"error":typeof Fe}var getType_1=getType$1,__uniqueId=0;function uniqueId$1(Fe){return[Fe,++__uniqueId].join("")}var uniqueId_1=uniqueId$1,helperCreateiterateIndexOf=helperCreateiterateIndexOf_1,findLastIndexOf$1=helperCreateiterateIndexOf(function(Fe,qe,hn){for(var vn=Fe.length-1;vn>=0;vn--)if(qe.call(hn,Fe[vn],vn,Fe))return vn;return-1}),findLastIndexOf_1=findLastIndexOf$1,isPlainObject$5=isPlainObject_1,isString$4=isString_1;function toStringJSON$1(Fe){if(isPlainObject$5(Fe))return Fe;if(isString$4(Fe))try{return JSON.parse(Fe)}catch{}return{}}var toStringJSON_1=toStringJSON$1,eqNull$2=eqNull_1;function toJSONString$1(Fe){return eqNull$2(Fe)?"":JSON.stringify(Fe)}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$6=each_1,findIndexOf$1=findIndexOf_1;function helperCreatePickOmit$2(Fe,qe){return function(hn,vn){var bn,wn,kn={},_n=[],Cn=this,xn=arguments,En=xn.length;if(!isFunction$6(vn)){for(wn=1;wn-1)?Fe:qe)&&(kn[Sn]=$n)}),kn}}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(Fe){return values$2(Fe)[0]}var first_1=first$1,values$1=values_1;function last$1(Fe){var qe=values$1(Fe);return qe[qe.length-1]}var last_1=last$1,staticHGKeyRE=staticHGKeyRE_1,helperGetHGSKeys$1=helperGetHGSKeys_1,hasOwnProp$2=hasOwnProp_1;function has$1(Fe,qe){if(Fe){if(hasOwnProp$2(Fe,qe))return!0;var hn,vn,bn,wn,kn,_n,Cn=helperGetHGSKeys$1(qe),xn=0,En=Cn.length;for(kn=Fe;xn>0,bn=qe>>0,vn>0||1;vnqe}),min_1=min$1;function helperNumberDecimal$4(Fe){return(Fe.split(".")[1]||"").length}var helperNumberDecimal_1=helperNumberDecimal$4,staticParseInt$2=staticParseInt_1;function helperStringRepeat$5(Fe,qe){if(Fe.repeat)return Fe.repeat(qe);var hn=isNaN(qe)?[]:new Array(staticParseInt$2(qe));return hn.join(Fe)+(hn.length>0?Fe:"")}var helperStringRepeat_1=helperStringRepeat$5;function helperNumberOffsetPoint$2(Fe,qe){return Fe.substring(0,qe)+"."+Fe.substring(qe,Fe.length)}var helperNumberOffsetPoint_1=helperNumberOffsetPoint$2,helperStringRepeat$4=helperStringRepeat_1,helperNumberOffsetPoint$1=helperNumberOffsetPoint_1;function toNumberString$8(Fe){var qe=""+Fe,hn=qe.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(hn){var vn=Fe<0,bn=vn?"-":"",wn=hn[3]||"",kn=hn[5]||"",_n=hn[6]||"",Cn=hn[7],xn=hn[8],En=xn-_n.length,$n=xn-wn.length,Sn=xn-kn.length;return Cn==="+"?wn?bn+wn+helperStringRepeat$4("0",xn):En>0?bn+kn+_n+helperStringRepeat$4("0",En):bn+kn+helperNumberOffsetPoint$1(_n,xn):wn?$n>0?bn+"0."+helperStringRepeat$4("0",Math.abs($n))+wn:bn+helperNumberOffsetPoint$1(wn,$n):Sn>0?bn+"0."+helperStringRepeat$4("0",Math.abs(Sn))+kn+_n:bn+helperNumberOffsetPoint$1(kn,Sn)+_n}return qe}var toNumberString_1=toNumberString$8,helperNumberDecimal$3=helperNumberDecimal_1,toNumberString$7=toNumberString_1;function helperMultiply$2(Fe,qe){var hn=toNumberString$7(Fe),vn=toNumberString$7(qe);return parseInt(hn.replace(".",""))*parseInt(vn.replace(".",""))/Math.pow(10,helperNumberDecimal$3(hn)+helperNumberDecimal$3(vn))}var helperMultiply_1=helperMultiply$2,helperMultiply$1=helperMultiply_1,toNumber$5=toNumber_1,toNumberString$6=toNumberString_1;function helperCreateMathNumber$3(Fe){return function(qe,hn){var vn=toNumber$5(qe),bn=vn;if(vn){hn=hn>>0;var wn=toNumberString$6(vn),kn=wn.split("."),_n=kn[0],Cn=kn[1]||"",xn=Cn.substring(0,hn+1),En=_n+(xn?"."+xn:"");if(hn>=Cn.length)return toNumber$5(En);if(En=vn,hn>0){var $n=Math.pow(10,hn);bn=Math[Fe](helperMultiply$1(En,$n))/$n}else bn=Math[Fe](En)}return bn}}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(Fe){return isNumber$7(Fe)?toNumberString$5(Fe):""+(eqNull$1(Fe)?"":Fe)}var toValueString_1=toValueString$e,round$2=round_1,toValueString$d=toValueString_1,helperStringRepeat$3=helperStringRepeat_1,helperNumberOffsetPoint=helperNumberOffsetPoint_1;function toFixed$3(Fe,qe){qe=qe>>0;var hn=toValueString$d(round$2(Fe,qe)),vn=hn.split("."),bn=vn[0],wn=vn[1]||"",kn=qe-wn.length;return qe?kn>0?bn+"."+wn+helperStringRepeat$3("0",kn):bn+helperNumberOffsetPoint(wn,Math.abs(kn)):bn}var toFixed_1=toFixed$3,setupDefaults$5=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$6=assign_1;function commafy$1(Fe,qe){var hn=assign$6({},setupDefaults$5.commafyOptions,qe),vn=hn.digits,bn=isNumber$6(Fe),wn,kn,_n,Cn,xn;return bn?(wn=(hn.ceil?ceil$1:hn.floor?floor$1:round$1)(Fe,vn),kn=toNumberString$4(vn?toFixed$2(wn,vn):wn).split("."),Cn=kn[0],xn=kn[1],_n=Cn&&wn<0,_n&&(Cn=Cn.substring(1,Cn.length))):(wn=toValueString$c(Fe).replace(/,/g,""),kn=wn?[wn]:[],Cn=kn[0]),kn.length?(_n?"-":"")+Cn.replace(new RegExp("(?=(?!(\\b))(.{"+(hn.spaceNumber||3)+"})+$)","g"),hn.separator||",")+(xn?"."+xn:""):wn}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(Fe,qe){var hn=toNumber$4(Fe),vn=toNumber$4(qe);return helperMultiply(hn,vn)}var multiply_1=multiply$3,helperNumberDecimal$2=helperNumberDecimal_1,toNumberString$3=toNumberString_1,multiply$2=multiply_1;function helperNumberAdd$2(Fe,qe){var hn=toNumberString$3(Fe),vn=toNumberString$3(qe),bn=Math.pow(10,Math.max(helperNumberDecimal$2(hn),helperNumberDecimal$2(vn)));return(multiply$2(Fe,bn)+multiply$2(qe,bn))/bn}var helperNumberAdd_1=helperNumberAdd$2,helperNumberAdd$1=helperNumberAdd_1,toNumber$3=toNumber_1;function add$1(Fe,qe){return helperNumberAdd$1(toNumber$3(Fe),toNumber$3(qe))}var add_1=add$1,helperNumberDecimal$1=helperNumberDecimal_1,toNumberString$2=toNumberString_1,toNumber$2=toNumber_1,toFixed$1=toFixed_1;function subtract$1(Fe,qe){var hn=toNumber$2(Fe),vn=toNumber$2(qe),bn=toNumberString$2(hn),wn=toNumberString$2(vn),kn=helperNumberDecimal$1(bn),_n=helperNumberDecimal$1(wn),Cn=Math.pow(10,Math.max(kn,_n)),xn=kn>=_n?kn:_n;return parseFloat(toFixed$1((hn*Cn-vn*Cn)/Cn,xn))}var subtract_1=subtract$1,helperNumberDecimal=helperNumberDecimal_1,toNumberString$1=toNumberString_1,multiply$1=multiply_1;function helperNumberDivide$2(Fe,qe){var hn=toNumberString$1(Fe),vn=toNumberString$1(qe),bn=helperNumberDecimal(hn),wn=helperNumberDecimal(vn),kn=wn-bn,_n=kn<0,Cn=Math.pow(10,_n?Math.abs(kn):kn);return multiply$1(hn.replace(".","")/vn.replace(".",""),_n?1/Cn:Cn)}var helperNumberDivide_1=helperNumberDivide$2,helperNumberDivide$1=helperNumberDivide_1,toNumber$1=toNumber_1;function divide$1(Fe,qe){return helperNumberDivide$1(toNumber$1(Fe),toNumber$1(qe))}var divide_1=divide$1,helperNumberAdd=helperNumberAdd_1,isFunction$4=isFunction_1,each$4=each_1,get$2=get_1;function sum$2(Fe,qe,hn){var vn=0;return each$4(Fe,qe?isFunction$4(qe)?function(){vn=helperNumberAdd(vn,qe.apply(hn,arguments))}:function(bn){vn=helperNumberAdd(vn,get$2(bn,qe))}:function(bn){vn=helperNumberAdd(vn,bn)}),vn}var sum_1=sum$2,helperNumberDivide=helperNumberDivide_1,getSize$1=getSize_1,sum$1=sum_1;function mean$1(Fe,qe,hn){return helperNumberDivide(sum$1(Fe,qe,hn),getSize$1(Fe))}var mean_1=mean$1,staticStrFirst$5="first",staticStrFirst_1=staticStrFirst$5,staticStrLast$4="last",staticStrLast_1=staticStrLast$4;function helperGetDateFullYear$5(Fe){return Fe.getFullYear()}var helperGetDateFullYear_1=helperGetDateFullYear$5,staticDayTime$5=864e5,staticDayTime_1=staticDayTime$5;function helperGetDateMonth$4(Fe){return Fe.getMonth()}var helperGetDateMonth_1=helperGetDateMonth$4,isDate$4=isDate_1,helperGetDateTime$a=helperGetDateTime_1;function isValidDate$c(Fe){return isDate$4(Fe)&&!isNaN(helperGetDateTime$a(Fe))}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(Fe,qe,hn){var vn=qe&&!isNaN(qe)?qe:0;if(Fe=toStringDate$b(Fe),isValidDate$b(Fe)){if(hn===staticStrFirst$4)return new Date(helperGetDateFullYear$4(Fe),helperGetDateMonth$3(Fe)+vn,1);if(hn===staticStrLast$3)return new Date(helperGetDateTime$9(getWhatMonth$5(Fe,vn+1,staticStrFirst$4))-1);if(isNumber$5(hn)&&Fe.setDate(hn),vn){var bn=Fe.getDate();if(Fe.setMonth(helperGetDateMonth$3(Fe)+vn),bn!==Fe.getDate())return Fe.setDate(1),new Date(helperGetDateTime$9(Fe)-staticDayTime$4)}}return Fe}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(Fe,qe,hn){var vn;if(Fe=toStringDate$a(Fe),isValidDate$a(Fe)&&(qe&&(vn=qe&&!isNaN(qe)?qe:0,Fe.setFullYear(helperGetDateFullYear$3(Fe)+vn)),hn||!isNaN(hn))){if(hn===staticStrFirst$3)return new Date(helperGetDateFullYear$3(Fe),0,1);if(hn===staticStrLast$2)return Fe.setMonth(11),getWhatMonth$4(Fe,0,staticStrLast$2);Fe.setMonth(hn)}return Fe}var getWhatYear_1=getWhatYear$4,getWhatMonth$3=getWhatMonth_1,toStringDate$9=toStringDate_1,isValidDate$9=isValidDate_1;function getQuarterNumber(Fe){var qe=Fe.getMonth();return qe<3?1:qe<6?2:qe<9?3:4}function getWhatQuarter$1(Fe,qe,hn){var vn,bn=qe&&!isNaN(qe)?qe*3:0;return Fe=toStringDate$9(Fe),isValidDate$9(Fe)?(vn=(getQuarterNumber(Fe)-1)*3,Fe.setMonth(vn),getWhatMonth$3(Fe,bn,hn)):Fe}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(Fe,qe,hn){if(Fe=toStringDate$8(Fe),isValidDate$8(Fe)&&!isNaN(qe)){if(Fe.setDate(Fe.getDate()+staticParseInt(qe)),hn===staticStrFirst$2)return new Date(helperGetDateFullYear$2(Fe),helperGetDateMonth$2(Fe),Fe.getDate());if(hn===staticStrLast$1)return new Date(helperGetDateTime$8(getWhatDay$2(Fe,1,staticStrFirst$2))-1)}return Fe}var getWhatDay_1=getWhatDay$2;function helperStringUpperCase$2(Fe){return Fe.toUpperCase()}var helperStringUpperCase_1=helperStringUpperCase$2,staticDayTime$3=staticDayTime_1,staticWeekTime$2=staticDayTime$3*7,staticWeekTime_1=staticWeekTime$2,setupDefaults$4=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(Fe,qe,hn,vn){if(Fe=toStringDate$7(Fe),isValidDate$7(Fe)){var bn=isNumber$4(hn),wn=isNumber$4(vn),kn=helperGetDateTime$7(Fe);if(bn||wn){var _n=wn?vn:setupDefaults$4.firstDayOfWeek,Cn=Fe.getDay(),xn=bn?hn:Cn;if(Cn!==xn){var En=0;_n>Cn?En=-(7-_n+Cn):_n_n?kn+=((xn===0?7:xn)-_n+En)*staticDayTime$2:xn<_n?kn+=(7-_n+xn+En)*staticDayTime$2:kn+=En*staticDayTime$2}}return qe&&!isNaN(qe)&&(kn+=qe*staticWeekTime$1),new Date(kn)}return Fe}var getWhatWeek_1=getWhatWeek$2,setupDefaults$3=setupDefaults_1,staticWeekTime=staticWeekTime_1,isNumber$3=isNumber_1,isValidDate$6=isValidDate_1,getWhatWeek$1=getWhatWeek_1,helperGetDateTime$6=helperGetDateTime_1;function helperCreateGetDateWeek$2(Fe){return function(qe,hn){var vn=isNumber$3(hn)?hn:setupDefaults$3.firstDayOfWeek,bn=getWhatWeek$1(qe,0,vn,vn);if(isValidDate$6(bn)){var wn=new Date(bn.getFullYear(),bn.getMonth(),bn.getDate()),kn=Fe(bn),_n=kn.getDay();return _n>vn&&kn.setDate(7-_n+vn+1),_n>0,hn=isUndefined$6(hn)?" ":""+hn,vn.padStart?vn.padStart(qe,hn):qe>vn.length?(qe-=vn.length,qe>hn.length&&(hn+=helperStringRepeat$2(hn,qe/hn.length)),hn.slice(0,qe)+vn):vn}var padStart_1=padStart$2,setupDefaults$2=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$5=assign_1,isValidDate$4=isValidDate_1,isFunction$3=isFunction_1,padStart$1=padStart_1;function handleCustomTemplate(Fe,qe,hn,vn){var bn=qe[hn];return bn?isFunction$3(bn)?bn(vn,hn,Fe):bn[vn]:vn}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(Fe,qe,hn){if(Fe){if(Fe=toStringDate$5(Fe),isValidDate$4(Fe)){var vn=qe||setupDefaults$2.parseDateFormat||setupDefaults$2.formatString,bn=Fe.getHours(),wn=bn<12?"am":"pm",kn=assign$5({},setupDefaults$2.parseDateRules||setupDefaults$2.formatStringMatchs,hn?hn.formats:null),_n=function(In,Mn){return(""+helperGetDateFullYear(Fe)).substr(4-Mn)},Cn=function(In,Mn){return padStart$1(helperGetDateMonth(Fe)+1,Mn,"0")},xn=function(In,Mn){return padStart$1(Fe.getDate(),Mn,"0")},En=function(In,Mn){return padStart$1(bn,Mn,"0")},$n=function(In,Mn){return padStart$1(bn<=12?bn:bn-12,Mn,"0")},Sn=function(In,Mn){return padStart$1(Fe.getMinutes(),Mn,"0")},An=function(In,Mn){return padStart$1(Fe.getSeconds(),Mn,"0")},Tn=function(In,Mn){return padStart$1(Fe.getMilliseconds(),Mn,"0")},Nn=function(In,Mn){var Bn=Fe.getTimezoneOffset()/60*-1;return handleCustomTemplate(Fe,kn,In,(Bn>=0?"+":"-")+padStart$1(Bn,2,"0")+(Mn===1?":":"")+"00")},Pn=function(In,Mn){return padStart$1(handleCustomTemplate(Fe,kn,In,getYearWeek$1(Fe,(hn?hn.firstDay:null)||setupDefaults$2.firstDayOfWeek)),Mn,"0")},On=function(In,Mn){return padStart$1(handleCustomTemplate(Fe,kn,In,getYearDay$1(Fe)),Mn,"0")},Rn={yyyy:_n,yy:_n,MM:Cn,M:Cn,dd:xn,d:xn,HH:En,H:En,hh:$n,h:$n,mm:Sn,m:Sn,ss:An,s:An,SSS:Tn,S:Tn,ZZ:Nn,Z:Nn,WW:Pn,W:Pn,DDD:On,D:On,a:function(In){return handleCustomTemplate(Fe,kn,In,wn)},A:function(In){return handleCustomTemplate(Fe,kn,In,helperStringUpperCase$1(wn))},e:function(In){return handleCustomTemplate(Fe,kn,In,Fe.getDay())},E:function(In){return handleCustomTemplate(Fe,kn,In,Fe.getDay())},q:function(In){return handleCustomTemplate(Fe,kn,In,Math.floor((helperGetDateMonth(Fe)+3)/3))}};return vn.replace(dateFormatRE,function(In,Mn){return Mn||(Rn[In]?Rn[In](In,In.length):In)})}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$3=isDate_1,timestamp$1=function(Fe,qe){if(Fe){var hn=toStringDate$4(Fe,qe);return isDate$3(hn)?helperGetDateTime$3(hn):hn}return now$1()},timestamp_1=timestamp$1,toDateString$1=toDateString_1;function isDateSame$1(Fe,qe,hn){return Fe&&qe?(Fe=toDateString$1(Fe,hn),Fe!=="Invalid Date"&&Fe===toDateString$1(qe,hn)):!1}var isDateSame_1=isDateSame$1,helperCreateGetDateWeek=helperCreateGetDateWeek_1,getMonthWeek$1=helperCreateGetDateWeek(function(Fe){return new Date(Fe.getFullYear(),Fe.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(Fe,qe){return Fe=toStringDate$3(Fe),isValidDate$3(Fe)?isLeapYear$1(getWhatYear$2(Fe,qe))?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(Fe,qe){return Fe=toStringDate$2(Fe),isValidDate$2(Fe)?Math.floor((helperGetDateTime$2(getWhatMonth$2(Fe,qe,staticStrLast))-helperGetDateTime$2(getWhatMonth$2(Fe,qe,staticStrFirst)))/staticDayTime)+1:NaN}var getDayOfMonth_1=getDayOfMonth$1,helperGetDateTime$1=helperGetDateTime_1,helperNewDate$1=helperNewDate_1,toStringDate$1=toStringDate_1,isValidDate$1=isValidDate_1,dateDiffRules=[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]];function getDateDiff$1(Fe,qe){var hn,vn,bn,wn,kn,_n,Cn={done:!1,time:0};if(Fe=toStringDate$1(Fe),qe=qe?toStringDate$1(qe):helperNewDate$1(),isValidDate$1(Fe)&&isValidDate$1(qe)&&(hn=helperGetDateTime$1(Fe),vn=helperGetDateTime$1(qe),hn=bn[1]?_n===kn-1?Cn[bn[0]]=wn||0:(Cn[bn[0]]=Math.floor(wn/bn[1]),wn-=Cn[bn[0]]*bn[1]):Cn[bn[0]]=0;return Cn}var getDateDiff_1=getDateDiff$1,toValueString$a=toValueString_1,isUndefined$5=isUndefined_1,helperStringRepeat$1=helperStringRepeat_1;function padEnd$1(Fe,qe,hn){var vn=toValueString$a(Fe);return qe=qe>>0,hn=isUndefined$5(hn)?" ":""+hn,vn.padEnd?vn.padEnd(qe,hn):qe>vn.length?(qe-=vn.length,qe>hn.length&&(hn+=helperStringRepeat$1(hn,qe/hn.length)),vn+hn.slice(0,qe)):vn}var padEnd_1=padEnd$1,toValueString$9=toValueString_1,helperStringRepeat=helperStringRepeat_1;function repeat$1(Fe,qe){return helperStringRepeat(toValueString$9(Fe),qe)}var repeat_1=repeat$1,toValueString$8=toValueString_1;function trimRight$2(Fe){return Fe&&Fe.trimRight?Fe.trimRight():toValueString$8(Fe).replace(/[\s\uFEFF\xA0]+$/g,"")}var trimRight_1=trimRight$2,toValueString$7=toValueString_1;function trimLeft$2(Fe){return Fe&&Fe.trimLeft?Fe.trimLeft():toValueString$7(Fe).replace(/^[\s\uFEFF\xA0]+/g,"")}var trimLeft_1=trimLeft$2,trimRight$1=trimRight_1,trimLeft$1=trimLeft_1;function trim$3(Fe){return Fe&&Fe.trim?Fe.trim():trimRight$1(trimLeft$1(Fe))}var trim_1=trim$3,staticEscapeMap$2={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},staticEscapeMap_1=staticEscapeMap$2,toValueString$6=toValueString_1,keys$3=keys_1;function helperFormatEscaper$2(Fe){var qe=new RegExp("(?:"+keys$3(Fe).join("|")+")","g");return function(hn){return toValueString$6(hn).replace(qe,function(vn){return Fe[vn]})}}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$3=each_1,unescapeMap={};each$3(staticEscapeMap,function(Fe,qe){unescapeMap[staticEscapeMap[qe]]=qe});var unescape$2=helperFormatEscaper(unescapeMap),_unescape=unescape$2;function helperStringSubstring$2(Fe,qe,hn){return Fe.substring(qe,hn)}var helperStringSubstring_1=helperStringSubstring$2;function helperStringLowerCase$2(Fe){return Fe.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(Fe){if(Fe=toValueString$5(Fe),camelCacheMaps[Fe])return camelCacheMaps[Fe];var qe=Fe.length,hn=Fe.replace(/([-]+)/g,function(vn,bn,wn){return wn&&wn+bn.length2&&wn+kn1&&wn+kn1?vn+"-"+helperStringLowerCase(helperStringSubstring(bn,0,kn-1))+"-"+helperStringLowerCase(helperStringSubstring(bn,kn-1,kn))+wn:helperStringLowerCase(vn+"-"+bn+wn)}).replace(/^([A-Z]+)([a-z]+)?$/,function(hn,vn,bn){var wn=vn.length;return helperStringLowerCase(helperStringSubstring(vn,0,wn-1)+"-"+helperStringSubstring(vn,wn-1,wn)+(bn||""))}).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,function(hn,vn,bn,wn,kn){var _n=bn.length;return _n>1&&(vn&&(vn+="-"),wn)?(vn||"")+helperStringLowerCase(helperStringSubstring(bn,0,_n-1))+"-"+helperStringLowerCase(helperStringSubstring(bn,_n-1,_n))+wn:(vn||"")+(kn?"-":"")+helperStringLowerCase(bn)+(wn||"")});return qe=qe.replace(/([-]+)/g,function(hn,vn,bn){return bn&&bn+vn.length1&&(bn>2?vn.substring(0,hn).indexOf(qe)===hn-1:vn.indexOf(qe)===vn.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(Fe,qe,hn){return toValueString$1(Fe).replace((hn||setupDefaults$1).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,function(vn,bn){return get$1(qe,trim$2(bn))})}var template_1=template$2,template$1=template_1;function toFormatString$1(Fe,qe){return template$1(Fe,qe,{tmplRE:/\{([.\w[\]\s]+)\}/g})}var toFormatString_1=toFormatString$1;function noop$6(){}var noop_1=noop$6,slice$5=slice_1;function bind$3(Fe,qe){var hn=slice$5(arguments,2);return function(){return Fe.apply(qe,slice$5(arguments).concat(hn))}}var bind_1=bind$3,slice$4=slice_1;function once$1(Fe,qe){var hn=!1,vn=null,bn=slice$4(arguments,2);return function(){return hn||(vn=Fe.apply(qe,slice$4(arguments).concat(bn)),hn=!0),vn}}var once_1=once$1,slice$3=slice_1;function after$1(Fe,qe,hn){var vn=0,bn=[];return function(){var wn=arguments;vn++,vn<=Fe&&bn.push(wn[0]),vn>=Fe&&qe.apply(hn,[bn].concat(slice$3(wn)))}}var after_1=after$1,slice$2=slice_1;function before$2(Fe,qe,hn){var vn=0,bn=[];return hn=hn||this,function(){var wn=arguments;vn++,vn1?vn[1]:""},bn.path=wn.replace(/^([a-z0-9.+-]*:)\/\//,function(kn,_n){return bn.protocol=_n,""}).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,function(kn,_n,Cn){return hn=Cn||"",bn.port=hn.replace(":",""),bn.hostname=_n,bn.host=_n+hn,"/"}).replace(/(#.*)/,function(kn,_n){return bn.hash=_n.length>1?_n:"",""}),qe=bn.hash.match(/#((.*)\?|(.*))/),bn.pathname=bn.path.replace(/(\?|#.*).*/,""),bn.origin=bn.protocol+"//"+bn.host,bn.hashKey=qe&&(qe[2]||qe[1])||"",bn.hashQuery=parseURLQuery(bn.hash),bn.searchQuery=parseURLQuery(bn.search),bn}var parseUrl_1=parseUrl$2,staticLocation$1=staticLocation_1,helperGetLocatOrigin=helperGetLocatOrigin_1,lastIndexOf$1=lastIndexOf_1;function getBaseURL$1(){if(staticLocation$1){var Fe=staticLocation$1.pathname,qe=lastIndexOf$1(Fe,"/")+1;return helperGetLocatOrigin()+(qe===Fe.length?Fe:Fe.substring(0,qe))}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$4=isObject_1,isDate$2=isDate_1,isUndefined$3=isUndefined_1,includes$1=includes_1,keys$2=keys_1,assign$4=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(Fe,qe){var hn=parseFloat(qe),vn=helperNewDate(),bn=helperGetDateTime(vn);switch(Fe){case"y":return helperGetDateTime(getWhatYear$1(vn,hn));case"M":return helperGetDateTime(getWhatMonth$1(vn,hn));case"d":return helperGetDateTime(getWhatDay$1(vn,hn));case"h":case"H":return bn+hn*60*60*1e3;case"m":return bn+hn*60*1e3;case"s":return bn+hn*1e3}return bn}function toCookieUTCString(Fe){return(isDate$2(Fe)?Fe:new Date(Fe)).toUTCString()}function cookie$1(Fe,qe,hn){if(staticDocument$1){var vn,bn,wn,kn,_n,Cn,xn=[],En=arguments;return isArray$4(Fe)?xn=Fe:En.length>1?xn=[assign$4({name:Fe,value:qe},hn)]:isObject$4(Fe)&&(xn=[Fe]),xn.length>0?(arrayEach$2(xn,function($n){vn=assign$4({},setupDefaults.cookies,$n),wn=[],vn.name&&(bn=vn.expires,wn.push(staticEncodeURIComponent(vn.name)+"="+staticEncodeURIComponent(isObject$4(vn.value)?JSON.stringify(vn.value):vn.value)),bn&&(isNaN(bn)?bn=bn.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,function(Sn,An,Tn){return toCookieUTCString(toCookieUnitTime(Tn,An))}):/^[0-9]{11,13}$/.test(bn)||isDate$2(bn)?bn=toCookieUTCString(bn):bn=toCookieUTCString(toCookieUnitTime("d",bn)),vn.expires=bn),arrayEach$2(["expires","path","domain","secure"],function(Sn){isUndefined$3(vn[Sn])||wn.push(vn[Sn]&&Sn==="secure"?Sn:Sn+"="+vn[Sn])})),staticDocument$1.cookie=wn.join("; ")}),!0):(kn={},_n=staticDocument$1.cookie,_n&&arrayEach$2(_n.split("; "),function($n){Cn=$n.indexOf("="),kn[staticDecodeURIComponent($n.substring(0,Cn))]=staticDecodeURIComponent($n.substring(Cn+1)||"")}),En.length===1?kn[Fe]:kn)}return!1}function hasCookieItem(Fe){return includes$1(cookieKeys(),Fe)}function getCookieItem(Fe){return cookie$1(Fe)}function setCookieItem(Fe,qe,hn){return cookie$1(Fe,qe,hn),cookie$1}function removeCookieItem(Fe,qe){cookie$1(Fe,"",assign$4({expires:-1},setupDefaults.cookies,qe))}function cookieKeys(){return keys$2(cookie$1())}function cookieJson(){return cookie$1()}assign$4(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$3=assign_1,arrayEach$1=arrayEach_1;function isBrowseStorage(Fe){try{var qe="__xe_t";return Fe.setItem(qe,1),Fe.removeItem(qe),!0}catch{return!1}}function isBrowseType(Fe){return navigator.userAgent.indexOf(Fe)>-1}function browse$2(){var Fe,qe,hn,vn=!1,bn=!1,wn=!1,kn={isNode:!1,isMobile:vn,isPC:!1,isDoc:!!staticDocument};if(!staticWindow&&typeof process!==staticStrUndefined)kn.isNode=!0;else{hn=isBrowseType("Edge"),qe=isBrowseType("Chrome"),vn=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),kn.isDoc&&(Fe=staticDocument.body||staticDocument.documentElement,arrayEach$1(["webkit","khtml","moz","ms","o"],function(_n){kn["-"+_n]=!!Fe[_n+"MatchesSelector"]}));try{bn=isBrowseStorage(staticWindow.localStorage)}catch{}try{wn=isBrowseStorage(staticWindow.sessionStorage)}catch{}assign$3(kn,{edge:hn,firefox:isBrowseType("Firefox"),msie:!hn&&kn["-ms"],safari:!qe&&!hn&&isBrowseType("Safari"),isMobile:vn,isPC:!vn,isLocalStorage:bn,isSessionStorage:wn})}return kn}var browse_1=browse$2,XEUtils=ctor,assign$2=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$1=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$1=isNull_1,isNumberNaN=_isNaN,isUndefined$2=isUndefined_1,isFunction$2=isFunction_1,isObject$3=isObject_1,isString$2=isString_1,isPlainObject$3=isPlainObject_1,isLeapYear=isLeapYear_1,isDate$1=isDate_1,eqNull=eqNull_1,each$1=each_1,forOf=forOf_1,lastForOf=lastForOf_1,indexOf=indexOf_1,lastIndexOf=lastIndexOf_1,keys$1=keys_1,values=values_1,clone=clone_1,getSize=getSize_1,lastEach=lastEach_1,remove=remove_1,clear=clear_1,isNumberFinite=_isFinite,isFloat=isFloat_1,isInteger=isInteger_1,isBoolean$2=isBoolean_1,isNumber$2=isNumber_1,isRegExp$1=isRegExp_1,isError=isError_1,isTypeError=isTypeError_1,isEmpty=isEmpty_1,isSymbol=isSymbol_1,isArguments=isArguments_1,isElement$1=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$5=noop_1,property=property_1,bind$2=bind_1,once=once_1,after=after_1,before$1=before_1,throttle=throttle_1,debounce$1=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$2(XEUtils,{assign:assign$2,objectEach,lastObjectEach,objectMap,merge:merge$1,uniq,union,sortBy,orderBy,shuffle,sample,some,every,slice,filter:filter$1,find:find$1,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$2,isArray:isArray$3,isFloat,isInteger,isFunction:isFunction$2,isBoolean:isBoolean$2,isString:isString$2,isNumber:isNumber$2,isRegExp:isRegExp$1,isObject:isObject$3,isPlainObject:isPlainObject$3,isDate:isDate$1,isError,isTypeError,isEmpty,isNull:isNull$1,isSymbol,isArguments,isElement:isElement$1,isDocument,isWindow,isFormData:isFormData$1,isMap,isWeakMap,isSet,isWeakSet,isLeapYear,isMatch,isEqual,isEqualWith,getType,uniqueId,getSize,indexOf,lastIndexOf,findIndexOf,findLastIndexOf,toStringJSON,toJSONString,keys:keys$1,values,entries,pick,omit,first,last,each:each$1,forOf,lastForOf,lastEach,has,get,set,groupBy,countBy,clone,clear,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$5,property,bind:bind$2,once,after,before:before$1,throttle,debounce:debounce$1,delay,unserialize,serialize,parseUrl,getBaseURL,locat,browse:browse$1,cookie});var xeUtils=XEUtils;const XEUtils$1=getDefaultExportFromCjs(xeUtils);var iconPrefix="vxe-icon-",GlobalConfig={size:null,zIndex:999,version:0,emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,minHeight:144,resizeConfig:{refreshDelay:250},radioConfig:{strict:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,autoClear:!0,message:"inline",msgMode:"single"},columnConfig:{maxFixedSize:4},sortConfig:{showIcon:!0},filterConfig:{showIcon:!0},treeConfig:{rowField:"id",parentField:"parentId",childrenField:"children",hasChildField:"hasChild",mapChildrenField:"_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:{gt:60},scrollY:{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",TOOLBAR_TOOLS_FIXED_LEFT:iconPrefix+"fixed-left",TOOLBAR_TOOLS_FIXED_LEFT_ACTIVED:iconPrefix+"fixed-left-fill",TOOLBAR_TOOLS_FIXED_RIGHT:iconPrefix+"fixed-right",TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVED:iconPrefix+"fixed-right-fill",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:{custom:{allowFixed:!0,showFooter:!0}},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(Fe){return Fe}};function getLog(Fe,qe){return"[vxe-table v".concat("4.5.12","] ").concat(GlobalConfig.i18n(Fe,qe))}function outLog(Fe){return function(qe,hn){var vn=getLog(qe,hn);return console[Fe](vn),vn}}var warnLog=outLog("warn"),errLog=outLog("error"),storeMap={},interceptor={mixin:function(Fe){return XEUtils$1.each(Fe,function(qe,hn){return interceptor.add(hn,qe)}),interceptor},get:function(Fe){return storeMap[Fe]||[]},add:function(Fe,qe){if(qe){var hn=storeMap[Fe];hn||(hn=storeMap[Fe]=[]),hn.push(qe)}return interceptor},delete:function(Fe,qe){var hn=storeMap[Fe];hn&&(qe?XEUtils$1.remove(hn,function(vn){return vn===qe}):delete storeMap[Fe])}},VXEFormatsStore=function(){function Fe(){this.store={}}return Fe.prototype.mixin=function(qe){var hn=this;return XEUtils$1.each(qe,function(vn,bn){hn.add(bn,vn)}),this},Fe.prototype.has=function(qe){return!!this.get(qe)},Fe.prototype.get=function(qe){return this.store[qe]},Fe.prototype.add=function(qe,hn){var vn=this.store[qe];return XEUtils$1.isFunction(hn)&&(hn={cellFormatMethod:hn}),this.store[qe]=vn?XEUtils$1.merge(vn,hn):hn,this},Fe.prototype.delete=function(qe){delete this.store[qe]},Fe.prototype.forEach=function(qe){XEUtils$1.objectEach(this.store,qe)},Fe}(),formats=new VXEFormatsStore,storeEl=null,storeId="z-index-manage",storeMainKey="m",storeSubKey="s",storeData={m:1e3,s:1e3};function getDom(){return storeEl||typeof document<"u"&&(storeEl=document.getElementById(storeId),storeEl||(storeEl=document.createElement("div"),storeEl.id=storeId,storeEl.style.display="none",document.body.appendChild(storeEl),setCurrent(storeData.m),setSubCurrent(storeData.s))),storeEl}function createSetHandle(Fe){return function(qe){if(qe){qe=Number(qe),storeData[Fe]=qe;var hn=getDom();hn&&(hn.dataset?hn.dataset[Fe]=qe+"":hn.setAttribute("data-"+Fe,qe+""))}return storeData[Fe]}}var setCurrent=createSetHandle(storeMainKey);function createGetHandle(Fe,qe){return function(vn){var bn,wn=getDom();if(wn){var kn=wn.dataset?wn.dataset[Fe]:wn.getAttribute("data-"+Fe);kn&&(bn=Number(kn))}return bn||(bn=storeData[Fe]),vn?Number(vn)0}function getFuncText(Fe){return Fe?XEUtils$1.toValueString(GlobalConfig.translate?GlobalConfig.translate(""+Fe):Fe):""}function formatText(Fe,qe){return""+(isEmptyValue(Fe)?qe?GlobalConfig.emptyCell:"":Fe)}function eqEmptyValue(Fe){return Fe===""||XEUtils$1.eqNull(Fe)}var ColumnInfo=function(){function Fe(qe,hn,vn){var bn=vn===void 0?{}:vn,wn=bn.renderHeader,kn=bn.renderCell,_n=bn.renderFooter,Cn=bn.renderData,xn=qe.xegrid,En=hn.formatter,$n=XEUtils$1.isBoolean(hn.visible)?hn.visible:!0;if(Object.assign(this,{type:hn.type,property:hn.field,field:hn.field,title:hn.title,width:hn.width,minWidth:hn.minWidth,maxWidth:hn.maxWidth,resizable:hn.resizable,fixed:hn.fixed,align:hn.align,headerAlign:hn.headerAlign,footerAlign:hn.footerAlign,showOverflow:hn.showOverflow,showHeaderOverflow:hn.showHeaderOverflow,showFooterOverflow:hn.showFooterOverflow,className:hn.className,headerClassName:hn.headerClassName,footerClassName:hn.footerClassName,formatter:En,sortable:hn.sortable,sortBy:hn.sortBy,sortType:hn.sortType,filters:toFilters(hn.filters),filterMultiple:XEUtils$1.isBoolean(hn.filterMultiple)?hn.filterMultiple:!0,filterMethod:hn.filterMethod,filterResetMethod:hn.filterResetMethod,filterRecoverMethod:hn.filterRecoverMethod,filterRender:hn.filterRender,treeNode:hn.treeNode,cellType:hn.cellType,cellRender:hn.cellRender,editRender:hn.editRender,contentRender:hn.contentRender,headerExportMethod:hn.headerExportMethod,exportMethod:hn.exportMethod,footerExportMethod:hn.footerExportMethod,titleHelp:hn.titleHelp,titlePrefix:hn.titlePrefix,params:hn.params,id:hn.colId||XEUtils$1.uniqueId("col_"),parentId:null,visible:$n,halfVisible:!1,defaultVisible:$n,defaultFixed:hn.fixed,checked:!1,halfChecked:!1,disabled:!1,level:1,rowSpan:1,colSpan:1,order:null,sortTime:0,customOrder:0,renderWidth:0,renderHeight:0,resizeWidth:0,renderLeft:0,renderArgs:[],model:{},renderHeader:wn||hn.renderHeader,renderCell:kn||hn.renderCell,renderFooter:_n||hn.renderFooter,renderData:Cn,slots:hn.slots}),xn){var Sn=xn.getComputeMaps().computeProxyOpts,An=Sn.value;An.beforeColumn&&An.beforeColumn({$grid:xn,column:this})}}return Fe.prototype.getTitle=function(){return getFuncText(this.title||(this.type==="seq"?GlobalConfig.i18n("vxe.table.seqTitle"):""))},Fe.prototype.getKey=function(){return this.field||(this.type?"type=".concat(this.type):null)},Fe.prototype.update=function(qe,hn){qe!=="filters"&&(qe==="field"&&(this.property=hn),this[qe]=hn)},Fe}(),reClsMap={},browse=XEUtils$1.browse();function getPropClass(Fe,qe){return Fe?XEUtils$1.isFunction(Fe)?Fe(qe):Fe:""}function getClsRE(Fe){return reClsMap[Fe]||(reClsMap[Fe]=new RegExp("(?:^|\\s)".concat(Fe,"(?!\\S)"),"g")),reClsMap[Fe]}function getNodeOffset(Fe,qe,hn){if(Fe){var vn=Fe.parentNode;if(hn.top+=Fe.offsetTop,hn.left+=Fe.offsetLeft,vn&&vn!==document.documentElement&&vn!==document.body&&(hn.top-=vn.scrollTop,hn.left-=vn.scrollLeft),!(qe&&(Fe===qe||Fe.offsetParent===qe))&&Fe.offsetParent)return getNodeOffset(Fe.offsetParent,qe,hn)}return hn}function isPx(Fe){return Fe&&/^\d+(px)?$/.test(Fe)}function isScale(Fe){return Fe&&/^\d+%$/.test(Fe)}function hasClass(Fe,qe){return Fe&&Fe.className&&Fe.className.match&&Fe.className.match(getClsRE(qe))}function removeClass$1(Fe,qe){Fe&&hasClass(Fe,qe)&&(Fe.className=Fe.className.replace(getClsRE(qe),""))}function addClass$1(Fe,qe){Fe&&!hasClass(Fe,qe)&&(removeClass$1(Fe,qe),Fe.className="".concat(Fe.className," ").concat(qe))}function getDomNode(){var Fe=document.documentElement,qe=document.body;return{scrollTop:Fe.scrollTop||qe.scrollTop,scrollLeft:Fe.scrollLeft||qe.scrollLeft,visibleHeight:Fe.clientHeight||qe.clientHeight,visibleWidth:Fe.clientWidth||qe.clientWidth}}function getOffsetHeight(Fe){return Fe?Fe.offsetHeight:0}function getPaddingTopBottomSize(Fe){if(Fe){var qe=getComputedStyle(Fe),hn=XEUtils$1.toNumber(qe.paddingTop),vn=XEUtils$1.toNumber(qe.paddingBottom);return hn+vn}return 0}function setScrollTop(Fe,qe){Fe&&(Fe.scrollTop=qe)}function setScrollLeft(Fe,qe){Fe&&(Fe.scrollLeft=qe)}function updateCellTitle(Fe,qe){var hn=qe.type==="html"?Fe.innerText:Fe.textContent;Fe.getAttribute("title")!==hn&&Fe.setAttribute("title",hn)}function getEventTargetNode(Fe,qe,hn,vn){for(var bn,wn=Fe.target.shadowRoot&&Fe.composed&&Fe.composedPath()[0]||Fe.target;wn&&wn.nodeType&&wn!==document;){if(hn&&hasClass(wn,hn)&&(!vn||vn(wn)))bn=wn;else if(wn===qe)return{flag:hn?!!bn:!0,container:qe,targetElem:bn};wn=wn.parentNode}return{flag:!1}}function getOffsetPos(Fe,qe){return getNodeOffset(Fe,qe,{left:0,top:0})}function getAbsolutePos(Fe){var qe=Fe.getBoundingClientRect(),hn=qe.top,vn=qe.left,bn=getDomNode(),wn=bn.scrollTop,kn=bn.scrollLeft,_n=bn.visibleHeight,Cn=bn.visibleWidth;return{boundingTop:hn,top:wn+hn,boundingLeft:vn,left:kn+vn,visibleHeight:_n,visibleWidth:Cn}}var scrollIntoViewIfNeeded="scrollIntoViewIfNeeded",scrollIntoView="scrollIntoView";function scrollToView(Fe){Fe&&(Fe[scrollIntoViewIfNeeded]?Fe[scrollIntoViewIfNeeded]():Fe[scrollIntoView]&&Fe[scrollIntoView]())}function triggerEvent$1(Fe,qe){Fe&&Fe.dispatchEvent(new Event(qe))}function isNodeElement(Fe){return Fe&&Fe.nodeType===1}function restoreScrollLocation(Fe,qe,hn){var vn=Fe.internalData;return Fe.clearScroll().then(function(){if(qe||hn)return vn.lastScrollLeft=0,vn.lastScrollTop=0,Fe.scrollTo(qe,hn)})}function removeScrollListener(Fe){Fe&&Fe._onscroll&&(Fe.onscroll=null)}function restoreScrollListener(Fe){Fe&&Fe._onscroll&&(Fe.onscroll=Fe._onscroll)}function getRowUniqueId(){return XEUtils$1.uniqueId("row_")}function getRowkey(Fe){var qe=Fe.props,hn=Fe.getComputeMaps().computeRowOpts,vn=qe.rowId,bn=hn.value;return vn||bn.keyField||"_X_ROW_KEY"}function getRowid(Fe,qe){var hn=XEUtils$1.get(qe,getRowkey(Fe));return XEUtils$1.eqNull(hn)?"":encodeURIComponent(hn)}var handleFieldOrColumn=function(Fe,qe){return qe?XEUtils$1.isString(qe)?Fe.getColumnByField(qe):qe:null};function getPaddingLeftRightSize(Fe){if(Fe){var qe=getComputedStyle(Fe),hn=XEUtils$1.toNumber(qe.paddingLeft),vn=XEUtils$1.toNumber(qe.paddingRight);return hn+vn}return 0}function getElemenMarginWidth(Fe){if(Fe){var qe=getComputedStyle(Fe),hn=XEUtils$1.toNumber(qe.marginLeft),vn=XEUtils$1.toNumber(qe.marginRight);return Fe.offsetWidth+hn+vn}return 0}function queryCellElement(Fe,qe){return Fe.querySelector(".vxe-cell"+qe)}function toFilters(Fe){return Fe&&XEUtils$1.isArray(Fe)?Fe.map(function(qe){var hn=qe.label,vn=qe.value,bn=qe.data,wn=qe.resetValue,kn=qe.checked;return{label:hn,value:vn,data:bn,resetValue:wn,checked:!!kn,_checked:!!kn}}):Fe}function toTreePathSeq(Fe){return Fe.map(function(qe,hn){return hn%2===0?Number(qe)+1:"."}).join("")}function getCellValue(Fe,qe){return XEUtils$1.get(Fe,qe.field)}function setCellValue(Fe,qe,hn){return XEUtils$1.set(Fe,qe.field,hn)}function getColReMinWidth(Fe){var qe=Fe.$table,hn=Fe.column,vn=Fe.cell,bn=qe.props,wn=qe.getComputeMaps().computeResizableOpts,kn=wn.value,_n=kn.minWidth;if(_n){var Cn=XEUtils$1.isFunction(_n)?_n(Fe):_n;if(Cn!=="auto")return Math.max(1,XEUtils$1.toNumber(Cn))}var xn=bn.showHeaderOverflow,En=hn.showHeaderOverflow,$n=hn.minWidth,Sn=XEUtils$1.isUndefined(En)||XEUtils$1.isNull(En)?xn:En,An=Sn==="ellipsis",Tn=Sn==="title",Nn=Sn===!0||Sn==="tooltip",Pn=Tn||Nn||An,On=XEUtils$1.floor((XEUtils$1.toNumber(getComputedStyle(vn).fontSize)||14)*1.6),Rn=getPaddingLeftRightSize(vn)+getPaddingLeftRightSize(queryCellElement(vn,"")),In=On+Rn;if(Pn){var Mn=getPaddingLeftRightSize(queryCellElement(vn,"--title>.vxe-cell--checkbox")),Bn=getElemenMarginWidth(queryCellElement(vn,">.vxe-cell--required-icon")),Dn=getElemenMarginWidth(queryCellElement(vn,">.vxe-cell--edit-icon")),Vn=getElemenMarginWidth(queryCellElement(vn,">.vxe-cell-help-icon")),Ln=getElemenMarginWidth(queryCellElement(vn,">.vxe-cell--sort")),zn=getElemenMarginWidth(queryCellElement(vn,">.vxe-cell--filter"));In+=Mn+Bn+Dn+Vn+zn+Ln}if($n){var Hn=qe.getRefMaps().refTableBody,Fn=Hn.value,Kn=Fn?Fn.$el:null;if(Kn){if(isScale($n)){var Un=Kn.clientWidth-1,Gn=Un/100;return Math.max(In,Math.floor(XEUtils$1.toInteger($n)*Gn))}else if(isPx($n))return Math.max(In,XEUtils$1.toInteger($n))}}return In}function isColumnInfo(Fe){return Fe&&(Fe.constructor===ColumnInfo||Fe instanceof ColumnInfo)}function createColumn(Fe,qe,hn){return isColumnInfo(qe)?qe:reactive(new ColumnInfo(Fe,qe,hn))}function watchColumn(Fe,qe,hn){Object.keys(qe).forEach(function(vn){watch(function(){return qe[vn]},function(bn){hn.update(vn,bn),Fe&&(vn==="filters"?(Fe.setFilter(hn,bn),Fe.handleUpdateDataQueue()):["visible","fixed","width","minWidth","maxWidth"].includes(vn)&&Fe.handleRefreshColumnQueue())})})}function assemColumn(Fe,qe,hn,vn){var bn=Fe.reactData,wn=bn.staticColumns,kn=qe.parentNode,_n=vn?vn.column:null,Cn=_n?_n.children:wn;kn&&Cn&&(Cn.splice(XEUtils$1.arrayIndexOf(kn.children,qe),0,hn),bn.staticColumns=wn.slice(0))}function destroyColumn(Fe,qe){var hn=Fe.reactData,vn=hn.staticColumns,bn=XEUtils$1.findTree(vn,function(wn){return wn.id===qe.id},{children:"children"});bn&&bn.items.splice(bn.index,1),hn.staticColumns=vn.slice(0)}function getRootColumn(Fe,qe){var hn=Fe.internalData,vn=hn.fullColumnIdData;if(!qe)return null;for(var bn=qe.parentId;vn[bn];){var wn=vn[bn].column;if(bn=wn.parentId,!bn)return wn}return qe}function mergeBodyMethod(Fe,qe,hn){for(var vn=0;vn-1&&wn>-1&&_n&&Cn){if(wn===qe&&kn===hn)return{rowspan:_n,colspan:Cn};if(qe>=wn&&qe=kn&&hnSn+$n)return Fe.scrollTo(null,Tn);if(Tn+Nn>=$n+Sn)return Fe.scrollTo(null,Sn+Nn)}else if(wn)return Fe.scrollTo(null,(kn.indexOf(qe)-1)*_n.rowHeight)}return Promise.resolve()}function colToVisible(Fe,qe){var hn=Fe.reactData,vn=Fe.internalData,bn=Fe.getRefMaps().refTableBody,wn=hn.scrollXLoad,kn=vn.visibleColumn,_n=bn.value,Cn=_n?_n.$el:null;if(Cn){var xn=Cn.querySelector(".".concat(qe.id));if(xn){var En=Cn.clientWidth,$n=Cn.scrollLeft,Sn=xn.offsetParent,An=xn.offsetLeft+(Sn?Sn.offsetLeft:0),Tn=xn.clientWidth;if(An<$n||An>$n+En)return Fe.scrollTo(An);if(An+Tn>=En+$n)return Fe.scrollTo($n+Tn)}else if(wn){for(var Nn=0,Pn=0;Pn=Hn.clientHeight&&(so=Math.max(60,Hn.clientHeight-(Yn?Yn.offsetHeight:0)-(Wn?Wn.offsetHeight:0))),An.fixed==="left"?Jn=On.offsetLeft+On.offsetParent.offsetLeft-Xn:An.fixed==="right"?Qn=On.offsetParent.offsetWidth-On.offsetLeft+(On.offsetParent.offsetParent.offsetWidth-On.offsetParent.offsetLeft)-An.renderWidth-Xn:Jn=On.offsetLeft+On.offsetParent.offsetLeft-Xn-Hn.scrollLeft,Jn){var co=Rn+Un-Xn+qn-In;co>0&&(Jn-=co),no.left="".concat(Math.min(jn,Math.max(qn,Jn)),"px")}else if(Qn){var co=Rn+Un-Xn+qn-In;co>0&&(Qn+=co),no.right="".concat(Math.max(qn,Qn),"px")}Pn.style=no,Pn.maxHeight=so})}Fe.dispatchEvent("filter-visible",{column:An,field:An.field,property:An.field,filterList:Fe.getCheckedFilters(),visible:Pn.visible},Sn)},handleClearFilter:function(Sn){if(Sn){var An=Sn.filters,Tn=Sn.filterRender;if(An){var Nn=Tn?VXETable.renderer.get(Tn.name):null,Pn=Sn.filterResetMethod||(Nn?Nn.filterResetMethod:null);An.forEach(function(On){On._checked=!1,On.checked=!1,Pn||(On.data=XEUtils$1.clone(On.resetValue,!0))}),Pn&&Pn({options:An,column:Sn,$table:Fe})}}},confirmFilterEvent:function(Sn){var An=qe.mouseConfig,Tn=hn.filterStore,Nn=hn.scrollXLoad,Pn=hn.scrollYLoad,On=Cn.value,Rn=xn.value,In=Tn.column,Mn=In.field,Bn=[],Dn=[];In.filters.forEach(function(zn){zn.checked&&(Bn.push(zn.value),Dn.push(zn.data))});var Vn=Fe.getCheckedFilters(),Ln={$table:Fe,$event:Sn,column:In,field:Mn,property:Mn,values:Bn,datas:Dn,filters:Vn,filterList:Vn};On.remote||(Fe.handleTableData(!0),Fe.checkSelectionStatus()),An&&Rn.area&&Fe.handleFilterEvent&&Fe.handleFilterEvent(Sn,Ln),Fe.dispatchEvent("filter-change",Ln,Sn),Fe.closeFilter(),Fe.updateFooter().then(function(){var zn=hn.scrollXLoad,Hn=hn.scrollYLoad;if(Nn||zn||Pn||Hn)return(Nn||zn)&&Fe.updateScrollXSpace(),(Pn||Hn)&&Fe.updateScrollYSpace(),Fe.refreshScroll()}).then(function(){return Fe.updateCellAreas(),Fe.recalculate(!0)}).then(function(){setTimeout(function(){return Fe.recalculate()},50)})}},$n={openFilter:function(Sn){var An=handleFieldOrColumn(Fe,Sn);if(An&&An.filters){var Tn=vn.elemStore,Nn=An.fixed;return Fe.scrollToColumn(An).then(function(){var Pn=Tn["".concat(Nn||"main","-header-wrapper")]||Tn["main-header-wrapper"],On=Pn?Pn.value:null;if(On){var Rn=On.querySelector(".vxe-header--column.".concat(An.id," .vxe-filter--btn"));triggerEvent$1(Rn,"click")}})}return nextTick()},setFilter:function(Sn,An){var Tn=handleFieldOrColumn(Fe,Sn);return Tn&&Tn.filters&&(Tn.filters=toFilters(An||[])),nextTick()},clearFilter:function(Sn){var An=hn.filterStore,Tn=vn.tableFullColumn,Nn=Cn.value,Pn;return Sn?(Pn=handleFieldOrColumn(Fe,Sn),Pn&&En.handleClearFilter(Pn)):Tn.forEach(En.handleClearFilter),(!Sn||Pn!==An.column)&&Object.assign(An,{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1}),Nn.remote?nextTick():Fe.updateData()},getCheckedFilters:function(){var Sn=vn.tableFullColumn,An=[];return Sn.forEach(function(Tn){var Nn=Tn.field,Pn=Tn.filters,On=[],Rn=[];Pn&&Pn.length&&(Pn.forEach(function(In){In.checked&&(On.push(In.value),Rn.push(In.data))}),On.length&&An.push({column:Tn,field:Nn,property:Nn,values:On,datas:Rn}))}),An}};return __assign$i(__assign$i({},$n),En)},setupGrid:function(Fe){return Fe.extendTableMethods(tableFilterMethodKeys)}},dynamicContainerElem,dynamicStore=reactive({modals:[]}),VxeDynamics=defineComponent({setup:function(){return function(){var Fe=dynamicStore.modals;return h$6("div",{class:"vxe-dynamics--modal"},Fe.map(function(qe){return h$6(resolveComponent("vxe-modal"),qe)}))}}}),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(Fe){VXETable.hooks.add("$tableFilter",tableFilterHook),Fe.component(PanelComponent$1.name,PanelComponent$1)}},Filter=VxeModuleFilter;dynamicApp.component(PanelComponent$1.name,PanelComponent$1);const PanelComponent=defineComponent({name:"VxeTableContextMenu",setup:function(Fe,qe){var hn=XEUtils$1.uniqueId(),vn=inject("$xetable",{}),bn=vn.reactData,wn=ref(),kn={refElem:wn},_n={xID:hn,props:Fe,context:qe,getRefMaps:function(){return kn}},Cn=function(){var xn=bn.ctxMenuStore,En=vn.getComputeMaps().computeMenuOpts,$n=En.value;return h$6(Teleport,{to:"body",disabled:!1},[h$6("div",{ref:wn,class:["vxe-table--context-menu-wrapper",$n.className,{"is--visible":xn.visible}],style:xn.style},xn.list.map(function(Sn,An){return Sn.every(function(Tn){return Tn.visible===!1})?createCommentVNode():h$6("ul",{class:"vxe-context-menu--option-wrapper",key:An},Sn.map(function(Tn,Nn){var Pn=Tn.children&&Tn.children.some(function(On){return On.visible!==!1});return Tn.visible===!1?null:h$6("li",{class:[Tn.className,{"link--disabled":Tn.disabled,"link--active":Tn===xn.selected}],key:"".concat(An,"_").concat(Nn)},[h$6("a",{class:"vxe-context-menu--link",onClick:function(On){vn.ctxMenuLinkEvent(On,Tn)},onMouseover:function(On){vn.ctxMenuMouseoverEvent(On,Tn)},onMouseout:function(On){vn.ctxMenuMouseoutEvent(On,Tn)}},[h$6("i",{class:["vxe-context-menu--link-prefix",Tn.prefixIcon]}),h$6("span",{class:"vxe-context-menu--link-content"},getFuncText(Tn.name)),h$6("i",{class:["vxe-context-menu--link-suffix",Pn?Tn.suffixIcon||"suffix--haschild":Tn.suffixIcon]})]),Pn?h$6("ul",{class:["vxe-table--context-menu-clild-wrapper",{"is--show":Tn===xn.selected&&xn.showChild}]},Tn.children.map(function(On,Rn){return On.visible===!1?null:h$6("li",{class:[On.className,{"link--disabled":On.disabled,"link--active":On===xn.selectChild}],key:"".concat(An,"_").concat(Nn,"_").concat(Rn)},[h$6("a",{class:"vxe-context-menu--link",onClick:function(In){vn.ctxMenuLinkEvent(In,On)},onMouseover:function(In){vn.ctxMenuMouseoverEvent(In,Tn,On)},onMouseout:function(In){vn.ctxMenuMouseoutEvent(In,Tn)}},[h$6("i",{class:["vxe-context-menu--link-prefix",On.prefixIcon]}),h$6("span",{class:"vxe-context-menu--link-content"},getFuncText(On.name))])])})):null])}))}))])};return _n.renderVN=Cn,_n},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(Fe,qe){var hn=Fe.key;return qe=qe.toLowerCase(),hn?qe===hn.toLowerCase()||!!(convertEventKeys[hn]&&convertEventKeys[hn].toLowerCase()===qe):!1};function triggerEvent(Fe){var qe=Fe.type===wheelName;eventStore$1.forEach(function(hn){var vn=hn.type,bn=hn.cb;Fe.cancelBubble||(vn===Fe.type||qe&&vn==="mousewheel")&&bn(Fe)})}var GlobalEvent={on:function(Fe,qe,hn){eventStore$1.push({comp:Fe,type:qe,cb:hn})},off:function(Fe,qe){XEUtils$1.remove(eventStore$1,function(hn){return hn.comp===Fe&&hn.type===qe})},trigger:triggerEvent,eqKeypad:function(Fe,qe){var hn=Fe.key;return qe.toLowerCase()===hn.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$1.throttle(triggerEvent,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));var __assign$h=function(){return __assign$h=Object.assign||function(Fe){for(var qe,hn=1,vn=arguments.length;hn-10&&(In.style.top="".concat(Math.max(Fn+2,Wn-so-2),"px")),go>-10&&(In.style.left="".concat(Math.max(Kn+2,Yn-co-2),"px"))})},qn=Rn.keyboard,jn=Rn.row,Jn=Rn.column;qn&&jn&&Jn?Fe.scrollToRow(jn,Jn).then(function(){var Qn=Fe.getCell(jn,Jn);if(Qn){var no=getAbsolutePos(Qn),so=no.boundingTop,co=no.boundingLeft;Wn=so+Fn+Math.floor(Qn.offsetHeight/2),Yn=co+Kn+Math.floor(Qn.offsetWidth/2)}Xn()}):Xn()}else An.closeMenu()}))}Fe.closeFilter()};return An={closeMenu:function(){return Object.assign(vn.ctxMenuStore,{visible:!1,selected:null,selectChild:null,showChild:!1}),nextTick()}},Tn={moveCtxMenu:function(Pn,On,Rn,In,Mn,Bn){var Dn,Vn=XEUtils$1.findIndexOf(Bn,function(Hn){return On[Rn]===Hn});if(In)Mn&&hasChildrenList(On.selected)?On.showChild=!0:(On.showChild=!1,On.selectChild=null);else if(hasEventKey(Pn,EVENT_KEYS.ARROW_UP)){for(var Ln=Vn-1;Ln>=0;Ln--)if(Bn[Ln].visible!==!1){Dn=Bn[Ln];break}On[Rn]=Dn||Bn[Bn.length-1]}else if(hasEventKey(Pn,EVENT_KEYS.ARROW_DOWN)){for(var zn=Vn+1;znHn-10&&(Un="auto",Gn="".concat(In.offsetWidth,"px"));var Wn="",Yn="";Fn+Bn.offsetHeight>zn-10&&(Wn="auto",Yn="0"),Bn.style.left=Un,Bn.style.right=Gn,Bn.style.top=Wn,Bn.style.bottom=Yn}}))},ctxMenuMouseoutEvent:function(Pn,On){var Rn=vn.ctxMenuStore;On.children||(Rn.selected=null),Rn.selectChild=null},ctxMenuLinkEvent:function(Pn,On){if(!On.disabled&&(On.code||!On.children||!On.children.length)){var Rn=VXETable.menus.get(On.code),In=Object.assign({},bn._currMenuParams,{menu:On,$table:Fe,$grid:Fe.xegrid,$event:Pn});Rn&&Rn.menuMethod&&Rn.menuMethod(In,Pn),Fe.dispatchEvent("menu-click",In,Pn),An.closeMenu()}}},__assign$h(__assign$h({},An),Tn)},setupGrid:function(Fe){return Fe.extendTableMethods(tableMenuMethodKeys)}},VxeModuleMenu={Panel:PanelComponent,install:function(Fe){VXETable.hooks.add("$tableMenu",tableMenuHook),Fe.component(PanelComponent.name,PanelComponent)}},Menu=VxeModuleMenu;dynamicApp.component(PanelComponent.name,PanelComponent);var __assign$g=function(){return __assign$g=Object.assign||function(Fe){for(var qe,hn=1,vn=arguments.length;hn0&&(go.row=yo+qn.length)}));else if(In===-1)Bn&&Gn?Pn(qn,!0):(zn.push.apply(zn,qn),Hn.push.apply(Hn,qn),Dn.forEach(function(go){var yo=go.row,Bo=go.rowspan;yo+Bo>zn.length&&(go.rowspan=Bo+qn.length)}));else if(Bn&&Gn){var jn=XEUtils$1.findTree(Ln,function(go){return In[Wn]===go[Wn]},{children:Yn});if(jn){var Jn=jn.parent,Qn=Jn?Jn[Yn]:Ln,no=Kn[getRowid(Fe,Jn)],so=no?no.level:0;if(qn.forEach(function(go,yo){var Bo=getRowid(Fe,go);Jn&&(go[Un.parentField]=Jn[Wn]);var ro=jn.index+yo;Mn&&(ro=ro+1),Qn.splice(ro,0,go);var eo={row:go,rowid:Bo,seq:-1,index:-1,_index:-1,$index:-1,items:Qn,parent:Jn,level:so+1};Fn[Bo]=eo,Kn[Bo]=eo}),Jn){var co=XEUtils$1.findTree(Ln,function(go){return In[Wn]===go[Wn]},{children:Xn});if(co){var mo=co.items,fo=co.index;Mn&&(fo=fo+1),mo.splice.apply(mo,__spreadArray$5([fo,0],qn,!1))}}}else Pn(qn,!0)}else{if(Bn)throw new Error(getLog("vxe.error.noTree",["insert"]));var io=-1;if(XEUtils$1.isNumber(In)?Inio?go.row=yo+qn.length:yo+Bo>io&&(go.rowspan=Bo+qn.length)})}var ao=Vn.insertMaps;return qn.forEach(function(go){var yo=getRowid(Fe,go);ao[yo]=go}),Fe.cacheRowMap(),Fe.updateScrollYStatus(),Fe.handleTableData(Bn&&Gn),Bn&&Gn||Fe.updateAfterDataIndex(),Fe.updateFooter(),Fe.checkSelectionStatus(),hn.scrollYLoad&&Fe.updateScrollYSpace(),nextTick().then(function(){return Fe.updateCellAreas(),Fe.recalculate()}).then(function(){return{row:qn.length?qn[qn.length-1]:null,rows:qn}})};return En={insert:function(Rn){return On(Rn,null)},insertAt:function(Rn,In){return On(Rn,In)},insertNextAt:function(Rn,In){return On(Rn,In,!0)},remove:function(Rn){var In=qe.treeConfig,Mn=hn.mergeList,Bn=hn.editStore,Dn=hn.selectCheckboxMaps,Vn=vn.tableFullTreeData,Ln=vn.afterFullData,zn=vn.tableFullData,Hn=Cn.value,Fn=xn.value,Kn=Fn.transform,Un=Fn.mapChildrenField,Gn=Fn.children||Fn.childrenField,Wn=Bn.actived,Yn=Bn.removeMaps,Xn=Bn.insertMaps,qn=Hn.checkField,jn=[];if(Rn?XEUtils$1.isArray(Rn)||(Rn=[Rn]):Rn=zn,Rn.forEach(function(Qn){if(!Fe.isInsertByRow(Qn)){var no=getRowid(Fe,Qn);Yn[no]=Qn}}),!qn){var Jn=__assign$g({},Dn);Rn.forEach(function(Qn){var no=getRowid(Fe,Qn);Jn[no]&&delete Jn[no]}),hn.selectCheckboxMaps=Jn}return zn===Rn?(Rn=jn=zn.slice(0),vn.tableFullData=[],vn.afterFullData=[],Fe.clearMergeCells()):In&&Kn?Rn.forEach(function(Qn){var no=getRowid(Fe,Qn),so=XEUtils$1.findTree(Vn,function(io){return no===getRowid(Fe,io)},{children:Un});if(so){var co=so.items.splice(so.index,1);jn.push(co[0])}var mo=XEUtils$1.findTree(Vn,function(io){return no===getRowid(Fe,io)},{children:Gn});mo&&mo.items.splice(mo.index,1);var fo=Fe.findRowIndexOf(Ln,Qn);fo>-1&&Ln.splice(fo,1)}):Rn.forEach(function(Qn){var no=Fe.findRowIndexOf(zn,Qn);if(no>-1){var so=zn.splice(no,1);jn.push(so[0])}var co=Fe.findRowIndexOf(Ln,Qn);co>-1&&(Mn.forEach(function(mo){var fo=mo.row,io=mo.rowspan;fo>co?mo.row=fo-1:fo+io>co&&(mo.rowspan=io-1)}),Ln.splice(co,1))}),Wn.row&&Fe.findRowIndexOf(Rn,Wn.row)>-1&&En.clearEdit(),Rn.forEach(function(Qn){var no=getRowid(Fe,Qn);Xn[no]&&delete Xn[no]}),Fe.updateFooter(),Fe.cacheRowMap(),Fe.handleTableData(In&&Kn),In&&Kn||Fe.updateAfterDataIndex(),Fe.checkSelectionStatus(),hn.scrollYLoad&&Fe.updateScrollYSpace(),nextTick().then(function(){return Fe.updateCellAreas(),Fe.recalculate()}).then(function(){return{row:jn.length?jn[jn.length-1]:null,rows:jn}})},removeCheckboxRow:function(){return En.remove(Fe.getCheckboxRecords()).then(function(Rn){return Fe.clearCheckboxRow(),Rn})},removeRadioRow:function(){var Rn=Fe.getRadioRecord();return En.remove(Rn||[]).then(function(In){return Fe.clearRadioRow(),In})},removeCurrentRow:function(){var Rn=Fe.getCurrentRecord();return En.remove(Rn||[]).then(function(In){return Fe.clearCurrentRow(),In})},getRecordset:function(){return{insertRecords:En.getInsertRecords(),removeRecords:En.getRemoveRecords(),updateRecords:En.getUpdateRecords()}},getInsertRecords:function(){var Rn=hn.editStore,In=vn.fullAllDataRowIdData,Mn=Rn.insertMaps,Bn=[];return XEUtils$1.each(Mn,function(Dn,Vn){In[Vn]&&Bn.push(Dn)}),Bn},getRemoveRecords:function(){var Rn=hn.editStore,In=Rn.removeMaps,Mn=[];return XEUtils$1.each(In,function(Bn){Mn.push(Bn)}),Mn},getUpdateRecords:function(){var Rn=qe.keepSource,In=qe.treeConfig,Mn=vn.tableFullData,Bn=xn.value;return Rn?(Nn(),In?XEUtils$1.filterTree(Mn,function(Dn){return Fe.isUpdateByRow(Dn)},Bn):Mn.filter(function(Dn){return Fe.isUpdateByRow(Dn)})):[]},getActiveRecord:function(){return this.getEditRecord()},getEditRecord:function(){var Rn=hn.editStore,In=vn.afterFullData,Mn=bn.value,Bn=Rn.actived,Dn=Bn.args,Vn=Bn.row;return Dn&&Fe.findRowIndexOf(In,Vn)>-1&&Mn.querySelectorAll(".vxe-body--column.col--actived").length?Object.assign({},Dn):null},getSelectedCell:function(){var Rn=hn.editStore,In=Rn.selected,Mn=In.args,Bn=In.column;return Mn&&Bn?Object.assign({},Mn):null},clearActived:function(Rn){return this.clearEdit(Rn)},clearEdit:function(Rn){var In=hn.editStore,Mn=In.actived,Bn=Mn.row,Dn=Mn.column;return(Bn||Dn)&&(Nn(),Mn.args=null,Mn.row=null,Mn.column=null,Fe.updateFooter(),Fe.dispatchEvent("edit-closed",{row:Bn,rowIndex:Fe.getRowIndex(Bn),$rowIndex:Fe.getVMRowIndex(Bn),column:Dn,columnIndex:Fe.getColumnIndex(Dn),$columnIndex:Fe.getVMColumnIndex(Dn)},Rn||null)),GlobalConfig.cellVaildMode==="obsolete"&&Fe.clearValidate?Fe.clearValidate():nextTick()},clearSelected:function(){var Rn=hn.editStore,In=Rn.selected;return In.row=null,In.column=null,Tn(),nextTick()},isActiveByRow:function(Rn){return this.isEditByRow(Rn)},isEditByRow:function(Rn){var In=hn.editStore;return In.actived.row===Rn},setActiveRow:function(Rn){return En.setEditRow(Rn)},setEditRow:function(Rn){var In=vn.visibleColumn;return Fe.setEditCell(Rn,XEUtils$1.find(In,function(Mn){return isEnableConf(Mn.editRender)}))},setActiveCell:function(Rn,In){return En.setEditCell(Rn,In)},setEditCell:function(Rn,In){var Mn=qe.editConfig,Bn=XEUtils$1.isString(In)?Fe.getColumnByField(In):In;return Rn&&Bn&&isEnableConf(Mn)&&isEnableConf(Bn.editRender)?Fe.scrollToRow(Rn,Bn).then(function(){var Dn=Fe.getCell(Rn,Bn);return Dn&&($n.handleActived({row:Rn,rowIndex:Fe.getRowIndex(Rn),column:Bn,columnIndex:Fe.getColumnIndex(Bn),cell:Dn,$table:Fe}),vn._lastCallTime=Date.now()),nextTick()}):nextTick()},setSelectCell:function(Rn,In){var Mn=hn.tableData,Bn=_n.value,Dn=XEUtils$1.isString(In)?Fe.getColumnByField(In):In;if(Rn&&Dn&&Bn.trigger!=="manual"){var Vn=Fe.findRowIndexOf(Mn,Rn);if(Vn>-1&&Dn){var Ln=Fe.getCell(Rn,Dn),zn={row:Rn,rowIndex:Vn,column:Dn,columnIndex:Fe.getColumnIndex(Dn),cell:Ln};Fe.handleSelected(zn,{})}}return nextTick()}},$n={handleActived:function(Rn,In){var Mn=qe.editConfig,Bn=qe.mouseConfig,Dn=hn.editStore,Vn=hn.tableColumn,Ln=_n.value,zn=Ln.mode,Hn=Dn.actived,Fn=Rn.row,Kn=Rn.column,Un=Kn.editRender,Gn=Rn.cell||Fe.getCell(Fn,Kn),Wn=Ln.beforeEditMethod||Ln.activeMethod;if(Rn.cell=Gn,isEnableConf(Mn)&&isEnableConf(Un)&&Gn){if(Hn.row!==Fn||zn==="cell"&&Hn.column!==Kn){var Yn="edit-disabled";(!Wn||Wn(__assign$g(__assign$g({},Rn),{$table:Fe})))&&(Bn&&(En.clearSelected(),Fe.clearCellAreas&&(Fe.clearCellAreas(),Fe.clearCopyCellArea())),Fe.closeTooltip(),Hn.column&&En.clearEdit(In),Yn="edit-actived",Kn.renderHeight=Gn.offsetHeight,Hn.args=Rn,Hn.row=Fn,Hn.column=Kn,zn==="row"?Vn.forEach(function(jn){return Sn(Fn,jn)}):Sn(Fn,Kn),nextTick(function(){$n.handleFocus(Rn,In)})),Fe.dispatchEvent(Yn,{row:Fn,rowIndex:Fe.getRowIndex(Fn),$rowIndex:Fe.getVMRowIndex(Fn),column:Kn,columnIndex:Fe.getColumnIndex(Kn),$columnIndex:Fe.getVMColumnIndex(Kn)},In)}else{var Xn=Hn.column;if(Bn&&(En.clearSelected(),Fe.clearCellAreas&&(Fe.clearCellAreas(),Fe.clearCopyCellArea())),Xn!==Kn){var qn=Xn.model;qn.update&&setCellValue(Fn,Xn,qn.value),Fe.clearValidate&&Fe.clearValidate(Fn,Kn)}Kn.renderHeight=Gn.offsetHeight,Hn.args=Rn,Hn.column=Kn,setTimeout(function(){$n.handleFocus(Rn,In)})}Fe.focus()}return nextTick()},handleFocus:function(Rn){var In=Rn.row,Mn=Rn.column,Bn=Rn.cell,Dn=Mn.editRender;if(isEnableConf(Dn)){var Vn=renderer.get(Dn.name),Ln=Dn.autofocus,zn=Dn.autoselect,Hn=void 0;if(!Ln&&Vn&&(Ln=Vn.autofocus),!zn&&Vn&&(zn=Vn.autoselect),XEUtils$1.isFunction(Ln)?Hn=Ln.call(this,Rn):Ln&&(Hn=Bn.querySelector(Ln),Hn&&Hn.focus()),Hn){if(zn)Hn.select();else if(browse.msie){var Fn=Hn.createTextRange();Fn.collapse(!1),Fn.select()}}else Fe.scrollToRow(In,Mn)}},handleSelected:function(Rn,In){var Mn=qe.mouseConfig,Bn=hn.editStore,Dn=kn.value,Vn=_n.value,Ln=Bn.actived,zn=Bn.selected,Hn=Rn.row,Fn=Rn.column,Kn=Mn&&Dn.selected,Un=function(){return Kn&&(zn.row!==Hn||zn.column!==Fn)&&(Ln.row!==Hn||Vn.mode==="cell"&&Ln.column!==Fn)&&(En.clearEdit(In),En.clearSelected(),Fe.clearCellAreas&&(Fe.clearCellAreas(),Fe.clearCopyCellArea()),zn.args=Rn,zn.row=Hn,zn.column=Fn,Kn&&$n.addCellSelectedClass(),Fe.focus(),In&&Fe.dispatchEvent("cell-selected",Rn,In)),nextTick()};return Un()},addCellSelectedClass:function(){var Rn=hn.editStore,In=Rn.selected,Mn=In.row,Bn=In.column;if(Tn(),Mn&&Bn){var Dn=Fe.getCell(Mn,Bn);Dn&&addClass$1(Dn,"col--selected")}}},__assign$g(__assign$g({},En),$n)},setupGrid:function(Fe){return Fe.extendTableMethods(tableEditMethodKeys)}},VxeModuleEdit={install:function(){VXETable.hooks.add("$tableEdit",editHook)}},Edit=VxeModuleEdit;function useSize(Fe){var qe=inject("xesize",null),hn=computed(function(){return Fe.size||(qe?qe.value:null)});return provide("xesize",hn),hn}const VxeButtonComponent=defineComponent({name:"VxeButton",props:{type:String,className:[String,Function],popupClassName:[String,Function],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(Fe,qe){var hn=qe.slots,vn=qe.emit,bn=XEUtils$1.uniqueId(),wn=useSize(Fe),kn=reactive({inited:!1,showPanel:!1,animatVisible:!1,panelIndex:0,panelStyle:{},panelPlacement:""}),_n={showTime:null},Cn=ref(),xn=ref(),En=ref(),$n={refElem:Cn},Sn={xID:bn,props:Fe,context:qe,reactData:kn,internalData:_n,getRefMaps:function(){return $n}},An={},Tn=computed(function(){var Fn=Fe.type;return Fn?["submit","reset","button"].indexOf(Fn)>-1:!1}),Nn=computed(function(){var Fn=Fe.type;return Fn&&Fn==="text"?Fn:"button"}),Pn=function(){kn.panelIndexfo&&(ao="top",yo=so-qn),yoio&&(go-=go+jn+Jn-io),gofo&&mo-Yn-qn>Jn&&(ao="top",Qn.bottom="".concat(Yn,"px"));return kn.panelStyle=Qn,kn.panelPlacement=ao,nextTick()}})},Rn=function(Fn){An.dispatchEvent("click",{$event:Fn},Fn)},In=function(Fn){var Kn=Fn.button===0;Kn&&Fn.stopPropagation()},Mn=function(Fn){var Kn=Fn.currentTarget,Un=En.value,Gn=getEventTargetNode(Fn,Kn,"vxe-button"),Wn=Gn.flag,Yn=Gn.targetElem;Wn&&(Un&&(Un.dataset.active="N"),kn.showPanel=!1,setTimeout(function(){(!Un||Un.dataset.active!=="Y")&&(kn.animatVisible=!1)},350),An.dispatchEvent("dropdown-click",{name:Yn.getAttribute("name"),$event:Fn},Fn))},Bn=function(){var Fn=En.value;Fn&&(Fn.dataset.active="Y",kn.animatVisible=!0,setTimeout(function(){Fn.dataset.active==="Y"&&(kn.showPanel=!0,Pn(),On(),setTimeout(function(){kn.showPanel&&On()},50))},20))},Dn=function(){var Fn=En.value;Fn&&(Fn.dataset.active="Y",kn.inited||(kn.inited=!0),_n.showTime=setTimeout(function(){Fn.dataset.active==="Y"?Bn():kn.animatVisible=!1},250))},Vn=function(){var Fn=En.value;clearTimeout(_n.showTime),Fn?(Fn.dataset.active="N",setTimeout(function(){Fn.dataset.active!=="Y"&&(kn.showPanel=!1,setTimeout(function(){Fn.dataset.active!=="Y"&&(kn.animatVisible=!1)},350))},100)):(kn.animatVisible=!1,kn.showPanel=!1)},Ln=function(){Vn()},zn=function(){var Fn=Fe.content,Kn=Fe.icon,Un=Fe.loading,Gn=[];return Un?Gn.push(h$6("i",{class:["vxe-button--loading-icon",GlobalConfig.icon.BUTTON_LOADING]})):hn.icon?Gn.push(h$6("span",{class:"vxe-button--custom-icon"},hn.icon({}))):Kn&&Gn.push(h$6("i",{class:["vxe-button--icon",Kn]})),hn.default?Gn.push(h$6("span",{class:"vxe-button--content"},hn.default({}))):Fn&&Gn.push(h$6("span",{class:"vxe-button--content"},getFuncText(Fn))),Gn};An={dispatchEvent:function(Fn,Kn,Un){vn(Fn,Object.assign({$button:Sn,$event:Un},Kn))},focus:function(){var Fn=xn.value;return Fn.focus(),nextTick()},blur:function(){var Fn=xn.value;return Fn.blur(),nextTick()}},Object.assign(Sn,An),onMounted(function(){GlobalEvent.on(Sn,"mousewheel",function(Fn){var Kn=En.value;kn.showPanel&&!getEventTargetNode(Fn,Kn).flag&&Vn()})}),onUnmounted(function(){GlobalEvent.off(Sn,"mousewheel")});var Hn=function(){var Fn,Kn,Un,Gn,Wn=Fe.className,Yn=Fe.popupClassName,Xn=Fe.transfer,qn=Fe.type,jn=Fe.round,Jn=Fe.circle,Qn=Fe.destroyOnClose,no=Fe.status,so=Fe.name,co=Fe.disabled,mo=Fe.loading,fo=kn.inited,io=kn.showPanel,ao=Tn.value,go=Nn.value,yo=wn.value;return hn.dropdowns?h$6("div",{ref:Cn,class:["vxe-button--dropdown",Wn?XEUtils$1.isFunction(Wn)?Wn({$button:Sn}):Wn:"",(Fn={},Fn["size--".concat(yo)]=yo,Fn["is--active"]=io,Fn)]},[h$6("button",{ref:xn,class:["vxe-button","type--".concat(go),(Kn={},Kn["size--".concat(yo)]=yo,Kn["theme--".concat(no)]=no,Kn["is--round"]=jn,Kn["is--circle"]=Jn,Kn["is--disabled"]=co||mo,Kn["is--loading"]=mo,Kn)],name:so,type:ao?qn:"button",disabled:co||mo,onMouseenter:Dn,onMouseleave:Ln,onClick:Rn},zn().concat([h$6("i",{class:"vxe-button--dropdown-arrow ".concat(GlobalConfig.icon.BUTTON_DROPDOWN)})])),h$6(Teleport,{to:"body",disabled:Xn?!fo:!0},[h$6("div",{ref:En,class:["vxe-button--dropdown-panel",Yn?XEUtils$1.isFunction(Yn)?Yn({$button:Sn}):Yn:"",(Un={},Un["size--".concat(yo)]=yo,Un["animat--leave"]=kn.animatVisible,Un["animat--enter"]=io,Un)],placement:kn.panelPlacement,style:kn.panelStyle},fo?[h$6("div",{class:"vxe-button--dropdown-wrapper",onMousedown:In,onClick:Mn,onMouseenter:Bn,onMouseleave:Ln},Qn&&!io?[]:hn.dropdowns({}))]:[])])]):h$6("button",{ref:xn,class:["vxe-button","type--".concat(go),(Gn={},Gn["size--".concat(yo)]=yo,Gn["theme--".concat(no)]=no,Gn["is--round"]=jn,Gn["is--circle"]=Jn,Gn["is--disabled"]=co||mo,Gn["is--loading"]=mo,Gn)],name:so,type:ao?qn:"button",disabled:co||mo,onClick:Rn},zn())};return Sn.renderVN=Hn,Sn},render:function(){return this.renderVN()}}),VxeLoadingComponent=defineComponent({name:"VxeLoading",props:{modelValue:Boolean,icon:String,text:String},setup:function(Fe,qe){var hn=qe.slots,vn=computed(function(){return Fe.icon||GlobalConfig.icon.LOADING}),bn=computed(function(){var wn=GlobalConfig.loadingText;return Fe.text||(wn===null?wn:GlobalConfig.i18n("vxe.loading.text"))});return function(){var wn=vn.value,kn=bn.value;return h$6("div",{class:["vxe-loading",{"is--visible":Fe.modelValue}]},hn.default?[h$6("div",{class:"vxe-loading--warpper"},hn.default({}))]:[h$6("div",{class:"vxe-loading--chunk"},[wn?h$6("i",{class:wn}):h$6("div",{class:"vxe-loading--spinner"}),kn?h$6("div",{class:"vxe-loading--text"},"".concat(kn)):null])])}}});var VxeLoading=Object.assign(VxeLoadingComponent,{install:function(Fe){Fe.component(VxeLoadingComponent.name,VxeLoadingComponent)}}),__assign$f=function(){return __assign$f=Object.assign||function(Fe){for(var qe,hn=1,vn=arguments.length;hn-1&&XEUtils$1.remove(msgQueue,function(eo){return eo===Sn}),In()},Bn=function(eo){var lo=Fe.remember,ho=Fe.beforeHideMethod,Io=kn.visible,Po=Tn.value,ko={type:eo};return Io&&Promise.resolve(ho?ho(ko):null).then(function(xo){XEUtils$1.isError(xo)||(Po&&Mn(),kn.contentVisible=!1,lo||(kn.zoomLocat=null),XEUtils$1.remove(allActivedModals,function(Ao){return Ao===Sn}),An.dispatchEvent("before-hide",ko),setTimeout(function(){kn.visible=!1,vn("update:modelValue",!1),An.dispatchEvent("hide",ko)},200))}).catch(function(xo){return xo}),nextTick()},Dn=function(eo){var lo="close";An.dispatchEvent(lo,{type:lo},eo),Bn(lo)},Vn=function(eo){var lo="confirm";An.dispatchEvent(lo,{type:lo},eo),Bn(lo)},Ln=function(eo){var lo="cancel";An.dispatchEvent(lo,{type:lo},eo),Bn(lo)},zn=function(eo){var lo=GlobalConfig.version,ho=XEUtils$1.toStringJSON(localStorage.getItem(eo)||"");return ho&&ho._v===lo?ho:{_v:lo}},Hn=function(){var eo=Fe.id,lo=Fe.remember,ho=Fe.storage,Io=Fe.storageKey;return!!(eo&&lo&&ho&&zn(Io)[eo])},Fn=function(){var eo=Fe.id,lo=Fe.remember,ho=Fe.storage,Io=Fe.storageKey;if(eo&&lo&&ho){var Po=zn(Io)[eo];if(Po){var ko=Nn(),xo=Po.split(","),Ao=xo[0],vo=xo[1],qo=xo[2],jo=xo[3],Ko=xo[4],bo=xo[5],wo=xo[6],zo=xo[7];Ao&&(ko.style.left="".concat(Ao,"px")),vo&&(ko.style.top="".concat(vo,"px")),qo&&(ko.style.width="".concat(qo,"px")),jo&&(ko.style.height="".concat(jo,"px")),Ko&&bo&&(kn.zoomLocat={left:Ko,top:bo,width:wo,height:zo})}}},Kn=function(){msgQueue.indexOf(Sn)===-1&&msgQueue.push(Sn),In()},Un=function(){var eo=Fe.id,lo=Fe.remember,ho=Fe.storage,Io=Fe.storageKey,Po=kn.zoomLocat;if(eo&&lo&&ho){var ko=Nn(),xo=zn(Io);xo[eo]=[ko.style.left,ko.style.top,ko.style.width,ko.style.height].concat(Po?[Po.left,Po.top,Po.width,Po.height]:[]).map(function(Ao){return Ao?XEUtils$1.toNumber(Ao):""}).join(","),localStorage.setItem(Io,XEUtils$1.toJSONString(xo))}},Gn=function(){return nextTick().then(function(){if(!kn.zoomLocat){var eo=Math.max(0,XEUtils$1.toNumber(Fe.marginSize)),lo=Nn(),ho=getDomNode(),Io=ho.visibleHeight,Po=ho.visibleWidth;kn.zoomLocat={top:lo.offsetTop,left:lo.offsetLeft,width:lo.offsetWidth+(lo.style.width?0:1),height:lo.offsetHeight+(lo.style.height?0:1)},Object.assign(lo.style,{top:"".concat(eo,"px"),left:"".concat(eo,"px"),width:"".concat(Po-eo*2,"px"),height:"".concat(Io-eo*2,"px")}),Un()}})},Wn=function(){var eo=Fe.duration,lo=Fe.remember,ho=Fe.showFooter,Io=kn.inited,Po=kn.visible,ko=Tn.value;return Io||(kn.inited=!0),Po||(lo||Pn(),kn.visible=!0,kn.contentVisible=!1,On(),allActivedModals.push(Sn),setTimeout(function(){kn.contentVisible=!0,nextTick(function(){if(ho){var xo=xn.value,Ao=En.value,vo=xo||Ao;vo&&vo.focus()}var qo="",jo={type:qo};vn("update:modelValue",!0),An.dispatchEvent("show",jo)})},10),ko?(Kn(),eo!==-1&&setTimeout(function(){return Bn("close")},XEUtils$1.toNumber(eo))):nextTick(function(){var xo=Fe.fullscreen,Ao=kn.firstOpen;(!lo||Ao)&&Rn().then(function(){setTimeout(function(){return Rn()},20)}),Ao?(kn.firstOpen=!1,Hn()?Fn():xo&&nextTick(function(){return Gn()})):xo&&nextTick(function(){return Gn()})})),nextTick()},Yn=function(eo){var lo=_n.value;if(Fe.maskClosable&&eo.target===lo){var ho="mask";Bn(ho)}},Xn=function(eo){var lo=hasEventKey(eo,EVENT_KEYS.ESCAPE);if(lo){var ho=XEUtils$1.max(allActivedModals,function(Io){return Io.reactData.modalZindex});ho&&setTimeout(function(){ho===Sn&&ho.props.escClosable&&Bn("exit")},10)}},qn=function(){return!!kn.zoomLocat},jn=function(){return nextTick().then(function(){var eo=kn.zoomLocat;if(eo){var lo=Nn();kn.zoomLocat=null,Object.assign(lo.style,{top:"".concat(eo.top,"px"),left:"".concat(eo.left,"px"),width:"".concat(eo.width,"px"),height:"".concat(eo.height,"px")}),Un()}})},Jn=function(){return kn.zoomLocat?jn().then(function(){return qn()}):Gn().then(function(){return qn()})},Qn=function(eo){var lo=kn.zoomLocat,ho={type:lo?"revert":"max"};return Jn().then(function(){An.dispatchEvent("zoom",ho,eo)})},no=function(){var eo=Tn.value;if(!eo){var lo=Nn();if(lo)return{top:lo.offsetTop,left:lo.offsetLeft}}return null},so=function(eo,lo){var ho=Tn.value;if(!ho){var Io=Nn();XEUtils$1.isNumber(eo)&&(Io.style.top="".concat(eo,"px")),XEUtils$1.isNumber(lo)&&(Io.style.left="".concat(lo,"px"))}return nextTick()},co=function(){var eo=kn.modalZindex;allActivedModals.some(function(lo){return lo.reactData.visible&&lo.reactData.modalZindex>eo})&&On()},mo=function(eo){var lo=Fe.remember,ho=Fe.storage,Io=kn.zoomLocat,Po=XEUtils$1.toNumber(Fe.marginSize),ko=Nn();if(!Io&&eo.button===0&&!getEventTargetNode(eo,ko,"trigger--btn").flag){eo.preventDefault();var xo=document.onmousemove,Ao=document.onmouseup,vo=eo.clientX-ko.offsetLeft,qo=eo.clientY-ko.offsetTop,jo=getDomNode(),Ko=jo.visibleHeight,bo=jo.visibleWidth;document.onmousemove=function(wo){wo.preventDefault();var zo=ko.offsetWidth,Yo=ko.offsetHeight,_o=Po,Fo=bo-zo-Po-1,$o=Po,Do=Ko-Yo-Po-1,No=wo.clientX-vo,Vo=wo.clientY-qo;No>Fo&&(No=Fo),No<_o&&(No=_o),Vo>Do&&(Vo=Do),Vo<$o&&(Vo=$o),ko.style.left="".concat(No,"px"),ko.style.top="".concat(Vo,"px"),ko.className=ko.className.replace(/\s?is--drag/,"")+" is--drag"},document.onmouseup=function(){document.onmousemove=xo,document.onmouseup=Ao,lo&&ho&&nextTick(function(){Un()}),setTimeout(function(){ko.className=ko.className.replace(/\s?is--drag/,"")},50)}}},fo=function(eo){eo.preventDefault();var lo=Fe.remember,ho=Fe.storage,Io=getDomNode(),Po=Io.visibleHeight,ko=Io.visibleWidth,xo=XEUtils$1.toNumber(Fe.marginSize),Ao=eo.target,vo=Ao.getAttribute("type"),qo=XEUtils$1.toNumber(Fe.minWidth),jo=XEUtils$1.toNumber(Fe.minHeight),Ko=ko,bo=Po,wo=Nn(),zo=document.onmousemove,Yo=document.onmouseup,_o=wo.clientWidth,Fo=wo.clientHeight,$o=eo.clientX,Do=eo.clientY,No=wo.offsetTop,Vo=wo.offsetLeft,Eo={type:"resize"};document.onmousemove=function(rr){rr.preventDefault();var sr,ur,hr,Co;switch(vo){case"wl":sr=$o-rr.clientX,hr=sr+_o,Vo-sr>xo&&hr>qo&&(wo.style.width="".concat(hrxo&&hr>qo&&(wo.style.width="".concat(hrxo&&Co>jo&&(wo.style.height="".concat(Coxo&&hr>qo&&(wo.style.width="".concat(hrjo&&(wo.style.height="".concat(Coxo&&Co>jo&&(wo.style.height="".concat(Coqo&&(wo.style.width="".concat(hrqo&&(wo.style.width="".concat(hrxo&&Co>jo&&(wo.style.height="".concat(Coqo&&(wo.style.width="".concat(hrjo&&(wo.style.height="".concat(Cojo&&(wo.style.height="".concat(Co-1}),In=computed(function(){return XEUtils$1.getSize(Cn.inputValue)}),Mn=computed(function(){var Lo=In.value;return Fe.maxlength&&Lo>XEUtils$1.toNumber(Fe.maxlength)}),Bn=computed(function(){var Lo=On.value;return Lo||["date","week","month","quarter","year"].indexOf(Fe.type)>-1}),Dn=computed(function(){return Fe.type==="password"}),Vn=computed(function(){return Fe.type==="search"}),Ln=computed(function(){return XEUtils$1.toInteger(Fe.digits)||1}),zn=computed(function(){var Lo=Fe.type,fr=Ln.value,yr=Fe.step;return Lo==="integer"?XEUtils$1.toInteger(yr)||1:Lo==="float"?XEUtils$1.toNumber(yr)||1/Math.pow(10,fr):XEUtils$1.toNumber(yr)||1}),Hn=computed(function(){var Lo=Fe.type,fr=Rn.value,yr=Bn.value,Rr=Dn.value;return Fe.clearable&&(Rr||fr||yr||Lo==="text"||Lo==="search")}),Fn=computed(function(){return Fe.startDate?XEUtils$1.toStringDate(Fe.startDate):null}),Kn=computed(function(){return Fe.endDate?XEUtils$1.toStringDate(Fe.endDate):null}),Un=computed(function(){return["date","week","month","quarter","year"].includes(Fe.type)}),Gn=computed(function(){var Lo=Fe.modelValue,fr=Fe.multiple,yr=Bn.value,Rr=Xn.value;return fr&&Lo&&yr?XEUtils$1.toValueString(Lo).split(",").map(function(Zn){var oo=Pn(Zn,Rr);return XEUtils$1.isValidDate(oo)?oo:null}):[]}),Wn=computed(function(){var Lo=Gn.value,fr=Xn.value;return Lo.map(function(yr){return XEUtils$1.toDateString(yr,fr)})}),Yn=computed(function(){var Lo=Gn.value,fr=so.value;return Lo.map(function(yr){return XEUtils$1.toDateString(yr,fr)}).join(", ")}),Xn=computed(function(){var Lo=Fe.type;return Lo==="time"?"HH:mm:ss":Fe.valueFormat||(Lo==="datetime"?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")}),qn=computed(function(){var Lo=Fe.modelValue,fr=Bn.value,yr=Xn.value,Rr=null;if(Lo&&fr){var Zn=Pn(Lo,yr);XEUtils$1.isValidDate(Zn)&&(Rr=Zn)}return Rr}),jn=computed(function(){var Lo=Fn.value,fr=Cn.selectMonth;return fr&&Lo?fr<=Lo:!1}),Jn=computed(function(){var Lo=Kn.value,fr=Cn.selectMonth;return fr&&Lo?fr>=Lo:!1}),Qn=computed(function(){var Lo=Cn.datetimePanelValue;return Lo?XEUtils$1.toDateString(Lo,"HH:mm:ss"):""}),no=computed(function(){var Lo=qn.value,fr=On.value;return Lo&&fr?(Lo.getHours()*3600+Lo.getMinutes()*60+Lo.getSeconds())*1e3:0}),so=computed(function(){var Lo=Bn.value;return Lo?Fe.labelFormat||GlobalConfig.i18n("vxe.input.date.labelFormat.".concat(Fe.type)):null}),co=computed(function(){var Lo=Cn.selectMonth,fr=Cn.currentDate,yr=[];if(Lo&&fr)for(var Rr=fr.getFullYear(),Zn=Lo.getFullYear(),oo=new Date(Zn-Zn%yearSize,0,1),po=-4;po=yearSize,year:Ro})}return yr}),mo=computed(function(){var Lo=Bn.value;if(Lo){var fr=Cn.datePanelType,yr=Cn.selectMonth,Rr=co.value,Zn="",oo=void 0;return yr&&(Zn=yr.getFullYear(),oo=yr.getMonth()+1),fr==="quarter"?GlobalConfig.i18n("vxe.input.date.quarterLabel",[Zn]):fr==="month"?GlobalConfig.i18n("vxe.input.date.monthLabel",[Zn]):fr==="year"?Rr.length?"".concat(Rr[0].year," - ").concat(Rr[Rr.length-1].year):"":GlobalConfig.i18n("vxe.input.date.dayLabel",[Zn,oo?GlobalConfig.i18n("vxe.input.date.m".concat(oo)):"-"])}return""}),fo=computed(function(){var Lo=Fe.startDay,fr=Fe.startWeek;return XEUtils$1.toNumber(XEUtils$1.isNumber(Lo)||XEUtils$1.isString(Lo)?Lo:fr)}),io=computed(function(){var Lo=[],fr=Bn.value;if(fr){var yr=fo.value;Lo.push(yr);for(var Rr=0;Rr<6;Rr++)yr>=6?yr=0:yr++,Lo.push(yr)}return Lo}),ao=computed(function(){var Lo=Bn.value;if(Lo){var fr=io.value;return fr.map(function(yr){return{value:yr,label:GlobalConfig.i18n("vxe.input.date.weeks.w".concat(yr))}})}return[]}),go=computed(function(){var Lo=Bn.value;if(Lo){var fr=ao.value;return[{label:GlobalConfig.i18n("vxe.input.date.weeks.w")}].concat(fr)}return[]}),yo=computed(function(){var Lo=co.value;return XEUtils$1.chunk(Lo,4)}),Bo=computed(function(){var Lo=Cn.selectMonth,fr=Cn.currentDate,yr=[];if(Lo&&fr)for(var Rr=fr.getFullYear(),Zn=getDateQuarter(fr),oo=XEUtils$1.getWhatYear(Lo,0,"first"),po=oo.getFullYear(),To=-2;Topo,quarter:Go})}return yr}),ro=computed(function(){var Lo=Bo.value;return XEUtils$1.chunk(Lo,2)}),eo=computed(function(){var Lo=Cn.selectMonth,fr=Cn.currentDate,yr=[];if(Lo&&fr)for(var Rr=fr.getFullYear(),Zn=fr.getMonth(),oo=XEUtils$1.getWhatYear(Lo,0,"first").getFullYear(),po=-4;pooo,month:Uo})}return yr}),lo=computed(function(){var Lo=eo.value;return XEUtils$1.chunk(Lo,4)}),ho=computed(function(){var Lo=Cn.selectMonth,fr=Cn.currentDate,yr=[];if(Lo&&fr)for(var Rr=no.value,Zn=io.value,oo=fr.getFullYear(),po=fr.getMonth(),To=fr.getDate(),Ro=Lo.getFullYear(),Uo=Lo.getMonth(),Go=Lo.getDay(),tr=-Zn.indexOf(Go),nr=new Date(XEUtils$1.getWhatDay(Lo,tr).getTime()+Rr),cr=0;cr<42;cr++){var gr=XEUtils$1.getWhatDay(nr,cr),pr=gr.getFullYear(),Cr=gr.getMonth(),wr=gr.getDate(),So=gr=XEUtils$1.toNumber(Lo):!1}),_o=function(Lo){var fr=Fe.type,yr=Fe.exponential,Rr=Ko.value,Zn=Ln.value,oo=fr==="float"?toFloatValueFixed(Lo,Zn):XEUtils$1.toValueString(Lo);return yr&&(Lo===oo||XEUtils$1.toValueString(Lo).toLowerCase()===XEUtils$1.toNumber(oo).toExponential())?Lo:oo.slice(0,Rr)},Fo=function(Lo){var fr=Cn.inputValue;Nn.dispatchEvent(Lo.type,{value:fr},Lo)},$o=function(Lo,fr){Cn.inputValue=Lo,vn("update:modelValue",Lo),Nn.dispatchEvent("input",{value:Lo},fr),XEUtils$1.toValueString(Fe.modelValue)!==Lo&&(Nn.dispatchEvent("change",{value:Lo},fr),bn&&wn&&bn.triggerItemEvent(fr,wn.itemConfig.field,Lo))},Do=function(Lo,fr){var yr=Bn.value,Rr=bo.value;Cn.inputValue=Lo,yr||(Rr?$o(Lo,fr):Nn.dispatchEvent("input",{value:Lo},fr))},No=function(Lo){var fr=Lo.target,yr=fr.value;Do(yr,Lo)},Vo=function(Lo){var fr=bo.value;fr||Fo(Lo)},Eo=function(Lo){Cn.isActivated=!0;var fr=Bn.value;fr&&Ha(Lo),Fo(Lo)},rr=function(Lo){var fr=Fe.disabled;if(!fr){var yr=Cn.inputValue;Nn.dispatchEvent("prefix-click",{value:yr},Lo)}},sr,ur=function(){return new Promise(function(Lo){Cn.visiblePanel=!1,sr=window.setTimeout(function(){Cn.animatVisible=!1,Lo()},350)})},hr=function(Lo,fr){var yr=Fe.type,Rr=Rn.value,Zn=Bn.value;Zn&&ur(),(Rr||["text","search","password"].indexOf(yr)>-1)&&focus(),Nn.dispatchEvent("clear",{value:fr},Lo)},Co=function(Lo){var fr=Fe.disabled;if(!fr)if(hasClass(Lo.currentTarget,"is--clear"))$o("",Lo),hr(Lo,"");else{var yr=Cn.inputValue;Nn.dispatchEvent("suffix-click",{value:yr},Lo)}},Er=function(Lo){var fr=Fe.type,yr=Fe.valueFormat,Rr=so.value,Zn=fo.value,oo=null,po="";if(Lo&&(oo=Pn(Lo,yr)),XEUtils$1.isValidDate(oo)){if(po=XEUtils$1.toDateString(oo,Rr,{firstDay:Zn}),Rr&&fr==="week"){var To=XEUtils$1.getWhatWeek(oo,0,Zn,Zn);if(To.getFullYear()-1){var Uo=Number(po.substring(Ro,Ro+4));Uo&&!isNaN(Uo)&&(po=po.replace("".concat(Uo),"".concat(Uo-1)))}}}}else oo=null;Cn.datePanelValue=oo,Cn.datePanelLabel=po},$r=function(){var Lo=Bn.value,fr=Cn.inputValue;Lo&&(Er(fr),Cn.inputValue=Fe.multiple?Yn.value:Cn.datePanelLabel)},Qo=function(){var Lo=Fe.type,fr=Cn.inputValue,yr=Bn.value,Rr=Ln.value;if(yr)$r();else if(Lo==="float"&&fr){var Zn=toFloatValueFixed(fr,Rr);fr!==Zn&&$o(Zn,{type:"init"})}},mr=function(Lo){return Fe.max===null||XEUtils$1.toNumber(Lo)<=XEUtils$1.toNumber(Fe.max)},br=function(Lo){return Fe.min===null||XEUtils$1.toNumber(Lo)>=XEUtils$1.toNumber(Fe.min)},Ir=function(){Cn.inputValue=Fe.multiple?Yn.value:Cn.datePanelLabel},Mr=function(Lo){var fr=XEUtils$1.getWhatMonth(Lo,0,"first");XEUtils$1.isEqual(fr,Cn.selectMonth)||(Cn.selectMonth=fr)},ir=function(Lo){var fr=Fe.modelValue,yr=Fe.multiple,Rr=Cn.datetimePanelValue,Zn=On.value,oo=Xn.value,po=fo.value;if(Fe.type==="week"){var To=XEUtils$1.toNumber(Fe.selectDay);Lo=XEUtils$1.getWhatWeek(Lo,0,To,po)}else Zn&&(Lo.setHours(Rr.getHours()),Lo.setMinutes(Rr.getMinutes()),Lo.setSeconds(Rr.getSeconds()));var Ro=XEUtils$1.toDateString(Lo,oo,{firstDay:po});if(Mr(Lo),yr){var Uo=Wn.value;if(Zn){var Go=__spreadArray$4([],Gn.value,!0),tr=[],nr=XEUtils$1.findIndexOf(Go,function(cr){return XEUtils$1.isDateSame(Lo,cr,"yyyyMMdd")});nr===-1?Go.push(Lo):Go.splice(nr,1),Go.forEach(function(cr){cr&&(cr.setHours(Rr.getHours()),cr.setMinutes(Rr.getMinutes()),cr.setSeconds(Rr.getSeconds()),tr.push(cr))}),$o(tr.map(function(cr){return XEUtils$1.toDateString(cr,oo)}).join(","),{type:"update"})}else Uo.some(function(cr){return XEUtils$1.isEqual(cr,Ro)})?$o(Uo.filter(function(cr){return!XEUtils$1.isEqual(cr,Ro)}).join(","),{type:"update"}):$o(Uo.concat([Ro]).join(","),{type:"update"})}else XEUtils$1.isEqual(fr,Ro)||$o(Ro,{type:"update"})},Sr=function(){var Lo=Fe.type,fr=Fe.min,yr=Fe.max,Rr=Fe.exponential,Zn=Cn.inputValue,oo=Cn.datetimePanelValue,po=Rn.value,To=Bn.value,Ro=so.value,Uo=vo.value;if(!Uo){if(po){if(Zn){var Go=Lo==="integer"?XEUtils$1.toInteger(handleNumber(Zn)):XEUtils$1.toNumber(handleNumber(Zn));if(br(Go)?mr(Go)||(Go=yr):Go=fr,Rr){var tr=XEUtils$1.toValueString(Zn).toLowerCase();tr===XEUtils$1.toNumber(Go).toExponential()&&(Go=tr)}$o(_o(Go),{type:"check"})}}else if(To)if(Zn){var nr=Pn(Zn,Ro);if(XEUtils$1.isValidDate(nr))if(Lo==="time")nr=XEUtils$1.toDateString(nr,Ro),Zn!==nr&&$o(nr,{type:"check"}),Cn.inputValue=nr;else{var cr=!1,gr=fo.value;if(Lo==="datetime"){var pr=qn.value;(Zn!==XEUtils$1.toDateString(pr,Ro)||Zn!==XEUtils$1.toDateString(nr,Ro))&&(cr=!0,oo.setHours(nr.getHours()),oo.setMinutes(nr.getMinutes()),oo.setSeconds(nr.getSeconds()))}else cr=!0;Cn.inputValue=XEUtils$1.toDateString(nr,Ro,{firstDay:gr}),cr&&ir(nr)}else Ir()}else $o("",{type:"check"})}},Lr=function(Lo){var fr=Cn.inputValue,yr=bo.value;yr||$o(fr,Lo),Sr(),Cn.visiblePanel||(Cn.isActivated=!1),Nn.dispatchEvent("blur",{value:fr},Lo)},qr=function(Lo){var fr=Fe.readonly,yr=Fe.disabled,Rr=Cn.showPwd;!yr&&!fr&&(Cn.showPwd=!Rr),Nn.dispatchEvent("toggle-visible",{visible:Cn.showPwd},Lo)},ba=function(Lo){Nn.dispatchEvent("search-click",{},Lo)},ta=function(Lo,fr){var yr=Fe.min,Rr=Fe.max,Zn=Fe.type,oo=Cn.inputValue,po=zn.value,To=Zn==="integer"?XEUtils$1.toInteger(handleNumber(oo)):XEUtils$1.toNumber(handleNumber(oo)),Ro=Lo?XEUtils$1.add(To,po):XEUtils$1.subtract(To,po),Uo;br(Ro)?mr(Ro)?Uo=Ro:Uo=Rr:Uo=yr,Do(_o(Uo),fr)},Ur,Gr=function(Lo){var fr=Fe.readonly,yr=Fe.disabled,Rr=zo.value;clearTimeout(Ur),!yr&&!fr&&!Rr&&ta(!1,Lo),Nn.dispatchEvent("next-number",{},Lo)},Ar=function(Lo){Ur=window.setTimeout(function(){Gr(Lo),Ar(Lo)},60)},Vr=function(Lo){var fr=Fe.readonly,yr=Fe.disabled,Rr=Yo.value;clearTimeout(Ur),!yr&&!fr&&!Rr&&ta(!0,Lo),Nn.dispatchEvent("prev-number",{},Lo)},Tr=function(Lo){var fr=hasEventKey(Lo,EVENT_KEYS.ARROW_UP),yr=hasEventKey(Lo,EVENT_KEYS.ARROW_DOWN);(fr||yr)&&(Lo.preventDefault(),fr?Vr(Lo):Gr(Lo))},lr=function(Lo){var fr=Fe.exponential,yr=Fe.controls,Rr=Rn.value;if(Rr){var Zn=Lo.ctrlKey,oo=Lo.shiftKey,po=Lo.altKey,To=Lo.keyCode;!Zn&&!oo&&!po&&(hasEventKey(Lo,EVENT_KEYS.SPACEBAR)||(!fr||To!==69)&&To>=65&&To<=90||To>=186&&To<=188||To>=191)&&Lo.preventDefault(),yr&&Tr(Lo)}Fo(Lo)},ra=function(Lo){Fo(Lo)},la=function(){clearTimeout(Ur)},da=function(Lo){Ur=window.setTimeout(function(){Vr(Lo),da(Lo)},60)},Wr=function(Lo){if(la(),Lo.button===0){var fr=hasClass(Lo.currentTarget,"is--prev");fr?Vr(Lo):Gr(Lo),Ur=window.setTimeout(function(){fr?da(Lo):Ar(Lo)},500)}},Yr=function(Lo){var fr=Rn.value;if(fr&&Fe.controls&&Cn.isActivated){var yr=Lo.deltaY;yr>0?Gr(Lo):yr<0&&Vr(Lo),Lo.preventDefault()}Fo(Lo)},Hr=function(Lo,fr){Cn.selectMonth=XEUtils$1.getWhatMonth(Lo,fr,"first")},Or=function(){var Lo=XEUtils$1.getWhatDay(Date.now(),0,"first");Cn.currentDate=Lo,Hr(Lo,0)},Br=function(){var Lo=Cn.datePanelType;Lo==="month"||Lo==="quarter"?Lo="year":Lo="month",Cn.datePanelType=Lo},jr=function(Lo){var fr=Fe.type,yr=Cn.datePanelType,Rr=Cn.selectMonth,Zn=jn.value;Zn||(fr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,-yearSize,"first"):fr==="month"||fr==="quarter"?yr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,-yearSize,"first"):Cn.selectMonth=XEUtils$1.getWhatYear(Rr,-1,"first"):yr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,-yearSize,"first"):yr==="month"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,-1,"first"):Cn.selectMonth=XEUtils$1.getWhatMonth(Rr,-1,"first"),Nn.dispatchEvent("date-prev",{type:fr},Lo))},aa=function(Lo){Or(),Fe.multiple||(ir(Cn.currentDate),ur()),Nn.dispatchEvent("date-today",{type:Fe.type},Lo)},ea=function(Lo){var fr=Fe.type,yr=Cn.datePanelType,Rr=Cn.selectMonth,Zn=Jn.value;Zn||(fr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,yearSize,"first"):fr==="month"||fr==="quarter"?yr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,yearSize,"first"):Cn.selectMonth=XEUtils$1.getWhatYear(Rr,1,"first"):yr==="year"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,yearSize,"first"):yr==="month"?Cn.selectMonth=XEUtils$1.getWhatYear(Rr,1,"first"):Cn.selectMonth=XEUtils$1.getWhatMonth(Rr,1,"first"),Nn.dispatchEvent("date-next",{type:fr},Lo))},Kr=function(Lo){var fr=Fe.disabledMethod,yr=Cn.datePanelType;return fr&&fr({type:yr,viewType:yr,date:Lo.date,$input:Tn})},Jr=function(Lo){var fr=Fe.type,yr=Fe.multiple,Rr=Cn.datePanelType;fr==="month"?Rr==="year"?(Cn.datePanelType="month",Mr(Lo)):(ir(Lo),yr||ur()):fr==="year"?(ir(Lo),yr||ur()):fr==="quarter"?Rr==="year"?(Cn.datePanelType="quarter",Mr(Lo)):(ir(Lo),yr||ur()):Rr==="month"?(Cn.datePanelType=fr==="week"?fr:"day",Mr(Lo)):Rr==="year"?(Cn.datePanelType="month",Mr(Lo)):(ir(Lo),yr||ur())},pa=function(Lo){Kr(Lo)||Jr(Lo.date)},ca=function(Lo){if(!Kr({date:Lo})){var fr=ho.value;fr.some(function(yr){return XEUtils$1.isDateSame(yr.date,Lo,"yyyyMMdd")})||Mr(Lo),Er(Lo)}},ha=function(Lo){if(!Kr({date:Lo})){var fr=co.value;fr.some(function(yr){return XEUtils$1.isDateSame(yr.date,Lo,"yyyy")})||Mr(Lo),Er(Lo)}},Ca=function(Lo){if(!Kr({date:Lo})){var fr=Bo.value;fr.some(function(yr){return XEUtils$1.isDateSame(yr.date,Lo,"yyyyq")})||Mr(Lo),Er(Lo)}},Ea=function(Lo){if(!Kr({date:Lo})){var fr=eo.value;fr.some(function(yr){return XEUtils$1.isDateSame(yr.date,Lo,"yyyyMM")})||Mr(Lo),Er(Lo)}},ya=function(Lo){if(!Kr(Lo)){var fr=Cn.datePanelType;fr==="month"?Ea(Lo.date):fr==="quarter"?Ca(Lo.date):fr==="year"?ha(Lo.date):ca(Lo.date)}},wa=function(Lo){if(Lo){var fr=Lo.offsetHeight,yr=Lo.parentNode;yr.scrollTop=Lo.offsetTop-fr*4}},$a=function(Lo){Cn.datetimePanelValue=new Date(Cn.datetimePanelValue.getTime()),wa(Lo.currentTarget)},Oa=function(Lo,fr){Cn.datetimePanelValue.setHours(fr.value),$a(Lo)},Ma=function(){var Lo=Fe.multiple,fr=Cn.datetimePanelValue,yr=qn.value,Rr=On.value;if(Rr){var Zn=Xn.value;if(Lo){var oo=Wn.value;if(Rr){var po=__spreadArray$4([],Gn.value,!0),To=[];po.forEach(function(Ro){Ro&&(Ro.setHours(fr.getHours()),Ro.setMinutes(fr.getMinutes()),Ro.setSeconds(fr.getSeconds()),To.push(Ro))}),$o(To.map(function(Ro){return XEUtils$1.toDateString(Ro,Zn)}).join(","),{type:"update"})}else $o(oo.join(","),{type:"update"})}else ir(yr||Cn.currentDate)}ur()},Pa=function(Lo,fr){Cn.datetimePanelValue.setMinutes(fr.value),$a(Lo)},Ra=function(Lo,fr){Cn.datetimePanelValue.setSeconds(fr.value),$a(Lo)},Ba=function(Lo){var fr=Cn.isActivated,yr=Cn.datePanelValue,Rr=Cn.datePanelType;if(fr){Lo.preventDefault();var Zn=hasEventKey(Lo,EVENT_KEYS.ARROW_LEFT),oo=hasEventKey(Lo,EVENT_KEYS.ARROW_UP),po=hasEventKey(Lo,EVENT_KEYS.ARROW_RIGHT),To=hasEventKey(Lo,EVENT_KEYS.ARROW_DOWN);if(Rr==="year"){var Ro=XEUtils$1.getWhatYear(yr||Date.now(),0,"first");Zn?Ro=XEUtils$1.getWhatYear(Ro,-1):oo?Ro=XEUtils$1.getWhatYear(Ro,-4):po?Ro=XEUtils$1.getWhatYear(Ro,1):To&&(Ro=XEUtils$1.getWhatYear(Ro,4)),ha(Ro)}else if(Rr==="quarter"){var Uo=XEUtils$1.getWhatQuarter(yr||Date.now(),0,"first");Zn?Uo=XEUtils$1.getWhatQuarter(Uo,-1):oo?Uo=XEUtils$1.getWhatQuarter(Uo,-2):po?Uo=XEUtils$1.getWhatQuarter(Uo,1):To&&(Uo=XEUtils$1.getWhatQuarter(Uo,2)),Ca(Uo)}else if(Rr==="month"){var Go=XEUtils$1.getWhatMonth(yr||Date.now(),0,"first");Zn?Go=XEUtils$1.getWhatMonth(Go,-1):oo?Go=XEUtils$1.getWhatMonth(Go,-4):po?Go=XEUtils$1.getWhatMonth(Go,1):To&&(Go=XEUtils$1.getWhatMonth(Go,4)),Ea(Go)}else{var tr=yr||XEUtils$1.getWhatDay(Date.now(),0,"first"),nr=fo.value;Zn?tr=XEUtils$1.getWhatDay(tr,-1):oo?tr=XEUtils$1.getWhatWeek(tr,-1,nr):po?tr=XEUtils$1.getWhatDay(tr,1):To&&(tr=XEUtils$1.getWhatWeek(tr,1,nr)),ca(tr)}}},Va=function(Lo){var fr=Cn.isActivated;if(fr){var yr=hasEventKey(Lo,EVENT_KEYS.PAGE_UP);Lo.preventDefault(),yr?jr(Lo):ea(Lo)}},Za=function(){var Lo=Fe.type,fr=On.value,yr=qn.value;["year","quarter","month","week"].indexOf(Lo)>-1?Cn.datePanelType=Lo:Cn.datePanelType="day",Cn.currentDate=XEUtils$1.getWhatDay(Date.now(),0,"first"),yr?(Hr(yr,0),Er(yr)):Or(),fr&&(Cn.datetimePanelValue=Cn.datePanelValue||XEUtils$1.getWhatDay(Date.now(),0,"first"),nextTick(function(){var Rr=Sn.value;XEUtils$1.arrayEach(Rr.querySelectorAll("li.is--selected"),wa)}))},Ta=function(){Cn.panelIndexgr&&(Cr="top",So=nr-To),Sopr&&(wr-=wr+Ro+Uo-pr),wrgr&&nr-oo-To>Uo&&(Cr="top",Go.bottom="".concat(oo,"px"));return Cn.panelStyle=Go,Cn.panelPlacement=Cr,nextTick()}})},Da=function(){var Lo=Fe.disabled,fr=Cn.visiblePanel,yr=Bn.value;return!Lo&&!fr?(Cn.inited||(Cn.inited=!0),clearTimeout(sr),Cn.isActivated=!0,Cn.animatVisible=!0,yr&&Za(),setTimeout(function(){Cn.visiblePanel=!0},10),Ta(),La()):nextTick()},Ha=function(Lo){var fr=Fe.readonly;fr||(Lo.preventDefault(),Da())},mi=function(Lo){Fo(Lo)},ti=function(Lo){var fr=Fe.disabled,yr=Cn.visiblePanel,Rr=Cn.isActivated,Zn=Bn.value,oo=xn.value,po=$n.value;!fr&&Rr&&(Cn.isActivated=getEventTargetNode(Lo,oo).flag||getEventTargetNode(Lo,po).flag,Cn.isActivated||(Zn?yr&&(ur(),Sr()):Sr()))},ci=function(Lo){var fr=Fe.clearable,yr=Fe.disabled,Rr=Cn.visiblePanel,Zn=Bn.value;if(!yr){var oo=hasEventKey(Lo,EVENT_KEYS.TAB),po=hasEventKey(Lo,EVENT_KEYS.DELETE),To=hasEventKey(Lo,EVENT_KEYS.ESCAPE),Ro=hasEventKey(Lo,EVENT_KEYS.ENTER),Uo=hasEventKey(Lo,EVENT_KEYS.ARROW_LEFT),Go=hasEventKey(Lo,EVENT_KEYS.ARROW_UP),tr=hasEventKey(Lo,EVENT_KEYS.ARROW_RIGHT),nr=hasEventKey(Lo,EVENT_KEYS.ARROW_DOWN),cr=hasEventKey(Lo,EVENT_KEYS.PAGE_UP),gr=hasEventKey(Lo,EVENT_KEYS.PAGE_DOWN),pr=Uo||Go||tr||nr,Cr=Cn.isActivated;oo?(Cr&&Sr(),Cr=!1,Cn.isActivated=Cr):pr?Zn&&Cr&&(Rr?Ba(Lo):(Go||nr)&&Ha(Lo)):Ro?Zn&&(Rr?Cn.datePanelValue?Jr(Cn.datePanelValue):ur():Cr&&Ha(Lo)):(cr||gr)&&Zn&&Cr&&Va(Lo),oo||To?Rr&&ur():po&&fr&&Cr&&hr(Lo,null)}},ai=function(Lo){var fr=Fe.disabled,yr=Cn.visiblePanel;if(!fr&&yr){var Rr=$n.value;getEventTargetNode(Lo,Rr).flag?La():(ur(),Sr())}},Ua=function(){var Lo=Cn.isActivated,fr=Cn.visiblePanel;fr?(ur(),Sr()):Lo&&Sr()},ui=function(Lo,fr){var yr=Fe.festivalMethod;if(yr){var Rr=Cn.datePanelType,Zn=yr({type:Rr,viewType:Rr,date:Lo.date,$input:Tn}),oo=Zn?XEUtils$1.isString(Zn)?{label:Zn}:Zn:{},po=oo.extra?XEUtils$1.isString(oo.extra)?{label:oo.extra}:oo.extra:null,To=[h$6("span",{class:["vxe-input--date-label",{"is-notice":oo.notice}]},po&&po.label?[h$6("span",fr),h$6("span",{class:["vxe-input--date-label--extra",po.important?"is-important":"",po.className],style:po.style},XEUtils$1.toValueString(po.label))]:fr)],Ro=oo.label;if(Ro){var Uo=XEUtils$1.toValueString(Ro).split(",");To.push(h$6("span",{class:["vxe-input--date-festival",oo.important?"is-important":"",oo.className],style:oo.style},[Uo.length>1?h$6("span",{class:["vxe-input--date-festival--overlap","overlap--".concat(Uo.length)]},Uo.map(function(Go){return h$6("span",Go.substring(0,3))})):h$6("span",{class:"vxe-input--date-festival--label"},Uo[0].substring(0,3))]))}return To}return fr},Ri=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=Cn.datePanelValue,Rr=qn.value,Zn=ao.value,oo=Io.value,po=Gn.value,To="yyyyMMdd";return[h$6("table",{class:"vxe-input--date-".concat(fr,"-view"),cellspacing:0,cellpadding:0,border:0},[h$6("thead",[h$6("tr",Zn.map(function(Ro){return h$6("th",Ro.label)}))]),h$6("tbody",oo.map(function(Ro){return h$6("tr",Ro.map(function(Uo){return h$6("td",{class:{"is--prev":Uo.isPrev,"is--current":Uo.isCurrent,"is--now":Uo.isNow,"is--next":Uo.isNext,"is--disabled":Kr(Uo),"is--selected":Lo?po.some(function(Go){return XEUtils$1.isDateSame(Go,Uo.date,To)}):XEUtils$1.isDateSame(Rr,Uo.date,To),"is--hover":XEUtils$1.isDateSame(yr,Uo.date,To)},onClick:function(){return pa(Uo)},onMouseenter:function(){return ya(Uo)}},ui(Uo,Uo.label))}))}))])]},Si=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=Cn.datePanelValue,Rr=qn.value,Zn=go.value,oo=Po.value,po=Gn.value,To="yyyyMMdd";return[h$6("table",{class:"vxe-input--date-".concat(fr,"-view"),cellspacing:0,cellpadding:0,border:0},[h$6("thead",[h$6("tr",Zn.map(function(Ro){return h$6("th",Ro.label)}))]),h$6("tbody",oo.map(function(Ro){var Uo=Lo?Ro.some(function(tr){return po.some(function(nr){return XEUtils$1.isDateSame(nr,tr.date,To)})}):Ro.some(function(tr){return XEUtils$1.isDateSame(Rr,tr.date,To)}),Go=Ro.some(function(tr){return XEUtils$1.isDateSame(yr,tr.date,To)});return h$6("tr",Ro.map(function(tr){return h$6("td",{class:{"is--prev":tr.isPrev,"is--current":tr.isCurrent,"is--now":tr.isNow,"is--next":tr.isNext,"is--disabled":Kr(tr),"is--selected":Uo,"is--hover":Go},onClick:function(){return pa(tr)},onMouseenter:function(){return ya(tr)}},ui(tr,tr.label))}))}))])]},Fi=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=Cn.datePanelValue,Rr=qn.value,Zn=lo.value,oo=Gn.value,po="yyyyMM";return[h$6("table",{class:"vxe-input--date-".concat(fr,"-view"),cellspacing:0,cellpadding:0,border:0},[h$6("tbody",Zn.map(function(To){return h$6("tr",To.map(function(Ro){return h$6("td",{class:{"is--prev":Ro.isPrev,"is--current":Ro.isCurrent,"is--now":Ro.isNow,"is--next":Ro.isNext,"is--disabled":Kr(Ro),"is--selected":Lo?oo.some(function(Uo){return XEUtils$1.isDateSame(Uo,Ro.date,po)}):XEUtils$1.isDateSame(Rr,Ro.date,po),"is--hover":XEUtils$1.isDateSame(yr,Ro.date,po)},onClick:function(){return pa(Ro)},onMouseenter:function(){return ya(Ro)}},ui(Ro,GlobalConfig.i18n("vxe.input.date.months.m".concat(Ro.month))))}))}))])]},Ii=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=Cn.datePanelValue,Rr=qn.value,Zn=ro.value,oo=Gn.value,po="yyyyq";return[h$6("table",{class:"vxe-input--date-".concat(fr,"-view"),cellspacing:0,cellpadding:0,border:0},[h$6("tbody",Zn.map(function(To){return h$6("tr",To.map(function(Ro){return h$6("td",{class:{"is--prev":Ro.isPrev,"is--current":Ro.isCurrent,"is--now":Ro.isNow,"is--next":Ro.isNext,"is--disabled":Kr(Ro),"is--selected":Lo?oo.some(function(Uo){return XEUtils$1.isDateSame(Uo,Ro.date,po)}):XEUtils$1.isDateSame(Rr,Ro.date,po),"is--hover":XEUtils$1.isDateSame(yr,Ro.date,po)},onClick:function(){return pa(Ro)},onMouseenter:function(){return ya(Ro)}},ui(Ro,GlobalConfig.i18n("vxe.input.date.quarters.q".concat(Ro.quarter))))}))}))])]},zi=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=Cn.datePanelValue,Rr=qn.value,Zn=yo.value,oo=Gn.value,po="yyyy";return[h$6("table",{class:"vxe-input--date-".concat(fr,"-view"),cellspacing:0,cellpadding:0,border:0},[h$6("tbody",Zn.map(function(To){return h$6("tr",To.map(function(Ro){return h$6("td",{class:{"is--prev":Ro.isPrev,"is--current":Ro.isCurrent,"is--now":Ro.isNow,"is--next":Ro.isNext,"is--disabled":Kr(Ro),"is--selected":Lo?oo.some(function(Uo){return XEUtils$1.isDateSame(Uo,Ro.date,po)}):XEUtils$1.isDateSame(Rr,Ro.date,po),"is--hover":XEUtils$1.isDateSame(yr,Ro.date,po)},onClick:function(){return pa(Ro)},onMouseenter:function(){return ya(Ro)}},ui(Ro,Ro.year))}))}))])]},ki=function(){var Lo=Cn.datePanelType;switch(Lo){case"week":return Si();case"month":return Fi();case"quarter":return Ii();case"year":return zi()}return Ri()},Mi=function(){var Lo=Fe.multiple,fr=Cn.datePanelType,yr=jn.value,Rr=Jn.value,Zn=mo.value;return[h$6("div",{class:"vxe-input--date-picker-header"},[h$6("div",{class:"vxe-input--date-picker-type-wrapper"},[fr==="year"?h$6("span",{class:"vxe-input--date-picker-label"},Zn):h$6("span",{class:"vxe-input--date-picker-btn",onClick:Br},Zn)]),h$6("div",{class:"vxe-input--date-picker-btn-wrapper"},[h$6("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":yr}],onClick:jr},[h$6("i",{class:"vxe-icon-caret-left"})]),h$6("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",onClick:aa},[h$6("i",{class:"vxe-icon-dot"})]),h$6("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":Rr}],onClick:ea},[h$6("i",{class:"vxe-icon-caret-right"})]),Lo&&Un.value?h$6("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[h$6("button",{class:"vxe-input--date-picker-confirm",type:"button",onClick:Ma},GlobalConfig.i18n("vxe.button.confirm"))]):null])]),h$6("div",{class:"vxe-input--date-picker-body"},ki())]},Ai=function(){var Lo=Cn.datetimePanelValue,fr=Qn.value,yr=ko.value,Rr=xo.value,Zn=Ao.value;return[h$6("div",{class:"vxe-input--time-picker-header"},[h$6("span",{class:"vxe-input--time-picker-title"},fr),h$6("button",{class:"vxe-input--time-picker-confirm",type:"button",onClick:Ma},GlobalConfig.i18n("vxe.button.confirm"))]),h$6("div",{ref:Sn,class:"vxe-input--time-picker-body"},[h$6("ul",{class:"vxe-input--time-picker-hour-list"},yr.map(function(oo,po){return h$6("li",{key:po,class:{"is--selected":Lo&&Lo.getHours()===oo.value},onClick:function(To){return Oa(To,oo)}},oo.label)})),h$6("ul",{class:"vxe-input--time-picker-minute-list"},Rr.map(function(oo,po){return h$6("li",{key:po,class:{"is--selected":Lo&&Lo.getMinutes()===oo.value},onClick:function(To){return Pa(To,oo)}},oo.label)})),h$6("ul",{class:"vxe-input--time-picker-second-list"},Zn.map(function(oo,po){return h$6("li",{key:po,class:{"is--selected":Lo&&Lo.getSeconds()===oo.value},onClick:function(To){return Ra(To,oo)}},oo.label)}))])]},ji=function(){var Lo,fr=Fe.type,yr=Fe.transfer,Rr=Cn.inited,Zn=Cn.animatVisible,oo=Cn.visiblePanel,po=Cn.panelPlacement,To=Cn.panelStyle,Ro=_n.value,Uo=Bn.value,Go=[];return Uo?(fr==="datetime"?Go.push(h$6("div",{class:"vxe-input--panel-layout-wrapper"},[h$6("div",{class:"vxe-input--panel-left-wrapper"},Mi()),h$6("div",{class:"vxe-input--panel-right-wrapper"},Ai())])):fr==="time"?Go.push(h$6("div",{class:"vxe-input--panel-wrapper"},Ai())):Go.push(h$6("div",{class:"vxe-input--panel-wrapper"},Mi())),h$6(Teleport,{to:"body",disabled:yr?!Rr:!0},[h$6("div",{ref:$n,class:["vxe-table--ignore-clear vxe-input--panel","type--".concat(fr),(Lo={},Lo["size--".concat(Ro)]=Ro,Lo["is--transfer"]=yr,Lo["animat--leave"]=Zn,Lo["animat--enter"]=oo,Lo)],placement:po,style:To},Go)])):null},hi=function(){var Lo=Yo.value,fr=zo.value;return h$6("span",{class:"vxe-input--number-suffix"},[h$6("span",{class:["vxe-input--number-prev is--prev",{"is--disabled":Lo}],onMousedown:Wr,onMouseup:la,onMouseleave:la},[h$6("i",{class:["vxe-input--number-prev-icon",GlobalConfig.icon.INPUT_PREV_NUM]})]),h$6("span",{class:["vxe-input--number-next is--next",{"is--disabled":fr}],onMousedown:Wr,onMouseup:la,onMouseleave:la},[h$6("i",{class:["vxe-input--number-next-icon",GlobalConfig.icon.INPUT_NEXT_NUM]})])])},Oi=function(){return h$6("span",{class:"vxe-input--date-picker-suffix",onClick:Ha},[h$6("i",{class:["vxe-input--date-picker-icon",GlobalConfig.icon.INPUT_DATE]})])},Di=function(){return h$6("span",{class:"vxe-input--search-suffix",onClick:ba},[h$6("i",{class:["vxe-input--search-icon",GlobalConfig.icon.INPUT_SEARCH]})])},Hi=function(){var Lo=Cn.showPwd;return h$6("span",{class:"vxe-input--password-suffix",onClick:qr},[h$6("i",{class:["vxe-input--password-icon",Lo?GlobalConfig.icon.INPUT_SHOW_PWD:GlobalConfig.icon.INPUT_PWD]})])},Ja=function(){var Lo=Fe.prefixIcon,fr=hn.prefix,yr=[];return fr?yr.push(h$6("span",{class:"vxe-input--prefix-icon"},fr({}))):Lo&&yr.push(h$6("i",{class:["vxe-input--prefix-icon",Lo]})),yr.length?h$6("span",{class:"vxe-input--prefix",onClick:rr},yr):null},Pi=function(){var Lo=Fe.disabled,fr=Fe.suffixIcon,yr=Cn.inputValue,Rr=hn.suffix,Zn=Hn.value,oo=[];return Rr?oo.push(h$6("span",{class:"vxe-input--suffix-icon"},Rr({}))):fr&&oo.push(h$6("i",{class:["vxe-input--suffix-icon",fr]})),Zn&&oo.push(h$6("i",{class:["vxe-input--clear-icon",GlobalConfig.icon.INPUT_CLEAR]})),oo.length?h$6("span",{class:["vxe-input--suffix",{"is--clear":Zn&&!Lo&&!(yr===""||XEUtils$1.eqNull(yr))}],onClick:Co},oo):null},Sa=function(){var Lo=Fe.controls,fr=Rn.value,yr=Bn.value,Rr=Dn.value,Zn=Vn.value,oo;return Rr?oo=Hi():fr?Lo&&(oo=hi()):yr?oo=Oi():Zn&&(oo=Di()),oo?h$6("span",{class:"vxe-input--extra-suffix"},[oo]):null};Nn={dispatchEvent:function(Lo,fr,yr){vn(Lo,Object.assign({$input:Tn,$event:yr},fr))},focus:function(){var Lo=En.value;return Cn.isActivated=!0,Lo.focus(),nextTick()},blur:function(){var Lo=En.value;return Lo.blur(),Cn.isActivated=!1,nextTick()},select:function(){var Lo=En.value;return Lo.select(),Cn.isActivated=!1,nextTick()},showPanel:Da,hidePanel:ur,updatePlacement:La},Object.assign(Tn,Nn),watch(function(){return Fe.modelValue},function(Lo){Cn.inputValue=Lo,$r()}),watch(function(){return Fe.type},function(){Object.assign(Cn,{inputValue:Fe.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),Qo()}),watch(so,function(){var Lo=Bn.value;Lo&&(Er(Cn.datePanelValue),Cn.inputValue=Fe.multiple?Yn.value:Cn.datePanelLabel)}),nextTick(function(){GlobalEvent.on(Tn,"mousewheel",ai),GlobalEvent.on(Tn,"mousedown",ti),GlobalEvent.on(Tn,"keydown",ci),GlobalEvent.on(Tn,"blur",Ua)}),onUnmounted(function(){la(),GlobalEvent.off(Tn,"mousewheel"),GlobalEvent.off(Tn,"mousedown"),GlobalEvent.off(Tn,"keydown"),GlobalEvent.off(Tn,"blur")}),Qo();var _i=function(){var Lo,fr=Fe.className,yr=Fe.controls,Rr=Fe.type,Zn=Fe.align,oo=Fe.showWordCount,po=Fe.countMethod,To=Fe.name,Ro=Fe.disabled,Uo=Fe.readonly,Go=Fe.autocomplete,tr=Cn.inputValue,nr=Cn.visiblePanel,cr=Cn.isActivated,gr=_n.value,pr=Mn.value,Cr=In.value,wr=Bn.value,So=vo.value,Mo=Ko.value,Xo=qo.value,Jo=jo.value,vr=[],kr=Ja(),_r=Pi();kr&&vr.push(kr),vr.push(h$6("input",{ref:En,class:"vxe-input--inner",value:tr,name:To,type:Xo,placeholder:Jo,maxlength:Mo,readonly:So,disabled:Ro,autocomplete:Go,onKeydown:lr,onKeyup:ra,onWheel:Yr,onClick:mi,onInput:No,onChange:Vo,onFocus:Eo,onBlur:Lr})),_r&&vr.push(_r),vr.push(Sa()),wr&&vr.push(ji());var Nr=!1;return oo&&["text","search"].includes(Rr)&&(Nr=!0,vr.push(h$6("span",{class:["vxe-input--count",{"is--error":pr}]},po?"".concat(po({value:tr})):"".concat(Cr).concat(Mo?"/".concat(Mo):"")))),h$6("div",{ref:xn,class:["vxe-input","type--".concat(Rr),fr,(Lo={},Lo["size--".concat(gr)]=gr,Lo["is--".concat(Zn)]=Zn,Lo["is--controls"]=yr,Lo["is--prefix"]=!!kr,Lo["is--suffix"]=!!_r,Lo["is--readonly"]=Uo,Lo["is--visivle"]=nr,Lo["is--count"]=Nr,Lo["is--disabled"]=Ro,Lo["is--active"]=cr,Lo)]},vr)};return Tn.renderVN=_i,Tn},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(Fe,qe){var hn=qe.slots,vn=qe.emit,bn=inject("$xeform",null),wn=inject("$xeformiteminfo",null),kn=XEUtils$1.uniqueId(),_n={xID:kn,props:Fe,context:qe},Cn={},xn=useSize(Fe),En=inject("$xecheckboxgroup",null),$n=computed(function(){return En?XEUtils$1.includes(En.props.modelValue,Fe.label):Fe.modelValue===Fe.checkedValue}),Sn=computed(function(){if(Fe.disabled)return!0;if(En){var Nn=En.props,Pn=En.getComputeMaps().computeIsMaximize,On=Pn.value,Rn=$n.value;return Nn.disabled||On&&!Rn}return!1}),An=function(Nn){var Pn=Fe.checkedValue,On=Fe.uncheckedValue,Rn=Sn.value;if(!Rn){var In=Nn.target.checked,Mn=In?Pn:On,Bn={checked:In,value:Mn,label:Fe.label};En?En.handleChecked(Bn,Nn):(vn("update:modelValue",Mn),Cn.dispatchEvent("change",Bn,Nn),bn&&wn&&bn.triggerItemEvent(Nn,wn.itemConfig.field,Mn))}};Cn={dispatchEvent:function(Nn,Pn,On){vn(Nn,Object.assign({$checkbox:_n,$event:On},Pn))}},Object.assign(_n,Cn);var Tn=function(){var Nn,Pn=xn.value,On=Sn.value,Rn=$n.value,In=Fe.indeterminate;return h$6("label",{class:["vxe-checkbox",(Nn={},Nn["size--".concat(Pn)]=Pn,Nn["is--indeterminate"]=In,Nn["is--disabled"]=On,Nn["is--checked"]=Rn,Nn)],title:Fe.title},[h$6("input",{class:"vxe-checkbox--input",type:"checkbox",disabled:On,checked:Rn,onChange:An}),h$6("span",{class:["vxe-checkbox--icon",In?"vxe-icon-checkbox-indeterminate":Rn?"vxe-icon-checkbox-checked":"vxe-icon-checkbox-unchecked"]}),h$6("span",{class:"vxe-checkbox--label"},hn.default?hn.default({}):getFuncText(Fe.content))])};return _n.renderVN=Tn,_n},render:function(){return this.renderVN()}});function isOptionVisible(Fe){return Fe.visible!==!1}function getOptUniqueId(){return XEUtils$1.uniqueId("opt_")}const VxeSelectComponent=defineComponent({name:"VxeSelect",props:{modelValue:null,clearable:Boolean,placeholder:{type:String,default:function(){return XEUtils$1.eqNull(GlobalConfig.select.placeholder)?GlobalConfig.i18n("vxe.base.pleaseSelect"):GlobalConfig.select.placeholder}},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],popupClassName:[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","blur","focus"],setup:function(Fe,qe){var hn=qe.slots,vn=qe.emit,bn=inject("$xeform",null),wn=inject("$xeformiteminfo",null),kn=XEUtils$1.uniqueId(),_n=useSize(Fe),Cn=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}),xn=ref(),En=ref(),$n=ref(),Sn=ref(),An=ref(),Tn={refElem:xn},Nn={xID:kn,props:Fe,context:qe,reactData:Cn,getRefMaps:function(){return Tn}},Pn={},On=computed(function(){return Fe.optionProps||{}}),Rn=computed(function(){return Fe.optionGroupProps||{}}),In=computed(function(){var _o=On.value;return _o.label||"label"}),Mn=computed(function(){var _o=On.value;return _o.value||"value"}),Bn=computed(function(){var _o=Rn.value;return _o.label||"label"}),Dn=computed(function(){var _o=Rn.value;return _o.options||"options"}),Vn=computed(function(){var _o=Fe.modelValue,Fo=Fe.multiple,$o=Fe.max;return Fo&&$o?(_o?_o.length:0)>=XEUtils$1.toNumber($o):!1}),Ln=computed(function(){return Object.assign({},GlobalConfig.select.optionConfig,Fe.optionConfig)}),zn=computed(function(){return Cn.fullGroupList.some(function(_o){return _o.options&&_o.options.length})}),Hn=computed(function(){return XEUtils$1.toNumber(Fe.multiCharOverflow)}),Fn=function(_o,Fo){return _o&&(XEUtils$1.isString(_o)&&(_o=hn[_o]||null),XEUtils$1.isFunction(_o))?getSlotVNs(_o(Fo)):[]},Kn=function(_o){var Fo=Cn.fullOptionList,$o=Cn.fullGroupList,Do=zn.value,No=Mn.value;if(Do)for(var Vo=0;Vo<$o.length;Vo++){var Eo=$o[Vo];if(Eo.options)for(var rr=0;rr0&&Eo.length>Do?"".concat(Eo.substring(0,Do),"..."):Eo}).join(", ")}return $o?Un(_o):Gn(_o)}),Yn=function(){var _o=Ln.value;return _o.keyField||Fe.optionId||"_X_OPTION_KEY"},Xn=function(_o){var Fo=_o[Yn()];return Fo?encodeURIComponent(Fo):""},qn=function(){var _o=Fe.filterable,Fo=Fe.filterMethod,$o=Cn.fullOptionList,Do=Cn.fullGroupList,No=Cn.searchValue,Vo=zn.value,Eo=Bn.value,rr=In.value;return Vo?_o&&Fo?Cn.visibleGroupList=Do.filter(function(sr){return isOptionVisible(sr)&&Fo({group:sr,option:null,searchValue:No})}):_o?Cn.visibleGroupList=Do.filter(function(sr){return isOptionVisible(sr)&&(!No||"".concat(sr[Eo]).indexOf(No)>-1)}):Cn.visibleGroupList=Do.filter(isOptionVisible):_o&&Fo?Cn.visibleOptionList=$o.filter(function(sr){return isOptionVisible(sr)&&Fo({group:null,option:sr,searchValue:No})}):_o?Cn.visibleOptionList=$o.filter(function(sr){return isOptionVisible(sr)&&(!No||"".concat(sr[rr]).indexOf(No)>-1)}):Cn.visibleOptionList=$o.filter(isOptionVisible),nextTick()},jn=function(){var _o=Cn.fullOptionList,Fo=Cn.fullGroupList,$o=Dn.value,Do=Yn(),No=function(Vo){Xn(Vo)||(Vo[Do]=getOptUniqueId())};Fo.length?Fo.forEach(function(Vo){No(Vo),Vo[$o]&&Vo[$o].forEach(No)}):_o.length&&_o.forEach(No),qn()},Jn=function(_o){var Fo=Mn.value;_o&&(Cn.currentOption=_o,Cn.currentValue=_o[Fo])},Qn=function(_o,Fo){return nextTick().then(function(){if(_o){var $o=Sn.value,Do=An.value,No=Do.querySelector("[optid='".concat(Xn(_o),"']"));if($o&&No){var Vo=$o.offsetHeight,Eo=5;Fo?No.offsetTop+No.offsetHeight-$o.scrollTop>Vo&&($o.scrollTop=No.offsetTop+No.offsetHeight-Vo):(No.offsetTop+Eo<$o.scrollTop||No.offsetTop+Eo>$o.scrollTop+$o.clientHeight)&&($o.scrollTop=No.offsetTop-Eo)}}})},no=function(){Cn.panelIndexQo&&(br="top",Mr=Er-rr),Mrmr&&(Ir-=Ir+sr+ur-mr),IrQo&&Er-Vo-rr>ur&&(br="top",hr.bottom="".concat(Vo,"px"));return Cn.panelStyle=hr,Cn.panelPlacement=br,nextTick()}})},co,mo=function(){var _o=Fe.loading,Fo=Fe.disabled,$o=Fe.filterable;!_o&&!Fo&&(clearTimeout(co),Cn.inited||(Cn.inited=!0),Cn.isActivated=!0,Cn.animatVisible=!0,$o&&qn(),setTimeout(function(){var Do=Fe.modelValue,No=Fe.multiple,Vo=Kn(No&&Do?Do[0]:Do);Cn.visiblePanel=!0,Vo&&(Jn(Vo),Qn(Vo)),Io()},10),no(),so())},fo=function(){Cn.searchValue="",Cn.searchLoading=!1,Cn.visiblePanel=!1,co=window.setTimeout(function(){Cn.animatVisible=!1},350)},io=function(_o,Fo){Fo!==Fe.modelValue&&(vn("update:modelValue",Fo),Pn.dispatchEvent("change",{value:Fo},_o),bn&&wn&&bn.triggerItemEvent(_o,wn.itemConfig.field,Fo))},ao=function(_o,Fo){Cn.remoteValueList=[],io(_o,Fo),Pn.dispatchEvent("clear",{value:Fo},_o)},go=function(_o,Fo){ao(Fo,null),fo()},yo=function(_o,Fo,$o){var Do=Fe.modelValue,No=Fe.multiple,Vo=Cn.remoteValueList;if(No){var Eo=void 0;Do?Do.indexOf(Fo)===-1?Eo=Do.concat([Fo]):Eo=Do.filter(function(sr){return sr!==Fo}):Eo=[Fo];var rr=Vo.find(function(sr){return sr.key===Fo});rr?rr.result=$o:Vo.push({key:Fo,result:$o}),io(_o,Eo)}else Cn.remoteValueList=[{key:Fo,result:$o}],io(_o,Fo),fo()},Bo=function(_o){var Fo=Fe.disabled,$o=Cn.visiblePanel;if(!Fo&&$o){var Do=An.value;getEventTargetNode(_o,Do).flag?so():fo()}},ro=function(_o){var Fo=Fe.disabled,$o=Cn.visiblePanel;if(!Fo){var Do=xn.value,No=An.value;Cn.isActivated=getEventTargetNode(_o,Do).flag||getEventTargetNode(_o,No).flag,$o&&!Cn.isActivated&&fo()}},eo=function(_o,Fo){var $o=Cn.visibleOptionList,Do=Cn.visibleGroupList,No=zn.value,Vo=Mn.value,Eo=Dn.value,rr,sr,ur,hr;if(No)for(var Co=0;Co-1:Do===mr,Ir=!ur||isOptionVisible(Co),Mr=Ko(br,Co,Fo),ir=Xn(Co),Sr=$r?$r.default:null;return Ir?h$6("div",{key:hr||$o?ir:Er,class:["vxe-select-option",Qo?XEUtils$1.isFunction(Qo)?Qo({option:Co,$select:Nn}):Qo:"",{"is--disabled":Mr,"is--selected":br,"is--hover":Vo===mr}],optid:ir,onMousedown:function(Lr){var qr=Lr.button===0;qr&&Lr.stopPropagation()},onClick:function(Lr){Mr||yo(Lr,mr,Co)},onMouseenter:function(){Mr||Jn(Co)}},Sr?Fn(Sr,{option:Co,$select:Nn}):formatText(getFuncText(Co[rr]))):null})},wo=function(){var _o=Fe.optionKey,Fo=Cn.visibleGroupList,$o=Ln.value,Do=Bn.value,No=Dn.value,Vo=$o.useKey;return Fo.map(function(Eo,rr){var sr=Eo.slots,ur=Eo.className,hr=Xn(Eo),Co=Eo.disabled,Er=sr?sr.default:null;return h$6("div",{key:Vo||_o?hr:rr,class:["vxe-optgroup",ur?XEUtils$1.isFunction(ur)?ur({option:Eo,$select:Nn}):ur:"",{"is--disabled":Co}],optid:hr},[h$6("div",{class:"vxe-optgroup--title"},Er?Fn(Er,{option:Eo,$select:Nn}):getFuncText(Eo[Do])),h$6("div",{class:"vxe-optgroup--wrapper"},bo(Eo[No]||[],Eo))])})},zo=function(){var _o=Cn.visibleGroupList,Fo=Cn.visibleOptionList,$o=Cn.searchLoading,Do=zn.value;if($o)return[h$6("div",{class:"vxe-select--search-loading"},[h$6("i",{class:["vxe-select--search-icon",GlobalConfig.icon.SELECT_LOADED]}),h$6("span",{class:"vxe-select--search-text"},GlobalConfig.i18n("vxe.select.loadingText"))])];if(Do){if(_o.length)return wo()}else if(Fo.length)return bo(Fo);return[h$6("div",{class:"vxe-select--empty-placeholder"},Fe.emptyText||GlobalConfig.i18n("vxe.select.emptyText"))]};Pn={dispatchEvent:function(_o,Fo,$o){vn(_o,Object.assign({$select:Nn,$event:$o},Fo))},isPanelVisible:function(){return Cn.visiblePanel},togglePanel:function(){return Cn.visiblePanel?fo():mo(),nextTick()},hidePanel:function(){return Cn.visiblePanel&&fo(),nextTick()},showPanel:function(){return Cn.visiblePanel||mo(),nextTick()},refreshOption:qn,focus:function(){var _o=En.value;return Cn.isActivated=!0,_o.blur(),nextTick()},blur:function(){var _o=En.value;return _o.blur(),Cn.isActivated=!1,nextTick()}},Object.assign(Nn,Pn),watch(function(){return Cn.staticOptions},function(_o){_o.some(function(Fo){return Fo.options&&Fo.options.length})?(Cn.fullOptionList=[],Cn.fullGroupList=_o):(Cn.fullGroupList=[],Cn.fullOptionList=_o||[]),jn()}),watch(function(){return Fe.options},function(_o){Cn.fullGroupList=[],Cn.fullOptionList=_o||[],jn()}),watch(function(){return Fe.optionGroups},function(_o){Cn.fullOptionList=[],Cn.fullGroupList=_o||[],jn()}),onMounted(function(){nextTick(function(){var _o=Fe.options,Fo=Fe.optionGroups;Fo?Cn.fullGroupList=Fo:_o&&(Cn.fullOptionList=_o),jn()}),GlobalEvent.on(Nn,"mousewheel",Bo),GlobalEvent.on(Nn,"mousedown",ro),GlobalEvent.on(Nn,"keydown",lo),GlobalEvent.on(Nn,"blur",ho)}),onUnmounted(function(){GlobalEvent.off(Nn,"mousewheel"),GlobalEvent.off(Nn,"mousedown"),GlobalEvent.off(Nn,"keydown"),GlobalEvent.off(Nn,"blur")});var Yo=function(){var _o,Fo,$o=Fe.className,Do=Fe.popupClassName,No=Fe.transfer,Vo=Fe.disabled,Eo=Fe.loading,rr=Fe.filterable,sr=Cn.inited,ur=Cn.isActivated,hr=Cn.visiblePanel,Co=_n.value,Er=Wn.value,$r=hn.prefix;return h$6("div",{ref:xn,class:["vxe-select",$o?XEUtils$1.isFunction($o)?$o({$select:Nn}):$o:"",(_o={},_o["size--".concat(Co)]=Co,_o["is--visivle"]=hr,_o["is--disabled"]=Vo,_o["is--filter"]=rr,_o["is--loading"]=Eo,_o["is--active"]=ur,_o)]},[h$6("div",{class:"vxe-select-slots",ref:"hideOption"},hn.default?hn.default({}):[]),h$6(VxeInputConstructor,{ref:En,clearable:Fe.clearable,placeholder:Fe.placeholder,readonly:!0,disabled:Vo,type:"text",prefixIcon:Fe.prefixIcon,suffixIcon:Eo?GlobalConfig.icon.SELECT_LOADED:hr?GlobalConfig.icon.SELECT_OPEN:GlobalConfig.icon.SELECT_CLOSE,modelValue:Er,onClear:go,onClick:jo,onFocus:Po,onBlur:ko,onSuffixClick:jo},$r?{prefix:function(){return $r({})}}:{}),h$6(Teleport,{to:"body",disabled:No?!sr:!0},[h$6("div",{ref:An,class:["vxe-table--ignore-clear vxe-select--panel",Do?XEUtils$1.isFunction(Do)?Do({$select:Nn}):Do:"",(Fo={},Fo["size--".concat(Co)]=Co,Fo["is--transfer"]=No,Fo["animat--leave"]=!Eo&&Cn.animatVisible,Fo["animat--enter"]=!Eo&&hr,Fo)],placement:Cn.panelPlacement,style:Cn.panelStyle},sr?[rr?h$6("div",{class:"vxe-select-filter--wrapper"},[h$6(VxeInputConstructor,{ref:$n,class:"vxe-select-filter--input",modelValue:Cn.searchValue,clearable:!0,placeholder:GlobalConfig.i18n("vxe.select.search"),prefixIcon:GlobalConfig.icon.INPUT_SEARCH,"onUpdate:modelValue":xo,onFocus:Ao,onKeydown:vo,onChange:qo,onSearch:qo})]):createCommentVNode(),h$6("div",{ref:Sn,class:"vxe-select-option--wrapper"},zo())]:[])])])};return Nn.renderVN=Yo,provide("$xeselect",Nn),Nn},render:function(){return this.renderVN()}}),ExportPanelComponent=defineComponent({name:"VxeExportPanel",props:{defaultOptions:Object,storeData:Object},setup:function(Fe){var qe=inject("$xetable",{}),hn=qe.getComputeMaps(),vn=hn.computeExportOpts,bn=hn.computePrintOpts,wn=reactive({isAll:!1,isIndeterminate:!1,loading:!1}),kn=ref(),_n=ref(),Cn=ref(),xn=computed(function(){var Ln=Fe.storeData;return Ln.columns.every(function(zn){return zn.checked})}),En=computed(function(){var Ln=Fe.defaultOptions;return["html","xml","xlsx","pdf"].indexOf(Ln.type)>-1}),$n=computed(function(){var Ln=Fe.storeData,zn=Fe.defaultOptions;return!zn.original&&zn.mode==="current"&&(Ln.isPrint||["html","xlsx"].indexOf(zn.type)>-1)}),Sn=computed(function(){var Ln=Fe.defaultOptions;return!Ln.original&&["xlsx"].indexOf(Ln.type)>-1}),An=function(Ln){var zn=Fe.storeData,Hn=XEUtils$1.findTree(zn.columns,function(Kn){return Kn===Ln});if(Hn&&Hn.parent){var Fn=Hn.parent;Fn.children&&Fn.children.length&&(Fn.checked=Fn.children.every(function(Kn){return Kn.checked}),Fn.halfChecked=!Fn.checked&&Fn.children.some(function(Kn){return Kn.checked||Kn.halfChecked}),An(Fn))}},Tn=function(){var Ln=Fe.storeData,zn=Ln.columns;wn.isAll=zn.every(function(Hn){return Hn.disabled||Hn.checked}),wn.isIndeterminate=!wn.isAll&&zn.some(function(Hn){return!Hn.disabled&&(Hn.checked||Hn.halfChecked)})},Nn=function(Ln){var zn=!Ln.checked;XEUtils$1.eachTree([Ln],function(Hn){Hn.checked=zn,Hn.halfChecked=!1}),An(Ln),Tn()},Pn=function(){var Ln=Fe.storeData,zn=!wn.isAll;XEUtils$1.eachTree(Ln.columns,function(Hn){Hn.disabled||(Hn.checked=zn,Hn.halfChecked=!1)}),wn.isAll=zn,Tn()},On=function(){nextTick(function(){var Ln=_n.value,zn=Cn.value,Hn=kn.value,Fn=Ln||zn||Hn;Fn&&Fn.focus()}),Tn()},Rn=function(){var Ln=Fe.storeData,zn=Fe.defaultOptions,Hn=Ln.hasMerge,Fn=Ln.columns,Kn=xn.value,Un=$n.value,Gn=XEUtils$1.searchTree(Fn,function(Wn){return Wn.checked},{children:"children",mapChildren:"childNodes",original:!0});return Object.assign({},zn,{columns:Gn,isMerge:Hn&&Un&&Kn?zn.isMerge:!1})},In=function(){var Ln=Fe.storeData,zn=bn.value;Ln.visible=!1,qe.print(Object.assign({},zn,Rn()))},Mn=function(){var Ln=Fe.storeData,zn=vn.value;wn.loading=!0,qe.exportData(Object.assign({},zn,Rn())).then(function(){wn.loading=!1,Ln.visible=!1}).catch(function(){wn.loading=!1})},Bn=function(){var Ln=Fe.storeData;Ln.visible=!1},Dn=function(){var Ln=Fe.storeData;Ln.isPrint?In():Mn()},Vn=function(){var Ln=Fe.defaultOptions,zn=Fe.storeData,Hn=wn.isAll,Fn=wn.isIndeterminate,Kn=zn.hasTree,Un=zn.hasMerge,Gn=zn.isPrint,Wn=zn.hasColgroup,Yn=Ln.isHeader,Xn=[],qn=xn.value,jn=En.value,Jn=$n.value,Qn=Sn.value;return XEUtils$1.eachTree(zn.columns,function(no){var so=formatText(no.getTitle(),1),co=no.children&&no.children.length,mo=no.checked,fo=no.halfChecked;Xn.push(h$6("li",{class:["vxe-export--panel-column-option","level--".concat(no.level),{"is--group":co,"is--checked":mo,"is--indeterminate":fo,"is--disabled":no.disabled}],title:so,onClick:function(){no.disabled||Nn(no)}},[h$6("span",{class:["vxe-checkbox--icon",fo?GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE:mo?GlobalConfig.icon.TABLE_CHECKBOX_CHECKED:GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED]}),h$6("span",{class:"vxe-checkbox--label"},so)]))}),h$6(VxeModalComponent,{modelValue:zn.visible,title:GlobalConfig.i18n(Gn?"vxe.export.printTitle":"vxe.export.expTitle"),width:660,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:wn.loading,"onUpdate:modelValue":function(no){zn.visible=no},onShow:On},{default:function(){return h$6("div",{class:"vxe-export--panel"},[h$6("table",{cellspacing:0,cellpadding:0,border:0},[h$6("tbody",[[Gn?createCommentVNode():h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.export.expName")),h$6("td",[h$6(VxeInputConstructor,{ref:_n,modelValue:Ln.filename,type:"text",clearable:!0,placeholder:GlobalConfig.i18n("vxe.export.expNamePlaceholder"),"onUpdate:modelValue":function(no){Ln.filename=no}})])]),Gn?createCommentVNode():h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.export.expType")),h$6("td",[h$6(VxeSelectComponent,{modelValue:Ln.type,options:zn.typeList.map(function(no){return{value:no.value,label:GlobalConfig.i18n(no.label)}}),"onUpdate:modelValue":function(no){Ln.type=no}})])]),Gn||jn?h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.export.expSheetName")),h$6("td",[h$6(VxeInputConstructor,{ref:Cn,modelValue:Ln.sheetName,type:"text",clearable:!0,placeholder:GlobalConfig.i18n("vxe.export.expSheetNamePlaceholder"),"onUpdate:modelValue":function(no){Ln.sheetName=no}})])]):createCommentVNode(),h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.export.expMode")),h$6("td",[h$6(VxeSelectComponent,{modelValue:Ln.mode,options:zn.modeList.map(function(no){return{value:no.value,label:GlobalConfig.i18n(no.label)}}),"onUpdate:modelValue":function(no){Ln.mode=no}})])]),h$6("tr",[h$6("td",[GlobalConfig.i18n("vxe.export.expColumn")]),h$6("td",[h$6("div",{class:"vxe-export--panel-column"},[h$6("ul",{class:"vxe-export--panel-column-header"},[h$6("li",{class:["vxe-export--panel-column-option",{"is--checked":Hn,"is--indeterminate":Fn}],title:GlobalConfig.i18n("vxe.table.allTitle"),onClick:Pn},[h$6("span",{class:["vxe-checkbox--icon",Fn?GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE:Hn?GlobalConfig.icon.TABLE_CHECKBOX_CHECKED:GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED]}),h$6("span",{class:"vxe-checkbox--label"},GlobalConfig.i18n("vxe.export.expCurrentColumn"))])]),h$6("ul",{class:"vxe-export--panel-column-body"},Xn)])])]),h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.export.expOpts")),h$6("td",[h$6("div",{class:"vxe-export--panel-option-row"},[h$6(VxeCheckboxComponent,{modelValue:Ln.isHeader,title:GlobalConfig.i18n("vxe.export.expHeaderTitle"),content:GlobalConfig.i18n("vxe.export.expOptHeader"),"onUpdate:modelValue":function(no){Ln.isHeader=no}}),h$6(VxeCheckboxComponent,{modelValue:Ln.isFooter,disabled:!zn.hasFooter,title:GlobalConfig.i18n("vxe.export.expFooterTitle"),content:GlobalConfig.i18n("vxe.export.expOptFooter"),"onUpdate:modelValue":function(no){Ln.isFooter=no}}),h$6(VxeCheckboxComponent,{modelValue:Ln.original,title:GlobalConfig.i18n("vxe.export.expOriginalTitle"),content:GlobalConfig.i18n("vxe.export.expOptOriginal"),"onUpdate:modelValue":function(no){Ln.original=no}})]),h$6("div",{class:"vxe-export--panel-option-row"},[h$6(VxeCheckboxComponent,{modelValue:Yn&&Wn&&Jn?Ln.isColgroup:!1,title:GlobalConfig.i18n("vxe.export.expColgroupTitle"),disabled:!Yn||!Wn||!Jn,content:GlobalConfig.i18n("vxe.export.expOptColgroup"),"onUpdate:modelValue":function(no){Ln.isColgroup=no}}),h$6(VxeCheckboxComponent,{modelValue:Un&&Jn&&qn?Ln.isMerge:!1,title:GlobalConfig.i18n("vxe.export.expMergeTitle"),disabled:!Un||!Jn||!qn,content:GlobalConfig.i18n("vxe.export.expOptMerge"),"onUpdate:modelValue":function(no){Ln.isMerge=no}}),Gn?createCommentVNode():h$6(VxeCheckboxComponent,{modelValue:Qn?Ln.useStyle:!1,disabled:!Qn,title:GlobalConfig.i18n("vxe.export.expUseStyleTitle"),content:GlobalConfig.i18n("vxe.export.expOptUseStyle"),"onUpdate:modelValue":function(no){Ln.useStyle=no}}),h$6(VxeCheckboxComponent,{modelValue:Kn?Ln.isAllExpand:!1,disabled:!Kn,title:GlobalConfig.i18n("vxe.export.expAllExpandTitle"),content:GlobalConfig.i18n("vxe.export.expOptAllExpand"),"onUpdate:modelValue":function(no){Ln.isAllExpand=no}})])])])]])]),h$6("div",{class:"vxe-export--panel-btns"},[h$6(VxeButtonComponent,{content:GlobalConfig.i18n("vxe.export.expCancel"),onClick:Bn}),h$6(VxeButtonComponent,{ref:kn,status:"primary",content:GlobalConfig.i18n(Gn?"vxe.export.expPrint":"vxe.export.expConfirm"),onClick:Dn})])])}})};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(Fe,qe){var hn=qe.slots,vn=qe.emit,bn=inject("$xeform",null),wn=inject("$xeformiteminfo",null),kn=XEUtils$1.uniqueId(),_n={xID:kn,props:Fe,context:qe,name:XEUtils$1.uniqueId("xegroup_")},Cn={};useSize(Fe);var xn={handleChecked:function($n,Sn){vn("update:modelValue",$n.label),Cn.dispatchEvent("change",$n),bn&&wn&&bn.triggerItemEvent(Sn,wn.itemConfig.field,$n.label)}};Cn={dispatchEvent:function($n,Sn,An){vn($n,Object.assign({$radioGroup:_n,$event:An},Sn))}};var En=function(){return h$6("div",{class:"vxe-radio-group"},hn.default?hn.default({}):[])};return Object.assign(_n,xn,{renderVN:En,dispatchEvent}),provide("$xeradiogroup",_n),En}}),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(Fe,qe){var hn=qe.slots,vn=qe.emit,bn=inject("$xeform",null),wn=inject("$xeformiteminfo",null),kn=XEUtils$1.uniqueId(),_n={xID:kn,props:Fe,context:qe},Cn=useSize(Fe),xn=inject("$xeradiogroup",null),En={},$n=computed(function(){return Fe.disabled||xn&&xn.props.disabled}),Sn=computed(function(){return xn?xn.name:Fe.name}),An=computed(function(){return xn?xn.props.strict:Fe.strict}),Tn=computed(function(){var In=Fe.modelValue,Mn=Fe.label;return xn?xn.props.modelValue===Mn:In===Mn}),Nn=function(In,Mn){xn?xn.handleChecked({label:In},Mn):(vn("update:modelValue",In),En.dispatchEvent("change",{label:In},Mn),bn&&wn&&bn.triggerItemEvent(Mn,wn.itemConfig.field,In))},Pn=function(In){var Mn=$n.value;Mn||Nn(Fe.label,In)},On=function(In){var Mn=$n.value,Bn=An.value;!Mn&&!Bn&&Fe.label===(xn?xn.props.modelValue:Fe.modelValue)&&Nn(null,In)};En={dispatchEvent:function(In,Mn,Bn){vn(In,Object.assign({$radio:_n,$event:Bn},Mn))}},Object.assign(_n,En);var Rn=function(){var In,Mn=Cn.value,Bn=$n.value,Dn=Sn.value,Vn=Tn.value;return h$6("label",{class:["vxe-radio",(In={},In["size--".concat(Mn)]=Mn,In["is--checked"]=Vn,In["is--disabled"]=Bn,In)],title:Fe.title},[h$6("input",{class:"vxe-radio--input",type:"radio",name:Dn,checked:Vn,disabled:Bn,onChange:Pn,onClick:On}),h$6("span",{class:["vxe-radio--icon",Vn?"vxe-icon-radio-checked":"vxe-icon-radio-unchecked"]}),h$6("span",{class:"vxe-radio--label"},hn.default?hn.default({}):getFuncText(Fe.content))])};return _n.renderVN=Rn,_n},render:function(){return this.renderVN()}}),ImportPanelComponent=defineComponent({name:"VxeImportPanel",props:{defaultOptions:Object,storeData:Object},setup:function(Fe){var qe=inject("$xetable",{}),hn=qe.getComputeMaps().computeImportOpts,vn=reactive({loading:!1}),bn=ref(),wn=computed(function(){var Tn=Fe.storeData;return"".concat(Tn.filename,".").concat(Tn.type)}),kn=computed(function(){var Tn=Fe.storeData;return Tn.file&&Tn.type}),_n=computed(function(){var Tn=Fe.storeData,Nn=Tn.type,Pn=Tn.typeList;if(Nn){var On=XEUtils$1.find(Pn,function(Rn){return Nn===Rn.value});return On?GlobalConfig.i18n(On.label):"*.*"}return"*.".concat(Pn.map(function(Rn){return Rn.value}).join(", *."))}),Cn=function(){var Tn=Fe.storeData;Object.assign(Tn,{filename:"",sheetName:"",type:""})},xn=function(){var Tn=Fe.storeData,Nn=Fe.defaultOptions;qe.readFile(Nn).then(function(Pn){var On=Pn.file;Object.assign(Tn,parseFile(On),{file:On})}).catch(function(Pn){return Pn})},En=function(){nextTick(function(){var Tn=bn.value;Tn&&Tn.focus()})},$n=function(){var Tn=Fe.storeData;Tn.visible=!1},Sn=function(){var Tn=Fe.storeData,Nn=Fe.defaultOptions,Pn=hn.value;vn.loading=!0,qe.importByFile(Tn.file,Object.assign({},Pn,Nn)).then(function(){vn.loading=!1,Tn.visible=!1}).catch(function(){vn.loading=!1})},An=function(){var Tn=Fe.defaultOptions,Nn=Fe.storeData,Pn=wn.value,On=kn.value,Rn=_n.value;return h$6(VxeModalComponent,{modelValue:Nn.visible,title:GlobalConfig.i18n("vxe.import.impTitle"),width:440,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:vn.loading,"onUpdate:modelValue":function(In){Nn.visible=In},onShow:En},{default:function(){return h$6("div",{class:"vxe-export--panel"},[h$6("table",{cellspacing:0,cellpadding:0,border:0},[h$6("tbody",[h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.import.impFile")),h$6("td",[On?h$6("div",{class:"vxe-import-selected--file",title:Pn},[h$6("span",Pn),h$6("i",{class:GlobalConfig.icon.INPUT_CLEAR,onClick:Cn})]):h$6("button",{ref:bn,class:"vxe-import-select--file",onClick:xn},GlobalConfig.i18n("vxe.import.impSelect"))])]),h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.import.impType")),h$6("td",Rn)]),h$6("tr",[h$6("td",GlobalConfig.i18n("vxe.import.impOpts")),h$6("td",[h$6(VxeRadioGroupComponent,{modelValue:Tn.mode,"onUpdate:modelValue":function(In){Tn.mode=In}},{default:function(){return Nn.modeList.map(function(In){return h$6(VxeRadioComponent,{label:In.value,content:GlobalConfig.i18n(In.label)})})}})])])])]),h$6("div",{class:"vxe-export--panel-btns"},[h$6(VxeButtonComponent,{content:GlobalConfig.i18n("vxe.import.impCancel"),onClick:$n}),h$6(VxeButtonComponent,{status:"primary",disabled:!On,content:GlobalConfig.i18n("vxe.import.impConfirm"),onClick:Sn})])])}})};return An}});var fileForm,fileInput,printFrame,defaultHtmlStyle='body{margin:0;padding: 0 1px;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 Fe=document.createElement("iframe");return Fe.className="vxe-table--print-frame",Fe}function getExportBlobByContent(Fe,qe){return new Blob([Fe],{type:"text/".concat(qe.type,";charset=utf-8;")})}function createHtmlPage(Fe,qe){var hn=Fe.style;return["","",'',"".concat(Fe.sheetName,""),""),hn?""):"","","".concat(qe,""),""].join("")}var readLocalFile=function(Fe){var qe=Object.assign({},Fe);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(hn,vn){var bn=qe.types||[],wn=!bn.length||bn.some(function(kn){return kn==="*"});fileInput.multiple=!!qe.multiple,fileInput.accept=wn?"":".".concat(bn.join(", .")),fileInput.onchange=function(kn){var _n=kn.target.files,Cn=_n[0],xn="";if(!wn)for(var En=0;En<_n.length;En++){var $n=parseFile(_n[En]).type;if(!XEUtils$1.includes(bn,$n)){xn=$n;break}}if(!xn)hn({status:!0,files:_n,file:Cn});else{qe.message!==!1&&VXETable.modal.message({content:GlobalConfig.i18n("vxe.error.notType",[xn]),status:"error"});var Sn={status:!1,files:_n,file:Cn};vn(Sn)}},fileForm.reset(),fileInput.click()})};function removePrintFrame(){if(printFrame){if(printFrame.parentNode){try{printFrame.contentDocument.write("")}catch{}printFrame.parentNode.removeChild(printFrame)}printFrame=null}}function appendPrintFrame(){printFrame.parentNode||document.body.appendChild(printFrame)}function afterPrintEvent(){requestAnimationFrame(removePrintFrame)}function handlePrint(Fe,qe,hn){hn===void 0&&(hn="");var vn=qe.beforePrintMethod;vn&&(hn=vn({content:hn,options:qe,$table:Fe})||""),hn=createHtmlPage(qe,hn);var bn=getExportBlobByContent(hn,qe);browse.msie?(removePrintFrame(),printFrame=createFrame(),appendPrintFrame(),printFrame.contentDocument.write(hn),printFrame.contentDocument.execCommand("print")):(printFrame||(printFrame=createFrame(),printFrame.onload=function(wn){wn.target.src&&(wn.target.contentWindow.onafterprint=afterPrintEvent,wn.target.contentWindow.print())}),appendPrintFrame(),printFrame.src=URL.createObjectURL(bn))}var saveLocalFile=function(Fe){var qe=Fe.filename,hn=Fe.type,vn=Fe.content,bn="".concat(qe,".").concat(hn);if(window.Blob){var wn=vn instanceof Blob?vn:getExportBlobByContent(XEUtils$1.toValueString(vn),Fe);if(navigator.msSaveBlob)navigator.msSaveBlob(wn,bn);else{var kn=URL.createObjectURL(wn),_n=document.createElement("a");_n.target="_blank",_n.download=bn,_n.href=kn,document.body.appendChild(_n),_n.click(),requestAnimationFrame(function(){_n.parentNode&&_n.parentNode.removeChild(_n),URL.revokeObjectURL(kn)})}return Promise.resolve()}return Promise.reject(new Error(getLog("vxe.error.notExp")))},htmlCellElem,csvBOM="\uFEFF",enterSymbol=`\r +`;function defaultFilterExportColumn(Fe){return Fe.property||["seq","checkbox","radio"].indexOf(Fe.type)>-1}var getConvertColumns=function(Fe){var qe=[];return Fe.forEach(function(hn){hn.childNodes&&hn.childNodes.length?(qe.push(hn),qe.push.apply(qe,getConvertColumns(hn.childNodes))):qe.push(hn)}),qe},convertToRows$1=function(Fe){var qe=1,hn=function(kn,_n){if(_n&&(kn._level=_n._level+1,qe=12&&!isNaN(qe))return" ".concat(qe);break}}return qe}function toTxtCellLabel(Fe){return/[",\s\n]/.test(Fe)?'"'.concat(Fe.replace(/"/g,'""'),'"'):Fe}function getElementsByTagName(Fe,qe){return Fe.getElementsByTagName(qe)}function getTxtCellKey(Fe){return"#".concat(Fe,"@").concat(XEUtils$1.uniqueId())}function replaceTxtCell(Fe,qe){return Fe.replace(/#\d+@\d+/g,function(hn){return XEUtils$1.hasOwnProp(qe,hn)?qe[hn]:hn})}function getTxtCellValue(Fe,qe){var hn=replaceTxtCell(Fe,qe);return hn.replace(/^"+$/g,function(vn){return'"'.repeat(Math.ceil(vn.length/2))})}function parseCsvAndTxt(Fe,qe,hn){var vn=qe.split(enterSymbol),bn=[],wn=[];if(vn.length){var kn={},_n=Date.now();vn.forEach(function(Cn){if(Cn){var xn={};Cn=Cn.replace(/("")|(\n)/g,function($n,Sn){var An=getTxtCellKey(_n);return kn[An]=Sn?'"':` +`,An}).replace(/"(.*?)"/g,function($n,Sn){var An=getTxtCellKey(_n);return kn[An]=replaceTxtCell(Sn,kn),An});var En=Cn.split(hn);wn.length?(En.forEach(function($n,Sn){Sn-1})}var tableExportMethodKeys=["exportData","importByFile","importData","saveFile","readFile","print","openImport","openExport","openPrint"],tableExportHook={setupTable:function(Fe){var qe=Fe.props,hn=Fe.reactData,vn=Fe.internalData,bn=Fe.getComputeMaps(),wn=bn.computeTreeOpts,kn=bn.computePrintOpts,_n=bn.computeExportOpts,Cn=bn.computeImportOpts,xn=bn.computeCustomOpts,En=bn.computeSeqOpts,$n=bn.computeRadioOpts,Sn=bn.computeCheckboxOpts,An=bn.computeColumnOpts,Tn=inject("$xegrid",null),Nn=function(qn){var jn=wn.value,Jn=jn.children||jn.childrenField;return qn[Jn]&&qn[Jn].length},Pn=function(qn,jn,Jn,Qn){var no=En.value,so=no.seqMethod||Jn.seqMethod;return so?so({row:qn,rowIndex:Fe.getRowIndex(qn),$rowIndex:jn,column:Jn,columnIndex:Fe.getColumnIndex(Jn),$columnIndex:Qn}):Fe.getRowSeq(qn)};function On(qn,jn){var Jn=An.value,Qn=jn.headerExportMethod||Jn.headerExportMethod;return Qn?Qn({column:jn,options:qn,$table:Fe}):(qn.original?jn.property:jn.getTitle())||""}var Rn=function(qn){return XEUtils$1.isBoolean(qn)?qn?"TRUE":"FALSE":qn},In=function(qn,jn,Jn){var Qn=qn.isAllExpand,no=qn.mode,so=qe.treeConfig,co=$n.value,mo=Sn.value,fo=wn.value,io=An.value;if(htmlCellElem||(htmlCellElem=document.createElement("div")),so){var ao=fo.children||fo.childrenField,go=[],yo=new Map;return XEUtils$1.eachTree(Jn,function(Bo,ro,eo,lo,ho,Io){var Po=Bo._row||Bo,ko=ho&&ho._row?ho._row:ho;if(Qn||!ko||yo.has(ko)&&Fe.isTreeExpandByRow(ko)){var xo=Nn(Po),Ao={_row:Po,_level:Io.length-1,_hasChild:xo,_expand:xo&&Fe.isTreeExpandByRow(Po)};jn.forEach(function(vo,qo){var jo="",Ko=vo.editRender||vo.cellRender,bo=vo.exportMethod;if(!bo&&Ko&&Ko.name){var wo=VXETable.renderer.get(Ko.name);wo&&(bo=wo.exportMethod)}if(bo||(bo=io.exportMethod),bo)jo=bo({$table:Fe,row:Po,column:vo,options:qn});else switch(vo.type){case"seq":jo=no==="all"?lo.map(function(Yo,_o){return _o%2===0?Number(Yo)+1:"."}).join(""):Pn(Po,ro,vo,qo);break;case"checkbox":jo=Rn(Fe.isCheckedByCheckboxRow(Po)),Ao._checkboxLabel=mo.labelField?XEUtils$1.get(Po,mo.labelField):"",Ao._checkboxDisabled=mo.checkMethod&&!mo.checkMethod({row:Po});break;case"radio":jo=Rn(Fe.isCheckedByRadioRow(Po)),Ao._radioLabel=co.labelField?XEUtils$1.get(Po,co.labelField):"",Ao._radioDisabled=co.checkMethod&&!co.checkMethod({row:Po});break;default:if(qn.original)jo=getCellValue(Po,vo);else if(jo=Fe.getCellLabel(Po,vo),vo.type==="html")htmlCellElem.innerHTML=jo,jo=htmlCellElem.innerText.trim();else{var zo=Fe.getCell(Po,vo);zo&&(jo=zo.innerText.trim())}}Ao[vo.id]=XEUtils$1.toValueString(jo)}),yo.set(Po,1),go.push(Object.assign(Ao,Po))}},{children:ao}),go}return Jn.map(function(Bo,ro){var eo={_row:Bo};return jn.forEach(function(lo,ho){var Io="",Po=lo.editRender||lo.cellRender,ko=lo.exportMethod;if(!ko&&Po&&Po.name){var xo=VXETable.renderer.get(Po.name);xo&&(ko=xo.exportMethod)}if(ko)Io=ko({$table:Fe,row:Bo,column:lo,options:qn});else switch(lo.type){case"seq":Io=no==="all"?ro+1:Pn(Bo,ro,lo,ho);break;case"checkbox":Io=Rn(Fe.isCheckedByCheckboxRow(Bo)),eo._checkboxLabel=mo.labelField?XEUtils$1.get(Bo,mo.labelField):"",eo._checkboxDisabled=mo.checkMethod&&!mo.checkMethod({row:Bo});break;case"radio":Io=Rn(Fe.isCheckedByRadioRow(Bo)),eo._radioLabel=co.labelField?XEUtils$1.get(Bo,co.labelField):"",eo._radioDisabled=co.checkMethod&&!co.checkMethod({row:Bo});break;default:if(qn.original)Io=getCellValue(Bo,lo);else if(Io=Fe.getCellLabel(Bo,lo),lo.type==="html")htmlCellElem.innerHTML=Io,Io=htmlCellElem.innerText.trim();else{var Ao=Fe.getCell(Bo,lo);Ao&&(Io=Ao.innerText.trim())}}eo[lo.id]=XEUtils$1.toValueString(Io)}),eo})},Mn=function(qn){var jn=qn.columns,Jn=qn.dataFilterMethod,Qn=qn.data;return Jn&&(Qn=Qn.filter(function(no,so){return Jn({row:no,$rowIndex:so})})),In(qn,jn,Qn)},Bn=function(qn,jn,Jn){var Qn=An.value,no=Jn.editRender||Jn.cellRender,so=Jn.footerExportMethod;if(!so&&no&&no.name){var co=VXETable.renderer.get(no.name);co&&(so=co.footerExportMethod)}so||(so=Qn.footerExportMethod);var mo=Fe.getVTColumnIndex(Jn),fo=so?so({$table:Fe,items:jn,itemIndex:mo,_columnIndex:mo,column:Jn,options:qn}):XEUtils$1.toValueString(jn[mo]);return fo},Dn=function(qn,jn,Jn){var Qn=csvBOM;if(qn.isHeader&&(Qn+=jn.map(function(co){return toTxtCellLabel(On(qn,co))}).join(",")+enterSymbol),Jn.forEach(function(co){Qn+=jn.map(function(mo){return toTxtCellLabel(getCsvCellTypeLabel(mo,co[mo.id]))}).join(",")+enterSymbol}),qn.isFooter){var no=hn.footerTableData,so=getFooterData(qn,no);so.forEach(function(co){Qn+=jn.map(function(mo){return toTxtCellLabel(Bn(qn,co,mo))}).join(",")+enterSymbol})}return Qn},Vn=function(qn,jn,Jn){var Qn="";if(qn.isHeader&&(Qn+=jn.map(function(co){return toTxtCellLabel(On(qn,co))}).join(" ")+enterSymbol),Jn.forEach(function(co){Qn+=jn.map(function(mo){return toTxtCellLabel(co[mo.id])}).join(" ")+enterSymbol}),qn.isFooter){var no=hn.footerTableData,so=getFooterData(qn,no);so.forEach(function(co){Qn+=jn.map(function(mo){return toTxtCellLabel(Bn(qn,co,mo))}).join(",")+enterSymbol})}return Qn},Ln=function(qn,jn,Jn){var Qn=qn[jn],no=XEUtils$1.isUndefined(Qn)||XEUtils$1.isNull(Qn)?Jn:Qn,so=no==="ellipsis",co=no==="title",mo=no===!0||no==="tooltip",fo=co||mo||so,io=hn.scrollXLoad,ao=hn.scrollYLoad;return(io||ao)&&!fo&&(fo=!0),fo},zn=function(qn,jn,Jn){var Qn=qe.id,no=qe.border,so=qe.treeConfig,co=qe.headerAlign,mo=qe.align,fo=qe.footerAlign,io=qe.showOverflow,ao=qe.showHeaderOverflow,go=hn.isAllSelected,yo=hn.isIndeterminate,Bo=hn.mergeList,ro=wn.value,eo=qn.print,lo=qn.isHeader,ho=qn.isFooter,Io=qn.isColgroup,Po=qn.isMerge,ko=qn.colgroups,xo=qn.original,Ao="check-all",vo=["vxe-table","border--".concat(toTableBorder(no)),eo?"is--print":"",lo?"is--header":""].filter(function(wo){return wo}),qo=[''),"".concat(jn.map(function(wo){return'')}).join(""),"")];if(lo&&(qo.push(""),Io&&!xo?ko.forEach(function(wo){qo.push("".concat(wo.map(function(zo){var Yo=zo.headerAlign||zo.align||co||mo,_o=Ln(zo,"showHeaderOverflow",ao)?["col--ellipsis"]:[],Fo=On(qn,zo),$o=0,Do=0;XEUtils$1.eachTree([zo],function(Vo){(!Vo.childNodes||!zo.childNodes.length)&&Do++,$o+=Vo.renderWidth},{children:"childNodes"});var No=$o-Do;return Yo&&_o.push("col--".concat(Yo)),zo.type==="checkbox"?'"):'")}).join(""),""))}):qo.push("".concat(jn.map(function(wo){var zo=wo.headerAlign||wo.align||co||mo,Yo=Ln(wo,"showHeaderOverflow",ao)?["col--ellipsis"]:[],_o=On(qn,wo);return zo&&Yo.push("col--".concat(zo)),wo.type==="checkbox"?'"):'")}).join(""),"")),qo.push("")),Jn.length&&(qo.push(""),so?Jn.forEach(function(wo){qo.push(""+jn.map(function(zo){var Yo=zo.align||mo,_o=Ln(zo,"showOverflow",io)?["col--ellipsis"]:[],Fo=wo[zo.id];if(Yo&&_o.push("col--".concat(Yo)),zo.treeNode){var $o="";return wo._hasChild&&($o='')),_o.push("vxe-table--tree-node"),zo.type==="radio"?'"):zo.type==="checkbox"?'"):'")}return zo.type==="radio"?'"):zo.type==="checkbox"?'"):'")}).join("")+"")}):Jn.forEach(function(wo){qo.push(""+jn.map(function(zo){var Yo=zo.align||mo,_o=Ln(zo,"showOverflow",io)?["col--ellipsis"]:[],Fo=wo[zo.id],$o=1,Do=1;if(Po&&Bo.length){var No=Fe.getVTRowIndex(wo._row),Vo=Fe.getVTColumnIndex(zo),Eo=mergeBodyMethod(Bo,No,Vo);if(Eo){var rr=Eo.rowspan,sr=Eo.colspan;if(!rr||!sr)return"";rr>1&&($o=rr),sr>1&&(Do=sr)}}return Yo&&_o.push("col--".concat(Yo)),zo.type==="radio"?'"):zo.type==="checkbox"?'"):'")}).join("")+"")}),qo.push("")),ho){var jo=hn.footerTableData,Ko=getFooterData(qn,jo);Ko.length&&(qo.push(""),Ko.forEach(function(wo){qo.push("".concat(jn.map(function(zo){var Yo=zo.footerAlign||zo.align||fo||mo,_o=Ln(zo,"showOverflow",io)?["col--ellipsis"]:[],Fo=Bn(qn,wo,zo);return Yo&&_o.push("col--".concat(Yo)),'")}).join(""),""))}),qo.push(""))}var bo=!go&&yo?' + + + + + + + + + + + Fantastic-admin 基础版 + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    载入中
    +
    +
    +
    为了您的体验,推荐使用以下浏览器
    + +
    +
    + + + diff --git a/index.html.br b/index.html.br new file mode 100644 index 000000000..d28bbd3f2 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 000000000..178fa24c8 Binary files /dev/null and b/index.html.gz differ diff --git a/loading.css b/loading.css new file mode 100755 index 000000000..1fe770c93 --- /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 000000000..db21a4f9e 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 000000000..53b6a714b 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 100755 index 000000000..58c59b28d --- /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 000000000..18ebd9366 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 000000000..4847ea5b3 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 100755 index 000000000..307ba1706 --- /dev/null +++ b/tinymce/skins/content/dark/content.css @@ -0,0 +1,78 @@ +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"], [style*="border-width"]) th, +table[border]:not([border="0"], [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"], [style*="border-style"]) th, +table[border]:not([border="0"], [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"], [style*="border-color"]) th, +table[border]:not([border="0"], [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; +} + +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 000000000..9cba96e86 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 000000000..bfd7848f6 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 100755 index 000000000..6718ba295 --- /dev/null +++ b/tinymce/skins/content/dark/content.min.css @@ -0,0 +1,21 @@ +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: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { 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; } +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.min.css.br b/tinymce/skins/content/dark/content.min.css.br new file mode 100644 index 000000000..dea585755 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 000000000..390ec3c90 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 100755 index 000000000..f0efa6cb5 --- /dev/null +++ b/tinymce/skins/content/default/content.css @@ -0,0 +1,72 @@ +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"], [style*="border-width"]) th, +table[border]:not([border="0"], [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"], [style*="border-style"]) th, +table[border]:not([border="0"], [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"], [style*="border-color"]) th, +table[border]:not([border="0"], [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; +} + +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 000000000..3f2801b06 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 000000000..335b44bb8 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 100755 index 000000000..25265e750 --- /dev/null +++ b/tinymce/skins/content/default/content.min.css @@ -0,0 +1,20 @@ +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: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { 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; } +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.min.css.br b/tinymce/skins/content/default/content.min.css.br new file mode 100644 index 000000000..694e0c41c --- /dev/null +++ b/tinymce/skins/content/default/content.min.css.br @@ -0,0 +1,3 @@ + .cmͩlՈP0EpE J*UYН)Bւ|! š+wJ;.sK +/jֻ8*:;Qu.8eu'$ Z F$ c$769@X-50Q,;9 g'=Ǎ2=-eɅ ېJYS(Ucv= e +@ynHz FQ#GJok7e"=X14串%}"I0O~:2Wa7؀gmNt7cR9x-?GD@*mvwN4nao>KU]kξ,RD3n:51N@`{)V? qnvUoEQG \ No newline at end of file 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 000000000..0e0415204 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 100755 index 000000000..dc5b3414f --- /dev/null +++ b/tinymce/skins/content/document/content.css @@ -0,0 +1,77 @@ +@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 rgb(0 0 0 / 15%); + box-sizing: border-box; + margin: 1rem auto 0; + max-width: 820px; + min-height: calc(100vh - 1rem); + padding: 4rem 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"], [style*="border-width"]) th, +table[border]:not([border="0"], [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"], [style*="border-style"]) th, +table[border]:not([border="0"], [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"], [style*="border-color"]) th, +table[border]:not([border="0"], [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; +} + +.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 000000000..428b586f4 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 000000000..cdd758ce8 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 100755 index 000000000..cf266f6eb --- /dev/null +++ b/tinymce/skins/content/document/content.min.css @@ -0,0 +1,21 @@ +@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 rgb(0 0 0 / 15%); box-sizing: border-box; margin: 1rem auto 0; max-width: 820px; min-height: calc(100vh - 1rem); padding: 4rem 6rem 6rem; } } +table { border-collapse: collapse; } + +table:not([cellpadding]) td, +table:not([cellpadding]) th { padding: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { 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; } +.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 000000000..b29bbdaac 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 000000000..7773f27e2 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 100755 index 000000000..21b2bb8eb --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.css @@ -0,0 +1,78 @@ +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"], [style*="border-width"]) th, +table[border]:not([border="0"], [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"], [style*="border-style"]) th, +table[border]:not([border="0"], [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"], [style*="border-color"]) th, +table[border]:not([border="0"], [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; +} + +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 000000000..9d6373974 --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.css.br @@ -0,0 +1,3 @@ +@F#_j~FEpcPm>QpkVߨ&{Z(3T[(LNz%>3{_ n 㨡%M[ԡ:#K_&W$>*| ^,VQq\KU]kξ,RD3n:51N@`{)V? qnvUoEQG \ No newline at end of file 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 000000000..0e0415204 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 100755 index 000000000..01b16ebd5 --- /dev/null +++ b/tinymce/skins/content/writer/content.css @@ -0,0 +1,73 @@ +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"], [style*="border-width"]) th, +table[border]:not([border="0"], [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"], [style*="border-style"]) th, +table[border]:not([border="0"], [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"], [style*="border-color"]) th, +table[border]:not([border="0"], [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; +} + +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 000000000..d7c5003d1 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 000000000..caa3f8b85 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 100755 index 000000000..7da8c559c --- /dev/null +++ b/tinymce/skins/content/writer/content.min.css @@ -0,0 +1,20 @@ +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: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { 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; } +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.min.css.br b/tinymce/skins/content/writer/content.min.css.br new file mode 100644 index 000000000..03e372c2b 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 000000000..351b90f4b 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 100755 index 000000000..a983cac9a --- /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 000000000..ebb67b4c1 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 000000000..16fbce1e6 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 100755 index 000000000..9bd1e2974 --- /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 000000000..9abbc6973 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 000000000..974711530 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 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.inline.min.css @@ -0,0 +1,310 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..7cb4e7145 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 000000000..a13307e60 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 100755 index 000000000..3b8d79a91 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.min.css @@ -0,0 +1,299 @@ +.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; user-select: all; 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: 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; } + +code[class*="language-"], +pre[class*="language-"] { color: #f8f8f2; background: 0 0; text-shadow: 0 1px rgb(0 0 0 / 30%); 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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } +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; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #6272a4; } +.token.punctuation { color: #f8f8f2; } +.namespace { opacity: 0.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; 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: rgb(0 108 231 / 30%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 30%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid transparent; inset: -1px; content: ""; mix-blend-mode: lighten; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..bb780cea6 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 000000000..6d6529791 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 100755 index 000000000..301ec5558 --- /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 000000000..617d96acd 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 000000000..b8b8103a0 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 100755 index 000000000..3a63363fa --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.min.css @@ -0,0 +1,772 @@ +.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, 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, 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: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 40%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: rgb(0 108 231 / 40%); } +.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: rgb(255 165 0 / 50%); border-color: rgb(255 165 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 80%); } +.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: rgb(204 0 0 / 50%); border-color: rgb(204 0 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 80%); } +.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: rgb(120 171 70 / 50%); border-color: rgb(120 171 70 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 80%); } +.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; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgb(0 108 231 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #006ce7; background-image: none; border-color: #006ce7; box-shadow: none; color: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: rgb(255 255 255 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked:active:not(:disabled) { background-color: rgb(255 255 255 / 30%); 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: rgb(255 255 255 / 20%); } +.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: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(255 255 255 / 50%); } +.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-width: 1px 0 0; border-color: rgb(255 255 255 / 15%); border-style: solid; padding: 4px 0; } +.tox .tox-collection--list .tox-collection__group:first-child { border-top-width: 0; } +.tox .tox-collection__group-heading { background-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); 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; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #fff; display: flex; -webkit-touch-callout: none; user-select: none; 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: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(255 255 255 / 50%); } +.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 rgb(255 255 255 / 15%); border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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: 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__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; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) 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: 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 rgb(34 47 62 / 10%); padding: 8px 8px 16px; 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: rgb(255 255 255 / 50%); 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; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; 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(rgb(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; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; 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 { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; 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; inset: 0; display: flex; justify-content: center; position: absolute; 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: rgb(255 255 255 / 50%); } +.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; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(34 47 62 / 75%); inset: 0; position: absolute; 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 rgb(34 47 62 / 15%), 0 0 40px 1px rgb(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 (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; 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 (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; } + +@media only screen and (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: rgb(255 255 255 / 50%); 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: rgb(0 108 231 / 10%); } +.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; } +.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: rgb(34 47 62 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; 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 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (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 (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (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: rgb(255 255 255 / 50%); margin: 0 0 16px; } +.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 rgb(255 255 255 / 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 rgb(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 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: 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: rgb(34 47 62 / 20%); 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, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(255 255 255 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(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: rgb(255 255 255 / 50%); 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-flow: row 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 { appearance: none; 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: rgb(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 rgb(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: rgb(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 { appearance: none; 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: rgb(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 rgb(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 { appearance: textarea; 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: 0.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: rgb(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; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 50%); } +.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 rgb(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 (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: rgb(255 255 255 / 50%); 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, .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; 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 0.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: rgb(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: 2 3; 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: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; 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::after, +.tox .tox-pop--transition::before { transition: all 0.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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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 0.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; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #161f29 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; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #161f29; 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 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: rgb(255 255 255 / 50%); 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%, +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 rgb(255 255 255 / 15%); color: rgb(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: rgb(255 255 255 / 75%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #fff; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(255 255 255 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [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: rgb(255 255 255 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #434e5b; border-radius: 1px 1px 5px; 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: rgb(34 47 62 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.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: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); } + +.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: -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: 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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 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(rgb(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; 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 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-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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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; 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 rgb(34 47 62 / 30%); color: rgb(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: rgb(0 0 0 / 50%); 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 rgb(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 000000000..4e0210344 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 000000000..3a4254591 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 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css @@ -0,0 +1,35 @@ +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 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +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 100755 index 000000000..13cf7b116 --- /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 000000000..40b78c6c3 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 000000000..ce82290a8 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 100755 index 000000000..9bd1e2974 --- /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 000000000..9abbc6973 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 000000000..974711530 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 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.inline.min.css @@ -0,0 +1,310 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..7cb4e7145 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 000000000..a13307e60 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 100755 index 000000000..73c3ad285 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.min.css @@ -0,0 +1,312 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..710f8a050 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 000000000..d6b4c94bc 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 100755 index 000000000..31ff6364f --- /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 000000000..3c3ddeed8 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 000000000..000757a3e 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 100755 index 000000000..38c907ce3 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.min.css @@ -0,0 +1,771 @@ +.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, 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, 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: rgb(0 108 231 / 10%); 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: rgb(255 165 0 / 10%); border-color: rgb(255 165 0 / 50%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 50%); } +.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: rgb(204 0 0 / 10%); border-color: rgb(204 0 0 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 40%); } +.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: rgb(120 171 70 / 10%); border-color: rgb(120 171 70 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 40%); } +.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; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgb(0 108 231 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #006ce7; background-image: none; border-color: #006ce7; box-shadow: none; color: rgb(255 255 255 / 50%); 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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: rgb(34 47 62 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked:active:not(:disabled) { background-color: rgb(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: rgb(34 47 62 / 30%); } +.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: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(34 47 62 / 50%); } +.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-width: 1px 0 0; border-color: #e3e3e3; border-style: solid; 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: rgb(34 47 62 / 70%); 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; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #222f3e; display: flex; -webkit-touch-callout: none; user-select: none; 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: rgb(34 47 62 / 70%); 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: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(34 47 62 / 50%); } +.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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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: 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__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; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) 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: 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 rgb(34 47 62 / 10%); padding: 8px 8px 16px; 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: rgb(34 47 62 / 70%); 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; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; 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(rgb(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; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; 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 { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; 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; inset: 0; display: flex; justify-content: center; position: absolute; 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: rgb(34 47 62 / 70%); } +.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; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(255 255 255 / 75%); inset: 0; position: absolute; 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 rgb(34 47 62 / 15%), 0 0 40px 1px rgb(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 (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; 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 (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; } + +@media only screen and (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: rgb(34 47 62 / 70%); 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: rgb(0 108 231 / 10%); } +.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; } +.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: rgb(255 255 255 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; 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 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (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 (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (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: rgb(34 47 62 / 70%); margin: 0 0 16px; } +.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 rgb(34 47 62 / 10%), 0 8px 8px -4px rgb(34 47 62 / 7%); 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 rgb(34 47 62 / 20%), 0 8px 8px -4px rgb(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 rgb(34 47 62 / 20%), 0 8px 8px -4px rgb(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 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: 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: rgb(34 47 62 / 20%); 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, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(0 0 0 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(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: rgb(34 47 62 / 70%); 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-flow: row 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 { appearance: none; 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: rgb(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 rgb(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: rgb(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 { appearance: none; 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: rgb(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 rgb(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 { appearance: textarea; 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: 0.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; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 50%); } +.tox .tox-insert-table-picker__label { color: rgb(34 47 62 / 70%); 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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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 (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: rgb(34 47 62 / 50%); 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, .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; 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 0.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: 2 3; 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: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; 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::after, +.tox .tox-pop--transition::before { transition: all 0.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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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 0.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; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #eee 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; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #eee; 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 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 #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: rgb(34 47 62 / 70%); 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%, +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: rgb(34 47 62 / 70%); 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: rgb(34 47 62 / 70%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #222f3e; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(34 47 62 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [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: rgb(34 47 62 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #dee0e2; border-radius: 1px 1px 5px; 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: rgb(255 255 255 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.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: rgb(34 47 62 / 50%); 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: rgb(34 47 62 / 50%); } + +.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: -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: 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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 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; 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 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-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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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; 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 rgb(34 47 62 / 30%); color: rgb(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: rgb(0 0 0 / 50%); 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 000000000..dfa1176ef 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 000000000..bab5ff898 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 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.css @@ -0,0 +1,35 @@ +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 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +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 100755 index 000000000..a983cac9a --- /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 000000000..ebb67b4c1 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 000000000..16fbce1e6 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 100755 index 000000000..9bd1e2974 --- /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 000000000..9abbc6973 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 000000000..974711530 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 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css @@ -0,0 +1,310 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..7cb4e7145 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 000000000..a13307e60 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 100755 index 000000000..3b8d79a91 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.min.css @@ -0,0 +1,299 @@ +.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; user-select: all; 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: 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; } + +code[class*="language-"], +pre[class*="language-"] { color: #f8f8f2; background: 0 0; text-shadow: 0 1px rgb(0 0 0 / 30%); 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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } +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; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #6272a4; } +.token.punctuation { color: #f8f8f2; } +.namespace { opacity: 0.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; 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: rgb(0 108 231 / 30%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 30%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid transparent; inset: -1px; content: ""; mix-blend-mode: lighten; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..bb780cea6 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 000000000..6d6529791 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 100755 index 000000000..676ba4079 --- /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 000000000..e93ef1547 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 000000000..314cb202b 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 100755 index 000000000..f0219c803 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.min.css @@ -0,0 +1,812 @@ +.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, 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, 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: rgb(32 122 183 / 50%); 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: rgb(255 165 0 / 50%); border-color: rgb(255 165 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 80%); } +.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: rgb(204 0 0 / 50%); border-color: rgb(204 0 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 80%); } +.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: rgb(120 171 70 / 50%); border-color: rgb(120 171 70 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 80%); } +.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; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgb(32 122 183 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #207ab7; background-image: none; border-color: #207ab7; box-shadow: none; color: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 20%); } +.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: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(255 255 255 / 50%); } +.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-width: 1px 0 0; border-color: #1a1a1a; border-style: solid; 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; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #fff; display: flex; -webkit-touch-callout: none; user-select: none; 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: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(255 255 255 / 50%); } +.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 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(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; 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: 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__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 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) 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: 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 rgb(42 55 70 / 10%); padding: 8px 8px 16px; 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: rgb(255 255 255 / 50%); 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; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; 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(rgb(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; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; 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 { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; 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; inset: 0; display: flex; justify-content: center; position: absolute; 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: rgb(255 255 255 / 50%); } +.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; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(34 47 62 / 75%); inset: 0; position: absolute; 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 rgb(42 55 70 / 15%), 0 0 40px 1px rgb(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 (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; 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 (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; } + +@media only screen and (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: rgb(255 255 255 / 50%); 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: rgb(32 122 183 / 10%); } +.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; } +.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: rgb(34 47 62 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; 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 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (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 (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (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: rgb(255 255 255 / 50%); margin: 0 0 16px; } +.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 0.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 rgb(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 rgb(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: 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: rgb(42 55 70 / 20%); 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, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(255 255 255 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(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: rgb(255 255 255 / 50%); 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-flow: row 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 { appearance: none; 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: rgb(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 rgb(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: rgb(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 { appearance: none; 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: rgb(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 rgb(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 { appearance: textarea; 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: 0.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: rgb(32 122 183 / 50%); border-color: rgb(32 122 183 / 50%); } +.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 rgb(42 55 70 / 10%); display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 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 (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; } +.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; 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: rgb(255 255 255 / 50%); 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, .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; 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 0.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: 2 3; 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: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; 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::after, +.tox .tox-pop--transition::before { transition: all 0.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 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(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 0.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; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #000 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; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #000; 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 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 #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: rgb(255 255 255 / 50%); 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%, +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, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #fff; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(255 255 255 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [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: rgb(255 255 255 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #4a5562; border-radius: 1px 1px -4px; 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: rgb(34 47 62 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.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; 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: rgb(255 255 255 / 50%); 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: rgb(255 255 255 / 50%); } + +.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: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 3px 0 2px; 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: rgb(255 255 255 / 50%); } +.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; 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: rgb(255 255 255 / 50%); } +.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: rgb(255 255 255 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 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; 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 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-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 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(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; padding: 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 rgb(42 55 70 / 30%); color: rgb(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: rgb(0 0 0 / 50%); 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 rgb(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 rgb(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; } + +.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; } +.tox .tox-collection__item { border-radius: 0; cursor: pointer; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [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.min.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br new file mode 100644 index 000000000..70fc396e0 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 000000000..cbf02f10d 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 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css @@ -0,0 +1,35 @@ +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 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +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 100755 index 000000000..13cf7b116 --- /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 000000000..40b78c6c3 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 000000000..ce82290a8 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 100755 index 000000000..9bd1e2974 --- /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 000000000..9abbc6973 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 000000000..974711530 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 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.inline.min.css @@ -0,0 +1,310 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..7cb4e7145 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 000000000..a13307e60 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 100755 index 000000000..73c3ad285 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.min.css @@ -0,0 +1,312 @@ +.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; user-select: all; 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: 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; } + +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; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::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: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.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: hsl(0deg 0% 100% / 50%); } + +.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; 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: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); 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: rgb(34 47 62 / 70%); 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 #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: rgb(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; } +.mcemarker-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; } + +.mcebody 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; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@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: rgb(0 84 180 / 70%); } } +.mcebody 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; user-select: none; 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 000000000..710f8a050 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 000000000..d6b4c94bc 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 100755 index 000000000..92cf6fe52 --- /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 000000000..61db25b6a 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 000000000..11602b1c1 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 100755 index 000000000..89adb857b --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.min.css @@ -0,0 +1,812 @@ +.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, 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, 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: rgb(32 122 183 / 10%); border-color: rgb(32 122 183 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: rgb(32 122 183 / 40%); } +.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: rgb(255 165 0 / 10%); border-color: rgb(255 165 0 / 50%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 50%); } +.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: rgb(204 0 0 / 10%); border-color: rgb(204 0 0 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 40%); } +.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: rgb(120 171 70 / 10%); border-color: rgb(120 171 70 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 40%); } +.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; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgb(32 122 183 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #207ab7; background-image: none; border-color: #207ab7; box-shadow: none; color: rgb(255 255 255 / 50%); 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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 30%); } +.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: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(34 47 62 / 50%); } +.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-width: 1px 0 0; border-color: #ccc; border-style: solid; 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: rgb(34 47 62 / 70%); 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; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #222f3e; display: flex; -webkit-touch-callout: none; user-select: none; 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: rgb(34 47 62 / 70%); 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: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(34 47 62 / 50%); } +.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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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; 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: 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__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 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) 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: 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 rgb(34 47 62 / 10%); padding: 8px 8px 16px; 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: rgb(34 47 62 / 70%); 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; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; 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(rgb(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; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; 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 { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; 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; inset: 0; display: flex; justify-content: center; position: absolute; 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: rgb(34 47 62 / 70%); } +.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; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(255 255 255 / 75%); inset: 0; position: absolute; 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 rgb(34 47 62 / 15%), 0 0 40px 1px rgb(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 (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; 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 (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; } + +@media only screen and (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: rgb(34 47 62 / 70%); 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: rgb(32 122 183 / 10%); } +.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; } +.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: rgb(255 255 255 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; 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 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (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 (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (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: rgb(34 47 62 / 70%); margin: 0 0 16px; } +.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 0.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 rgb(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 rgb(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: 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: rgb(34 47 62 / 20%); 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, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(0 0 0 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(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: rgb(34 47 62 / 70%); 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-flow: row 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 { appearance: none; 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: rgb(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 rgb(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: rgb(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 { appearance: none; 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: rgb(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 rgb(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 { appearance: textarea; 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: 0.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: rgb(32 122 183 / 50%); border-color: rgb(32 122 183 / 50%); } +.tox .tox-insert-table-picker__label { color: rgb(34 47 62 / 70%); 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 rgb(34 47 62 / 10%); display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 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 (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; } +.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; 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: rgb(34 47 62 / 50%); 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, .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; 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 0.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: 2 3; 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: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; 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::after, +.tox .tox-pop--transition::before { transition: all 0.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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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 0.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; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #ccc 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; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #ccc; 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 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 #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: rgb(34 47 62 / 70%); 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%, +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: rgb(34 47 62 / 70%); 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: rgb(34 47 62 / 70%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #222f3e; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(34 47 62 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [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: rgb(34 47 62 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #dee0e2; border-radius: 1px 1px -4px; 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: rgb(255 255 255 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.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; 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: rgb(34 47 62 / 50%); 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: rgb(34 47 62 / 50%); } + +.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: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 3px 0 2px; 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: rgb(34 47 62 / 50%); } +.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; 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: rgb(34 47 62 / 50%); } +.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: rgb(34 47 62 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 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; 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 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-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 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(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; padding: 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 rgb(34 47 62 / 30%); color: rgb(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: rgb(0 0 0 / 50%); 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 rgb(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 rgb(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; } + +.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; } +.tox .tox-collection__item { border-radius: 0; cursor: pointer; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: rgb(34 47 62 / 70%); 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.min.css.br b/tinymce/skins/ui/tinymce-5/skin.min.css.br new file mode 100644 index 000000000..63c98990f 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 000000000..2d7c05c29 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 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css @@ -0,0 +1,35 @@ +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 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +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(Fo,"
    ").concat(formatText(Fo,!0),"
    ").concat(_o,"
    ").concat(formatText(_o,!0),"
    ').concat($o,'
    ").concat(wo._radioLabel,"
    ').concat($o,'
    ").concat(wo._checkboxLabel,"
    ').concat($o,'
    ').concat(Fo,"
    ").concat(wo._radioLabel,"
    ").concat(wo._checkboxLabel,"
    ").concat(formatText(Fo,!0),"
    ").concat(wo._radioLabel,"
    ").concat(wo._checkboxLabel,"
    ").concat(formatText(Fo,!0),"
    ").concat(formatText(Fo,!0),"