diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/assets/404-Ccf55FSH.css b/assets/404-Ccf55FSH.css new file mode 100644 index 000000000..12643b0d7 --- /dev/null +++ b/assets/404-Ccf55FSH.css @@ -0,0 +1 @@ +.page-container[data-v-335ec657]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:#fff} diff --git a/assets/404-HGF6Q5qM.gif b/assets/404-HGF6Q5qM.gif new file mode 100644 index 000000000..cd6e0d943 Binary files /dev/null and b/assets/404-HGF6Q5qM.gif differ diff --git a/assets/404-lhaNt39r.js b/assets/404-lhaNt39r.js new file mode 100644 index 000000000..2346aecad --- /dev/null +++ b/assets/404-lhaNt39r.js @@ -0,0 +1 @@ +import{d as s,W as n,a5 as c,a6 as e,k as r,Y as u,G as _,ac as d,a7 as p,a8 as i}from"./vue-Dbi1xauY.js";import{_ as l}from"./index-D5NK1dvb.js";import"./antdv-CA3HmnGF.js";const m=s({name:"NotFound"}),h="/vue3-antdv-admin/assets/404-HGF6Q5qM.gif",o=t=>(p("data-v-335ec657"),t=t(),i(),t),f={class:"page-container"},v=o(()=>e("h1",null,"404",-1)),F=o(()=>e("h1",null,"OOPS!你好像走丢了...",-1)),k=o(()=>e("img",{src:h,alt:""},null,-1));function x(t,C,E,I,N,S){const a=d("RouterLink");return n(),c("div",f,[e("div",null,[v,F,r(a,{to:{path:"/",replace:!0},class:"ant-btn ant-btn-primary"},{default:u(()=>[_("回到首页")]),_:1})]),k])}const D=l(m,[["render",x],["__scopeId","data-v-335ec657"]]);export{D as default}; diff --git a/assets/ApiSelect-BY9BsMzM.css b/assets/ApiSelect-BY9BsMzM.css new file mode 100644 index 000000000..55dc5ee8c --- /dev/null +++ b/assets/ApiSelect-BY9BsMzM.css @@ -0,0 +1 @@ +.basic-help__wrap p{margin-bottom:0}[data-v-bff590e6] .ant-form-item-control-input-content{display:flex;align-items:center}[data-v-bff590e6] .ant-form-item-control-input-content>div{flex:auto}.collapse-icon[data-v-af0a3cde]{transform:rotate(var(--4cf09dcc));transition:transform .3s} diff --git a/assets/ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js b/assets/ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js new file mode 100644 index 000000000..dd14cf065 --- /dev/null +++ b/assets/ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js @@ -0,0 +1,13 @@ +import{L as S,aw as ne,ax as ae,aj as J,ay as oe,az as se,X as ie,ag as ue,aA as X,aB as le,aC as ce,aD as fe,aE as B,aF as pe,aG as de,af as ye,aH as W,aI as ve,o as be,av as he,aJ as me,aK as I}from"./antdv-CA3HmnGF.js";import{i as D}from"./is-bed24ebq.js";import{h as ge}from"./index-D5NK1dvb.js";import{d as Oe,f as A,c as G,u as b,h as je,w as _e,W as we,X as Se,am as Te,ae as Pe,Y as N,k as R,a6 as Fe,G as $e,ak as ke,_ as Be,Z as Ae,au as Le,av as xe}from"./vue-Dbi1xauY.js";const ct={Input:S,InputGroup:S.Group,InputPassword:S.Password,InputSearch:S.Search,InputTextArea:S.TextArea,InputNumber:ne,AutoComplete:ae,Select:J,TreeSelect:oe,Tree:se,Switch:ie,RadioGroup:ue.Group,Checkbox:X,CheckboxGroup:X.Group,Cascader:le,Slider:ce,Rate:fe,DatePicker:B,MonthPicker:B.MonthPicker,RangePicker:B.RangePicker,WeekPicker:B.WeekPicker,TimePicker:pe,Upload:de,Divider:ye};var De=(e=>(e[e.XS=480]="XS",e[e.SM=576]="SM",e[e.MD=768]="MD",e[e.LG=992]="LG",e[e.XL=1200]="XL",e[e.XXL=1600]="XXL",e))(De||{});const w=new Map;w.set("XS",480);w.set("SM",576);w.set("MD",768);w.set("LG",992);w.set("XL",1200);w.set("XXL",1600);const ft=Object.keys(W()),pt={...W(),layout:{type:String,default:"horizontal"},initialValues:{type:Object,default:()=>({})},labelWidth:{type:[Number,String],default:0},fieldMapToTime:{type:Array,default:()=>[]},compact:{type:Boolean},schemas:{type:[Array],default:()=>[]},mergeDynamicData:{type:Object,default:null},baseRowStyle:{type:Object},baseColProps:{type:Object},autoSetPlaceHolder:{type:Boolean,default:!0},autoSubmitOnEnter:{type:Boolean,default:!1},submitOnReset:{type:Boolean},submitOnChange:{type:Boolean},disabled:{type:Boolean},emptySpan:{type:[Number,Object],default:0},showAdvancedButton:{type:Boolean},transformDateFunc:{type:Function,default:e=>{var t;return((t=e==null?void 0:e.format)==null?void 0:t.call(e,"YYYY-MM-DD HH:mm:ss"))??e}},rulesMessageJoinLabel:{type:Boolean,default:!0},autoAdvancedLine:{type:Number,default:3},alwaysShowLines:{type:Number,default:1},showActionButtonGroup:{type:Boolean,default:!0},actionColOptions:Object,showResetButton:{type:Boolean,default:!0},autoFocusFirstItem:{type:Boolean},resetButtonOptions:Object,showSubmitButton:{type:Boolean,default:!0},submitButtonOptions:Object,resetFunc:Function,submitFunc:Function,tableInstance:{type:Object},rowProps:Object},dt={register:e=>D(e),reset:e=>D(e),submit:e=>D(e),"advanced-change":()=>!0};/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function Y(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ne(e){var t,r;return Y(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Y(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[r]=e[r]);return a}const Ce={silent:!1,logLevel:"warn"},Me=["validator"],K=Object.prototype,E=K.toString,Ve=K.hasOwnProperty,Z=/^\s*function (\w+)/;function q(e){var t;const r=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(r){const n=r.toString().match(Z);return n?n[1]:""}return""}const h=Ne,Xe=e=>e;let c=Xe;const O=(e,t)=>Ve.call(e,t),Ie=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},j=Array.isArray||function(e){return E.call(e)==="[object Array]"},_=e=>E.call(e)==="[object Function]",L=(e,t)=>h(e)&&O(e,"_vueTypes_name")&&(!t||e._vueTypes_name===t),Q=e=>h(e)&&(O(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>O(e,t)));function C(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function m(e,t,r=!1){let n,a=!0,o="";n=h(e)?e:{type:e};const s=L(n)?n._vueTypes_name+" - ":"";if(Q(n)&&n.type!==null){if(n.type===void 0||n.type===!0||!n.required&&t==null)return a;j(n.type)?(a=n.type.some(i=>m(i,t,!0)===!0),o=n.type.map(i=>q(i)).join(" or ")):(o=q(n),a=o==="Array"?j(t):o==="Object"?h(t):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(i){if(i==null)return"";const u=i.constructor.toString().match(Z);return u?u[1].replace(/^Async/,""):""}(t)===o:t instanceof n.type)}if(!a){const i=`${s}value "${t}" should be of type "${o}"`;return r===!1?(c(i),!1):i}if(O(n,"validator")&&_(n.validator)){const i=c,u=[];if(c=l=>{u.push(l)},a=n.validator(t),c=i,!a){const l=(u.length>1?"* ":"")+u.join(` +* `);return u.length=0,r===!1?(c(l),a):l}}return a}function f(e,t){const r=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(a){return a===void 0?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(O(this,"default")&&delete this.default,this):_(a)||m(this,a,!0)===!0?(this.default=j(a)?()=>[...a]:h(a)?()=>Object.assign({},a):a,this):(c(`${this._vueTypes_name} - invalid default value: "${a}"`),this)}}}),{validator:n}=r;return _(n)&&(r.validator=C(n,r)),r}function d(e,t){const r=f(e,t);return Object.defineProperty(r,"validate",{value(n){return _(this.validator)&&c(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info: +${JSON.stringify(this)}`),this.validator=C(n,this),this}})}function z(e,t,r){const n=function(u){const l={};return Object.getOwnPropertyNames(u).forEach(v=>{l[v]=Object.getOwnPropertyDescriptor(u,v)}),Object.defineProperties({},l)}(t);if(n._vueTypes_name=e,!h(r))return n;const{validator:a}=r,o=U(r,Me);if(_(a)){let{validator:u}=n;u&&(u=(i=(s=u).__original)!==null&&i!==void 0?i:s),n.validator=C(u?function(l){return u.call(this,l)&&a.call(this,l)}:a,n)}var s,i;return Object.assign(n,o)}function x(e){return e.replace(/^(?!\s*$)/gm," ")}const Ge=()=>d("any",{}),Re=()=>d("function",{type:Function}),H=()=>d("boolean",{type:Boolean}),Ye=()=>d("string",{type:String}),qe=()=>d("number",{type:Number}),ze=()=>d("array",{type:Array}),He=()=>d("object",{type:Object}),Je=()=>f("integer",{type:Number,validator(e){const t=Ie(e);return t===!1&&c(`integer - "${e}" is not an integer`),t}}),We=()=>f("symbol",{validator(e){const t=typeof e=="symbol";return t===!1&&c(`symbol - invalid value "${e}"`),t}}),Ue=()=>Object.defineProperty({type:null,validator(e){const t=e===null;return t===!1&&c("nullable - value should be null"),t}},"_vueTypes_name",{value:"nullable"});function Ke(e,t="custom validation failed"){if(typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return f(e.name||"<>",{type:null,validator(r){const n=e(r);return n||c(`${this._vueTypes_name} - ${t}`),n}})}function Ee(e){if(!j(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.map(n=>typeof n=="symbol"?n.toString():n).join('", "')}".`,r={validator(n){const a=e.indexOf(n)!==-1;return a||c(t),a}};if(e.indexOf(null)===-1){const n=e.reduce((a,o)=>{if(o!=null){const s=o.constructor;a.indexOf(s)===-1&&a.push(s)}return a},[]);n.length>0&&(r.type=n)}return f("oneOf",r)}function Ze(e){if(!j(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,r=!1,n=[];for(let o=0;on.indexOf(o)===s);const a=r===!1&&n.length>0?n:null;return f("oneOfType",t?{type:a,validator(o){const s=[],i=e.some(u=>{const l=m(u,o,!0);return typeof l=="string"&&s.push(l),l===!0});return i||c(`oneOfType - provided value does not match any of the ${s.length} passed-in validators: +${x(s.join(` +`))}`),i}}:{type:a})}function Qe(e){return f("arrayOf",{type:Array,validator(t){let r="";const n=t.every(a=>(r=m(e,a,!0),r===!0));return n||c(`arrayOf - value validation error: +${x(r)}`),n}})}function et(e){return f("instanceOf",{type:e})}function tt(e){return f("objectOf",{type:Object,validator(t){let r="";const n=Object.keys(t).every(a=>(r=m(e,t[a],!0),r===!0));return n||c(`objectOf - value validation error: +${x(r)}`),n}})}function rt(e){const t=Object.keys(e),r=t.filter(a=>{var o;return!((o=e[a])===null||o===void 0||!o.required)}),n=f("shape",{type:Object,validator(a){if(!h(a))return!1;const o=Object.keys(a);if(r.length>0&&r.some(s=>o.indexOf(s)===-1)){const s=r.filter(i=>o.indexOf(i)===-1);return c(s.length===1?`shape - required property "${s[0]}" is not defined.`:`shape - required properties "${s.join('", "')}" are not defined.`),!1}return o.every(s=>{if(t.indexOf(s)===-1)return this._vueTypes_isLoose===!0||(c(`shape - shape definition does not include a "${s}" property. Allowed keys: "${t.join('", "')}".`),!1);const i=m(e[s],a[s],!0);return typeof i=="string"&&c(`shape - "${s}" property validation error: + ${x(i)}`),i===!0})}});return Object.defineProperty(n,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(n,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),n}const nt=["name","validate","getter"],at=(()=>{var e;return(e=class{static get any(){return Ge()}static get func(){return Re().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?H():H().def(this.defaults.bool)}static get string(){return Ye().def(this.defaults.string)}static get number(){return qe().def(this.defaults.number)}static get array(){return ze().def(this.defaults.array)}static get object(){return He().def(this.defaults.object)}static get integer(){return Je().def(this.defaults.integer)}static get symbol(){return We()}static get nullable(){return Ue()}static extend(t){if(c("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),j(t))return t.forEach(u=>this.extend(u)),this;const{name:r,validate:n=!1,getter:a=!1}=t,o=U(t,nt);if(O(this,r))throw new TypeError(`[VueTypes error]: Type "${r}" already defined`);const{type:s}=o;if(L(s))return delete o.type,Object.defineProperty(this,r,a?{get:()=>z(r,s,o)}:{value(...u){const l=z(r,s,o);return l.validator&&(l.validator=l.validator.bind(l,...u)),l}});let i;return i=a?{get(){const u=Object.assign({},o);return n?d(r,u):f(r,u)},enumerable:!0}:{value(...u){const l=Object.assign({},o);let v;return v=n?d(r,l):f(r,l),l.validator&&(v.validator=l.validator.bind(v,...u)),v},enumerable:!0},Object.defineProperty(this,r,i)}}).defaults={},e.sensibleDefaults=void 0,e.config=Ce,e.custom=Ke,e.oneOf=Ee,e.instanceOf=et,e.oneOfType=Ze,e.arrayOf=Qe,e.objectOf=tt,e.shape=rt,e.utils={validate:(t,r)=>m(r,t,!0)===!0,toType:(t,r,n=!1)=>n?d(t,r):f(t,r)},e})();function ee(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var t;return(t=class extends at{static get sensibleDefaults(){return T({},this.defaults)}static set sensibleDefaults(r){this.defaults=r!==!1?T({},r!==!0?r:e):{}}}).defaults=T({},e),t}class yt extends ee(){}const ot=ee({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});class g extends ot{static get style(){return d("style",{type:[String,Object]})}static get VNodeChild(){return d("VNodeChild",{type:void 0})}}const vt=Oe({name:"ApiSelect",inheritAttrs:!1,__name:"ApiSelect",props:{...ve(),value:[Array,Object,String,Number],numberToString:g.bool,api:{type:Function,default:null},params:{type:Object,default:()=>({})},resultField:g.string.def(""),labelField:g.string.def("label"),valueField:g.string.def("value"),immediate:g.bool.def(!0),alwaysLoad:g.bool.def(!1)},emits:["options-change","change"],setup(e,{emit:t}){const r=e,n=t,a=A([]),o=A(!1),s=A(!0),i=A([]),{t:u}=ge(),l=G(()=>r),v=G(()=>{const{labelField:p,valueField:y,numberToString:F}=r;return b(a).reduce(($,k)=>{if(k){const V=k[y];$.push({...be(k,[p,y]),label:k[p],value:F?`${V}`:V})}return $},[])});je(()=>{r.immediate&&!r.alwaysLoad&&P()}),_e(()=>r.params,()=>{!b(s)&&P()},{deep:!0});async function P(){const p=r.api;if(!(!p||!he(p))){a.value=[];try{o.value=!0;const y=await p(r.params);if(Array.isArray(y)){a.value=y,M();return}r.resultField&&(a.value=me(y,r.resultField)||[]),M()}catch(y){console.warn(y)}finally{o.value=!1}}}async function te(p){p&&(r.alwaysLoad?await P():!r.immediate&&b(s)&&(await P(),s.value=!1))}function M(){n("options-change",b(v))}function re(p,...y){i.value=y}return(p,y)=>(we(),Se(b(J),Be(l.value,{options:v.value,onDropdownVisibleChange:te,onChange:re}),Te({_:2},[Pe(Object.keys(p.$slots),F=>({name:F,fn:N($=>[Ae(p.$slots,F,Le(xe($||{})))])})),o.value?{name:"suffixIcon",fn:N(()=>[R(b(I),{spin:""})]),key:"0"}:void 0,o.value?{name:"notFoundContent",fn:N(()=>[Fe("span",null,[R(b(I),{spin:"",class:"mr-1"}),$e(" "+ke(b(u)("component.form.apiSelectNotFound")),1)])]),key:"1"}:void 0]),1040,["options"]))}});export{vt as _,pt as a,dt as b,ct as c,ft as d,De as s}; diff --git a/assets/AvatarUpload-BKZCxGPJ.js b/assets/AvatarUpload-BKZCxGPJ.js new file mode 100644 index 000000000..752785b73 --- /dev/null +++ b/assets/AvatarUpload-BKZCxGPJ.js @@ -0,0 +1 @@ +import{_ as o}from"./AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js";import"./dateUtil-CLVblcqH.js";import"./antdv-CA3HmnGF.js";import"./vue-Dbi1xauY.js";import"./index-D5NK1dvb.js";export{o as default}; diff --git a/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js b/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js new file mode 100644 index 000000000..119c9d5ab --- /dev/null +++ b/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js @@ -0,0 +1 @@ +import{f as m}from"./dateUtil-CLVblcqH.js";import{T as P,A as k}from"./index-D5NK1dvb.js";import{A as M,U as i,a0 as N,e as v,M as V,an as B,aG as O}from"./antdv-CA3HmnGF.js";import{k as s,a as T,d as j,as as G,f as r,c as q,w as D,W as h,a5 as f,Y as w,u as _,ad as E,a6 as I,F}from"./vue-Dbi1xauY.js";function J(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!T(t)}const g=t=>/^https?:\/\//.test(t)?t:P+t,Q=[{title:"头像",width:80,dataIndex:"avatar",hideInSearch:!0,customRender:({record:t})=>s(M,{src:g(t.avatar)},null)},{title:"用户名",width:120,dataIndex:"username"},{title:"呢称",width:120,hideInSearch:!0,dataIndex:"nickname"},{title:"所在部门",dataIndex:"dept",hideInSearch:!0,width:180,customRender:({record:t})=>s(i,null,{default:()=>{var a;return[(a=t.dept)==null?void 0:a.name]}})},{title:"所属角色",dataIndex:"roleNames",hideInSearch:!0,width:220,customRender:({record:t})=>{let a;return s(N,null,J(a=t.roles.map(n=>s(i,{color:"success",key:n.id},{default:()=>[n.name]})))?a:{default:()=>[a]})}},{title:"邮箱",width:120,dataIndex:"email"},{title:"手机",width:120,dataIndex:"phone"},{title:"备注",width:120,dataIndex:"remark"},{title:"状态",dataIndex:"status",width:100,hideInSearch:!0,formItemProps:{component:"Select",componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}},customRender:({record:t})=>{const a=~~t.status===1;return s(i,{color:a?"success":"red"},{default:()=>[a?"启用":"禁用"]})}},{title:"创建时间",dataIndex:"createdAt",width:120,hideInSearch:!0,customRender:({record:t})=>m(t.createdAt)},{title:"修改时间",dataIndex:"updatedAt",width:120,hideInSearch:!0,customRender:({record:t})=>m(t.createdAt)}],L={key:0},Y=I("div",{style:{"margin-top":"8px"}},"Upload",-1),z=["src"],X=j({name:"AvatarUpload",inheritAttrs:!1,__name:"AvatarUpload",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(t){const a=G(t,"value"),n=r([]),u=r(!1),c=r(""),d=r(""),p=q(()=>g(a.value)),x=D(a,e=>{e&&!n.value.length&&(n.value=[{uid:`vc-upload-${Date.now()}-1`,name:e.split("/").at(-1),status:"done",url:p.value}],x())}),A=e=>{const o=e.type==="image/jpeg"||e.type==="image/png";o||v.error("You can only upload JPG/PNG file!");const l=e.size/1024/1024<2;return l||v.error("Image must smaller than 2MB!"),o&&l},y=async e=>{const{filename:o}=await k.toolsUpload.uploadUpload({file:e});a.value=o},b=async e=>{await y(e.file)},S=({file:e})=>{e.status="done",n.value=[e]},U=e=>{a.value="",n.value=[]},R=()=>{u.value=!1,d.value=""},C=async e=>{!e.url&&!e.preview&&(e.preview=p.value),c.value=e.url||e.preview,u.value=!0,d.value=e.name||e.url.substring(e.url.lastIndexOf("/")+1)};return(e,o)=>{const l=V;return h(),f(F,null,[s(_(O),{"file-list":n.value,name:"avatar","list-type":"picture-card",class:"min-h-[110px]","custom-request":b,onBeforeUpload:A,onChange:S,onRemove:U,onPreview:C},{default:w(()=>[n.value.length<1?(h(),f("div",L,[s(_(B)),Y])):E("",!0)]),_:1},8,["file-list"]),s(l,{open:u.value,title:d.value,footer:null,onCancel:R},{default:w(()=>[I("img",{alt:"example",style:{width:"100%"},src:c.value},null,8,z)]),_:1},8,["open","title"])],64)}}});export{X as _,Q as b}; diff --git a/assets/DeptTree-CVDsyyWk.css b/assets/DeptTree-CVDsyyWk.css new file mode 100644 index 000000000..c2ec832aa --- /dev/null +++ b/assets/DeptTree-CVDsyyWk.css @@ -0,0 +1 @@ +.header[data-v-204de9e8]{display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eee}.title[data-v-204de9e8]{margin-right:6px;font-size:16px;font-weight:600;white-space:nowrap} diff --git a/assets/DeptTree-Dtex6bp7.js b/assets/DeptTree-Dtex6bp7.js new file mode 100644 index 000000000..158bdb770 --- /dev/null +++ b/assets/DeptTree-Dtex6bp7.js @@ -0,0 +1 @@ +import{A,d as B,_ as C}from"./index-D5NK1dvb.js";import{ai as N,bu as V,v as b,x as z,y as E,az as F}from"./antdv-CA3HmnGF.js";import{d as L,f as p,c as U,W as $,a5 as G,a6 as y,k as l,Y as d,G as x,F as M,a7 as P,a8 as W}from"./vue-Dbi1xauY.js";const Y=u=>(P("data-v-204de9e8"),u=u(),W(),u),j={style:{"--border":1},class:"header"},q=Y(()=>y("div",{class:"title"},"组织架构",-1)),H=L({name:"DeptTree",__name:"DeptTree",emits:["select","init"],setup(u,{emit:g}){const _=g,i=p(""),c=p([]),s=p([]),m=p(!0),v=U(()=>f(N(c.value),i.value)),f=(t,e="")=>t.filter(n=>{var a,o;return(a=n.children)!=null&&a.length&&(n.children=f(n.children,e),n.children.length)?!0:(o=n.name)==null?void 0:o.includes(e)}),D=async()=>{c.value=await A.systemDept.deptList({}),s.value=[...s.value,...c.value.map(t=>Number(t.id))],_("init",c.value)},T=t=>{_("select",t[0])},h=(t,e=[])=>t.reduce((n,a)=>{var o;return n.push(a.id),(o=a.children)!=null&&o.length&&h(a.children,n),n},e),k=()=>{s.value=h(v.value)},K=t=>{s.value=t,m.value=!1};return D(),(t,e)=>{const n=V,a=B,o=b,w=z,I=E,S=F;return $(),G(M,null,[y("div",j,[q,l(n,{value:i.value,"onUpdate:value":e[0]||(e[0]=r=>i.value=r),size:"small",placeholder:"搜索"},null,8,["value"]),l(I,null,{overlay:d(()=>[l(w,null,{default:d(()=>[l(o,{onClick:k},{default:d(()=>[x(" 展开全部 ")]),_:1}),l(o,{onClick:e[1]||(e[1]=r=>s.value=[])},{default:d(()=>[x(" 折叠全部 ")]),_:1})]),_:1})]),default:d(()=>[l(a,{icon:"ant-design:more-outlined",size:"20",class:"flex-shrink-0"})]),_:1})]),l(S,{expandedKeys:s.value,"onUpdate:expandedKeys":e[2]||(e[2]=r=>s.value=r),"auto-expand-parent":m.value,"tree-data":v.value,"field-names":{key:"id",title:"name"},onSelect:T,onExpand:K},null,8,["expandedKeys","auto-expand-parent","tree-data"])],64)}}}),R=C(H,[["__scopeId","data-v-204de9e8"]]);export{R as default}; diff --git a/assets/about-T5Ggk1rL.js b/assets/about-T5Ggk1rL.js new file mode 100644 index 000000000..150eec453 --- /dev/null +++ b/assets/about-T5Ggk1rL.js @@ -0,0 +1,8 @@ +import{ac as u,Q as i,U as f}from"./antdv-CA3HmnGF.js";import{d as w,W as c,a5 as m,k as t,Y as n,u as e,G as g,ak as v,F as y,ae as b,X as h}from"./vue-Dbi1xauY.js";var j={pkg:{name:"vue3-antdv-admin",version:"2.0.0",packageManager:"pnpm@8.10.2",type:"module",engines:{node:">=18"},author:{name:"buqiyuan",email:"1743369777@qq.com",url:"https://github.com/buqiyuan"},scripts:{preinstall:"npx only-allow pnpm",postinstall:"pnpm nx:build",bootstrap:"pnpm install",serve:"npm run dev",dev:"vite dev",build:"rimraf dist && cross-env NODE_ENV=production vite build","build:watch":"rimraf dist && cross-env NODE_ENV=production vite build --watch","build:pkg":'pnpm -r --paralle --filter="./packages/*" run build',"nx:build":"nx run-many -t build --exclude @admin-pkg/components","nx:build:watch":"nx watch --all -- nx run \\$NX_PROJECT_NAME:build",preview:"npm run build --watch && vite preview","preview:dist":"vite preview",openapi:"npx tsx openapi.config.ts","clean:cache":"npx rimraf node_modules/.cache/ && npx rimraf node_modules/.vite","clean:lib":"npx rimraf node_modules packages/*/node_modules",lint:"pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint","lint:eslint":'eslint --cache --max-warnings 0 "{src,mocks}/**/*.{vue,ts,tsx}" --fix',"lint:prettier":'prettier --write "src/**/*.{js,json,tsx,css,less,scss,vue,html,md}"',"lint:stylelint":'stylelint --cache --fix "**/*.{vue,less,postcss,css,scss}" --cache --cache-location node_modules/.cache/stylelint/',"lint:lint-staged":"lint-staged",prepare:"husky",release:"git push && git push origin --tags","gen:changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",reinstall:"rimraf pnpm-lock.yaml && rimraf package.lock.json && pnpm clean:lib && npm run bootstrap","test:gzip":"npx http-server dist --cors --gzip -c-1","test:br":"npx http-server dist --cors --brotli -c-1"},dependencies:{"@ant-design/icons-vue":"~7.0.1","@iconify/vue":"^4.1.1","@tinymce/tinymce-vue":"^5.1.1","@vueuse/core":"~10.9.0","ant-design-vue":"~4.1.2",axios:"~1.6.8","crypto-js":"^4.2.0",dayjs:"~1.11.10",echarts:"^5.5.0","file-saver":"~2.0.5","lodash-es":"~4.17.21",mitt:"~3.0.1",nprogress:"~1.0.0-1",pinia:"~2.1.7","pinia-plugin-persistedstate":"^3.2.1","qiniu-js":"^3.4.2",qs:"~6.12.0",sortablejs:"~1.15.2",tinymce:"^6.8.3",vue:"~3.4.21","vue-echarts":"^6.6.9","vue-i18n":"9.11.0","vue-router":"~4.3.0","vue-types":"~5.1.1","vue-virtual-scroller":"2.0.0-beta.8",xlsx:"~0.18.5"},devDependencies:{"@admin-pkg/components":"workspace:*","@admin-pkg/vite-plugin-msw":"workspace:*","@admin-pkg/vite-plugin-tinymce-resource":"workspace:*","@commitlint/cli":"~19.2.1","@commitlint/config-conventional":"~19.1.0","@faker-js/faker":"^8.4.1","@iconify-json/ant-design":"^1.1.15","@iconify-json/ep":"^1.1.15","@iconify/json":"^2.2.195","@types/crypto-js":"^4.2.2","@types/lodash-es":"~4.17.12","@types/node":"~20.11.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"~7.5.0","@typescript-eslint/parser":"~7.5.0","@umijs/openapi":"^1.11.1","@vitejs/plugin-vue":"~5.0.4","@vitejs/plugin-vue-jsx":"~3.1.0","@vue/tsconfig":"^0.5.1",commitizen:"~4.3.0","conventional-changelog-cli":"~4.1.0","core-js":"^3.36.1","cross-env":"~7.0.3",eslint:"~8.57.0","eslint-config-prettier":"~9.1.0","eslint-define-config":"~2.1.0","eslint-plugin-import":"~2.29.1","eslint-plugin-prettier":"~5.1.3","eslint-plugin-unused-imports":"^3.1.0","eslint-plugin-vue":"~9.24.0",husky:"~9.0.11",less:"~4.2.0","lint-staged":"~15.2.2",msw:"^2.2.13",nx:"^18.2.2",postcss:"~8.4.38","postcss-html":"~1.6.0","postcss-less":"~6.0.0",prettier:"~3.2.5",rimraf:"~5.0.5",stylelint:"~16.3.1","stylelint-config-property-sort-order-smacss":"^10.0.0","stylelint-config-recommended":"~14.0.0","stylelint-config-recommended-vue":"~1.5.0","stylelint-config-standard":"~36.0.0","stylelint-order":"~6.0.4","stylelint-prettier":"^5.0.0",typescript:"~5.4.3",unocss:"^0.58.9","unplugin-vue-components":"~0.26.0",vite:"~5.2.8","vite-plugin-checker":"~0.6.4","vite-plugin-inspect":"^0.8.3","vite-plugin-mkcert":"^1.17.5","vite-plugin-svg-icons":"~2.0.1","vue-eslint-parser":"~9.4.2","vue-tsc":"~1.8.27"},__npminstall_done:!1,repository:{type:"git",url:"https://github.com/buqiyuan/vue3-antdv-admin"},homepage:"https://buqiyuan.gitee.io/vue3-antdv-admin",keywords:["vue","ant-design-vue","vue3","ts","tsx","admin","typescript"],license:"MIT",target:"web",pnpm:{overrides:{}},workspaces:["packages/*"]},lastBuildTime:"2024-04-04 15:38:16"};const q=w({name:"About",__name:"about",setup(N){const{pkg:s,lastBuildTime:x}=j,_={...s.dependencies,...s.devDependencies},r=({url:a="",text:p})=>{const o=/^http(s)?:/.test(a)?a:`https://www.npmjs.com/package/${a}`;return t("a",{href:o,target:"_blank"},[p])},d=a=>{var p;return((p=_[a].match(/\d+/))==null?void 0:p[0])||""},k=` + 的前端项目是基于 Vue${d("vue")}.x、 + Vite${d("vite")}.x、 + Ant-Design-Vue${d("ant-design-vue")}.x 、 + TypeScript${d("typescript")}.x 开发, + 内置了动态路由、权限验证、并提供了常用的功能组件,帮助你快速搭建企业级中后台产品原型。 + 原则上不会限制任何代码用于商用。 + `;return(a,p)=>(c(),m("div",null,[t(e(u),null,{default:n(()=>[t(e(u).Meta,{title:"关于"},{description:n(()=>[t(r,{url:e(s).author.url,text:e(s).name},null,8,["url","text"]),g(v(k))]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:n(()=>[t(e(i),{title:"项目信息",column:2,bordered:""},{default:n(()=>[t(e(i).Item,{label:"版本"},{default:n(()=>[t(e(f),{color:"processing"},{default:n(()=>[g(v(e(s).version),1)]),_:1})]),_:1}),t(e(i).Item,{label:"最后编译时间"},{default:n(()=>[t(e(f),{color:"processing"},{default:n(()=>[g(v(e(x)),1)]),_:1})]),_:1}),t(e(i).Item,{label:"GitHub"},{default:n(()=>[t(r,{url:e(s).repository.url,text:"GitHub"},null,8,["url"])]),_:1}),t(e(i).Item,{label:"预览地址"},{default:n(()=>[t(r,{url:e(s).homepage,text:"预览地址"},null,8,["url"])]),_:1})]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:n(()=>[t(e(i),{title:"生产环境依赖",bordered:""},{default:n(()=>[(c(!0),m(y,null,b(e(s).dependencies,(o,l)=>(c(),h(e(i).Item,{key:l,label:l},{default:n(()=>[t(r,{url:l,text:o},null,8,["url","text"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:n(()=>[t(e(i),{title:"开发环境依赖",bordered:""},{default:n(()=>[(c(!0),m(y,null,b(e(s).devDependencies,(o,l)=>(c(),h(e(i).Item,{key:l,label:l},{default:n(()=>[t(r,{url:l,text:o},null,8,["url","text"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1})]))}});export{q as default}; diff --git a/assets/analysis-DNySu1oN.svg b/assets/analysis-DNySu1oN.svg new file mode 100644 index 000000000..9c2da5576 --- /dev/null +++ b/assets/analysis-DNySu1oN.svg @@ -0,0 +1 @@ +- \ No newline at end of file diff --git a/assets/antdv-CA3HmnGF.js b/assets/antdv-CA3HmnGF.js new file mode 100644 index 000000000..e25da9850 --- /dev/null +++ b/assets/antdv-CA3HmnGF.js @@ -0,0 +1,457 @@ +import{c as P,i as Xe,p as Ke,F as nt,a as Zt,C as N$,T as Gp,d as J,r as vt,g as Dn,o as Ve,b as ao,e as An,w as ue,f as Z,u as Lt,s as Y,h as Le,j as Je,t as k$,k as f,l as af,m as Kt,n as u8,q as rn,v as ko,x as zr,y as lt,z as Be,A as Wn,B as jm,D as Xp,E as Up,G as go,H as B$,I as Rr,J as _t,K as d8,L as Yp,M as f8,N as p8,O as nc,P as F$,Q as v8}from"./vue-Dbi1xauY.js";var cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zne(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}const vn=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Hr(){return{type:[Function,Array]}}function Ne(e){return{type:Object,default:e}}function Ce(e){return{type:Boolean,default:e}}function de(e){return{type:Function,default:e}}function xt(e,t){const n={validator:()=>!0,default:e};return n}function ba(){return{validator:()=>!0}}function ht(e){return{type:Array,default:e}}function je(e){return{type:String,default:e}}function Ge(e,t){return e?{type:e,default:t}:xt(t)}const qp="anticon",L$=Symbol("GlobalFormContextKey"),h8=e=>{Ke(L$,e)},m8=()=>Xe(L$,{validateMessages:P(()=>{})}),b8=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:Ne(),input:Ne(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:Ne(),pageHeader:Ne(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:Ne(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:Ne(),pagination:Ne(),theme:Ne(),select:Ne(),wave:Ne()}),Qp=Symbol("configProvider"),z$={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:P(()=>qp),getPopupContainer:P(()=>()=>document.body),direction:P(()=>"ltr")},oc=()=>Xe(Qp,z$),y8=e=>Ke(Qp,e);var H$=typeof global=="object"&&global&&global.Object===Object&&global,S8=typeof self=="object"&&self&&self.Object===Object&&self,lo=H$||S8||Function("return this")(),Kn=lo.Symbol,j$=Object.prototype,$8=j$.hasOwnProperty,C8=j$.toString,il=Kn?Kn.toStringTag:void 0;function x8(e){var t=$8.call(e,il),n=e[il];try{e[il]=void 0;var o=!0}catch{}var r=C8.call(e);return o&&(t?e[il]=n:delete e[il]),r}var w8=Object.prototype,O8=w8.toString;function P8(e){return O8.call(e)}var I8="[object Null]",T8="[object Undefined]",Vm=Kn?Kn.toStringTag:void 0;function So(e){return e==null?e===void 0?T8:I8:Vm&&Vm in Object(e)?x8(e):P8(e)}function En(e){return e!=null&&typeof e=="object"}var M8="[object Symbol]";function rc(e){return typeof e=="symbol"||En(e)&&So(e)==M8}function ni(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=iO)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function dO(e){return function(){return e}}var $s=function(){try{var e=Ur(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fO=$s?function(e,t){return $s(e,"toString",{configurable:!0,enumerable:!1,value:dO(t),writable:!0})}:Zp;const pO=fO;var K$=uO(pO);function vO(e,t){for(var n=-1,o=e==null?0:e.length;++n-1}var bO=9007199254740991,yO=/^(?:0|[1-9]\d*)$/;function ac(e,t){var n=typeof e;return t=t??bO,!!t&&(n=="number"||n!="symbol"&&yO.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=CO}function Yr(e){return e!=null&&nv(e.length)&&!Jp(e)}function xO(e,t,n){if(!an(n))return!1;var o=typeof t;return(o=="number"?Yr(n)&&ac(t,n.length):o=="string"&&t in n)?oi(n[t],e):!1}function Y$(e){return lc(function(t,n){var o=-1,r=n.length,a=r>1?n[r-1]:void 0,l=r>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,l&&xO(n[0],n[1],l)&&(a=r<3?void 0:a,r=1),t=Object(t);++o-1}function N5(e,t){var n=this.__data__,o=uc(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Ho(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(i)?t>1?lv(i,t-1,n,o,r):av(r,i):o||(r[r.length]=i)}return r}function Z5(e){var t=e==null?0:e.length;return t?lv(e,1):[]}function nC(e){return K$(U$(e,void 0,Z5),e+"")}var iv=eC(Object.getPrototypeOf,Object),J5="[object Object]",eP=Function.prototype,tP=Object.prototype,oC=eP.toString,nP=tP.hasOwnProperty,oP=oC.call(Object);function pc(e){if(!En(e)||So(e)!=J5)return!1;var t=iv(e);if(t===null)return!0;var n=nP.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&oC.call(n)==oP}function rP(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++oi))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,g=n&L7?new Ra:void 0;for(a.set(e,t),a.set(t,e);++d=t||w<0||d&&M>=a}function y(){var O=Du();if(b(O))return S(O);i=setTimeout(y,h(O))}function S(O){return i=void 0,p&&o?g(O):(o=r=void 0,l)}function $(){i!==void 0&&clearTimeout(i),u=0,o=s=r=i=void 0}function x(){return i===void 0?l:S(Du())}function C(){var O=Du(),w=b(O);if(o=arguments,r=this,s=O,w){if(i===void 0)return m(s);if(d)return clearTimeout(i),i=setTimeout(y,t),g(s)}return i===void 0&&(i=setTimeout(y,t)),l}return C.cancel=$,C.flush=x,C}function ff(e,t,n){(n!==void 0&&!oi(e[t],n)||n===void 0&&!(t in e))&&ev(e,t,n)}function dv(e){return En(e)&&Yr(e)}function pf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function _I(e){return Xa(e,ri(e))}function DI(e,t,n,o,r,a,l){var i=pf(e,n),s=pf(t,n),u=l.get(s);if(u){ff(e,n,u);return}var c=a?a(i,s,n+"",e,t,l):void 0,d=c===void 0;if(d){var p=Jt(s),g=!p&&_a(s),m=!p&&!g&&cc(s);c=s,p||g||m?Jt(i)?c=i:dv(i)?c=W$(i):g?(d=!1,c=aC(s,!0)):m?(d=!1,c=uC(s,!0)):c=[]:pc(s)||Ea(s)?(c=i,Ea(i)?c=_I(i):(!an(i)||Jp(i))&&(c=dC(s))):d=!1}d&&(l.set(s,c),r(c,s,o,a,l),l.delete(s)),ff(e,n,c)}function fv(e,t,n,o,r){e!==t&&yC(t,function(a,l){if(r||(r=new to),an(a))DI(e,t,l,n,fv,o,r);else{var i=o?o(pf(e,l),a,l+"",e,t,r):void 0;i===void 0&&(i=a),ff(e,l,i)}},ri)}var eoe=Y$(function(e,t,n,o){fv(e,t,n,o)});function SC(e,t,n){for(var o=-1,r=e==null?0:e.length;++o-1?r[a?t[l]:l]:void 0}}var RI=Math.max;function NI(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var r=n==null?0:H8(n);return r<0&&(r=RI(o+r,0)),G$(e,gc(t),r)}var kI=AI(NI);function BI(e){for(var t=-1,n=e==null?0:e.length,o={};++t=120&&c.length>=120)?new Ra(l&&c):void 0}c=e[0];var d=-1,p=i[0];e:for(;++d1),a}),Xa(e,cC(e),n),o&&(n=Sa(n,QI|ZI|JI,qI));for(var r=t.length;r--;)wC(n,t[r]);return n});function OC(e,t,n,o){if(!an(e))return e;t=Ya(t,e);for(var r=-1,a=t.length,l=a-1,i=e;i!=null&&++r=sT){var u=t?null:iT(e);if(u)return uv(u);l=!1,r=xs,s=new Ra}else s=t?[]:i;e:for(;++otypeof e=="function",pT=Array.isArray,vT=e=>typeof e=="string",gT=e=>e!==null&&typeof e=="object",hT=/^on[^a-z]/,mT=e=>hT.test(e),hv=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bT=/-(\w)/g,qr=hv(e=>e.replace(bT,(t,n)=>n?n.toUpperCase():"")),yT=/\B([A-Z])/g,ST=hv(e=>e.replace(yT,"-$1").toLowerCase()),$T=hv(e=>e.charAt(0).toUpperCase()+e.slice(1)),CT=Object.prototype.hasOwnProperty,S0=(e,t)=>CT.call(e,t);function xT(e,t,n,o){const r=e[n];if(r!=null){const a=S0(r,"default");if(a&&o===void 0){const l=r.default;o=r.type!==Function&&fT(l)?l():l}r.type===Boolean&&(!S0(t,n)&&!a?o=!1:o===""&&(o=!0))}return o}function xr(e){return typeof e=="number"?`${e}px`:e}function va(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function wT(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,a)=>n.then(r,a),o.promise=n,o}function te(){const e=[];for(let t=0;t0},e.prototype.connect_=function(){!vf||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ET?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!vf||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=MT.some(function(a){return!!~o.indexOf(a)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),TC=function(e,t){for(var n=0,o=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Na(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new LT(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Na(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new zT(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),EC=typeof WeakMap<"u"?new WeakMap:new IC,_C=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=_T.getInstance(),o=new HT(t,n,this);EC.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){_C.prototype[e]=function(){var t;return(t=EC.get(this))[e].apply(t,arguments)}});var jT=function(){return typeof ws.ResizeObserver<"u"?ws.ResizeObserver:_C}();const mv=jT,gf=e=>e!=null&&e!=="",rt=(e,t)=>{const n=v({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},DC=e=>{const t=Object.keys(e),n={},o={},r={};for(let a=0,l=t.length;a0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(a){if(a){const l=a.split(r);if(l.length>1){const i=t?qr(l[0].trim()):l[0].trim();n[i]=l[1].trim()}}}),n)},_o=(e,t)=>e[t]!==void 0,AC=Symbol("skipFlatten"),mt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...mt(r,t)):r&&r.type===nt?r.key===AC?o.push(r):o.push(...mt(r.children,t)):r&&Zt(r)?t&&!bv(r)?o.push(r):t||o.push(r):gf(r)&&o.push(r)}),o},bc=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Zt(e))return e.type===nt?t==="default"?mt(e.children):[]:e.children&&e.children[t]?mt(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return mt(o)}},Pn=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},WT=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],a=ST(o);(r!==void 0||a in n)&&(t[o]=r)})}else if(Zt(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(a=>{o[qr(a)]=n[a]});const r=e.type.props||{};Object.keys(r).forEach(a=>{const l=xT(r,o,a,o[a]);(l!==void 0||a in o)&&(t[a]=l)})}return t},RC=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const a=e[t];if(a!==void 0)return typeof a=="function"&&o?a(n):a;r=e.$slots[t],r=o&&r?r(n):r}else if(Zt(e)){const a=e.props&&e.props[t];if(a!==void 0&&e.props!==null)return typeof a=="function"&&o?a(n):a;e.type===nt?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=mt(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function C0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=v(v({},n),e.$attrs):n=v(v({},n),e.props),DC(n)[t?"onEvents":"events"]}function KT(e){const n=((Zt(e)?e.props:e.$attrs)||{}).class||{};let o={};return typeof n=="string"?n.split(" ").forEach(r=>{o[r.trim()]=!0}):Array.isArray(n)?te(n).split(" ").forEach(r=>{o[r.trim()]=!0}):o=v(v({},o),n),o}function NC(e,t){let o=((Zt(e)?e.props:e.$attrs)||{}).style||{};if(typeof o=="string")o=VT(o,t);else if(t&&o){const r={};return Object.keys(o).forEach(a=>r[qr(a)]=o[a]),r}return o}function GT(e){return e.length===1&&e[0].type===nt}function bv(e){return e&&(e.type===N$||e.type===nt&&e.children.length===0||e.type===Gp&&e.children.trim()==="")}function Tt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===nt?t.push(...Tt(n.children)):t.push(n)}),t.filter(n=>!bv(n))}function sl(e){if(e){const t=Tt(e);return t.length?t:void 0}else return e}function kt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function Nt(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}const ho=J({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=vt({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,a=null;const l=()=>{a&&(a.disconnect(),a=null)},i=c=>{const{onResize:d}=e,p=c[0].target,{width:g,height:m}=p.getBoundingClientRect(),{offsetWidth:h,offsetHeight:b}=p,y=Math.floor(g),S=Math.floor(m);if(o.width!==y||o.height!==S||o.offsetWidth!==h||o.offsetHeight!==b){const $={width:y,height:S,offsetWidth:h,offsetHeight:b};v(o,$),d&&Promise.resolve().then(()=>{d(v(v({},$),{offsetWidth:h,offsetHeight:b}),p)})}},s=Dn(),u=()=>{const{disabled:c}=e;if(c){l();return}const d=Pn(s);d!==r&&(l(),r=d),!a&&d&&(a=new mv(i),a.observe(d))};return Ve(()=>{u()}),ao(()=>{u()}),An(()=>{l()}),ue(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});let kC=e=>setTimeout(e,16),BC=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(kC=e=>window.requestAnimationFrame(e),BC=e=>window.cancelAnimationFrame(e));let x0=0;const yv=new Map;function FC(e){yv.delete(e)}function We(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;x0+=1;const n=x0;function o(r){if(r===0)FC(n),e();else{const a=kC(()=>{o(r-1)});yv.set(n,a)}}return o(t),n}We.cancel=e=>{const t=yv.get(e);return FC(t),BC(t)};let LC=!1;try{const e=Object.defineProperty({},"passive",{get(){LC=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}const zt=LC;function wt(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&zt&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const zC=Symbol("DisabledContextKey"),gn=()=>Xe(zC,Z(void 0)),HC=e=>{const t=gn();return Ke(zC,P(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},jC={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},XT={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},UT=XT,YT={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},VC=YT,qT={lang:v({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},UT),timePickerLocale:v({},VC)},Ps=qT,Sn="${label} is not a valid ${type}",QT={locale:"en",Pagination:jC,DatePicker:Ps,TimePicker:VC,Calendar:Ps,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Sn,method:Sn,array:Sn,object:Sn,number:Sn,date:Sn,boolean:Sn,integer:Sn,float:Sn,regexp:Sn,email:Sn,url:Sn,hex:Sn},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},Gn=QT,Sv=J({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=Xe("localeData",{}),r=P(()=>{const{componentName:l="global",defaultLocale:i}=e,s=i||Gn[l||"global"],{antLocale:u}=o,c=l&&u?u[l]:{};return v(v({},typeof s=="function"?s():s),c||{})}),a=P(()=>{const{antLocale:l}=o,i=l&&l.locale;return l&&l.exist&&!i?Gn.locale:i});return()=>{const l=e.children||n.default,{antLocale:i}=o;return l==null?void 0:l(r.value,a.value,i)}}});function $o(e,t,n){const o=Xe("localeData",{});return[P(()=>{const{antLocale:a}=o,l=Lt(t)||Gn[e||"global"],i=e&&a?a[e]:{};return v(v(v({},typeof l=="function"?l():l),i||{}),Lt(n)||{})})]}function $v(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const w0="%";class ZT{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(w0):t)||null}update(t,n){const o=Array.isArray(t)?t.join(w0):t,r=this.cache.get(o),a=n(r);a===null?this.cache.delete(o):this.cache.set(o,a)}}const JT=ZT,WC="data-token-hash",Nr="data-css-hash",ga="__cssinjs_instance__";function Hl(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Nr}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[ga]=r[ga]||e,r[ga]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${Nr}]`)).forEach(r=>{var a;const l=r.getAttribute(Nr);o[l]?r[ga]===e&&((a=r.parentNode)===null||a===void 0||a.removeChild(r)):o[l]=!0})}return new JT(e)}const KC=Symbol("StyleContextKey"),e9=()=>{var e,t,n;const o=Dn();let r;if(o&&o.appContext){const a=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;a?r=a:(r=Hl(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=Hl();return r},GC={cache:Hl(),defaultCache:!0,hashPriority:"low"},yc=()=>{const e=e9();return Xe(KC,Y(v(v({},GC),{cache:e})))},t9=e=>{const t=yc(),n=Y(v(v({},GC),{cache:Hl()}));return ue([()=>Lt(e),t],()=>{const o=v({},t.value),r=Lt(e);Object.keys(r).forEach(l=>{const i=r[l];r[l]!==void 0&&(o[l]=i)});const{cache:a}=r;o.cache=o.cache||Hl(),o.defaultCache=!a&&t.value.defaultCache,n.value=o},{immediate:!0}),Ke(KC,n),n},n9=()=>({autoClear:Ce(),mock:je(),cache:Ne(),defaultCache:Ce(),hashPriority:je(),container:Ge(),ssrInline:Ce(),transformers:ht(),linters:ht()});Vt(J({name:"AStyleProvider",inheritAttrs:!1,props:n9(),setup(e,t){let{slots:n}=t;return t9(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function XC(e,t,n,o){const r=yc(),a=Y(""),l=Y();Le(()=>{a.value=[e,...t.value].join("%")});const i=s=>{r.value.cache.update(s,u=>{const[c=0,d]=u||[];return c-1===0?(o==null||o(d,!1),null):[c-1,d]})};return ue(a,(s,u)=>{u&&i(u),r.value.cache.update(s,c=>{const[d=0,p]=c||[],m=p||n();return[d+1,m]}),l.value=r.value.cache.get(a.value)[1]},{immediate:!0}),Je(()=>{i(a.value)}),l}function hn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function er(e,t){return e&&e.contains?e.contains(t):!1}const O0="data-vc-order",o9="vc-util-key",hf=new Map;function UC(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:o9}function Sc(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function r9(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function YC(e){return Array.from((hf.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function qC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!hn())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(O0,r9(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const a=Sc(t),{firstChild:l}=a;if(o){if(o==="queue"){const i=YC(a).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(O0)));if(i.length)return a.insertBefore(r,i[i.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function QC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Sc(t);return YC(n).find(o=>o.getAttribute(UC(t))===e)}function Is(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=QC(e,t);n&&Sc(t).removeChild(n)}function a9(e,t){const n=hf.get(e);if(!n||!er(document,n)){const o=qC("",t),{parentNode:r}=o;hf.set(e,r),e.removeChild(o)}}function jl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,a;const l=Sc(n);a9(l,n);const i=QC(t,n);if(i)return!((o=n.csp)===null||o===void 0)&&o.nonce&&i.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(i.nonce=(a=n.csp)===null||a===void 0?void 0:a.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;const s=qC(e,n);return s.setAttribute(UC(n),t),s}function l9(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var a;o?o=(a=o==null?void 0:o.map)===null||a===void 0?void 0:a.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>ka.MAX_CACHE_SIZE+ka.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((a,l)=>{const[,i]=a;return this.internalGet(l)[1]{if(a===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const l=o.get(r);l?l.map||(l.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!l9(n,t)),this.deleteByPath(this.cache,t)}}ka.MAX_CACHE_SIZE=20;ka.MAX_CACHE_OFFSET=5;let P0={};function i9(e,t){}function s9(e,t){}function ZC(e,t,n){!t&&!P0[n]&&(e(!1,n),P0[n]=!0)}function Cv(e,t){ZC(i9,e,t)}function c9(e,t){ZC(s9,e,t)}function u9(){}let d9=u9;const yt=d9;let I0=0;class JC{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=I0,t.length===0&&yt(t.length>0),I0+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const Nu=new ka;function e2(e){const t=Array.isArray(e)?e:[e];return Nu.has(t)||Nu.set(t,new JC(t)),Nu.get(t)}const T0=new WeakMap;function Ts(e){let t=T0.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof JC?t+=o.id:o&&typeof o=="object"?t+=Ts(o):t+=o}),T0.set(e,t)),t}function f9(e,t){return $v(`${t}_${Ts(e)}`)}const Sl=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),t2="_bAmBoO_";function p9(e,t,n){var o,r;if(hn()){jl(e,Sl);const a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a);const l=n?n(a):(o=getComputedStyle(a).content)===null||o===void 0?void 0:o.includes(t2);return(r=a.parentNode)===null||r===void 0||r.removeChild(a),Is(Sl),l}return!1}let ku;function v9(){return ku===void 0&&(ku=p9(`@layer ${Sl} { .${Sl} { content: "${t2}"!important; } }`,e=>{e.className=Sl})),ku}const M0={},g9=!0,h9=!1,m9=!g9&&!h9?"css-dev-only-do-not-override":"css",wr=new Map;function b9(e){wr.set(e,(wr.get(e)||0)+1)}function y9(e,t){typeof document<"u"&&document.querySelectorAll(`style[${WC}="${e}"]`).forEach(o=>{var r;o[ga]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const S9=0;function $9(e,t){wr.set(e,(wr.get(e)||0)-1);const n=Array.from(wr.keys()),o=n.filter(r=>(wr.get(r)||0)<=0);n.length-o.length>S9&&o.forEach(r=>{y9(r,t),wr.delete(r)})}const C9=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let a=v(v({},r),t);return o&&(a=o(a)),a};function x9(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Z({});const o=yc(),r=P(()=>v({},...t.value)),a=P(()=>Ts(r.value)),l=P(()=>Ts(n.value.override||M0));return XC("token",P(()=>[n.value.salt||"",e.value.id,a.value,l.value]),()=>{const{salt:s="",override:u=M0,formatToken:c,getComputedToken:d}=n.value,p=d?d(r.value,u,e.value):C9(r.value,u,e.value,c),g=f9(p,s);p._tokenKey=g,b9(g);const m=`${m9}-${$v(g)}`;return p._hashId=m,[p,m]},s=>{var u;$9(s[0]._tokenKey,(u=o.value)===null||u===void 0?void 0:u.cache.instanceId)})}var w9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},n2="comm",o2="rule",r2="decl",O9="@import",P9="@keyframes",I9="@layer",a2=Math.abs,xv=String.fromCharCode;function l2(e){return e.trim()}function Ji(e,t,n){return e.replace(t,n)}function T9(e,t,n){return e.indexOf(t,n)}function Vl(e,t){return e.charCodeAt(t)|0}function Wl(e,t,n){return e.slice(t,n)}function Eo(e){return e.length}function M9(e){return e.length}function xi(e,t){return t.push(e),e}var $c=1,Ba=1,i2=0,Xn=0,Rt=0,Qa="";function wv(e,t,n,o,r,a,l,i){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:$c,column:Ba,length:l,return:"",siblings:i}}function E9(){return Rt}function _9(){return Rt=Xn>0?Vl(Qa,--Xn):0,Ba--,Rt===10&&(Ba=1,$c--),Rt}function no(){return Rt=Xn2||mf(Rt)>3?"":" "}function N9(e,t){for(;--t&&no()&&!(Rt<48||Rt>102||Rt>57&&Rt<65||Rt>70&&Rt<97););return Cc(e,es()+(t<6&&kr()==32&&no()==32))}function bf(e){for(;no();)switch(Rt){case e:return Xn;case 34:case 39:e!==34&&e!==39&&bf(Rt);break;case 40:e===41&&bf(e);break;case 92:no();break}return Xn}function k9(e,t){for(;no()&&e+Rt!==57;)if(e+Rt===84&&kr()===47)break;return"/*"+Cc(t,Xn-1)+"*"+xv(e===47?e:no())}function B9(e){for(;!mf(kr());)no();return Cc(e,Xn)}function F9(e){return A9(ts("",null,null,null,[""],e=D9(e),0,[0],e))}function ts(e,t,n,o,r,a,l,i,s){for(var u=0,c=0,d=l,p=0,g=0,m=0,h=1,b=1,y=1,S=0,$="",x=r,C=a,O=o,w=$;b;)switch(m=S,S=no()){case 40:if(m!=108&&Vl(w,d-1)==58){T9(w+=Ji(Bu(S),"&","&\f"),"&\f",a2(u?i[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:w+=Bu(S);break;case 9:case 10:case 13:case 32:w+=R9(m);break;case 92:w+=N9(es()-1,7);continue;case 47:switch(kr()){case 42:case 47:xi(L9(k9(no(),es()),t,n,s),s);break;default:w+="/"}break;case 123*h:i[u++]=Eo(w)*y;case 125*h:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+c:y==-1&&(w=Ji(w,/\f/g,"")),g>0&&Eo(w)-d&&xi(g>32?_0(w+";",o,n,d-1,s):_0(Ji(w," ","")+";",o,n,d-2,s),s);break;case 59:w+=";";default:if(xi(O=E0(w,t,n,u,c,r,i,$,x=[],C=[],d,a),a),S===123)if(c===0)ts(w,t,O,O,x,a,d,i,C);else switch(p===99&&Vl(w,3)===110?100:p){case 100:case 108:case 109:case 115:ts(e,O,O,o&&xi(E0(e,O,O,0,0,r,i,$,r,x=[],d,C),C),r,C,d,i,o?x:C);break;default:ts(w,O,O,O,[""],C,0,i,C)}}u=c=g=0,h=y=1,$=w="",d=l;break;case 58:d=1+Eo(w),g=m;default:if(h<1){if(S==123)--h;else if(S==125&&h++==0&&_9()==125)continue}switch(w+=xv(S),S*h){case 38:y=c>0?1:(w+="\f",-1);break;case 44:i[u++]=(Eo(w)-1)*y,y=1;break;case 64:kr()===45&&(w+=Bu(no())),p=kr(),c=d=Eo($=w+=B9(es())),S++;break;case 45:m===45&&Eo(w)==2&&(h=0)}}return a}function E0(e,t,n,o,r,a,l,i,s,u,c,d){for(var p=r-1,g=r===0?a:[""],m=M9(g),h=0,b=0,y=0;h0?g[S]+" "+$:Ji($,/&\f/g,g[S])))&&(s[y++]=x);return wv(e,t,n,r===0?o2:i,s,u,c,d)}function L9(e,t,n,o){return wv(e,t,n,n2,xv(E9()),Wl(e,2,-2),0,o)}function _0(e,t,n,o,r){return wv(e,t,n,r2,Wl(e,0,o),Wl(e,o+1,-1),o,r)}function yf(e,t){for(var n="",o=0;o{const[a,l]=r.split(":");Br[a]=l});const o=document.querySelector(`style[${D0}]`);o&&(s2=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function V9(e){return j9(),!!Br[e]}function W9(e){const t=Br[e];let n=null;if(t&&hn())if(s2)n=H9;else{const o=document.querySelector(`style[${Nr}="${Br[e]}"]`);o?n=o.innerHTML:delete Br[e]}return[n,t]}const A0=hn(),K9="_skip_check_",c2="_multi_value_";function R0(e){return yf(F9(e),z9).replace(/\{%%%\:[^;];}/g,";")}function G9(e){return typeof e=="object"&&e&&(K9 in e||c2 in e)}function X9(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(l=>{var i;const s=l.trim().split(/\s+/);let u=s[0]||"";const c=((i=u.match(/^\w+/))===null||i===void 0?void 0:i[0])||"";return u=`${c}${r}${u.slice(c.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const N0=new Set,Sf=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:a,layer:l,path:i,hashPriority:s,transformers:u=[],linters:c=[]}=t;let d="",p={};function g(b){const y=b.getName(a);if(!p[y]){const[S]=Sf(b.style,t,{root:!1,parentSelectors:r});p[y]=`@keyframes ${b.getName(a)}${S}`}}function m(b){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(S=>{Array.isArray(S)?m(S,y):S&&y.push(S)}),y}if(m(Array.isArray(e)?e:[e]).forEach(b=>{const y=typeof b=="string"&&!n?{}:b;if(typeof y=="string")d+=`${y} +`;else if(y._keyframe)g(y);else{const S=u.reduce(($,x)=>{var C;return((C=x==null?void 0:x.visit)===null||C===void 0?void 0:C.call(x,$))||$},y);Object.keys(S).forEach($=>{var x;const C=S[$];if(typeof C=="object"&&C&&($!=="animationName"||!C._keyframe)&&!G9(C)){let O=!1,w=$.trim(),M=!1;(n||o)&&a?w.startsWith("@")?O=!0:w=X9($,a,s):n&&!a&&(w==="&"||w==="")&&(w="",M=!0);const[I,_]=Sf(C,t,{root:M,injectHash:O,parentSelectors:[...r,w]});p=v(v({},p),_),d+=`${w}${I}`}else{let O=function(M,I){const _=M.replace(/[A-Z]/g,F=>`-${F.toLowerCase()}`);let D=I;!w9[M]&&typeof D=="number"&&D!==0&&(D=`${D}px`),M==="animationName"&&(I!=null&&I._keyframe)&&(g(I),D=I.getName(a)),d+=`${_}:${D};`};const w=(x=C==null?void 0:C.value)!==null&&x!==void 0?x:C;typeof C=="object"&&(C!=null&&C[c2])&&Array.isArray(w)?w.forEach(M=>{O($,M)}):O($,w)}})}}),!n)d=`{${d}}`;else if(l&&v9()){const b=l.split(",");d=`@layer ${b[b.length-1].trim()} {${d}}`,b.length>1&&(d=`@layer ${l}{%%%:%}${d}`)}return[d,p]};function U9(e,t){return $v(`${e.join("%")}${t}`)}function $f(e,t){const n=yc(),o=P(()=>e.value.token._tokenKey),r=P(()=>[o.value,...e.value.path]);let a=A0;return XC("style",r,()=>{const{path:l,hashId:i,layer:s,nonce:u,clientOnly:c,order:d=0}=e.value,p=r.value.join("|");if(V9(p)){const[w,M]=W9(p);if(w)return[w,o.value,M,{},c,d]}const g=t(),{hashPriority:m,container:h,transformers:b,linters:y,cache:S}=n.value,[$,x]=Sf(g,{hashId:i,hashPriority:m,layer:s,path:l.join("-"),transformers:b,linters:y}),C=R0($),O=U9(r.value,C);if(a){const w={mark:Nr,prepend:"queue",attachTo:h,priority:d},M=typeof u=="function"?u():u;M&&(w.csp={nonce:M});const I=jl(C,O,w);I[ga]=S.instanceId,I.setAttribute(WC,o.value),Object.keys(x).forEach(_=>{N0.has(_)||(N0.add(_),jl(R0(x[_]),`_effect-${_}`,{mark:Nr,prepend:"queue",attachTo:h}))})}return[C,o.value,O,x,c,d]},(l,i)=>{let[,,s]=l;(i||n.value.autoClear)&&A0&&Is(s,{mark:Nr})}),l=>l}class Y9{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const Ue=Y9,q9="4.1.2",Kl=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Yt(e,t){Q9(e)&&(e="100%");var n=Z9(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function wi(e){return Math.min(1,Math.max(0,e))}function Q9(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Z9(e){return typeof e=="string"&&e.indexOf("%")!==-1}function u2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Oi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Er(e){return e.length===1?"0"+e:String(e)}function J9(e,t,n){return{r:Yt(e,255)*255,g:Yt(t,255)*255,b:Yt(n,255)*255}}function k0(e,t,n){e=Yt(e,255),t=Yt(t,255),n=Yt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=0,i=(o+r)/2;if(o===r)l=0,a=0;else{var s=o-r;switch(l=i>.5?s/(2-o-r):s/(o+r),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function eM(e,t,n){var o,r,a;if(e=Yt(e,360),t=Yt(t,100),n=Yt(n,100),t===0)r=n,a=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,i=2*n-l;o=Fu(i,l,e+1/3),r=Fu(i,l,e),a=Fu(i,l,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function Cf(e,t,n){e=Yt(e,255),t=Yt(t,255),n=Yt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=o,i=o-r,s=o===0?0:i/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/i+(t>16,g:(e&65280)>>8,b:e&255}}var wf={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 ua(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,l=!1,i=!1;return typeof e=="string"&&(e=iM(e)),typeof e=="object"&&(wo(e.r)&&wo(e.g)&&wo(e.b)?(t=J9(e.r,e.g,e.b),l=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):wo(e.h)&&wo(e.s)&&wo(e.v)?(o=Oi(e.s),r=Oi(e.v),t=tM(e.h,o,r),l=!0,i="hsv"):wo(e.h)&&wo(e.s)&&wo(e.l)&&(o=Oi(e.s),a=Oi(e.l),t=eM(e.h,o,a),l=!0,i="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=u2(n),{ok:l,format:e.format||i,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var aM="[-\\+]?\\d+%?",lM="[-\\+]?\\d*\\.\\d+%?",nr="(?:".concat(lM,")|(?:").concat(aM,")"),Lu="[\\s|\\(]+(".concat(nr,")[,|\\s]+(").concat(nr,")[,|\\s]+(").concat(nr,")\\s*\\)?"),zu="[\\s|\\(]+(".concat(nr,")[,|\\s]+(").concat(nr,")[,|\\s]+(").concat(nr,")[,|\\s]+(").concat(nr,")\\s*\\)?"),Jn={CSS_UNIT:new RegExp(nr),rgb:new RegExp("rgb"+Lu),rgba:new RegExp("rgba"+zu),hsl:new RegExp("hsl"+Lu),hsla:new RegExp("hsla"+zu),hsv:new RegExp("hsv"+Lu),hsva:new RegExp("hsva"+zu),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 iM(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(wf[e])e=wf[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Jn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Jn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Jn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Jn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Jn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Jn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Jn.hex8.exec(e),n?{r:wn(n[1]),g:wn(n[2]),b:wn(n[3]),a:B0(n[4]),format:t?"name":"hex8"}:(n=Jn.hex6.exec(e),n?{r:wn(n[1]),g:wn(n[2]),b:wn(n[3]),format:t?"name":"hex"}:(n=Jn.hex4.exec(e),n?{r:wn(n[1]+n[1]),g:wn(n[2]+n[2]),b:wn(n[3]+n[3]),a:B0(n[4]+n[4]),format:t?"name":"hex8"}:(n=Jn.hex3.exec(e),n?{r:wn(n[1]+n[1]),g:wn(n[2]+n[2]),b:wn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function wo(e){return!!Jn.CSS_UNIT.exec(String(e))}var st=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=rM(t)),this.originalInput=t;var r=ua(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,a=t.r/255,l=t.g/255,i=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=u2(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Cf(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Cf(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=k0(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=k0(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),xf(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),nM(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Yt(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Yt(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+xf(this.r,this.g,this.b,!1),n=0,o=Object.entries(wf);n=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=wi(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=wi(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=wi(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=wi(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,l={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,l=[],i=1/t;t--;)l.push(new e({h:o,s:r,v:a})),a=(a+i)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,l=1;l=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-Pi*t:Math.round(e.h)+Pi*t:o=n?Math.round(e.h)+Pi*t:Math.round(e.h)-Pi*t,o<0?o+=360:o>=360&&(o-=360),o}function H0(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-F0*t:t===f2?o=e.s+F0:o=e.s+sM*t,o>1&&(o=1),n&&t===d2&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function j0(e,t,n){var o;return n?o=e.v+cM*t:o=e.v-uM*t,o>1&&(o=1),Number(o.toFixed(2))}function Bo(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=ua(e),r=d2;r>0;r-=1){var a=L0(o),l=Ii(ua({h:z0(a,r,!0),s:H0(a,r,!0),v:j0(a,r,!0)}));n.push(l)}n.push(Ii(o));for(var i=1;i<=f2;i+=1){var s=L0(o),u=Ii(ua({h:z0(s,i),s:H0(s,i),v:j0(s,i)}));n.push(u)}return t.theme==="dark"?dM.map(function(c){var d=c.index,p=c.opacity,g=Ii(fM(ua(t.backgroundColor||"#141414"),ua(n[d]),p*100));return g}):n}var $a={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},$l={},Hu={};Object.keys($a).forEach(function(e){$l[e]=Bo($a[e]),$l[e].primary=$l[e][5],Hu[e]=Bo($a[e],{theme:"dark",backgroundColor:"#141414"}),Hu[e].primary=Hu[e][5]});var pM=$l.gold,vM=$l.blue;const p2=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function gM(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Ov={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},hM=v(v({},Ov),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),xc=hM;function v2(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:a,colorError:l,colorInfo:i,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,d=n(s),p=n(r),g=n(a),m=n(l),h=n(i),b=o(u,c);return v(v({},b),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorBgMask:new st("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const mM=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e>16?16:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}};function bM(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return v({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},mM(o))}const Oo=(e,t)=>new st(e).setAlpha(t).toRgbString(),cl=(e,t)=>new st(e).darken(t).toHexString(),yM=e=>{const t=Bo(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},SM=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:Oo(o,.88),colorTextSecondary:Oo(o,.65),colorTextTertiary:Oo(o,.45),colorTextQuaternary:Oo(o,.25),colorFill:Oo(o,.15),colorFillSecondary:Oo(o,.06),colorFillTertiary:Oo(o,.04),colorFillQuaternary:Oo(o,.02),colorBgLayout:cl(n,4),colorBgContainer:cl(n,0),colorBgElevated:cl(n,0),colorBgSpotlight:Oo(o,.85),colorBorder:cl(n,15),colorBorderSecondary:cl(n,6)}};function $M(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,a=e*Math.pow(2.71828,r/5),l=o>1?Math.floor(a):Math.ceil(a);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const g2=e=>{const t=$M(e),n=t.map(r=>r.size),o=t.map(r=>r.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};function wc(e){const t=Object.keys(Ov).map(n=>{const o=Bo(e[n]);return new Array(10).fill(1).reduce((r,a,l)=>(r[`${n}-${l+1}`]=o[l],r),{})}).reduce((n,o)=>(n=v(v({},n),o),n),{});return v(v(v(v(v(v(v({},e),t),v2(e,{generateColorPalettes:yM,generateNeutralColorPalettes:SM})),g2(e.fontSize)),gM(e)),p2(e)),bM(e))}function ju(e){return e>=0&&e<=255}function Ti(e,t){const{r:n,g:o,b:r,a}=new st(e).toRgb();if(a<1)return e;const{r:l,g:i,b:s}=new st(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-l*(1-u))/u),d=Math.round((o-i*(1-u))/u),p=Math.round((r-s*(1-u))/u);if(ju(c)&&ju(d)&&ju(p))return new st({r:c,g:d,b:p,a:Math.round(u*100)/100}).toRgbString()}return new st({r:n,g:o,b:r,a:1}).toRgbString()}var CM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{delete o[g]});const r=v(v({},n),o),a=480,l=576,i=768,s=992,u=1200,c=1600,d=2e3;return v(v(v({},r),{colorLink:r.colorInfoText,colorLinkHover:r.colorInfoHover,colorLinkActive:r.colorInfoActive,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:Ti(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:Ti(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Ti(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:Ti(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:a,screenXSMin:a,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,screenXXLMax:d-1,screenXXXL:d,screenXXXLMin:d,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` + 0 1px 2px -2px ${new st("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new st("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new st("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}const Pv=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),Iv=(e,t,n,o,r)=>{const a=e/2,l=0,i=a,s=n*1/Math.sqrt(2),u=a-n*(1-1/Math.sqrt(2)),c=a-t*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),p=2*a-c,g=d,m=2*a-s,h=u,b=2*a-l,y=i,S=a*Math.sqrt(2)+n*(Math.sqrt(2)-2),$=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:S,height:S,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${$}px 100%, 50% ${$}px, ${2*a-$}px 100%, ${$}px 100%)`,`path('M ${l} ${i} A ${n} ${n} 0 0 0 ${s} ${u} L ${c} ${d} A ${t} ${t} 0 0 1 ${p} ${g} L ${m} ${h} A ${n} ${n} 0 0 0 ${b} ${y} Z')`]},content:'""'}}};function Ms(e,t){return Kl.reduce((n,o)=>{const r=e[`${o}-1`],a=e[`${o}-3`],l=e[`${o}-6`],i=e[`${o}-7`];return v(v({},n),t(o,{lightColor:r,lightBorderColor:a,darkColor:l,textColor:i}))},{})}const mn={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},et=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),ai=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ro=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),wM=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),OM=(e,t)=>{const{fontFamily:n,fontSize:o}=e,r=`[class^="${t}"], [class*=" ${t}"]`;return{[r]:{fontFamily:n,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Fo=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Lo=e=>({"&:focus-visible":v({},Fo(e))});function Qe(e,t,n){return o=>{const r=P(()=>o==null?void 0:o.value),[a,l,i]=Qr(),{getPrefixCls:s,iconPrefixCls:u}=oc(),c=P(()=>s()),d=P(()=>({theme:a.value,token:l.value,hashId:i.value,path:["Shared",c.value]}));$f(d,()=>[{"&":wM(l.value)}]);const p=P(()=>({theme:a.value,token:l.value,hashId:i.value,path:[e,r.value,u.value]}));return[$f(p,()=>{const{token:g,flush:m}=IM(l.value),h=typeof n=="function"?n(g):n,b=v(v({},h),l.value[e]),y=`.${r.value}`,S=ze(g,{componentCls:y,prefixCls:r.value,iconCls:`.${u.value}`,antCls:`.${c.value}`},b),$=t(S,{hashId:i.value,prefixCls:r.value,rootPrefixCls:c.value,iconPrefixCls:u.value,overrideComponentToken:l.value[e]});return m(e,b),[OM(l.value,r.value),$]}),i]}}const h2=typeof CSSINJS_STATISTIC<"u";let Of=!0;function ze(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(r).forEach(l=>{Object.defineProperty(o,l,{configurable:!0,enumerable:!0,get:()=>r[l]})})}),Of=!0,o}function PM(){}function IM(e){let t,n=e,o=PM;return h2&&(t=new Set,n=new Proxy(e,{get(r,a){return Of&&t.add(a),r[a]}}),o=(r,a)=>{Array.from(t)}),{token:n,keys:t,flush:o}}const TM=e2(wc),Es={token:xc,hashed:!0},m2=Symbol("DesignTokenContext"),Pf=Y(),MM=e=>{Ke(m2,e),ue(e,()=>{Pf.value=Lt(e),k$(Pf)},{immediate:!0,deep:!0})},EM=J({props:{value:Ne()},setup(e,t){let{slots:n}=t;return MM(P(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function Qr(){const e=Xe(m2,P(()=>Pf.value||Es)),t=P(()=>`${q9}-${e.value.hashed||""}`),n=P(()=>e.value.theme||TM),o=x9(n,P(()=>[xc,e.value.token]),P(()=>({salt:t.value,override:v({override:e.value.token},e.value.components),formatToken:xM})));return[n,P(()=>o.value[0]),P(()=>e.value.hashed?o.value[1]:"")]}const b2=J({compatConfig:{MODE:3},setup(){const[,e]=Qr(),t=P(()=>new st(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>f("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[f("g",{fill:"none","fill-rule":"evenodd"},[f("g",{transform:"translate(24 31.67)"},[f("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),f("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),f("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),f("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),f("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),f("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),f("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[f("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),f("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});b2.PRESENTED_IMAGE_DEFAULT=!0;const _M=b2,y2=J({compatConfig:{MODE:3},setup(){const[,e]=Qr(),t=P(()=>{const{colorFill:n,colorFillTertiary:o,colorFillQuaternary:r,colorBgContainer:a}=e.value;return{borderColor:new st(n).onBackground(a).toHexString(),shadowColor:new st(o).onBackground(a).toHexString(),contentColor:new st(r).onBackground(a).toHexString()}});return()=>f("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[f("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[f("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),f("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[f("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),f("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});y2.PRESENTED_IMAGE_SIMPLE=!0;const DM=y2,AM=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:a,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:a,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},RM=Qe("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,o=ze(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[AM(o)]});var NM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,imageStyle:Ne(),image:xt(),description:xt()}),Tv=J({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:kM(),setup(e,t){let{slots:n={},attrs:o}=t;const{direction:r,prefixCls:a}=Ee("empty",e),[l,i]=RM(a);return()=>{var s,u;const c=a.value,d=v(v({},e),o),{image:p=((s=n.image)===null||s===void 0?void 0:s.call(n))||S2,description:g=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:m,class:h=""}=d,b=NM(d,["image","description","imageStyle","class"]);return l(f(Sv,{componentName:"Empty",children:y=>{const S=typeof g<"u"?g:y.description,$=typeof S=="string"?S:"empty";let x=null;return typeof p=="string"?x=f("img",{alt:$,src:p},null):x=p,f("div",N({class:te(c,h,i.value,{[`${c}-normal`]:p===$2,[`${c}-rtl`]:r.value==="rtl"})},b),[f("div",{class:`${c}-image`,style:m},[x]),S&&f("p",{class:`${c}-description`},[S]),n.default&&f("div",{class:`${c}-footer`},[Tt(n.default())])])}},null))}}});Tv.PRESENTED_IMAGE_DEFAULT=S2;Tv.PRESENTED_IMAGE_SIMPLE=$2;const Or=Vt(Tv),Mv=e=>{const{prefixCls:t}=Ee("empty",e);return(o=>{switch(o){case"Table":case"List":return f(Or,{image:Or.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return f(Or,{image:Or.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return f(Or,null,null)}})(e.componentName)};function BM(e){return f(Mv,{componentName:e},null)}const C2=Symbol("SizeContextKey"),x2=()=>Xe(C2,Z(void 0)),w2=e=>{const t=x2();return Ke(C2,P(()=>e.value||t.value)),e},Ee=(e,t)=>{const n=x2(),o=gn(),r=Xe(Qp,v(v({},z$),{renderEmpty:w=>af(Mv,{componentName:w})})),a=P(()=>r.getPrefixCls(e,t.prefixCls)),l=P(()=>{var w,M;return(w=t.direction)!==null&&w!==void 0?w:(M=r.direction)===null||M===void 0?void 0:M.value}),i=P(()=>{var w;return(w=t.iconPrefixCls)!==null&&w!==void 0?w:r.iconPrefixCls.value}),s=P(()=>r.getPrefixCls()),u=P(()=>{var w;return(w=r.autoInsertSpaceInButton)===null||w===void 0?void 0:w.value}),c=r.renderEmpty,d=r.space,p=r.pageHeader,g=r.form,m=P(()=>{var w,M;return(w=t.getTargetContainer)!==null&&w!==void 0?w:(M=r.getTargetContainer)===null||M===void 0?void 0:M.value}),h=P(()=>{var w,M,I;return(M=(w=t.getContainer)!==null&&w!==void 0?w:t.getPopupContainer)!==null&&M!==void 0?M:(I=r.getPopupContainer)===null||I===void 0?void 0:I.value}),b=P(()=>{var w,M;return(w=t.dropdownMatchSelectWidth)!==null&&w!==void 0?w:(M=r.dropdownMatchSelectWidth)===null||M===void 0?void 0:M.value}),y=P(()=>{var w;return(t.virtual===void 0?((w=r.virtual)===null||w===void 0?void 0:w.value)!==!1:t.virtual!==!1)&&b.value!==!1}),S=P(()=>t.size||n.value),$=P(()=>{var w,M,I;return(w=t.autocomplete)!==null&&w!==void 0?w:(I=(M=r.input)===null||M===void 0?void 0:M.value)===null||I===void 0?void 0:I.autocomplete}),x=P(()=>{var w;return(w=t.disabled)!==null&&w!==void 0?w:o.value}),C=P(()=>{var w;return(w=t.csp)!==null&&w!==void 0?w:r.csp}),O=P(()=>{var w,M;return(w=t.wave)!==null&&w!==void 0?w:(M=r.wave)===null||M===void 0?void 0:M.value});return{configProvider:r,prefixCls:a,direction:l,size:S,getTargetContainer:m,getPopupContainer:h,space:d,pageHeader:p,form:g,autoInsertSpaceInButton:u,renderEmpty:c,virtual:y,dropdownMatchSelectWidth:b,rootPrefixCls:s,getPrefixCls:r.getPrefixCls,autocomplete:$,csp:C,iconPrefixCls:i,disabled:x,select:r.select,wave:O}};function qe(e,t){const n=v({},e);for(let o=0;ot||a>e&&l=t&&i>=n?a-e-o:l>t&&in?l-t+r:0}var K0=function(e,t){var n=window,o=t.scrollMode,r=t.block,a=t.inline,l=t.boundary,i=t.skipOverflowHiddenElements,s=typeof l=="function"?l:function(ye){return ye!==l};if(!V0(e))throw new TypeError("Invalid target");for(var u,c,d=document.scrollingElement||document.documentElement,p=[],g=e;V0(g)&&s(g);){if((g=(c=(u=g).parentElement)==null?u.getRootNode().host||null:c)===d){p.push(g);break}g!=null&&g===document.body&&Vu(g)&&!Vu(document.documentElement)||g!=null&&Vu(g,i)&&p.push(g)}for(var m=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,S=e.getBoundingClientRect(),$=S.height,x=S.width,C=S.top,O=S.right,w=S.bottom,M=S.left,I=r==="start"||r==="nearest"?C:r==="end"?w:C+$/2,_=a==="center"?M+x/2:a==="end"?O:M,D=[],F=0;F=0&&M>=0&&w<=h&&O<=m&&C>=R&&w<=k&&M>=B&&O<=E)return D;var L=getComputedStyle(z),j=parseInt(L.borderLeftWidth,10),K=parseInt(L.borderTopWidth,10),G=parseInt(L.borderRightWidth,10),U=parseInt(L.borderBottomWidth,10),X=0,ee=0,oe="offsetWidth"in z?z.offsetWidth-z.clientWidth-j-G:0,Q="offsetHeight"in z?z.offsetHeight-z.clientHeight-K-U:0,W="offsetWidth"in z?z.offsetWidth===0?0:A/z.offsetWidth:0,q="offsetHeight"in z?z.offsetHeight===0?0:T/z.offsetHeight:0;if(d===z)X=r==="start"?I:r==="end"?I-h:r==="nearest"?Mi(y,y+h,h,K,U,y+I,y+I+$,$):I-h/2,ee=a==="start"?_:a==="center"?_-m/2:a==="end"?_-m:Mi(b,b+m,m,j,G,b+_,b+_+x,x),X=Math.max(0,X+y),ee=Math.max(0,ee+b);else{X=r==="start"?I-R-K:r==="end"?I-k+U+Q:r==="nearest"?Mi(R,k,T,K,U+Q,I,I+$,$):I-(R+T/2)+Q/2,ee=a==="start"?_-B-j:a==="center"?_-(B+A/2)+oe/2:a==="end"?_-E+G+oe:Mi(B,E,A,j,G+oe,_,_+x,x);var re=z.scrollLeft,le=z.scrollTop;I+=le-(X=Math.max(0,Math.min(le+X/q,z.scrollHeight-T/q+Q))),_+=re-(ee=Math.max(0,Math.min(re+ee/W,z.scrollWidth-A/W+oe)))}D.push({el:z,top:X,left:ee})}return D};function O2(e){return e===Object(e)&&Object.keys(e).length!==0}function FM(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(o){var r=o.el,a=o.top,l=o.left;r.scroll&&n?r.scroll({top:a,left:l,behavior:t}):(r.scrollTop=a,r.scrollLeft=l)})}function LM(e){return e===!1?{block:"end",inline:"nearest"}:O2(e)?e:{block:"start",inline:"nearest"}}function zM(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(O2(t)&&typeof t.behavior=="function")return t.behavior(n?K0(e,t):[]);if(n){var o=LM(t);return FM(K0(e,o),o.behavior)}}function HM(e,t,n,o){const r=n-t;return e/=o/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}function If(e){return e!=null&&e===e.window}function jM(e,t){var n,o;if(typeof window>"u")return 0;const r=t?"scrollTop":"scrollLeft";let a=0;return If(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[r]:(e instanceof HTMLElement||e)&&(a=e[r]),e&&!If(e)&&typeof a!="number"&&(a=(o=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||o===void 0?void 0:o[r]),a}function VM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:o,duration:r=450}=t,a=n(),l=jM(a,!0),i=Date.now(),s=()=>{const c=Date.now()-i,d=HM(c>r?r:c,l,e,r);If(a)?a.scrollTo(window.pageXOffset,d):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=d:a.scrollTop=d,c=0||(r[n]=e[n]);return r}function X0(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var M2=Object.prototype,E2=M2.toString,WM=M2.hasOwnProperty,_2=/^\s*function (\w+)/;function U0(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var o=n.toString().match(_2);return o?o[1]:""}return""}var Vr=function(e){var t,n;return X0(e)!==!1&&typeof(t=e.constructor)=="function"&&X0(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},KM=function(e){return e},nn=KM,Gl=function(e,t){return WM.call(e,t)},GM=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Fa=Array.isArray||function(e){return E2.call(e)==="[object Array]"},La=function(e){return E2.call(e)==="[object Function]"},_s=function(e){return Vr(e)&&Gl(e,"_vueTypes_name")},D2=function(e){return Vr(e)&&(Gl(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Gl(e,t)}))};function Ev(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function Zr(e,t,n){var o;n===void 0&&(n=!1);var r=!0,a="";o=Vr(e)?e:{type:e};var l=_s(o)?o._vueTypes_name+" - ":"";if(D2(o)&&o.type!==null){if(o.type===void 0||o.type===!0||!o.required&&t===void 0)return r;Fa(o.type)?(r=o.type.some(function(d){return Zr(d,t,!0)===!0}),a=o.type.map(function(d){return U0(d)}).join(" or ")):r=(a=U0(o))==="Array"?Fa(t):a==="Object"?Vr(t):a==="String"||a==="Number"||a==="Boolean"||a==="Function"?function(d){if(d==null)return"";var p=d.constructor.toString().match(_2);return p?p[1]:""}(t)===a:t instanceof o.type}if(!r){var i=l+'value "'+t+'" should be of type "'+a+'"';return n===!1?(nn(i),!1):i}if(Gl(o,"validator")&&La(o.validator)){var s=nn,u=[];if(nn=function(d){u.push(d)},r=o.validator(t),nn=s,!r){var c=(u.length>1?"* ":"")+u.join(` +* `);return u.length=0,n===!1?(nn(c),r):c}}return r}function _n(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(r){return r!==void 0||this.default?La(r)||Zr(this,r,!0)===!0?(this.default=Fa(r)?function(){return[].concat(r)}:Vr(r)?function(){return Object.assign({},r)}:r,this):(nn(this._vueTypes_name+' - invalid default value: "'+r+'"'),this):this}}}),o=n.validator;return La(o)&&(n.validator=Ev(o,n)),n}function mo(e,t){var n=_n(e,t);return Object.defineProperty(n,"validate",{value:function(o){return La(this.validator)&&nn(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: +`+JSON.stringify(this)),this.validator=Ev(o,this),this}})}function Y0(e,t,n){var o,r,a=(o=t,r={},Object.getOwnPropertyNames(o).forEach(function(d){r[d]=Object.getOwnPropertyDescriptor(o,d)}),Object.defineProperties({},r));if(a._vueTypes_name=e,!Vr(n))return a;var l,i,s=n.validator,u=T2(n,["validator"]);if(La(s)){var c=a.validator;c&&(c=(i=(l=c).__original)!==null&&i!==void 0?i:l),a.validator=Ev(c?function(d){return c.call(this,d)&&s.call(this,d)}:s,a)}return Object.assign(a,u)}function Oc(e){return e.replace(/^(?!\s*$)/gm," ")}var XM=function(){return mo("any",{})},UM=function(){return mo("function",{type:Function})},YM=function(){return mo("boolean",{type:Boolean})},qM=function(){return mo("string",{type:String})},QM=function(){return mo("number",{type:Number})},ZM=function(){return mo("array",{type:Array})},JM=function(){return mo("object",{type:Object})},eE=function(){return _n("integer",{type:Number,validator:function(e){return GM(e)}})},tE=function(){return _n("symbol",{validator:function(e){return typeof e=="symbol"}})};function nE(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return _n(e.name||"<>",{validator:function(n){var o=e(n);return o||nn(this._vueTypes_name+" - "+t),o}})}function oE(e){if(!Fa(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(o,r){if(r!=null){var a=r.constructor;o.indexOf(a)===-1&&o.push(a)}return o},[]);return _n("oneOf",{type:n.length>0?n:void 0,validator:function(o){var r=e.indexOf(o)!==-1;return r||nn(t),r}})}function rE(e){if(!Fa(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],o=0;o0&&n.some(function(s){return l.indexOf(s)===-1})){var i=n.filter(function(s){return l.indexOf(s)===-1});return nn(i.length===1?'shape - required property "'+i[0]+'" is not defined.':'shape - required properties "'+i.join('", "')+'" are not defined.'),!1}return l.every(function(s){if(t.indexOf(s)===-1)return a._vueTypes_isLoose===!0||(nn('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var u=Zr(e[s],r[s],!0);return typeof u=="string"&&nn('shape - "'+s+`" property validation error: + `+Oc(u)),u===!0})}});return Object.defineProperty(o,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(o,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),o}var co=function(){function e(){}return e.extend=function(t){var n=this;if(Fa(t))return t.forEach(function(d){return n.extend(d)}),this;var o=t.name,r=t.validate,a=r!==void 0&&r,l=t.getter,i=l!==void 0&&l,s=T2(t,["name","validate","getter"]);if(Gl(this,o))throw new TypeError('[VueTypes error]: Type "'+o+'" already defined');var u,c=s.type;return _s(c)?(delete s.type,Object.defineProperty(this,o,i?{get:function(){return Y0(o,c,s)}}:{value:function(){var d,p=Y0(o,c,s);return p.validator&&(p.validator=(d=p.validator).bind.apply(d,[p].concat([].slice.call(arguments)))),p}})):(u=i?{get:function(){var d=Object.assign({},s);return a?mo(o,d):_n(o,d)},enumerable:!0}:{value:function(){var d,p,g=Object.assign({},s);return d=a?mo(o,g):_n(o,g),g.validator&&(d.validator=(p=g.validator).bind.apply(p,[d].concat([].slice.call(arguments)))),d},enumerable:!0},Object.defineProperty(this,o,u))},P2(e,null,[{key:"any",get:function(){return XM()}},{key:"func",get:function(){return UM().def(this.defaults.func)}},{key:"bool",get:function(){return YM().def(this.defaults.bool)}},{key:"string",get:function(){return qM().def(this.defaults.string)}},{key:"number",get:function(){return QM().def(this.defaults.number)}},{key:"array",get:function(){return ZM().def(this.defaults.array)}},{key:"object",get:function(){return JM().def(this.defaults.object)}},{key:"integer",get:function(){return eE().def(this.defaults.integer)}},{key:"symbol",get:function(){return tE()}}]),e}();function A2(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function o(){return n.apply(this,arguments)||this}return I2(o,n),P2(o,null,[{key:"sensibleDefaults",get:function(){return ns({},this.defaults)},set:function(r){this.defaults=r!==!1?ns({},r!==!0?r:e):{}}}]),o}(co)).defaults=ns({},e),t}co.defaults={},co.custom=nE,co.oneOf=oE,co.instanceOf=lE,co.oneOfType=rE,co.arrayOf=aE,co.objectOf=iE,co.shape=sE,co.utils={validate:function(e,t){return Zr(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?mo(e,t):_n(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return I2(t,e),t})(A2());const V=A2({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});V.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function cE(e){return e.default=void 0,e}const bt=(e,t,n)=>{Cv(e,`[ant-design-vue: ${t}] ${n}`)};function q0(e,t){const{key:n}=e;let o;return"value"in e&&({value:o}=e),n??(o!==void 0?o:`rc-index-key-${t}`)}function R2(e,t){const{label:n,value:o,options:r}=e||{};return{label:n||(t?"children":"label"),value:o||"value",options:r||"options"}}function uE(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=[],{label:r,value:a,options:l}=R2(t,!1);function i(s,u){s.forEach(c=>{const d=c[r];if(u||!(l in c)){const p=c[a];o.push({key:q0(c,o.length),groupOption:u,data:c,label:d,value:p})}else{let p=d;p===void 0&&n&&(p=c.label),o.push({key:q0(c,o.length),group:!0,data:c,label:p}),i(c[l],!0)}})}return i(e,!1),o}function Tf(e){const t=v({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function dE(e,t){if(!t||!t.length)return null;let n=!1;function o(a,l){let[i,...s]=l;if(!i)return[a];const u=a.split(i);return n=n||u.length>1,u.reduce((c,d)=>[...c,...o(d,s)],[]).filter(c=>c)}const r=o(e,t);return n?r:null}function fE(){return""}function pE(e){return e?e.ownerDocument:window.document}function N2(){}const vE=()=>({action:V.oneOfType([V.string,V.arrayOf(V.string)]).def([]),showAction:V.any.def([]),hideAction:V.any.def([]),getPopupClassNameFromAlign:V.any.def(fE),onPopupVisibleChange:Function,afterPopupVisibleChange:V.func.def(N2),popup:V.any,popupStyle:{type:Object,default:void 0},prefixCls:V.string.def("rc-trigger-popup"),popupClassName:V.string.def(""),popupPlacement:String,builtinPlacements:V.object,popupTransitionName:String,popupAnimation:V.any,mouseEnterDelay:V.number.def(0),mouseLeaveDelay:V.number.def(.1),zIndex:Number,focusDelay:V.number.def(0),blurDelay:V.number.def(.15),getPopupContainer:Function,getDocument:V.func.def(pE),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:V.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),_v={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},gE=v(v({},_v),{mobile:{type:Object}}),hE=v(v({},_v),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Dv(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function k2(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:a,maskTransitionName:l}=e;if(!r)return null;let i={};return(l||a)&&(i=Dv({prefixCls:t,transitionName:l,animation:a})),f(rn,N({appear:!0},i),{default:()=>[Kt(f("div",{style:{zIndex:o},class:`${t}-mask`},null),[[u8("if"),n]])]})}k2.displayName="Mask";const mE=J({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:gE,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=Z();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var a;const{zIndex:l,visible:i,prefixCls:s,mobile:{popupClassName:u,popupStyle:c,popupMotion:d={},popupRender:p}={}}=e,g=v({zIndex:l},c);let m=mt((a=o.default)===null||a===void 0?void 0:a.call(o));m.length>1&&(m=f("div",{class:`${s}-content`},[m])),p&&(m=p(m));const h=te(s,u);return f(rn,N({ref:r},d),{default:()=>[i?f("div",{class:h,style:g},[m]):null]})}}});var bE=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function i(c){try{u(o.next(c))}catch(d){l(d)}}function s(c){try{u(o.throw(c))}catch(d){l(d)}}function u(c){c.done?a(c.value):r(c.value).then(i,s)}u((o=o.apply(e,t||[])).next())})};const Q0=["measure","align",null,"motion"],yE=(e,t)=>{const n=Y(null),o=Y(),r=Y(!1);function a(s){r.value||(n.value=s)}function l(){We.cancel(o.value)}function i(s){l(),o.value=We(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}a(u),s==null||s()})}return ue(e,()=>{a("measure")},{immediate:!0,flush:"post"}),Ve(()=>{ue(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=We(()=>bE(void 0,void 0,void 0,function*(){const s=Q0.indexOf(n.value),u=Q0[s+1];u&&s!==-1&&a(u)})))},{immediate:!0,flush:"post"})}),Je(()=>{r.value=!0,l()}),[n,i]},SE=e=>{const t=Y({width:0,height:0});function n(r){t.value={width:r.offsetWidth,height:r.offsetHeight}}return[P(()=>{const r={};if(e.value){const{width:a,height:l}=t.value;e.value.indexOf("height")!==-1&&l?r.height=`${l}px`:e.value.indexOf("minHeight")!==-1&&l&&(r.minHeight=`${l}px`),e.value.indexOf("width")!==-1&&a?r.width=`${a}px`:e.value.indexOf("minWidth")!==-1&&a&&(r.minWidth=`${a}px`)}return r}),n]};function Z0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function J0(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function VE(e,t,n,o){var r=ot.clone(e),a={width:t.width,height:t.height};return o.adjustX&&r.left=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),o.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),o.adjustY&&r.top=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),o.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),ot.mix(r,a)}function kv(e){var t,n,o;if(!ot.isWindow(e)&&e.nodeType!==9)t=ot.offset(e),n=ot.outerWidth(e),o=ot.outerHeight(e);else{var r=ot.getWindow(e);t={left:ot.getWindowScrollLeft(r),top:ot.getWindowScrollTop(r)},n=ot.viewportWidth(r),o=ot.viewportHeight(r)}return t.width=n,t.height=o,t}function ib(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,a=e.height,l=e.left,i=e.top;return n==="c"?i+=a/2:n==="b"&&(i+=a),o==="c"?l+=r/2:o==="r"&&(l+=r),{left:l,top:i}}function _i(e,t,n,o,r){var a=ib(t,n[1]),l=ib(e,n[0]),i=[l.left-a.left,l.top-a.top];return{left:Math.round(e.left-i[0]+o[0]-r[0]),top:Math.round(e.top-i[1]+o[1]-r[1])}}function sb(e,t,n){return e.leftn.right}function cb(e,t,n){return e.topn.bottom}function WE(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||o.top>=n.bottom}function Bv(e,t,n){var o=n.target||t,r=kv(o),a=!GE(o,n.overflow&&n.overflow.alwaysByViewport);return W2(e,r,n,a)}Bv.__getOffsetParent=Df;Bv.__getVisibleRectForElement=Nv;function XE(e,t,n){var o,r,a=ot.getDocument(e),l=a.defaultView||a.parentWindow,i=ot.getWindowScrollLeft(l),s=ot.getWindowScrollTop(l),u=ot.viewportWidth(l),c=ot.viewportHeight(l);"pageX"in t?o=t.pageX:o=i+t.clientX,"pageY"in t?r=t.pageY:r=s+t.clientY;var d={left:o,top:r,width:0,height:0},p=o>=0&&o<=i+u&&r>=0&&r<=s+c,g=[n.points[0],"cc"];return W2(e,d,J0(J0({},n),{},{points:g}),p)}function ut(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=e;if(Array.isArray(e)&&(r=Tt(e)[0]),!r)return null;const a=ko(r,t,o);return a.props=n?v(v({},a.props),t):a.props,yt(typeof a.props.class!="object"),a}function UE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(o=>ut(o,t,n))}function Cl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Array.isArray(e))return e.map(r=>Cl(r,t,n,o));{if(!Zt(e))return e;const r=ut(e,t,n,o);return Array.isArray(r.children)&&(r.children=Cl(r.children)),r}}function YE(e,t,n){zr(ko(e,v({},t)),n)}const K2=e=>(e||[]).some(t=>Zt(t)?!(t.type===N$||t.type===nt&&!K2(t.children)):!0)?e:null;function Ic(e,t,n,o){var r;const a=(r=e[t])===null||r===void 0?void 0:r.call(e,n);return K2(a)?a:o==null?void 0:o()}const Tc=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function qE(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function QE(e,t){e!==document.activeElement&&er(t,e)&&typeof e.focus=="function"&&e.focus()}function fb(e,t){let n=null,o=null;function r(l){let[{target:i}]=l;if(!document.documentElement.contains(i))return;const{width:s,height:u}=i.getBoundingClientRect(),c=Math.floor(s),d=Math.floor(u);(n!==c||o!==d)&&Promise.resolve().then(()=>{t({width:c,height:d})}),n=c,o=d}const a=new mv(r);return e&&a.observe(e),()=>{a.disconnect()}}const ZE=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function a(l){if(!n||l===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,a()},t.value)}return[a,()=>{n=!1,r()}]},JE={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function pb(e){return typeof e!="function"?null:e()}function vb(e){return typeof e!="object"||!e?null:e}const e_=J({compatConfig:{MODE:3},name:"Align",props:JE,emits:["align"],setup(e,t){let{expose:n,slots:o}=t;const r=Z({}),a=Z(),[l,i]=ZE(()=>{const{disabled:p,target:g,align:m,onAlign:h}=e;if(!p&&g&&a.value){const b=a.value;let y;const S=pb(g),$=vb(g);r.value.element=S,r.value.point=$,r.value.align=m;const{activeElement:x}=document;return S&&Tc(S)?y=Bv(b,S,m):$&&(y=XE(b,$,m)),QE(x,b),h&&y&&h(b,y),!0}return!1},P(()=>e.monitorBufferTime)),s=Z({cancel:()=>{}}),u=Z({cancel:()=>{}}),c=()=>{const p=e.target,g=pb(p),m=vb(p);a.value!==u.value.element&&(u.value.cancel(),u.value.element=a.value,u.value.cancel=fb(a.value,l)),(r.value.element!==g||!qE(r.value.point,m)||!vv(r.value.align,e.align))&&(l(),s.value.element!==g&&(s.value.cancel(),s.value.element=g,s.value.cancel=fb(g,l)))};Ve(()=>{lt(()=>{c()})}),ao(()=>{lt(()=>{c()})}),ue(()=>e.disabled,p=>{p?i():l()},{immediate:!0,flush:"post"});const d=Z(null);return ue(()=>e.monitorWindowResize,p=>{p?d.value||(d.value=wt(window,"resize",l)):d.value&&(d.value.remove(),d.value=null)},{flush:"post"}),An(()=>{s.value.cancel(),u.value.cancel(),d.value&&d.value.remove(),i()}),n({forceAlign:()=>l(!0)}),()=>{const p=o==null?void 0:o.default();return p?ut(p[0],{ref:a},!0,!0):null}}});vn("bottomLeft","bottomRight","topLeft","topRight");const Fv=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",bo=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return v(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},Mc=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return v(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},en=(e,t,n)=>n!==void 0?n:`${e}-${t}`,t_=J({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:_v,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=Y(),l=Y(),i=Y(),[s,u]=SE(Be(e,"stretch")),c=()=>{e.stretch&&u(e.getRootDomNode())},d=Y(!1);let p;ue(()=>e.visible,O=>{clearTimeout(p),O?p=setTimeout(()=>{d.value=e.visible}):d.value=!1},{immediate:!0});const[g,m]=yE(d,c),h=Y(),b=()=>e.point?e.point:e.getRootDomNode,y=()=>{var O;(O=a.value)===null||O===void 0||O.forceAlign()},S=(O,w)=>{var M;const I=e.getClassNameFromAlign(w),_=i.value;i.value!==I&&(i.value=I),g.value==="align"&&(_!==I?Promise.resolve().then(()=>{y()}):m(()=>{var D;(D=h.value)===null||D===void 0||D.call(h)}),(M=e.onAlign)===null||M===void 0||M.call(e,O,w))},$=P(()=>{const O=typeof e.animation=="object"?e.animation:Dv(e);return["onAfterEnter","onAfterLeave"].forEach(w=>{const M=O[w];O[w]=I=>{m(),g.value="stable",M==null||M(I)}}),O}),x=()=>new Promise(O=>{h.value=O});ue([$,g],()=>{!$.value&&g.value==="motion"&&m()},{immediate:!0}),n({forceAlign:y,getElement:()=>l.value.$el||l.value});const C=P(()=>{var O;return!(!((O=e.align)===null||O===void 0)&&O.points&&(g.value==="align"||g.value==="stable"))});return()=>{var O;const{zIndex:w,align:M,prefixCls:I,destroyPopupOnHide:_,onMouseenter:D,onMouseleave:F,onTouchstart:z=()=>{},onMousedown:H}=e,T=g.value,A=[v(v({},s.value),{zIndex:w,opacity:T==="motion"||T==="stable"||!d.value?null:0,pointerEvents:!d.value&&T!=="stable"?"none":null}),o.style];let R=mt((O=r.default)===null||O===void 0?void 0:O.call(r,{visible:e.visible}));R.length>1&&(R=f("div",{class:`${I}-content`},[R]));const E=te(I,o.class,i.value),B=d.value||!e.visible?bo($.value.name,$.value):{};return f(rn,N(N({ref:l},B),{},{onBeforeEnter:x}),{default:()=>!_||e.visible?Kt(f(e_,{target:b(),key:"popup",ref:a,monitorWindowResize:!0,disabled:C.value,align:M,onAlign:S},{default:()=>f("div",{class:E,onMouseenter:D,onMouseleave:F,onMousedown:jm(H,["capture"]),[zt?"onTouchstartPassive":"onTouchstart"]:jm(z,["capture"]),style:A},[R])}),[[Wn,d.value]]):null})}}}),n_=J({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:hE,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=Y(!1),l=Y(!1),i=Y(),s=Y();return ue([()=>e.visible,()=>e.mobile],()=>{a.value=e.visible,e.visible&&e.mobile&&(l.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var u;(u=i.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=i.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=v(v(v({},e),n),{visible:a.value}),c=l.value?f(mE,N(N({},u),{},{mobile:e.mobile,ref:i}),{default:o.default}):f(t_,N(N({},u),{},{ref:i}),{default:o.default});return f("div",{ref:s},[f(k2,u,null),c])}}});function o_(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function gb(e,t,n){const o=e[t]||{};return v(v({},o),n)}function r_(e,t,n,o){const{points:r}=n,a=Object.keys(e);for(let l=0;l0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const o=this.getDerivedStateFromProps(WT(this),v(v({},this.$data),n));if(o===null)return;n=v(v({},n),o||{})}v(this.$data,n),this._.isMounted&&this.$forceUpdate(),lt(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let o=0,r=n.length;o1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};Ke(G2,{inTriggerContext:t.inTriggerContext,shouldRender:P(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:a}=e||{};let l=!1;return(n||o||r)&&(l=!0),!n&&a&&(l=!1),l})})},a_=()=>{Lv({},{inTriggerContext:!1});const e=Xe(G2,{shouldRender:P(()=>!1),inTriggerContext:!1});return{shouldRender:P(()=>e.shouldRender.value||e.inTriggerContext===!1)}},X2=J({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:V.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:a}=a_();function l(){a.value&&(r=e.getContainer())}Xp(()=>{o=!1,l()}),Ve(()=>{r||l()});const i=ue(a,()=>{a.value&&!r&&(r=e.getContainer()),r&&i()});return ao(()=>{lt(()=>{var s;a.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return a.value?o?(s=n.default)===null||s===void 0?void 0:s.call(n):r?f(Up,{to:r},n):null:null}}});let Uu;function As(e){if(typeof document>"u")return 0;if(e||Uu===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const r=t.offsetWidth;n.style.overflow="scroll";let a=t.offsetWidth;r===a&&(a=n.clientWidth),document.body.removeChild(n),Uu=r-a}return Uu}function hb(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?As():n}function l_(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:hb(t),height:hb(n)}}const i_=`vc-util-locker-${Date.now()}`;let mb=0;function s_(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function c_(e){const t=P(()=>!!e&&!!e.value);mb+=1;const n=`${i_}_${mb}`;Le(o=>{if(hn()){if(t.value){const r=As(),a=s_();jl(` +html body { + overflow-y: hidden; + ${a?`width: calc(100% - ${r}px);`:""} +}`,n)}else Is(n);o(()=>{Is(n)})}},{flush:"post"})}let hr=0;const os=hn(),bb=e=>{if(!os)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},zv=J({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:V.any,visible:{type:Boolean,default:void 0},autoLock:Ce(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=Y(),r=Y(),a=Y(),l=Y(1),i=hn()&&document.createElement("div"),s=()=>{var g,m;o.value===i&&((m=(g=o.value)===null||g===void 0?void 0:g.parentNode)===null||m===void 0||m.removeChild(o.value)),o.value=null};let u=null;const c=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||o.value&&!o.value.parentNode?(u=bb(e.getContainer),u?(u.appendChild(o.value),!0):!1):!0},d=()=>os?(o.value||(o.value=i,c(!0)),p(),o.value):null,p=()=>{const{wrapperClassName:g}=e;o.value&&g&&g!==o.value.className&&(o.value.className=g)};return ao(()=>{p(),c()}),c_(P(()=>e.autoLock&&e.visible&&hn()&&(o.value===document.body||o.value===i))),Ve(()=>{let g=!1;ue([()=>e.visible,()=>e.getContainer],(m,h)=>{let[b,y]=m,[S,$]=h;os&&(u=bb(e.getContainer),u===document.body&&(b&&!S?hr+=1:g&&(hr-=1))),g&&(typeof y=="function"&&typeof $=="function"?y.toString()!==$.toString():y!==$)&&s(),g=!0},{immediate:!0,flush:"post"}),lt(()=>{c()||(a.value=We(()=>{l.value+=1}))})}),Je(()=>{const{visible:g}=e;os&&u===document.body&&(hr=g&&hr?hr-1:hr),s(),We.cancel(a.value)}),()=>{const{forceRender:g,visible:m}=e;let h=null;const b={getOpenCount:()=>hr,getContainer:d};return l.value&&(g||m||r.value)&&(h=f(X2,{getContainer:d,ref:r,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,b)}})),h}}}),u_=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],ii=J({compatConfig:{MODE:3},name:"Trigger",mixins:[Jr],inheritAttrs:!1,props:vE(),setup(e){const t=P(()=>{const{popupPlacement:r,popupAlign:a,builtinPlacements:l}=e;return r&&l?gb(l,r,a):a}),n=Y(null),o=r=>{n.value=r};return{vcTriggerContext:Xe("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:Y(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,u_.forEach(n=>{this[`fire${n}`]=o=>{this.fireEvents(n,o)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){Ke("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),Lv(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),We.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=wt(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=wt(n,"touchstart",this.onDocumentClick,zt?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=wt(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=wt(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&er((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){er(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),o=this.getPopupDomNode();(!er(n,t)||this.isContextMenuOnly())&&!er(o,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,o;const{getTriggerDOMNode:r}=this.$props;if(r){const a=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Pn(this.triggerRef);return Pn(r(a))}try{const a=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Pn(this.triggerRef);if(a)return a}catch{}return Pn(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:a,alignPoint:l,getPopupClassNameFromAlign:i}=n;return o&&r&&t.push(r_(r,a,e,l)),i&&t.push(i(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?gb(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[zt?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:a,popupClassName:l,popupAnimation:i,popupTransitionName:s,popupStyle:u,mask:c,maskAnimation:d,maskTransitionName:p,zIndex:g,stretch:m,alignPoint:h,mobile:b,forceRender:y}=this.$props,{sPopupVisible:S,point:$}=this.$data,x=v(v({prefixCls:r,destroyPopupOnHide:a,visible:S,point:h?$:null,align:this.align,animation:i,getClassNameFromAlign:t,stretch:m,getRootDomNode:n,mask:c,zIndex:g,transitionName:s,maskAnimation:d,maskTransitionName:p,class:l,style:u,onAlign:o.onPopupAlign||N2},e),{ref:this.setPopupRef,mobile:b,forceRender:y});return f(n_,x,{default:this.$slots.popup||(()=>RC(this,"popup"))})},attachParent(e){We.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,o=this.getRootDomNode();let r;t?(o||t.length===0)&&(r=t(o)):r=n(this.getRootDomNode()).body,r?r.appendChild(e):this.attachId=We(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:o,onPopupVisibleChange:r}=this;this.clearDelayTimer(),o!==e&&(_o(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:o}),r&&r(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const o=t*1e3;if(this.clearDelayTimer(),o){const r=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,r),this.clearDelayTimer()},o)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=C0(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=Tt(bc(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=C0(r);const a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[zt?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[zt?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,n&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=u=>{u&&(!u.relatedTarget||!er(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const l=te(r&&r.props&&r.props.class,e.class);l&&(a.class=l);const i=ut(r,v(v({},a),{ref:"triggerRef"}),!0,!0),s=f(zv,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return f(nt,null,[i,s])}});var d_=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},p_=J({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:V.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:V.oneOfType([Number,Boolean]).def(!0),popupElement:V.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=P(()=>{const{dropdownMatchSelectWidth:i}=e;return f_(i)}),l=Z();return r({getPopupElement:()=>l.value}),()=>{const i=v(v({},e),o),{empty:s=!1}=i,u=d_(i,["empty"]),{visible:c,dropdownAlign:d,prefixCls:p,popupElement:g,dropdownClassName:m,dropdownStyle:h,direction:b="ltr",placement:y,dropdownMatchSelectWidth:S,containerWidth:$,dropdownRender:x,animation:C,transitionName:O,getPopupContainer:w,getTriggerDOMNode:M,onPopupVisibleChange:I,onPopupMouseEnter:_,onPopupFocusin:D,onPopupFocusout:F}=u,z=`${p}-dropdown`;let H=g;x&&(H=x({menuNode:g,props:e}));const T=C?`${z}-${C}`:O,A=v({minWidth:`${$}px`},h);return typeof S=="number"?A.width=`${S}px`:S&&(A.width=`${$}px`),f(ii,N(N({},e),{},{showAction:I?["click"]:[],hideAction:I?["click"]:[],popupPlacement:y||(b==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:a.value,prefixCls:z,popupTransitionName:T,popupAlign:d,popupVisible:c,getPopupContainer:w,popupClassName:te(m,{[`${z}-empty`]:s}),popupStyle:A,getTriggerDOMNode:M,onPopupVisibleChange:I}),{default:n.default,popup:()=>f("div",{ref:l,onMouseenter:_,onFocusin:D,onFocusout:F},[H])})}}}),v_=p_,Ze={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Ze.F1&&n<=Ze.F12)return!1;switch(n){case Ze.ALT:case Ze.CAPS_LOCK:case Ze.CONTEXT_MENU:case Ze.CTRL:case Ze.DOWN:case Ze.END:case Ze.ESC:case Ze.HOME:case Ze.INSERT:case Ze.LEFT:case Ze.MAC_FF_META:case Ze.META:case Ze.NUMLOCK:case Ze.NUM_CENTER:case Ze.PAGE_DOWN:case Ze.PAGE_UP:case Ze.PAUSE:case Ze.PRINT_SCREEN:case Ze.RIGHT:case Ze.SHIFT:case Ze.UP:case Ze.WIN_KEY:case Ze.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Ze.ZERO&&t<=Ze.NINE||t>=Ze.NUM_ZERO&&t<=Ze.NUM_MULTIPLY||t>=Ze.A&&t<=Ze.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Ze.SPACE:case Ze.QUESTION_MARK:case Ze.NUM_PLUS:case Ze.NUM_MINUS:case Ze.NUM_PERIOD:case Ze.NUM_DIVISION:case Ze.SEMICOLON:case Ze.DASH:case Ze.EQUALS:case Ze.COMMA:case Ze.PERIOD:case Ze.SLASH:case Ze.APOSTROPHE:case Ze.SINGLE_QUOTE:case Ze.OPEN_SQUARE_BRACKET:case Ze.BACKSLASH:case Ze.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},$e=Ze,Ec=(e,t)=>{let{slots:n}=t;var o;const{class:r,customizeIcon:a,customizeIconProps:l,onMousedown:i,onClick:s}=e;let u;return typeof a=="function"?u=a(l):u=a,f("span",{class:r,onMousedown:c=>{c.preventDefault(),i&&i(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[u!==void 0?u:f("span",{class:r.split(/\s+/).map(c=>`${c}-icon`)},[(o=n.default)===null||o===void 0?void 0:o.call(n)])])};Ec.inheritAttrs=!1;Ec.displayName="TransBtn";Ec.props={class:String,customizeIcon:V.any,customizeIconProps:V.any,onMousedown:Function,onClick:Function};const Rs=Ec;function g_(e){e.target.composing=!0}function yb(e){e.target.composing&&(e.target.composing=!1,h_(e.target,"input"))}function h_(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yu(e,t,n,o){e.addEventListener(t,n,o)}const m_={created(e,t){(!t.modifiers||!t.modifiers.lazy)&&(Yu(e,"compositionstart",g_),Yu(e,"compositionend",yb),Yu(e,"change",yb))}},si=m_,b_={inputRef:V.any,prefixCls:String,id:String,inputElement:V.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:V.oneOfType([V.number,V.string]),attrs:V.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},y_=J({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:b_,setup(e){let t=null;const n=Xe("VCSelectContainerEvent");return()=>{var o;const{prefixCls:r,id:a,inputElement:l,disabled:i,tabindex:s,autofocus:u,autocomplete:c,editable:d,activeDescendantId:p,value:g,onKeydown:m,onMousedown:h,onChange:b,onPaste:y,onCompositionstart:S,onCompositionend:$,onFocus:x,onBlur:C,open:O,inputRef:w,attrs:M}=e;let I=l||Kt(f("input",null,null),[[si]]);const _=I.props||{},{onKeydown:D,onInput:F,onFocus:z,onBlur:H,onMousedown:T,onCompositionstart:A,onCompositionend:R,style:E}=_;return I=ut(I,v(v(v(v(v({type:"search"},_),{id:a,ref:w,disabled:i,tabindex:s,autocomplete:c||"off",autofocus:u,class:te(`${r}-selection-search-input`,(o=I==null?void 0:I.props)===null||o===void 0?void 0:o.class),role:"combobox","aria-expanded":O,"aria-haspopup":"listbox","aria-owns":`${a}_list`,"aria-autocomplete":"list","aria-controls":`${a}_list`,"aria-activedescendant":p}),M),{value:d?g:"",readonly:!d,unselectable:d?null:"on",style:v(v({},E),{opacity:d?null:0}),onKeydown:k=>{m(k),D&&D(k)},onMousedown:k=>{h(k),T&&T(k)},onInput:k=>{b(k),F&&F(k)},onCompositionstart(k){S(k),A&&A(k)},onCompositionend(k){$(k),R&&R(k)},onPaste:y,onFocus:function(){clearTimeout(t),z&&z(arguments.length<=0?void 0:arguments[0]),x&&x(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var k=arguments.length,B=new Array(k),L=0;L{H&&H(B[0]),C&&C(B[0]),n==null||n.blur(B[0])},100)}}),I.type==="textarea"?{}:{type:"search"}),!0,!0),I}}}),U2=y_,S_=`accept acceptcharset accesskey action allowfullscreen allowtransparency +alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge +charset checked classid classname colspan cols content contenteditable contextmenu +controls coords crossorigin data datetime default defer dir disabled download draggable +enctype form formaction formenctype formmethod formnovalidate formtarget frameborder +headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity +is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media +mediagroup method min minlength multiple muted name novalidate nonce open +optimum pattern placeholder poster preload radiogroup readonly rel required +reversed role rowspan rows sandbox scope scoped scrolling seamless selected +shape size sizes span spellcheck src srcdoc srclang srcset start step style +summary tabindex target title type usemap value width wmode wrap`,$_=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown + onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick + onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown + onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel + onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough + onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata + onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,Sb=`${S_} ${$_}`.split(/[\s\n]+/),C_="aria-",x_="data-";function $b(e,t){return e.indexOf(t)===0}function dr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=v({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||$b(r,C_))||n.data&&$b(r,x_)||n.attr&&(Sb.includes(r)||Sb.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const Y2=Symbol("OverflowContextProviderKey"),Af=J({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return Ke(Y2,P(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),w_=()=>Xe(Y2,P(()=>null));var O_=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.responsive&&!e.display),a=Z();o({itemNodeRef:a});function l(i){e.registerSize(e.itemKey,i)}return An(()=>{l(null)}),()=>{var i;const{prefixCls:s,invalidate:u,item:c,renderItem:d,responsive:p,registerSize:g,itemKey:m,display:h,order:b,component:y="div"}=e,S=O_(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),$=(i=n.default)===null||i===void 0?void 0:i.call(n),x=d&&c!==oa?d(c):$;let C;u||(C={opacity:r.value?0:1,height:r.value?0:oa,overflowY:r.value?"hidden":oa,order:p?b:oa,pointerEvents:r.value?"none":oa,position:r.value?"absolute":oa});const O={};return r.value&&(O["aria-hidden"]=!0),f(ho,{disabled:!p,onResize:w=>{let{offsetWidth:M}=w;l(M)}},{default:()=>f(y,N(N(N({class:te(!u&&s),style:C},O),S),{},{ref:a}),{default:()=>[x]})})}}});var qu=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var a;if(!r.value){const{component:d="div"}=e,p=qu(e,["component"]);return f(d,N(N({},p),o),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}const l=r.value,{className:i}=l,s=qu(l,["className"]),{class:u}=o,c=qu(o,["class"]);return f(Af,{value:null},{default:()=>[f(rs,N(N(N({class:te(i,u)},s),c),e),n)]})}}});var I_=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:V.any,component:String,itemComponent:V.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),_c=J({name:"Overflow",inheritAttrs:!1,props:M_(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const a=P(()=>e.ssr==="full"),l=Y(null),i=P(()=>l.value||0),s=Y(new Map),u=Y(0),c=Y(0),d=Y(0),p=Y(null),g=Y(null),m=P(()=>g.value===null&&a.value?Number.MAX_SAFE_INTEGER:g.value||0),h=Y(!1),b=P(()=>`${e.prefixCls}-item`),y=P(()=>Math.max(u.value,c.value)),S=P(()=>!!(e.data.length&&e.maxCount===q2)),$=P(()=>e.maxCount===Q2),x=P(()=>S.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),C=P(()=>{let T=e.data;return S.value?l.value===null&&a.value?T=e.data:T=e.data.slice(0,Math.min(e.data.length,i.value/e.itemWidth)):typeof e.maxCount=="number"&&(T=e.data.slice(0,e.maxCount)),T}),O=P(()=>S.value?e.data.slice(m.value+1):e.data.slice(C.value.length)),w=(T,A)=>{var R;return typeof e.itemKey=="function"?e.itemKey(T):(R=e.itemKey&&(T==null?void 0:T[e.itemKey]))!==null&&R!==void 0?R:A},M=P(()=>e.renderItem||(T=>T)),I=(T,A)=>{g.value=T,A||(h.value=T{l.value=A.clientWidth},D=(T,A)=>{const R=new Map(s.value);A===null?R.delete(T):R.set(T,A),s.value=R},F=(T,A)=>{u.value=c.value,c.value=A},z=(T,A)=>{d.value=A},H=T=>s.value.get(w(C.value[T],T));return ue([i,s,c,d,()=>e.itemKey,C],()=>{if(i.value&&y.value&&C.value){let T=d.value;const A=C.value.length,R=A-1;if(!A){I(0),p.value=null;return}for(let E=0;Ei.value){I(E-1),p.value=T-k-d.value+c.value;break}}e.suffix&&H(0)+d.value>i.value&&(p.value=null)}}),()=>{const T=h.value&&!!O.value.length,{itemComponent:A,renderRawItem:R,renderRawRest:E,renderRest:k,prefixCls:B="rc-overflow",suffix:L,component:j="div",id:K,onMousedown:G}=e,{class:U,style:X}=n,ee=I_(n,["class","style"]);let oe={};p.value!==null&&S.value&&(oe={position:"absolute",left:`${p.value}px`,top:0});const Q={prefixCls:b.value,responsive:S.value,component:A,invalidate:$.value},W=R?(ye,me)=>{const ce=w(ye,me);return f(Af,{key:ce,value:v(v({},Q),{order:me,item:ye,itemKey:ce,registerSize:D,display:me<=m.value})},{default:()=>[R(ye,me)]})}:(ye,me)=>{const ce=w(ye,me);return f(rs,N(N({},Q),{},{order:me,key:ce,item:ye,renderItem:M.value,itemKey:ce,registerSize:D,display:me<=m.value}),null)};let q=()=>null;const re={order:T?m.value:Number.MAX_SAFE_INTEGER,className:`${b.value} ${b.value}-rest`,registerSize:F,display:T};if(E)E&&(q=()=>f(Af,{value:v(v({},Q),re)},{default:()=>[E(O.value)]}));else{const ye=k||T_;q=()=>f(rs,N(N({},Q),re),{default:()=>typeof ye=="function"?ye(O.value):ye})}const le=()=>{var ye;return f(j,N({id:K,class:te(!$.value&&B,U),style:X,onMousedown:G},ee),{default:()=>[C.value.map(W),x.value?q():null,L&&f(rs,N(N({},Q),{},{order:m.value,class:`${b.value}-suffix`,registerSize:z,display:!0,style:oe}),{default:()=>L}),(ye=r.default)===null||ye===void 0?void 0:ye.call(r)]})};return f(ho,{disabled:!S.value,onResize:_},{default:le})}}});_c.Item=P_;_c.RESPONSIVE=q2;_c.INVALIDATE=Q2;const xa=_c,Z2=Symbol("TreeSelectLegacyContextPropsKey");function E_(e){return Ke(Z2,e)}function Dc(){return Xe(Z2,{})}const __={id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),removeIcon:V.any,choiceTransitionName:String,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},Cb=e=>{e.preventDefault(),e.stopPropagation()},D_=J({name:"MultipleSelectSelector",inheritAttrs:!1,props:__,setup(e){const t=Y(),n=Y(0),o=Y(!1),r=Dc(),a=P(()=>`${e.prefixCls}-selection`),l=P(()=>e.open||e.mode==="tags"?e.searchValue:""),i=P(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value));Ve(()=>{ue(l,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function s(p,g,m,h,b){return f("span",{class:te(`${a.value}-item`,{[`${a.value}-item-disabled`]:m}),title:typeof p=="string"||typeof p=="number"?p.toString():void 0},[f("span",{class:`${a.value}-item-content`},[g]),h&&f(Rs,{class:`${a.value}-item-remove`,onMousedown:Cb,onClick:b,customizeIcon:e.removeIcon},{default:()=>[go("×")]})])}function u(p,g,m,h,b,y){var S;const $=C=>{Cb(C),e.onToggleOpen(!open)};let x=y;return r.keyEntities&&(x=((S=r.keyEntities[p])===null||S===void 0?void 0:S.node)||{}),f("span",{key:p,onMousedown:$},[e.tagRender({label:g,value:p,disabled:m,closable:h,onClose:b,option:x})])}function c(p){const{disabled:g,label:m,value:h,option:b}=p,y=!e.disabled&&!g;let S=m;if(typeof e.maxTagTextLength=="number"&&(typeof m=="string"||typeof m=="number")){const x=String(S);x.length>e.maxTagTextLength&&(S=`${x.slice(0,e.maxTagTextLength)}...`)}const $=x=>{var C;x&&x.stopPropagation(),(C=e.onRemove)===null||C===void 0||C.call(e,p)};return typeof e.tagRender=="function"?u(h,S,g,y,$,b):s(m,S,g,y,$)}function d(p){const{maxTagPlaceholder:g=h=>`+ ${h.length} ...`}=e,m=typeof g=="function"?g(p):g;return s(m,m,!1)}return()=>{const{id:p,prefixCls:g,values:m,open:h,inputRef:b,placeholder:y,disabled:S,autofocus:$,autocomplete:x,activeDescendantId:C,tabindex:O,onInputChange:w,onInputPaste:M,onInputKeyDown:I,onInputMouseDown:_,onInputCompositionStart:D,onInputCompositionEnd:F}=e,z=f("div",{class:`${a.value}-search`,style:{width:n.value+"px"},key:"input"},[f(U2,{inputRef:b,open:h,prefixCls:g,id:p,inputElement:null,disabled:S,autofocus:$,autocomplete:x,editable:i.value,activeDescendantId:C,value:l.value,onKeydown:I,onMousedown:_,onChange:w,onPaste:M,onCompositionstart:D,onCompositionend:F,tabindex:O,attrs:dr(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),f("span",{ref:t,class:`${a.value}-search-mirror`,"aria-hidden":!0},[l.value,go(" ")])]),H=f(xa,{prefixCls:`${a.value}-overflow`,data:m,renderItem:c,renderRest:d,suffix:z,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return f(nt,null,[H,!m.length&&!l.value&&f("span",{class:`${a.value}-placeholder`},[y])])}}}),A_=D_,R_={inputElement:V.any,id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},Hv=J({name:"SingleSelector",setup(e){const t=Y(!1),n=P(()=>e.mode==="combobox"),o=P(()=>n.value||e.showSearch),r=P(()=>{let u=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(u=e.activeValue),u}),a=Dc();ue([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const l=P(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value),i=P(()=>{const u=e.values[0];return u&&(typeof u.label=="string"||typeof u.label=="number")?u.label.toString():void 0}),s=()=>{if(e.values[0])return null;const u=l.value?{visibility:"hidden"}:void 0;return f("span",{class:`${e.prefixCls}-selection-placeholder`,style:u},[e.placeholder])};return()=>{var u,c,d,p;const{inputElement:g,prefixCls:m,id:h,values:b,inputRef:y,disabled:S,autofocus:$,autocomplete:x,activeDescendantId:C,open:O,tabindex:w,optionLabelRender:M,onInputKeyDown:I,onInputMouseDown:_,onInputChange:D,onInputPaste:F,onInputCompositionStart:z,onInputCompositionEnd:H}=e,T=b[0];let A=null;if(T&&a.customSlots){const R=(u=T.key)!==null&&u!==void 0?u:T.value,E=((c=a.keyEntities[R])===null||c===void 0?void 0:c.node)||{};A=a.customSlots[(d=E.slots)===null||d===void 0?void 0:d.title]||a.customSlots.title||T.label,typeof A=="function"&&(A=A(E))}else A=M&&T?M(T.option):T==null?void 0:T.label;return f(nt,null,[f("span",{class:`${m}-selection-search`},[f(U2,{inputRef:y,prefixCls:m,id:h,open:O,inputElement:g,disabled:S,autofocus:$,autocomplete:x,editable:o.value,activeDescendantId:C,value:r.value,onKeydown:I,onMousedown:_,onChange:R=>{t.value=!0,D(R)},onPaste:F,onCompositionstart:z,onCompositionend:H,tabindex:w,attrs:dr(e,!0)},null)]),!n.value&&T&&!l.value&&f("span",{class:`${m}-selection-item`,title:i.value},[f(nt,{key:(p=T.key)!==null&&p!==void 0?p:T.value},[A])]),s()])}}});Hv.props=R_;Hv.inheritAttrs=!1;const N_=Hv;function k_(e){return![$e.ESC,$e.SHIFT,$e.BACKSPACE,$e.TAB,$e.WIN_KEY,$e.ALT,$e.META,$e.WIN_KEY_RIGHT,$e.CTRL,$e.SEMICOLON,$e.EQUALS,$e.CAPS_LOCK,$e.CONTEXT_MENU,$e.F1,$e.F2,$e.F3,$e.F4,$e.F5,$e.F6,$e.F7,$e.F8,$e.F9,$e.F10,$e.F11,$e.F12].includes(e)}function J2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;Je(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function Ul(){const e=t=>{e.current=t};return e}const B_=J({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:V.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:V.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),disabled:{type:Boolean,default:void 0},placeholder:V.any,removeIcon:V.any,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=Ul();let r=!1;const[a,l]=J2(0),i=y=>{const{which:S}=y;(S===$e.UP||S===$e.DOWN)&&y.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(y),S===$e.ENTER&&e.mode==="tags"&&!r&&!e.open&&e.onSearchSubmit(y.target.value),k_(S)&&e.onToggleOpen(!0)},s=()=>{l(!0)};let u=null;const c=y=>{e.onSearch(y,!0,r)!==!1&&e.onToggleOpen(!0)},d=()=>{r=!0},p=y=>{r=!1,e.mode!=="combobox"&&c(y.target.value)},g=y=>{let{target:{value:S}}=y;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const $=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");S=S.replace($,u)}u=null,c(S)},m=y=>{const{clipboardData:S}=y;u=S.getData("text")},h=y=>{let{target:S}=y;S!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},b=y=>{const S=a();y.target!==o.current&&!S&&y.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!S)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:y,domRef:S,mode:$}=e,x={inputRef:o,onInputKeyDown:i,onInputMouseDown:s,onInputChange:g,onInputPaste:m,onInputCompositionStart:d,onInputCompositionEnd:p},C=$==="multiple"||$==="tags"?f(A_,N(N({},e),x),null):f(N_,N(N({},e),x),null);return f("div",{ref:S,class:`${y}-selector`,onClick:h,onMousedown:b},[C])}}}),F_=B_;function L_(e,t,n){function o(r){var a,l,i;let s=r.target;s.shadowRoot&&r.composed&&(s=r.composedPath()[0]||s);const u=[(a=e[0])===null||a===void 0?void 0:a.value,(i=(l=e[1])===null||l===void 0?void 0:l.value)===null||i===void 0?void 0:i.getPopupElement()];t.value&&u.every(c=>c&&!c.contains(s)&&c!==s)&&n(!1)}Ve(()=>{window.addEventListener("mousedown",o)}),Je(()=>{window.removeEventListener("mousedown",o)})}function z_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=Y(!1);let n;const o=()=>{clearTimeout(n)};return Ve(()=>{o()}),[t,(a,l)=>{o(),n=setTimeout(()=>{t.value=a,l&&l()},e)},o]}const ex=Symbol("BaseSelectContextKey");function H_(e){return Ke(ex,e)}function ci(){return Xe(ex,{})}const jv=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function Ns(e){if(!B$(e))return vt(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return vt(t)}var j_=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:V.any,emptyOptions:Boolean}),Ac=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:V.any,placeholder:V.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:V.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:V.any,clearIcon:V.any,removeIcon:V.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),K_=()=>v(v({},W_()),Ac());function tx(e){return e==="tags"||e==="multiple"}const Vv=J({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:rt(K_(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=P(()=>tx(e.mode)),l=P(()=>e.showSearch!==void 0?e.showSearch:a.value||e.mode==="combobox"),i=Y(!1);Ve(()=>{i.value=jv()});const s=Dc(),u=Y(null),c=Ul(),d=Y(null),p=Y(null),g=Y(null),m=Z(!1),[h,b,y]=z_();o({focus:()=>{var W;(W=p.value)===null||W===void 0||W.focus()},blur:()=>{var W;(W=p.value)===null||W===void 0||W.blur()},scrollTo:W=>{var q;return(q=g.value)===null||q===void 0?void 0:q.scrollTo(W)}});const x=P(()=>{var W;if(e.mode!=="combobox")return e.searchValue;const q=(W=e.displayValues[0])===null||W===void 0?void 0:W.value;return typeof q=="string"||typeof q=="number"?String(q):""}),C=e.open!==void 0?e.open:e.defaultOpen,O=Y(C),w=Y(C),M=W=>{O.value=e.open!==void 0?e.open:W,w.value=O.value};ue(()=>e.open,()=>{M(e.open)});const I=P(()=>!e.notFoundContent&&e.emptyOptions);Le(()=>{w.value=O.value,(e.disabled||I.value&&w.value&&e.mode==="combobox")&&(w.value=!1)});const _=P(()=>I.value?!1:w.value),D=W=>{const q=W!==void 0?W:!w.value;w.value!==q&&!e.disabled&&(M(q),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(q))},F=P(()=>(e.tokenSeparators||[]).some(W=>[` +`,`\r +`].includes(W))),z=(W,q,re)=>{var le,ye;let me=!0,ce=W;(le=e.onActiveValueChange)===null||le===void 0||le.call(e,null);const se=re?null:dE(W,e.tokenSeparators);return e.mode!=="combobox"&&se&&(ce="",(ye=e.onSearchSplit)===null||ye===void 0||ye.call(e,se),D(!1),me=!1),e.onSearch&&x.value!==ce&&e.onSearch(ce,{source:q?"typing":"effect"}),me},H=W=>{var q;!W||!W.trim()||(q=e.onSearch)===null||q===void 0||q.call(e,W,{source:"submit"})};ue(w,()=>{!w.value&&!a.value&&e.mode!=="combobox"&&z("",!1,!1)},{immediate:!0,flush:"post"}),ue(()=>e.disabled,()=>{O.value&&e.disabled&&M(!1),e.disabled&&!m.value&&b(!1)},{immediate:!0});const[T,A]=J2(),R=function(W){var q;const re=T(),{which:le}=W;if(le===$e.ENTER&&(e.mode!=="combobox"&&W.preventDefault(),w.value||D(!0)),A(!!x.value),le===$e.BACKSPACE&&!re&&a.value&&!x.value&&e.displayValues.length){const se=[...e.displayValues];let ie=null;for(let fe=se.length-1;fe>=0;fe-=1){const Se=se[fe];if(!Se.disabled){se.splice(fe,1),ie=Se;break}}ie&&e.onDisplayValuesChange(se,{type:"remove",values:[ie]})}for(var ye=arguments.length,me=new Array(ye>1?ye-1:0),ce=1;ce1?q-1:0),le=1;le{const q=e.displayValues.filter(re=>re!==W);e.onDisplayValuesChange(q,{type:"remove",values:[W]})},B=Y(!1),L=function(){b(!0),e.disabled||(e.onFocus&&!B.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&D(!0)),B.value=!0},j=Z(!1),K=function(){if(j.value||(m.value=!0,b(!1,()=>{B.value=!1,m.value=!1,D(!1)}),e.disabled))return;const W=x.value;W&&(e.mode==="tags"?e.onSearch(W,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},G=()=>{j.value=!0},U=()=>{j.value=!1};Ke("VCSelectContainerEvent",{focus:L,blur:K});const X=[];Ve(()=>{X.forEach(W=>clearTimeout(W)),X.splice(0,X.length)}),Je(()=>{X.forEach(W=>clearTimeout(W)),X.splice(0,X.length)});const ee=function(W){var q,re;const{target:le}=W,ye=(q=d.value)===null||q===void 0?void 0:q.getPopupElement();if(ye&&ye.contains(le)){const ie=setTimeout(()=>{var fe;const Se=X.indexOf(ie);Se!==-1&&X.splice(Se,1),y(),!i.value&&!ye.contains(document.activeElement)&&((fe=p.value)===null||fe===void 0||fe.focus())});X.push(ie)}for(var me=arguments.length,ce=new Array(me>1?me-1:0),se=1;se{};return Ve(()=>{ue(_,()=>{var W;if(_.value){const q=Math.ceil((W=u.value)===null||W===void 0?void 0:W.offsetWidth);oe.value!==q&&!Number.isNaN(q)&&(oe.value=q)}},{immediate:!0,flush:"post"})}),L_([u,d],_,D),H_(Ns(v(v({},Rr(e)),{open:w,triggerOpen:_,showSearch:l,multiple:a,toggleOpen:D}))),()=>{const W=v(v({},e),n),{prefixCls:q,id:re,open:le,defaultOpen:ye,mode:me,showSearch:ce,searchValue:se,onSearch:ie,allowClear:fe,clearIcon:Se,showArrow:Ie,inputIcon:ge,disabled:Oe,loading:we,getInputElement:ae,getPopupContainer:ne,placement:pe,animation:xe,transitionName:Te,dropdownStyle:ke,dropdownClassName:ve,dropdownMatchSelectWidth:he,dropdownRender:be,dropdownAlign:Me,showAction:Ae,direction:_e,tokenSeparators:Re,tagRender:Ye,optionLabelRender:tt,onPopupScroll:at,onDropdownVisibleChange:it,onFocus:ct,onBlur:Et,onKeyup:Dt,onKeydown:Bt,onMousedown:Pt,onClear:Qt,omitDomProps:sn,getRawInputElement:Rn,displayValues:Yn,onDisplayValuesChange:cn,emptyOptions:vr,activeDescendantId:Pe,activeValue:He,OptionList:Fe}=W,gt=j_(W,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),At=me==="combobox"&&ae&&ae()||null,It=typeof Rn=="function"&&Rn(),un=v({},gt);let Gt;It&&(Gt=Qn=>{D(Qn)}),V_.forEach(Qn=>{delete un[Qn]}),sn==null||sn.forEach(Qn=>{delete un[Qn]});const so=Ie!==void 0?Ie:we||!a.value&&me!=="combobox";let yn;so&&(yn=f(Rs,{class:te(`${q}-arrow`,{[`${q}-arrow-loading`]:we}),customizeIcon:ge,customizeIconProps:{loading:we,searchValue:x.value,open:w.value,focused:h.value,showSearch:l.value}},null));let Nn;const St=()=>{Qt==null||Qt(),cn([],{type:"clear",values:Yn}),z("",!1,!1)};!Oe&&fe&&(Yn.length||x.value)&&(Nn=f(Rs,{class:`${q}-clear`,onMousedown:St,customizeIcon:Se},{default:()=>[go("×")]}));const qn=f(Fe,{ref:g},v(v({},s.customSlots),{option:r.option})),kn=te(q,n.class,{[`${q}-focused`]:h.value,[`${q}-multiple`]:a.value,[`${q}-single`]:!a.value,[`${q}-allow-clear`]:fe,[`${q}-show-arrow`]:so,[`${q}-disabled`]:Oe,[`${q}-loading`]:we,[`${q}-open`]:w.value,[`${q}-customize-input`]:At,[`${q}-show-search`]:l.value}),Xo=f(v_,{ref:d,disabled:Oe,prefixCls:q,visible:_.value,popupElement:qn,containerWidth:oe.value,animation:xe,transitionName:Te,dropdownStyle:ke,dropdownClassName:ve,direction:_e,dropdownMatchSelectWidth:he,dropdownRender:be,dropdownAlign:Me,placement:pe,getPopupContainer:ne,empty:vr,getTriggerDOMNode:()=>c.current,onPopupVisibleChange:Gt,onPopupMouseEnter:Q,onPopupFocusin:G,onPopupFocusout:U},{default:()=>It?kt(It)&&ut(It,{ref:c},!1,!0):f(F_,N(N({},e),{},{domRef:c,prefixCls:q,inputElement:At,ref:p,id:re,showSearch:l.value,mode:me,activeDescendantId:Pe,tagRender:Ye,optionLabelRender:tt,values:Yn,open:w.value,onToggleOpen:D,activeValue:He,searchValue:x.value,onSearch:z,onSearchSubmit:H,onRemove:k,tokenWithEnter:F.value}),null)});let Uo;return It?Uo=Xo:Uo=f("div",N(N({},un),{},{class:kn,ref:u,onMousedown:ee,onKeydown:R,onKeyup:E}),[h.value&&!w.value&&f("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Yn.map(Qn=>{let{label:na,value:Zn}=Qn;return["number","string"].includes(typeof na)?na:Zn}).join(", ")}`]),Xo,yn,Nn]),Uo}}}),Rc=(e,t)=>{let{height:n,offset:o,prefixCls:r,onInnerResize:a}=e,{slots:l}=t;var i;let s={},u={display:"flex",flexDirection:"column"};return o!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=v(v({},u),{transform:`translateY(${o}px)`,position:"absolute",left:0,right:0,top:0})),f("div",{style:s},[f(ho,{onResize:c=>{let{offsetHeight:d}=c;d&&a&&a()}},{default:()=>[f("div",{style:u,class:te({[`${r}-holder-inner`]:r})},[(i=l.default)===null||i===void 0?void 0:i.call(l)])]})])};Rc.displayName="Filter";Rc.inheritAttrs=!1;Rc.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const G_=Rc,nx=(e,t)=>{let{setRef:n}=e,{slots:o}=t;var r;const a=mt((r=o.default)===null||r===void 0?void 0:r.call(o));return a&&a.length?ko(a[0],{ref:n}):a};nx.props={setRef:{type:Function,default:()=>{}}};const X_=nx,U_=20;function xb(e){return"touches"in e?e.touches[0].pageY:e.pageY}const Y_=J({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:Ul(),thumbRef:Ul(),visibleTimeout:null,state:vt({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,zt?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,zt?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,zt?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,zt?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,zt?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,zt?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),We.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;v(this.state,{dragging:!0,pageY:xb(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:o}=this.state,{onScroll:r}=this.$props;if(We.cancel(this.moveRaf),t){const a=xb(e)-n,l=o+a,i=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?l/s:0,c=Math.ceil(u*i);this.moveRaf=We(()=>{r(c)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,U_),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,o=this.getSpinHeight()+"px",r=this.getTop()+"px",a=this.showScroll(),l=a&&t;return f("div",{ref:this.scrollbarRef,class:te(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:a}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:l?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[f("div",{ref:this.thumbRef,class:te(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:o,top:r,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function q_(e,t,n,o){const r=new Map,a=new Map,l=Z(Symbol("update"));ue(e,()=>{l.value=Symbol("update")});let i;function s(){We.cancel(i)}function u(){s(),i=We(()=>{r.forEach((d,p)=>{if(d&&d.offsetParent){const{offsetHeight:g}=d;a.get(p)!==g&&(l.value=Symbol("update"),a.set(p,d.offsetHeight))}})})}function c(d,p){const g=t(d),m=r.get(g);p?(r.set(g,p.$el||p),u()):r.delete(g),!m!=!p&&(p?n==null||n(d):o==null||o(d))}return An(()=>{s()}),[c,u,a,l]}function Q_(e,t,n,o,r,a,l,i){let s;return u=>{if(u==null){i();return}We.cancel(s);const c=t.value,d=o.itemHeight;if(typeof u=="number")l(u);else if(u&&typeof u=="object"){let p;const{align:g}=u;"index"in u?{index:p}=u:p=c.findIndex(b=>r(b)===u.key);const{offset:m=0}=u,h=(b,y)=>{if(b<0||!e.value)return;const S=e.value.clientHeight;let $=!1,x=y;if(S){const C=y||g;let O=0,w=0,M=0;const I=Math.min(c.length,p);for(let F=0;F<=I;F+=1){const z=r(c[F]);w=O;const H=n.get(z);M=w+(H===void 0?d:H),O=M,F===p&&H===void 0&&($=!0)}const _=e.value.scrollTop;let D=null;switch(C){case"top":D=w-m;break;case"bottom":D=M-S+m;break;default:{const F=_+S;w<_?x="top":M>F&&(x="bottom")}}D!==null&&D!==_&&l(D)}s=We(()=>{$&&a(),h(b-1,x)},2)};h(5)}}}const Z_=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),ox=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o),n=!0,o=setTimeout(()=>{n=!1},50)}return function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const i=a<0&&e.value||a>0&&t.value;return l&&i?(clearTimeout(o),n=!1):(!i||n)&&r(),!n&&i}};function J_(e,t,n,o){let r=0,a=null,l=null,i=!1;const s=ox(t,n);function u(d){if(!e.value)return;We.cancel(a);const{deltaY:p}=d;r+=p,l=p,!s(p)&&(Z_||d.preventDefault(),a=We(()=>{o(r*(i?10:1)),r=0}))}function c(d){e.value&&(i=d.detail===l)}return[u,c]}const eD=14/15;function tD(e,t,n){let o=!1,r=0,a=null,l=null;const i=()=>{a&&(a.removeEventListener("touchmove",s),a.removeEventListener("touchend",u))},s=p=>{if(o){const g=Math.ceil(p.touches[0].pageY);let m=r-g;r=g,n(m)&&p.preventDefault(),clearInterval(l),l=setInterval(()=>{m*=eD,(!n(m,!0)||Math.abs(m)<=.1)&&clearInterval(l)},16)}},u=()=>{o=!1,i()},c=p=>{i(),p.touches.length===1&&!o&&(o=!0,r=Math.ceil(p.touches[0].pageY),a=p.target,a.addEventListener("touchmove",s,{passive:!1}),a.addEventListener("touchend",u))},d=()=>{};Ve(()=>{document.addEventListener("touchmove",d,{passive:!1}),ue(e,p=>{t.value.removeEventListener("touchstart",c),i(),clearInterval(l),p&&t.value.addEventListener("touchstart",c,{passive:!1})},{immediate:!0})}),Je(()=>{document.removeEventListener("touchmove",d)})}var nD=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const u=t+s,c=r(i,u,{}),d=l(i);return f(X_,{key:d,setRef:p=>o(i,p)},{default:()=>[c]})})}const lD=J({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:V.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const o=P(()=>{const{height:k,itemHeight:B,virtual:L}=e;return!!(L!==!1&&k&&B)}),r=P(()=>{const{height:k,itemHeight:B,data:L}=e;return o.value&&L&&B*L.length>k}),a=vt({scrollTop:0,scrollMoving:!1}),l=P(()=>e.data||oD),i=Y([]);ue(l,()=>{i.value=_t(l.value).slice()},{immediate:!0});const s=Y(k=>{});ue(()=>e.itemKey,k=>{typeof k=="function"?s.value=k:s.value=B=>B==null?void 0:B[k]},{immediate:!0});const u=Y(),c=Y(),d=Y(),p=k=>s.value(k),g={getKey:p};function m(k){let B;typeof k=="function"?B=k(a.scrollTop):B=k;const L=O(B);u.value&&(u.value.scrollTop=L),a.scrollTop=L}const[h,b,y,S]=q_(i,p,null,null),$=vt({scrollHeight:void 0,start:0,end:0,offset:void 0}),x=Y(0);Ve(()=>{lt(()=>{var k;x.value=((k=c.value)===null||k===void 0?void 0:k.offsetHeight)||0})}),ao(()=>{lt(()=>{var k;x.value=((k=c.value)===null||k===void 0?void 0:k.offsetHeight)||0})}),ue([o,i],()=>{o.value||v($,{scrollHeight:void 0,start:0,end:i.value.length-1,offset:void 0})},{immediate:!0}),ue([o,i,x,r],()=>{o.value&&!r.value&&v($,{scrollHeight:x.value,start:0,end:i.value.length-1,offset:void 0}),u.value&&(a.scrollTop=u.value.scrollTop)},{immediate:!0}),ue([r,o,()=>a.scrollTop,i,S,()=>e.height,x],()=>{if(!o.value||!r.value)return;let k=0,B,L,j;const K=i.value.length,G=i.value,U=a.scrollTop,{itemHeight:X,height:ee}=e,oe=U+ee;for(let Q=0;Q=U&&(B=Q,L=k),j===void 0&&le>oe&&(j=Q),k=le}B===void 0&&(B=0,L=0,j=Math.ceil(ee/X)),j===void 0&&(j=K-1),j=Math.min(j+1,K),v($,{scrollHeight:k,start:B,end:j,offset:L})},{immediate:!0});const C=P(()=>$.scrollHeight-e.height);function O(k){let B=k;return Number.isNaN(C.value)||(B=Math.min(B,C.value)),B=Math.max(B,0),B}const w=P(()=>a.scrollTop<=0),M=P(()=>a.scrollTop>=C.value),I=ox(w,M);function _(k){m(k)}function D(k){var B;const{scrollTop:L}=k.currentTarget;L!==a.scrollTop&&m(L),(B=e.onScroll)===null||B===void 0||B.call(e,k)}const[F,z]=J_(o,w,M,k=>{m(B=>B+k)});tD(o,u,(k,B)=>I(k,B)?!1:(F({preventDefault(){},deltaY:k}),!0));function H(k){o.value&&k.preventDefault()}const T=()=>{u.value&&(u.value.removeEventListener("wheel",F,zt?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",z),u.value.removeEventListener("MozMousePixelScroll",H))};Le(()=>{lt(()=>{u.value&&(T(),u.value.addEventListener("wheel",F,zt?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",z),u.value.addEventListener("MozMousePixelScroll",H))})}),Je(()=>{T()});const A=Q_(u,i,y,e,p,b,m,()=>{var k;(k=d.value)===null||k===void 0||k.delayHidden()});n({scrollTo:A});const R=P(()=>{let k=null;return e.height&&(k=v({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},rD),o.value&&(k.overflowY="hidden",a.scrollMoving&&(k.pointerEvents="none"))),k});return ue([()=>$.start,()=>$.end,i],()=>{if(e.onVisibleChange){const k=i.value.slice($.start,$.end+1);e.onVisibleChange(k,i.value)}},{flush:"post"}),{state:a,mergedData:i,componentStyle:R,onFallbackScroll:D,onScrollBar:_,componentRef:u,useVirtual:o,calRes:$,collectHeight:b,setInstance:h,sharedConfig:g,scrollBarRef:d,fillerInnerRef:c,delayHideScrollBar:()=>{var k;(k=d.value)===null||k===void 0||k.delayHidden()}}},render(){const e=v(v({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:o,fullHeight:r,data:a,itemKey:l,virtual:i,component:s="div",onScroll:u,children:c=this.$slots.default,style:d,class:p}=e,g=nD(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),m=te(t,p),{scrollTop:h}=this.state,{scrollHeight:b,offset:y,start:S,end:$}=this.calRes,{componentStyle:x,onFallbackScroll:C,onScrollBar:O,useVirtual:w,collectHeight:M,sharedConfig:I,setInstance:_,mergedData:D,delayHideScrollBar:F}=this;return f("div",N({style:v(v({},d),{position:"relative"}),class:m},g),[f(s,{class:`${t}-holder`,style:x,ref:"componentRef",onScroll:C,onMouseenter:F},{default:()=>[f(G_,{prefixCls:t,height:b,offset:y,onInnerResize:M,ref:"fillerInnerRef"},{default:()=>aD(D,S,$,_,c,I)})]}),w&&f(Y_,{ref:"scrollBarRef",prefixCls:t,scrollTop:h,height:n,scrollHeight:b,count:D.length,onScroll:O,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}}),rx=lD;function Wv(e,t,n){const o=Z(e());return ue(t,(r,a)=>{n?n(r,a)&&(o.value=e()):o.value=e()}),o}function iD(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const ax=Symbol("SelectContextKey");function sD(e){return Ke(ax,e)}function cD(){return Xe(ax,{})}var uD=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r`${r.prefixCls}-item`),i=Wv(()=>a.flattenOptions,[()=>r.open,()=>a.flattenOptions],C=>C[0]),s=Ul(),u=C=>{C.preventDefault()},c=C=>{s.current&&s.current.scrollTo(typeof C=="number"?{index:C}:C)},d=function(C){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const w=i.value.length;for(let M=0;M1&&arguments[1]!==void 0?arguments[1]:!1;p.activeIndex=C;const w={source:O?"keyboard":"mouse"},M=i.value[C];if(!M){a.onActiveValue(null,-1,w);return}a.onActiveValue(M.value,C,w)};ue([()=>i.value.length,()=>r.searchValue],()=>{g(a.defaultActiveFirstOption!==!1?d(0):-1)},{immediate:!0});const m=C=>a.rawValues.has(C)&&r.mode!=="combobox";ue([()=>r.open,()=>r.searchValue],()=>{if(!r.multiple&&r.open&&a.rawValues.size===1){const C=Array.from(a.rawValues)[0],O=_t(i.value).findIndex(w=>{let{data:M}=w;return M[a.fieldNames.value]===C});O!==-1&&(g(O),lt(()=>{c(O)}))}r.open&<(()=>{var C;(C=s.current)===null||C===void 0||C.scrollTo(void 0)})},{immediate:!0,flush:"post"});const h=C=>{C!==void 0&&a.onSelect(C,{selected:!a.rawValues.has(C)}),r.multiple||r.toggleOpen(!1)},b=C=>typeof C.label=="function"?C.label():C.label;function y(C){const O=i.value[C];if(!O)return null;const w=O.data||{},{value:M}=w,{group:I}=O,_=dr(w,!0),D=b(O);return O?f("div",N(N({"aria-label":typeof D=="string"&&!I?D:null},_),{},{key:C,role:I?"presentation":"option",id:`${r.id}_list_${C}`,"aria-selected":m(M)}),[M]):null}return n({onKeydown:C=>{const{which:O,ctrlKey:w}=C;switch(O){case $e.N:case $e.P:case $e.UP:case $e.DOWN:{let M=0;if(O===$e.UP?M=-1:O===$e.DOWN?M=1:iD()&&w&&(O===$e.N?M=1:O===$e.P&&(M=-1)),M!==0){const I=d(p.activeIndex+M,M);c(I),g(I,!0)}break}case $e.ENTER:{const M=i.value[p.activeIndex];M&&!M.data.disabled?h(M.value):h(void 0),r.open&&C.preventDefault();break}case $e.ESC:r.toggleOpen(!1),r.open&&C.stopPropagation()}},onKeyup:()=>{},scrollTo:C=>{c(C)}}),()=>{const{id:C,notFoundContent:O,onPopupScroll:w}=r,{menuItemSelectedIcon:M,fieldNames:I,virtual:_,listHeight:D,listItemHeight:F}=a,z=o.option,{activeIndex:H}=p,T=Object.keys(I).map(A=>I[A]);return i.value.length===0?f("div",{role:"listbox",id:`${C}_list`,class:`${l.value}-empty`,onMousedown:u},[O]):f(nt,null,[f("div",{role:"listbox",id:`${C}_list`,style:{height:0,width:0,overflow:"hidden"}},[y(H-1),y(H),y(H+1)]),f(rx,{itemKey:"key",ref:s,data:i.value,height:D,itemHeight:F,fullHeight:!1,onMousedown:u,onScroll:w,virtual:_},{default:(A,R)=>{var E;const{group:k,groupOption:B,data:L,value:j}=A,{key:K}=L,G=typeof A.label=="function"?A.label():A.label;if(k){const Se=(E=L.title)!==null&&E!==void 0?E:wb(G)&&G;return f("div",{class:te(l.value,`${l.value}-group`),title:Se},[z?z(L):G!==void 0?G:K])}const{disabled:U,title:X,children:ee,style:oe,class:Q,className:W}=L,q=uD(L,["disabled","title","children","style","class","className"]),re=qe(q,T),le=m(j),ye=`${l.value}-option`,me=te(l.value,ye,Q,W,{[`${ye}-grouped`]:B,[`${ye}-active`]:H===R&&!U,[`${ye}-disabled`]:U,[`${ye}-selected`]:le}),ce=b(A),se=!M||typeof M=="function"||le,ie=typeof ce=="number"?ce:ce||j;let fe=wb(ie)?ie.toString():void 0;return X!==void 0&&(fe=X),f("div",N(N({},re),{},{"aria-selected":le,class:me,title:fe,onMousemove:Se=>{q.onMousemove&&q.onMousemove(Se),!(H===R||U)&&g(R)},onClick:Se=>{U||h(j),q.onClick&&q.onClick(Se)},style:oe}),[f("div",{class:`${ye}-content`},[z?z(L):ie]),kt(M)||le,se&&f(Rs,{class:`${l.value}-option-state`,customizeIcon:M,customizeIconProps:{isSelected:le}},{default:()=>[le?"✓":null]})])}})])}}}),fD=dD;var pD=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r1&&arguments[1]!==void 0?arguments[1]:!1;return mt(e).map((o,r)=>{var a;if(!kt(o)||!o.type)return null;const{type:{isSelectOptGroup:l},key:i,children:s,props:u}=o;if(t||!l)return vD(o);const c=s&&s.default?s.default():void 0,d=(u==null?void 0:u.label)||((a=s.label)===null||a===void 0?void 0:a.call(s))||i;return v(v({key:`__RC_SELECT_GRP__${i===null?r:String(i)}__`},u),{label:d,options:lx(c||[])})}).filter(o=>o)}function gD(e,t,n){const o=Y(),r=Y(),a=Y(),l=Y([]);return ue([e,t],()=>{e.value?l.value=_t(e.value).slice():l.value=lx(t.value)},{immediate:!0,deep:!0}),Le(()=>{const i=l.value,s=new Map,u=new Map,c=n.value;function d(p){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let m=0;m0&&arguments[0]!==void 0?arguments[0]:Z("");const t=`rc_select_${mD()}`;return e.value||t}function ix(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function Qu(e,t){return ix(e).join("").toUpperCase().includes(t)}const bD=(e,t,n,o,r)=>P(()=>{const a=n.value,l=r==null?void 0:r.value,i=o==null?void 0:o.value;if(!a||i===!1)return e.value;const{options:s,label:u,value:c}=t.value,d=[],p=typeof i=="function",g=a.toUpperCase(),m=p?i:(b,y)=>l?Qu(y[l],g):y[s]?Qu(y[u!=="children"?u:"label"],g):Qu(y[c],g),h=p?b=>Tf(b):b=>b;return e.value.forEach(b=>{if(b[s]){if(m(a,h(b)))d.push(b);else{const S=b[s].filter($=>m(a,h($)));S.length&&d.push(v(v({},b),{[s]:S}))}return}m(a,h(b))&&d.push(b)}),d}),yD=(e,t)=>{const n=Y({values:new Map,options:new Map});return[P(()=>{const{values:a,options:l}=n.value,i=e.value.map(c=>{var d;return c.label===void 0?v(v({},c),{label:(d=a.get(c.value))===null||d===void 0?void 0:d.label}):c}),s=new Map,u=new Map;return i.forEach(c=>{s.set(c.value,c),u.set(c.value,t.value.get(c.value)||l.get(c.value))}),n.value.values=s,n.value.options=u,i}),a=>t.value.get(a)||n.value.options.get(a)]};function Ot(e,t){const{defaultValue:n,value:o=Z()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=Lt(o)),n!==void 0&&(r=typeof n=="function"?n():n);const a=Z(r),l=Z(r);Le(()=>{let s=o.value!==void 0?o.value:a.value;t.postState&&(s=t.postState(s)),l.value=s});function i(s){const u=l.value;a.value=s,_t(l.value)!==s&&t.onChange&&t.onChange(s,u)}return ue(o,()=>{a.value=o.value}),[l,i]}function pt(e){const t=typeof e=="function"?e():e,n=Z(t);function o(r){n.value=r}return[n,o]}const SD=["inputValue"];function sx(){return v(v({},Ac()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:V.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:V.any,defaultValue:V.any,onChange:Function,children:Array})}function $D(e){return!e||typeof e!="object"}const CD=J({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:rt(sx(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=Kv(Be(e,"id")),l=P(()=>tx(e.mode)),i=P(()=>!!(!e.options&&e.children)),s=P(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=P(()=>R2(e.fieldNames,i.value)),[c,d]=Ot("",{value:P(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:Q=>Q||""}),p=gD(Be(e,"options"),Be(e,"children"),u),{valueOptions:g,labelOptions:m,options:h}=p,b=Q=>ix(Q).map(q=>{var re,le;let ye,me,ce,se;$D(q)?ye=q:(ce=q.key,me=q.label,ye=(re=q.value)!==null&&re!==void 0?re:ce);const ie=g.value.get(ye);return ie&&(me===void 0&&(me=ie==null?void 0:ie[e.optionLabelProp||u.value.label]),ce===void 0&&(ce=(le=ie==null?void 0:ie.key)!==null&&le!==void 0?le:ye),se=ie==null?void 0:ie.disabled),{label:me,value:ye,key:ce,disabled:se,option:ie}}),[y,S]=Ot(e.defaultValue,{value:Be(e,"value")}),$=P(()=>{var Q;const W=b(y.value);return e.mode==="combobox"&&!(!((Q=W[0])===null||Q===void 0)&&Q.value)?[]:W}),[x,C]=yD($,g),O=P(()=>{if(!e.mode&&x.value.length===1){const Q=x.value[0];if(Q.value===null&&(Q.label===null||Q.label===void 0))return[]}return x.value.map(Q=>{var W;return v(v({},Q),{label:(W=typeof Q.label=="function"?Q.label():Q.label)!==null&&W!==void 0?W:Q.value})})}),w=P(()=>new Set(x.value.map(Q=>Q.value)));Le(()=>{var Q;if(e.mode==="combobox"){const W=(Q=x.value[0])===null||Q===void 0?void 0:Q.value;W!=null&&d(String(W))}},{flush:"post"});const M=(Q,W)=>{const q=W??Q;return{[u.value.value]:Q,[u.value.label]:q}},I=Y();Le(()=>{if(e.mode!=="tags"){I.value=h.value;return}const Q=h.value.slice(),W=q=>g.value.has(q);[...x.value].sort((q,re)=>q.value{const re=q.value;W(re)||Q.push(M(re,q.label))}),I.value=Q});const _=bD(I,u,c,s,Be(e,"optionFilterProp")),D=P(()=>e.mode!=="tags"||!c.value||_.value.some(Q=>Q[e.optionFilterProp||"value"]===c.value)?_.value:[M(c.value),..._.value]),F=P(()=>e.filterSort?[...D.value].sort((Q,W)=>e.filterSort(Q,W)):D.value),z=P(()=>uE(F.value,{fieldNames:u.value,childrenAsData:i.value})),H=Q=>{const W=b(Q);if(S(W),e.onChange&&(W.length!==x.value.length||W.some((q,re)=>{var le;return((le=x.value[re])===null||le===void 0?void 0:le.value)!==(q==null?void 0:q.value)}))){const q=e.labelInValue?W.map(le=>v(v({},le),{originLabel:le.label,label:typeof le.label=="function"?le.label():le.label})):W.map(le=>le.value),re=W.map(le=>Tf(C(le.value)));e.onChange(l.value?q:q[0],l.value?re:re[0])}},[T,A]=pt(null),[R,E]=pt(0),k=P(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),B=function(Q,W){let{source:q="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E(W),e.backfill&&e.mode==="combobox"&&Q!==null&&q==="keyboard"&&A(String(Q))},L=(Q,W)=>{const q=()=>{var re;const le=C(Q),ye=le==null?void 0:le[u.value.label];return[e.labelInValue?{label:typeof ye=="function"?ye():ye,originLabel:ye,value:Q,key:(re=le==null?void 0:le.key)!==null&&re!==void 0?re:Q}:Q,Tf(le)]};if(W&&e.onSelect){const[re,le]=q();e.onSelect(re,le)}else if(!W&&e.onDeselect){const[re,le]=q();e.onDeselect(re,le)}},j=(Q,W)=>{let q;const re=l.value?W.selected:!0;re?q=l.value?[...x.value,Q]:[Q]:q=x.value.filter(le=>le.value!==Q),H(q),L(Q,re),e.mode==="combobox"?A(""):(!l.value||e.autoClearSearchValue)&&(d(""),A(""))},K=(Q,W)=>{H(Q),(W.type==="remove"||W.type==="clear")&&W.values.forEach(q=>{L(q.value,!1)})},G=(Q,W)=>{var q;if(d(Q),A(null),W.source==="submit"){const re=(Q||"").trim();if(re){const le=Array.from(new Set([...w.value,re]));H(le),L(re,!0),d("")}return}W.source!=="blur"&&(e.mode==="combobox"&&H(Q),(q=e.onSearch)===null||q===void 0||q.call(e,Q))},U=Q=>{let W=Q;e.mode!=="tags"&&(W=Q.map(re=>{const le=m.value.get(re);return le==null?void 0:le.value}).filter(re=>re!==void 0));const q=Array.from(new Set([...w.value,...W]));H(q),q.forEach(re=>{L(re,!0)})},X=P(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);sD(Ns(v(v({},p),{flattenOptions:z,onActiveValue:B,defaultActiveFirstOption:k,onSelect:j,menuItemSelectedIcon:Be(e,"menuItemSelectedIcon"),rawValues:w,fieldNames:u,virtual:X,listHeight:Be(e,"listHeight"),listItemHeight:Be(e,"listItemHeight"),childrenAsData:i})));const ee=Z();n({focus(){var Q;(Q=ee.value)===null||Q===void 0||Q.focus()},blur(){var Q;(Q=ee.value)===null||Q===void 0||Q.blur()},scrollTo(Q){var W;(W=ee.value)===null||W===void 0||W.scrollTo(Q)}});const oe=P(()=>qe(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>f(Vv,N(N(N({},oe.value),o),{},{id:a,prefixCls:e.prefixCls,ref:ee,omitDomProps:SD,mode:e.mode,displayValues:O.value,onDisplayValuesChange:K,searchValue:c.value,onSearch:G,onSearchSplit:U,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:fD,emptyOptions:!z.value.length,activeValue:T.value,activeDescendantId:`${a}_list_${R.value}`}),r)}}),Gv=()=>null;Gv.isSelectOption=!0;Gv.displayName="ASelectOption";const xD=Gv,Xv=()=>null;Xv.isSelectOptGroup=!0;Xv.displayName="ASelectOptGroup";const wD=Xv;var OD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const PD=OD;var ID=Symbol("iconContext"),Uv=function(){return Xe(ID,{prefixCls:Z("anticon"),rootClassName:Z(""),csp:Z()})};function Yv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function TD(e,t){return e&&e.contains?e.contains(t):!1}var Pb="data-vc-order",MD="vc-icon-key",Rf=new Map;function cx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):MD}function qv(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function ED(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ux(e){return Array.from((Rf.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Yv())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(Pb,ED(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var a=qv(t),l=a.firstChild;if(o){if(o==="queue"){var i=ux(a).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(Pb))});if(i.length)return a.insertBefore(r,i[i.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=qv(t);return ux(n).find(function(o){return o.getAttribute(cx(t))===e})}function DD(e,t){var n=Rf.get(e);if(!n||!TD(document,n)){var o=dx("",t),r=o.parentNode;Rf.set(e,r),e.removeChild(o)}}function AD(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=qv(n);DD(o,n);var r=_D(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var a=dx(e,n);return a.setAttribute(cx(n),t),a}function Ib(e){for(var t=1;t * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`;function vx(e){return e&&e.getRootNode&&e.getRootNode()}function BD(e){return Yv()?vx(e)instanceof ShadowRoot:!1}function FD(e){return BD(e)?vx(e):null}var LD=function(){var t=Uv(),n=t.prefixCls,o=t.csp,r=Dn(),a=kD;n&&(a=a.replace(/anticon/g,n.value)),lt(function(){if(Yv()){var l=r.vnode.el,i=FD(l);AD(a,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:i})}})},zD=["icon","primaryColor","secondaryColor"];function HD(e,t){if(e==null)return{};var n=jD(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function jD(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}function as(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function aA(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}gx(vM.primary);var Ja=function(t,n){var o,r=_b({},t,n.attrs),a=r.class,l=r.icon,i=r.spin,s=r.rotate,u=r.tabindex,c=r.twoToneColor,d=r.onClick,p=rA(r,ZD),g=Uv(),m=g.prefixCls,h=g.rootClassName,b=(o={},gl(o,h.value,!!h.value),gl(o,m.value,!0),gl(o,"".concat(m.value,"-").concat(l.name),!!l.name),gl(o,"".concat(m.value,"-spin"),!!i||l.name==="loading"),o),y=u;y===void 0&&d&&(y=-1);var S=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,$=px(c),x=JD($,2),C=x[0],O=x[1];return f("span",_b({role:"img","aria-label":l.name},p,{onClick:d,class:[b,a],tabindex:y}),[f(Qv,{icon:l,primaryColor:C,secondaryColor:O,style:S},null),f(hx,null,null)])};Ja.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};Ja.displayName="AntdIcon";Ja.inheritAttrs=!1;Ja.getTwoToneColor=QD;Ja.setTwoToneColor=gx;const De=Ja;function Db(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:o,prefixCls:r,hasFeedback:a,feedbackIcon:l,showArrow:i}=e,s=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),u=e.clearIcon||t.clearIcon&&t.clearIcon(),c=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),d=e.removeIcon||t.removeIcon&&t.removeIcon(),p=u??f(bn,null,null),g=y=>f(nt,null,[i!==!1&&y,a&&l]);let m=null;if(s!==void 0)m=g(s);else if(n)m=g(f(Un,{spin:!0},null));else{const y=`${r}-suffix`;m=S=>{let{open:$,showSearch:x}=S;return g($&&x?f(ag,{class:y},null):f(Nc,{class:y},null))}}let h=null;c!==void 0?h=c:o?h=f(tg,null,null):h=null;let b=null;return d!==void 0?b=d:b=f(io,null,null),{clearIcon:p,suffixIcon:m,itemIcon:h,removeIcon:b}}function ig(e){const t=Symbol("contextKey");return{useProvide:(r,a)=>{const l=vt({});return Ke(t,l),Le(()=>{v(l,r,a||{})}),l},useInject:()=>Xe(t,e)||{}}}const ks=Symbol("ContextProps"),Bs=Symbol("InternalContextProps"),CA=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P(()=>!0);const n=Z(new Map),o=(a,l)=>{n.value.set(a,l),n.value=new Map(n.value)},r=a=>{n.value.delete(a),n.value=new Map(n.value)};Dn(),ue([t,n],()=>{}),Ke(ks,e),Ke(Bs,{addFormItemField:o,removeFormItemField:r})},kf={id:P(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},Bf={addFormItemField:()=>{},removeFormItemField:()=>{}},Ht=()=>{const e=Xe(Bs,Bf),t=Symbol("FormItemFieldKey"),n=Dn();return e.addFormItemField(t,n.type),Je(()=>{e.removeFormItemField(t)}),Ke(Bs,Bf),Ke(ks,kf),Xe(ks,kf)},Ff=J({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return Ke(Bs,Bf),Ke(ks,kf),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),ln=ig({}),Fs=J({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return ln.useProvide({}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function Tn(e,t,n){return te({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Vo=(e,t)=>t||e,xA=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},wA=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-space-item`]:{"&:empty":{display:"none"}}}}},mx=Qe("Space",e=>[wA(e),xA(e)]),OA=()=>({compactSize:String,compactDirection:V.oneOf(vn("horizontal","vertical")).def("horizontal"),isFirstItem:Ce(),isLastItem:Ce()}),kc=ig(null),fr=(e,t)=>{const n=kc.useInject(),o=P(()=>{if(!n||xC(n))return"";const{compactDirection:r,isFirstItem:a,isLastItem:l}=n,i=r==="vertical"?"-vertical-":"-";return te({[`${e.value}-compact${i}item`]:!0,[`${e.value}-compact${i}first-item`]:a,[`${e.value}-compact${i}last-item`]:l,[`${e.value}-compact${i}item-rtl`]:t.value==="rtl"})});return{compactSize:P(()=>n==null?void 0:n.compactSize),compactDirection:P(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}},Yl=J({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return kc.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),PA=()=>({prefixCls:String,size:{type:String},direction:V.oneOf(vn("horizontal","vertical")).def("horizontal"),align:V.oneOf(vn("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),IA=J({name:"CompactItem",props:OA(),setup(e,t){let{slots:n}=t;return kc.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Lf=J({name:"ASpaceCompact",inheritAttrs:!1,props:PA(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=Ee("space-compact",e),l=kc.useInject(),[i,s]=mx(r),u=P(()=>te(r.value,s.value,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var c;const d=mt(((c=o.default)===null||c===void 0?void 0:c.call(o))||[]);return d.length===0?null:i(f("div",N(N({},n),{},{class:[u.value,n.class]}),[d.map((p,g)=>{var m;const h=p&&p.key||`${r.value}-item-${g}`,b=!l||xC(l);return f(IA,{key:h,compactSize:(m=e.size)!==null&&m!==void 0?m:"middle",compactDirection:e.direction,isFirstItem:g===0&&(b||(l==null?void 0:l.isFirstItem)),isLastItem:g===d.length-1&&(b||(l==null?void 0:l.isLastItem))},{default:()=>[p]})})]))}}}),TA=e=>({animationDuration:e,animationFillMode:"both"}),MA=e=>({animationDuration:e,animationFillMode:"both"}),Bc=function(e,t,n,o){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${a}${e}-enter, + ${a}${e}-appear + `]:v(v({},TA(o)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:v(v({},MA(o)),{animationPlayState:"paused"}),[` + ${a}${e}-enter${e}-enter-active, + ${a}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},EA=new Ue("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),_A=new Ue("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),bx=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,o=`${n}-fade`,r=t?"&":"";return[Bc(o,EA,_A,e.motionDurationMid,t),{[` + ${r}${o}-enter, + ${r}${o}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${o}-leave`]:{animationTimingFunction:"linear"}}]},DA=new Ue("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),AA=new Ue("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),RA=new Ue("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),NA=new Ue("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),kA=new Ue("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),BA=new Ue("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),FA=new Ue("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),LA=new Ue("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),zA={"move-up":{inKeyframes:FA,outKeyframes:LA},"move-down":{inKeyframes:DA,outKeyframes:AA},"move-left":{inKeyframes:RA,outKeyframes:NA},"move-right":{inKeyframes:kA,outKeyframes:BA}},za=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=zA[t];return[Bc(o,r,a,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Fc=new Ue("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Lc=new Ue("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),zc=new Ue("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Hc=new Ue("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),HA=new Ue("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),jA=new Ue("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),VA=new Ue("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),WA=new Ue("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),KA={"slide-up":{inKeyframes:Fc,outKeyframes:Lc},"slide-down":{inKeyframes:zc,outKeyframes:Hc},"slide-left":{inKeyframes:HA,outKeyframes:jA},"slide-right":{inKeyframes:VA,outKeyframes:WA}},yo=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=KA[t];return[Bc(o,r,a,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},sg=new Ue("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),GA=new Ue("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Fb=new Ue("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Lb=new Ue("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),XA=new Ue("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),UA=new Ue("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),YA=new Ue("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),qA=new Ue("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),QA=new Ue("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ZA=new Ue("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),JA=new Ue("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),eR=new Ue("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),tR={zoom:{inKeyframes:sg,outKeyframes:GA},"zoom-big":{inKeyframes:Fb,outKeyframes:Lb},"zoom-big-fast":{inKeyframes:Fb,outKeyframes:Lb},"zoom-left":{inKeyframes:YA,outKeyframes:qA},"zoom-right":{inKeyframes:QA,outKeyframes:ZA},"zoom-up":{inKeyframes:XA,outKeyframes:UA},"zoom-down":{inKeyframes:JA,outKeyframes:eR}},el=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=tR[t];return[Bc(o,r,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},nR=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),jc=nR,zb=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},oR=e=>{const{antCls:t,componentCls:n}=e,o=`${n}-item`;return[{[`${n}-dropdown`]:v(v({},et(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft + `]:{animationName:Fc},[` + &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, + &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft + `]:{animationName:zc},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:Lc},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:Hc},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${o}-empty`]:v(v({},zb(e)),{color:e.colorTextDisabled}),[`${o}`]:v(v({},zb(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":v({flex:"auto"},mn),"&-state":{flex:"none"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${o}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},yo(e,"slide-up"),yo(e,"slide-down"),za(e,"move-up"),za(e,"move-down")]},ra=2;function yx(e){let{controlHeightSM:t,controlHeight:n,lineWidth:o}=e;const r=(n-t)/2-o,a=Math.ceil(r/2);return[r,a]}function Zu(e,t){const{componentCls:n,iconCls:o}=e,r=`${n}-selection-overflow`,a=e.controlHeightSM,[l]=yx(e),i=t?`${n}-${t}`:"";return{[`${n}-multiple${i}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${l-ra}px ${ra*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ra}px 0`,lineHeight:`${a}px`,content:'"\\a0"'}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:a,marginTop:ra,marginBottom:ra,lineHeight:`${a-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:ra*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":v(v({},ai()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-l,"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function rR(e){const{componentCls:t}=e,n=ze(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,o]=yx(e);return[Zu(e),Zu(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:o}}},Zu(ze(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function Ju(e,t){const{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,a=e.controlHeight-e.lineWidth*2,l=Math.ceil(e.fontSize*1.25),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,[`${n}-selector`]:v(v({},et(e)),{display:"flex",borderRadius:r,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:`${a}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${a}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:l},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${n}-selection-search-input`]:{height:a},"&:after":{lineHeight:`${a}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}function aR(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[Ju(e),Ju(ze(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.fontSize*1.5}}}},Ju(ze(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function lR(e,t,n){const{focusElCls:o,focus:r,borderElCls:a}=n,l=a?"> *":"",i=["hover",r?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${l}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":v(v({[i]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${l}`]:{zIndex:0}})}}function iR(e,t,n){const{borderElCls:o}=n,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function tl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:v(v({},lR(e,o,t)),iR(n,o,t))}}const sR=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},ed=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:o,borderHoverColor:r,outlineColor:a,antCls:l}=t,i=n?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${l}-pagination-size-changer)`]:v(v({},i),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},cR=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},uR=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:o}=e;return{[t]:v(v({},et(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:v(v({},sR(e)),cR(e)),[`${t}-selection-item`]:v({flex:1,fontWeight:"normal"},mn),[`${t}-selection-placeholder`]:v(v({},mn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:v(v({},ai()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},dR=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},uR(e),aR(e),rR(e),oR(e),{[`${t}-rtl`]:{direction:"rtl"}},ed(t,ze(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),ed(`${t}-status-error`,ze(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),ed(`${t}-status-warning`,ze(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),tl(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},cg=Qe("Select",(e,t)=>{let{rootPrefixCls:n}=t;const o=ze(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[dR(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),Vc=()=>v(v({},qe(sx(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:Ge([Array,Object,String,Number]),defaultValue:Ge([Array,Object,String,Number]),notFoundContent:V.any,suffixIcon:V.any,itemIcon:V.any,size:je(),mode:je(),bordered:Ce(!0),transitionName:String,choiceTransitionName:je(""),popupClassName:String,dropdownClassName:String,placement:je(),status:je(),"onUpdate:value":de()}),Hb="SECRET_COMBOBOX_MODE_DO_NOT_USE",po=J({compatConfig:{MODE:3},name:"ASelect",Option:xD,OptGroup:wD,inheritAttrs:!1,props:rt(Vc(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:Hb,slots:Object,setup(e,t){let{attrs:n,emit:o,slots:r,expose:a}=t;const l=Z(),i=Ht(),s=ln.useInject(),u=P(()=>Vo(s.status,e.status)),c=()=>{var j;(j=l.value)===null||j===void 0||j.focus()},d=()=>{var j;(j=l.value)===null||j===void 0||j.blur()},p=j=>{var K;(K=l.value)===null||K===void 0||K.scrollTo(j)},g=P(()=>{const{mode:j}=e;if(j!=="combobox")return j===Hb?"combobox":j}),{prefixCls:m,direction:h,configProvider:b,renderEmpty:y,size:S,getPrefixCls:$,getPopupContainer:x,disabled:C,select:O}=Ee("select",e),{compactSize:w,compactItemClassnames:M}=fr(m,h),I=P(()=>w.value||S.value),_=gn(),D=P(()=>{var j;return(j=C.value)!==null&&j!==void 0?j:_.value}),[F,z]=cg(m),H=P(()=>$()),T=P(()=>e.placement!==void 0?e.placement:h.value==="rtl"?"bottomRight":"bottomLeft"),A=P(()=>en(H.value,Fv(T.value),e.transitionName)),R=P(()=>te({[`${m.value}-lg`]:I.value==="large",[`${m.value}-sm`]:I.value==="small",[`${m.value}-rtl`]:h.value==="rtl",[`${m.value}-borderless`]:!e.bordered,[`${m.value}-in-form-item`]:s.isFormItemInput},Tn(m.value,u.value,s.hasFeedback),M.value,z.value)),E=function(){for(var j=arguments.length,K=new Array(j),G=0;G{o("blur",j),i.onFieldBlur()};a({blur:d,focus:c,scrollTo:p});const B=P(()=>g.value==="multiple"||g.value==="tags"),L=P(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(B.value||g.value==="combobox"));return()=>{var j,K,G,U;const{notFoundContent:X,listHeight:ee=256,listItemHeight:oe=24,popupClassName:Q,dropdownClassName:W,virtual:q,dropdownMatchSelectWidth:re,id:le=i.id.value,placeholder:ye=(j=r.placeholder)===null||j===void 0?void 0:j.call(r),showArrow:me}=e,{hasFeedback:ce,feedbackIcon:se}=s;let ie;X!==void 0?ie=X:r.notFoundContent?ie=r.notFoundContent():g.value==="combobox"?ie=null:ie=(y==null?void 0:y("Select"))||f(Mv,{componentName:"Select"},null);const{suffixIcon:fe,itemIcon:Se,removeIcon:Ie,clearIcon:ge}=lg(v(v({},e),{multiple:B.value,prefixCls:m.value,hasFeedback:ce,feedbackIcon:se,showArrow:L.value}),r),Oe=qe(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),we=te(Q||W,{[`${m.value}-dropdown-${h.value}`]:h.value==="rtl"},z.value);return F(f(CD,N(N(N({ref:l,virtual:q,dropdownMatchSelectWidth:re},Oe),n),{},{showSearch:(K=e.showSearch)!==null&&K!==void 0?K:(G=O==null?void 0:O.value)===null||G===void 0?void 0:G.showSearch,placeholder:ye,listHeight:ee,listItemHeight:oe,mode:g.value,prefixCls:m.value,direction:h.value,inputIcon:fe,menuItemSelectedIcon:Se,removeIcon:Ie,clearIcon:ge,notFoundContent:ie,class:[R.value,n.class],getPopupContainer:x==null?void 0:x.value,dropdownClassName:we,onChange:E,onBlur:k,id:le,dropdownRender:Oe.dropdownRender||r.dropdownRender,transitionName:A.value,children:(U=r.default)===null||U===void 0?void 0:U.call(r),tagRender:e.tagRender||r.tagRender,optionLabelRender:r.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:ce||me,disabled:D.value}),{option:r.option}))}}});po.install=function(e){return e.component(po.name,po),e.component(po.Option.displayName,po.Option),e.component(po.OptGroup.displayName,po.OptGroup),e};po.Option;po.OptGroup;const Ha=po,ug=()=>null;ug.isSelectOption=!0;ug.displayName="AAutoCompleteOption";const wl=ug,dg=()=>null;dg.isSelectOptGroup=!0;dg.displayName="AAutoCompleteOptGroup";const td=dg;function fR(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const pR=()=>v(v({},qe(Vc(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),nd=J({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:pR(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:r}=t;yt(),yt(),yt(!e.dropdownClassName);const a=Z(),l=()=>{var c;const d=mt((c=n.default)===null||c===void 0?void 0:c.call(n));return d.length?d[0]:void 0};r({focus:()=>{var c;(c=a.value)===null||c===void 0||c.focus()},blur:()=>{var c;(c=a.value)===null||c===void 0||c.blur()}});const{prefixCls:u}=Ee("select",e);return()=>{var c,d,p;const{size:g,dataSource:m,notFoundContent:h=(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)}=e;let b;const{class:y}=o,S={[y]:!!y,[`${u.value}-lg`]:g==="large",[`${u.value}-sm`]:g==="small",[`${u.value}-show-search`]:!0,[`${u.value}-auto-complete`]:!0};if(e.options===void 0){const x=((d=n.dataSource)===null||d===void 0?void 0:d.call(n))||((p=n.options)===null||p===void 0?void 0:p.call(n))||[];x.length&&fR(x[0])?b=x:b=m?m.map(C=>{if(kt(C))return C;switch(typeof C){case"string":return f(wl,{key:C,value:C},{default:()=>[C]});case"object":return f(wl,{key:C.value,value:C.value},{default:()=>[C.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const $=qe(v(v(v({},e),o),{mode:Ha.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:l,notFoundContent:h,class:S,popupClassName:e.popupClassName||e.dropdownClassName,ref:a}),["dataSource","loading"]);return f(Ha,$,N({default:()=>[b]},qe(n,["default","dataSource","options"])))}}}),doe=v(nd,{Option:wl,OptGroup:td,install(e){return e.component(nd.name,nd),e.component(wl.displayName,wl),e.component(td.displayName,td),e}});var vR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const gR=vR;function jb(e){for(var t=1;t({backgroundColor:e,border:`${o.lineWidth}px ${o.lineType} ${t}`,[`${r}-icon`]:{color:n}}),NR=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:o,marginSM:r,fontSize:a,fontSizeLG:l,lineHeight:i,borderRadiusLG:s,motionEaseInOutCirc:u,alertIconSizeLG:c,colorText:d,paddingContentVerticalSM:p,alertPaddingHorizontal:g,paddingMD:m,paddingContentHorizontalLG:h}=e;return{[t]:v(v({},et(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${p}px ${g}px`,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:o,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:i},"&-message":{color:d},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + padding-top ${n} ${u}, padding-bottom ${n} ${u}, + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:h,paddingBlock:m,[`${t}-icon`]:{marginInlineEnd:r,fontSize:c,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:o,color:d,fontSize:l},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},kR=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:o,colorSuccessBg:r,colorWarning:a,colorWarningBorder:l,colorWarningBg:i,colorError:s,colorErrorBorder:u,colorErrorBg:c,colorInfo:d,colorInfoBorder:p,colorInfoBg:g}=e;return{[t]:{"&-success":Ri(r,o,n,e,t),"&-info":Ri(g,p,d,e,t),"&-warning":Ri(i,l,a,e,t),"&-error":v(v({},Ri(c,u,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},BR=e=>{const{componentCls:t,iconCls:n,motionDurationMid:o,marginXS:r,fontSizeIcon:a,colorIcon:l,colorIconHover:i}=e;return{[t]:{"&-action":{marginInlineStart:r},[`${t}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:a,lineHeight:`${a}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:l,transition:`color ${o}`,"&:hover":{color:i}}},"&-close-text":{color:l,transition:`color ${o}`,"&:hover":{color:i}}}}},FR=e=>[NR(e),kR(e),BR(e)],LR=Qe("Alert",e=>{const{fontSizeHeading3:t}=e,n=ze(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[FR(n)]}),zR={success:Wo,info:nl,error:bn,warning:Ko},HR={success:Sx,info:Cx,error:xx,warning:$x},jR=vn("success","info","warning","error"),VR=()=>({type:V.oneOf(jR),closable:{type:Boolean,default:void 0},closeText:V.any,message:V.any,description:V.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:V.any,closeIcon:V.any,onClose:Function}),WR=J({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:VR(),setup(e,t){let{slots:n,emit:o,attrs:r,expose:a}=t;const{prefixCls:l,direction:i}=Ee("alert",e),[s,u]=LR(l),c=Y(!1),d=Y(!1),p=Y(),g=y=>{y.preventDefault();const S=p.value;S.style.height=`${S.offsetHeight}px`,S.style.height=`${S.offsetHeight}px`,c.value=!0,o("close",y)},m=()=>{var y;c.value=!1,d.value=!0,(y=e.afterClose)===null||y===void 0||y.call(e)},h=P(()=>{const{type:y}=e;return y!==void 0?y:e.banner?"warning":"info"});a({animationEnd:m});const b=Y({});return()=>{var y,S,$,x,C,O,w,M,I,_;const{banner:D,closeIcon:F=(y=n.closeIcon)===null||y===void 0?void 0:y.call(n)}=e;let{closable:z,showIcon:H}=e;const T=(S=e.closeText)!==null&&S!==void 0?S:($=n.closeText)===null||$===void 0?void 0:$.call(n),A=(x=e.description)!==null&&x!==void 0?x:(C=n.description)===null||C===void 0?void 0:C.call(n),R=(O=e.message)!==null&&O!==void 0?O:(w=n.message)===null||w===void 0?void 0:w.call(n),E=(M=e.icon)!==null&&M!==void 0?M:(I=n.icon)===null||I===void 0?void 0:I.call(n),k=(_=n.action)===null||_===void 0?void 0:_.call(n);H=D&&H===void 0?!0:H;const B=(A?HR:zR)[h.value]||null;T&&(z=!0);const L=l.value,j=te(L,{[`${L}-${h.value}`]:!0,[`${L}-closing`]:c.value,[`${L}-with-description`]:!!A,[`${L}-no-icon`]:!H,[`${L}-banner`]:!!D,[`${L}-closable`]:z,[`${L}-rtl`]:i.value==="rtl",[u.value]:!0}),K=z?f("button",{type:"button",onClick:g,class:`${L}-close-icon`,tabindex:0},[T?f("span",{class:`${L}-close-text`},[T]):F===void 0?f(io,null,null):F]):null,G=E&&(kt(E)?ut(E,{class:`${L}-icon`}):f("span",{class:`${L}-icon`},[E]))||f(B,{class:`${L}-icon`},null),U=bo(`${L}-motion`,{appear:!1,css:!0,onAfterLeave:m,onBeforeLeave:X=>{X.style.maxHeight=`${X.offsetHeight}px`},onLeave:X=>{X.style.maxHeight="0px"}});return s(d.value?null:f(rn,U,{default:()=>[Kt(f("div",N(N({role:"alert"},r),{},{style:[r.style,b.value],class:[r.class,j],"data-show":!c.value,ref:p}),[H?G:null,f("div",{class:`${L}-content`},[R?f("div",{class:`${L}-message`},[R]):null,A?f("div",{class:`${L}-description`},[A]):null]),k?f("div",{class:`${L}-action`},[k]):null,K]),[[Wn,!c.value]])]}))}}}),foe=Vt(WR),_r=["xxxl","xxl","xl","lg","md","sm","xs"],KR=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function yg(){const[,e]=Qr();return P(()=>{const t=KR(e.value),n=new Map;let o=-1,r={};return{matchHandlers:{},dispatch(a){return r=a,n.forEach(l=>l(r)),n.size>=1},subscribe(a){return n.size||this.register(),o+=1,n.set(o,a),a(r),o},unsubscribe(a){n.delete(a),n.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const l=t[a],i=this.matchHandlers[l];i==null||i.mql.removeListener(i==null?void 0:i.listener)}),n.clear()},register(){Object.keys(t).forEach(a=>{const l=t[a],i=u=>{let{matches:c}=u;this.dispatch(v(v({},r),{[a]:c}))},s=window.matchMedia(l);s.addListener(i),this.matchHandlers[l]={mql:s,listener:i},i(s)})},responsiveMap:t}})}function Sg(){const e=Y({});let t=null;const n=yg();return Ve(()=>{t=n.value.subscribe(o=>{e.value=o})}),An(()=>{n.value.unsubscribe(t)}),e}function zn(e){const t=Y();return Le(()=>{t.value=e()},{flush:"sync"}),t}const GR=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:r,avatarColor:a,containerSize:l,containerSizeLG:i,containerSizeSM:s,textFontSize:u,textFontSizeLG:c,textFontSizeSM:d,borderRadius:p,borderRadiusLG:g,borderRadiusSM:m,lineWidth:h,lineType:b}=e,y=(S,$,x)=>({width:S,height:S,lineHeight:`${S-h*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:x},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:$,[`> ${o}`]:{margin:0}}});return{[n]:v(v(v(v({},et(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${h}px ${b} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),y(l,u,p)),{"&-lg":v({},y(i,c,g)),"&-sm":v({},y(s,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},XR=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:o,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:o}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}},wx=Qe("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=ze(e,{avatarBg:n,avatarColor:t});return[GR(o),XR(o)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:r,fontSizeLG:a,fontSizeXL:l,fontSizeHeading3:i,marginXS:s,marginXXS:u,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((a+l)/2),textFontSizeLG:i,textFontSizeSM:r,groupSpace:u,groupOverlapping:-s,groupBorderColor:c}}),Ox=Symbol("AvatarContextKey"),UR=()=>Xe(Ox,{}),YR=e=>Ke(Ox,e),qR=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:V.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),QR=J({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:qR(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const r=Y(!0),a=Y(!1),l=Y(1),i=Y(null),s=Y(null),{prefixCls:u}=Ee("avatar",e),[c,d]=wx(u),p=UR(),g=P(()=>e.size==="default"?p.size:e.size),m=Sg(),h=zn(()=>{if(typeof e.size!="object")return;const $=_r.find(C=>m.value[C]);return e.size[$]}),b=$=>h.value?{width:`${h.value}px`,height:`${h.value}px`,lineHeight:`${h.value}px`,fontSize:`${$?h.value/2:18}px`}:{},y=()=>{if(!i.value||!s.value)return;const $=i.value.offsetWidth,x=s.value.offsetWidth;if($!==0&&x!==0){const{gap:C=4}=e;C*2{const{loadError:$}=e;($==null?void 0:$())!==!1&&(r.value=!1)};return ue(()=>e.src,()=>{lt(()=>{r.value=!0,l.value=1})}),ue(()=>e.gap,()=>{lt(()=>{y()})}),Ve(()=>{lt(()=>{y(),a.value=!0})}),()=>{var $,x;const{shape:C,src:O,alt:w,srcset:M,draggable:I,crossOrigin:_}=e,D=($=p.shape)!==null&&$!==void 0?$:C,F=Nt(n,e,"icon"),z=u.value,H={[`${o.class}`]:!!o.class,[z]:!0,[`${z}-lg`]:g.value==="large",[`${z}-sm`]:g.value==="small",[`${z}-${D}`]:!0,[`${z}-image`]:O&&r.value,[`${z}-icon`]:F,[d.value]:!0},T=typeof g.value=="number"?{width:`${g.value}px`,height:`${g.value}px`,lineHeight:`${g.value}px`,fontSize:F?`${g.value/2}px`:"18px"}:{},A=(x=n.default)===null||x===void 0?void 0:x.call(n);let R;if(O&&r.value)R=f("img",{draggable:I,src:O,srcset:M,onError:S,alt:w,crossorigin:_},null);else if(F)R=F;else if(a.value||l.value!==1){const E=`scale(${l.value}) translateX(-50%)`,k={msTransform:E,WebkitTransform:E,transform:E},B=typeof g.value=="number"?{lineHeight:`${g.value}px`}:{};R=f(ho,{onResize:y},{default:()=>[f("span",{class:`${z}-string`,ref:i,style:v(v({},B),k)},[A])]})}else R=f("span",{class:`${z}-string`,ref:i,style:{opacity:0}},[A]);return c(f("span",N(N({},o),{},{ref:s,class:H,style:[T,b(!!F),o.style]}),[R]))}}}),Ol=QR,Bn={adjustX:1,adjustY:1},Fn=[0,0],Px={left:{points:["cr","cl"],overflow:Bn,offset:[-4,0],targetOffset:Fn},right:{points:["cl","cr"],overflow:Bn,offset:[4,0],targetOffset:Fn},top:{points:["bc","tc"],overflow:Bn,offset:[0,-4],targetOffset:Fn},bottom:{points:["tc","bc"],overflow:Bn,offset:[0,4],targetOffset:Fn},topLeft:{points:["bl","tl"],overflow:Bn,offset:[0,-4],targetOffset:Fn},leftTop:{points:["tr","tl"],overflow:Bn,offset:[-4,0],targetOffset:Fn},topRight:{points:["br","tr"],overflow:Bn,offset:[0,-4],targetOffset:Fn},rightTop:{points:["tl","tr"],overflow:Bn,offset:[4,0],targetOffset:Fn},bottomRight:{points:["tr","br"],overflow:Bn,offset:[0,4],targetOffset:Fn},rightBottom:{points:["bl","br"],overflow:Bn,offset:[4,0],targetOffset:Fn},bottomLeft:{points:["tl","bl"],overflow:Bn,offset:[0,4],targetOffset:Fn},leftBottom:{points:["br","bl"],overflow:Bn,offset:[-4,0],targetOffset:Fn}},ZR={prefixCls:String,id:String,overlayInnerStyle:V.any},JR=J({compatConfig:{MODE:3},name:"TooltipContent",props:ZR,setup(e,t){let{slots:n}=t;return()=>{var o;return f("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(o=n.overlay)===null||o===void 0?void 0:o.call(n)])}}});var eN=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:V.string.def("rc-tooltip"),mouseEnterDelay:V.number.def(.1),mouseLeaveDelay:V.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:V.object.def(()=>({})),arrowContent:V.any.def(null),tipId:String,builtinPlacements:V.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=Y(),l=()=>{const{prefixCls:c,tipId:d,overlayInnerStyle:p}=e;return[f("div",{class:`${c}-arrow`,key:"arrow"},[Nt(n,e,"arrowContent")]),f(JR,{key:"content",prefixCls:c,id:d,overlayInnerStyle:p},{overlay:n.overlay})]};r({getPopupDomNode:()=>a.value.getPopupDomNode(),triggerDOM:a,forcePopupAlign:()=>{var c;return(c=a.value)===null||c===void 0?void 0:c.forcePopupAlign()}});const s=Y(!1),u=Y(!1);return Le(()=>{const{destroyTooltipOnHide:c}=e;if(typeof c=="boolean")s.value=c;else if(c&&typeof c=="object"){const{keepParent:d}=c;s.value=d===!0,u.value=d===!1}}),()=>{const{overlayClassName:c,trigger:d,mouseEnterDelay:p,mouseLeaveDelay:g,overlayStyle:m,prefixCls:h,afterVisibleChange:b,transitionName:y,animation:S,placement:$,align:x,destroyTooltipOnHide:C,defaultVisible:O}=e,w=eN(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),M=v({},w);e.visible!==void 0&&(M.popupVisible=e.visible);const I=v(v(v({popupClassName:c,prefixCls:h,action:d,builtinPlacements:Px,popupPlacement:$,popupAlign:x,afterPopupVisibleChange:b,popupTransitionName:y,popupAnimation:S,defaultPopupVisible:O,destroyPopupOnHide:s.value,autoDestroy:u.value,mouseLeaveDelay:g,popupStyle:m,mouseEnterDelay:p},M),o),{onPopupVisibleChange:e.onVisibleChange||Yb,onPopupAlign:e.onPopupAlign||Yb,ref:a,popup:l()});return f(ii,I,{default:n.default})}}}),$g=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:Ne(),overlayInnerStyle:Ne(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:Ne(),builtinPlacements:Ne(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),nN={adjustX:1,adjustY:1},qb={adjustX:0,adjustY:0},oN=[0,0];function Qb(e){return typeof e=="boolean"?e?nN:qb:v(v({},qb),e)}function Ix(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:o=8,autoAdjustOverflow:r,arrowPointAtCenter:a}=e,l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(o+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(o+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,o+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,o+t]}};return Object.keys(l).forEach(i=>{l[i]=a?v(v({},l[i]),{overflow:Qb(r),targetOffset:oN}):v(v({},Px[i]),{overflow:Qb(r)}),l[i].ignoreShake=!0}),l}function zf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`),aN=["success","processing","error","default","warning"];function Wc(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...rN,...Kl].includes(e):Kl.includes(e)}function lN(e){return aN.includes(e)}function iN(e,t){const n=Wc(t),o=te({[`${e}-${t}`]:t&&n}),r={},a={};return t&&!n&&(r.background=t,a["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:a}}function Ni(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const Tx=8;function Mx(e){const t=Tx,{sizePopupArrow:n,contentRadius:o,borderRadiusOuter:r,limitVerticalRadius:a}=e,l=n/2-Math.ceil(r*(Math.sqrt(2)-1)),i=(o>12?o+2:12)-l,s=a?t-l:i;return{dropdownArrowOffset:i,dropdownArrowOffsetVertical:s}}function Ex(e,t){const{componentCls:n,sizePopupArrow:o,marginXXS:r,borderRadiusXS:a,borderRadiusOuter:l,boxShadowPopoverArrow:i}=e,{colorBg:s,showArrowCls:u,contentRadius:c=e.borderRadiusLG,limitVerticalRadius:d}=t,{dropdownArrowOffsetVertical:p,dropdownArrowOffset:g}=Mx({sizePopupArrow:o,contentRadius:c,borderRadiusOuter:l,limitVerticalRadius:d}),m=o/2+r;return{[n]:{[`${n}-arrow`]:[v(v({position:"absolute",zIndex:1,display:"block"},Iv(o,a,l,s,i)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:g}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:g}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:p},[`&-placement-leftBottom ${n}-arrow`]:{bottom:p},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:p},[`&-placement-rightBottom ${n}-arrow`]:{bottom:p},[Ni(["&-placement-topLeft","&-placement-top","&-placement-topRight"],u)]:{paddingBottom:m},[Ni(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],u)]:{paddingTop:m},[Ni(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],u)]:{paddingRight:{_skip_check_:!0,value:m}},[Ni(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],u)]:{paddingLeft:{_skip_check_:!0,value:m}}}}}const sN=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:i,boxShadowSecondary:s,paddingSM:u,paddingXS:c,tooltipRadiusOuter:d}=e;return[{[t]:v(v(v(v({},et(e)),{position:"absolute",zIndex:l,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:i,minHeight:i,padding:`${u/2}px ${c}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:a,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,Tx)}},[`${t}-content`]:{position:"relative"}}),Ms(e,(p,g)=>{let{darkColor:m}=g;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},Ex(ze(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},cN=(e,t)=>Qe("Tooltip",o=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:r,colorTextLightSolid:a,colorBgDefault:l,borderRadiusOuter:i}=o,s=ze(o,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:r,tooltipBg:l,tooltipRadiusOuter:i>4?4:i});return[sN(s),el(o,"zoom-big-fast")]},o=>{let{zIndexPopupBase:r,colorBgSpotlight:a}=o;return{zIndexPopup:r+70,colorBgDefault:a}})(e),uN=(e,t)=>{const n={},o=v({},e);return t.forEach(r=>{e&&r in e&&(n[r]=e[r],delete o[r])}),{picked:n,omitted:o}},_x=()=>v(v({},$g()),{title:V.any}),Dx=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),dN=J({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:rt(_x(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r,expose:a}=t;const{prefixCls:l,getPopupContainer:i,direction:s,rootPrefixCls:u}=Ee("tooltip",e),c=P(()=>{var _;return(_=e.open)!==null&&_!==void 0?_:e.visible}),d=Z(zf([e.open,e.visible])),p=Z();let g;ue(c,_=>{We.cancel(g),g=We(()=>{d.value=!!_})});const m=()=>{var _;const D=(_=e.title)!==null&&_!==void 0?_:n.title;return!D&&D!==0},h=_=>{const D=m();c.value===void 0&&(d.value=D?!1:_),D||(o("update:visible",_),o("visibleChange",_),o("update:open",_),o("openChange",_))};a({getPopupDomNode:()=>p.value.getPopupDomNode(),open:d,forcePopupAlign:()=>{var _;return(_=p.value)===null||_===void 0?void 0:_.forcePopupAlign()}});const y=P(()=>{const{builtinPlacements:_,arrowPointAtCenter:D,autoAdjustOverflow:F}=e;return _||Ix({arrowPointAtCenter:D,autoAdjustOverflow:F})}),S=_=>_||_==="",$=_=>{const D=_.type;if(typeof D=="object"&&_.props&&((D.__ANT_BUTTON===!0||D==="button")&&S(_.props.disabled)||D.__ANT_SWITCH===!0&&(S(_.props.disabled)||S(_.props.loading))||D.__ANT_RADIO===!0&&S(_.props.disabled))){const{picked:F,omitted:z}=uN(NC(_),["position","left","right","top","bottom","float","display","zIndex"]),H=v(v({display:"inline-block"},F),{cursor:"not-allowed",lineHeight:1,width:_.props&&_.props.block?"100%":void 0}),T=v(v({},z),{pointerEvents:"none"}),A=ut(_,{style:T},!0);return f("span",{style:H,class:`${l.value}-disabled-compatible-wrapper`},[A])}return _},x=()=>{var _,D;return(_=e.title)!==null&&_!==void 0?_:(D=n.title)===null||D===void 0?void 0:D.call(n)},C=(_,D)=>{const F=y.value,z=Object.keys(F).find(H=>{var T,A;return F[H].points[0]===((T=D.points)===null||T===void 0?void 0:T[0])&&F[H].points[1]===((A=D.points)===null||A===void 0?void 0:A[1])});if(z){const H=_.getBoundingClientRect(),T={top:"50%",left:"50%"};z.indexOf("top")>=0||z.indexOf("Bottom")>=0?T.top=`${H.height-D.offset[1]}px`:(z.indexOf("Top")>=0||z.indexOf("bottom")>=0)&&(T.top=`${-D.offset[1]}px`),z.indexOf("left")>=0||z.indexOf("Right")>=0?T.left=`${H.width-D.offset[0]}px`:(z.indexOf("right")>=0||z.indexOf("Left")>=0)&&(T.left=`${-D.offset[0]}px`),_.style.transformOrigin=`${T.left} ${T.top}`}},O=P(()=>iN(l.value,e.color)),w=P(()=>r["data-popover-inject"]),[M,I]=cN(l,P(()=>!w.value));return()=>{var _,D;const{openClassName:F,overlayClassName:z,overlayStyle:H,overlayInnerStyle:T}=e;let A=(D=Tt((_=n.default)===null||_===void 0?void 0:_.call(n)))!==null&&D!==void 0?D:null;A=A.length===1?A[0]:A;let R=d.value;if(c.value===void 0&&m()&&(R=!1),!A)return null;const E=$(kt(A)&&!GT(A)?A:f("span",null,[A])),k=te({[F||`${l.value}-open`]:!0,[E.props&&E.props.class]:E.props&&E.props.class}),B=te(z,{[`${l.value}-rtl`]:s.value==="rtl"},O.value.className,I.value),L=v(v({},O.value.overlayStyle),T),j=O.value.arrowStyle,K=v(v(v({},r),e),{prefixCls:l.value,getPopupContainer:i==null?void 0:i.value,builtinPlacements:y.value,visible:R,ref:p,overlayClassName:B,overlayStyle:v(v({},j),H),overlayInnerStyle:L,onVisibleChange:h,onPopupAlign:C,transitionName:en(u.value,"zoom-big-fast",e.transitionName)});return M(f(tN,K,{default:()=>[d.value?ut(E,{class:k}):E],arrowContent:()=>f("span",{class:`${l.value}-arrow-content`},null),overlay:x}))}}}),oo=Vt(dN),fN=e=>{const{componentCls:t,popoverBg:n,popoverColor:o,width:r,fontWeightStrong:a,popoverPadding:l,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:c,marginXS:d,colorBgElevated:p}=e;return[{[t]:v(v({},et(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":p,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:i,padding:l},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a},[`${t}-inner-content`]:{color:o}})},Ex(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},pN=e=>{const{componentCls:t}=e;return{[t]:Kl.map(n=>{const o=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}})}},vN=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:a,controlHeight:l,fontSize:i,lineHeight:s,padding:u}=e,c=l-Math.round(i*s),d=c/2,p=c/2-n,g=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d}px ${g}px ${p}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${a}px ${g}px`}}}},gN=Qe("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,r=ze(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[fN(r),pN(r),o&&vN(r),el(r,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),hN=()=>v(v({},$g()),{content:xt(),title:xt()}),mN=J({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:rt(hN(),v(v({},Dx()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const a=Z();yt(e.visible===void 0),n({getPopupDomNode:()=>{var p,g;return(g=(p=a.value)===null||p===void 0?void 0:p.getPopupDomNode)===null||g===void 0?void 0:g.call(p)}});const{prefixCls:l,configProvider:i}=Ee("popover",e),[s,u]=gN(l),c=P(()=>i.getPrefixCls()),d=()=>{var p,g;const{title:m=Tt((p=o.title)===null||p===void 0?void 0:p.call(o)),content:h=Tt((g=o.content)===null||g===void 0?void 0:g.call(o))}=e,b=!!(Array.isArray(m)?m.length:m),y=!!(Array.isArray(h)?h.length:m);return!b&&!y?null:f(nt,null,[b&&f("div",{class:`${l.value}-title`},[m]),f("div",{class:`${l.value}-inner-content`},[h])])};return()=>{const p=te(e.overlayClassName,u.value);return s(f(oo,N(N(N({},qe(e,["title","content"])),r),{},{prefixCls:l.value,ref:a,overlayClassName:p,transitionName:en(c.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:d,default:o.default}))}}}),Ax=Vt(mN),bN=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),yN=J({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:bN(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("avatar",e),l=P(()=>`${r.value}-group`),[i,s]=wx(r);return Le(()=>{const u={size:e.size,shape:e.shape};YR(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:c,maxStyle:d,maxPopoverTrigger:p="hover",shape:g}=e,m={[l.value]:!0,[`${l.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[s.value]:!0},h=Nt(n,e),b=mt(h).map((S,$)=>ut(S,{key:`avatar-key-${$}`})),y=b.length;if(c&&c[f(Ol,{style:d,shape:g},{default:()=>[`+${y-c}`]})]})),i(f("div",N(N({},o),{},{class:m,style:o.style}),[S]))}return i(f("div",N(N({},o),{},{class:m,style:o.style}),[b]))}}}),Hf=yN;Ol.Group=Hf;Ol.install=function(e){return e.component(Ol.name,Ol),e.component(Hf.name,Hf),e};function Zb(e){let{prefixCls:t,value:n,current:o,offset:r=0}=e,a;return r&&(a={position:"absolute",top:`${r}00%`,left:0}),f("p",{style:a,class:te(`${t}-only-unit`,{current:o})},[n])}function SN(e,t,n){let o=e,r=0;for(;(o+10)%10!==t;)o+=n,r+=n;return r}const $N=J({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(e){const t=P(()=>Number(e.value)),n=P(()=>Math.abs(e.count)),o=vt({prevValue:t.value,prevCount:n.value}),r=()=>{o.prevValue=t.value,o.prevCount=n.value},a=Z();return ue(t,()=>{clearTimeout(a.value),a.value=setTimeout(()=>{r()},1e3)},{flush:"post"}),An(()=>{clearTimeout(a.value)}),()=>{let l,i={};const s=t.value;if(o.prevValue===s||Number.isNaN(s)||Number.isNaN(o.prevValue))l=[Zb(v(v({},e),{current:!0}))],i={transition:"none"};else{l=[];const u=s+10,c=[];for(let g=s;g<=u;g+=1)c.push(g);const d=c.findIndex(g=>g%10===o.prevValue);l=c.map((g,m)=>{const h=g%10;return Zb(v(v({},e),{value:h,offset:m-d,current:m===d}))});const p=o.prevCountr()},[l])}}});var CN=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var a;const l=v(v({},e),n),{prefixCls:i,count:s,title:u,show:c,component:d="sup",class:p,style:g}=l,m=CN(l,["prefixCls","count","title","show","component","class","style"]),h=v(v({},m),{style:g,"data-show":e.show,class:te(r.value,p),title:u});let b=s;if(s&&Number(s)%1===0){const S=String(s).split("");b=S.map(($,x)=>f($N,{prefixCls:r.value,count:Number(s),value:$,key:S.length-x},null))}g&&g.borderColor&&(h.style=v(v({},g),{boxShadow:`0 0 0 1px ${g.borderColor} inset`}));const y=Tt((a=o.default)===null||a===void 0?void 0:a.call(o));return y&&y.length?ut(y,{class:te(`${r.value}-custom-component`)},!1):f(d,h,{default:()=>[b]})}}}),ON=new Ue("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),PN=new Ue("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),IN=new Ue("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),TN=new Ue("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),MN=new Ue("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),EN=new Ue("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),_N=e=>{const{componentCls:t,iconCls:n,antCls:o,badgeFontHeight:r,badgeShadowSize:a,badgeHeightSm:l,motionDurationSlow:i,badgeStatusSize:s,marginXS:u,badgeRibbonOffset:c}=e,d=`${o}-scroll-number`,p=`${o}-ribbon`,g=`${o}-ribbon-wrapper`,m=Ms(e,(b,y)=>{let{darkColor:S}=y;return{[`&${t} ${t}-color-${b}`]:{background:S,[`&:not(${t}-count)`]:{color:S}}}}),h=Ms(e,(b,y)=>{let{darkColor:S}=y;return{[`&${p}-color-${b}`]:{background:S,color:S}}});return{[t]:v(v(v(v({},et(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:l,height:l,fontSize:e.badgeFontSizeSm,lineHeight:`${l}px`,borderRadius:l/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${d}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${d}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:EN,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:ON,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}}}),m),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:PN,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:IN,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:TN,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:MN,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${d}-custom-component, ${t}-count`]:{transform:"none"},[`${d}-custom-component, ${d}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${d}`]:{overflow:"hidden",[`${d}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${d}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${d}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${d}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${g}`]:{position:"relative"},[`${p}`]:v(v(v(v({},et(e)),{position:"absolute",top:u,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${r}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${p}-text`]:{color:e.colorTextLightSolid},[`${p}-corner`]:{position:"absolute",top:"100%",width:c,height:c,color:"currentcolor",border:`${c/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),h),{[`&${p}-placement-end`]:{insetInlineEnd:-c,borderEndEndRadius:0,[`${p}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${p}-placement-start`]:{insetInlineStart:-c,borderEndStartRadius:0,[`${p}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},Rx=Qe("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:o,lineWidth:r,marginXS:a,colorBorderBg:l}=e,i=Math.round(t*n),s=r,u="auto",c=i-2*s,d=e.colorBgContainer,p="normal",g=o,m=e.colorError,h=e.colorErrorHover,b=t,y=o/2,S=o,$=o/2,x=ze(e,{badgeFontHeight:i,badgeShadowSize:s,badgeZIndex:u,badgeHeight:c,badgeTextColor:d,badgeFontWeight:p,badgeFontSize:g,badgeColor:m,badgeColorHover:h,badgeShadowColor:l,badgeHeightSm:b,badgeDotSize:y,badgeFontSizeSm:S,badgeStatusSize:$,badgeProcessingDuration:"1.2s",badgeRibbonOffset:a,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[_N(x)]});var DN=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefix:String,color:{type:String},text:V.any,placement:{type:String,default:"end"}}),jf=J({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:AN(),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=Ee("ribbon",e),[l,i]=Rx(r),s=P(()=>Wc(e.color,!1)),u=P(()=>[r.value,`${r.value}-placement-${e.placement}`,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-color-${e.color}`]:s.value}]);return()=>{var c,d;const{class:p,style:g}=n,m=DN(n,["class","style"]),h={},b={};return e.color&&!s.value&&(h.background=e.color,b.color=e.color),l(f("div",N({class:`${r.value}-wrapper ${i.value}`},m),[(c=o.default)===null||c===void 0?void 0:c.call(o),f("div",{class:[u.value,p,i.value],style:v(v({},h),g)},[f("span",{class:`${r.value}-text`},[e.text||((d=o.text)===null||d===void 0?void 0:d.call(o))]),f("div",{class:`${r.value}-corner`,style:b},null)])]))}}}),Ls=e=>!isNaN(parseFloat(e))&&isFinite(e),RN=()=>({count:V.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:V.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),od=J({compatConfig:{MODE:3},name:"ABadge",Ribbon:jf,inheritAttrs:!1,props:RN(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("badge",e),[l,i]=Rx(r),s=P(()=>e.count>e.overflowCount?`${e.overflowCount}+`:e.count),u=P(()=>s.value==="0"||s.value===0),c=P(()=>e.count===null||u.value&&!e.showZero),d=P(()=>(e.status!==null&&e.status!==void 0||e.color!==null&&e.color!==void 0)&&c.value),p=P(()=>e.dot&&!u.value),g=P(()=>p.value?"":s.value),m=P(()=>(g.value===null||g.value===void 0||g.value===""||u.value&&!e.showZero)&&!p.value),h=Z(e.count),b=Z(g.value),y=Z(p.value);ue([()=>e.count,g,p],()=>{m.value||(h.value=e.count,b.value=g.value,y.value=p.value)},{immediate:!0});const S=P(()=>Wc(e.color,!1)),$=P(()=>({[`${r.value}-status-dot`]:d.value,[`${r.value}-status-${e.status}`]:!!e.status,[`${r.value}-color-${e.color}`]:S.value})),x=P(()=>e.color&&!S.value?{background:e.color,color:e.color}:{}),C=P(()=>({[`${r.value}-dot`]:y.value,[`${r.value}-count`]:!y.value,[`${r.value}-count-sm`]:e.size==="small",[`${r.value}-multiple-words`]:!y.value&&b.value&&b.value.toString().length>1,[`${r.value}-status-${e.status}`]:!!e.status,[`${r.value}-color-${e.color}`]:S.value}));return()=>{var O,w;const{offset:M,title:I,color:_}=e,D=o.style,F=Nt(n,e,"text"),z=r.value,H=h.value;let T=mt((O=n.default)===null||O===void 0?void 0:O.call(n));T=T.length?T:null;const A=!!(!m.value||n.count),R=(()=>{if(!M)return v({},D);const G={marginTop:Ls(M[1])?`${M[1]}px`:M[1]};return a.value==="rtl"?G.left=`${parseInt(M[0],10)}px`:G.right=`${-parseInt(M[0],10)}px`,v(v({},G),D)})(),E=I??(typeof H=="string"||typeof H=="number"?H:void 0),k=A||!F?null:f("span",{class:`${z}-status-text`},[F]),B=typeof H=="object"||H===void 0&&n.count?ut(H??((w=n.count)===null||w===void 0?void 0:w.call(n)),{style:R},!1):null,L=te(z,{[`${z}-status`]:d.value,[`${z}-not-a-wrapper`]:!T,[`${z}-rtl`]:a.value==="rtl"},o.class,i.value);if(!T&&d.value){const G=R.color;return l(f("span",N(N({},o),{},{class:L,style:R}),[f("span",{class:$.value,style:x.value},null),f("span",{style:{color:G},class:`${z}-status-text`},[F])]))}const j=bo(T?`${z}-zoom`:"",{appear:!1});let K=v(v({},R),e.numberStyle);return _&&!S.value&&(K=K||{},K.background=_),l(f("span",N(N({},o),{},{class:L}),[T,f(rn,j,{default:()=>[Kt(f(wN,{prefixCls:e.scrollNumberPrefixCls,show:A,class:C.value,count:b.value,title:E,style:K,key:"scrollNumber"},{default:()=>[B]}),[[Wn,A]])]}),k]))}}});od.install=function(e){return e.component(od.name,od),e.component(jf.name,jf),e};const aa={adjustX:1,adjustY:1},la=[0,0],NN={topLeft:{points:["bl","tl"],overflow:aa,offset:[0,-4],targetOffset:la},topCenter:{points:["bc","tc"],overflow:aa,offset:[0,-4],targetOffset:la},topRight:{points:["br","tr"],overflow:aa,offset:[0,-4],targetOffset:la},bottomLeft:{points:["tl","bl"],overflow:aa,offset:[0,4],targetOffset:la},bottomCenter:{points:["tc","bc"],overflow:aa,offset:[0,4],targetOffset:la},bottomRight:{points:["tr","br"],overflow:aa,offset:[0,4],targetOffset:la}},kN=NN;var BN=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.visible,g=>{g!==void 0&&(a.value=g)});const l=Z();r({triggerRef:l});const i=g=>{e.visible===void 0&&(a.value=!1),o("overlayClick",g)},s=g=>{e.visible===void 0&&(a.value=g),o("visibleChange",g)},u=()=>{var g;const m=(g=n.overlay)===null||g===void 0?void 0:g.call(n),h={prefixCls:`${e.prefixCls}-menu`,onClick:i};return f(nt,{key:AC},[e.arrow&&f("div",{class:`${e.prefixCls}-arrow`},null),ut(m,h,!1)])},c=P(()=>{const{minOverlayWidthMatchTrigger:g=!e.alignPoint}=e;return g}),d=()=>{var g;const m=(g=n.default)===null||g===void 0?void 0:g.call(n);return a.value&&m?ut(m[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):m},p=P(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:g,arrow:m,showAction:h,overlayStyle:b,trigger:y,placement:S,align:$,getPopupContainer:x,transitionName:C,animation:O,overlayClassName:w}=e,M=BN(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return f(ii,N(N({},M),{},{prefixCls:g,ref:l,popupClassName:te(w,{[`${g}-show-arrow`]:m}),popupStyle:b,builtinPlacements:kN,action:y,showAction:h,hideAction:p.value||[],popupPlacement:S,popupAlign:$,popupTransitionName:C,popupAnimation:O,popupVisible:a.value,stretch:c.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:x}),{popup:u,default:d})}}}),FN=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},LN=Qe("Wave",e=>[FN(e)]);function zN(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function rd(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&zN(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function HN(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return rd(t)?t:rd(n)?n:rd(o)?o:null}function ad(e){return Number.isNaN(e)?0:e}const jN=J({props:{target:Ne(),className:String},setup(e){const t=Y(null),[n,o]=pt(null),[r,a]=pt([]),[l,i]=pt(0),[s,u]=pt(0),[c,d]=pt(0),[p,g]=pt(0),[m,h]=pt(!1);function b(){const{target:w}=e,M=getComputedStyle(w);o(HN(w));const I=M.position==="static",{borderLeftWidth:_,borderTopWidth:D}=M;i(I?w.offsetLeft:ad(-parseFloat(_))),u(I?w.offsetTop:ad(-parseFloat(D))),d(w.offsetWidth),g(w.offsetHeight);const{borderTopLeftRadius:F,borderTopRightRadius:z,borderBottomLeftRadius:H,borderBottomRightRadius:T}=M;a([F,z,T,H].map(A=>ad(parseFloat(A))))}let y,S,$;const x=()=>{clearTimeout($),We.cancel(S),y==null||y.disconnect()},C=()=>{var w;const M=(w=t.value)===null||w===void 0?void 0:w.parentElement;M&&(zr(null,M),M.parentElement&&M.parentElement.removeChild(M))};Ve(()=>{x(),$=setTimeout(()=>{C()},5e3);const{target:w}=e;w&&(S=We(()=>{b(),h(!0)}),typeof ResizeObserver<"u"&&(y=new ResizeObserver(b),y.observe(w)))}),Je(()=>{x()});const O=w=>{w.propertyName==="opacity"&&C()};return()=>{if(!m.value)return null;const w={left:`${l.value}px`,top:`${s.value}px`,width:`${c.value}px`,height:`${p.value}px`,borderRadius:r.value.map(M=>`${M}px`).join(" ")};return n&&(w["--wave-color"]=n.value),f(rn,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[f("div",{ref:t,class:e.className,style:w,onTransitionend:O},null)]})}}});function VN(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),zr(f(jN,{target:e,className:t},null),n)}function WN(e,t,n){function o(){var r;const a=Pn(e);!((r=n==null?void 0:n.value)===null||r===void 0)&&r.disabled||!a||VN(a,t.value)}return o}const Cg=J({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const o=Dn(),{prefixCls:r,wave:a}=Ee("wave",e),[,l]=LN(r),i=WN(o,P(()=>te(r.value,l.value)),a);let s;const u=()=>{Pn(o).removeEventListener("click",s,!0)};return Ve(()=>{ue(()=>e.disabled,()=>{u(),lt(()=>{const c=Pn(o);c==null||c.removeEventListener("click",s,!0),!(!c||c.nodeType!==1||e.disabled)&&(s=d=>{d.target.tagName==="INPUT"||!Tc(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||i()},c.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),Je(()=>{u()}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});function zs(e){return e==="danger"?{danger:!0}:{type:e}}const kx=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:V.any,href:String,target:String,title:String,onClick:Hr(),onMousedown:Hr()}),Jb=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},e1=e=>{lt(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},t1=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},KN=J({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:o}=e;if(t)return f("span",{class:`${n}-loading-icon`},[f(Un,null,null)]);const r=!!o;return f(rn,{name:`${n}-loading-icon-motion`,onBeforeEnter:Jb,onEnter:e1,onAfterEnter:t1,onBeforeLeave:e1,onLeave:a=>{setTimeout(()=>{Jb(a)})},onAfterLeave:t1},{default:()=>[r?f("span",{class:`${n}-loading-icon`},[f(Un,null,null)]):null]})}}}),n1=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),GN=e=>{const{componentCls:t,fontSize:n,lineWidth:o,colorPrimaryHover:r,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-o,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},n1(`${t}-primary`,r),n1(`${t}-danger`,a)]}},XN=GN;function UN(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function YN(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function qN(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:v(v({},UN(e,t)),YN(e.componentCls,t))}}const QN=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":v({},Lo(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},zo=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),ZN=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),JN=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Vf=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Hs=(e,t,n,o,r,a,l)=>({[`&${e}-background-ghost`]:v(v({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},zo(v({backgroundColor:"transparent"},a),v({backgroundColor:"transparent"},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:r||void 0}})}),xg=e=>({"&:disabled":v({},Vf(e))}),Bx=e=>v({},xg(e)),js=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),Fx=e=>v(v(v(v(v({},Bx(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),zo({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Hs(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:v(v(v({color:e.colorError,borderColor:e.colorError},zo({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Hs(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),xg(e))}),ek=e=>v(v(v(v(v({},Bx(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),zo({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Hs(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:v(v(v({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},zo({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Hs(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),xg(e))}),tk=e=>v(v({},Fx(e)),{borderStyle:"dashed"}),nk=e=>v(v(v({color:e.colorLink},zo({color:e.colorLinkHover},{color:e.colorLinkActive})),js(e)),{[`&${e.componentCls}-dangerous`]:v(v({color:e.colorError},zo({color:e.colorErrorHover},{color:e.colorErrorActive})),js(e))}),ok=e=>v(v(v({},zo({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),js(e)),{[`&${e.componentCls}-dangerous`]:v(v({color:e.colorError},js(e)),zo({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),rk=e=>v(v({},Vf(e)),{[`&${e.componentCls}:hover`]:v({},Vf(e))}),ak=e=>{const{componentCls:t}=e;return{[`${t}-default`]:Fx(e),[`${t}-primary`]:ek(e),[`${t}-dashed`]:tk(e),[`${t}-link`]:nk(e),[`${t}-text`]:ok(e),[`${t}-disabled`]:rk(e)}},wg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:o,controlHeight:r,fontSize:a,lineHeight:l,lineWidth:i,borderRadius:s,buttonPaddingHorizontal:u}=e,c=Math.max(0,(r-a*l)/2-i),d=u-i,p=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:a,height:r,padding:`${c}px ${d}px`,borderRadius:s,[`&${p}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${p}) ${n}-loading-icon > ${o}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:ZN(e)},{[`${n}${n}-round${t}`]:JN(e)}]},lk=e=>wg(e),ik=e=>{const t=ze(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return wg(t,`${e.componentCls}-sm`)},sk=e=>{const t=ze(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return wg(t,`${e.componentCls}-lg`)},ck=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},uk=Qe("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,o=ze(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[QN(o),ik(o),lk(o),sk(o),ck(o),ak(o),XN(o),tl(e,{focus:!1}),qN(e)]}),dk=()=>({prefixCls:String,size:{type:String}}),Lx=ig(),Wf=J({compatConfig:{MODE:3},name:"AButtonGroup",props:dk(),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=Ee("btn-group",e),[,,a]=Qr();Lx.useProvide(vt({size:P(()=>e.size)}));const l=P(()=>{const{size:i}=e;let s="";switch(i){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:bt(!i,"Button.Group","Invalid prop `size`.")}return{[`${o.value}`]:!0,[`${o.value}-${s}`]:s,[`${o.value}-rtl`]:r.value==="rtl",[a.value]:!0}});return()=>{var i;return f("div",{class:l.value},[mt((i=n.default)===null||i===void 0?void 0:i.call(n))])}}}),o1=/^[\u4e00-\u9fa5]{2}$/,r1=o1.test.bind(o1);function ki(e){return e==="text"||e==="link"}const qt=J({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:rt(kx(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r,expose:a}=t;const{prefixCls:l,autoInsertSpaceInButton:i,direction:s,size:u}=Ee("btn",e),[c,d]=uk(l),p=Lx.useInject(),g=gn(),m=P(()=>{var T;return(T=e.disabled)!==null&&T!==void 0?T:g.value}),h=Y(null),b=Y(void 0);let y=!1;const S=Y(!1),$=Y(!1),x=P(()=>i.value!==!1),{compactSize:C,compactItemClassnames:O}=fr(l,s),w=P(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);ue(w,T=>{clearTimeout(b.value),typeof w.value=="number"?b.value=setTimeout(()=>{S.value=T},w.value):S.value=T},{immediate:!0});const M=P(()=>{const{type:T,shape:A="default",ghost:R,block:E,danger:k}=e,B=l.value,L={large:"lg",small:"sm",middle:void 0},j=C.value||(p==null?void 0:p.size)||u.value,K=j&&L[j]||"";return[O.value,{[d.value]:!0,[`${B}`]:!0,[`${B}-${A}`]:A!=="default"&&A,[`${B}-${T}`]:T,[`${B}-${K}`]:K,[`${B}-loading`]:S.value,[`${B}-background-ghost`]:R&&!ki(T),[`${B}-two-chinese-chars`]:$.value&&x.value,[`${B}-block`]:E,[`${B}-dangerous`]:!!k,[`${B}-rtl`]:s.value==="rtl"}]}),I=()=>{const T=h.value;if(!T||i.value===!1)return;const A=T.textContent;y&&r1(A)?$.value||($.value=!0):$.value&&($.value=!1)},_=T=>{if(S.value||m.value){T.preventDefault();return}r("click",T)},D=T=>{r("mousedown",T)},F=(T,A)=>{const R=A?" ":"";if(T.type===Gp){let E=T.children.trim();return r1(E)&&(E=E.split("").join(R)),f("span",null,[E])}return T};return Le(()=>{bt(!(e.ghost&&ki(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),Ve(I),ao(I),Je(()=>{b.value&&clearTimeout(b.value)}),a({focus:()=>{var T;(T=h.value)===null||T===void 0||T.focus()},blur:()=>{var T;(T=h.value)===null||T===void 0||T.blur()}}),()=>{var T,A;const{icon:R=(T=n.icon)===null||T===void 0?void 0:T.call(n)}=e,E=mt((A=n.default)===null||A===void 0?void 0:A.call(n));y=E.length===1&&!R&&!ki(e.type);const{type:k,htmlType:B,href:L,title:j,target:K}=e,G=S.value?"loading":R,U=v(v({},o),{title:j,disabled:m.value,class:[M.value,o.class,{[`${l.value}-icon-only`]:E.length===0&&!!G}],onClick:_,onMousedown:D});m.value||delete U.disabled;const X=R&&!S.value?R:f(KN,{existIcon:!!R,prefixCls:l.value,loading:!!S.value},null),ee=E.map(Q=>F(Q,y&&x.value));if(L!==void 0)return c(f("a",N(N({},U),{},{href:L,target:K,ref:h}),[X,ee]));let oe=f("button",N(N({},U),{},{ref:h,type:B}),[X,ee]);if(!ki(k)){const Q=function(){return oe}();oe=f(Cg,{ref:"wave",disabled:!!S.value},{default:()=>[Q]})}return c(oe)}}});qt.Group=Wf;qt.install=function(e){return e.component(qt.name,qt),e.component(Wf.name,Wf),e};const zx=()=>({arrow:Ge([Boolean,Object]),trigger:{type:[Array,String]},menu:Ne(),overlay:V.any,visible:Ce(),open:Ce(),disabled:Ce(),danger:Ce(),autofocus:Ce(),align:Ne(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:Ne(),forceRender:Ce(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:Ce(),destroyPopupOnHide:Ce(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),ld=kx(),fk=()=>v(v({},zx()),{type:ld.type,size:String,htmlType:ld.htmlType,href:String,disabled:Ce(),prefixCls:String,icon:V.any,title:String,loading:ld.loading,onClick:Hr()});var pk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const vk=pk;function a1(e){for(var t=1;t{const{componentCls:t,antCls:n,paddingXS:o,opacityLoading:r}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:r},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:o}}}}},mk=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},bk=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,dropdownArrowOffset:a,sizePopupArrow:l,antCls:i,iconCls:s,motionDurationMid:u,dropdownPaddingVertical:c,fontSize:d,dropdownEdgeChildPadding:p,colorTextDisabled:g,fontSizeIcon:m,controlPaddingHorizontal:h,colorBgElevated:b,boxShadowPopoverArrow:y}=e;return[{[t]:v(v({},et(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:-r+l/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` + &-show-arrow${t}-placement-topLeft, + &-show-arrow${t}-placement-top, + &-show-arrow${t}-placement-topRight + `]:{paddingBottom:r},[` + &-show-arrow${t}-placement-bottomLeft, + &-show-arrow${t}-placement-bottom, + &-show-arrow${t}-placement-bottomRight + `]:{paddingTop:r},[`${t}-arrow`]:v({position:"absolute",zIndex:1,display:"block"},Iv(l,e.borderRadiusXS,e.borderRadiusOuter,b,y)),[` + &-placement-top > ${t}-arrow, + &-placement-topLeft > ${t}-arrow, + &-placement-topRight > ${t}-arrow + `]:{bottom:r,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[` + &-placement-bottom > ${t}-arrow, + &-placement-bottomLeft > ${t}-arrow, + &-placement-bottomRight > ${t}-arrow + `]:{top:r,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Fc},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:zc},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Lc},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Hc}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:v(v({padding:p,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Lo(e)),{[`${n}-item-group-title`]:{padding:`${c}px ${h}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:v(v({clear:"both",margin:0,padding:`${c}px ${h}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Lo(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:h+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:b,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[yo(e,"slide-up"),yo(e,"slide-down"),za(e,"move-up"),za(e,"move-down"),el(e,"zoom-big")]]},Hx=Qe("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:o,sizePopupArrow:r,controlHeight:a,fontSize:l,lineHeight:i,paddingXXS:s,componentCls:u,borderRadiusOuter:c,borderRadiusLG:d}=e,p=(a-l*i)/2,{dropdownArrowOffset:g}=Mx({sizePopupArrow:r,contentRadius:d,borderRadiusOuter:c}),m=ze(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:r/2+o,dropdownArrowOffset:g,dropdownPaddingVertical:p,dropdownEdgeChildPadding:s});return[bk(m),hk(m),mk(m)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var yk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{r("update:visible",p),r("visibleChange",p),r("update:open",p),r("openChange",p)},{prefixCls:l,direction:i,getPopupContainer:s}=Ee("dropdown",e),u=P(()=>`${l.value}-button`),[c,d]=Hx(l);return()=>{var p,g;const m=v(v({},e),o),{type:h="default",disabled:b,danger:y,loading:S,htmlType:$,class:x="",overlay:C=(p=n.overlay)===null||p===void 0?void 0:p.call(n),trigger:O,align:w,open:M,visible:I,onVisibleChange:_,placement:D=i.value==="rtl"?"bottomLeft":"bottomRight",href:F,title:z,icon:H=((g=n.icon)===null||g===void 0?void 0:g.call(n))||f(Pg,null,null),mouseEnterDelay:T,mouseLeaveDelay:A,overlayClassName:R,overlayStyle:E,destroyPopupOnHide:k,onClick:B,"onUpdate:open":L}=m,j=yk(m,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),K={align:w,disabled:b,trigger:b?[]:O,placement:D,getPopupContainer:s==null?void 0:s.value,onOpenChange:a,mouseEnterDelay:T,mouseLeaveDelay:A,open:M??I,overlayClassName:R,overlayStyle:E,destroyPopupOnHide:k},G=f(qt,{danger:y,type:h,disabled:b,loading:S,onClick:B,htmlType:$,href:F,title:z},{default:n.default}),U=f(qt,{danger:y,type:h,icon:H},null);return c(f(Sk,N(N({},j),{},{class:te(u.value,x,d.value)}),{default:()=>[n.leftButton?n.leftButton({button:G}):G,f(ar,K,{default:()=>[n.rightButton?n.rightButton({button:U}):U],overlay:()=>C})]}))}}});var $k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const Ck=$k;function l1(e){for(var t=1;tXe(jx,void 0),Wx=e=>{var t,n,o;const{prefixCls:r,mode:a,selectable:l,validator:i,onClick:s,expandIcon:u}=Vx()||{};Ke(jx,{prefixCls:P(()=>{var c,d;return(d=(c=e.prefixCls)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:r==null?void 0:r.value}),mode:P(()=>{var c,d;return(d=(c=e.mode)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:a==null?void 0:a.value}),selectable:P(()=>{var c,d;return(d=(c=e.selectable)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:l==null?void 0:l.value}),validator:(t=e.validator)!==null&&t!==void 0?t:i,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(o=e.expandIcon)!==null&&o!==void 0?o:u==null?void 0:u.value})},Kx=J({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:rt(zx(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,rootPrefixCls:l,direction:i,getPopupContainer:s}=Ee("dropdown",e),[u,c]=Hx(a),d=P(()=>{const{placement:b="",transitionName:y}=e;return y!==void 0?y:b.includes("top")?`${l.value}-slide-down`:`${l.value}-slide-up`});Wx({prefixCls:P(()=>`${a.value}-menu`),expandIcon:P(()=>f("span",{class:`${a.value}-menu-submenu-arrow`},[f(sr,{class:`${a.value}-menu-submenu-arrow-icon`},null)])),mode:P(()=>"vertical"),selectable:P(()=>!1),onClick:()=>{},validator:b=>{yt()}});const p=()=>{var b,y,S;const $=e.overlay||((b=n.overlay)===null||b===void 0?void 0:b.call(n)),x=Array.isArray($)?$[0]:$;if(!x)return null;const C=x.props||{};bt(!C.mode||C.mode==="vertical","Dropdown",`mode="${C.mode}" is not supported for Dropdown's Menu.`);const{selectable:O=!1,expandIcon:w=(S=(y=x.children)===null||y===void 0?void 0:y.expandIcon)===null||S===void 0?void 0:S.call(y)}=C,M=typeof w<"u"&&kt(w)?w:f("span",{class:`${a.value}-menu-submenu-arrow`},[f(sr,{class:`${a.value}-menu-submenu-arrow-icon`},null)]);return kt(x)?ut(x,{mode:"vertical",selectable:O,expandIcon:()=>M}):x},g=P(()=>{const b=e.placement;if(!b)return i.value==="rtl"?"bottomRight":"bottomLeft";if(b.includes("Center")){const y=b.slice(0,b.indexOf("Center"));return bt(!b.includes("Center"),"Dropdown",`You are using '${b}' placement in Dropdown, which is deprecated. Try to use '${y}' instead.`),y}return b}),m=P(()=>typeof e.visible=="boolean"?e.visible:e.open),h=b=>{r("update:visible",b),r("visibleChange",b),r("update:open",b),r("openChange",b)};return()=>{var b,y;const{arrow:S,trigger:$,disabled:x,overlayClassName:C}=e,O=(b=n.default)===null||b===void 0?void 0:b.call(n)[0],w=ut(O,v({class:te((y=O==null?void 0:O.props)===null||y===void 0?void 0:y.class,{[`${a.value}-rtl`]:i.value==="rtl"},`${a.value}-trigger`)},x?{disabled:x}:{})),M=te(C,c.value,{[`${a.value}-rtl`]:i.value==="rtl"}),I=x?[]:$;let _;I&&I.includes("contextmenu")&&(_=!0);const D=Ix({arrowPointAtCenter:typeof S=="object"&&S.pointAtCenter,autoAdjustOverflow:!0}),F=qe(v(v(v({},e),o),{visible:m.value,builtinPlacements:D,overlayClassName:M,arrow:!!S,alignPoint:_,prefixCls:a.value,getPopupContainer:s==null?void 0:s.value,transitionName:d.value,trigger:I,onVisibleChange:h,placement:g.value}),["overlay","onUpdate:visible"]);return u(f(Nx,F,{default:()=>[w],overlay:p}))}}});Kx.Button=Vs;const ar=Kx;var wk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,href:String,separator:V.any,dropdownProps:Ne(),overlay:V.any,onClick:Hr()}),Ws=J({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:Ok(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a}=Ee("breadcrumb",e),l=(s,u)=>{const c=Nt(n,e,"overlay");return c?f(ar,N(N({},e.dropdownProps),{},{overlay:c,placement:"bottom"}),{default:()=>[f("span",{class:`${u}-overlay-link`},[s,f(Nc,null,null)])]}):s},i=s=>{r("click",s)};return()=>{var s;const u=(s=Nt(n,e,"separator"))!==null&&s!==void 0?s:"/",c=Nt(n,e),{class:d,style:p}=o,g=wk(o,["class","style"]);let m;return e.href!==void 0?m=f("a",N({class:`${a.value}-link`,onClick:i},g),[c]):m=f("span",N({class:`${a.value}-link`,onClick:i},g),[c]),m=l(m,a.value),c!=null?f("li",{class:d,style:p},[m,u&&f("span",{class:`${a.value}-separator`},[u])]):null}}});function Pk(e,t,n,o){let r=n?n.call(o,e,t):void 0;if(r!==void 0)return!!r;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;const i=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s{Ke(Gx,e)},Go=()=>Xe(Gx),Ux=Symbol("ForceRenderKey"),Ik=e=>{Ke(Ux,e)},Yx=()=>Xe(Ux,!1),qx=Symbol("menuFirstLevelContextKey"),Qx=e=>{Ke(qx,e)},Tk=()=>Xe(qx,!0),Ks=J({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const o=Go(),r=v({},o);return e.mode!==void 0&&(r.mode=Be(e,"mode")),e.overflowDisabled!==void 0&&(r.overflowDisabled=Be(e,"overflowDisabled")),Xx(r),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}}),Mk=Xx,Zx=Symbol("siderCollapsed"),Jx=Symbol("siderHookProvider"),Bi="$$__vc-menu-more__key",ew=Symbol("KeyPathContext"),Tg=()=>Xe(ew,{parentEventKeys:P(()=>[]),parentKeys:P(()=>[]),parentInfo:{}}),Ek=(e,t,n)=>{const{parentEventKeys:o,parentKeys:r}=Tg(),a=P(()=>[...o.value,e]),l=P(()=>[...r.value,t]);return Ke(ew,{parentEventKeys:a,parentKeys:l,parentInfo:n}),l},tw=Symbol("measure"),i1=J({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return Ke(tw,!0),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Mg=()=>Xe(tw,!1),_k=Ek;function nw(e){const{mode:t,rtl:n,inlineIndent:o}=Go();return P(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*o.value}px`}:{paddingLeft:`${e.value*o.value}px`})}let Dk=0;const Ak=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:V.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:Ne()}),ja=J({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:Ak(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const a=Dn(),l=Mg(),i=typeof a.vnode.key=="symbol"?String(a.vnode.key):a.vnode.key;bt(typeof a.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(i)}"\` not support Symbol type`);const s=`menu_item_${++Dk}_$$_${i}`,{parentEventKeys:u,parentKeys:c}=Tg(),{prefixCls:d,activeKeys:p,disabled:g,changeActiveKeys:m,rtl:h,inlineCollapsed:b,siderCollapsed:y,onItemClick:S,selectedKeys:$,registerMenuInfo:x,unRegisterMenuInfo:C}=Go(),O=Tk(),w=Y(!1),M=P(()=>[...c.value,i]);x(s,{eventKey:s,key:i,parentEventKeys:u,parentKeys:c,isLeaf:!0}),Je(()=>{C(s)}),ue(p,()=>{w.value=!!p.value.find(L=>L===i)},{immediate:!0});const _=P(()=>g.value||e.disabled),D=P(()=>$.value.includes(i)),F=P(()=>{const L=`${d.value}-item`;return{[`${L}`]:!0,[`${L}-danger`]:e.danger,[`${L}-active`]:w.value,[`${L}-selected`]:D.value,[`${L}-disabled`]:_.value}}),z=L=>({key:i,eventKey:s,keyPath:M.value,eventKeyPath:[...u.value,s],domEvent:L,item:v(v({},e),r)}),H=L=>{if(_.value)return;const j=z(L);o("click",L),S(j)},T=L=>{_.value||(m(M.value),o("mouseenter",L))},A=L=>{_.value||(m([]),o("mouseleave",L))},R=L=>{if(o("keydown",L),L.which===$e.ENTER){const j=z(L);o("click",L),S(j)}},E=L=>{m(M.value),o("focus",L)},k=(L,j)=>{const K=f("span",{class:`${d.value}-title-content`},[j]);return(!L||kt(j)&&j.type==="span")&&j&&b.value&&O&&typeof j=="string"?f("div",{class:`${d.value}-inline-collapsed-noicon`},[j.charAt(0)]):K},B=nw(P(()=>M.value.length));return()=>{var L,j,K,G,U;if(l)return null;const X=(L=e.title)!==null&&L!==void 0?L:(j=n.title)===null||j===void 0?void 0:j.call(n),ee=mt((K=n.default)===null||K===void 0?void 0:K.call(n)),oe=ee.length;let Q=X;typeof X>"u"?Q=O&&oe?ee:"":X===!1&&(Q="");const W={title:Q};!y.value&&!b.value&&(W.title=null,W.open=!1);const q={};e.role==="option"&&(q["aria-selected"]=D.value);const re=(G=e.icon)!==null&&G!==void 0?G:(U=n.icon)===null||U===void 0?void 0:U.call(n,e);return f(oo,N(N({},W),{},{placement:h.value?"left":"right",overlayClassName:`${d.value}-inline-collapsed-tooltip`}),{default:()=>[f(xa.Item,N(N(N({component:"li"},r),{},{id:e.id,style:v(v({},r.style||{}),B.value),class:[F.value,{[`${r.class}`]:!!r.class,[`${d.value}-item-only-child`]:(re?oe+1:oe)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":i,"aria-disabled":e.disabled},q),{},{onMouseenter:T,onMouseleave:A,onClick:H,onKeydown:R,onFocus:E,title:typeof X=="string"?X:void 0}),{default:()=>[ut(typeof re=="function"?re(e.originItemValue):re,{class:`${d.value}-item-icon`},!1),k(re,ee)]})]})}}}),or={adjustX:1,adjustY:1},Rk={topLeft:{points:["bl","tl"],overflow:or,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:or,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:or,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:or,offset:[4,0]}},Nk={topLeft:{points:["bl","tl"],overflow:or,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:or,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:or,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:or,offset:[4,0]}},kk={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},s1=J({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:o}=t;const r=Y(!1),{getPopupContainer:a,rtl:l,subMenuOpenDelay:i,subMenuCloseDelay:s,builtinPlacements:u,triggerSubMenuAction:c,forceSubMenuRender:d,motion:p,defaultMotions:g,rootClassName:m}=Go(),h=Yx(),b=P(()=>l.value?v(v({},Nk),u.value):v(v({},Rk),u.value)),y=P(()=>kk[e.mode]),S=Y();ue(()=>e.visible,C=>{We.cancel(S.value),S.value=We(()=>{r.value=C})},{immediate:!0}),Je(()=>{We.cancel(S.value)});const $=C=>{o("visibleChange",C)},x=P(()=>{var C,O;const w=p.value||((C=g.value)===null||C===void 0?void 0:C[e.mode])||((O=g.value)===null||O===void 0?void 0:O.other),M=typeof w=="function"?w():w;return M?bo(M.name,{css:!0}):void 0});return()=>{const{prefixCls:C,popupClassName:O,mode:w,popupOffset:M,disabled:I}=e;return f(ii,{prefixCls:C,popupClassName:te(`${C}-popup`,{[`${C}-rtl`]:l.value},O,m.value),stretch:w==="horizontal"?"minWidth":null,getPopupContainer:a.value,builtinPlacements:b.value,popupPlacement:y.value,popupVisible:r.value,popupAlign:M&&{offset:M},action:I?[]:[c.value],mouseEnterDelay:i.value,mouseLeaveDelay:s.value,onPopupVisibleChange:$,forceRender:h||d.value,popupAnimation:x.value},{popup:n.popup,default:n.default})}}}),ow=(e,t)=>{let{slots:n,attrs:o}=t;var r;const{prefixCls:a,mode:l}=Go();return f("ul",N(N({},o),{},{class:te(a.value,`${a.value}-sub`,`${a.value}-${l.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(r=n.default)===null||r===void 0?void 0:r.call(n)])};ow.displayName="SubMenuList";const rw=ow,Bk=J({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const o=P(()=>"inline"),{motion:r,mode:a,defaultMotions:l}=Go(),i=P(()=>a.value===o.value),s=Z(!i.value),u=P(()=>i.value?e.open:!1);ue(a,()=>{i.value&&(s.value=!1)},{flush:"post"});const c=P(()=>{var d,p;const g=r.value||((d=l.value)===null||d===void 0?void 0:d[o.value])||((p=l.value)===null||p===void 0?void 0:p.other),m=typeof g=="function"?g():g;return v(v({},m),{appear:e.keyPath.length<=1})});return()=>{var d;return s.value?null:f(Ks,{mode:o.value},{default:()=>[f(rn,c.value,{default:()=>[Kt(f(rw,{id:e.id},{default:()=>[(d=n.default)===null||d===void 0?void 0:d.call(n)]}),[[Wn,u.value]])]})]})}}});let c1=0;const Fk=()=>({icon:V.any,title:V.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:Ne()}),Va=J({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:Fk(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;var a,l;Qx(!1);const i=Mg(),s=Dn(),u=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;bt(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const c=gf(u)?u:`sub_menu_${++c1}_$$_not_set_key`,d=(a=e.eventKey)!==null&&a!==void 0?a:gf(u)?`sub_menu_${++c1}_$$_${u}`:c,{parentEventKeys:p,parentInfo:g,parentKeys:m}=Tg(),h=P(()=>[...m.value,c]),b=Y([]),y={eventKey:d,key:c,parentEventKeys:p,childrenEventKeys:b,parentKeys:m};(l=g.childrenEventKeys)===null||l===void 0||l.value.push(d),Je(()=>{var fe;g.childrenEventKeys&&(g.childrenEventKeys.value=(fe=g.childrenEventKeys)===null||fe===void 0?void 0:fe.value.filter(Se=>Se!=d))}),_k(d,c,y);const{prefixCls:S,activeKeys:$,disabled:x,changeActiveKeys:C,mode:O,inlineCollapsed:w,openKeys:M,overflowDisabled:I,onOpenChange:_,registerMenuInfo:D,unRegisterMenuInfo:F,selectedSubMenuKeys:z,expandIcon:H,theme:T}=Go(),A=u!=null,R=!i&&(Yx()||!A);Ik(R),(i&&A||!i&&!A||R)&&(D(d,y),Je(()=>{F(d)}));const E=P(()=>`${S.value}-submenu`),k=P(()=>x.value||e.disabled),B=Y(),L=Y(),j=P(()=>M.value.includes(c)),K=P(()=>!I.value&&j.value),G=P(()=>z.value.includes(c)),U=Y(!1);ue($,()=>{U.value=!!$.value.find(fe=>fe===c)},{immediate:!0});const X=fe=>{k.value||(r("titleClick",fe,c),O.value==="inline"&&_(c,!j.value))},ee=fe=>{k.value||(C(h.value),r("mouseenter",fe))},oe=fe=>{k.value||(C([]),r("mouseleave",fe))},Q=nw(P(()=>h.value.length)),W=fe=>{O.value!=="inline"&&_(c,fe)},q=()=>{C(h.value)},re=d&&`${d}-popup`,le=P(()=>te(S.value,`${S.value}-${e.theme||T.value}`,e.popupClassName)),ye=(fe,Se)=>{if(!Se)return w.value&&!m.value.length&&fe&&typeof fe=="string"?f("div",{class:`${S.value}-inline-collapsed-noicon`},[fe.charAt(0)]):f("span",{class:`${S.value}-title-content`},[fe]);const Ie=kt(fe)&&fe.type==="span";return f(nt,null,[ut(typeof Se=="function"?Se(e.originItemValue):Se,{class:`${S.value}-item-icon`},!1),Ie?fe:f("span",{class:`${S.value}-title-content`},[fe])])},me=P(()=>O.value!=="inline"&&h.value.length>1?"vertical":O.value),ce=P(()=>O.value==="horizontal"?"vertical":O.value),se=P(()=>me.value==="horizontal"?"vertical":me.value),ie=()=>{var fe,Se;const Ie=E.value,ge=(fe=e.icon)!==null&&fe!==void 0?fe:(Se=n.icon)===null||Se===void 0?void 0:Se.call(n,e),Oe=e.expandIcon||n.expandIcon||H.value,we=ye(Nt(n,e,"title"),ge);return f("div",{style:Q.value,class:`${Ie}-title`,tabindex:k.value?null:-1,ref:B,title:typeof we=="string"?we:null,"data-menu-id":c,"aria-expanded":K.value,"aria-haspopup":!0,"aria-controls":re,"aria-disabled":k.value,onClick:X,onFocus:q},[we,O.value!=="horizontal"&&Oe?Oe(v(v({},e),{isOpen:K.value})):f("i",{class:`${Ie}-arrow`},null)])};return()=>{var fe;if(i)return A?(fe=n.default)===null||fe===void 0?void 0:fe.call(n):null;const Se=E.value;let Ie=()=>null;if(!I.value&&O.value!=="inline"){const ge=O.value==="horizontal"?[0,8]:[10,0];Ie=()=>f(s1,{mode:me.value,prefixCls:Se,visible:!e.internalPopupClose&&K.value,popupClassName:le.value,popupOffset:e.popupOffset||ge,disabled:k.value,onVisibleChange:W},{default:()=>[ie()],popup:()=>f(Ks,{mode:se.value},{default:()=>[f(rw,{id:re,ref:L},{default:n.default})]})})}else Ie=()=>f(s1,null,{default:ie});return f(Ks,{mode:ce.value},{default:()=>[f(xa.Item,N(N({component:"li"},o),{},{role:"none",class:te(Se,`${Se}-${O.value}`,o.class,{[`${Se}-open`]:K.value,[`${Se}-active`]:U.value,[`${Se}-selected`]:G.value,[`${Se}-disabled`]:k.value}),onMouseenter:ee,onMouseleave:oe,"data-submenu-id":c}),{default:()=>f(nt,null,[Ie(),!I.value&&f(Bk,{id:re,open:K.value,keyPath:h.value},{default:n.default})])})]})}}});function aw(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function u1(e,t){e.classList?e.classList.add(t):aw(e,t)||(e.className=`${e.className} ${t}`)}function d1(e,t){if(e.classList)e.classList.remove(t);else if(aw(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const Lk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",u1(n,e)},onEnter:n=>{lt(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(d1(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{u1(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(d1(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},Kc=Lk,zk=()=>({title:V.any,originItemValue:Ne()}),Gs=J({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:zk(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Go(),a=P(()=>`${r.value}-item-group`),l=Mg();return()=>{var i,s;return l?(i=n.default)===null||i===void 0?void 0:i.call(n):f("li",N(N({},o),{},{onClick:u=>u.stopPropagation(),class:a.value}),[f("div",{title:typeof e.title=="string"?e.title:void 0,class:`${a.value}-title`},[Nt(n,e,"title")]),f("ul",{class:`${a.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),Hk=()=>({prefixCls:String,dashed:Boolean}),Xs=J({compatConfig:{MODE:3},name:"AMenuDivider",props:Hk(),setup(e){const{prefixCls:t}=Go(),n=P(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>f("li",{class:n.value},null)}});var jk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{if(o&&typeof o=="object"){const a=o,{label:l,children:i,key:s,type:u}=a,c=jk(a,["label","children","key","type"]),d=s??`tmp-${r}`,p=n?n.parentKeys.slice():[],g=[],m={eventKey:d,key:d,parentEventKeys:Z(p),parentKeys:Z(p),childrenEventKeys:Z(g),isLeaf:!1};if(i||u==="group"){if(u==="group"){const b=Kf(i,t,n);return f(Gs,N(N({key:d},c),{},{title:l,originItemValue:o}),{default:()=>[b]})}t.set(d,m),n&&n.childrenEventKeys.push(d);const h=Kf(i,t,{childrenEventKeys:g,parentKeys:[].concat(p,d)});return f(Va,N(N({key:d},c),{},{title:l,originItemValue:o}),{default:()=>[h]})}return u==="divider"?f(Xs,N({key:d},c),null):(m.isLeaf=!0,t.set(d,m),f(ja,N(N({key:d},c),{},{originItemValue:o}),{default:()=>[l]}))}return null}).filter(o=>o)}function Vk(e){const t=Y([]),n=Y(!1),o=Y(new Map);return ue(()=>e.items,()=>{const r=new Map;n.value=!1,e.items?(n.value=!0,t.value=Kf(e.items,r)):t.value=void 0,o.value=r},{immediate:!0,deep:!0}),{itemsNodes:t,store:o,hasItmes:n}}const Wk=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:o,colorSplit:r,lineWidth:a,lineType:l,menuItemPaddingInline:i}=e;return{[`${t}-horizontal`]:{lineHeight:`${o}px`,border:0,borderBottom:`${a}px ${l} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:i},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Kk=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},f1=e=>v({},Fo(e)),p1=(e,t)=>{const{componentCls:n,colorItemText:o,colorItemTextSelected:r,colorGroupTitle:a,colorItemBg:l,colorSubItemBg:i,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:c,colorActiveBarBorderSize:d,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:m,menuItemPaddingInline:h,motionDurationMid:b,colorItemTextHover:y,lineType:S,colorSplit:$,colorItemTextDisabled:x,colorDangerItemText:C,colorDangerItemTextHover:O,colorDangerItemTextSelected:w,colorDangerItemBgActive:M,colorDangerItemBgSelected:I,colorItemBgHover:_,menuSubMenuBg:D,colorItemTextSelectedHorizontal:F,colorItemBgSelectedHorizontal:z}=e;return{[`${n}-${t}`]:{color:o,background:l,[`&${n}-root:focus-visible`]:v({},f1(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:_},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:_},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:O}},[`&${n}-item:active`]:{background:M}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:I}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:v({},f1(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:D},[`&${n}-popup > ${n}`]:{backgroundColor:l},[`&${n}-horizontal`]:v(v({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${p} ${g}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:F}},"&-selected":{color:F,backgroundColor:z,"&::after":{borderBottomWidth:u,borderBottomColor:F}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${S} ${$}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:i},[`${n}-item, ${n}-submenu-title`]:d&&c?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${c}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${b} ${m}`,`opacity ${b} ${m}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${b} ${g}`,`opacity ${b} ${g}`].join(",")}}}}}},v1=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:a,marginXS:l,marginXXS:i}=e,s=r+a+l;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:i,width:`calc(100% - ${o*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:s}}},Gk=e=>{const{componentCls:t,iconCls:n,menuItemHeight:o,colorTextLightSolid:r,dropdownWidth:a,controlHeightLG:l,motionDurationMid:i,motionEaseOut:s,paddingXL:u,fontSizeSM:c,fontSizeLG:d,motionDurationSlow:p,paddingXS:g,boxShadowSecondary:m}=e,h={height:o,lineHeight:`${o}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":v({[`&${t}-root`]:{boxShadow:"none"}},v1(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:v(v({},v1(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${l*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${i} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:h,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:h}},{[`${t}-inline-collapsed`]:{width:o*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${c}px)`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:d,lineHeight:`${o}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:v(v({},mn),{paddingInline:g})}}]},g1=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:l,iconCls:i,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding ${o} ${a}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:n,fontSize:n,transition:[`font-size ${r} ${l}`,`margin ${o} ${a}`,`color ${o}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${o} ${a}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:v({},ai()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},h1=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:a,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.15,backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${l})`},"&::after":{transform:`rotate(-45deg) translateY(${l})`}}}}},Xk=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:l,lineHeight:i,paddingXS:s,padding:u,colorSplit:c,lineWidth:d,zIndexPopup:p,borderRadiusLG:g,radiusSubMenuItem:m,menuArrowSize:h,menuArrowOffset:b,lineType:y,menuPanelMaskInset:S}=e;return[{"":{[`${n}`]:v(v({},ro()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:v(v(v(v(v(v(v({},et(e)),ro()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:o,lineHeight:i,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`,`padding ${a} ${l}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${l}`,`padding ${r} ${l}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:y,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),g1(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${o*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,background:"transparent",borderRadius:g,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${S}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:S},[`> ${n}`]:v(v(v({borderRadius:g},g1(e)),h1(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${l}`}})}}),h1(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${b})`},"&::after":{transform:`rotate(45deg) translateX(-${b})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${h*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${b})`},"&::before":{transform:`rotate(45deg) translateX(${b})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Uk=(e,t)=>Qe("Menu",(o,r)=>{let{overrideComponentToken:a}=r;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:l,colorPrimary:i,colorError:s,colorErrorHover:u,colorTextLightSolid:c}=o,{controlHeightLG:d,fontSize:p}=o,g=p/7*5,m=ze(o,{menuItemHeight:d,menuItemPaddingInline:o.margin,menuArrowSize:g,menuHorizontalHeight:d*1.15,menuArrowOffset:`${g*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:l}),h=new st(c).setAlpha(.65).toRgbString(),b=ze(m,{colorItemText:h,colorItemTextHover:c,colorGroupTitle:h,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:i,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new st(c).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:c,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:i},v({},a));return[Xk(m),Wk(m),Gk(m),p1(m,"light"),p1(b,"dark"),Kk(m),jc(m),yo(m,"slide-up"),yo(m,"slide-down"),el(m,"zoom-big")]},o=>{const{colorPrimary:r,colorError:a,colorTextDisabled:l,colorErrorBg:i,colorText:s,colorTextDescription:u,colorBgContainer:c,colorFillAlter:d,colorFillContent:p,lineWidth:g,lineWidthBold:m,controlItemBgActive:h,colorBgTextHover:b}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:r,colorGroupTitle:u,colorItemTextSelected:r,colorItemTextSelectedHorizontal:r,colorItemBg:c,colorItemBgHover:b,colorItemBgActive:p,colorSubItemBg:d,colorItemBgSelected:h,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:m,colorActiveBarBorderSize:g,colorItemTextDisabled:l,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:i,colorDangerItemBgSelected:i,itemMarginInline:o.marginXXS}})(e),Yk=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),m1=[],Mn=J({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Yk(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{direction:a,getPrefixCls:l}=Ee("menu",e),i=Vx(),s=P(()=>{var X;return l("menu",e.prefixCls||((X=i==null?void 0:i.prefixCls)===null||X===void 0?void 0:X.value))}),[u,c]=Uk(s,P(()=>!i)),d=Y(new Map),p=Xe(Zx,Z(void 0)),g=P(()=>p.value!==void 0?p.value:e.inlineCollapsed),{itemsNodes:m}=Vk(e),h=Y(!1);Ve(()=>{h.value=!0}),Le(()=>{bt(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),bt(!(p.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const b=Z([]),y=Z([]),S=Z({});ue(d,()=>{const X={};for(const ee of d.value.values())X[ee.key]=ee;S.value=X},{flush:"post"}),Le(()=>{if(e.activeKey!==void 0){let X=[];const ee=e.activeKey?S.value[e.activeKey]:void 0;ee&&e.activeKey!==void 0?X=Ru([].concat(Lt(ee.parentKeys),e.activeKey)):X=[],da(b.value,X)||(b.value=X)}}),ue(()=>e.selectedKeys,X=>{X&&(y.value=X.slice())},{immediate:!0,deep:!0});const $=Z([]);ue([S,y],()=>{let X=[];y.value.forEach(ee=>{const oe=S.value[ee];oe&&(X=X.concat(Lt(oe.parentKeys)))}),X=Ru(X),da($.value,X)||($.value=X)},{immediate:!0});const x=X=>{if(e.selectable){const{key:ee}=X,oe=y.value.includes(ee);let Q;e.multiple?oe?Q=y.value.filter(q=>q!==ee):Q=[...y.value,ee]:Q=[ee];const W=v(v({},X),{selectedKeys:Q});da(Q,y.value)||(e.selectedKeys===void 0&&(y.value=Q),o("update:selectedKeys",Q),oe&&e.multiple?o("deselect",W):o("select",W))}_.value!=="inline"&&!e.multiple&&C.value.length&&z(m1)},C=Z([]);ue(()=>e.openKeys,function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C.value;da(C.value,X)||(C.value=X.slice())},{immediate:!0,deep:!0});let O;const w=X=>{clearTimeout(O),O=setTimeout(()=>{e.activeKey===void 0&&(b.value=X),o("update:activeKey",X[X.length-1])})},M=P(()=>!!e.disabled),I=P(()=>a.value==="rtl"),_=Z("vertical"),D=Y(!1);Le(()=>{var X;(e.mode==="inline"||e.mode==="vertical")&&g.value?(_.value="vertical",D.value=g.value):(_.value=e.mode,D.value=!1),!((X=i==null?void 0:i.mode)===null||X===void 0)&&X.value&&(_.value=i.mode.value)});const F=P(()=>_.value==="inline"),z=X=>{C.value=X,o("update:openKeys",X),o("openChange",X)},H=Z(C.value),T=Y(!1);ue(C,()=>{F.value&&(H.value=C.value)},{immediate:!0}),ue(F,()=>{if(!T.value){T.value=!0;return}F.value?C.value=H.value:z(m1)},{immediate:!0});const A=P(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${_.value}`]:!0,[`${s.value}-inline-collapsed`]:D.value,[`${s.value}-rtl`]:I.value,[`${s.value}-${e.theme}`]:!0})),R=P(()=>l()),E=P(()=>({horizontal:{name:`${R.value}-slide-up`},inline:Kc(`${R.value}-motion-collapse`),other:{name:`${R.value}-zoom-big`}}));Qx(!0);const k=function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ee=[],oe=d.value;return X.forEach(Q=>{const{key:W,childrenEventKeys:q}=oe.get(Q);ee.push(W,...k(Lt(q)))}),ee},B=X=>{var ee;o("click",X),x(X),(ee=i==null?void 0:i.onClick)===null||ee===void 0||ee.call(i)},L=(X,ee)=>{var oe;const Q=((oe=S.value[X])===null||oe===void 0?void 0:oe.childrenEventKeys)||[];let W=C.value.filter(q=>q!==X);if(ee)W.push(X);else if(_.value!=="inline"){const q=k(Lt(Q));W=Ru(W.filter(re=>!q.includes(re)))}da(C,W)||z(W)},j=(X,ee)=>{d.value.set(X,ee),d.value=new Map(d.value)},K=X=>{d.value.delete(X),d.value=new Map(d.value)},G=Z(0),U=P(()=>{var X;return e.expandIcon||n.expandIcon||!((X=i==null?void 0:i.expandIcon)===null||X===void 0)&&X.value?ee=>{let oe=e.expandIcon||n.expandIcon;return oe=typeof oe=="function"?oe(ee):oe,ut(oe,{class:`${s.value}-submenu-expand-icon`},!1)}:null});return Mk({prefixCls:s,activeKeys:b,openKeys:C,selectedKeys:y,changeActiveKeys:w,disabled:M,rtl:I,mode:_,inlineIndent:P(()=>e.inlineIndent),subMenuCloseDelay:P(()=>e.subMenuCloseDelay),subMenuOpenDelay:P(()=>e.subMenuOpenDelay),builtinPlacements:P(()=>e.builtinPlacements),triggerSubMenuAction:P(()=>e.triggerSubMenuAction),getPopupContainer:P(()=>e.getPopupContainer),inlineCollapsed:D,theme:P(()=>e.theme),siderCollapsed:p,defaultMotions:P(()=>h.value?E.value:null),motion:P(()=>h.value?e.motion:null),overflowDisabled:Y(void 0),onOpenChange:L,onItemClick:B,registerMenuInfo:j,unRegisterMenuInfo:K,selectedSubMenuKeys:$,expandIcon:U,forceSubMenuRender:P(()=>e.forceSubMenuRender),rootClassName:c}),()=>{var X,ee;const oe=m.value||mt((X=n.default)===null||X===void 0?void 0:X.call(n)),Q=G.value>=oe.length-1||_.value!=="horizontal"||e.disabledOverflow,W=_.value!=="horizontal"||e.disabledOverflow?oe:oe.map((re,le)=>f(Ks,{key:re.key,overflowDisabled:le>G.value},{default:()=>re})),q=((ee=n.overflowedIndicator)===null||ee===void 0?void 0:ee.call(n))||f(Pg,null,null);return u(f(xa,N(N({},r),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:ja,class:[A.value,r.class,c.value],role:"menu",id:e.id,data:W,renderRawItem:re=>re,renderRawRest:re=>{const le=re.length,ye=le?oe.slice(-le):null;return f(nt,null,[f(Va,{eventKey:Bi,key:Bi,title:q,disabled:Q,internalPopupClose:le===0},{default:()=>ye}),f(i1,null,{default:()=>[f(Va,{eventKey:Bi,key:Bi,title:q,disabled:Q,internalPopupClose:le===0},{default:()=>ye})]})])},maxCount:_.value!=="horizontal"||e.disabledOverflow?xa.INVALIDATE:xa.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:re=>{G.value=re}}),{default:()=>[f(Up,{to:"body"},{default:()=>[f("div",{style:{display:"none"},"aria-hidden":!0},[f(i1,null,{default:()=>[W]})])]})]}))}}});Mn.install=function(e){return e.component(Mn.name,Mn),e.component(ja.name,ja),e.component(Va.name,Va),e.component(Xs.name,Xs),e.component(Gs.name,Gs),e};Mn.Item=ja;Mn.Divider=Xs;Mn.SubMenu=Va;Mn.ItemGroup=Gs;const qk=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:v(v({},et(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:v({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},Lo(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[` + > ${n} + span, + > ${n} + a + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Qk=Qe("Breadcrumb",e=>{const t=ze(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[qk(t)]}),Zk=()=>({prefixCls:String,routes:{type:Array},params:V.any,separator:V.any,itemRender:{type:Function}});function Jk(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(r,a)=>t[a]||r)}function b1(e){const{route:t,params:n,routes:o,paths:r}=e,a=o.indexOf(t)===o.length-1,l=Jk(t,n);return a?f("span",null,[l]):f("a",{href:`#/${r.join("/")}`},[l])}const Pl=J({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:Zk(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("breadcrumb",e),[l,i]=Qk(r),s=(d,p)=>(d=(d||"").replace(/^\//,""),Object.keys(p).forEach(g=>{d=d.replace(`:${g}`,p[g])}),d),u=(d,p,g)=>{const m=[...d],h=s(p||"",g);return h&&m.push(h),m},c=d=>{let{routes:p=[],params:g={},separator:m,itemRender:h=b1}=d;const b=[];return p.map(y=>{const S=s(y.path,g);S&&b.push(S);const $=[...b];let x=null;y.children&&y.children.length&&(x=f(Mn,{items:y.children.map(O=>({key:O.path||O.breadcrumbName,label:h({route:O,params:g,routes:p,paths:u($,O.path,g)})}))},null));const C={separator:m};return x&&(C.overlay=x),f(Ws,N(N({},C),{},{key:S||y.breadcrumbName}),{default:()=>[h({route:y,params:g,routes:p,paths:$})]})})};return()=>{var d;let p;const{routes:g,params:m={}}=e,h=mt(Nt(n,e)),b=(d=Nt(n,e,"separator"))!==null&&d!==void 0?d:"/",y=e.itemRender||n.itemRender||b1;g&&g.length>0?p=c({routes:g,params:m,separator:b,itemRender:y}):h.length&&(p=h.map(($,x)=>(yt(typeof $.type=="object"&&($.type.__ANT_BREADCRUMB_ITEM||$.type.__ANT_BREADCRUMB_SEPARATOR)),ko($,{separator:b,key:x}))));const S={[r.value]:!0,[`${r.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[i.value]:!0};return l(f("nav",N(N({},o),{},{class:S}),[f("ol",null,[p])]))}}});var eB=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String}),Gf=J({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:tB(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Ee("breadcrumb",e);return()=>{var a;const{separator:l,class:i}=o,s=eB(o,["separator","class"]),u=mt((a=n.default)===null||a===void 0?void 0:a.call(n));return f("span",N({class:[`${r.value}-separator`,i]},s),[u.length>0?u:"/"])}}});Pl.Item=Ws;Pl.Separator=Gf;Pl.install=function(e){return e.component(Pl.name,Pl),e.component(Ws.name,Ws),e.component(Gf.name,Gf),e};var lw={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(cr,function(){var n=1e3,o=6e4,r=36e5,a="millisecond",l="second",i="minute",s="hour",u="day",c="week",d="month",p="quarter",g="year",m="date",h="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|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,S={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(H){var T=["th","st","nd","rd"],A=H%100;return"["+H+(T[(A-20)%10]||T[A]||T[0])+"]"}},$=function(H,T,A){var R=String(H);return!R||R.length>=T?H:""+Array(T+1-R.length).join(A)+H},x={s:$,z:function(H){var T=-H.utcOffset(),A=Math.abs(T),R=Math.floor(A/60),E=A%60;return(T<=0?"+":"-")+$(R,2,"0")+":"+$(E,2,"0")},m:function H(T,A){if(T.date()1)return H(B[0])}else{var L=T.name;O[L]=T,E=L}return!R&&E&&(C=E),E||!R&&C},_=function(H,T){if(M(H))return H.clone();var A=typeof T=="object"?T:{};return A.date=H,A.args=arguments,new F(A)},D=x;D.l=I,D.i=M,D.w=function(H,T){return _(H,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var F=function(){function H(A){this.$L=I(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[w]=!0}var T=H.prototype;return T.parse=function(A){this.$d=function(R){var E=R.date,k=R.utc;if(E===null)return new Date(NaN);if(D.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var B=E.match(b);if(B){var L=B[2]-1||0,j=(B[7]||"0").substring(0,3);return k?new Date(Date.UTC(B[1],L,B[3]||1,B[4]||0,B[5]||0,B[6]||0,j)):new Date(B[1],L,B[3]||1,B[4]||0,B[5]||0,B[6]||0,j)}}return new Date(E)}(A),this.init()},T.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},T.$utils=function(){return D},T.isValid=function(){return this.$d.toString()!==h},T.isSame=function(A,R){var E=_(A);return this.startOf(R)<=E&&E<=this.endOf(R)},T.isAfter=function(A,R){return _(A)25){var c=l(this).startOf(o).add(1,o).date(u),d=l(this).endOf(n);if(c.isBefore(d))return 1}var p=l(this).startOf(o).date(u).startOf(n).subtract(1,"millisecond"),g=this.diff(p,n,!0);return g<0?l(this).startOf("week").week():Math.ceil(g)},i.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(cw);var iB=cw.exports;const sB=ur(iB);var uw={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(cr,function(){return function(n,o){o.prototype.weekYear=function(){var r=this.month(),a=this.week(),l=this.year();return a===1&&r===11?l+1:r===0&&a>=52?l-1:l}}})})(uw);var cB=uw.exports;const uB=ur(cB);var dw={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(cr,function(){var n="month",o="quarter";return function(r,a){var l=a.prototype;l.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var i=l.add;l.add=function(u,c){return u=Number(u),this.$utils().p(c)===o?this.add(3*u,n):i.bind(this)(u,c)};var s=l.startOf;l.startOf=function(u,c){var d=this.$utils(),p=!!d.u(c)||c;if(d.p(u)===o){var g=this.quarter()-1;return p?this.month(3*g).startOf(n).startOf("day"):this.month(3*g+2).endOf(n).endOf("day")}return s.bind(this)(u,c)}}})})(dw);var dB=dw.exports;const fB=ur(dB);var fw={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(cr,function(){return function(n,o){var r=o.prototype,a=r.format;r.format=function(l){var i=this,s=this.$locale();if(!this.isValid())return a.bind(this)(l);var u=this.$utils(),c=(l||"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(d){switch(d){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return s.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return s.ordinal(i.week(),"W");case"w":case"ww":return u.s(i.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(i.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(i.$H===0?24:i.$H),d==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return d}});return a.bind(this)(c)}}})})(fw);var pB=fw.exports;const vB=ur(pB);var pw={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(cr,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,a=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,i={},s=function(h){return(h=+h)+(h>68?1900:2e3)},u=function(h){return function(b){this[h]=+b}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var y=b.match(/([+-]|\d\d)/g),S=60*y[1]+(+y[2]||0);return S===0?0:y[0]==="+"?-S:S}(h)}],d=function(h){var b=i[h];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(h,b){var y,S=i.meridiem;if(S){for(var $=1;$<=24;$+=1)if(h.indexOf(S($,0,b))>-1){y=$>12;break}}else y=h===(b?"pm":"PM");return y},g={A:[l,function(h){this.afternoon=p(h,!1)}],a:[l,function(h){this.afternoon=p(h,!0)}],S:[/\d/,function(h){this.milliseconds=100*+h}],SS:[r,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[a,u("seconds")],ss:[a,u("seconds")],m:[a,u("minutes")],mm:[a,u("minutes")],H:[a,u("hours")],h:[a,u("hours")],HH:[a,u("hours")],hh:[a,u("hours")],D:[a,u("day")],DD:[r,u("day")],Do:[l,function(h){var b=i.ordinal,y=h.match(/\d+/);if(this.day=y[0],b)for(var S=1;S<=31;S+=1)b(S).replace(/\[|\]/g,"")===h&&(this.day=S)}],M:[a,u("month")],MM:[r,u("month")],MMM:[l,function(h){var b=d("months"),y=(d("monthsShort")||b.map(function(S){return S.slice(0,3)})).indexOf(h)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[l,function(h){var b=d("months").indexOf(h)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[r,function(h){this.year=s(h)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function m(h){var b,y;b=h,y=i&&i.formats;for(var S=(h=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,_,D){var F=D&&D.toUpperCase();return _||y[D]||n[D]||y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(z,H,T){return H||T.slice(1)})})).match(o),$=S.length,x=0;x<$;x+=1){var C=S[x],O=g[C],w=O&&O[0],M=O&&O[1];S[x]=M?{regex:w,parser:M}:C.replace(/^\[|\]$/g,"")}return function(I){for(var _={},D=0,F=0;D<$;D+=1){var z=S[D];if(typeof z=="string")F+=z.length;else{var H=z.regex,T=z.parser,A=I.slice(F),R=H.exec(A)[0];T.call(_,R),I=I.replace(R,"")}}return function(E){var k=E.afternoon;if(k!==void 0){var B=E.hours;k?B<12&&(E.hours+=12):B===12&&(E.hours=0),delete E.afternoon}}(_),_}}return function(h,b,y){y.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(s=h.parseTwoDigitYear);var S=b.prototype,$=S.parse;S.parse=function(x){var C=x.date,O=x.utc,w=x.args;this.$u=O;var M=w[1];if(typeof M=="string"){var I=w[2]===!0,_=w[3]===!0,D=I||_,F=w[2];_&&(F=w[2]),i=this.$locale(),!I&&F&&(i=y.Ls[F]),this.$d=function(A,R,E){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*A);var k=m(R)(A),B=k.year,L=k.month,j=k.day,K=k.hours,G=k.minutes,U=k.seconds,X=k.milliseconds,ee=k.zone,oe=new Date,Q=j||(B||L?1:oe.getDate()),W=B||oe.getFullYear(),q=0;B&&!L||(q=L>0?L-1:oe.getMonth());var re=K||0,le=G||0,ye=U||0,me=X||0;return ee?new Date(Date.UTC(W,q,Q,re,le,ye,me+60*ee.offset*1e3)):E?new Date(Date.UTC(W,q,Q,re,le,ye,me)):new Date(W,q,Q,re,le,ye,me)}catch{return new Date("")}}(C,M,O),this.init(),F&&F!==!0&&(this.$L=this.locale(F).$L),D&&C!=this.format(M)&&(this.$d=new Date("")),i={}}else if(M instanceof Array)for(var z=M.length,H=1;H<=z;H+=1){w[1]=M[H-1];var T=y.apply(this,w);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}H===z&&(this.$d=new Date(""))}else $.call(this,x)}}})})(pw);var gB=pw.exports;const hB=ur(gB);Ft.extend(hB);Ft.extend(vB);Ft.extend(rB);Ft.extend(lB);Ft.extend(sB);Ft.extend(uB);Ft.extend(fB);Ft.extend((e,t)=>{const n=t.prototype,o=n.format;n.format=function(a){const l=(a||"").replace("Wo","wo");return o.bind(this)(l)}});const mB={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},mr=e=>mB[e]||e.split("_")[0],y1=()=>{c9(!1,"Not match any format. Please help to fire a issue about this.")},bB=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function S1(e,t,n){const o=[...new Set(e.split(n))];let r=0;for(let a=0;at)return l;r+=n.length}}const $1=(e,t)=>{if(!e)return null;if(Ft.isDayjs(e))return e;const n=t.matchAll(bB);let o=Ft(e,t);if(n===null)return o;for(const r of n){const a=r[0],l=r.index;if(a==="Q"){const i=e.slice(l-1,l),s=S1(e,l,i).match(/\d+/)[0];o=o.quarter(parseInt(s))}if(a.toLowerCase()==="wo"){const i=e.slice(l-1,l),s=S1(e,l,i).match(/\d+/)[0];o=o.week(parseInt(s))}a.toLowerCase()==="ww"&&(o=o.week(parseInt(e.slice(l,l+a.length)))),a.toLowerCase()==="w"&&(o=o.week(parseInt(e.slice(l,l+a.length+1))))}return o},yB={getNow:()=>Ft(),getFixedDate:e=>Ft(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>Ft().locale(mr(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(mr(e)).weekday(0),getWeek:(e,t)=>t.locale(mr(e)).week(),getShortWeekDays:e=>Ft().locale(mr(e)).localeData().weekdaysMin(),getShortMonths:e=>Ft().locale(mr(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(mr(e)).format(n),parse:(e,t,n)=>{const o=mr(e);for(let r=0;rArray.isArray(e)?e.map(n=>$1(n,t)):$1(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>Ft.isDayjs(n)?n.format(t):n):Ft.isDayjs(e)?e.format(t):e},vw=yB;function Mt(e){const t=d8();return v(v({},e),t)}const gw=Symbol("PanelContextProps"),Eg=e=>{Ke(gw,e)},Co=()=>Xe(gw,{}),Fi={visibility:"hidden"};function pr(e,t){let{slots:n}=t;var o;const r=Mt(e),{prefixCls:a,prevIcon:l="‹",nextIcon:i="›",superPrevIcon:s="«",superNextIcon:u="»",onSuperPrev:c,onSuperNext:d,onPrev:p,onNext:g}=r,{hideNextBtn:m,hidePrevBtn:h}=Co();return f("div",{class:a},[c&&f("button",{type:"button",onClick:c,tabindex:-1,class:`${a}-super-prev-btn`,style:h.value?Fi:{}},[s]),p&&f("button",{type:"button",onClick:p,tabindex:-1,class:`${a}-prev-btn`,style:h.value?Fi:{}},[l]),f("div",{class:`${a}-view`},[(o=n.default)===null||o===void 0?void 0:o.call(n)]),g&&f("button",{type:"button",onClick:g,tabindex:-1,class:`${a}-next-btn`,style:m.value?Fi:{}},[i]),d&&f("button",{type:"button",onClick:d,tabindex:-1,class:`${a}-super-next-btn`,style:m.value?Fi:{}},[u])])}pr.displayName="Header";pr.inheritAttrs=!1;function _g(e){const t=Mt(e),{prefixCls:n,generateConfig:o,viewDate:r,onPrevDecades:a,onNextDecades:l}=t,{hideHeader:i}=Co();if(i)return null;const s=`${n}-header`,u=o.getYear(r),c=Math.floor(u/Do)*Do,d=c+Do-1;return f(pr,N(N({},t),{},{prefixCls:s,onSuperPrev:a,onSuperNext:l}),{default:()=>[c,go("-"),d]})}_g.displayName="DecadeHeader";_g.inheritAttrs=!1;function hw(e,t,n,o,r){let a=e.setHour(t,n);return a=e.setMinute(a,o),a=e.setSecond(a,r),a}function ls(e,t,n){if(!n)return t;let o=t;return o=e.setHour(o,e.getHour(n)),o=e.setMinute(o,e.getMinute(n)),o=e.setSecond(o,e.getSecond(n)),o}function SB(e,t,n,o,r,a){const l=Math.floor(e/o)*o;if(l{H.stopPropagation(),F||o(D)},onMouseenter:()=>{!F&&y&&y(D)},onMouseleave:()=>{!F&&S&&S(D)}},[p?p(D):f("div",{class:`${x}-inner`},[d(D)])]))}C.push(f("tr",{key:O,class:s&&s(M)},[w]))}return f("div",{class:`${t}-body`},[f("table",{class:`${t}-content`},[b&&f("thead",null,[f("tr",null,[b])]),f("tbody",null,[C])])])}ea.displayName="PanelBody";ea.inheritAttrs=!1;const Xf=3,C1=4;function Dg(e){const t=Mt(e),n=eo-1,{prefixCls:o,viewDate:r,generateConfig:a}=t,l=`${o}-cell`,i=a.getYear(r),s=Math.floor(i/eo)*eo,u=Math.floor(i/Do)*Do,c=u+Do-1,d=a.setYear(r,u-Math.ceil((Xf*C1*eo-Do)/2)),p=g=>{const m=a.getYear(g),h=m+n;return{[`${l}-in-view`]:u<=m&&h<=c,[`${l}-selected`]:m===s}};return f(ea,N(N({},t),{},{rowNum:C1,colNum:Xf,baseDate:d,getCellText:g=>{const m=a.getYear(g);return`${m}-${m+n}`},getCellClassName:p,getCellDate:(g,m)=>a.addYear(g,m*eo)}),null)}Dg.displayName="DecadeBody";Dg.inheritAttrs=!1;const Li=new Map;function CB(e,t){let n;function o(){Tc(e)?t():n=We(()=>{o()})}return o(),()=>{We.cancel(n)}}function Uf(e,t,n){if(Li.get(e)&&We.cancel(Li.get(e)),n<=0){Li.set(e,We(()=>{e.scrollTop=t}));return}const r=(t-e.scrollTop)/n*10;Li.set(e,We(()=>{e.scrollTop+=r,e.scrollTop!==t&&Uf(e,t,n-10)}))}function ol(e,t){let{onLeftRight:n,onCtrlLeftRight:o,onUpDown:r,onPageUpDown:a,onEnter:l}=t;const{which:i,ctrlKey:s,metaKey:u}=e;switch(i){case $e.LEFT:if(s||u){if(o)return o(-1),!0}else if(n)return n(-1),!0;break;case $e.RIGHT:if(s||u){if(o)return o(1),!0}else if(n)return n(1),!0;break;case $e.UP:if(r)return r(-1),!0;break;case $e.DOWN:if(r)return r(1),!0;break;case $e.PAGE_UP:if(a)return a(-1),!0;break;case $e.PAGE_DOWN:if(a)return a(1),!0;break;case $e.ENTER:if(l)return l(),!0;break}return!1}function mw(e,t,n,o){let r=e;if(!r)switch(t){case"time":r=o?"hh:mm:ss a":"HH:mm:ss";break;case"week":r="gggg-wo";break;case"month":r="YYYY-MM";break;case"quarter":r="YYYY-[Q]Q";break;case"year":r="YYYY";break;default:r=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return r}function bw(e,t,n){const o=e==="time"?8:10,r=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(o,r)+2}let dl=null;const zi=new Set;function xB(e){return!dl&&typeof window<"u"&&window.addEventListener&&(dl=t=>{[...zi].forEach(n=>{n(t)})},window.addEventListener("mousedown",dl)),zi.add(e),()=>{zi.delete(e),zi.size===0&&(window.removeEventListener("mousedown",dl),dl=null)}}function wB(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const OB=e=>e==="month"||e==="date"?"year":e,PB=e=>e==="date"?"month":e,IB=e=>e==="month"||e==="date"?"quarter":e,TB=e=>e==="date"?"week":e,MB={year:OB,month:PB,quarter:IB,week:TB,time:null,date:null};function yw(e,t){return e.some(n=>n&&n.contains(t))}const eo=10,Do=eo*10;function Ag(e){const t=Mt(e),{prefixCls:n,onViewDateChange:o,generateConfig:r,viewDate:a,operationRef:l,onSelect:i,onPanelChange:s}=t,u=`${n}-decade-panel`;l.value={onKeydown:p=>ol(p,{onLeftRight:g=>{i(r.addYear(a,g*eo),"key")},onCtrlLeftRight:g=>{i(r.addYear(a,g*Do),"key")},onUpDown:g=>{i(r.addYear(a,g*eo*Xf),"key")},onEnter:()=>{s("year",a)}})};const c=p=>{const g=r.addYear(a,p*Do);o(g),s(null,g)},d=p=>{i(p,"mouse"),s("year",p)};return f("div",{class:u},[f(_g,N(N({},t),{},{prefixCls:n,onPrevDecades:()=>{c(-1)},onNextDecades:()=>{c(1)}}),null),f(Dg,N(N({},t),{},{prefixCls:n,onSelect:d}),null)])}Ag.displayName="DecadePanel";Ag.inheritAttrs=!1;const is=7;function ta(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function EB(e,t,n){const o=ta(t,n);if(typeof o=="boolean")return o;const r=Math.floor(e.getYear(t)/10),a=Math.floor(e.getYear(n)/10);return r===a}function Gc(e,t,n){const o=ta(t,n);return typeof o=="boolean"?o:e.getYear(t)===e.getYear(n)}function Yf(e,t){return Math.floor(e.getMonth(t)/3)+1}function Sw(e,t,n){const o=ta(t,n);return typeof o=="boolean"?o:Gc(e,t,n)&&Yf(e,t)===Yf(e,n)}function Rg(e,t,n){const o=ta(t,n);return typeof o=="boolean"?o:Gc(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function Ao(e,t,n){const o=ta(t,n);return typeof o=="boolean"?o:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function _B(e,t,n){const o=ta(t,n);return typeof o=="boolean"?o:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function $w(e,t,n,o){const r=ta(n,o);return typeof r=="boolean"?r:e.locale.getWeek(t,n)===e.locale.getWeek(t,o)}function wa(e,t,n){return Ao(e,t,n)&&_B(e,t,n)}function Hi(e,t,n,o){return!t||!n||!o?!1:!Ao(e,t,o)&&!Ao(e,n,o)&&e.isAfter(o,t)&&e.isAfter(n,o)}function DB(e,t,n){const o=t.locale.getWeekFirstDay(e),r=t.setDate(n,1),a=t.getWeekDay(r);let l=t.addDate(r,o-a);return t.getMonth(l)===t.getMonth(n)&&t.getDate(l)>1&&(l=t.addDate(l,-7)),l}function Il(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,o*10);case"quarter":case"month":return n.addYear(e,o);default:return n.addMonth(e,o)}}function Ut(e,t){let{generateConfig:n,locale:o,format:r}=t;return typeof r=="function"?r(e):n.locale.format(o.locale,e,r)}function Cw(e,t){let{generateConfig:n,locale:o,formatList:r}=t;return!e||typeof r[0]=="function"?null:n.locale.parse(o.locale,e,r)}function qf(e){let{cellDate:t,mode:n,disabledDate:o,generateConfig:r}=e;if(!o)return!1;const a=(l,i,s)=>{let u=i;for(;u<=s;){let c;switch(l){case"date":{if(c=r.setDate(t,u),!o(c))return!1;break}case"month":{if(c=r.setMonth(t,u),!qf({cellDate:c,mode:"month",generateConfig:r,disabledDate:o}))return!1;break}case"year":{if(c=r.setYear(t,u),!qf({cellDate:c,mode:"year",generateConfig:r,disabledDate:o}))return!1;break}}u+=1}return!0};switch(n){case"date":case"week":return o(t);case"month":{const i=r.getDate(r.getEndDate(t));return a("date",1,i)}case"quarter":{const l=Math.floor(r.getMonth(t)/3)*3,i=l+2;return a("month",l,i)}case"year":return a("month",0,11);case"decade":{const l=r.getYear(t),i=Math.floor(l/eo)*eo,s=i+eo-1;return a("year",i,s)}}}function Ng(e){const t=Mt(e),{hideHeader:n}=Co();if(n.value)return null;const{prefixCls:o,generateConfig:r,locale:a,value:l,format:i}=t,s=`${o}-header`;return f(pr,{prefixCls:s},{default:()=>[l?Ut(l,{locale:a,format:i,generateConfig:r}):" "]})}Ng.displayName="TimeHeader";Ng.inheritAttrs=!1;const ji=J({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=Co(),n=Y(null),o=Z(new Map),r=Z();return ue(()=>e.value,()=>{const a=o.value.get(e.value);a&&t.value!==!1&&Uf(n.value,a.offsetTop,120)}),Je(()=>{var a;(a=r.value)===null||a===void 0||a.call(r)}),ue(t,()=>{var a;(a=r.value)===null||a===void 0||a.call(r),lt(()=>{if(t.value){const l=o.value.get(e.value);l&&(r.value=CB(l,()=>{Uf(n.value,l.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:a,units:l,onSelect:i,value:s,active:u,hideDisabledOptions:c}=e,d=`${a}-cell`;return f("ul",{class:te(`${a}-column`,{[`${a}-column-active`]:u}),ref:n,style:{position:"relative"}},[l.map(p=>c&&p.disabled?null:f("li",{key:p.value,ref:g=>{o.value.set(p.value,g)},class:te(d,{[`${d}-disabled`]:p.disabled,[`${d}-selected`]:s===p.value}),onClick:()=>{p.disabled||i(p.value)}},[f("div",{class:`${d}-inner`},[p.label])]))])}}});function xw(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",o=String(e);for(;o.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function dt(e,t){return e?e[t]:null}function Hn(e,t,n){const o=[dt(e,0),dt(e,1)];return o[n]=typeof t=="function"?t(o[n]):t,!o[0]&&!o[1]?null:o}function id(e,t,n,o){const r=[];for(let a=e;a<=t;a+=n)r.push({label:xw(a,2),value:a,disabled:(o||[]).includes(a)});return r}const RB=J({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=P(()=>e.value?e.generateConfig.getHour(e.value):-1),n=P(()=>e.use12Hours?t.value>=12:!1),o=P(()=>e.use12Hours?t.value%12:t.value),r=P(()=>e.value?e.generateConfig.getMinute(e.value):-1),a=P(()=>e.value?e.generateConfig.getSecond(e.value):-1),l=Z(e.generateConfig.getNow()),i=Z(),s=Z(),u=Z();Yp(()=>{l.value=e.generateConfig.getNow()}),Le(()=>{if(e.disabledTime){const b=e.disabledTime(l);[i.value,s.value,u.value]=[b.disabledHours,b.disabledMinutes,b.disabledSeconds]}else[i.value,s.value,u.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const c=(b,y,S,$)=>{let x=e.value||e.generateConfig.getNow();const C=Math.max(0,y),O=Math.max(0,S),w=Math.max(0,$);return x=hw(e.generateConfig,x,!e.use12Hours||!b?C:C+12,O,w),x},d=P(()=>{var b;return id(0,23,(b=e.hourStep)!==null&&b!==void 0?b:1,i.value&&i.value())}),p=P(()=>{if(!e.use12Hours)return[!1,!1];const b=[!0,!0];return d.value.forEach(y=>{let{disabled:S,value:$}=y;S||($>=12?b[1]=!1:b[0]=!1)}),b}),g=P(()=>e.use12Hours?d.value.filter(n.value?b=>b.value>=12:b=>b.value<12).map(b=>{const y=b.value%12,S=y===0?"12":xw(y,2);return v(v({},b),{label:S,value:y})}):d.value),m=P(()=>{var b;return id(0,59,(b=e.minuteStep)!==null&&b!==void 0?b:1,s.value&&s.value(t.value))}),h=P(()=>{var b;return id(0,59,(b=e.secondStep)!==null&&b!==void 0?b:1,u.value&&u.value(t.value,r.value))});return()=>{const{prefixCls:b,operationRef:y,activeColumnIndex:S,showHour:$,showMinute:x,showSecond:C,use12Hours:O,hideDisabledOptions:w,onSelect:M}=e,I=[],_=`${b}-content`,D=`${b}-time-panel`;y.value={onUpDown:H=>{const T=I[S];if(T){const A=T.units.findIndex(E=>E.value===T.value),R=T.units.length;for(let E=1;E{M(c(n.value,H,r.value,a.value),"mouse")}),F(x,f(ji,{key:"minute"},null),r.value,m.value,H=>{M(c(n.value,o.value,H,a.value),"mouse")}),F(C,f(ji,{key:"second"},null),a.value,h.value,H=>{M(c(n.value,o.value,r.value,H),"mouse")});let z=-1;return typeof n.value=="boolean"&&(z=n.value?1:0),F(O===!0,f(ji,{key:"12hours"},null),z,[{label:"AM",value:0,disabled:p.value[0]},{label:"PM",value:1,disabled:p.value[1]}],H=>{M(c(!!H,o.value,r.value,a.value),"mouse")}),f("div",{class:_},[I.map(H=>{let{node:T}=H;return T})])}}}),NB=RB,kB=e=>e.filter(t=>t!==!1).length;function Xc(e){const t=Mt(e),{generateConfig:n,format:o="HH:mm:ss",prefixCls:r,active:a,operationRef:l,showHour:i,showMinute:s,showSecond:u,use12Hours:c=!1,onSelect:d,value:p}=t,g=`${r}-time-panel`,m=Z(),h=Z(-1),b=kB([i,s,u,c]);return l.value={onKeydown:y=>ol(y,{onLeftRight:S=>{h.value=(h.value+S+b)%b},onUpDown:S=>{h.value===-1?h.value=0:m.value&&m.value.onUpDown(S)},onEnter:()=>{d(p||n.getNow(),"key"),h.value=-1}}),onBlur:()=>{h.value=-1}},f("div",{class:te(g,{[`${g}-active`]:a})},[f(Ng,N(N({},t),{},{format:o,prefixCls:r}),null),f(NB,N(N({},t),{},{prefixCls:r,activeColumnIndex:h.value,operationRef:m}),null)])}Xc.displayName="TimePanel";Xc.inheritAttrs=!1;function Uc(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:o,hoverRangedValue:r,isInView:a,isSameCell:l,offsetCell:i,today:s,value:u}=e;function c(d){const p=i(d,-1),g=i(d,1),m=dt(o,0),h=dt(o,1),b=dt(r,0),y=dt(r,1),S=Hi(n,b,y,d);function $(I){return l(m,I)}function x(I){return l(h,I)}const C=l(b,d),O=l(y,d),w=(S||O)&&(!a(p)||x(p)),M=(S||C)&&(!a(g)||$(g));return{[`${t}-in-view`]:a(d),[`${t}-in-range`]:Hi(n,m,h,d),[`${t}-range-start`]:$(d),[`${t}-range-end`]:x(d),[`${t}-range-start-single`]:$(d)&&!h,[`${t}-range-end-single`]:x(d)&&!m,[`${t}-range-start-near-hover`]:$(d)&&(l(p,b)||Hi(n,b,y,p)),[`${t}-range-end-near-hover`]:x(d)&&(l(g,y)||Hi(n,b,y,g)),[`${t}-range-hover`]:S,[`${t}-range-hover-start`]:C,[`${t}-range-hover-end`]:O,[`${t}-range-hover-edge-start`]:w,[`${t}-range-hover-edge-end`]:M,[`${t}-range-hover-edge-start-near-range`]:w&&l(p,h),[`${t}-range-hover-edge-end-near-range`]:M&&l(g,m),[`${t}-today`]:l(s,d),[`${t}-selected`]:l(u,d)}}return c}const Pw=Symbol("RangeContextProps"),BB=e=>{Ke(Pw,e)},ui=()=>Xe(Pw,{rangedValue:Z(),hoverRangedValue:Z(),inRange:Z(),panelPosition:Z()}),FB=J({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const o={rangedValue:Z(e.value.rangedValue),hoverRangedValue:Z(e.value.hoverRangedValue),inRange:Z(e.value.inRange),panelPosition:Z(e.value.panelPosition)};return BB(o),ue(()=>e.value,()=>{Object.keys(e.value).forEach(r=>{o[r]&&(o[r].value=e.value[r])})}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function Yc(e){const t=Mt(e),{prefixCls:n,generateConfig:o,prefixColumn:r,locale:a,rowCount:l,viewDate:i,value:s,dateRender:u}=t,{rangedValue:c,hoverRangedValue:d}=ui(),p=DB(a.locale,o,i),g=`${n}-cell`,m=o.locale.getWeekFirstDay(a.locale),h=o.getNow(),b=[],y=a.shortWeekDays||(o.locale.getShortWeekDays?o.locale.getShortWeekDays(a.locale):[]);r&&b.push(f("th",{key:"empty","aria-label":"empty cell"},null));for(let x=0;xAo(o,x,C),isInView:x=>Rg(o,x,i),offsetCell:(x,C)=>o.addDate(x,C)}),$=u?x=>u({current:x,today:h}):void 0;return f(ea,N(N({},t),{},{rowNum:l,colNum:is,baseDate:p,getCellNode:$,getCellText:o.getDate,getCellClassName:S,getCellDate:o.addDate,titleCell:x=>Ut(x,{locale:a,format:"YYYY-MM-DD",generateConfig:o}),headerCells:b}),null)}Yc.displayName="DateBody";Yc.inheritAttrs=!1;Yc.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function kg(e){const t=Mt(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:a,onNextMonth:l,onPrevMonth:i,onNextYear:s,onPrevYear:u,onYearClick:c,onMonthClick:d}=t,{hideHeader:p}=Co();if(p.value)return null;const g=`${n}-header`,m=r.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(r.locale):[]),h=o.getMonth(a),b=f("button",{type:"button",key:"year",onClick:c,tabindex:-1,class:`${n}-year-btn`},[Ut(a,{locale:r,format:r.yearFormat,generateConfig:o})]),y=f("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[r.monthFormat?Ut(a,{locale:r,format:r.monthFormat,generateConfig:o}):m[h]]),S=r.monthBeforeYear?[y,b]:[b,y];return f(pr,N(N({},t),{},{prefixCls:g,onSuperPrev:u,onPrev:i,onNext:l,onSuperNext:s}),{default:()=>[S]})}kg.displayName="DateHeader";kg.inheritAttrs=!1;const LB=6;function di(e){const t=Mt(e),{prefixCls:n,panelName:o="date",keyboardConfig:r,active:a,operationRef:l,generateConfig:i,value:s,viewDate:u,onViewDateChange:c,onPanelChange:d,onSelect:p}=t,g=`${n}-${o}-panel`;l.value={onKeydown:b=>ol(b,v({onLeftRight:y=>{p(i.addDate(s||u,y),"key")},onCtrlLeftRight:y=>{p(i.addYear(s||u,y),"key")},onUpDown:y=>{p(i.addDate(s||u,y*is),"key")},onPageUpDown:y=>{p(i.addMonth(s||u,y),"key")}},r))};const m=b=>{const y=i.addYear(u,b);c(y),d(null,y)},h=b=>{const y=i.addMonth(u,b);c(y),d(null,y)};return f("div",{class:te(g,{[`${g}-active`]:a})},[f(kg,N(N({},t),{},{prefixCls:n,value:s,viewDate:u,onPrevYear:()=>{m(-1)},onNextYear:()=>{m(1)},onPrevMonth:()=>{h(-1)},onNextMonth:()=>{h(1)},onMonthClick:()=>{d("month",u)},onYearClick:()=>{d("year",u)}}),null),f(Yc,N(N({},t),{},{onSelect:b=>p(b,"mouse"),prefixCls:n,value:s,viewDate:u,rowCount:LB}),null)])}di.displayName="DatePanel";di.inheritAttrs=!1;const x1=AB("date","time");function Bg(e){const t=Mt(e),{prefixCls:n,operationRef:o,generateConfig:r,value:a,defaultValue:l,disabledTime:i,showTime:s,onSelect:u}=t,c=`${n}-datetime-panel`,d=Z(null),p=Z({}),g=Z({}),m=typeof s=="object"?v({},s):{};function h($){const x=x1.indexOf(d.value)+$;return x1[x]||null}const b=$=>{g.value.onBlur&&g.value.onBlur($),d.value=null};o.value={onKeydown:$=>{if($.which===$e.TAB){const x=h($.shiftKey?-1:1);return d.value=x,x&&$.preventDefault(),!0}if(d.value){const x=d.value==="date"?p:g;return x.value&&x.value.onKeydown&&x.value.onKeydown($),!0}return[$e.LEFT,$e.RIGHT,$e.UP,$e.DOWN].includes($.which)?(d.value="date",!0):!1},onBlur:b,onClose:b};const y=($,x)=>{let C=$;x==="date"&&!a&&m.defaultValue?(C=r.setHour(C,r.getHour(m.defaultValue)),C=r.setMinute(C,r.getMinute(m.defaultValue)),C=r.setSecond(C,r.getSecond(m.defaultValue))):x==="time"&&!a&&l&&(C=r.setYear(C,r.getYear(l)),C=r.setMonth(C,r.getMonth(l)),C=r.setDate(C,r.getDate(l))),u&&u(C,"mouse")},S=i?i(a||null):{};return f("div",{class:te(c,{[`${c}-active`]:d.value})},[f(di,N(N({},t),{},{operationRef:p,active:d.value==="date",onSelect:$=>{y(ls(r,$,!a&&typeof s=="object"?s.defaultValue:null),"date")}}),null),f(Xc,N(N(N(N({},t),{},{format:void 0},m),S),{},{disabledTime:null,defaultValue:void 0,operationRef:g,active:d.value==="time",onSelect:$=>{y($,"time")}}),null)])}Bg.displayName="DatetimePanel";Bg.inheritAttrs=!1;function Fg(e){const t=Mt(e),{prefixCls:n,generateConfig:o,locale:r,value:a}=t,l=`${n}-cell`,i=c=>f("td",{key:"week",class:te(l,`${l}-week`)},[o.locale.getWeek(r.locale,c)]),s=`${n}-week-panel-row`,u=c=>te(s,{[`${s}-selected`]:$w(o,r.locale,a,c)});return f(di,N(N({},t),{},{panelName:"week",prefixColumn:i,rowClassName:u,keyboardConfig:{onLeftRight:null}}),null)}Fg.displayName="WeekPanel";Fg.inheritAttrs=!1;function Lg(e){const t=Mt(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:a,onNextYear:l,onPrevYear:i,onYearClick:s}=t,{hideHeader:u}=Co();if(u.value)return null;const c=`${n}-header`;return f(pr,N(N({},t),{},{prefixCls:c,onSuperPrev:i,onSuperNext:l}),{default:()=>[f("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Ut(a,{locale:r,format:r.yearFormat,generateConfig:o})])]})}Lg.displayName="MonthHeader";Lg.inheritAttrs=!1;const Iw=3,zB=4;function zg(e){const t=Mt(e),{prefixCls:n,locale:o,value:r,viewDate:a,generateConfig:l,monthCellRender:i}=t,{rangedValue:s,hoverRangedValue:u}=ui(),c=`${n}-cell`,d=Uc({cellPrefixCls:c,value:r,generateConfig:l,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(h,b)=>Rg(l,h,b),isInView:()=>!0,offsetCell:(h,b)=>l.addMonth(h,b)}),p=o.shortMonths||(l.locale.getShortMonths?l.locale.getShortMonths(o.locale):[]),g=l.setMonth(a,0),m=i?h=>i({current:h,locale:o}):void 0;return f(ea,N(N({},t),{},{rowNum:zB,colNum:Iw,baseDate:g,getCellNode:m,getCellText:h=>o.monthFormat?Ut(h,{locale:o,format:o.monthFormat,generateConfig:l}):p[l.getMonth(h)],getCellClassName:d,getCellDate:l.addMonth,titleCell:h=>Ut(h,{locale:o,format:"YYYY-MM",generateConfig:l})}),null)}zg.displayName="MonthBody";zg.inheritAttrs=!1;function Hg(e){const t=Mt(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:a,value:l,viewDate:i,onPanelChange:s,onSelect:u}=t,c=`${n}-month-panel`;o.value={onKeydown:p=>ol(p,{onLeftRight:g=>{u(a.addMonth(l||i,g),"key")},onCtrlLeftRight:g=>{u(a.addYear(l||i,g),"key")},onUpDown:g=>{u(a.addMonth(l||i,g*Iw),"key")},onEnter:()=>{s("date",l||i)}})};const d=p=>{const g=a.addYear(i,p);r(g),s(null,g)};return f("div",{class:c},[f(Lg,N(N({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",i)}}),null),f(zg,N(N({},t),{},{prefixCls:n,onSelect:p=>{u(p,"mouse"),s("date",p)}}),null)])}Hg.displayName="MonthPanel";Hg.inheritAttrs=!1;function jg(e){const t=Mt(e),{prefixCls:n,generateConfig:o,locale:r,viewDate:a,onNextYear:l,onPrevYear:i,onYearClick:s}=t,{hideHeader:u}=Co();if(u.value)return null;const c=`${n}-header`;return f(pr,N(N({},t),{},{prefixCls:c,onSuperPrev:i,onSuperNext:l}),{default:()=>[f("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Ut(a,{locale:r,format:r.yearFormat,generateConfig:o})])]})}jg.displayName="QuarterHeader";jg.inheritAttrs=!1;const HB=4,jB=1;function Vg(e){const t=Mt(e),{prefixCls:n,locale:o,value:r,viewDate:a,generateConfig:l}=t,{rangedValue:i,hoverRangedValue:s}=ui(),u=`${n}-cell`,c=Uc({cellPrefixCls:u,value:r,generateConfig:l,rangedValue:i.value,hoverRangedValue:s.value,isSameCell:(p,g)=>Sw(l,p,g),isInView:()=>!0,offsetCell:(p,g)=>l.addMonth(p,g*3)}),d=l.setDate(l.setMonth(a,0),1);return f(ea,N(N({},t),{},{rowNum:jB,colNum:HB,baseDate:d,getCellText:p=>Ut(p,{locale:o,format:o.quarterFormat||"[Q]Q",generateConfig:l}),getCellClassName:c,getCellDate:(p,g)=>l.addMonth(p,g*3),titleCell:p=>Ut(p,{locale:o,format:"YYYY-[Q]Q",generateConfig:l})}),null)}Vg.displayName="QuarterBody";Vg.inheritAttrs=!1;function Wg(e){const t=Mt(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:a,value:l,viewDate:i,onPanelChange:s,onSelect:u}=t,c=`${n}-quarter-panel`;o.value={onKeydown:p=>ol(p,{onLeftRight:g=>{u(a.addMonth(l||i,g*3),"key")},onCtrlLeftRight:g=>{u(a.addYear(l||i,g),"key")},onUpDown:g=>{u(a.addYear(l||i,g),"key")}})};const d=p=>{const g=a.addYear(i,p);r(g),s(null,g)};return f("div",{class:c},[f(jg,N(N({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",i)}}),null),f(Vg,N(N({},t),{},{prefixCls:n,onSelect:p=>{u(p,"mouse")}}),null)])}Wg.displayName="QuarterPanel";Wg.inheritAttrs=!1;function Kg(e){const t=Mt(e),{prefixCls:n,generateConfig:o,viewDate:r,onPrevDecade:a,onNextDecade:l,onDecadeClick:i}=t,{hideHeader:s}=Co();if(s.value)return null;const u=`${n}-header`,c=o.getYear(r),d=Math.floor(c/rr)*rr,p=d+rr-1;return f(pr,N(N({},t),{},{prefixCls:u,onSuperPrev:a,onSuperNext:l}),{default:()=>[f("button",{type:"button",onClick:i,class:`${n}-decade-btn`},[d,go("-"),p])]})}Kg.displayName="YearHeader";Kg.inheritAttrs=!1;const Qf=3,w1=4;function Gg(e){const t=Mt(e),{prefixCls:n,value:o,viewDate:r,locale:a,generateConfig:l}=t,{rangedValue:i,hoverRangedValue:s}=ui(),u=`${n}-cell`,c=l.getYear(r),d=Math.floor(c/rr)*rr,p=d+rr-1,g=l.setYear(r,d-Math.ceil((Qf*w1-rr)/2)),m=b=>{const y=l.getYear(b);return d<=y&&y<=p},h=Uc({cellPrefixCls:u,value:o,generateConfig:l,rangedValue:i.value,hoverRangedValue:s.value,isSameCell:(b,y)=>Gc(l,b,y),isInView:m,offsetCell:(b,y)=>l.addYear(b,y)});return f(ea,N(N({},t),{},{rowNum:w1,colNum:Qf,baseDate:g,getCellText:l.getYear,getCellClassName:h,getCellDate:l.addYear,titleCell:b=>Ut(b,{locale:a,format:"YYYY",generateConfig:l})}),null)}Gg.displayName="YearBody";Gg.inheritAttrs=!1;const rr=10;function Xg(e){const t=Mt(e),{prefixCls:n,operationRef:o,onViewDateChange:r,generateConfig:a,value:l,viewDate:i,sourceMode:s,onSelect:u,onPanelChange:c}=t,d=`${n}-year-panel`;o.value={onKeydown:g=>ol(g,{onLeftRight:m=>{u(a.addYear(l||i,m),"key")},onCtrlLeftRight:m=>{u(a.addYear(l||i,m*rr),"key")},onUpDown:m=>{u(a.addYear(l||i,m*Qf),"key")},onEnter:()=>{c(s==="date"?"date":"month",l||i)}})};const p=g=>{const m=a.addYear(i,g*10);r(m),c(null,m)};return f("div",{class:d},[f(Kg,N(N({},t),{},{prefixCls:n,onPrevDecade:()=>{p(-1)},onNextDecade:()=>{p(1)},onDecadeClick:()=>{c("decade",i)}}),null),f(Gg,N(N({},t),{},{prefixCls:n,onSelect:g=>{c(s==="date"?"date":"month",g),u(g,"mouse")}}),null)])}Xg.displayName="YearPanel";Xg.inheritAttrs=!1;function Tw(e,t,n){return n?f("div",{class:`${e}-footer-extra`},[n(t)]):null}function Mw(e){let{prefixCls:t,components:n={},needConfirmButton:o,onNow:r,onOk:a,okDisabled:l,showNow:i,locale:s}=e,u,c;if(o){const d=n.button||"button";r&&i!==!1&&(u=f("li",{class:`${t}-now`},[f("a",{class:`${t}-now-btn`,onClick:r},[s.now])])),c=o&&f("li",{class:`${t}-ok`},[f(d,{disabled:l,onClick:p=>{p.stopPropagation(),a&&a()}},{default:()=>[s.ok]})])}return!u&&!c?null:f("ul",{class:`${t}-ranges`},[u,c])}function VB(){return J({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const o=P(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),r=P(()=>24%e.hourStep===0),a=P(()=>60%e.minuteStep===0),l=P(()=>60%e.secondStep===0),i=Co(),{operationRef:s,onSelect:u,hideRanges:c,defaultOpenValue:d}=i,{inRange:p,panelPosition:g,rangedValue:m,hoverRangedValue:h}=ui(),b=Z({}),[y,S]=Ot(null,{value:Be(e,"value"),defaultValue:e.defaultValue,postState:R=>!R&&(d!=null&&d.value)&&e.picker==="time"?d.value:R}),[$,x]=Ot(null,{value:Be(e,"pickerValue"),defaultValue:e.defaultPickerValue||y.value,postState:R=>{const{generateConfig:E,showTime:k,defaultValue:B}=e,L=E.getNow();return R?!y.value&&e.showTime?typeof k=="object"?ls(E,Array.isArray(R)?R[0]:R,k.defaultValue||L):B?ls(E,Array.isArray(R)?R[0]:R,B):ls(E,Array.isArray(R)?R[0]:R,L):R:L}}),C=R=>{x(R),e.onPickerValueChange&&e.onPickerValueChange(R)},O=R=>{const E=MB[e.picker];return E?E(R):R},[w,M]=Ot(()=>e.picker==="time"?"time":O("date"),{value:Be(e,"mode")});ue(()=>e.picker,()=>{M(e.picker)});const I=Z(w.value),_=R=>{I.value=R},D=(R,E)=>{const{onPanelChange:k,generateConfig:B}=e,L=O(R||w.value);_(w.value),M(L),k&&(w.value!==L||wa(B,$.value,$.value))&&k(E,L)},F=function(R,E){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:B,generateConfig:L,onSelect:j,onChange:K,disabledDate:G}=e;(w.value===B||k)&&(S(R),j&&j(R),u&&u(R,E),K&&!wa(L,R,y.value)&&!(G!=null&&G(R))&&K(R))},z=R=>b.value&&b.value.onKeydown?([$e.LEFT,$e.RIGHT,$e.UP,$e.DOWN,$e.PAGE_UP,$e.PAGE_DOWN,$e.ENTER].includes(R.which)&&R.preventDefault(),b.value.onKeydown(R)):!1,H=R=>{b.value&&b.value.onBlur&&b.value.onBlur(R)},T=()=>{const{generateConfig:R,hourStep:E,minuteStep:k,secondStep:B}=e,L=R.getNow(),j=SB(R.getHour(L),R.getMinute(L),R.getSecond(L),r.value?E:1,a.value?k:1,l.value?B:1),K=hw(R,L,j[0],j[1],j[2]);F(K,"submit")},A=P(()=>{const{prefixCls:R,direction:E}=e;return te(`${R}-panel`,{[`${R}-panel-has-range`]:m&&m.value&&m.value[0]&&m.value[1],[`${R}-panel-has-range-hover`]:h&&h.value&&h.value[0]&&h.value[1],[`${R}-panel-rtl`]:E==="rtl"})});return Eg(v(v({},i),{mode:w,hideHeader:P(()=>{var R;return e.hideHeader!==void 0?e.hideHeader:(R=i.hideHeader)===null||R===void 0?void 0:R.value}),hidePrevBtn:P(()=>p.value&&g.value==="right"),hideNextBtn:P(()=>p.value&&g.value==="left")})),ue(()=>e.value,()=>{e.value&&x(e.value)}),()=>{const{prefixCls:R="ant-picker",locale:E,generateConfig:k,disabledDate:B,picker:L="date",tabindex:j=0,showNow:K,showTime:G,showToday:U,renderExtraFooter:X,onMousedown:ee,onOk:oe,components:Q}=e;s&&g.value!=="right"&&(s.value={onKeydown:z,onClose:()=>{b.value&&b.value.onClose&&b.value.onClose()}});let W;const q=v(v(v({},n),e),{operationRef:b,prefixCls:R,viewDate:$.value,value:y.value,onViewDateChange:C,sourceMode:I.value,onPanelChange:D,disabledDate:B});switch(delete q.onChange,delete q.onSelect,w.value){case"decade":W=f(Ag,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;case"year":W=f(Xg,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;case"month":W=f(Hg,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;case"quarter":W=f(Wg,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;case"week":W=f(Fg,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;case"time":delete q.showTime,W=f(Xc,N(N(N({},q),typeof G=="object"?G:null),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null);break;default:G?W=f(Bg,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null):W=f(di,N(N({},q),{},{onSelect:(me,ce)=>{C(me),F(me,ce)}}),null)}let re,le;c!=null&&c.value||(re=Tw(R,w.value,X),le=Mw({prefixCls:R,components:Q,needConfirmButton:o.value,okDisabled:!y.value||B&&B(y.value),locale:E,showNow:K,onNow:o.value&&T,onOk:()=>{y.value&&(F(y.value,"submit",!0),oe&&oe(y.value))}}));let ye;if(U&&w.value==="date"&&L==="date"&&!G){const me=k.getNow(),ce=`${R}-today-btn`,se=B&&B(me);ye=f("a",{class:te(ce,se&&`${ce}-disabled`),"aria-disabled":se,onClick:()=>{se||F(me,"mouse",!0)}},[E.today])}return f("div",{tabindex:j,class:te(A.value,n.class),style:n.style,onKeydown:z,onBlur:H,onMousedown:ee},[W,re||le||ye?f("div",{class:`${R}-footer`},[re,le,ye]):null])}}})}const WB=VB(),Ew=e=>f(WB,e),KB={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function _w(e,t){let{slots:n}=t;const{prefixCls:o,popupStyle:r,visible:a,dropdownClassName:l,dropdownAlign:i,transitionName:s,getPopupContainer:u,range:c,popupPlacement:d,direction:p}=Mt(e),g=`${o}-dropdown`;return f(ii,{showAction:[],hideAction:[],popupPlacement:d!==void 0?d:p==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:KB,prefixCls:g,popupTransitionName:s,popupAlign:i,popupVisible:a,popupClassName:te(l,{[`${g}-range`]:c,[`${g}-rtl`]:p==="rtl"}),popupStyle:r,getPopupContainer:u},{default:n.default,popup:n.popupElement})}const Dw=J({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?f("div",{class:`${e.prefixCls}-presets`},[f("ul",null,[e.presets.map((t,n)=>{let{label:o,value:r}=t;return f("li",{key:n,onClick:()=>{e.onClick(r)},onMouseenter:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,r)},onMouseleave:()=>{var a;(a=e.onHover)===null||a===void 0||a.call(e,null)}},[o])})])]):null}});function Zf(e){let{open:t,value:n,isClickOutside:o,triggerOpen:r,forwardKeydown:a,onKeydown:l,blurToCancel:i,onSubmit:s,onCancel:u,onFocus:c,onBlur:d}=e;const p=Y(!1),g=Y(!1),m=Y(!1),h=Y(!1),b=Y(!1),y=P(()=>({onMousedown:()=>{p.value=!0,r(!0)},onKeydown:$=>{if(l($,()=>{b.value=!0}),!b.value){switch($.which){case $e.ENTER:{t.value?s()!==!1&&(p.value=!0):r(!0),$.preventDefault();return}case $e.TAB:{p.value&&t.value&&!$.shiftKey?(p.value=!1,$.preventDefault()):!p.value&&t.value&&!a($)&&$.shiftKey&&(p.value=!0,$.preventDefault());return}case $e.ESC:{p.value=!0,u();return}}!t.value&&![$e.SHIFT].includes($.which)?r(!0):p.value||a($)}},onFocus:$=>{p.value=!0,g.value=!0,c&&c($)},onBlur:$=>{if(m.value||!o(document.activeElement)){m.value=!1;return}i.value?setTimeout(()=>{let{activeElement:x}=document;for(;x&&x.shadowRoot;)x=x.shadowRoot.activeElement;o(x)&&u()},0):t.value&&(r(!1),h.value&&s()),g.value=!1,d&&d($)}}));ue(t,()=>{h.value=!1}),ue(n,()=>{h.value=!0});const S=Y();return Ve(()=>{S.value=xB($=>{const x=wB($);if(t.value){const C=o(x);C?(!g.value||C)&&r(!1):(m.value=!0,We(()=>{m.value=!1}))}})}),Je(()=>{S.value&&S.value()}),[y,{focused:g,typing:p}]}function Jf(e){let{valueTexts:t,onTextChange:n}=e;const o=Z("");function r(l){o.value=l,n(l)}function a(){o.value=t.value[0]}return ue(()=>[...t.value],function(l){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];l.join("||")!==i.join("||")&&t.value.every(s=>s!==o.value)&&a()},{immediate:!0}),[o,r,a]}function Us(e,t){let{formatList:n,generateConfig:o,locale:r}=t;const a=Wv(()=>{if(!e.value)return[[""],""];let s="";const u=[];for(let c=0;cu[0]!==s[0]||!da(u[1],s[1])),l=P(()=>a.value[0]),i=P(()=>a.value[1]);return[l,i]}function ep(e,t){let{formatList:n,generateConfig:o,locale:r}=t;const a=Z(null);let l;function i(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(We.cancel(l),p){a.value=d;return}l=We(()=>{a.value=d})}const[,s]=Us(a,{formatList:n,generateConfig:o,locale:r});function u(d){i(d)}function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;i(null,d)}return ue(e,()=>{c(!0)}),Je(()=>{We.cancel(l)}),[s,u,c]}function Aw(e,t){return P(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Cv(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(o=>{const r=t.value[o],a=typeof r=="function"?r():r;return{label:o,value:a}})):[])}function GB(){return J({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:o}=t;const r=Z(null),a=P(()=>e.presets),l=Aw(a),i=P(()=>{var B;return(B=e.picker)!==null&&B!==void 0?B:"date"}),s=P(()=>i.value==="date"&&!!e.showTime||i.value==="time"),u=P(()=>ww(mw(e.format,i.value,e.showTime,e.use12Hours))),c=Z(null),d=Z(null),p=Z(null),[g,m]=Ot(null,{value:Be(e,"value"),defaultValue:e.defaultValue}),h=Z(g.value),b=B=>{h.value=B},y=Z(null),[S,$]=Ot(!1,{value:Be(e,"open"),defaultValue:e.defaultOpen,postState:B=>e.disabled?!1:B,onChange:B=>{e.onOpenChange&&e.onOpenChange(B),!B&&y.value&&y.value.onClose&&y.value.onClose()}}),[x,C]=Us(h,{formatList:u,generateConfig:Be(e,"generateConfig"),locale:Be(e,"locale")}),[O,w,M]=Jf({valueTexts:x,onTextChange:B=>{const L=Cw(B,{locale:e.locale,formatList:u.value,generateConfig:e.generateConfig});L&&(!e.disabledDate||!e.disabledDate(L))&&b(L)}}),I=B=>{const{onChange:L,generateConfig:j,locale:K}=e;b(B),m(B),L&&!wa(j,g.value,B)&&L(B,B?Ut(B,{generateConfig:j,locale:K,format:u.value[0]}):"")},_=B=>{e.disabled&&B||$(B)},D=B=>S.value&&y.value&&y.value.onKeydown?y.value.onKeydown(B):!1,F=function(){e.onMouseup&&e.onMouseup(...arguments),r.value&&(r.value.focus(),_(!0))},[z,{focused:H,typing:T}]=Zf({blurToCancel:s,open:S,value:O,triggerOpen:_,forwardKeydown:D,isClickOutside:B=>!yw([c.value,d.value,p.value],B),onSubmit:()=>!h.value||e.disabledDate&&e.disabledDate(h.value)?!1:(I(h.value),_(!1),M(),!0),onCancel:()=>{_(!1),b(g.value),M()},onKeydown:(B,L)=>{var j;(j=e.onKeydown)===null||j===void 0||j.call(e,B,L)},onFocus:B=>{var L;(L=e.onFocus)===null||L===void 0||L.call(e,B)},onBlur:B=>{var L;(L=e.onBlur)===null||L===void 0||L.call(e,B)}});ue([S,x],()=>{S.value||(b(g.value),!x.value.length||x.value[0]===""?w(""):C.value!==O.value&&M())}),ue(i,()=>{S.value||M()}),ue(g,()=>{b(g.value)});const[A,R,E]=ep(O,{formatList:u,generateConfig:Be(e,"generateConfig"),locale:Be(e,"locale")}),k=(B,L)=>{(L==="submit"||L!=="key"&&!s.value)&&(I(B),_(!1))};return Eg({operationRef:y,hideHeader:P(()=>i.value==="time"),onSelect:k,open:S,defaultOpenValue:Be(e,"defaultOpenValue"),onDateMouseenter:R,onDateMouseleave:E}),o({focus:()=>{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()}}),()=>{const{prefixCls:B="rc-picker",id:L,tabindex:j,dropdownClassName:K,dropdownAlign:G,popupStyle:U,transitionName:X,generateConfig:ee,locale:oe,inputReadOnly:Q,allowClear:W,autofocus:q,picker:re="date",defaultOpenValue:le,suffixIcon:ye,clearIcon:me,disabled:ce,placeholder:se,getPopupContainer:ie,panelRender:fe,onMousedown:Se,onMouseenter:Ie,onMouseleave:ge,onContextmenu:Oe,onClick:we,onSelect:ae,direction:ne,autocomplete:pe="off"}=e,xe=v(v(v({},e),n),{class:te({[`${B}-panel-focused`]:!T.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let Te=f("div",{class:`${B}-panel-layout`},[f(Dw,{prefixCls:B,presets:l.value,onClick:_e=>{I(_e),_(!1)}},null),f(Ew,N(N({},xe),{},{generateConfig:ee,value:h.value,locale:oe,tabindex:-1,onSelect:_e=>{ae==null||ae(_e),b(_e)},direction:ne,onPanelChange:(_e,Re)=>{const{onPanelChange:Ye}=e;E(!0),Ye==null||Ye(_e,Re)}}),null)]);fe&&(Te=fe(Te));const ke=f("div",{class:`${B}-panel-container`,ref:c,onMousedown:_e=>{_e.preventDefault()}},[Te]);let ve;ye&&(ve=f("span",{class:`${B}-suffix`},[ye]));let he;W&&g.value&&!ce&&(he=f("span",{onMousedown:_e=>{_e.preventDefault(),_e.stopPropagation()},onMouseup:_e=>{_e.preventDefault(),_e.stopPropagation(),I(null),_(!1)},class:`${B}-clear`,role:"button"},[me||f("span",{class:`${B}-clear-btn`},null)]));const be=v(v(v(v({id:L,tabindex:j,disabled:ce,readonly:Q||typeof u.value[0]=="function"||!T.value,value:A.value||O.value,onInput:_e=>{w(_e.target.value)},autofocus:q,placeholder:se,ref:r,title:O.value},z.value),{size:bw(re,u.value[0],ee)}),Ow(e)),{autocomplete:pe}),Me=e.inputRender?e.inputRender(be):f("input",be,null),Ae=ne==="rtl"?"bottomRight":"bottomLeft";return f("div",{ref:p,class:te(B,n.class,{[`${B}-disabled`]:ce,[`${B}-focused`]:H.value,[`${B}-rtl`]:ne==="rtl"}),style:n.style,onMousedown:Se,onMouseup:F,onMouseenter:Ie,onMouseleave:ge,onContextmenu:Oe,onClick:we},[f("div",{class:te(`${B}-input`,{[`${B}-input-placeholder`]:!!A.value}),ref:d},[Me,ve,he]),f(_w,{visible:S.value,popupStyle:U,prefixCls:B,dropdownClassName:K,dropdownAlign:G,getPopupContainer:ie,transitionName:X,popupPlacement:Ae,direction:ne},{default:()=>[f("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>ke})])}}})}const XB=GB();function UB(e,t){let{picker:n,locale:o,selectedValue:r,disabledDate:a,disabled:l,generateConfig:i}=e;const s=P(()=>dt(r.value,0)),u=P(()=>dt(r.value,1));function c(h){return i.value.locale.getWeekFirstDate(o.value.locale,h)}function d(h){const b=i.value.getYear(h),y=i.value.getMonth(h);return b*100+y}function p(h){const b=i.value.getYear(h),y=Yf(i.value,h);return b*10+y}return[h=>{var b;if(a&&(!((b=a==null?void 0:a.value)===null||b===void 0)&&b.call(a,h)))return!0;if(l[1]&&u)return!Ao(i.value,h,u.value)&&i.value.isAfter(h,u.value);if(t.value[1]&&u.value)switch(n.value){case"quarter":return p(h)>p(u.value);case"month":return d(h)>d(u.value);case"week":return c(h)>c(u.value);default:return!Ao(i.value,h,u.value)&&i.value.isAfter(h,u.value)}return!1},h=>{var b;if(!((b=a.value)===null||b===void 0)&&b.call(a,h))return!0;if(l[0]&&s)return!Ao(i.value,h,u.value)&&i.value.isAfter(s.value,h);if(t.value[0]&&s.value)switch(n.value){case"quarter":return p(h)EB(o,l,i));case"quarter":case"month":return a((l,i)=>Gc(o,l,i));default:return a((l,i)=>Rg(o,l,i))}}function qB(e,t,n,o){const r=dt(e,0),a=dt(e,1);if(t===0)return r;if(r&&a)switch(YB(r,a,n,o)){case"same":return r;case"closing":return r;default:return Il(a,n,o,-1)}return r}function QB(e){let{values:t,picker:n,defaultDates:o,generateConfig:r}=e;const a=Z([dt(o,0),dt(o,1)]),l=Z(null),i=P(()=>dt(t.value,0)),s=P(()=>dt(t.value,1)),u=g=>a.value[g]?a.value[g]:dt(l.value,g)||qB(t.value,g,n.value,r.value)||i.value||s.value||r.value.getNow(),c=Z(null),d=Z(null);Le(()=>{c.value=u(0),d.value=u(1)});function p(g,m){if(g){let h=Hn(l.value,g,m);a.value=Hn(a.value,null,m)||[null,null];const b=(m+1)%2;dt(t.value,b)||(h=Hn(h,g,b)),l.value=h}else(i.value||s.value)&&(l.value=null)}return[c,d,p]}function ZB(e){return f8()?(p8(e),!0):!1}function JB(e){return typeof e=="function"?e():Lt(e)}function Rw(e){var t;const n=JB(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function eF(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Dn()?Ve(e):t?e():lt(e)}function tF(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=Y(),o=()=>n.value=!!e();return o(),eF(o,t),n}var sd;const Nw=typeof window<"u";Nw&&(!((sd=window==null?void 0:window.navigator)===null||sd===void 0)&&sd.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const nF=Nw?window:void 0;var oF=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r2&&arguments[2]!==void 0?arguments[2]:{};const{window:o=nF}=n,r=oF(n,["window"]);let a;const l=tF(()=>o&&"ResizeObserver"in o),i=()=>{a&&(a.disconnect(),a=void 0)},s=ue(()=>Rw(e),c=>{i(),l.value&&o&&c&&(a=new ResizeObserver(t),a.observe(c,r))},{immediate:!0,flush:"post"}),u=()=>{i(),s()};return ZB(u),{isSupported:l,stop:u}}function fl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:o="content-box"}=n,r=Y(t.width),a=Y(t.height);return rF(e,l=>{let[i]=l;const s=o==="border-box"?i.borderBoxSize:o==="content-box"?i.contentBoxSize:i.devicePixelContentBoxSize;s?(r.value=s.reduce((u,c)=>{let{inlineSize:d}=c;return u+d},0),a.value=s.reduce((u,c)=>{let{blockSize:d}=c;return u+d},0)):(r.value=i.contentRect.width,a.value=i.contentRect.height)},n),ue(()=>Rw(e),l=>{r.value=l?t.width:0,a.value=l?t.height:0}),{width:r,height:a}}function O1(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function P1(e,t,n,o){return!!(e||o&&o[t]||n[(t+1)%2])}function aF(){return J({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:o}=t;const r=P(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),a=P(()=>e.presets),l=P(()=>e.ranges),i=Aw(a,l),s=Z({}),u=Z(null),c=Z(null),d=Z(null),p=Z(null),g=Z(null),m=Z(null),h=Z(null),b=Z(null),y=P(()=>ww(mw(e.format,e.picker,e.showTime,e.use12Hours))),[S,$]=Ot(0,{value:Be(e,"activePickerIndex")}),x=Z(null),C=P(()=>{const{disabled:Pe}=e;return Array.isArray(Pe)?Pe:[Pe||!1,Pe||!1]}),[O,w]=Ot(null,{value:Be(e,"value"),defaultValue:e.defaultValue,postState:Pe=>e.picker==="time"&&!e.order?Pe:O1(Pe,e.generateConfig)}),[M,I,_]=QB({values:O,picker:Be(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:Be(e,"generateConfig")}),[D,F]=Ot(O.value,{postState:Pe=>{let He=Pe;if(C.value[0]&&C.value[1])return He;for(let Fe=0;Fe<2;Fe+=1)C.value[Fe]&&!dt(He,Fe)&&!dt(e.allowEmpty,Fe)&&(He=Hn(He,e.generateConfig.getNow(),Fe));return He}}),[z,H]=Ot([e.picker,e.picker],{value:Be(e,"mode")});ue(()=>e.picker,()=>{H([e.picker,e.picker])});const T=(Pe,He)=>{var Fe;H(Pe),(Fe=e.onPanelChange)===null||Fe===void 0||Fe.call(e,He,Pe)},[A,R]=UB({picker:Be(e,"picker"),selectedValue:D,locale:Be(e,"locale"),disabled:C,disabledDate:Be(e,"disabledDate"),generateConfig:Be(e,"generateConfig")},s),[E,k]=Ot(!1,{value:Be(e,"open"),defaultValue:e.defaultOpen,postState:Pe=>C.value[S.value]?!1:Pe,onChange:Pe=>{var He;(He=e.onOpenChange)===null||He===void 0||He.call(e,Pe),!Pe&&x.value&&x.value.onClose&&x.value.onClose()}}),B=P(()=>E.value&&S.value===0),L=P(()=>E.value&&S.value===1),j=Z(0),K=Z(0),G=Z(0),{width:U}=fl(u);ue([E,U],()=>{!E.value&&u.value&&(G.value=U.value)});const{width:X}=fl(c),{width:ee}=fl(b),{width:oe}=fl(d),{width:Q}=fl(g);ue([S,E,X,ee,oe,Q,()=>e.direction],()=>{K.value=0,S.value?d.value&&g.value&&(K.value=oe.value+Q.value,X.value&&ee.value&&K.value>X.value-ee.value-(e.direction==="rtl"||b.value.offsetLeft>K.value?0:b.value.offsetLeft)&&(j.value=K.value)):S.value===0&&(j.value=0)},{immediate:!0});const W=Z();function q(Pe,He){if(Pe)clearTimeout(W.value),s.value[He]=!0,$(He),k(Pe),E.value||_(null,He);else if(S.value===He){k(Pe);const Fe=s.value;W.value=setTimeout(()=>{Fe===s.value&&(s.value={})})}}function re(Pe){q(!0,Pe),setTimeout(()=>{const He=[m,h][Pe];He.value&&He.value.focus()},0)}function le(Pe,He){let Fe=Pe,gt=dt(Fe,0),At=dt(Fe,1);const{generateConfig:It,locale:un,picker:Gt,order:so,onCalendarChange:yn,allowEmpty:Nn,onChange:St,showTime:qn}=e;gt&&At&&It.isAfter(gt,At)&&(Gt==="week"&&!$w(It,un.locale,gt,At)||Gt==="quarter"&&!Sw(It,gt,At)||Gt!=="week"&&Gt!=="quarter"&&Gt!=="time"&&!(qn?wa(It,gt,At):Ao(It,gt,At))?(He===0?(Fe=[gt,null],At=null):(gt=null,Fe=[null,At]),s.value={[He]:!0}):(Gt!=="time"||so!==!1)&&(Fe=O1(Fe,It))),F(Fe);const kn=Fe&&Fe[0]?Ut(Fe[0],{generateConfig:It,locale:un,format:y.value[0]}):"",Xo=Fe&&Fe[1]?Ut(Fe[1],{generateConfig:It,locale:un,format:y.value[0]}):"";yn&&yn(Fe,[kn,Xo],{range:He===0?"start":"end"});const Uo=P1(gt,0,C.value,Nn),Qn=P1(At,1,C.value,Nn);(Fe===null||Uo&&Qn)&&(w(Fe),St&&(!wa(It,dt(O.value,0),gt)||!wa(It,dt(O.value,1),At))&&St(Fe,[kn,Xo]));let Zn=null;He===0&&!C.value[1]?Zn=1:He===1&&!C.value[0]&&(Zn=0),Zn!==null&&Zn!==S.value&&(!s.value[Zn]||!dt(Fe,Zn))&&dt(Fe,He)?re(Zn):q(!1,He)}const ye=Pe=>E&&x.value&&x.value.onKeydown?x.value.onKeydown(Pe):!1,me={formatList:y,generateConfig:Be(e,"generateConfig"),locale:Be(e,"locale")},[ce,se]=Us(P(()=>dt(D.value,0)),me),[ie,fe]=Us(P(()=>dt(D.value,1)),me),Se=(Pe,He)=>{const Fe=Cw(Pe,{locale:e.locale,formatList:y.value,generateConfig:e.generateConfig});Fe&&!(He===0?A:R)(Fe)&&(F(Hn(D.value,Fe,He)),_(Fe,He))},[Ie,ge,Oe]=Jf({valueTexts:ce,onTextChange:Pe=>Se(Pe,0)}),[we,ae,ne]=Jf({valueTexts:ie,onTextChange:Pe=>Se(Pe,1)}),[pe,xe]=pt(null),[Te,ke]=pt(null),[ve,he,be]=ep(Ie,me),[Me,Ae,_e]=ep(we,me),Re=Pe=>{ke(Hn(D.value,Pe,S.value)),S.value===0?he(Pe):Ae(Pe)},Ye=()=>{ke(Hn(D.value,null,S.value)),S.value===0?be():_e()},tt=(Pe,He)=>({forwardKeydown:ye,onBlur:Fe=>{var gt;(gt=e.onBlur)===null||gt===void 0||gt.call(e,Fe)},isClickOutside:Fe=>!yw([c.value,d.value,p.value,u.value],Fe),onFocus:Fe=>{var gt;$(Pe),(gt=e.onFocus)===null||gt===void 0||gt.call(e,Fe)},triggerOpen:Fe=>{q(Fe,Pe)},onSubmit:()=>{if(!D.value||e.disabledDate&&e.disabledDate(D.value[Pe]))return!1;le(D.value,Pe),He()},onCancel:()=>{q(!1,Pe),F(O.value),He()}}),[at,{focused:it,typing:ct}]=Zf(v(v({},tt(0,Oe)),{blurToCancel:r,open:B,value:Ie,onKeydown:(Pe,He)=>{var Fe;(Fe=e.onKeydown)===null||Fe===void 0||Fe.call(e,Pe,He)}})),[Et,{focused:Dt,typing:Bt}]=Zf(v(v({},tt(1,ne)),{blurToCancel:r,open:L,value:we,onKeydown:(Pe,He)=>{var Fe;(Fe=e.onKeydown)===null||Fe===void 0||Fe.call(e,Pe,He)}})),Pt=Pe=>{var He;(He=e.onClick)===null||He===void 0||He.call(e,Pe),!E.value&&!m.value.contains(Pe.target)&&!h.value.contains(Pe.target)&&(C.value[0]?C.value[1]||re(1):re(0))},Qt=Pe=>{var He;(He=e.onMousedown)===null||He===void 0||He.call(e,Pe),E.value&&(it.value||Dt.value)&&!m.value.contains(Pe.target)&&!h.value.contains(Pe.target)&&Pe.preventDefault()},sn=P(()=>{var Pe;return!((Pe=O.value)===null||Pe===void 0)&&Pe[0]?Ut(O.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),Rn=P(()=>{var Pe;return!((Pe=O.value)===null||Pe===void 0)&&Pe[1]?Ut(O.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});ue([E,ce,ie],()=>{E.value||(F(O.value),!ce.value.length||ce.value[0]===""?ge(""):se.value!==Ie.value&&Oe(),!ie.value.length||ie.value[0]===""?ae(""):fe.value!==we.value&&ne())}),ue([sn,Rn],()=>{F(O.value)}),o({focus:()=>{m.value&&m.value.focus()},blur:()=>{m.value&&m.value.blur(),h.value&&h.value.blur()}});const Yn=P(()=>E.value&&Te.value&&Te.value[0]&&Te.value[1]&&e.generateConfig.isAfter(Te.value[1],Te.value[0])?Te.value:null);function cn(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:Fe,showTime:gt,dateRender:At,direction:It,disabledTime:un,prefixCls:Gt,locale:so}=e;let yn=gt;if(gt&&typeof gt=="object"&>.defaultValue){const St=gt.defaultValue;yn=v(v({},gt),{defaultValue:dt(St,S.value)||void 0})}let Nn=null;return At&&(Nn=St=>{let{current:qn,today:kn}=St;return At({current:qn,today:kn,info:{range:S.value?"end":"start"}})}),f(FB,{value:{inRange:!0,panelPosition:Pe,rangedValue:pe.value||D.value,hoverRangedValue:Yn.value}},{default:()=>[f(Ew,N(N(N({},e),He),{},{dateRender:Nn,showTime:yn,mode:z.value[S.value],generateConfig:Fe,style:void 0,direction:It,disabledDate:S.value===0?A:R,disabledTime:St=>un?un(St,S.value===0?"start":"end"):!1,class:te({[`${Gt}-panel-focused`]:S.value===0?!ct.value:!Bt.value}),value:dt(D.value,S.value),locale:so,tabIndex:-1,onPanelChange:(St,qn)=>{S.value===0&&be(!0),S.value===1&&_e(!0),T(Hn(z.value,qn,S.value),Hn(D.value,St,S.value));let kn=St;Pe==="right"&&z.value[S.value]===qn&&(kn=Il(kn,qn,Fe,-1)),_(kn,S.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:S.value===0?dt(D.value,1):dt(D.value,0)}),null)]})}const vr=(Pe,He)=>{const Fe=Hn(D.value,Pe,S.value);He==="submit"||He!=="key"&&!r.value?(le(Fe,S.value),S.value===0?be():_e()):F(Fe)};return Eg({operationRef:x,hideHeader:P(()=>e.picker==="time"),onDateMouseenter:Re,onDateMouseleave:Ye,hideRanges:P(()=>!0),onSelect:vr,open:E}),()=>{const{prefixCls:Pe="rc-picker",id:He,popupStyle:Fe,dropdownClassName:gt,transitionName:At,dropdownAlign:It,getPopupContainer:un,generateConfig:Gt,locale:so,placeholder:yn,autofocus:Nn,picker:St="date",showTime:qn,separator:kn="~",disabledDate:Xo,panelRender:Uo,allowClear:Qn,suffixIcon:na,clearIcon:Zn,inputReadOnly:xu,renderExtraFooter:e8,onMouseenter:t8,onMouseleave:n8,onMouseup:o8,onOk:Rm,components:r8,direction:ll,autocomplete:Nm="off"}=e,a8=ll==="rtl"?{right:`${K.value}px`}:{left:`${K.value}px`};function l8(){let dn;const Yo=Tw(Pe,z.value[S.value],e8),Lm=Mw({prefixCls:Pe,components:r8,needConfirmButton:r.value,okDisabled:!dt(D.value,S.value)||Xo&&Xo(D.value[S.value]),locale:so,onOk:()=>{dt(D.value,S.value)&&(le(D.value,S.value),Rm&&Rm(D.value))}});if(St!=="time"&&!qn){const qo=S.value===0?M.value:I.value,c8=Il(qo,St,Gt),Iu=z.value[S.value]===St,zm=cn(Iu?"left":!1,{pickerValue:qo,onPickerValueChange:Tu=>{_(Tu,S.value)}}),Hm=cn("right",{pickerValue:c8,onPickerValueChange:Tu=>{_(Il(Tu,St,Gt,-1),S.value)}});ll==="rtl"?dn=f(nt,null,[Hm,Iu&&zm]):dn=f(nt,null,[zm,Iu&&Hm])}else dn=cn();let Pu=f("div",{class:`${Pe}-panel-layout`},[f(Dw,{prefixCls:Pe,presets:i.value,onClick:qo=>{le(qo,null),q(!1,S.value)},onHover:qo=>{xe(qo)}},null),f("div",null,[f("div",{class:`${Pe}-panels`},[dn]),(Yo||Lm)&&f("div",{class:`${Pe}-footer`},[Yo,Lm])])]);return Uo&&(Pu=Uo(Pu)),f("div",{class:`${Pe}-panel-container`,style:{marginLeft:`${j.value}px`},ref:c,onMousedown:qo=>{qo.preventDefault()}},[Pu])}const i8=f("div",{class:te(`${Pe}-range-wrapper`,`${Pe}-${St}-range-wrapper`),style:{minWidth:`${G.value}px`}},[f("div",{ref:b,class:`${Pe}-range-arrow`,style:a8},null),l8()]);let km;na&&(km=f("span",{class:`${Pe}-suffix`},[na]));let Bm;Qn&&(dt(O.value,0)&&!C.value[0]||dt(O.value,1)&&!C.value[1])&&(Bm=f("span",{onMousedown:dn=>{dn.preventDefault(),dn.stopPropagation()},onMouseup:dn=>{dn.preventDefault(),dn.stopPropagation();let Yo=O.value;C.value[0]||(Yo=Hn(Yo,null,0)),C.value[1]||(Yo=Hn(Yo,null,1)),le(Yo,null),q(!1,S.value)},class:`${Pe}-clear`},[Zn||f("span",{class:`${Pe}-clear-btn`},null)]));const Fm={size:bw(St,y.value[0],Gt)};let wu=0,Ou=0;d.value&&p.value&&g.value&&(S.value===0?Ou=d.value.offsetWidth:(wu=K.value,Ou=p.value.offsetWidth));const s8=ll==="rtl"?{right:`${wu}px`}:{left:`${wu}px`};return f("div",N({ref:u,class:te(Pe,`${Pe}-range`,n.class,{[`${Pe}-disabled`]:C.value[0]&&C.value[1],[`${Pe}-focused`]:S.value===0?it.value:Dt.value,[`${Pe}-rtl`]:ll==="rtl"}),style:n.style,onClick:Pt,onMouseenter:t8,onMouseleave:n8,onMousedown:Qt,onMouseup:o8},Ow(e)),[f("div",{class:te(`${Pe}-input`,{[`${Pe}-input-active`]:S.value===0,[`${Pe}-input-placeholder`]:!!ve.value}),ref:d},[f("input",N(N(N({id:He,disabled:C.value[0],readonly:xu||typeof y.value[0]=="function"||!ct.value,value:ve.value||Ie.value,onInput:dn=>{ge(dn.target.value)},autofocus:Nn,placeholder:dt(yn,0)||"",ref:m},at.value),Fm),{},{autocomplete:Nm}),null)]),f("div",{class:`${Pe}-range-separator`,ref:g},[kn]),f("div",{class:te(`${Pe}-input`,{[`${Pe}-input-active`]:S.value===1,[`${Pe}-input-placeholder`]:!!Me.value}),ref:p},[f("input",N(N(N({disabled:C.value[1],readonly:xu||typeof y.value[0]=="function"||!Bt.value,value:Me.value||we.value,onInput:dn=>{ae(dn.target.value)},placeholder:dt(yn,1)||"",ref:h},Et.value),Fm),{},{autocomplete:Nm}),null)]),f("div",{class:`${Pe}-active-bar`,style:v(v({},s8),{width:`${Ou}px`,position:"absolute"})},null),km,Bm,f(_w,{visible:E.value,popupStyle:Fe,prefixCls:Pe,dropdownClassName:gt,dropdownAlign:It,getPopupContainer:un,transitionName:At,range:!0,direction:ll},{default:()=>[f("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>i8})])}}})}const lF=aF(),iF=lF;var sF=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.checked,()=>{a.value=e.checked}),r({focus(){var c;(c=l.value)===null||c===void 0||c.focus()},blur(){var c;(c=l.value)===null||c===void 0||c.blur()}});const i=Z(),s=c=>{if(e.disabled)return;e.checked===void 0&&(a.value=c.target.checked),c.shiftKey=i.value;const d={target:v(v({},e),{checked:c.target.checked}),stopPropagation(){c.stopPropagation()},preventDefault(){c.preventDefault()},nativeEvent:c};e.checked!==void 0&&(l.value.checked=!!e.checked),o("change",d),i.value=!1},u=c=>{o("click",c),i.value=c.shiftKey};return()=>{const{prefixCls:c,name:d,id:p,type:g,disabled:m,readonly:h,tabindex:b,autofocus:y,value:S,required:$}=e,x=sF(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:C,onFocus:O,onBlur:w,onKeydown:M,onKeypress:I,onKeyup:_}=n,D=v(v({},x),n),F=Object.keys(D).reduce((T,A)=>((A.startsWith("data-")||A.startsWith("aria-")||A==="role")&&(T[A]=D[A]),T),{}),z=te(c,C,{[`${c}-checked`]:a.value,[`${c}-disabled`]:m}),H=v(v({name:d,id:p,type:g,readonly:h,disabled:m,tabindex:b,class:`${c}-input`,checked:!!a.value,autofocus:y,value:S},F),{onChange:s,onClick:u,onFocus:O,onBlur:w,onKeydown:M,onKeypress:I,onKeyup:_,required:$});return f("span",{class:z},[f("input",N({ref:l},H),null),f("span",{class:`${c}-inner`},null)])}}}),Bw=Symbol("radioGroupContextKey"),uF=e=>{Ke(Bw,e)},dF=()=>Xe(Bw,void 0),Fw=Symbol("radioOptionTypeContextKey"),fF=e=>{Ke(Fw,e)},pF=()=>Xe(Fw,void 0),vF=new Ue("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),gF=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-group`;return{[o]:v(v({},et(e)),{display:"inline-block",fontSize:0,[`&${o}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},hF=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:o,radioSize:r,motionDurationSlow:a,motionDurationMid:l,motionEaseInOut:i,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:c,lineWidth:d,radioDotSize:p,colorBgContainerDisabled:g,colorTextDisabled:m,paddingXS:h,radioDotDisabledColor:b,lineType:y,radioDotDisabledSize:S,wireframe:$,colorWhite:x}=e,C=`${t}-inner`;return{[`${t}-wrapper`]:v(v({},et(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${y} ${o}`,borderRadius:"50%",visibility:"hidden",animationName:vF,animationDuration:a,animationTimingFunction:i,animationFillMode:"both",content:'""'},[t]:v(v({},et(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, + &:hover ${C}`]:{borderColor:o},[`${t}-input:focus-visible + ${C}`]:v({},Fo(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:r,height:r,marginBlockStart:r/-2,marginInlineStart:r/-2,backgroundColor:$?o:x,borderBlockStart:0,borderInlineStart:0,borderRadius:r,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:r,height:r,backgroundColor:u,borderColor:c,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${l}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[C]:{borderColor:o,backgroundColor:$?u:o,"&::after":{transform:`scale(${p/r})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[C]:{backgroundColor:g,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:b}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[C]:{"&::after":{transform:`scale(${S/r})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},mF=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:o,lineWidth:r,lineType:a,colorBorder:l,motionDurationSlow:i,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:c,radioButtonBg:d,fontSizeLG:p,controlHeightLG:g,controlHeightSM:m,paddingXS:h,borderRadius:b,borderRadiusSM:y,borderRadiusLG:S,radioCheckedColor:$,radioButtonCheckedBg:x,radioButtonHoverColor:C,radioButtonActiveColor:O,radioSolidCheckedColor:w,colorTextDisabled:M,colorBgContainerDisabled:I,radioDisabledButtonCheckedColor:_,radioDisabledButtonCheckedBg:D}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:`${n-r*2}px`,background:d,border:`${r}px ${a} ${l}`,borderBlockStartWidth:r+.02,borderInlineStartWidth:0,borderInlineEndWidth:r,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-r,insetInlineStart:-r,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:r,paddingInline:0,backgroundColor:l,transition:`background-color ${i}`,content:'""'}},"&:first-child":{borderInlineStart:`${r}px ${a} ${l}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${o}-group-large &`]:{height:g,fontSize:p,lineHeight:`${g-r*2}px`,"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},[`${o}-group-small &`]:{height:m,paddingInline:h-r,paddingBlock:0,lineHeight:`${m-r*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":v({},Fo(e)),[`${o}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:x,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:C,borderColor:C,"&::before":{backgroundColor:C}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:w,background:$,borderColor:$,"&:hover":{color:w,background:C,borderColor:C},"&:active":{color:w,background:O,borderColor:O}},"&-disabled":{color:M,backgroundColor:I,borderColor:l,cursor:"not-allowed","&:first-child, &:hover":{color:M,backgroundColor:I,borderColor:l}},[`&-disabled${o}-button-wrapper-checked`]:{color:_,backgroundColor:D,borderColor:l,boxShadow:"none"}}}},Lw=Qe("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:o,colorTextDisabled:r,colorBgContainer:a,fontSizeLG:l,controlOutline:i,colorPrimaryHover:s,colorPrimaryActive:u,colorText:c,colorPrimary:d,marginXS:p,controlOutlineWidth:g,colorTextLightSolid:m,wireframe:h}=e,b=`0 0 0 ${g}px ${i}`,y=b,S=l,$=4,x=S-$*2,C=h?x:S-($+n)*2,O=d,w=c,M=s,I=u,_=t-n,z=ze(e,{radioFocusShadow:b,radioButtonFocusShadow:y,radioSize:S,radioDotSize:C,radioDotDisabledSize:x,radioCheckedColor:O,radioDotDisabledColor:r,radioSolidCheckedColor:m,radioButtonBg:a,radioButtonCheckedBg:a,radioButtonColor:w,radioButtonHoverColor:M,radioButtonActiveColor:I,radioButtonPaddingHorizontal:_,radioDisabledButtonCheckedBg:o,radioDisabledButtonCheckedColor:r,radioWrapperMarginRight:p});return[gF(z),hF(z),mF(z)]});var bF=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,checked:Ce(),disabled:Ce(),isGroup:Ce(),value:V.any,name:String,id:String,autofocus:Ce(),onChange:de(),onFocus:de(),onBlur:de(),onClick:de(),"onUpdate:checked":de(),"onUpdate:value":de()}),pn=J({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:zw(),setup(e,t){let{emit:n,expose:o,slots:r,attrs:a}=t;const l=Ht(),i=ln.useInject(),s=pF(),u=dF(),c=gn(),d=P(()=>{var M;return(M=h.value)!==null&&M!==void 0?M:c.value}),p=Z(),{prefixCls:g,direction:m,disabled:h}=Ee("radio",e),b=P(()=>(u==null?void 0:u.optionType.value)==="button"||s==="button"?`${g.value}-button`:g.value),y=gn(),[S,$]=Lw(g);o({focus:()=>{p.value.focus()},blur:()=>{p.value.blur()}});const O=M=>{const I=M.target.checked;n("update:checked",I),n("update:value",I),n("change",M),l.onFieldChange()},w=M=>{n("change",M),u&&u.onChange&&u.onChange(M)};return()=>{var M;const I=u,{prefixCls:_,id:D=l.id.value}=e,F=bF(e,["prefixCls","id"]),z=v(v({prefixCls:b.value,id:D},qe(F,["onUpdate:checked","onUpdate:value"])),{disabled:(M=h.value)!==null&&M!==void 0?M:y.value});I?(z.name=I.name.value,z.onChange=w,z.checked=e.value===I.value.value,z.disabled=d.value||I.disabled.value):z.onChange=O;const H=te({[`${b.value}-wrapper`]:!0,[`${b.value}-wrapper-checked`]:z.checked,[`${b.value}-wrapper-disabled`]:z.disabled,[`${b.value}-wrapper-rtl`]:m.value==="rtl",[`${b.value}-wrapper-in-form-item`]:i.isFormItemInput},a.class,$.value);return S(f("label",N(N({},a),{},{class:H}),[f(kw,N(N({},z),{},{type:"radio",ref:p}),null),r.default&&f("span",null,[r.default()])]))}}}),yF=()=>({prefixCls:String,value:V.any,size:je(),options:ht(),disabled:Ce(),name:String,buttonStyle:je("outline"),id:String,optionType:je("default"),onChange:de(),"onUpdate:value":de()}),SF=J({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:yF(),setup(e,t){let{slots:n,emit:o,attrs:r}=t;const a=Ht(),{prefixCls:l,direction:i,size:s}=Ee("radio",e),[u,c]=Lw(l),d=Z(e.value),p=Z(!1);return ue(()=>e.value,m=>{d.value=m,p.value=!1}),uF({onChange:m=>{const h=d.value,{value:b}=m.target;"value"in e||(d.value=b),!p.value&&b!==h&&(p.value=!0,o("update:value",b),o("change",m),a.onFieldChange()),lt(()=>{p.value=!1})},value:d,disabled:P(()=>e.disabled),name:P(()=>e.name),optionType:P(()=>e.optionType)}),()=>{var m;const{options:h,buttonStyle:b,id:y=a.id.value}=e,S=`${l.value}-group`,$=te(S,`${S}-${b}`,{[`${S}-${s.value}`]:s.value,[`${S}-rtl`]:i.value==="rtl"},r.class,c.value);let x=null;return h&&h.length>0?x=h.map(C=>{if(typeof C=="string"||typeof C=="number")return f(pn,{key:C,prefixCls:l.value,disabled:e.disabled,value:C,checked:d.value===C},{default:()=>[C]});const{value:O,disabled:w,label:M}=C;return f(pn,{key:`radio-group-value-options-${O}`,prefixCls:l.value,disabled:w||e.disabled,value:O,checked:d.value===O},{default:()=>[M]})}):x=(m=n.default)===null||m===void 0?void 0:m.call(n),u(f("div",N(N({},r),{},{class:$,id:y}),[x]))}}}),$F=J({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:zw(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Ee("radio",e);return fF("button"),()=>{var a;return f(pn,N(N(N({},o),e),{},{prefixCls:r.value}),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}}});pn.Group=SF;pn.Button=$F;pn.install=function(e){return e.component(pn.name,pn),e.component(pn.Group.name,pn.Group),e.component(pn.Button.name,pn.Button),e};const Hw=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),rl=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Wr=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),jw=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":v({},rl(ze(e,{inputBorderHoverColor:e.colorBorder})))}),Vw=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:o,borderRadiusLG:r,inputPaddingHorizontalLG:a}=e;return{padding:`${t}px ${a}px`,fontSize:n,lineHeight:o,borderRadius:r}},Ug=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),qc=(e,t)=>{const{componentCls:n,colorError:o,colorWarning:r,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:i,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:i},"&:focus, &-focused":v({},Wr(ze(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${n}-prefix`]:{color:o}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":v({},Wr(ze(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:l}))),[`${n}-prefix`]:{color:r}}}},al=e=>v(v({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Hw(e.colorTextPlaceholder)),{"&:hover":v({},rl(e)),"&:focus, &-focused":v({},Wr(e)),"&-disabled, &[disabled]":v({},jw(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":v({},Vw(e)),"&-sm":v({},Ug(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Ww=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:v({},Vw(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:v({},Ug(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:v(v({display:"block"},ro()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},CF=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:o}=e,a=(n-o*2-16)/2;return{[t]:v(v(v(v({},et(e)),al(e)),qc(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}}})}},xF=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},wF=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:o,motionDurationSlow:r,colorIcon:a,colorIconHover:l,iconCls:i}=e;return{[`${t}-affix-wrapper`]:v(v(v(v(v({},al(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:v(v({},rl(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),xF(e)),{[`${i}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:l}}}),qc(e,`${t}-affix-wrapper`))}},OF=e=>{const{componentCls:t,colorError:n,colorSuccess:o,borderRadiusLG:r,borderRadiusSM:a}=e;return{[`${t}-group`]:v(v(v({},et(e)),Ww(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:o,borderColor:o}}}})}},PF=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-search`;return{[o]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${o}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${o}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${o}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${o}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${o}-button`]:{height:e.controlHeightLG},[`&-small ${o}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function fi(e){return ze(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const IF=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:o}=e,r=`${t}-textarea`;return{[r]:{position:"relative",[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:o}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},Yg=Qe("Input",e=>{const t=fi(e);return[CF(t),IF(t),wF(t),OF(t),PF(t),tl(t)]}),cd=(e,t,n,o)=>{const{lineHeight:r}=e,a=Math.floor(n*r)+2,l=Math.max((t-a)/2,0),i=Math.max(t-a-l,0);return{padding:`${l}px ${o}px ${i}px`}},TF=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:o,pickerPanelCellHeight:r,motionDurationSlow:a,borderRadiusSM:l,motionDurationMid:i,controlItemBgHover:s,lineWidth:u,lineType:c,colorPrimary:d,controlItemBgActive:p,colorTextLightSolid:g,controlHeightSM:m,pickerDateHoverRangeBorderColor:h,pickerCellBorderGap:b,pickerBasicCellHoverWithRangeColor:y,pickerPanelCellWidth:S,colorTextDisabled:$,colorBgContainerDisabled:x}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'},[o]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:`${r}px`,borderRadius:l,transition:`background ${i}, border ${i}`},[`&:hover:not(${n}-in-view), + &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[o]:{background:s}},[`&-in-view${n}-today ${o}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${u}px ${c} ${d}`,borderRadius:l,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:p}},[`&-in-view${n}-selected ${o}, + &-in-view${n}-range-start ${o}, + &-in-view${n}-range-end ${o}`]:{color:g,background:d},[`&-in-view${n}-range-start:not(${n}-range-start-single), + &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:p}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end), + &-in-view${n}-range-hover-start${n}-range-start-single, + &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover, + &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover, + &-in-view${n}-range-hover-end${n}-range-end-single, + &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:m,borderTop:`${u}px dashed ${h}`,borderBottom:`${u}px dashed ${h}`,transform:"translateY(-50%)",transition:`all ${a}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:b},[`&-in-view${n}-in-range${n}-range-hover::before, + &-in-view${n}-range-start${n}-range-hover::before, + &-in-view${n}-range-end${n}-range-hover::before, + &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before, + &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-start::before, + ${t}-panel + > :not(${t}-date-panel) + &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:y},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${o}`]:{borderStartStartRadius:l,borderEndStartRadius:l,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:l,borderEndEndRadius:l},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after, + tr > &-in-view${n}-range-hover-end:first-child::after, + &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after, + &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after, + &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(S-r)/2,borderInlineStart:`${u}px dashed ${h}`,borderStartStartRadius:u,borderEndStartRadius:u},[`tr > &-in-view${n}-range-hover:last-child::after, + tr > &-in-view${n}-range-hover-start:last-child::after, + &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after, + &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, + &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(S-r)/2,borderInlineEnd:`${u}px dashed ${h}`,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:$,pointerEvents:"none",[o]:{background:"transparent"},"&::before":{background:x}},[`&-disabled${n}-today ${o}::before`]:{borderColor:$}}},MF=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:o,pickerControlIconSize:r,pickerPanelCellWidth:a,paddingSM:l,paddingXS:i,paddingXXS:s,colorBgContainer:u,lineWidth:c,lineType:d,borderRadiusLG:p,colorPrimary:g,colorTextHeading:m,colorSplit:h,pickerControlIconBorderWidth:b,colorIcon:y,pickerTextHeight:S,motionDurationMid:$,colorIconHover:x,fontWeightStrong:C,pickerPanelCellHeight:O,pickerCellPaddingVertical:w,colorTextDisabled:M,colorText:I,fontSize:_,pickerBasicCellHoverWithRangeColor:D,motionDurationSlow:F,pickerPanelWithoutTimeCellHeight:z,pickerQuarterPanelContentHeight:H,colorLink:T,colorLinkActive:A,colorLinkHover:R,pickerDateHoverRangeBorderColor:E,borderRadiusSM:k,colorTextLightSolid:B,borderRadius:L,controlItemBgHover:j,pickerTimePanelColumnHeight:K,pickerTimePanelColumnWidth:G,pickerTimePanelCellHeight:U,controlItemBgActive:X,marginXXS:ee}=e,oe=a*7+l*2+4,Q=(oe-i*2)/3-o-l;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,border:`${c}px ${d} ${h}`,borderRadius:p,outline:"none","&-focused":{borderColor:g},"&-rtl":{direction:"rtl",[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:oe},"&-header":{display:"flex",padding:`0 ${i}px`,color:m,borderBottom:`${c}px ${d} ${h}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:`${S}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${$}`},"> button":{minWidth:"1.6em",fontSize:_,"&:hover":{color:x}},"&-view":{flex:"auto",fontWeight:C,lineHeight:`${S}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:i},"&:hover":{color:g}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:r,height:r,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:b,borderBlockEndWidth:0,borderInlineStartWidth:b,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(r/2),insetInlineStart:Math.ceil(r/2),display:"inline-block",width:r,height:r,border:"0 solid currentcolor",borderBlockStartWidth:b,borderBlockEndWidth:0,borderInlineStartWidth:b,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:O,fontWeight:"normal"},th:{height:O+w*2,color:I,verticalAlign:"middle"}},"&-cell":v({padding:`${w}px 0`,color:M,cursor:"pointer","&-in-view":{color:I}},TF(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}, + &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:D,transition:`all ${F}`,content:'""'}},[`&-date-panel + ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start + ${n}::after`]:{insetInlineEnd:-(a-O)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(a-O)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:z*4},[n]:{padding:`0 ${i}px`}},"&-quarter-panel":{[`${t}-content`]:{height:H}},[`&-panel ${t}-footer`]:{borderTop:`${c}px ${d} ${h}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${S-2*c}px`,textAlign:"center","&-extra":{padding:`0 ${l}`,lineHeight:`${S-2*c}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${c}px ${d} ${h}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:T,"&:hover":{color:R},"&:active":{color:A},[`&${t}-today-btn-disabled`]:{color:M,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${i/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${i}px`},[n]:{width:o},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:Q,borderInlineStart:`${c}px dashed ${E}`,borderStartStartRadius:k,borderBottomStartRadius:k,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:Q,borderInlineEnd:`${c}px dashed ${E}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:k,borderBottomEndRadius:k}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:Q,borderInlineEnd:`${c}px dashed ${E}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:L,borderEndEndRadius:L,[`${t}-panel-rtl &`]:{insetInlineStart:Q,borderInlineStart:`${c}px dashed ${E}`,borderStartStartRadius:L,borderEndStartRadius:L,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${i}px ${l}px`},[`${t}-cell`]:{[`&:hover ${n}, + &-selected ${n}, + ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${$}`,"&:first-child":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child":{borderStartEndRadius:k,borderEndEndRadius:k}},"&:hover td":{background:j},"&-selected td,\n &-selected:hover td":{background:g,[`&${t}-cell-week`]:{color:new st(B).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:B},[n]:{color:B}}}},"&-date-panel":{[`${t}-body`]:{padding:`${i}px ${l}px`},[`${t}-content`]:{width:a*7,th:{width:a}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${c}px ${d} ${h}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:K},"&-column":{flex:"1 0 auto",width:G,margin:`${s}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${$}`,overflowX:"hidden","&::after":{display:"block",height:K-U,content:'""'},"&:not(:first-child)":{borderInlineStart:`${c}px ${d} ${h}`},"&-active":{background:new st(X).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:ee,[`${t}-time-panel-cell-inner`]:{display:"block",width:G-2*ee,height:U,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(G-U)/2,color:I,lineHeight:`${U}px`,borderRadius:k,cursor:"pointer",transition:`background ${$}`,"&:hover":{background:j}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:X}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:M,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:K-U+s*2}}}},EF=e=>{const{componentCls:t,colorBgContainer:n,colorError:o,colorErrorOutline:r,colorWarning:a,colorWarningOutline:l}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:o},"&-focused, &:focus":v({},Wr(ze(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:r}))),[`${t}-active-bar`]:{background:o}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:a},"&-focused, &:focus":v({},Wr(ze(e,{inputBorderActiveColor:a,inputBorderHoverColor:a,controlOutline:l}))),[`${t}-active-bar`]:{background:a}}}}},_F=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:o,controlHeight:r,fontSize:a,inputPaddingHorizontal:l,colorBgContainer:i,lineWidth:s,lineType:u,colorBorder:c,borderRadius:d,motionDurationMid:p,colorBgContainerDisabled:g,colorTextDisabled:m,colorTextPlaceholder:h,controlHeightLG:b,fontSizeLG:y,controlHeightSM:S,inputPaddingHorizontalSM:$,paddingXS:x,marginXS:C,colorTextDescription:O,lineWidthBold:w,lineHeight:M,colorPrimary:I,motionDurationSlow:_,zIndexPopup:D,paddingXXS:F,paddingSM:z,pickerTextHeight:H,controlItemBgActive:T,colorPrimaryBorder:A,sizePopupArrow:R,borderRadiusXS:E,borderRadiusOuter:k,colorBgElevated:B,borderRadiusLG:L,boxShadowSecondary:j,borderRadiusSM:K,colorSplit:G,controlItemBgHover:U,presetsWidth:X,presetsMaxWidth:ee}=e;return[{[t]:v(v(v({},et(e)),cd(e,r,a,l)),{position:"relative",display:"inline-flex",alignItems:"center",background:i,lineHeight:1,border:`${s}px ${u} ${c}`,borderRadius:d,transition:`border ${p}, box-shadow ${p}`,"&:hover, &-focused":v({},rl(e)),"&-focused":v({},Wr(e)),[`&${t}-disabled`]:{background:g,borderColor:c,cursor:"not-allowed",[`${t}-suffix`]:{color:m}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":v(v({},al(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:h}}},"&-large":v(v({},cd(e,b,y,l)),{[`${t}-input > input`]:{fontSize:y}}),"&-small":v({},cd(e,S,a,$)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:x/2,color:m,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:C}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:m,lineHeight:1,background:i,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${p}, color ${p}`,"> *":{verticalAlign:"top"},"&:hover":{color:O}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:y,color:m,fontSize:y,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:O},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:l},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-s,height:w,marginInlineStart:l,background:I,opacity:0,transition:`all ${_} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${x}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:$},[`${t}-active-bar`]:{marginInlineStart:$}}},"&-dropdown":v(v(v({},et(e)),MF(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:D,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:zc},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Fc},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Hc},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Lc},[`${t}-panel > ${t}-time-panel`]:{paddingTop:F},[`${t}-ranges`]:{marginBottom:0,padding:`${F}px ${z}px`,overflow:"hidden",lineHeight:`${H-2*s-x/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:I,background:T,borderColor:A,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:v({position:"absolute",zIndex:1,display:"none",marginInlineStart:l*1.5,transition:`left ${_} ease-out`},Iv(R,E,k,B,o)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:B,borderRadius:L,boxShadow:j,transition:`margin ${_}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:X,maxWidth:ee,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:x,borderInlineEnd:`${s}px ${u} ${G}`,li:v(v({},mn),{borderRadius:K,paddingInline:x,paddingBlock:(S-Math.round(a*M))/2,cursor:"pointer",transition:`all ${_}`,"+ li":{marginTop:C},"&:hover":{background:U}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${s}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:c}}}}),"&-dropdown-range":{padding:`${R*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},yo(e,"slide-up"),yo(e,"slide-down"),za(e,"move-up"),za(e,"move-down")]},DF=e=>{const{componentCls:n,controlHeightLG:o,controlHeightSM:r,colorPrimary:a,paddingXXS:l}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:o,pickerPanelCellWidth:r*1.5,pickerPanelCellHeight:r,pickerDateHoverRangeBorderColor:new st(a).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new st(a).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:o*1.65,pickerYearMonthCellWidth:o*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:o*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:o*1.4,pickerCellPaddingVertical:l,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},Kw=Qe("DatePicker",e=>{const t=ze(fi(e),DF(e));return[_F(t),EF(t),tl(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}));function AF(e){const t=Y(),n=Y(!1);function o(){for(var r=arguments.length,a=new Array(r),l=0;l{e(...a)}))}return Je(()=>{n.value=!0,We.cancel(t.value)}),o}function RF(e){const t=Y([]),n=Y(typeof e=="function"?e():e),o=AF(()=>{let a=n.value;t.value.forEach(l=>{a=l(a)}),t.value=[],n.value=a});function r(a){t.value.push(a),o()}return[n,r]}const NF=J({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:o}=t;const r=Z();function a(s){var u;!((u=e.tab)===null||u===void 0)&&u.disabled||e.onClick(s)}n({domRef:r});function l(s){var u;s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:(u=e.tab)===null||u===void 0?void 0:u.key,event:s})}const i=P(()=>{var s;return e.editable&&e.closable!==!1&&!(!((s=e.tab)===null||s===void 0)&&s.disabled)});return()=>{var s;const{prefixCls:u,id:c,active:d,tab:{key:p,tab:g,disabled:m,closeIcon:h},renderWrapper:b,removeAriaLabel:y,editable:S,onFocus:$}=e,x=`${u}-tab`,C=f("div",{key:p,ref:r,class:te(x,{[`${x}-with-remove`]:i.value,[`${x}-active`]:d,[`${x}-disabled`]:m}),style:o.style,onClick:a},[f("div",{role:"tab","aria-selected":d,id:c&&`${c}-tab-${p}`,class:`${x}-btn`,"aria-controls":c&&`${c}-panel-${p}`,"aria-disabled":m,tabindex:m?null:0,onClick:O=>{O.stopPropagation(),a(O)},onKeydown:O=>{[$e.SPACE,$e.ENTER].includes(O.which)&&(O.preventDefault(),a(O))},onFocus:$},[typeof g=="function"?g():g]),i.value&&f("button",{type:"button","aria-label":y||"remove",tabindex:0,class:`${x}-remove`,onClick:O=>{O.stopPropagation(),l(O)}},[(h==null?void 0:h())||((s=S.removeIcon)===null||s===void 0?void 0:s.call(S))||"×"])]);return b?b(C):C}}}),I1={width:0,height:0,left:0,top:0};function kF(e,t){const n=Z(new Map);return Le(()=>{var o,r;const a=new Map,l=e.value,i=t.value.get((o=l[0])===null||o===void 0?void 0:o.key)||I1,s=i.left+i.width;for(let u=0;u{const{prefixCls:a,editable:l,locale:i}=e;return!l||l.showAdd===!1?null:f("button",{ref:r,type:"button",class:`${a}-nav-add`,style:o.style,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:s=>{l.onEdit("add",{event:s})}},[l.addIcon?l.addIcon():"+"])}}}),BF={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:V.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:de()},FF=J({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:BF,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const[r,a]=pt(!1),[l,i]=pt(null),s=g=>{const m=e.tabs.filter(y=>!y.disabled);let h=m.findIndex(y=>y.key===l.value)||0;const b=m.length;for(let y=0;y{const{which:m}=g;if(!r.value){[$e.DOWN,$e.SPACE,$e.ENTER].includes(m)&&(a(!0),g.preventDefault());return}switch(m){case $e.UP:s(-1),g.preventDefault();break;case $e.DOWN:s(1),g.preventDefault();break;case $e.ESC:a(!1);break;case $e.SPACE:case $e.ENTER:l.value!==null&&e.onTabClick(l.value,g);break}},c=P(()=>`${e.id}-more-popup`),d=P(()=>l.value!==null?`${c.value}-${l.value}`:null),p=(g,m)=>{g.preventDefault(),g.stopPropagation(),e.editable.onEdit("remove",{key:m,event:g})};return Ve(()=>{ue(l,()=>{const g=document.getElementById(d.value);g&&g.scrollIntoView&&g.scrollIntoView(!1)},{flush:"post",immediate:!0})}),ue(r,()=>{r.value||i(null)}),Wx({}),()=>{var g;const{prefixCls:m,id:h,tabs:b,locale:y,mobile:S,moreIcon:$=((g=o.moreIcon)===null||g===void 0?void 0:g.call(o))||f(Pg,null,null),moreTransitionName:x,editable:C,tabBarGutter:O,rtl:w,onTabClick:M,popupClassName:I}=e;if(!b.length)return null;const _=`${m}-dropdown`,D=y==null?void 0:y.dropdownAriaLabel,F={[w?"marginRight":"marginLeft"]:O};b.length||(F.visibility="hidden",F.order=1);const z=te({[`${_}-rtl`]:w,[`${I}`]:!0}),H=S?null:f(Nx,{prefixCls:_,trigger:["hover"],visible:r.value,transitionName:x,onVisibleChange:a,overlayClassName:z,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>f(Mn,{onClick:T=>{let{key:A,domEvent:R}=T;M(A,R),a(!1)},id:c.value,tabindex:-1,role:"listbox","aria-activedescendant":d.value,selectedKeys:[l.value],"aria-label":D!==void 0?D:"expanded dropdown"},{default:()=>[b.map(T=>{var A,R;const E=C&&T.closable!==!1&&!T.disabled;return f(ja,{key:T.key,id:`${c.value}-${T.key}`,role:"option","aria-controls":h&&`${h}-panel-${T.key}`,disabled:T.disabled},{default:()=>[f("span",null,[typeof T.tab=="function"?T.tab():T.tab]),E&&f("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${_}-menu-item-remove`,onClick:k=>{k.stopPropagation(),p(k,T.key)}},[((A=T.closeIcon)===null||A===void 0?void 0:A.call(T))||((R=C.removeIcon)===null||R===void 0?void 0:R.call(C))||"×"])]})})]}),default:()=>f("button",{type:"button",class:`${m}-nav-more`,style:F,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":c.value,id:`${h}-more`,"aria-expanded":r.value,onKeydown:u},[$])});return f("div",{class:te(`${m}-nav-operations`,n.class),style:n.style},[H,f(Gw,{prefixCls:m,locale:y,editable:C},null)])}}}),Xw=Symbol("tabsContextKey"),LF=e=>{Ke(Xw,e)},Uw=()=>Xe(Xw,{tabs:Z([]),prefixCls:Z()}),zF=.1,T1=.01,ss=20,M1=Math.pow(.995,ss);function HF(e,t){const[n,o]=pt(),[r,a]=pt(0),[l,i]=pt(0),[s,u]=pt(),c=Z();function d(C){const{screenX:O,screenY:w}=C.touches[0];o({x:O,y:w}),clearInterval(c.value)}function p(C){if(!n.value)return;C.preventDefault();const{screenX:O,screenY:w}=C.touches[0],M=O-n.value.x,I=w-n.value.y;t(M,I),o({x:O,y:w});const _=Date.now();i(_-r.value),a(_),u({x:M,y:I})}function g(){if(!n.value)return;const C=s.value;if(o(null),u(null),C){const O=C.x/l.value,w=C.y/l.value,M=Math.abs(O),I=Math.abs(w);if(Math.max(M,I){if(Math.abs(_)_?(M=O,m.value="x"):(M=w,m.value="y"),t(-M,-M)&&C.preventDefault()}const b=Z({onTouchStart:d,onTouchMove:p,onTouchEnd:g,onWheel:h});function y(C){b.value.onTouchStart(C)}function S(C){b.value.onTouchMove(C)}function $(C){b.value.onTouchEnd(C)}function x(C){b.value.onWheel(C)}Ve(()=>{var C,O;document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",$,{passive:!1}),(C=e.value)===null||C===void 0||C.addEventListener("touchstart",y,{passive:!1}),(O=e.value)===null||O===void 0||O.addEventListener("wheel",x,{passive:!1})}),Je(()=>{document.removeEventListener("touchmove",S),document.removeEventListener("touchend",$)})}function E1(e,t){const n=Z(e);function o(r){const a=typeof r=="function"?r(n.value):r;a!==n.value&&t(a,n.value),n.value=a}return[n,o]}const qg=()=>{const e=Z(new Map),t=n=>o=>{e.value.set(n,o)};return Yp(()=>{e.value=new Map}),[t,e]},_1={width:0,height:0,left:0,top:0,right:0},jF=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:Ne(),editable:Ne(),moreIcon:V.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:Ne(),popupClassName:String,getPopupContainer:de(),onTabClick:{type:Function},onTabScroll:{type:Function}}),D1=J({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:jF(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:o}=t;const{tabs:r,prefixCls:a}=Uw(),l=Y(),i=Y(),s=Y(),u=Y(),[c,d]=qg(),p=P(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[g,m]=E1(0,(se,ie)=>{p.value&&e.onTabScroll&&e.onTabScroll({direction:se>ie?"left":"right"})}),[h,b]=E1(0,(se,ie)=>{!p.value&&e.onTabScroll&&e.onTabScroll({direction:se>ie?"top":"bottom"})}),[y,S]=pt(0),[$,x]=pt(0),[C,O]=pt(null),[w,M]=pt(null),[I,_]=pt(0),[D,F]=pt(0),[z,H]=RF(new Map),T=kF(r,z),A=P(()=>`${a.value}-nav-operations-hidden`),R=Y(0),E=Y(0);Le(()=>{p.value?e.rtl?(R.value=0,E.value=Math.max(0,y.value-C.value)):(R.value=Math.min(0,C.value-y.value),E.value=0):(R.value=Math.min(0,w.value-$.value),E.value=0)});const k=se=>seE.value?E.value:se,B=Y(),[L,j]=pt(),K=()=>{j(Date.now())},G=()=>{clearTimeout(B.value)},U=(se,ie)=>{se(fe=>k(fe+ie))};HF(l,(se,ie)=>{if(p.value){if(C.value>=y.value)return!1;U(m,se)}else{if(w.value>=$.value)return!1;U(b,ie)}return G(),K(),!0}),ue(L,()=>{G(),L.value&&(B.value=setTimeout(()=>{j(0)},100))});const X=function(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const ie=T.value.get(se)||{width:0,height:0,left:0,right:0,top:0};if(p.value){let fe=g.value;e.rtl?ie.rightg.value+C.value&&(fe=ie.right+ie.width-C.value):ie.left<-g.value?fe=-ie.left:ie.left+ie.width>-g.value+C.value&&(fe=-(ie.left+ie.width-C.value)),b(0),m(k(fe))}else{let fe=h.value;ie.top<-h.value?fe=-ie.top:ie.top+ie.height>-h.value+w.value&&(fe=-(ie.top+ie.height-w.value)),m(0),b(k(fe))}},ee=Y(0),oe=Y(0);Le(()=>{let se,ie,fe,Se,Ie,ge;const Oe=T.value;["top","bottom"].includes(e.tabPosition)?(se="width",Se=C.value,Ie=y.value,ge=I.value,ie=e.rtl?"right":"left",fe=Math.abs(g.value)):(se="height",Se=w.value,Ie=y.value,ge=D.value,ie="top",fe=-h.value);let we=Se;Ie+ge>Se&&Iefe+we){pe=Te-1;break}}let xe=0;for(let Te=ne-1;Te>=0;Te-=1)if((Oe.get(ae[Te].key)||_1)[ie]{var se,ie,fe,Se,Ie;const ge=((se=l.value)===null||se===void 0?void 0:se.offsetWidth)||0,Oe=((ie=l.value)===null||ie===void 0?void 0:ie.offsetHeight)||0,we=((fe=u.value)===null||fe===void 0?void 0:fe.$el)||{},ae=we.offsetWidth||0,ne=we.offsetHeight||0;O(ge),M(Oe),_(ae),F(ne);const pe=(((Se=i.value)===null||Se===void 0?void 0:Se.offsetWidth)||0)-ae,xe=(((Ie=i.value)===null||Ie===void 0?void 0:Ie.offsetHeight)||0)-ne;S(pe),x(xe),H(()=>{const Te=new Map;return r.value.forEach(ke=>{let{key:ve}=ke;const he=d.value.get(ve),be=(he==null?void 0:he.$el)||he;be&&Te.set(ve,{width:be.offsetWidth,height:be.offsetHeight,left:be.offsetLeft,top:be.offsetTop})}),Te})},W=P(()=>[...r.value.slice(0,ee.value),...r.value.slice(oe.value+1)]),[q,re]=pt(),le=P(()=>T.value.get(e.activeKey)),ye=Y(),me=()=>{We.cancel(ye.value)};ue([le,p,()=>e.rtl],()=>{const se={};le.value&&(p.value?(e.rtl?se.right=xr(le.value.right):se.left=xr(le.value.left),se.width=xr(le.value.width)):(se.top=xr(le.value.top),se.height=xr(le.value.height))),me(),ye.value=We(()=>{re(se)})}),ue([()=>e.activeKey,le,T,p],()=>{X()},{flush:"post"}),ue([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>r.value],()=>{Q()},{flush:"post"});const ce=se=>{let{position:ie,prefixCls:fe,extra:Se}=se;if(!Se)return null;const Ie=Se==null?void 0:Se({position:ie});return Ie?f("div",{class:`${fe}-extra-content`},[Ie]):null};return Je(()=>{G(),me()}),()=>{const{id:se,animated:ie,activeKey:fe,rtl:Se,editable:Ie,locale:ge,tabPosition:Oe,tabBarGutter:we,onTabClick:ae}=e,{class:ne,style:pe}=n,xe=a.value,Te=!!W.value.length,ke=`${xe}-nav-wrap`;let ve,he,be,Me;p.value?Se?(he=g.value>0,ve=g.value+C.value{const{key:tt}=Re;return f(NF,{id:se,prefixCls:xe,key:tt,tab:Re,style:Ye===0?void 0:Ae,closable:Re.closable,editable:Ie,active:tt===fe,removeAriaLabel:ge==null?void 0:ge.removeAriaLabel,ref:c(tt),onClick:at=>{ae(tt,at)},onFocus:()=>{X(tt),K(),l.value&&(Se||(l.value.scrollLeft=0),l.value.scrollTop=0)}},o)});return f("div",{role:"tablist",class:te(`${xe}-nav`,ne),style:pe,onKeydown:()=>{K()}},[f(ce,{position:"left",prefixCls:xe,extra:o.leftExtra},null),f(ho,{onResize:Q},{default:()=>[f("div",{class:te(ke,{[`${ke}-ping-left`]:ve,[`${ke}-ping-right`]:he,[`${ke}-ping-top`]:be,[`${ke}-ping-bottom`]:Me}),ref:l},[f(ho,{onResize:Q},{default:()=>[f("div",{ref:i,class:`${xe}-nav-list`,style:{transform:`translate(${g.value}px, ${h.value}px)`,transition:L.value?"none":void 0}},[_e,f(Gw,{ref:u,prefixCls:xe,locale:ge,editable:Ie,style:v(v({},_e.length===0?void 0:Ae),{visibility:Te?"hidden":null})},null),f("div",{class:te(`${xe}-ink-bar`,{[`${xe}-ink-bar-animated`]:ie.inkBar}),style:q.value},null)])]})])]}),f(FF,N(N({},e),{},{removeAriaLabel:ge==null?void 0:ge.removeAriaLabel,ref:s,prefixCls:xe,tabs:W.value,class:!Te&&A.value}),PC(o,["moreIcon"])),f(ce,{position:"right",prefixCls:xe,extra:o.rightExtra},null),f(ce,{position:"right",prefixCls:xe,extra:o.tabBarExtraContent},null)])}}}),VF=J({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=Uw();return()=>{const{id:o,activeKey:r,animated:a,tabPosition:l,rtl:i,destroyInactiveTabPane:s}=e,u=a.tabPane,c=n.value,d=t.value.findIndex(p=>p.key===r);return f("div",{class:`${c}-content-holder`},[f("div",{class:[`${c}-content`,`${c}-content-${l}`,{[`${c}-content-animated`]:u}],style:d&&u?{[i?"marginRight":"marginLeft"]:`-${d}00%`}:null},[t.value.map(p=>ut(p.node,{key:p.key,prefixCls:c,tabKey:p.key,id:o,animated:u,active:p.key===r,destroyInactiveTabPane:s}))])])}}});var WF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const KF=WF;function A1(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[yo(e,"slide-up"),yo(e,"slide-down")]]},YF=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:o,tabsCardGutter:r,colorSplit:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${r}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${r}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},qF=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:v(v({},et(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":v(v({},mn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},QF=e=>{const{componentCls:t,margin:n,colorSplit:o}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},ZF=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},JF=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:o,iconCls:r,tabsHorizontalGutter:a}=e,l=`${t}-tab`;return{[l]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":v({"&:focus:not(:focus-visible), &:active":{color:n}},Lo(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${l}-active ${l}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${r}`]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`}}}},eL=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:o,tabsCardGutter:r}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${r}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tL=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:o,tabsCardGutter:r,tabsHoverColor:a,tabsActiveColor:l,colorSplit:i}=e;return{[t]:v(v(v(v({},et(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:v({minWidth:`${o}px`,marginLeft:{_skip_check_:!0,value:`${r}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${i}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:l}},Lo(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),JF(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},nL=Qe("Tabs",e=>{const t=e.controlHeightLG,n=ze(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[ZF(n),eL(n),QF(n),qF(n),YF(n),tL(n),UF(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let R1=0;const Yw=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:de(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:je(),animated:Ge([Boolean,Object]),renderTabBar:de(),tabBarGutter:{type:Number},tabBarStyle:Ne(),tabPosition:je(),destroyInactiveTabPane:Ce(),hideAdd:Boolean,type:je(),size:je(),centered:Boolean,onEdit:de(),onChange:de(),onTabClick:de(),onTabScroll:de(),"onUpdate:activeKey":de(),locale:Ne(),onPrevClick:de(),onNextClick:de(),tabBarExtraContent:V.any});function oL(e){return e.map(t=>{if(kt(t)){const n=v({},t.props||{});for(const[p,g]of Object.entries(n))delete n[p],n[qr(p)]=g;const o=t.children||{},r=t.key!==void 0?t.key:void 0,{tab:a=o.tab,disabled:l,forceRender:i,closable:s,animated:u,active:c,destroyInactiveTabPane:d}=n;return v(v({key:r},n),{node:t,closeIcon:o.closeIcon,tab:a,disabled:l===""||l,forceRender:i===""||i,closable:s===""||s,animated:u===""||u,active:c===""||c,destroyInactiveTabPane:d===""||d})}return null}).filter(t=>t)}const rL=J({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:v(v({},rt(Yw(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:ht()}),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;bt(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),bt(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),bt(o.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:r,direction:a,size:l,rootPrefixCls:i,getPopupContainer:s}=Ee("tabs",e),[u,c]=nL(r),d=P(()=>a.value==="rtl"),p=P(()=>{const{animated:w,tabPosition:M}=e;return w===!1||["left","right"].includes(M)?{inkBar:!1,tabPane:!1}:w===!0?{inkBar:!0,tabPane:!0}:v({inkBar:!0,tabPane:!1},typeof w=="object"?w:{})}),[g,m]=pt(!1);Ve(()=>{m(jv())});const[h,b]=Ot(()=>{var w;return(w=e.tabs[0])===null||w===void 0?void 0:w.key},{value:P(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[y,S]=pt(()=>e.tabs.findIndex(w=>w.key===h.value));Le(()=>{var w;let M=e.tabs.findIndex(I=>I.key===h.value);M===-1&&(M=Math.max(0,Math.min(y.value,e.tabs.length-1)),b((w=e.tabs[M])===null||w===void 0?void 0:w.key)),S(M)});const[$,x]=Ot(null,{value:P(()=>e.id)}),C=P(()=>g.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);Ve(()=>{e.id||(x(`rc-tabs-${R1}`),R1+=1)});const O=(w,M)=>{var I,_;(I=e.onTabClick)===null||I===void 0||I.call(e,w,M);const D=w!==h.value;b(w),D&&((_=e.onChange)===null||_===void 0||_.call(e,w))};return LF({tabs:P(()=>e.tabs),prefixCls:r}),()=>{const{id:w,type:M,tabBarGutter:I,tabBarStyle:_,locale:D,destroyInactiveTabPane:F,renderTabBar:z=o.renderTabBar,onTabScroll:H,hideAdd:T,centered:A}=e,R={id:$.value,activeKey:h.value,animated:p.value,tabPosition:C.value,rtl:d.value,mobile:g.value};let E;M==="editable-card"&&(E={onEdit:(j,K)=>{let{key:G,event:U}=K;var X;(X=e.onEdit)===null||X===void 0||X.call(e,j==="add"?U:G,j)},removeIcon:()=>f(io,null,null),addIcon:o.addIcon?o.addIcon:()=>f(XF,null,null),showAdd:T!==!0});let k;const B=v(v({},R),{moreTransitionName:`${i.value}-slide-up`,editable:E,locale:D,tabBarGutter:I,onTabClick:O,onTabScroll:H,style:_,getPopupContainer:s.value,popupClassName:te(e.popupClassName,c.value)});z?k=z(v(v({},B),{DefaultTabBar:D1})):k=f(D1,B,PC(o,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const L=r.value;return u(f("div",N(N({},n),{},{id:w,class:te(L,`${L}-${C.value}`,{[c.value]:!0,[`${L}-${l.value}`]:l.value,[`${L}-card`]:["card","editable-card"].includes(M),[`${L}-editable-card`]:M==="editable-card",[`${L}-centered`]:A,[`${L}-mobile`]:g.value,[`${L}-editable`]:M==="editable-card",[`${L}-rtl`]:d.value},n.class)}),[k,f(VF,N(N({destroyInactiveTabPane:F},R),{},{animated:p.value}),null)]))}}}),Oa=J({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:rt(Yw(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r}=t;const a=l=>{r("update:activeKey",l),r("change",l)};return()=>{var l;const i=oL(mt((l=o.default)===null||l===void 0?void 0:l.call(o)));return f(rL,N(N(N({},qe(e,["onUpdate:activeKey"])),n),{},{onChange:a,tabs:i}),o)}}}),aL=()=>({tab:V.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),tp=J({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:aL(),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const r=Z(e.forceRender);ue([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?r.value=!0:e.destroyInactiveTabPane&&(r.value=!1)},{immediate:!0});const a=P(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var l;const{prefixCls:i,forceRender:s,id:u,active:c,tabKey:d}=e;return f("div",{id:u&&`${u}-panel-${d}`,role:"tabpanel",tabindex:c?0:-1,"aria-labelledby":u&&`${u}-tab-${d}`,"aria-hidden":!c,style:[a.value,n.style],class:[`${i}-tabpane`,c&&`${i}-tabpane-active`,n.class]},[(c||r.value||s)&&((l=o.default)===null||l===void 0?void 0:l.call(o))])}}});Oa.TabPane=tp;Oa.install=function(e){return e.component(Oa.name,Oa),e.component(tp.name,tp),e};const lL=e=>{const{antCls:t,componentCls:n,cardHeadHeight:o,cardPaddingBase:r,cardHeadTabsMarginBottom:a}=e;return v(v({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:o,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},ro()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":v(v({display:"inline-block",flex:1},mn),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},iL=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:o,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${r}px 0 0 0 ${n}, + 0 ${r}px 0 0 ${n}, + ${r}px ${r}px 0 0 ${n}, + ${r}px 0 0 0 ${n} inset, + 0 ${r}px 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:o}}},sL=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:o,cardActionsIconSize:r,colorBorderSecondary:a}=e;return v(v({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},ro()),{"& > li":{margin:o,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:r,lineHeight:`${r*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${a}`}}})},cL=e=>v(v({margin:`-${e.marginXXS}px 0`,display:"flex"},ro()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":v({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},mn),"&-description":{color:e.colorTextDescription}}),uL=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:o}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:o,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},dL=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},fL=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:o,colorBorderSecondary:r,boxShadow:a,cardPaddingBase:l}=e;return{[t]:v(v({},et(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:lL(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:v({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},ro()),[`${t}-grid`]:iL(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:sL(e),[`${t}-meta`]:cL(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:o}}},[`${t}-type-inner`]:uL(e),[`${t}-loading`]:dL(e),[`${t}-rtl`]:{direction:"rtl"}}},pL=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:o,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:o,paddingTop:0,display:"flex",alignItems:"center"}}}}},vL=Qe("Card",e=>{const t=ze(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[fL(t),pL(t)]}),gL=()=>({prefixCls:String,width:{type:[Number,String]}}),hL=J({compatConfig:{MODE:3},name:"SkeletonTitle",props:gL(),setup(e){return()=>{const{prefixCls:t,width:n}=e,o=typeof n=="number"?`${n}px`:n;return f("h3",{class:t,style:{width:o}},null)}}}),Zg=hL,mL=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),bL=J({compatConfig:{MODE:3},name:"SkeletonParagraph",props:mL(),setup(e){const t=n=>{const{width:o,rows:r=2}=e;if(Array.isArray(o))return o[n];if(r-1===n)return o};return()=>{const{prefixCls:n,rows:o}=e,r=[...Array(o)].map((a,l)=>{const i=t(l);return f("li",{key:l,style:{width:typeof i=="number"?`${i}px`:i}},null)});return f("ul",{class:n},[r])}}}),yL=bL,Qc=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),qw=e=>{const{prefixCls:t,size:n,shape:o}=e,r=te({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),a=te({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),l=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return f("span",{class:te(t,r,a),style:l},null)};qw.displayName="SkeletonElement";const Zc=qw,SL=new Ue("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),Jc=e=>({height:e,lineHeight:`${e}px`}),Pa=e=>v({width:e},Jc(e)),$L=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:SL,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),ud=e=>v({width:e*5,minWidth:e*5},Jc(e)),CL=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:o,controlHeightLG:r,controlHeightSM:a}=e;return{[`${t}`]:v({display:"inline-block",verticalAlign:"top",background:n},Pa(o)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:v({},Pa(r)),[`${t}${t}-sm`]:v({},Pa(a))}},xL=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:o,controlHeightLG:r,controlHeightSM:a,color:l}=e;return{[`${o}`]:v({display:"inline-block",verticalAlign:"top",background:l,borderRadius:n},ud(t)),[`${o}-lg`]:v({},ud(r)),[`${o}-sm`]:v({},ud(a))}},N1=e=>v({width:e},Jc(e)),wL=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:o,borderRadiusSM:r}=e;return{[`${t}`]:v(v({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:o,borderRadius:r},N1(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:v(v({},N1(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},dd=(e,t,n)=>{const{skeletonButtonCls:o}=e;return{[`${n}${o}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${o}-round`]:{borderRadius:t}}},fd=e=>v({width:e*2,minWidth:e*2},Jc(e)),OL=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:o,controlHeightLG:r,controlHeightSM:a,color:l}=e;return v(v(v(v(v({[`${n}`]:v({display:"inline-block",verticalAlign:"top",background:l,borderRadius:t,width:o*2,minWidth:o*2},fd(o))},dd(e,o,n)),{[`${n}-lg`]:v({},fd(r))}),dd(e,r,`${n}-lg`)),{[`${n}-sm`]:v({},fd(a))}),dd(e,a,`${n}-sm`))},PL=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:o,skeletonParagraphCls:r,skeletonButtonCls:a,skeletonInputCls:l,skeletonImageCls:i,controlHeight:s,controlHeightLG:u,controlHeightSM:c,color:d,padding:p,marginSM:g,borderRadius:m,skeletonTitleHeight:h,skeletonBlockRadius:b,skeletonParagraphLineHeight:y,controlHeightXS:S,skeletonParagraphMarginTop:$}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:v({display:"inline-block",verticalAlign:"top",background:d},Pa(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:v({},Pa(u)),[`${n}-sm`]:v({},Pa(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${o}`]:{width:"100%",height:h,background:d,borderRadius:b,[`+ ${r}`]:{marginBlockStart:c}},[`${r}`]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:d,borderRadius:b,"+ li":{marginBlockStart:S}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${o}, ${r} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[`${o}`]:{marginBlockStart:g,[`+ ${r}`]:{marginBlockStart:$}}},[`${t}${t}-element`]:v(v(v(v({display:"inline-block",width:"auto"},OL(e)),CL(e)),xL(e)),wL(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${l}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${o}, + ${r} > li, + ${n}, + ${a}, + ${l}, + ${i} + `]:v({},$L(e))}}},pi=Qe("Skeleton",e=>{const{componentCls:t}=e,n=ze(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[PL(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),IL=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function pd(e){return e&&typeof e=="object"?e:{}}function TL(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function ML(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function EL(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const _L=J({compatConfig:{MODE:3},name:"ASkeleton",props:rt(IL(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=Ee("skeleton",e),[a,l]=pi(o);return()=>{var i;const{loading:s,avatar:u,title:c,paragraph:d,active:p,round:g}=e,m=o.value;if(s||e.loading===void 0){const h=!!u||u==="",b=!!c||c==="",y=!!d||d==="";let S;if(h){const C=v(v({prefixCls:`${m}-avatar`},TL(b,y)),pd(u));S=f("div",{class:`${m}-header`},[f(Zc,C,null)])}let $;if(b||y){let C;if(b){const w=v(v({prefixCls:`${m}-title`},ML(h,y)),pd(c));C=f(Zg,w,null)}let O;if(y){const w=v(v({prefixCls:`${m}-paragraph`},EL(h,b)),pd(d));O=f(yL,w,null)}$=f("div",{class:`${m}-content`},[C,O])}const x=te(m,{[`${m}-with-avatar`]:h,[`${m}-active`]:p,[`${m}-rtl`]:r.value==="rtl",[`${m}-round`]:g,[l.value]:!0});return a(f("div",{class:x},[S,$]))}return(i=n.default)===null||i===void 0?void 0:i.call(n)}}}),tn=_L,DL=()=>v(v({},Qc()),{size:String,block:Boolean}),AL=J({compatConfig:{MODE:3},name:"ASkeletonButton",props:rt(DL(),{size:"default"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,o]=pi(t),r=P(()=>te(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},o.value));return()=>n(f("div",{class:r.value},[f(Zc,N(N({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),Qw=AL,RL=J({compatConfig:{MODE:3},name:"ASkeletonInput",props:v(v({},qe(Qc(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,o]=pi(t),r=P(()=>te(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},o.value));return()=>n(f("div",{class:r.value},[f(Zc,N(N({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),Zw=RL,NL="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",kL=J({compatConfig:{MODE:3},name:"ASkeletonImage",props:qe(Qc(),["size","shape","active"]),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,o]=pi(t),r=P(()=>te(t.value,`${t.value}-element`,o.value));return()=>n(f("div",{class:r.value},[f("div",{class:`${t.value}-image`},[f("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[f("path",{d:NL,class:`${t.value}-image-path`},null)])])]))}}),Jw=kL,BL=()=>v(v({},Qc()),{shape:String}),FL=J({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:rt(BL(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,o]=pi(t),r=P(()=>te(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},o.value));return()=>n(f("div",{class:r.value},[f(Zc,N(N({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),e4=FL;tn.Button=Qw;tn.Avatar=e4;tn.Input=Zw;tn.Image=Jw;tn.Title=Zg;tn.install=function(e){return e.component(tn.name,tn),e.component(tn.Button.name,Qw),e.component(tn.Avatar.name,e4),e.component(tn.Input.name,Zw),e.component(tn.Image.name,Jw),e.component(tn.Title.name,Zg),e};const{TabPane:LL}=Oa,zL=()=>({prefixCls:String,title:V.any,extra:V.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:V.any,tabList:{type:Array},tabBarExtraContent:V.any,activeTabKey:String,defaultActiveTabKey:String,cover:V.any,onTabChange:{type:Function}}),HL=J({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:zL(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a,size:l}=Ee("card",e),[i,s]=vL(r),u=p=>p.map((m,h)=>Zt(m)&&!bv(m)||!Zt(m)?f("li",{style:{width:`${100/p.length}%`},key:`action-${h}`},[f("span",null,[m])]):null),c=p=>{var g;(g=e.onTabChange)===null||g===void 0||g.call(e,p)},d=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g;return p.forEach(m=>{m&&pc(m.type)&&m.type.__ANT_CARD_GRID&&(g=!0)}),g};return()=>{var p,g,m,h,b,y;const{headStyle:S={},bodyStyle:$={},loading:x,bordered:C=!0,type:O,tabList:w,hoverable:M,activeTabKey:I,defaultActiveTabKey:_,tabBarExtraContent:D=sl((p=n.tabBarExtraContent)===null||p===void 0?void 0:p.call(n)),title:F=sl((g=n.title)===null||g===void 0?void 0:g.call(n)),extra:z=sl((m=n.extra)===null||m===void 0?void 0:m.call(n)),actions:H=sl((h=n.actions)===null||h===void 0?void 0:h.call(n)),cover:T=sl((b=n.cover)===null||b===void 0?void 0:b.call(n))}=e,A=mt((y=n.default)===null||y===void 0?void 0:y.call(n)),R=r.value,E={[`${R}`]:!0,[s.value]:!0,[`${R}-loading`]:x,[`${R}-bordered`]:C,[`${R}-hoverable`]:!!M,[`${R}-contain-grid`]:d(A),[`${R}-contain-tabs`]:w&&w.length,[`${R}-${l.value}`]:l.value,[`${R}-type-${O}`]:!!O,[`${R}-rtl`]:a.value==="rtl"},k=f(tn,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[A]}),B=I!==void 0,L={size:"large",[B?"activeKey":"defaultActiveKey"]:B?I:_,onChange:c,class:`${R}-head-tabs`};let j;const K=w&&w.length?f(Oa,L,{default:()=>[w.map(ee=>{const{tab:oe,slots:Q}=ee,W=Q==null?void 0:Q.tab;bt(!Q,"Card","tabList slots is deprecated, Please use `customTab` instead.");let q=oe!==void 0?oe:n[W]?n[W](ee):null;return q=Ic(n,"customTab",ee,()=>[q]),f(LL,{tab:q,key:ee.key,disabled:ee.disabled},null)})],rightExtra:D?()=>D:null}):null;(F||z||K)&&(j=f("div",{class:`${R}-head`,style:S},[f("div",{class:`${R}-head-wrapper`},[F&&f("div",{class:`${R}-head-title`},[F]),z&&f("div",{class:`${R}-extra`},[z])]),K]));const G=T?f("div",{class:`${R}-cover`},[T]):null,U=f("div",{class:`${R}-body`,style:$},[x?k:A]),X=H&&H.length?f("ul",{class:`${R}-actions`},[u(H)]):null;return i(f("div",N(N({ref:"cardContainerRef"},o),{},{class:[E,o.class]}),[j,G,A&&A.length?U:null,X]))}}}),Tl=HL,jL=()=>({prefixCls:String,title:ba(),description:ba(),avatar:ba()}),np=J({compatConfig:{MODE:3},name:"ACardMeta",props:jL(),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ee("card",e);return()=>{const r={[`${o.value}-meta`]:!0},a=Nt(n,e,"avatar"),l=Nt(n,e,"title"),i=Nt(n,e,"description"),s=a?f("div",{class:`${o.value}-meta-avatar`},[a]):null,u=l?f("div",{class:`${o.value}-meta-title`},[l]):null,c=i?f("div",{class:`${o.value}-meta-description`},[i]):null,d=u||c?f("div",{class:`${o.value}-meta-detail`},[u,c]):null;return f("div",{class:r},[s,d])}}}),VL=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),op=J({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:VL(),setup(e,t){let{slots:n}=t;const{prefixCls:o}=Ee("card",e),r=P(()=>({[`${o.value}-grid`]:!0,[`${o.value}-grid-hoverable`]:e.hoverable}));return()=>{var a;return f("div",{class:r.value},[(a=n.default)===null||a===void 0?void 0:a.call(n)])}}});Tl.Meta=np;Tl.Grid=op;Tl.install=function(e){return e.component(Tl.name,Tl),e.component(np.name,np),e.component(op.name,op),e};const WL=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},KL=function(e){return/[height|width]$/.test(e)},k1=function(e){let t="";const n=Object.keys(e);return n.forEach(function(o,r){let a=e[o];o=WL(o),KL(o)&&typeof a=="number"&&(a=a+"px"),a===!0?t+=o:a===!1?t+="not "+o:t+="("+o+": "+a+")",r{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},Ys=e=>{const t=[],n=n4(e),o=o4(e);for(let r=n;re.currentSlide-YL(e),o4=e=>e.currentSlide+qL(e),YL=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,qL=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,ap=e=>e&&e.offsetWidth||0,Jg=e=>e&&e.offsetHeight||0,r4=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const o=e.startX-e.curX,r=e.startY-e.curY,a=Math.atan2(r,o);return n=Math.round(a*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},eu=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},gd=(e,t)=>{const n={};return t.forEach(o=>n[o]=e[o]),n},QL=e=>{const t=e.children.length,n=e.listRef,o=Math.ceil(ap(n)),r=e.trackRef,a=Math.ceil(ap(r));let l;if(e.vertical)l=o;else{let g=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(g*=o/100),l=Math.ceil((o-g)/e.slidesToShow)}const i=n&&Jg(n.querySelector('[data-index="0"]')),s=i*e.slidesToShow;let u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=t-1-e.initialSlide);let c=e.lazyLoadedList||[];const d=Ys(v(v({},e),{currentSlide:u,lazyLoadedList:c}));c=c.concat(d);const p={slideCount:t,slideWidth:l,listWidth:o,trackWidth:a,currentSlide:u,slideHeight:i,listHeight:s,lazyLoadedList:c};return e.autoplaying===null&&e.autoplay&&(p.autoplaying="playing"),p},ZL=e=>{const{waitForAnimate:t,animating:n,fade:o,infinite:r,index:a,slideCount:l,lazyLoad:i,currentSlide:s,centerMode:u,slidesToScroll:c,slidesToShow:d,useCSS:p}=e;let{lazyLoadedList:g}=e;if(t&&n)return{};let m=a,h,b,y,S={},$={};const x=r?a:rp(a,0,l-1);if(o){if(!r&&(a<0||a>=l))return{};a<0?m=a+l:a>=l&&(m=a-l),i&&g.indexOf(m)<0&&(g=g.concat(m)),S={animating:!0,currentSlide:m,lazyLoadedList:g,targetSlide:m},$={animating:!1,targetSlide:m}}else h=m,m<0?(h=m+l,r?l%c!==0&&(h=l-l%c):h=0):!eu(e)&&m>s?m=h=s:u&&m>=l?(m=r?l:l-1,h=r?0:l-1):m>=l&&(h=m-l,r?l%c!==0&&(h=0):h=l-d),!r&&m+d>=l&&(h=l-d),b=Ql(v(v({},e),{slideIndex:m})),y=Ql(v(v({},e),{slideIndex:h})),r||(b===y&&(m=h),b=y),i&&(g=g.concat(Ys(v(v({},e),{currentSlide:m})))),p?(S={animating:!0,currentSlide:h,trackStyle:a4(v(v({},e),{left:b})),lazyLoadedList:g,targetSlide:x},$={animating:!1,currentSlide:h,trackStyle:ql(v(v({},e),{left:y})),swipeLeft:null,targetSlide:x}):S={currentSlide:h,trackStyle:ql(v(v({},e),{left:y})),lazyLoadedList:g,targetSlide:x};return{state:S,nextState:$}},JL=(e,t)=>{let n,o,r;const{slidesToScroll:a,slidesToShow:l,slideCount:i,currentSlide:s,targetSlide:u,lazyLoad:c,infinite:d}=e,g=i%a!==0?0:(i-s)%a;if(t.message==="previous")o=g===0?a:l-g,r=s-o,c&&!d&&(n=s-o,r=n===-1?i-1:n),d||(r=u-a);else if(t.message==="next")o=g===0?a:g,r=s+o,c&&!d&&(r=(s+a)%i+g),d||(r=u+a);else if(t.message==="dots")r=t.index*t.slidesToScroll;else if(t.message==="children"){if(r=t.index,d){const m=lz(v(v({},e),{targetSlide:r}));r>t.currentSlide&&m==="left"?r=r-i:re.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",tz=(e,t,n)=>(e.target.tagName==="IMG"&&Ia(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),nz=(e,t)=>{const{scrolling:n,animating:o,vertical:r,swipeToSlide:a,verticalSwiping:l,rtl:i,currentSlide:s,edgeFriction:u,edgeDragged:c,onEdge:d,swiped:p,swiping:g,slideCount:m,slidesToScroll:h,infinite:b,touchObject:y,swipeEvent:S,listHeight:$,listWidth:x}=t;if(n)return;if(o)return Ia(e);r&&a&&l&&Ia(e);let C,O={};const w=Ql(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));const M=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!l&&!g&&M>10)return{scrolling:!0};l&&(y.swipeLength=M);let I=(i?-1:1)*(y.curX>y.startX?1:-1);l&&(I=y.curY>y.startY?1:-1);const _=Math.ceil(m/h),D=r4(t.touchObject,l);let F=y.swipeLength;return b||(s===0&&(D==="right"||D==="down")||s+1>=_&&(D==="left"||D==="up")||!eu(t)&&(D==="left"||D==="up"))&&(F=y.swipeLength*u,c===!1&&d&&(d(D),O.edgeDragged=!0)),!p&&S&&(S(D),O.swiped=!0),r?C=w+F*($/x)*I:i?C=w-F*I:C=w+F*I,l&&(C=w+F*I),O=v(v({},O),{touchObject:y,swipeLeft:C,trackStyle:ql(v(v({},t),{left:C}))}),Math.abs(y.curX-y.startX)10&&(O.swiping=!0,Ia(e)),O},oz=(e,t)=>{const{dragging:n,swipe:o,touchObject:r,listWidth:a,touchThreshold:l,verticalSwiping:i,listHeight:s,swipeToSlide:u,scrolling:c,onSwipe:d,targetSlide:p,currentSlide:g,infinite:m}=t;if(!n)return o&&Ia(e),{};const h=i?s/l:a/l,b=r4(r,i),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!r.swipeLength)return y;if(r.swipeLength>h){Ia(e),d&&d(b);let S,$;const x=m?g:p;switch(b){case"left":case"up":$=x+F1(t),S=u?B1(t,$):$,y.currentDirection=0;break;case"right":case"down":$=x-F1(t),S=u?B1(t,$):$,y.currentDirection=1;break;default:S=x}y.triggerSlideHandler=S}else{const S=Ql(t);y.trackStyle=a4(v(v({},t),{left:S}))}return y},rz=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,o=e.infinite?e.slidesToShow*-1:0;const r=[];for(;n{const n=rz(e);let o=0;if(t>n[n.length-1])t=n[n.length-1];else for(const r in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const o=e.listRef,r=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(r).every(i=>{if(e.vertical){if(i.offsetTop+Jg(i)/2>e.swipeLeft*-1)return n=i,!1}else if(i.offsetLeft-t+ap(i)/2>e.swipeLeft*-1)return n=i,!1;return!0}),!n)return 0;const a=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-a)||1}else return e.slidesToScroll},eh=(e,t)=>t.reduce((n,o)=>n&&e.hasOwnProperty(o),!0)?null:console.error("Keys Missing:",e),ql=e=>{eh(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const o=e.slideCount+2*e.slidesToShow;e.vertical?n=o*e.slideHeight:t=az(e)*e.slideWidth;let r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=v(v({},r),{WebkitTransform:a,transform:l,msTransform:i})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t+"px"),n&&(r.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},a4=e=>{eh(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=ql(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},Ql=e=>{if(e.unslick)return 0;eh(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:o,centerMode:r,slideCount:a,slidesToShow:l,slidesToScroll:i,slideWidth:s,listWidth:u,variableWidth:c,slideHeight:d,fade:p,vertical:g}=e;let m=0,h,b,y=0;if(p||e.slideCount===1)return 0;let S=0;if(o?(S=-Ro(e),a%i!==0&&t+i>a&&(S=-(t>a?l-(t-a):a%i)),r&&(S+=parseInt(l/2))):(a%i!==0&&t+i>a&&(S=l-a%i),r&&(S=parseInt(l/2))),m=S*s,y=S*d,g?h=t*d*-1+y:h=t*s*-1+m,c===!0){let $;const x=n;if($=t+Ro(e),b=x&&x.childNodes[$],h=b?b.offsetLeft*-1:0,r===!0){$=o?t+Ro(e):t,b=x&&x.children[$],h=0;for(let C=0;C<$;C++)h-=x&&x.children[C]&&x.children[C].offsetWidth;h-=parseInt(e.centerPadding),h+=b&&(u-b.offsetWidth)/2}}return h},Ro=e=>e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),cs=e=>e.unslick||!e.infinite?0:e.slideCount,az=e=>e.slideCount===1?1:Ro(e)+e.slideCount+cs(e),lz=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+iz(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:r}=e;if(n){let a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),o&&t%2===0&&(a+=1),a}return o?0:t-1},sz=e=>{let{slidesToShow:t,centerMode:n,rtl:o,centerPadding:r}=e;if(n){let a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),!o&&t%2===0&&(a+=1),a}return o?t-1:0},L1=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),hd=e=>{let t,n,o,r;e.rtl?r=e.slideCount-1-e.index:r=e.index;const a=r<0||r>=e.slideCount;e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount===0,r>e.currentSlide-o-1&&r<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=r&&r=e.slideCount?l=e.targetSlide-e.slideCount:l=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":a,"slick-current":r===l}},cz=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},md=(e,t)=>e.key+"-"+t,uz=function(e,t){let n;const o=[],r=[],a=[],l=t.length,i=n4(e),s=o4(e);return t.forEach((u,c)=>{let d;const p={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?d=u:d=f("div");const g=cz(v(v({},e),{index:c})),m=d.props.class||"";let h=hd(v(v({},e),{index:c}));if(o.push(Cl(d,{key:"original"+md(d,c),tabindex:"-1","data-index":c,"aria-hidden":!h["slick-active"],class:te(h,m),style:v(v({outline:"none"},d.props.style||{}),g),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&e.fade===!1){const b=l-c;b<=Ro(e)&&l!==e.slidesToShow&&(n=-b,n>=i&&(d=u),h=hd(v(v({},e),{index:n})),r.push(Cl(d,{key:"precloned"+md(d,n),class:te(h,m),tabindex:"-1","data-index":n,"aria-hidden":!h["slick-active"],style:v(v({},d.props.style||{}),g),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(p)}}))),l!==e.slidesToShow&&(n=l+c,n{e.focusOnSelect&&e.focusOnSelect(p)}})))}}),e.rtl?r.concat(o,a).reverse():r.concat(o,a)},l4=(e,t)=>{let{attrs:n,slots:o}=t;const r=uz(n,mt(o==null?void 0:o.default())),{onMouseenter:a,onMouseover:l,onMouseleave:i}=n,s={onMouseenter:a,onMouseover:l,onMouseleave:i},u=v({class:"slick-track",style:n.trackStyle},s);return f("div",u,[r])};l4.inheritAttrs=!1;const dz=l4,fz=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},i4=(e,t)=>{let{attrs:n}=t;const{slideCount:o,slidesToScroll:r,slidesToShow:a,infinite:l,currentSlide:i,appendDots:s,customPaging:u,clickHandler:c,dotsClass:d,onMouseenter:p,onMouseover:g,onMouseleave:m}=n,h=fz({slideCount:o,slidesToScroll:r,slidesToShow:a,infinite:l}),b={onMouseenter:p,onMouseover:g,onMouseleave:m};let y=[];for(let S=0;S=O&&i<=x:i===O}),M={message:"dots",index:S,slidesToScroll:r,currentSlide:i};y=y.concat(f("li",{key:S,class:w},[ut(u({i:S}),{onClick:I})]))}return ut(s({dots:y}),v({class:d},b))};i4.inheritAttrs=!1;const pz=i4;function s4(){}function c4(e,t,n){n&&n.preventDefault(),t(e,n)}const u4=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,infinite:r,currentSlide:a,slideCount:l,slidesToShow:i}=n,s={"slick-arrow":!0,"slick-prev":!0};let u=function(g){c4({message:"previous"},o,g)};!r&&(a===0||l<=i)&&(s["slick-disabled"]=!0,u=s4);const c={key:"0","data-role":"none",class:s,style:{display:"block"},onClick:u},d={currentSlide:a,slideCount:l};let p;return n.prevArrow?p=ut(n.prevArrow(v(v({},c),d)),{key:"0",class:s,style:{display:"block"},onClick:u},!1):p=f("button",N({key:"0",type:"button"},c),[" ",go("Previous")]),p};u4.inheritAttrs=!1;const d4=(e,t)=>{let{attrs:n}=t;const{clickHandler:o,currentSlide:r,slideCount:a}=n,l={"slick-arrow":!0,"slick-next":!0};let i=function(d){c4({message:"next"},o,d)};eu(n)||(l["slick-disabled"]=!0,i=s4);const s={key:"1","data-role":"none",class:te(l),style:{display:"block"},onClick:i},u={currentSlide:r,slideCount:a};let c;return n.nextArrow?c=ut(n.nextArrow(v(v({},s),u)),{key:"1",class:te(l),style:{display:"block"},onClick:i},!1):c=f("button",N({key:"1",type:"button"},s),[" ",go("Next")]),c};d4.inheritAttrs=!1;var vz=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=v({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=Ys(v(v({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=v({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new mv(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=Ys(v(v({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=Jg(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=hc(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!!this.track)return;const n=v(v({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const o=QL(e);e=v(v(v({},e),o),{slideIndex:o.currentSlide});const r=Ql(e);e=v(v({},e),{left:r});const a=ql(e);(t||this.children.length!==e.children.length)&&(o.trackStyle=a),this.setState(o,n)},ssrInit(){const e=this.children;if(this.variableWidth){let s=0,u=0;const c=[],d=Ro(v(v(v({},this.$props),this.$data),{slideCount:e.length})),p=cs(v(v(v({},this.$props),this.$data),{slideCount:e.length}));e.forEach(m=>{var h,b;const y=((b=(h=m.props.style)===null||h===void 0?void 0:h.width)===null||b===void 0?void 0:b.split("px")[0])||0;c.push(y),s+=y});for(let m=0;m{const r=()=>++n&&n>=t&&this.onWindowResized();if(!o.onclick)o.onclick=()=>o.parentNode.focus();else{const a=o.onclick;o.onclick=()=>{a(),o.parentNode.focus()}}o.onload||(this.$props.lazyLoad?o.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(o.onload=r,o.onerror=()=>{r(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=v(v({},this.$props),this.$data);for(let n=this.currentSlide;n=-Ro(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,currentSlide:o,beforeChange:r,speed:a,afterChange:l}=this.$props,{state:i,nextState:s}=ZL(v(v(v({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!i)return;r&&r(o,i.currentSlide);const u=i.lazyLoadedList.filter(c=>this.lazyLoadedList.indexOf(c)<0);this.$attrs.onLazyLoad&&u.length>0&&this.__emit("lazyLoad",u),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),l&&l(o),delete this.animationEndCallback),this.setState(i,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),s&&(this.animationEndCallback=setTimeout(()=>{const{animating:c}=s,d=vz(s,["animating"]);this.setState(d,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:c}),10)),l&&l(i.currentSlide),delete this.animationEndCallback})},a))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=v(v({},this.$props),this.$data),o=JL(n,e);if(!(o!==0&&!o)&&(t===!0?this.slideHandler(o,t):this.slideHandler(o),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const r=this.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=ez(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=tz(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=nz(e,v(v(v({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));t&&(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=oz(e,v(v(v({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(eu(v(v({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return f("button",null,[t+1])},appendDots(e){let{dots:t}=e;return f("ul",{style:{display:"block"}},[t])}},render(){const e=te("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=v(v({},this.$props),this.$data);let n=gd(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:o}=this.$props;n=v(v({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:o?this.onTrackLeave:$n,onMouseover:o?this.onTrackOver:$n});let r;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let b=gd(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);b.customPaging=this.customPaging,b.appendDots=this.appendDots;const{customPaging:y,appendDots:S}=this.$slots;y&&(b.customPaging=y),S&&(b.appendDots=S);const{pauseOnDotsHover:$}=this.$props;b=v(v({},b),{clickHandler:this.changeSlide,onMouseover:$?this.onDotsOver:$n,onMouseleave:$?this.onDotsLeave:$n}),r=f(pz,b,null)}let a,l;const i=gd(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);i.clickHandler=this.changeSlide;const{prevArrow:s,nextArrow:u}=this.$slots;s&&(i.prevArrow=s),u&&(i.nextArrow=u),this.arrows&&(a=f(u4,i,null),l=f(d4,i,null));let c=null;this.vertical&&(c={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let d=null;this.vertical===!1?this.centerMode===!0&&(d={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(d={padding:this.centerPadding+" 0px"});const p=v(v({},c),d),g=this.touchMove;let m={ref:this.listRefHandler,class:"slick-list",style:p,onClick:this.clickHandler,onMousedown:g?this.swipeStart:$n,onMousemove:this.dragging&&g?this.swipeMove:$n,onMouseup:g?this.swipeEnd:$n,onMouseleave:this.dragging&&g?this.swipeEnd:$n,[zt?"onTouchstartPassive":"onTouchstart"]:g?this.swipeStart:$n,[zt?"onTouchmovePassive":"onTouchmove"]:this.dragging&&g?this.swipeMove:$n,onTouchend:g?this.touchEnd:$n,onTouchcancel:this.dragging&&g?this.swipeEnd:$n,onKeydown:this.accessibility?this.keyHandler:$n},h={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(m={class:"slick-list",ref:this.listRefHandler},h={class:e}),f("div",h,[this.unslick?"":a,f("div",m,[f(dz,n,{default:()=>[this.children]})]),this.unslick?"":l,this.unslick?"":r])}},hz=J({name:"Slider",mixins:[Jr],inheritAttrs:!1,props:v({},t4),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,o)=>n-o),e.forEach((n,o)=>{let r;o===0?r=vd({minWidth:0,maxWidth:n}):r=vd({minWidth:e[o-1]+1,maxWidth:n}),L1()&&this.media(r,()=>{this.setState({breakpoint:n})})});const t=vd({minWidth:e.slice(-1)[0]});L1()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),o=r=>{let{matches:a}=r;a&&t()};n.addListener(o),o(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:o})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(i=>i.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":v(v({},this.$props),n[0].settings)):t=v({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let o=bc(this)||[];o=o.filter(i=>typeof i=="string"?!!i.trim():!!i),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const r=[];let a=null;for(let i=0;i=o.length));d+=1)c.push(ut(o[d],{key:100*i+10*u+d,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));s.push(f("div",{key:10*i+u},[c]))}t.variableWidth?r.push(f("div",{key:i,style:{width:a}},[s])):r.push(f("div",{key:i},[s]))}if(t==="unslick"){const i="regular slider "+(this.className||"");return f("div",{class:i},[o])}else r.length<=t.slidesToShow&&(t.unslick=!0);const l=v(v(v({},this.$attrs),t),{children:r,ref:this.innerSliderRefHandler});return f(gz,N(N({},l),{},{__propsSymbol__:[]}),this.$slots)}}),mz=e=>{const{componentCls:t,antCls:n,carouselArrowSize:o,carouselDotOffset:r,marginXXS:a}=e,l=-o*1.25,i=a;return{[t]:v(v({},et(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:l,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:l,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-i,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},bz=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:o}=e,r={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:v(v({},r),{margin:`${o}px 0`,verticalAlign:"baseline",button:r,"&.slick-active":v(v({},r),{button:r})})}}}},yz=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},Sz=Qe("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,o=ze(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[mz(o),bz(o),yz(o)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var $z=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({effect:je(),dots:Ce(!0),vertical:Ce(),autoplay:Ce(),easing:String,beforeChange:de(),afterChange:de(),prefixCls:String,accessibility:Ce(),nextArrow:V.any,prevArrow:V.any,pauseOnHover:Ce(),adaptiveHeight:Ce(),arrows:Ce(!1),autoplaySpeed:Number,centerMode:Ce(),centerPadding:String,cssEase:String,dotsClass:String,draggable:Ce(!1),fade:Ce(),focusOnSelect:Ce(),infinite:Ce(),initialSlide:Number,lazyLoad:je(),rtl:Ce(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:Ce(),swipeToSlide:Ce(),swipeEvent:de(),touchMove:Ce(),touchThreshold:Number,variableWidth:Ce(),useCSS:Ce(),slickGoTo:Number,responsive:Array,dotPosition:je(),verticalSwiping:Ce(!1)}),xz=J({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:Cz(),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=Z();r({goTo:function(m){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var b;(b=a.value)===null||b===void 0||b.slickGoTo(m,h)},autoplay:m=>{var h,b;(b=(h=a.value)===null||h===void 0?void 0:h.innerSlider)===null||b===void 0||b.handleAutoPlay(m)},prev:()=>{var m;(m=a.value)===null||m===void 0||m.slickPrev()},next:()=>{var m;(m=a.value)===null||m===void 0||m.slickNext()},innerSlider:P(()=>{var m;return(m=a.value)===null||m===void 0?void 0:m.innerSlider})}),Le(()=>{yt(e.vertical===void 0)});const{prefixCls:i,direction:s}=Ee("carousel",e),[u,c]=Sz(i),d=P(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),p=P(()=>d.value==="left"||d.value==="right"),g=P(()=>{const m="slick-dots";return te({[m]:!0,[`${m}-${d.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:m,arrows:h,draggable:b,effect:y}=e,{class:S,style:$}=o,x=$z(o,["class","style"]),C=y==="fade"?!0:e.fade,O=te(i.value,{[`${i.value}-rtl`]:s.value==="rtl",[`${i.value}-vertical`]:p.value,[`${S}`]:!!S},c.value);return u(f("div",{class:O,style:$},[f(hz,N(N(N({ref:a},e),x),{},{dots:!!m,dotsClass:g.value,arrows:h,draggable:b,fade:C,vertical:p.value}),n)]))}}}),poe=Vt(xz),th="__RC_CASCADER_SPLIT__",f4="SHOW_PARENT",p4="SHOW_CHILD";function lr(e){return e.join(th)}function ha(e){return e.map(lr)}function wz(e){return e.split(th)}function Oz(e){const{label:t,value:n,children:o}=e||{},r=n||"value";return{label:t||"label",value:r,key:r,children:o||"children"}}function hl(e,t){var n,o;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((o=e[t.children])===null||o===void 0)&&o.length)}function Pz(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}const v4=Symbol("TreeContextKey"),Iz=J({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return Ke(v4,P(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),nh=()=>Xe(v4,P(()=>({}))),g4=Symbol("KeysStateKey"),Tz=e=>{Ke(g4,e)},h4=()=>Xe(g4,{expandedKeys:Y([]),selectedKeys:Y([]),loadedKeys:Y([]),loadingKeys:Y([]),checkedKeys:Y([]),halfCheckedKeys:Y([]),expandedKeysSet:P(()=>new Set),selectedKeysSet:P(()=>new Set),loadedKeysSet:P(()=>new Set),loadingKeysSet:P(()=>new Set),checkedKeysSet:P(()=>new Set),halfCheckedKeysSet:P(()=>new Set),flattenNodes:Y([])}),Mz=e=>{let{prefixCls:t,level:n,isStart:o,isEnd:r}=e;const a=`${t}-indent-unit`,l=[];for(let i=0;i({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:V.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:V.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:V.any,switcherIcon:V.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var Dz=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r"`v-slot:"+ae+"` ")}`;const a=Y(!1),l=nh(),{expandedKeysSet:i,selectedKeysSet:s,loadedKeysSet:u,loadingKeysSet:c,checkedKeysSet:d,halfCheckedKeysSet:p}=h4(),{dragOverNodeKey:g,dropPosition:m,keyEntities:h}=l.value,b=P(()=>us(e.eventKey,{expandedKeysSet:i.value,selectedKeysSet:s.value,loadedKeysSet:u.value,loadingKeysSet:c.value,checkedKeysSet:d.value,halfCheckedKeysSet:p.value,dragOverNodeKey:g,dropPosition:m,keyEntities:h})),y=zn(()=>b.value.expanded),S=zn(()=>b.value.selected),$=zn(()=>b.value.checked),x=zn(()=>b.value.loaded),C=zn(()=>b.value.loading),O=zn(()=>b.value.halfChecked),w=zn(()=>b.value.dragOver),M=zn(()=>b.value.dragOverGapTop),I=zn(()=>b.value.dragOverGapBottom),_=zn(()=>b.value.pos),D=Y(),F=P(()=>{const{eventKey:ae}=e,{keyEntities:ne}=l.value,{children:pe}=ne[ae]||{};return!!(pe||[]).length}),z=P(()=>{const{isLeaf:ae}=e,{loadData:ne}=l.value,pe=F.value;return ae===!1?!1:ae||!ne&&!pe||ne&&x.value&&!pe}),H=P(()=>z.value?null:y.value?z1:H1),T=P(()=>{const{disabled:ae}=e,{disabled:ne}=l.value;return!!(ne||ae)}),A=P(()=>{const{checkable:ae}=e,{checkable:ne}=l.value;return!ne||ae===!1?!1:ne}),R=P(()=>{const{selectable:ae}=e,{selectable:ne}=l.value;return typeof ae=="boolean"?ae:ne}),E=P(()=>{const{data:ae,active:ne,checkable:pe,disableCheckbox:xe,disabled:Te,selectable:ke}=e;return v(v({active:ne,checkable:pe,disableCheckbox:xe,disabled:Te,selectable:ke},ae),{dataRef:ae,data:ae,isLeaf:z.value,checked:$.value,expanded:y.value,loading:C.value,selected:S.value,halfChecked:O.value})}),k=Dn(),B=P(()=>{const{eventKey:ae}=e,{keyEntities:ne}=l.value,{parent:pe}=ne[ae]||{};return v(v({},ds(v({},e,b.value))),{parent:pe})}),L=vt({eventData:B,eventKey:P(()=>e.eventKey),selectHandle:D,pos:_,key:k.vnode.key});r(L);const j=ae=>{const{onNodeDoubleClick:ne}=l.value;ne(ae,B.value)},K=ae=>{if(T.value)return;const{onNodeSelect:ne}=l.value;ae.preventDefault(),ne(ae,B.value)},G=ae=>{if(T.value)return;const{disableCheckbox:ne}=e,{onNodeCheck:pe}=l.value;if(!A.value||ne)return;ae.preventDefault();const xe=!$.value;pe(ae,B.value,xe)},U=ae=>{const{onNodeClick:ne}=l.value;ne(ae,B.value),R.value?K(ae):G(ae)},X=ae=>{const{onNodeMouseEnter:ne}=l.value;ne(ae,B.value)},ee=ae=>{const{onNodeMouseLeave:ne}=l.value;ne(ae,B.value)},oe=ae=>{const{onNodeContextMenu:ne}=l.value;ne(ae,B.value)},Q=ae=>{const{onNodeDragStart:ne}=l.value;ae.stopPropagation(),a.value=!0,ne(ae,L);try{ae.dataTransfer.setData("text/plain","")}catch{}},W=ae=>{const{onNodeDragEnter:ne}=l.value;ae.preventDefault(),ae.stopPropagation(),ne(ae,L)},q=ae=>{const{onNodeDragOver:ne}=l.value;ae.preventDefault(),ae.stopPropagation(),ne(ae,L)},re=ae=>{const{onNodeDragLeave:ne}=l.value;ae.stopPropagation(),ne(ae,L)},le=ae=>{const{onNodeDragEnd:ne}=l.value;ae.stopPropagation(),a.value=!1,ne(ae,L)},ye=ae=>{const{onNodeDrop:ne}=l.value;ae.preventDefault(),ae.stopPropagation(),a.value=!1,ne(ae,L)},me=ae=>{const{onNodeExpand:ne}=l.value;C.value||ne(ae,B.value)},ce=()=>{const{data:ae}=e,{draggable:ne}=l.value;return!!(ne&&(!ne.nodeDraggable||ne.nodeDraggable(ae)))},se=()=>{const{draggable:ae,prefixCls:ne}=l.value;return ae&&(ae!=null&&ae.icon)?f("span",{class:`${ne}-draggable-icon`},[ae.icon]):null},ie=()=>{var ae,ne,pe;const{switcherIcon:xe=o.switcherIcon||((ae=l.value.slots)===null||ae===void 0?void 0:ae[(pe=(ne=e.data)===null||ne===void 0?void 0:ne.slots)===null||pe===void 0?void 0:pe.switcherIcon])}=e,{switcherIcon:Te}=l.value,ke=xe||Te;return typeof ke=="function"?ke(E.value):ke},fe=()=>{const{loadData:ae,onNodeLoad:ne}=l.value;C.value||ae&&y.value&&!z.value&&!F.value&&!x.value&&ne(B.value)};Ve(()=>{fe()}),ao(()=>{fe()});const Se=()=>{const{prefixCls:ae}=l.value,ne=ie();if(z.value)return ne!==!1?f("span",{class:te(`${ae}-switcher`,`${ae}-switcher-noop`)},[ne]):null;const pe=te(`${ae}-switcher`,`${ae}-switcher_${y.value?z1:H1}`);return ne!==!1?f("span",{onClick:me,class:pe},[ne]):null},Ie=()=>{var ae,ne;const{disableCheckbox:pe}=e,{prefixCls:xe}=l.value,Te=T.value;return A.value?f("span",{class:te(`${xe}-checkbox`,$.value&&`${xe}-checkbox-checked`,!$.value&&O.value&&`${xe}-checkbox-indeterminate`,(Te||pe)&&`${xe}-checkbox-disabled`),onClick:G},[(ne=(ae=l.value).customCheckable)===null||ne===void 0?void 0:ne.call(ae)]):null},ge=()=>{const{prefixCls:ae}=l.value;return f("span",{class:te(`${ae}-iconEle`,`${ae}-icon__${H.value||"docu"}`,C.value&&`${ae}-icon_loading`)},null)},Oe=()=>{const{disabled:ae,eventKey:ne}=e,{draggable:pe,dropLevelOffset:xe,dropPosition:Te,prefixCls:ke,indent:ve,dropIndicatorRender:he,dragOverNodeKey:be,direction:Me}=l.value;return!ae&&pe!==!1&&be===ne?he({dropPosition:Te,dropLevelOffset:xe,indent:ve,prefixCls:ke,direction:Me}):null},we=()=>{var ae,ne,pe,xe,Te,ke;const{icon:ve=o.icon,data:he}=e,be=o.title||((ae=l.value.slots)===null||ae===void 0?void 0:ae[(pe=(ne=e.data)===null||ne===void 0?void 0:ne.slots)===null||pe===void 0?void 0:pe.title])||((xe=l.value.slots)===null||xe===void 0?void 0:xe.title)||e.title,{prefixCls:Me,showIcon:Ae,icon:_e,loadData:Re}=l.value,Ye=T.value,tt=`${Me}-node-content-wrapper`;let at;if(Ae){const Et=ve||((Te=l.value.slots)===null||Te===void 0?void 0:Te[(ke=he==null?void 0:he.slots)===null||ke===void 0?void 0:ke.icon])||_e;at=Et?f("span",{class:te(`${Me}-iconEle`,`${Me}-icon__customize`)},[typeof Et=="function"?Et(E.value):Et]):ge()}else Re&&C.value&&(at=ge());let it;typeof be=="function"?it=be(E.value):it=be,it=it===void 0?Az:it;const ct=f("span",{class:`${Me}-title`},[it]);return f("span",{ref:D,title:typeof be=="string"?be:"",class:te(`${tt}`,`${tt}-${H.value||"normal"}`,!Ye&&(S.value||a.value)&&`${Me}-node-selected`),onMouseenter:X,onMouseleave:ee,onContextmenu:oe,onClick:U,onDblclick:j},[at,ct,Oe()])};return()=>{const ae=v(v({},e),n),{eventKey:ne,isLeaf:pe,isStart:xe,isEnd:Te,domRef:ke,active:ve,data:he,onMousemove:be,selectable:Me}=ae,Ae=Dz(ae,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:_e,filterTreeNode:Re,keyEntities:Ye,dropContainerKey:tt,dropTargetKey:at,draggingNodeKey:it}=l.value,ct=T.value,Et=dr(Ae,{aria:!0,data:!0}),{level:Dt}=Ye[ne]||{},Bt=Te[Te.length-1],Pt=ce(),Qt=!ct&&Pt,sn=it===ne,Rn=Me!==void 0?{"aria-selected":!!Me}:void 0;return f("div",N(N({ref:ke,class:te(n.class,`${_e}-treenode`,{[`${_e}-treenode-disabled`]:ct,[`${_e}-treenode-switcher-${y.value?"open":"close"}`]:!pe,[`${_e}-treenode-checkbox-checked`]:$.value,[`${_e}-treenode-checkbox-indeterminate`]:O.value,[`${_e}-treenode-selected`]:S.value,[`${_e}-treenode-loading`]:C.value,[`${_e}-treenode-active`]:ve,[`${_e}-treenode-leaf-last`]:Bt,[`${_e}-treenode-draggable`]:Qt,dragging:sn,"drop-target":at===ne,"drop-container":tt===ne,"drag-over":!ct&&w.value,"drag-over-gap-top":!ct&&M.value,"drag-over-gap-bottom":!ct&&I.value,"filter-node":Re&&Re(B.value)}),style:n.style,draggable:Qt,"aria-grabbed":sn,onDragstart:Qt?Q:void 0,onDragenter:Pt?W:void 0,onDragover:Pt?q:void 0,onDragleave:Pt?re:void 0,onDrop:Pt?ye:void 0,onDragend:Pt?le:void 0,onMousemove:be},Rn),Et),[f(Ez,{prefixCls:_e,level:Dt,isStart:xe,isEnd:Te},null),se(),Se(),Ie(),we()])}}});function uo(e,t){if(!e)return[];const n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function Io(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function oh(e){return e.split("-")}function y4(e,t){return`${e}-${t}`}function Rz(e){return e&&e.type&&e.type.isTreeNode}function Nz(e,t){const n=[],o=t[e];function r(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(l=>{let{key:i,children:s}=l;n.push(i),r(s)})}return r(o.children),n}function kz(e){if(e.parent){const t=oh(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function Bz(e){const t=oh(e.pos);return Number(t[t.length-1])===0}function j1(e,t,n,o,r,a,l,i,s,u){var c;const{clientX:d,clientY:p}=e,{top:g,height:m}=e.target.getBoundingClientRect(),b=((u==="rtl"?-1:1)*(((r==null?void 0:r.x)||0)-d)-12)/o;let y=i[n.eventKey];if(pz.key===y.key),D=_<=0?0:_-1,F=l[D].key;y=i[F]}const S=y.key,$=y,x=y.key;let C=0,O=0;if(!s.has(S))for(let _=0;_-1.5?a({dragNode:w,dropNode:M,dropPosition:1})?C=1:I=!1:a({dragNode:w,dropNode:M,dropPosition:0})?C=0:a({dragNode:w,dropNode:M,dropPosition:1})?C=1:I=!1:a({dragNode:w,dropNode:M,dropPosition:1})?C=1:I=!1,{dropPosition:C,dropLevelOffset:O,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:x,dropContainerKey:C===0?null:((c=y.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:I}}function V1(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function bd(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function ip(e,t){const n=new Set;function o(r){if(n.has(r))return;const a=t[r];if(!a)return;n.add(r);const{parent:l,node:i}=a;i.disabled||l&&o(l.key)}return(e||[]).forEach(r=>{o(r)}),[...n]}var Fz=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r0&&arguments[0]!==void 0?arguments[0]:[];return Tt(n).map(r=>{var a,l,i,s;if(!Rz(r))return null;const u=r.children||{},c=r.key,d={};for(const[_,D]of Object.entries(r.props))d[qr(_)]=D;const{isLeaf:p,checkable:g,selectable:m,disabled:h,disableCheckbox:b}=d,y={isLeaf:p||p===""||void 0,checkable:g||g===""||void 0,selectable:m||m===""||void 0,disabled:h||h===""||void 0,disableCheckbox:b||b===""||void 0},S=v(v({},d),y),{title:$=(a=u.title)===null||a===void 0?void 0:a.call(u,S),icon:x=(l=u.icon)===null||l===void 0?void 0:l.call(u,S),switcherIcon:C=(i=u.switcherIcon)===null||i===void 0?void 0:i.call(u,S)}=d,O=Fz(d,["title","icon","switcherIcon"]),w=(s=u.default)===null||s===void 0?void 0:s.call(u),M=v(v(v({},O),{title:$,icon:x,switcherIcon:C,key:c,isLeaf:p}),y),I=t(w);return I.length&&(M.children=I),M})}return t(e)}function Lz(e,t,n){const{_title:o,key:r,children:a}=tu(n),l=new Set(t===!0?[]:t),i=[];function s(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return u.map((d,p)=>{const g=y4(c?c.pos:"0",p),m=vi(d[r],g);let h;for(let y=0;yp[a]:typeof a=="function"&&(c=p=>a(p)):c=(p,g)=>vi(p[i],g);function d(p,g,m,h){const b=p?p[u]:e,y=p?y4(m.pos,g):"0",S=p?[...h,p]:[];if(p){const $=c(p,y),x={node:p,index:g,pos:y,key:$,parentPos:m.node?m.pos:null,level:m.level+1,nodes:S};t(x)}b&&b.forEach(($,x)=>{d($,x,{node:p,pos:y,level:m?m.level+1:-1},S)})}d(null)}function gi(e){let{initWrapper:t,processEntity:n,onProcessFinished:o,externalGetKey:r,childrenPropName:a,fieldNames:l}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;const s=r||i,u={},c={};let d={posEntities:u,keyEntities:c};return t&&(d=t(d)||d),zz(e,p=>{const{node:g,index:m,pos:h,key:b,parentPos:y,level:S,nodes:$}=p,x={node:g,nodes:$,index:m,key:b,pos:h,level:S},C=vi(b,h);u[h]=x,c[C]=x,x.parent=u[y],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),n&&n(x,d)},{externalGetKey:s,childrenPropName:a,fieldNames:l}),o&&o(d),d}function us(e,t){let{expandedKeysSet:n,selectedKeysSet:o,loadedKeysSet:r,loadingKeysSet:a,checkedKeysSet:l,halfCheckedKeysSet:i,dragOverNodeKey:s,dropPosition:u,keyEntities:c}=t;const d=c[e];return{eventKey:e,expanded:n.has(e),selected:o.has(e),loaded:r.has(e),loading:a.has(e),checked:l.has(e),halfChecked:i.has(e),pos:String(d?d.pos:""),parent:d.parent,dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1}}function ds(e){const{data:t,expanded:n,selected:o,checked:r,loaded:a,loading:l,halfChecked:i,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:p,eventKey:g}=e,m=v(v({dataRef:t},t),{expanded:n,selected:o,checked:r,loaded:a,loading:l,halfChecked:i,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:p,eventKey:g,key:g});return"props"in m||Object.defineProperty(m,"props",{get(){return e}}),m}const Hz=(e,t)=>P(()=>gi(e.value,{fieldNames:t.value,initWrapper:o=>v(v({},o),{pathKeyEntities:{}}),processEntity:(o,r)=>{const a=o.nodes.map(l=>l[t.value.value]).join(th);r.pathKeyEntities[a]=o,o.key=a}}).pathKeyEntities);function jz(e){const t=Y(!1),n=Z({});return Le(()=>{if(!e.value){t.value=!1,n.value={};return}let o={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(o=v(v({},o),e.value)),o.limit<=0&&delete o.limit,t.value=!0,n.value=o}),{showSearch:t,searchConfig:n}}const Ml="__rc_cascader_search_mark__",Vz=(e,t,n)=>{let{label:o}=n;return t.some(r=>String(r[o]).toLowerCase().includes(e.toLowerCase()))},Wz=e=>{let{path:t,fieldNames:n}=e;return t.map(o=>o[n.label]).join(" / ")},Kz=(e,t,n,o,r,a)=>P(()=>{const{filter:l=Vz,render:i=Wz,limit:s=50,sort:u}=r.value,c=[];if(!e.value)return[];function d(p,g){p.forEach(m=>{if(!u&&s>0&&c.length>=s)return;const h=[...g,m],b=m[n.value.children];(!b||b.length===0||a.value)&&l(e.value,h,{label:n.value.label})&&c.push(v(v({},m),{[n.value.label]:i({inputValue:e.value,path:h,prefixCls:o.value,fieldNames:n.value}),[Ml]:h})),b&&d(m[n.value.children],h)})}return d(t.value,[]),u&&c.sort((p,g)=>u(p[Ml],g[Ml],e.value,n.value)),s>0?c.slice(0,s):c});function W1(e,t,n){const o=new Set(e);return e.filter(r=>{const a=t[r],l=a?a.parent:null,i=a?a.children:null;return n===p4?!(i&&i.some(s=>s.key&&o.has(s.key))):!(l&&!l.node.disabled&&o.has(l.key))})}function Zl(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var r;let a=t;const l=[];for(let i=0;i{const p=d[n.value];return o?String(p)===String(s):p===s}),c=u!==-1?a==null?void 0:a[u]:null;l.push({value:(r=c==null?void 0:c[n.value])!==null&&r!==void 0?r:s,index:u,option:c}),a=c==null?void 0:c[n.children]}return l}const Gz=(e,t,n)=>P(()=>{const o=[],r=[];return n.value.forEach(a=>{Zl(a,e.value,t.value).every(i=>i.option)?r.push(a):o.push(a)}),[r,o]});function S4(e,t){const n=new Set;return e.forEach(o=>{t.has(o)||n.add(o)}),n}function Xz(e){const{disabled:t,disableCheckbox:n,checkable:o}=e||{};return!!(t||n)||o===!1}function Uz(e,t,n,o){const r=new Set(e),a=new Set;for(let i=0;i<=n;i+=1)(t.get(i)||new Set).forEach(u=>{const{key:c,node:d,children:p=[]}=u;r.has(c)&&!o(d)&&p.filter(g=>!o(g.node)).forEach(g=>{r.add(g.key)})});const l=new Set;for(let i=n;i>=0;i-=1)(t.get(i)||new Set).forEach(u=>{const{parent:c,node:d}=u;if(o(d)||!u.parent||l.has(u.parent.key))return;if(o(u.parent.node)){l.add(c.key);return}let p=!0,g=!1;(c.children||[]).filter(m=>!o(m.node)).forEach(m=>{let{key:h}=m;const b=r.has(h);p&&!b&&(p=!1),!g&&(b||a.has(h))&&(g=!0)}),p&&r.add(c.key),g&&a.add(c.key),l.add(c.key)});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(S4(a,r))}}function Yz(e,t,n,o,r){const a=new Set(e);let l=new Set(t);for(let s=0;s<=o;s+=1)(n.get(s)||new Set).forEach(c=>{const{key:d,node:p,children:g=[]}=c;!a.has(d)&&!l.has(d)&&!r(p)&&g.filter(m=>!r(m.node)).forEach(m=>{a.delete(m.key)})});l=new Set;const i=new Set;for(let s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(c=>{const{parent:d,node:p}=c;if(r(p)||!c.parent||i.has(c.parent.key))return;if(r(c.parent.node)){i.add(d.key);return}let g=!0,m=!1;(d.children||[]).filter(h=>!r(h.node)).forEach(h=>{let{key:b}=h;const y=a.has(b);g&&!y&&(g=!1),!m&&(y||l.has(b))&&(m=!0)}),g||a.delete(d.key),m&&l.add(d.key),i.add(d.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(S4(l,a))}}function jn(e,t,n,o,r,a){let l;a?l=a:l=Xz;const i=new Set(e.filter(u=>!!n[u]));let s;return t===!0?s=Uz(i,r,o,l):s=Yz(i,t.halfCheckedKeys,r,o,l),s}const qz=(e,t,n,o,r)=>P(()=>{const a=r.value||(l=>{let{labels:i}=l;const s=o.value?i.slice(-1):i,u=" / ";return s.every(c=>["string","number"].includes(typeof c))?s.join(u):s.reduce((c,d,p)=>{const g=kt(d)?ut(d,{key:p}):d;return p===0?[g]:[...c,u,g]},[])});return e.value.map(l=>{const i=Zl(l,t.value,n.value),s=a({labels:i.map(c=>{let{option:d,value:p}=c;var g;return(g=d==null?void 0:d[n.value.label])!==null&&g!==void 0?g:p}),selectedOptions:i.map(c=>{let{option:d}=c;return d})}),u=lr(l);return{label:s,value:u,key:u,valueCells:l}})}),$4=Symbol("CascaderContextKey"),Qz=e=>{Ke($4,e)},nu=()=>Xe($4),Zz=()=>{const e=ci(),{values:t}=nu(),[n,o]=pt([]);return ue(()=>e.open,()=>{if(e.open&&!e.multiple){const r=t.value[0];o(r||[])}},{immediate:!0}),[n,o]},Jz=(e,t,n,o,r,a)=>{const l=ci(),i=P(()=>l.direction==="rtl"),[s,u,c]=[Z([]),Z(),Z([])];Le(()=>{let h=-1,b=t.value;const y=[],S=[],$=o.value.length;for(let C=0;C<$&&b;C+=1){const O=b.findIndex(w=>w[n.value.value]===o.value[C]);if(O===-1)break;h=O,y.push(h),S.push(o.value[C]),b=b[h][n.value.children]}let x=t.value;for(let C=0;C{r(h)},p=h=>{const b=c.value.length;let y=u.value;y===-1&&h<0&&(y=b);for(let S=0;S{if(s.value.length>1){const h=s.value.slice(0,-1);d(h)}else l.toggleOpen(!1)},m=()=>{var h;const y=(((h=c.value[u.value])===null||h===void 0?void 0:h[n.value.children])||[]).find(S=>!S.disabled);if(y){const S=[...s.value,y[n.value.value]];d(S)}};e.expose({onKeydown:h=>{const{which:b}=h;switch(b){case $e.UP:case $e.DOWN:{let y=0;b===$e.UP?y=-1:b===$e.DOWN&&(y=1),y!==0&&p(y);break}case $e.LEFT:{i.value?m():g();break}case $e.RIGHT:{i.value?g():m();break}case $e.BACKSPACE:{l.searchValue||g();break}case $e.ENTER:{if(s.value.length){const y=c.value[u.value],S=(y==null?void 0:y[Ml])||[];S.length?a(S.map($=>$[n.value.value]),S[S.length-1]):a(s.value,y)}break}case $e.ESC:l.toggleOpen(!1),open&&h.stopPropagation()}},onKeyup:()=>{}})};function ou(e){let{prefixCls:t,checked:n,halfChecked:o,disabled:r,onClick:a}=e;const{customSlots:l,checkable:i}=nu(),s=i.value!==!1?l.value.checkable:i.value,u=typeof s=="function"?s():typeof s=="boolean"?null:s;return f("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&o,[`${t}-disabled`]:r},onClick:a},[u])}ou.props=["prefixCls","checked","halfChecked","disabled","onClick"];ou.displayName="Checkbox";ou.inheritAttrs=!1;const C4="__cascader_fix_label__";function ru(e){let{prefixCls:t,multiple:n,options:o,activeValue:r,prevValuePath:a,onToggleOpen:l,onSelect:i,onActive:s,checkedSet:u,halfCheckedSet:c,loadingKeys:d,isSelectable:p}=e;var g,m,h,b,y,S;const $=`${t}-menu`,x=`${t}-menu-item`,{fieldNames:C,changeOnSelect:O,expandTrigger:w,expandIcon:M,loadingIcon:I,dropdownMenuColumnStyle:_,customSlots:D}=nu(),F=(g=M.value)!==null&&g!==void 0?g:(h=(m=D.value).expandIcon)===null||h===void 0?void 0:h.call(m),z=(b=I.value)!==null&&b!==void 0?b:(S=(y=D.value).loadingIcon)===null||S===void 0?void 0:S.call(y),H=w.value==="hover";return f("ul",{class:$,role:"menu"},[o.map(T=>{var A;const{disabled:R}=T,E=T[Ml],k=(A=T[C4])!==null&&A!==void 0?A:T[C.value.label],B=T[C.value.value],L=hl(T,C.value),j=E?E.map(W=>W[C.value.value]):[...a,B],K=lr(j),G=d.includes(K),U=u.has(K),X=c.has(K),ee=()=>{!R&&(!H||!L)&&s(j)},oe=()=>{p(T)&&i(j,L)};let Q;return typeof T.title=="string"?Q=T.title:typeof k=="string"&&(Q=k),f("li",{key:K,class:[x,{[`${x}-expand`]:!L,[`${x}-active`]:r===B,[`${x}-disabled`]:R,[`${x}-loading`]:G}],style:_.value,role:"menuitemcheckbox",title:Q,"aria-checked":U,"data-path-key":K,onClick:()=>{ee(),(!n||L)&&oe()},onDblclick:()=>{O.value&&l(!1)},onMouseenter:()=>{H&&ee()},onMousedown:W=>{W.preventDefault()}},[n&&f(ou,{prefixCls:`${t}-checkbox`,checked:U,halfChecked:X,disabled:R,onClick:W=>{W.stopPropagation(),oe()}},null),f("div",{class:`${x}-content`},[k]),!G&&F&&!L&&f("div",{class:`${x}-expand-icon`},[F]),G&&z&&f("div",{class:`${x}-loading-icon`},[z])])})])}ru.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];ru.displayName="Column";ru.inheritAttrs=!1;const eH=J({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:o}=t,r=ci(),a=Z(),l=P(()=>r.direction==="rtl"),{options:i,values:s,halfValues:u,fieldNames:c,changeOnSelect:d,onSelect:p,searchOptions:g,dropdownPrefixCls:m,loadData:h,expandTrigger:b,customSlots:y}=nu(),S=P(()=>m.value||r.prefixCls),$=Y([]),x=A=>{if(!h.value||r.searchValue)return;const E=Zl(A,i.value,c.value).map(B=>{let{option:L}=B;return L}),k=E[E.length-1];if(k&&!hl(k,c.value)){const B=lr(A);$.value=[...$.value,B],h.value(E)}};Le(()=>{$.value.length&&$.value.forEach(A=>{const R=wz(A),E=Zl(R,i.value,c.value,!0).map(B=>{let{option:L}=B;return L}),k=E[E.length-1];(!k||k[c.value.children]||hl(k,c.value))&&($.value=$.value.filter(B=>B!==A))})});const C=P(()=>new Set(ha(s.value))),O=P(()=>new Set(ha(u.value))),[w,M]=Zz(),I=A=>{M(A),x(A)},_=A=>{const{disabled:R}=A,E=hl(A,c.value);return!R&&(E||d.value||r.multiple)},D=function(A,R){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;p(A),!r.multiple&&(R||d.value&&(b.value==="hover"||E))&&r.toggleOpen(!1)},F=P(()=>r.searchValue?g.value:i.value),z=P(()=>{const A=[{options:F.value}];let R=F.value;for(let E=0;Ej[c.value.value]===k),L=B==null?void 0:B[c.value.children];if(!(L!=null&&L.length))break;R=L,A.push({options:L})}return A});Jz(t,F,c,w,I,(A,R)=>{_(R)&&D(A,hl(R,c.value),!0)});const T=A=>{A.preventDefault()};return Ve(()=>{ue(w,A=>{var R;for(let E=0;E{var A,R,E,k,B;const{notFoundContent:L=((A=o.notFoundContent)===null||A===void 0?void 0:A.call(o))||((E=(R=y.value).notFoundContent)===null||E===void 0?void 0:E.call(R)),multiple:j,toggleOpen:K}=r,G=!(!((B=(k=z.value[0])===null||k===void 0?void 0:k.options)===null||B===void 0)&&B.length),U=[{[c.value.value]:"__EMPTY__",[C4]:L,disabled:!0}],X=v(v({},n),{multiple:!G&&j,onSelect:D,onActive:I,onToggleOpen:K,checkedSet:C.value,halfCheckedSet:O.value,loadingKeys:$.value,isSelectable:_}),oe=(G?[{options:U}]:z.value).map((Q,W)=>{const q=w.value.slice(0,W),re=w.value[W];return f(ru,N(N({key:W},X),{},{prefixCls:S.value,options:Q.options,prevValuePath:q,activeValue:re}),null)});return f("div",{class:[`${S.value}-menus`,{[`${S.value}-menu-empty`]:G,[`${S.value}-rtl`]:l.value}],onMousedown:T,ref:a},[oe])}}});function au(e){const t=Z(0),n=Y();return Le(()=>{const o=new Map;let r=0;const a=e.value||{};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const i=a[l],{level:s}=i;let u=o.get(s);u||(u=new Set,o.set(s,u)),u.add(i),r=Math.max(r,s)}t.value=r,n.value=o}),{maxLevel:t,levelEntities:n}}function tH(){return v(v({},qe(Ac(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Ne(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:f4},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},popupClassName:String,dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:V.any,loadingIcon:V.any})}function x4(){return v(v({},tH()),{onChange:Function,customSlots:Object})}function nH(e){return Array.isArray(e)&&Array.isArray(e[0])}function K1(e){return e?nH(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const oH=J({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:rt(x4(),{}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=Kv(Be(e,"id")),l=P(()=>!!e.checkable),[i,s]=Ot(e.defaultValue,{value:P(()=>e.value),postState:K1}),u=P(()=>Oz(e.fieldNames)),c=P(()=>e.options||[]),d=Hz(c,u),p=W=>{const q=d.value;return W.map(re=>{const{nodes:le}=q[re];return le.map(ye=>ye[u.value.value])})},[g,m]=Ot("",{value:P(()=>e.searchValue),postState:W=>W||""}),h=(W,q)=>{m(W),q.source!=="blur"&&e.onSearch&&e.onSearch(W)},{showSearch:b,searchConfig:y}=jz(Be(e,"showSearch")),S=Kz(g,c,u,P(()=>e.dropdownPrefixCls||e.prefixCls),y,Be(e,"changeOnSelect")),$=Gz(c,u,i),[x,C,O]=[Z([]),Z([]),Z([])],{maxLevel:w,levelEntities:M}=au(d);Le(()=>{const[W,q]=$.value;if(!l.value||!i.value.length){[x.value,C.value,O.value]=[W,[],q];return}const re=ha(W),le=d.value,{checkedKeys:ye,halfCheckedKeys:me}=jn(re,!0,le,w.value,M.value);[x.value,C.value,O.value]=[p(ye),p(me),q]});const I=P(()=>{const W=ha(x.value),q=W1(W,d.value,e.showCheckedStrategy);return[...O.value,...p(q)]}),_=qz(I,c,u,l,Be(e,"displayRender")),D=W=>{if(s(W),e.onChange){const q=K1(W),re=q.map(me=>Zl(me,c.value,u.value).map(ce=>ce.option)),le=l.value?q:q[0],ye=l.value?re:re[0];e.onChange(le,ye)}},F=W=>{if(m(""),!l.value)D(W);else{const q=lr(W),re=ha(x.value),le=ha(C.value),ye=re.includes(q),me=O.value.some(ie=>lr(ie)===q);let ce=x.value,se=O.value;if(me&&!ye)se=O.value.filter(ie=>lr(ie)!==q);else{const ie=ye?re.filter(Ie=>Ie!==q):[...re,q];let fe;ye?{checkedKeys:fe}=jn(ie,{checked:!1,halfCheckedKeys:le},d.value,w.value,M.value):{checkedKeys:fe}=jn(ie,!0,d.value,w.value,M.value);const Se=W1(fe,d.value,e.showCheckedStrategy);ce=p(Se)}D([...se,...ce])}},z=(W,q)=>{if(q.type==="clear"){D([]);return}const{valueCells:re}=q.values[0];F(re)},H=P(()=>e.open!==void 0?e.open:e.popupVisible),T=P(()=>e.dropdownClassName||e.popupClassName),A=P(()=>e.dropdownStyle||e.popupStyle||{}),R=P(()=>e.placement||e.popupPlacement),E=W=>{var q,re;(q=e.onDropdownVisibleChange)===null||q===void 0||q.call(e,W),(re=e.onPopupVisibleChange)===null||re===void 0||re.call(e,W)},{changeOnSelect:k,checkable:B,dropdownPrefixCls:L,loadData:j,expandTrigger:K,expandIcon:G,loadingIcon:U,dropdownMenuColumnStyle:X,customSlots:ee}=Rr(e);Qz({options:c,fieldNames:u,values:x,halfValues:C,changeOnSelect:k,onSelect:F,checkable:B,searchOptions:S,dropdownPrefixCls:L,loadData:j,expandTrigger:K,expandIcon:G,loadingIcon:U,dropdownMenuColumnStyle:X,customSlots:ee});const oe=Z();o({focus(){var W;(W=oe.value)===null||W===void 0||W.focus()},blur(){var W;(W=oe.value)===null||W===void 0||W.blur()},scrollTo(W){var q;(q=oe.value)===null||q===void 0||q.scrollTo(W)}});const Q=P(()=>qe(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const W=!(g.value?S.value:c.value).length,{dropdownMatchSelectWidth:q=!1}=e,re=g.value&&y.value.matchInputWidth||W?{}:{minWidth:"auto"};return f(Vv,N(N(N({},Q.value),n),{},{ref:oe,id:a,prefixCls:e.prefixCls,dropdownMatchSelectWidth:q,dropdownStyle:v(v({},A.value),re),displayValues:_.value,onDisplayValuesChange:z,mode:l.value?"multiple":void 0,searchValue:g.value,onSearch:h,showSearch:b.value,OptionList:eH,emptyOptions:W,open:H.value,dropdownClassName:T.value,placement:R.value,onDropdownVisibleChange:E,getRawInputElement:()=>{var le;return(le=r.default)===null||le===void 0?void 0:le.call(r)}}),r)}}});var rH={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const aH=rH;function G1(e){for(var t=1;thn()&&window.document.documentElement,O4=e=>{if(hn()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(o=>o in n.style)}return!1},iH=(e,t)=>{if(!O4(e))return!1;const n=document.createElement("div"),o=n.style[e];return n.style[e]=t,n.style[e]!==o};function ah(e,t){return!Array.isArray(e)&&t!==void 0?iH(e,t):O4(e)}let Vi;const sH=()=>{if(!w4())return!1;if(Vi!==void 0)return Vi;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),Vi=e.scrollHeight===1,document.body.removeChild(e),Vi},P4=()=>{const e=Y(!1);return Ve(()=>{e.value=sH()}),e},I4=Symbol("rowContextKey"),cH=e=>{Ke(I4,e)},uH=()=>Xe(I4,{gutter:P(()=>{}),wrap:P(()=>{}),supportFlexGap:P(()=>{})}),dH=cH,fH=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},pH=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},vH=(e,t)=>{const{componentCls:n,gridColumns:o}=e,r={};for(let a=o;a>=0;a--)a===0?(r[`${n}${t}-${a}`]={display:"none"},r[`${n}-push-${a}`]={insetInlineStart:"auto"},r[`${n}-pull-${a}`]={insetInlineEnd:"auto"},r[`${n}${t}-push-${a}`]={insetInlineStart:"auto"},r[`${n}${t}-pull-${a}`]={insetInlineEnd:"auto"},r[`${n}${t}-offset-${a}`]={marginInlineEnd:0},r[`${n}${t}-order-${a}`]={order:0}):(r[`${n}${t}-${a}`]={display:"block",flex:`0 0 ${a/o*100}%`,maxWidth:`${a/o*100}%`},r[`${n}${t}-push-${a}`]={insetInlineStart:`${a/o*100}%`},r[`${n}${t}-pull-${a}`]={insetInlineEnd:`${a/o*100}%`},r[`${n}${t}-offset-${a}`]={marginInlineStart:`${a/o*100}%`},r[`${n}${t}-order-${a}`]={order:a});return r},cp=(e,t)=>vH(e,t),gH=(e,t,n)=>({[`@media (min-width: ${t}px)`]:v({},cp(e,n))}),hH=Qe("Grid",e=>[fH(e)]),mH=Qe("Grid",e=>{const t=ze(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[pH(t),cp(t,""),cp(t,"-xs"),Object.keys(n).map(o=>gH(t,n[o],o)).reduce((o,r)=>v(v({},o),r),{})]}),bH=()=>({align:Ge([String,Object]),justify:Ge([String,Object]),prefixCls:String,gutter:Ge([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),yH=J({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:bH(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("row",e),[l,i]=hH(r);let s;const u=yg(),c=Z({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),d=Z({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),p=$=>P(()=>{if(typeof e[$]=="string")return e[$];if(typeof e[$]!="object")return"";for(let x=0;x<_r.length;x++){const C=_r[x];if(!d.value[C])continue;const O=e[$][C];if(O!==void 0)return O}return""}),g=p("align"),m=p("justify"),h=P4();Ve(()=>{s=u.value.subscribe($=>{d.value=$;const x=e.gutter||0;(!Array.isArray(x)&&typeof x=="object"||Array.isArray(x)&&(typeof x[0]=="object"||typeof x[1]=="object"))&&(c.value=$)})}),Je(()=>{u.value.unsubscribe(s)});const b=P(()=>{const $=[void 0,void 0],{gutter:x=0}=e;return(Array.isArray(x)?x:[x,void 0]).forEach((O,w)=>{if(typeof O=="object")for(let M=0;M<_r.length;M++){const I=_r[M];if(c.value[I]&&O[I]!==void 0){$[w]=O[I];break}}else $[w]=O}),$});dH({gutter:b,supportFlexGap:h,wrap:P(()=>e.wrap)});const y=P(()=>te(r.value,{[`${r.value}-no-wrap`]:e.wrap===!1,[`${r.value}-${m.value}`]:m.value,[`${r.value}-${g.value}`]:g.value,[`${r.value}-rtl`]:a.value==="rtl"},o.class,i.value)),S=P(()=>{const $=b.value,x={},C=$[0]!=null&&$[0]>0?`${$[0]/-2}px`:void 0,O=$[1]!=null&&$[1]>0?`${$[1]/-2}px`:void 0;return C&&(x.marginLeft=C,x.marginRight=C),h.value?x.rowGap=`${$[1]}px`:O&&(x.marginTop=O,x.marginBottom=O),x});return()=>{var $;return l(f("div",N(N({},o),{},{class:y.value,style:v(v({},S.value),o.style)}),[($=n.default)===null||$===void 0?void 0:$.call(n)]))}}}),T4=yH;function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 fs(e,t,n){return $H()?fs=Reflect.construct.bind():fs=function(r,a,l){var i=[null];i.push.apply(i,a);var s=Function.bind.apply(r,i),u=new s;return l&&Jl(u,l.prototype),u},fs.apply(null,arguments)}function CH(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dp(e){var t=typeof Map=="function"?new Map:void 0;return dp=function(o){if(o===null||!CH(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return fs(o,arguments,up(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Jl(r,o)},dp(e)}var xH=/%[sdj%]/g,wH=function(){};function fp(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function In(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o=a)return i;switch(i){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return i}});return l}return e}function OH(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function jt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||OH(t)&&typeof e=="string"&&!e)}function PH(e,t,n){var o=[],r=0,a=e.length;function l(i){o.push.apply(o,i||[]),r++,r===a&&n(o)}e.forEach(function(i){t(i,l)})}function X1(e,t,n){var o=0,r=e.length;function a(l){if(l&&l.length){n(l);return}var i=o;o=o+1,i()\[\]\\.,;:\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},ml={integer:function(t){return ml.number(t)&&parseInt(t,10)===t},float:function(t){return ml.number(t)&&!ml.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!ml.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Q1.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(DH())},hex:function(t){return typeof t=="string"&&!!t.match(Q1.hex)}},AH=function(t,n,o,r,a){if(t.required&&n===void 0){M4(t,n,o,r,a);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=t.type;l.indexOf(i)>-1?ml[i](n)||r.push(In(a.messages.types[i],t.fullField,t.type)):i&&typeof n!==t.type&&r.push(In(a.messages.types[i],t.fullField,t.type))},RH=function(t,n,o,r,a){var l=typeof t.len=="number",i=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,p=typeof n=="number",g=typeof n=="string",m=Array.isArray(n);if(p?d="number":g?d="string":m&&(d="array"),!d)return!1;m&&(c=n.length),g&&(c=n.replace(u,"_").length),l?c!==t.len&&r.push(In(a.messages[d].len,t.fullField,t.len)):i&&!s&&ct.max?r.push(In(a.messages[d].max,t.fullField,t.max)):i&&s&&(ct.max)&&r.push(In(a.messages[d].range,t.fullField,t.min,t.max))},ia="enum",NH=function(t,n,o,r,a){t[ia]=Array.isArray(t[ia])?t[ia]:[],t[ia].indexOf(n)===-1&&r.push(In(a.messages[ia],t.fullField,t[ia].join(", ")))},kH=function(t,n,o,r,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(In(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(n)||r.push(In(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ft={required:M4,whitespace:_H,type:AH,range:RH,enum:NH,pattern:kH},BH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n,"string")&&!t.required)return o();ft.required(t,n,r,l,a,"string"),jt(n,"string")||(ft.type(t,n,r,l,a),ft.range(t,n,r,l,a),ft.pattern(t,n,r,l,a),t.whitespace===!0&&ft.whitespace(t,n,r,l,a))}o(l)},FH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&ft.type(t,n,r,l,a)}o(l)},LH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(n===""&&(n=void 0),jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&(ft.type(t,n,r,l,a),ft.range(t,n,r,l,a))}o(l)},zH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&ft.type(t,n,r,l,a)}o(l)},HH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),jt(n)||ft.type(t,n,r,l,a)}o(l)},jH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&(ft.type(t,n,r,l,a),ft.range(t,n,r,l,a))}o(l)},VH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&(ft.type(t,n,r,l,a),ft.range(t,n,r,l,a))}o(l)},WH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(n==null&&!t.required)return o();ft.required(t,n,r,l,a,"array"),n!=null&&(ft.type(t,n,r,l,a),ft.range(t,n,r,l,a))}o(l)},KH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&ft.type(t,n,r,l,a)}o(l)},GH="enum",XH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a),n!==void 0&&ft[GH](t,n,r,l,a)}o(l)},UH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n,"string")&&!t.required)return o();ft.required(t,n,r,l,a),jt(n,"string")||ft.pattern(t,n,r,l,a)}o(l)},YH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n,"date")&&!t.required)return o();if(ft.required(t,n,r,l,a),!jt(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),ft.type(t,s,r,l,a),s&&ft.range(t,s.getTime(),r,l,a)}}o(l)},qH=function(t,n,o,r,a){var l=[],i=Array.isArray(n)?"array":typeof n;ft.required(t,n,r,l,a,i),o(l)},yd=function(t,n,o,r,a){var l=t.type,i=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(jt(n,l)&&!t.required)return o();ft.required(t,n,r,i,a,l),jt(n,l)||ft.type(t,n,r,i,a)}o(i)},QH=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(jt(n)&&!t.required)return o();ft.required(t,n,r,l,a)}o(l)},El={string:BH,method:FH,number:LH,boolean:zH,regexp:HH,integer:jH,float:VH,array:WH,object:KH,enum:XH,pattern:UH,date:YH,url:yd,hex:yd,email:yd,required:qH,any:QH};function pp(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var vp=pp(),hi=function(){function e(n){this.rules=null,this._messages=vp,this.define(n)}var t=e.prototype;return t.define=function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(a){var l=o[a];r.rules[a]=Array.isArray(l)?l:[l]})},t.messages=function(o){return o&&(this._messages=q1(pp(),o)),this._messages},t.validate=function(o,r,a){var l=this;r===void 0&&(r={}),a===void 0&&(a=function(){});var i=o,s=r,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,i),Promise.resolve(i);function c(h){var b=[],y={};function S(x){if(Array.isArray(x)){var C;b=(C=b).concat.apply(C,x)}else b.push(x)}for(var $=0;$3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&o&&n===void 0&&!E4(e,t.slice(0,-1))?e:_4(e,t,n,o)}function gp(e){return ir(e)}function JH(e,t){return E4(e,t)}function ej(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ZH(e,t,n,o)}function tj(e,t){return e&&e.some(n=>oj(n,t))}function Z1(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function D4(e,t){const n=Array.isArray(e)?[...e]:v({},e);return t&&Object.keys(t).forEach(o=>{const r=n[o],a=t[o],l=Z1(r)&&Z1(a);n[o]=l?D4(r,a||{}):a}),n}function nj(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;oD4(r,a),e)}function J1(e,t){let n={};return t.forEach(o=>{const r=JH(e,o);n=ej(n,o,r)}),n}function oj(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,o)=>t[o]===n)}const Cn="'${name}' is not a valid ${type}",lu={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Cn,method:Cn,array:Cn,object:Cn,number:Cn,date:Cn,boolean:Cn,integer:Cn,float:Cn,regexp:Cn,email:Cn,url:Cn,hex:Cn},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var iu=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function i(c){try{u(o.next(c))}catch(d){l(d)}}function s(c){try{u(o.throw(c))}catch(d){l(d)}}function u(c){c.done?a(c.value):r(c.value).then(i,s)}u((o=o.apply(e,t||[])).next())})};const rj=hi;function aj(e,t){return e.replace(/\$\{\w+\}/g,n=>{const o=n.slice(2,-1);return t[o]})}function hp(e,t,n,o,r){return iu(this,void 0,void 0,function*(){const a=v({},n);delete a.ruleIndex,delete a.trigger;let l=null;a&&a.type==="array"&&a.defaultField&&(l=a.defaultField,delete a.defaultField);const i=new rj({[e]:[a]}),s=nj({},lu,o.validateMessages);i.messages(s);let u=[];try{yield Promise.resolve(i.validate({[e]:t},v({},o)))}catch(p){p.errors?u=p.errors.map((g,m)=>{let{message:h}=g;return kt(h)?ko(h,{key:`error_${m}`}):h}):(console.error(p),u=[s.default()])}if(!u.length&&l)return(yield Promise.all(t.map((g,m)=>hp(`${e}.${m}`,g,l,o,r)))).reduce((g,m)=>[...g,...m],[]);const c=v(v(v({},n),{name:e,enum:(n.enum||[]).join(", ")}),r);return u.map(p=>typeof p=="string"?aj(p,c):p)})}function A4(e,t,n,o,r,a){const l=e.join("."),i=n.map((u,c)=>{const d=u.validator,p=v(v({},u),{ruleIndex:c});return d&&(p.validator=(g,m,h)=>{let b=!1;const S=d(g,m,function(){for(var $=arguments.length,x=new Array($),C=0;C<$;C++)x[C]=arguments[C];Promise.resolve().then(()=>{b||h(...x)})});b=S&&typeof S.then=="function"&&typeof S.catch=="function",b&&S.then(()=>{h()}).catch($=>{h($||" ")})}),p}).sort((u,c)=>{let{warningOnly:d,ruleIndex:p}=u,{warningOnly:g,ruleIndex:m}=c;return!!d==!!g?p-m:d?1:-1});let s;if(r===!0)s=new Promise((u,c)=>iu(this,void 0,void 0,function*(){for(let d=0;dhp(l,t,c,o,a).then(d=>({errors:d,rule:c})));s=(r?ij(u):lj(u)).then(c=>Promise.reject(c))}return s.catch(u=>u),s}function lj(e){return iu(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function ij(e){return iu(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(o=>{o.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})})}const R4=Symbol("formContextKey"),N4=e=>{Ke(R4,e)},lh=()=>Xe(R4,{name:P(()=>{}),labelAlign:P(()=>"right"),vertical:P(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:P(()=>{}),rules:P(()=>{}),colon:P(()=>{}),labelWrap:P(()=>{}),labelCol:P(()=>{}),requiredMark:P(()=>!1),validateTrigger:P(()=>{}),onValidate:()=>{},validateMessages:P(()=>lu)}),k4=Symbol("formItemPrefixContextKey"),sj=e=>{Ke(k4,e)},cj=()=>Xe(k4,{prefixCls:P(()=>"")});function uj(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const dj=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),fj=["xs","sm","md","lg","xl","xxl"],ih=J({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:dj(),setup(e,t){let{slots:n,attrs:o}=t;const{gutter:r,supportFlexGap:a,wrap:l}=uH(),{prefixCls:i,direction:s}=Ee("col",e),[u,c]=mH(i),d=P(()=>{const{span:g,order:m,offset:h,push:b,pull:y}=e,S=i.value;let $={};return fj.forEach(x=>{let C={};const O=e[x];typeof O=="number"?C.span=O:typeof O=="object"&&(C=O||{}),$=v(v({},$),{[`${S}-${x}-${C.span}`]:C.span!==void 0,[`${S}-${x}-order-${C.order}`]:C.order||C.order===0,[`${S}-${x}-offset-${C.offset}`]:C.offset||C.offset===0,[`${S}-${x}-push-${C.push}`]:C.push||C.push===0,[`${S}-${x}-pull-${C.pull}`]:C.pull||C.pull===0,[`${S}-rtl`]:s.value==="rtl"})}),te(S,{[`${S}-${g}`]:g!==void 0,[`${S}-order-${m}`]:m,[`${S}-offset-${h}`]:h,[`${S}-push-${b}`]:b,[`${S}-pull-${y}`]:y},$,o.class,c.value)}),p=P(()=>{const{flex:g}=e,m=r.value,h={};if(m&&m[0]>0){const b=`${m[0]/2}px`;h.paddingLeft=b,h.paddingRight=b}if(m&&m[1]>0&&!a.value){const b=`${m[1]/2}px`;h.paddingTop=b,h.paddingBottom=b}return g&&(h.flex=uj(g),l.value===!1&&!h.minWidth&&(h.minWidth=0)),h});return()=>{var g;return u(f("div",N(N({},o),{},{class:d.value,style:[p.value,o.style]}),[(g=n.default)===null||g===void 0?void 0:g.call(n)]))}}});var pj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const vj=pj;function ey(e){for(var t=1;t{let{slots:n,emit:o,attrs:r}=t;var a,l,i,s,u;const{prefixCls:c,htmlFor:d,labelCol:p,labelAlign:g,colon:m,required:h,requiredMark:b}=v(v({},e),r),[y]=$o("Form"),S=(a=e.label)!==null&&a!==void 0?a:(l=n.label)===null||l===void 0?void 0:l.call(n);if(!S)return null;const{vertical:$,labelAlign:x,labelCol:C,labelWrap:O,colon:w}=lh(),M=p||(C==null?void 0:C.value)||{},I=g||(x==null?void 0:x.value),_=`${c}-item-label`,D=te(_,I==="left"&&`${_}-left`,M.class,{[`${_}-wrap`]:!!O.value});let F=S;const z=m===!0||(w==null?void 0:w.value)!==!1&&m!==!1;if(z&&!$.value&&typeof S=="string"&&S.trim()!==""&&(F=S.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const A=f("span",{class:`${c}-item-tooltip`},[f(oo,{title:e.tooltip},{default:()=>[f(hj,null,null)]})]);F=f(nt,null,[F,n.tooltip?(i=n.tooltip)===null||i===void 0?void 0:i.call(n,{class:`${c}-item-tooltip`}):A])}b==="optional"&&!h&&(F=f(nt,null,[F,f("span",{class:`${c}-item-optional`},[((s=y.value)===null||s===void 0?void 0:s.optional)||((u=Gn.Form)===null||u===void 0?void 0:u.optional)])]));const T=te({[`${c}-item-required`]:h,[`${c}-item-required-mark-optional`]:b==="optional",[`${c}-item-no-colon`]:!z});return f(ih,N(N({},M),{},{class:D}),{default:()=>[f("label",{for:d,class:T,title:typeof S=="string"?S:"",onClick:A=>o("click",A)},[F])]})};ch.displayName="FormItemLabel";ch.inheritAttrs=!1;const mj=ch,bj=e=>{const{componentCls:t}=e,n=`${t}-show-help`,o=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[o]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${o}-appear, &${o}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${o}-leave-active`]:{transform:"translateY(-5px)"}}}}},yj=bj,Sj=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),ty=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$j=e=>{const{componentCls:t}=e;return{[e.componentCls]:v(v(v({},et(e)),Sj(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":v({},ty(e,e.controlHeightSM)),"&-large":v({},ty(e,e.controlHeightLG))})}},Cj=e=>{const{formItemCls:t,iconCls:n,componentCls:o,rootPrefixCls:r}=e;return{[t]:v(v({},et(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${r}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${o}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${o}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:sg,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},xj=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:o}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${o}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},wj=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},fa=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),Oj=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:fa(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, + ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},Pj=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:o}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${o}-col-24${n}-label, + .${o}-col-xl-24${n}-label`]:fa(e),[`@media (max-width: ${e.screenXSMax}px)`]:[Oj(e),{[t]:{[`.${o}-col-xs-24${n}-label`]:fa(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${o}-col-sm-24${n}-label`]:fa(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${o}-col-md-24${n}-label`]:fa(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${o}-col-lg-24${n}-label`]:fa(e)}}}},uh=Qe("Form",(e,t)=>{let{rootPrefixCls:n}=t;const o=ze(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[$j(o),Cj(o),yj(o),xj(o),wj(o),Pj(o),jc(o),sg]}),Ij=J({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:o,status:r}=cj(),a=P(()=>`${o.value}-item-explain`),l=P(()=>!!(e.errors&&e.errors.length)),i=Z(r.value),[,s]=uh(o);return ue([l,r],()=>{l.value&&(i.value=r.value)}),()=>{var u,c;const d=Kc(`${o.value}-show-help-item`),p=Mc(`${o.value}-show-help-item`,d);return p.role="alert",p.class=[s.value,a.value,n.class,`${o.value}-show-help`],f(rn,N(N({},bo(`${o.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Kt(f(nc,N(N({},p),{},{tag:"div"}),{default:()=>[(c=e.errors)===null||c===void 0?void 0:c.map((g,m)=>f("div",{key:m,class:i.value?`${a.value}-${i.value}`:""},[g]))]}),[[Wn,!!(!((u=e.errors)===null||u===void 0)&&u.length)]])]})}}}),Tj=J({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const o=lh(),{wrapperCol:r}=o,a=v({},o);return delete a.labelCol,delete a.wrapperCol,N4(a),sj({prefixCls:P(()=>e.prefixCls),status:P(()=>e.status)}),()=>{var l,i,s;const{prefixCls:u,wrapperCol:c,marginBottom:d,onErrorVisibleChanged:p,help:g=(l=n.help)===null||l===void 0?void 0:l.call(n),errors:m=Tt((i=n.errors)===null||i===void 0?void 0:i.call(n)),extra:h=(s=n.extra)===null||s===void 0?void 0:s.call(n)}=e,b=`${u}-item`,y=c||(r==null?void 0:r.value)||{},S=te(`${b}-control`,y.class);return f(ih,N(N({},y),{},{class:S}),{default:()=>{var $;return f(nt,null,[f("div",{class:`${b}-control-input`},[f("div",{class:`${b}-control-input-content`},[($=n.default)===null||$===void 0?void 0:$.call(n)])]),d!==null||m.length?f("div",{style:{display:"flex",flexWrap:"nowrap"}},[f(Ij,{errors:m,help:g,class:`${b}-explain-connected`,onErrorVisibleChanged:p},null),!!d&&f("div",{style:{width:0,height:`${d}px`}},null)]):null,h?f("div",{class:`${b}-extra`},[h]):null])}})}}}),Mj=Tj;function Ej(e){const t=Y(e.value.slice());let n=null;return Le(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}vn("success","warning","error","validating","");const _j={success:Wo,warning:Ko,error:bn,validating:Un};function Sd(e,t,n){let o=e;const r=t;let a=0;try{for(let l=r.length;a({htmlFor:String,prefixCls:String,label:V.any,help:V.any,extra:V.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:V.oneOf(vn("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let Aj=0;const Rj="form_item",Nj=J({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:Dj(),slots:Object,setup(e,t){let{slots:n,attrs:o,expose:r}=t;e.prop;const a=`form-item-${++Aj}`,{prefixCls:l}=Ee("form",e),[i,s]=uh(l),u=Y(),c=lh(),d=P(()=>e.name||e.prop),p=Y([]),g=Y(!1),m=Y(),h=P(()=>{const U=d.value;return gp(U)}),b=P(()=>{if(h.value.length){const U=c.name.value,X=h.value.join("_");return U?`${U}_${X}`:`${Rj}_${X}`}else return}),y=()=>{const U=c.model.value;if(!(!U||!d.value))return Sd(U,h.value,!0).v},S=P(()=>y()),$=Y(Zi(S.value)),x=P(()=>{let U=e.validateTrigger!==void 0?e.validateTrigger:c.validateTrigger.value;return U=U===void 0?"change":U,ir(U)}),C=P(()=>{let U=c.rules.value;const X=e.rules,ee=e.required!==void 0?{required:!!e.required,trigger:x.value}:[],oe=Sd(U,h.value);U=U?oe.o[oe.k]||oe.v:[];const Q=[].concat(X||U||[]);return kI(Q,W=>W.required)?Q:Q.concat(ee)}),O=P(()=>{const U=C.value;let X=!1;return U&&U.length&&U.every(ee=>ee.required?(X=!0,!1):!0),X||e.required}),w=Y();Le(()=>{w.value=e.validateStatus});const M=P(()=>{let U={};return typeof e.label=="string"?U.label=e.label:e.name&&(U.label=String(e.name)),e.messageVariables&&(U=v(v({},U),e.messageVariables)),U}),I=U=>{if(h.value.length===0)return;const{validateFirst:X=!1}=e,{triggerName:ee}=U||{};let oe=C.value;if(ee&&(oe=oe.filter(W=>{const{trigger:q}=W;return!q&&!x.value.length?!0:ir(q||x.value).includes(ee)})),!oe.length)return Promise.resolve();const Q=A4(h.value,S.value,oe,v({validateMessages:c.validateMessages.value},U),X,M.value);return w.value="validating",p.value=[],Q.catch(W=>W).then(function(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(w.value==="validating"){const q=W.filter(re=>re&&re.errors.length);w.value=q.length?"error":"success",p.value=q.map(re=>re.errors),c.onValidate(d.value,!p.value.length,p.value.length?_t(p.value[0]):null)}}),Q},_=()=>{I({triggerName:"blur"})},D=()=>{if(g.value){g.value=!1;return}I({triggerName:"change"})},F=()=>{w.value=e.validateStatus,g.value=!1,p.value=[]},z=()=>{var U;w.value=e.validateStatus,g.value=!0,p.value=[];const X=c.model.value||{},ee=S.value,oe=Sd(X,h.value,!0);Array.isArray(ee)?oe.o[oe.k]=[].concat((U=$.value)!==null&&U!==void 0?U:[]):oe.o[oe.k]=$.value,lt(()=>{g.value=!1})},H=P(()=>e.htmlFor===void 0?b.value:e.htmlFor),T=()=>{const U=H.value;if(!U||!m.value)return;const X=m.value.$el.querySelector(`[id="${U}"]`);X&&X.focus&&X.focus()};r({onFieldBlur:_,onFieldChange:D,clearValidate:F,resetField:z}),CA({id:b,onFieldBlur:()=>{e.autoLink&&_()},onFieldChange:()=>{e.autoLink&&D()},clearValidate:F},P(()=>!!(e.autoLink&&c.model.value&&d.value)));let A=!1;ue(d,U=>{U?A||(A=!0,c.addField(a,{fieldValue:S,fieldId:b,fieldName:d,resetField:z,clearValidate:F,namePath:h,validateRules:I,rules:C})):(A=!1,c.removeField(a))},{immediate:!0}),Je(()=>{c.removeField(a)});const R=Ej(p),E=P(()=>e.validateStatus!==void 0?e.validateStatus:R.value.length?"error":w.value),k=P(()=>({[`${l.value}-item`]:!0,[s.value]:!0,[`${l.value}-item-has-feedback`]:E.value&&e.hasFeedback,[`${l.value}-item-has-success`]:E.value==="success",[`${l.value}-item-has-warning`]:E.value==="warning",[`${l.value}-item-has-error`]:E.value==="error",[`${l.value}-item-is-validating`]:E.value==="validating",[`${l.value}-item-hidden`]:e.hidden})),B=vt({});ln.useProvide(B),Le(()=>{let U;if(e.hasFeedback){const X=E.value&&_j[E.value];U=X?f("span",{class:te(`${l.value}-item-feedback-icon`,`${l.value}-item-feedback-icon-${E.value}`)},[f(X,null,null)]):null}v(B,{status:E.value,hasFeedback:e.hasFeedback,feedbackIcon:U,isFormItemInput:!0})});const L=Y(null),j=Y(!1),K=()=>{if(u.value){const U=getComputedStyle(u.value);L.value=parseInt(U.marginBottom,10)}};Ve(()=>{ue(j,()=>{j.value&&K()},{flush:"post",immediate:!0})});const G=U=>{U||(L.value=null)};return()=>{var U,X;if(e.noStyle)return(U=n.default)===null||U===void 0?void 0:U.call(n);const ee=(X=e.help)!==null&&X!==void 0?X:n.help?Tt(n.help()):null,oe=!!(ee!=null&&Array.isArray(ee)&&ee.length||R.value.length);return j.value=oe,i(f("div",{class:[k.value,oe?`${l.value}-item-with-help`:"",o.class],ref:u},[f(T4,N(N({},o),{},{class:`${l.value}-row`,key:"row"}),{default:()=>{var Q,W;return f(nt,null,[f(mj,N(N({},e),{},{htmlFor:H.value,required:O.value,requiredMark:c.requiredMark.value,prefixCls:l.value,onClick:T,label:e.label}),{label:n.label,tooltip:n.tooltip}),f(Mj,N(N({},e),{},{errors:ee!=null?ir(ee):R.value,marginBottom:L.value,prefixCls:l.value,status:E.value,ref:m,help:ee,extra:(Q=e.extra)!==null&&Q!==void 0?Q:(W=n.extra)===null||W===void 0?void 0:W.call(n),onErrorVisibleChanged:G}),{default:n.default})])}}),!!L.value&&f("div",{class:`${l.value}-margin-offset`,style:{marginBottom:`-${L.value}px`}},null)]))}}});function B4(e){let t=!1,n=e.length;const o=[];return e.length?new Promise((r,a)=>{e.forEach((l,i)=>{l.catch(s=>(t=!0,s)).then(s=>{n-=1,o[i]=s,!(n>0)&&(t&&a(o),r(o))})})}):Promise.resolve([])}function ny(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function oy(e){return e==null?[]:Array.isArray(e)?e:[e]}function $d(e,t,n){let o=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const r=t.split(".");let a=0;for(let l=r.length;a1&&arguments[1]!==void 0?arguments[1]:Z({}),n=arguments.length>2?arguments[2]:void 0;const o=Zi(Lt(e)),r=vt({}),a=Y([]),l=$=>{v(Lt(e),v(v({},Zi(o)),$)),lt(()=>{Object.keys(r).forEach(x=>{r[x]={autoLink:!1,required:ny(Lt(t)[x])}})})},i=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],x=arguments.length>1?arguments[1]:void 0;return x.length?$.filter(C=>{const O=oy(C.trigger||"change");return zI(O,x).length}):$};let s=null;const u=function($){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=arguments.length>2?arguments[2]:void 0;const O=[],w={};for(let _=0;_<$.length;_++){const D=$[_],F=$d(Lt(e),D,C);if(!F.isValid)continue;w[D]=F.v;const z=i(Lt(t)[D],oy(x&&x.trigger));z.length&&O.push(c(D,F.v,z,x||{}).then(()=>({name:D,errors:[],warnings:[]})).catch(H=>{const T=[],A=[];return H.forEach(R=>{let{rule:{warningOnly:E},errors:k}=R;E?A.push(...k):T.push(...k)}),T.length?Promise.reject({name:D,errors:T,warnings:A}):{name:D,errors:T,warnings:A}}))}const M=B4(O);s=M;const I=M.then(()=>s===M?Promise.resolve(w):Promise.reject([])).catch(_=>{const D=_.filter(F=>F&&F.errors.length);return Promise.reject({values:w,errorFields:D,outOfDate:s!==M})});return I.catch(_=>_),I},c=function($,x,C){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const w=A4([$],x,C,v({validateMessages:lu},O),!!O.validateFirst);return r[$]?(r[$].validateStatus="validating",w.catch(M=>M).then(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var I;if(r[$].validateStatus==="validating"){const _=M.filter(D=>D&&D.errors.length);r[$].validateStatus=_.length?"error":"success",r[$].help=_.length?_.map(D=>D.errors):null,(I=n==null?void 0:n.onValidate)===null||I===void 0||I.call(n,$,!_.length,_.length?_t(r[$].help[0]):null)}}),w):w.catch(M=>M)},d=($,x)=>{let C=[],O=!0;$?Array.isArray($)?C=$:C=[$]:(O=!1,C=a.value);const w=u(C,x||{},O);return w.catch(M=>M),w},p=$=>{let x=[];$?Array.isArray($)?x=$:x=[$]:x=a.value,x.forEach(C=>{r[C]&&v(r[C],{validateStatus:"",help:null})})},g=$=>{const x={autoLink:!1},C=[],O=Array.isArray($)?$:[$];for(let w=0;w{const x=[];a.value.forEach(C=>{const O=$d($,C,!1),w=$d(m,C,!1);(h&&(n==null?void 0:n.immediate)&&O.isValid||!vv(O.v,w.v))&&x.push(C)}),d(x,{trigger:"change"}),h=!1,m=Zi(_t($))},y=n==null?void 0:n.debounce;let S=!0;return ue(t,()=>{a.value=t?Object.keys(Lt(t)):[],!S&&n&&n.validateOnRuleChange&&d(),S=!1},{deep:!0,immediate:!0}),ue(a,()=>{const $={};a.value.forEach(x=>{$[x]=v({},r[x],{autoLink:!1,required:ny(Lt(t)[x])}),delete r[x]});for(const x in r)Object.prototype.hasOwnProperty.call(r,x)&&delete r[x];v(r,$)},{immediate:!0}),ue(e,y&&y.wait?hc(b,y.wait,eT(y,["wait"])):b,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:o,validateInfos:r,resetFields:l,validate:d,validateField:c,mergeValidateInfo:g,clearValidate:p}}const Bj=()=>({layout:V.oneOf(vn("horizontal","inline","vertical")),labelCol:Ne(),wrapperCol:Ne(),colon:Ce(),labelAlign:je(),labelWrap:Ce(),prefixCls:String,requiredMark:Ge([String,Boolean]),hideRequiredMark:Ce(),model:V.object,rules:Ne(),validateMessages:Ne(),validateOnRuleChange:Ce(),scrollToFirstError:xt(),onSubmit:de(),name:String,validateTrigger:Ge([String,Array]),size:je(),disabled:Ce(),onValuesChange:de(),onFieldsChange:de(),onFinish:de(),onFinishFailed:de(),onValidate:de()});function Fj(e,t){return vv(ir(e),ir(t))}const Pr=J({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:rt(Bj(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:Nj,useForm:kj,setup(e,t){let{emit:n,slots:o,expose:r,attrs:a}=t;const{prefixCls:l,direction:i,form:s,size:u,disabled:c}=Ee("form",e),d=P(()=>e.requiredMark===""||e.requiredMark),p=P(()=>{var R;return d.value!==void 0?d.value:s&&((R=s.value)===null||R===void 0?void 0:R.requiredMark)!==void 0?s.value.requiredMark:!e.hideRequiredMark});w2(u),HC(c);const g=P(()=>{var R,E;return(R=e.colon)!==null&&R!==void 0?R:(E=s.value)===null||E===void 0?void 0:E.colon}),{validateMessages:m}=m8(),h=P(()=>v(v(v({},lu),m.value),e.validateMessages)),[b,y]=uh(l),S=P(()=>te(l.value,{[`${l.value}-${e.layout}`]:!0,[`${l.value}-hide-required-mark`]:p.value===!1,[`${l.value}-rtl`]:i.value==="rtl",[`${l.value}-${u.value}`]:u.value},y.value)),$=Z(),x={},C=(R,E)=>{x[R]=E},O=R=>{delete x[R]},w=R=>{const E=!!R,k=E?ir(R).map(gp):[];return E?Object.values(x).filter(B=>k.findIndex(L=>Fj(L,B.fieldName.value))>-1):Object.values(x)},M=R=>{if(!e.model){yt();return}w(R).forEach(E=>{E.resetField()})},I=R=>{w(R).forEach(E=>{E.clearValidate()})},_=R=>{const{scrollToFirstError:E}=e;if(n("finishFailed",R),E&&R.errorFields.length){let k={};typeof E=="object"&&(k=E),F(R.errorFields[0].name,k)}},D=function(){return T(...arguments)},F=function(R){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const k=w(R?[R]:void 0);if(k.length){const B=k[0].fieldId.value,L=B?document.getElementById(B):null;L&&zM(L,v({scrollMode:"if-needed",block:"nearest"},E))}},z=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(R===!0){const E=[];return Object.values(x).forEach(k=>{let{namePath:B}=k;E.push(B.value)}),J1(e.model,E)}else return J1(e.model,R)},H=(R,E)=>{if(yt(),!e.model)return yt(),Promise.reject("Form `model` is required for validateFields to work.");const k=!!R,B=k?ir(R).map(gp):[],L=[];Object.values(x).forEach(G=>{var U;if(k||B.push(G.namePath.value),!(!((U=G.rules)===null||U===void 0)&&U.value.length))return;const X=G.namePath.value;if(!k||tj(B,X)){const ee=G.validateRules(v({validateMessages:h.value},E));L.push(ee.then(()=>({name:X,errors:[],warnings:[]})).catch(oe=>{const Q=[],W=[];return oe.forEach(q=>{let{rule:{warningOnly:re},errors:le}=q;re?W.push(...le):Q.push(...le)}),Q.length?Promise.reject({name:X,errors:Q,warnings:W}):{name:X,errors:Q,warnings:W}}))}});const j=B4(L);$.value=j;const K=j.then(()=>$.value===j?Promise.resolve(z(B)):Promise.reject([])).catch(G=>{const U=G.filter(X=>X&&X.errors.length);return Promise.reject({values:z(B),errorFields:U,outOfDate:$.value!==j})});return K.catch(G=>G),K},T=function(){return H(...arguments)},A=R=>{R.preventDefault(),R.stopPropagation(),n("submit",R),e.model&&H().then(k=>{n("finish",k)}).catch(k=>{_(k)})};return r({resetFields:M,clearValidate:I,validateFields:H,getFieldsValue:z,validate:D,scrollToField:F}),N4({model:P(()=>e.model),name:P(()=>e.name),labelAlign:P(()=>e.labelAlign),labelCol:P(()=>e.labelCol),labelWrap:P(()=>e.labelWrap),wrapperCol:P(()=>e.wrapperCol),vertical:P(()=>e.layout==="vertical"),colon:g,requiredMark:p,validateTrigger:P(()=>e.validateTrigger),rules:P(()=>e.rules),addField:C,removeField:O,onValidate:(R,E,k)=>{n("validate",R,E,k)},validateMessages:h}),ue(()=>e.rules,()=>{e.validateOnRuleChange&&H()}),()=>{var R;return b(f("form",N(N({},a),{},{onSubmit:A,class:[S.value,a.class]}),[(R=o.default)===null||R===void 0?void 0:R.call(o)]))}}});Pr.useInjectFormItemContext=Ht;Pr.ItemRest=Ff;Pr.install=function(e){return e.component(Pr.name,Pr),e.component(Pr.Item.name,Pr.Item),e.component(Ff.name,Ff),e};const Lj=new Ue("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),zj=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:v(v({},et(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:v(v({},et(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:v(v({},et(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:v({},Fo(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:Lj,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function su(e,t){const n=ze(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[zj(n)]}const F4=Qe("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[su(n,e)]}),Hj=e=>{const{prefixCls:t,componentCls:n,antCls:o}=e,r=`${n}-menu-item`,a=` + &${r}-expand ${r}-expand-icon, + ${r}-loading-icon + `,l=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[su(`${t}-checkbox`,e),{[`&${o}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":v(v({},mn),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${l}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},tl(e)]},jj=Qe("Cascader",e=>[Hj(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var Vj=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rs===0?[i]:[...l,t,i],[]),r=[];let a=0;return o.forEach((l,i)=>{const s=a+l.length;let u=e.slice(a,s);a=s,i%2===1&&(u=f("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[u])),r.push(u)}),r}const Kj=e=>{let{inputValue:t,path:n,prefixCls:o,fieldNames:r}=e;const a=[],l=t.toLowerCase();return n.forEach((i,s)=>{s!==0&&a.push(" / ");let u=i[r.label];const c=typeof u;(c==="string"||c==="number")&&(u=Wj(String(u),l,o)),a.push(u)}),a};function Gj(){return v(v({},qe(x4(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:V.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const Xj=J({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:rt(Gj(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:o,slots:r,emit:a}=t;const l=Ht(),i=ln.useInject(),s=P(()=>Vo(i.status,e.status)),{prefixCls:u,rootPrefixCls:c,getPrefixCls:d,direction:p,getPopupContainer:g,renderEmpty:m,size:h,disabled:b}=Ee("cascader",e),y=P(()=>d("select",e.prefixCls)),{compactSize:S,compactItemClassnames:$}=fr(y,p),x=P(()=>S.value||h.value),C=gn(),O=P(()=>{var E;return(E=b.value)!==null&&E!==void 0?E:C.value}),[w,M]=cg(y),[I]=jj(u),_=P(()=>p.value==="rtl"),D=P(()=>{if(!e.showSearch)return e.showSearch;let E={render:Kj};return typeof e.showSearch=="object"&&(E=v(v({},E),e.showSearch)),E}),F=P(()=>te(e.popupClassName||e.dropdownClassName,`${u.value}-dropdown`,{[`${u.value}-dropdown-rtl`]:_.value},M.value)),z=Z();o({focus(){var E;(E=z.value)===null||E===void 0||E.focus()},blur(){var E;(E=z.value)===null||E===void 0||E.blur()}});const H=function(){for(var E=arguments.length,k=new Array(E),B=0;Be.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),R=P(()=>e.placement!==void 0?e.placement:p.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var E,k;const{notFoundContent:B=(E=r.notFoundContent)===null||E===void 0?void 0:E.call(r),expandIcon:L=(k=r.expandIcon)===null||k===void 0?void 0:k.call(r),multiple:j,bordered:K,allowClear:G,choiceTransitionName:U,transitionName:X,id:ee=l.id.value}=e,oe=Vj(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),Q=B||m("Cascader");let W=L;L||(W=_.value?f(Wa,null,null):f(sr,null,null));const q=f("span",{class:`${y.value}-menu-item-loading-icon`},[f(Un,{spin:!0},null)]),{suffixIcon:re,removeIcon:le,clearIcon:ye}=lg(v(v({},e),{hasFeedback:i.hasFeedback,feedbackIcon:i.feedbackIcon,multiple:j,prefixCls:y.value,showArrow:A.value}),r);return I(w(f(oH,N(N(N({},oe),n),{},{id:ee,prefixCls:y.value,class:[u.value,{[`${y.value}-lg`]:x.value==="large",[`${y.value}-sm`]:x.value==="small",[`${y.value}-rtl`]:_.value,[`${y.value}-borderless`]:!K,[`${y.value}-in-form-item`]:i.isFormItemInput},Tn(y.value,s.value,i.hasFeedback),$.value,n.class,M.value],disabled:O.value,direction:p.value,placement:R.value,notFoundContent:Q,allowClear:G,showSearch:D.value,expandIcon:W,inputIcon:re,removeIcon:le,clearIcon:ye,loadingIcon:q,checkable:!!j,dropdownClassName:F.value,dropdownPrefixCls:u.value,choiceTransitionName:en(c.value,"",U),transitionName:en(c.value,Fv(R.value),X),getPopupContainer:g==null?void 0:g.value,customSlots:v(v({},r),{checkable:()=>f("span",{class:`${u.value}-checkbox-inner`},null)}),tagRender:e.tagRender||r.tagRender,displayRender:e.displayRender||r.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:i.hasFeedback||e.showArrow,onChange:H,onBlur:T,ref:z}),r)))}}}),voe=Vt(v(Xj,{SHOW_CHILD:p4,SHOW_PARENT:f4})),Uj=()=>({name:String,prefixCls:String,options:ht([]),disabled:Boolean,id:String}),Yj=()=>v(v({},Uj()),{defaultValue:ht(),value:ht(),onChange:de(),"onUpdate:value":de()}),qj=()=>({prefixCls:String,defaultChecked:Ce(),checked:Ce(),disabled:Ce(),isGroup:Ce(),value:V.any,name:String,id:String,indeterminate:Ce(),type:je("checkbox"),autofocus:Ce(),onChange:de(),"onUpdate:checked":de(),onClick:de(),skipGroup:Ce(!1)}),Qj=()=>v(v({},qj()),{indeterminate:Ce(!1)}),L4=Symbol("CheckboxGroupContext");var ry=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r(m==null?void 0:m.disabled.value)||c.value);Le(()=>{!e.skipGroup&&m&&m.registerValue(h,e.value)}),Je(()=>{m&&m.cancelValue(h)}),Ve(()=>{yt(!!(e.checked!==void 0||m||e.value===void 0))});const y=C=>{const O=C.target.checked;n("update:checked",O),n("change",C),l.onFieldChange()},S=Z();return a({focus:()=>{var C;(C=S.value)===null||C===void 0||C.focus()},blur:()=>{var C;(C=S.value)===null||C===void 0||C.blur()}}),()=>{var C;const O=mt((C=r.default)===null||C===void 0?void 0:C.call(r)),{indeterminate:w,skipGroup:M,id:I=l.id.value}=e,_=ry(e,["indeterminate","skipGroup","id"]),{onMouseenter:D,onMouseleave:F,onInput:z,class:H,style:T}=o,A=ry(o,["onMouseenter","onMouseleave","onInput","class","style"]),R=v(v(v(v({},_),{id:I,prefixCls:s.value}),A),{disabled:b.value});m&&!M?(R.onChange=function(){for(var L=arguments.length,j=new Array(L),K=0;K`${i.value}-group`),[c,d]=F4(u),p=Z((e.value===void 0?e.defaultValue:e.value)||[]);ue(()=>e.value,()=>{p.value=e.value||[]});const g=P(()=>e.options.map(x=>typeof x=="string"||typeof x=="number"?{label:x,value:x}:x)),m=Z(Symbol()),h=Z(new Map),b=x=>{h.value.delete(x),m.value=Symbol()},y=(x,C)=>{h.value.set(x,C),m.value=Symbol()},S=Z(new Map);return ue(m,()=>{const x=new Map;for(const C of h.value.values())x.set(C,!0);S.value=x}),Ke(L4,{cancelValue:b,registerValue:y,toggleOption:x=>{const C=p.value.indexOf(x.value),O=[...p.value];C===-1?O.push(x.value):O.splice(C,1),e.value===void 0&&(p.value=O);const w=O.filter(M=>S.value.has(M)).sort((M,I)=>{const _=g.value.findIndex(F=>F.value===M),D=g.value.findIndex(F=>F.value===I);return _-D});r("update:value",w),r("change",w),l.onFieldChange()},mergedValue:p,name:P(()=>e.name),disabled:P(()=>e.disabled)}),a({mergedValue:p}),()=>{var x;const{id:C=l.id.value}=e;let O=null;return g.value&&g.value.length>0&&(O=g.value.map(w=>{var M;return f(No,{prefixCls:i.value,key:w.value.toString(),disabled:"disabled"in w?w.disabled:e.disabled,indeterminate:w.indeterminate,value:w.value,checked:p.value.indexOf(w.value)!==-1,onChange:w.onChange,class:`${u.value}-item`},{default:()=>[n.label!==void 0?(M=n.label)===null||M===void 0?void 0:M.call(n,w):w.label]})})),c(f("div",N(N({},o),{},{class:[u.value,{[`${u.value}-rtl`]:s.value==="rtl"},o.class,d.value],id:C}),[O||((x=n.default)===null||x===void 0?void 0:x.call(n))]))}}});No.Group=mp;No.install=function(e){return e.component(No.name,No),e.component(mp.name,mp),e};const goe=Vt(ih);let ps=v({},Gn.Modal);function Zj(e){e?ps=v(v({},ps),e):ps=v({},Gn.Modal)}function Jj(){return ps}const bp="internalMark",vs=J({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;yt(e.ANT_MARK__===bp);const o=vt({antLocale:v(v({},e.locale),{exist:!0}),ANT_MARK__:bp});return Ke("localeData",o),ue(()=>e.locale,r=>{Zj(r&&r.Modal),o.antLocale=v(v({},r),{exist:!0})},{immediate:!0}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});vs.install=function(e){return e.component(vs.name,vs),e};const eV=Vt(vs),z4=J({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:o}=t,r,a=!1;const l=P(()=>e.duration===void 0?4.5:e.duration),i=()=>{l.value&&!a&&(r=setTimeout(()=>{u()},l.value*1e3))},s=()=>{r&&(clearTimeout(r),r=null)},u=d=>{d&&d.stopPropagation(),s();const{onClose:p,noticeKey:g}=e;p&&p(g)},c=()=>{s(),i()};return Ve(()=>{i()}),An(()=>{a=!0,s()}),ue([l,()=>e.updateMark,()=>e.visible],(d,p)=>{let[g,m,h]=d,[b,y,S]=p;(g!==b||m!==y||h!==S&&S)&&c()},{flush:"post"}),()=>{var d,p;const{prefixCls:g,closable:m,closeIcon:h=(d=o.closeIcon)===null||d===void 0?void 0:d.call(o),onClick:b,holder:y}=e,{class:S,style:$}=n,x=`${g}-notice`,C=Object.keys(n).reduce((w,M)=>((M.startsWith("data-")||M.startsWith("aria-")||M==="role")&&(w[M]=n[M]),w),{}),O=f("div",N({class:te(x,S,{[`${x}-closable`]:m}),style:$,onMouseenter:s,onMouseleave:i,onClick:b},C),[f("div",{class:`${x}-content`},[(p=o.default)===null||p===void 0?void 0:p.call(o)]),m?f("a",{tabindex:0,onClick:u,class:`${x}-close`},[h||f("span",{class:`${x}-close-x`},null)]):null]);return y?f(Up,{to:y},{default:()=>O}):O}}});var tV=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{prefixCls:c,animation:d="fade"}=e;let p=e.transitionName;return!p&&d&&(p=`${c}-${d}`),Mc(p)}),s=(c,d)=>{const p=c.key||ly(),g=v(v({},c),{key:p}),{maxCount:m}=e,h=l.value.map(y=>y.notice.key).indexOf(p),b=l.value.concat();h!==-1?b.splice(h,1,{notice:g,holderCallback:d}):(m&&l.value.length>=m&&(g.key=b[0].notice.key,g.updateMark=ly(),g.userPassKey=p,b.shift()),b.push({notice:g,holderCallback:d})),l.value=b},u=c=>{l.value=l.value.filter(d=>{let{notice:{key:p,userPassKey:g}}=d;return(g||p)!==c})};return o({add:s,remove:u,notices:l}),()=>{var c;const{prefixCls:d,closeIcon:p=(c=r.closeIcon)===null||c===void 0?void 0:c.call(r,{prefixCls:d})}=e,g=l.value.map((h,b)=>{let{notice:y,holderCallback:S}=h;const $=b===l.value.length-1?y.updateMark:void 0,{key:x,userPassKey:C}=y,{content:O}=y,w=v(v(v({prefixCls:d,closeIcon:typeof p=="function"?p({prefixCls:d}):p},y),y.props),{key:x,noticeKey:C||x,updateMark:$,onClose:M=>{var I;u(M),(I=y.onClose)===null||I===void 0||I.call(y)},onClick:y.onClick});return S?f("div",{key:x,class:`${d}-hook-holder`,ref:M=>{typeof x>"u"||(M?(a.set(x,M),S(M,w)):a.delete(x))}},null):f(z4,N(N({},w),{},{class:te(w.class,e.hashId)}),{default:()=>[typeof O=="function"?O({prefixCls:d}):O]})}),m={[d]:1,[n.class]:!!n.class,[e.hashId]:!0};return f("div",{class:m,style:n.style||{top:"65px",left:"50%"}},[f(nc,N({tag:"div"},i.value),{default:()=>[g]})])}}});yp.newInstance=function(t,n){const o=t||{},{name:r="notification",getContainer:a,appContext:l,prefixCls:i,rootPrefixCls:s,transitionName:u,hasTransitionName:c,useStyle:d}=o,p=tV(o,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),g=document.createElement("div");a?a().appendChild(g):document.body.appendChild(g);const m=J({compatConfig:{MODE:3},name:"NotificationWrapper",setup(b,y){let{attrs:S}=y;const $=Y(),x=P(()=>Xt.getPrefixCls(r,i)),[,C]=d(x);return Ve(()=>{n({notice(O){var w;(w=$.value)===null||w===void 0||w.add(O)},removeNotice(O){var w;(w=$.value)===null||w===void 0||w.remove(O)},destroy(){zr(null,g),g.parentNode&&g.parentNode.removeChild(g)},component:$})}),()=>{const O=Xt,w=O.getRootPrefixCls(s,x.value),M=c?u:`${x.value}-${u}`;return f(c3,N(N({},O),{},{prefixCls:w}),{default:()=>[f(yp,N(N({ref:$},S),{},{prefixCls:x.value,transitionName:M,hashId:C.value}),null)]})}}}),h=f(m,p);h.appContext=l||h.appContext,zr(h,g)};const H4=yp;let iy=0;const oV=Date.now();function sy(){const e=iy;return iy+=1,`rcNotification_${oV}_${e}`}const rV=J({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:o}=t;const r=new Map,a=P(()=>e.notices),l=P(()=>{let c=e.transitionName;if(!c&&e.animation)switch(typeof e.animation){case"string":c=e.animation;break;case"function":c=e.animation().name;break;case"object":c=e.animation.name;break;default:c=`${e.prefixCls}-fade`;break}return Mc(c)}),i=c=>e.remove(c),s=Z({});ue(a,()=>{const c={};Object.keys(s.value).forEach(d=>{c[d]=[]}),e.notices.forEach(d=>{const{placement:p="topRight"}=d.notice;p&&(c[p]=c[p]||[],c[p].push(d))}),s.value=c});const u=P(()=>Object.keys(s.value));return()=>{var c;const{prefixCls:d,closeIcon:p=(c=o.closeIcon)===null||c===void 0?void 0:c.call(o,{prefixCls:d})}=e,g=u.value.map(m=>{var h,b;const y=s.value[m],S=(h=e.getClassName)===null||h===void 0?void 0:h.call(e,m),$=(b=e.getStyles)===null||b===void 0?void 0:b.call(e,m),x=y.map((w,M)=>{let{notice:I,holderCallback:_}=w;const D=M===a.value.length-1?I.updateMark:void 0,{key:F,userPassKey:z}=I,{content:H}=I,T=v(v(v({prefixCls:d,closeIcon:typeof p=="function"?p({prefixCls:d}):p},I),I.props),{key:F,noticeKey:z||F,updateMark:D,onClose:A=>{var R;i(A),(R=I.onClose)===null||R===void 0||R.call(I)},onClick:I.onClick});return _?f("div",{key:F,class:`${d}-hook-holder`,ref:A=>{typeof F>"u"||(A?(r.set(F,A),_(A,T)):r.delete(F))}},null):f(z4,N(N({},T),{},{class:te(T.class,e.hashId)}),{default:()=>[typeof H=="function"?H({prefixCls:d}):H]})}),C={[d]:1,[`${d}-${m}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[S]:!!S};function O(){var w;y.length>0||(Reflect.deleteProperty(s.value,m),(w=e.onAllRemoved)===null||w===void 0||w.call(e))}return f("div",{key:m,class:C,style:n.style||$||{top:"65px",left:"50%"}},[f(nc,N(N({tag:"div"},l.value),{},{onAfterLeave:O}),{default:()=>[x]})])});return f(X2,{getContainer:e.getContainer},{default:()=>[g]})}}}),aV=rV;var lV=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rdocument.body;let cy=0;function sV(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o{r&&Object.keys(r).forEach(a=>{const l=r[a];l!==void 0&&(e[a]=l)})}),e}function j4(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=iV,motion:n,prefixCls:o,maxCount:r,getClassName:a,getStyles:l,onAllRemoved:i}=e,s=lV(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),u=Y([]),c=Y(),d=(y,S)=>{const $=y.key||sy(),x=v(v({},y),{key:$}),C=u.value.map(w=>w.notice.key).indexOf($),O=u.value.concat();C!==-1?O.splice(C,1,{notice:x,holderCallback:S}):(r&&u.value.length>=r&&(x.key=O[0].notice.key,x.updateMark=sy(),x.userPassKey=$,O.shift()),O.push({notice:x,holderCallback:S})),u.value=O},p=y=>{u.value=u.value.filter(S=>{let{notice:{key:$,userPassKey:x}}=S;return(x||$)!==y})},g=()=>{u.value=[]},m=()=>f(aV,{ref:c,prefixCls:o,maxCount:r,notices:u.value,remove:p,getClassName:a,getStyles:l,animation:n,hashId:e.hashId,onAllRemoved:i,getContainer:t},null),h=Y([]),b={open:y=>{const S=sV(s,y);(S.key===null||S.key===void 0)&&(S.key=`vc-notification-${cy}`,cy+=1),h.value=[...h.value,{type:"open",config:S}]},close:y=>{h.value=[...h.value,{type:"close",key:y}]},destroy:()=>{h.value=[...h.value,{type:"destroy"}]}};return ue(h,()=>{h.value.length&&(h.value.forEach(y=>{switch(y.type){case"open":d(y.config);break;case"close":p(y.key);break;case"destroy":g();break}}),h.value=[])}),[b,m]}const cV=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:o,colorBgElevated:r,colorSuccess:a,colorError:l,colorWarning:i,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:c,motionDurationSlow:d,marginXS:p,paddingXS:g,borderRadiusLG:m,zIndexPopup:h,messageNoticeContentPadding:b}=e,y=new Ue("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:g,transform:"translateY(0)",opacity:1}}),S=new Ue("MessageMoveOut",{"0%":{maxHeight:e.height,padding:g,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:v(v({},et(e)),{position:"fixed",top:p,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:S,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:g,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:u},[`${t}-notice-content`]:{display:"inline-block",padding:b,background:r,borderRadius:m,boxShadow:o,pointerEvents:"all"},[`${t}-success ${n}`]:{color:a},[`${t}-error ${n}`]:{color:l},[`${t}-warning ${n}`]:{color:i},[` + ${t}-info ${n}, + ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},V4=Qe("Message",e=>{const t=ze(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[cV(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),uV={info:f(nl,null,null),success:f(Wo,null,null),error:f(bn,null,null),warning:f(Ko,null,null),loading:f(Un,null,null)},dV=J({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var o;return f("div",{class:te(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||uV[e.type],f("span",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])])}}});var fV=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);ra("message",e.prefixCls)),[,s]=V4(i),u=()=>{var h;const b=(h=e.top)!==null&&h!==void 0?h:pV;return{left:"50%",transform:"translateX(-50%)",top:typeof b=="number"?`${b}px`:b}},c=()=>te(s.value,e.rtl?`${i.value}-rtl`:""),d=()=>{var h;return Dv({prefixCls:i.value,animation:(h=e.animation)!==null&&h!==void 0?h:"move-up",transitionName:e.transitionName})},p=f("span",{class:`${i.value}-close-x`},[f(io,{class:`${i.value}-close-icon`},null)]),[g,m]=j4({getStyles:u,prefixCls:i.value,getClassName:c,motion:d,closable:!1,closeIcon:p,duration:(o=e.duration)!==null&&o!==void 0?o:vV,getContainer:(r=e.staticGetContainer)!==null&&r!==void 0?r:l.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(v(v({},g),{prefixCls:i,hashId:s})),m}});let uy=0;function hV(e){const t=Y(null),n=Symbol("messageHolderKey"),o=s=>{var u;(u=t.value)===null||u===void 0||u.close(s)},r=s=>{if(!t.value){const C=()=>{};return C.then=()=>{},C}const{open:u,prefixCls:c,hashId:d}=t.value,p=`${c}-notice`,{content:g,icon:m,type:h,key:b,class:y,onClose:S}=s,$=fV(s,["content","icon","type","key","class","onClose"]);let x=b;return x==null&&(uy+=1,x=`antd-message-${uy}`),wT(C=>(u(v(v({},$),{key:x,content:()=>f(dV,{prefixCls:c,type:h,icon:typeof m=="function"?m():m},{default:()=>[typeof g=="function"?g():g]}),placement:"top",class:te(h&&`${p}-${h}`,d,y),onClose:()=>{S==null||S(),C()}})),()=>{o(x)}))},l={open:r,destroy:s=>{var u;s!==void 0?o(s):(u=t.value)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(c,d,p)=>{let g;c&&typeof c=="object"&&"content"in c?g=c:g={content:c};let m,h;typeof d=="function"?h=d:(m=d,h=p);const b=v(v({onClose:h,duration:m},g),{type:s});return r(b)};l[s]=u}),[l,()=>f(gV,N(N({key:n},e),{},{ref:t}),null)]}function mV(e){return hV(e)}let W4=3,K4,on,bV=1,G4="",X4="move-up",U4=!1,Y4=()=>document.body,q4,Q4=!1;function yV(){return bV++}function SV(e){e.top!==void 0&&(K4=e.top,on=null),e.duration!==void 0&&(W4=e.duration),e.prefixCls!==void 0&&(G4=e.prefixCls),e.getContainer!==void 0&&(Y4=e.getContainer,on=null),e.transitionName!==void 0&&(X4=e.transitionName,on=null,U4=!0),e.maxCount!==void 0&&(q4=e.maxCount,on=null),e.rtl!==void 0&&(Q4=e.rtl)}function $V(e,t){if(on){t(on);return}H4.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||G4,rootPrefixCls:e.rootPrefixCls,transitionName:X4,hasTransitionName:U4,style:{top:K4},getContainer:Y4||e.getPopupContainer,maxCount:q4,name:"message",useStyle:V4},n=>{if(on){t(on);return}on=n,t(n)})}const Z4={info:nl,success:Wo,error:bn,warning:Ko,loading:Un},CV=Object.keys(Z4);function xV(e){const t=e.duration!==void 0?e.duration:W4,n=e.key||yV(),o=new Promise(a=>{const l=()=>(typeof e.onClose=="function"&&e.onClose(),a(!0));$V(e,i=>{i.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:u}=s;const c=Z4[e.type],d=c?f(c,null,null):"",p=te(`${u}-custom-content`,{[`${u}-${e.type}`]:e.type,[`${u}-rtl`]:Q4===!0});return f("div",{class:p},[typeof e.icon=="function"?e.icon():e.icon||d,f("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:l,onClick:e.onClick})})}),r=()=>{on&&on.removeNotice(n)};return r.then=(a,l)=>o.then(a,l),r.promise=o,r}function wV(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const ei={open:xV,config:SV,destroy(e){if(on)if(e){const{removeNotice:t}=on;t(e)}else{const{destroy:t}=on;t(),on=null}}};function OV(e,t){e[t]=(n,o,r)=>wV(n)?e.open(v(v({},n),{type:t})):(typeof o=="function"&&(r=o,o=void 0),e.open({content:n,duration:o,type:t,onClose:r}))}CV.forEach(e=>OV(ei,e));ei.warn=ei.warning;ei.useMessage=mV;const PV=ei,IV=e=>{const{componentCls:t,width:n,notificationMarginEdge:o}=e,r=new Ue("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),a=new Ue("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),l=new Ue("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:r}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:o,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}}}},TV=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:o,fontSizeLG:r,notificationMarginBottom:a,borderRadiusLG:l,colorSuccess:i,colorInfo:s,colorWarning:u,colorError:c,colorTextHeading:d,notificationBg:p,notificationPadding:g,notificationMarginEdge:m,motionDurationMid:h,motionEaseInOut:b,fontSize:y,lineHeight:S,width:$,notificationIconSize:x}=e,C=`${n}-notice`,O=new Ue("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:$},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),w=new Ue("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:a,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:v(v(v(v({},et(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:m,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:b,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:b,animationFillMode:"both",animationDuration:h,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:O,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:w,animationPlayState:"running"}}),IV(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[C]:{position:"relative",width:$,maxWidth:`calc(100vw - ${m*2}px)`,marginBottom:a,marginInlineStart:"auto",padding:g,overflow:"hidden",lineHeight:S,wordWrap:"break-word",background:p,borderRadius:l,boxShadow:o,[`${n}-close-icon`]:{fontSize:y,cursor:"pointer"},[`${C}-message`]:{marginBottom:e.marginXS,color:d,fontSize:r,lineHeight:e.lineHeightLG},[`${C}-description`]:{fontSize:y},[`&${C}-closable ${C}-message`]:{paddingInlineEnd:e.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+x,fontSize:r},[`${C}-with-icon ${C}-description`]:{marginInlineStart:e.marginSM+x,fontSize:y},[`${C}-icon`]:{position:"absolute",fontSize:x,lineHeight:0,[`&-success${t}`]:{color:i},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:c}},[`${C}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${C}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${C}-pure-panel`]:{margin:0}}]},J4=Qe("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,o=ze(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[TV(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function MV(e,t){return t||f("span",{class:`${e}-close-x`},[f(io,{class:`${e}-close-icon`},null)])}f(nl,null,null),f(Wo,null,null),f(bn,null,null),f(Ko,null,null),f(Un,null,null);const EV={success:Wo,info:nl,error:bn,warning:Ko};function _V(e){let{prefixCls:t,icon:n,type:o,message:r,description:a,btn:l}=e,i=null;if(n)i=f("span",{class:`${t}-icon`},[va(n)]);else if(o){const s=EV[o];i=f(s,{class:`${t}-icon ${t}-icon-${o}`},null)}return f("div",{class:te({[`${t}-with-icon`]:i}),role:"alert"},[i,f("div",{class:`${t}-message`},[r]),f("div",{class:`${t}-description`},[a]),l&&f("div",{class:`${t}-btn`},[l])])}function e3(e,t,n){let o;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":o={left:0,top:t,bottom:"auto"};break;case"topRight":o={right:0,top:t,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":o={left:0,top:"auto",bottom:n};break;default:o={right:0,top:"auto",bottom:n};break}return o}function DV(e){return{name:`${e}-fade`}}var AV=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.prefixCls||o("notification")),l=p=>{var g,m;return e3(p,(g=e.top)!==null&&g!==void 0?g:dy,(m=e.bottom)!==null&&m!==void 0?m:dy)},[,i]=J4(a),s=()=>te(i.value,{[`${a.value}-rtl`]:e.rtl}),u=()=>DV(a.value),[c,d]=j4({prefixCls:a.value,getStyles:l,getClassName:s,motion:u,closable:!0,closeIcon:MV(a.value),duration:RV,getContainer:()=>{var p,g;return((p=e.getPopupContainer)===null||p===void 0?void 0:p.call(e))||((g=r.value)===null||g===void 0?void 0:g.call(r))||document.body},maxCount:e.maxCount,hashId:i.value,onAllRemoved:e.onAllRemoved});return n(v(v({},c),{prefixCls:a.value,hashId:i})),d}});function kV(e){const t=Y(null),n=Symbol("notificationHolderKey"),o=i=>{if(!t.value)return;const{open:s,prefixCls:u,hashId:c}=t.value,d=`${u}-notice`,{message:p,description:g,icon:m,type:h,btn:b,class:y}=i,S=AV(i,["message","description","icon","type","btn","class"]);return s(v(v({placement:"topRight"},S),{content:()=>f(_V,{prefixCls:d,icon:typeof m=="function"?m():m,type:h,message:typeof p=="function"?p():p,description:typeof g=="function"?g():g,btn:typeof b=="function"?b():b},null),class:te(h&&`${d}-${h}`,c,y)}))},a={open:o,destroy:i=>{var s,u;i!==void 0?(s=t.value)===null||s===void 0||s.close(i):(u=t.value)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(i=>{a[i]=s=>o(v(v({},s),{type:i}))}),[a,()=>f(NV,N(N({key:n},e),{},{ref:t}),null)]}function BV(e){return kV(e)}const Ir={};let t3=4.5,n3="24px",o3="24px",Sp="",r3="topRight",a3=()=>document.body,l3=null,$p=!1,i3;function FV(e){const{duration:t,placement:n,bottom:o,top:r,getContainer:a,closeIcon:l,prefixCls:i}=e;i!==void 0&&(Sp=i),t!==void 0&&(t3=t),n!==void 0&&(r3=n),o!==void 0&&(o3=typeof o=="number"?`${o}px`:o),r!==void 0&&(n3=typeof r=="number"?`${r}px`:r),a!==void 0&&(a3=a),l!==void 0&&(l3=l),e.rtl!==void 0&&($p=e.rtl),e.maxCount!==void 0&&(i3=e.maxCount)}function LV(e,t){let{prefixCls:n,placement:o=r3,getContainer:r=a3,top:a,bottom:l,closeIcon:i=l3,appContext:s}=e;const{getPrefixCls:u}=ZV(),c=u("notification",n||Sp),d=`${c}-${o}-${$p}`,p=Ir[d];if(p){Promise.resolve(p).then(m=>{t(m)});return}const g=te(`${c}-${o}`,{[`${c}-rtl`]:$p===!0});H4.newInstance({name:"notification",prefixCls:n||Sp,useStyle:J4,class:g,style:e3(o,a??n3,l??o3),appContext:s,getContainer:r,closeIcon:m=>{let{prefixCls:h}=m;return f("span",{class:`${h}-close-x`},[va(i,{},f(io,{class:`${h}-close-icon`},null))])},maxCount:i3,hasTransitionName:!0},m=>{Ir[d]=m,t(m)})}const zV={success:Sx,info:Cx,error:xx,warning:$x};function HV(e){const{icon:t,type:n,description:o,message:r,btn:a}=e,l=e.duration===void 0?t3:e.duration;LV(e,i=>{i.notice({content:s=>{let{prefixCls:u}=s;const c=`${u}-notice`;let d=null;if(t)d=()=>f("span",{class:`${c}-icon`},[va(t)]);else if(n){const p=zV[n];d=()=>f(p,{class:`${c}-icon ${c}-icon-${n}`},null)}return f("div",{class:d?`${c}-with-icon`:""},[d&&d(),f("div",{class:`${c}-message`},[!o&&d?f("span",{class:`${c}-message-single-line-auto-margin`},null):null,va(r)]),f("div",{class:`${c}-description`},[va(o)]),a?f("span",{class:`${c}-btn`},[va(a)]):null])},duration:l,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Ka={open:HV,close(e){Object.keys(Ir).forEach(t=>Promise.resolve(Ir[t]).then(n=>{n.removeNotice(e)}))},config:FV,destroy(){Object.keys(Ir).forEach(e=>{Promise.resolve(Ir[e]).then(t=>{t.destroy()}),delete Ir[e]})}},jV=["success","info","warning","error"];jV.forEach(e=>{Ka[e]=t=>Ka.open(v(v({},t),{type:e}))});Ka.warn=Ka.warning;Ka.useNotification=BV;const VV=Ka,WV=`-ant-${Date.now()}-${Math.random()}`;function KV(e,t){const n={},o=(l,i)=>{let s=l.clone();return s=(i==null?void 0:i(s))||s,s.toRgbString()},r=(l,i)=>{const s=new st(l),u=Bo(s.toRgbString());n[`${i}-color`]=o(s),n[`${i}-color-disabled`]=u[1],n[`${i}-color-hover`]=u[4],n[`${i}-color-active`]=u[6],n[`${i}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${i}-color-deprecated-bg`]=u[0],n[`${i}-color-deprecated-border`]=u[2]};if(t.primaryColor){r(t.primaryColor,"primary");const l=new st(t.primaryColor),i=Bo(l.toRgbString());i.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=o(l,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=o(l,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=o(l,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=o(l,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=o(l,u=>u.setAlpha(u.getAlpha()*.12));const s=new st(i[0]);n["primary-color-active-deprecated-f-30"]=o(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=o(s,u=>u.darken(2))}return t.successColor&&r(t.successColor,"success"),t.warningColor&&r(t.warningColor,"warning"),t.errorColor&&r(t.errorColor,"error"),t.infoColor&&r(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(l=>`--${e}-${l}: ${n[l]};`).join(` +`)} + } + `.trim()}function GV(e,t){const n=KV(e,t);hn()?jl(n,`${WV}-dynamic-theme`):yt()}const XV=e=>{const[t,n]=Qr();return $f(P(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:v(v({},ai()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function UV(e,t){const n=P(()=>(e==null?void 0:e.value)||{}),o=P(()=>n.value.inherit===!1||!(t!=null&&t.value)?Es:t.value);return P(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const a=v({},o.value.components);return Object.keys(e.value.components||{}).forEach(l=>{a[l]=v(v({},a[l]),e.value.components[l])}),v(v(v({},o.value),n.value),{token:v(v({},o.value.token),n.value.token),components:a})})}var YV=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{v(Xt,dh),Xt.prefixCls=Ta(),Xt.iconPrefixCls=s3(),Xt.getPrefixCls=(e,t)=>t||(e?`${Xt.prefixCls}-${e}`:Xt.prefixCls),Xt.getRootPrefixCls=()=>Xt.prefixCls?Xt.prefixCls:Ta()});let Cd;const QV=e=>{Cd&&Cd(),Cd=Le(()=>{v(dh,vt(e)),v(Xt,vt(e))}),e.theme&&GV(Ta(),e.theme)},ZV=()=>({getPrefixCls:(e,t)=>t||(e?`${Ta()}-${e}`:Ta()),getIconPrefixCls:s3,getRootPrefixCls:()=>Xt.prefixCls?Xt.prefixCls:Ta()}),_l=J({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:b8(),setup(e,t){let{slots:n}=t;const o=oc(),r=(T,A)=>{const{prefixCls:R="ant"}=e;if(A)return A;const E=R||o.getPrefixCls("");return T?`${E}-${T}`:E},a=P(()=>e.iconPrefixCls||o.iconPrefixCls.value||qp),l=P(()=>a.value!==o.iconPrefixCls.value),i=P(()=>{var T;return e.csp||((T=o.csp)===null||T===void 0?void 0:T.value)}),s=XV(a),u=UV(P(()=>e.theme),P(()=>{var T;return(T=o.theme)===null||T===void 0?void 0:T.value})),c=T=>(e.renderEmpty||n.renderEmpty||o.renderEmpty||BM)(T),d=P(()=>{var T,A;return(T=e.autoInsertSpaceInButton)!==null&&T!==void 0?T:(A=o.autoInsertSpaceInButton)===null||A===void 0?void 0:A.value}),p=P(()=>{var T;return e.locale||((T=o.locale)===null||T===void 0?void 0:T.value)});ue(p,()=>{dh.locale=p.value},{immediate:!0});const g=P(()=>{var T;return e.direction||((T=o.direction)===null||T===void 0?void 0:T.value)}),m=P(()=>{var T,A;return(T=e.space)!==null&&T!==void 0?T:(A=o.space)===null||A===void 0?void 0:A.value}),h=P(()=>{var T,A;return(T=e.virtual)!==null&&T!==void 0?T:(A=o.virtual)===null||A===void 0?void 0:A.value}),b=P(()=>{var T,A;return(T=e.dropdownMatchSelectWidth)!==null&&T!==void 0?T:(A=o.dropdownMatchSelectWidth)===null||A===void 0?void 0:A.value}),y=P(()=>{var T;return e.getTargetContainer!==void 0?e.getTargetContainer:(T=o.getTargetContainer)===null||T===void 0?void 0:T.value}),S=P(()=>{var T;return e.getPopupContainer!==void 0?e.getPopupContainer:(T=o.getPopupContainer)===null||T===void 0?void 0:T.value}),$=P(()=>{var T;return e.pageHeader!==void 0?e.pageHeader:(T=o.pageHeader)===null||T===void 0?void 0:T.value}),x=P(()=>{var T;return e.input!==void 0?e.input:(T=o.input)===null||T===void 0?void 0:T.value}),C=P(()=>{var T;return e.pagination!==void 0?e.pagination:(T=o.pagination)===null||T===void 0?void 0:T.value}),O=P(()=>{var T;return e.form!==void 0?e.form:(T=o.form)===null||T===void 0?void 0:T.value}),w=P(()=>{var T;return e.select!==void 0?e.select:(T=o.select)===null||T===void 0?void 0:T.value}),M=P(()=>e.componentSize),I=P(()=>e.componentDisabled),_=P(()=>{var T,A;return(T=e.wave)!==null&&T!==void 0?T:(A=o.wave)===null||A===void 0?void 0:A.value}),D={csp:i,autoInsertSpaceInButton:d,locale:p,direction:g,space:m,virtual:h,dropdownMatchSelectWidth:b,getPrefixCls:r,iconPrefixCls:a,theme:P(()=>{var T,A;return(T=u.value)!==null&&T!==void 0?T:(A=o.theme)===null||A===void 0?void 0:A.value}),renderEmpty:c,getTargetContainer:y,getPopupContainer:S,pageHeader:$,input:x,pagination:C,form:O,select:w,componentSize:M,componentDisabled:I,transformCellText:P(()=>e.transformCellText),wave:_},F=P(()=>{const T=u.value||{},{algorithm:A,token:R}=T,E=YV(T,["algorithm","token"]),k=A&&(!Array.isArray(A)||A.length>0)?e2(A):void 0;return v(v({},E),{theme:k,token:v(v({},xc),R)})}),z=P(()=>{var T,A;let R={};return p.value&&(R=((T=p.value.Form)===null||T===void 0?void 0:T.defaultValidateMessages)||((A=Gn.Form)===null||A===void 0?void 0:A.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(R=v(v({},R),e.form.validateMessages)),R});y8(D),h8({validateMessages:z}),w2(M),HC(I);const H=T=>{var A,R;let E=l.value?s((A=n.default)===null||A===void 0?void 0:A.call(n)):(R=n.default)===null||R===void 0?void 0:R.call(n);if(e.theme){const k=function(){return E}();E=f(EM,{value:F.value},{default:()=>[k]})}return f(eV,{locale:p.value||T,ANT_MARK__:bp},{default:()=>[E]})};return Le(()=>{g.value&&(PV.config({rtl:g.value==="rtl"}),VV.config({rtl:g.value==="rtl"}))}),()=>f(Sv,{children:(T,A,R)=>H(R)},null)}});_l.config=QV;_l.install=function(e){e.component(_l.name,_l)};const c3=_l,JV=(e,t)=>{let{attrs:n,slots:o}=t;return f(qt,N(N({size:"small",type:"primary"},e),n),o)},eW=JV,Ki=(e,t,n)=>{const o=$T(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},tW=e=>Ms(e,(t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:a,darkColor:l}=n;return{[`${e.componentCls}-${t}`]:{color:o,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),nW=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r}=e,a=o-n,l=t-n;return{[r]:v(v({},et(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${r}-close-icon`]:{marginInlineStart:l,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},u3=Qe("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:o,fontSizeIcon:r}=e,a=Math.round(t*n),l=e.fontSizeSM,i=a-o*2,s=e.colorFillAlter,u=e.colorText,c=ze(e,{tagFontSize:l,tagLineHeight:i,tagDefaultBg:s,tagDefaultColor:u,tagIconSize:r-2*o,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[nW(c),tW(c),Ki(c,"success","Success"),Ki(c,"processing","Info"),Ki(c,"error","Error"),Ki(c,"warning","Warning")]}),oW=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),rW=J({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:oW(),setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{prefixCls:a}=Ee("tag",e),[l,i]=u3(a),s=c=>{const{checked:d}=e;o("update:checked",!d),o("change",!d),o("click",c)},u=P(()=>te(a.value,i.value,{[`${a.value}-checkable`]:!0,[`${a.value}-checkable-checked`]:e.checked}));return()=>{var c;return l(f("span",N(N({},r),{},{class:[u.value,r.class],onClick:s}),[(c=n.default)===null||c===void 0?void 0:c.call(n)]))}}}),Cp=rW,aW=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:V.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:Hr(),"onUpdate:visible":Function,icon:V.any,bordered:{type:Boolean,default:!0}}),Dl=J({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:aW(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{prefixCls:a,direction:l}=Ee("tag",e),[i,s]=u3(a),u=Y(!0);Le(()=>{e.visible!==void 0&&(u.value=e.visible)});const c=m=>{m.stopPropagation(),o("update:visible",!1),o("close",m),!m.defaultPrevented&&e.visible===void 0&&(u.value=!1)},d=P(()=>Wc(e.color)||lN(e.color)),p=P(()=>te(a.value,s.value,{[`${a.value}-${e.color}`]:d.value,[`${a.value}-has-color`]:e.color&&!d.value,[`${a.value}-hidden`]:!u.value,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-borderless`]:!e.bordered})),g=m=>{o("click",m)};return()=>{var m,h,b;const{icon:y=(m=n.icon)===null||m===void 0?void 0:m.call(n),color:S,closeIcon:$=(h=n.closeIcon)===null||h===void 0?void 0:h.call(n),closable:x=!1}=e,C=()=>x?$?f("span",{class:`${a.value}-close-icon`,onClick:c},[$]):f(io,{class:`${a.value}-close-icon`,onClick:c},null):null,O={backgroundColor:S&&!d.value?S:void 0},w=y||null,M=(b=n.default)===null||b===void 0?void 0:b.call(n),I=w?f(nt,null,[w,f("span",null,[M])]):M,_=e.onClick!==void 0,D=f("span",N(N({},r),{},{onClick:g,class:[p.value,r.class],style:[O,r.style]}),[I,C()]);return i(_?f(Cg,null,{default:()=>[D]}):D)}}});Dl.CheckableTag=Cp;Dl.install=function(e){return e.component(Dl.name,Dl),e.component(Cp.name,Cp),e};const lW=Dl;function iW(e,t){let{slots:n,attrs:o}=t;return f(lW,N(N({color:"blue"},e),o),n)}var sW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const cW=sW;function fy(e){for(var t=1;tD.value||M.value),[H,T]=Kw(C),A=Z();h({focus:()=>{var oe;(oe=A.value)===null||oe===void 0||oe.focus()},blur:()=>{var oe;(oe=A.value)===null||oe===void 0||oe.blur()}});const R=oe=>S.valueFormat?e.toString(oe,S.valueFormat):oe,E=(oe,Q)=>{const W=R(oe);y("update:value",W),y("change",W,Q),$.onFieldChange()},k=oe=>{y("update:open",oe),y("openChange",oe)},B=oe=>{y("focus",oe)},L=oe=>{y("blur",oe),$.onFieldBlur()},j=(oe,Q)=>{const W=R(oe);y("panelChange",W,Q)},K=oe=>{const Q=R(oe);y("ok",Q)},[G]=$o("DatePicker",Ps),U=P(()=>S.value?S.valueFormat?e.toDate(S.value,S.valueFormat):S.value:S.value===""?void 0:S.value),X=P(()=>S.defaultValue?S.valueFormat?e.toDate(S.defaultValue,S.valueFormat):S.defaultValue:S.defaultValue===""?void 0:S.defaultValue),ee=P(()=>S.defaultPickerValue?S.valueFormat?e.toDate(S.defaultPickerValue,S.valueFormat):S.defaultPickerValue:S.defaultPickerValue===""?void 0:S.defaultPickerValue);return()=>{var oe,Q,W,q,re,le;const ye=v(v({},G.value),S.locale),me=v(v({},S),b),{bordered:ce=!0,placeholder:se,suffixIcon:ie=(oe=m.suffixIcon)===null||oe===void 0?void 0:oe.call(m),showToday:fe=!0,transitionName:Se,allowClear:Ie=!0,dateRender:ge=m.dateRender,renderExtraFooter:Oe=m.renderExtraFooter,monthCellRender:we=m.monthCellRender||S.monthCellContentRender||m.monthCellContentRender,clearIcon:ae=(Q=m.clearIcon)===null||Q===void 0?void 0:Q.call(m),id:ne=$.id.value}=me,pe=hW(me,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),xe=me.showTime===""?!0:me.showTime,{format:Te}=me;let ke={};u&&(ke.picker=u);const ve=u||me.picker||"date";ke=v(v(v({},ke),xe?Qs(v({format:Te,picker:ve},typeof xe=="object"?xe:{})):{}),ve==="time"?Qs(v(v({format:Te},pe),{picker:ve})):{});const he=C.value,be=f(nt,null,[ie||(u==="time"?f(f3,null,null):f(d3,null,null)),x.hasFeedback&&x.feedbackIcon]);return H(f(XB,N(N(N({monthCellRender:we,dateRender:ge,renderExtraFooter:Oe,ref:A,placeholder:vW(ye,ve,se),suffixIcon:be,dropdownAlign:p3(O.value,S.placement),clearIcon:ae||f(bn,null,null),allowClear:Ie,transitionName:Se||`${I.value}-slide-up`},pe),ke),{},{id:ne,picker:ve,value:U.value,defaultValue:X.value,defaultPickerValue:ee.value,showToday:fe,locale:ye.lang,class:te({[`${he}-${z.value}`]:z.value,[`${he}-borderless`]:!ce},Tn(he,Vo(x.status,S.status),x.hasFeedback),b.class,T.value,F.value),disabled:_.value,prefixCls:he,getPopupContainer:b.getCalendarContainer||w.value,generateConfig:e,prevIcon:((W=m.prevIcon)===null||W===void 0?void 0:W.call(m))||f("span",{class:`${he}-prev-icon`},null),nextIcon:((q=m.nextIcon)===null||q===void 0?void 0:q.call(m))||f("span",{class:`${he}-next-icon`},null),superPrevIcon:((re=m.superPrevIcon)===null||re===void 0?void 0:re.call(m))||f("span",{class:`${he}-super-prev-icon`},null),superNextIcon:((le=m.superNextIcon)===null||le===void 0?void 0:le.call(m))||f("span",{class:`${he}-super-next-icon`},null),components:h3,direction:O.value,dropdownClassName:te(T.value,S.popupClassName,S.dropdownClassName),onChange:E,onOpenChange:k,onFocus:B,onBlur:L,onPanelChange:j,onOk:K}),null))}}})}const o=n(void 0,"ADatePicker"),r=n("week","AWeekPicker"),a=n("month","AMonthPicker"),l=n("year","AYearPicker"),i=n("time","TimePicker"),s=n("quarter","AQuarterPicker");return{DatePicker:o,WeekPicker:r,MonthPicker:a,YearPicker:l,TimePicker:i,QuarterPicker:s}}var bW={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const yW=bW;function vy(e){for(var t=1;tS.value||h.value),[C,O]=Kw(p),w=Z();a({focus:()=>{var B;(B=w.value)===null||B===void 0||B.focus()},blur:()=>{var B;(B=w.value)===null||B===void 0||B.blur()}});const M=B=>u.valueFormat?e.toString(B,u.valueFormat):B,I=(B,L)=>{const j=M(B);s("update:value",j),s("change",j,L),c.onFieldChange()},_=B=>{s("update:open",B),s("openChange",B)},D=B=>{s("focus",B)},F=B=>{s("blur",B),c.onFieldBlur()},z=(B,L)=>{const j=M(B);s("panelChange",j,L)},H=B=>{const L=M(B);s("ok",L)},T=(B,L,j)=>{const K=M(B);s("calendarChange",K,L,j)},[A]=$o("DatePicker",Ps),R=P(()=>u.value&&u.valueFormat?e.toDate(u.value,u.valueFormat):u.value),E=P(()=>u.defaultValue&&u.valueFormat?e.toDate(u.defaultValue,u.valueFormat):u.defaultValue),k=P(()=>u.defaultPickerValue&&u.valueFormat?e.toDate(u.defaultPickerValue,u.valueFormat):u.defaultPickerValue);return()=>{var B,L,j,K,G,U,X;const ee=v(v({},A.value),u.locale),oe=v(v({},u),i),{prefixCls:Q,bordered:W=!0,placeholder:q,suffixIcon:re=(B=l.suffixIcon)===null||B===void 0?void 0:B.call(l),picker:le="date",transitionName:ye,allowClear:me=!0,dateRender:ce=l.dateRender,renderExtraFooter:se=l.renderExtraFooter,separator:ie=(L=l.separator)===null||L===void 0?void 0:L.call(l),clearIcon:fe=(j=l.clearIcon)===null||j===void 0?void 0:j.call(l),id:Se=c.id.value}=oe,Ie=CW(oe,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete Ie["onUpdate:value"],delete Ie["onUpdate:open"];const{format:ge,showTime:Oe}=oe;let we={};we=v(v(v({},we),Oe?Qs(v({format:ge,picker:le},Oe)):{}),le==="time"?Qs(v(v({format:ge},qe(Ie,["disabledTime"])),{picker:le})):{});const ae=p.value,ne=f(nt,null,[re||(le==="time"?f(f3,null,null):f(d3,null,null)),d.hasFeedback&&d.feedbackIcon]);return C(f(iF,N(N(N({dateRender:ce,renderExtraFooter:se,separator:ie||f("span",{"aria-label":"to",class:`${ae}-separator`},[f($W,null,null)]),ref:w,dropdownAlign:p3(g.value,u.placement),placeholder:gW(ee,le,q),suffixIcon:ne,clearIcon:fe||f(bn,null,null),allowClear:me,transitionName:ye||`${b.value}-slide-up`},Ie),we),{},{disabled:y.value,id:Se,value:R.value,defaultValue:E.value,defaultPickerValue:k.value,picker:le,class:te({[`${ae}-${x.value}`]:x.value,[`${ae}-borderless`]:!W},Tn(ae,Vo(d.status,u.status),d.hasFeedback),i.class,O.value,$.value),locale:ee.lang,prefixCls:ae,getPopupContainer:i.getCalendarContainer||m.value,generateConfig:e,prevIcon:((K=l.prevIcon)===null||K===void 0?void 0:K.call(l))||f("span",{class:`${ae}-prev-icon`},null),nextIcon:((G=l.nextIcon)===null||G===void 0?void 0:G.call(l))||f("span",{class:`${ae}-next-icon`},null),superPrevIcon:((U=l.superPrevIcon)===null||U===void 0?void 0:U.call(l))||f("span",{class:`${ae}-super-prev-icon`},null),superNextIcon:((X=l.superNextIcon)===null||X===void 0?void 0:X.call(l))||f("span",{class:`${ae}-super-next-icon`},null),components:h3,direction:g.value,dropdownClassName:te(O.value,u.popupClassName,u.dropdownClassName),onChange:I,onOpenChange:_,onFocus:D,onBlur:F,onPanelChange:z,onOk:H,onCalendarChange:T}),null))}}})}const h3={button:eW,rangeItem:iW};function wW(e){return e?Array.isArray(e)?e:[e]:[]}function Qs(e){const{format:t,picker:n,showHour:o,showMinute:r,showSecond:a,use12Hours:l}=e,i=wW(t)[0],s=v({},e);return i&&typeof i=="string"&&(!i.includes("s")&&a===void 0&&(s.showSecond=!1),!i.includes("m")&&r===void 0&&(s.showMinute=!1),!i.includes("H")&&!i.includes("h")&&o===void 0&&(s.showHour=!1),(i.includes("a")||i.includes("A"))&&l===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof i=="function"&&delete s.format,{showTime:s})}function m3(e,t){const{DatePicker:n,WeekPicker:o,MonthPicker:r,YearPicker:a,TimePicker:l,QuarterPicker:i}=mW(e,t),s=xW(e,t);return{DatePicker:n,WeekPicker:o,MonthPicker:r,YearPicker:a,TimePicker:l,QuarterPicker:i,RangePicker:s}}const{DatePicker:xd,WeekPicker:wd,MonthPicker:Od,YearPicker:OW,TimePicker:PW,QuarterPicker:Pd,RangePicker:Id}=m3(vw),hoe=v(xd,{WeekPicker:wd,MonthPicker:Od,YearPicker:OW,RangePicker:Id,TimePicker:PW,QuarterPicker:Pd,install:e=>(e.component(xd.name,xd),e.component(Id.name,Id),e.component(Od.name,Od),e.component(wd.name,wd),e.component(Pd.name,Pd),e)});function Gi(e){return e!=null}const IW=e=>{const{itemPrefixCls:t,component:n,span:o,labelStyle:r,contentStyle:a,bordered:l,label:i,content:s,colon:u}=e,c=n;return l?f(c,{class:[{[`${t}-item-label`]:Gi(i),[`${t}-item-content`]:Gi(s)}],colSpan:o},{default:()=>[Gi(i)&&f("span",{style:r},[i]),Gi(s)&&f("span",{style:a},[s])]}):f(c,{class:[`${t}-item`],colSpan:o},{default:()=>[f("div",{class:`${t}-item-container`},[(i||i===0)&&f("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!u}],style:r},[i]),(s||s===0)&&f("span",{class:`${t}-item-content`,style:a},[s])])]})},Td=IW,TW=e=>{const t=(u,c,d)=>{let{colon:p,prefixCls:g,bordered:m}=c,{component:h,type:b,showLabel:y,showContent:S,labelStyle:$,contentStyle:x}=d;return u.map((C,O)=>{var w,M;const I=C.props||{},{prefixCls:_=g,span:D=1,labelStyle:F=I["label-style"],contentStyle:z=I["content-style"],label:H=(M=(w=C.children)===null||w===void 0?void 0:w.label)===null||M===void 0?void 0:M.call(w)}=I,T=bc(C),A=KT(C),R=NC(C),{key:E}=C;return typeof h=="string"?f(Td,{key:`${b}-${String(E)||O}`,class:A,style:R,labelStyle:v(v({},$),F),contentStyle:v(v({},x),z),span:D,colon:p,component:h,itemPrefixCls:_,bordered:m,label:y?H:null,content:S?T:null},null):[f(Td,{key:`label-${String(E)||O}`,class:A,style:v(v(v({},$),R),F),span:1,colon:p,component:h[0],itemPrefixCls:_,bordered:m,label:H},null),f(Td,{key:`content-${String(E)||O}`,class:A,style:v(v(v({},x),R),z),span:D*2-1,component:h[1],itemPrefixCls:_,bordered:m,content:T},null)]})},{prefixCls:n,vertical:o,row:r,index:a,bordered:l}=e,{labelStyle:i,contentStyle:s}=Xe(y3,{labelStyle:Z({}),contentStyle:Z({})});return o?f(nt,null,[f("tr",{key:`label-${a}`,class:`${n}-row`},[t(r,e,{component:"th",type:"label",showLabel:!0,labelStyle:i.value,contentStyle:s.value})]),f("tr",{key:`content-${a}`,class:`${n}-row`},[t(r,e,{component:"td",type:"content",showContent:!0,labelStyle:i.value,contentStyle:s.value})])]):f("tr",{key:a,class:`${n}-row`},[t(r,e,{component:l?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:i.value,contentStyle:s.value})])},MW=TW,EW=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:o,descriptionsMiddlePadding:r,descriptionsBg:a}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:o,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:a,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:r}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},_W=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:o,descriptionsItemLabelColonMarginRight:r,descriptionsItemLabelColonMarginLeft:a,descriptionsTitleMarginBottom:l}=e;return{[t]:v(v(v({},et(e)),EW(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:l},[`${t}-title`]:v(v({},mn),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${a}px ${r}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},DW=Qe("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,o=e.colorText,r=`${e.paddingXS}px ${e.padding}px`,a=`${e.padding}px ${e.paddingLG}px`,l=`${e.paddingSM}px ${e.paddingLG}px`,i=e.padding,s=e.marginXS,u=e.marginXXS/2,c=ze(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:o,descriptionItemPaddingBottom:i,descriptionsSmallPadding:r,descriptionsDefaultPadding:a,descriptionsMiddlePadding:l,descriptionsItemLabelColonMarginRight:s,descriptionsItemLabelColonMarginLeft:u});return[_W(c)]});V.any;const AW=()=>({prefixCls:String,label:V.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),RW=J({compatConfig:{MODE:3},name:"ADescriptionsItem",props:AW(),setup(e,t){let{slots:n}=t;return()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),b3={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function NW(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;n<_r.length;n++){const o=_r[n];if(t[o]&&e[o]!==void 0)return e[o]||b3[o]}return 3}function gy(e,t,n){let o=e;return(n===void 0||n>t)&&(o=ut(e,{span:t}),yt()),o}function kW(e,t){const n=mt(e),o=[];let r=[],a=t;return n.forEach((l,i)=>{var s;const u=(s=l.props)===null||s===void 0?void 0:s.span,c=u||1;if(i===n.length-1){r.push(gy(l,a,u)),o.push(r);return}c({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:V.any,extra:V.any,column:{type:[Number,Object],default:()=>b3},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),y3=Symbol("descriptionsContext"),pa=J({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:BW(),slots:Object,Item:RW,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("descriptions",e);let l;const i=Z({}),[s,u]=DW(r),c=yg();Xp(()=>{l=c.value.subscribe(p=>{typeof e.column=="object"&&(i.value=p)})}),Je(()=>{c.value.unsubscribe(l)}),Ke(y3,{labelStyle:Be(e,"labelStyle"),contentStyle:Be(e,"contentStyle")});const d=P(()=>NW(e.column,i.value));return()=>{var p,g,m;const{size:h,bordered:b=!1,layout:y="horizontal",colon:S=!0,title:$=(p=n.title)===null||p===void 0?void 0:p.call(n),extra:x=(g=n.extra)===null||g===void 0?void 0:g.call(n)}=e,C=(m=n.default)===null||m===void 0?void 0:m.call(n),O=kW(C,d.value);return s(f("div",N(N({},o),{},{class:[r.value,{[`${r.value}-${h}`]:h!=="default",[`${r.value}-bordered`]:!!b,[`${r.value}-rtl`]:a.value==="rtl"},o.class,u.value]}),[($||x)&&f("div",{class:`${r.value}-header`},[$&&f("div",{class:`${r.value}-title`},[$]),x&&f("div",{class:`${r.value}-extra`},[x])]),f("div",{class:`${r.value}-view`},[f("table",null,[f("tbody",null,[O.map((w,M)=>f(MW,{key:M,index:M,colon:S,prefixCls:r.value,vertical:y==="vertical",bordered:b,row:w},null))])])])]))}}});pa.install=function(e){return e.component(pa.name,pa),e.component(pa.Item.name,pa.Item),e};const moe=pa,FW=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r}=e;return{[t]:v(v({},et(e)),{borderBlockStart:`${r}px solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${r}px solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${r}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${r}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},LW=Qe("Divider",e=>{const t=ze(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[FW(t)]},{sizePaddingEdgeHorizontal:0}),zW=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),HW=J({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:zW(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("divider",e),[l,i]=LW(r),s=P(()=>e.orientation==="left"&&e.orientationMargin!=null),u=P(()=>e.orientation==="right"&&e.orientationMargin!=null),c=P(()=>{const{type:g,dashed:m,plain:h}=e,b=r.value;return{[b]:!0,[i.value]:!!i.value,[`${b}-${g}`]:!0,[`${b}-dashed`]:!!m,[`${b}-plain`]:!!h,[`${b}-rtl`]:a.value==="rtl",[`${b}-no-default-orientation-margin-left`]:s.value,[`${b}-no-default-orientation-margin-right`]:u.value}}),d=P(()=>{const g=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return v(v({},s.value&&{marginLeft:g}),u.value&&{marginRight:g})}),p=P(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var g;const m=mt((g=n.default)===null||g===void 0?void 0:g.call(n));return l(f("div",N(N({},o),{},{class:[c.value,m.length?`${r.value}-with-text ${r.value}-with-text${p.value}`:"",o.class],role:"separator"}),[m.length?f("span",{class:`${r.value}-inner-text`,style:d.value},[m]):null]))}}}),boe=Vt(HW);ar.Button=Vs;ar.install=function(e){return e.component(ar.name,ar),e.component(Vs.name,Vs),e};const S3=()=>({prefixCls:String,width:V.oneOfType([V.string,V.number]),height:V.oneOfType([V.string,V.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:Ne(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:ht(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:de(),maskMotion:Ne()}),jW=()=>v(v({},S3()),{forceRender:{type:Boolean,default:void 0},getContainer:V.oneOfType([V.string,V.func,V.object,V.looseBool])}),VW=()=>v(v({},S3()),{getContainer:Function,getOpenCount:Function,scrollLocker:V.any,inline:Boolean});function WW(e){return Array.isArray(e)?e:[e]}const KW={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(KW).filter(e=>{if(typeof document>"u")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const GW=!(typeof window<"u"&&window.document&&window.document.createElement);var XW=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{lt(()=>{var y;const{open:S,getContainer:$,showMask:x,autofocus:C}=e,O=$==null?void 0:$();m(e),S&&(O&&(O.parentNode,document.body),lt(()=>{C&&c()}),x&&((y=e.scrollLocker)===null||y===void 0||y.lock()))})}),ue(()=>e.level,()=>{m(e)},{flush:"post"}),ue(()=>e.open,()=>{const{open:y,getContainer:S,scrollLocker:$,showMask:x,autofocus:C}=e,O=S==null?void 0:S();O&&(O.parentNode,document.body),y?(C&&c(),x&&($==null||$.lock())):$==null||$.unLock()},{flush:"post"}),An(()=>{var y;const{open:S}=e;S&&(document.body.style.touchAction=""),(y=e.scrollLocker)===null||y===void 0||y.unLock()}),ue(()=>e.placement,y=>{y&&(s.value=null)});const c=()=>{var y,S;(S=(y=a.value)===null||y===void 0?void 0:y.focus)===null||S===void 0||S.call(y)},d=y=>{n("close",y)},p=y=>{y.keyCode===$e.ESC&&(y.stopPropagation(),d(y))},g=()=>{const{open:y,afterVisibleChange:S}=e;S&&S(!!y)},m=y=>{let{level:S,getContainer:$}=y;if(GW)return;const x=$==null?void 0:$(),C=x?x.parentNode:null;u=[],S==="all"?(C?Array.prototype.slice.call(C.children):[]).forEach(w=>{w.nodeName!=="SCRIPT"&&w.nodeName!=="STYLE"&&w.nodeName!=="LINK"&&w!==x&&u.push(w)}):S&&WW(S).forEach(O=>{document.querySelectorAll(O).forEach(w=>{u.push(w)})})},h=y=>{n("handleClick",y)},b=Y(!1);return ue(a,()=>{lt(()=>{b.value=!0})}),()=>{var y,S;const{width:$,height:x,open:C,prefixCls:O,placement:w,level:M,levelMove:I,ease:_,duration:D,getContainer:F,onChange:z,afterVisibleChange:H,showMask:T,maskClosable:A,maskStyle:R,keyboard:E,getOpenCount:k,scrollLocker:B,contentWrapperStyle:L,style:j,class:K,rootClassName:G,rootStyle:U,maskMotion:X,motion:ee,inline:oe}=e,Q=XW(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),W=C&&b.value,q=te(O,{[`${O}-${w}`]:!0,[`${O}-open`]:W,[`${O}-inline`]:oe,"no-mask":!T,[G]:!0}),re=typeof ee=="function"?ee(w):ee;return f("div",N(N({},qe(Q,["autofocus"])),{},{tabindex:-1,class:q,style:U,ref:a,onKeydown:W&&E?p:void 0}),[f(rn,X,{default:()=>[T&&Kt(f("div",{class:`${O}-mask`,onClick:A?d:void 0,style:R,ref:l},null),[[Wn,W]])]}),f(rn,N(N({},re),{},{onAfterEnter:g,onAfterLeave:g}),{default:()=>[Kt(f("div",{class:`${O}-content-wrapper`,style:[L],ref:r},[f("div",{class:[`${O}-content`,K],style:j,ref:s},[(y=o.default)===null||y===void 0?void 0:y.call(o)]),o.handler?f("div",{onClick:h,ref:i},[(S=o.handler)===null||S===void 0?void 0:S.call(o)]):null]),[[Wn,W]])]})])}}}),hy=UW;var my=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:o}=t;const r=Z(null),a=i=>{n("handleClick",i)},l=i=>{n("close",i)};return()=>{const{getContainer:i,wrapperClassName:s,rootClassName:u,rootStyle:c,forceRender:d}=e,p=my(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let g=null;if(!i)return f(hy,N(N({},p),{},{rootClassName:u,rootStyle:c,open:e.open,onClose:l,onHandleClick:a,inline:!0}),o);const m=!!o.handler||d;return(m||e.open||r.value)&&(g=f(zv,{autoLock:!0,visible:e.open,forceRender:m,getContainer:i,wrapperClassName:s},{default:h=>{var{visible:b,afterClose:y}=h,S=my(h,["visible","afterClose"]);return f(hy,N(N(N({ref:r},p),S),{},{rootClassName:u,rootStyle:c,open:b!==void 0?b:e.open,afterVisibleChange:y!==void 0?y:e.afterVisibleChange,onClose:l,onHandleClick:a}),o)}})),g}}}),qW=YW,QW=e=>{const{componentCls:t,motionDurationSlow:n}=e,o={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[o,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[o,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[o,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[o,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},ZW=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:o,colorBgElevated:r,motionDurationSlow:a,motionDurationMid:l,padding:i,paddingLG:s,fontSizeLG:u,lineHeightLG:c,lineWidth:d,lineType:p,colorSplit:g,marginSM:m,colorIcon:h,colorIconHover:b,colorText:y,fontWeightStrong:S,drawerFooterPaddingVertical:$,drawerFooterPaddingHorizontal:x}=e,C=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:r,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto"},[C]:{position:"absolute",zIndex:n,transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${C}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${C}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${C}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${C}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${i}px ${s}px`,fontSize:u,lineHeight:c,borderBottom:`${d}px ${p} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:m,color:h,fontWeight:S,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${l}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:y,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:c},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${$}px ${x}px`,borderTop:`${d}px ${p} ${g}`},"&-rtl":{direction:"rtl"}}}},JW=Qe("Drawer",e=>{const t=ze(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[ZW(t),QW(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var eK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:V.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:Ne(),rootClassName:String,rootStyle:Ne(),size:{type:String},drawerStyle:Ne(),headerStyle:Ne(),bodyStyle:Ne(),contentWrapperStyle:{type:Object,default:void 0},title:V.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:V.oneOfType([V.string,V.number]),height:V.oneOfType([V.string,V.number]),zIndex:Number,prefixCls:String,push:V.oneOfType([V.looseBool,{type:Object}]),placement:V.oneOf(tK),keyboard:{type:Boolean,default:void 0},extra:V.any,footer:V.any,footerStyle:Ne(),level:V.any,levelMove:{type:[Number,Array,Function]},handle:V.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),oK=J({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:rt(nK(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:by}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const a=Y(!1),l=Y(!1),i=Y(null),s=Y(!1),u=Y(!1),c=P(()=>{var k;return(k=e.open)!==null&&k!==void 0?k:e.visible});ue(c,()=>{c.value?s.value=!0:u.value=!1},{immediate:!0}),ue([c,s],()=>{c.value&&s.value&&(u.value=!0)},{immediate:!0});const d=Xe("parentDrawerOpts",null),{prefixCls:p,getPopupContainer:g,direction:m}=Ee("drawer",e),[h,b]=JW(p),y=P(()=>e.getContainer===void 0&&(g!=null&&g.value)?()=>g.value(document.body):e.getContainer);bt(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),Ke("parentDrawerOpts",{setPush:()=>{a.value=!0},setPull:()=>{a.value=!1,lt(()=>{x()})}}),Ve(()=>{c.value&&d&&d.setPush()}),An(()=>{d&&d.setPull()}),ue(u,()=>{d&&(u.value?d.setPush():d.setPull())},{flush:"post"});const x=()=>{var k,B;(B=(k=i.value)===null||k===void 0?void 0:k.domFocus)===null||B===void 0||B.call(k)},C=k=>{n("update:visible",!1),n("update:open",!1),n("close",k)},O=k=>{var B;k||(l.value===!1&&(l.value=!0),e.destroyOnClose&&(s.value=!1)),(B=e.afterVisibleChange)===null||B===void 0||B.call(e,k),n("afterVisibleChange",k),n("afterOpenChange",k)},w=P(()=>{const{push:k,placement:B}=e;let L;return typeof k=="boolean"?L=k?by.distance:0:L=k.distance,L=parseFloat(String(L||0)),B==="left"||B==="right"?`translateX(${B==="left"?L:-L}px)`:B==="top"||B==="bottom"?`translateY(${B==="top"?L:-L}px)`:null}),M=P(()=>{var k;return(k=e.width)!==null&&k!==void 0?k:e.size==="large"?736:378}),I=P(()=>{var k;return(k=e.height)!==null&&k!==void 0?k:e.size==="large"?736:378}),_=P(()=>{const{mask:k,placement:B}=e;if(!u.value&&!k)return{};const L={};return B==="left"||B==="right"?L.width=Ls(M.value)?`${M.value}px`:M.value:L.height=Ls(I.value)?`${I.value}px`:I.value,L}),D=P(()=>{const{zIndex:k,contentWrapperStyle:B}=e,L=_.value;return[{zIndex:k,transform:a.value?w.value:void 0},v({},B),L]}),F=k=>{const{closable:B,headerStyle:L}=e,j=Nt(o,e,"extra"),K=Nt(o,e,"title");return!K&&!B?null:f("div",{class:te(`${k}-header`,{[`${k}-header-close-only`]:B&&!K&&!j}),style:L},[f("div",{class:`${k}-header-title`},[z(k),K&&f("div",{class:`${k}-title`},[K])]),j&&f("div",{class:`${k}-extra`},[j])])},z=k=>{var B;const{closable:L}=e,j=o.closeIcon?(B=o.closeIcon)===null||B===void 0?void 0:B.call(o):e.closeIcon;return L&&f("button",{key:"closer",onClick:C,"aria-label":"Close",class:`${k}-close`},[j===void 0?f(io,null,null):j])},H=k=>{var B;if(l.value&&!e.forceRender&&!s.value)return null;const{bodyStyle:L,drawerStyle:j}=e;return f("div",{class:`${k}-wrapper-body`,style:j},[F(k),f("div",{key:"body",class:`${k}-body`,style:L},[(B=o.default)===null||B===void 0?void 0:B.call(o)]),T(k)])},T=k=>{const B=Nt(o,e,"footer");if(!B)return null;const L=`${k}-footer`;return f("div",{class:L,style:e.footerStyle},[B])},A=P(()=>te({"no-mask":!e.mask,[`${p.value}-rtl`]:m.value==="rtl"},e.rootClassName,b.value)),R=P(()=>bo(en(p.value,"mask-motion"))),E=k=>bo(en(p.value,`panel-motion-${k}`));return()=>{const{width:k,height:B,placement:L,mask:j,forceRender:K}=e,G=eK(e,["width","height","placement","mask","forceRender"]),U=v(v(v({},r),qe(G,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:K,onClose:C,afterVisibleChange:O,handler:!1,prefixCls:p.value,open:u.value,showMask:j,placement:L,ref:i});return h(f(Yl,null,{default:()=>[f(qW,N(N({},U),{},{maskMotion:R.value,motion:E,width:M.value,height:I.value,getContainer:y.value,rootClassName:A.value,rootStyle:e.rootStyle,contentWrapperStyle:D.value}),{handler:e.handle?()=>e.handle:o.handle,default:()=>H(p.value)})]}))}}}),yoe=Vt(oK),Al=e=>e!=null&&(Array.isArray(e)?Tt(e).length:!0);function gh(e){return Al(e.prefix)||Al(e.suffix)||Al(e.allowClear)}function gs(e){return Al(e.addonBefore)||Al(e.addonAfter)}function xp(e){return typeof e>"u"||e===null?"":String(e)}function Rl(e,t,n,o){if(!n)return;const r=t;if(t.type==="click"){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0});const a=e.cloneNode(!0);r.target=a,r.currentTarget=a,a.value="",n(r);return}if(o!==void 0){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0}),r.target=e,r.currentTarget=e,e.value=o,n(r);return}n(r)}function $3(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}const rK=()=>({addonBefore:V.any,addonAfter:V.any,prefix:V.any,suffix:V.any,clearIcon:V.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),C3=()=>v(v({},rK()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:V.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),x3=()=>v(v({},C3()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:je("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),aK=J({name:"BaseInput",inheritAttrs:!1,props:C3(),setup(e,t){let{slots:n,attrs:o}=t;const r=Z(),a=i=>{var s;if(!((s=r.value)===null||s===void 0)&&s.contains(i.target)){const{triggerFocus:u}=e;u==null||u()}},l=()=>{var i;const{allowClear:s,value:u,disabled:c,readonly:d,handleReset:p,suffix:g=n.suffix,prefixCls:m}=e;if(!s)return null;const h=!c&&!d&&u,b=`${m}-clear-icon`,y=((i=n.clearIcon)===null||i===void 0?void 0:i.call(n))||"*";return f("span",{onClick:p,onMousedown:S=>S.preventDefault(),class:te({[`${b}-hidden`]:!h,[`${b}-has-suffix`]:!!g},b),role:"button",tabindex:-1},[y])};return()=>{var i,s;const{focused:u,value:c,disabled:d,allowClear:p,readonly:g,hidden:m,prefixCls:h,prefix:b=(i=n.prefix)===null||i===void 0?void 0:i.call(n),suffix:y=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:S=n.addonAfter,addonBefore:$=n.addonBefore,inputElement:x,affixWrapperClassName:C,wrapperClassName:O,groupClassName:w}=e;let M=ut(x,{value:c,hidden:m});if(gh({prefix:b,suffix:y,allowClear:p})){const I=`${h}-affix-wrapper`,_=te(I,{[`${I}-disabled`]:d,[`${I}-focused`]:u,[`${I}-readonly`]:g,[`${I}-input-with-clear-btn`]:y&&p&&c},!gs({addonAfter:S,addonBefore:$})&&o.class,C),D=(y||p)&&f("span",{class:`${h}-suffix`},[l(),y]);M=f("span",{class:_,style:o.style,hidden:!gs({addonAfter:S,addonBefore:$})&&m,onMousedown:a,ref:r},[b&&f("span",{class:`${h}-prefix`},[b]),ut(x,{style:null,value:c,hidden:null}),D])}if(gs({addonAfter:S,addonBefore:$})){const I=`${h}-group`,_=`${I}-addon`,D=te(`${h}-wrapper`,I,O),F=te(`${h}-group-wrapper`,o.class,w);return f("span",{class:F,style:o.style,hidden:m},[f("span",{class:D},[$&&f("span",{class:_},[$]),ut(M,{style:null,hidden:null}),S&&f("span",{class:_},[S])])])}return M}}});var lK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.value,()=>{l.value=e.value}),ue(()=>e.disabled,()=>{e.disabled&&(i.value=!1)});const c=w=>{s.value&&$3(s.value,w)};r({focus:c,blur:()=>{var w;(w=s.value)===null||w===void 0||w.blur()},input:s,stateValue:l,setSelectionRange:(w,M,I)=>{var _;(_=s.value)===null||_===void 0||_.setSelectionRange(w,M,I)},select:()=>{var w;(w=s.value)===null||w===void 0||w.select()}});const m=w=>{a("change",w)},h=(w,M)=>{l.value!==w&&(e.value===void 0?l.value=w:lt(()=>{var I;s.value.value!==l.value&&((I=u.value)===null||I===void 0||I.$forceUpdate())}),lt(()=>{M&&M()}))},b=w=>{const{value:M,composing:I}=w.target;if((w.isComposing||I)&&e.lazy||l.value===M)return;const _=w.target.value;Rl(s.value,w,m),h(_)},y=w=>{w.keyCode===13&&a("pressEnter",w),a("keydown",w)},S=w=>{i.value=!0,a("focus",w)},$=w=>{i.value=!1,a("blur",w)},x=w=>{Rl(s.value,w,m),h("",()=>{c()})},C=()=>{var w,M;const{addonBefore:I=n.addonBefore,addonAfter:_=n.addonAfter,disabled:D,valueModifiers:F={},htmlSize:z,autocomplete:H,prefixCls:T,inputClassName:A,prefix:R=(w=n.prefix)===null||w===void 0?void 0:w.call(n),suffix:E=(M=n.suffix)===null||M===void 0?void 0:M.call(n),allowClear:k,type:B="text"}=e,L=qe(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),j=v(v(v({},L),o),{autocomplete:H,onChange:b,onInput:b,onFocus:S,onBlur:$,onKeydown:y,class:te(T,{[`${T}-disabled`]:D},A,!gs({addonAfter:_,addonBefore:I})&&!gh({prefix:R,suffix:E,allowClear:k})&&o.class),ref:s,key:"ant-input",size:z,type:B});F.lazy&&delete j.onInput,j.autofocus||delete j.autofocus;const K=f("input",qe(j,["size"]),null);return Kt(K,[[si]])},O=()=>{var w;const{maxlength:M,suffix:I=(w=n.suffix)===null||w===void 0?void 0:w.call(n),showCount:_,prefixCls:D}=e,F=Number(M)>0;if(I||_){const z=[...xp(l.value)].length,H=typeof _=="object"?_.formatter({count:z,maxlength:M}):`${z}${F?` / ${M}`:""}`;return f(nt,null,[!!_&&f("span",{class:te(`${D}-show-count-suffix`,{[`${D}-show-count-has-suffix`]:!!I})},[H]),I])}return null};return Ve(()=>{}),()=>{const{prefixCls:w,disabled:M}=e,I=lK(e,["prefixCls","disabled"]);return f(aK,N(N(N({},I),o),{},{ref:u,prefixCls:w,inputElement:C(),handleReset:x,value:xp(l.value),focused:i.value,triggerFocus:c,suffix:O(),disabled:M}),n)}}}),cu=()=>qe(x3(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),w3=()=>v(v({},qe(cu(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:Hr(),onCompositionend:Hr(),valueModifiers:Object});var sK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rVo(s.status,e.status)),{direction:c,prefixCls:d,size:p,autocomplete:g}=Ee("input",e),{compactSize:m,compactItemClassnames:h}=fr(d,c),b=P(()=>m.value||p.value),[y,S]=Yg(d),$=gn();r({focus:z=>{var H;(H=l.value)===null||H===void 0||H.focus(z)},blur:()=>{var z;(z=l.value)===null||z===void 0||z.blur()},input:l,setSelectionRange:(z,H,T)=>{var A;(A=l.value)===null||A===void 0||A.setSelectionRange(z,H,T)},select:()=>{var z;(z=l.value)===null||z===void 0||z.select()}});const M=Z([]),I=()=>{M.value.push(setTimeout(()=>{var z,H,T,A;!((z=l.value)===null||z===void 0)&&z.input&&((H=l.value)===null||H===void 0?void 0:H.input.getAttribute("type"))==="password"&&(!((T=l.value)===null||T===void 0)&&T.input.hasAttribute("value"))&&((A=l.value)===null||A===void 0||A.input.removeAttribute("value"))}))};Ve(()=>{I()}),Yp(()=>{M.value.forEach(z=>clearTimeout(z))}),Je(()=>{M.value.forEach(z=>clearTimeout(z))});const _=z=>{I(),a("blur",z),i.onFieldBlur()},D=z=>{I(),a("focus",z)},F=z=>{a("update:value",z.target.value),a("change",z),a("input",z),i.onFieldChange()};return()=>{var z,H,T,A,R,E;const{hasFeedback:k,feedbackIcon:B}=s,{allowClear:L,bordered:j=!0,prefix:K=(z=n.prefix)===null||z===void 0?void 0:z.call(n),suffix:G=(H=n.suffix)===null||H===void 0?void 0:H.call(n),addonAfter:U=(T=n.addonAfter)===null||T===void 0?void 0:T.call(n),addonBefore:X=(A=n.addonBefore)===null||A===void 0?void 0:A.call(n),id:ee=(R=i.id)===null||R===void 0?void 0:R.value}=e,oe=sK(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),Q=(k||G)&&f(nt,null,[G,k&&B]),W=d.value,q=gh({prefix:K,suffix:G})||!!k,re=n.clearIcon||(()=>f(bn,null,null));return y(f(iK,N(N(N({},o),qe(oe,["onUpdate:value","onChange","onInput"])),{},{onChange:F,id:ee,disabled:(E=e.disabled)!==null&&E!==void 0?E:$.value,ref:l,prefixCls:W,autocomplete:g.value,onBlur:_,onFocus:D,prefix:K,suffix:Q,allowClear:L,addonAfter:U&&f(Yl,null,{default:()=>[f(Fs,null,{default:()=>[U]})]}),addonBefore:X&&f(Yl,null,{default:()=>[f(Fs,null,{default:()=>[X]})]}),class:[o.class,h.value],inputClassName:te({[`${W}-sm`]:b.value==="small",[`${W}-lg`]:b.value==="large",[`${W}-rtl`]:c.value==="rtl",[`${W}-borderless`]:!j},!q&&Tn(W,u.value),S.value),affixWrapperClassName:te({[`${W}-affix-wrapper-sm`]:b.value==="small",[`${W}-affix-wrapper-lg`]:b.value==="large",[`${W}-affix-wrapper-rtl`]:c.value==="rtl",[`${W}-affix-wrapper-borderless`]:!j},Tn(`${W}-affix-wrapper`,u.value,k),S.value),wrapperClassName:te({[`${W}-group-rtl`]:c.value==="rtl"},S.value),groupClassName:te({[`${W}-group-wrapper-sm`]:b.value==="small",[`${W}-group-wrapper-lg`]:b.value==="large",[`${W}-group-wrapper-rtl`]:c.value==="rtl"},Tn(`${W}-group-wrapper`,u.value,k),S.value)}),v(v({},n),{clearIcon:re})))}}}),cK=J({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a,getPrefixCls:l}=Ee("input-group",e),i=ln.useInject();ln.useProvide(i,{isFormItemInput:!1});const s=P(()=>l("input")),[u,c]=Yg(s),d=P(()=>{const p=r.value;return{[`${p}`]:!0,[c.value]:!0,[`${p}-lg`]:e.size==="large",[`${p}-sm`]:e.size==="small",[`${p}-compact`]:e.compact,[`${p}-rtl`]:a.value==="rtl"}});return()=>{var p;return u(f("span",N(N({},o),{},{class:te(d.value,o.class)}),[(p=n.default)===null||p===void 0?void 0:p.call(n)]))}}});var uK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var C;(C=l.value)===null||C===void 0||C.focus()},blur:()=>{var C;(C=l.value)===null||C===void 0||C.blur()}});const c=C=>{a("update:value",C.target.value),C&&C.target&&C.type==="click"&&a("search",C.target.value,C),a("change",C)},d=C=>{var O;document.activeElement===((O=l.value)===null||O===void 0?void 0:O.input)&&C.preventDefault()},p=C=>{var O,w;a("search",(w=(O=l.value)===null||O===void 0?void 0:O.input)===null||w===void 0?void 0:w.stateValue,C)},g=C=>{i.value||e.loading||p(C)},m=C=>{i.value=!0,a("compositionstart",C)},h=C=>{i.value=!1,a("compositionend",C)},{prefixCls:b,getPrefixCls:y,direction:S,size:$}=Ee("input-search",e),x=P(()=>y("input",e.inputPrefixCls));return()=>{var C,O,w,M;const{disabled:I,loading:_,addonAfter:D=(C=n.addonAfter)===null||C===void 0?void 0:C.call(n),suffix:F=(O=n.suffix)===null||O===void 0?void 0:O.call(n)}=e,z=uK(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:H=(M=(w=n.enterButton)===null||w===void 0?void 0:w.call(n))!==null&&M!==void 0?M:!1}=e;H=H||H==="";const T=typeof H=="boolean"?f(ag,null,null):null,A=`${b.value}-button`,R=Array.isArray(H)?H[0]:H;let E;const k=R.type&&pc(R.type)&&R.type.__ANT_BUTTON;if(k||R.tagName==="button")E=ut(R,v({onMousedown:d,onClick:p,key:"enterButton"},k?{class:A,size:$.value}:{}),!1);else{const L=T&&!H;E=f(qt,{class:A,type:H?"primary":void 0,size:$.value,disabled:I,key:"enterButton",onMousedown:d,onClick:p,loading:_,icon:L?T:null},{default:()=>[L?null:T||H]})}D&&(E=[E,D]);const B=te(b.value,{[`${b.value}-rtl`]:S.value==="rtl",[`${b.value}-${$.value}`]:!!$.value,[`${b.value}-with-button`]:!!H},o.class);return f(Wt,N(N(N({ref:l},qe(z,["onUpdate:value","onSearch","enterButton"])),o),{},{onPressEnter:g,onCompositionstart:m,onCompositionend:h,size:$.value,prefixCls:x.value,addonAfter:E,suffix:F,onChange:c,class:B,disabled:I}),n)}}}),yy=e=>e!=null&&(Array.isArray(e)?Tt(e).length:!0);function fK(e){return yy(e.addonBefore)||yy(e.addonAfter)}const pK=["text","input"],vK=J({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:V.oneOf(vn("text","input")),value:xt(),defaultValue:xt(),allowClear:{type:Boolean,default:void 0},element:xt(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:xt(),prefix:xt(),addonBefore:xt(),addonAfter:xt(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:o}=t;const r=ln.useInject(),a=i=>{const{value:s,disabled:u,readonly:c,handleReset:d,suffix:p=n.suffix}=e,g=!u&&!c&&s,m=`${i}-clear-icon`;return f(bn,{onClick:d,onMousedown:h=>h.preventDefault(),class:te({[`${m}-hidden`]:!g,[`${m}-has-suffix`]:!!p},m),role:"button"},null)},l=(i,s)=>{const{value:u,allowClear:c,direction:d,bordered:p,hidden:g,status:m,addonAfter:h=n.addonAfter,addonBefore:b=n.addonBefore,hashId:y}=e,{status:S,hasFeedback:$}=r;if(!c)return ut(s,{value:u,disabled:e.disabled});const x=te(`${i}-affix-wrapper`,`${i}-affix-wrapper-textarea-with-clear-btn`,Tn(`${i}-affix-wrapper`,Vo(S,m),$),{[`${i}-affix-wrapper-rtl`]:d==="rtl",[`${i}-affix-wrapper-borderless`]:!p,[`${o.class}`]:!fK({addonAfter:h,addonBefore:b})&&o.class},y);return f("span",{class:x,style:o.style,hidden:g},[ut(s,{style:null,value:u,disabled:e.disabled}),a(i)])};return()=>{var i;const{prefixCls:s,inputType:u,element:c=(i=n.element)===null||i===void 0?void 0:i.call(n)}=e;return u===pK[0]?l(s,c):null}}}),gK=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,hK=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Md={};let Ln;function mK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Md[n])return Md[n];const o=window.getComputedStyle(e),r=o.getPropertyValue("box-sizing")||o.getPropertyValue("-moz-box-sizing")||o.getPropertyValue("-webkit-box-sizing"),a=parseFloat(o.getPropertyValue("padding-bottom"))+parseFloat(o.getPropertyValue("padding-top")),l=parseFloat(o.getPropertyValue("border-bottom-width"))+parseFloat(o.getPropertyValue("border-top-width")),s={sizingStyle:hK.map(u=>`${u}:${o.getPropertyValue(u)}`).join(";"),paddingSize:a,borderSize:l,boxSizing:r};return t&&n&&(Md[n]=s),s}function bK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ln||(Ln=document.createElement("textarea"),Ln.setAttribute("tab-index","-1"),Ln.setAttribute("aria-hidden","true"),document.body.appendChild(Ln)),e.getAttribute("wrap")?Ln.setAttribute("wrap",e.getAttribute("wrap")):Ln.removeAttribute("wrap");const{paddingSize:r,borderSize:a,boxSizing:l,sizingStyle:i}=mK(e,t);Ln.setAttribute("style",`${i};${gK}`),Ln.value=e.value||e.placeholder||"";let s,u,c,d=Ln.scrollHeight;if(l==="border-box"?d+=a:l==="content-box"&&(d-=r),n!==null||o!==null){Ln.value=" ";const g=Ln.scrollHeight-r;n!==null&&(s=g*n,l==="border-box"&&(s=s+r+a),d=Math.max(s,d)),o!==null&&(u=g*o,l==="border-box"&&(u=u+r+a),c=d>u?"":"hidden",d=Math.min(u,d))}const p={height:`${d}px`,overflowY:c,resize:"none"};return s&&(p.minHeight=`${s}px`),u&&(p.maxHeight=`${u}px`),p}const Ed=0,_d=1,Dd=2,yK=J({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:w3(),setup(e,t){let{attrs:n,emit:o,expose:r}=t,a,l;const i=Z(),s=Z({}),u=Z(Dd);Je(()=>{We.cancel(a),We.cancel(l)});const c=()=>{try{if(document.activeElement===i.value){const O=i.value.selectionStart,w=i.value.selectionEnd,M=i.value.scrollTop;i.value.setSelectionRange(O,w),i.value.scrollTop=M}}catch{}},d=Z(),p=Z();Le(()=>{const O=e.autoSize||e.autosize;O?(d.value=O.minRows,p.value=O.maxRows):(d.value=void 0,p.value=void 0)});const g=P(()=>!!(e.autoSize||e.autosize)),m=()=>{u.value=Ed};ue([()=>e.value,d,p,g],()=>{g.value&&m()},{immediate:!0,flush:"post"});const h=Z();ue([u,i],()=>{if(i.value)if(u.value===Ed)u.value=_d;else if(u.value===_d){const O=bK(i.value,!1,d.value,p.value);u.value=Dd,h.value=O}else c()},{immediate:!0,flush:"post"});const b=Dn(),y=Z(),S=()=>{We.cancel(y.value)},$=O=>{u.value===Dd&&(o("resize",O),g.value&&(S(),y.value=We(()=>{m()})))};Je(()=>{S()}),r({resizeTextarea:()=>{m()},textArea:i,instance:b}),yt(e.autosize===void 0);const C=()=>{const{prefixCls:O,disabled:w}=e,M=qe(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","lazy","maxlength","valueModifiers"]),I=te(O,n.class,{[`${O}-disabled`]:w}),_=g.value?h.value:null,D=[n.style,s.value,_],F=v(v(v({},M),n),{style:D,class:I});return(u.value===Ed||u.value===_d)&&D.push({overflowX:"hidden",overflowY:"hidden"}),F.autofocus||delete F.autofocus,F.rows===0&&delete F.rows,f(ho,{onResize:$,disabled:!g.value},{default:()=>[Kt(f("textarea",N(N({},F),{},{ref:i}),null),[[si]])]})};return()=>C()}}),SK=yK;function O3(e,t){return[...e||""].slice(0,t).join("")}function Sy(e,t,n,o){let r=n;return e?r=O3(n,o):[...t||""].lengtho&&(r=t),r}const P3=J({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:w3(),setup(e,t){let{attrs:n,expose:o,emit:r}=t;const a=Ht(),l=ln.useInject(),i=P(()=>Vo(l.status,e.status)),s=Y(e.value===void 0?e.defaultValue:e.value),u=Y(),c=Y(""),{prefixCls:d,size:p,direction:g}=Ee("input",e),[m,h]=Yg(d),b=gn(),y=P(()=>e.showCount===""||e.showCount||!1),S=P(()=>Number(e.maxlength)>0),$=Y(!1),x=Y(),C=Y(0),O=E=>{$.value=!0,x.value=c.value,C.value=E.currentTarget.selectionStart,r("compositionstart",E)},w=E=>{var k;$.value=!1;let B=E.currentTarget.value;if(S.value){const L=C.value>=e.maxlength+1||C.value===((k=x.value)===null||k===void 0?void 0:k.length);B=Sy(L,x.value,B,e.maxlength)}B!==c.value&&(D(B),Rl(E.currentTarget,E,H,B)),r("compositionend",E)},M=Dn();ue(()=>e.value,()=>{var E;"value"in M.vnode.props,s.value=(E=e.value)!==null&&E!==void 0?E:""});const I=E=>{var k;$3((k=u.value)===null||k===void 0?void 0:k.textArea,E)},_=()=>{var E,k;(k=(E=u.value)===null||E===void 0?void 0:E.textArea)===null||k===void 0||k.blur()},D=(E,k)=>{s.value!==E&&(e.value===void 0?s.value=E:lt(()=>{var B,L,j;u.value.textArea.value!==c.value&&((j=(B=u.value)===null||B===void 0?void 0:(L=B.instance).update)===null||j===void 0||j.call(L))}),lt(()=>{k&&k()}))},F=E=>{E.keyCode===13&&r("pressEnter",E),r("keydown",E)},z=E=>{const{onBlur:k}=e;k==null||k(E),a.onFieldBlur()},H=E=>{r("update:value",E.target.value),r("change",E),r("input",E),a.onFieldChange()},T=E=>{Rl(u.value.textArea,E,H),D("",()=>{I()})},A=E=>{const{composing:k}=E.target;let B=E.target.value;if($.value=!!(E.isComposing||k),!($.value&&e.lazy||s.value===B)){if(S.value){const L=E.target,j=L.selectionStart>=e.maxlength+1||L.selectionStart===B.length||!L.selectionStart;B=Sy(j,c.value,B,e.maxlength)}Rl(E.currentTarget,E,H,B),D(B)}},R=()=>{var E,k;const{class:B}=n,{bordered:L=!0}=e,j=v(v(v({},qe(e,["allowClear"])),n),{class:[{[`${d.value}-borderless`]:!L,[`${B}`]:B&&!y.value,[`${d.value}-sm`]:p.value==="small",[`${d.value}-lg`]:p.value==="large"},Tn(d.value,i.value),h.value],disabled:b.value,showCount:null,prefixCls:d.value,onInput:A,onChange:A,onBlur:z,onKeydown:F,onCompositionstart:O,onCompositionend:w});return!((E=e.valueModifiers)===null||E===void 0)&&E.lazy&&delete j.onInput,f(SK,N(N({},j),{},{id:(k=j==null?void 0:j.id)!==null&&k!==void 0?k:a.id.value,ref:u,maxlength:e.maxlength}),null)};return o({focus:I,blur:_,resizableTextArea:u}),Le(()=>{let E=xp(s.value);!$.value&&S.value&&(e.value===null||e.value===void 0)&&(E=O3(E,e.maxlength)),c.value=E}),()=>{var E;const{maxlength:k,bordered:B=!0,hidden:L}=e,{style:j,class:K}=n,G=v(v(v({},e),n),{prefixCls:d.value,inputType:"text",handleReset:T,direction:g.value,bordered:B,style:y.value?void 0:j,hashId:h.value,disabled:(E=e.disabled)!==null&&E!==void 0?E:b.value});let U=f(vK,N(N({},G),{},{value:c.value,status:e.status}),{element:R});if(y.value||l.hasFeedback){const X=[...c.value].length;let ee="";typeof y.value=="object"?ee=y.value.formatter({value:c.value,count:X,maxlength:k}):ee=`${X}${S.value?` / ${k}`:""}`,U=f("div",{hidden:L,class:te(`${d.value}-textarea`,{[`${d.value}-textarea-rtl`]:g.value==="rtl",[`${d.value}-textarea-show-count`]:y.value,[`${d.value}-textarea-in-form-item`]:l.isFormItemInput},`${d.value}-textarea-show-count`,K,h.value),style:j,"data-count":typeof ee!="object"?ee:void 0},[U,l.hasFeedback&&f("span",{class:`${d.value}-textarea-suffix`},[l.feedbackIcon])])}return m(U)}}});var $K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const CK=$K;function $y(e){for(var t=1;te?f(mh,null,null):f(IK,null,null),_K=J({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:v(v({},cu()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:o,expose:r,emit:a}=t;const l=Y(!1),i=()=>{const{disabled:b}=e;b||(l.value=!l.value,a("update:visible",l.value))};Le(()=>{e.visible!==void 0&&(l.value=!!e.visible)});const s=Y();r({focus:()=>{var b;(b=s.value)===null||b===void 0||b.focus()},blur:()=>{var b;(b=s.value)===null||b===void 0||b.blur()}});const d=b=>{const{action:y,iconRender:S=n.iconRender||EK}=e,$=MK[y]||"",x=S(l.value),C={[$]:i,class:`${b}-icon`,key:"passwordIcon",onMousedown:O=>{O.preventDefault()},onMouseup:O=>{O.preventDefault()}};return ut(kt(x)?x:f("span",null,[x]),C)},{prefixCls:p,getPrefixCls:g}=Ee("input-password",e),m=P(()=>g("input",e.inputPrefixCls)),h=()=>{const{size:b,visibilityToggle:y}=e,S=TK(e,["size","visibilityToggle"]),$=y&&d(p.value),x=te(p.value,o.class,{[`${p.value}-${b}`]:!!b}),C=v(v(v({},qe(S,["suffix","iconRender","action"])),o),{type:l.value?"text":"password",class:x,prefixCls:m.value,suffix:$});return b&&(C.size=b),f(Wt,N({ref:s},C),n)};return()=>h()}});Wt.Group=cK;Wt.Search=dK;Wt.TextArea=P3;Wt.Password=_K;Wt.install=function(e){return e.component(Wt.name,Wt),e.component(Wt.Group.name,Wt.Group),e.component(Wt.Search.name,Wt.Search),e.component(Wt.TextArea.name,Wt.TextArea),e.component(Wt.Password.name,Wt.Password),e};function DK(){const e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function Zs(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function uu(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:V.shape({x:Number,y:Number}).loose,title:V.any,footer:V.any,transitionName:String,maskTransitionName:String,animation:V.any,maskAnimation:V.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:V.any,maskProps:V.any,wrapProps:V.any,getContainer:V.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:V.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function xy(e,t,n){let o=t;return!o&&n&&(o=`${e}-${n}`),o}let wy=-1;function AK(){return wy+=1,wy}function Oy(e,t){let n=e[`page${t?"Y":"X"}Offset`];const o=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function RK(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow;return n.left+=Oy(r),n.top+=Oy(r,!0),n}const Py={width:0,height:0,overflow:"hidden",outline:"none"},NK=J({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:v(v({},uu()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const a=Z(),l=Z(),i=Z();n({focus:()=>{var p;(p=a.value)===null||p===void 0||p.focus()},changeActive:p=>{const{activeElement:g}=document;p&&g===l.value?a.value.focus():!p&&g===a.value&&l.value.focus()}});const s=Z(),u=P(()=>{const{width:p,height:g}=e,m={};return p!==void 0&&(m.width=typeof p=="number"?`${p}px`:p),g!==void 0&&(m.height=typeof g=="number"?`${g}px`:g),s.value&&(m.transformOrigin=s.value),m}),c=()=>{lt(()=>{if(i.value){const p=RK(i.value);s.value=e.mousePosition?`${e.mousePosition.x-p.left}px ${e.mousePosition.y-p.top}px`:""}})},d=p=>{e.onVisibleChanged(p)};return()=>{var p,g,m,h;const{prefixCls:b,footer:y=(p=o.footer)===null||p===void 0?void 0:p.call(o),title:S=(g=o.title)===null||g===void 0?void 0:g.call(o),ariaId:$,closable:x,closeIcon:C=(m=o.closeIcon)===null||m===void 0?void 0:m.call(o),onClose:O,bodyStyle:w,bodyProps:M,onMousedown:I,onMouseup:_,visible:D,modalRender:F=o.modalRender,destroyOnClose:z,motionName:H}=e;let T;y&&(T=f("div",{class:`${b}-footer`},[y]));let A;S&&(A=f("div",{class:`${b}-header`},[f("div",{class:`${b}-title`,id:$},[S])]));let R;x&&(R=f("button",{type:"button",onClick:O,"aria-label":"Close",class:`${b}-close`},[C||f("span",{class:`${b}-close-x`},null)]));const E=f("div",{class:`${b}-content`},[R,A,f("div",N({class:`${b}-body`,style:w},M),[(h=o.default)===null||h===void 0?void 0:h.call(o)]),T]),k=bo(H);return f(rn,N(N({},k),{},{onBeforeEnter:c,onAfterEnter:()=>d(!0),onAfterLeave:()=>d(!1)}),{default:()=>[D||!z?Kt(f("div",N(N({},r),{},{ref:i,key:"dialog-element",role:"document",style:[u.value,r.style],class:[b,r.class],onMousedown:I,onMouseup:_}),[f("div",{tabindex:0,ref:a,style:Py,"aria-hidden":"true"},null),F?F({originVNode:E}):E,f("div",{tabindex:0,ref:l,style:Py,"aria-hidden":"true"},null)]),[[Wn,D]]):null]})}}}),kK=J({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:o,maskProps:r,motionName:a}=e,l=bo(a);return f(rn,l,{default:()=>[Kt(f("div",N({class:`${n}-mask`},r),null),[[Wn,o]])]})}}}),Iy=J({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:rt(v(v({},uu()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:o}=t;const r=Y(),a=Y(),l=Y(),i=Y(e.visible),s=Y(`vcDialogTitle${AK()}`),u=y=>{var S,$;if(y)er(a.value,document.activeElement)||(r.value=document.activeElement,(S=l.value)===null||S===void 0||S.focus());else{const x=i.value;if(i.value=!1,e.mask&&r.value&&e.focusTriggerAfterClose){try{r.value.focus({preventScroll:!0})}catch{}r.value=null}x&&(($=e.afterClose)===null||$===void 0||$.call(e))}},c=y=>{var S;(S=e.onClose)===null||S===void 0||S.call(e,y)},d=Y(!1),p=Y(),g=()=>{clearTimeout(p.value),d.value=!0},m=()=>{p.value=setTimeout(()=>{d.value=!1})},h=y=>{if(!e.maskClosable)return null;d.value?d.value=!1:a.value===y.target&&c(y)},b=y=>{if(e.keyboard&&y.keyCode===$e.ESC){y.stopPropagation(),c(y);return}e.visible&&y.keyCode===$e.TAB&&l.value.changeActive(!y.shiftKey)};return ue(()=>e.visible,()=>{e.visible&&(i.value=!0)},{flush:"post"}),Je(()=>{var y;clearTimeout(p.value),(y=e.scrollLocker)===null||y===void 0||y.unLock()}),Le(()=>{var y,S;(y=e.scrollLocker)===null||y===void 0||y.unLock(),i.value&&((S=e.scrollLocker)===null||S===void 0||S.lock())}),()=>{const{prefixCls:y,mask:S,visible:$,maskTransitionName:x,maskAnimation:C,zIndex:O,wrapClassName:w,rootClassName:M,wrapStyle:I,closable:_,maskProps:D,maskStyle:F,transitionName:z,animation:H,wrapProps:T,title:A=o.title}=e,{style:R,class:E}=n;return f("div",N({class:[`${y}-root`,M]},dr(e,{data:!0})),[f(kK,{prefixCls:y,visible:S&&$,motionName:xy(y,x,C),style:v({zIndex:O},F),maskProps:D},null),f("div",N({tabIndex:-1,onKeydown:b,class:te(`${y}-wrap`,w),ref:a,onClick:h,role:"dialog","aria-labelledby":A?s.value:null,style:v(v({zIndex:O},I),{display:i.value?null:"none"})},T),[f(NK,N(N({},qe(e,["scrollLocker"])),{},{style:R,class:E,onMousedown:g,onMouseup:m,ref:l,closable:_,ariaId:s.value,prefixCls:y,visible:$,onClose:c,onVisibleChanged:u,motionName:xy(y,z,H)}),o)])])}}}),BK=uu(),FK=J({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:rt(BK,{visible:!1}),setup(e,t){let{attrs:n,slots:o}=t;const r=Z(e.visible);return Lv({},{inTriggerContext:!1}),ue(()=>e.visible,()=>{e.visible&&(r.value=!0)},{flush:"post"}),()=>{const{visible:a,getContainer:l,forceRender:i,destroyOnClose:s=!1,afterClose:u}=e;let c=v(v(v({},e),n),{ref:"_component",key:"dialog"});return l===!1?f(Iy,N(N({},c),{},{getOpenCount:()=>2}),o):!i&&s&&!r.value?null:f(zv,{autoLock:!0,visible:a,forceRender:i,getContainer:l},{default:d=>(c=v(v(v({},c),d),{afterClose:()=>{u==null||u(),r.value=!1}}),f(Iy,c,o))})}}}),I3=FK;function LK(e){const t=Z(null),n=vt(v({},e)),o=Z([]),r=a=>{t.value===null&&(o.value=[],t.value=We(()=>{let l;o.value.forEach(i=>{l=v(v({},l),i)}),v(n,l),t.value=null})),o.value.push(a)};return Ve(()=>{t.value&&We.cancel(t.value)}),[n,r]}function Ty(e,t,n,o){const r=t+n,a=(n-o)/2;if(n>o){if(t>0)return{[e]:a};if(t<0&&ro)return{[e]:t<0?a:-a};return{}}function zK(e,t,n,o){const{width:r,height:a}=DK();let l=null;return e<=r&&t<=a?l={x:0,y:0}:(e>r||t>a)&&(l=v(v({},Ty("x",n,e,r)),Ty("y",o,t,a))),l}var HK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{Ke(My,e)},inject:()=>Xe(My,{isPreviewGroup:Y(!1),previewUrls:P(()=>new Map),setPreviewUrls:()=>{},current:Z(null),setCurrent:()=>{},setShowPreview:()=>{},setMousePosition:()=>{},registerImage:null,rootClassName:""})},jK=()=>({previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:()=>({})}}),VK=J({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:jK(),setup(e,t){let{slots:n}=t;const o=P(()=>{const C={visible:void 0,onVisibleChange:()=>{},getContainer:void 0,current:0};return typeof e.preview=="object"?_3(e.preview,C):C}),r=vt(new Map),a=Z(),l=P(()=>o.value.visible),i=P(()=>o.value.getContainer),s=(C,O)=>{var w,M;(M=(w=o.value).onVisibleChange)===null||M===void 0||M.call(w,C,O)},[u,c]=Ot(!!l.value,{value:l,onChange:s}),d=Z(null),p=P(()=>l.value!==void 0),g=P(()=>Array.from(r.keys())),m=P(()=>g.value[o.value.current]),h=P(()=>new Map(Array.from(r).filter(C=>{let[,{canPreview:O}]=C;return!!O}).map(C=>{let[O,{url:w}]=C;return[O,w]}))),b=function(C,O){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;r.set(C,{url:O,canPreview:w})},y=C=>{a.value=C},S=C=>{d.value=C},$=function(C,O){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const M=()=>{r.delete(C)};return r.set(C,{url:O,canPreview:w}),M},x=C=>{C==null||C.stopPropagation(),c(!1),S(null)};return ue(m,C=>{y(C)},{immediate:!0,flush:"post"}),Le(()=>{u.value&&p.value&&y(m.value)},{flush:"post"}),yh.provide({isPreviewGroup:Y(!0),previewUrls:h,setPreviewUrls:b,current:a,setCurrent:y,setShowPreview:c,setMousePosition:S,registerImage:$}),()=>{const C=HK(o.value,[]);return f(nt,null,[n.default&&n.default(),f(M3,N(N({},C),{},{"ria-hidden":!u.value,visible:u.value,prefixCls:e.previewPrefixCls,onClose:x,mousePosition:d.value,src:h.value.get(a.value),icons:e.icons,getContainer:i.value}),null)])}}}),T3=VK,br={x:0,y:0},WK=v(v({},uu()),{src:String,alt:String,rootClassName:String,icons:{type:Object,default:()=>({})}}),KK=J({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:WK,emits:["close","afterClose"],setup(e,t){let{emit:n,attrs:o}=t;const{rotateLeft:r,rotateRight:a,zoomIn:l,zoomOut:i,close:s,left:u,right:c,flipX:d,flipY:p}=vt(e.icons),g=Y(1),m=Y(0),h=vt({x:1,y:1}),[b,y]=LK(br),S=()=>n("close"),$=Y(),x=vt({originX:0,originY:0,deltaX:0,deltaY:0}),C=Y(!1),O=yh.inject(),{previewUrls:w,current:M,isPreviewGroup:I,setCurrent:_}=O,D=P(()=>w.value.size),F=P(()=>Array.from(w.value.keys())),z=P(()=>F.value.indexOf(M.value)),H=P(()=>I.value?w.value.get(M.value):e.src),T=P(()=>I.value&&D.value>1),A=Y({wheelDirection:0}),R=()=>{g.value=1,m.value=0,h.x=1,h.y=1,y(br),n("afterClose")},E=se=>{se?g.value+=.5:g.value++,y(br)},k=se=>{g.value>1&&(se?g.value-=.5:g.value--),y(br)},B=()=>{m.value+=90},L=()=>{m.value-=90},j=()=>{h.x=-h.x},K=()=>{h.y=-h.y},G=se=>{se.preventDefault(),se.stopPropagation(),z.value>0&&_(F.value[z.value-1])},U=se=>{se.preventDefault(),se.stopPropagation(),z.valueE(),type:"zoomIn"},{icon:i,onClick:()=>k(),type:"zoomOut",disabled:P(()=>g.value===1)},{icon:a,onClick:B,type:"rotateRight"},{icon:r,onClick:L,type:"rotateLeft"},{icon:d,onClick:j,type:"flipX"},{icon:p,onClick:K,type:"flipY"}],W=()=>{if(e.visible&&C.value){const se=$.value.offsetWidth*g.value,ie=$.value.offsetHeight*g.value,{left:fe,top:Se}=Zs($.value),Ie=m.value%180!==0;C.value=!1;const ge=zK(Ie?ie:se,Ie?se:ie,fe,Se);ge&&y(v({},ge))}},q=se=>{se.button===0&&(se.preventDefault(),se.stopPropagation(),x.deltaX=se.pageX-b.x,x.deltaY=se.pageY-b.y,x.originX=b.x,x.originY=b.y,C.value=!0)},re=se=>{e.visible&&C.value&&y({x:se.pageX-x.deltaX,y:se.pageY-x.deltaY})},le=se=>{if(!e.visible)return;se.preventDefault();const ie=se.deltaY;A.value={wheelDirection:ie}},ye=se=>{!e.visible||!T.value||(se.preventDefault(),se.keyCode===$e.LEFT?z.value>0&&_(F.value[z.value-1]):se.keyCode===$e.RIGHT&&z.value{e.visible&&(g.value!==1&&(g.value=1),(b.x!==br.x||b.y!==br.y)&&y(br))};let ce=()=>{};return Ve(()=>{ue([()=>e.visible,C],()=>{ce();let se,ie;const fe=wt(window,"mouseup",W,!1),Se=wt(window,"mousemove",re,!1),Ie=wt(window,"wheel",le,{passive:!1}),ge=wt(window,"keydown",ye,!1);try{window.top!==window.self&&(se=wt(window.top,"mouseup",W,!1),ie=wt(window.top,"mousemove",re,!1))}catch{}ce=()=>{fe.remove(),Se.remove(),Ie.remove(),ge.remove(),se&&se.remove(),ie&&ie.remove()}},{flush:"post",immediate:!0}),ue([A],()=>{const{wheelDirection:se}=A.value;se>0?k(!0):se<0&&E(!0)})}),An(()=>{ce()}),()=>{const{visible:se,prefixCls:ie,rootClassName:fe}=e;return f(I3,N(N({},o),{},{transitionName:e.transitionName,maskTransitionName:e.maskTransitionName,closable:!1,keyboard:!0,prefixCls:ie,onClose:S,afterClose:R,visible:se,wrapClassName:X,rootClassName:fe,getContainer:e.getContainer}),{default:()=>[f("div",{class:[`${e.prefixCls}-operations-wrapper`,fe]},[f("ul",{class:`${e.prefixCls}-operations`},[Q.map(Se=>{let{icon:Ie,onClick:ge,type:Oe,disabled:we}=Se;return f("li",{class:te(ee,{[`${e.prefixCls}-operations-operation-disabled`]:we&&(we==null?void 0:we.value)}),onClick:ge,key:Oe},[ko(Ie,{class:oe})])})])]),f("div",{class:`${e.prefixCls}-img-wrapper`,style:{transform:`translate3d(${b.x}px, ${b.y}px, 0)`}},[f("img",{onMousedown:q,onDblclick:me,ref:$,class:`${e.prefixCls}-img`,src:H.value,alt:e.alt,style:{transform:`scale3d(${h.x*g.value}, ${h.y*g.value}, 1) rotate(${m.value}deg)`}},null)]),T.value&&f("div",{class:te(`${e.prefixCls}-switch-left`,{[`${e.prefixCls}-switch-left-disabled`]:z.value<=0}),onClick:G},[u]),T.value&&f("div",{class:te(`${e.prefixCls}-switch-right`,{[`${e.prefixCls}-switch-right-disabled`]:z.value>=D.value-1}),onClick:U},[c])]})}}}),M3=KK;var GK=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,previewMask:{type:[Boolean,Function],default:void 0},placeholder:V.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}),_3=(e,t)=>{const n=v({},e);return Object.keys(t).forEach(o=>{e[o]===void 0&&(n[o]=t[o])}),n};let XK=0;const D3=J({compatConfig:{MODE:3},name:"VcImage",inheritAttrs:!1,props:E3(),emits:["click","error"],setup(e,t){let{attrs:n,slots:o,emit:r}=t;const a=P(()=>e.prefixCls),l=P(()=>`${a.value}-preview`),i=P(()=>{const E={visible:void 0,onVisibleChange:()=>{},getContainer:void 0};return typeof e.preview=="object"?_3(e.preview,E):E}),s=P(()=>{var E;return(E=i.value.src)!==null&&E!==void 0?E:e.src}),u=P(()=>e.placeholder&&e.placeholder!==!0||o.placeholder),c=P(()=>i.value.visible),d=P(()=>i.value.getContainer),p=P(()=>c.value!==void 0),g=(E,k)=>{var B,L;(L=(B=i.value).onVisibleChange)===null||L===void 0||L.call(B,E,k)},[m,h]=Ot(!!c.value,{value:c,onChange:g}),b=Z(u.value?"loading":"normal");ue(()=>e.src,()=>{b.value=u.value?"loading":"normal"});const y=Z(null),S=P(()=>b.value==="error"),$=yh.inject(),{isPreviewGroup:x,setCurrent:C,setShowPreview:O,setMousePosition:w,registerImage:M}=$,I=Z(XK++),_=P(()=>e.preview&&!S.value),D=()=>{b.value="normal"},F=E=>{b.value="error",r("error",E)},z=E=>{if(!p.value){const{left:k,top:B}=Zs(E.target);x.value?(C(I.value),w({x:k,y:B})):y.value={x:k,y:B}}x.value?O(!0):h(!0),r("click",E)},H=()=>{h(!1),p.value||(y.value=null)},T=Z(null);ue(()=>T,()=>{b.value==="loading"&&T.value.complete&&(T.value.naturalWidth||T.value.naturalHeight)&&D()});let A=()=>{};Ve(()=>{ue([s,_],()=>{if(A(),!x.value)return()=>{};A=M(I.value,s.value,_.value),_.value||A()},{flush:"post",immediate:!0})}),An(()=>{A()});const R=E=>UI(E)?E+"px":E;return()=>{const{prefixCls:E,wrapperClassName:k,fallback:B,src:L,placeholder:j,wrapperStyle:K,rootClassName:G}=e,{width:U,height:X,crossorigin:ee,decoding:oe,alt:Q,sizes:W,srcset:q,usemap:re,class:le,style:ye}=n,me=i.value,{icons:ce,maskClassName:se}=me,ie=GK(me,["icons","maskClassName"]),fe=te(E,k,G,{[`${E}-error`]:S.value}),Se=S.value&&B?B:s.value,Ie={crossorigin:ee,decoding:oe,alt:Q,sizes:W,srcset:q,usemap:re,width:U,height:X,class:te(`${E}-img`,{[`${E}-img-placeholder`]:j===!0},le),style:v({height:R(X)},ye)};return f(nt,null,[f("div",{class:fe,onClick:_.value?z:ge=>{r("click",ge)},style:v({width:R(U),height:R(X)},K)},[f("img",N(N(N({},Ie),S.value&&B?{src:B}:{onLoad:D,onError:F,src:L}),{},{ref:T}),null),b.value==="loading"&&f("div",{"aria-hidden":"true",class:`${E}-placeholder`},[j||o.placeholder&&o.placeholder()]),o.previewMask&&_.value&&f("div",{class:[`${E}-mask`,se]},[o.previewMask()])]),!x.value&&_.value&&f(M3,N(N({},ie),{},{"aria-hidden":!m.value,visible:m.value,prefixCls:l.value,onClose:H,mousePosition:y.value,src:Se,alt:Q,getContainer:d.value,icons:ce,rootClassName:G}),null)])}}});D3.PreviewGroup=T3;const UK=D3;var YK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const qK=YK;function Ey(e){for(var t=1;t{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:v(v({},ky("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:v(v({},ky("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:bx(e)}]},vG=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:v(v({},et(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:v({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Lo(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},gG=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:v({},ro()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, + ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},hG=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},mG=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[o]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${o}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${o}-title + ${o}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${o}-btns`]:{marginTop:e.marginLG}}}},bG=Qe("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5,r=ze(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:o,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:o*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[vG(r),gG(r),hG(r),A3(r),e.wireframe&&mG(r),el(r,"zoom")]}),wp=e=>({position:e||"absolute",inset:0}),yG=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:o,marginXXS:r,prefixCls:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new st("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${a}-mask-info`]:v(v({},mn),{padding:`0 ${o}px`,[t]:{marginInlineEnd:r,svg:{verticalAlign:"baseline"}}})}},SG=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:o,previewOperationColorDisabled:r,motionDurationSlow:a}=e,l=new st(n).setAlpha(.1),i=l.clone().setAlpha(.2);return{[`${t}-operations`]:v(v({},et(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.previewOperationColor,listStyle:"none",background:l.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:o,padding:o,cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:i.toRgbString()},"&-disabled":{color:r,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.previewOperationSize}})}},$G=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:o,previewCls:r,zIndexPopup:a,motionDurationSlow:l}=e,i=new st(t).setAlpha(.1),s=i.clone().setAlpha(.2);return{[`${r}-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:a+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:i.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${l}`,pointerEvents:"auto",userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:o,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${r}-switch-left`]:{insetInlineStart:e.marginSM},[`${r}-switch-right`]:{insetInlineEnd:e.marginSM}}},CG=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r}=e;return[{[`${r}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:v(v({},wp()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${o} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":v(v({},wp()),{transition:`transform ${o} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${r}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[SG(e),$G(e)]}]},xG=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:v({},yG(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:v({},wp())}}},wG=e=>{const{previewCls:t}=e;return{[`${t}-root`]:el(e,"zoom"),"&":bx(e,!0)}},R3=Qe("Image",e=>{const t=`${e.componentCls}-preview`,n=ze(e,{previewCls:t,modalMaskBg:new st("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[xG(n),CG(n),A3(ze(n,{componentCls:t})),wG(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new st(e.colorTextLightSolid).toRgbString(),previewOperationColorDisabled:new st(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),N3={rotateLeft:f(ZK,null,null),rotateRight:f(nG,null,null),zoomIn:f(lG,null,null),zoomOut:f(uG,null,null),close:f(io,null,null),left:f(Wa,null,null),right:f(sr,null,null),flipX:f(Ny,null,null),flipY:f(Ny,{rotate:90},null)},OG=()=>({previewPrefixCls:String,preview:xt()}),PG=J({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:OG(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,rootPrefixCls:a}=Ee("image",e),l=P(()=>`${r.value}-preview`),[i,s]=R3(r),u=P(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return v(v({},d),{rootClassName:s.value,transitionName:en(a.value,"zoom",d.transitionName),maskTransitionName:en(a.value,"fade",d.maskTransitionName)})});return()=>i(f(T3,N(N({},v(v({},n),e)),{},{preview:u.value,icons:N3,previewPrefixCls:l.value}),o))}}),IG=PG,Tr=J({name:"AImage",inheritAttrs:!1,props:E3(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,rootPrefixCls:a,configProvider:l}=Ee("image",e),[i,s]=R3(r),u=P(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return v(v({icons:N3},d),{transitionName:en(a.value,"zoom",d.transitionName),maskTransitionName:en(a.value,"fade",d.maskTransitionName)})});return()=>{var c,d;const p=((d=(c=l.locale)===null||c===void 0?void 0:c.value)===null||d===void 0?void 0:d.Image)||Gn.Image,g=()=>f("div",{class:`${r.value}-mask-info`},[f(mh,null,null),p==null?void 0:p.preview]),{previewMask:m=n.previewMask||g}=e;return i(f(UK,N(N({},v(v(v({},o),e),{prefixCls:r.value})),{},{preview:u.value,rootClassName:te(e.rootClassName,s.value)}),v(v({},n),{previewMask:typeof m=="function"?m:null})))}}});Tr.PreviewGroup=IG;Tr.install=function(e){return e.component(Tr.name,Tr),e.component(Tr.PreviewGroup.name,Tr.PreviewGroup),e};const Soe=Tr;var TG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const MG=TG;function By(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(Op()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new Mr(Number.MAX_SAFE_INTEGER);if(o0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":Ih(this.number):this.origin}}class ma{constructor(t){if(this.origin="",k3(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(Ph(n)&&(n=Number(n)),n=typeof n=="string"?n:Ih(n),Th(n)){const o=Nl(n);this.negative=o.negative;const r=o.trimStr.split(".");this.integer=BigInt(r[0]);const a=r[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new ma(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new ma(t);const n=new ma(t);if(n.isInvalidate())return this;const o=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),r=this.alignDecimal(o),a=n.alignDecimal(o),l=(r+a).toString(),{negativeStr:i,trimStr:s}=Nl(l),u=`${i}${s.padStart(o+1,"0")}`;return new ma(`${u.slice(0,-o)}.${u.slice(-o)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":Nl(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function fo(e){return Op()?new ma(e):new Mr(e)}function Pp(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:r,integerStr:a,decimalStr:l}=Nl(e),i=`${t}${l}`,s=`${r}${a}`;if(n>=0){const u=Number(l[n]);if(u>=5&&!o){const c=fo(e).add(`${r}0.${"0".repeat(n)}${10-u}`);return Pp(c.toString(),t,n,o)}return n===0?s:`${s}${t}${l.padEnd(n,"0").slice(0,n)}`}return i===".0"?s:`${s}${i}`}const DG=200,AG=600,RG=J({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:de()},slots:Object,setup(e,t){let{slots:n,emit:o}=t;const r=Z(),a=(i,s)=>{i.preventDefault(),o("step",s);function u(){o("step",s),r.value=setTimeout(u,DG)}r.value=setTimeout(u,AG)},l=()=>{clearTimeout(r.value)};return Je(()=>{l()}),()=>{if(jv())return null;const{prefixCls:i,upDisabled:s,downDisabled:u}=e,c=`${i}-handler`,d=te(c,`${c}-up`,{[`${c}-up-disabled`]:s}),p=te(c,`${c}-down`,{[`${c}-down-disabled`]:u}),g={unselectable:"on",role:"button",onMouseup:l,onMouseleave:l},{upNode:m,downNode:h}=n;return f("div",{class:`${c}-wrap`},[f("span",N(N({},g),{},{onMousedown:b=>{a(b,!0)},"aria-label":"Increase Value","aria-disabled":s,class:d}),[(m==null?void 0:m())||f("span",{unselectable:"on",class:`${i}-handler-up-inner`},null)]),f("span",N(N({},g),{},{onMousedown:b=>{a(b,!1)},"aria-label":"Decrease Value","aria-disabled":u,class:p}),[(h==null?void 0:h())||f("span",{unselectable:"on",class:`${i}-handler-down-inner`},null)])])}}});function NG(e,t){const n=Z(null);function o(){try{const{selectionStart:a,selectionEnd:l,value:i}=e.value,s=i.substring(0,a),u=i.substring(l);n.value={start:a,end:l,value:i,beforeTxt:s,afterTxt:u}}catch{}}function r(){if(e.value&&n.value&&t.value)try{const{value:a}=e.value,{beforeTxt:l,afterTxt:i,start:s}=n.value;let u=a.length;if(a.endsWith(i))u=a.length-n.value.afterTxt.length;else if(a.startsWith(l))u=l.length;else{const c=l[s-1],d=a.indexOf(c,s-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}catch(a){`${a.message}`}}return[o,r]}const kG=()=>{const e=Y(0),t=()=>{We.cancel(e.value)};return Je(()=>{t()}),n=>{t(),e.value=We(()=>{n()})}};var BG=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re||t.isEmpty()?t.toString():t.toNumber(),Ly=e=>{const t=fo(e);return t.isInvalidate()?null:t},B3=()=>({stringMode:Ce(),defaultValue:Ge([String,Number]),value:Ge([String,Number]),prefixCls:je(),min:Ge([String,Number]),max:Ge([String,Number]),step:Ge([String,Number],1),tabindex:Number,controls:Ce(!0),readonly:Ce(),disabled:Ce(),autofocus:Ce(),keyboard:Ce(!0),parser:de(),formatter:de(),precision:Number,decimalSeparator:String,onInput:de(),onChange:de(),onPressEnter:de(),onStep:de(),onBlur:de(),onFocus:de()}),FG=J({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:v(v({},B3()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:a}=t;const l=Y(),i=Y(!1),s=Y(!1),u=Y(!1),c=Y(fo(e.value));function d(L){e.value===void 0&&(c.value=L)}const p=(L,j)=>{if(!j)return e.precision>=0?e.precision:Math.max(ti(L),ti(e.step))},g=L=>{const j=String(L);if(e.parser)return e.parser(j);let K=j;return e.decimalSeparator&&(K=K.replace(e.decimalSeparator,".")),K.replace(/[^\w.-]+/g,"")},m=Y(""),h=(L,j)=>{if(e.formatter)return e.formatter(L,{userTyping:j,input:String(m.value)});let K=typeof L=="number"?Ih(L):L;if(!j){const G=p(K,j);if(Th(K)&&(e.decimalSeparator||G>=0)){const U=e.decimalSeparator||".";K=Pp(K,U,G)}}return K},b=(()=>{const L=e.value;return c.value.isInvalidate()&&["string","number"].includes(typeof L)?Number.isNaN(L)?"":L:h(c.value.toString(),!1)})();m.value=b;function y(L,j){m.value=h(L.isInvalidate()?L.toString(!1):L.toString(!j),j)}const S=P(()=>Ly(e.max)),$=P(()=>Ly(e.min)),x=P(()=>!S.value||!c.value||c.value.isInvalidate()?!1:S.value.lessEquals(c.value)),C=P(()=>!$.value||!c.value||c.value.isInvalidate()?!1:c.value.lessEquals($.value)),[O,w]=NG(l,i),M=L=>S.value&&!L.lessEquals(S.value)?S.value:$.value&&!$.value.lessEquals(L)?$.value:null,I=L=>!M(L),_=(L,j)=>{var K;let G=L,U=I(G)||G.isEmpty();if(!G.isEmpty()&&!j&&(G=M(G)||G,U=!0),!e.readonly&&!e.disabled&&U){const X=G.toString(),ee=p(X,j);return ee>=0&&(G=fo(Pp(X,".",ee))),G.equals(c.value)||(d(G),(K=e.onChange)===null||K===void 0||K.call(e,G.isEmpty()?null:Fy(e.stringMode,G)),e.value===void 0&&y(G,j)),G}return c.value},D=kG(),F=L=>{var j;if(O(),m.value=L,!u.value){const K=g(L),G=fo(K);G.isNaN()||_(G,!0)}(j=e.onInput)===null||j===void 0||j.call(e,L),D(()=>{let K=L;e.parser||(K=L.replace(/。/g,".")),K!==L&&F(K)})},z=()=>{u.value=!0},H=()=>{u.value=!1,F(l.value.value)},T=L=>{F(L.target.value)},A=L=>{var j,K;if(L&&x.value||!L&&C.value)return;s.value=!1;let G=fo(e.step);L||(G=G.negate());const U=(c.value||fo(0)).add(G.toString()),X=_(U,!1);(j=e.onStep)===null||j===void 0||j.call(e,Fy(e.stringMode,X),{offset:e.step,type:L?"up":"down"}),(K=l.value)===null||K===void 0||K.focus()},R=L=>{const j=fo(g(m.value));let K=j;j.isNaN()?K=c.value:K=_(j,L),e.value!==void 0?y(c.value,!1):K.isNaN()||y(K,!1)},E=L=>{var j;const{which:K}=L;s.value=!0,K===$e.ENTER&&(u.value||(s.value=!1),R(!1),(j=e.onPressEnter)===null||j===void 0||j.call(e,L)),e.keyboard!==!1&&!u.value&&[$e.UP,$e.DOWN].includes(K)&&(A($e.UP===K),L.preventDefault())},k=()=>{s.value=!1},B=L=>{R(!1),i.value=!1,s.value=!1,r("blur",L)};return ue(()=>e.precision,()=>{c.value.isInvalidate()||y(c.value,!1)},{flush:"post"}),ue(()=>e.value,()=>{const L=fo(e.value);c.value=L;const j=fo(g(m.value));(!L.equals(j)||!s.value||e.formatter)&&y(L,s.value)},{flush:"post"}),ue(m,()=>{e.formatter&&w()},{flush:"post"}),ue(()=>e.disabled,L=>{L&&(i.value=!1)}),a({focus:()=>{var L;(L=l.value)===null||L===void 0||L.focus()},blur:()=>{var L;(L=l.value)===null||L===void 0||L.blur()}}),()=>{const L=v(v({},n),e),{prefixCls:j="rc-input-number",min:K,max:G,step:U=1,defaultValue:X,value:ee,disabled:oe,readonly:Q,keyboard:W,controls:q=!0,autofocus:re,stringMode:le,parser:ye,formatter:me,precision:ce,decimalSeparator:se,onChange:ie,onInput:fe,onPressEnter:Se,onStep:Ie,lazy:ge,class:Oe,style:we}=L,ae=BG(L,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:ne,downHandler:pe}=o,xe=`${j}-input`,Te={};return ge?Te.onChange=T:Te.onInput=T,f("div",{class:te(j,Oe,{[`${j}-focused`]:i.value,[`${j}-disabled`]:oe,[`${j}-readonly`]:Q,[`${j}-not-a-number`]:c.value.isNaN(),[`${j}-out-of-range`]:!c.value.isInvalidate()&&!I(c.value)}),style:we,onKeydown:E,onKeyup:k},[q&&f(RG,{prefixCls:j,upDisabled:x.value,downDisabled:C.value,onStep:A},{upNode:ne,downNode:pe}),f("div",{class:`${xe}-wrap`},[f("input",N(N(N({autofocus:re,autocomplete:"off",role:"spinbutton","aria-valuemin":K,"aria-valuemax":G,"aria-valuenow":c.value.isInvalidate()?null:c.value.toString(),step:U},ae),{},{ref:l,class:xe,value:m.value,disabled:oe,readonly:Q,onFocus:ke=>{i.value=!0,r("focus",ke)}},Te),{},{onBlur:B,onCompositionstart:z,onCompositionend:H}),null)])])}}});function Ad(e){return e!=null}const LG=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorBorder:r,borderRadius:a,fontSizeLG:l,controlHeightLG:i,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:c,colorTextDescription:d,motionDurationMid:p,colorPrimary:g,controlHeight:m,inputPaddingHorizontal:h,colorBgContainer:b,colorTextDisabled:y,borderRadiusSM:S,borderRadiusLG:$,controlWidth:x,handleVisible:C}=e;return[{[t]:v(v(v(v({},et(e)),al(e)),qc(e,t)),{display:"inline-block",width:x,margin:0,padding:0,border:`${n}px ${o} ${r}`,borderRadius:a,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:l,borderRadius:$,[`input${t}-input`]:{height:i-2*n}},"&-sm":{padding:0,borderRadius:S,[`input${t}-input`]:{height:s-2*n,padding:`0 ${c}px`}},"&:hover":v({},rl(e)),"&-focused":v({},Wr(e)),"&-disabled":v(v({},jw(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":v(v(v({},et(e)),Ww(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:$}},"&-sm":{[`${t}-group-addon`]:{borderRadius:S}}}}),[t]:{"&-input":v(v({width:"100%",height:m-2*n,padding:`0 ${h}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${p} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},Hw(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:b,borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:C===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${o} ${r}`,transition:`all ${p} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:g}},"&-up-inner, &-down-inner":v(v({},ai()),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${o} ${r}`,borderEndEndRadius:a},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:y}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},zG=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:o,controlWidth:r,borderRadiusLG:a,borderRadiusSM:l}=e;return{[`${t}-affix-wrapper`]:v(v(v({},al(e)),qc(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:r,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:a},"&-sm":{borderRadius:l},[`&:not(${t}-affix-wrapper-disabled):hover`]:v(v({},rl(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:o}}})}},HG=Qe("InputNumber",e=>{const t=fi(e);return[LG(t),zG(t),tl(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var jG=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rv(v({},zy),{size:je(),bordered:Ce(!0),placeholder:String,name:String,id:String,type:String,addonBefore:V.any,addonAfter:V.any,prefix:V.any,"onUpdate:value":zy.onChange,valueModifiers:Object,status:je()}),Rd=J({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:VG(),slots:Object,setup(e,t){let{emit:n,expose:o,attrs:r,slots:a}=t;const l=Ht(),i=ln.useInject(),s=P(()=>Vo(i.status,e.status)),{prefixCls:u,size:c,direction:d,disabled:p}=Ee("input-number",e),{compactSize:g,compactItemClassnames:m}=fr(u,d),h=gn(),b=P(()=>{var F;return(F=p.value)!==null&&F!==void 0?F:h.value}),[y,S]=HG(u),$=P(()=>g.value||c.value),x=Y(e.value===void 0?e.defaultValue:e.value),C=Y(!1);ue(()=>e.value,()=>{x.value=e.value});const O=Y(null),w=()=>{var F;(F=O.value)===null||F===void 0||F.focus()};o({focus:w,blur:()=>{var F;(F=O.value)===null||F===void 0||F.blur()}});const I=F=>{e.value===void 0&&(x.value=F),n("update:value",F),n("change",F),l.onFieldChange()},_=F=>{C.value=!1,n("blur",F),l.onFieldBlur()},D=F=>{C.value=!0,n("focus",F)};return()=>{var F,z,H,T;const{hasFeedback:A,isFormItemInput:R,feedbackIcon:E}=i,k=(F=e.id)!==null&&F!==void 0?F:l.id.value,B=v(v(v({},r),e),{id:k,disabled:b.value}),{class:L,bordered:j,readonly:K,style:G,addonBefore:U=(z=a.addonBefore)===null||z===void 0?void 0:z.call(a),addonAfter:X=(H=a.addonAfter)===null||H===void 0?void 0:H.call(a),prefix:ee=(T=a.prefix)===null||T===void 0?void 0:T.call(a),valueModifiers:oe={}}=B,Q=jG(B,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),W=u.value,q=te({[`${W}-lg`]:$.value==="large",[`${W}-sm`]:$.value==="small",[`${W}-rtl`]:d.value==="rtl",[`${W}-readonly`]:K,[`${W}-borderless`]:!j,[`${W}-in-form-item`]:R},Tn(W,s.value),L,m.value,S.value);let re=f(FG,N(N({},qe(Q,["size","defaultValue"])),{},{ref:O,lazy:!!oe.lazy,value:x.value,class:q,prefixCls:W,readonly:K,onChange:I,onBlur:_,onFocus:D}),{upHandler:a.upIcon?()=>f("span",{class:`${W}-handler-up-inner`},[a.upIcon()]):()=>f(_G,{class:`${W}-handler-up-inner`},null),downHandler:a.downIcon?()=>f("span",{class:`${W}-handler-down-inner`},[a.downIcon()]):()=>f(Nc,{class:`${W}-handler-down-inner`},null)});const le=Ad(U)||Ad(X),ye=Ad(ee);if(ye||A){const me=te(`${W}-affix-wrapper`,Tn(`${W}-affix-wrapper`,s.value,A),{[`${W}-affix-wrapper-focused`]:C.value,[`${W}-affix-wrapper-disabled`]:b.value,[`${W}-affix-wrapper-sm`]:$.value==="small",[`${W}-affix-wrapper-lg`]:$.value==="large",[`${W}-affix-wrapper-rtl`]:d.value==="rtl",[`${W}-affix-wrapper-readonly`]:K,[`${W}-affix-wrapper-borderless`]:!j,[`${L}`]:!le&&L},S.value);re=f("div",{class:me,style:G,onClick:w},[ye&&f("span",{class:`${W}-prefix`},[ee]),re,A&&f("span",{class:`${W}-suffix`},[E])])}if(le){const me=`${W}-group`,ce=`${me}-addon`,se=U?f("div",{class:ce},[U]):null,ie=X?f("div",{class:ce},[X]):null,fe=te(`${W}-wrapper`,me,{[`${me}-rtl`]:d.value==="rtl"},S.value),Se=te(`${W}-group-wrapper`,{[`${W}-group-wrapper-sm`]:$.value==="small",[`${W}-group-wrapper-lg`]:$.value==="large",[`${W}-group-wrapper-rtl`]:d.value==="rtl"},Tn(`${u}-group-wrapper`,s.value,A),L,S.value);re=f("div",{class:Se,style:G},[f("div",{class:fe},[se&&f(Yl,null,{default:()=>[f(Fs,null,{default:()=>[se]})]}),re,ie&&f(Yl,null,{default:()=>[f(Fs,null,{default:()=>[ie]})]})])])}return y(ut(re,{style:G}))}}}),$oe=v(Rd,{install:e=>(e.component(Rd.name,Rd),e)}),WG=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:o,colorText:r}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:r,background:n},[`${t}-sider-zero-width-trigger`]:{color:r,background:n,border:`1px solid ${o}`,borderInlineStart:0}}}},KG=e=>{const{antCls:t,componentCls:n,colorText:o,colorTextLightSolid:r,colorBgHeader:a,colorBgBody:l,colorBgTrigger:i,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:c,layoutFooterPadding:d,layoutTriggerHeight:p,layoutZeroTriggerSize:g,motionDurationMid:m,motionDurationSlow:h,fontSize:b,borderRadius:y}=e;return{[n]:v(v({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:l,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:s,paddingInline:u,color:c,lineHeight:`${s}px`,background:a,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:o,fontSize:b,background:l},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:a,transition:`all ${m}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:r,lineHeight:`${p}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-g,zIndex:1,width:g,height:g,color:r,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:a,borderStartStartRadius:0,borderStartEndRadius:y,borderEndEndRadius:y,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-g,borderStartStartRadius:y,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:y}}}}},WG(e)),{"&-rtl":{direction:"rtl"}})}},GG=Qe("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:o,controlHeightLG:r,marginXXS:a}=e,l=r*1.25,i=ze(e,{layoutHeaderHeight:o*2,layoutHeaderPaddingInline:l,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${l}px`,layoutTriggerHeight:r+a*2,layoutZeroTriggerSize:r});return[KG(i)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),Mh=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function du(e){let{suffixCls:t,tagName:n,name:o}=e;return r=>J({compatConfig:{MODE:3},name:o,props:Mh(),setup(l,i){let{slots:s}=i;const{prefixCls:u}=Ee(t,l);return()=>{const c=v(v({},l),{prefixCls:u.value,tagName:n});return f(r,c,s)}}})}const Eh=J({compatConfig:{MODE:3},props:Mh(),setup(e,t){let{slots:n}=t;return()=>f(e.tagName,{class:e.prefixCls},n)}}),XG=J({compatConfig:{MODE:3},inheritAttrs:!1,props:Mh(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("",e),[l,i]=GG(r),s=Z([]);Ke(Jx,{addSider:d=>{s.value=[...s.value,d]},removeSider:d=>{s.value=s.value.filter(p=>p!==d)}});const c=P(()=>{const{prefixCls:d,hasSider:p}=e;return{[i.value]:!0,[`${d}`]:!0,[`${d}-has-sider`]:typeof p=="boolean"?p:s.value.length>0,[`${d}-rtl`]:a.value==="rtl"}});return()=>{const{tagName:d}=e;return l(f(d,v(v({},o),{class:[c.value,o.class]}),n))}}}),UG=du({suffixCls:"layout",tagName:"section",name:"ALayout"})(XG),Nd=du({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(Eh),kd=du({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(Eh),Bd=du({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(Eh),Fd=UG;var YG={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const qG=YG;function Hy(e){for(var t=1;t({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:V.any,width:V.oneOfType([V.number,V.string]),collapsedWidth:V.oneOfType([V.number,V.string]),breakpoint:V.oneOf(vn("xs","sm","md","lg","xl","xxl","xxxl")),theme:V.oneOf(vn("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),eX=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Ld=J({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:rt(JG(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:o,slots:r}=t;const{prefixCls:a}=Ee("layout-sider",e),l=Xe(Jx,void 0),i=Y(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),s=Y(!1);ue(()=>e.collapsed,()=>{i.value=!!e.collapsed}),Ke(Zx,i);const u=(h,b)=>{e.collapsed===void 0&&(i.value=h),n("update:collapsed",h),n("collapse",h,b)},c=Y(h=>{s.value=h.matches,n("breakpoint",h.matches),i.value!==h.matches&&u(h.matches,"responsive")});let d;function p(h){return c.value(h)}const g=eX("ant-sider-");l&&l.addSider(g),Ve(()=>{ue(()=>e.breakpoint,()=>{try{d==null||d.removeEventListener("change",p)}catch{d==null||d.removeListener(p)}if(typeof window<"u"){const{matchMedia:h}=window;if(h&&e.breakpoint&&e.breakpoint in jy){d=h(`(max-width: ${jy[e.breakpoint]})`);try{d.addEventListener("change",p)}catch{d.addListener(p)}p(d)}}},{immediate:!0})}),Je(()=>{try{d==null||d.removeEventListener("change",p)}catch{d==null||d.removeListener(p)}l&&l.removeSider(g)});const m=()=>{u(!i.value,"clickTrigger")};return()=>{var h,b;const y=a.value,{collapsedWidth:S,width:$,reverseArrow:x,zeroWidthTriggerStyle:C,trigger:O=(h=r.trigger)===null||h===void 0?void 0:h.call(r),collapsible:w,theme:M}=e,I=i.value?S:$,_=Ls(I)?`${I}px`:String(I),D=parseFloat(String(S||0))===0?f("span",{onClick:m,class:te(`${y}-zero-width-trigger`,`${y}-zero-width-trigger-${x?"right":"left"}`),style:C},[O||f(ZG,null,null)]):null,F={expanded:x?f(sr,null,null):f(Wa,null,null),collapsed:x?f(Wa,null,null):f(sr,null,null)},z=i.value?"collapsed":"expanded",H=F[z],T=O!==null?D||f("div",{class:`${y}-trigger`,onClick:m,style:{width:_}},[O||H]):null,A=[o.style,{flex:`0 0 ${_}`,maxWidth:_,minWidth:_,width:_}],R=te(y,`${y}-${M}`,{[`${y}-collapsed`]:!!i.value,[`${y}-has-trigger`]:w&&O!==null&&!D,[`${y}-below`]:!!s.value,[`${y}-zero-width`]:parseFloat(_)===0},o.class);return f("aside",N(N({},o),{},{class:R,style:A}),[f("div",{class:`${y}-children`},[(b=r.default)===null||b===void 0?void 0:b.call(r)]),w||s.value&&D?T:null])}}}),Coe=v(Fd,{Header:Nd,Footer:kd,Content:Bd,Sider:Ld,install:e=>(e.component(Fd.name,Fd),e.component(Nd.name,Nd),e.component(kd.name,kd),e.component(Ld.name,Ld),e.component(Bd.name,Bd),e)});function tX(e,t,n){var o=n||{},r=o.noTrailing,a=r===void 0?!1:r,l=o.noLeading,i=l===void 0?!1:l,s=o.debounceMode,u=s===void 0?void 0:s,c,d=!1,p=0;function g(){c&&clearTimeout(c)}function m(b){var y=b||{},S=y.upcomingOnly,$=S===void 0?!1:S;g(),d=!$}function h(){for(var b=arguments.length,y=new Array(b),S=0;Se?i?(p=Date.now(),a||(c=setTimeout(u?O:C,e))):C():a!==!0&&(c=setTimeout(u?O:C,u===void 0?e-x:e))}return h.cancel=m,h}function nX(e,t,n){var o=n||{},r=o.atBegin,a=r===void 0?!1:r;return tX(e,t,{debounceMode:a!==!1})}const oX=new Ue("antSpinMove",{to:{opacity:1}}),rX=new Ue("antRotate",{to:{transform:"rotate(405deg)"}}),aX=e=>({[`${e.componentCls}`]:v(v({},et(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:oX,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:rX,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),lX=Qe("Spin",e=>{const t=ze(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[aX(t)]},{contentHeight:400});var iX=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:V.any,delay:Number,indicator:V.any});let hs=null;function cX(e,t){return!!e&&!!t&&!isNaN(Number(t))}function uX(e){const t=e.indicator;hs=typeof t=="function"?t:()=>f(t,null,null)}const kl=J({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:rt(sX(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,size:a,direction:l}=Ee("spin",e),[i,s]=lX(r),u=Y(e.spinning&&!cX(e.spinning,e.delay));let c;return ue([()=>e.spinning,()=>e.delay],()=>{c==null||c.cancel(),c=nX(e.delay,()=>{u.value=e.spinning}),c==null||c()},{immediate:!0,flush:"post"}),Je(()=>{c==null||c.cancel()}),()=>{var d,p;const{class:g}=n,m=iX(n,["class"]),{tip:h=(d=o.tip)===null||d===void 0?void 0:d.call(o)}=e,b=(p=o.default)===null||p===void 0?void 0:p.call(o),y={[s.value]:!0,[r.value]:!0,[`${r.value}-sm`]:a.value==="small",[`${r.value}-lg`]:a.value==="large",[`${r.value}-spinning`]:u.value,[`${r.value}-show-text`]:!!h,[`${r.value}-rtl`]:l.value==="rtl",[g]:!!g};function S(x){const C=`${x}-dot`;let O=Nt(o,e,"indicator");return O===null?null:(Array.isArray(O)&&(O=O.length===1?O[0]:O),Zt(O)?ko(O,{class:C}):hs&&Zt(hs())?ko(hs(),{class:C}):f("span",{class:`${C} ${x}-dot-spin`},[f("i",{class:`${x}-dot-item`},null),f("i",{class:`${x}-dot-item`},null),f("i",{class:`${x}-dot-item`},null),f("i",{class:`${x}-dot-item`},null)]))}const $=f("div",N(N({},m),{},{class:y,"aria-live":"polite","aria-busy":u.value}),[S(r.value),h?f("div",{class:`${r.value}-text`},[h]):null]);if(b&&Tt(b).length){const x={[`${r.value}-container`]:!0,[`${r.value}-blur`]:u.value};return i(f("div",{class:[`${r.value}-nested-loading`,e.wrapperClassName,s.value]},[u.value&&f("div",{key:"loading"},[$]),f("div",{class:x,key:"container"},[b])]))}return i($)}}});kl.setDefaultIndicator=uX;kl.install=function(e){return e.component(kl.name,kl),e};var dX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const fX=dX;function Vy(e){for(var t=1;t{const r=v(v(v({},e),{size:"small"}),n);return f(Ha,r,o)}}}),bX=J({name:"MiddleSelect",inheritAttrs:!1,props:Vc(),Option:Ha.Option,setup(e,t){let{attrs:n,slots:o}=t;return()=>{const r=v(v(v({},e),{size:"middle"}),n);return f(Ha,r,o)}}}),yr=J({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:V.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:o}=t;const r=()=>{n("click",e.page)},a=l=>{n("keypress",l,r,e.page)};return()=>{const{showTitle:l,page:i,itemRender:s}=e,{class:u,style:c}=o,d=`${e.rootPrefixCls}-item`,p=te(d,`${d}-${e.page}`,{[`${d}-active`]:e.active,[`${d}-disabled`]:!e.page},u);return f("li",{onClick:r,onKeypress:a,title:l?String(i):null,tabindex:"0",class:p,style:c},[s({page:i,type:"page",originalElement:f("a",{rel:"nofollow"},[i])})])}}}),Cr={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},yX=J({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:V.any,current:Number,pageSizeOptions:V.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:V.object,rootPrefixCls:String,selectPrefixCls:String,goButton:V.any},setup(e){const t=Z(""),n=P(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),o=s=>`${s.value} ${e.locale.items_per_page}`,r=s=>{const{value:u,composing:c}=s.target;s.isComposing||c||t.value===u||(t.value=u)},a=s=>{const{goButton:u,quickGo:c,rootPrefixCls:d}=e;if(!(u||t.value===""))if(s.relatedTarget&&(s.relatedTarget.className.indexOf(`${d}-item-link`)>=0||s.relatedTarget.className.indexOf(`${d}-item`)>=0)){t.value="";return}else c(n.value),t.value=""},l=s=>{t.value!==""&&(s.keyCode===Cr.ENTER||s.type==="click")&&(e.quickGo(n.value),t.value="")},i=P(()=>{const{pageSize:s,pageSizeOptions:u}=e;return u.some(c=>c.toString()===s.toString())?u:u.concat([s.toString()]).sort((c,d)=>{const p=isNaN(Number(c))?0:Number(c),g=isNaN(Number(d))?0:Number(d);return p-g})});return()=>{const{rootPrefixCls:s,locale:u,changeSize:c,quickGo:d,goButton:p,selectComponentClass:g,selectPrefixCls:m,pageSize:h,disabled:b}=e,y=`${s}-options`;let S=null,$=null,x=null;if(!c&&!d)return null;if(c&&g){const C=e.buildOptionText||o,O=i.value.map((w,M)=>f(g.Option,{key:M,value:w},{default:()=>[C({value:w})]}));S=f(g,{disabled:b,prefixCls:m,showSearch:!1,class:`${y}-size-changer`,optionLabelProp:"children",value:(h||i.value[0]).toString(),onChange:w=>c(Number(w)),getPopupContainer:w=>w.parentNode},{default:()=>[O]})}return d&&(p&&(x=typeof p=="boolean"?f("button",{type:"button",onClick:l,onKeyup:l,disabled:b,class:`${y}-quick-jumper-button`},[u.jump_to_confirm]):f("span",{onClick:l,onKeyup:l},[p])),$=f("div",{class:`${y}-quick-jumper`},[u.jump_to,Kt(f("input",{disabled:b,type:"text",value:t.value,onInput:r,onChange:r,onKeyup:l,onBlur:a},null),[[si]]),u.page,x])),f("li",{class:`${y}`},[S,$])}}}),F3={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};var SX=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r"u"?t.statePageSize:e;return Math.floor((n.total-1)/o)+1}const xX=J({compatConfig:{MODE:3},name:"Pagination",mixins:[Jr],inheritAttrs:!1,props:{disabled:{type:Boolean,default:void 0},prefixCls:V.string.def("rc-pagination"),selectPrefixCls:V.string.def("rc-select"),current:Number,defaultCurrent:V.number.def(1),total:V.number.def(0),pageSize:Number,defaultPageSize:V.number.def(10),hideOnSinglePage:{type:Boolean,default:!1},showSizeChanger:{type:Boolean,default:void 0},showLessItems:{type:Boolean,default:!1},selectComponentClass:V.any,showPrevNextJumpers:{type:Boolean,default:!0},showQuickJumper:V.oneOfType([V.looseBool,V.object]).def(!1),showTitle:{type:Boolean,default:!0},pageSizeOptions:V.arrayOf(V.oneOfType([V.number,V.string])),buildOptionText:Function,showTotal:Function,simple:{type:Boolean,default:void 0},locale:V.object.def(F3),itemRender:V.func.def(CX),prevIcon:V.any,nextIcon:V.any,jumpPrevIcon:V.any,jumpNextIcon:V.any,totalBoundaryShowSizeChanger:V.number.def(50)},data(){const e=this.$props;let t=zf([this.current,this.defaultCurrent]);const n=zf([this.pageSize,this.defaultPageSize]);return t=Math.min(t,Po(n,void 0,e)),{stateCurrent:t,stateCurrentInputValue:t,statePageSize:n}},watch:{current(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize(e){const t={};let n=this.stateCurrent;const o=Po(e,this.$data,this.$props);n=n>o?o:n,_o(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=Po(this.pageSize,this.$data,this.$props);if(_o(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(Po(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return RC(this,e,this.$props)||f("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=Po(void 0,this.$data,this.$props),{stateCurrentInputValue:o}=this.$data;let r;return t===""?r=t:isNaN(Number(t))?r=o:t>=n?r=n:r=Number(t),r},isValid(e){return $X(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===Cr.ARROW_UP||e.keyCode===Cr.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){if(e.isComposing||e.target.composing)return;const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===Cr.ENTER?this.handleChange(t):e.keyCode===Cr.ARROW_UP?this.handleChange(t-1):e.keyCode===Cr.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,o=Po(e,this.$data,this.$props);t=t>o?o:t,o===0&&(t=this.stateCurrent),typeof e=="number"&&(_o(this,"pageSize")||this.setState({statePageSize:e}),_o(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const o=Po(void 0,this.$data,this.$props);return n>o?n=o:n<1&&(n=1),_o(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrentn},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r0?y-1:0,A=y+1=H*2&&y!==3&&(w[0]=f(yr,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:U,page:U,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:c},null),w.unshift(M)),O-y>=H*2&&y!==O-2&&(w[w.length-1]=f(yr,{locale:r,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:X,page:X,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:c},null),w.push(I)),U!==1&&w.unshift(_),X!==O&&w.push(D)}let k=null;s&&(k=f("li",{class:`${e}-total-text`},[s(o,[o===0?0:(y-1)*S+1,y*S>o?o:y*S])]));const B=!R||!O,L=!E||!O,j=this.buildOptionText||this.$slots.buildOptionText;return f("ul",N(N({unselectable:"on",ref:"paginationNode"},C),{},{class:te({[`${e}`]:!0,[`${e}-disabled`]:t},x)}),[k,f("li",{title:i?r.prev_page:null,onClick:this.prev,tabindex:B?null:0,onKeypress:this.runIfEnterPrev,class:te(`${e}-prev`,{[`${e}-disabled`]:B}),"aria-disabled":B},[this.renderPrev(T)]),w,f("li",{title:i?r.next_page:null,onClick:this.next,tabindex:L?null:0,onKeypress:this.runIfEnterNext,class:te(`${e}-next`,{[`${e}-disabled`]:L}),"aria-disabled":L},[this.renderNext(A)]),f(yX,{disabled:t,locale:r,rootPrefixCls:e,selectComponentClass:m,selectPrefixCls:h,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:y,pageSize:S,pageSizeOptions:b,buildOptionText:j||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:z},null)])}}),wX=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[` + &:hover ${t}-item:not(${t}-item-active), + &:active ${t}-item:not(${t}-item-active), + &:hover ${t}-item-link, + &:active ${t}-item-link + `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},OX=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:v(v({},Ug(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},PX=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},IX=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":v({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Fo(e))},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:v({},Fo(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:v(v({},al(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},TX=e=>{const{componentCls:t}=e;return{[`${t}-item`]:v(v({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},Lo(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},MX=e=>{const{componentCls:t}=e;return{[t]:v(v(v(v(v(v(v(v({},et(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),TX(e)),IX(e)),PX(e)),OX(e)),wX(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},EX=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},_X=Qe("Pagination",e=>{const t=ze(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},fi(e));return[MX(t),e.wireframe&&EX(t)]});var DX=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({total:Number,defaultCurrent:Number,disabled:Ce(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:Ce(),showSizeChanger:Ce(),pageSizeOptions:ht(),buildOptionText:de(),showQuickJumper:Ge([Boolean,Object]),showTotal:de(),size:je(),simple:Ce(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:de(),role:String,responsive:Boolean,showLessItems:Ce(),onChange:de(),onShowSizeChange:de(),"onUpdate:current":de(),"onUpdate:pageSize":de()}),RX=J({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:AX(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,configProvider:a,direction:l,size:i}=Ee("pagination",e),[s,u]=_X(r),c=P(()=>a.getPrefixCls("select",e.selectPrefixCls)),d=Sg(),[p]=$o("Pagination",jC,Be(e,"locale")),g=m=>{const h=f("span",{class:`${m}-item-ellipsis`},[go("•••")]),b=f("button",{class:`${m}-item-link`,type:"button",tabindex:-1},[l.value==="rtl"?f(sr,null,null):f(Wa,null,null)]),y=f("button",{class:`${m}-item-link`,type:"button",tabindex:-1},[l.value==="rtl"?f(Wa,null,null):f(sr,null,null)]),S=f("a",{rel:"nofollow",class:`${m}-item-link`},[f("div",{class:`${m}-item-container`},[l.value==="rtl"?f(Gy,{class:`${m}-item-link-icon`},null):f(Wy,{class:`${m}-item-link-icon`},null),h])]),$=f("a",{rel:"nofollow",class:`${m}-item-link`},[f("div",{class:`${m}-item-container`},[l.value==="rtl"?f(Wy,{class:`${m}-item-link-icon`},null):f(Gy,{class:`${m}-item-link-icon`},null),h])]);return{prevIcon:b,nextIcon:y,jumpPrevIcon:S,jumpNextIcon:$}};return()=>{var m;const{itemRender:h=n.itemRender,buildOptionText:b=n.buildOptionText,selectComponentClass:y,responsive:S}=e,$=DX(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),x=i.value==="small"||!!(!((m=d.value)===null||m===void 0)&&m.xs&&!i.value&&S),C=v(v(v(v(v({},$),g(r.value)),{prefixCls:r.value,selectPrefixCls:c.value,selectComponentClass:y||(x?mX:bX),locale:p.value,buildOptionText:b}),o),{class:te({[`${r.value}-mini`]:x,[`${r.value}-rtl`]:l.value==="rtl"},o.class,u.value),itemRender:h});return s(f(xX,C,null))}}}),NX=Vt(RX);var kX=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{Ip={x:e.pageX,y:e.pageY},setTimeout(()=>Ip=null,100)};w4()&&wt(document.documentElement,"click",BX,!0);const FX=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:V.any,closable:{type:Boolean,default:void 0},closeIcon:V.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:V.any,okText:V.any,okType:String,cancelText:V.any,icon:V.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:Ne(),cancelButtonProps:Ne(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:Ne(),maskStyle:Ne(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:Ne()}),Vn=J({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:rt(FX(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const[a]=$o("Modal"),{prefixCls:l,rootPrefixCls:i,direction:s,getPopupContainer:u}=Ee("modal",e),[c,d]=bG(l);yt(e.visible===void 0);const p=h=>{n("update:visible",!1),n("update:open",!1),n("cancel",h),n("change",!1)},g=h=>{n("ok",h)},m=()=>{var h,b;const{okText:y=(h=o.okText)===null||h===void 0?void 0:h.call(o),okType:S,cancelText:$=(b=o.cancelText)===null||b===void 0?void 0:b.call(o),confirmLoading:x}=e;return f(nt,null,[f(qt,N({onClick:p},e.cancelButtonProps),{default:()=>[$||a.value.cancelText]}),f(qt,N(N({},zs(S)),{},{loading:x,onClick:g},e.okButtonProps),{default:()=>[y||a.value.okText]})])};return()=>{var h,b;const{prefixCls:y,visible:S,open:$,wrapClassName:x,centered:C,getContainer:O,closeIcon:w=(h=o.closeIcon)===null||h===void 0?void 0:h.call(o),focusTriggerAfterClose:M=!0}=e,I=kX(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),_=te(x,{[`${l.value}-centered`]:!!C,[`${l.value}-wrap-rtl`]:s.value==="rtl"});return c(f(I3,N(N(N({},I),r),{},{rootClassName:d.value,class:te(d.value,r.class),getContainer:O||(u==null?void 0:u.value),prefixCls:l.value,wrapClassName:_,visible:$??S,onClose:p,focusTriggerAfterClose:M,transitionName:en(i.value,"zoom",e.transitionName),maskTransitionName:en(i.value,"fade",e.maskTransitionName),mousePosition:(b=I.mousePosition)!==null&&b!==void 0?b:Ip}),v(v({},o),{footer:o.footer||m,closeIcon:()=>f("span",{class:`${l.value}-close-x`},[w||f(io,{class:`${l.value}-close-icon`},null)])})))}}}),LX=()=>{const e=Y(!1);return Je(()=>{e.value=!0}),e},zX={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:Ne(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function Xy(e){return!!(e&&e.then)}const Tp=J({compatConfig:{MODE:3},name:"ActionButton",props:zX,setup(e,t){let{slots:n}=t;const o=Y(!1),r=Y(),a=Y(!1);let l;const i=LX();Ve(()=>{e.autofocus&&(l=setTimeout(()=>{var d,p;return(p=(d=Pn(r.value))===null||d===void 0?void 0:d.focus)===null||p===void 0?void 0:p.call(d)}))}),Je(()=>{clearTimeout(l)});const s=function(){for(var d,p=arguments.length,g=new Array(p),m=0;m{Xy(d)&&(a.value=!0,d.then(function(){i.value||(a.value=!1),s(...arguments),o.value=!1},p=>(i.value||(a.value=!1),o.value=!1,Promise.reject(p))))},c=d=>{const{actionFn:p}=e;if(o.value)return;if(o.value=!0,!p){s();return}let g;if(e.emitEvent){if(g=p(d),e.quitOnNullishReturnValue&&!Xy(g)){o.value=!1,s(d);return}}else if(p.length)g=p(e.close),o.value=!1;else if(g=p(),!g){s();return}u(g)};return()=>{const{type:d,prefixCls:p,buttonProps:g}=e;return f(qt,N(N(N({},zs(d)),{},{onClick:c,loading:a.value,prefixCls:p},g),{},{ref:r}),n)}}});function sa(e){return typeof e=="function"?e():e}const L3=J({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[o]=$o("Modal");return()=>{const{icon:r,onCancel:a,onOk:l,close:i,okText:s,closable:u=!1,zIndex:c,afterClose:d,keyboard:p,centered:g,getContainer:m,maskStyle:h,okButtonProps:b,cancelButtonProps:y,okCancel:S,width:$=416,mask:x=!0,maskClosable:C=!1,type:O,open:w,title:M,content:I,direction:_,closeIcon:D,modalRender:F,focusTriggerAfterClose:z,rootPrefixCls:H,bodyStyle:T,wrapClassName:A,footer:R}=e;let E=r;if(!r&&r!==null)switch(O){case"info":E=f(nl,null,null);break;case"success":E=f(Wo,null,null);break;case"error":E=f(bn,null,null);break;default:E=f(Ko,null,null)}const k=e.okType||"primary",B=e.prefixCls||"ant-modal",L=`${B}-confirm`,j=n.style||{},K=S??O==="confirm",G=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",U=`${B}-confirm`,X=te(U,`${U}-${e.type}`,{[`${U}-rtl`]:_==="rtl"},n.class),ee=o.value,oe=K&&f(Tp,{actionFn:a,close:i,autofocus:G==="cancel",buttonProps:y,prefixCls:`${H}-btn`},{default:()=>[sa(e.cancelText)||ee.cancelText]});return f(Vn,{prefixCls:B,class:X,wrapClassName:te({[`${U}-centered`]:!!g},A),onCancel:Q=>i==null?void 0:i({triggerCancel:!0},Q),open:w,title:"",footer:"",transitionName:en(H,"zoom",e.transitionName),maskTransitionName:en(H,"fade",e.maskTransitionName),mask:x,maskClosable:C,maskStyle:h,style:j,bodyStyle:T,width:$,zIndex:c,afterClose:d,keyboard:p,centered:g,getContainer:m,closable:u,closeIcon:D,modalRender:F,focusTriggerAfterClose:z},{default:()=>[f("div",{class:`${L}-body-wrapper`},[f("div",{class:`${L}-body`},[sa(E),M===void 0?null:f("span",{class:`${L}-title`},[sa(M)]),f("div",{class:`${L}-content`},[sa(I)])]),R!==void 0?sa(R):f("div",{class:`${L}-btns`},[oe,f(Tp,{type:k,actionFn:l,close:i,autofocus:G==="ok",buttonProps:b,prefixCls:`${H}-btn`},{default:()=>[sa(s)||(K?ee.okText:ee.justOkText)]})])])]})}}}),Ar=[],mi=e=>{const t=document.createDocumentFragment();let n=v(v({},qe(e,["parentContext","appContext"])),{close:a,open:!0}),o=null;function r(){o&&(zr(null,t),o=null);for(var u=arguments.length,c=new Array(u),d=0;dg&&g.triggerCancel);e.onCancel&&p&&e.onCancel(()=>{},...c.slice(1));for(let g=0;g{typeof e.afterClose=="function"&&e.afterClose(),r.apply(this,c)}}),n.visible&&delete n.visible,l(n)}function l(u){typeof u=="function"?n=u(n):n=v(v({},n),u),o&&YE(o,n,t)}const i=u=>{const c=Xt,d=c.prefixCls,p=u.prefixCls||`${d}-modal`,g=c.iconPrefixCls,m=Jj();return f(c3,N(N({},c),{},{prefixCls:d}),{default:()=>[f(L3,N(N({},u),{},{rootPrefixCls:d,prefixCls:p,iconPrefixCls:g,locale:m,cancelText:u.cancelText||m.cancelText}),null)]})};function s(u){const c=f(i,v({},u));return c.appContext=e.parentContext||e.appContext||c.appContext,zr(c,t),c}return o=s(n),Ar.push(a),{destroy:a,update:l}};function z3(e){return v(v({},e),{type:"warning"})}function H3(e){return v(v({},e),{type:"info"})}function j3(e){return v(v({},e),{type:"success"})}function V3(e){return v(v({},e),{type:"error"})}function W3(e){return v(v({},e),{type:"confirm"})}const HX=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),jX=J({name:"HookModal",inheritAttrs:!1,props:rt(HX(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var o;const r=P(()=>e.open),a=P(()=>e.config),{direction:l,getPrefixCls:i}=oc(),s=i("modal"),u=i(),c=()=>{var m,h;e==null||e.afterClose(),(h=(m=a.value).afterClose)===null||h===void 0||h.call(m)},d=function(){e.destroyAction(...arguments)};n({destroy:d});const p=(o=a.value.okCancel)!==null&&o!==void 0?o:a.value.type==="confirm",[g]=$o("Modal",Gn.Modal);return()=>f(L3,N(N({prefixCls:s,rootPrefixCls:u},a.value),{},{close:d,open:r.value,afterClose:c,okText:a.value.okText||(p?g==null?void 0:g.value.okText:g==null?void 0:g.value.justOkText),direction:a.value.direction||l.value,cancelText:a.value.cancelText||(g==null?void 0:g.value.cancelText)}),null)}});let Uy=0;const VX=J({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const o=Y([]);return n({addModal:a=>(o.value.push(a),o.value=o.value.slice(),()=>{o.value=o.value.filter(l=>l!==a)})}),()=>o.value.map(a=>a())}});function WX(){const e=Y(null),t=Y([]);ue(t,()=>{t.value.length&&([...t.value].forEach(l=>{l()}),t.value=[])},{immediate:!0});const n=a=>function(i){var s;Uy+=1;const u=Y(!0),c=Y(null),d=Y(Lt(i)),p=Y({});ue(()=>i,$=>{b(v(v({},B$($)?$.value:$),p.value))});const g=function(){u.value=!1;for(var $=arguments.length,x=new Array($),C=0;C<$;C++)x[C]=arguments[C];const O=x.some(w=>w&&w.triggerCancel);d.value.onCancel&&O&&d.value.onCancel(()=>{},...x.slice(1))};let m;const h=()=>f(jX,{key:`modal-${Uy}`,config:a(d.value),ref:c,open:u.value,destroyAction:g,afterClose:()=>{m==null||m()}},null);m=(s=e.value)===null||s===void 0?void 0:s.addModal(h),m&&Ar.push(m);const b=$=>{d.value=v(v({},d.value),$)};return{destroy:()=>{c.value?g():t.value=[...t.value,g]},update:$=>{p.value=$,c.value?b($):t.value=[...t.value,()=>b($)]}}},o=P(()=>({info:n(H3),success:n(j3),error:n(V3),warning:n(z3),confirm:n(W3)})),r=Symbol("modalHolderKey");return[o.value,()=>f(VX,{key:r,ref:e},null)]}function K3(e){return mi(z3(e))}Vn.useModal=WX;Vn.info=function(t){return mi(H3(t))};Vn.success=function(t){return mi(j3(t))};Vn.error=function(t){return mi(V3(t))};Vn.warning=K3;Vn.warn=K3;Vn.confirm=function(t){return mi(W3(t))};Vn.destroyAll=function(){for(;Ar.length;){const t=Ar.pop();t&&t()}};Vn.install=function(e){return e.component(Vn.name,Vn),e};const G3=e=>{const{value:t,formatter:n,precision:o,decimalSeparator:r,groupSeparator:a="",prefixCls:l}=e;let i;if(typeof n=="function")i=n({value:t});else{const s=String(t),u=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u)i=s;else{const c=u[1];let d=u[2]||"0",p=u[4]||"";d=d.replace(/\B(?=(\d{3})+(?!\d))/g,a),typeof o=="number"&&(p=p.padEnd(o,"0").slice(0,o>0?o:0)),p&&(p=`${r}${p}`),i=[f("span",{key:"int",class:`${l}-content-value-int`},[c,d]),p&&f("span",{key:"decimal",class:`${l}-content-value-decimal`},[p])]}}return f("span",{class:`${l}-content-value`},[i])};G3.displayName="StatisticNumber";const KX=G3,GX=e=>{const{componentCls:t,marginXXS:n,padding:o,colorTextDescription:r,statisticTitleFontSize:a,colorTextHeading:l,statisticContentFontSize:i,statisticFontFamily:s}=e;return{[`${t}`]:v(v({},et(e)),{[`${t}-title`]:{marginBottom:n,color:r,fontSize:a},[`${t}-skeleton`]:{paddingTop:o},[`${t}-content`]:{color:l,fontSize:i,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},XX=Qe("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:o}=e,r=ze(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:o});return[GX(r)]}),X3=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:Ge([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:de(),formatter:xt(),precision:Number,prefix:ba(),suffix:ba(),title:ba(),loading:Ce()}),tr=J({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:rt(X3(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("statistic",e),[l,i]=XX(r);return()=>{var s,u,c,d,p,g,m;const{value:h=0,valueStyle:b,valueRender:y}=e,S=r.value,$=(s=e.title)!==null&&s!==void 0?s:(u=n.title)===null||u===void 0?void 0:u.call(n),x=(c=e.prefix)!==null&&c!==void 0?c:(d=n.prefix)===null||d===void 0?void 0:d.call(n),C=(p=e.suffix)!==null&&p!==void 0?p:(g=n.suffix)===null||g===void 0?void 0:g.call(n),O=(m=e.formatter)!==null&&m!==void 0?m:n.formatter;let w=f(KX,N({"data-for-update":Date.now()},v(v({},e),{prefixCls:S,value:h,formatter:O})),null);return y&&(w=y(w)),l(f("div",N(N({},o),{},{class:[S,{[`${S}-rtl`]:a.value==="rtl"},o.class,i.value]}),[$&&f("div",{class:`${S}-title`},[$]),f(tn,{paragraph:!1,loading:e.loading},{default:()=>[f("div",{style:b,class:`${S}-content`},[x&&f("span",{class:`${S}-content-prefix`},[x]),w,C&&f("span",{class:`${S}-content-suffix`},[C])])]})]))}}}),UX=[["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]];function YX(e,t){let n=e;const o=/\[[^\]]*]/g,r=(t.match(o)||[]).map(s=>s.slice(1,-1)),a=t.replace(o,"[]"),l=UX.reduce((s,u)=>{let[c,d]=u;if(s.includes(c)){const p=Math.floor(n/d);return n-=p*d,s.replace(new RegExp(`${c}+`,"g"),g=>{const m=g.length;return p.toString().padStart(m,"0")})}return s},a);let i=0;return l.replace(o,()=>{const s=r[i];return i+=1,s})}function qX(e,t){const{format:n=""}=t,o=new Date(e).getTime(),r=Date.now(),a=Math.max(o-r,0);return YX(a,n)}const QX=1e3/30;function zd(e){return new Date(e).getTime()}const ZX=()=>v(v({},X3()),{value:Ge([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),JX=J({compatConfig:{MODE:3},name:"AStatisticCountdown",props:rt(ZX(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:o}=t;const r=Z(),a=Z(),l=()=>{const{value:d}=e;zd(d)>=Date.now()?i():s()},i=()=>{if(r.value)return;const d=zd(e.value);r.value=setInterval(()=>{a.value.$forceUpdate(),d>Date.now()&&n("change",d-Date.now()),l()},QX)},s=()=>{const{value:d}=e;r.value&&(clearInterval(r.value),r.value=void 0,zd(d){let{value:p,config:g}=d;const{format:m}=e;return qX(p,v(v({},g),{format:m}))},c=d=>d;return Ve(()=>{l()}),ao(()=>{l()}),Je(()=>{s()}),()=>{const d=e.value;return f(tr,N({ref:a},v(v({},qe(e,["onFinish","onChange"])),{value:d,valueRender:c,formatter:u})),o)}}});tr.Countdown=JX;tr.install=function(e){return e.component(tr.name,tr),e.component(tr.Countdown.name,tr.Countdown),e};tr.Countdown;var eU=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{keyCode:g}=p;g===$e.ENTER&&p.preventDefault()},s=p=>{const{keyCode:g}=p;g===$e.ENTER&&o("click",p)},u=p=>{o("click",p)},c=()=>{l.value&&l.value.focus()},d=()=>{l.value&&l.value.blur()};return Ve(()=>{e.autofocus&&c()}),a({focus:c,blur:d}),()=>{var p;const{noStyle:g,disabled:m}=e,h=eU(e,["noStyle","disabled"]);let b={};return g||(b=v({},tU)),m&&(b.pointerEvents="none"),f("div",N(N(N({role:"button",tabindex:0,ref:l},h),r),{},{onClick:u,onKeydown:i,onKeyup:s,style:v(v({},b),r.style||{})}),[(p=n.default)===null||p===void 0?void 0:p.call(n)])}}}),Yy=nU,oU={small:8,middle:16,large:24},rU=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:V.oneOf(vn("horizontal","vertical")).def("horizontal"),align:V.oneOf(vn("start","end","center","baseline")),wrap:Ce()});function aU(e){return typeof e=="string"?oU[e]:e||0}const Bl=J({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:rU(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,space:a,direction:l}=Ee("space",e),[i,s]=mx(r),u=P4(),c=P(()=>{var y,S,$;return($=(y=e.size)!==null&&y!==void 0?y:(S=a==null?void 0:a.value)===null||S===void 0?void 0:S.size)!==null&&$!==void 0?$:"small"}),d=Z(),p=Z();ue(c,()=>{[d.value,p.value]=(Array.isArray(c.value)?c.value:[c.value,c.value]).map(y=>aU(y))},{immediate:!0});const g=P(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),m=P(()=>te(r.value,s.value,`${r.value}-${e.direction}`,{[`${r.value}-rtl`]:l.value==="rtl",[`${r.value}-align-${g.value}`]:g.value})),h=P(()=>l.value==="rtl"?"marginLeft":"marginRight"),b=P(()=>{const y={};return u.value&&(y.columnGap=`${d.value}px`,y.rowGap=`${p.value}px`),v(v({},y),e.wrap&&{flexWrap:"wrap",marginBottom:`${-p.value}px`})});return()=>{var y,S;const{wrap:$,direction:x="horizontal"}=e,C=(y=n.default)===null||y===void 0?void 0:y.call(n),O=Tt(C),w=O.length;if(w===0)return null;const M=(S=n.split)===null||S===void 0?void 0:S.call(n),I=`${r.value}-item`,_=d.value,D=w-1;return f("div",N(N({},o),{},{class:[m.value,o.class],style:[b.value,o.style]}),[O.map((F,z)=>{let H=C.indexOf(F);H===-1&&(H=`$$space-${z}`);let T={};return u.value||(x==="vertical"?z{const{componentCls:t,iconCls:n,zIndexPopup:o,colorText:r,colorWarning:a,marginXS:l,fontSize:i,fontWeightStrong:s,lineHeight:u}=e;return{[t]:{zIndex:o,[`${t}-inner-content`]:{color:r},[`${t}-message`]:{position:"relative",marginBottom:l,color:r,fontSize:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:i,flex:"none",lineHeight:1,paddingTop:(Math.round(i*u)-i)/2},"&-title":{flex:"auto",marginInlineStart:l},"&-title-only":{fontWeight:s}},[`${t}-description`]:{position:"relative",marginInlineStart:i+l,marginBottom:l,color:r,fontSize:i},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:l}}}}},iU=Qe("Popconfirm",e=>lU(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var sU=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rv(v({},$g()),{prefixCls:String,content:xt(),title:xt(),description:xt(),okType:je("primary"),disabled:{type:Boolean,default:!1},okText:xt(),cancelText:xt(),icon:xt(),okButtonProps:Ne(),cancelButtonProps:Ne(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),uU=J({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:rt(cU(),v(v({},Dx()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:o,expose:r,attrs:a}=t;const l=Z();yt(e.visible===void 0),r({getPopupDomNode:()=>{var O,w;return(w=(O=l.value)===null||O===void 0?void 0:O.getPopupDomNode)===null||w===void 0?void 0:w.call(O)}});const[i,s]=Ot(!1,{value:Be(e,"open")}),u=(O,w)=>{e.open===void 0&&s(O),o("update:open",O),o("openChange",O,w)},c=O=>{u(!1,O)},d=O=>{var w;return(w=e.onConfirm)===null||w===void 0?void 0:w.call(e,O)},p=O=>{var w;u(!1,O),(w=e.onCancel)===null||w===void 0||w.call(e,O)},g=O=>{O.keyCode===$e.ESC&&i&&u(!1,O)},m=O=>{const{disabled:w}=e;w||u(O)},{prefixCls:h,getPrefixCls:b}=Ee("popconfirm",e),y=P(()=>b()),S=P(()=>b("btn")),[$]=iU(h),[x]=$o("Popconfirm",Gn.Popconfirm),C=()=>{var O,w,M,I,_;const{okButtonProps:D,cancelButtonProps:F,title:z=(O=n.title)===null||O===void 0?void 0:O.call(n),description:H=(w=n.description)===null||w===void 0?void 0:w.call(n),cancelText:T=(M=n.cancel)===null||M===void 0?void 0:M.call(n),okText:A=(I=n.okText)===null||I===void 0?void 0:I.call(n),okType:R,icon:E=((_=n.icon)===null||_===void 0?void 0:_.call(n))||f(Ko,null,null),showCancel:k=!0}=e,{cancelButton:B,okButton:L}=n,j=v({onClick:p,size:"small"},F),K=v(v(v({onClick:d},zs(R)),{size:"small"}),D);return f("div",{class:`${h.value}-inner-content`},[f("div",{class:`${h.value}-message`},[E&&f("span",{class:`${h.value}-message-icon`},[E]),f("div",{class:[`${h.value}-message-title`,{[`${h.value}-message-title-only`]:!!H}]},[z])]),H&&f("div",{class:`${h.value}-description`},[H]),f("div",{class:`${h.value}-buttons`},[k?B?B(j):f(qt,j,{default:()=>[T||x.value.cancelText]}):null,L?L(K):f(Tp,{buttonProps:v(v({size:"small"},zs(R)),D),actionFn:d,close:c,prefixCls:S.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[A||x.value.okText]})])])};return()=>{var O;const{placement:w,overlayClassName:M,trigger:I="click"}=e,_=sU(e,["placement","overlayClassName","trigger"]),D=qe(_,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),F=te(h.value,M);return $(f(Ax,N(N(N({},D),a),{},{trigger:I,placement:w,onOpenChange:m,open:i.value,overlayClassName:F,transitionName:en(y.value,"zoom-big",e.transitionName),ref:l,"data-popover-inject":!0}),{default:()=>[UE(((O=n.default)===null||O===void 0?void 0:O.call(n))||[],{onKeydown:z=>{g(z)}},!1)],content:C}))}}}),woe=Vt(uU),dU=["normal","exception","active","success"],fu=()=>({prefixCls:String,type:je(),percent:Number,format:de(),status:je(),showInfo:Ce(),strokeWidth:Number,strokeLinecap:je(),strokeColor:xt(),trailColor:String,width:Number,success:Ne(),gapDegree:Number,gapPosition:je(),size:Ge([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:je()});function Fr(e){return!e||e<0?0:e>100?100:e}function Js(e){let{success:t,successPercent:n}=e,o=n;return t&&"progress"in t&&(bt(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),o=t.progress),t&&"percent"in t&&(o=t.percent),o}function fU(e){let{percent:t,success:n,successPercent:o}=e;const r=Fr(Js({success:n,successPercent:o}));return[r,Fr(Fr(t)-r)]}function pU(e){let{success:t={},strokeColor:n}=e;const{strokeColor:o}=t;return[o||$a.green,n||null]}const pu=(e,t,n)=>{var o,r,a,l;let i=-1,s=-1;if(t==="step"){const u=n.steps,c=n.strokeWidth;typeof e=="string"||typeof e>"u"?(i=e==="small"?2:14,s=c??8):typeof e=="number"?[i,s]=[e,e]:[i=14,s=8]=e,i*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[i,s]=[e,e]:[i=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[i,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[i,s]=[e,e]:(i=(r=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&r!==void 0?r:120,s=(l=(a=e[0])!==null&&a!==void 0?a:e[1])!==null&&l!==void 0?l:120));return{width:i,height:s}};var vU=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rv(v({},fu()),{strokeColor:xt(),direction:je()}),hU=e=>{let t=[];return Object.keys(e).forEach(n=>{const o=parseFloat(n.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[n]})}),t=t.sort((n,o)=>n.key-o.key),t.map(n=>{let{key:o,value:r}=n;return`${r} ${o}%`}).join(", ")},mU=(e,t)=>{const{from:n=$a.blue,to:o=$a.blue,direction:r=t==="rtl"?"to left":"to right"}=e,a=vU(e,["from","to","direction"]);if(Object.keys(a).length!==0){const l=hU(a);return{backgroundImage:`linear-gradient(${r}, ${l})`}}return{backgroundImage:`linear-gradient(${r}, ${n}, ${o})`}},bU=J({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:gU(),setup(e,t){let{slots:n,attrs:o}=t;const r=P(()=>{const{strokeColor:g,direction:m}=e;return g&&typeof g!="string"?mU(g,m):{backgroundColor:g}}),a=P(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),l=P(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),i=P(()=>{var g;return(g=e.size)!==null&&g!==void 0?g:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),s=P(()=>pu(i.value,"line",{strokeWidth:e.strokeWidth})),u=P(()=>{const{percent:g}=e;return v({width:`${Fr(g)}%`,height:`${s.value.height}px`,borderRadius:a.value},r.value)}),c=P(()=>Js(e)),d=P(()=>{const{success:g}=e;return{width:`${Fr(c.value)}%`,height:`${s.value.height}px`,borderRadius:a.value,backgroundColor:g==null?void 0:g.strokeColor}}),p={width:s.value.width<0?"100%":s.value.width,height:`${s.value.height}px`};return()=>{var g;return f(nt,null,[f("div",N(N({},o),{},{class:[`${e.prefixCls}-outer`,o.class],style:[o.style,p]}),[f("div",{class:`${e.prefixCls}-inner`,style:l.value},[f("div",{class:`${e.prefixCls}-bg`,style:u.value},null),c.value!==void 0?f("div",{class:`${e.prefixCls}-success-bg`,style:d.value},null):null])]),(g=n.default)===null||g===void 0?void 0:g.call(n)])}}}),yU={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},SU=e=>{const t=Z(null);return ao(()=>{const n=Date.now();let o=!1;e.value.forEach(r=>{const a=(r==null?void 0:r.$el)||r;if(!a)return;o=!0;const l=a.style;l.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(l.transitionDuration="0s, 0s")}),o&&(t.value=Date.now())}),e},$U={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var CU=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0;const l=50-o/2;let i=0,s=-l,u=0,c=-2*l;switch(a){case"left":i=-l,s=0,u=2*l,c=0;break;case"right":i=l,s=0,u=-2*l,c=0;break;case"bottom":s=l,c=2*l;break}const d=`M 50,50 m ${i},${s} + a ${l},${l} 0 1 1 ${u},${-c} + a ${l},${l} 0 1 1 ${-u},${c}`,p=Math.PI*2*l,g={stroke:n,strokeDasharray:`${t/100*(p-r)}px ${p}px`,strokeDashoffset:`-${r/2+e/100*(p-r)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:g}}const xU=J({compatConfig:{MODE:3},name:"VCCircle",props:rt($U,yU),setup(e){qy+=1;const t=Z(qy),n=P(()=>Zy(e.percent)),o=P(()=>Zy(e.strokeColor)),[r,a]=qg();SU(a);const l=()=>{const{prefixCls:i,strokeWidth:s,strokeLinecap:u,gapDegree:c,gapPosition:d}=e;let p=0;return n.value.map((g,m)=>{const h=o.value[m]||o.value[o.value.length-1],b=Object.prototype.toString.call(h)==="[object Object]"?`url(#${i}-gradient-${t.value})`:"",{pathString:y,pathStyle:S}=Jy(p,g,h,s,c,d);p+=g;const $={key:m,d:y,stroke:b,"stroke-linecap":u,"stroke-width":s,opacity:g===0?0:1,"fill-opacity":"0",class:`${i}-circle-path`,style:S};return f("path",N({ref:r(m)},$),null)})};return()=>{const{prefixCls:i,strokeWidth:s,trailWidth:u,gapDegree:c,gapPosition:d,trailColor:p,strokeLinecap:g,strokeColor:m}=e,h=CU(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:b,pathStyle:y}=Jy(0,100,p,s,c,d);delete h.percent;const S=o.value.find(x=>Object.prototype.toString.call(x)==="[object Object]"),$={d:b,stroke:p,"stroke-linecap":g,"stroke-width":u||s,"fill-opacity":"0",class:`${i}-circle-trail`,style:y};return f("svg",N({class:`${i}-circle`,viewBox:"0 0 100 100"},h),[S&&f("defs",null,[f("linearGradient",{id:`${i}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(S).sort((x,C)=>Qy(x)-Qy(C)).map((x,C)=>f("stop",{key:C,offset:x,"stop-color":S[x]},null))])]),f("path",$,null),l().reverse()])}}}),wU=()=>v(v({},fu()),{strokeColor:xt()}),OU=3,PU=e=>OU/e*100,IU=J({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:rt(wU(),{trailColor:null}),setup(e,t){let{slots:n,attrs:o}=t;const r=P(()=>{var h;return(h=e.width)!==null&&h!==void 0?h:120}),a=P(()=>{var h;return(h=e.size)!==null&&h!==void 0?h:[r.value,r.value]}),l=P(()=>pu(a.value,"circle")),i=P(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),s=P(()=>({width:`${l.value.width}px`,height:`${l.value.height}px`,fontSize:`${l.value.width*.15+6}px`})),u=P(()=>{var h;return(h=e.strokeWidth)!==null&&h!==void 0?h:Math.max(PU(l.value.width),6)}),c=P(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),d=P(()=>fU(e)),p=P(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),g=P(()=>pU({success:e.success,strokeColor:e.strokeColor})),m=P(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:p.value}));return()=>{var h;const b=f(xU,{percent:d.value,strokeWidth:u.value,trailWidth:u.value,strokeColor:g.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:i.value,gapPosition:c.value},null);return f("div",N(N({},o),{},{class:[m.value,o.class],style:[o.style,s.value]}),[l.value.width<=20?f(oo,null,{default:()=>[f("span",null,[b])],title:n.default}):f(nt,null,[b,(h=n.default)===null||h===void 0?void 0:h.call(n)])])}}}),TU=()=>v(v({},fu()),{steps:Number,strokeColor:Ge(),trailColor:String}),MU=J({compatConfig:{MODE:3},name:"Steps",props:TU(),setup(e,t){let{slots:n}=t;const o=P(()=>Math.round(e.steps*((e.percent||0)/100))),r=P(()=>{var i;return(i=e.size)!==null&&i!==void 0?i:[e.size==="small"?2:14,e.strokeWidth||8]}),a=P(()=>pu(r.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),l=P(()=>{const{steps:i,strokeColor:s,trailColor:u,prefixCls:c}=e,d=[];for(let p=0;p{var i;return f("div",{class:`${e.prefixCls}-steps-outer`},[l.value,(i=n.default)===null||i===void 0?void 0:i.call(n)])}}}),EU=new Ue("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),_U=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:v(v({},et(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:EU,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},DU=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},AU=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},RU=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},NU=Qe("Progress",e=>{const t=e.marginXXS/2,n=ze(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[_U(n),DU(n),AU(n),RU(n)]});var kU=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rArray.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),u=P(()=>{const{percent:m=0}=e,h=Js(e);return parseInt(h!==void 0?h.toString():m.toString(),10)}),c=P(()=>{const{status:m}=e;return!dU.includes(m)&&u.value>=100?"success":m||"normal"}),d=P(()=>{const{type:m,showInfo:h,size:b}=e,y=r.value;return{[y]:!0,[`${y}-inline-circle`]:m==="circle"&&pu(b,"circle").width<=20,[`${y}-${m==="dashboard"&&"circle"||m}`]:!0,[`${y}-status-${c.value}`]:!0,[`${y}-show-info`]:h,[`${y}-${b}`]:b,[`${y}-rtl`]:a.value==="rtl",[i.value]:!0}}),p=P(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),g=()=>{const{showInfo:m,format:h,type:b,percent:y,title:S}=e,$=Js(e);if(!m)return null;let x;const C=h||(n==null?void 0:n.format)||(w=>`${w}%`),O=b==="line";return h||n!=null&&n.format||c.value!=="exception"&&c.value!=="success"?x=C(Fr(y),Fr($)):c.value==="exception"?x=O?f(bn,null,null):f(io,null,null):c.value==="success"&&(x=O?f(Wo,null,null):f(tg,null,null)),f("span",{class:`${r.value}-text`,title:S===void 0&&typeof x=="string"?x:void 0},[x])};return()=>{const{type:m,steps:h,title:b}=e,{class:y}=o,S=kU(o,["class"]),$=g();let x;return m==="line"?x=h?f(MU,N(N({},e),{},{strokeColor:p.value,prefixCls:r.value,steps:h}),{default:()=>[$]}):f(bU,N(N({},e),{},{strokeColor:s.value,prefixCls:r.value,direction:a.value}),{default:()=>[$]}):(m==="circle"||m==="dashboard")&&(x=f(IU,N(N({},e),{},{prefixCls:r.value,strokeColor:s.value,progressStatus:c.value}),{default:()=>[$]})),l(f("div",N(N({role:"progressbar"},S),{},{class:[d.value,y],title:b}),[x]))}}}),FU=Vt(BU);function LU(e){let t=e.pageXOffset;const n="scrollLeft";if(typeof t!="number"){const o=e.document;t=o.documentElement[n],typeof t!="number"&&(t=o.body[n])}return t}function zU(e){let t,n;const o=e.ownerDocument,{body:r}=o,a=o&&o.documentElement,l=e.getBoundingClientRect();return t=l.left,n=l.top,t-=a.clientLeft||r.clientLeft||0,n-=a.clientTop||r.clientTop||0,{left:t,top:n}}function HU(e){const t=zU(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=LU(o),t.left}var jU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const VU=jU;function eS(e){for(var t=1;t{const{index:s}=e;n("hover",i,s)},r=i=>{const{index:s}=e;n("click",i,s)},a=i=>{const{index:s}=e;i.keyCode===13&&n("click",i,s)},l=P(()=>{const{prefixCls:i,index:s,value:u,allowHalf:c,focused:d}=e,p=s+1;let g=i;return u===0&&s===0&&d?g+=` ${i}-focused`:c&&u+.5>=p&&u{const{disabled:i,prefixCls:s,characterRender:u,character:c,index:d,count:p,value:g}=e,m=typeof c=="function"?c({disabled:i,prefixCls:s,index:d,count:p,value:g}):c;let h=f("li",{class:l.value},[f("div",{onClick:i?null:r,onKeydown:i?null:a,onMousemove:i?null:o,role:"radio","aria-checked":g>d?"true":"false","aria-posinset":d+1,"aria-setsize":p,tabindex:i?-1:0},[f("div",{class:`${s}-first`},[m]),f("div",{class:`${s}-second`},[m])])]);return u&&(h=u(h,e)),h}}}),UU=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},YU=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),qU=e=>{const{componentCls:t}=e;return{[t]:v(v(v(v(v({},et(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),UU(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),YU(e))}},QU=Qe("Rate",e=>{const{colorFillContent:t}=e,n=ze(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[qU(n)]}),ZU=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:V.any,autofocus:{type:Boolean,default:void 0},tabindex:V.oneOfType([V.number,V.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),JU=J({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:rt(ZU(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:o,emit:r,expose:a}=t;const{prefixCls:l,direction:i}=Ee("rate",e),[s,u]=QU(l),c=Ht(),d=Z(),[p,g]=qg(),m=vt({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});ue(()=>e.value,()=>{m.value=e.value});const h=D=>Pn(g.value.get(D)),b=(D,F)=>{const z=i.value==="rtl";let H=D+1;if(e.allowHalf){const T=h(D),A=HU(T),R=T.clientWidth;(z&&F-A>R/2||!z&&F-A{e.value===void 0&&(m.value=D),r("update:value",D),r("change",D),c.onFieldChange()},S=(D,F)=>{const z=b(F,D.pageX);z!==m.cleanedValue&&(m.hoverValue=z,m.cleanedValue=null),r("hoverChange",z)},$=()=>{m.hoverValue=void 0,m.cleanedValue=null,r("hoverChange",void 0)},x=(D,F)=>{const{allowClear:z}=e,H=b(F,D.pageX);let T=!1;z&&(T=H===m.value),$(),y(T?0:H),m.cleanedValue=T?H:null},C=D=>{m.focused=!0,r("focus",D)},O=D=>{m.focused=!1,r("blur",D),c.onFieldBlur()},w=D=>{const{keyCode:F}=D,{count:z,allowHalf:H}=e,T=i.value==="rtl";F===$e.RIGHT&&m.value0&&!T||F===$e.RIGHT&&m.value>0&&T?(H?m.value-=.5:m.value-=1,y(m.value),D.preventDefault()):F===$e.LEFT&&m.value{e.disabled||d.value.focus()};a({focus:M,blur:()=>{e.disabled||d.value.blur()}}),Ve(()=>{const{autofocus:D,disabled:F}=e;D&&!F&&M()});const _=(D,F)=>{let{index:z}=F;const{tooltips:H}=e;return H?f(oo,{title:H[z]},{default:()=>[D]}):D};return()=>{const{count:D,allowHalf:F,disabled:z,tabindex:H,id:T=c.id.value}=e,{class:A,style:R}=o,E=[],k=z?`${l.value}-disabled`:"",B=e.character||n.character||(()=>f(KU,null,null));for(let j=0;jf("svg",{width:"252",height:"294"},[f("defs",null,[f("path",{d:"M0 .387h251.772v251.772H0z"},null)]),f("g",{fill:"none","fill-rule":"evenodd"},[f("g",{transform:"translate(0 .012)"},[f("mask",{fill:"#fff"},null),f("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),f("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),f("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),f("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),f("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),f("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),f("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),f("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),f("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),f("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),f("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),f("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),f("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),f("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),f("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),f("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),f("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),f("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),f("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),f("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),f("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),f("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),f("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),f("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),f("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),f("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),f("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),f("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),f("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),f("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),f("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),f("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),f("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),f("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),f("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),f("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),f("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),f("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),f("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),f("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),f("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),f("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),aY=rY,lY=()=>f("svg",{width:"254",height:"294"},[f("defs",null,[f("path",{d:"M0 .335h253.49v253.49H0z"},null),f("path",{d:"M0 293.665h253.49V.401H0z"},null)]),f("g",{fill:"none","fill-rule":"evenodd"},[f("g",{transform:"translate(0 .067)"},[f("mask",{fill:"#fff"},null),f("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),f("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),f("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),f("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),f("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),f("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),f("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),f("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),f("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),f("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),f("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),f("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),f("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),f("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),f("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),f("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),f("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),f("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),f("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),f("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),f("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),f("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),f("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),f("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),f("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),f("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),f("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),f("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),f("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),f("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),f("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),f("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),f("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),f("mask",{fill:"#fff"},null),f("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),f("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),f("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),f("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),f("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),f("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),f("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),f("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),f("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),f("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),f("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),iY=lY,sY=()=>f("svg",{width:"251",height:"294"},[f("g",{fill:"none","fill-rule":"evenodd"},[f("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),f("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),f("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),f("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),f("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),f("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),f("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),f("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),f("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),f("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),f("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),f("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),f("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),f("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),f("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),f("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),f("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),f("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),f("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),f("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),f("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),f("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),f("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),f("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),f("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),f("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),f("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),f("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),f("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),f("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),f("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),f("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),f("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),f("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),f("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),f("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),f("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),f("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),f("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),f("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),cY=sY,uY=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:o,padding:r,paddingXL:a,paddingXS:l,paddingLG:i,marginXS:s,lineHeight:u}=e;return{[t]:{padding:`${i*2}px ${a}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:i,textAlign:"center",[`& > ${o}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:i,padding:`${i}px ${r*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:l,"&:last-child":{marginInlineEnd:0}}}}},dY=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},fY=e=>[uY(e),dY(e)],pY=e=>fY(e),vY=Qe("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,o=e.fontSize,r=`${t}px 0 0 0`,a=e.colorInfo,l=e.colorError,i=e.colorSuccess,s=e.colorWarning,u=ze(e,{resultTitleFontSize:n,resultSubtitleFontSize:o,resultIconFontSize:n*3,resultExtraMargin:r,resultInfoIconColor:a,resultErrorIconColor:l,resultSuccessIconColor:i,resultWarningIconColor:s});return[pY(u)]},{imageWidth:250,imageHeight:295}),gY={success:Wo,error:bn,info:Ko,warning:oY},bi={404:aY,500:iY,403:cY},hY=Object.keys(bi),mY=()=>({prefixCls:String,icon:V.any,status:{type:[Number,String],default:"info"},title:V.any,subTitle:V.any,extra:V.any}),bY=(e,t)=>{let{status:n,icon:o}=t;if(hY.includes(`${n}`)){const l=bi[n];return f("div",{class:`${e}-icon ${e}-image`},[f(l,null,null)])}const r=gY[n],a=o||f(r,null,null);return f("div",{class:`${e}-icon`},[a])},yY=(e,t)=>t&&f("div",{class:`${e}-extra`},[t]),Lr=J({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:mY(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("result",e),[l,i]=vY(r),s=P(()=>te(r.value,i.value,`${r.value}-${e.status}`,{[`${r.value}-rtl`]:a.value==="rtl"}));return()=>{var u,c,d,p,g,m,h,b;const y=(u=e.title)!==null&&u!==void 0?u:(c=n.title)===null||c===void 0?void 0:c.call(n),S=(d=e.subTitle)!==null&&d!==void 0?d:(p=n.subTitle)===null||p===void 0?void 0:p.call(n),$=(g=e.icon)!==null&&g!==void 0?g:(m=n.icon)===null||m===void 0?void 0:m.call(n),x=(h=e.extra)!==null&&h!==void 0?h:(b=n.extra)===null||b===void 0?void 0:b.call(n),C=r.value;return l(f("div",N(N({},o),{},{class:[s.value,o.class]}),[bY(C,{status:e.status,icon:$}),f("div",{class:`${C}-title`},[y]),S&&f("div",{class:`${C}-subtitle`},[S]),yY(C,x),n.default&&f("div",{class:`${C}-content`},[n.default()])]))}}});Lr.PRESENTED_IMAGE_403=bi[403];Lr.PRESENTED_IMAGE_404=bi[404];Lr.PRESENTED_IMAGE_500=bi[500];Lr.install=function(e){return e.component(Lr.name,Lr),e};const Poe=Lr,Ioe=Vt(T4),U3=(e,t)=>{let{attrs:n}=t;const{included:o,vertical:r,style:a,class:l}=n;let{length:i,offset:s,reverse:u}=n;i<0&&(u=!u,i=Math.abs(i),s=100-s);const c=r?{[u?"top":"bottom"]:`${s}%`,[u?"bottom":"top"]:"auto",height:`${i}%`}:{[u?"right":"left"]:`${s}%`,[u?"left":"right"]:"auto",width:`${i}%`},d=v(v({},a),c);return o?f("div",{class:l,style:d},null):null};U3.inheritAttrs=!1;const Y3=U3,SY=(e,t,n,o,r,a)=>{yt();const l=Object.keys(t).map(parseFloat).sort((i,s)=>i-s);if(n&&o)for(let i=r;i<=a;i+=o)l.indexOf(i)===-1&&l.push(i);return l},q3=(e,t)=>{let{attrs:n}=t;const{prefixCls:o,vertical:r,reverse:a,marks:l,dots:i,step:s,included:u,lowerBound:c,upperBound:d,max:p,min:g,dotStyle:m,activeDotStyle:h}=n,b=p-g,y=SY(r,l,i,s,g,p).map(S=>{const $=`${Math.abs(S-g)/b*100}%`,x=!u&&S===d||u&&S<=d&&S>=c;let C=r?v(v({},m),{[a?"top":"bottom"]:$}):v(v({},m),{[a?"right":"left"]:$});x&&(C=v(v({},C),h));const O=te({[`${o}-dot`]:!0,[`${o}-dot-active`]:x,[`${o}-dot-reverse`]:a});return f("span",{class:O,style:C,key:S},null)});return f("div",{class:`${o}-step`},[y])};q3.inheritAttrs=!1;const $Y=q3,Q3=(e,t)=>{let{attrs:n,slots:o}=t;const{class:r,vertical:a,reverse:l,marks:i,included:s,upperBound:u,lowerBound:c,max:d,min:p,onClickLabel:g}=n,m=Object.keys(i),h=o.mark,b=d-p,y=m.map(parseFloat).sort((S,$)=>S-$).map(S=>{const $=typeof i[S]=="function"?i[S]():i[S],x=typeof $=="object"&&!kt($);let C=x?$.label:$;if(!C&&C!==0)return null;h&&(C=h({point:S,label:C}));const O=!s&&S===u||s&&S<=u&&S>=c,w=te({[`${r}-text`]:!0,[`${r}-text-active`]:O}),M={marginBottom:"-50%",[l?"top":"bottom"]:`${(S-p)/b*100}%`},I={transform:`translateX(${l?"50%":"-50%"})`,msTransform:`translateX(${l?"50%":"-50%"})`,[l?"right":"left"]:`${(S-p)/b*100}%`},_=a?M:I,D=x?v(v({},_),$.style):_,F={[zt?"onTouchstartPassive":"onTouchstart"]:z=>g(z,S)};return f("span",N({class:w,style:D,key:S,onMousedown:z=>g(z,S)},F),[C])});return f("div",{class:r},[y])};Q3.inheritAttrs=!1;const CY=Q3,Z3=J({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:V.oneOfType([V.number,V.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup(e,t){let{attrs:n,emit:o,expose:r}=t;const a=Y(!1),l=Y(),i=()=>{document.activeElement===l.value&&(a.value=!0)},s=b=>{a.value=!1,o("blur",b)},u=()=>{a.value=!1},c=()=>{var b;(b=l.value)===null||b===void 0||b.focus()},d=()=>{var b;(b=l.value)===null||b===void 0||b.blur()},p=()=>{a.value=!0,c()},g=b=>{b.preventDefault(),c(),o("mousedown",b)};r({focus:c,blur:d,clickFocus:p,ref:l});let m=null;Ve(()=>{m=wt(document,"mouseup",i)}),Je(()=>{m==null||m.remove()});const h=P(()=>{const{vertical:b,offset:y,reverse:S}=e;return b?{[S?"top":"bottom"]:`${y}%`,[S?"bottom":"top"]:"auto",transform:S?null:"translateY(+50%)"}:{[S?"right":"left"]:`${y}%`,[S?"left":"right"]:"auto",transform:`translateX(${S?"+":"-"}50%)`}});return()=>{const{prefixCls:b,disabled:y,min:S,max:$,value:x,tabindex:C,ariaLabel:O,ariaLabelledBy:w,ariaValueTextFormatter:M,onMouseenter:I,onMouseleave:_}=e,D=te(n.class,{[`${b}-handle-click-focused`]:a.value}),F={"aria-valuemin":S,"aria-valuemax":$,"aria-valuenow":x,"aria-disabled":!!y},z=[n.style,h.value];let H=C||0;(y||C===null)&&(H=null);let T;M&&(T=M(x));const A=v(v(v(v({},n),{role:"slider",tabindex:H}),F),{class:D,onBlur:s,onKeydown:u,onMousedown:g,onMouseenter:I,onMouseleave:_,ref:l,style:z});return f("div",N(N({},A),{},{"aria-label":O,"aria-labelledby":w,"aria-valuetext":T}),null)}}});function Hd(e,t){try{return Object.keys(t).some(n=>e.target===t[n].ref)}catch{return!1}}function J3(e,t){let{min:n,max:o}=t;return eo}function nS(e){return e.touches.length>1||e.type.toLowerCase()==="touchend"&&e.touches.length>0}function oS(e,t){let{marks:n,step:o,min:r,max:a}=t;const l=Object.keys(n).map(parseFloat);if(o!==null){const s=Math.pow(10,e6(o)),u=Math.floor((a*s-r*s)/(o*s)),c=Math.min((e-r)/o,u),d=Math.round(c)*o+r;l.push(d)}const i=l.map(s=>Math.abs(e-s));return l[i.indexOf(Math.min(...i))]}function e6(e){const t=e.toString();let n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function rS(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function aS(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function lS(e,t){const n=t.getBoundingClientRect();return e?n.top+n.height*.5:window.pageXOffset+n.left+n.width*.5}function kh(e,t){let{max:n,min:o}=t;return e<=o?o:e>=n?n:e}function t6(e,t){const{step:n}=t,o=isFinite(oS(e,t))?oS(e,t):0;return n===null?o:parseFloat(o.toFixed(e6(n)))}function Ga(e){e.stopPropagation(),e.preventDefault()}function xY(e,t,n){const o={increase:(l,i)=>l+i,decrease:(l,i)=>l-i},r=o[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),a=Object.keys(n.marks)[r];return n.step?o[e](t,n.step):Object.keys(n.marks).length&&n.marks[a]?n.marks[a]:t}function n6(e,t,n){const o="increase",r="decrease";let a=o;switch(e.keyCode){case $e.UP:a=t&&n?r:o;break;case $e.RIGHT:a=!t&&n?r:o;break;case $e.DOWN:a=t&&n?o:r;break;case $e.LEFT:a=!t&&n?o:r;break;case $e.END:return(l,i)=>i.max;case $e.HOME:return(l,i)=>i.min;case $e.PAGE_UP:return(l,i)=>l+i.step*2;case $e.PAGE_DOWN:return(l,i)=>l-i.step*2;default:return}return(l,i)=>xY(a,l,i)}var wY=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{this.document=this.sliderRef&&this.sliderRef.ownerDocument;const{autofocus:n,disabled:o}=this;n&&!o&&this.focus()})},beforeUnmount(){this.$nextTick(()=>{this.removeDocumentEvents()})},methods:{defaultHandle(n){var{index:o,directives:r,className:a,style:l}=n,i=wY(n,["index","directives","className","style"]);if(delete i.dragging,i.value===null)return null;const s=v(v({},i),{class:a,style:l,key:o});return f(Z3,s,null)},onDown(n,o){let r=o;const{draggableTrack:a,vertical:l}=this.$props,{bounds:i}=this.$data,s=a&&this.positionGetValue?this.positionGetValue(r)||[]:[],u=Hd(n,this.handlesRefs);if(this.dragTrack=a&&i.length>=2&&!u&&!s.map((c,d)=>{const p=d?!0:c>=i[d];return d===s.length-1?c<=i[d]:p}).some(c=>!c),this.dragTrack)this.dragOffset=r,this.startBounds=[...i];else{if(!u)this.dragOffset=0;else{const c=lS(l,n.target);this.dragOffset=r-c,r=c}this.onStart(r)}},onMouseDown(n){if(n.button!==0)return;this.removeDocumentEvents();const o=this.$props.vertical,r=rS(o,n);this.onDown(n,r),this.addDocumentMouseEvents()},onTouchStart(n){if(nS(n))return;const o=this.vertical,r=aS(o,n);this.onDown(n,r),this.addDocumentTouchEvents(),Ga(n)},onFocus(n){const{vertical:o}=this;if(Hd(n,this.handlesRefs)&&!this.dragTrack){const r=lS(o,n.target);this.dragOffset=0,this.onStart(r),Ga(n),this.$emit("focus",n)}},onBlur(n){this.dragTrack||this.onEnd(),this.$emit("blur",n)},onMouseUp(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove(n){if(!this.sliderRef){this.onEnd();return}const o=rS(this.vertical,n);this.onMove(n,o-this.dragOffset,this.dragTrack,this.startBounds)},onTouchMove(n){if(nS(n)||!this.sliderRef){this.onEnd();return}const o=aS(this.vertical,n);this.onMove(n,o-this.dragOffset,this.dragTrack,this.startBounds)},onKeyDown(n){this.sliderRef&&Hd(n,this.handlesRefs)&&this.onKeyboard(n)},onClickMarkLabel(n,o){n.stopPropagation(),this.onChange({sValue:o}),this.setState({sValue:o},()=>this.onEnd(!0))},getSliderStart(){const n=this.sliderRef,{vertical:o,reverse:r}=this,a=n.getBoundingClientRect();return o?r?a.bottom:a.top:window.pageXOffset+(r?a.right:a.left)},getSliderLength(){const n=this.sliderRef;if(!n)return 0;const o=n.getBoundingClientRect();return this.vertical?o.height:o.width},addDocumentTouchEvents(){this.onTouchMoveListener=wt(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=wt(this.document,"touchend",this.onEnd)},addDocumentMouseEvents(){this.onMouseMoveListener=wt(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=wt(this.document,"mouseup",this.onEnd)},removeDocumentEvents(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus(){var n;this.$props.disabled||(n=this.handlesRefs[0])===null||n===void 0||n.focus()},blur(){this.$props.disabled||Object.keys(this.handlesRefs).forEach(n=>{var o,r;(r=(o=this.handlesRefs[n])===null||o===void 0?void 0:o.blur)===null||r===void 0||r.call(o)})},calcValue(n){const{vertical:o,min:r,max:a}=this,l=Math.abs(Math.max(n,0)/this.getSliderLength());return o?(1-l)*(a-r)+r:l*(a-r)+r},calcValueByPos(n){const r=(this.reverse?-1:1)*(n-this.getSliderStart());return this.trimAlignValue(this.calcValue(r))},calcOffset(n){const{min:o,max:r}=this,a=(n-o)/(r-o);return Math.max(0,a*100)},saveSlider(n){this.sliderRef=n},saveHandle(n,o){this.handlesRefs[n]=o}},render(){const{prefixCls:n,marks:o,dots:r,step:a,included:l,disabled:i,vertical:s,reverse:u,min:c,max:d,maximumTrackStyle:p,railStyle:g,dotStyle:m,activeDotStyle:h,id:b}=this,{class:y,style:S}=this.$attrs,{tracks:$,handles:x}=this.renderSlider(),C=te(n,y,{[`${n}-with-marks`]:Object.keys(o).length,[`${n}-disabled`]:i,[`${n}-vertical`]:s,[`${n}-horizontal`]:!s}),O={vertical:s,marks:o,included:l,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,reverse:u,class:`${n}-mark`,onClickLabel:i?Sr:this.onClickMarkLabel},w={[zt?"onTouchstartPassive":"onTouchstart"]:i?Sr:this.onTouchStart};return f("div",N(N({id:b,ref:this.saveSlider,tabindex:"-1",class:C},w),{},{onMousedown:i?Sr:this.onMouseDown,onMouseup:i?Sr:this.onMouseUp,onKeydown:i?Sr:this.onKeyDown,onFocus:i?Sr:this.onFocus,onBlur:i?Sr:this.onBlur,style:S}),[f("div",{class:`${n}-rail`,style:v(v({},p),g)},null),$,f($Y,{prefixCls:n,vertical:s,reverse:u,marks:o,dots:r,step:a,included:l,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,dotStyle:m,activeDotStyle:h},null),x,f(CY,O,{mark:this.$slots.mark}),bc(this)])}})}const OY=J({compatConfig:{MODE:3},name:"Slider",mixins:[Jr],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:V.oneOfType([V.number,V.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data(){const e=this.defaultValue!==void 0?this.defaultValue:this.min,t=this.value!==void 0?this.value:e;return{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler(e){this.setChangeValue(e)},deep:!0},min(){const{sValue:e}=this;this.setChangeValue(e)},max(){const{sValue:e}=this;this.setChangeValue(e)}},methods:{setChangeValue(e){const t=e!==void 0?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),J3(t,this.$props)&&this.$emit("change",n))},onChange(e){const t=!_o(this,"value"),n=e.sValue>this.max?v(v({},e),{sValue:this.max}):e;t&&this.setState(n);const o=n.sValue;this.$emit("change",o)},onStart(e){this.setState({dragging:!0});const{sValue:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd(e){const{dragging:t}=this;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove(e,t){Ga(e);const{sValue:n}=this,o=this.calcValueByPos(t);o!==n&&this.onChange({sValue:o})},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,o=n6(e,n,t);if(o){Ga(e);const{sValue:r}=this,a=o(r,this.$props),l=this.trimAlignValue(a);if(l===r)return;this.onChange({sValue:l}),this.$emit("afterChange",l),this.onEnd()}},getLowerBound(){const e=this.$props.startPoint||this.$props.min;return this.$data.sValue>e?e:this.$data.sValue},getUpperBound(){return this.$data.sValue1&&arguments[1]!==void 0?arguments[1]:{};if(e===null)return null;const n=v(v({},this.$props),t),o=kh(e,n);return t6(o,n)},getTrack(e){let{prefixCls:t,reverse:n,vertical:o,included:r,minimumTrackStyle:a,mergedTrackStyle:l,length:i,offset:s}=e;return f(Y3,{class:`${t}-track`,vertical:o,included:r,offset:s,reverse:n,length:i,style:v(v({},a),l)},null)},renderSlider(){const{prefixCls:e,vertical:t,included:n,disabled:o,minimumTrackStyle:r,trackStyle:a,handleStyle:l,tabindex:i,ariaLabelForHandle:s,ariaLabelledByForHandle:u,ariaValueTextFormatterForHandle:c,min:d,max:p,startPoint:g,reverse:m,handle:h,defaultHandle:b}=this,y=h||b,{sValue:S,dragging:$}=this,x=this.calcOffset(S),C=y({class:`${e}-handle`,prefixCls:e,vertical:t,offset:x,value:S,dragging:$,disabled:o,min:d,max:p,reverse:m,index:0,tabindex:i,ariaLabel:s,ariaLabelledBy:u,ariaValueTextFormatter:c,style:l[0]||l,ref:M=>this.saveHandle(0,M),onFocus:this.onFocus,onBlur:this.onBlur}),O=g!==void 0?this.calcOffset(g):0,w=a[0]||a;return{tracks:this.getTrack({prefixCls:e,reverse:m,vertical:t,included:n,offset:O,minimumTrackStyle:r,mergedTrackStyle:w,length:x-O}),handles:C}}}}),PY=o6(OY),pl=e=>{let{value:t,handle:n,bounds:o,props:r}=e;const{allowCross:a,pushable:l}=r,i=Number(l),s=kh(t,r);let u=s;return!a&&n!=null&&o!==void 0&&(n>0&&s<=o[n-1]+i&&(u=o[n-1]+i),n=o[n+1]-i&&(u=o[n+1]-i)),t6(u,r)},IY={defaultValue:V.arrayOf(V.number),value:V.arrayOf(V.number),count:Number,pushable:cE(V.oneOfType([V.looseBool,V.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:V.arrayOf(V.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},TY=J({compatConfig:{MODE:3},name:"Range",mixins:[Jr],inheritAttrs:!1,props:rt(IY,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data(){const{count:e,min:t,max:n}=this,o=Array(...Array(e+1)).map(()=>t),r=_o(this,"defaultValue")?this.defaultValue:o;let{value:a}=this;a===void 0&&(a=r);const l=a.map((s,u)=>pl({value:s,handle:u,props:this.$props}));return{sHandle:null,recent:l[0]===n?0:l.length-1,bounds:l}},watch:{value:{handler(e){const{bounds:t}=this;this.setChangeValue(e||t)},deep:!0},min(){const{value:e}=this;this.setChangeValue(e||this.bounds)},max(){const{value:e}=this;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue(e){const{bounds:t}=this;let n=e.map((o,r)=>pl({value:o,handle:r,bounds:t,props:this.$props}));if(t.length===n.length){if(n.every((o,r)=>o===t[r]))return null}else n=e.map((o,r)=>pl({value:o,handle:r,props:this.$props}));if(this.setState({bounds:n}),e.some(o=>J3(o,this.$props))){const o=e.map(r=>kh(r,this.$props));this.$emit("change",o)}},onChange(e){if(!_o(this,"value"))this.setState(e);else{const r={};["sHandle","recent"].forEach(a=>{e[a]!==void 0&&(r[a]=e[a])}),Object.keys(r).length&&this.setState(r)}const o=v(v({},this.$data),e).bounds;this.$emit("change",o)},positionGetValue(e){const t=this.getValue(),n=this.calcValueByPos(e),o=this.getClosestBound(n),r=this.getBoundNeedMoving(n,o),a=t[r];if(n===a)return null;const l=[...t];return l[r]=n,l},onStart(e){const{bounds:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;const o=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,o),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});const r=t[this.prevMovedHandleIndex];if(n===r)return;const a=[...t];a[this.prevMovedHandleIndex]=n,this.onChange({bounds:a})},onEnd(e){const{sHandle:t}=this;this.removeDocumentEvents(),t||(this.dragTrack=!1),(t!==null||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove(e,t,n,o){Ga(e);const{$data:r,$props:a}=this,l=a.max||100,i=a.min||0;if(n){let p=a.vertical?-t:t;p=a.reverse?-p:p;const g=l-Math.max(...o),m=i-Math.min(...o),h=Math.min(Math.max(p/(this.getSliderLength()/100),m),g),b=o.map(y=>Math.floor(Math.max(Math.min(y+h,l),i)));r.bounds.map((y,S)=>y===b[S]).some(y=>!y)&&this.onChange({bounds:b});return}const{bounds:s,sHandle:u}=this,c=this.calcValueByPos(t),d=s[u];c!==d&&this.moveTo(c)},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,o=n6(e,n,t);if(o){Ga(e);const{bounds:r,sHandle:a}=this,l=r[a===null?this.recent:a],i=o(l,this.$props),s=pl({value:i,handle:a,bounds:r,props:this.$props});if(s===l)return;this.moveTo(s,!0)}},getClosestBound(e){const{bounds:t}=this;let n=0;for(let o=1;o=t[o]&&(n=o);return Math.abs(t[n+1]-e)i-s),this.internalPointsCache={marks:e,step:t,points:l}}return this.internalPointsCache.points},moveTo(e,t){const n=[...this.bounds],{sHandle:o,recent:r}=this,a=o===null?r:o;n[a]=e;let l=a;this.$props.pushable!==!1?this.pushSurroundingHandles(n,l):this.$props.allowCross&&(n.sort((i,s)=>i-s),l=n.indexOf(e)),this.onChange({recent:l,sHandle:l,bounds:n}),t&&(this.$emit("afterChange",n),this.setState({},()=>{this.handlesRefs[l].focus()}),this.onEnd())},pushSurroundingHandles(e,t){const n=e[t],{pushable:o}=this,r=Number(o);let a=0;if(e[t+1]-n=o.length||a<0)return!1;const l=t+n,i=o[a],{pushable:s}=this,u=Number(s),c=n*(e[l]-i);return this.pushHandle(e,l,n,u-c)?(e[t]=i,!0):!1},trimAlignValue(e){const{sHandle:t,bounds:n}=this;return pl({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict(e,t,n){let{allowCross:o,pushable:r}=n;const a=this.$data||{},{bounds:l}=a;if(e=e===void 0?a.sHandle:e,r=Number(r),!o&&e!=null&&l!==void 0){if(e>0&&t<=l[e-1]+r)return l[e-1]+r;if(e=l[e+1]-r)return l[e+1]-r}return t},getTrack(e){let{bounds:t,prefixCls:n,reverse:o,vertical:r,included:a,offsets:l,trackStyle:i}=e;return t.slice(0,-1).map((s,u)=>{const c=u+1,d=te({[`${n}-track`]:!0,[`${n}-track-${c}`]:!0});return f(Y3,{class:d,vertical:r,reverse:o,included:a,offset:l[c-1],length:l[c]-l[c-1],style:i[u],key:c},null)})},renderSlider(){const{sHandle:e,bounds:t,prefixCls:n,vertical:o,included:r,disabled:a,min:l,max:i,reverse:s,handle:u,defaultHandle:c,trackStyle:d,handleStyle:p,tabindex:g,ariaLabelGroupForHandles:m,ariaLabelledByGroupForHandles:h,ariaValueTextFormatterGroupForHandles:b}=this,y=u||c,S=t.map(C=>this.calcOffset(C)),$=`${n}-handle`,x=t.map((C,O)=>{let w=g[O]||0;(a||g[O]===null)&&(w=null);const M=e===O;return y({class:te({[$]:!0,[`${$}-${O+1}`]:!0,[`${$}-dragging`]:M}),prefixCls:n,vertical:o,dragging:M,offset:S[O],value:C,index:O,tabindex:w,min:l,max:i,reverse:s,disabled:a,style:p[O],ref:I=>this.saveHandle(O,I),onFocus:this.onFocus,onBlur:this.onBlur,ariaLabel:m[O],ariaLabelledBy:h[O],ariaValueTextFormatter:b[O]})});return{tracks:this.getTrack({bounds:t,prefixCls:n,reverse:s,vertical:o,included:r,offsets:S,trackStyle:d}),handles:x}}}}),MY=o6(TY),EY=J({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:_x(),setup(e,t){let{attrs:n,slots:o}=t;const r=Z(null),a=Z(null);function l(){We.cancel(a.value),a.value=null}function i(){a.value=We(()=>{var u;(u=r.value)===null||u===void 0||u.forcePopupAlign(),a.value=null})}const s=()=>{l(),e.open&&i()};return ue([()=>e.open,()=>e.title],()=>{s()},{flush:"post",immediate:!0}),F$(()=>{s()}),Je(()=>{l()}),()=>f(oo,N(N({ref:r},e),n),o)}}),_Y=e=>{const{componentCls:t,controlSize:n,dotSize:o,marginFull:r,marginPart:a,colorFillContentHover:l}=e;return{[t]:v(v({},et(e)),{position:"relative",height:n,margin:`${a}px ${r}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${r}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:l},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${e.motionDurationMid}, + inset-block-start ${e.motionDurationMid}, + width ${e.motionDurationMid}, + height ${e.motionDurationMid}, + box-shadow ${e.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+e.handleLineWidthHover*2,height:e.handleSizeHover+e.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.colorPrimary}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.colorBorderSecondary}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,"&-active":{borderColor:e.colorPrimaryBorder}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.colorFillSecondary} !important`},[`${t}-track`]:{backgroundColor:`${e.colorTextDisabled} !important`},[` + ${t}-dot + `]:{backgroundColor:e.colorBgElevated,borderColor:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new st(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString()}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}}})}},r6=(e,t)=>{const{componentCls:n,railSize:o,handleSize:r,dotSize:a}=e,l=t?"paddingBlock":"paddingInline",i=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart";return{[l]:o,[s]:o*3,[`${n}-rail`]:{[i]:"100%",[s]:o},[`${n}-track`]:{[s]:o},[`${n}-handle`]:{[u]:(o*3-r)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:r,[i]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:o,[i]:"100%",[s]:o},[`${n}-dot`]:{position:"absolute",[u]:(o-a)/2}}},DY=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:v(v({},r6(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},AY=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:v(v({},r6(e,!1)),{height:"100%"})}},RY=Qe("Slider",e=>{const t=ze(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[_Y(t),DY(t),AY(t)]},e=>{const n=e.controlHeightLG/4,o=e.controlHeightSM/2,r=e.lineWidth+1,a=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:o,dotSize:8,handleLineWidth:r,handleLineWidthHover:a}});var iS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rtypeof e=="number"?e.toString():"",kY=()=>({id:String,prefixCls:String,tooltipPrefixCls:String,range:Ge([Boolean,Object]),reverse:Ce(),min:Number,max:Number,step:Ge([Object,Number]),marks:Ne(),dots:Ce(),value:Ge([Array,Number]),defaultValue:Ge([Array,Number]),included:Ce(),disabled:Ce(),vertical:Ce(),tipFormatter:Ge([Function,Object],()=>NY),tooltipOpen:Ce(),tooltipVisible:Ce(),tooltipPlacement:je(),getTooltipPopupContainer:de(),autofocus:Ce(),handleStyle:Ge([Array,Object]),trackStyle:Ge([Array,Object]),onChange:de(),onAfterChange:de(),onFocus:de(),onBlur:de(),"onUpdate:value":de()}),BY=J({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:kY(),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:a}=t;const{prefixCls:l,rootPrefixCls:i,direction:s,getPopupContainer:u,configProvider:c}=Ee("slider",e),[d,p]=RY(l),g=Ht(),m=Z(),h=Z({}),b=(w,M)=>{h.value[w]=M},y=P(()=>e.tooltipPlacement?e.tooltipPlacement:e.vertical?s.value==="rtl"?"left":"right":"top"),S=()=>{var w;(w=m.value)===null||w===void 0||w.focus()},$=()=>{var w;(w=m.value)===null||w===void 0||w.blur()},x=w=>{r("update:value",w),r("change",w),g.onFieldChange()},C=w=>{r("blur",w)};a({focus:S,blur:$});const O=w=>{var{tooltipPrefixCls:M}=w,I=w.info,{value:_,dragging:D,index:F}=I,z=iS(I,["value","dragging","index"]);const{tipFormatter:H,tooltipOpen:T=e.tooltipVisible,getTooltipPopupContainer:A}=e,R=H?h.value[F]||D:!1,E=T||T===void 0&&R;return f(EY,{prefixCls:M,title:H?H(_):"",open:E,placement:y.value,transitionName:`${i.value}-zoom-down`,key:F,overlayClassName:`${l.value}-tooltip`,getPopupContainer:A||(u==null?void 0:u.value)},{default:()=>[f(Z3,N(N({},z),{},{value:_,onMouseenter:()=>b(F,!0),onMouseleave:()=>b(F,!1)}),null)]})};return()=>{const{tooltipPrefixCls:w,range:M,id:I=g.id.value}=e,_=iS(e,["tooltipPrefixCls","range","id"]),D=c.getPrefixCls("tooltip",w),F=te(n.class,{[`${l.value}-rtl`]:s.value==="rtl"},p.value);s.value==="rtl"&&!_.vertical&&(_.reverse=!_.reverse);let z;return typeof M=="object"&&(z=M.draggableTrack),d(M?f(MY,N(N(N({},n),_),{},{step:_.step,draggableTrack:z,class:F,ref:m,handle:H=>O({tooltipPrefixCls:D,prefixCls:l.value,info:H}),prefixCls:l.value,onChange:x,onBlur:C}),{mark:o.mark}):f(PY,N(N(N({},n),_),{},{id:I,step:_.step,class:F,ref:m,handle:H=>O({tooltipPrefixCls:D,prefixCls:l.value,info:H}),prefixCls:l.value,onChange:x,onBlur:C}),{mark:o.mark}))}}}),Toe=Vt(BY),FY=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},LY=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},zY=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},HY=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},jY=e=>{const{componentCls:t}=e;return{[t]:v(v(v(v({},et(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Lo(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},VY=Qe("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,o=2,r=t-o*2,a=n-o*2,l=ze(e,{switchMinWidth:r*2+o*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:r/2,switchInnerMarginMax:r+o+o*2,switchPadding:o,switchPinSize:r,switchBg:e.colorBgContainer,switchMinWidthSM:a*2+o*2,switchHeightSM:n,switchInnerMarginMinSM:a/2,switchInnerMarginMaxSM:a+o+o*2,switchPinSizeSM:a,switchHandleShadow:`0 2px 4px 0 ${new st("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jY(l),HY(l),zY(l),LY(l),FY(l)]}),WY=vn("small","default"),KY=()=>({id:String,prefixCls:String,size:V.oneOf(WY),disabled:{type:Boolean,default:void 0},checkedChildren:V.any,unCheckedChildren:V.any,tabindex:V.oneOfType([V.string,V.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:V.oneOfType([V.string,V.number,V.looseBool]),checkedValue:V.oneOfType([V.string,V.number,V.looseBool]).def(!0),unCheckedValue:V.oneOfType([V.string,V.number,V.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),GY=J({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:KY(),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r,emit:a}=t;const l=Ht(),i=gn(),s=P(()=>{var I;return(I=e.disabled)!==null&&I!==void 0?I:i.value});Xp(()=>{yt(),yt()});const u=Z(e.checked!==void 0?e.checked:n.defaultChecked),c=P(()=>u.value===e.checkedValue);ue(()=>e.checked,()=>{u.value=e.checked});const{prefixCls:d,direction:p,size:g}=Ee("switch",e),[m,h]=VY(d),b=Z(),y=()=>{var I;(I=b.value)===null||I===void 0||I.focus()};r({focus:y,blur:()=>{var I;(I=b.value)===null||I===void 0||I.blur()}}),Ve(()=>{lt(()=>{e.autofocus&&!s.value&&b.value.focus()})});const $=(I,_)=>{s.value||(a("update:checked",I),a("change",I,_),l.onFieldChange())},x=I=>{a("blur",I)},C=I=>{y();const _=c.value?e.unCheckedValue:e.checkedValue;$(_,I),a("click",_,I)},O=I=>{I.keyCode===$e.LEFT?$(e.unCheckedValue,I):I.keyCode===$e.RIGHT&&$(e.checkedValue,I),a("keydown",I)},w=I=>{var _;(_=b.value)===null||_===void 0||_.blur(),a("mouseup",I)},M=P(()=>({[`${d.value}-small`]:g.value==="small",[`${d.value}-loading`]:e.loading,[`${d.value}-checked`]:c.value,[`${d.value}-disabled`]:s.value,[d.value]:!0,[`${d.value}-rtl`]:p.value==="rtl",[h.value]:!0}));return()=>{var I;return m(f(Cg,null,{default:()=>[f("button",N(N(N({},qe(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:(I=e.id)!==null&&I!==void 0?I:l.id.value,onKeydown:O,onClick:C,onBlur:x,onMouseup:w,type:"button",role:"switch","aria-checked":u.value,disabled:s.value||e.loading,class:[n.class,M.value],ref:b}),[f("div",{class:`${d.value}-handle`},[e.loading?f(Un,{class:`${d.value}-loading-icon`},null):null]),f("span",{class:`${d.value}-inner`},[f("span",{class:`${d.value}-inner-checked`},[Nt(o,e,"checkedChildren")]),f("span",{class:`${d.value}-inner-unchecked`},[Nt(o,e,"unCheckedChildren")])])])]}))}}}),Moe=Vt(GY),a6=Symbol("TableContextProps"),XY=e=>{Ke(a6,e)},xo=()=>Xe(a6,{}),UY="RC_TABLE_KEY";function l6(e){return e==null?[]:Array.isArray(e)?e:[e]}function i6(e,t){if(!t&&typeof t!="number")return e;const n=l6(t);let o=e;for(let r=0;r{const{key:r,dataIndex:a}=o||{};let l=r||l6(a).join("-")||UY;for(;n[l];)l=`${l}_next`;n[l]=!0,t.push(l)}),t}function YY(){const e={};function t(a,l){l&&Object.keys(l).forEach(i=>{const s=l[i];s&&typeof s=="object"?(a[i]=a[i]||{},t(a[i],s)):a[i]=s})}for(var n=arguments.length,o=new Array(n),r=0;r{t(e,a)}),e}function Mp(e){return e!=null}const s6=Symbol("SlotsContextProps"),qY=e=>{Ke(s6,e)},Bh=()=>Xe(s6,P(()=>({}))),c6=Symbol("ContextProps"),QY=e=>{Ke(c6,e)},ZY=()=>Xe(c6,{onResizeColumn:()=>{}}),Ma="RC_TABLE_INTERNAL_COL_DEFINE",u6=Symbol("HoverContextProps"),JY=e=>{Ke(u6,e)},eq=()=>Xe(u6,{startRow:Y(-1),endRow:Y(-1),onHover(){}}),Ep=Y(!1),tq=()=>{Ve(()=>{Ep.value=Ep.value||ah("position","sticky")})},nq=()=>Ep;var oq=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r=n}function aq(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!Zt(e)}const gu=J({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const o=Bh(),{onHover:r,startRow:a,endRow:l}=eq(),i=P(()=>{var m,h,b,y;return(b=(m=e.colSpan)!==null&&m!==void 0?m:(h=e.additionalProps)===null||h===void 0?void 0:h.colSpan)!==null&&b!==void 0?b:(y=e.additionalProps)===null||y===void 0?void 0:y.colspan}),s=P(()=>{var m,h,b,y;return(b=(m=e.rowSpan)!==null&&m!==void 0?m:(h=e.additionalProps)===null||h===void 0?void 0:h.rowSpan)!==null&&b!==void 0?b:(y=e.additionalProps)===null||y===void 0?void 0:y.rowspan}),u=zn(()=>{const{index:m}=e;return rq(m,s.value||1,a.value,l.value)}),c=nq(),d=(m,h)=>{var b;const{record:y,index:S,additionalProps:$}=e;y&&r(S,S+h-1),(b=$==null?void 0:$.onMouseenter)===null||b===void 0||b.call($,m)},p=m=>{var h;const{record:b,additionalProps:y}=e;b&&r(-1,-1),(h=y==null?void 0:y.onMouseleave)===null||h===void 0||h.call(y,m)},g=m=>{const h=Tt(m)[0];return Zt(h)?h.type===Gp?h.children:Array.isArray(h.children)?g(h.children):void 0:h};return()=>{var m,h,b,y,S,$;const{prefixCls:x,record:C,index:O,renderIndex:w,dataIndex:M,customRender:I,component:_="td",fixLeft:D,fixRight:F,firstFixLeft:z,lastFixLeft:H,firstFixRight:T,lastFixRight:A,appendNode:R=(m=n.appendNode)===null||m===void 0?void 0:m.call(n),additionalProps:E={},ellipsis:k,align:B,rowType:L,isSticky:j,column:K={},cellType:G}=e,U=`${x}-cell`;let X,ee;const oe=(h=n.default)===null||h===void 0?void 0:h.call(n);if(Mp(oe)||G==="header")ee=oe;else{const we=i6(C,M);if(ee=we,I){const ae=I({text:we,value:we,record:C,index:O,renderIndex:w,column:K.__originColumn__});aq(ae)?(ee=ae.children,X=ae.props):ee=ae}if(!(Ma in K)&&G==="body"&&o.value.bodyCell&&!(!((b=K.slots)===null||b===void 0)&&b.customRender)){const ae=Ic(o.value,"bodyCell",{text:we,value:we,record:C,index:O,column:K.__originColumn__},()=>{const ne=ee===void 0?we:ee;return[typeof ne=="object"&&kt(ne)||typeof ne!="object"?ne:null]});ee=mt(ae)}e.transformCellText&&(ee=e.transformCellText({text:ee,record:C,index:O,column:K.__originColumn__}))}typeof ee=="object"&&!Array.isArray(ee)&&!Zt(ee)&&(ee=null),k&&(H||T)&&(ee=f("span",{class:`${U}-content`},[ee])),Array.isArray(ee)&&ee.length===1&&(ee=ee[0]);const Q=X||{},{colSpan:W,rowSpan:q,style:re,class:le}=Q,ye=oq(Q,["colSpan","rowSpan","style","class"]),me=(y=W!==void 0?W:i.value)!==null&&y!==void 0?y:1,ce=(S=q!==void 0?q:s.value)!==null&&S!==void 0?S:1;if(me===0||ce===0)return null;const se={},ie=typeof D=="number"&&c.value,fe=typeof F=="number"&&c.value;ie&&(se.position="sticky",se.left=`${D}px`),fe&&(se.position="sticky",se.right=`${F}px`);const Se={};B&&(Se.textAlign=B);let Ie;const ge=k===!0?{showTitle:!0}:k;ge&&(ge.showTitle||L==="header")&&(typeof ee=="string"||typeof ee=="number"?Ie=ee.toString():Zt(ee)&&(Ie=g([ee])));const Oe=v(v(v({title:Ie},ye),E),{colSpan:me!==1?me:null,rowSpan:ce!==1?ce:null,class:te(U,{[`${U}-fix-left`]:ie&&c.value,[`${U}-fix-left-first`]:z&&c.value,[`${U}-fix-left-last`]:H&&c.value,[`${U}-fix-right`]:fe&&c.value,[`${U}-fix-right-first`]:T&&c.value,[`${U}-fix-right-last`]:A&&c.value,[`${U}-ellipsis`]:k,[`${U}-with-append`]:R,[`${U}-fix-sticky`]:(ie||fe)&&j&&c.value,[`${U}-row-hover`]:!X&&u.value},E.class,le),onMouseenter:we=>{d(we,ce)},onMouseleave:p,style:[E.style,Se,se,re]});return f(_,Oe,{default:()=>[R,ee,($=n.dragHandle)===null||$===void 0?void 0:$.call(n)]})}}});function Fh(e,t,n,o,r){const a=n[e]||{},l=n[t]||{};let i,s;a.fixed==="left"?i=o.left[e]:l.fixed==="right"&&(s=o.right[t]);let u=!1,c=!1,d=!1,p=!1;const g=n[t+1],m=n[e-1];return r==="rtl"?i!==void 0?p=!(m&&m.fixed==="left"):s!==void 0&&(d=!(g&&g.fixed==="right")):i!==void 0?u=!(g&&g.fixed==="left"):s!==void 0&&(c=!(m&&m.fixed==="right")),{fixLeft:i,fixRight:s,lastFixLeft:u,firstFixRight:c,lastFixRight:d,firstFixLeft:p,isSticky:o.isSticky}}const sS={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},cS=50,lq=J({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:cS},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},o={remove:()=>{}};const r=()=>{n.remove(),o.remove()};An(()=>{r()}),Le(()=>{bt(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:a}=ZY(),l=P(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:cS),i=P(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),s=Dn();let u=0;const c=Y(!1);let d;const p=$=>{let x=0;$.touches?$.touches.length?x=$.touches[0].pageX:x=$.changedTouches[0].pageX:x=$.pageX;const C=t-x;let O=Math.max(u-C,l.value);O=Math.min(O,i.value),We.cancel(d),d=We(()=>{a(O,e.column.__originColumn__)})},g=$=>{p($)},m=$=>{c.value=!1,p($),r()},h=($,x)=>{c.value=!0,r(),u=s.vnode.el.parentNode.getBoundingClientRect().width,!($ instanceof MouseEvent&&$.which!==1)&&($.stopPropagation&&$.stopPropagation(),t=$.touches?$.touches[0].pageX:$.pageX,n=wt(document.documentElement,x.move,g),o=wt(document.documentElement,x.stop,m))},b=$=>{$.stopPropagation(),$.preventDefault(),h($,sS.mouse)},y=$=>{$.stopPropagation(),$.preventDefault(),h($,sS.touch)},S=$=>{$.stopPropagation(),$.preventDefault()};return()=>{const{prefixCls:$}=e,x={[zt?"onTouchstartPassive":"onTouchstart"]:C=>y(C)};return f("div",N(N({class:`${$}-resize-handle ${c.value?"dragging":""}`,onMousedown:b},x),{},{onClick:S}),[f("div",{class:`${$}-resize-handle-line`},null)])}}}),iq=J({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=xo();return()=>{const{prefixCls:n,direction:o}=t,{cells:r,stickyOffsets:a,flattenColumns:l,rowComponent:i,cellComponent:s,customHeaderRow:u,index:c}=e;let d;u&&(d=u(r.map(g=>g.column),c));const p=vu(r.map(g=>g.column));return f(i,d,{default:()=>[r.map((g,m)=>{const{column:h}=g,b=Fh(g.colStart,g.colEnd,l,a,o);let y;h&&h.customHeaderCell&&(y=g.column.customHeaderCell(h));const S=h;return f(gu,N(N(N({},g),{},{cellType:"header",ellipsis:h.ellipsis,align:h.align,component:s,prefixCls:n,key:p[m]},b),{},{additionalProps:y,rowType:"header",column:h}),{default:()=>h.title,dragHandle:()=>S.resizable?f(lq,{prefixCls:n,width:S.width,minWidth:S.minWidth,maxWidth:S.maxWidth,column:S},null):null})})]})}}});function sq(e){const t=[];function n(r,a){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];let i=a;return r.filter(Boolean).map(u=>{const c={key:u.key,class:te(u.className,u.class),column:u,colStart:i};let d=1;const p=u.children;return p&&p.length>0&&(d=n(p,i,l+1).reduce((g,m)=>g+m,0),c.hasSubColumns=!0),"colSpan"in u&&({colSpan:d}=u),"rowSpan"in u&&(c.rowSpan=u.rowSpan),c.colSpan=d,c.colEnd=c.colStart+d-1,t[l].push(c),i+=d,d})}n(e,0);const o=t.length;for(let r=0;r{!("rowSpan"in a)&&!a.hasSubColumns&&(a.rowSpan=o-r)});return t}const uS=J({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=xo(),n=P(()=>sq(e.columns));return()=>{const{prefixCls:o,getComponent:r}=t,{stickyOffsets:a,flattenColumns:l,customHeaderRow:i}=e,s=r(["header","wrapper"],"thead"),u=r(["header","row"],"tr"),c=r(["header","cell"],"th");return f(s,{class:`${o}-thead`},{default:()=>[n.value.map((d,p)=>f(iq,{key:p,flattenColumns:l,cells:d,stickyOffsets:a,rowComponent:u,cellComponent:c,customHeaderRow:i,index:p},null))]})}}}),d6=Symbol("ExpandedRowProps"),cq=e=>{Ke(d6,e)},uq=()=>Xe(d6,{}),f6=J({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:o}=t;const r=xo(),a=uq(),{fixHeader:l,fixColumn:i,componentWidth:s,horizonScroll:u}=a;return()=>{const{prefixCls:c,component:d,cellComponent:p,expanded:g,colSpan:m,isEmpty:h}=e;return f(d,{class:o.class,style:{display:g?null:"none"}},{default:()=>[f(gu,{component:p,prefixCls:c,colSpan:m},{default:()=>{var b;let y=(b=n.default)===null||b===void 0?void 0:b.call(n);return(h?u.value:i.value)&&(y=f("div",{style:{width:`${s.value-(l.value?r.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${c}-expanded-row-fixed`},[y])),y}})]})}}}),dq=J({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const o=Z();return Ve(()=>{o.value&&n("columnResize",e.columnKey,o.value.offsetWidth)}),()=>f(ho,{onResize:r=>{let{offsetWidth:a}=r;n("columnResize",e.columnKey,a)}},{default:()=>[f("td",{ref:o,style:{padding:0,border:0,height:0}},[f("div",{style:{height:0,overflow:"hidden"}},[go(" ")])])]})}}),p6=Symbol("BodyContextProps"),fq=e=>{Ke(p6,e)},v6=()=>Xe(p6,{}),pq=J({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const o=xo(),r=v6(),a=Y(!1),l=P(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));Le(()=>{l.value&&(a.value=!0)});const i=P(()=>r.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),s=P(()=>r.expandableType==="nest"),u=P(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),c=P(()=>i.value||s.value),d=(b,y)=>{r.onTriggerExpand(b,y)},p=P(()=>{var b;return((b=e.customRow)===null||b===void 0?void 0:b.call(e,e.record,e.index))||{}}),g=function(b){var y,S;r.expandRowByClick&&c.value&&d(e.record,b);for(var $=arguments.length,x=new Array($>1?$-1:0),C=1;C<$;C++)x[C-1]=arguments[C];(S=(y=p.value)===null||y===void 0?void 0:y.onClick)===null||S===void 0||S.call(y,b,...x)},m=P(()=>{const{record:b,index:y,indent:S}=e,{rowClassName:$}=r;return typeof $=="string"?$:typeof $=="function"?$(b,y,S):""}),h=P(()=>vu(r.flattenColumns));return()=>{const{class:b,style:y}=n,{record:S,index:$,rowKey:x,indent:C=0,rowComponent:O,cellComponent:w}=e,{prefixCls:M,fixedInfoList:I,transformCellText:_}=o,{flattenColumns:D,expandedRowClassName:F,indentSize:z,expandIcon:H,expandedRowRender:T,expandIconColumnIndex:A}=r,R=f(O,N(N({},p.value),{},{"data-row-key":x,class:te(b,`${M}-row`,`${M}-row-level-${C}`,m.value,p.value.class),style:[y,p.value.style],onClick:g}),{default:()=>[D.map((k,B)=>{const{customRender:L,dataIndex:j,className:K}=k,G=h[B],U=I[B];let X;k.customCell&&(X=k.customCell(S,$,k));const ee=B===(A||0)&&s.value?f(nt,null,[f("span",{style:{paddingLeft:`${z*C}px`},class:`${M}-row-indent indent-level-${C}`},null),H({prefixCls:M,expanded:l.value,expandable:u.value,record:S,onExpand:d})]):null;return f(gu,N(N({cellType:"body",class:K,ellipsis:k.ellipsis,align:k.align,component:w,prefixCls:M,key:G,record:S,index:$,renderIndex:e.renderIndex,dataIndex:j,customRender:L},U),{},{additionalProps:X,column:k,transformCellText:_,appendNode:ee}),null)})]});let E;if(i.value&&(a.value||l.value)){const k=T({record:S,index:$,indent:C+1,expanded:l.value}),B=F&&F(S,$,C);E=f(f6,{expanded:l.value,class:te(`${M}-expanded-row`,`${M}-expanded-row-level-${C+1}`,B),prefixCls:M,component:O,cellComponent:w,colSpan:D.length,isEmpty:!1},{default:()=>[k]})}return f(nt,null,[R,E])}}});function g6(e,t,n,o,r,a){const l=[];l.push({record:e,indent:t,index:a});const i=r(e),s=o==null?void 0:o.has(i);if(e&&Array.isArray(e[n])&&s)for(let u=0;u{const a=t.value,l=n.value,i=e.value;if(l!=null&&l.size){const s=[];for(let u=0;u<(i==null?void 0:i.length);u+=1){const c=i[u];s.push(...g6(c,0,a,l,o.value,u))}return s}return i==null?void 0:i.map((s,u)=>({record:s,indent:0,index:u}))})}const h6=Symbol("ResizeContextProps"),gq=e=>{Ke(h6,e)},hq=()=>Xe(h6,{onColumnResize:()=>{}}),mq=J({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const o=hq(),r=xo(),a=v6(),l=vq(Be(e,"data"),Be(e,"childrenColumnName"),Be(e,"expandedKeys"),Be(e,"getRowKey")),i=Y(-1),s=Y(-1);let u;return JY({startRow:i,endRow:s,onHover:(c,d)=>{clearTimeout(u),u=setTimeout(()=>{i.value=c,s.value=d},100)}}),()=>{var c;const{data:d,getRowKey:p,measureColumnWidth:g,expandedKeys:m,customRow:h,rowExpandable:b,childrenColumnName:y}=e,{onColumnResize:S}=o,{prefixCls:$,getComponent:x}=r,{flattenColumns:C}=a,O=x(["body","wrapper"],"tbody"),w=x(["body","row"],"tr"),M=x(["body","cell"],"td");let I;d.length?I=l.value.map((D,F)=>{const{record:z,indent:H,index:T}=D,A=p(z,F);return f(pq,{key:A,rowKey:A,record:z,recordKey:A,index:F,renderIndex:T,rowComponent:w,cellComponent:M,expandedKeys:m,customRow:h,getRowKey:p,rowExpandable:b,childrenColumnName:y,indent:H},null)}):I=f(f6,{expanded:!0,class:`${$}-placeholder`,prefixCls:$,component:w,cellComponent:M,colSpan:C.length,isEmpty:!0},{default:()=>[(c=n.emptyNode)===null||c===void 0?void 0:c.call(n)]});const _=vu(C);return f(O,{class:`${$}-tbody`},{default:()=>[g&&f("tr",{"aria-hidden":"true",class:`${$}-measure-row`,style:{height:0,fontSize:0}},[_.map(D=>f(dq,{key:D,columnKey:D,onColumnResize:S},null))]),I]})}}}),Jo={};var bq=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{fixed:o}=n,r=o===!0?"left":o,a=n.children;return a&&a.length>0?[...t,..._p(a).map(l=>v({fixed:r},l))]:[...t,v(v({},n),{fixed:r})]},[])}function yq(e){return e.map(t=>{const{fixed:n}=t,o=bq(t,["fixed"]);let r=n;return n==="left"?r="right":n==="right"&&(r="left"),v({fixed:r},o)})}function Sq(e,t){let{prefixCls:n,columns:o,expandable:r,expandedKeys:a,getRowKey:l,onTriggerExpand:i,expandIcon:s,rowExpandable:u,expandIconColumnIndex:c,direction:d,expandRowByClick:p,expandColumnWidth:g,expandFixed:m}=e;const h=Bh(),b=P(()=>{if(r.value){let $=o.value.slice();if(!$.includes(Jo)){const z=c.value||0;z>=0&&$.splice(z,0,Jo)}const x=$.indexOf(Jo);$=$.filter((z,H)=>z!==Jo||H===x);const C=o.value[x];let O;(m.value==="left"||m.value)&&!c.value?O="left":(m.value==="right"||m.value)&&c.value===o.value.length?O="right":O=C?C.fixed:null;const w=a.value,M=u.value,I=s.value,_=n.value,D=p.value,F={[Ma]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:Ic(h.value,"expandColumnTitle",{},()=>[""]),fixed:O,class:`${n.value}-row-expand-icon-cell`,width:g.value,customRender:z=>{let{record:H,index:T}=z;const A=l.value(H,T),R=w.has(A),E=M?M(H):!0,k=I({prefixCls:_,expanded:R,expandable:E,record:H,onExpand:i});return D?f("span",{onClick:B=>B.stopPropagation()},[k]):k}};return $.map(z=>z===Jo?F:z)}return o.value.filter($=>$!==Jo)}),y=P(()=>{let $=b.value;return t.value&&($=t.value($)),$.length||($=[{customRender:()=>null}]),$}),S=P(()=>d.value==="rtl"?yq(_p(y.value)):_p(y.value));return[y,S]}function m6(e){const t=Y(e);let n;const o=Y([]);function r(a){o.value.push(a),We.cancel(n),n=We(()=>{const l=o.value;o.value=[],l.forEach(i=>{t.value=i(t.value)})})}return Je(()=>{We.cancel(n)}),[t,r]}function $q(e){const t=Z(e||null),n=Z();function o(){clearTimeout(n.value)}function r(l){t.value=l,o(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function a(){return t.value}return Je(()=>{o()}),[r,a]}function Cq(e,t,n){return P(()=>{const r=[],a=[];let l=0,i=0;const s=e.value,u=t.value,c=n.value;for(let d=0;d=0;i-=1){const s=t[i],u=n&&n[i],c=u&&u[Ma];if(s||c||l){const d=c||{},p=xq(d,["columnType"]);r.unshift(f("col",N({key:i,style:{width:typeof s=="number"?`${s}px`:s}},p),null)),l=!0}}return f("colgroup",null,[r])}function Dp(e,t){let{slots:n}=t;var o;return f("div",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])}Dp.displayName="Panel";let wq=0;const Oq=J({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const o=xo(),r=`table-summary-uni-key-${++wq}`,a=P(()=>e.fixed===""||e.fixed);return Le(()=>{o.summaryCollect(r,a.value)}),Je(()=>{o.summaryCollect(r,!1)}),()=>{var l;return(l=n.default)===null||l===void 0?void 0:l.call(n)}}}),Pq=Oq,Iq=J({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var o;return f("tr",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])}}}),y6=Symbol("SummaryContextProps"),Tq=e=>{Ke(y6,e)},Mq=()=>Xe(y6,{}),Eq=J({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:o}=t;const r=xo(),a=Mq();return()=>{const{index:l,colSpan:i=1,rowSpan:s,align:u}=e,{prefixCls:c,direction:d}=r,{scrollColumnIndex:p,stickyOffsets:g,flattenColumns:m}=a,b=l+i-1+1===p?i+1:i,y=Fh(l,l+b-1,m,g,d);return f(gu,N({class:n.class,index:l,component:"td",prefixCls:c,record:null,dataIndex:null,align:u,colSpan:b,rowSpan:s,customRender:()=>{var S;return(S=o.default)===null||S===void 0?void 0:S.call(o)}},y),null)}}}),Xi=J({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const o=xo();return Tq(vt({stickyOffsets:Be(e,"stickyOffsets"),flattenColumns:Be(e,"flattenColumns"),scrollColumnIndex:P(()=>{const r=e.flattenColumns.length-1,a=e.flattenColumns[r];return a!=null&&a.scrollbar?r:null})})),()=>{var r;const{prefixCls:a}=o;return f("tfoot",{class:`${a}-summary`},[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),_q=Pq;function Dq(e){let{prefixCls:t,record:n,onExpand:o,expanded:r,expandable:a}=e;const l=`${t}-row-expand-icon`;if(!a)return f("span",{class:[l,`${t}-row-spaced`]},null);const i=s=>{o(n,s),s.stopPropagation()};return f("span",{class:{[l]:!0,[`${t}-row-expanded`]:r,[`${t}-row-collapsed`]:!r},onClick:i},null)}function Aq(e,t,n){const o=[];function r(a){(a||[]).forEach((l,i)=>{o.push(t(l,i)),r(l[n])})}return r(e),o}const Rq=J({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:o}=t;const r=xo(),a=Y(0),l=Y(0),i=Y(0);Le(()=>{a.value=e.scrollBodySizeInfo.scrollWidth||0,l.value=e.scrollBodySizeInfo.clientWidth||0,i.value=a.value&&l.value*(l.value/a.value)},{flush:"post"});const s=Y(),[u,c]=m6({scrollLeft:0,isHiddenScrollBar:!0}),d=Z({delta:0,x:0}),p=Y(!1),g=()=>{p.value=!1},m=w=>{d.value={delta:w.pageX-u.value.scrollLeft,x:0},p.value=!0,w.preventDefault()},h=w=>{const{buttons:M}=w||(window==null?void 0:window.event);if(!p.value||M===0){p.value&&(p.value=!1);return}let I=d.value.x+w.pageX-d.value.x-d.value.delta;I<=0&&(I=0),I+i.value>=l.value&&(I=l.value-i.value),n("scroll",{scrollLeft:I/l.value*(a.value+2)}),d.value.x=w.pageX},b=()=>{if(!e.scrollBodyRef.value)return;const w=Zs(e.scrollBodyRef.value).top,M=w+e.scrollBodyRef.value.offsetHeight,I=e.container===window?document.documentElement.scrollTop+window.innerHeight:Zs(e.container).top+e.container.clientHeight;M-As()<=I||w>=I-e.offsetScroll?c(_=>v(v({},_),{isHiddenScrollBar:!0})):c(_=>v(v({},_),{isHiddenScrollBar:!1}))};o({setScrollLeft:w=>{c(M=>v(v({},M),{scrollLeft:w/a.value*l.value||0}))}});let S=null,$=null,x=null,C=null;Ve(()=>{S=wt(document.body,"mouseup",g,!1),$=wt(document.body,"mousemove",h,!1),x=wt(window,"resize",b,!1)}),F$(()=>{lt(()=>{b()})}),Ve(()=>{setTimeout(()=>{ue([i,p],()=>{b()},{immediate:!0,flush:"post"})})}),ue(()=>e.container,()=>{C==null||C.remove(),C=wt(e.container,"scroll",b,!1)},{immediate:!0,flush:"post"}),Je(()=>{S==null||S.remove(),$==null||$.remove(),C==null||C.remove(),x==null||x.remove()}),ue(()=>v({},u.value),(w,M)=>{w.isHiddenScrollBar!==(M==null?void 0:M.isHiddenScrollBar)&&!w.isHiddenScrollBar&&c(I=>{const _=e.scrollBodyRef.value;return _?v(v({},I),{scrollLeft:_.scrollLeft/_.scrollWidth*_.clientWidth}):I})},{immediate:!0});const O=As();return()=>{if(a.value<=l.value||!i.value||u.value.isHiddenScrollBar)return null;const{prefixCls:w}=r;return f("div",{style:{height:`${O}px`,width:`${l.value}px`,bottom:`${e.offsetScroll}px`},class:`${w}-sticky-scroll`},[f("div",{onMousedown:m,ref:s,class:te(`${w}-sticky-scroll-bar`,{[`${w}-sticky-scroll-bar-active`]:p.value}),style:{width:`${i.value}px`,transform:`translate3d(${u.value.scrollLeft}px, 0, 0)`}},null)])}}}),dS=hn()?window:null;function Nq(e,t){return P(()=>{const{offsetHeader:n=0,offsetSummary:o=0,offsetScroll:r=0,getContainer:a=()=>dS}=typeof e.value=="object"?e.value:{},l=a()||dS,i=!!e.value;return{isSticky:i,stickyClassName:i?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:o,offsetScroll:r,container:l}})}function kq(e,t){return P(()=>{const n=[],o=e.value,r=t.value;for(let a=0;aa.isSticky&&!e.fixHeader?0:a.scrollbarSize),i=Z(),s=h=>{const{currentTarget:b,deltaX:y}=h;y&&(r("scroll",{currentTarget:b,scrollLeft:b.scrollLeft+y}),h.preventDefault())},u=Z();Ve(()=>{lt(()=>{u.value=wt(i.value,"wheel",s)})}),Je(()=>{var h;(h=u.value)===null||h===void 0||h.remove()});const c=P(()=>e.flattenColumns.every(h=>h.width&&h.width!==0&&h.width!=="0px")),d=Z([]),p=Z([]);Le(()=>{const h=e.flattenColumns[e.flattenColumns.length-1],b={fixed:h?h.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${a.prefixCls}-cell-scrollbar`})};d.value=l.value?[...e.columns,b]:e.columns,p.value=l.value?[...e.flattenColumns,b]:e.flattenColumns});const g=P(()=>{const{stickyOffsets:h,direction:b}=e,{right:y,left:S}=h;return v(v({},h),{left:b==="rtl"?[...S.map($=>$+l.value),0]:S,right:b==="rtl"?y:[...y.map($=>$+l.value),0],isSticky:a.isSticky})}),m=kq(Be(e,"colWidths"),Be(e,"columCount"));return()=>{var h;const{noData:b,columCount:y,stickyTopOffset:S,stickyBottomOffset:$,stickyClassName:x,maxContentScroll:C}=e,{isSticky:O}=a;return f("div",{style:v({overflow:"hidden"},O?{top:`${S}px`,bottom:`${$}px`}:{}),ref:i,class:te(n.class,{[x]:!!x})},[f("table",{style:{tableLayout:"fixed",visibility:b||m.value?null:"hidden"}},[(!b||!C||c.value)&&f(b6,{colWidths:m.value?[...m.value,l.value]:[],columCount:y+1,columns:p.value},null),(h=o.default)===null||h===void 0?void 0:h.call(o,v(v({},e),{stickyOffsets:g.value,columns:d.value,flattenColumns:p.value}))])])}}});function pS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o[r,Be(e,r)])))}const Bq=[],Fq={},Ap="rc-table-internal-hook",Lq=J({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:o,emit:r}=t;const a=P(()=>e.data||Bq),l=P(()=>!!a.value.length),i=P(()=>YY(e.components,{})),s=(ne,pe)=>i6(i.value,ne)||pe,u=P(()=>{const ne=e.rowKey;return typeof ne=="function"?ne:pe=>pe&&pe[ne]}),c=P(()=>e.expandIcon||Dq),d=P(()=>e.childrenColumnName||"children"),p=P(()=>e.expandedRowRender?"row":e.canExpandable||a.value.some(ne=>ne&&typeof ne=="object"&&ne[d.value])?"nest":!1),g=Y([]);Le(()=>{e.defaultExpandedRowKeys&&(g.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(g.value=Aq(a.value,u.value,d.value))})();const h=P(()=>new Set(e.expandedRowKeys||g.value||[])),b=ne=>{const pe=u.value(ne,a.value.indexOf(ne));let xe;const Te=h.value.has(pe);Te?(h.value.delete(pe),xe=[...h.value]):xe=[...h.value,pe],g.value=xe,r("expand",!Te,ne),r("update:expandedRowKeys",xe),r("expandedRowsChange",xe)},y=Z(0),[S,$]=Sq(v(v({},Rr(e)),{expandable:P(()=>!!e.expandedRowRender),expandedKeys:h,getRowKey:u,onTriggerExpand:b,expandIcon:c}),P(()=>e.internalHooks===Ap?e.transformColumns:null)),x=P(()=>({columns:S.value,flattenColumns:$.value})),C=Z(),O=Z(),w=Z(),M=Z({scrollWidth:0,clientWidth:0}),I=Z(),[_,D]=pt(!1),[F,z]=pt(!1),[H,T]=m6(new Map),A=P(()=>vu($.value)),R=P(()=>A.value.map(ne=>H.value.get(ne))),E=P(()=>$.value.length),k=Cq(R,E,Be(e,"direction")),B=P(()=>e.scroll&&Mp(e.scroll.y)),L=P(()=>e.scroll&&Mp(e.scroll.x)||!!e.expandFixed),j=P(()=>L.value&&$.value.some(ne=>{let{fixed:pe}=ne;return pe})),K=Z(),G=Nq(Be(e,"sticky"),Be(e,"prefixCls")),U=vt({}),X=P(()=>{const ne=Object.values(U)[0];return(B.value||G.value.isSticky)&&ne}),ee=(ne,pe)=>{pe?U[ne]=pe:delete U[ne]},oe=Z({}),Q=Z({}),W=Z({});Le(()=>{B.value&&(Q.value={overflowY:"scroll",maxHeight:xr(e.scroll.y)}),L.value&&(oe.value={overflowX:"auto"},B.value||(Q.value={overflowY:"hidden"}),W.value={width:e.scroll.x===!0?"auto":xr(e.scroll.x),minWidth:"100%"})});const q=(ne,pe)=>{Tc(C.value)&&T(xe=>{if(xe.get(ne)!==pe){const Te=new Map(xe);return Te.set(ne,pe),Te}return xe})},[re,le]=$q(null);function ye(ne,pe){if(!pe)return;if(typeof pe=="function"){pe(ne);return}const xe=pe.$el||pe;xe.scrollLeft!==ne&&(xe.scrollLeft=ne)}const me=ne=>{let{currentTarget:pe,scrollLeft:xe}=ne;var Te;const ke=e.direction==="rtl",ve=typeof xe=="number"?xe:pe.scrollLeft,he=pe||Fq;if((!le()||le()===he)&&(re(he),ye(ve,O.value),ye(ve,w.value),ye(ve,I.value),ye(ve,(Te=K.value)===null||Te===void 0?void 0:Te.setScrollLeft)),pe){const{scrollWidth:be,clientWidth:Me}=pe;ke?(D(-ve0)):(D(ve>0),z(ve{L.value&&w.value?me({currentTarget:w.value}):(D(!1),z(!1))};let se;const ie=ne=>{ne!==y.value&&(ce(),y.value=C.value?C.value.offsetWidth:ne)},fe=ne=>{let{width:pe}=ne;if(clearTimeout(se),y.value===0){ie(pe);return}se=setTimeout(()=>{ie(pe)},100)};ue([L,()=>e.data,()=>e.columns],()=>{L.value&&ce()},{flush:"post"});const[Se,Ie]=pt(0);tq(),Ve(()=>{lt(()=>{var ne,pe;ce(),Ie(l_(w.value).width),M.value={scrollWidth:((ne=w.value)===null||ne===void 0?void 0:ne.scrollWidth)||0,clientWidth:((pe=w.value)===null||pe===void 0?void 0:pe.clientWidth)||0}})}),ao(()=>{lt(()=>{var ne,pe;const xe=((ne=w.value)===null||ne===void 0?void 0:ne.scrollWidth)||0,Te=((pe=w.value)===null||pe===void 0?void 0:pe.clientWidth)||0;(M.value.scrollWidth!==xe||M.value.clientWidth!==Te)&&(M.value={scrollWidth:xe,clientWidth:Te})})}),Le(()=>{e.internalHooks===Ap&&e.internalRefs&&e.onUpdateInternalRefs({body:w.value?w.value.$el||w.value:null})},{flush:"post"});const ge=P(()=>e.tableLayout?e.tableLayout:j.value?e.scroll.x==="max-content"?"auto":"fixed":B.value||G.value.isSticky||$.value.some(ne=>{let{ellipsis:pe}=ne;return pe})?"fixed":"auto"),Oe=()=>{var ne;return l.value?null:((ne=o.emptyText)===null||ne===void 0?void 0:ne.call(o))||"No Data"};XY(vt(v(v({},Rr(pS(e,"prefixCls","direction","transformCellText"))),{getComponent:s,scrollbarSize:Se,fixedInfoList:P(()=>$.value.map((ne,pe)=>Fh(pe,pe,$.value,k.value,e.direction))),isSticky:P(()=>G.value.isSticky),summaryCollect:ee}))),fq(vt(v(v({},Rr(pS(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:S,flattenColumns:$,tableLayout:ge,expandIcon:c,expandableType:p,onTriggerExpand:b}))),gq({onColumnResize:q}),cq({componentWidth:y,fixHeader:B,fixColumn:j,horizonScroll:L});const we=()=>f(mq,{data:a.value,measureColumnWidth:B.value||L.value||G.value.isSticky,expandedKeys:h.value,rowExpandable:e.rowExpandable,getRowKey:u.value,customRow:e.customRow,childrenColumnName:d.value},{emptyNode:Oe}),ae=()=>f(b6,{colWidths:$.value.map(ne=>{let{width:pe}=ne;return pe}),columns:$.value},null);return()=>{var ne;const{prefixCls:pe,scroll:xe,tableLayout:Te,direction:ke,title:ve=o.title,footer:he=o.footer,id:be,showHeader:Me,customHeaderRow:Ae}=e,{isSticky:_e,offsetHeader:Re,offsetSummary:Ye,offsetScroll:tt,stickyClassName:at,container:it}=G.value,ct=s(["table"],"table"),Et=s(["body"]),Dt=(ne=o.summary)===null||ne===void 0?void 0:ne.call(o,{pageData:a.value});let Bt=()=>null;const Pt={colWidths:R.value,columCount:$.value.length,stickyOffsets:k.value,customHeaderRow:Ae,fixHeader:B.value,scroll:xe};if(B.value||_e){let Rn=()=>null;typeof Et=="function"?(Rn=()=>Et(a.value,{scrollbarSize:Se.value,ref:w,onScroll:me}),Pt.colWidths=$.value.map((cn,vr)=>{let{width:Pe}=cn;const He=vr===S.value.length-1?Pe-Se.value:Pe;return typeof He=="number"&&!Number.isNaN(He)?He:0})):Rn=()=>f("div",{style:v(v({},oe.value),Q.value),onScroll:me,ref:w,class:te(`${pe}-body`)},[f(ct,{style:v(v({},W.value),{tableLayout:ge.value})},{default:()=>[ae(),we(),!X.value&&Dt&&f(Xi,{stickyOffsets:k.value,flattenColumns:$.value},{default:()=>[Dt]})]})]);const Yn=v(v(v({noData:!a.value.length,maxContentScroll:L.value&&xe.x==="max-content"},Pt),x.value),{direction:ke,stickyClassName:at,onScroll:me});Bt=()=>f(nt,null,[Me!==!1&&f(fS,N(N({},Yn),{},{stickyTopOffset:Re,class:`${pe}-header`,ref:O}),{default:cn=>f(nt,null,[f(uS,cn,null),X.value==="top"&&f(Xi,cn,{default:()=>[Dt]})])}),Rn(),X.value&&X.value!=="top"&&f(fS,N(N({},Yn),{},{stickyBottomOffset:Ye,class:`${pe}-summary`,ref:I}),{default:cn=>f(Xi,cn,{default:()=>[Dt]})}),_e&&w.value&&f(Rq,{ref:K,offsetScroll:tt,scrollBodyRef:w,onScroll:me,container:it,scrollBodySizeInfo:M.value},null)])}else Bt=()=>f("div",{style:v(v({},oe.value),Q.value),class:te(`${pe}-content`),onScroll:me,ref:w},[f(ct,{style:v(v({},W.value),{tableLayout:ge.value})},{default:()=>[ae(),Me!==!1&&f(uS,N(N({},Pt),x.value),null),we(),Dt&&f(Xi,{stickyOffsets:k.value,flattenColumns:$.value},{default:()=>[Dt]})]})]);const Qt=dr(n,{aria:!0,data:!0}),sn=()=>f("div",N(N({},Qt),{},{class:te(pe,{[`${pe}-rtl`]:ke==="rtl",[`${pe}-ping-left`]:_.value,[`${pe}-ping-right`]:F.value,[`${pe}-layout-fixed`]:Te==="fixed",[`${pe}-fixed-header`]:B.value,[`${pe}-fixed-column`]:j.value,[`${pe}-scroll-horizontal`]:L.value,[`${pe}-has-fix-left`]:$.value[0]&&$.value[0].fixed,[`${pe}-has-fix-right`]:$.value[E.value-1]&&$.value[E.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:be,ref:C}),[ve&&f(Dp,{class:`${pe}-title`},{default:()=>[ve(a.value)]}),f("div",{class:`${pe}-container`},[Bt()]),he&&f(Dp,{class:`${pe}-footer`},{default:()=>[he(a.value)]})]);return L.value?f(ho,{onResize:fe},{default:sn}):sn()}}});function zq(){const e=v({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const r=n[o];r!==void 0&&(e[o]=r)})}return e}const Rp=10;function Hq(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(r=>{const a=e[r];typeof a!="function"&&(n[r]=a)}),n}function jq(e,t,n){const o=P(()=>t.value&&typeof t.value=="object"?t.value:{}),r=P(()=>o.value.total||0),[a,l]=pt(()=>({current:"defaultCurrent"in o.value?o.value.defaultCurrent:1,pageSize:"defaultPageSize"in o.value?o.value.defaultPageSize:Rp})),i=P(()=>{const c=zq(a.value,o.value,{total:r.value>0?r.value:e.value}),d=Math.ceil((r.value||e.value)/c.pageSize);return c.current>d&&(c.current=d||1),c}),s=(c,d)=>{t.value!==!1&&l({current:c??1,pageSize:d||i.value.pageSize})},u=(c,d)=>{var p,g;t.value&&((g=(p=o.value).onChange)===null||g===void 0||g.call(p,c,d)),s(c,d),n(c,d||i.value.pageSize)};return[P(()=>t.value===!1?{}:v(v({},i.value),{onChange:u})),s]}function Vq(e,t,n){const o=Y({});ue([e,t,n],()=>{const a=new Map,l=n.value,i=t.value;function s(u){u.forEach((c,d)=>{const p=l(c,d);a.set(p,c),c&&typeof c=="object"&&i in c&&s(c[i]||[])})}s(e.value),o.value={kvMap:a}},{deep:!0,immediate:!0});function r(a){return o.value.kvMap.get(a)}return[r]}const To={},Np="SELECT_ALL",kp="SELECT_INVERT",Bp="SELECT_NONE",Wq=[];function S6(e,t){let n=[];return(t||[]).forEach(o=>{n.push(o),o&&typeof o=="object"&&e in o&&(n=[...n,...S6(e,o[e])])}),n}function Kq(e,t){const n=P(()=>{const I=e.value||{},{checkStrictly:_=!0}=I;return v(v({},I),{checkStrictly:_})}),[o,r]=Ot(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||Wq,{value:P(()=>n.value.selectedRowKeys)}),a=Y(new Map),l=I=>{if(n.value.preserveSelectedRowKeys){const _=new Map;I.forEach(D=>{let F=t.getRecordByKey(D);!F&&a.value.has(D)&&(F=a.value.get(D)),_.set(D,F)}),a.value=_}};Le(()=>{l(o.value)});const i=P(()=>n.value.checkStrictly?null:gi(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),s=P(()=>S6(t.childrenColumnName.value,t.pageData.value)),u=P(()=>{const I=new Map,_=t.getRowKey.value,D=n.value.getCheckboxProps;return s.value.forEach((F,z)=>{const H=_(F,z),T=(D?D(F):null)||{};I.set(H,T)}),I}),{maxLevel:c,levelEntities:d}=au(i),p=I=>{var _;return!!(!((_=u.value.get(t.getRowKey.value(I)))===null||_===void 0)&&_.disabled)},g=P(()=>{if(n.value.checkStrictly)return[o.value||[],[]];const{checkedKeys:I,halfCheckedKeys:_}=jn(o.value,!0,i.value,c.value,d.value,p);return[I||[],_]}),m=P(()=>g.value[0]),h=P(()=>g.value[1]),b=P(()=>{const I=n.value.type==="radio"?m.value.slice(0,1):m.value;return new Set(I)}),y=P(()=>n.value.type==="radio"?new Set:new Set(h.value)),[S,$]=pt(null),x=I=>{let _,D;l(I);const{preserveSelectedRowKeys:F,onChange:z}=n.value,{getRecordByKey:H}=t;F?(_=I,D=I.map(T=>a.value.get(T))):(_=[],D=[],I.forEach(T=>{const A=H(T);A!==void 0&&(_.push(T),D.push(A))})),r(_),z==null||z(_,D)},C=(I,_,D,F)=>{const{onSelect:z}=n.value,{getRecordByKey:H}=t||{};if(z){const T=D.map(A=>H(A));z(H(I),_,T,F)}x(D)},O=P(()=>{const{onSelectInvert:I,onSelectNone:_,selections:D,hideSelectAll:F}=n.value,{data:z,pageData:H,getRowKey:T,locale:A}=t;return!D||F?null:(D===!0?[Np,kp,Bp]:D).map(E=>E===Np?{key:"all",text:A.value.selectionAll,onSelect(){x(z.value.map((k,B)=>T.value(k,B)).filter(k=>{const B=u.value.get(k);return!(B!=null&&B.disabled)||b.value.has(k)}))}}:E===kp?{key:"invert",text:A.value.selectInvert,onSelect(){const k=new Set(b.value);H.value.forEach((L,j)=>{const K=T.value(L,j),G=u.value.get(K);G!=null&&G.disabled||(k.has(K)?k.delete(K):k.add(K))});const B=Array.from(k);I&&(bt(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),I(B)),x(B)}}:E===Bp?{key:"none",text:A.value.selectNone,onSelect(){_==null||_(),x(Array.from(b.value).filter(k=>{const B=u.value.get(k);return B==null?void 0:B.disabled}))}}:E)}),w=P(()=>s.value.length);return[I=>{var _;const{onSelectAll:D,onSelectMultiple:F,columnWidth:z,type:H,fixed:T,renderCell:A,hideSelectAll:R,checkStrictly:E}=n.value,{prefixCls:k,getRecordByKey:B,getRowKey:L,expandType:j,getPopupContainer:K}=t;if(!e.value)return I.filter(ie=>ie!==To);let G=I.slice();const U=new Set(b.value),X=s.value.map(L.value).filter(ie=>!u.value.get(ie).disabled),ee=X.every(ie=>U.has(ie)),oe=X.some(ie=>U.has(ie)),Q=()=>{const ie=[];ee?X.forEach(Se=>{U.delete(Se),ie.push(Se)}):X.forEach(Se=>{U.has(Se)||(U.add(Se),ie.push(Se))});const fe=Array.from(U);D==null||D(!ee,fe.map(Se=>B(Se)),ie.map(Se=>B(Se))),x(fe)};let W;if(H!=="radio"){let ie;if(O.value){const Oe=f(Mn,{getPopupContainer:K.value},{default:()=>[O.value.map((we,ae)=>{const{key:ne,text:pe,onSelect:xe}=we;return f(Mn.Item,{key:ne||ae,onClick:()=>{xe==null||xe(X)}},{default:()=>[pe]})})]});ie=f("div",{class:`${k.value}-selection-extra`},[f(ar,{overlay:Oe,getPopupContainer:K.value},{default:()=>[f("span",null,[f(Nc,null,null)])]})])}const fe=s.value.map((Oe,we)=>{const ae=L.value(Oe,we),ne=u.value.get(ae)||{};return v({checked:U.has(ae)},ne)}).filter(Oe=>{let{disabled:we}=Oe;return we}),Se=!!fe.length&&fe.length===w.value,Ie=Se&&fe.every(Oe=>{let{checked:we}=Oe;return we}),ge=Se&&fe.some(Oe=>{let{checked:we}=Oe;return we});W=!R&&f("div",{class:`${k.value}-selection`},[f(No,{checked:Se?Ie:!!w.value&&ee,indeterminate:Se?!Ie&&ge:!ee&&oe,onChange:Q,disabled:w.value===0||Se,"aria-label":ie?"Custom selection":"Select all",skipGroup:!0},null),ie])}let q;H==="radio"?q=ie=>{let{record:fe,index:Se}=ie;const Ie=L.value(fe,Se),ge=U.has(Ie);return{node:f(pn,N(N({},u.value.get(Ie)),{},{checked:ge,onClick:Oe=>Oe.stopPropagation(),onChange:Oe=>{U.has(Ie)||C(Ie,!0,[Ie],Oe.nativeEvent)}}),null),checked:ge}}:q=ie=>{let{record:fe,index:Se}=ie;var Ie;const ge=L.value(fe,Se),Oe=U.has(ge),we=y.value.has(ge),ae=u.value.get(ge);let ne;return j.value==="nest"?(ne=we,bt(typeof(ae==null?void 0:ae.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):ne=(Ie=ae==null?void 0:ae.indeterminate)!==null&&Ie!==void 0?Ie:we,{node:f(No,N(N({},ae),{},{indeterminate:ne,checked:Oe,skipGroup:!0,onClick:pe=>pe.stopPropagation(),onChange:pe=>{let{nativeEvent:xe}=pe;const{shiftKey:Te}=xe;let ke=-1,ve=-1;if(Te&&E){const he=new Set([S.value,ge]);X.some((be,Me)=>{if(he.has(be))if(ke===-1)ke=Me;else return ve=Me,!0;return!1})}if(ve!==-1&&ke!==ve&&E){const he=X.slice(ke,ve+1),be=[];Oe?he.forEach(Ae=>{U.has(Ae)&&(be.push(Ae),U.delete(Ae))}):he.forEach(Ae=>{U.has(Ae)||(be.push(Ae),U.add(Ae))});const Me=Array.from(U);F==null||F(!Oe,Me.map(Ae=>B(Ae)),be.map(Ae=>B(Ae))),x(Me)}else{const he=m.value;if(E){const be=Oe?uo(he,ge):Io(he,ge);C(ge,!Oe,be,xe)}else{const be=jn([...he,ge],!0,i.value,c.value,d.value,p),{checkedKeys:Me,halfCheckedKeys:Ae}=be;let _e=Me;if(Oe){const Re=new Set(Me);Re.delete(ge),_e=jn(Array.from(Re),{checked:!1,halfCheckedKeys:Ae},i.value,c.value,d.value,p).checkedKeys}C(ge,!Oe,_e,xe)}}$(ge)}}),null),checked:Oe}};const re=ie=>{let{record:fe,index:Se}=ie;const{node:Ie,checked:ge}=q({record:fe,index:Se});return A?A(ge,fe,Se,Ie):Ie};if(!G.includes(To))if(G.findIndex(ie=>{var fe;return((fe=ie[Ma])===null||fe===void 0?void 0:fe.columnType)==="EXPAND_COLUMN"})===0){const[ie,...fe]=G;G=[ie,To,...fe]}else G=[To,...G];const le=G.indexOf(To);G=G.filter((ie,fe)=>ie!==To||fe===le);const ye=G[le-1],me=G[le+1];let ce=T;ce===void 0&&((me==null?void 0:me.fixed)!==void 0?ce=me.fixed:(ye==null?void 0:ye.fixed)!==void 0&&(ce=ye.fixed)),ce&&ye&&((_=ye[Ma])===null||_===void 0?void 0:_.columnType)==="EXPAND_COLUMN"&&ye.fixed===void 0&&(ye.fixed=ce);const se={fixed:ce,width:z,className:`${k.value}-selection-column`,title:n.value.columnTitle||W,customRender:re,[Ma]:{class:`${k.value}-selection-col`}};return G.map(ie=>ie===To?se:ie)},b]}var Gq={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const Xq=Gq;function vS(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[];const t=mt(e),n=[];return t.forEach(o=>{var r,a,l,i;if(!o)return;const s=o.key,u=((r=o.props)===null||r===void 0?void 0:r.style)||{},c=((a=o.props)===null||a===void 0?void 0:a.class)||"",d=o.props||{};for(const[b,y]of Object.entries(d))d[qr(b)]=y;const p=o.children||{},{default:g}=p,m=eQ(p,["default"]),h=v(v(v({},m),d),{style:u,class:c});if(s&&(h.key=s),!((l=o.type)===null||l===void 0)&&l.__ANT_TABLE_COLUMN_GROUP)h.children=$6(typeof g=="function"?g():g);else{const b=(i=o.children)===null||i===void 0?void 0:i.default;h.customRender=h.customRender||b}n.push(h)}),n}const ms="ascend",jd="descend";function ec(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function hS(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function tQ(e,t){return t?e[e.indexOf(t)+1]:e[0]}function Fp(e,t,n){let o=[];function r(a,l){o.push({column:a,key:Kr(a,l),multiplePriority:ec(a),sortOrder:a.sortOrder})}return(e||[]).forEach((a,l)=>{const i=yi(l,n);a.children?("sortOrder"in a&&r(a,i),o=[...o,...Fp(a.children,t,i)]):a.sorter&&("sortOrder"in a?r(a,i):t&&a.defaultSortOrder&&o.push({column:a,key:Kr(a,i),multiplePriority:ec(a),sortOrder:a.defaultSortOrder}))}),o}function C6(e,t,n,o,r,a,l,i){return(t||[]).map((s,u)=>{const c=yi(u,i);let d=s;if(d.sorter){const p=d.sortDirections||r,g=d.showSorterTooltip===void 0?l:d.showSorterTooltip,m=Kr(d,c),h=n.find(I=>{let{key:_}=I;return _===m}),b=h?h.sortOrder:null,y=tQ(p,b),S=p.includes(ms)&&f(Jq,{class:te(`${e}-column-sorter-up`,{active:b===ms}),role:"presentation"},null),$=p.includes(jd)&&f(Yq,{role:"presentation",class:te(`${e}-column-sorter-down`,{active:b===jd})},null),{cancelSort:x,triggerAsc:C,triggerDesc:O}=a||{};let w=x;y===jd?w=O:y===ms&&(w=C);const M=typeof g=="object"?g:{title:w};d=v(v({},d),{className:te(d.className,{[`${e}-column-sort`]:b}),title:I=>{const _=f("div",{class:`${e}-column-sorters`},[f("span",{class:`${e}-column-title`},[Hh(s.title,I)]),f("span",{class:te(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(S&&$)})},[f("span",{class:`${e}-column-sorter-inner`},[S,$])])]);return g?f(oo,M,{default:()=>[_]}):_},customHeaderCell:I=>{const _=s.customHeaderCell&&s.customHeaderCell(I)||{},D=_.onClick,F=_.onKeydown;return _.onClick=z=>{o({column:s,key:m,sortOrder:y,multiplePriority:ec(s)}),D&&D(z)},_.onKeydown=z=>{z.keyCode===$e.ENTER&&(o({column:s,key:m,sortOrder:y,multiplePriority:ec(s)}),F==null||F(z))},b&&(_["aria-sort"]=b==="ascend"?"ascending":"descending"),_.class=te(_.class,`${e}-column-has-sorters`),_.tabindex=0,_}})}return"children"in d&&(d=v(v({},d),{children:C6(e,d.children,n,o,r,a,l,c)})),d})}function mS(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function bS(e){const t=e.filter(n=>{let{sortOrder:o}=n;return o}).map(mS);return t.length===0&&e.length?v(v({},mS(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function Lp(e,t,n){const o=t.slice().sort((l,i)=>i.multiplePriority-l.multiplePriority),r=e.slice(),a=o.filter(l=>{let{column:{sorter:i},sortOrder:s}=l;return hS(i)&&s});return a.length?r.sort((l,i)=>{for(let s=0;s{const i=l[n];return i?v(v({},l),{[n]:Lp(i,t,n)}):l}):r}function nQ(e){let{prefixCls:t,mergedColumns:n,onSorterChange:o,sortDirections:r,tableLocale:a,showSorterTooltip:l}=e;const[i,s]=pt(Fp(n.value,!0)),u=P(()=>{let m=!0;const h=Fp(n.value,!1);if(!h.length)return i.value;const b=[];function y($){m?b.push($):b.push(v(v({},$),{sortOrder:null}))}let S=null;return h.forEach($=>{S===null?(y($),$.sortOrder&&($.multiplePriority===!1?m=!1:S=!0)):(S&&$.multiplePriority!==!1||(m=!1),y($))}),b}),c=P(()=>{const m=u.value.map(h=>{let{column:b,sortOrder:y}=h;return{column:b,order:y}});return{sortColumns:m,sortColumn:m[0]&&m[0].column,sortOrder:m[0]&&m[0].order}});function d(m){let h;m.multiplePriority===!1||!u.value.length||u.value[0].multiplePriority===!1?h=[m]:h=[...u.value.filter(b=>{let{key:y}=b;return y!==m.key}),m],s(h),o(bS(h),h)}const p=m=>C6(t.value,m,u.value,d,r.value,a.value,l.value),g=P(()=>bS(u.value));return[p,u,c,g]}var oQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const rQ=oQ;function yS(e){for(var t=1;t{const{keyCode:t}=e;t===$e.ENTER&&e.stopPropagation()},sQ=(e,t)=>{let{slots:n}=t;var o;return f("div",{onClick:r=>r.stopPropagation(),onKeydown:iQ},[(o=n.default)===null||o===void 0?void 0:o.call(n)])},cQ=sQ,SS=J({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:je(),onChange:de(),filterSearch:Ge([Boolean,Function]),tablePrefixCls:je(),locale:Ne()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:o,tablePrefixCls:r,locale:a}=e;return o?f("div",{class:`${r}-filter-dropdown-search`},[f(Wt,{placeholder:a.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${r}-filter-dropdown-search-input`},{prefix:()=>f(ag,null,null)})]):null}}});var $S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.motion?e.motion:Kc()),s=(u,c)=>{var d,p,g,m;c==="appear"?(p=(d=i.value)===null||d===void 0?void 0:d.onAfterEnter)===null||p===void 0||p.call(d,u):c==="leave"&&((m=(g=i.value)===null||g===void 0?void 0:g.onAfterLeave)===null||m===void 0||m.call(g,u)),l.value||e.onMotionEnd(),l.value=!0};return ue(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&r.value&<(()=>{r.value=!1})},{immediate:!0,flush:"post"}),Ve(()=>{e.motionNodes&&e.onMotionStart()}),Je(()=>{e.motionNodes&&s()}),()=>{const{motion:u,motionNodes:c,motionType:d,active:p,eventKey:g}=e,m=$S(e,["motion","motionNodes","motionType","active","eventKey"]);return c?f(rn,N(N({},i.value),{},{appear:d==="show",onAfterAppear:h=>s(h,"appear"),onAfterLeave:h=>s(h,"leave")}),{default:()=>[Kt(f("div",{class:`${a.value.prefixCls}-treenode-motion`},[c.map(h=>{const b=$S(h.data,[]),{title:y,key:S,isStart:$,isEnd:x}=h;return delete b.children,f(lp,N(N({},b),{},{title:y,active:p,data:h.data,key:S,eventKey:S,isStart:$,isEnd:x}),o)})]),[[Wn,r.value]])]}):f(lp,N(N({class:n.class,style:n.style},m),{},{active:p,eventKey:g}),o)}}});function dQ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,o=t.length;if(Math.abs(n-o)!==1)return{add:!1,key:null};function r(a,l){const i=new Map;a.forEach(u=>{i.set(u,!0)});const s=l.filter(u=>!i.has(u));return s.length===1?s[0]:null}return nl.key===n),r=e[o+1],a=t.findIndex(l=>l.key===n);if(r){const l=t.findIndex(i=>i.key===r.key);return t.slice(a+1,l)}return t.slice(a+1)}var xS=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{},Gr=`RC_TREE_MOTION_${Math.random()}`,zp={key:Gr},x6={key:Gr,level:0,index:0,pos:"0",node:zp,nodes:[zp]},OS={parent:null,children:[],pos:x6.pos,data:zp,title:null,key:Gr,isStart:[],isEnd:[]};function PS(e,t,n,o){return t===!1||!n?e:e.slice(0,Math.ceil(n/o)+1)}function IS(e){const{key:t,pos:n}=e;return vi(t,n)}function pQ(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const vQ=J({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:_z,setup(e,t){let{expose:n,attrs:o}=t;const r=Z(),a=Z(),{expandedKeys:l,flattenNodes:i}=h4();n({scrollTo:h=>{r.value.scrollTo(h)},getIndentWidth:()=>a.value.offsetWidth});const s=Y(i.value),u=Y([]),c=Z(null);function d(){s.value=i.value,u.value=[],c.value=null,e.onListChangeEnd()}const p=nh();ue([()=>l.value.slice(),i],(h,b)=>{let[y,S]=h,[$,x]=b;const C=dQ($,y);if(C.key!==null){const{virtual:O,height:w,itemHeight:M}=e;if(C.add){const I=x.findIndex(F=>{let{key:z}=F;return z===C.key}),_=PS(CS(x,S,C.key),O,w,M),D=x.slice();D.splice(I+1,0,OS),s.value=D,u.value=_,c.value="show"}else{const I=S.findIndex(F=>{let{key:z}=F;return z===C.key}),_=PS(CS(S,x,C.key),O,w,M),D=S.slice();D.splice(I+1,0,OS),s.value=D,u.value=_,c.value="hide"}}else x!==S&&(s.value=S)}),ue(()=>p.value.dragging,h=>{h||d()});const g=P(()=>e.motion===void 0?s.value:i.value),m=()=>{e.onActiveChange(null)};return()=>{const h=v(v({},e),o),{prefixCls:b,selectable:y,checkable:S,disabled:$,motion:x,height:C,itemHeight:O,virtual:w,focusable:M,activeItem:I,focused:_,tabindex:D,onKeydown:F,onFocus:z,onBlur:H,onListChangeStart:T,onListChangeEnd:A}=h,R=xS(h,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return f(nt,null,[_&&I&&f("span",{style:wS,"aria-live":"assertive"},[pQ(I)]),f("div",null,[f("input",{style:wS,disabled:M===!1||$,tabindex:M!==!1?D:null,onKeydown:F,onFocus:z,onBlur:H,value:"",onChange:fQ,"aria-label":"for screen reader"},null)]),f("div",{class:`${b}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[f("div",{class:`${b}-indent`},[f("div",{ref:a,class:`${b}-indent-unit`},null)])]),f(rx,N(N({},qe(R,["onActiveChange"])),{},{data:g.value,itemKey:IS,height:C,fullHeight:!1,virtual:w,itemHeight:O,prefixCls:`${b}-list`,ref:r,onVisibleChange:(E,k)=>{const B=new Set(E);k.filter(j=>!B.has(j)).some(j=>IS(j)===Gr)&&d()}}),{default:E=>{const{pos:k}=E,B=xS(E.data,[]),{title:L,key:j,isStart:K,isEnd:G}=E,U=vi(j,k);return delete B.key,delete B.children,f(uQ,N(N({},B),{},{eventKey:U,title:L,active:!!I&&j===I.key,data:E.data,isStart:K,isEnd:G,motion:x,motionNodes:j===Gr?u.value:null,motionType:c.value,onMotionStart:T,onMotionEnd:d,onMousemove:m}),null)}})])}}});function gQ(e){let{dropPosition:t,dropLevelOffset:n,indent:o}=e;const r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:r.top=0,r.left=`${-n*o}px`;break;case 1:r.bottom=0,r.left=`${-n*o}px`;break;case 0:r.bottom=0,r.left=`${o}`;break}return f("div",{style:r},null)}const hQ=10,w6=J({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:rt(b4(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:gQ,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=Y(!1);let l={};const i=Y(),s=Y([]),u=Y([]),c=Y([]),d=Y([]),p=Y([]),g=Y([]),m={},h=vt({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),b=Y([]);ue([()=>e.treeData,()=>e.children],()=>{b.value=e.treeData!==void 0?_t(e.treeData).slice():sp(_t(e.children))},{immediate:!0,deep:!0});const y=Y({}),S=Y(!1),$=Y(null),x=Y(!1),C=P(()=>tu(e.fieldNames)),O=Y();let w=null,M=null,I=null;const _=P(()=>({expandedKeysSet:D.value,selectedKeysSet:F.value,loadedKeysSet:z.value,loadingKeysSet:H.value,checkedKeysSet:T.value,halfCheckedKeysSet:A.value,dragOverNodeKey:h.dragOverNodeKey,dropPosition:h.dropPosition,keyEntities:y.value})),D=P(()=>new Set(g.value)),F=P(()=>new Set(s.value)),z=P(()=>new Set(d.value)),H=P(()=>new Set(p.value)),T=P(()=>new Set(u.value)),A=P(()=>new Set(c.value));Le(()=>{if(b.value){const ve=gi(b.value,{fieldNames:C.value});y.value=v({[Gr]:x6},ve.keyEntities)}});let R=!1;ue([()=>e.expandedKeys,()=>e.autoExpandParent,y],(ve,he)=>{let[be,Me]=ve,[Ae,_e]=he,Re=g.value;if(e.expandedKeys!==void 0||R&&Me!==_e)Re=e.autoExpandParent||!R&&e.defaultExpandParent?ip(e.expandedKeys,y.value):e.expandedKeys;else if(!R&&e.defaultExpandAll){const Ye=v({},y.value);delete Ye[Gr],Re=Object.keys(Ye).map(tt=>Ye[tt].key)}else!R&&e.defaultExpandedKeys&&(Re=e.autoExpandParent||e.defaultExpandParent?ip(e.defaultExpandedKeys,y.value):e.defaultExpandedKeys);Re&&(g.value=Re),R=!0},{immediate:!0});const E=Y([]);Le(()=>{E.value=Lz(b.value,g.value,C.value)}),Le(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=V1(e.selectedKeys,e):!R&&e.defaultSelectedKeys&&(s.value=V1(e.defaultSelectedKeys,e)))});const{maxLevel:k,levelEntities:B}=au(y);Le(()=>{if(e.checkable){let ve;if(e.checkedKeys!==void 0?ve=bd(e.checkedKeys)||{}:!R&&e.defaultCheckedKeys?ve=bd(e.defaultCheckedKeys)||{}:b.value&&(ve=bd(e.checkedKeys)||{checkedKeys:u.value,halfCheckedKeys:c.value}),ve){let{checkedKeys:he=[],halfCheckedKeys:be=[]}=ve;e.checkStrictly||({checkedKeys:he,halfCheckedKeys:be}=jn(he,!0,y.value,k.value,B.value)),u.value=he,c.value=be}}}),Le(()=>{e.loadedKeys&&(d.value=e.loadedKeys)});const L=()=>{v(h,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},j=ve=>{O.value.scrollTo(ve)};ue(()=>e.activeKey,()=>{e.activeKey!==void 0&&($.value=e.activeKey)},{immediate:!0}),ue($,ve=>{lt(()=>{ve!==null&&j({key:ve})})},{immediate:!0,flush:"post"});const K=ve=>{e.expandedKeys===void 0&&(g.value=ve)},G=()=>{h.draggingNodeKey!==null&&v(h,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),w=null,I=null},U=(ve,he)=>{const{onDragend:be}=e;h.dragOverNodeKey=null,G(),be==null||be({event:ve,node:he.eventData}),M=null},X=ve=>{U(ve,null),window.removeEventListener("dragend",X)},ee=(ve,he)=>{const{onDragstart:be}=e,{eventKey:Me,eventData:Ae}=he;M=he,w={x:ve.clientX,y:ve.clientY};const _e=uo(g.value,Me);h.draggingNodeKey=Me,h.dragChildrenKeys=Nz(Me,y.value),i.value=O.value.getIndentWidth(),K(_e),window.addEventListener("dragend",X),be&&be({event:ve,node:Ae})},oe=(ve,he)=>{const{onDragenter:be,onExpand:Me,allowDrop:Ae,direction:_e}=e,{pos:Re,eventKey:Ye}=he;if(I!==Ye&&(I=Ye),!M){L();return}const{dropPosition:tt,dropLevelOffset:at,dropTargetKey:it,dropContainerKey:ct,dropTargetPos:Et,dropAllowed:Dt,dragOverNodeKey:Bt}=j1(ve,M,he,i.value,w,Ae,E.value,y.value,D.value,_e);if(h.dragChildrenKeys.indexOf(it)!==-1||!Dt){L();return}if(l||(l={}),Object.keys(l).forEach(Pt=>{clearTimeout(l[Pt])}),M.eventKey!==he.eventKey&&(l[Re]=window.setTimeout(()=>{if(h.draggingNodeKey===null)return;let Pt=g.value.slice();const Qt=y.value[he.eventKey];Qt&&(Qt.children||[]).length&&(Pt=Io(g.value,he.eventKey)),K(Pt),Me&&Me(Pt,{node:he.eventData,expanded:!0,nativeEvent:ve})},800)),M.eventKey===it&&at===0){L();return}v(h,{dragOverNodeKey:Bt,dropPosition:tt,dropLevelOffset:at,dropTargetKey:it,dropContainerKey:ct,dropTargetPos:Et,dropAllowed:Dt}),be&&be({event:ve,node:he.eventData,expandedKeys:g.value})},Q=(ve,he)=>{const{onDragover:be,allowDrop:Me,direction:Ae}=e;if(!M)return;const{dropPosition:_e,dropLevelOffset:Re,dropTargetKey:Ye,dropContainerKey:tt,dropAllowed:at,dropTargetPos:it,dragOverNodeKey:ct}=j1(ve,M,he,i.value,w,Me,E.value,y.value,D.value,Ae);h.dragChildrenKeys.indexOf(Ye)!==-1||!at||(M.eventKey===Ye&&Re===0?h.dropPosition===null&&h.dropLevelOffset===null&&h.dropTargetKey===null&&h.dropContainerKey===null&&h.dropTargetPos===null&&h.dropAllowed===!1&&h.dragOverNodeKey===null||L():_e===h.dropPosition&&Re===h.dropLevelOffset&&Ye===h.dropTargetKey&&tt===h.dropContainerKey&&it===h.dropTargetPos&&at===h.dropAllowed&&ct===h.dragOverNodeKey||v(h,{dropPosition:_e,dropLevelOffset:Re,dropTargetKey:Ye,dropContainerKey:tt,dropTargetPos:it,dropAllowed:at,dragOverNodeKey:ct}),be&&be({event:ve,node:he.eventData}))},W=(ve,he)=>{I===he.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(L(),I=null);const{onDragleave:be}=e;be&&be({event:ve,node:he.eventData})},q=function(ve,he){let be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Me;const{dragChildrenKeys:Ae,dropPosition:_e,dropTargetKey:Re,dropTargetPos:Ye,dropAllowed:tt}=h;if(!tt)return;const{onDrop:at}=e;if(h.dragOverNodeKey=null,G(),Re===null)return;const it=v(v({},us(Re,_t(_.value))),{active:((Me=pe.value)===null||Me===void 0?void 0:Me.key)===Re,data:y.value[Re].node});Ae.indexOf(Re);const ct=oh(Ye),Et={event:ve,node:ds(it),dragNode:M?M.eventData:null,dragNodesKeys:[M.eventKey].concat(Ae),dropToGap:_e!==0,dropPosition:_e+Number(ct[ct.length-1])};be||at==null||at(Et),M=null},re=(ve,he)=>{const{expanded:be,key:Me}=he,Ae=E.value.filter(Re=>Re.key===Me)[0],_e=ds(v(v({},us(Me,_.value)),{data:Ae.data}));K(be?uo(g.value,Me):Io(g.value,Me)),Oe(ve,_e)},le=(ve,he)=>{const{onClick:be,expandAction:Me}=e;Me==="click"&&re(ve,he),be&&be(ve,he)},ye=(ve,he)=>{const{onDblclick:be,expandAction:Me}=e;(Me==="doubleclick"||Me==="dblclick")&&re(ve,he),be&&be(ve,he)},me=(ve,he)=>{let be=s.value;const{onSelect:Me,multiple:Ae}=e,{selected:_e}=he,Re=he[C.value.key],Ye=!_e;Ye?Ae?be=Io(be,Re):be=[Re]:be=uo(be,Re);const tt=y.value,at=be.map(it=>{const ct=tt[it];return ct?ct.node:null}).filter(it=>it);e.selectedKeys===void 0&&(s.value=be),Me&&Me(be,{event:"select",selected:Ye,node:he,selectedNodes:at,nativeEvent:ve})},ce=(ve,he,be)=>{const{checkStrictly:Me,onCheck:Ae}=e,_e=he[C.value.key];let Re;const Ye={event:"check",node:he,checked:be,nativeEvent:ve},tt=y.value;if(Me){const at=be?Io(u.value,_e):uo(u.value,_e),it=uo(c.value,_e);Re={checked:at,halfChecked:it},Ye.checkedNodes=at.map(ct=>tt[ct]).filter(ct=>ct).map(ct=>ct.node),e.checkedKeys===void 0&&(u.value=at)}else{let{checkedKeys:at,halfCheckedKeys:it}=jn([...u.value,_e],!0,tt,k.value,B.value);if(!be){const ct=new Set(at);ct.delete(_e),{checkedKeys:at,halfCheckedKeys:it}=jn(Array.from(ct),{checked:!1,halfCheckedKeys:it},tt,k.value,B.value)}Re=at,Ye.checkedNodes=[],Ye.checkedNodesPositions=[],Ye.halfCheckedKeys=it,at.forEach(ct=>{const Et=tt[ct];if(!Et)return;const{node:Dt,pos:Bt}=Et;Ye.checkedNodes.push(Dt),Ye.checkedNodesPositions.push({node:Dt,pos:Bt})}),e.checkedKeys===void 0&&(u.value=at,c.value=it)}Ae&&Ae(Re,Ye)},se=ve=>{const he=ve[C.value.key],be=new Promise((Me,Ae)=>{const{loadData:_e,onLoad:Re}=e;if(!_e||z.value.has(he)||H.value.has(he))return null;_e(ve).then(()=>{const tt=Io(d.value,he),at=uo(p.value,he);Re&&Re(tt,{event:"load",node:ve}),e.loadedKeys===void 0&&(d.value=tt),p.value=at,Me()}).catch(tt=>{const at=uo(p.value,he);if(p.value=at,m[he]=(m[he]||0)+1,m[he]>=hQ){const it=Io(d.value,he);e.loadedKeys===void 0&&(d.value=it),Me()}Ae(tt)}),p.value=Io(p.value,he)});return be.catch(()=>{}),be},ie=(ve,he)=>{const{onMouseenter:be}=e;be&&be({event:ve,node:he})},fe=(ve,he)=>{const{onMouseleave:be}=e;be&&be({event:ve,node:he})},Se=(ve,he)=>{const{onRightClick:be}=e;be&&(ve.preventDefault(),be({event:ve,node:he}))},Ie=ve=>{const{onFocus:he}=e;S.value=!0,he&&he(ve)},ge=ve=>{const{onBlur:he}=e;S.value=!1,ne(null),he&&he(ve)},Oe=(ve,he)=>{let be=g.value;const{onExpand:Me,loadData:Ae}=e,{expanded:_e}=he,Re=he[C.value.key];if(x.value)return;be.indexOf(Re);const Ye=!_e;if(Ye?be=Io(be,Re):be=uo(be,Re),K(be),Me&&Me(be,{node:he,expanded:Ye,nativeEvent:ve}),Ye&&Ae){const tt=se(he);tt&&tt.then(()=>{}).catch(at=>{const it=uo(g.value,Re);K(it),Promise.reject(at)})}},we=()=>{x.value=!0},ae=()=>{setTimeout(()=>{x.value=!1})},ne=ve=>{const{onActiveChange:he}=e;$.value!==ve&&(e.activeKey!==void 0&&($.value=ve),ve!==null&&j({key:ve}),he&&he(ve))},pe=P(()=>$.value===null?null:E.value.find(ve=>{let{key:he}=ve;return he===$.value})||null),xe=ve=>{let he=E.value.findIndex(Me=>{let{key:Ae}=Me;return Ae===$.value});he===-1&&ve<0&&(he=E.value.length),he=(he+ve+E.value.length)%E.value.length;const be=E.value[he];if(be){const{key:Me}=be;ne(Me)}else ne(null)},Te=P(()=>ds(v(v({},us($.value,_.value)),{data:pe.value.data,active:!0}))),ke=ve=>{const{onKeydown:he,checkable:be,selectable:Me}=e;switch(ve.which){case $e.UP:{xe(-1),ve.preventDefault();break}case $e.DOWN:{xe(1),ve.preventDefault();break}}const Ae=pe.value;if(Ae&&Ae.data){const _e=Ae.data.isLeaf===!1||!!(Ae.data.children||[]).length,Re=Te.value;switch(ve.which){case $e.LEFT:{_e&&D.value.has($.value)?Oe({},Re):Ae.parent&&ne(Ae.parent.key),ve.preventDefault();break}case $e.RIGHT:{_e&&!D.value.has($.value)?Oe({},Re):Ae.children&&Ae.children.length&&ne(Ae.children[0].key),ve.preventDefault();break}case $e.ENTER:case $e.SPACE:{be&&!Re.disabled&&Re.checkable!==!1&&!Re.disableCheckbox?ce({},Re,!T.value.has($.value)):!be&&Me&&!Re.disabled&&Re.selectable!==!1&&me({},Re);break}}}he&&he(ve)};return r({onNodeExpand:Oe,scrollTo:j,onKeydown:ke,selectedKeys:P(()=>s.value),checkedKeys:P(()=>u.value),halfCheckedKeys:P(()=>c.value),loadedKeys:P(()=>d.value),loadingKeys:P(()=>p.value),expandedKeys:P(()=>g.value)}),An(()=>{window.removeEventListener("dragend",X),a.value=!0}),Tz({expandedKeys:g,selectedKeys:s,loadedKeys:d,loadingKeys:p,checkedKeys:u,halfCheckedKeys:c,expandedKeysSet:D,selectedKeysSet:F,loadedKeysSet:z,loadingKeysSet:H,checkedKeysSet:T,halfCheckedKeysSet:A,flattenNodes:E}),()=>{const{draggingNodeKey:ve,dropLevelOffset:he,dropContainerKey:be,dropTargetKey:Me,dropPosition:Ae,dragOverNodeKey:_e}=h,{prefixCls:Re,showLine:Ye,focusable:tt,tabindex:at=0,selectable:it,showIcon:ct,icon:Et=o.icon,switcherIcon:Dt,draggable:Bt,checkable:Pt,checkStrictly:Qt,disabled:sn,motion:Rn,loadData:Yn,filterTreeNode:cn,height:vr,itemHeight:Pe,virtual:He,dropIndicatorRender:Fe,onContextmenu:gt,onScroll:At,direction:It,rootClassName:un,rootStyle:Gt}=e,{class:so,style:yn}=n,Nn=dr(v(v({},e),n),{aria:!0,data:!0});let St;return Bt?typeof Bt=="object"?St=Bt:typeof Bt=="function"?St={nodeDraggable:Bt}:St={}:St=!1,f(Iz,{value:{prefixCls:Re,selectable:it,showIcon:ct,icon:Et,switcherIcon:Dt,draggable:St,draggingNodeKey:ve,checkable:Pt,customCheckable:o.checkable,checkStrictly:Qt,disabled:sn,keyEntities:y.value,dropLevelOffset:he,dropContainerKey:be,dropTargetKey:Me,dropPosition:Ae,dragOverNodeKey:_e,dragging:ve!==null,indent:i.value,direction:It,dropIndicatorRender:Fe,loadData:Yn,filterTreeNode:cn,onNodeClick:le,onNodeDoubleClick:ye,onNodeExpand:Oe,onNodeSelect:me,onNodeCheck:ce,onNodeLoad:se,onNodeMouseEnter:ie,onNodeMouseLeave:fe,onNodeContextMenu:Se,onNodeDragStart:ee,onNodeDragEnter:oe,onNodeDragOver:Q,onNodeDragLeave:W,onNodeDragEnd:U,onNodeDrop:q,slots:o}},{default:()=>[f("div",{role:"tree",class:te(Re,so,un,{[`${Re}-show-line`]:Ye,[`${Re}-focused`]:S.value,[`${Re}-active-focused`]:$.value!==null}),style:Gt},[f(vQ,N({ref:O,prefixCls:Re,style:yn,disabled:sn,selectable:it,checkable:!!Pt,motion:Rn,height:vr,itemHeight:Pe,virtual:He,focusable:tt,focused:S.value,tabindex:at,activeItem:pe.value,onFocus:Ie,onBlur:ge,onKeydown:ke,onActiveChange:ne,onListChangeStart:we,onListChangeEnd:ae,onContextmenu:gt,onScroll:At},Nn),null)])]})}}});var mQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const bQ=mQ;function TS(e){for(var t=1;t({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),NQ=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),kQ=(e,t)=>{const{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a}=t,l=(a-t.fontSizeLG)/2,i=t.paddingXS;return{[n]:v(v({},et(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:v({},Fo(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:AQ,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:v({},Fo(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:a,lineHeight:`${a}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:v(v({},RQ(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${a}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:a/2*.8,height:a/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:i,marginBlockStart:l},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${a}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${a}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:v({lineHeight:`${a}px`,userSelect:"none"},NQ(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${a/2}px !important`}}}}})}},BQ=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},I6=(e,t)=>{const n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,a=t.controlHeightSM,l=ze(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a});return[kQ(e,l),BQ(l)]},FQ=Qe("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:su(`${n}-checkbox`,e)},I6(n,e),jc(e)]}),T6=()=>{const e=b4();return v(v({},e),{showLine:Ge([Boolean,Object]),multiple:Ce(),autoExpandParent:Ce(),checkStrictly:Ce(),checkable:Ce(),disabled:Ce(),defaultExpandAll:Ce(),defaultExpandParent:Ce(),defaultExpandedKeys:ht(),expandedKeys:ht(),checkedKeys:Ge([Array,Object]),defaultCheckedKeys:ht(),selectedKeys:ht(),defaultSelectedKeys:ht(),selectable:Ce(),loadedKeys:ht(),draggable:Ce(),showIcon:Ce(),icon:de(),switcherIcon:V.any,prefixCls:String,replaceFields:Ne(),blockNode:Ce(),openAnimation:V.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":de(),"onUpdate:checkedKeys":de(),"onUpdate:expandedKeys":de()})},bs=J({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:rt(T6(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:o,emit:r,slots:a}=t;e.treeData===void 0&&a.default;const{prefixCls:l,direction:i,virtual:s}=Ee("tree",e),[u,c]=FQ(l),d=Z();o({treeRef:d,onNodeExpand:function(){var b;(b=d.value)===null||b===void 0||b.onNodeExpand(...arguments)},scrollTo:b=>{var y;(y=d.value)===null||y===void 0||y.scrollTo(b)},selectedKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.selectedKeys}),checkedKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.checkedKeys}),halfCheckedKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.halfCheckedKeys}),loadedKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.loadedKeys}),loadingKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.loadingKeys}),expandedKeys:P(()=>{var b;return(b=d.value)===null||b===void 0?void 0:b.expandedKeys})}),Le(()=>{bt(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const g=(b,y)=>{r("update:checkedKeys",b),r("check",b,y)},m=(b,y)=>{r("update:expandedKeys",b),r("expand",b,y)},h=(b,y)=>{r("update:selectedKeys",b),r("select",b,y)};return()=>{const{showIcon:b,showLine:y,switcherIcon:S=a.switcherIcon,icon:$=a.icon,blockNode:x,checkable:C,selectable:O,fieldNames:w=e.replaceFields,motion:M=e.openAnimation,itemHeight:I=28,onDoubleclick:_,onDblclick:D}=e,F=v(v(v({},n),qe(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!y,dropIndicatorRender:DQ,fieldNames:w,icon:$,itemHeight:I}),z=a.default?Tt(a.default()):void 0;return u(f(w6,N(N({},F),{},{virtual:s.value,motion:M,ref:d,prefixCls:l.value,class:te({[`${l.value}-icon-hide`]:!b,[`${l.value}-block-node`]:x,[`${l.value}-unselectable`]:!O,[`${l.value}-rtl`]:i.value==="rtl"},n.class,c.value),direction:i.value,checkable:C,selectable:O,switcherIcon:H=>P6(l.value,S,H,a.leafIcon,y),onCheck:g,onExpand:m,onSelect:h,onDblclick:D||_,children:z}),v(v({},a),{checkable:()=>f("span",{class:`${l.value}-checkbox-inner`},null)})))}}});var LQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const zQ=LQ;function AS(e){for(var t=1;t{if(i===Mo.End)return!1;if(s(u)){if(l.push(u),i===Mo.None)i=Mo.Start;else if(i===Mo.Start)return i=Mo.End,!1}else i===Mo.Start&&l.push(u);return n.includes(u)}),l}function Vd(e,t,n){const o=[...t],r=[];return Yh(e,n,(a,l)=>{const i=o.indexOf(a);return i!==-1&&(r.push(l),o.splice(i,1)),!!o.length}),r}var UQ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rv(v({},T6()),{expandAction:Ge([Boolean,String])});function qQ(e){const{isLeaf:t,expanded:n}=e;return t?f(O6,null,null):n?f(jQ,null,null):f(GQ,null,null)}const Wd=J({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:rt(YQ(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:a}=t;var l;const i=Z(e.treeData||sp(Tt((l=o.default)===null||l===void 0?void 0:l.call(o))));ue(()=>e.treeData,()=>{i.value=e.treeData}),ao(()=>{lt(()=>{var I;e.treeData===void 0&&o.default&&(i.value=sp(Tt((I=o.default)===null||I===void 0?void 0:I.call(o))))})});const s=Z(),u=Z(),c=P(()=>tu(e.fieldNames)),d=Z();a({scrollTo:I=>{var _;(_=d.value)===null||_===void 0||_.scrollTo(I)},selectedKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.selectedKeys}),checkedKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.checkedKeys}),halfCheckedKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.halfCheckedKeys}),loadedKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadedKeys}),loadingKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadingKeys}),expandedKeys:P(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.expandedKeys})});const g=()=>{const{keyEntities:I}=gi(i.value,{fieldNames:c.value});let _;return e.defaultExpandAll?_=Object.keys(I):e.defaultExpandParent?_=ip(e.expandedKeys||e.defaultExpandedKeys||[],I):_=e.expandedKeys||e.defaultExpandedKeys,_},m=Z(e.selectedKeys||e.defaultSelectedKeys||[]),h=Z(g());ue(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(m.value=e.selectedKeys)},{immediate:!0}),ue(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(h.value=e.expandedKeys)},{immediate:!0});const y=hc((I,_)=>{const{isLeaf:D}=_;D||I.shiftKey||I.metaKey||I.ctrlKey||d.value.onNodeExpand(I,_)},200,{leading:!0}),S=(I,_)=>{e.expandedKeys===void 0&&(h.value=I),r("update:expandedKeys",I),r("expand",I,_)},$=(I,_)=>{const{expandAction:D}=e;D==="click"&&y(I,_),r("click",I,_)},x=(I,_)=>{const{expandAction:D}=e;(D==="dblclick"||D==="doubleclick")&&y(I,_),r("doubleclick",I,_),r("dblclick",I,_)},C=(I,_)=>{const{multiple:D}=e,{node:F,nativeEvent:z}=_,H=F[c.value.key],T=v(v({},_),{selected:!0}),A=(z==null?void 0:z.ctrlKey)||(z==null?void 0:z.metaKey),R=z==null?void 0:z.shiftKey;let E;D&&A?(E=I,s.value=H,u.value=E,T.selectedNodes=Vd(i.value,E,c.value)):D&&R?(E=Array.from(new Set([...u.value||[],...XQ({treeData:i.value,expandedKeys:h.value,startKey:H,endKey:s.value,fieldNames:c.value})])),T.selectedNodes=Vd(i.value,E,c.value)):(E=[H],s.value=H,u.value=E,T.selectedNodes=Vd(i.value,E,c.value)),r("update:selectedKeys",E),r("select",E,T),e.selectedKeys===void 0&&(m.value=E)},O=(I,_)=>{r("update:checkedKeys",I),r("check",I,_)},{prefixCls:w,direction:M}=Ee("tree",e);return()=>{const I=te(`${w.value}-directory`,{[`${w.value}-directory-rtl`]:M.value==="rtl"},n.class),{icon:_=o.icon,blockNode:D=!0}=e,F=UQ(e,["icon","blockNode"]);return f(bs,N(N(N({},n),{},{icon:_||qQ,ref:d,blockNode:D},F),{},{prefixCls:w.value,class:I,expandedKeys:h.value,selectedKeys:m.value,onSelect:C,onClick:$,onDblclick:x,onExpand:S,onCheck:O}),o)}}}),Kd=lp,QQ=v(bs,{DirectoryTree:Wd,TreeNode:Kd,install:e=>(e.component(bs.name,bs),e.component(Kd.name,Kd),e.component(Wd.name,Wd),e)});function NS(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const o=new Set;function r(a,l){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const s=o.has(a);if(Cv(!s,"Warning: There may be circular references"),s)return!1;if(a===l)return!0;if(n&&i>1)return!1;o.add(a);const u=i+1;if(Array.isArray(a)){if(!Array.isArray(l)||a.length!==l.length)return!1;for(let c=0;cr(a[d],l[d],u))}return!1}return r(e,t)}const{SubMenu:ZQ,Item:JQ}=Mn;function eZ(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function M6(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function E6(e){let{filters:t,prefixCls:n,filteredKeys:o,filterMultiple:r,searchValue:a,filterSearch:l}=e;return t.map((i,s)=>{const u=String(i.value);if(i.children)return f(ZQ,{key:u||s,title:i.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[E6({filters:i.children,prefixCls:n,filteredKeys:o,filterMultiple:r,searchValue:a,filterSearch:l})]});const c=r?No:pn,d=f(JQ,{key:i.value!==void 0?u:s},{default:()=>[f(c,{checked:o.includes(u)},null),f("span",null,[i.text])]});return a.trim()?typeof l=="function"?l(a,i)?d:void 0:M6(a,i.text)?d:void 0:d})}const tZ=J({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const o=Bh(),r=P(()=>{var j;return(j=e.filterMode)!==null&&j!==void 0?j:"menu"}),a=P(()=>{var j;return(j=e.filterSearch)!==null&&j!==void 0?j:!1}),l=P(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),i=P(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),s=Y(!1),u=P(()=>{var j;return!!(e.filterState&&(!((j=e.filterState.filteredKeys)===null||j===void 0)&&j.length||e.filterState.forceFiltered))}),c=P(()=>{var j;return hu((j=e.column)===null||j===void 0?void 0:j.filters)}),d=P(()=>{const{filterDropdown:j,slots:K={},customFilterDropdown:G}=e.column;return j||K.filterDropdown&&o.value[K.filterDropdown]||G&&o.value.customFilterDropdown}),p=P(()=>{const{filterIcon:j,slots:K={}}=e.column;return j||K.filterIcon&&o.value[K.filterIcon]||o.value.customFilterIcon}),g=j=>{var K;s.value=j,(K=i.value)===null||K===void 0||K.call(i,j)},m=P(()=>typeof l.value=="boolean"?l.value:s.value),h=P(()=>{var j;return(j=e.filterState)===null||j===void 0?void 0:j.filteredKeys}),b=Y([]),y=j=>{let{selectedKeys:K}=j;b.value=K},S=(j,K)=>{let{node:G,checked:U}=K;e.filterMultiple?y({selectedKeys:j}):y({selectedKeys:U&&G.key?[G.key]:[]})};ue(h,()=>{s.value&&y({selectedKeys:h.value||[]})},{immediate:!0});const $=Y([]),x=Y(),C=j=>{x.value=setTimeout(()=>{$.value=j})},O=()=>{clearTimeout(x.value)};Je(()=>{clearTimeout(x.value)});const w=Y(""),M=j=>{const{value:K}=j.target;w.value=K};ue(s,()=>{s.value||(w.value="")});const I=j=>{const{column:K,columnKey:G,filterState:U}=e,X=j&&j.length?j:null;if(X===null&&(!U||!U.filteredKeys)||NS(X,U==null?void 0:U.filteredKeys,!0))return null;e.triggerFilter({column:K,key:G,filteredKeys:X})},_=()=>{g(!1),I(b.value)},D=function(){let{confirm:j,closeDropdown:K}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};j&&I([]),K&&g(!1),w.value="",e.column.filterResetToDefaultFilteredValue?b.value=(e.column.defaultFilteredValue||[]).map(G=>String(G)):b.value=[]},F=function(){let{closeDropdown:j}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};j&&g(!1),I(b.value)},z=j=>{j&&h.value!==void 0&&(b.value=h.value||[]),g(j),!j&&!d.value&&_()},{direction:H}=Ee("",e),T=j=>{if(j.target.checked){const K=c.value;b.value=K}else b.value=[]},A=j=>{let{filters:K}=j;return(K||[]).map((G,U)=>{const X=String(G.value),ee={title:G.text,key:G.value!==void 0?X:U};return G.children&&(ee.children=A({filters:G.children})),ee})},R=j=>{var K;return v(v({},j),{text:j.title,value:j.key,children:((K=j.children)===null||K===void 0?void 0:K.map(G=>R(G)))||[]})},E=P(()=>A({filters:e.column.filters})),k=P(()=>te({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!eZ(e.column.filters||[])})),B=()=>{const j=b.value,{column:K,locale:G,tablePrefixCls:U,filterMultiple:X,dropdownPrefixCls:ee,getPopupContainer:oe,prefixCls:Q}=e;return(K.filters||[]).length===0?f(Or,{image:Or.PRESENTED_IMAGE_SIMPLE,description:G.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):r.value==="tree"?f(nt,null,[f(SS,{filterSearch:a.value,value:w.value,onChange:M,tablePrefixCls:U,locale:G},null),f("div",{class:`${U}-filter-dropdown-tree`},[X?f(No,{class:`${U}-filter-dropdown-checkall`,onChange:T,checked:j.length===c.value.length,indeterminate:j.length>0&&j.length[G.filterCheckall]}):null,f(QQ,{checkable:!0,selectable:!1,blockNode:!0,multiple:X,checkStrictly:!X,class:`${ee}-menu`,onCheck:S,checkedKeys:j,selectedKeys:j,showIcon:!1,treeData:E.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:w.value.trim()?W=>typeof a.value=="function"?a.value(w.value,R(W)):M6(w.value,W.title):void 0},null)])]):f(nt,null,[f(SS,{filterSearch:a.value,value:w.value,onChange:M,tablePrefixCls:U,locale:G},null),f(Mn,{multiple:X,prefixCls:`${ee}-menu`,class:k.value,onClick:O,onSelect:y,onDeselect:y,selectedKeys:j,getPopupContainer:oe,openKeys:$.value,onOpenChange:C},{default:()=>E6({filters:K.filters||[],filterSearch:a.value,prefixCls:Q,filteredKeys:b.value,filterMultiple:X,searchValue:w.value})})])},L=P(()=>{const j=b.value;return e.column.filterResetToDefaultFilteredValue?NS((e.column.defaultFilteredValue||[]).map(K=>String(K)),j,!0):j.length===0});return()=>{var j;const{tablePrefixCls:K,prefixCls:G,column:U,dropdownPrefixCls:X,locale:ee,getPopupContainer:oe}=e;let Q;typeof d.value=="function"?Q=d.value({prefixCls:`${X}-custom`,setSelectedKeys:re=>y({selectedKeys:re}),selectedKeys:b.value,confirm:F,clearFilters:D,filters:U.filters,visible:m.value,column:U.__originColumn__,close:()=>{g(!1)}}):d.value?Q=d.value:Q=f(nt,null,[B(),f("div",{class:`${G}-dropdown-btns`},[f(qt,{type:"link",size:"small",disabled:L.value,onClick:()=>D()},{default:()=>[ee.filterReset]}),f(qt,{type:"primary",size:"small",onClick:_},{default:()=>[ee.filterConfirm]})])]);const W=f(cQ,{class:`${G}-dropdown`},{default:()=>[Q]});let q;return typeof p.value=="function"?q=p.value({filtered:u.value,column:U.__originColumn__}):p.value?q=p.value:q=f(lQ,null,null),f("div",{class:`${G}-column`},[f("span",{class:`${K}-column-title`},[(j=n.default)===null||j===void 0?void 0:j.call(n)]),f(ar,{overlay:W,trigger:["click"],open:m.value,onOpenChange:z,getPopupContainer:oe,placement:H.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[f("span",{role:"button",tabindex:-1,class:te(`${G}-trigger`,{active:u.value}),onClick:re=>{re.stopPropagation()}},[q])]})])}}});function Hp(e,t,n){let o=[];return(e||[]).forEach((r,a)=>{var l,i;const s=yi(a,n),u=r.filterDropdown||((l=r==null?void 0:r.slots)===null||l===void 0?void 0:l.filterDropdown)||r.customFilterDropdown;if(r.filters||u||"onFilter"in r)if("filteredValue"in r){let c=r.filteredValue;u||(c=(i=c==null?void 0:c.map(String))!==null&&i!==void 0?i:c),o.push({column:r,key:Kr(r,s),filteredKeys:c,forceFiltered:r.filtered})}else o.push({column:r,key:Kr(r,s),filteredKeys:t&&r.defaultFilteredValue?r.defaultFilteredValue:void 0,forceFiltered:r.filtered});"children"in r&&(o=[...o,...Hp(r.children,t,s)])}),o}function _6(e,t,n,o,r,a,l,i){return n.map((s,u)=>{var c;const d=yi(u,i),{filterMultiple:p=!0,filterMode:g,filterSearch:m}=s;let h=s;const b=s.filterDropdown||((c=s==null?void 0:s.slots)===null||c===void 0?void 0:c.filterDropdown)||s.customFilterDropdown;if(h.filters||b){const y=Kr(h,d),S=o.find($=>{let{key:x}=$;return y===x});h=v(v({},h),{title:$=>f(tZ,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:y,filterState:S,filterMultiple:p,filterMode:g,filterSearch:m,triggerFilter:a,locale:r,getPopupContainer:l},{default:()=>[Hh(s.title,$)]})})}return"children"in h&&(h=v(v({},h),{children:_6(e,t,h.children,o,r,a,l,d)})),h})}function hu(e){let t=[];return(e||[]).forEach(n=>{let{value:o,children:r}=n;t.push(o),r&&(t=[...t,...hu(r)])}),t}function kS(e){const t={};return e.forEach(n=>{let{key:o,filteredKeys:r,column:a}=n;var l;const i=a.filterDropdown||((l=a==null?void 0:a.slots)===null||l===void 0?void 0:l.filterDropdown)||a.customFilterDropdown,{filters:s}=a;if(i)t[o]=r||null;else if(Array.isArray(r)){const u=hu(s);t[o]=u.filter(c=>r.includes(String(c)))}else t[o]=null}),t}function BS(e,t){return t.reduce((n,o)=>{const{column:{onFilter:r,filters:a},filteredKeys:l}=o;return r&&l&&l.length?n.filter(i=>l.some(s=>{const u=hu(a),c=u.findIndex(p=>String(p)===String(s)),d=c!==-1?u[c]:s;return r(d,i)})):n},e)}function D6(e){return e.flatMap(t=>"children"in t?[t,...D6(t.children||[])]:[t])}function nZ(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,locale:r,onFilterChange:a,getPopupContainer:l}=e;const i=P(()=>D6(o.value)),[s,u]=pt(Hp(i.value,!0)),c=P(()=>{const m=Hp(i.value,!1);if(m.length===0)return m;let h=!0,b=!0;if(m.forEach(y=>{let{filteredKeys:S}=y;S!==void 0?h=!1:b=!1}),h){const y=(i.value||[]).map((S,$)=>Kr(S,yi($)));return s.value.filter(S=>{let{key:$}=S;return y.includes($)}).map(S=>{const $=i.value[y.findIndex(x=>x===S.key)];return v(v({},S),{column:v(v({},S.column),$),forceFiltered:$.filtered})})}return bt(b,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),m}),d=P(()=>kS(c.value)),p=m=>{const h=c.value.filter(b=>{let{key:y}=b;return y!==m.key});h.push(m),u(h),a(kS(h),h)};return[m=>_6(t.value,n.value,m,c.value,r.value,p,l.value),c,d]}function A6(e,t){return e.map(n=>{const o=v({},n);return o.title=Hh(o.title,t),"children"in o&&(o.children=A6(o.children,t)),o})}function oZ(e){return[n=>A6(n,e.value)]}function rZ(e){return function(n){let{prefixCls:o,onExpand:r,record:a,expanded:l,expandable:i}=n;const s=`${o}-row-expand-icon`;return f("button",{type:"button",onClick:u=>{r(a,u),u.stopPropagation()},class:te(s,{[`${s}-spaced`]:!i,[`${s}-expanded`]:i&&l,[`${s}-collapsed`]:i&&!l}),"aria-label":l?e.collapse:e.expand,"aria-expanded":l},null)}}function R6(e,t){const n=t.value;return e.map(o=>{var r;if(o===To||o===Jo)return o;const a=v({},o),{slots:l={}}=a;return a.__originColumn__=o,bt(!("slots"in a),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(l).forEach(i=>{const s=l[i];a[i]===void 0&&n[s]&&(a[i]=n[s])}),t.value.headerCell&&!(!((r=o.slots)===null||r===void 0)&&r.title)&&(a.title=Ic(t.value,"headerCell",{title:o.title,column:o},()=>[o.title])),"children"in a&&Array.isArray(a.children)&&(a.children=R6(a.children,t)),a})}function aZ(e){return[n=>R6(n,e)]}const lZ=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,o=(r,a,l)=>({[`&${t}-${r}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${a}px -${l+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:v(v(v({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{"\n > thead > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}},[` + > ${t}-content, + > ${t}-header + `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> td":{borderInlineEnd:0}}}}}},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},iZ=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:v(v({},mn),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sZ=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},cZ=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:o,motionDurationSlow:r,lineWidth:a,paddingXS:l,lineType:i,tableBorderColor:s,tableExpandIconBg:u,tableExpandColumnWidth:c,borderRadius:d,fontSize:p,fontSizeSM:g,lineHeight:m,tablePaddingVertical:h,tablePaddingHorizontal:b,tableExpandedRowBg:y,paddingXXS:S}=e,$=o/2-a,x=$*2+a*3,C=`${a}px ${i} ${s}`,O=S-a;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:c},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:v(v({},Pv(e)),{position:"relative",float:"left",boxSizing:"border-box",width:x,height:x,padding:0,color:"inherit",lineHeight:`${x}px`,background:u,border:C,borderRadius:d,transform:`scale(${o/x})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:$,insetInlineEnd:O,insetInlineStart:O,height:a},"&::after":{top:O,bottom:O,insetInlineStart:$,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(p*m-a*3)/2-Math.ceil((g*1.4-a*3)/2),marginInlineEnd:l},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:y}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${h}px -${b}px`,padding:`${h}px ${b}px`}}}},uZ=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:r,tableFilterDropdownSearchWidth:a,paddingXXS:l,paddingXS:i,colorText:s,lineWidth:u,lineType:c,tableBorderColor:d,tableHeaderIconColor:p,fontSizeSM:g,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:b,colorTextDescription:y,colorPrimary:S,tableHeaderFilterActiveBg:$,colorTextDisabled:x,tableFilterDropdownBg:C,tableFilterDropdownHeight:O,controlItemBgHover:w,controlItemBgActive:M,boxShadowSecondary:I}=e,_=`${n}-dropdown`,D=`${t}-filter-dropdown`,F=`${n}-tree`,z=`${u}px ${c} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-l,marginInline:`${l}px ${-m/2}px`,padding:`0 ${l}px`,color:p,fontSize:g,borderRadius:h,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:y,background:$},"&.active":{color:S}}}},{[`${n}-dropdown`]:{[D]:v(v({},et(e)),{minWidth:r,backgroundColor:C,borderRadius:h,boxShadow:I,[`${_}-menu`]:{maxHeight:O,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${i}px 0`,color:x,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${D}-tree`]:{paddingBlock:`${i}px 0`,paddingInline:i,[F]:{padding:0},[`${F}-treenode ${F}-node-content-wrapper:hover`]:{backgroundColor:w},[`${F}-treenode-checkbox-checked ${F}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:M}}},[`${D}-search`]:{padding:i,borderBottom:z,"&-input":{input:{minWidth:a},[o]:{color:x}}},[`${D}-checkall`]:{width:"100%",marginBottom:l,marginInlineStart:l},[`${D}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${i-u}px ${i}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:z}})}},{[`${n}-dropdown ${D}, ${D}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},dZ=e=>{const{componentCls:t,lineWidth:n,colorSplit:o,motionDurationSlow:r,zIndexTableFixed:a,tableBg:l,zIndexTableSticky:i}=e,s=o;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:a,background:l},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:i+1,width:30,transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},fZ=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},pZ=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},vZ=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},gZ=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:r,paddingXS:a,tableHeaderIconColor:l,tableHeaderIconColorHover:i}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+a*2},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[o]:{color:l,fontSize:r,verticalAlign:"baseline","&:hover":{color:i}}}}}},hZ=e=>{const{componentCls:t}=e,n=(o,r,a,l)=>({[`${t}${t}-${o}`]:{fontSize:l,[` + ${t}-title, + ${t}-footer, + ${t}-thead > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${r}px ${a}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${a/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${r}px -${a}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-a}px -${a}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${a/4}px`}}});return{[`${t}-wrapper`]:v(v({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},mZ=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},bZ=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:o,tableHeaderIconColor:r,tableHeaderIconColorHover:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:r,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},yZ=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollThumbSize:a,tableScrollBg:l,zIndexTableSticky:i}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${a}px !important`,zIndex:i,display:"flex",alignItems:"center",background:l,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:o,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:r}}}}}}},FS=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o}=e,r=`${n}px ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:r}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${o}`}}}},SZ=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:r,lineWidth:a,lineType:l,tableBorderColor:i,tableFontSize:s,tableBg:u,tableRadius:c,tableHeaderTextColor:d,motionDurationMid:p,tableHeaderBg:g,tableHeaderCellSplitColor:m,tableRowHoverBg:h,tableSelectedRowBg:b,tableSelectedRowHoverBg:y,tableFooterTextColor:S,tableFooterBg:$,paddingContentVerticalLG:x}=e,C=`${a}px ${l} ${i}`;return{[`${t}-wrapper`]:v(v({clear:"both",maxWidth:"100%"},ro()),{[t]:v(v({},et(e)),{fontSize:s,background:u,borderRadius:`${c}px ${c}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${c}px ${c}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-thead > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${x}px ${r}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${o}px ${r}px`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:d,fontWeight:n,textAlign:"start",background:g,borderBottom:C,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}:not(${t}-bordered)`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderTop:C,borderBottom:"transparent"},"&:last-child > td":{borderBottom:C},[`&:first-child > td, + &${t}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${t}${t}-bordered`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderBottom:C}}}},[`${t}-tbody`]:{"> tr":{"> td":{transition:`background ${p}, border-color ${p}`,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:`-${o}px`,marginInline:`${e.tableExpandColumnWidth-r}px -${r}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[` + &${t}-row:hover > td, + > td${t}-cell-row-hover + `]:{background:h},[`&${t}-row-selected`]:{"> td":{background:b},"&:hover > td":{background:y}}}},[`${t}-footer`]:{padding:`${o}px ${r}px`,color:S,background:$}})}},$Z=Qe("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:o,colorTextHeading:r,colorSplit:a,colorBorderSecondary:l,fontSize:i,padding:s,paddingXS:u,paddingSM:c,controlHeight:d,colorFillAlter:p,colorIcon:g,colorIconHover:m,opacityLoading:h,colorBgContainer:b,borderRadiusLG:y,colorFillContent:S,colorFillSecondary:$,controlInteractiveSize:x}=e,C=new st(g),O=new st(m),w=t,M=2,I=new st($).onBackground(b).toHexString(),_=new st(S).onBackground(b).toHexString(),D=new st(p).onBackground(b).toHexString(),F=ze(e,{tableFontSize:i,tableBg:b,tableRadius:y,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:c,tablePaddingHorizontalMiddle:u,tablePaddingVerticalSmall:u,tablePaddingHorizontalSmall:u,tableBorderColor:l,tableHeaderTextColor:r,tableHeaderBg:D,tableFooterTextColor:r,tableFooterBg:D,tableHeaderCellSplitColor:l,tableHeaderSortBg:I,tableHeaderSortHoverBg:_,tableHeaderIconColor:C.clone().setAlpha(C.getAlpha()*h).toRgbString(),tableHeaderIconColorHover:O.clone().setAlpha(O.getAlpha()*h).toRgbString(),tableBodySortBg:D,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:S,tableFilterDropdownBg:b,tableRowHoverBg:D,tableSelectedRowBg:w,tableSelectedRowHoverBg:n,zIndexTableFixed:M,zIndexTableSticky:M+1,tableFontSizeMiddle:i,tableFontSizeSmall:i,tableSelectionColumnWidth:d,tableExpandIconBg:b,tableExpandColumnWidth:x+2*e.padding,tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollBg:a});return[SZ(F),fZ(F),FS(F),bZ(F),uZ(F),lZ(F),pZ(F),cZ(F),FS(F),sZ(F),gZ(F),dZ(F),yZ(F),iZ(F),hZ(F),mZ(F),vZ(F)]}),CZ=[],N6=()=>({prefixCls:je(),columns:ht(),rowKey:Ge([String,Function]),tableLayout:je(),rowClassName:Ge([String,Function]),title:de(),footer:de(),id:je(),showHeader:Ce(),components:Ne(),customRow:de(),customHeaderRow:de(),direction:je(),expandFixed:Ge([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:ht(),defaultExpandedRowKeys:ht(),expandedRowRender:de(),expandRowByClick:Ce(),expandIcon:de(),onExpand:de(),onExpandedRowsChange:de(),"onUpdate:expandedRowKeys":de(),defaultExpandAllRows:Ce(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:Ce(),expandedRowClassName:de(),childrenColumnName:je(),rowExpandable:de(),sticky:Ge([Boolean,Object]),dropdownPrefixCls:String,dataSource:ht(),pagination:Ge([Boolean,Object]),loading:Ge([Boolean,Object]),size:je(),bordered:Ce(),locale:Ne(),onChange:de(),onResizeColumn:de(),rowSelection:Ne(),getPopupContainer:de(),scroll:Ne(),sortDirections:ht(),showSorterTooltip:Ge([Boolean,Object],!0),transformCellText:de()}),xZ=J({name:"InternalTable",inheritAttrs:!1,props:rt(v(v({},N6()),{contextSlots:Ne()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:o,expose:r,emit:a}=t;bt(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),qY(P(()=>e.contextSlots)),QY({onResizeColumn:(ce,se)=>{a("resizeColumn",ce,se)}});const l=Sg(),i=P(()=>{const ce=new Set(Object.keys(l.value).filter(se=>l.value[se]));return e.columns.filter(se=>!se.responsive||se.responsive.some(ie=>ce.has(ie)))}),{size:s,renderEmpty:u,direction:c,prefixCls:d,configProvider:p}=Ee("table",e),[g,m]=$Z(d),h=P(()=>{var ce;return e.transformCellText||((ce=p.transformCellText)===null||ce===void 0?void 0:ce.value)}),[b]=$o("Table",Gn.Table,Be(e,"locale")),y=P(()=>e.dataSource||CZ),S=P(()=>p.getPrefixCls("dropdown",e.dropdownPrefixCls)),$=P(()=>e.childrenColumnName||"children"),x=P(()=>y.value.some(ce=>ce==null?void 0:ce[$.value])?"nest":e.expandedRowRender?"row":null),C=vt({body:null}),O=ce=>{v(C,ce)},w=P(()=>typeof e.rowKey=="function"?e.rowKey:ce=>ce==null?void 0:ce[e.rowKey]),[M]=Vq(y,$,w),I={},_=function(ce,se){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:fe,scroll:Se,onChange:Ie}=e,ge=v(v({},I),ce);ie&&(I.resetPagination(),ge.pagination.current&&(ge.pagination.current=1),fe&&fe.onChange&&fe.onChange(1,ge.pagination.pageSize)),Se&&Se.scrollToFirstRowOnChange!==!1&&C.body&&VM(0,{getContainer:()=>C.body}),Ie==null||Ie(ge.pagination,ge.filters,ge.sorter,{currentDataSource:BS(Lp(y.value,ge.sorterStates,$.value),ge.filterStates),action:se})},D=(ce,se)=>{_({sorter:ce,sorterStates:se},"sort",!1)},[F,z,H,T]=nQ({prefixCls:d,mergedColumns:i,onSorterChange:D,sortDirections:P(()=>e.sortDirections||["ascend","descend"]),tableLocale:b,showSorterTooltip:Be(e,"showSorterTooltip")}),A=P(()=>Lp(y.value,z.value,$.value)),R=(ce,se)=>{_({filters:ce,filterStates:se},"filter",!0)},[E,k,B]=nZ({prefixCls:d,locale:b,dropdownPrefixCls:S,mergedColumns:i,onFilterChange:R,getPopupContainer:Be(e,"getPopupContainer")}),L=P(()=>BS(A.value,k.value)),[j]=aZ(Be(e,"contextSlots")),K=P(()=>{const ce={},se=B.value;return Object.keys(se).forEach(ie=>{se[ie]!==null&&(ce[ie]=se[ie])}),v(v({},H.value),{filters:ce})}),[G]=oZ(K),U=(ce,se)=>{_({pagination:v(v({},I.pagination),{current:ce,pageSize:se})},"paginate")},[X,ee]=jq(P(()=>L.value.length),Be(e,"pagination"),U);Le(()=>{I.sorter=T.value,I.sorterStates=z.value,I.filters=B.value,I.filterStates=k.value,I.pagination=e.pagination===!1?{}:Hq(X.value,e.pagination),I.resetPagination=ee});const oe=P(()=>{if(e.pagination===!1||!X.value.pageSize)return L.value;const{current:ce=1,total:se,pageSize:ie=Rp}=X.value;return bt(ce>0,"Table","`current` should be positive number."),L.value.lengthie?L.value.slice((ce-1)*ie,ce*ie):L.value:L.value.slice((ce-1)*ie,ce*ie)});Le(()=>{lt(()=>{const{total:ce,pageSize:se=Rp}=X.value;L.value.lengthse&&bt(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const Q=P(()=>e.showExpandColumn===!1?-1:x.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),W=Z();ue(()=>e.rowSelection,()=>{W.value=e.rowSelection?v({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[q,re]=Kq(W,{prefixCls:d,data:L,pageData:oe,getRowKey:w,getRecordByKey:M,expandType:x,childrenColumnName:$,locale:b,getPopupContainer:P(()=>e.getPopupContainer)}),le=(ce,se,ie)=>{let fe;const{rowClassName:Se}=e;return typeof Se=="function"?fe=te(Se(ce,se,ie)):fe=te(Se),te({[`${d.value}-row-selected`]:re.value.has(w.value(ce,se))},fe)};r({selectedKeySet:re});const ye=P(()=>typeof e.indentSize=="number"?e.indentSize:15),me=ce=>G(q(E(F(j(ce)))));return()=>{var ce;const{expandIcon:se=o.expandIcon||rZ(b.value),pagination:ie,loading:fe,bordered:Se}=e;let Ie,ge;if(ie!==!1&&(!((ce=X.value)===null||ce===void 0)&&ce.total)){let ne;X.value.size?ne=X.value.size:ne=s.value==="small"||s.value==="middle"?"small":void 0;const pe=ke=>f(NX,N(N({},X.value),{},{class:[`${d.value}-pagination ${d.value}-pagination-${ke}`,X.value.class],size:ne}),null),xe=c.value==="rtl"?"left":"right",{position:Te}=X.value;if(Te!==null&&Array.isArray(Te)){const ke=Te.find(be=>be.includes("top")),ve=Te.find(be=>be.includes("bottom")),he=Te.every(be=>`${be}`=="none");!ke&&!ve&&!he&&(ge=pe(xe)),ke&&(Ie=pe(ke.toLowerCase().replace("top",""))),ve&&(ge=pe(ve.toLowerCase().replace("bottom","")))}else ge=pe(xe)}let Oe;typeof fe=="boolean"?Oe={spinning:fe}:typeof fe=="object"&&(Oe=v({spinning:!0},fe));const we=te(`${d.value}-wrapper`,{[`${d.value}-wrapper-rtl`]:c.value==="rtl"},n.class,m.value),ae=qe(e,["columns"]);return g(f("div",{class:we,style:n.style},[f(kl,N({spinning:!1},Oe),{default:()=>[Ie,f(Lq,N(N(N({},n),ae),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:Q.value,indentSize:ye.value,expandIcon:se,columns:i.value,direction:c.value,prefixCls:d.value,class:te({[`${d.value}-middle`]:s.value==="middle",[`${d.value}-small`]:s.value==="small",[`${d.value}-bordered`]:Se,[`${d.value}-empty`]:y.value.length===0}),data:oe.value,rowKey:w.value,rowClassName:le,internalHooks:Ap,internalRefs:C,onUpdateInternalRefs:O,transformColumns:me,transformCellText:h.value}),v(v({},o),{emptyText:()=>{var ne,pe;return((ne=o.emptyText)===null||ne===void 0?void 0:ne.call(o))||((pe=e.locale)===null||pe===void 0?void 0:pe.emptyText)||u("Table")}})),ge]})]))}}}),wZ=J({name:"ATable",inheritAttrs:!1,props:rt(N6(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=Z();return r({table:a}),()=>{var l;const i=e.columns||$6((l=o.default)===null||l===void 0?void 0:l.call(o));return f(xZ,N(N(N({ref:a},n),e),{},{columns:i||[],expandedRowRender:o.expandedRowRender||e.expandedRowRender,contextSlots:v({},o)}),o)}}}),Gd=wZ,Xd=J({name:"ATableColumn",slots:Object,render(){return null}}),Ud=J({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),jp=Iq,Vp=Eq,Yd=v(_q,{Cell:Vp,Row:jp,name:"ATableSummary"}),Eoe=v(Gd,{SELECTION_ALL:Np,SELECTION_INVERT:kp,SELECTION_NONE:Bp,SELECTION_COLUMN:To,EXPAND_COLUMN:Jo,Column:Xd,ColumnGroup:Ud,Summary:Yd,install:e=>(e.component(Yd.name,Yd),e.component(Vp.name,Vp),e.component(jp.name,jp),e.component(Gd.name,Gd),e.component(Xd.name,Xd),e.component(Ud.name,Ud),e)});var OZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const PZ=OZ;function LS(e){for(var t=1;t{n.push(a[t.value]);const l=a[t.children];l&&o(l)})}return o(e),n}function zS(e){return e==null}const k6=Symbol("TreeSelectContextPropsKey");function DZ(e){return Ke(k6,e)}function AZ(){return Xe(k6,{})}const RZ={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},NZ=J({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:o}=t;const r=ci(),a=Dc(),l=AZ(),i=Z(),s=Wv(()=>l.treeData,[()=>r.open,()=>l.treeData],C=>C[0]),u=P(()=>{const{checkable:C,halfCheckedKeys:O,checkedKeys:w}=a;return C?{checked:w,halfChecked:O}:null});ue(()=>r.open,()=>{lt(()=>{var C;r.open&&!r.multiple&&a.checkedKeys.length&&((C=i.value)===null||C===void 0||C.scrollTo({key:a.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const c=P(()=>String(r.searchValue).toLowerCase()),d=C=>c.value?String(C[a.treeNodeFilterProp]).toLowerCase().includes(c.value):!1,p=Y(a.treeDefaultExpandedKeys),g=Y(null);ue(()=>r.searchValue,()=>{r.searchValue&&(g.value=_Z(_t(l.treeData),_t(l.fieldNames)))},{immediate:!0});const m=P(()=>a.treeExpandedKeys?a.treeExpandedKeys.slice():r.searchValue?g.value:p.value),h=C=>{var O;p.value=C,g.value=C,(O=a.onTreeExpand)===null||O===void 0||O.call(a,C)},b=C=>{C.preventDefault()},y=(C,O)=>{let{node:w}=O;var M,I;const{checkable:_,checkedKeys:D}=a;_&&Wp(w)||((M=l.onSelect)===null||M===void 0||M.call(l,w.key,{selected:!D.includes(w.key)}),r.multiple||(I=r.toggleOpen)===null||I===void 0||I.call(r,!1))},S=Z(null),$=P(()=>a.keyEntities[S.value]),x=C=>{S.value=C};return o({scrollTo:function(){for(var C,O,w=arguments.length,M=new Array(w),I=0;I{var O;const{which:w}=C;switch(w){case $e.UP:case $e.DOWN:case $e.LEFT:case $e.RIGHT:(O=i.value)===null||O===void 0||O.onKeydown(C);break;case $e.ENTER:{if($.value){const{selectable:M,value:I}=$.value.node||{};M!==!1&&y(null,{node:{key:S.value},selected:!a.checkedKeys.includes(I)})}break}case $e.ESC:r.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var C;const{prefixCls:O,multiple:w,searchValue:M,open:I,notFoundContent:_=(C=n.notFoundContent)===null||C===void 0?void 0:C.call(n)}=r,{listHeight:D,listItemHeight:F,virtual:z,dropdownMatchSelectWidth:H,treeExpandAction:T}=l,{checkable:A,treeDefaultExpandAll:R,treeIcon:E,showTreeIcon:k,switcherIcon:B,treeLine:L,loadData:j,treeLoadedKeys:K,treeMotion:G,onTreeLoad:U,checkedKeys:X}=a;if(s.value.length===0)return f("div",{role:"listbox",class:`${O}-empty`,onMousedown:b},[_]);const ee={fieldNames:l.fieldNames};return K&&(ee.loadedKeys=K),m.value&&(ee.expandedKeys=m.value),f("div",{onMousedown:b},[$.value&&I&&f("span",{style:RZ,"aria-live":"assertive"},[$.value.node.value]),f(w6,N(N({ref:i,focusable:!1,prefixCls:`${O}-tree`,treeData:s.value,height:D,itemHeight:F,virtual:z!==!1&&H!==!1,multiple:w,icon:E,showIcon:k,switcherIcon:B,showLine:L,loadData:M?null:j,motion:G,activeKey:S.value,checkable:A,checkStrictly:!0,checkedKeys:u.value,selectedKeys:A?[]:X,defaultExpandAll:R},ee),{},{onActiveChange:x,onSelect:y,onCheck:y,onExpand:h,onLoad:U,filterTreeNode:d,expandAction:T}),v(v({},n),{checkable:a.customSlots.treeCheckable}))])}}}),kZ="SHOW_ALL",B6="SHOW_PARENT",Qh="SHOW_CHILD";function HS(e,t,n,o){const r=new Set(e);return t===Qh?e.filter(a=>{const l=n[a];return!(l&&l.children&&l.children.some(i=>{let{node:s}=i;return r.has(s[o.value])})&&l.children.every(i=>{let{node:s}=i;return Wp(s)||r.has(s[o.value])}))}):t===B6?e.filter(a=>{const l=n[a],i=l?l.parent:null;return!(i&&!Wp(i.node)&&r.has(i.key))}):e}const mu=()=>null;mu.inheritAttrs=!1;mu.displayName="ATreeSelectNode";mu.isTreeSelectNode=!0;const Zh=mu;var BZ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r0&&arguments[0]!==void 0?arguments[0]:[];return Tt(n).map(o=>{var r,a,l;if(!FZ(o))return null;const i=o.children||{},s=o.key,u={};for(const[w,M]of Object.entries(o.props))u[qr(w)]=M;const{isLeaf:c,checkable:d,selectable:p,disabled:g,disableCheckbox:m}=u,h={isLeaf:c||c===""||void 0,checkable:d||d===""||void 0,selectable:p||p===""||void 0,disabled:g||g===""||void 0,disableCheckbox:m||m===""||void 0},b=v(v({},u),h),{title:y=(r=i.title)===null||r===void 0?void 0:r.call(i,b),switcherIcon:S=(a=i.switcherIcon)===null||a===void 0?void 0:a.call(i,b)}=u,$=BZ(u,["title","switcherIcon"]),x=(l=i.default)===null||l===void 0?void 0:l.call(i),C=v(v(v({},$),{title:y,switcherIcon:S,key:s,isLeaf:c}),h),O=t(x);return O.length&&(C.children=O),C})}return t(e)}function Kp(e){if(!e)return e;const t=v({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function zZ(e,t,n,o,r,a){let l=null,i=null;function s(){function u(c){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map((g,m)=>{const h=`${d}-${m}`,b=g[a.value],y=n.includes(b),S=u(g[a.children]||[],h,y),$=f(Zh,g,{default:()=>[S.map(x=>x.node)]});if(t===b&&(l=$),y){const x={pos:h,node:$,children:S};return p||i.push(x),x}return null}).filter(g=>g)}i||(i=[],u(o),i.sort((c,d)=>{let{node:{props:{value:p}}}=c,{node:{props:{value:g}}}=d;const m=n.indexOf(p),h=n.indexOf(g);return m-h}))}Object.defineProperty(e,"triggerNode",{get(){return s(),l}}),Object.defineProperty(e,"allCheckedNodes",{get(){return s(),r?i:i.map(u=>{let{node:c}=u;return c})}})}function HZ(e,t){let{id:n,pId:o,rootPId:r}=t;const a={},l=[];return e.map(s=>{const u=v({},s),c=u[n];return a[c]=u,u.key=u.key||c,u}).forEach(s=>{const u=s[o],c=a[u];c&&(c.children=c.children||[],c.children.push(s)),(u===r||!c&&r===null)&&l.push(s)}),l}function jZ(e,t,n){const o=Y();return ue([n,e,t],()=>{const r=n.value;e.value?o.value=n.value?HZ(_t(e.value),v({id:"id",pId:"pId",rootPId:null},r!==!0?r:{})):_t(e.value).slice():o.value=LZ(_t(t.value))},{immediate:!0,deep:!0}),o}const VZ=e=>{const t=Y({valueLabels:new Map}),n=Y();return ue(e,()=>{n.value=_t(e.value)},{immediate:!0}),[P(()=>{const{valueLabels:r}=t.value,a=new Map,l=n.value.map(i=>{var s;const{value:u}=i,c=(s=i.label)!==null&&s!==void 0?s:r.get(u);return a.set(u,c),v(v({},i),{label:c})});return t.value.valueLabels=a,l})]},WZ=(e,t)=>{const n=Y(new Map),o=Y({});return Le(()=>{const r=t.value,a=gi(e.value,{fieldNames:r,initWrapper:l=>v(v({},l),{valueEntities:new Map}),processEntity:(l,i)=>{const s=l.node[r.value];i.valueEntities.set(s,l)}});n.value=a.valueEntities,o.value=a.keyEntities}),{valueEntities:n,keyEntities:o}},KZ=(e,t,n,o,r,a)=>{const l=Y([]),i=Y([]);return Le(()=>{let s=e.value.map(d=>{let{value:p}=d;return p}),u=t.value.map(d=>{let{value:p}=d;return p});const c=s.filter(d=>!o.value[d]);n.value&&({checkedKeys:s,halfCheckedKeys:u}=jn(s,!0,o.value,r.value,a.value)),l.value=Array.from(new Set([...c,...s])),i.value=u}),[l,i]},GZ=(e,t,n)=>{let{treeNodeFilterProp:o,filterTreeNode:r,fieldNames:a}=n;return P(()=>{const{children:l}=a.value,i=t.value,s=o==null?void 0:o.value;if(!i||r.value===!1)return e.value;let u;if(typeof r.value=="function")u=r.value;else{const d=i.toUpperCase();u=(p,g)=>{const m=g[s];return String(m).toUpperCase().includes(d)}}function c(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const g=[];for(let m=0,h=d.length;me.treeCheckable&&!e.treeCheckStrictly),i=P(()=>e.treeCheckable||e.treeCheckStrictly),s=P(()=>e.treeCheckStrictly||e.labelInValue),u=P(()=>i.value||e.multiple),c=P(()=>EZ(e.fieldNames)),[d,p]=Ot("",{value:P(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:ge=>ge||""}),g=ge=>{var Oe;p(ge),(Oe=e.onSearch)===null||Oe===void 0||Oe.call(e,ge)},m=jZ(Be(e,"treeData"),Be(e,"children"),Be(e,"treeDataSimpleMode")),{keyEntities:h,valueEntities:b}=WZ(m,c),y=ge=>{const Oe=[],we=[];return ge.forEach(ae=>{b.value.has(ae)?we.push(ae):Oe.push(ae)}),{missingRawValues:Oe,existRawValues:we}},S=GZ(m,d,{fieldNames:c,treeNodeFilterProp:Be(e,"treeNodeFilterProp"),filterTreeNode:Be(e,"filterTreeNode")}),$=ge=>{if(ge){if(e.treeNodeLabelProp)return ge[e.treeNodeLabelProp];const{_title:Oe}=c.value;for(let we=0;weMZ(ge).map(we=>XZ(we)?{value:we}:we),C=ge=>x(ge).map(we=>{let{label:ae}=we;const{value:ne,halfChecked:pe}=we;let xe;const Te=b.value.get(ne);return Te&&(ae=ae??$(Te.node),xe=Te.node.disabled),{label:ae,value:ne,halfChecked:pe,disabled:xe}}),[O,w]=Ot(e.defaultValue,{value:Be(e,"value")}),M=P(()=>x(O.value)),I=Y([]),_=Y([]);Le(()=>{const ge=[],Oe=[];M.value.forEach(we=>{we.halfChecked?Oe.push(we):ge.push(we)}),I.value=ge,_.value=Oe});const D=P(()=>I.value.map(ge=>ge.value)),{maxLevel:F,levelEntities:z}=au(h),[H,T]=KZ(I,_,l,h,F,z),A=P(()=>{const we=HS(H.value,e.showCheckedStrategy,h.value,c.value).map(pe=>{var xe,Te,ke;return(ke=(Te=(xe=h.value[pe])===null||xe===void 0?void 0:xe.node)===null||Te===void 0?void 0:Te[c.value.value])!==null&&ke!==void 0?ke:pe}).map(pe=>{const xe=I.value.find(Te=>Te.value===pe);return{value:pe,label:xe==null?void 0:xe.label}}),ae=C(we),ne=ae[0];return!u.value&&ne&&zS(ne.value)&&zS(ne.label)?[]:ae.map(pe=>{var xe;return v(v({},pe),{label:(xe=pe.label)!==null&&xe!==void 0?xe:pe.value})})}),[R]=VZ(A),E=(ge,Oe,we)=>{const ae=C(ge);if(w(ae),e.autoClearSearchValue&&p(""),e.onChange){let ne=ge;l.value&&(ne=HS(ge,e.showCheckedStrategy,h.value,c.value).map(Ae=>{const _e=b.value.get(Ae);return _e?_e.node[c.value.value]:Ae}));const{triggerValue:pe,selected:xe}=Oe||{triggerValue:void 0,selected:void 0};let Te=ne;if(e.treeCheckStrictly){const Me=_.value.filter(Ae=>!ne.includes(Ae.value));Te=[...Te,...Me]}const ke=C(Te),ve={preValue:I.value,triggerValue:pe};let he=!0;(e.treeCheckStrictly||we==="selection"&&!xe)&&(he=!1),zZ(ve,pe,ge,m.value,he,c.value),i.value?ve.checked=xe:ve.selected=xe;const be=s.value?ke:ke.map(Me=>Me.value);e.onChange(u.value?be:be[0],s.value?null:ke.map(Me=>Me.label),ve)}},k=(ge,Oe)=>{let{selected:we,source:ae}=Oe;var ne,pe,xe;const Te=_t(h.value),ke=_t(b.value),ve=Te[ge],he=ve==null?void 0:ve.node,be=(ne=he==null?void 0:he[c.value.value])!==null&&ne!==void 0?ne:ge;if(!u.value)E([be],{selected:!0,triggerValue:be},"option");else{let Me=we?[...D.value,be]:H.value.filter(Ae=>Ae!==be);if(l.value){const{missingRawValues:Ae,existRawValues:_e}=y(Me),Re=_e.map(tt=>ke.get(tt).key);let Ye;we?{checkedKeys:Ye}=jn(Re,!0,Te,F.value,z.value):{checkedKeys:Ye}=jn(Re,{checked:!1,halfCheckedKeys:T.value},Te,F.value,z.value),Me=[...Ae,...Ye.map(tt=>Te[tt].node[c.value.value])]}E(Me,{selected:we,triggerValue:be},ae||"option")}we||!u.value?(pe=e.onSelect)===null||pe===void 0||pe.call(e,be,Kp(he)):(xe=e.onDeselect)===null||xe===void 0||xe.call(e,be,Kp(he))},B=ge=>{if(e.onDropdownVisibleChange){const Oe={};Object.defineProperty(Oe,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(ge,Oe)}},L=(ge,Oe)=>{const we=ge.map(ae=>ae.value);if(Oe.type==="clear"){E(we,{},"selection");return}Oe.values.length&&k(Oe.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:j,loadData:K,treeLoadedKeys:G,onTreeLoad:U,treeDefaultExpandAll:X,treeExpandedKeys:ee,treeDefaultExpandedKeys:oe,onTreeExpand:Q,virtual:W,listHeight:q,listItemHeight:re,treeLine:le,treeIcon:ye,showTreeIcon:me,switcherIcon:ce,treeMotion:se,customSlots:ie,dropdownMatchSelectWidth:fe,treeExpandAction:Se}=Rr(e);E_(Ns({checkable:i,loadData:K,treeLoadedKeys:G,onTreeLoad:U,checkedKeys:H,halfCheckedKeys:T,treeDefaultExpandAll:X,treeExpandedKeys:ee,treeDefaultExpandedKeys:oe,onTreeExpand:Q,treeIcon:ye,treeMotion:se,showTreeIcon:me,switcherIcon:ce,treeLine:le,treeNodeFilterProp:j,keyEntities:h,customSlots:ie})),DZ(Ns({virtual:W,listHeight:q,listItemHeight:re,treeData:S,fieldNames:c,onSelect:k,dropdownMatchSelectWidth:fe,treeExpandAction:Se}));const Ie=Z();return o({focus(){var ge;(ge=Ie.value)===null||ge===void 0||ge.focus()},blur(){var ge;(ge=Ie.value)===null||ge===void 0||ge.blur()},scrollTo(ge){var Oe;(Oe=Ie.value)===null||Oe===void 0||Oe.scrollTo(ge)}}),()=>{var ge;const Oe=qe(e,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return f(Vv,N(N(N({ref:Ie},n),Oe),{},{id:a,prefixCls:e.prefixCls,mode:u.value?"multiple":void 0,displayValues:R.value,onDisplayValuesChange:L,searchValue:d.value,onSearch:g,OptionList:NZ,emptyOptions:!m.value.length,onDropdownVisibleChange:B,tagRender:e.tagRender||r.tagRender,dropdownMatchSelectWidth:(ge=e.dropdownMatchSelectWidth)!==null&&ge!==void 0?ge:!0}),r)}}}),YZ=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,r=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},I6(n,ze(e,{colorBgContainer:o})),{[r]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},su(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function qZ(e,t){return Qe("TreeSelect",n=>{const o=ze(n,{treePrefixCls:t.value});return[YZ(o)]})(e)}const jS=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function QZ(){return v(v({},qe(F6(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:V.any,size:je(),bordered:Ce(),treeLine:Ge([Boolean,Object]),replaceFields:Ne(),placement:je(),status:je(),popupClassName:String,dropdownClassName:String,"onUpdate:value":de(),"onUpdate:treeExpandedKeys":de(),"onUpdate:searchValue":de()})}const qd=J({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:rt(QZ(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:o,expose:r,emit:a}=t;e.treeData===void 0&&o.default,bt(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),bt(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),bt(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const l=Ht(),i=ln.useInject(),s=P(()=>Vo(i.status,e.status)),{prefixCls:u,renderEmpty:c,direction:d,virtual:p,dropdownMatchSelectWidth:g,size:m,getPopupContainer:h,getPrefixCls:b,disabled:y}=Ee("select",e),{compactSize:S,compactItemClassnames:$}=fr(u,d),x=P(()=>S.value||m.value),C=gn(),O=P(()=>{var G;return(G=y.value)!==null&&G!==void 0?G:C.value}),w=P(()=>b()),M=P(()=>e.placement!==void 0?e.placement:d.value==="rtl"?"bottomRight":"bottomLeft"),I=P(()=>jS(w.value,Fv(M.value),e.transitionName)),_=P(()=>jS(w.value,"",e.choiceTransitionName)),D=P(()=>b("select-tree",e.prefixCls)),F=P(()=>b("tree-select",e.prefixCls)),[z,H]=cg(u),[T]=qZ(F,D),A=P(()=>te(e.popupClassName||e.dropdownClassName,`${F.value}-dropdown`,{[`${F.value}-dropdown-rtl`]:d.value==="rtl"},H.value)),R=P(()=>!!(e.treeCheckable||e.multiple)),E=P(()=>e.showArrow!==void 0?e.showArrow:e.loading||!R.value),k=Z();r({focus(){var G,U;(U=(G=k.value).focus)===null||U===void 0||U.call(G)},blur(){var G,U;(U=(G=k.value).blur)===null||U===void 0||U.call(G)}});const B=function(){for(var G=arguments.length,U=new Array(G),X=0;X{a("update:treeExpandedKeys",G),a("treeExpand",G)},j=G=>{a("update:searchValue",G),a("search",G)},K=G=>{a("blur",G),l.onFieldBlur()};return()=>{var G,U;const{notFoundContent:X=(G=o.notFoundContent)===null||G===void 0?void 0:G.call(o),prefixCls:ee,bordered:oe,listHeight:Q,listItemHeight:W,multiple:q,treeIcon:re,treeLine:le,showArrow:ye,switcherIcon:me=(U=o.switcherIcon)===null||U===void 0?void 0:U.call(o),fieldNames:ce=e.replaceFields,id:se=l.id.value}=e,{isFormItemInput:ie,hasFeedback:fe,feedbackIcon:Se}=i,{suffixIcon:Ie,removeIcon:ge,clearIcon:Oe}=lg(v(v({},e),{multiple:R.value,showArrow:E.value,hasFeedback:fe,feedbackIcon:Se,prefixCls:u.value}),o);let we;X!==void 0?we=X:we=c("Select");const ae=qe(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),ne=te(!ee&&F.value,{[`${u.value}-lg`]:x.value==="large",[`${u.value}-sm`]:x.value==="small",[`${u.value}-rtl`]:d.value==="rtl",[`${u.value}-borderless`]:!oe,[`${u.value}-in-form-item`]:ie},Tn(u.value,s.value,fe),$.value,n.class,H.value),pe={};return e.treeData===void 0&&o.default&&(pe.children=mt(o.default())),z(T(f(UZ,N(N(N(N({},n),ae),{},{disabled:O.value,virtual:p.value,dropdownMatchSelectWidth:g.value,id:se,fieldNames:ce,ref:k,prefixCls:u.value,class:ne,listHeight:Q,listItemHeight:W,treeLine:!!le,inputIcon:Ie,multiple:q,removeIcon:ge,clearIcon:Oe,switcherIcon:xe=>P6(D.value,me,xe,o.leafIcon,le),showTreeIcon:re,notFoundContent:we,getPopupContainer:h==null?void 0:h.value,treeMotion:null,dropdownClassName:A.value,choiceTransitionName:_.value,onChange:B,onBlur:K,onSearch:j,onTreeExpand:L},pe),{},{transitionName:I.value,customSlots:v(v({},o),{treeCheckable:()=>f("span",{class:`${u.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||o.maxTagPlaceholder,placement:M.value,showArrow:fe||ye}),v(v({},o),{treeCheckable:()=>f("span",{class:`${u.value}-tree-checkbox-inner`},null)}))))}}}),VS=Zh,_oe=v(qd,{TreeNode:Zh,SHOW_ALL:kZ,SHOW_PARENT:B6,SHOW_CHILD:Qh,install:e=>(e.component(qd.name,qd),e.component(VS.displayName,VS),e)}),Qd=()=>({format:String,showNow:Ce(),showHour:Ce(),showMinute:Ce(),showSecond:Ce(),use12Hours:Ce(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:Ce(),popupClassName:String,status:je()});function ZZ(e){const t=m3(e,v(v({},Qd()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:o}=t,r=J({name:"ATimePicker",inheritAttrs:!1,props:v(v(v(v({},qs()),v3()),Qd()),{addon:{type:Function}}),slots:Object,setup(l,i){let{slots:s,expose:u,emit:c,attrs:d}=i;const p=l,g=Ht();bt(!(s.addon||p.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const m=Z();u({focus:()=>{var x;(x=m.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=m.value)===null||x===void 0||x.blur()}});const h=(x,C)=>{c("update:value",x),c("change",x,C),g.onFieldChange()},b=x=>{c("update:open",x),c("openChange",x)},y=x=>{c("focus",x)},S=x=>{c("blur",x),g.onFieldBlur()},$=x=>{c("ok",x)};return()=>{const{id:x=g.id.value}=p;return f(n,N(N(N({},d),qe(p,["onUpdate:value","onUpdate:open"])),{},{id:x,dropdownClassName:p.popupClassName,mode:void 0,ref:m,renderExtraFooter:p.addon||s.addon||p.renderExtraFooter||s.renderExtraFooter,onChange:h,onOpenChange:b,onFocus:y,onBlur:S,onOk:$}),s)}}}),a=J({name:"ATimeRangePicker",inheritAttrs:!1,props:v(v(v(v({},qs()),g3()),Qd()),{order:{type:Boolean,default:!0}}),slots:Object,setup(l,i){let{slots:s,expose:u,emit:c,attrs:d}=i;const p=l,g=Z(),m=Ht();u({focus:()=>{var O;(O=g.value)===null||O===void 0||O.focus()},blur:()=>{var O;(O=g.value)===null||O===void 0||O.blur()}});const h=(O,w)=>{c("update:value",O),c("change",O,w),m.onFieldChange()},b=O=>{c("update:open",O),c("openChange",O)},y=O=>{c("focus",O)},S=O=>{c("blur",O),m.onFieldBlur()},$=(O,w)=>{c("panelChange",O,w)},x=O=>{c("ok",O)},C=(O,w,M)=>{c("calendarChange",O,w,M)};return()=>{const{id:O=m.id.value}=p;return f(o,N(N(N({},d),qe(p,["onUpdate:open","onUpdate:value"])),{},{id:O,dropdownClassName:p.popupClassName,picker:"time",mode:void 0,ref:g,onChange:h,onOpenChange:b,onFocus:y,onBlur:S,onPanelChange:$,onOk:x,onCalendarChange:C}),s)}}});return{TimePicker:r,TimeRangePicker:a}}const{TimePicker:Ui,TimeRangePicker:Zd}=ZZ(vw),Doe=v(Ui,{TimePicker:Ui,TimeRangePicker:Zd,install:e=>(e.component(Ui.name,Ui),e.component(Zd.name,Zd),e)});var JZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const eJ=JZ;function WS(e){for(var t=1;t{const{sizeMarginHeadingVerticalEnd:r,fontWeightStrong:a}=o;return{marginBottom:r,color:n,fontWeight:a,fontSize:e,lineHeight:t}},rJ=e=>{const t=[1,2,3,4,5],n={};return t.forEach(o=>{n[` + h${o}&, + div&-h${o}, + div&-h${o} > textarea, + h${o} + `]=oJ(e[`fontSizeHeading${o}`],e[`lineHeightHeading${o}`],e.colorTextHeading,e)}),n},aJ=e=>{const{componentCls:t}=e;return{"a&, a":v(v({},Pv(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},lJ=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:pM[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),iJ=e=>{const{componentCls:t}=e,o=fi(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-o,marginBottom:`calc(1em - ${o}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},sJ=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),cJ=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),uJ=e=>{const{componentCls:t,sizeMarginHeadingVerticalStart:n}=e;return{[t]:v(v(v(v(v(v(v(v(v({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},rJ(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),lJ()),aJ(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:v(v({},Pv(e)),{marginInlineStart:e.marginXXS})}),iJ(e)),sJ(e)),cJ()),{"&-rtl":{direction:"rtl"}})}},L6=Qe("Typography",e=>[uJ(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),dJ=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),fJ=J({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:dJ(),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:a}=Rr(e),l=vt({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});ue(()=>e.value,S=>{l.current=S});const i=Z();Ve(()=>{var S;if(i.value){const $=(S=i.value)===null||S===void 0?void 0:S.resizableTextArea,x=$==null?void 0:$.textArea;x.focus();const{length:C}=x.value;x.setSelectionRange(C,C)}});function s(S){i.value=S}function u(S){let{target:{value:$}}=S;l.current=$.replace(/[\r\n]/g,""),n("change",l.current)}function c(){l.inComposition=!0}function d(){l.inComposition=!1}function p(S){const{keyCode:$}=S;$===$e.ENTER&&S.preventDefault(),!l.inComposition&&(l.lastKeyCode=$)}function g(S){const{keyCode:$,ctrlKey:x,altKey:C,metaKey:O,shiftKey:w}=S;l.lastKeyCode===$&&!l.inComposition&&!x&&!C&&!O&&!w&&($===$e.ENTER?(h(),n("end")):$===$e.ESC&&(l.current=e.originContent,n("cancel")))}function m(){h()}function h(){n("save",l.current.trim())}const[b,y]=L6(a);return()=>{const S=te({[`${a.value}`]:!0,[`${a.value}-edit-content`]:!0,[`${a.value}-rtl`]:e.direction==="rtl",[e.component?`${a.value}-${e.component}`:""]:!0},r.class,y.value);return b(f("div",N(N({},r),{},{class:S}),[f(P3,{ref:s,maxlength:e.maxlength,value:l.current,onChange:u,onKeydown:p,onKeyup:g,onCompositionstart:c,onCompositionend:d,onBlur:m,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),o.enterIcon?o.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):f(nJ,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),pJ=fJ,vJ=3,gJ=8;let fn;const Jd={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function hJ(e){return Array.prototype.slice.apply(e).map(n=>`${n}: ${e.getPropertyValue(n)};`).join("")}function z6(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),o=hJ(n);e.setAttribute("style",o),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function mJ(e){const t=document.createElement("div");z6(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const bJ=(e,t,n,o,r)=>{fn||(fn=document.createElement("div"),fn.setAttribute("aria-hidden","true"),document.body.appendChild(fn));const{rows:a,suffix:l=""}=t,i=mJ(e),s=Math.round(i*a*100)/100;z6(fn,e);const u=v8({render(){return f("div",{style:Jd},[f("span",{style:Jd},[n,l]),f("span",{style:Jd},[o])])}});u.mount(fn);function c(){return Math.round(fn.getBoundingClientRect().height*100)/100-.1<=s}if(c())return u.unmount(),{content:n,text:fn.innerHTML,ellipsis:!1};const d=Array.prototype.slice.apply(fn.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter($=>{let{nodeType:x,data:C}=$;return x!==gJ&&C!==""}),p=Array.prototype.slice.apply(fn.childNodes[0].childNodes[1].cloneNode(!0).childNodes);u.unmount();const g=[];fn.innerHTML="";const m=document.createElement("span");fn.appendChild(m);const h=document.createTextNode(r+l);m.appendChild(h),p.forEach($=>{fn.appendChild($)});function b($){m.insertBefore($,h)}function y($,x){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:x.length,w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const M=Math.floor((C+O)/2),I=x.slice(0,M);if($.textContent=I,C>=O-1)for(let _=O;_>=C;_-=1){const D=x.slice(0,_);if($.textContent=D,c()||!D)return _===x.length?{finished:!1,vNode:x}:{finished:!0,vNode:D}}return c()?y($,x,M,O,M):y($,x,C,M,w)}function S($){if($.nodeType===vJ){const C=$.textContent||"",O=document.createTextNode(C);return b(O),y(O,C)}return{finished:!1,vNode:null}}return d.some($=>{const{finished:x,vNode:C}=S($);return C&&g.push(C),x}),{content:g,text:fn.innerHTML,ellipsis:!0}};var yJ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,direction:String,component:String}),On=J({name:"ATypography",inheritAttrs:!1,props:SJ(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=Ee("typography",e),[l,i]=L6(r);return()=>{var s;const u=v(v({},e),o),{prefixCls:c,direction:d,component:p="article"}=u,g=yJ(u,["prefixCls","direction","component"]);return l(f(p,N(N({},g),{},{class:te(r.value,{[`${r.value}-rtl`]:a.value==="rtl"},o.class,i.value)}),{default:()=>[(s=n.default)===null||s===void 0?void 0:s.call(n)]}))}}}),$J=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let o=0;o"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const d=KS[t.format]||KS.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(l),r.selectNodeContents(l),a.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");i=!0}catch(u){s&&console.error("unable to copy using execCommand: ",u),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),i=!0}catch(c){s&&console.error("unable to copy using clipboardData: ",c),s&&console.error("falling back to prompt"),n=xJ("message"in t?t.message:CJ),window.prompt(n,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(r):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return i}var OJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};const PJ=OJ;function GS(e){for(var t=1;t({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),kJ=J({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:Si(),setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,direction:l}=Ee("typography",e),i=vt({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),s=Z(),u=Z(),c=P(()=>{const T=e.ellipsis;return T?v({rows:1,expandable:!1},typeof T=="object"?T:null):{}});Ve(()=>{i.clientRendered=!0,M()}),Je(()=>{clearTimeout(i.copyId),We.cancel(i.rafId)}),ue([()=>c.value.rows,()=>e.content],()=>{lt(()=>{O()})},{flush:"post",deep:!0}),Le(()=>{e.content===void 0&&(yt(!e.editable),yt(!e.ellipsis))});function d(){var T;return e.ellipsis||e.editable?e.content:(T=Pn(s.value))===null||T===void 0?void 0:T.innerText}function p(T){const{onExpand:A}=c.value;i.expanded=!0,A==null||A(T)}function g(T){T.preventDefault(),i.originContent=e.content,C(!0)}function m(T){h(T),C(!1)}function h(T){const{onChange:A}=S.value;T!==e.content&&(r("update:content",T),A==null||A(T))}function b(){var T,A;(A=(T=S.value).onCancel)===null||A===void 0||A.call(T),C(!1)}function y(T){T.preventDefault(),T.stopPropagation();const{copyable:A}=e,R=v({},typeof A=="object"?A:null);R.text===void 0&&(R.text=d()),wJ(R.text||""),i.copied=!0,lt(()=>{R.onCopy&&R.onCopy(T),i.copyId=setTimeout(()=>{i.copied=!1},3e3)})}const S=P(()=>{const T=e.editable;return T?v({},typeof T=="object"?T:null):{editing:!1}}),[$,x]=Ot(!1,{value:P(()=>S.value.editing)});function C(T){const{onStart:A}=S.value;T&&A&&A(),x(T)}ue($,T=>{var A;T||(A=u.value)===null||A===void 0||A.focus()},{flush:"post"});function O(T){if(T){const{width:A,height:R}=T;if(!A||!R)return}We.cancel(i.rafId),i.rafId=We(()=>{M()})}const w=P(()=>{const{rows:T,expandable:A,suffix:R,onEllipsis:E,tooltip:k}=c.value;return R||k||e.editable||e.copyable||A||E?!1:T===1?NJ:RJ}),M=()=>{const{ellipsisText:T,isEllipsis:A}=i,{rows:R,suffix:E,onEllipsis:k}=c.value;if(!R||R<0||!Pn(s.value)||i.expanded||e.content===void 0||w.value)return;const{content:B,text:L,ellipsis:j}=bJ(Pn(s.value),{rows:R,suffix:E},e.content,H(!0),US);(T!==L||i.isEllipsis!==j)&&(i.ellipsisText=L,i.ellipsisContent=B,i.isEllipsis=j,A!==j&&k&&k(j))};function I(T,A){let{mark:R,code:E,underline:k,delete:B,strong:L,keyboard:j}=T,K=A;function G(U,X){if(!U)return;const ee=function(){return K}();K=f(X,null,{default:()=>[ee]})}return G(L,"strong"),G(k,"u"),G(B,"del"),G(E,"code"),G(R,"mark"),G(j,"kbd"),K}function _(T){const{expandable:A,symbol:R}=c.value;if(!A||!T&&(i.expanded||!i.isEllipsis))return null;const E=(n.ellipsisSymbol?n.ellipsisSymbol():R)||i.expandStr;return f("a",{key:"expand",class:`${a.value}-expand`,onClick:p,"aria-label":i.expandStr},[E])}function D(){if(!e.editable)return;const{tooltip:T,triggerType:A=["icon"]}=e.editable,R=n.editableIcon?n.editableIcon():f(DJ,{role:"button"},null),E=n.editableTooltip?n.editableTooltip():i.editStr,k=typeof E=="string"?E:"";return A.indexOf("icon")!==-1?f(oo,{key:"edit",title:T===!1?"":E},{default:()=>[f(Yy,{ref:u,class:`${a.value}-edit`,onClick:g,"aria-label":k},{default:()=>[R]})]}):null}function F(){if(!e.copyable)return;const{tooltip:T}=e.copyable,A=i.copied?i.copiedStr:i.copyStr,R=n.copyableTooltip?n.copyableTooltip({copied:i.copied}):A,E=typeof R=="string"?R:"",k=i.copied?f(tg,null,null):f(TJ,null,null),B=n.copyableIcon?n.copyableIcon({copied:!!i.copied}):k;return f(oo,{key:"copy",title:T===!1?"":R},{default:()=>[f(Yy,{class:[`${a.value}-copy`,{[`${a.value}-copy-success`]:i.copied}],onClick:y,"aria-label":E},{default:()=>[B]})]})}function z(){const{class:T,style:A}=o,{maxlength:R,autoSize:E,onEnd:k}=S.value;return f(pJ,{class:T,style:A,prefixCls:a.value,value:e.content,originContent:i.originContent,maxlength:R,autoSize:E,onSave:m,onChange:h,onCancel:b,onEnd:k,direction:l.value,component:e.component},{enterIcon:n.editableEnterIcon})}function H(T){return[_(T),D(),F()].filter(A=>A)}return()=>{var T;const{triggerType:A=["icon"]}=S.value,R=e.ellipsis||e.editable?e.content!==void 0?e.content:(T=n.default)===null||T===void 0?void 0:T.call(n):n.default?n.default():e.content;return $.value?z():f(Sv,{componentName:"Text",children:E=>{const k=v(v({},e),o),{type:B,disabled:L,content:j,class:K,style:G}=k,U=AJ(k,["type","disabled","content","class","style"]),{rows:X,suffix:ee,tooltip:oe}=c.value,{edit:Q,copy:W,copied:q,expand:re}=E;i.editStr=Q,i.copyStr=W,i.copiedStr=q,i.expandStr=re;const le=qe(U,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),ye=w.value,me=X===1&&ye,ce=X&&X>1&&ye;let se=R,ie;if(X&&i.isEllipsis&&!i.expanded&&!ye){const{title:Ie}=U;let ge=Ie||"";!Ie&&(typeof R=="string"||typeof R=="number")&&(ge=String(R)),ge=ge==null?void 0:ge.slice(String(i.ellipsisContent||"").length),se=f(nt,null,[_t(i.ellipsisContent),f("span",{title:ge,"aria-hidden":"true"},[US]),ee])}else se=f(nt,null,[R,ee]);se=I(e,se);const fe=oe&&X&&i.isEllipsis&&!i.expanded&&!ye,Se=n.ellipsisTooltip?n.ellipsisTooltip():oe;return f(ho,{onResize:O,disabled:!X},{default:()=>[f(On,N({ref:s,class:[{[`${a.value}-${B}`]:B,[`${a.value}-disabled`]:L,[`${a.value}-ellipsis`]:X,[`${a.value}-single-line`]:X===1&&!i.isEllipsis,[`${a.value}-ellipsis-single-line`]:me,[`${a.value}-ellipsis-multiple-line`]:ce},K],style:v(v({},G),{WebkitLineClamp:ce?X:void 0}),"aria-label":ie,direction:l.value,onClick:A.indexOf("text")!==-1?g:()=>{}},le),{default:()=>[fe?f(oo,{title:oe===!0?R:Se},{default:()=>[f("span",null,[se])]}):se,H()]})]})}},null)}}}),$i=kJ;var BJ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rqe(v(v({},Si()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),bu=(e,t)=>{let{slots:n,attrs:o}=t;const r=v(v({},e),o),{ellipsis:a,rel:l}=r,i=BJ(r,["ellipsis","rel"]);yt();const s=v(v({},i),{rel:l===void 0&&i.target==="_blank"?"noopener noreferrer":l,ellipsis:!!a,component:"a"});return delete s.navigate,f($i,s,n)};bu.displayName="ATypographyLink";bu.inheritAttrs=!1;bu.props=FJ();const H6=bu,LJ=()=>qe(Si(),["component"]),yu=(e,t)=>{let{slots:n,attrs:o}=t;const r=v(v(v({},e),{component:"div"}),o);return f($i,r,n)};yu.displayName="ATypographyParagraph";yu.inheritAttrs=!1;yu.props=LJ();const j6=yu,zJ=()=>v(v({},qe(Si(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),Su=(e,t)=>{let{slots:n,attrs:o}=t;const{ellipsis:r}=e;yt();const a=v(v(v({},e),{ellipsis:r&&typeof r=="object"?qe(r,["expandable","rows"]):r,component:"span"}),o);return f($i,a,n)};Su.displayName="ATypographyText";Su.inheritAttrs=!1;Su.props=zJ();const V6=Su;var HJ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rv(v({},qe(Si(),["component","strong"])),{level:Number}),$u=(e,t)=>{let{slots:n,attrs:o}=t;const{level:r=1}=e,a=HJ(e,["level"]);let l;jJ.includes(r)?l=`h${r}`:(yt(),l="h1");const i=v(v(v({},a),{component:l}),o);return f($i,i,n)};$u.displayName="ATypographyTitle";$u.inheritAttrs=!1;$u.props=VJ();const W6=$u;On.Text=V6;On.Title=W6;On.Paragraph=j6;On.Link=H6;On.Base=$i;On.install=function(e){return e.component(On.name,On),e.component(On.Text.displayName,V6),e.component(On.Title.displayName,W6),e.component(On.Paragraph.displayName,j6),e.component(On.Link.displayName,H6),e};function WJ(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,o=new Error(n);return o.status=t.status,o.method=e.method,o.url=e.action,o}function YS(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function KJ(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(a){a.total>0&&(a.percent=a.loaded/a.total*100),e.onProgress(a)});const n=new FormData;e.data&&Object.keys(e.data).forEach(r=>{const a=e.data[r];if(Array.isArray(a)){a.forEach(l=>{n.append(`${r}[]`,l)});return}n.append(r,a)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(a){e.onError(a)},t.onload=function(){return t.status<200||t.status>=300?e.onError(WJ(e,t),YS(t)):e.onSuccess(YS(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};return o["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(o).forEach(r=>{o[r]!==null&&t.setRequestHeader(r,o[r])}),t.send(n),{abort(){t.abort()}}}const GJ=+new Date;let XJ=0;function ef(){return`vc-upload-${GJ}-${++XJ}`}const tf=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),o=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return n.some(l=>{const i=l.trim();if(/^\*(\/\*)?$/.test(l))return!0;if(i.charAt(0)==="."){const s=o.toLowerCase(),u=i.toLowerCase();let c=[u];return(u===".jpg"||u===".jpeg")&&(c=[".jpg",".jpeg"]),c.some(d=>s.endsWith(d))}return/\/\*$/.test(i)?a===i.replace(/\/.*$/,""):!!(r===i||/^\w+$/.test(i))})}return!0};function UJ(e,t){const n=e.createReader();let o=[];function r(){n.readEntries(a=>{const l=Array.prototype.slice.apply(a);o=o.concat(l),!l.length?t(o):r()})}r()}const YJ=(e,t,n)=>{const o=(r,a)=>{r.path=a||"",r.isFile?r.file(l=>{n(l)&&(r.fullPath&&!l.webkitRelativePath&&(Object.defineProperties(l,{webkitRelativePath:{writable:!0}}),l.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(l,{webkitRelativePath:{writable:!1}})),t([l]))}):r.isDirectory&&UJ(r,l=>{l.forEach(i=>{o(i,`${a}${r.name}/`)})})};e.forEach(r=>{o(r.webkitGetAsEntry())})},qJ=YJ,K6=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var QJ=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function i(c){try{u(o.next(c))}catch(d){l(d)}}function s(c){try{u(o.throw(c))}catch(d){l(d)}}function u(c){c.done?a(c.value):r(c.value).then(i,s)}u((o=o.apply(e,t||[])).next())})},ZJ=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rQJ(this,void 0,void 0,function*(){const{beforeUpload:x}=e;let C=S;if(x){try{C=yield x(S,$)}catch{C=!1}if(C===!1)return{origin:S,parsedFile:null,action:null,data:null}}const{action:O}=e;let w;typeof O=="function"?w=yield O(S):w=O;const{data:M}=e;let I;typeof M=="function"?I=yield M(S):I=M;const _=(typeof C=="object"||typeof C=="string")&&C?C:S;let D;_ instanceof File?D=_:D=new File([_],S.name,{type:S.type});const F=D;return F.uid=S.uid,{origin:S,data:I,parsedFile:F,action:w}}),c=S=>{let{data:$,origin:x,action:C,parsedFile:O}=S;if(!s)return;const{onStart:w,customRequest:M,name:I,headers:_,withCredentials:D,method:F}=e,{uid:z}=x,H=M||KJ,T={action:C,filename:I,data:$,file:O,headers:_,withCredentials:D,method:F||"post",onProgress:A=>{const{onProgress:R}=e;R==null||R(A,O)},onSuccess:(A,R)=>{const{onSuccess:E}=e;E==null||E(A,O,R),delete l[z]},onError:(A,R)=>{const{onError:E}=e;E==null||E(A,R,O),delete l[z]}};w(x),l[z]=H(T)},d=()=>{a.value=ef()},p=S=>{if(S){const $=S.uid?S.uid:S;l[$]&&l[$].abort&&l[$].abort(),delete l[$]}else Object.keys(l).forEach($=>{l[$]&&l[$].abort&&l[$].abort(),delete l[$]})};Ve(()=>{s=!0}),Je(()=>{s=!1,p()});const g=S=>{const $=[...S],x=$.map(C=>(C.uid=ef(),u(C,$)));Promise.all(x).then(C=>{const{onBatchStart:O}=e;O==null||O(C.map(w=>{let{origin:M,parsedFile:I}=w;return{file:M,parsedFile:I}})),C.filter(w=>w.parsedFile!==null).forEach(w=>{c(w)})})},m=S=>{const{accept:$,directory:x}=e,{files:C}=S.target,O=[...C].filter(w=>!x||tf(w,$));g(O),d()},h=S=>{const $=i.value;if(!$)return;const{onClick:x}=e;$.click(),x&&x(S)},b=S=>{S.key==="Enter"&&h(S)},y=S=>{const{multiple:$}=e;if(S.preventDefault(),S.type!=="dragover")if(e.directory)qJ(Array.prototype.slice.call(S.dataTransfer.items),g,x=>tf(x,e.accept));else{const x=oT(Array.prototype.slice.call(S.dataTransfer.files),w=>tf(w,e.accept));let C=x[0];const O=x[1];$===!1&&(C=C.slice(0,1)),g(C),O.length&&e.onReject&&e.onReject(O)}};return r({abort:p}),()=>{var S;const{componentTag:$,prefixCls:x,disabled:C,id:O,multiple:w,accept:M,capture:I,directory:_,openFileDialogOnClick:D,onMouseenter:F,onMouseleave:z}=e,H=ZJ(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),T={[x]:!0,[`${x}-disabled`]:C,[o.class]:!!o.class},A=_?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return f($,N(N({},C?{}:{onClick:D?h:()=>{},onKeydown:D?b:()=>{},onMouseenter:F,onMouseleave:z,onDrop:y,onDragover:y,tabindex:"0"}),{},{class:T,role:"button",style:o.style}),{default:()=>[f("input",N(N(N({},dr(H,{aria:!0,data:!0})),{},{id:O,type:"file",ref:i,onClick:E=>E.stopPropagation(),onCancel:E=>E.stopPropagation(),key:a.value,style:{display:"none"},accept:M},A),{},{multiple:w,onChange:m},I!=null?{capture:I}:{}),null),(S=n.default)===null||S===void 0?void 0:S.call(n)]})}}});function nf(){}const qS=J({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:rt(K6(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:nf,onError:nf,onSuccess:nf,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=Z();return r({abort:i=>{var s;(s=a.value)===null||s===void 0||s.abort(i)}}),()=>f(JJ,N(N(N({},e),o),{},{ref:a}),n)}});var eee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const tee=eee;function QS(e){for(var t=1;t{let{uid:a}=r;return a===e.uid});return o===-1?n.push(e):n[o]=e,n}function of(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(o=>o[n]===e[n])[0]}function pee(e,t){const n=e.uid!==void 0?"uid":"name",o=t.filter(r=>r[n]!==e[n]);return o.length===t.length?null:o}const vee=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),o=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(o)||[""])[0]},X6=e=>e.indexOf("image/")===0,gee=e=>{if(e.type&&!e.thumbUrl)return X6(e.type);const t=e.thumbUrl||e.url||"",n=vee(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Qo=200;function hee(e){return new Promise(t=>{if(!e.type||!X6(e.type)){t("");return}const n=document.createElement("canvas");n.width=Qo,n.height=Qo,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Qo}px; height: ${Qo}px; z-index: 9999; display: none;`,document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:a,height:l}=r;let i=Qo,s=Qo,u=0,c=0;a>l?(s=l*(Qo/a),c=-(s-i)/2):(i=a*(Qo/l),u=-(i-s)/2),o.drawImage(r,u,c,i,s);const d=n.toDataURL();document.body.removeChild(n),t(d)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.addEventListener("load",()=>{a.result&&(r.src=a.result)}),a.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var mee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const bee=mee;function e$(e){for(var t=1;t({prefixCls:String,locale:Ne(void 0),file:Ne(),items:ht(),listType:je(),isImgUrl:de(),showRemoveIcon:Ce(),showDownloadIcon:Ce(),showPreviewIcon:Ce(),removeIcon:de(),downloadIcon:de(),previewIcon:de(),iconRender:de(),actionIconRender:de(),itemRender:de(),onPreview:de(),onClose:de(),onDownload:de(),progress:Ne()}),Cee=J({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:$ee(),setup(e,t){let{slots:n,attrs:o}=t;var r;const a=Y(!1),l=Y();Ve(()=>{l.value=setTimeout(()=>{a.value=!0},300)}),Je(()=>{clearTimeout(l.value)});const i=Y((r=e.file)===null||r===void 0?void 0:r.status);ue(()=>{var c;return(c=e.file)===null||c===void 0?void 0:c.status},c=>{c!=="removed"&&(i.value=c)});const{rootPrefixCls:s}=Ee("upload",e),u=P(()=>bo(`${s.value}-fade`));return()=>{var c,d;const{prefixCls:p,locale:g,listType:m,file:h,items:b,progress:y,iconRender:S=n.iconRender,actionIconRender:$=n.actionIconRender,itemRender:x=n.itemRender,isImgUrl:C,showPreviewIcon:O,showRemoveIcon:w,showDownloadIcon:M,previewIcon:I=n.previewIcon,removeIcon:_=n.removeIcon,downloadIcon:D=n.downloadIcon,onPreview:F,onDownload:z,onClose:H}=e,{class:T,style:A}=o,R=S({file:h});let E=f("div",{class:`${p}-text-icon`},[R]);if(m==="picture"||m==="picture-card")if(i.value==="uploading"||!h.thumbUrl&&!h.url){const le={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:i.value!=="uploading"};E=f("div",{class:le},[R])}else{const le=C!=null&&C(h)?f("img",{src:h.thumbUrl||h.url,alt:h.name,class:`${p}-list-item-image`,crossorigin:h.crossOrigin},null):R,ye={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:C&&!C(h)};E=f("a",{class:ye,onClick:me=>F(h,me),href:h.url||h.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[le])}const k={[`${p}-list-item`]:!0,[`${p}-list-item-${i.value}`]:!0},B=typeof h.linkProps=="string"?JSON.parse(h.linkProps):h.linkProps,L=w?$({customIcon:_?_({file:h}):f(TZ,null,null),callback:()=>H(h),prefixCls:p,title:g.removeFile}):null,j=M&&i.value==="done"?$({customIcon:D?D({file:h}):f(See,null,null),callback:()=>z(h),prefixCls:p,title:g.downloadFile}):null,K=m!=="picture-card"&&f("span",{key:"download-delete",class:[`${p}-list-item-actions`,{picture:m==="picture"}]},[j,L]),G=`${p}-list-item-name`,U=h.url?[f("a",N(N({key:"view",target:"_blank",rel:"noopener noreferrer",class:G,title:h.name},B),{},{href:h.url,onClick:le=>F(h,le)}),[h.name]),K]:[f("span",{key:"view",class:G,onClick:le=>F(h,le),title:h.name},[h.name]),K],X={pointerEvents:"none",opacity:.5},ee=O?f("a",{href:h.url||h.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:h.url||h.thumbUrl?void 0:X,onClick:le=>F(h,le),title:g.previewFile},[I?I({file:h}):f(mh,null,null)]):null,oe=m==="picture-card"&&i.value!=="uploading"&&f("span",{class:`${p}-list-item-actions`},[ee,i.value==="done"&&j,L]),Q=f("div",{class:k},[E,U,oe,a.value&&f(rn,u.value,{default:()=>[Kt(f("div",{class:`${p}-list-item-progress`},["percent"in h?f(FU,N(N({},y),{},{type:"line",percent:h.percent}),null):null]),[[Wn,i.value==="uploading"]])]})]),W={[`${p}-list-item-container`]:!0,[`${T}`]:!!T},q=h.response&&typeof h.response=="string"?h.response:((c=h.error)===null||c===void 0?void 0:c.statusText)||((d=h.error)===null||d===void 0?void 0:d.message)||g.uploadError,re=i.value==="error"?f(oo,{title:q,getPopupContainer:le=>le.parentNode},{default:()=>[Q]}):Q;return f("div",{class:W,style:A},[x?x({originNode:re,file:h,fileList:b,actions:{download:z.bind(null,h),preview:F.bind(null,h),remove:H.bind(null,h)}}):re])}}}),xee=(e,t)=>{let{slots:n}=t;var o;return Tt((o=n.default)===null||o===void 0?void 0:o.call(n))[0]},wee=J({compatConfig:{MODE:3},name:"AUploadList",props:rt(fee(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:hee,isImageUrl:gee,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:o}=t;const r=Y(!1);Ve(()=>{r.value==!0});const a=Y([]);ue(()=>e.items,function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.value=h.slice()},{immediate:!0,deep:!0}),Le(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let h=!1;(e.items||[]).forEach((b,y)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(b.originFileObj instanceof File||b.originFileObj instanceof Blob)||b.thumbUrl!==void 0||(b.thumbUrl="",e.previewFile&&e.previewFile(b.originFileObj).then(S=>{const $=S||"";$!==b.thumbUrl&&(a.value[y].thumbUrl=$,h=!0)}))}),h&&k$(a)});const l=(h,b)=>{if(e.onPreview)return b==null||b.preventDefault(),e.onPreview(h)},i=h=>{typeof e.onDownload=="function"?e.onDownload(h):h.url&&window.open(h.url)},s=h=>{var b;(b=e.onRemove)===null||b===void 0||b.call(e,h)},u=h=>{let{file:b}=h;const y=e.iconRender||n.iconRender;if(y)return y({file:b,listType:e.listType});const S=b.status==="uploading",$=e.isImageUrl&&e.isImageUrl(b)?f(iee,null,null):f(dee,null,null);let x=S?f(Un,null,null):f(oee,null,null);return e.listType==="picture"?x=S?f(Un,null,null):$:e.listType==="picture-card"&&(x=S?e.locale.uploading:$),x},c=h=>{const{customIcon:b,callback:y,prefixCls:S,title:$}=h,x={type:"text",size:"small",title:$,onClick:()=>{y()},class:`${S}-list-item-action`};return kt(b)?f(qt,x,{icon:()=>b}):f(qt,x,{default:()=>[f("span",null,[b])]})};o({handlePreview:l,handleDownload:i});const{prefixCls:d,rootPrefixCls:p}=Ee("upload",e),g=P(()=>({[`${d.value}-list`]:!0,[`${d.value}-list-${e.listType}`]:!0})),m=P(()=>{const h=v({},Kc(`${p.value}-motion-collapse`));delete h.onAfterAppear,delete h.onAfterEnter,delete h.onAfterLeave;const b=v(v({},Mc(`${d.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:g.value,appear:r.value});return e.listType!=="picture-card"?v(v({},h),b):b});return()=>{const{listType:h,locale:b,isImageUrl:y,showPreviewIcon:S,showRemoveIcon:$,showDownloadIcon:x,removeIcon:C,previewIcon:O,downloadIcon:w,progress:M,appendAction:I,itemRender:_,appendActionVisible:D}=e,F=I==null?void 0:I(),z=a.value;return f(nc,N(N({},m.value),{},{tag:"div"}),{default:()=>[z.map(H=>{const{uid:T}=H;return f(Cee,{key:T,locale:b,prefixCls:d.value,file:H,items:z,progress:M,listType:h,isImgUrl:y,showPreviewIcon:S,showRemoveIcon:$,showDownloadIcon:x,onPreview:l,onDownload:i,onClose:s,removeIcon:C,previewIcon:O,downloadIcon:w,itemRender:_},v(v({},n),{iconRender:u,actionIconRender:c}))}),I?Kt(f(xee,{key:"__ant_upload_appendAction"},{default:()=>F}),[[Wn,!!D]]):null]})}}}),Oee=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},Pee=Oee,Iee=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:a}=e,l=`${t}-list-item`,i=`${l}-actions`,s=`${l}-action`,u=Math.round(r*a);return{[`${t}-wrapper`]:{[`${t}-list`]:v(v({},ro()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:e.lineHeight*r,marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:v(v({},mn),{padding:`0 ${e.paddingXS}px`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[i]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:u,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${s}:focus, + &.picture ${s} + `]:{opacity:1},[o]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${o}`]:{color:e.colorText}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${l}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:r+e.paddingXS,fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${s}`]:{opacity:1,color:e.colorText},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${o}`]:{color:e.colorError},[i]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Tee=Iee,t$=new Ue("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),n$=new Ue("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),Mee=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:t$},[`${n}-leave`]:{animationName:n$}}},t$,n$]},Eee=Mee,_ee=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[`${a}${a}-picture, ${a}${a}-picture-card`]:{[l]:{position:"relative",height:o+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:v(v({},mn),{width:o,height:o,lineHeight:`${o+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:r,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:o+e.paddingXS}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:r}}}}}},Dee=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r}=e,a=`${t}-list`,l=`${a}-item`,i=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:v(v({},ro()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:i,height:i,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card`]:{[`${a}-item-container`]:{display:"inline-block",width:i,height:i,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:o,margin:`0 ${e.marginXXS}px`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${l}-actions, ${l}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new st(r).setAlpha(.65).toRgbString(),"&:hover":{color:r}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},Aee=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},Ree=Aee,Nee=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:v(v({},et(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},kee=Qe("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:o,lineWidth:r,controlHeightLG:a}=e,l=Math.round(n*o),i=ze(e,{uploadThumbnailSize:t*2,uploadProgressOffset:l/2+r,uploadPicCardSize:a*2.55});return[Nee(i),Pee(i),_ee(i),Dee(i),Tee(i),Eee(i),Ree(i),jc(i)]});var Bee=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function i(c){try{u(o.next(c))}catch(d){l(d)}}function s(c){try{u(o.throw(c))}catch(d){l(d)}}function u(c){c.done?a(c.value):r(c.value).then(i,s)}u((o=o.apply(e,t||[])).next())})},Fee=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var D;return(D=s.value)!==null&&D!==void 0?D:d.value}),[g,m]=Ot(e.defaultFileList||[],{value:Be(e,"fileList"),postState:D=>{const F=Date.now();return(D??[]).map((z,H)=>(!z.uid&&!Object.isFrozen(z)&&(z.uid=`__AUTO__${F}_${H}__`),z))}}),h=Z("drop"),b=Z(null);Ve(()=>{bt(e.fileList!==void 0||o.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),bt(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),bt(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const y=(D,F,z)=>{var H,T;let A=[...F];e.maxCount===1?A=A.slice(-1):e.maxCount&&(A=A.slice(0,e.maxCount)),m(A);const R={file:D,fileList:A};z&&(R.event=z),(H=e["onUpdate:fileList"])===null||H===void 0||H.call(e,R.fileList),(T=e.onChange)===null||T===void 0||T.call(e,R),a.onFieldChange()},S=(D,F)=>Bee(this,void 0,void 0,function*(){const{beforeUpload:z,transformFile:H}=e;let T=D;if(z){const A=yield z(D,F);if(A===!1)return!1;if(delete D[bl],A===bl)return Object.defineProperty(D,bl,{value:!0,configurable:!0}),!1;typeof A=="object"&&A&&(T=A)}return H&&(T=yield H(T)),T}),$=D=>{const F=D.filter(T=>!T.file[bl]);if(!F.length)return;const z=F.map(T=>Yi(T.file));let H=[...g.value];z.forEach(T=>{H=qi(T,H)}),z.forEach((T,A)=>{let R=T;if(F[A].parsedFile)T.status="uploading";else{const{originFileObj:E}=T;let k;try{k=new File([E],E.name,{type:E.type})}catch{k=new Blob([E],{type:E.type}),k.name=E.name,k.lastModifiedDate=new Date,k.lastModified=new Date().getTime()}k.uid=T.uid,R=k}y(R,H)})},x=(D,F,z)=>{try{typeof D=="string"&&(D=JSON.parse(D))}catch{}if(!of(F,g.value))return;const H=Yi(F);H.status="done",H.percent=100,H.response=D,H.xhr=z;const T=qi(H,g.value);y(H,T)},C=(D,F)=>{if(!of(F,g.value))return;const z=Yi(F);z.status="uploading",z.percent=D.percent;const H=qi(z,g.value);y(z,H,D)},O=(D,F,z)=>{if(!of(z,g.value))return;const H=Yi(z);H.error=D,H.response=F,H.status="error";const T=qi(H,g.value);y(H,T)},w=D=>{let F;const z=e.onRemove||e.remove;Promise.resolve(typeof z=="function"?z(D):z).then(H=>{var T,A;if(H===!1)return;const R=pee(D,g.value);R&&(F=v(v({},D),{status:"removed"}),(T=g.value)===null||T===void 0||T.forEach(E=>{const k=F.uid!==void 0?"uid":"name";E[k]===F[k]&&!Object.isFrozen(E)&&(E.status="removed")}),(A=b.value)===null||A===void 0||A.abort(F),y(F,R))})},M=D=>{var F;h.value=D.type,D.type==="drop"&&((F=e.onDrop)===null||F===void 0||F.call(e,D))};r({onBatchStart:$,onSuccess:x,onProgress:C,onError:O,fileList:g,upload:b});const[I]=$o("Upload",Gn.Upload,P(()=>e.locale)),_=(D,F)=>{const{removeIcon:z,previewIcon:H,downloadIcon:T,previewFile:A,onPreview:R,onDownload:E,isImageUrl:k,progress:B,itemRender:L,iconRender:j,showUploadList:K}=e,{showDownloadIcon:G,showPreviewIcon:U,showRemoveIcon:X}=typeof K=="boolean"?{}:K;return K?f(wee,{prefixCls:l.value,listType:e.listType,items:g.value,previewFile:A,onPreview:R,onDownload:E,onRemove:w,showRemoveIcon:!p.value&&X,showPreviewIcon:U,showDownloadIcon:G,removeIcon:z,previewIcon:H,downloadIcon:T,iconRender:j,locale:I.value,isImageUrl:k,progress:B,itemRender:L,appendActionVisible:F,appendAction:D},v({},n)):D==null?void 0:D()};return()=>{var D,F,z;const{listType:H,type:T}=e,{class:A,style:R}=o,E=Fee(o,["class","style"]),k=v(v(v({onBatchStart:$,onError:O,onProgress:C,onSuccess:x},E),e),{id:(D=e.id)!==null&&D!==void 0?D:a.id.value,prefixCls:l.value,beforeUpload:S,onChange:void 0,disabled:p.value});delete k.remove,(!n.default||p.value)&&delete k.id;const B={[`${l.value}-rtl`]:i.value==="rtl"};if(T==="drag"){const G=te(l.value,{[`${l.value}-drag`]:!0,[`${l.value}-drag-uploading`]:g.value.some(U=>U.status==="uploading"),[`${l.value}-drag-hover`]:h.value==="dragover",[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:i.value==="rtl"},o.class,c.value);return u(f("span",N(N({},o),{},{class:te(`${l.value}-wrapper`,B,A,c.value)}),[f("div",{class:G,onDrop:M,onDragover:M,onDragleave:M,style:o.style},[f(qS,N(N({},k),{},{ref:b,class:`${l.value}-btn`}),N({default:()=>[f("div",{class:`${l.value}-drag-container`},[(F=n.default)===null||F===void 0?void 0:F.call(n)])]},n))]),_()]))}const L=te(l.value,{[`${l.value}-select`]:!0,[`${l.value}-select-${H}`]:!0,[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:i.value==="rtl"}),j=mt((z=n.default)===null||z===void 0?void 0:z.call(n)),K=G=>f("div",{class:L,style:G},[f(qS,N(N({},k),{},{ref:b}),n)]);return u(H==="picture-card"?f("span",N(N({},o),{},{class:te(`${l.value}-wrapper`,`${l.value}-picture-card-wrapper`,B,o.class,c.value)}),[_(K,!!(j&&j.length))]):f("span",N(N({},o),{},{class:te(`${l.value}-wrapper`,B,o.class,c.value)}),[K(j&&j.length?void 0:{display:"none"}),_()]))}}});var o$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{height:r}=e,a=o$(e,["height"]),{style:l}=o,i=o$(o,["style"]),s=v(v(v({},a),i),{type:"drag",style:v(v({},l),{height:typeof r=="number"?`${r}px`:r})});return f(ys,s,n)}}}),Aoe=v(ys,{Dragger:rf,LIST_IGNORE:bl,install(e){return e.component(ys.name,ys),e.component(rf.name,rf),e}});var Lee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"};const zee=Lee;function r$(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function mne(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}var Cu=function(t,n){var o,r=n.attrs,a=n.slots,l=Qi({},t,r),i=l.class,s=l.component,u=l.viewBox,c=l.spin,d=l.rotate,p=l.tabindex,g=l.onClick,m=hne(l,gne),h=Uv(),b=h.prefixCls,y=h.rootClassName,S=a.default&&a.default(),$=S&&S.length,x=a.component,C=(o={},Ss(o,y.value,!!y.value),Ss(o,b.value,!0),o),O=Ss({},"".concat(b.value,"-spin"),c===""||!!c),w=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,M=Qi({},ND,{viewBox:u,class:O,style:w});u||delete M.viewBox;var I=function(){return s?f(s,M,{default:function(){return[S]}}):x?x(M):$?(u||S.length===1&&S[0]&&S[0].type,f("svg",Qi({},M,{viewBox:u}),[S])):null},_=p;return _===void 0&&g&&(_=-1,m.tabindex=_),f("span",Qi({role:"img"},m,{onClick:g,class:[C,i]}),[I(),f(hx,null,null)])};Cu.props={spin:Boolean,rotate:Number,viewBox:String,ariaLabel:String};Cu.inheritAttrs=!1;Cu.displayName="Icon";const bne=Cu;var yne=["type"];function D$(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function Cne(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}var U6=new Set;function xne(e){return typeof e=="string"&&e.length&&!U6.has(e)}function tc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(xne(n)){var o=document.createElement("script");o.setAttribute("src",n),o.setAttribute("data-namespace",n),e.length>t+1&&(o.onload=function(){tc(e,t+1)},o.onerror=function(){tc(e,t+1)}),U6.add(n),document.body.appendChild(o)}}function sre(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=n===void 0?{}:n;typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?tc(t.reverse()):tc([t]));var r=function(l,i){var s=i.attrs,u=i.slots,c=D$({},l,s),d=c.type,p=$ne(c,yne),g=u.default&&u.default(),m=null;d&&(m=f("use",{"xlink:href":"#".concat(d)},null)),g&&g.length&&(m=g);var h=D$({},o,p);return f(bne,h,{default:function(){return[m]}})};return r.props={spin:Boolean,rotate:Number,type:String},r.inheritAttrs=!1,r.displayName="Iconfont",r}const Y6=["wrap","nowrap","wrap-reverse"],q6=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],Q6=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],wne=(e,t)=>{const n={};return Y6.forEach(o=>{n[`${e}-wrap-${o}`]=t.wrap===o}),n},One=(e,t)=>{const n={};return Q6.forEach(o=>{n[`${e}-align-${o}`]=t.align===o}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},Pne=(e,t)=>{const n={};return q6.forEach(o=>{n[`${e}-justify-${o}`]=t.justify===o}),n};function Ine(e,t){return te(v(v(v({},wne(e,t)),One(e,t)),Pne(e,t)))}const Tne=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Mne=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},Ene=e=>{const{componentCls:t}=e,n={};return Y6.forEach(o=>{n[`${t}-wrap-${o}`]={flexWrap:o}}),n},_ne=e=>{const{componentCls:t}=e,n={};return Q6.forEach(o=>{n[`${t}-align-${o}`]={alignItems:o}}),n},Dne=e=>{const{componentCls:t}=e,n={};return q6.forEach(o=>{n[`${t}-justify-${o}`]={justifyContent:o}}),n},Ane=Qe("Flex",e=>{const t=ze(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[Tne(t),Mne(t),Ene(t),_ne(t),Dne(t)]});function A$(e){return["small","middle","large"].includes(e)}const Rne=()=>({prefixCls:je(),vertical:Ce(),wrap:je(),justify:je(),align:je(),flex:Ge([Number,String]),gap:Ge([Number,String]),component:xt()});var Nne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var c;return[l.value,s.value,Ine(l.value,e),{[`${l.value}-rtl`]:a.value==="rtl",[`${l.value}-gap-${e.gap}`]:A$(e.gap),[`${l.value}-vertical`]:(c=e.vertical)!==null&&c!==void 0?c:r==null?void 0:r.value.vertical}]});return()=>{var c;const{flex:d,gap:p,component:g="div"}=e,m=Nne(e,["flex","gap","component"]),h={};return d&&(h.flex=d),p&&!A$(p)&&(h.gap=`${p}px`),i(f(g,N({class:[o.class,u.value],style:[o.style,h]},qe(m,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),cre=Vt(kne),Zo=(e,t)=>new st(e).setAlpha(t).toRgbString(),ca=(e,t)=>new st(e).lighten(t).toHexString(),Bne=e=>{const t=Bo(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Fne=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:Zo(o,.85),colorTextSecondary:Zo(o,.65),colorTextTertiary:Zo(o,.45),colorTextQuaternary:Zo(o,.25),colorFill:Zo(o,.18),colorFillSecondary:Zo(o,.12),colorFillTertiary:Zo(o,.08),colorFillQuaternary:Zo(o,.04),colorBgElevated:ca(n,12),colorBgContainer:ca(n,8),colorBgLayout:ca(n,0),colorBgSpotlight:ca(n,26),colorBorder:ca(n,26),colorBorderSecondary:ca(n,19)}},Lne=(e,t)=>{const n=Object.keys(Ov).map(r=>{const a=Bo(e[r],{theme:"dark"});return new Array(10).fill(1).reduce((l,i,s)=>(l[`${r}-${s+1}`]=a[s],l),{})}).reduce((r,a)=>(r=v(v({},r),a),r),{}),o=t??wc(e);return v(v(v({},o),n),v2(e,{generateColorPalettes:Bne,generateNeutralColorPalettes:Fne}))},zne=Lne;function Hne(e){const{sizeUnit:t,sizeStep:n}=e,o=n-2;return{sizeXXL:t*(o+10),sizeXL:t*(o+6),sizeLG:t*(o+2),sizeMD:t*(o+2),sizeMS:t*(o+1),size:t*o,sizeSM:t*o,sizeXS:t*(o-1),sizeXXS:t*(o-1)}}const jne=(e,t)=>{const n=t??wc(e),o=n.fontSizeSM,r=n.controlHeight-4;return v(v(v(v(v({},n),Hne(t??e)),g2(o)),{controlHeight:r}),p2(v(v({},n),{controlHeight:r})))},Vne=jne;function Wne(){const[e,t,n]=Qr();return{theme:e,token:t,hashId:n}}const ure={defaultConfig:Es,defaultSeed:Es.token,useToken:Wne,defaultAlgorithm:wc,darkAlgorithm:zne,compactAlgorithm:Vne},Kne=[];function dre(e){var t;(t=document.querySelector("html"))==null||t.setAttribute("lang",e)}function fre(e){e(Kne)}function pre(e,t="lang"){const n={};return Object.keys(e).forEach(o=>{const r=e[o].default;let a=o.replace(`./${t}/`,"").replace(/^\.\//,"");const l=a.lastIndexOf(".");a=a.substring(0,l);const i=a.split("/"),s=i.shift(),u=i.join(".");s&&(u?(Au(n,s,n[s]||{}),Au(n[s],u,r)):Au(n,s,r||{}))}),n}const Gne={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},Xne=Gne,Une={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},Z6=Une,J6={lang:v({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},Xne),timePickerLocale:v({},Z6)};J6.lang.ok="确定";const R$=J6,xn="${label}不是一个有效的${type}",Yne={locale:"zh-cn",Pagination:F3,DatePicker:R$,TimePicker:Z6,Calendar:R$,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:xn,method:xn,array:xn,object:xn,number:xn,date:xn,boolean:xn,integer:xn,float:xn,regexp:xn,email:xn,url:xn,hex:xn},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码已过期",refresh:"点击刷新",scanned:"已扫描"}},vre=Yne;export{Pl as $,Ol as A,qt as B,c3 as C,Nc as D,koe as E,nJ as F,Noe as G,Roe as H,ag as I,Or as J,oo as K,Wt as L,Vn as M,Goe as N,Koe as O,ore as P,moe as Q,tre as R,kl as S,Oa as T,lW as U,ire as V,yoe as W,Moe as X,cre as Y,Ws as Z,_K as _,fre as a,noe as a$,xoe as a0,Qoe as a1,Yoe as a2,Uoe as a3,Joe as a4,Coe as a5,hj as a6,Xoe as a7,Hoe as a8,Nj as a9,No as aA,voe as aB,Toe as aC,Ooe as aD,hoe as aE,Doe as aF,Aoe as aG,Bj as aH,Vc as aI,q5 as aJ,Un as aK,xC as aL,UI as aM,Cx as aN,Jt as aO,ooe as aP,vv as aQ,goe as aR,aoe as aS,Au as aT,Ft as aU,uoe as aV,coe as aW,roe as aX,Ioe as aY,PC as aZ,eoe as a_,Pr as aa,Poe as ab,Tl as ac,od as ad,foe as ae,boe as af,pn as ag,are as ah,Zi as ai,Ha as aj,cK as ak,Ff as al,W6 as am,XF as an,Soe as ao,hc as ap,poe as aq,np as ar,op as as,FX as at,ioe as au,Jp as av,$oe as aw,doe as ax,_oe as ay,QQ as az,b8 as b,soe as b0,an as b1,woe as b2,Loe as b3,ere as b4,Qj as b5,Ax as b6,Voe as b7,tg as b8,DJ as b9,V6 as ba,N6 as bb,Eoe as bc,$x as bd,Jne as be,joe as bf,TJ as bg,nre as bh,TZ as bi,qoe as bj,Foe as bk,Woe as bl,VV as bm,tr as bn,GQ as bo,On as bp,fu as bq,FU as br,rre as bs,Boe as bt,dK as bu,cr as c,ur as d,PV as e,sre as f,Zne as g,kx as h,toe as i,pre as j,Gn as k,Kne as l,loe as m,vre as n,eT as o,io as p,lre as q,zoe as r,dre as s,ure as t,Zoe as u,ja as v,Xs as w,Mn as x,ar as y,tp as z}; diff --git a/assets/antdv-Cm_1FYRq.css b/assets/antdv-Cm_1FYRq.css new file mode 100644 index 000000000..381131db8 --- /dev/null +++ b/assets/antdv-Cm_1FYRq.css @@ -0,0 +1 @@ +html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6} diff --git a/assets/button-CVzQuWxY.js b/assets/button-CVzQuWxY.js new file mode 100644 index 000000000..fb9943326 --- /dev/null +++ b/assets/button-CVzQuWxY.js @@ -0,0 +1 @@ +import{x as o,k as f}from"./index-D5NK1dvb.js";import{ae as m,af as s,a0 as u,ac as y}from"./antdv-CA3HmnGF.js";import{d as k,W as n,a5 as _,k as a,u as e,Y as t,G as r,F as c,ae as i,X as d,ak as p}from"./vue-Dbi1xauY.js";const C=k({name:"DemoButton",__name:"button",setup(g){return(x,h)=>(n(),_("div",null,[a(e(m),{message:"扩展antd按钮样式",type:"info","show-icon":"",style:{"margin-bottom":"12px"}}),a(e(y),null,{default:t(()=>[a(e(s),{orientation:"left"},{default:t(()=>[r("扩展按钮类型")]),_:1}),a(e(u),null,{default:t(()=>[a(e(o),{type:"primary"},{default:t(()=>[r("primary")]),_:1}),a(e(o),{type:"error"},{default:t(()=>[r("error")]),_:1}),a(e(o),{type:"warning"},{default:t(()=>[r("warning")]),_:1}),a(e(o),{type:"success"},{default:t(()=>[r("success")]),_:1})]),_:1}),a(e(s),{orientation:"left"},{default:t(()=>[r("自定义按钮颜色")]),_:1}),a(e(u),null,{default:t(()=>[(n(!0),_(c,null,i(e(f),l=>(n(),d(e(o),{key:l.key,color:l.value},{default:t(()=>[r(p(l.title),1)]),_:2},1032,["color"]))),128))]),_:1}),a(e(s),{orientation:"left"},{default:t(()=>[r("幽灵按钮")]),_:1}),a(e(u),null,{default:t(()=>[(n(!0),_(c,null,i(e(f),l=>(n(),d(e(o),{key:l.key,ghost:"",color:l.value},{default:t(()=>[r(p(l.title),1)]),_:2},1032,["color"]))),128))]),_:1})]),_:1})]))}});export{C as default}; diff --git a/assets/columns-QsbRxPAv.js b/assets/columns-QsbRxPAv.js new file mode 100644 index 000000000..a37fb0ee4 --- /dev/null +++ b/assets/columns-QsbRxPAv.js @@ -0,0 +1 @@ +import{w as s}from"./common-Cs_BZJVP.js";import{ap as u,U as p}from"./antdv-CA3HmnGF.js";import{k as d}from"./vue-Dbi1xauY.js";const i=["王路飞","王大蛇","李白","刺客伍六七"],l=(e="")=>{const t=[{label:"已售罄",value:0},{label:"热卖中",value:1}].filter(o=>o.label.includes(e));return s(2e3,t)},r=e=>e===1?[{label:"西装",value:1},{label:"领带",value:0}]:e===0?[{label:"裙子",value:1},{label:"包包",value:0}]:[],g=Array.from({length:30}).map((e,t)=>{const o=~~(Math.random()*2);return{id:t+1,date:new Date().toLocaleString(),name:i[~~(Math.random()*4)],clothes:r(o)[~~(Math.random()*2)].label,price:~~(Math.random()*1e3),gender:o,img:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",status:~~(Math.random()*2)}}),P=[{title:"姓名",dataIndex:"name",sorter:!0,width:300,resizable:!0,formItemProps:{defaultValue:"李白",required:!0}},{title:"性别",dataIndex:"gender",width:120,resizable:!0,formItemProps:{component:"Select",componentProps:({formInstance:e,formModel:t})=>({options:[{label:"男",value:1},{label:"女",value:0}],onChange(){e==null||e.updateSchema({field:"clothes",componentProps:{options:r(t.gender)}}),t.clothes=""}})},customRender:({record:e})=>["女","男"][e.gender]},{title:"衣服",dataIndex:"clothes",formItemProps:{component:"Select",componentProps:({tableInstance:e})=>({onChange(){e==null||e.reload()}})}},{title:"价格",dataIndex:"price",formItemProps:{component:"InputNumber"},customRender:({record:e})=>`${e.price}元`},{title:"状态",dataIndex:"status",formItemProps:{component:"Select",componentProps:({formInstance:e,schema:t})=>({showSearch:!0,filterOption:!1,request:()=>l(),onSearch:u(async o=>{t.value.loading=!0;const a={field:"status",componentProps:{options:[]}};e==null||e.updateSchema([a]);const n=await l(o).finally(()=>t.value.loading=!1);a.componentProps.options=n,e==null||e.updateSchema([a])},500),onChange(o){}})},customRender:({record:e})=>d(p,{color:e.status==1?"red":"default"},{default:()=>[["已售罄","热卖中"][e.status]]})}];export{P as c,l as f,r as g,g as t}; diff --git a/assets/columns-hGlKOK8p.js b/assets/columns-hGlKOK8p.js new file mode 100644 index 000000000..bdfe3554f --- /dev/null +++ b/assets/columns-hGlKOK8p.js @@ -0,0 +1 @@ +import{f as r}from"./dateUtil-CLVblcqH.js";import{k as s,a as l}from"./vue-Dbi1xauY.js";import{U as d}from"./antdv-CA3HmnGF.js";function c(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!l(t)}const m=[{title:"ID",dataIndex:"id",sorter:!0,width:60},{title:"字典项键名",dataIndex:"label"},{title:"字典项值",dataIndex:"value"},{title:"排序",dataIndex:"orderNo"},{title:"状态",dataIndex:"status",width:80,customRender:({record:t})=>{const a=~~t.status===1,n=a?"green":"red",e=a?"启用":"停用";return s(d,{color:n},c(e)?e:{default:()=>[e]})}},{title:"备注",dataIndex:"remark"},{title:"更新时间",dataIndex:"updatedAt",sorter:!0,width:160,customRender:({record:t})=>r(t.createdAt)}],f=(t,o)=>[{field:"typeId",label:"字典类型",component:"Select",colProps:{span:8},componentProps:{options:t,onChange:o}},{field:"label",label:"字典项键名",component:"Input",colProps:{span:8}},{field:"value",label:"字典项值",component:"Input",colProps:{span:8}}];export{m as b,f as g}; diff --git a/assets/common-Cs_BZJVP.js b/assets/common-Cs_BZJVP.js new file mode 100644 index 000000000..ec24af725 --- /dev/null +++ b/assets/common-Cs_BZJVP.js @@ -0,0 +1 @@ +import"./antdv-CA3HmnGF.js";const a=(i=100,t=!0)=>{const{promise:r,resolve:e}=Promise.withResolvers();return setTimeout(()=>{e(t)},i),r};function d(i,t,r="id",e=[]){for(const n of i){const o=[...e,n[r]];if(n.id===t)return o;if(n.children&&n.children.length>0){const c=d(n.children,t,r,o);if(c)return c}}return null}const f=(i,t=[],r=":")=>i.split(r).reduce((e,n,o,c)=>{const l=c.slice(0,o+1).join(":"),h=e.findIndex(s=>(s==null?void 0:s.path)===l);if(h!==-1)return e[h].children;{const s={path:l,value:n,label:n,children:[]};return e.push(s),s.children}},t);export{d as f,f as s,a as w}; diff --git a/assets/comp-not-found-D70RKVnQ.js b/assets/comp-not-found-D70RKVnQ.js new file mode 100644 index 000000000..4284cde0c --- /dev/null +++ b/assets/comp-not-found-D70RKVnQ.js @@ -0,0 +1 @@ +import{ab as o}from"./antdv-CA3HmnGF.js";import{W as t,X as e}from"./vue-Dbi1xauY.js";const p=Object.assign({name:"ComponentNotFound"},{__name:"comp-not-found",setup(a){return(s,_)=>{const n=o;return t(),e(n,{status:"warning",title:"当前路由缺失前端对应的路由组件导致无法正常显示,请联系开发人员或管理员!"})}}});export{p as default}; diff --git a/assets/createContextMenu-BfBSxQmn.js b/assets/createContextMenu-BfBSxQmn.js new file mode 100644 index 000000000..92f5b1f19 --- /dev/null +++ b/assets/createContextMenu-BfBSxQmn.js @@ -0,0 +1 @@ +import{d as g,f as w,c as k,k as s,u as E,a as L,F as M,x as j}from"./vue-Dbi1xauY.js";import{I as D}from"./index-D5NK1dvb.js";import{x as b,y as O}from"./antdv-CA3HmnGF.js";import{b as P}from"./is-bed24ebq.js";function S(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!L(e)}const _={width:{type:Number,default:156},customEvent:{type:Object,default:null},styles:{type:Object},showIcon:{type:Boolean,default:!0},axis:{type:Object,default(){return{x:0,y:0}}},items:{type:Array,default(){return[]}}},x=e=>{const{item:o}=e;return s("span",{style:"display: inline-block; width: 100%; ",class:"px-4",onClick:e.handler.bind(null,o)},[e.showIcon&&o.icon&&s(D,{class:"mr-2",type:o.icon},null),s("span",null,[o.label])])},$=g({name:"ContextMenu",props:_,setup(e,{expose:o}){const y=w(!0),r=k(()=>{const{axis:l,items:t,styles:n,width:i}=e,{x:c,y:d}=l||{x:0,y:0},v=(t||[]).length*40,p=i,h=document.body,I=h.clientWidth{y.value=!1};function u(l,t){const{handler:n,disabled:i}=l;i||(t==null||t.stopPropagation(),t==null||t.preventDefault(),n==null||n(),a())}function f(l){return l.filter(n=>!n.hidden).map(n=>{const{disabled:i,label:c,children:d,divider:v=!1}=n,p={item:n,handler:u,showIcon:e.showIcon};return!d||d.length===0?s(M,null,[s(b.Item,{disabled:i,key:c},{default:()=>[s(x,p,null)]}),v?s(b.Divider,{key:`d-${c}`},null):null]):s(b.SubMenu,{key:c,disabled:i},{title:()=>s(x,p,null),default:()=>f(d)})})}return o({close:a}),()=>{const{items:l}=e;return s(O,{open:y.value},{default:()=>s("div",{style:E(r)},null),overlay:()=>{let t;return s(b,{inlineIndent:12,mode:"vertical"},S(t=f(l))?t:{default:()=>[t]})}})}}}),m={domList:[],resolve:()=>{}},V=function(e){const{event:o}=e||{};if(o&&(o==null||o.preventDefault()),!!P)return new Promise(y=>{const r=document.body,a=document.createElement("div"),u={getPopupContainer:()=>a};e.styles&&(u.styles=e.styles),e.items&&(u.items=e.items),e.event&&(u.customEvent=o,u.axis={x:o.clientX,y:o.clientY});const f=s($,u);j(f,a);const l=function(){m.resolve("")};m.domList.push(a);const t=function(){m.domList.forEach(n=>{try{n&&r.removeChild(n)}catch{}}),r.removeEventListener("click",l),r.removeEventListener("scroll",l)};m.resolve=function(n){var i,c;(c=(i=f.component)==null?void 0:i.exposed)==null||c.close(),t(),y(n)},t(),r.appendChild(a),r.addEventListener("click",l),r.addEventListener("scroll",l)})},W=function(){m&&(m.resolve(""),m.domList=[])};export{V as c,W as d}; diff --git a/assets/custom-modal-DH3-QIZ5.js b/assets/custom-modal-DH3-QIZ5.js new file mode 100644 index 000000000..e917ae893 --- /dev/null +++ b/assets/custom-modal-DH3-QIZ5.js @@ -0,0 +1 @@ +import{_ as v}from"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as r}from"./useModal-D-vJhjJN.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{ac as b,ae as k,a0 as h}from"./antdv-CA3HmnGF.js";import"./index-D5NK1dvb.js";import{d as C,r as y,W as M,a5 as x,k as e,Y as o,G as n,u as s,a6 as m,ac as g}from"./vue-Dbi1xauY.js";import"./is-bed24ebq.js";const w=m("span",{class:"text-red-500"}," Tips: 如果你的弹窗依赖于App上下文(provide/inject),你应该使用`useModal组件方式` ",-1),O=m("a",{class:"text-blue-500",target:"_blank",href:"https://github.com/buqiyuan/vue3-antdv-admin/blob/main/src/views/demos/custom-modal.vue"}," 查看源码 ",-1),E=C({name:"CustomModal",__name:"custom-modal",setup(U){const[d]=r(),[i]=r(),t=y({visible:!1}),c=()=>{d.show({title:"我是hook纯函数式模态框",content:"hello"})},u=()=>{i.show({title:"我是UseModalComp",content:"嘿嘿嘿"})},_=()=>{t.visible=!1};return(B,a)=>{const l=g("a-button"),f=b;return M(),x("div",null,[e(s(k),{message:"自定义模态框",type:"info","show-icon":"",style:{"margin-bottom":"12px"}},{description:o(()=>[n(" 对ant-design-vue的modal进行二次封装,自定义一个可拖拽、可调整大小的模态框, "),w,O]),_:1}),e(f,null,{default:o(()=>[e(s(h),null,{default:o(()=>[e(l,{type:"primary",onClick:a[0]||(a[0]=p=>t.visible=!0)},{default:o(()=>[n("普通组件方式")]),_:1}),e(l,{type:"primary",onClick:u},{default:o(()=>[n("useModal组件方式")]),_:1}),e(l,{type:"primary",onClick:c},{default:o(()=>[n("hook纯函数式")]),_:1})]),_:1})]),_:1}),e(s(v),{open:t.visible,"onUpdate:open":a[1]||(a[1]=p=>t.visible=p),onOk:_},null,8,["open"]),e(s(i))])}}});export{E as default}; diff --git a/assets/dateUtil-CLVblcqH.js b/assets/dateUtil-CLVblcqH.js new file mode 100644 index 000000000..0e63fc663 --- /dev/null +++ b/assets/dateUtil-CLVblcqH.js @@ -0,0 +1 @@ +import{aU as t}from"./antdv-CA3HmnGF.js";const s="YYYY-MM-DD HH:mm:ss";function r(a,o=s){return t(a).format(o)}const e=t;export{e as d,r as f}; diff --git a/assets/dynamic-table-BEdsLSS6.js b/assets/dynamic-table-BEdsLSS6.js new file mode 100644 index 000000000..d68ba01ce --- /dev/null +++ b/assets/dynamic-table-BEdsLSS6.js @@ -0,0 +1,104 @@ +var Bo=Object.defineProperty;var Mo=(e,t,r)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var u0=(e,t,r)=>(Mo(e,typeof t!="symbol"?t+"":t,r),r);import{C as Uo,D as Wo,h as Qn,E as Ho,F as Vo,G as Li,d as Xo,H as Go,_ as e0}from"./index-D5NK1dvb.js";import{aL as A0,c as Ba,aJ as C0,ap as Qs,o as b0,e as zo,ai as Ja,av as ka,aP as Mn,i as Bi,b1 as $o,K as Pt,af as V0,b2 as Ko,y as jo,x as Sn,b3 as Yo,b4 as Jo,b5 as qo,aA as Zo,b6 as ef,b7 as Qo,V as el,q as rl,P as tl,aX as Mi,I as al,O as nl,N as il,a0 as rf,aR as sl,aY as fl,S as cl,b8 as ol,p as ll,b9 as ul,ba as hl,L as xl,a_ as dl,bb as pl,bc as vl}from"./antdv-CA3HmnGF.js";import{f as He,w as Zt,u as re,y as Qt,k as ye,_ as qa,p as ml,i as gl,c as cr,h as tf,r as _l,J as wl,g as af,d as ft,ac as X0,W as Me,a5 as Tt,ae as Kt,F as Za,Y as we,G as qr,ak as xr,au as ga,av as _a,X as lr,ad as rt,l as Un,a6 as gr,Z as tt,ai as Ui,af as kl,H as El,am as Bn,ay as nf,E as Tl}from"./vue-Dbi1xauY.js";import{a as Sl,s as Fl,S as yl,_ as Wi}from"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{i as h0,a as sf}from"./is-bed24ebq.js";function gk(e){const t=He({});async function r(){await Qt();const i=re(t);return A0(i)&&console.error("未获取表格实例!"),i}Zt(()=>e,async()=>{var i;if(e){await Qt();const s=await r();(i=s==null?void 0:s.setProps)==null||i.call(s,e)}},{deep:!0,flush:"post"});const a=new Proxy(t,{get(i,s){return Reflect.has(i,s)?re(i):i.value&&Reflect.has(i.value,s)?Reflect.get(i.value,s):async(...f)=>{var o;const c=await r();return(o=c==null?void 0:c[s])==null?void 0:o.call(c,...f)}}});return[(i,{attrs:s,slots:f})=>ye(lk,qa({ref:t},{...s,...e,...i}),f),re(a)]}const ff=Symbol("dynamic-table");function Al(e){ml(ff,e)}function sa(){return gl(ff)}var Qa=(e=>(e.ACTION="ACTION",e.INDEX="INDEX",e))(Qa||{});const cf=Object.values(Qa);var of={exports:{}};(function(e,t){(function(r,a){a()})(Ba,function(){function r(o,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}function a(o,l,u){var h=new XMLHttpRequest;h.open("GET",o),h.responseType="blob",h.onload=function(){c(h.response,l,u)},h.onerror=function(){console.error("could not download file")},h.send()}function n(o){var l=new XMLHttpRequest;l.open("HEAD",o,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function i(o){try{o.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),o.dispatchEvent(l)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ba=="object"&&Ba.global===Ba?Ba:void 0,f=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(o,l,u){var h=s.URL||s.webkitURL,x=document.createElement("a");l=l||o.name||"download",x.download=l,x.rel="noopener",typeof o=="string"?(x.href=o,x.origin===location.origin?i(x):n(x.href)?a(o,l,u):i(x,x.target="_blank")):(x.href=h.createObjectURL(o),setTimeout(function(){h.revokeObjectURL(x.href)},4e4),setTimeout(function(){i(x)},0))}:"msSaveOrOpenBlob"in navigator?function(o,l,u){if(l=l||o.name||"download",typeof o!="string")navigator.msSaveOrOpenBlob(r(o,u),l);else if(n(o))a(o,l,u);else{var h=document.createElement("a");h.href=o,h.target="_blank",setTimeout(function(){i(h)})}}:function(o,l,u,h){if(h=h||open("","_blank"),h&&(h.document.title=h.document.body.innerText="downloading..."),typeof o=="string")return a(o,l,u);var x=o.type==="application/octet-stream",p=/constructor/i.test(s.HTMLElement)||s.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||x&&p||f)&&typeof FileReader<"u"){var v=new FileReader;v.onloadend=function(){var m=v.result;m=d?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=m:location=m,h=null},v.readAsDataURL(o)}else{var w=s.URL||s.webkitURL,k=w.createObjectURL(o);h?h.location=k:location.href=k,h=null,setTimeout(function(){w.revokeObjectURL(k)},4e4)}});s.saveAs=c.saveAs=c,e.exports=c})})(of);var Cl=of.exports;/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Wn={};Wn.version="0.18.5";var lf=1252,bl=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],G0={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},z0=function(e){bl.indexOf(e)!=-1&&(lf=G0[0]=e)};function Dl(){z0(1252)}var at=function(e){z0(e)};function $0(){at(1200),Dl()}function Hi(e){for(var t=[],r=0,a=e.length;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function uf(e){for(var t=[],r=0;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var Ua=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?Ol(e.slice(2)):t==254&&r==255?uf(e.slice(2)):t==65279?e.slice(1):e},Fn=function(t){return String.fromCharCode(t)},Vi=function(t){return String.fromCharCode(t)},Ot,It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function en(e){for(var t="",r=0,a=0,n=0,i=0,s=0,f=0,c=0,o=0;o>2,a=e.charCodeAt(o++),s=(r&3)<<4|a>>4,n=e.charCodeAt(o++),f=(a&15)<<2|n>>6,c=n&63,isNaN(a)?f=c=64:isNaN(n)&&(c=64),t+=It.charAt(i)+It.charAt(s)+It.charAt(f)+It.charAt(c);return t}function Hr(e){var t="",r=0,a=0,n=0,i=0,s=0,f=0,c=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var o=0;o>4,t+=String.fromCharCode(r),f=It.indexOf(e.charAt(o++)),a=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(a)),c=It.indexOf(e.charAt(o++)),n=(f&3)<<6|c,c!==64&&(t+=String.fromCharCode(n));return t}var Ae=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Ft=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Bt(e){return Ae?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Xi(e){return Ae?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Ur=function(t){return Ae?Ft(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function r0(e){if(typeof ArrayBuffer>"u")return Ur(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),a=0;a!=e.length;++a)r[a]=e.charCodeAt(a)&255;return t}function Ht(e){if(Array.isArray(e))return e.map(function(a){return String.fromCharCode(a)}).join("");for(var t=[],r=0;r"u")throw new Error("Unsupported");return new Uint8Array(e)}function K0(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return K0(new Uint8Array(e));for(var t=new Array(e.length),r=0;r>6&31,n[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[r++]=240|s>>8&7,n[r++]=128|s>>2&63,n[r++]=128|f>>6&15|(s&3)<<4,n[r++]=128|f&63}else n[r++]=224|s>>12&15,n[r++]=128|s>>6&63,n[r++]=128|s&63;r>a&&(t.push(n.slice(0,r)),r=0,n=Bt(65535),a=65530)}return t.push(n.slice(0,r)),dr(t)}var Ir=/\u0000/g,Wa=/[\u0001-\u0006]/g;function Ea(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function nt(e,t){var r=""+e;return r.length>=t?r:Je("0",t-r.length)+r}function j0(e,t){var r=""+e;return r.length>=t?r:Je(" ",t-r.length)+r}function Hn(e,t){var r=""+e;return r.length>=t?r:r+Je(" ",t-r.length)}function Nl(e,t){var r=""+Math.round(e);return r.length>=t?r:Je("0",t-r.length)+r}function Pl(e,t){var r=""+e;return r.length>=t?r:Je("0",t-r.length)+r}var Gi=Math.pow(2,32);function da(e,t){if(e>Gi||e<-Gi)return Nl(e,t);var r=Math.round(e);return Pl(r,t)}function Vn(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var zi=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],x0=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Ll(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var me={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},$i={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Bl={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Xn(e,t,r){for(var a=e<0?-1:1,n=e*a,i=0,s=1,f=0,c=1,o=0,l=0,u=Math.floor(n);ot&&(o>t?(l=c,f=i):(l=o,f=s)),!r)return[0,a*f,l];var h=Math.floor(a*f/l);return[h,a*f-h*l,l]}function Rt(e,t,r){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0,s=[],f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(a+=1462),f.u>.9999&&(f.u=0,++n==86400&&(f.T=n=0,++a,++f.D)),a===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(a===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{a>60&&--a;var c=new Date(1900,0,1);c.setDate(c.getDate()+a-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],i=c.getDay(),a<60&&(i=(i+6)%7),r&&(i=Xl(c,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=n%60,n=Math.floor(n/60),f.M=n%60,n=Math.floor(n/60),f.H=n,f.q=i,f}var hf=new Date(1899,11,31,0,0,0),Ml=hf.getTime(),Ul=new Date(1900,2,1,0,0,0);function xf(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Ul&&(r+=24*60*60*1e3),(r-(Ml+(e.getTimezoneOffset()-hf.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Y0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Wl(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Hl(e){var t=e<0?12:11,r=Y0(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function Vl(e){var t=Y0(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function rn(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=Hl(e):t===10?r=e.toFixed(10).substr(0,12):r=Vl(e),Y0(Wl(r.toUpperCase()))}function ea(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):rn(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Vr(14,xf(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Xl(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function Gl(e,t,r,a){var n="",i=0,s=0,f=r.y,c,o=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:c=f%100,o=2;break;default:c=f%1e4,o=4;break}break;case 109:switch(t.length){case 1:case 2:c=r.m,o=t.length;break;case 3:return x0[r.m-1][1];case 5:return x0[r.m-1][0];default:return x0[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=r.d,o=t.length;break;case 3:return zi[r.q][0];default:return zi[r.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(r.H+11)%12,o=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:c=r.H,o=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:c=r.M,o=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?nt(r.S,t.length):(a>=2?s=a===3?1e3:100:s=a===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(n=nt(i,2+a),t==="ss"?n.substr(0,2):"."+n.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":c=r.D*24+r.H;break;case"[m]":case"[mm]":c=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":c=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}o=t.length===3?1:2;break;case 101:c=f,o=1;break}var l=o>0?nt(c,o):"";return l}function Nt(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,a=e.substr(0,r);r!=e.length;r+=t)a+=(a.length>0?",":"")+e.substr(r,t);return a}var df=/%/g;function zl(e,t,r){var a=t.replace(df,""),n=t.length-a.length;return kt(e,a,r*Math.pow(10,2*n))+Je("%",n)}function $l(e,t,r){for(var a=t.length-1;t.charCodeAt(a-1)===44;)--a;return kt(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function pf(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+pf(e,-t);var n=e.indexOf(".");n===-1&&(n=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%n;if(i<0&&(i+=n),r=(t/Math.pow(10,i)).toPrecision(a+1+(n+i)%n),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,n)+"."+r.substr(2+n),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,c,o,l){return c+o+l.substr(0,(n+i)%n)+"."+l.substr(i)+"E"})}else r=t.toExponential(a);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var vf=/# (\?+)( ?)\/( ?)(\d+)/;function Kl(e,t,r){var a=parseInt(e[4],10),n=Math.round(t*a),i=Math.floor(n/a),s=n-i*a,f=a;return r+(i===0?"":""+i)+" "+(s===0?Je(" ",e[1].length+1+e[4].length):j0(s,e[1].length)+e[2]+"/"+e[3]+nt(f,e[4].length))}function jl(e,t,r){return r+(t===0?"":""+t)+Je(" ",e[1].length+2+e[4].length)}var mf=/^#*0*\.([0#]+)/,gf=/\).*[0#]/,_f=/\(###\) ###\\?-####/;function Dr(e){for(var t="",r,a=0;a!=e.length;++a)switch(r=e.charCodeAt(a)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function Ki(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function ji(e,t){var r=e-Math.floor(e),a=Math.pow(10,t);return t<(""+Math.round(r*a)).length?0:Math.round(r*a)}function Yl(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Jl(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function $r(e,t,r){if(e.charCodeAt(0)===40&&!t.match(gf)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?$r("n",a,r):"("+$r("n",a,-r)+")"}if(t.charCodeAt(t.length-1)===44)return $l(e,t,r);if(t.indexOf("%")!==-1)return zl(e,t,r);if(t.indexOf("E")!==-1)return pf(t,r);if(t.charCodeAt(0)===36)return"$"+$r(e,t.substr(t.charAt(1)==" "?2:1),r);var n,i,s,f,c=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+da(c,t.length);if(t.match(/^[#?]+$/))return n=da(r,0),n==="0"&&(n=""),n.length>t.length?n:Dr(t.substr(0,t.length-n.length))+n;if(i=t.match(vf))return Kl(i,c,o);if(t.match(/^#+0+$/))return o+da(c,t.length-t.indexOf("0"));if(i=t.match(mf))return n=Ki(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Dr(i[1])).replace(/\.$/,"."+Dr(i[1])).replace(/\.(\d*)$/,function(p,d){return"."+d+Je("0",Dr(i[1]).length-d.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+Ki(c,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return o+Nt(da(c,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+$r(e,t,-r):Nt(""+(Math.floor(r)+Yl(r,i[1].length)))+"."+nt(ji(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return $r(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=Ea($r(e,t.replace(/[\\-]/g,""),r)),s=0,Ea(Ea(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s=0?ut("n",a,r):"("+ut("n",a,-r)+")"}if(t.charCodeAt(t.length-1)===44)return ql(e,t,r);if(t.indexOf("%")!==-1)return Zl(e,t,r);if(t.indexOf("E")!==-1)return wf(t,r);if(t.charCodeAt(0)===36)return"$"+ut(e,t.substr(t.charAt(1)==" "?2:1),r);var n,i,s,f,c=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+nt(c,t.length);if(t.match(/^[#?]+$/))return n=""+r,r===0&&(n=""),n.length>t.length?n:Dr(t.substr(0,t.length-n.length))+n;if(i=t.match(vf))return jl(i,c,o);if(t.match(/^#+0+$/))return o+nt(c,t.length-t.indexOf("0"));if(i=t.match(mf))return n=(""+r).replace(/^([^\.]+)$/,"$1."+Dr(i[1])).replace(/\.$/,"."+Dr(i[1])),n=n.replace(/\.(\d*)$/,function(p,d){return"."+d+Je("0",Dr(i[1]).length-d.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return o+Nt(""+c);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ut(e,t,-r):Nt(""+r)+"."+Je("0",i[1].length);if(i=t.match(/^#,#*,#0/))return ut(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=Ea(ut(e,t.replace(/[\\-]/g,""),r)),s=0,Ea(Ea(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":++t;break;default:++t;break}return!1}function eu(e,t,r,a){for(var n=[],i="",s=0,f="",c="t",o,l,u,h="H";s=12?"P":"A"),d.t="T",h="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(o!=null&&(d.v=o.H>=12?"PM":"AM"),d.t="T",s+=5,h="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(o!=null&&(d.v=o.H>=12?"下午":"上午"),d.t="T",s+=5,h="h"):(d.t="t",++s),o==null&&d.t==="T")return"";n[n.length]=d,c=f;break;case"[":for(i=f;e.charAt(s++)!=="]"&&s-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",fa(e)||(n[n.length]={t:"t",v:i}));break;case".":if(o!=null){for(i=f;++s-1;)i+=f;n[n.length]={t:"n",v:i};break;case"?":for(i=f;e.charAt(++s)===f;)i+=f;n[n.length]={t:f,v:i},c=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":n[n.length]={t:a===1?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=f;s-1;)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f},++s;break;case"$":n[n.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f},++s;break}var v=0,w=0,k;for(s=n.length-1,c="t";s>=0;--s)switch(n[s].t){case"h":case"H":n[s].t=h,c="h",v<1&&(v=1);break;case"s":(k=n[s].v.match(/\.0+$/))&&(w=Math.max(w,k[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":c=n[s].t;break;case"m":c==="s"&&(n[s].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&n[s].v.match(/[Hh]/)&&(v=1),v<2&&n[s].v.match(/[Mm]/)&&(v=2),v<3&&n[s].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M),o.M>=60&&(o.M=0,++o.H);break;case 2:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M);break}var m="",y;for(s=0;s0){m.charCodeAt(0)==40?(S=t<0&&m.charCodeAt(0)===45?-t:t,_=kt("n",m,S)):(S=t<0&&a>1?-t:t,_=kt("n",m,S),S<0&&n[0]&&n[0].t=="t"&&(_=_.substr(1),n[0].v="-"+n[0].v)),y=_.length-1;var N=n.length;for(s=0;s-1){N=s;break}var O=n.length;if(N===n.length&&_.indexOf("E")===-1){for(s=n.length-1;s>=0;--s)n[s]==null||"n?".indexOf(n[s].t)===-1||(y>=n[s].v.length-1?(y-=n[s].v.length,n[s].v=_.substr(y+1,n[s].v.length)):y<0?n[s].v="":(n[s].v=_.substr(0,y+1),y=-1),n[s].t="t",O=s);y>=0&&O=0;--s)if(!(n[s]==null||"n?".indexOf(n[s].t)===-1)){for(l=n[s].v.indexOf(".")>-1&&s===N?n[s].v.indexOf(".")-1:n[s].v.length-1,I=n[s].v.substr(l+1);l>=0;--l)y>=0&&(n[s].v.charAt(l)==="0"||n[s].v.charAt(l)==="#")&&(I=_.charAt(y--)+I);n[s].v=I,n[s].t="t",O=s}for(y>=0&&O-1&&s===N?n[s].v.indexOf(".")+1:0,I=n[s].v.substr(0,l);l-1&&(S=a>1&&t<0&&s>0&&n[s-1].v==="-"?-t:t,n[s].v=kt(n[s].t,n[s].v,S),n[s].t="t");var G="";for(s=0;s!==n.length;++s)n[s]!=null&&(G+=n[s].v);return G}var Yi=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ji(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function ru(e,t){var r=Ql(e),a=r.length,n=r[a-1].indexOf("@");if(a<4&&n>-1&&--a,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||n>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=n>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=n>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=n>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[a,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(Yi),f=r[1].match(Yi);return Ji(t,s)?[a,r[0]]:Ji(t,f)?[a,r[1]]:[a,r[s!=null&&f!=null?2:1]]}return[a,i]}function Vr(e,t,r){r==null&&(r={});var a="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?a=r.dateNF:a=e;break;case"number":e==14&&r.dateNF?a=r.dateNF:a=(r.table!=null?r.table:me)[e],a==null&&(a=r.table&&r.table[$i[e]]||me[$i[e]]),a==null&&(a=Bl[e]||"General");break}if(Vn(a,0))return ea(t,r);t instanceof Date&&(t=xf(t,r.date1904));var n=ru(a,t);if(Vn(n[1]))return ea(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return eu(n[1],t,r,n[0])}function dt(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(me[r]==null){t<0&&(t=r);continue}if(me[r]==e){t=r;break}}t<0&&(t=391)}return me[t]=e,t}function dn(e){for(var t=0;t!=392;++t)e[t]!==void 0&&dt(e[t],t)}function ba(){me=Ll()}var Ef={format:Vr,load:dt,_table:me,load_table:dn,parse_date_code:Rt,is_date:fa,get_table:function(){return Ef._table=me}},tu={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Tf=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function au(e){var t=typeof e=="number"?me[e]:e;return t=t.replace(Tf,"(\\d+)"),new RegExp("^"+t+"$")}function nu(e,t,r){var a=-1,n=-1,i=-1,s=-1,f=-1,c=-1;(t.match(Tf)||[]).forEach(function(u,h){var x=parseInt(r[h+1],10);switch(u.toLowerCase().charAt(0)){case"y":a=x;break;case"d":i=x;break;case"h":s=x;break;case"s":c=x;break;case"m":s>=0?f=x:n=x;break}}),c>=0&&f==-1&&n>=0&&(f=n,n=-1);var o=(""+(a>=0?a:new Date().getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);o.length==7&&(o="0"+o),o.length==8&&(o="20"+o);var l=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return s==-1&&f==-1&&c==-1?o:a==-1&&n==-1&&i==-1?l:o+"T"+l}var iu=function(){var e={};e.version="1.2.0";function t(){for(var _=0,N=new Array(256),O=0;O!=256;++O)_=O,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,_=_&1?-306674912^_>>>1:_>>>1,N[O]=_;return typeof Int32Array<"u"?new Int32Array(N):N}var r=t();function a(_){var N=0,O=0,G=0,M=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(G=0;G!=256;++G)M[G]=_[G];for(G=0;G!=256;++G)for(O=_[G],N=256+G;N<4096;N+=256)O=M[N]=O>>>8^_[O&255];var L=[];for(G=1;G!=16;++G)L[G-1]=typeof Int32Array<"u"?M.subarray(G*256,G*256+256):M.slice(G*256,G*256+256);return L}var n=a(r),i=n[0],s=n[1],f=n[2],c=n[3],o=n[4],l=n[5],u=n[6],h=n[7],x=n[8],p=n[9],d=n[10],v=n[11],w=n[12],k=n[13],m=n[14];function y(_,N){for(var O=N^-1,G=0,M=_.length;G>>8^r[(O^_.charCodeAt(G++))&255];return~O}function I(_,N){for(var O=N^-1,G=_.length-15,M=0;M>8&255]^w[_[M++]^O>>16&255]^v[_[M++]^O>>>24]^d[_[M++]]^p[_[M++]]^x[_[M++]]^h[_[M++]]^u[_[M++]]^l[_[M++]]^o[_[M++]]^c[_[M++]]^f[_[M++]]^s[_[M++]]^i[_[M++]]^r[_[M++]];for(G+=15;M>>8^r[(O^_[M++])&255];return~O}function S(_,N){for(var O=N^-1,G=0,M=_.length,L=0,J=0;G>>8^r[(O^L)&255]:L<2048?(O=O>>>8^r[(O^(192|L>>6&31))&255],O=O>>>8^r[(O^(128|L&63))&255]):L>=55296&&L<57344?(L=(L&1023)+64,J=_.charCodeAt(G++)&1023,O=O>>>8^r[(O^(240|L>>8&7))&255],O=O>>>8^r[(O^(128|L>>2&63))&255],O=O>>>8^r[(O^(128|J>>6&15|(L&3)<<4))&255],O=O>>>8^r[(O^(128|J&63))&255]):(O=O>>>8^r[(O^(224|L>>12&15))&255],O=O>>>8^r[(O^(128|L>>6&63))&255],O=O>>>8^r[(O^(128|L&63))&255]);return~O}return e.table=r,e.bstr=y,e.buf=I,e.str=S,e}(),ve=function(){var t={};t.version="1.2.1";function r(g,F){for(var E=g.split("/"),T=F.split("/"),A=0,C=0,W=Math.min(E.length,T.length);A>>1,g.write_shift(2,E);var T=F.getFullYear()-1980;T=T<<4|F.getMonth()+1,T=T<<5|F.getDate(),g.write_shift(2,T)}function s(g){var F=g.read_shift(2)&65535,E=g.read_shift(2)&65535,T=new Date,A=E&31;E>>>=5;var C=E&15;E>>>=4,T.setMilliseconds(0),T.setFullYear(E+1980),T.setMonth(C-1),T.setDate(A);var W=F&31;F>>>=5;var j=F&63;return F>>>=6,T.setHours(F),T.setMinutes(j),T.setSeconds(W<<1),T}function f(g){mr(g,0);for(var F={},E=0;g.l<=g.length-4;){var T=g.read_shift(2),A=g.read_shift(2),C=g.l+A,W={};switch(T){case 21589:E=g.read_shift(1),E&1&&(W.mtime=g.read_shift(4)),A>5&&(E&2&&(W.atime=g.read_shift(4)),E&4&&(W.ctime=g.read_shift(4))),W.mtime&&(W.mt=new Date(W.mtime*1e3));break}g.l=C,F[T]=W}return F}var c;function o(){return c||(c={})}function l(g,F){if(g[0]==80&&g[1]==75)return Pi(g,F);if((g[0]|32)==109&&(g[1]|32)==105)return Oo(g,F);if(g.length<512)throw new Error("CFB file size "+g.length+" < 512");var E=3,T=512,A=0,C=0,W=0,j=0,U=0,H=[],X=g.slice(0,512);mr(X,0);var Z=u(X);switch(E=Z[0],E){case 3:T=512;break;case 4:T=4096;break;case 0:if(Z[1]==0)return Pi(g,F);default:throw new Error("Major Version: Expected 3 or 4 saw "+E)}T!==512&&(X=g.slice(0,T),mr(X,28));var fe=g.slice(0,T);h(X,E);var de=X.read_shift(4,"i");if(E===3&&de!==0)throw new Error("# Directory Sectors: Expected 0 saw "+de);X.l+=4,W=X.read_shift(4,"i"),X.l+=4,X.chk("00100000","Mini Stream Cutoff Size: "),j=X.read_shift(4,"i"),A=X.read_shift(4,"i"),U=X.read_shift(4,"i"),C=X.read_shift(4,"i");for(var ae=-1,he=0;he<109&&(ae=X.read_shift(4,"i"),!(ae<0));++he)H[he]=ae;var Ee=x(g,T);v(U,C,Ee,T,H);var $e=k(Ee,W,H,T);$e[W].name="!Directory",A>0&&j!==J&&($e[j].name="!MiniFAT"),$e[H[0]].name="!FAT",$e.fat_addrs=H,$e.ssz=T;var Ke={},wr=[],Na=[],Pa=[];m(W,$e,Ee,wr,A,Ke,Na,j),p(Na,Pa,wr),wr.shift();var La={FileIndex:Na,FullPaths:Pa};return F&&F.raw&&(La.raw={header:fe,sectors:Ee}),La}function u(g){if(g[g.l]==80&&g[g.l+1]==75)return[0,0];g.chk(oe,"Header Signature: "),g.l+=16;var F=g.read_shift(2,"u");return[g.read_shift(2,"u"),F]}function h(g,F){var E=9;switch(g.l+=2,E=g.read_shift(2)){case 9:if(F!=3)throw new Error("Sector Shift: Expected 9 saw "+E);break;case 12:if(F!=4)throw new Error("Sector Shift: Expected 12 saw "+E);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+E)}g.chk("0600","Mini Sector Shift: "),g.chk("000000000000","Reserved: ")}function x(g,F){for(var E=Math.ceil(g.length/F)-1,T=[],A=1;A0&&W>=0;)C.push(F.slice(W*L,W*L+L)),A-=L,W=$t(E,W*4);return C.length===0?z(0):dr(C).slice(0,g.size)}function v(g,F,E,T,A){var C=J;if(g===J){if(F!==0)throw new Error("DIFAT chain shorter than expected")}else if(g!==-1){var W=E[g],j=(T>>>2)-1;if(!W)return;for(var U=0;U=0;){A[U]=!0,C[C.length]=U,W.push(g[U]);var X=E[Math.floor(U*4/T)];if(H=U*4&j,T<4+H)throw new Error("FAT boundary crossed: "+U+" 4 "+T);if(!g[X])break;U=$t(g[X],H)}return{nodes:C,data:cs([W])}}function k(g,F,E,T){var A=g.length,C=[],W=[],j=[],U=[],H=T-1,X=0,Z=0,fe=0,de=0;for(X=0;X=A&&(fe-=A),!W[fe]){U=[];var ae=[];for(Z=fe;Z>=0;){ae[Z]=!0,W[Z]=!0,j[j.length]=Z,U.push(g[Z]);var he=E[Math.floor(Z*4/T)];if(de=Z*4&H,T<4+de)throw new Error("FAT boundary crossed: "+Z+" 4 "+T);if(!g[he]||(Z=$t(g[he],de),ae[Z]))break}C[fe]={nodes:j,data:cs([U])}}return C}function m(g,F,E,T,A,C,W,j){for(var U=0,H=T.length?2:0,X=F[g].data,Z=0,fe=0,de;Z0&&U!==J&&(F[U].name="!StreamData")):he.size>=4096?(he.storage="fat",F[he.start]===void 0&&(F[he.start]=w(E,he.start,F.fat_addrs,F.ssz)),F[he.start].name=he.name,he.content=F[he.start].data.slice(0,he.size)):(he.storage="minifat",he.size<0?he.size=0:U!==J&&he.start!==J&&F[U]&&(he.content=d(he,F[U].data,(F[j]||{}).data))),he.content&&mr(he.content,0),C[de]=he,W.push(he)}}function y(g,F){return new Date((Mr(g,F+4)/1e7*Math.pow(2,32)+Mr(g,F)/1e7-11644473600)*1e3)}function I(g,F){return o(),l(c.readFileSync(g),F)}function S(g,F){var E=F&&F.type;switch(E||Ae&&Buffer.isBuffer(g)&&(E="buffer"),E||"base64"){case"file":return I(g,F);case"base64":return l(Ur(Hr(g)),F);case"binary":return l(Ur(g),F)}return l(g,F)}function _(g,F){var E=F||{},T=E.root||"Root Entry";if(g.FullPaths||(g.FullPaths=[]),g.FileIndex||(g.FileIndex=[]),g.FullPaths.length!==g.FileIndex.length)throw new Error("inconsistent CFB structure");g.FullPaths.length===0&&(g.FullPaths[0]=T+"/",g.FileIndex[0]={name:T,type:5}),E.CLSID&&(g.FileIndex[0].clsid=E.CLSID),N(g)}function N(g){var F="Sh33tJ5";if(!ve.find(g,"/"+F)){var E=z(4);E[0]=55,E[1]=E[3]=50,E[2]=54,g.FileIndex.push({name:F,type:2,content:E,size:4,L:69,R:69,C:69}),g.FullPaths.push(g.FullPaths[0]+F),O(g)}}function O(g,F){_(g);for(var E=!1,T=!1,A=g.FullPaths.length-1;A>=0;--A){var C=g.FileIndex[A];switch(C.type){case 0:T?E=!0:(g.FileIndex.pop(),g.FullPaths.pop());break;case 1:case 2:case 5:T=!0,isNaN(C.R*C.L*C.C)&&(E=!0),C.R>-1&&C.L>-1&&C.R==C.L&&(E=!0);break;default:E=!0;break}}if(!(!E&&!F)){var W=new Date(1987,1,19),j=0,U=Object.create?Object.create(null):{},H=[];for(A=0;A1?1:-1,Z.size=0,Z.type=5;else if(fe.slice(-1)=="/"){for(j=A+1;j=H.length?-1:j,j=A+1;j=H.length?-1:j,Z.type=1}else a(g.FullPaths[A+1]||"")==a(fe)&&(Z.R=A+1),Z.type=2}}}function G(g,F){var E=F||{};if(E.fileType=="mad")return Io(g,E);switch(O(g),E.fileType){case"zip":return Fo(g,E)}var T=function(de){for(var ae=0,he=0,Ee=0;Ee0&&(Ke<4096?ae+=Ke+63>>6:he+=Ke+511>>9)}}for(var wr=de.FullPaths.length+3>>2,Na=ae+7>>3,Pa=ae+127>>7,La=Na+he+wr+Pa,zt=La+127>>7,l0=zt<=109?0:Math.ceil((zt-109)/127);La+zt+l0+127>>7>zt;)l0=++zt<=109?0:Math.ceil((zt-109)/127);var _t=[1,l0,zt,Pa,wr,he,ae,0];return de.FileIndex[0].size=ae<<6,_t[7]=(de.FileIndex[0].start=_t[0]+_t[1]+_t[2]+_t[3]+_t[4]+_t[5])+(_t[6]+7>>3),_t}(g),A=z(T[7]<<9),C=0,W=0;{for(C=0;C<8;++C)A.write_shift(1,ee[C]);for(C=0;C<8;++C)A.write_shift(2,0);for(A.write_shift(2,62),A.write_shift(2,3),A.write_shift(2,65534),A.write_shift(2,9),A.write_shift(2,6),C=0;C<3;++C)A.write_shift(2,0);for(A.write_shift(4,0),A.write_shift(4,T[2]),A.write_shift(4,T[0]+T[1]+T[2]+T[3]-1),A.write_shift(4,0),A.write_shift(4,4096),A.write_shift(4,T[3]?T[0]+T[1]+T[2]-1:J),A.write_shift(4,T[3]),A.write_shift(-4,T[1]?T[0]-1:J),A.write_shift(4,T[1]),C=0;C<109;++C)A.write_shift(-4,C>9)));for(j(T[6]+7>>3);A.l&511;)A.write_shift(-4,ce.ENDOFCHAIN);for(W=C=0,U=0;U=4096)&&(X.start=W,j(H+63>>6)));for(;A.l&511;)A.write_shift(-4,ce.ENDOFCHAIN);for(C=0;C=4096)if(A.l=X.start+1<<9,Ae&&Buffer.isBuffer(X.content))X.content.copy(A,A.l,0,X.size),A.l+=X.size+511&-512;else{for(U=0;U0&&X.size<4096)if(Ae&&Buffer.isBuffer(X.content))X.content.copy(A,A.l,0,X.size),A.l+=X.size+63&-64;else{for(U=0;U>16|F>>8|F)&255}for(var Q=typeof Uint8Array<"u",q=Q?new Uint8Array(256):[],Fe=0;Fe<256;++Fe)q[Fe]=ne(Fe);function D(g,F){var E=q[g&255];return F<=8?E>>>8-F:(E=E<<8|q[g>>8&255],F<=16?E>>>16-F:(E=E<<8|q[g>>16&255],E>>>24-F))}function Ve(g,F){var E=F&7,T=F>>>3;return(g[T]|(E<=6?0:g[T+1]<<8))>>>E&3}function Oe(g,F){var E=F&7,T=F>>>3;return(g[T]|(E<=5?0:g[T+1]<<8))>>>E&7}function We(g,F){var E=F&7,T=F>>>3;return(g[T]|(E<=4?0:g[T+1]<<8))>>>E&15}function De(g,F){var E=F&7,T=F>>>3;return(g[T]|(E<=3?0:g[T+1]<<8))>>>E&31}function le(g,F){var E=F&7,T=F>>>3;return(g[T]|(E<=1?0:g[T+1]<<8))>>>E&127}function Qe(g,F,E){var T=F&7,A=F>>>3,C=(1<>>T;return E<8-T||(W|=g[A+1]<<8-T,E<16-T)||(W|=g[A+2]<<16-T,E<24-T)||(W|=g[A+3]<<24-T),W&C}function Xr(g,F,E){var T=F&7,A=F>>>3;return T<=5?g[A]|=(E&7)<>8-T),F+3}function ct(g,F,E){var T=F&7,A=F>>>3;return E=(E&1)<>>3;return E<<=T,g[A]|=E&255,E>>>=8,g[A+1]=E,F+8}function Ia(g,F,E){var T=F&7,A=F>>>3;return E<<=T,g[A]|=E&255,E>>>=8,g[A+1]=E&255,g[A+2]=E>>>8,F+16}function Ct(g,F){var E=g.length,T=2*E>F?2*E:F+5,A=0;if(E>=F)return g;if(Ae){var C=Xi(T);if(g.copy)g.copy(C);else for(;A>T-Z,W=(1<=0;--W)F[j|W<0;)U[U.l++]=j[H++]}return U.l}function W(j,U){for(var H=0,X=0,Z=Q?new Uint16Array(32768):[];X0;)U[U.l++]=j[X++];H=U.l*8;continue}H=Xr(U,H,+(X+fe==j.length)+2);for(var de=0;fe-- >0;){var ae=j[X];de=(de<<5^ae)&32767;var he=-1,Ee=0;if((he=Z[de])&&(he|=X&-32768,he>X&&(he-=32768),he2){ae=A[Ee],ae<=22?H=mt(U,H,q[ae+1]>>1)-1:(mt(U,H,3),H+=5,mt(U,H,q[ae-23]>>5),H+=3);var $e=ae<8?0:ae-4>>2;$e>0&&(Ia(U,H,Ee-K[ae]),H+=$e),ae=F[X-he],H=mt(U,H,q[ae]>>3),H-=3;var Ke=ae<4?0:ae-2>>1;Ke>0&&(Ia(U,H,X-he-te[ae]),H+=Ke);for(var wr=0;wr>8-ae;for(var he=(1<<7-ae)-1;he>=0;--he)fr[de|he<>>=3){case 16:for(C=3+Ve(g,F),F+=2,de=Ee[Ee.length-1];C-- >0;)Ee.push(de);break;case 17:for(C=3+Oe(g,F),F+=3;C-- >0;)Ee.push(0);break;case 18:for(C=11+le(g,F),F+=7;C-- >0;)Ee.push(0);break;default:Ee.push(de),U>>0,j=0,U=0;!(T&1);){if(T=Oe(g,E),E+=3,T>>>1)T>>1==1?(j=9,U=5):(E=Eo(g,E),j=Gt,U=Ii);else{E&7&&(E+=8-(E&7));var H=g[E>>>3]|g[(E>>>3)+1]<<8;if(E+=32,H>0)for(!F&&W0;)A[C++]=g[E>>>3],E+=8;continue}for(;;){!F&&W>>1==1?bt[X]:er[X];if(E+=Z&15,Z>>>=4,!(Z>>>8&255))A[C++]=Z;else{if(Z==256)break;Z-=257;var fe=Z<8?0:Z-4>>2;fe>5&&(fe=0);var de=C+K[Z];fe>0&&(de+=Qe(g,E,fe),E+=fe),X=Qe(g,E,U),Z=T>>>1==1?Ra[X]:Gr[X],E+=Z&15,Z>>>=4;var ae=Z<4?0:Z-2>>1,he=te[Z];for(ae>0&&(he+=Qe(g,E,ae),E+=ae),!F&&W>>3]:[A.slice(0,C),E+7>>>3]}function Ri(g,F){var E=g.slice(g.l||0),T=To(E,F);return g.l+=T[1],T[0]}function Ni(g,F){if(g)typeof console<"u"&&console.error(F);else throw new Error(F)}function Pi(g,F){var E=g;mr(E,0);var T=[],A=[],C={FileIndex:T,FullPaths:A};_(C,{root:F.root});for(var W=E.length-4;(E[W]!=80||E[W+1]!=75||E[W+2]!=5||E[W+3]!=6)&&W>=0;)--W;E.l=W+4,E.l+=4;var j=E.read_shift(2);E.l+=6;var U=E.read_shift(4);for(E.l=U,W=0;W0&&(E=E.slice(0,E.length-1),E=E.slice(0,E.lastIndexOf("/")+1),C.slice(0,E.length)!=E););var W=(T[1]||"").match(/boundary="(.*?)"/);if(!W)throw new Error("MAD cannot find boundary");var j="--"+(W[1]||""),U=[],H=[],X={FileIndex:U,FullPaths:H};_(X);var Z,fe=0;for(A=0;A=32&&de<128&&++Z;var he=Z>=fe*4/5;A.push(T),A.push("Content-Location: "+(E.root||"file:///C:/SheetJS/")+W),A.push("Content-Transfer-Encoding: "+(he?"quoted-printable":"base64")),A.push("Content-Type: "+yo(j,W)),A.push(""),A.push(he?Co(X):Ao(X))}return A.push(T+`--\r +`),A.join(`\r +`)}function Ro(g){var F={};return _(F,g),F}function o0(g,F,E,T){var A=T&&T.unsafe;A||_(g);var C=!A&&ve.find(g,F);if(!C){var W=g.FullPaths[0];F.slice(0,W.length)==W?W=F:(W.slice(-1)!="/"&&(W+="/"),W=(W+F).replace("//","/")),C={name:n(F),type:2},g.FileIndex.push(C),g.FullPaths.push(W),A||ve.utils.cfb_gc(g)}return C.content=E,C.size=E?E.length:0,T&&(T.CLSID&&(C.clsid=T.CLSID),T.mt&&(C.mt=T.mt),T.ct&&(C.ct=T.ct)),C}function No(g,F){_(g);var E=ve.find(g,F);if(E){for(var T=0;T3&&(a=!0),n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":r*=24;case"H":r*=60;case"M":if(a)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(n[i],10)}return t}var Qi=new Date("2017-02-19T19:06:09.000Z"),Ff=isNaN(Qi.getFullYear())?new Date("2/19/17"):Qi,uu=Ff.getFullYear()==2017;function Ge(e,t){var r=new Date(e);if(uu)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(Ff.getFullYear()==1917&&!isNaN(r.getFullYear())){var a=r.getFullYear();return e.indexOf(""+a)>-1||r.setFullYear(r.getFullYear()+100),r}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function ra(e,t){if(Ae&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return xt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return xt(uf(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return xt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return xt(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var a=[],n=0;n!=e.length;++n)a.push(String.fromCharCode(e[n]));return a.join("")}function ze(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=ze(e[r]));return t}function Je(e,t){for(var r="";r.length3&&hu.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return a<0||a>8099?r:(n>0||i>1)&&a!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}var xu=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,a,n){if(e||typeof a=="string")return r.split(a);for(var i=r.split(a),s=[i[0]],f=1;f\r +`,pu=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,rs=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,vu=/<[^>]*>/g,Cr=ar.match(rs)?rs:vu,mu=/<\w*:/,gu=/<(\/?)\w+:/;function _e(e,t,r){for(var a={},n=0,i=0;n!==e.length&&!((i=e.charCodeAt(n))===32||i===10||i===13);++n);if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var s=e.match(pu),f=0,c="",o=0,l="",u="",h=1;if(s)for(o=0;o!=s.length;++o){for(u=s[o],i=0;i!=u.length&&u.charCodeAt(i)!==61;++i);for(l=u.slice(0,i).trim();u.charCodeAt(i+1)==32;)++i;for(h=(n=u.charCodeAt(i+1))==34||n==39?1:0,c=u.slice(i+1+h,u.length-h),f=0;f!=l.length&&l.charCodeAt(f)!==58;++f);if(f===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),a[l]=c,r||(a[l.toLowerCase()]=c);else{var x=(f===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(f+1);if(a[x]&&l.slice(f-3,f)=="ext")continue;a[x]=c,r||(a[x.toLowerCase()]=c)}}return a}function pt(e){return e.replace(gu,"<$1")}var Df={""":'"',"'":"'",">":">","<":"<","&":"&"},Z0=t0(Df),Ie=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(a){var n=a+"",i=n.indexOf("-1?16:10))||f}).replace(t,function(f,c){return String.fromCharCode(parseInt(c,16))});var s=n.indexOf("]]>");return r(n.slice(0,i))+n.slice(i+9,s)+r(n.slice(s+3))}}(),Q0=/[&<>'"]/g,_u=/[\u0000-\u0008\u000b-\u001f]/g;function Be(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(_u,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ts(e){return Be(e).replace(/ /g,"_x0020_")}var Of=/[\u0000-\u001f]/g;function ei(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(/\n/g,"
").replace(Of,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function wu(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(Of,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var as=function(){var e=/&#(\d+);/g;function t(r,a){return String.fromCharCode(parseInt(a,10))}return function(a){return a.replace(e,t)}}();function ku(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Xe(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function d0(e){for(var t="",r=0,a=0,n=0,i=0,s=0,f=0;r191&&a<224){s=(a&31)<<6,s|=n&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),a<240){t+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function ns(e){var t=Bt(2*e.length),r,a,n=1,i=0,s=0,f;for(a=0;a>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function is(e){return Ft(e,"binary").toString("utf8")}var yn="foo bar baz☃🍣",Ue=Ae&&(is(yn)==d0(yn)&&is||ns(yn)==d0(yn)&&ns)||d0,xt=Ae?function(e){return Ft(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,a=0,n=0;r>6))),t.push(String.fromCharCode(128+(a&63)));break;case(a>=55296&&a<57344):a-=55296,n=e.charCodeAt(r++)-56320+(a<<10),t.push(String.fromCharCode(240+(n>>18&7))),t.push(String.fromCharCode(144+(n>>12&63))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)))}return t.join("")},tn=function(){var e={};return function(r,a){var n=r+"|"+(a||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a||"")}}(),If=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var a=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` +`).replace(/<[^>]*>/g,""),n=0;n([\\s\\S]*?)","g")}}(),Tu=/<\/?(?:vt:)?variant>/g,Su=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function an(e){return Ze(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function ie(e,t,r){return"<"+e+(r!=null?an(r):"")+(t!=null?(t.match(Rf)?' xml:space="preserve"':"")+">"+t+""}function D0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Fu(e,t){switch(typeof e){case"string":var r=ie("vt:lpwstr",Be(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return ie((e|0)==e?"vt:i4":"vt:r8",Be(String(e)));case"boolean":return ie("vt:bool",e?"true":"false")}if(e instanceof Date)return ie("vt:filetime",D0(e));throw new Error("Unable to serialize "+e)}function ri(e){if(Ae&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return Ue(Ht(K0(e)));throw new Error("Bad input format: expected Buffer or string")}var nn=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,or={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},ca=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Br={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function yu(e,t){for(var r=1-2*(e[t+7]>>>7),a=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),n=e[t+6]&15,i=5;i>=0;--i)n=n*256+e[t+i];return a==2047?n==0?r*(1/0):NaN:(a==0?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}function Au(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,i=0,s=a?-t:t;isFinite(s)?s==0?n=i=0:(n=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-n),n<=-1023&&(!isFinite(i)||i>4|a}var fs=function(e){for(var t=[],r=10240,a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Ft(t)})):fs(e)}:fs,os=function(e,t,r){for(var a=[],n=t;n0?vn(e,t+4,t+4+r-1):""},Lf=Pf,Bf=function(e,t){var r=Mr(e,t);return r>0?vn(e,t+4,t+4+r-1):""},Mf=Bf,Uf=function(e,t){var r=2*Mr(e,t);return r>0?vn(e,t+4,t+4+r-1):""},Wf=Uf,Hf=function(t,r){var a=Mr(t,r);return a>0?ti(t,r+4,r+4+a):""},Vf=Hf,Xf=function(e,t){var r=Mr(e,t);return r>0?vn(e,t+4,t+4+r):""},Gf=Xf,zf=function(e,t){return yu(e,t)},zn=zf,ai=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};Ae&&(Lf=function(t,r){if(!Buffer.isBuffer(t))return Pf(t,r);var a=t.readUInt32LE(r);return a>0?t.toString("utf8",r+4,r+4+a-1):""},Mf=function(t,r){if(!Buffer.isBuffer(t))return Bf(t,r);var a=t.readUInt32LE(r);return a>0?t.toString("utf8",r+4,r+4+a-1):""},Wf=function(t,r){if(!Buffer.isBuffer(t))return Uf(t,r);var a=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+a-1)},Vf=function(t,r){if(!Buffer.isBuffer(t))return Hf(t,r);var a=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+a)},Gf=function(t,r){if(!Buffer.isBuffer(t))return Xf(t,r);var a=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+a)},zn=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):zf(t,r)},ai=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var ma=function(e,t){return e[t]},wt=function(e,t){return e[t+1]*256+e[t]},Cu=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},Mr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},$t=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},bu=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Va(e,t){var r="",a,n,i=[],s,f,c,o;switch(t){case"dbcs":if(o=this.l,Ae&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c0?$t:bu)(this,this.l),this.l+=4,a):(n=Mr(this,this.l),this.l+=4,n);case 8:case-8:if(t==="f")return e==8?n=zn(this,this.l):n=zn([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:r=Nf(this,this.l,e);break}}return this.l+=e,r}var Du=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Ou=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Iu=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Ru(e,t,r){var a=0,n=0;if(r==="dbcs"){for(n=0;n!=t.length;++n)Iu(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=t.length;++n)this[this.l+n]=t.charCodeAt(n)&255;a=t.length}else if(r==="hex"){for(;n>8}for(;this.l>>=8,this[this.l+1]=t&255;break;case 3:a=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:a=4,Du(this,t,this.l);break;case 8:if(a=8,r==="f"){Au(this,t,this.l);break}case 16:break;case-4:a=4,Ou(this,t,this.l);break}return this.l+=a,this}function $f(e,t){var r=Nf(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function mr(e,t){e.l=t,e.read_shift=Va,e.chk=$f,e.write_shift=Ru}function Ar(e,t){e.l+=t}function z(e){var t=Bt(e);return mr(t,0),t}function yt(e,t,r){if(e){var a,n,i;mr(e,e.l||0);for(var s=e.length,f=0,c=0;e.la.l&&(a=a.slice(0,a.l),a.l=a.length),a.length>0&&e.push(a),a=null)},i=function(o){return a&&o=128?1:0)+1,a>=128&&++i,a>=16384&&++i,a>=2097152&&++i;var s=e.next(i);n<=127?s.write_shift(1,n):(s.write_shift(1,(n&127)+128),s.write_shift(1,n>>7));for(var f=0;f!=4;++f)if(a>=128)s.write_shift(1,(a&127)+128),a>>=7;else{s.write_shift(1,a);break}a>0&&ai(r)&&e.push(r)}}function Xa(e,t,r){var a=ze(e);if(t.s?(a.cRel&&(a.c+=t.s.c),a.rRel&&(a.r+=t.s.r)):(a.cRel&&(a.c+=t.c),a.rRel&&(a.r+=t.r)),!r||r.biff<12){for(;a.c>=256;)a.c-=256;for(;a.r>=65536;)a.r-=65536}return a}function hs(e,t,r){var a=ze(e);return a.s=Xa(a.s,t.s,r),a.e=Xa(a.e,t.s,r),a}function Ga(e,t){if(e.cRel&&e.c<0)for(e=ze(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=ze(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=ge(e);return!e.cRel&&e.cRel!=null&&(r=Lu(r)),!e.rRel&&e.rRel!=null&&(r=Nu(r)),r}function p0(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+je(e.s.c)+":"+(e.e.cRel?"":"$")+je(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+tr(e.s.r)+":"+(e.e.rRel?"":"$")+tr(e.e.r):Ga(e.s,t.biff)+":"+Ga(e.e,t.biff)}function ni(e){return parseInt(Pu(e),10)-1}function tr(e){return""+(e+1)}function Nu(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Pu(e){return e.replace(/\$(\d+)$/,"$1")}function ii(e){for(var t=Bu(e),r=0,a=0;a!==t.length;++a)r=26*r+t.charCodeAt(a)-64;return r-1}function je(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Lu(e){return e.replace(/^([A-Z])/,"$$$1")}function Bu(e){return e.replace(/^\$([A-Z])/,"$1")}function Mu(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ye(e){for(var t=0,r=0,a=0;a=48&&n<=57?t=10*t+(n-48):n>=65&&n<=90&&(r=26*r+(n-64))}return{c:r-1,r:t-1}}function ge(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Pr(e){var t=e.indexOf(":");return t==-1?{s:Ye(e),e:Ye(e)}:{s:Ye(e.slice(0,t)),e:Ye(e.slice(t+1))}}function Te(e,t){return typeof t>"u"||typeof t=="number"?Te(e.s,e.e):(typeof e!="string"&&(e=ge(e)),typeof t!="string"&&(t=ge(t)),e==t?e:e+":"+t)}function Re(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,a=0,n=0,i=e.length;for(r=0;a26);++a)r=26*r+n;for(t.s.c=--r,r=0;a9);++a)r=10*r+n;if(t.s.r=--r,a===i||n!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,r=0;a!=i&&!((n=e.charCodeAt(a)-64)<1||n>26);++a)r=26*r+n;for(t.e.c=--r,r=0;a!=i&&!((n=e.charCodeAt(a)-48)<0||n>9);++a)r=10*r+n;return t.e.r=--r,t}function xs(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Vr(e.z,r?ur(t):t)}catch{}try{return e.w=Vr((e.XF||{}).numFmtId||(r?14:0),r?ur(t):t)}catch{return""+t}}function St(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?At[e.v]||e.v:t==null?xs(e,e.v):xs(e,t))}function Vt(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",a={};return a[r]=e,{SheetNames:[r],Sheets:a}}function Kf(e,t,r){var a=r||{},n=e?Array.isArray(e):a.dense,i=e||(n?[]:{}),s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?Ye(a.origin):a.origin;s=c.r,f=c.c}i["!ref"]||(i["!ref"]="A1:A1")}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var l=Re(i["!ref"]);o.s.c=l.s.c,o.s.r=l.s.r,o.e.c=Math.max(o.e.c,l.e.c),o.e.r=Math.max(o.e.r,l.e.r),s==-1&&(o.e.r=s=l.e.r+1)}for(var u=0;u!=t.length;++u)if(t[u]){if(!Array.isArray(t[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[u].length;++h)if(!(typeof t[u][h]>"u")){var x={v:t[u][h]},p=s+u,d=f+h;if(o.s.r>p&&(o.s.r=p),o.s.c>d&&(o.s.c=d),o.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Wu(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Hu(e,t){return t||(t=z(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function si(e,t){var r=e.l,a=e.read_shift(1),n=yr(e),i=[],s={t:n,h:n};if(a&1){for(var f=e.read_shift(4),c=0;c!=f;++c)i.push(Wu(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function Vu(e,t){var r=!1;return t==null&&(r=!0,t=z(15+4*e.t.length)),t.write_shift(1,0),pr(e.t,t),r?t.slice(0,t.l):t}var Xu=si;function Gu(e,t){var r=!1;return t==null&&(r=!0,t=z(23+4*e.t.length)),t.write_shift(1,1),pr(e.t,t),t.write_shift(4,1),Hu({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Qr(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function oa(e,t){return t==null&&(t=z(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function la(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function ua(e,t){return t==null&&(t=z(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var zu=yr,jf=pr;function fi(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function $n(e,t){var r=!1;return t==null&&(r=!0,t=z(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var $u=yr,O0=fi,ci=$n;function oi(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,a=t[0]&2;e.l+=4;var n=a===0?zn([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):$t(t,0)>>2;return r?n/100:n}function Yf(e,t){t==null&&(t=z(4));var r=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?a=1:n==(n|0)&&n>=-(1<<29)&&n<1<<29&&(a=1,r=1),a)t.write_shift(-4,((r?n:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function Jf(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function Ku(e,t){return t||(t=z(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var ha=Jf,Oa=Ku;function Fr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function ta(e,t){return(t||z(8)).write_shift(8,e,"f")}function ju(e){var t={},r=e.read_shift(1),a=r>>>1,n=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),c=e.read_shift(1);switch(e.l++,a){case 0:t.auto=1;break;case 1:t.index=n;var o=jt[n];o&&(t.rgb=fn(o));break;case 2:t.rgb=fn([s,f,c]);break;case 3:t.theme=n;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function Kn(e,t){if(t||(t=z(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var a=e.rgb||"FFFFFF";typeof a=="number"&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}return t}function Yu(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function Ju(e,t){t||(t=z(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}function qf(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},a=e.read_shift(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function qu(e){return qf(e,1)}function Zu(e){return qf(e,2)}var li=2,Rr=3,An=11,ds=12,jn=19,Cn=64,Qu=65,eh=71,rh=4108,th=4126,hr=80,Zf=81,ah=[hr,Zf],I0={1:{n:"CodePage",t:li},2:{n:"Category",t:hr},3:{n:"PresentationFormat",t:hr},4:{n:"ByteCount",t:Rr},5:{n:"LineCount",t:Rr},6:{n:"ParagraphCount",t:Rr},7:{n:"SlideCount",t:Rr},8:{n:"NoteCount",t:Rr},9:{n:"HiddenCount",t:Rr},10:{n:"MultimediaClipCount",t:Rr},11:{n:"ScaleCrop",t:An},12:{n:"HeadingPairs",t:rh},13:{n:"TitlesOfParts",t:th},14:{n:"Manager",t:hr},15:{n:"Company",t:hr},16:{n:"LinksUpToDate",t:An},17:{n:"CharacterCount",t:Rr},19:{n:"SharedDoc",t:An},22:{n:"HyperlinksChanged",t:An},23:{n:"AppVersion",t:Rr,p:"version"},24:{n:"DigSig",t:Qu},26:{n:"ContentType",t:hr},27:{n:"ContentStatus",t:hr},28:{n:"Language",t:hr},29:{n:"Version",t:hr},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}},R0={1:{n:"CodePage",t:li},2:{n:"Title",t:hr},3:{n:"Subject",t:hr},4:{n:"Author",t:hr},5:{n:"Keywords",t:hr},6:{n:"Comments",t:hr},7:{n:"Template",t:hr},8:{n:"LastAuthor",t:hr},9:{n:"RevNumber",t:hr},10:{n:"EditTime",t:Cn},11:{n:"LastPrinted",t:Cn},12:{n:"CreatedDate",t:Cn},13:{n:"ModifiedDate",t:Cn},14:{n:"PageCount",t:Rr},15:{n:"WordCount",t:Rr},16:{n:"CharCount",t:Rr},17:{n:"Thumbnail",t:eh},18:{n:"Application",t:hr},19:{n:"DocSecurity",t:Rr},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}},ps={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},nh=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function ih(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var sh=ih([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jt=ze(sh),At={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Qf={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},N0={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},bn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ui(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function fh(e){var t=ui();if(!e||!e.match)return t;var r={};if((e.match(Cr)||[]).forEach(function(a){var n=_e(a);switch(n[0].replace(mu,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function ec(e,t){var r=cu(N0),a=[],n;a[a.length]=ar,a[a.length]=ie("Types",null,{xmlns:or.CT,"xmlns:xsd":or.xsd,"xmlns:xsi":or.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(c){return ie("Default",null,{Extension:c[0],ContentType:c[1]})}));var i=function(c){e[c]&&e[c].length>0&&(n=e[c][0],a[a.length]=ie("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:bn[c][t.bookType]||bn[c].xlsx}))},s=function(c){(e[c]||[]).forEach(function(o){a[a.length]=ie("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:bn[c][t.bookType]||bn[c].xlsx})})},f=function(c){(e[c]||[]).forEach(function(o){a[a.length]=ie("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:r[c][0]})})};return i("workbooks"),s("sheets"),s("charts"),f("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),s("metadata"),f("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var be={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function sn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function za(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var a={};return(e.match(Cr)||[]).forEach(function(n){var i=_e(n);if(i[0]==="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Le(e,t,r,a,n,i){if(n||(n={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,n.Id="rId"+t,n.Type=a,n.Target=r,i?n.TargetMode=i:[be.HLINK,be.XPATH,be.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,t}var ch="application/vnd.oasis.opendocument.spreadsheet";function oh(e,t){for(var r=ri(e),a,n;a=nn.exec(r);)switch(a[3]){case"manifest":break;case"file-entry":if(n=_e(a[0],!1),n.path=="/"&&n.type!==ch)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw a}}function lh(e){var t=[ar];t.push(` +`),t.push(` +`);for(var r=0;r +`);return t.push(""),t.join("")}function vs(e,t,r){return[' +`,' +`,` +`].join("")}function uh(e,t){return[' +`,' +`,` +`].join("")}function hh(e){var t=[ar];t.push(` +`);for(var r=0;r!=e.length;++r)t.push(vs(e[r][0],e[r][1])),t.push(uh("",e[r][0]));return t.push(vs("","Document","pkg")),t.push(""),t.join("")}function rc(){return'SheetJS '+Wn.version+""}var Zr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],xh=function(){for(var e=new Array(Zr.length),t=0;t]*>([\\s\\S]*?)")}return e}();function tc(e){var t={};e=Ue(e);for(var r=0;r0&&(t[a[1]]=Ie(n[1])),a[2]==="date"&&t[a[1]]&&(t[a[1]]=Ge(t[a[1]]))}return t}function v0(e,t,r,a,n){n[e]!=null||t==null||t===""||(n[e]=t,t=Be(t),a[a.length]=r?ie(e,t,r):_r(e,t))}function ac(e,t){var r=t||{},a=[ar,ie("cp:coreProperties",null,{"xmlns:cp":or.CORE_PROPS,"xmlns:dc":or.dc,"xmlns:dcterms":or.dcterms,"xmlns:dcmitype":or.dcmitype,"xmlns:xsi":or.xsi})],n={};if(!e&&!r.Props)return a.join("");e&&(e.CreatedDate!=null&&v0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:D0(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),e.ModifiedDate!=null&&v0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:D0(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var i=0;i!=Zr.length;++i){var s=Zr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&v0(s[0],f,null,a,n)}return a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var Yt=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],nc=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ic(e,t,r,a){var n=[];if(typeof e=="string")n=ss(e,a);else for(var i=0;i0)for(var o=0;o!==n.length;o+=2){switch(c=+n[o+1].v,n[o].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=s.slice(f,f+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=s.slice(f,f+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=s.slice(f,f+c);break}f+=c}}function dh(e,t,r){var a={};return t||(t={}),e=Ue(e),Yt.forEach(function(n){var i=(e.match(tn(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Ie(i));break;case"bool":t[n[1]]=i==="true";break;case"raw":var s=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));s&&s.length>0&&(a[n[1]]=s[1]);break}}),a.HeadingPairs&&a.TitlesOfParts&&ic(a.HeadingPairs,a.TitlesOfParts,t,r),t}function sc(e){var t=[],r=ie;return e||(e={}),e.Application="SheetJS",t[t.length]=ar,t[t.length]=ie("Properties",null,{xmlns:or.EXT_PROPS,"xmlns:vt":or.vt}),Yt.forEach(function(a){if(e[a[1]]!==void 0){var n;switch(a[2]){case"string":n=Be(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break}n!==void 0&&(t[t.length]=r(a[0],n))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(a){return""+Be(a)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var ph=/<[^>]+>[^<]*/g;function vh(e,t){var r={},a="",n=e.match(ph);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=_e(s);switch(f[0]){case"":a=null;break;default:if(s.indexOf(""),o=c[0].slice(4),l=c[1];switch(o){case"lpstr":case"bstr":case"lpwstr":r[a]=Ie(l);break;case"bool":r[a]=Xe(l);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[a]=parseInt(l,10);break;case"r4":case"r8":case"decimal":r[a]=parseFloat(l);break;case"filetime":case"date":r[a]=Ge(l);break;case"cy":case"error":r[a]=Ie(l);break;default:if(o.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",s,o,c)}}else if(s.slice(0,2)!=="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var P0={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},m0;function mh(e,t,r){m0||(m0=t0(P0)),t=m0[t]||t,e[t]=r}function gh(e,t){var r=[];return Ze(P0).map(function(a){for(var n=0;n'+n.join("")+""}function hi(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function wh(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,a=r%Math.pow(2,32),n=(r-a)/Math.pow(2,32);a*=1e7,n*=1e7;var i=a/Math.pow(2,32)|0;i>0&&(a=a%Math.pow(2,32),n+=i);var s=z(8);return s.write_shift(4,a),s.write_shift(4,n),s}function cc(e,t,r){var a=e.l,n=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-a&3;)++e.l;return n}function oc(e,t,r){var a=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(a.length+1&3)&3),a}function lc(e,t,r){return t===31?oc(e):cc(e,t,r)}function L0(e,t,r){return lc(e,t,r===!1?0:4)}function kh(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return lc(e,t,0)}function Eh(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a){var n=e.l;r[a]=e.read_shift(0,"lpwstr").replace(Ir,""),e.l-n&2&&(e.l+=2)}return r}function Th(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a)r[a]=e.read_shift(0,"lpstr-cp").replace(Ir,"");return r}function Sh(e){var t=e.l,r=Yn(e,Zf);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var a=Yn(e,Rr);return[r,a]}function Fh(e){for(var t=e.read_shift(4),r=[],a=0;a>3<<2),a}function uc(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function yh(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Yn(e,t,r){var a=e.read_shift(2),n,i=r||{};if(e.l+=2,t!==ds&&a!==t&&ah.indexOf(t)===-1&&!((t&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+t+" saw "+a);switch(t===ds?a:t){case 2:return n=e.read_shift(2,"i"),i.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i"),n;case 11:return e.read_shift(4)!==0;case 19:return n=e.read_shift(4),n;case 30:return cc(e,a,4).replace(Ir,"");case 31:return oc(e);case 64:return hi(e);case 65:return uc(e);case 71:return yh(e);case 80:return L0(e,a,!i.raw).replace(Ir,"");case 81:return kh(e,a).replace(Ir,"");case 4108:return Fh(e);case 4126:case 4127:return a==4127?Eh(e):Th(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function gs(e,t){var r=z(4),a=z(4);switch(r.write_shift(4,e==80?31:e),e){case 3:a.write_shift(-4,t);break;case 5:a=z(8),a.write_shift(8,t,"f");break;case 11:a.write_shift(4,t?1:0);break;case 64:a=wh(t);break;case 31:case 80:for(a=z(4+2*(t.length+1)+(t.length%2?0:2)),a.write_shift(4,t.length+1),a.write_shift(0,t,"dbcs");a.l!=a.length;)a.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return dr([r,a])}function _s(e,t){var r=e.l,a=e.read_shift(4),n=e.read_shift(4),i=[],s=0,f=0,c=-1,o={};for(s=0;s!=n;++s){var l=e.read_shift(4),u=e.read_shift(4);i[s]=[l,u+r]}i.sort(function(k,m){return k[1]-m[1]});var h={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var x=!0;if(s>0&&t)switch(t[i[s-1][0]].t){case 2:e.l+2===i[s][1]&&(e.l+=2,x=!1);break;case 80:e.l<=i[s][1]&&(e.l=i[s][1],x=!1);break;case 4108:e.l<=i[s][1]&&(e.l=i[s][1],x=!1);break}if((!t||s==0)&&e.l<=i[s][1]&&(x=!1,e.l=i[s][1]),x)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(t){var p=t[i[s][0]];if(h[p.n]=Yn(e,p.t,{raw:!0}),p.p==="version"&&(h[p.n]=String(h[p.n]>>16)+"."+("0000"+String(h[p.n]&65535)).slice(-4)),p.n=="CodePage")switch(h[p.n]){case 0:h[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:at(f=h[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[p.n])}}else if(i[s][0]===1){if(f=h.CodePage=Yn(e,li),at(f),c!==-1){var d=e.l;e.l=i[c][1],o=ms(e,f),e.l=d}}else if(i[s][0]===0){if(f===0){c=s,e.l=i[s+1][1];continue}o=ms(e,f)}else{var v=o[i[s][0]],w;switch(e[e.l]){case 65:e.l+=4,w=uc(e);break;case 30:e.l+=4,w=L0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,w=L0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,w=e.read_shift(4,"i");break;case 19:e.l+=4,w=e.read_shift(4);break;case 5:e.l+=4,w=e.read_shift(8,"f");break;case 11:e.l+=4,w=rr(e,4);break;case 64:e.l+=4,w=Ge(hi(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[v]=w}}return e.l=r+a,h}var hc=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ah(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function ws(e,t,r){var a=z(8),n=[],i=[],s=8,f=0,c=z(8),o=z(8);if(c.write_shift(4,2),c.write_shift(4,1200),o.write_shift(4,1),i.push(c),n.push(o),s+=8+c.length,!t){o=z(8),o.write_shift(4,0),n.unshift(o);var l=[z(4)];for(l[0].write_shift(4,e.length),f=0;f-1||nc.indexOf(e[f][0])>-1)&&e[f][1]!=null){var h=e[f][1],x=0;if(t){x=+t[e[f][0]];var p=r[x];if(p.p=="version"&&typeof h=="string"){var d=h.split(".");h=(+d[0]<<16)+(+d[1]||0)}c=gs(p.t,h)}else{var v=Ah(h);v==-1&&(v=31,h=String(h)),c=gs(v,h)}i.push(c),o=z(8),o.write_shift(4,t?x:2+f),n.push(o),s+=8+c.length}var w=8*(i.length+1);for(f=0;f=12?2:1),n="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(n="dbcs-cont")}else r.biff==12&&(n="wstr");r.biff>=2&&r.biff<=5&&(n="cpstr");var s=a?e.read_shift(a,n):"";return s}function Oh(e){var t=e.read_shift(2),r=e.read_shift(1),a=r&4,n=r&8,i=1+(r&1),s=0,f,c={};n&&(s=e.read_shift(2)),a&&(f=e.read_shift(4));var o=i==2?"dbcs-cont":"sbcs-cont",l=t===0?"":e.read_shift(t,o);return n&&(e.l+=4*s),a&&(e.l+=f),c.t=l,n||(c.raw=""+c.t+"",c.r=c.t),c}function Ih(e){var t=e.t||"",r=z(3);r.write_shift(2,t.length),r.write_shift(1,1);var a=z(2*t.length);a.write_shift(2*t.length,t,"utf16le");var n=[r,a];return dr(n)}function aa(e,t,r){var a;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var n=e.read_shift(1);return n===0?a=e.read_shift(t,"sbcs-cont"):a=e.read_shift(t,"dbcs-cont"),a}function gn(e,t,r){var a=e.read_shift(r&&r.biff==2?1:2);return a===0?(e.l++,""):aa(e,a,r)}function xa(e,t,r){if(r.biff>5)return gn(e,t,r);var a=e.read_shift(1);return a===0?(e.l++,""):e.read_shift(a,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function pc(e,t,r){return r||(r=z(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Rh(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function Nh(e){var t=e.read_shift(4),r=e.l,a=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(a=!0),e.l=r);var n=e.read_shift((a?t-24:t)>>1,"utf16le").replace(Ir,"");return a&&(e.l+=24),n}function Ph(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var a=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var n=e.read_shift(4);if(n===0)return r+a.replace(/\\/g,"/");var i=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var s=e.read_shift(i>>1,"utf16le").replace(Ir,"");return r+s}function Lh(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return Nh(e);case"0303000000000000c000000000000046":return Ph(e);default:throw new Error("Unsupported Moniker "+r)}}function Dn(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Ir,""):"";return r}function Ts(e,t){t||(t=z(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r-1?a.slice(0,n):a;for(t.write_shift(4,2*(f.length+1)),r=0;r-1?a.slice(n+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2,n=e.read_shift(a),i=e.read_shift(a,"i"),s=e.read_shift(a,"i");return[n,i,s]}function gc(e){var t=e.read_shift(2),r=oi(e);return[t,r]}function Vh(e,t,r){e.l+=4,t-=4;var a=e.l+t,n=mn(e,t,r),i=e.read_shift(2);if(a-=e.l,i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);return e.l+=i,n}function i0(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2);return{s:{c:a,r:t},e:{c:n,r}}}function _c(e,t){return t||(t=z(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function wc(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(1),n=e.read_shift(1);return{s:{c:a,r:t},e:{c:n,r}}}var Xh=wc;function kc(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return e.l+=12,[r,t,a]}function Gh(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function zh(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function kr(e){e.l+=2,e.l+=e.read_shift(2)}var $h={0:kr,4:kr,5:kr,6:kr,7:zh,8:kr,9:kr,10:kr,11:kr,12:kr,13:Gh,14:kr,15:kr,16:kr,17:kr,18:kr,19:kr,20:kr,21:kc};function Kh(e,t){for(var r=e.l+t,a=[];e.l=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function xi(e,t,r){var a=1536,n=16;switch(r.bookType){case"biff8":break;case"biff5":a=1280,n=8;break;case"biff4":a=4,n=6;break;case"biff3":a=3,n=6;break;case"biff2":a=2,n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=z(n);return i.write_shift(2,a),i.write_shift(2,t),n>4&&i.write_shift(2,29282),n>6&&i.write_shift(2,1997),n>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function jh(e,t){return t===0||e.read_shift(2),1200}function Yh(e,t,r){if(r.enc)return e.l+=t,"";var a=e.l,n=xa(e,0,r);return e.read_shift(t+a-e.l),n}function Jh(e,t){var r=!t||t.biff==8,a=z(r?112:54);for(a.write_shift(t.biff==8?2:1,7),r&&a.write_shift(1,0),a.write_shift(4,859007059),a.write_shift(4,5458548|(r?0:536870912));a.l=8?2:1,a=z(8+r*e.name.length);a.write_shift(4,e.pos),a.write_shift(1,e.hs||0),a.write_shift(1,e.dt),a.write_shift(1,e.name.length),t.biff>=8&&a.write_shift(1,1),a.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);return n.l=a.l,n}function e1(e,t){for(var r=e.l+t,a=e.read_shift(4),n=e.read_shift(4),i=[],s=0;s!=n&&e.l>15),n&=32767);var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function s1(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),f=e.read_shift(2),c=e.read_shift(2),o=e.read_shift(2);return{Pos:[t,r],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:c,TabRatio:o}}function f1(){var e=z(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function c1(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var a=e.read_shift(2);return{RTL:a&64}}function o1(e){var t=z(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function l1(){}function u1(e,t,r){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return a.name=mn(e,0,r),a}function h1(e,t){var r=e.name||"Arial",a=t&&t.biff==5,n=a?15+r.length:16+2*r.length,i=z(n);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),a||i.write_shift(1,1),i.write_shift((a?1:2)*r.length,r,a?"sbcs":"utf16le"),i}function x1(e){var t=vt(e);return t.isst=e.read_shift(4),t}function d1(e,t,r,a){var n=z(10);return na(e,t,a,n),n.write_shift(4,r),n}function p1(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var a=e.l+t,n=vt(e);r.biff==2&&e.l++;var i=gn(e,a-e.l,r);return n.val=i,n}function v1(e,t,r,a,n){var i=!n||n.biff==8,s=z(8+ +i+(1+i)*r.length);return na(e,t,a,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function m1(e,t,r){var a=e.read_shift(2),n=xa(e,0,r);return[a,n]}function g1(e,t,r,a){var n=r&&r.biff==5;a||(a=z(n?3+t.length:5+2*t.length)),a.write_shift(2,e),a.write_shift(n?1:2,t.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*t.length,t,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;return i.l==null&&(i.l=i.length),i}var _1=xa;function Fs(e,t,r){var a=e.l+t,n=r.biff==8||!r.biff?4:2,i=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(2),c=e.read_shift(2);return e.l=a,{s:{r:i,c:f},e:{r:s,c}}}function w1(e,t){var r=t.biff==8||!t.biff?4:2,a=z(2*r+6);return a.write_shift(r,e.s.r),a.write_shift(r,e.e.r+1),a.write_shift(2,e.s.c),a.write_shift(2,e.e.c+1),a.write_shift(2,0),a}function k1(e){var t=e.read_shift(2),r=e.read_shift(2),a=gc(e);return{r:t,c:r,ixfe:a[0],rknum:a[1]}}function E1(e,t){for(var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),i=[];e.l>26],a.cellStyles&&(n.alc=i&7,n.fWrap=i>>3&1,n.alcV=i>>4&7,n.fJustLast=i>>7&1,n.trot=i>>8&255,n.cIndent=i>>16&15,n.fShrinkToFit=i>>20&1,n.iReadOrder=i>>22&2,n.fAtrNum=i>>26&1,n.fAtrFnt=i>>27&1,n.fAtrAlc=i>>28&1,n.fAtrBdr=i>>29&1,n.fAtrPat=i>>30&1,n.fAtrProt=i>>31&1,n.dgLeft=s&15,n.dgRight=s>>4&15,n.dgTop=s>>8&15,n.dgBottom=s>>12&15,n.icvLeft=s>>16&127,n.icvRight=s>>23&127,n.grbitDiag=s>>30&3,n.icvTop=f&127,n.icvBottom=f>>7&127,n.icvDiag=f>>14&127,n.dgDiag=f>>21&15,n.icvFore=c&127,n.icvBack=c>>7&127,n.fsxButton=c>>14&1),n}function F1(e,t,r){var a={};return a.ifnt=e.read_shift(2),a.numFmtId=e.read_shift(2),a.flags=e.read_shift(2),a.fStyle=a.flags>>2&1,t-=6,a.data=S1(e,t,a.fStyle,r),a}function ys(e,t,r,a){var n=r&&r.biff==5;a||(a=z(n?16:20)),a.write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&n&&(i|=1024),a.write_shift(4,i),a.write_shift(4,0),n||a.write_shift(4,0),a.write_shift(2,0),a}function y1(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function A1(e){var t=z(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function As(e,t,r){var a=vt(e);(r.biff==2||t==9)&&++e.l;var n=Dh(e);return a.val=n,a.t=n===!0||n===!1?"b":"e",a}function C1(e,t,r,a,n,i){var s=z(8);return na(e,t,a,s),dc(r,i,s),s}function b1(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var a=vt(e),n=Fr(e);return a.val=n,a}function D1(e,t,r,a){var n=z(14);return na(e,t,a,n),ta(r,n),n}var Cs=Wh;function O1(e,t,r){var a=e.l+t,n=e.read_shift(2),i=e.read_shift(2);if(r.sbcch=i,i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var s=aa(e,i),f=[];a>e.l;)f.push(gn(e));return[i,n,s,f]}function bs(e,t,r){var a=e.read_shift(2),n,i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return r.sbcch===14849&&(n=Vh(e,t-2,r)),i.body=n||e.read_shift(t-2),typeof n=="string"&&(i.Name=n),i}var I1=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ds(e,t,r){var a=e.l+t,n=e.read_shift(2),i=e.read_shift(1),s=e.read_shift(1),f=e.read_shift(r&&r.biff==2?1:2),c=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),c=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var o=aa(e,s,r);n&32&&(o=I1[o.charCodeAt(0)]);var l=a-e.l;r&&r.biff==2&&--l;var u=a==e.l||f===0||!(l>0)?[]:Kv(e,l,r,f);return{chKey:i,Name:o,itab:c,rgce:u}}function Ec(e,t,r){if(r.biff<8)return R1(e,t,r);for(var a=[],n=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)a.push(Hh(e,r.biff>8?12:6,r));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function R1(e,t,r){e[e.l+1]==3&&e[e.l]++;var a=mn(e,t,r);return a.charCodeAt(0)==3?a.slice(1):a}function N1(e,t,r){if(r.biff<8){e.l+=t;return}var a=e.read_shift(2),n=e.read_shift(2),i=aa(e,a,r),s=aa(e,n,r);return[i,s]}function P1(e,t,r){var a=wc(e);e.l++;var n=e.read_shift(1);return t-=8,[jv(e,t,r),n,a]}function Os(e,t,r){var a=Xh(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[a,zv(e,t,r)]}function L1(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,a=e.read_shift(4);return[t,r,a]}function B1(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),f=xa(e,0,r);return r.biff<8&&e.read_shift(1),[{r:a,c:n},f,s,i]}}function M1(e,t,r){return B1(e,t,r)}function U1(e,t){for(var r=[],a=e.read_shift(2);a--;)r.push(i0(e));return r}function W1(e){var t=z(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r=(l?f:2*f))break}if(n.length!==f&&n.length!==f*2)throw new Error("cchText: "+f+" != "+n.length);return e.l=a+t,{t:n}}catch{return e.l=a+t,{t:n}}}function z1(e,t){var r=i0(e);e.l+=16;var a=Bh(e,t-24);return[r,a]}function $1(e){var t=z(24),r=Ye(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<16;++n)t.write_shift(1,parseInt(a[n],16));return dr([t,Mh(e[1])])}function K1(e,t){e.read_shift(2);var r=i0(e),a=e.read_shift((t-10)/2,"dbcs-cont");return a=a.replace(Ir,""),[r,a]}function j1(e){var t=e[1].Tooltip,r=z(10+2*(t.length+1));r.write_shift(2,2048);var a=Ye(e[0]);r.write_shift(2,a.r),r.write_shift(2,a.r),r.write_shift(2,a.c),r.write_shift(2,a.c);for(var n=0;n0;)r.push(mc(e));return r}function Z1(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(mc(e));return r}function Q1(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function Tc(e,t,r){if(!r.cellStyles)return Ar(e,t);var a=r&&r.biff>=12?4:2,n=e.read_shift(a),i=e.read_shift(a),s=e.read_shift(a),f=e.read_shift(a),c=e.read_shift(2);a==2&&(e.l+=2);var o={s:n,e:i,w:s,ixfe:f,flags:c};return(r.biff>=5||!r.biff)&&(o.level=c>>8&7),o}function ex(e,t){var r=z(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var a=0;return e.hidden&&(a|=1),r.write_shift(1,a),a=e.level||0,r.write_shift(1,a),r.write_shift(2,0),r}function rx(e,t){var r={};return t<32||(e.l+=16,r.header=Fr(e),r.footer=Fr(e),e.l+=2),r}function tx(e,t,r){var a={area:!1};if(r.biff!=5)return e.l+=t,a;var n=e.read_shift(1);return e.l+=3,n&16&&(a.area=!0),a}function ax(e){for(var t=z(2*e),r=0;r1048576&&(d=1e6),u!=2&&(v=l.read_shift(2));var w=l.read_shift(2),k=c.codepage||1252;u!=2&&(l.l+=16,l.read_shift(1),l[l.l]!==0&&(k=e[l[l.l]]),l.l+=1,l.l+=2),p&&(l.l+=36);for(var m=[],y={},I=Math.min(l.length,u==2?521:v-10-(x?264:0)),S=p?32:11;l.l0;){if(l[l.l]===42){l.l+=w;continue}for(++l.l,o[++_]=[],N=0,N=0;N!=m.length;++N){var O=l.slice(l.l,l.l+m[N].len);l.l+=m[N].len,mr(O,0);var G=Ot.utils.decode(k,O);switch(m[N].type){case"C":G.trim().length&&(o[_][N]=G.replace(/\s+$/,""));break;case"D":G.length===8?o[_][N]=new Date(+G.slice(0,4),+G.slice(4,6)-1,+G.slice(6,8)):o[_][N]=G;break;case"F":o[_][N]=parseFloat(G.trim());break;case"+":case"I":o[_][N]=p?O.read_shift(-4,"i")^2147483648:O.read_shift(4,"i");break;case"L":switch(G.trim().toUpperCase()){case"Y":case"T":o[_][N]=!0;break;case"N":case"F":o[_][N]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+G+"|")}break;case"M":if(!h)throw new Error("DBF Unexpected MEMO for type "+u.toString(16));o[_][N]="##MEMO##"+(p?parseInt(G.trim(),10):O.read_shift(4));break;case"N":G=G.replace(/\u0000/g,"").trim(),G&&G!="."&&(o[_][N]=+G||0);break;case"@":o[_][N]=new Date(O.read_shift(-8,"f")-621356832e5);break;case"T":o[_][N]=new Date((O.read_shift(4)-2440588)*864e5+O.read_shift(4));break;case"Y":o[_][N]=O.read_shift(4,"i")/1e4+O.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":o[_][N]=-O.read_shift(-8,"f");break;case"B":if(x&&m[N].len==8){o[_][N]=O.read_shift(8,"f");break}case"G":case"P":O.l+=m[N].len;break;case"0":if(m[N].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+m[N].type)}}}if(u!=2&&l.l=0&&at(+o.codepage),o.type=="string")throw new Error("Cannot write DBF to JS string");var l=Nr(),u=Zn(f,{header:1,raw:!0,cellDates:!0}),h=u[0],x=u.slice(1),p=f["!cols"]||[],d=0,v=0,w=0,k=1;for(d=0;d250&&(O=250),N=((p[d]||{}).DBF||{}).type,N=="C"&&p[d].DBF.len>O&&(O=p[d].DBF.len),_=="B"&&N=="N"&&(_="N",S[d]=p[d].DBF.dec,O=p[d].DBF.len),I[d]=_=="C"||N=="N"?O:i[_]||0,k+=I[d],y[d]=_}var M=l.next(32);for(M.write_shift(4,318902576),M.write_shift(4,x.length),M.write_shift(2,296+32*w),M.write_shift(2,k),d=0;d<4;++d)M.write_shift(4,0);for(M.write_shift(4,0|(+t[lf]||3)<<8),d=0,v=0;d":190,"?":191,"{":223},t=new RegExp("\x1BN("+Ze(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(h,x){var p=e[x];return typeof p=="number"?Vi(p):p},a=function(h,x,p){var d=x.charCodeAt(0)-32<<4|p.charCodeAt(0)-48;return d==59?h:Vi(d)};e["|"]=254;function n(h,x){switch(x.type){case"base64":return i(Hr(h),x);case"binary":return i(h,x);case"buffer":return i(Ae&&Buffer.isBuffer(h)?h.toString("binary"):Ht(h),x);case"array":return i(ra(h),x)}throw new Error("Unrecognized type "+x.type)}function i(h,x){var p=h.split(/[\n\r]+/),d=-1,v=-1,w=0,k=0,m=[],y=[],I=null,S={},_=[],N=[],O=[],G=0,M;for(+x.codepage>=0&&at(+x.codepage);w!==p.length;++w){G=0;var L=p[w].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(t,r),J=L.replace(/;;/g,"\0").split(";").map(function(P){return P.replace(/\u0000/g,";")}),oe=J[0],ee;if(L.length>0)switch(oe){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":J[1].charAt(0)=="P"&&y.push(L.slice(3).replace(/;;/g,";"));break;case"C":var ue=!1,ce=!1,ke=!1,V=!1,xe=-1,pe=-1;for(k=1;k-1&&m[xe][pe];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");m[d][v][1]=Vc(B[1],{r:d-xe,c:v-pe})}break;case"F":var R=0;for(k=1;k0?(_[d].hpt=G,_[d].hpx=Ca(G)):G===0&&(_[d].hidden=!0);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+L)}R<1&&(I=null);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+L)}}return _.length>0&&(S["!rows"]=_),N.length>0&&(S["!cols"]=N),x&&x.sheetRows&&(m=m.slice(0,x.sheetRows)),[m,S]}function s(h,x){var p=n(h,x),d=p[0],v=p[1],w=Da(d,x);return Ze(v).forEach(function(k){w[k]=v[k]}),w}function f(h,x){return Vt(s(h,x),x)}function c(h,x,p,d){var v="C;Y"+(p+1)+";X"+(d+1)+";K";switch(h.t){case"n":v+=h.v||0,h.f&&!h.F&&(v+=";E"+_i(h.f,{r:p,c:d}));break;case"b":v+=h.v?"TRUE":"FALSE";break;case"e":v+=h.w||h.v;break;case"d":v+='"'+(h.w||h.v)+'"';break;case"s":v+='"'+h.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return v}function o(h,x){x.forEach(function(p,d){var v="F;W"+(d+1)+" "+(d+1)+" ";p.hidden?v+="0":(typeof p.width=="number"&&!p.wpx&&(p.wpx=cn(p.width)),typeof p.wpx=="number"&&!p.wch&&(p.wch=on(p.wpx)),typeof p.wch=="number"&&(v+=Math.round(p.wch))),v.charAt(v.length-1)!=" "&&h.push(v)})}function l(h,x){x.forEach(function(p,d){var v="F;";p.hidden?v+="M0;":p.hpt?v+="M"+20*p.hpt+";":p.hpx&&(v+="M"+20*ln(p.hpx)+";"),v.length>2&&h.push(v+"R"+(d+1))})}function u(h,x){var p=["ID;PWXL;N;E"],d=[],v=Re(h["!ref"]),w,k=Array.isArray(h),m=`\r +`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),h["!cols"]&&o(p,h["!cols"]),h["!rows"]&&l(p,h["!rows"]),p.push("B;Y"+(v.e.r-v.s.r+1)+";X"+(v.e.c-v.s.c+1)+";D"+[v.s.c,v.s.r,v.e.c,v.e.r].join(" "));for(var y=v.s.r;y<=v.e.r;++y)for(var I=v.s.c;I<=v.e.c;++I){var S=ge({r:y,c:I});w=k?(h[y]||[])[I]:h[S],!(!w||w.v==null&&(!w.f||w.F))&&d.push(c(w,h,y,I))}return p.join(m)+m+d.join(m)+m+"E"+m}return{to_workbook:f,to_sheet:s,from_sheet:u}}(),Fc=function(){function e(i,s){switch(s.type){case"base64":return t(Hr(i),s);case"binary":return t(i,s);case"buffer":return t(Ae&&Buffer.isBuffer(i)?i.toString("binary"):Ht(i),s);case"array":return t(ra(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(` +`),c=-1,o=-1,l=0,u=[];l!==f.length;++l){if(f[l].trim()==="BOT"){u[++c]=[],o=0;continue}if(!(c<0)){var h=f[l].trim().split(","),x=h[0],p=h[1];++l;for(var d=f[l]||"";(d.match(/["]/g)||[]).length&1&&l=0&&p[d].length===0;)--d;for(var v=10,w=0,k=0;k<=d;++k)w=p[k].indexOf(" "),w==-1?w=p[k].length:w++,v=Math.max(v,w);for(k=0;k<=d;++k){x[k]=[];var m=0;for(e(p[k].slice(0,v).trim(),x,k,m,h),m=1;m<=(p[k].length-v)/10+1;++m)e(p[k].slice(v+(m-1)*10,v+m*10).trim(),x,k,m,h)}return h.sheetRows&&(x=x.slice(0,h.sheetRows)),x}var r={44:",",9:" ",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(l){for(var u={},h=!1,x=0,p=0;x0&&G(),p["!ref"]=Te(d),p}function s(l,u){return!(u&&u.PRN)||u.FS||l.slice(0,4)=="sep="||l.indexOf(" ")>=0||l.indexOf(",")>=0||l.indexOf(";")>=0?i(l,u):Da(t(l,u),u)}function f(l,u){var h="",x=u.type=="string"?[0,0,0,0]:Ai(l,u);switch(u.type){case"base64":h=Hr(l);break;case"binary":h=l;break;case"buffer":u.codepage==65001?h=l.toString("utf8"):u.codepage&&typeof Ot<"u"?h=Ot.utils.decode(u.codepage,l):h=Ae&&Buffer.isBuffer(l)?l.toString("binary"):Ht(l);break;case"array":h=ra(l);break;case"string":h=l;break;default:throw new Error("Unrecognized type "+u.type)}return x[0]==239&&x[1]==187&&x[2]==191?h=Ue(h.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?h=Ue(h):u.type=="binary"&&typeof Ot<"u"&&u.codepage&&(h=Ot.utils.decode(u.codepage,Ot.utils.encode(28591,h))),h.slice(0,19)=="socialcalc:version:"?yc.to_sheet(u.type=="string"?h:Ue(h),u):s(h,u)}function c(l,u){return Vt(f(l,u),u)}function o(l){for(var u=[],h=Re(l["!ref"]),x,p=Array.isArray(l),d=h.s.r;d<=h.e.r;++d){for(var v=[],w=h.s.c;w<=h.e.c;++w){var k=ge({r:d,c:w});if(x=p?(l[d]||[])[w]:l[k],!x||x.v==null){v.push(" ");continue}for(var m=(x.w||(St(x),x.w)||"").slice(0,10);m.length<10;)m+=" ";v.push(m+(w===0?" ":""))}u.push(v.join(""))}return u.join(` +`)}return{to_workbook:c,to_sheet:f,from_sheet:o}}();function mx(e,t){var r=t||{},a=!!r.WTF;r.WTF=!0;try{var n=Sc.to_workbook(e,r);return r.WTF=a,n}catch(i){if(r.WTF=a,!i.message.match(/SYLK bad record ID/)&&a)throw i;return Aa.to_workbook(e,t)}}var Jt=function(){function e(b,B,R){if(b){mr(b,b.l||0);for(var P=R.Enum||xe;b.l=16&&b[14]==5&&b[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(b[2]==2)R.Enum=xe,e(b,function(le,Qe,Xr){switch(Xr){case 0:R.vers=le,le>=4096&&(R.qpro=!0);break;case 6:D=le;break;case 204:le&&(te=le);break;case 222:te=le;break;case 15:case 51:R.qpro||(le[1].v=le[1].v.slice(1));case 13:case 14:case 16:Xr==14&&(le[2]&112)==112&&(le[2]&15)>1&&(le[2]&15)<15&&(le[1].z=R.dateNF||me[14],R.cellDates&&(le[1].t="d",le[1].v=n0(le[1].v))),R.qpro&&le[3]>ne&&(P["!ref"]=Te(D),Q[K]=P,q.push(K),P=R.dense?[]:{},D={s:{r:0,c:0},e:{r:0,c:0}},ne=le[3],K=te||"Sheet"+(ne+1),te="");var ct=R.dense?(P[le[0].r]||[])[le[0].c]:P[ge(le[0])];if(ct){ct.t=le[1].t,ct.v=le[1].v,le[1].z!=null&&(ct.z=le[1].z),le[1].f!=null&&(ct.f=le[1].f);break}R.dense?(P[le[0].r]||(P[le[0].r]=[]),P[le[0].r][le[0].c]=le[1]):P[ge(le[0])]=le[1];break}},R);else if(b[2]==26||b[2]==14)R.Enum=pe,b[2]==14&&(R.qpro=!0,b.l=0),e(b,function(le,Qe,Xr){switch(Xr){case 204:K=le;break;case 22:le[1].v=le[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(le[3]>ne&&(P["!ref"]=Te(D),Q[K]=P,q.push(K),P=R.dense?[]:{},D={s:{r:0,c:0},e:{r:0,c:0}},ne=le[3],K="Sheet"+(ne+1)),Ve>0&&le[0].r>=Ve)break;R.dense?(P[le[0].r]||(P[le[0].r]=[]),P[le[0].r][le[0].c]=le[1]):P[ge(le[0])]=le[1],D.e.c=0&&at(+R.codepage),R.type=="string")throw new Error("Cannot write WK1 to JS string");var P=Nr(),K=Re(b["!ref"]),te=Array.isArray(b),ne=[];se(P,0,i(1030)),se(P,6,c(K));for(var Q=Math.min(K.e.r,8191),q=K.s.r;q<=Q;++q)for(var Fe=tr(q),D=K.s.c;D<=K.e.c;++D){q===K.s.r&&(ne[D]=je(D));var Ve=ne[D]+Fe,Oe=te?(b[q]||[])[D]:b[Ve];if(!(!Oe||Oe.t=="z"))if(Oe.t=="n")(Oe.v|0)==Oe.v&&Oe.v>=-32768&&Oe.v<=32767?se(P,13,x(q,D,Oe.v)):se(P,14,d(q,D,Oe.v));else{var We=St(Oe);se(P,15,u(q,D,We.slice(0,239)))}}return se(P,1),P.end()}function n(b,B){var R=B||{};if(+R.codepage>=0&&at(+R.codepage),R.type=="string")throw new Error("Cannot write WK3 to JS string");var P=Nr();se(P,0,s(b));for(var K=0,te=0;K8191&&(R=8191),B.write_shift(2,R),B.write_shift(1,K),B.write_shift(1,P),B.write_shift(2,0),B.write_shift(2,0),B.write_shift(1,1),B.write_shift(1,2),B.write_shift(4,0),B.write_shift(4,0),B}function f(b,B,R){var P={s:{c:0,r:0},e:{c:0,r:0}};return B==8&&R.qpro?(P.s.c=b.read_shift(1),b.l++,P.s.r=b.read_shift(2),P.e.c=b.read_shift(1),b.l++,P.e.r=b.read_shift(2),P):(P.s.c=b.read_shift(2),P.s.r=b.read_shift(2),B==12&&R.qpro&&(b.l+=2),P.e.c=b.read_shift(2),P.e.r=b.read_shift(2),B==12&&R.qpro&&(b.l+=2),P.s.c==65535&&(P.s.c=P.e.c=P.s.r=P.e.r=0),P)}function c(b){var B=z(8);return B.write_shift(2,b.s.c),B.write_shift(2,b.s.r),B.write_shift(2,b.e.c),B.write_shift(2,b.e.r),B}function o(b,B,R){var P=[{c:0,r:0},{t:"n",v:0},0,0];return R.qpro&&R.vers!=20768?(P[0].c=b.read_shift(1),P[3]=b.read_shift(1),P[0].r=b.read_shift(2),b.l+=2):(P[2]=b.read_shift(1),P[0].c=b.read_shift(2),P[0].r=b.read_shift(2)),P}function l(b,B,R){var P=b.l+B,K=o(b,B,R);if(K[1].t="s",R.vers==20768){b.l++;var te=b.read_shift(1);return K[1].v=b.read_shift(te,"utf8"),K}return R.qpro&&b.l++,K[1].v=b.read_shift(P-b.l,"cstr"),K}function u(b,B,R){var P=z(7+R.length);P.write_shift(1,255),P.write_shift(2,B),P.write_shift(2,b),P.write_shift(1,39);for(var K=0;K=128?95:te)}return P.write_shift(1,0),P}function h(b,B,R){var P=o(b,B,R);return P[1].v=b.read_shift(2,"i"),P}function x(b,B,R){var P=z(7);return P.write_shift(1,255),P.write_shift(2,B),P.write_shift(2,b),P.write_shift(2,R,"i"),P}function p(b,B,R){var P=o(b,B,R);return P[1].v=b.read_shift(8,"f"),P}function d(b,B,R){var P=z(13);return P.write_shift(1,255),P.write_shift(2,B),P.write_shift(2,b),P.write_shift(8,R,"f"),P}function v(b,B,R){var P=b.l+B,K=o(b,B,R);if(K[1].v=b.read_shift(8,"f"),R.qpro)b.l=P;else{var te=b.read_shift(2);y(b.slice(b.l,b.l+te),K),b.l+=te}return K}function w(b,B,R){var P=B&32768;return B&=-32769,B=(P?b:0)+(B>=8192?B-16384:B),(P?"":"$")+(R?je(B):tr(B))}var k={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},m=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function y(b,B){mr(b,0);for(var R=[],P=0,K="",te="",ne="",Q="";b.lR.length){console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+R.join("|")+"|");return}var Oe=R.slice(-P);R.length-=P,R.push(k[q][0]+"("+Oe.join(",")+")")}else return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16))}}R.length==1?B[1].f=""+R[0]:console.error("WK1 bad formula parse |"+R.join("|")+"|")}function I(b){var B=[{c:0,r:0},{t:"n",v:0},0];return B[0].r=b.read_shift(2),B[3]=b[b.l++],B[0].c=b[b.l++],B}function S(b,B){var R=I(b);return R[1].t="s",R[1].v=b.read_shift(B-4,"cstr"),R}function _(b,B,R,P){var K=z(6+P.length);K.write_shift(2,b),K.write_shift(1,R),K.write_shift(1,B),K.write_shift(1,39);for(var te=0;te=128?95:ne)}return K.write_shift(1,0),K}function N(b,B){var R=I(b);R[1].v=b.read_shift(2);var P=R[1].v>>1;if(R[1].v&1)switch(P&7){case 0:P=(P>>3)*5e3;break;case 1:P=(P>>3)*500;break;case 2:P=(P>>3)/20;break;case 3:P=(P>>3)/200;break;case 4:P=(P>>3)/2e3;break;case 5:P=(P>>3)/2e4;break;case 6:P=(P>>3)/16;break;case 7:P=(P>>3)/64;break}return R[1].v=P,R}function O(b,B){var R=I(b),P=b.read_shift(4),K=b.read_shift(4),te=b.read_shift(2);if(te==65535)return P===0&&K===3221225472?(R[1].t="e",R[1].v=15):P===0&&K===3489660928?(R[1].t="e",R[1].v=42):R[1].v=0,R;var ne=te&32768;return te=(te&32767)-16446,R[1].v=(1-ne*2)*(K*Math.pow(2,te+32)+P*Math.pow(2,te)),R}function G(b,B,R,P){var K=z(14);if(K.write_shift(2,b),K.write_shift(1,R),K.write_shift(1,B),P==0)return K.write_shift(4,0),K.write_shift(4,0),K.write_shift(2,65535),K;var te=0,ne=0,Q=0,q=0;return P<0&&(te=1,P=-P),ne=Math.log2(P)|0,P/=Math.pow(2,ne-31),q=P>>>0,q&2147483648||(P/=2,++ne,q=P>>>0),P-=q,q|=2147483648,q>>>=0,P*=Math.pow(2,32),Q=P>>>0,K.write_shift(4,Q),K.write_shift(4,q),ne+=16383+(te?32768:0),K.write_shift(2,ne),K}function M(b,B){var R=O(b);return b.l+=B-14,R}function L(b,B){var R=I(b),P=b.read_shift(4);return R[1].v=P>>6,R}function J(b,B){var R=I(b),P=b.read_shift(8,"f");return R[1].v=P,R}function oe(b,B){var R=J(b);return b.l+=B-10,R}function ee(b,B){return b[b.l+B-1]==0?b.read_shift(B,"cstr"):""}function ue(b,B){var R=b[b.l++];R>B-1&&(R=B-1);for(var P="";P.length127?95:K}return R[R.l++]=0,R}var xe={0:{n:"BOF",f:sr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:h},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:l},16:{n:"FORMULA",f:v},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:l},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:ee},222:{n:"SHEETNAMELP",f:ue},65535:{n:""}},pe={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:S},23:{n:"NUMBER17",f:O},24:{n:"NUMBER18",f:N},25:{n:"FORMULA19",f:M},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:ke},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:L},38:{n:"??"},39:{n:"NUMBER27",f:J},40:{n:"FORMULA28",f:oe},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:ee},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:ce},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:a,book_to_wk3:n,to_workbook:t}}();function gx(e){var t={},r=e.match(Cr),a=0,n=!1;if(r)for(;a!=r.length;++a){var i=_e(r[a]);switch(i[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":n=!1;break;default:if(i[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+i[0])}}return t}var _x=function(){var e=tn("t"),t=tn("rPr");function r(i){var s=i.match(e);if(!s)return{t:"s",v:""};var f={t:"s",v:Ie(s[1])},c=i.match(t);return c&&(f.s=gx(c[1])),f}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(s){return s.replace(a,"").split(n).map(r).filter(function(f){return f.v})}}(),wx=function(){var t=/(\r\n|\n)/g;function r(n,i,s){var f=[];n.u&&f.push("text-decoration: underline;"),n.uval&&f.push("text-underline-style:"+n.uval+";"),n.sz&&f.push("font-size:"+n.sz+"pt;"),n.outline&&f.push("text-effect: outline;"),n.shadow&&f.push("text-shadow: auto;"),i.push(''),n.b&&(i.push(""),s.push("")),n.i&&(i.push(""),s.push("")),n.strike&&(i.push(""),s.push(""));var c=n.valign||"";return c=="superscript"||c=="super"?c="sup":c=="subscript"&&(c="sub"),c!=""&&(i.push("<"+c+">"),s.push("")),s.push(""),n}function a(n){var i=[[],n.v,[]];return n.v?(n.s&&r(n.s,i[0],i[2]),i[0].join("")+i[1].replace(t,"
")+i[2].join("")):""}return function(i){return i.map(a).join("")}}(),kx=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ex=/<(?:\w+:)?r>/,Tx=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function di(e,t){var r=t?t.cellHTML:!0,a={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(a.t=Ie(Ue(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),a.r=Ue(e),r&&(a.h=ei(a.t))):e.match(Ex)&&(a.r=Ue(e),a.t=Ie(Ue((e.replace(Tx,"").match(kx)||[]).join("").replace(Cr,""))),r&&(a.h=wx(_x(a.r)))),a):{t:""}}var Sx=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Fx=/<(?:\w+:)?(?:si|sstItem)>/g,yx=/<\/(?:\w+:)?(?:si|sstItem)>/;function Ax(e,t){var r=[],a="";if(!e)return r;var n=e.match(Sx);if(n){a=n[2].replace(Fx,"").split(yx);for(var i=0;i!=a.length;++i){var s=di(a[i].trim(),t);s!=null&&(r[r.length]=s)}n=_e(n[1]),r.Count=n.count,r.Unique=n.uniqueCount}return r}var Cx=/^\s|\s$|[\t\n\r]/;function Ac(e,t){if(!t.bookSST)return"";var r=[ar];r[r.length]=ie("sst",null,{xmlns:ca[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a)if(e[a]!=null){var n=e[a],i="";n.r?i+=n.r:(i+=""),i+="",r[r.length]=i}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function bx(e){return[e.read_shift(4),e.read_shift(4)]}function Dx(e,t){var r=[],a=!1;return yt(e,function(i,s,f){switch(f){case 159:r.Count=i[0],r.Unique=i[1];break;case 19:r.push(i);break;case 160:return!0;case 35:a=!0;break;case 36:a=!1;break;default:if(s.T,!a||t.WTF)throw new Error("Unexpected record 0x"+f.toString(16))}}),r}function Ox(e,t){return t||(t=z(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var Ix=Vu;function Rx(e){var t=Nr();Y(t,159,Ox(e));for(var r=0;r=4&&(e.l+=t-4),r}function Nx(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Et(e,4),t.U=Et(e,4),t.W=Et(e,4),t}function Px(e){for(var t=e.read_shift(4),r=e.l+t-4,a={},n=e.read_shift(4),i=[];n-- >0;)i.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(a.name=e.read_shift(0,"lpp4"),a.comps=i,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return a}function Lx(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(Px(e));return t}function Bx(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function Mx(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Et(e,4),t.U=Et(e,4),t.W=Et(e,4),t}function Ux(e){var t=Mx(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function bc(e,t){var r=e.l+t,a={};a.Flags=e.read_shift(4)&63,e.l+=4,a.AlgID=e.read_shift(4);var n=!1;switch(a.AlgID){case 26126:case 26127:case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");return a.AlgIDHash=e.read_shift(4),a.KeySize=e.read_shift(4),a.ProviderType=e.read_shift(4),e.l+=8,a.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,a}function Dc(e,t){var r={},a=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,a),e.l=a,r}function Wx(e){var t=Et(e);switch(t.Minor){case 2:return[t.Minor,Hx(e)];case 3:return[t.Minor,Vx()];case 4:return[t.Minor,Xx(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function Hx(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),a=bc(e,r),n=Dc(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Vx(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Xx(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),a={};return r.replace(Cr,function(i){var s=_e(i);switch(pt(s[0])){case"":break;case"":case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);r.Flags=e.read_shift(4),t-=4;var n=e.read_shift(4);return t-=4,r.EncryptionHeader=bc(e,n),t-=n,r.EncryptionVerifier=Dc(e,t),r}function zx(e){var t={},r=t.EncryptionVersionInfo=Et(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function pi(e){var t=0,r,a=Cc(e),n=a.length+1,i,s,f,c,o;for(r=Bt(n),r[0]=a.length,i=1;i!=n;++i)r[i]=a[i-1];for(i=n-1;i>=0;--i)s=r[i],f=t&16384?1:0,c=t<<1&32767,o=f|c,t=o^s;return t^52811}var Oc=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],a=function(s){return(s/2|s*128)&255},n=function(s,f){return a(s^f)},i=function(s){for(var f=t[s.length-1],c=104,o=s.length-1;o>=0;--o)for(var l=s[o],u=0;u!=7;++u)l&64&&(f^=r[c]),l*=2,--c;return f};return function(s){for(var f=Cc(s),c=i(f),o=f.length,l=Bt(16),u=0;u!=16;++u)l[u]=0;var h,x,p;for((o&1)===1&&(h=c>>8,l[o]=n(e[0],h),--o,h=c&255,x=f[f.length-1],l[o]=n(x,h));o>0;)--o,h=c>>8,l[o]=n(f[o],h),--o,h=c&255,l[o]=n(f[o],h);for(o=15,p=15-f.length;p>0;)h=c>>8,l[o]=n(e[p],h),--o,--p,h=c&255,l[o]=n(f[o],h),--o,--p;return l}}(),$x=function(e,t,r,a,n){n||(n=t),a||(a=Oc(e));var i,s;for(i=0;i!=t.length;++i)s=t[i],s^=a[r],s=(s>>5|s<<3)&255,n[i]=s,++r;return[n,r,a]},Kx=function(e){var t=0,r=Oc(e);return function(a){var n=$x("",a,t,r);return t=n[1],n[0]}};function jx(e,t,r,a){var n={key:sr(e),verificationBytes:sr(e)};return r.password&&(n.verifier=pi(r.password)),a.valid=n.verificationBytes===n.verifier,a.valid&&(a.insitu=Kx(r.password)),n}function Yx(e,t,r){var a=r||{};return a.Info=e.read_shift(2),e.l-=2,a.Info===1?a.Data=zx(e):a.Data=Gx(e,t),a}function Jx(e,t,r){var a={Type:r.biff>=8?e.read_shift(2):0};return a.Type?Yx(e,t-2,a):jx(e,r.biff>=8?t:t-2,r,a),a}var Ic=function(){function e(n,i){switch(i.type){case"base64":return t(Hr(n),i);case"binary":return t(n,i);case"buffer":return t(Ae&&Buffer.isBuffer(n)?n.toString("binary"):Ht(n),i);case"array":return t(ra(n),i)}throw new Error("Unrecognized type "+i.type)}function t(n,i){var s=i||{},f=s.dense?[]:{},c=n.match(/\\trowd.*?\\row\b/g);if(!c.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:c.length-1}};return c.forEach(function(l,u){Array.isArray(f)&&(f[u]=[]);for(var h=/\\\w+\b/g,x=0,p,d=-1;p=h.exec(l);){switch(p[0]){case"\\cell":var v=l.slice(x,h.lastIndex-p[0].length);if(v[0]==" "&&(v=v.slice(1)),++d,v.length){var w={v,t:"s"};Array.isArray(f)?f[u][d]=w:f[ge({r:u,c:d})]=w}break}x=h.lastIndex}d>o.e.c&&(o.e.c=d)}),f["!ref"]=Te(o),f}function r(n,i){return Vt(e(n,i),i)}function a(n){for(var i=["{\\rtf1\\ansi"],s=Re(n["!ref"]),f,c=Array.isArray(n),o=s.s.r;o<=s.e.r;++o){i.push("\\trowd\\trautofit1");for(var l=s.s.c;l<=s.e.c;++l)i.push("\\cellx"+(l+1));for(i.push("\\pard\\intbl"),l=s.s.c;l<=s.e.c;++l){var u=ge({r:o,c:l});f=c?(n[o]||[])[l]:n[u],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(St(f),f.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:a}}();function qx(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function fn(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function Zx(e){var t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.max(t,r,a),i=Math.min(t,r,a),s=n-i;if(s===0)return[0,0,t];var f=0,c=0,o=n+i;switch(c=s/(o>1?2-o:o),n){case t:f=((r-a)/s+6)%6;break;case r:f=(a-t)/s+2;break;case a:f=(t-r)/s+4;break}return[f/6,c,o/2]}function Qx(e){var t=e[0],r=e[1],a=e[2],n=r*2*(a<.5?a:1-a),i=a-n/2,s=[i,i,i],f=6*t,c;if(r!==0)switch(f|0){case 0:case 6:c=n*f,s[0]+=n,s[1]+=c;break;case 1:c=n*(2-f),s[0]+=c,s[1]+=n;break;case 2:c=n*(f-2),s[1]+=n,s[2]+=c;break;case 3:c=n*(4-f),s[1]+=c,s[2]+=n;break;case 4:c=n*(f-4),s[2]+=n,s[0]+=c;break;case 5:c=n*(6-f),s[2]+=c,s[0]+=n;break}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Jn(e,t){if(t===0)return e;var r=Zx(qx(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),fn(Qx(r))}var Rc=6,ed=15,rd=1,Sr=Rc;function cn(e){return Math.floor((e+Math.round(128/Sr)/256)*Sr)}function on(e){return Math.floor((e-5)/Sr*100+.5)/100}function qn(e){return Math.round((e*Sr+5)/Sr*256)/256}function g0(e){return qn(on(cn(e)))}function vi(e){var t=Math.abs(e-g0(e)),r=Sr;if(t>.005)for(Sr=rd;Sr":case"":break;case"":case"":n={},f.diagonalUp&&(n.diagonalUp=Xe(f.diagonalUp)),f.diagonalDown&&(n.diagonalDown=Xe(f.diagonalDown)),t.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in borders")}})}function id(e,t,r,a){t.Fills=[];var n={},i=!1;(e[0].match(Cr)||[]).forEach(function(s){var f=_e(s);switch(pt(f[0])){case"":case"":break;case"":case"":n={},t.Fills.push(n);break;case"":break;case"":break;case"":t.Fills.push(n),n={};break;case"":f.patternType&&(n.patternType=f.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in fills")}})}function sd(e,t,r,a){t.Fonts=[];var n={},i=!1;(e[0].match(Cr)||[]).forEach(function(s){var f=_e(s);switch(pt(f[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(n),n={};break;case"":case"":break;case"":n.bold=1;break;case"":n.italic=1;break;case"":n.underline=1;break;case"":n.strike=1;break;case"":n.outline=1;break;case"":n.shadow=1;break;case"":n.condense=1;break;case"":n.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in fonts")}})}function fd(e,t,r){t.NumberFmt=[];for(var a=Ze(me),n=0;n":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&t.NumberFmt[c]!=null;--c);t.NumberFmt[c]=f}dt(f,c)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}function cd(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var a=r[0];a<=r[1];++a)e[a]!=null&&(t[t.length]=ie("numFmt",null,{numFmtId:a,formatCode:Be(e[a])}))}),t.length===1?"":(t[t.length]="",t[0]=ie("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var In=["numFmtId","fillId","fontId","borderId","xfId"],Rn=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function od(e,t,r){t.CellXf=[];var a,n=!1;(e[0].match(Cr)||[]).forEach(function(i){var s=_e(i),f=0;switch(pt(s[0])){case"":case"":case"":break;case"":for(a=s,delete a[0],f=0;f392){for(f=392;f>60;--f)if(t.NumberFmt[a.numFmtId]==t.NumberFmt[f]){a.numFmtId=f;break}}t.CellXf.push(a);break;case"":break;case"":var c={};s.vertical&&(c.vertical=s.vertical),s.horizontal&&(c.horizontal=s.horizontal),s.textRotation!=null&&(c.textRotation=s.textRotation),s.indent&&(c.indent=s.indent),s.wrapText&&(c.wrapText=Xe(s.wrapText)),a.alignment=c;break;case"":break;case"":case"":break;case"":n=!1;break;case"":case"":break;case"":n=!1;break;default:if(r&&r.WTF&&!n)throw new Error("unrecognized "+s[0]+" in cellXfs")}})}function ld(e){var t=[];return t[t.length]=ie("cellXfs",null),e.forEach(function(r){t[t.length]=ie("xf",null,r)}),t[t.length]="",t.length===2?"":(t[0]=ie("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var ud=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,a=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(f,c,o){var l={};if(!f)return l;f=f.replace(//mg,"").replace(//gm,"");var u;return(u=f.match(t))&&fd(u,l,o),(u=f.match(n))&&sd(u,l,c,o),(u=f.match(a))&&id(u,l,c,o),(u=f.match(i))&&nd(u,l,c,o),(u=f.match(r))&&od(u,l,o),l}}();function Pc(e,t){var r=[ar,ie("styleSheet",null,{xmlns:ca[0],"xmlns:vt":or.vt})],a;return e.SSF&&(a=cd(e.SSF))!=null&&(r[r.length]=a),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(a=ld(t.cellXfs))&&(r[r.length]=a),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function hd(e,t){var r=e.read_shift(2),a=yr(e);return[r,a]}function xd(e,t,r){r||(r=z(6+4*t.length)),r.write_shift(2,e),pr(t,r);var a=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),a}function dd(e,t,r){var a={};a.sz=e.read_shift(2)/20;var n=Yu(e);n.fItalic&&(a.italic=1),n.fCondense&&(a.condense=1),n.fExtend&&(a.extend=1),n.fShadow&&(a.shadow=1),n.fOutline&&(a.outline=1),n.fStrikeout&&(a.strike=1);var i=e.read_shift(2);switch(i===700&&(a.bold=1),e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(a.underline=s);var f=e.read_shift(1);f>0&&(a.family=f);var c=e.read_shift(1);switch(c>0&&(a.charset=c),e.l++,a.color=ju(e),e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}return a.name=yr(e),a}function pd(e,t){t||(t=z(25+4*32)),t.write_shift(2,e.sz*20),Ju(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Kn(e.color,t);var a=0;return e.scheme=="major"&&(a=1),e.scheme=="minor"&&(a=2),t.write_shift(1,a),pr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var vd=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],_0,md=Ar;function Is(e,t){t||(t=z(4*3+8*7+16*1)),_0||(_0=t0(vd));var r=_0[e.patternType];r==null&&(r=40),t.write_shift(4,r);var a=0;if(r!=40)for(Kn({auto:1},t),Kn({auto:1},t);a<12;++a)t.write_shift(4,0);else{for(;a<4;++a)t.write_shift(4,0);for(;a<12;++a)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function gd(e,t){var r=e.l+t,a=e.read_shift(2),n=e.read_shift(2);return e.l=r,{ixfe:a,numFmtId:n}}function Lc(e,t,r){r||(r=z(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var a=0;return r.write_shift(1,a),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Ma(e,t){return t||(t=z(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var _d=Ar;function wd(e,t){return t||(t=z(51)),t.write_shift(1,0),Ma(null,t),Ma(null,t),Ma(null,t),Ma(null,t),Ma(null,t),t.length>t.l?t.slice(0,t.l):t}function kd(e,t){return t||(t=z(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),$n(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function Ed(e,t,r){var a=z(2052);return a.write_shift(4,e),$n(t,a),$n(r,a),a.length>a.l?a.slice(0,a.l):a}function Td(e,t,r){var a={};a.NumberFmt=[];for(var n in me)a.NumberFmt[n]=me[n];a.CellXf=[],a.Fonts=[];var i=[],s=!1;return yt(e,function(c,o,l){switch(l){case 44:a.NumberFmt[c[0]]=c[1],dt(c[1],c[0]);break;case 43:a.Fonts.push(c),c.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(c.color.rgb=Jn(t.themeElements.clrScheme[c.color.theme].rgb,c.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:i[i.length-1]==617&&a.CellXf.push(c);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(l),s=!0;break;case 38:i.pop(),s=!1;break;default:if(o.T>0)i.push(l);else if(o.T<0)i.pop();else if(!s||r.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16))}}),a}function Sd(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)t[n]!=null&&++r}),r!=0&&(Y(e,615,st(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)t[n]!=null&&Y(e,44,xd(n,t[n]))}),Y(e,616))}}function Fd(e){var t=1;Y(e,611,st(t)),Y(e,43,pd({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Y(e,612)}function yd(e){var t=2;Y(e,603,st(t)),Y(e,45,Is({patternType:"none"})),Y(e,45,Is({patternType:"gray125"})),Y(e,604)}function Ad(e){var t=1;Y(e,613,st(t)),Y(e,46,wd()),Y(e,614)}function Cd(e){var t=1;Y(e,626,st(t)),Y(e,47,Lc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Y(e,627)}function bd(e,t){Y(e,617,st(t.length)),t.forEach(function(r){Y(e,47,Lc(r,0))}),Y(e,618)}function Dd(e){var t=1;Y(e,619,st(t)),Y(e,48,kd({xfId:0,builtinId:0,name:"Normal"})),Y(e,620)}function Od(e){var t=0;Y(e,505,st(t)),Y(e,506)}function Id(e){var t=0;Y(e,508,Ed(t,"TableStyleMedium9","PivotStyleMedium4")),Y(e,509)}function Rd(e,t){var r=Nr();return Y(r,278),Sd(r,e.SSF),Fd(r),yd(r),Ad(r),Cd(r),bd(r,t.cellXfs),Dd(r),Od(r),Id(r),Y(r,279),r.end()}var Nd=["","","","","","","","","","","",""];function Pd(e,t,r){t.themeElements.clrScheme=[];var a={};(e[0].match(Cr)||[]).forEach(function(n){var i=_e(n);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":i[0].charAt(1)==="/"?(t.themeElements.clrScheme[Nd.indexOf(i[0])]=a,a={}):a.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function Ld(){}function Bd(){}var Md=/]*)>[\s\S]*<\/a:clrScheme>/,Ud=/]*)>[\s\S]*<\/a:fontScheme>/,Wd=/]*)>[\s\S]*<\/a:fmtScheme>/;function Hd(e,t,r){t.themeElements={};var a;[["clrScheme",Md,Pd],["fontScheme",Ud,Ld],["fmtScheme",Wd,Bd]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,t,r)})}var Vd=/]*)>[\s\S]*<\/a:themeElements>/;function Bc(e,t){(!e||e.length===0)&&(e=mi());var r,a={};if(!(r=e.match(Vd)))throw new Error("themeElements not found in theme");return Hd(r[0],a,t),a.raw=e,a}function mi(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[ar];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function Xd(e,t,r){var a=e.l+t,n=e.read_shift(4);if(n!==124226){if(!r.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=bf(i,{type:"array"})}catch{return}var f=Wr(s,"theme/theme/theme1.xml",!0);if(f)return Bc(f,r)}}function Gd(e){return e.read_shift(4)}function zd(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=$d(e,4);break;case 2:t.xclrValue=vc(e);break;case 3:t.xclrValue=Gd(e);break;case 4:e.l+=4;break}return e.l+=8,t}function $d(e,t){return Ar(e,t)}function Kd(e,t){return Ar(e,t)}function jd(e){var t=e.read_shift(2),r=e.read_shift(2)-4,a=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=zd(e);break;case 6:a[1]=Kd(e,r);break;case 14:case 15:a[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return a}function Yd(e,t){var r=e.l+t;e.l+=2;var a=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),i=[];n-- >0;)i.push(jd(e,r-e.l));return{ixfe:a,ext:i}}function Jd(e,t){t.forEach(function(r){switch(r[0]){}})}function qd(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:yr(e)}}function Zd(e){var t=z(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),pr(e.name,t),t.slice(0,t.l)}function Qd(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function ep(e){var t=z(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":case"":case"":break;case"":n=!1;break;case" + + + + + + + + + + + + + + + + + +`),e.join("")}function fp(e){var t=[];if(!e)return t;var r=1;return(e.match(Cr)||[]).forEach(function(a){var n=_e(a);switch(n[0]){case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var wa=1024;function Uc(e,t){for(var r=[21600,21600],a=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),n=[ie("xml",null,{"xmlns:v":Br.v,"xmlns:o":Br.o,"xmlns:x":Br.x,"xmlns:mv":Br.mv}).replace(/\/>/,">"),ie("o:shapelayout",ie("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),ie("v:shapetype",[ie("v:stroke",null,{joinstyle:"miter"}),ie("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:a})];wa",o,ie("v:shadow",null,l),ie("v:path",null,{"o:connecttype":"none"}),'
','',"","",_r("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),_r("x:AutoFill","False"),_r("x:Row",String(s.r)),_r("x:Column",String(s.c)),i[1].hidden?"":"","",""])}),n.push(""),n.join("")}function Rs(e,t,r,a){var n=Array.isArray(e),i;t.forEach(function(s){var f=Ye(s.ref);if(n?(e[f.r]||(e[f.r]=[]),i=e[f.r][f.c]):i=e[s.ref],!i){i={t:"z"},n?e[f.r][f.c]=i:e[s.ref]=i;var c=Re(e["!ref"]||"BDWGO1000001:A1");c.s.r>f.r&&(c.s.r=f.r),c.e.rf.c&&(c.s.c=f.c),c.e.c=0;--u){if(!r&&i.c[u].T)return;r&&!i.c[u].T&&i.c.splice(u,1)}if(r&&a){for(u=0;u/))return[];var r=[],a=[],n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);n&&n[1]&&n[1].split(/<\/\w*:?author>/).forEach(function(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?author[^>]*>(.*)/);f&&r.push(f[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?comment[^>]*>/);if(f){var c=_e(f[0]),o={author:c.authorId&&r[c.authorId]||"sheetjsghost",ref:c.ref,guid:c.guid},l=Ye(c.ref);if(!(t.sheetRows&&t.sheetRows<=l.r)){var u=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),h=!!u&&!!u[1]&&di(u[1])||{r:"",t:"",h:""};o.r=h.r,h.r==""&&(h.t=h.h=""),o.t=(h.t||"").replace(/\r\n/g,` +`).replace(/\r/g,` +`),t.cellHTML&&(o.h=h.h),a.push(o)}}}}),a}function Wc(e){var t=[ar,ie("comments",null,{xmlns:ca[0]})],r=[];return t.push(""),e.forEach(function(a){a[1].forEach(function(n){var i=Be(n.a);r.indexOf(i)==-1&&(r.push(i),t.push(""+i+"")),n.T&&n.ID&&r.indexOf("tc="+n.ID)==-1&&(r.push("tc="+n.ID),t.push("tc="+n.ID+""))})}),r.length==0&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach(function(a){var n=0,i=[];if(a[1][0]&&a[1][0].T&&a[1][0].ID?n=r.indexOf("tc="+a[1][0].ID):a[1].forEach(function(c){c.a&&(n=r.indexOf(Be(c.a))),i.push(c.t||"")}),t.push(''),i.length<=1)t.push(_r("t",Be(i[0]||"")));else{for(var s=`Comment: + `+i[0]+` +`,f=1;f")}),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function xp(e,t){var r=[],a=!1,n={},i=0;return e.replace(Cr,function(f,c){var o=_e(f);switch(pt(o[0])){case"":break;case"":n.t!=null&&r.push(n);break;case"":case"":n.t=e.slice(i,c).replace(/\r\n/g,` +`).replace(/\r/g,` +`);break;case"":a=!0;break;case"":a=!1;break;case"":case"
":case"":break;case"":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return f}),r}function dp(e,t,r){var a=[ar,ie("ThreadedComments",null,{xmlns:or.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(n){var i="";(n[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var c={ref:n[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=c.id:c.parentId=i,s.ID=c.id,s.a&&(c.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),a.push(ie("threadedComment",_r("text",s.t||""),c))})}),a.push(""),a.join("")}function pp(e,t){var r=[],a=!1;return e.replace(Cr,function(i){var s=_e(i);switch(pt(s[0])){case"":break;case"":break;case"":case"":case"":break;case"":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return i}),r}function vp(e){var t=[ar,ie("personList",null,{xmlns:or.TCMNT,"xmlns:x":ca[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,a){t.push(ie("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+a).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push(""),t.join("")}function mp(e){var t={};t.iauthor=e.read_shift(4);var r=ha(e);return t.rfx=r.s,t.ref=ge(r.s),e.l+=16,t}function gp(e,t){return t==null&&(t=z(36)),t.write_shift(4,e[1].iauthor),Oa(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var _p=yr;function wp(e){return pr(e.slice(0,54))}function kp(e,t){var r=[],a=[],n={},i=!1;return yt(e,function(f,c,o){switch(o){case 632:a.push(f);break;case 635:n=f;break;case 637:n.t=f.t,n.h=f.h,n.r=f.r;break;case 636:if(n.author=a[n.iauthor],delete n.iauthor,t.sheetRows&&n.rfx&&t.sheetRows<=n.rfx.r)break;n.t||(n.t=""),delete n.rfx,r.push(n);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!c.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}}),r}function Ep(e){var t=Nr(),r=[];return Y(t,628),Y(t,630),e.forEach(function(a){a[1].forEach(function(n){r.indexOf(n.a)>-1||(r.push(n.a.slice(0,54)),Y(t,632,wp(n.a)))})}),Y(t,631),Y(t,633),e.forEach(function(a){a[1].forEach(function(n){n.iauthor=r.indexOf(n.a);var i={s:Ye(a[0]),e:Ye(a[0])};Y(t,635,gp([i,n])),n.t&&n.t.length>0&&Y(t,637,Gu(n)),Y(t,636),delete n.iauthor})}),Y(t,634),Y(t,629),t.end()}var Tp="application/vnd.ms-office.vbaProject";function Sp(e){var t=ve.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,a){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var n=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");ve.utils.cfb_add(t,n,e.FileIndex[a].content)}}),ve.write(t)}function Fp(e,t){t.FullPaths.forEach(function(r,a){if(a!=0){var n=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");n.slice(-1)!=="/"&&ve.utils.cfb_add(e,n,t.FileIndex[a].content)}})}var Hc=["xlsb","xlsm","xlam","biff8","xla"];function yp(){return{"!type":"dialog"}}function Ap(){return{"!type":"dialog"}}function Cp(){return{"!type":"macro"}}function bp(){return{"!type":"macro"}}var Sa=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(a,n,i,s){var f=!1,c=!1;i.length==0?c=!0:i.charAt(0)=="["&&(c=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=i.length>0?parseInt(i,10)|0:0,l=s.length>0?parseInt(s,10)|0:0;return f?l+=t.c:--l,c?o+=t.r:--o,n+(f?"":"$")+je(l)+(c?"":"$")+tr(o)}return function(n,i){return t=i,n.replace(e,r)}}(),gi=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,_i=function(){return function(t,r){return t.replace(gi,function(a,n,i,s,f,c){var o=ii(s)-(i?0:r.c),l=ni(c)-(f?0:r.r),u=l==0?"":f?l+1:"["+l+"]",h=o==0?"":i?o+1:"["+o+"]";return n+"R"+u+"C"+h})}}();function Vc(e,t){return e.replace(gi,function(r,a,n,i,s,f){return a+(n=="$"?n+i:je(ii(i)+t.c))+(s=="$"?s+f:tr(ni(f)+t.r))})}function Dp(e,t,r){var a=Pr(t),n=a.s,i=Ye(r),s={r:i.r-n.r,c:i.c-n.c};return Vc(e,s)}function Op(e){return e.length!=1}function Ns(e){return e.replace(/_xlfn\./g,"")}function nr(e){e.l+=1}function Ut(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function Xc(e,t,r){var a=2;if(r){if(r.biff>=2&&r.biff<=5)return Gc(e);r.biff==12&&(a=4)}var n=e.read_shift(a),i=e.read_shift(a),s=Ut(e,2),f=Ut(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function Gc(e){var t=Ut(e,2),r=Ut(e,2),a=e.read_shift(1),n=e.read_shift(1);return{s:{r:t[0],c:a,cRel:t[1],rRel:t[2]},e:{r:r[0],c:n,cRel:r[1],rRel:r[2]}}}function Ip(e,t,r){if(r.biff<8)return Gc(e);var a=e.read_shift(r.biff==12?4:2),n=e.read_shift(r.biff==12?4:2),i=Ut(e,2),s=Ut(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function zc(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Rp(e);var a=e.read_shift(r&&r.biff==12?4:2),n=Ut(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Rp(e){var t=Ut(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function Np(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function Pp(e,t,r){var a=r&&r.biff?r.biff:8;if(a>=2&&a<=5)return Lp(e);var n=e.read_shift(a>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,f=(i&32768)>>15;if(i&=16383,f==1)for(;n>524287;)n-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function Lp(e){var t=e.read_shift(2),r=e.read_shift(1),a=(t&32768)>>15,n=(t&16384)>>14;return t&=16383,a==1&&t>=8192&&(t=t-16384),n==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:n,rRel:a}}function Bp(e,t,r){var a=(e[e.l++]&96)>>5,n=Xc(e,r.biff>=2&&r.biff<=5?6:8,r);return[a,n]}function Mp(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=Xc(e,i,r);return[a,n,s]}function Up(e,t,r){var a=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[a]}function Wp(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[a,n]}function Hp(e,t,r){var a=(e[e.l++]&96)>>5,n=Ip(e,t-1,r);return[a,n]}function Vp(e,t,r){var a=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[a]}function Ps(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function Xp(e,t,r){e.l+=2;for(var a=e.read_shift(r&&r.biff==2?1:2),n=[],i=0;i<=a;++i)n.push(e.read_shift(r&&r.biff==2?1:2));return n}function Gp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(r&&r.biff==2?1:2)]}function zp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(r&&r.biff==2?1:2)]}function $p(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function Kp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[a]}function $c(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function jp(e){return e.read_shift(2),$c(e)}function Yp(e){return e.read_shift(2),$c(e)}function Jp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=zc(e,0,r);return[a,n]}function qp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=Pp(e,0,r);return[a,n]}function Zp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=zc(e,0,r);return[a,n,i]}function Qp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(r&&r.biff<=3?1:2);return[tm[n],Yc[n],a]}function ev(e,t,r){var a=e[e.l++],n=e.read_shift(1),i=r&&r.biff<=3?[a==88?-1:0,e.read_shift(1)]:rv(e);return[n,(i[0]===0?Yc:rm)[i[1]]]}function rv(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function tv(e,t,r){e.l+=r&&r.biff==2?3:4}function av(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var a=e.read_shift(2),n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function nv(e){return e.l++,At[e.read_shift(1)]}function iv(e){return e.l++,e.read_shift(2)}function sv(e){return e.l++,e.read_shift(1)!==0}function fv(e){return e.l++,Fr(e)}function cv(e,t,r){return e.l++,mn(e,t-1,r)}function ov(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=rr(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=At[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Fr(e);break;case 2:r[1]=xa(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function lv(e,t,r){for(var a=e.read_shift(r.biff==12?4:2),n=[],i=0;i!=a;++i)n.push((r.biff==12?ha:i0)(e));return n}function uv(e,t,r){var a=0,n=0;r.biff==12?(a=e.read_shift(4),n=e.read_shift(4)):(n=1+e.read_shift(1),a=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--a,--n==0&&(n=256));for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=ov(e,r.biff);return s}function hv(e,t,r){var a=e.read_shift(1)>>>5&3,n=!r||r.biff>=8?4:2,i=e.read_shift(n);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,i]}function xv(e,t,r){if(r.biff==5)return dv(e);var a=e.read_shift(1)>>>5&3,n=e.read_shift(2),i=e.read_shift(4);return[a,n,i]}function dv(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var a=e.read_shift(2);return e.l+=12,[t,r,a]}function pv(e,t,r){var a=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function vv(e,t,r){var a=e.read_shift(1)>>>5&3,n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function mv(e,t,r){var a=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[a]}function gv(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[a,n]}var _v=Ar,wv=Ar,kv=Ar;function _n(e,t,r){return e.l+=2,[Np(e)]}function wi(e){return e.l+=6,[]}var Ev=_n,Tv=wi,Sv=wi,Fv=_n;function Kc(e){return e.l+=2,[sr(e),e.read_shift(2)&1]}var yv=_n,Av=Kc,Cv=wi,bv=_n,Dv=_n,Ov=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Iv(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),i=e.read_shift(2),s=Ov[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:a,c:n,C:i}}function Rv(e){return e.l+=2,[e.read_shift(4)]}function Nv(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function Pv(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function Lv(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Bv(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Mv(e){return e.l+=4,[0,0]}var Ls={1:{n:"PtgExp",f:av},2:{n:"PtgTbl",f:kv},3:{n:"PtgAdd",f:nr},4:{n:"PtgSub",f:nr},5:{n:"PtgMul",f:nr},6:{n:"PtgDiv",f:nr},7:{n:"PtgPower",f:nr},8:{n:"PtgConcat",f:nr},9:{n:"PtgLt",f:nr},10:{n:"PtgLe",f:nr},11:{n:"PtgEq",f:nr},12:{n:"PtgGe",f:nr},13:{n:"PtgGt",f:nr},14:{n:"PtgNe",f:nr},15:{n:"PtgIsect",f:nr},16:{n:"PtgUnion",f:nr},17:{n:"PtgRange",f:nr},18:{n:"PtgUplus",f:nr},19:{n:"PtgUminus",f:nr},20:{n:"PtgPercent",f:nr},21:{n:"PtgParen",f:nr},22:{n:"PtgMissArg",f:nr},23:{n:"PtgStr",f:cv},26:{n:"PtgSheet",f:Nv},27:{n:"PtgEndSheet",f:Pv},28:{n:"PtgErr",f:nv},29:{n:"PtgBool",f:sv},30:{n:"PtgInt",f:iv},31:{n:"PtgNum",f:fv},32:{n:"PtgArray",f:Vp},33:{n:"PtgFunc",f:Qp},34:{n:"PtgFuncVar",f:ev},35:{n:"PtgName",f:hv},36:{n:"PtgRef",f:Jp},37:{n:"PtgArea",f:Bp},38:{n:"PtgMemArea",f:pv},39:{n:"PtgMemErr",f:_v},40:{n:"PtgMemNoMem",f:wv},41:{n:"PtgMemFunc",f:vv},42:{n:"PtgRefErr",f:mv},43:{n:"PtgAreaErr",f:Up},44:{n:"PtgRefN",f:qp},45:{n:"PtgAreaN",f:Hp},46:{n:"PtgMemAreaN",f:Lv},47:{n:"PtgMemNoMemN",f:Bv},57:{n:"PtgNameX",f:xv},58:{n:"PtgRef3d",f:Zp},59:{n:"PtgArea3d",f:Mp},60:{n:"PtgRefErr3d",f:gv},61:{n:"PtgAreaErr3d",f:Wp},255:{}},Uv={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Wv={1:{n:"PtgElfLel",f:Kc},2:{n:"PtgElfRw",f:bv},3:{n:"PtgElfCol",f:Ev},6:{n:"PtgElfRwV",f:Dv},7:{n:"PtgElfColV",f:Fv},10:{n:"PtgElfRadical",f:yv},11:{n:"PtgElfRadicalS",f:Cv},13:{n:"PtgElfColS",f:Tv},15:{n:"PtgElfColSV",f:Sv},16:{n:"PtgElfRadicalLel",f:Av},25:{n:"PtgList",f:Iv},29:{n:"PtgSxName",f:Rv},255:{}},Hv={0:{n:"PtgAttrNoop",f:Mv},1:{n:"PtgAttrSemi",f:Kp},2:{n:"PtgAttrIf",f:zp},4:{n:"PtgAttrChoose",f:Xp},8:{n:"PtgAttrGoto",f:Gp},16:{n:"PtgAttrSum",f:tv},32:{n:"PtgAttrBaxcel",f:Ps},33:{n:"PtgAttrBaxcel",f:Ps},64:{n:"PtgAttrSpace",f:jp},65:{n:"PtgAttrSpaceSemi",f:Yp},128:{n:"PtgAttrIfError",f:$p},255:{}};function wn(e,t,r,a){if(a.biff<8)return Ar(e,t);for(var n=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=uv(e,0,a),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=lv(e,r[s][1],a),i.push(r[s][2]);break;case"PtgExp":a&&a.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=n-e.l,t!==0&&i.push(Ar(e,t)),i}function kn(e,t,r){for(var a=e.l+t,n,i,s=[];a!=e.l;)t=a-e.l,i=e[e.l],n=Ls[i]||Ls[Uv[i]],(i===24||i===25)&&(n=(i===24?Wv:Hv)[e[e.l+1]]),!n||!n.f?Ar(e,t):s.push([n.n,n.f(e,t,r)]);return s}function Vv(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Gv(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function jc(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!a)return"SH33TJSERR1";var n="";if(r.biff>8)switch(e[a[0]][0]){case 357:return n=a[1]==-1?"#REF":e.SheetNames[a[1]],a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:return n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3",a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[a[0]][0][3]?(n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4",a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]):"SH33TJSERR2"}}function Bs(e,t,r){var a=jc(e,t,r);return a=="#REF"?a:Gv(a,r)}function Tr(e,t,r,a,n){var i=n&&n.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],c,o,l,u=0,h=0,x,p="";if(!e[0]||!e[0][0])return"";for(var d=-1,v="",w=0,k=e[0].length;w=0){switch(e[0][d][1][0]){case 0:v=Je(" ",e[0][d][1][1]);break;case 1:v=Je("\r",e[0][d][1][1]);break;default:if(v="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}o=o+v,d=-1}f.push(o+Xv[m[0]]+c);break;case"PtgIsect":c=f.pop(),o=f.pop(),f.push(o+" "+c);break;case"PtgUnion":c=f.pop(),o=f.pop(),f.push(o+","+c);break;case"PtgRange":c=f.pop(),o=f.pop(),f.push(o+":"+c);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=Xa(m[1][1],s,n),f.push(Ga(l,i));break;case"PtgRefN":l=r?Xa(m[1][1],r,n):m[1][1],f.push(Ga(l,i));break;case"PtgRef3d":u=m[1][1],l=Xa(m[1][2],s,n),p=Bs(a,u,n),f.push(p+"!"+Ga(l,i));break;case"PtgFunc":case"PtgFuncVar":var y=m[1][0],I=m[1][1];y||(y=0),y&=127;var S=y==0?[]:f.slice(-y);f.length-=y,I==="User"&&(I=S.shift()),f.push(I+"("+S.join(",")+")");break;case"PtgBool":f.push(m[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(m[1]);break;case"PtgNum":f.push(String(m[1]));break;case"PtgStr":f.push('"'+m[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(m[1]);break;case"PtgAreaN":x=hs(m[1][1],r?{s:r}:s,n),f.push(p0(x,n));break;case"PtgArea":x=hs(m[1][1],s,n),f.push(p0(x,n));break;case"PtgArea3d":u=m[1][1],x=m[1][2],p=Bs(a,u,n),f.push(p+"!"+p0(x,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":h=m[1][2];var _=(a.names||[])[h-1]||(a[0]||[])[h],N=_?_.Name:"SH33TJSNAME"+String(h);N&&N.slice(0,6)=="_xlfn."&&!n.xlfn&&(N=N.slice(6)),f.push(N);break;case"PtgNameX":var O=m[1][1];h=m[1][2];var G;if(n.biff<=5)O<0&&(O=-O),a[O]&&(G=a[O][h]);else{var M="";if(((a[O]||[])[0]||[])[0]==14849||(((a[O]||[])[0]||[])[0]==1025?a[O][h]&&a[O][h].itab>0&&(M=a.SheetNames[a[O][h].itab-1]+"!"):M=a.SheetNames[h-1]+"!"),a[O]&&a[O][h])M+=a[O][h].Name;else if(a[0]&&a[0][h])M+=a[0][h].Name;else{var L=(jc(a,O,n)||"").split(";;");L[h-1]?M=L[h-1]:M+="SH33TJSERRX"}f.push(M);break}G||(G={Name:"SH33TJSERRY"}),f.push(G.Name);break;case"PtgParen":var J="(",oe=")";if(d>=0){switch(v="",e[0][d][1][0]){case 2:J=Je(" ",e[0][d][1][1])+J;break;case 3:J=Je("\r",e[0][d][1][1])+J;break;case 4:oe=Je(" ",e[0][d][1][1])+oe;break;case 5:oe=Je("\r",e[0][d][1][1])+oe;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}d=-1}f.push(J+f.pop()+oe);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":l={c:m[1][1],r:m[1][0]};var ee={c:r.c,r:r.r};if(a.sharedf[ge(l)]){var ue=a.sharedf[ge(l)];f.push(Tr(ue,s,ee,a,n))}else{var ce=!1;for(c=0;c!=a.arrayf.length;++c)if(o=a.arrayf[c],!(l.co[0].e.c)&&!(l.ro[0].e.r)){f.push(Tr(o[1],s,ee,a,n)),ce=!0;break}ce||f.push(m[1])}break;case"PtgArray":f.push("{"+Vv(m[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":d=w;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+m[1].idx+"[#"+m[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(m));default:throw new Error("Unrecognized Formula Token: "+String(m))}var ke=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3&&d>=0&&ke.indexOf(e[0][w][0])==-1){m=e[0][d];var V=!0;switch(m[1][0]){case 4:V=!1;case 0:v=Je(" ",m[1][1]);break;case 5:V=!1;case 1:v=Je("\r",m[1][1]);break;default:if(v="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+m[1][0])}f.push((V?v:"")+f.pop()+(V?"":v)),d=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");return f[0]}function zv(e,t,r){var a=e.l+t,n=r.biff==2?1:2,i,s=e.read_shift(n);if(s==65535)return[[],Ar(e,t-2)];var f=kn(e,s,r);return t!==s+n&&(i=wn(e,t-s-n,f,r)),e.l=a,[f,i]}function $v(e,t,r){var a=e.l+t,n=r.biff==2?1:2,i,s=e.read_shift(n);if(s==65535)return[[],Ar(e,t-2)];var f=kn(e,s,r);return t!==s+n&&(i=wn(e,t-s-n,f,r)),e.l=a,[f,i]}function Kv(e,t,r,a){var n=e.l+t,i=kn(e,a,r),s;return n!==e.l&&(s=wn(e,n-e.l,i,r)),[i,s]}function jv(e,t,r){var a=e.l+t,n,i=e.read_shift(2),s=kn(e,i,r);return i==65535?[[],Ar(e,t-2)]:(t!==i+2&&(n=wn(e,a-i-2,s,r)),[s,n])}function Yv(e){var t;if(wt(e,e.l+6)!==65535)return[Fr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function Jv(e){if(e==null){var t=z(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return ta(e);return ta(0)}function w0(e,t,r){var a=e.l+t,n=vt(e);r.biff==2&&++e.l;var i=Yv(e),s=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var f=$v(e,a-e.l,r);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function qv(e,t,r,a,n){var i=na(t,r,n),s=Jv(e.v),f=z(6),c=33;f.write_shift(2,c),f.write_shift(4,0);for(var o=z(e.bf.length),l=0;l0?wn(e,i,n,r):null;return[n,s]}var Zv=s0,f0=s0,Qv=s0,em=s0,rm={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Yc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},tm={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Ms(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function am(e){var t="of:="+e.replace(gi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function k0(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function nm(e){return e.replace(/\./,"!")}var $a={},Fa={},Ka=typeof Map<"u";function ki(e,t,r){var a=0,n=e.length;if(r){if(Ka?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Ka?r.get(t):r[t];a-1?(r.width=qn(a),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function qt(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Xt(e,t,r){var a=r.revssf[t.z!=null?t.z:"General"],n=60,i=e.length;if(a==null&&r.ssf){for(;n<392;++n)if(r.ssf[n]==null){dt(t.z,n),r.ssf[n]=t.z,r.revssf[t.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;return e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Jc(e,t,r,a,n,i){try{a.cellNF&&(e.z=me[t])}catch(f){if(a.WTF)throw f}if(!(e.t==="z"&&!a.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Ge(e.v)),(!a||a.cellText!==!1)&&e.t!=="z")try{if(me[t]==null&&dt(tu[t]||"General",t),e.t==="e")e.w=e.w||At[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=rn(e.v);else if(e.t==="d"){var s=ur(e.v);(s|0)===s?e.w=s.toString(10):e.w=rn(s)}else{if(e.v===void 0)return"";e.w=ea(e.v,Fa)}else e.t==="d"?e.w=Vr(t,ur(e.v),Fa):e.w=Vr(t,e.v,Fa)}catch(f){if(a.WTF)throw f}if(a.cellStyles&&r!=null)try{e.s=i.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Jn(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),a.WTF&&(e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Jn(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),a.WTF&&(e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(f){if(a.WTF&&i.Fills)throw f}}}function im(e,t,r){if(e&&e["!ref"]){var a=Re(e["!ref"]);if(a.e.c=0&&r.s.c>=0&&(e["!ref"]=Te(r))}var fm=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,cm=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,om=/<(?:\w:)?hyperlink [^>]*>/mg,lm=/"(\w*:\w*)"/,um=/<(?:\w:)?col\b[^>]*[\/]?>/g,hm=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,xm=/<(?:\w:)?pageMargins[^>]*\/>/g,qc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,dm=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,pm=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function vm(e,t,r,a,n,i,s){if(!e)return e;a||(a={"!id":{}});var f=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},o="",l="",u=e.match(cm);u?(o=e.slice(0,u.index),l=e.slice(u.index+u[0].length)):o=l=e;var h=o.match(qc);h?Ei(h[0],f,n,r):(h=o.match(dm))&&gm(h[0],h[1]||"",f,n,r);var x=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(x>0){var p=o.slice(x,x+50).match(lm);p&&sm(f,p[1])}var d=o.match(pm);d&&d[1]&&Om(d[1],n);var v=[];if(t.cellStyles){var w=o.match(um);w&&ym(v,w)}u&&Nm(u[1],f,t,c,i,s);var k=l.match(hm);k&&(f["!autofilter"]=Cm(k[0]));var m=[],y=l.match(fm);if(y)for(x=0;x!=y.length;++x)m[x]=Re(y[x].slice(y[x].indexOf('"')+1));var I=l.match(om);I&&Tm(f,I,a);var S=l.match(xm);if(S&&(f["!margins"]=Sm(_e(S[0]))),!f["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(f["!ref"]=Te(c)),t.sheetRows>0&&f["!ref"]){var _=Re(f["!ref"]);t.sheetRows<=+_.e.r&&(_.e.r=t.sheetRows-1,_.e.r>c.e.r&&(_.e.r=c.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>c.e.c&&(_.e.c=c.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),f["!fullref"]=f["!ref"],f["!ref"]=Te(_))}return v.length>0&&(f["!cols"]=v),m.length>0&&(f["!merges"]=m),f}function mm(e){if(e.length===0)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}function Ei(e,t,r,a){var n=_e(e);r.Sheets[a]||(r.Sheets[a]={}),n.codeName&&(r.Sheets[a].CodeName=Ie(Ue(n.codeName)))}function gm(e,t,r,a,n){Ei(e.slice(0,e.indexOf(">")),r,a,n)}function _m(e,t,r,a,n){var i=!1,s={},f=null;if(a.bookType!=="xlsx"&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch{}i=!0,s.codeName=xt(Be(c))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};e["!outline"].above&&(o.summaryBelow=0),e["!outline"].left&&(o.summaryRight=0),f=(f||"")+ie("outlinePr",null,o)}!i&&!f||(n[n.length]=ie("sheetPr",f,s))}var wm=["objects","scenarios","selectLockedCells","selectUnlockedCells"],km=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Em(e){var t={sheet:1};return wm.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),km.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=pi(e.password).toString(16).toUpperCase()),ie("sheetProtection",null,t)}function Tm(e,t,r){for(var a=Array.isArray(e),n=0;n!=t.length;++n){var i=_e(Ue(t[n]),!0);if(!i.ref)return;var s=((r||{})["!id"]||[])[i.id];s?(i.Target=s.Target,i.location&&(i.Target+="#"+Ie(i.location))):(i.Target="#"+Ie(i.location),s={Target:i.Target,TargetMode:"Internal"}),i.Rel=s,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var f=Re(i.ref),c=f.s.r;c<=f.e.r;++c)for(var o=f.s.c;o<=f.e.c;++o){var l=ge({c:o,r:c});a?(e[c]||(e[c]=[]),e[c][o]||(e[c][o]={t:"z",v:void 0}),e[c][o].l=i):(e[l]||(e[l]={t:"z",v:void 0}),e[l].l=i)}}}function Sm(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function Fm(e){return qt(e),ie("pageMargins",null,e)}function ym(e,t){for(var r=!1,a=0;a!=t.length;++a){var n=_e(t[a],!0);n.hidden&&(n.hidden=Xe(n.hidden));var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;for(n.outlineLevel&&(n.level=+n.outlineLevel||0),delete n.min,delete n.max,n.width=+n.width,!r&&n.width&&(r=!0,vi(n.width)),Mt(n);i<=s;)e[i++]=ze(n)}}function Am(e,t){for(var r=[""],a,n=0;n!=t.length;++n)(a=t[n])&&(r[r.length]=ie("col",null,c0(n,a)));return r[r.length]="",r.join("")}function Cm(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function bm(e,t,r,a){var n=typeof e.ref=="string"?e.ref:Te(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=Pr(n);s.s.r==s.e.r&&(s.e.r=Pr(t["!ref"]).e.r,n=Te(s));for(var f=0;fa-z][^>]*)?\/?>/;function Om(e,t){t.Views||(t.Views=[{}]),(e.match(Dm)||[]).forEach(function(r,a){var n=_e(r);t.Views[a]||(t.Views[a]={}),+n.zoomScale&&(t.Views[a].zoom=+n.zoomScale),Xe(n.rightToLeft)&&(t.Views[a].RTL=!0)})}function Im(e,t,r,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),ie("sheetViews",ie("sheetView",null,n),{})}function Rm(e,t,r,a){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var n="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=At[e.v];break;case"d":a&&a.cellDates?n=Ge(e.v,-1).toISOString():(e=ze(e),e.t="n",n=""+(e.v=ur(Ge(e.v)))),typeof e.z>"u"&&(e.z=me[14]);break;default:n=e.v;break}var f=_r("v",Be(n)),c={r:t},o=Xt(a.cellXfs,e,a);switch(o!==0&&(c.s=o),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=_r("v",""+ki(a.Strings,e.v,a.revStrings)),c.t="s";break}c.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var l=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;f=ie("f",Be(e.f),l)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),ie("c",f,c)}var Nm=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,n=/ref=["']([^"']*)["']/,i=tn("v"),s=tn("f");return function(c,o,l,u,h,x){for(var p=0,d="",v=[],w=[],k=0,m=0,y=0,I="",S,_,N=0,O=0,G,M,L=0,J=0,oe=Array.isArray(x.CellXf),ee,ue=[],ce=[],ke=Array.isArray(o),V=[],xe={},pe=!1,b=!!l.sheetStubs,B=c.split(t),R=0,P=B.length;R!=P;++R){d=B[R].trim();var K=d.length;if(K!==0){var te=0;e:for(p=0;p":if(d[p-1]!="/"){++p;break e}if(l&&l.cellStyles){if(_=_e(d.slice(te,p),!0),N=_.r!=null?parseInt(_.r,10):N+1,O=-1,l.sheetRows&&l.sheetRows=p)break;if(_=_e(d.slice(te,p),!0),N=_.r!=null?parseInt(_.r,10):N+1,O=-1,!(l.sheetRows&&l.sheetRowsN-1&&(u.s.r=N-1),u.e.r":"")+d,w!=null&&w.length===2){for(k=0,I=w[1],m=0;m!=I.length&&!((y=I.charCodeAt(m)-64)<1||y>26);++m)k=26*k+y;--k,O=k}else++O;for(m=0;m!=d.length&&d.charCodeAt(m)!==62;++m);if(++m,_=_e(d.slice(0,m),!0),_.r||(_.r=ge({r:N-1,c:O})),I=d.slice(m),S={t:""},(w=I.match(i))!=null&&w[1]!==""&&(S.v=Ie(w[1])),l.cellFormula){if((w=I.match(s))!=null&&w[1]!==""){if(S.f=Ie(Ue(w[1])).replace(/\r\n/g,` +`),l.xlfn||(S.f=Ns(S.f)),w[0].indexOf('t="array"')>-1)S.F=(I.match(n)||[])[1],S.F.indexOf(":")>-1&&ue.push([Re(S.F),S.F]);else if(w[0].indexOf('t="shared"')>-1){M=_e(w[0]);var Q=Ie(Ue(w[1]));l.xlfn||(Q=Ns(Q)),ce[parseInt(M.si,10)]=[M,Q,_.r]}}else(w=I.match(/]*\/>/))&&(M=_e(w[0]),ce[M.si]&&(S.f=Dp(ce[M.si][1],ce[M.si][2],_.r)));var q=Ye(_.r);for(m=0;m=ue[m][0].s.r&&q.r<=ue[m][0].e.r&&q.c>=ue[m][0].s.c&&q.c<=ue[m][0].e.c&&(S.F=ue[m][1])}if(_.t==null&&S.v===void 0)if(S.f||S.F)S.v=0,S.t="n";else if(b)S.t="z";else continue;else S.t=_.t||"n";switch(u.s.c>O&&(u.s.c=O),u.e.c"u"){if(!b)continue;S.t="z"}else G=$a[parseInt(S.v,10)],S.v=G.t,S.r=G.r,l.cellHTML&&(S.h=G.h);break;case"str":S.t="s",S.v=S.v!=null?Ue(S.v):"",l.cellHTML&&(S.h=ei(S.v));break;case"inlineStr":w=I.match(a),S.t="s",w!=null&&(G=di(w[1]))?(S.v=G.t,l.cellHTML&&(S.h=G.h)):S.v="";break;case"b":S.v=Xe(S.v);break;case"d":l.cellDates?S.v=Ge(S.v,1):(S.v=ur(Ge(S.v,1)),S.t="n");break;case"e":(!l||l.cellText!==!1)&&(S.w=S.v),S.v=Qf[S.v];break}if(L=J=0,ee=null,oe&&_.s!==void 0&&(ee=x.CellXf[_.s],ee!=null&&(ee.numFmtId!=null&&(L=ee.numFmtId),l.cellStyles&&ee.fillId!=null&&(J=ee.fillId))),Jc(S,L,J,l,h,x),l.cellDates&&oe&&S.t=="n"&&fa(me[L])&&(S.t="d",S.v=n0(S.v)),_.cm&&l.xlmeta){var Fe=(l.xlmeta.Cell||[])[+_.cm-1];Fe&&Fe.type=="XLDAPR"&&(S.D=!0)}if(ke){var D=Ye(_.r);o[D.r]||(o[D.r]=[]),o[D.r][D.c]=S}else o[_.r]=S}}}}V.length>0&&(o["!rows"]=V)}}();function Pm(e,t,r,a){var n=[],i=[],s=Re(e["!ref"]),f="",c,o="",l=[],u=0,h=0,x=e["!rows"],p=Array.isArray(e),d={r:o},v,w=-1;for(h=s.s.c;h<=s.e.c;++h)l[h]=je(h);for(u=s.s.r;u<=s.e.r;++u){for(i=[],o=tr(u),h=s.s.c;h<=s.e.c;++h){c=l[h]+o;var k=p?(e[u]||[])[h]:e[c];k!==void 0&&(f=Rm(k,c,e,t))!=null&&i.push(f)}(i.length>0||x&&x[u])&&(d={r:o},x&&x[u]&&(v=x[u],v.hidden&&(d.hidden=1),w=-1,v.hpx?w=ln(v.hpx):v.hpt&&(w=v.hpt),w>-1&&(d.ht=w,d.customHeight=1),v.level&&(d.outlineLevel=v.level)),n[n.length]=ie("row",i.join(""),d))}if(x)for(;u-1&&(d.ht=w,d.customHeight=1),v.level&&(d.outlineLevel=v.level),n[n.length]=ie("row","",d));return n.join("")}function Zc(e,t,r,a){var n=[ar,ie("worksheet",null,{xmlns:ca[0],"xmlns:r":or.r})],i=r.SheetNames[e],s=0,f="",c=r.Sheets[i];c==null&&(c={});var o=c["!ref"]||"A1",l=Re(o);if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575),o=Te(l)}a||(a={}),c["!comments"]=[];var u=[];_m(c,r,e,t,n),n[n.length]=ie("dimension",null,{ref:o}),n[n.length]=Im(c,t,e,r),t.sheetFormat&&(n[n.length]=ie("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),c["!cols"]!=null&&c["!cols"].length>0&&(n[n.length]=Am(c,c["!cols"])),n[s=n.length]="",c["!links"]=[],c["!ref"]!=null&&(f=Pm(c,t),f.length>0&&(n[n.length]=f)),n.length>s+1&&(n[n.length]="",n[s]=n[s].replace("/>",">")),c["!protect"]&&(n[n.length]=Em(c["!protect"])),c["!autofilter"]!=null&&(n[n.length]=bm(c["!autofilter"],c,r,e)),c["!merges"]!=null&&c["!merges"].length>0&&(n[n.length]=mm(c["!merges"]));var h=-1,x,p=-1;return c["!links"].length>0&&(n[n.length]="",c["!links"].forEach(function(d){d[1].Target&&(x={ref:d[0]},d[1].Target.charAt(0)!="#"&&(p=Le(a,-1,Be(d[1].Target).replace(/#.*$/,""),be.HLINK),x["r:id"]="rId"+p),(h=d[1].Target.indexOf("#"))>-1&&(x.location=Be(d[1].Target.slice(h+1))),d[1].Tooltip&&(x.tooltip=Be(d[1].Tooltip)),n[n.length]=ie("hyperlink",null,x))}),n[n.length]=""),delete c["!links"],c["!margins"]!=null&&(n[n.length]=Fm(c["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(n[n.length]=_r("ignoredErrors",ie("ignoredError",null,{numberStoredAsText:1,sqref:o}))),u.length>0&&(p=Le(a,-1,"../drawings/drawing"+(e+1)+".xml",be.DRAW),n[n.length]=ie("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=u),c["!comments"].length>0&&(p=Le(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",be.VML),n[n.length]=ie("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),n.length>1&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Lm(e,t){var r={},a=e.l+t;r.r=e.read_shift(4),e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=a,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=n/20),r}function Bm(e,t,r){var a=z(145),n=(r["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var i=320;n.hpx?i=ln(n.hpx)*20:n.hpt&&(i=n.hpt*20),a.write_shift(2,i),a.write_shift(1,0);var s=0;n.level&&(s|=n.level),n.hidden&&(s|=16),(n.hpx||n.hpt)&&(s|=32),a.write_shift(1,s),a.write_shift(1,0);var f=0,c=a.l;a.l+=4;for(var o={r:e,c:0},l=0;l<16;++l)if(!(t.s.c>l+1<<10||t.e.ca.l?a.slice(0,a.l):a}function Mm(e,t,r,a){var n=Bm(a,r,t);(n.length>17||(t["!rows"]||[])[a])&&Y(e,0,n)}var Um=ha,Wm=Oa;function Hm(){}function Vm(e,t){var r={},a=e[e.l];return++e.l,r.above=!(a&64),r.left=!(a&128),e.l+=18,r.name=zu(e),r}function Xm(e,t,r){r==null&&(r=z(84+4*e.length));var a=192;t&&(t.above&&(a&=-65),t.left&&(a&=-129)),r.write_shift(1,a);for(var n=1;n<3;++n)r.write_shift(1,0);return Kn({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),jf(e,r),r.slice(0,r.l)}function Gm(e){var t=Qr(e);return[t]}function zm(e,t,r){return r==null&&(r=z(8)),oa(t,r)}function $m(e){var t=la(e);return[t]}function Km(e,t,r){return r==null&&(r=z(4)),ua(t,r)}function jm(e){var t=Qr(e),r=e.read_shift(1);return[t,r,"b"]}function Ym(e,t,r){return r==null&&(r=z(9)),oa(t,r),r.write_shift(1,e.v?1:0),r}function Jm(e){var t=la(e),r=e.read_shift(1);return[t,r,"b"]}function qm(e,t,r){return r==null&&(r=z(5)),ua(t,r),r.write_shift(1,e.v?1:0),r}function Zm(e){var t=Qr(e),r=e.read_shift(1);return[t,r,"e"]}function Qm(e,t,r){return r==null&&(r=z(9)),oa(t,r),r.write_shift(1,e.v),r}function e2(e){var t=la(e),r=e.read_shift(1);return[t,r,"e"]}function r2(e,t,r){return r==null&&(r=z(8)),ua(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function t2(e){var t=Qr(e),r=e.read_shift(4);return[t,r,"s"]}function a2(e,t,r){return r==null&&(r=z(12)),oa(t,r),r.write_shift(4,t.v),r}function n2(e){var t=la(e),r=e.read_shift(4);return[t,r,"s"]}function i2(e,t,r){return r==null&&(r=z(8)),ua(t,r),r.write_shift(4,t.v),r}function s2(e){var t=Qr(e),r=Fr(e);return[t,r,"n"]}function f2(e,t,r){return r==null&&(r=z(16)),oa(t,r),ta(e.v,r),r}function Qc(e){var t=la(e),r=Fr(e);return[t,r,"n"]}function c2(e,t,r){return r==null&&(r=z(12)),ua(t,r),ta(e.v,r),r}function o2(e){var t=Qr(e),r=oi(e);return[t,r,"n"]}function l2(e,t,r){return r==null&&(r=z(12)),oa(t,r),Yf(e.v,r),r}function u2(e){var t=la(e),r=oi(e);return[t,r,"n"]}function h2(e,t,r){return r==null&&(r=z(8)),ua(t,r),Yf(e.v,r),r}function x2(e){var t=Qr(e),r=si(e);return[t,r,"is"]}function d2(e){var t=Qr(e),r=yr(e);return[t,r,"str"]}function p2(e,t,r){return r==null&&(r=z(12+4*e.v.length)),oa(t,r),pr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function v2(e){var t=la(e),r=yr(e);return[t,r,"str"]}function m2(e,t,r){return r==null&&(r=z(8+4*e.v.length)),ua(t,r),pr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function g2(e,t,r){var a=e.l+t,n=Qr(e);n.r=r["!row"];var i=e.read_shift(1),s=[n,i,"b"];if(r.cellFormula){e.l+=2;var f=f0(e,a-e.l,r);s[3]=Tr(f,null,n,r.supbooks,r)}else e.l=a;return s}function _2(e,t,r){var a=e.l+t,n=Qr(e);n.r=r["!row"];var i=e.read_shift(1),s=[n,i,"e"];if(r.cellFormula){e.l+=2;var f=f0(e,a-e.l,r);s[3]=Tr(f,null,n,r.supbooks,r)}else e.l=a;return s}function w2(e,t,r){var a=e.l+t,n=Qr(e);n.r=r["!row"];var i=Fr(e),s=[n,i,"n"];if(r.cellFormula){e.l+=2;var f=f0(e,a-e.l,r);s[3]=Tr(f,null,n,r.supbooks,r)}else e.l=a;return s}function k2(e,t,r){var a=e.l+t,n=Qr(e);n.r=r["!row"];var i=yr(e),s=[n,i,"str"];if(r.cellFormula){e.l+=2;var f=f0(e,a-e.l,r);s[3]=Tr(f,null,n,r.supbooks,r)}else e.l=a;return s}var E2=ha,T2=Oa;function S2(e,t){return t==null&&(t=z(4)),t.write_shift(4,e),t}function F2(e,t){var r=e.l+t,a=ha(e),n=fi(e),i=yr(e),s=yr(e),f=yr(e);e.l=r;var c={rfx:a,relId:n,loc:i,display:f};return s&&(c.Tooltip=s),c}function y2(e,t){var r=z(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Oa({s:Ye(e[0]),e:Ye(e[0])},r),ci("rId"+t,r);var a=e[1].Target.indexOf("#"),n=a==-1?"":e[1].Target.slice(a+1);return pr(n||"",r),pr(e[1].Tooltip||"",r),pr("",r),r.slice(0,r.l)}function A2(){}function C2(e,t,r){var a=e.l+t,n=Jf(e),i=e.read_shift(1),s=[n];if(s[2]=i,r.cellFormula){var f=Zv(e,a-e.l,r);s[1]=f}else e.l=a;return s}function b2(e,t,r){var a=e.l+t,n=ha(e),i=[n];if(r.cellFormula){var s=em(e,a-e.l,r);i[1]=s,e.l=a}else e.l=a;return i}function D2(e,t,r){r==null&&(r=z(18));var a=c0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(a.width||10)*256),r.write_shift(4,0);var n=0;return t.hidden&&(n|=1),typeof a.width=="number"&&(n|=2),t.level&&(n|=t.level<<8),r.write_shift(2,n),r}var eo=["left","right","top","bottom","header","footer"];function O2(e){var t={};return eo.forEach(function(r){t[r]=Fr(e)}),t}function I2(e,t){return t==null&&(t=z(6*8)),qt(e),eo.forEach(function(r){ta(e[r],t)}),t}function R2(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function N2(e,t,r){r==null&&(r=z(30));var a=924;return(((t||{}).Views||[])[0]||{}).RTL&&(a|=32),r.write_shift(2,a),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function P2(e){var t=z(24);return t.write_shift(4,4),t.write_shift(4,1),Oa(e,t),t}function L2(e,t){return t==null&&(t=z(16*4+2)),t.write_shift(2,e.password?pi(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function B2(){}function M2(){}function U2(e,t,r,a,n,i,s){if(!e)return e;var f=t||{};a||(a={"!id":{}});var c=f.dense?[]:{},o,l={s:{r:2e6,c:2e6},e:{r:0,c:0}},u=!1,h=!1,x,p,d,v,w,k,m,y,I,S=[];f.biff=12,f["!row"]=0;var _=0,N=!1,O=[],G={},M=f.supbooks||n.supbooks||[[]];if(M.sharedf=G,M.arrayf=O,M.SheetNames=n.SheetNames||n.Sheets.map(function(ke){return ke.name}),!f.supbooks&&(f.supbooks=M,n.Names))for(var L=0;L=b[0].s.r&&x.r<=b[0].e.r&&w>=b[0].s.c&&w<=b[0].e.c&&(p.F=Te(b[0]),N=!0)}!N&&V.length>3&&(p.f=V[3])}if(l.s.r>x.r&&(l.s.r=x.r),l.s.c>w&&(l.s.c=w),l.e.rx.r&&(l.s.r=x.r),l.s.c>w&&(l.s.c=w),l.e.r=V.s;)J[V.e--]={width:V.w/256,hidden:!!(V.flags&1),level:V.level},ee||(ee=!0,vi(V.w/256)),Mt(J[V.e+1]);break;case 161:c["!autofilter"]={ref:Te(V)};break;case 476:c["!margins"]=V;break;case 147:n.Sheets[r]||(n.Sheets[r]={}),V.name&&(n.Sheets[r].CodeName=V.name),(V.above||V.left)&&(c["!outline"]={above:V.above,left:V.left});break;case 137:n.Views||(n.Views=[{}]),n.Views[0]||(n.Views[0]={}),V.RTL&&(n.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:u=!0;break;case 36:u=!1;break;case 37:u=!0;break;case 38:u=!1;break;default:if(!xe.T){if(!u||f.WTF)throw new Error("Unexpected record 0x"+pe.toString(16))}}},f),delete f.supbooks,delete f["!row"],!c["!ref"]&&(l.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0))&&(c["!ref"]=Te(o||l)),f.sheetRows&&c["!ref"]){var ce=Re(c["!ref"]);f.sheetRows<=+ce.e.r&&(ce.e.r=f.sheetRows-1,ce.e.r>l.e.r&&(ce.e.r=l.e.r),ce.e.rl.e.c&&(ce.e.c=l.e.c),ce.e.c0&&(c["!merges"]=S),J.length>0&&(c["!cols"]=J),oe.length>0&&(c["!rows"]=oe),c}function W2(e,t,r,a,n,i,s){if(t.v===void 0)return!1;var f="";switch(t.t){case"b":f=t.v?"1":"0";break;case"d":t=ze(t),t.z=t.z||me[14],t.v=ur(Ge(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var c={r,c:a};switch(c.s=Xt(n.cellXfs,t,n),t.l&&i["!links"].push([ge(c),t.l]),t.c&&i["!comments"].push([ge(c),t.c]),t.t){case"s":case"str":return n.bookSST?(f=ki(n.Strings,t.v,n.revStrings),c.t="s",c.v=f,s?Y(e,18,i2(t,c)):Y(e,7,a2(t,c))):(c.t="str",s?Y(e,17,m2(t,c)):Y(e,6,p2(t,c))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?Y(e,13,h2(t,c)):Y(e,2,l2(t,c)):s?Y(e,16,c2(t,c)):Y(e,5,f2(t,c)),!0;case"b":return c.t="b",s?Y(e,15,qm(t,c)):Y(e,4,Ym(t,c)),!0;case"e":return c.t="e",s?Y(e,14,r2(t,c)):Y(e,3,Qm(t,c)),!0}return s?Y(e,12,Km(t,c)):Y(e,1,zm(t,c)),!0}function H2(e,t,r,a){var n=Re(t["!ref"]||"A1"),i,s="",f=[];Y(e,145);var c=Array.isArray(t),o=n.e.r;t["!rows"]&&(o=Math.max(n.e.r,t["!rows"].length-1));for(var l=n.s.r;l<=o;++l){s=tr(l),Mm(e,t,n,l);var u=!1;if(l<=n.e.r)for(var h=n.s.c;h<=n.e.c;++h){l===n.s.r&&(f[h]=je(h)),i=f[h]+s;var x=c?(t[l]||[])[h]:t[i];if(!x){u=!1;continue}u=W2(e,x,l,h,a,t,u)}}Y(e,146)}function V2(e,t){!t||!t["!merges"]||(Y(e,177,S2(t["!merges"].length)),t["!merges"].forEach(function(r){Y(e,176,T2(r))}),Y(e,178))}function X2(e,t){!t||!t["!cols"]||(Y(e,390),t["!cols"].forEach(function(r,a){r&&Y(e,60,D2(a,r))}),Y(e,391))}function G2(e,t){!t||!t["!ref"]||(Y(e,648),Y(e,649,P2(Re(t["!ref"]))),Y(e,650))}function z2(e,t,r){t["!links"].forEach(function(a){if(a[1].Target){var n=Le(r,-1,a[1].Target.replace(/#.*$/,""),be.HLINK);Y(e,494,y2(a,n))}}),delete t["!links"]}function $2(e,t,r,a){if(t["!comments"].length>0){var n=Le(a,-1,"../drawings/vmlDrawing"+(r+1)+".vml",be.VML);Y(e,551,ci("rId"+n)),t["!legacy"]=n}}function K2(e,t,r,a){if(t["!autofilter"]){var n=t["!autofilter"],i=typeof n.ref=="string"?n.ref:Te(n.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=Pr(i);f.s.r==f.e.r&&(f.e.r=Pr(t["!ref"]).e.r,i=Te(f));for(var c=0;c16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],Y(n,129),(r.vbaraw||s["!outline"])&&Y(n,147,Xm(f,s["!outline"])),Y(n,148,Wm(c)),j2(n,s,r.Workbook),X2(n,s),H2(n,s,e,t),Y2(n,s),K2(n,s,r,e),V2(n,s),z2(n,s,a),s["!margins"]&&Y(n,476,I2(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&G2(n,s),$2(n,s,e,a),Y(n,130),n.end()}function q2(e){var t=[],r=e.match(/^/),a;(e.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(i){var s=i.match(/(.*)<\/c:v><\/c:pt>/);s&&(t[+s[1]]=r?+s[2]:s[2])});var n=Ie((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(i){a=i.replace(/<.*?>/g,"")}),[t,n,a]}function Z2(e,t,r,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,c=0,o="A",l={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(u){var h=q2(u);l.s.r=l.s.c=0,l.e.c=f,o=je(f),h[0].forEach(function(x,p){s[o+tr(p)]={t:"n",v:x,z:h[1]},c=p}),l.e.r0&&(s["!ref"]=Te(l)),s}function Q2(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s,f=e.match(qc);return f&&Ei(f[0],i,n,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}function eg(e,t){e.l+=10;var r=yr(e);return{name:r}}function rg(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s=!1;return yt(e,function(c,o,l){switch(l){case 550:i["!rel"]=c;break;case 651:n.Sheets[r]||(n.Sheets[r]={}),c.name&&(n.Sheets[r].CodeName=c.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(!(o.T>0)){if(!(o.T<0)){if(!s||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}}},t),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}var Ti=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],tg=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],ag=[],ng=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Us(e,t){for(var r=0;r!=e.length;++r)for(var a=e[r],n=0;n!=t.length;++n){var i=t[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":typeof a[i[0]]=="string"&&(a[i[0]]=Xe(a[i[0]]));break;case"int":typeof a[i[0]]=="string"&&(a[i[0]]=parseInt(a[i[0]],10));break}}}function Ws(e,t){for(var r=0;r!=t.length;++r){var a=t[r];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":typeof e[a[0]]=="string"&&(e[a[0]]=Xe(e[a[0]]));break;case"int":typeof e[a[0]]=="string"&&(e[a[0]]=parseInt(e[a[0]],10));break}}}function ro(e){Ws(e.WBProps,Ti),Ws(e.CalcPr,ng),Us(e.WBView,tg),Us(e.Sheets,ag),Fa.date1904=Xe(e.WBProps.date1904)}function ig(e){return!e.Workbook||!e.Workbook.WBProps?"false":Xe(e.Workbook.WBProps.date1904)?"true":"false"}var sg="][*?/\\".split("");function to(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return sg.forEach(function(a){if(e.indexOf(a)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function fg(e,t,r){e.forEach(function(a,n){to(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function cg(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];fg(e.SheetNames,t,!!e.vbaraw);for(var r=0;r":break;case"":case"":break;case"":break;case"":Ti.forEach(function(u){if(l[u[0]]!=null)switch(u[2]){case"bool":r.WBProps[u[0]]=Xe(l[u[0]]);break;case"int":r.WBProps[u[0]]=parseInt(l[u[0]],10);break;default:r.WBProps[u[0]]=l[u[0]]}}),l.codeName&&(r.WBProps.CodeName=Ue(l.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete l[0],r.WBView.push(l);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":a=!1;break;case"":i.Ref=Ie(Ue(e.slice(s,o))),r.Names.push(i);break;case"":break;case"":delete l[0],r.CalcPr=l;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":a=!1;break;case"":a=!0;break;case"":a=!1;break;case"0,a={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Ti.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(a[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(a.codeName=e.Workbook.WBProps.CodeName,delete a.CodeName)),t[t.length]=ie("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[],i=0;if(n&&n[0]&&n[0].Hidden){for(t[t.length]="",i=0;i!=e.SheetNames.length&&!(!n[i]||!n[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",i=0;i!=e.SheetNames.length;++i){var s={name:Be(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=ie("sheet",null,s)}return t[t.length]="",r&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var c={name:f.Name};f.Comment&&(c.comment=f.Comment),f.Sheet!=null&&(c.localSheetId=""+f.Sheet),f.Hidden&&(c.hidden="1"),f.Ref&&(t[t.length]=ie("definedName",Be(f.Ref),c))}),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function ug(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=O0(e),r.name=yr(e),r}function hg(e,t){return t||(t=z(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),ci(e.strRelID,t),pr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function xg(e,t){var r={},a=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var n=t>8?yr(e):"";return n.length>0&&(r.CodeName=n),r.autoCompressPictures=!!(a&65536),r.backupFile=!!(a&64),r.checkCompatibility=!!(a&4096),r.date1904=!!(a&1),r.filterPrivacy=!!(a&8),r.hidePivotFieldList=!!(a&1024),r.promptedSolutions=!!(a&16),r.publishItems=!!(a&2048),r.refreshAllConnections=!!(a&262144),r.saveExternalLinkValues=!!(a&128),r.showBorderUnselectedTables=!!(a&4),r.showInkAnnotation=!!(a&32),r.showObjects=["all","placeholders","none"][a>>13&3],r.showPivotChartFilter=!!(a&32768),r.updateLinks=["userSet","never","always"][a>>8&3],r}function dg(e,t){t||(t=z(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),jf(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function pg(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function vg(e,t,r){var a=e.l+t;e.l+=4,e.l+=1;var n=e.read_shift(4),i=$u(e),s=Qv(e,0,r),f=fi(e);e.l=a;var c={Name:i,Ptg:s};return n<268435455&&(c.Sheet=n),f&&(c.Comment=f),c}function mg(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},a=[],n=!1;t||(t={}),t.biff=12;var i=[],s=[[]];return s.SheetNames=[],s.XTI=[],un[16]={n:"BrtFRTArchID$",f:pg},yt(e,function(c,o,l){switch(l){case 156:s.SheetNames.push(c.name),r.Sheets.push(c);break;case 153:r.WBProps=c;break;case 39:c.Sheet!=null&&(t.SID=c.Sheet),c.Ref=Tr(c.Ptg,null,null,s,t),delete t.SID,delete c.Ptg,i.push(c);break;case 1036:break;case 357:case 358:case 355:case 667:s[0].length?s.push([l,c]):s[0]=[l,c],s[s.length-1].XTI=[];break;case 362:s.length===0&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(c),s.XTI=s.XTI.concat(c);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:a.push(l),n=!0;break;case 36:a.pop(),n=!1;break;case 37:a.push(l),n=!0;break;case 38:a.pop(),n=!1;break;case 16:break;default:if(!o.T){if(!n||t.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+l.toString(16))}}},t),ro(r),r.Names=i,r.supbooks=s,r}function gg(e,t){Y(e,143);for(var r=0;r!=t.SheetNames.length;++r){var a=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,n={Hidden:a,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};Y(e,156,hg(n))}Y(e,144)}function _g(e,t){t||(t=z(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return pr("SheetJS",t),pr(Wn.version,t),pr(Wn.version,t),pr("7262",t),t.length>t.l?t.slice(0,t.l):t}function wg(e,t){t||(t=z(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function kg(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,a=0,n=-1,i=-1;an||(Y(e,135),Y(e,158,wg(n)),Y(e,136))}}function Eg(e,t){var r=Nr();return Y(r,131),Y(r,128,_g()),Y(r,153,dg(e.Workbook&&e.Workbook.WBProps||null)),kg(r,e),gg(r,e),Y(r,132),r.end()}function Tg(e,t,r){return t.slice(-4)===".bin"?mg(e,r):lg(e,r)}function Sg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?U2(e,a,r,n,i,s,f):vm(e,a,r,n,i,s,f)}function Fg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?rg(e,a,r,n,i):Q2(e,a,r,n,i)}function yg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?Cp():bp()}function Ag(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?yp():Ap()}function Cg(e,t,r,a){return t.slice(-4)===".bin"?Td(e,r,a):ud(e,r,a)}function bg(e,t,r){return Bc(e,r)}function Dg(e,t,r){return t.slice(-4)===".bin"?Dx(e,r):Ax(e,r)}function Og(e,t,r){return t.slice(-4)===".bin"?kp(e,r):hp(e,r)}function Ig(e,t,r){return t.slice(-4)===".bin"?op(e):fp(e)}function Rg(e,t,r,a){return r.slice(-4)===".bin"?lp(e,t,r,a):void 0}function Ng(e,t,r){return t.slice(-4)===".bin"?np(e,t,r):sp(e,t,r)}function Pg(e,t,r){return(t.slice(-4)===".bin"?Eg:ao)(e)}function Lg(e,t,r,a,n){return(t.slice(-4)===".bin"?J2:Zc)(e,r,a,n)}function Bg(e,t,r){return(t.slice(-4)===".bin"?Rd:Pc)(e,r)}function Mg(e,t,r){return(t.slice(-4)===".bin"?Rx:Ac)(e,r)}function Ug(e,t,r){return(t.slice(-4)===".bin"?Ep:Wc)(e)}function Wg(e){return(e.slice(-4)===".bin"?ip:Mc)()}var no=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,io=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function et(e,t){var r=e.split(/\s+/),a=[];if(t||(a[0]=r[0]),r.length===1)return a;var n=e.match(no),i,s,f,c;if(n)for(c=0;c!=n.length;++c)i=n[c].match(io),(s=i[1].indexOf(":"))===-1?a[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?f="xmlns"+i[1].slice(6):f=i[1].slice(s+1),a[f]=i[2].slice(1,i[2].length-1));return a}function Hg(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var a=e.match(no),n,i,s,f;if(a)for(f=0;f!=a.length;++f)n=a[f].match(io),(i=n[1].indexOf(":"))===-1?r[n[1]]=n[2].slice(1,n[2].length-1):(n[1].slice(0,6)==="xmlns:"?s="xmlns"+n[1].slice(6):s=n[1].slice(i+1),r[s]=n[2].slice(1,n[2].length-1));return r}var ja;function Vg(e,t){var r=ja[e]||Ie(e);return r==="General"?ea(t):Vr(r,t)}function Xg(e,t,r,a){var n=a;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Xe(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=Ge(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[Ie(t)]=n}function Gg(e,t,r){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||At[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=rn(e.v):e.w=ea(e.v):e.w=Vg(t||"General",e.v)}catch(i){if(r.WTF)throw i}try{var a=ja[t]||t||"General";if(r.cellNF&&(e.z=a),r.cellDates&&e.t=="n"&&fa(a)){var n=Rt(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}catch(i){if(r.WTF)throw i}}}function zg(e,t,r){if(r.cellStyles&&t.Interior){var a=t.Interior;a.Pattern&&(a.patternType=ad[a.Pattern]||a.Pattern)}e[t.ID]=t}function $g(e,t,r,a,n,i,s,f,c,o){var l="General",u=a.StyleID,h={};o=o||{};var x=[],p=0;for(u===void 0&&f&&(u=f.StyleID),u===void 0&&s&&(u=s.StyleID);i[u]!==void 0&&(i[u].nf&&(l=i[u].nf),i[u].Interior&&x.push(i[u].Interior),!!i[u].Parent);)u=i[u].Parent;switch(r.Type){case"Boolean":a.t="b",a.v=Xe(e);break;case"String":a.t="s",a.r=as(Ie(e)),a.v=e.indexOf("<")>-1?Ie(t||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),a.v=(Ge(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),a.v!==a.v?a.v=Ie(e):a.v<60&&(a.v=a.v-1),(!l||l=="General")&&(l="yyyy-mm-dd");case"Number":a.v===void 0&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=Qf[e],o.cellText!==!1&&(a.w=e);break;default:e==""&&t==""?a.t="z":(a.t="s",a.v=as(t||e));break}if(Gg(a,l,o),o.cellFormula!==!1)if(a.Formula){var d=Ie(a.Formula);d.charCodeAt(0)==61&&(d=d.slice(1)),a.f=Sa(d,n),delete a.Formula,a.ArrayRange=="RC"?a.F=Sa("RC:RC",n):a.ArrayRange&&(a.F=Sa(a.ArrayRange,n),c.push([Re(a.F),a.F]))}else for(p=0;p=c[p][0].s.r&&n.r<=c[p][0].e.r&&n.c>=c[p][0].s.c&&n.c<=c[p][0].e.c&&(a.F=c[p][1]);o.cellStyles&&(x.forEach(function(v){!h.patternType&&v.patternType&&(h.patternType=v.patternType)}),a.s=h),a.StyleID!==void 0&&(a.ixfe=a.StyleID)}function Kg(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,` +`).replace(/\r/g,` +`),e.v=e.w=e.ixfe=void 0}function E0(e,t){var r=t||{};ba();var a=Ua(ri(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(a=Ue(a));var n=a.slice(0,1024).toLowerCase(),i=!1;if(n=n.replace(/".*?"/g,""),(n.indexOf(">")&1023)>Math.min(n.indexOf(",")&1023,n.indexOf(";")&1023)){var s=ze(r);return s.type="string",Aa.to_workbook(a,s)}if(n.indexOf("=0&&(i=!0)}),i)return I_(a,r);ja={"General Number":"General","General Date":me[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":me[15],"Short Date":me[14],"Long Time":me[19],"Medium Time":me[18],"Short Time":me[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:me[2],Standard:me[4],Percent:me[10],Scientific:me[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var f,c=[],o,l={},u=[],h=r.dense?[]:{},x="",p={},d={},v=et(''),w=0,k=0,m=0,y={s:{r:2e6,c:2e6},e:{r:0,c:0}},I={},S={},_="",N=0,O=[],G={},M={},L=0,J=[],oe=[],ee={},ue=[],ce,ke=!1,V=[],xe=[],pe={},b=0,B=0,R={Sheets:[],WBProps:{date1904:!1}},P={};nn.lastIndex=0,a=a.replace(//mg,"");for(var K="";f=nn.exec(a);)switch(f[3]=(K=f[3]).toLowerCase()){case"data":if(K=="data"){if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break}if(c[c.length-1][1])break;f[1]==="/"?$g(a.slice(w,f.index),_,v,c[c.length-1][0]=="comment"?ee:p,{c:k,r:m},I,ue[k],d,V,r):(_="",v=et(f[0]),w=f.index+f[0].length);break;case"cell":if(f[1]==="/")if(oe.length>0&&(p.c=oe),(!r.sheetRows||r.sheetRows>m)&&p.v!==void 0&&(r.dense?(h[m]||(h[m]=[]),h[m][k]=p):h[je(k)+tr(m)]=p),p.HRef&&(p.l={Target:Ie(p.HRef)},p.HRefScreenTip&&(p.l.Tooltip=p.HRefScreenTip),delete p.HRef,delete p.HRefScreenTip),(p.MergeAcross||p.MergeDown)&&(b=k+(parseInt(p.MergeAcross,10)|0),B=m+(parseInt(p.MergeDown,10)|0),O.push({s:{c:k,r:m},e:{c:b,r:B}})),!r.sheetStubs)p.MergeAcross?k=b+1:++k;else if(p.MergeAcross||p.MergeDown){for(var te=k;te<=b;++te)for(var ne=m;ne<=B;++ne)(te>k||ne>m)&&(r.dense?(h[ne]||(h[ne]=[]),h[ne][te]={t:"z"}):h[je(te)+tr(ne)]={t:"z"});k=b+1}else++k;else p=Hg(f[0]),p.Index&&(k=+p.Index-1),ky.e.c&&(y.e.c=k),f[0].slice(-2)==="/>"&&++k,oe=[];break;case"row":f[1]==="/"||f[0].slice(-2)==="/>"?(my.e.r&&(y.e.r=m),f[0].slice(-2)==="/>"&&(d=et(f[0]),d.Index&&(m=+d.Index-1)),k=0,++m):(d=et(f[0]),d.Index&&(m=+d.Index-1),pe={},(d.AutoFitHeight=="0"||d.Height)&&(pe.hpx=parseInt(d.Height,10),pe.hpt=ln(pe.hpx),xe[m]=pe),d.Hidden=="1"&&(pe.hidden=!0,xe[m]=pe));break;case"worksheet":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"));u.push(x),y.s.r<=y.e.r&&y.s.c<=y.e.c&&(h["!ref"]=Te(y),r.sheetRows&&r.sheetRows<=y.e.r&&(h["!fullref"]=h["!ref"],y.e.r=r.sheetRows-1,h["!ref"]=Te(y))),O.length&&(h["!merges"]=O),ue.length>0&&(h["!cols"]=ue),xe.length>0&&(h["!rows"]=xe),l[x]=h}else y={s:{r:2e6,c:2e6},e:{r:0,c:0}},m=k=0,c.push([f[3],!1]),o=et(f[0]),x=Ie(o.Name),h=r.dense?[]:{},O=[],V=[],xe=[],P={name:x,Hidden:0},R.Sheets.push(P);break;case"table":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else{if(f[0].slice(-2)=="/>")break;c.push([f[3],!1]),ue=[],ke=!1}break;case"style":f[1]==="/"?zg(I,S,r):S=et(f[0]);break;case"numberformat":S.nf=Ie(et(f[0]).Format||"General"),ja[S.nf]&&(S.nf=ja[S.nf]);for(var Q=0;Q!=392&&me[Q]!=S.nf;++Q);if(Q==392){for(Q=57;Q!=392;++Q)if(me[Q]==null){dt(S.nf,Q);break}}break;case"column":if(c[c.length-1][0]!=="table")break;if(ce=et(f[0]),ce.Hidden&&(ce.hidden=!0,delete ce.Hidden),ce.Width&&(ce.wpx=parseInt(ce.Width,10)),!ke&&ce.wpx>10){ke=!0,Sr=Rc;for(var q=0;q0&&(Ve.Sheet=R.Sheets.length-1),R.Names.push(Ve);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(f[0].slice(-2)==="/>")break;f[1]==="/"?_+=a.slice(N,f.index):N=f.index+f[0].length;break;case"interior":if(!r.cellStyles)break;S.Interior=et(f[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(f[0].slice(-2)==="/>")break;f[1]==="/"?mh(G,K,a.slice(L,f.index)):L=f.index+f[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else c.push([f[3],!1]);break;case"comment":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"));Kg(ee),oe.push(ee)}else c.push([f[3],!1]),o=et(f[0]),ee={a:o.Author};break;case"autofilter":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/"){var Oe=et(f[0]);h["!autofilter"]={ref:Sa(Oe.Range).replace(/\$/g,"")},c.push([f[3],!0])}break;case"name":break;case"datavalidation":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break;case"null":break;default:if(c.length==0&&f[3]=="document"||c.length==0&&f[3]=="uof")return zs(a,r);var We=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(f[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:We=!1}break;case"componentoptions":switch(f[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:We=!1}break;case"excelworkbook":switch(f[3]){case"date1904":R.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:We=!1}break;case"workbookoptions":switch(f[3]){case"owcversion":break;case"height":break;case"width":break;default:We=!1}break;case"worksheetoptions":switch(f[3]){case"visible":if(f[0].slice(-2)!=="/>")if(f[1]==="/")switch(a.slice(L,f.index)){case"SheetHidden":P.Hidden=1;break;case"SheetVeryHidden":P.Hidden=2;break}else L=f.index+f[0].length;break;case"header":h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+_e(f[0]).Margin)||(h["!margins"].header=+_e(f[0]).Margin);break;case"footer":h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+_e(f[0]).Margin)||(h["!margins"].footer=+_e(f[0]).Margin);break;case"pagemargins":var De=_e(f[0]);h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+De.Top)||(h["!margins"].top=+De.Top),isNaN(+De.Left)||(h["!margins"].left=+De.Left),isNaN(+De.Right)||(h["!margins"].right=+De.Right),isNaN(+De.Bottom)||(h["!margins"].bottom=+De.Bottom);break;case"displayrighttoleft":R.Views||(R.Views=[]),R.Views[0]||(R.Views[0]={}),R.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":h["!outline"]||(h["!outline"]={}),h["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":h["!outline"]||(h["!outline"]={}),h["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:We=!1}break;case"pivottable":case"pivotcache":switch(f[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:We=!1}break;case"pagebreaks":switch(f[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:We=!1}break;case"autofilter":switch(f[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:We=!1}break;case"querytable":switch(f[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:We=!1}break;case"datavalidation":switch(f[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:We=!1}break;case"sorting":case"conditionalformatting":switch(f[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:We=!1}break;case"mapinfo":case"schema":case"data":switch(f[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:We=!1}break;case"smarttags":break;default:We=!1;break}if(We||f[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+f[3]+"|"+c.join("|");if(c[c.length-1][0]==="customdocumentproperties"){if(f[0].slice(-2)==="/>")break;f[1]==="/"?Xg(M,K,J,a.slice(L,f.index)):(J=f,L=f.index+f[0].length);break}if(r.WTF)throw"Unrecognized tag: "+f[3]+"|"+c.join("|")}var le={};return!r.bookSheets&&!r.bookProps&&(le.Sheets=l),le.SheetNames=u,le.Workbook=R,le.SSF=ze(me),le.Props=G,le.Custprops=M,le}function M0(e,t){switch(Fi(t=t||{}),t.type||"base64"){case"base64":return E0(Hr(e),t);case"binary":case"buffer":case"file":return E0(e,t);case"array":return E0(Ht(e),t)}}function jg(e,t){var r=[];return e.Props&&r.push(gh(e.Props,t)),e.Custprops&&r.push(_h(e.Props,e.Custprops)),r.join("")}function Yg(){return""}function Jg(e,t){var r=[''];return t.cellXfs.forEach(function(a,n){var i=[];i.push(ie("NumberFormat",null,{"ss:Format":Be(me[a.numFmtId])}));var s={"ss:ID":"s"+(21+n)};r.push(ie("Style",i.join(""),s))}),ie("Styles",r.join(""))}function so(e){return ie("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+_i(e.Ref,{r:0,c:0})})}function qg(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],a=0;a"),e["!margins"].header&&n.push(ie("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&n.push(ie("Footer",null,{"x:Margin":e["!margins"].footer})),n.push(ie("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),n.push("")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[r])if(a.Workbook.Sheets[r].Hidden)n.push(ie("Visible",a.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push(""),e["!protect"]&&(n.push(_r("ProtectContents","True")),e["!protect"].objects&&n.push(_r("ProtectObjects","True")),e["!protect"].scenarios&&n.push(_r("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?n.push(_r("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&n.push(_r("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&n.push("<"+s[1]+"/>")})),n.length==0?"":ie("WorksheetOptions",n.join(""),{xmlns:Br.x})}function e_(e){return e.map(function(t){var r=ku(t.t||""),a=ie("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return ie("Comment",a,{"ss:Author":t.a})}).join("")}function r_(e,t,r,a,n,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+Be(_i(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var c=Ye(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(c.r==s.r?"":"["+(c.r-s.r)+"]")+"C"+(c.c==s.c?"":"["+(c.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=Be(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=Be(e.l.Tooltip))),r["!merges"])for(var o=r["!merges"],l=0;l!=o.length;++l)o[l].s.c!=s.c||o[l].s.r!=s.r||(o[l].e.c>o[l].s.c&&(f["ss:MergeAcross"]=o[l].e.c-o[l].s.c),o[l].e.r>o[l].s.r&&(f["ss:MergeDown"]=o[l].e.r-o[l].s.r));var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number",h=String(e.v);break;case"b":u="Boolean",h=e.v?"1":"0";break;case"e":u="Error",h=At[e.v];break;case"d":u="DateTime",h=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||me[14]);break;case"s":u="String",h=wu(e.v||"");break}var x=Xt(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+x),f["ss:Index"]=s.c+1;var p=e.v!=null?h:"",d=e.t=="z"?"":''+p+"";return(e.c||[]).length>0&&(d+=e_(e.c)),ie("Cell",d,f)}function t_(e,t){var r='"}function a_(e,t,r,a){if(!e["!ref"])return"";var n=Re(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(v,w){Mt(v);var k=!!v.width,m=c0(w,v),y={"ss:Index":w+1};k&&(y["ss:Width"]=cn(m.width)),v.hidden&&(y["ss:Hidden"]="1"),f.push(ie("Column",null,y))});for(var c=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var l=[t_(o,(e["!rows"]||[])[o])],u=n.s.c;u<=n.e.c;++u){var h=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>u)&&!(i[s].s.r>o)&&!(i[s].e.c"),l.length>2&&f.push(l.join(""))}return f.join("")}function n_(e,t,r){var a=[],n=r.SheetNames[e],i=r.Sheets[n],s=i?Zg(i,t,e,r):"";return s.length>0&&a.push(""+s+""),s=i?a_(i,t,e,r):"",s.length>0&&a.push(""+s+"
"),a.push(Qg(i,t,e,r)),a.join("")}function i_(e,t){t||(t={}),e.SSF||(e.SSF=ze(me)),e.SSF&&(ba(),dn(e.SSF),t.revssf=a0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Xt(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(jg(e,t)),r.push(Yg()),r.push(""),r.push("");for(var a=0;a40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(a=r.read_shift(4),a!==1907505652)||(t.UnicodeClipboardFormat=Zu(r),a=r.read_shift(4),a==0||a>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var f_=[60,1084,2066,2165,2175];function c_(e,t,r,a,n){var i=a,s=[],f=r.slice(r.l,r.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:n.enc.insitu(f)}s.push(f),r.l+=i;for(var c=wt(r,r.l),o=U0[c],l=0;o!=null&&f_.indexOf(c)>-1;)i=wt(r,r.l+2),l=r.l+4,c==2066?l+=4:(c==2165||c==2175)&&(l+=12),f=r.slice(l,r.l+4+i),s.push(f),r.l+=4+i,o=U0[c=wt(r,r.l)];var u=dr(s);mr(u,0);var h=0;u.lens=[];for(var x=0;x1)&&!(Gr.sheetRows&&Ce.r>=Gr.sheetRows)){if(Gr.cellStyles&&er.XF&&er.XF.data&&G(Ce,er,Gr),delete er.ixfe,delete er.XF,u=Ce,h=ge(Ce),(!s||!s.s||!s.e)&&(s={s:{r:0,c:0},e:{r:0,c:0}}),Ce.rs.e.r&&(s.e.r=Ce.r+1),Ce.c+1>s.e.c&&(s.e.c=Ce.c+1),Gr.cellFormula&&er.f){for(var fr=0;frCe.c||k[fr][0].s.r>Ce.r)&&!(k[fr][0].e.c>8)!==ne)throw new Error("rt mismatch: "+Fe+"!="+ne);q.r==12&&(e.l+=10,Q-=10)}var D={};if(ne===10?D=q.f(e,Q,L):D=c_(ne,q,e,Q,L),pe==0&&[9,521,1033,2057].indexOf(xe)===-1)continue;switch(ne){case 34:r.opts.Date1904=_.WBProps.date1904=D;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(L.enc||(e.l=0),L.enc=D,!t.password)throw new Error("File is password-protected");if(D.valid==null)throw new Error("Encryption scheme unsupported");if(!D.valid)throw new Error("Password is incorrect");break;case 92:L.lastuser=D;break;case 66:var Ve=Number(D);switch(Ve){case 21010:Ve=1200;break;case 32768:Ve=1e4;break;case 32769:Ve=1252;break}at(L.codepage=Ve),K=!0;break;case 317:L.rrtabid=D;break;case 25:L.winlocked=D;break;case 439:r.opts.RefreshAll=D;break;case 12:r.opts.CalcCount=D;break;case 16:r.opts.CalcDelta=D;break;case 17:r.opts.CalcIter=D;break;case 13:r.opts.CalcMode=D;break;case 14:r.opts.CalcPrecision=D;break;case 95:r.opts.CalcSaveRecalc=D;break;case 15:L.CalcRefMode=D;break;case 2211:r.opts.FullCalc=D;break;case 129:D.fDialog&&(n["!type"]="dialog"),D.fBelow||((n["!outline"]||(n["!outline"]={})).above=!0),D.fRight||((n["!outline"]||(n["!outline"]={})).left=!0);break;case 224:I.push(D);break;case 430:V.push([D]),V[V.length-1].XTI=[];break;case 35:case 547:V[V.length-1].push(D);break;case 24:case 536:P={Name:D.Name,Ref:Tr(D.rgce,s,null,V,L)},D.itab>0&&(P.Sheet=D.itab-1),V.names.push(P),V[0]||(V[0]=[],V[0].XTI=[]),V[V.length-1].push(D),D.Name=="_xlnm._FilterDatabase"&&D.itab>0&&D.rgce&&D.rgce[0]&&D.rgce[0][0]&&D.rgce[0][0][0]=="PtgArea3d"&&(R[D.itab-1]={ref:Te(D.rgce[0][0][1][2])});break;case 22:L.ExternCount=D;break;case 23:V.length==0&&(V[0]=[],V[0].XTI=[]),V[V.length-1].XTI=V[V.length-1].XTI.concat(D),V.XTI=V.XTI.concat(D);break;case 2196:if(L.biff<8)break;P!=null&&(P.Comment=D[1]);break;case 18:n["!protect"]=D;break;case 19:D!==0&&L.WTF&&console.error("Password verifier: "+D);break;case 133:i[D.pos]=D,L.snames.push(D.name);break;case 10:{if(--pe)break;if(s.e){if(s.e.r>0&&s.e.c>0){if(s.e.r--,s.e.c--,n["!ref"]=Te(s),t.sheetRows&&t.sheetRows<=s.e.r){var Oe=s.e.r;s.e.r=t.sheetRows-1,n["!fullref"]=n["!ref"],n["!ref"]=Te(s),s.e.r=Oe}s.e.r++,s.e.c++}oe.length>0&&(n["!merges"]=oe),ee.length>0&&(n["!objects"]=ee),ue.length>0&&(n["!cols"]=ue),ce.length>0&&(n["!rows"]=ce),_.Sheets.push(N)}o===""?l=n:a[o]=n,n=t.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(L.biff===8&&(L.biff={9:2,521:3,1033:4}[ne]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[D.BIFFVer]||8),L.biffguess=D.BIFFVer==0,D.BIFFVer==0&&D.dt==4096&&(L.biff=5,K=!0,at(L.codepage=28591)),L.biff==8&&D.BIFFVer==0&&D.dt==16&&(L.biff=2),pe++)break;if(n=t.dense?[]:{},L.biff<8&&!K&&(K=!0,at(L.codepage=t.codepage||1252)),L.biff<5||D.BIFFVer==0&&D.dt==4096){o===""&&(o="Sheet1"),s={s:{r:0,c:0},e:{r:0,c:0}};var We={pos:e.l-Q,name:o};i[We.pos]=We,L.snames.push(o)}else o=(i[te]||{name:""}).name;D.dt==32&&(n["!type"]="chart"),D.dt==64&&(n["!type"]="macro"),oe=[],ee=[],L.arrayf=k=[],ue=[],ce=[],ke=!1,N={Hidden:(i[te]||{hs:0}).hs,name:o}}break;case 515:case 3:case 2:n["!type"]=="chart"&&(t.dense?(n[D.r]||[])[D.c]:n[ge({c:D.c,r:D.r})])&&++D.c,m={ixfe:D.ixfe,XF:I[D.ixfe]||{},v:D.val,t:"n"},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t);break;case 5:case 517:m={ixfe:D.ixfe,XF:I[D.ixfe],v:D.val,t:D.t},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t);break;case 638:m={ixfe:D.ixfe,XF:I[D.ixfe],v:D.rknum,t:"n"},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t);break;case 189:for(var De=D.c;De<=D.C;++De){var le=D.rkrec[De-D.c][0];m={ixfe:le,XF:I[le],v:D.rkrec[De-D.c][1],t:"n"},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:De,r:D.r},m,t)}break;case 6:case 518:case 1030:{if(D.val=="String"){f=D;break}if(m=Nn(D.val,D.cell.ixfe,D.tt),m.XF=I[m.ixfe],t.cellFormula){var Qe=D.formula;if(Qe&&Qe[0]&&Qe[0][0]&&Qe[0][0][0]=="PtgExp"){var Xr=Qe[0][0][1][0],ct=Qe[0][0][1][1],mt=ge({r:Xr,c:ct});w[mt]?m.f=""+Tr(D.formula,s,D.cell,V,L):m.F=((t.dense?(n[Xr]||[])[ct]:n[mt])||{}).F}else m.f=""+Tr(D.formula,s,D.cell,V,L)}b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M(D.cell,m,t),f=D}break;case 7:case 519:if(f)f.val=D,m=Nn(D,f.cell.ixfe,"s"),m.XF=I[m.ixfe],t.cellFormula&&(m.f=""+Tr(f.formula,s,f.cell,V,L)),b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M(f.cell,m,t),f=null;else throw new Error("String record expects Formula");break;case 33:case 545:{k.push(D);var Ia=ge(D[0].s);if(x=t.dense?(n[D[0].s.r]||[])[D[0].s.c]:n[Ia],t.cellFormula&&x){if(!f||!Ia||!x)break;x.f=""+Tr(D[1],s,D[0],V,L),x.F=Te(D[0])}}break;case 1212:{if(!t.cellFormula)break;if(h){if(!f)break;w[ge(f.cell)]=D[0],x=t.dense?(n[f.cell.r]||[])[f.cell.c]:n[ge(f.cell)],(x||{}).f=""+Tr(D[0],s,u,V,L)}}break;case 253:m=Nn(c[D.isst].t,D.ixfe,"s"),c[D.isst].h&&(m.h=c[D.isst].h),m.XF=I[m.ixfe],b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t);break;case 513:t.sheetStubs&&(m={ixfe:D.ixfe,XF:I[D.ixfe],t:"z"},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t));break;case 190:if(t.sheetStubs)for(var Ct=D.c;Ct<=D.C;++Ct){var Lr=D.ixfe[Ct-D.c];m={ixfe:Lr,XF:I[Lr],t:"z"},b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:Ct,r:D.r},m,t)}break;case 214:case 516:case 4:m=Nn(D.val,D.ixfe,"s"),m.XF=I[m.ixfe],b>0&&(m.z=B[m.ixfe>>8&63]),lt(m,t,r.opts.Date1904),M({c:D.c,r:D.r},m,t);break;case 0:case 512:pe===1&&(s=D);break;case 252:c=D;break;case 1054:if(L.biff==4){B[b++]=D[1];for(var gt=0;gt=163&&dt(D[1],b+163)}else dt(D[1],D[0]);break;case 30:{B[b++]=D;for(var bt=0;bt=163&&dt(D,b+163)}break;case 229:oe=oe.concat(D);break;case 93:ee[D.cmo[0]]=L.lastobj=D;break;case 438:L.lastobj.TxO=D;break;case 127:L.lastobj.ImData=D;break;case 440:for(v=D[0].s.r;v<=D[0].e.r;++v)for(d=D[0].s.c;d<=D[0].e.c;++d)x=t.dense?(n[v]||[])[d]:n[ge({c:d,r:v})],x&&(x.l=D[1]);break;case 2048:for(v=D[0].s.r;v<=D[0].e.r;++v)for(d=D[0].s.c;d<=D[0].e.c;++d)x=t.dense?(n[v]||[])[d]:n[ge({c:d,r:v})],x&&x.l&&(x.l.Tooltip=D[1]);break;case 28:{if(L.biff<=5&&L.biff>=2)break;x=t.dense?(n[D[0].r]||[])[D[0].c]:n[ge(D[0])];var Ra=ee[D[2]];x||(t.dense?(n[D[0].r]||(n[D[0].r]=[]),x=n[D[0].r][D[0].c]={t:"z"}):x=n[ge(D[0])]={t:"z"},s.e.r=Math.max(s.e.r,D[0].r),s.s.r=Math.min(s.s.r,D[0].r),s.e.c=Math.max(s.e.c,D[0].c),s.s.c=Math.min(s.s.c,D[0].c)),x.c||(x.c=[]),p={a:D[1],t:Ra.TxO.t},x.c.push(p)}break;case 2173:Jd(I[D.ixfe],D.ext);break;case 125:{if(!L.cellStyles)break;for(;D.e>=D.s;)ue[D.e--]={width:D.w/256,level:D.level||0,hidden:!!(D.flags&1)},ke||(ke=!0,vi(D.w/256)),Mt(ue[D.e+1])}break;case 520:{var br={};D.level!=null&&(ce[D.r]=br,br.level=D.level),D.hidden&&(ce[D.r]=br,br.hidden=!0),D.hpt&&(ce[D.r]=br,br.hpt=D.hpt,br.hpx=Ca(D.hpt))}break;case 38:case 39:case 40:case 41:n["!margins"]||qt(n["!margins"]={}),n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[ne]]=D;break;case 161:n["!margins"]||qt(n["!margins"]={}),n["!margins"].header=D.header,n["!margins"].footer=D.footer;break;case 574:D.RTL&&(_.Views[0].RTL=!0);break;case 146:S=D;break;case 2198:J=D;break;case 140:y=D;break;case 442:o?N.CodeName=D||N.name:_.WBProps.CodeName=D||"ThisWorkbook";break}}else q||console.error("Missing Info for XLS Record 0x"+ne.toString(16)),e.l+=Q}return r.SheetNames=Ze(i).sort(function(ot,Ce){return Number(ot)-Number(Ce)}).map(function(ot){return i[ot].name}),t.bookSheets||(r.Sheets=a),!r.SheetNames.length&&l["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=l)):r.Preamble=l,r.Sheets&&R.forEach(function(ot,Ce){r.Sheets[r.SheetNames[Ce]]["!autofilter"]=ot}),r.Strings=c,r.SSF=ze(me),L.enc&&(r.Encryption=L.enc),J&&(r.Themes=J),r.Metadata={},y!==void 0&&(r.Metadata.Country=y),V.names.length>0&&(_.Names=V.names),r.Workbook=_,r}var Ya={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function l_(e,t,r){var a=ve.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=ks(a,I0,Ya.DSI);for(var i in n)t[i]=n[i]}catch(o){if(r.WTF)throw o}var s=ve.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var f=ks(s,R0,Ya.SI);for(var c in f)t[c]==null&&(t[c]=f[c])}catch(o){if(r.WTF)throw o}t.HeadingPairs&&t.TitlesOfParts&&(ic(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function u_(e,t){var r=[],a=[],n=[],i=0,s,f=qi(I0,"n"),c=qi(R0,"n");if(e.Props)for(s=Ze(e.Props),i=0;i-1||nc.indexOf(n[i][0])>-1||n[i][1]!=null&&o.push(n[i]);a.length&&ve.utils.cfb_add(t,"/SummaryInformation",Es(a,Ya.SI,c,R0)),(r.length||o.length)&&ve.utils.cfb_add(t,"/DocumentSummaryInformation",Es(r,Ya.DSI,f,I0,o.length?o:null,Ya.UDI))}function fo(e,t){t||(t={}),Fi(t),$0(),t.codepage&&z0(t.codepage);var r,a;if(e.FullPaths){if(ve.find(e,"/encryption"))throw new Error("File is password-protected");r=ve.find(e,"!CompObj"),a=ve.find(e,"/Workbook")||ve.find(e,"/Book")}else{switch(t.type){case"base64":e=Ur(Hr(e));break;case"binary":e=Ur(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}mr(e,0),a={content:e}}var n,i;if(r&&s_(r),t.bookProps&&!t.bookSheets)n={};else{var s=Ae?"buffer":"array";if(a&&a.content)n=o_(a.content,t);else if((i=ve.find(e,"PerfectOffice_MAIN"))&&i.content)n=Jt.to_workbook(i.content,(t.type=s,t));else if((i=ve.find(e,"NativeContent_MAIN"))&&i.content)n=Jt.to_workbook(i.content,(t.type=s,t));else throw(i=ve.find(e,"MN0"))&&i.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&ve.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(n.vbaraw=Sp(e))}var f={};return e.FullPaths&&l_(e,f,t),n.Props=n.Custprops=f,t.bookFiles&&(n.cfb=e),n}function h_(e,t){var r=t||{},a=ve.utils.cfb_new({root:"R"}),n="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":n="/Workbook",r.biff=8;break;case"biff5":n="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return ve.utils.cfb_add(a,n,co(e,r)),r.biff==8&&(e.Props||e.Custprops)&&u_(e,a),r.biff==8&&e.vbaraw&&Fp(a,ve.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),a}var un={0:{f:Lm},1:{f:Gm},2:{f:o2},3:{f:Zm},4:{f:jm},5:{f:s2},6:{f:d2},7:{f:t2},8:{f:k2},9:{f:w2},10:{f:g2},11:{f:_2},12:{f:$m},13:{f:u2},14:{f:e2},15:{f:Jm},16:{f:Qc},17:{f:v2},18:{f:n2},19:{f:si},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:vg},40:{},42:{},43:{f:dd},44:{f:hd},45:{f:md},46:{f:_d},47:{f:gd},48:{},49:{f:Uu},50:{},51:{f:Qd},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Tc},62:{f:x2},63:{f:cp},64:{f:B2},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Ar,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:R2},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Vm},148:{f:Um,p:16},151:{f:A2},152:{},153:{f:xg},154:{},155:{},156:{f:ug},157:{},158:{},159:{T:1,f:bx},160:{T:-1},161:{T:1,f:ha},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:E2},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:qd},336:{T:-1},337:{f:tp,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:O0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Ec},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:C2},427:{f:b2},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:O2},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Hm},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:F2},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:O0},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:_p},633:{T:1},634:{T:-1},635:{T:1,f:mp},636:{T:-1},637:{f:Xu},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:eg},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:M2},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},U0={6:{f:w0},10:{f:Dt},12:{f:sr},13:{f:sr},14:{f:rr},15:{f:rr},16:{f:Fr},17:{f:rr},18:{f:rr},19:{f:sr},20:{f:Cs},21:{f:Cs},23:{f:Ec},24:{f:Ds},25:{f:rr},26:{},27:{},28:{f:M1},29:{},34:{f:rr},35:{f:bs},38:{f:Fr},39:{f:Fr},40:{f:Fr},41:{f:Fr},42:{f:rr},43:{f:rr},47:{f:Jx},49:{f:u1},51:{f:sr},60:{},61:{f:s1},64:{f:rr},65:{f:l1},66:{f:sr},77:{},80:{},81:{},82:{},85:{f:sr},89:{},90:{},91:{},92:{f:Yh},93:{f:H1},94:{},95:{f:rr},96:{},97:{},99:{f:rr},125:{f:Tc},128:{f:y1},129:{f:qh},130:{f:sr},131:{f:rr},132:{f:rr},133:{f:Zh},134:{},140:{f:Y1},141:{f:sr},144:{},146:{f:Z1},151:{},152:{},153:{},154:{},155:{},156:{f:sr},157:{},158:{},160:{f:ix},161:{f:rx},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:E1},190:{f:T1},193:{f:Dt},197:{},198:{},199:{},200:{},201:{},202:{f:rr},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:sr},220:{},221:{f:rr},222:{},224:{f:F1},225:{f:jh},226:{f:Dt},227:{},229:{f:U1},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:e1},253:{f:x1},255:{f:t1},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:xc},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:rr},353:{f:Dt},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:O1},431:{f:rr},432:{},433:{},434:{},437:{},438:{f:G1},439:{f:rr},440:{f:z1},441:{},442:{f:gn},443:{},444:{f:sr},445:{},446:{},448:{f:Dt},449:{f:i1,r:2},450:{f:Dt},512:{f:Fs},513:{f:nx},515:{f:b1},516:{f:p1},517:{f:As},519:{f:sx},520:{f:a1},523:{},545:{f:Os},549:{f:Ss},566:{},574:{f:c1},638:{f:k1},659:{},1048:{},1054:{f:m1},1084:{},1212:{f:P1},2048:{f:K1},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:On},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Dt},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Q1,r:12},2173:{f:Yd,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:rr,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:N1,r:12},2197:{},2198:{f:Xd,r:12},2199:{},2200:{},2201:{},2202:{f:L1,r:12},2203:{f:Dt},2204:{},2205:{},2206:{},2207:{},2211:{f:n1},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:sr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:tx},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:q1},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Fs},1:{},2:{f:ux},3:{f:ox},4:{f:cx},5:{f:As},7:{f:xx},8:{},9:{f:On},11:{},22:{f:sr},30:{f:_1},31:{},32:{},33:{f:Os},36:{},37:{f:Ss},50:{f:dx},62:{},52:{},67:{},68:{f:sr},69:{},86:{},126:{},127:{f:fx},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:px},223:{},234:{},354:{},421:{},518:{f:w0},521:{f:On},536:{f:Ds},547:{f:bs},561:{},579:{},1030:{f:w0},1033:{f:On},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function se(e,t,r,a){var n=t;if(!isNaN(n)){var i=a||(r||[]).length||0,s=e.next(4);s.write_shift(2,n),s.write_shift(2,i),i>0&&ai(r)&&e.push(r)}}function x_(e,t,r,a){var n=a||(r||[]).length||0;if(n<=8224)return se(e,t,r,n);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,c=0,o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;var l=e.next(4);for(l.write_shift(2,i),l.write_shift(2,o),e.push(r.slice(c,c+o)),c+=o;c=0&&n<65536?se(e,2,hx(r,a,n)):se(e,3,lx(r,a,n));return;case"b":case"e":se(e,5,d_(r,a,t.v,t.t));return;case"s":case"str":se(e,4,p_(r,a,(t.v||"").slice(0,255)));return}se(e,1,En(null,r,a))}function m_(e,t,r,a){var n=Array.isArray(t),i=Re(t["!ref"]||"A1"),s,f="",c=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=Te(i)}for(var o=i.s.r;o<=i.e.r;++o){f=tr(o);for(var l=i.s.c;l<=i.e.c;++l){o===i.s.r&&(c[l]=je(l)),s=c[l]+f;var u=n?(t[o]||[])[l]:t[s];u&&v_(e,u,o,l)}}}function g_(e,t){for(var r=t||{},a=Nr(),n=0,i=0;i255||x.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,p-1)}se(a,2057,xi(r,16,t)),se(a,13,Jr(1)),se(a,12,Jr(100)),se(a,15,Or(!0)),se(a,17,Or(!1)),se(a,16,ta(.001)),se(a,95,Or(!0)),se(a,42,Or(!1)),se(a,43,Or(!1)),se(a,130,Jr(1)),se(a,128,A1([0,0])),se(a,131,Or(!1)),se(a,132,Or(!1)),o&&S_(a,i["!cols"]),se(a,512,w1(x,t)),o&&(i["!links"]=[]);for(var d=x.s.r;d<=x.e.r;++d){u=tr(d);for(var v=x.s.c;v<=x.e.c;++v){d===x.s.r&&(h[v]=je(v)),l=h[v]+u;var w=c?(i[d]||[])[v]:i[l];w&&(F_(a,w,d,v,t),o&&w.l&&i["!links"].push([l,w.l]))}}var k=f.CodeName||f.name||n;return o&&se(a,574,o1((s.Views||[])[0])),o&&(i["!merges"]||[]).length&&se(a,229,W1(i["!merges"])),o&&T_(a,i),se(a,442,pc(k)),o&&k_(a,i),se(a,10),a.end()}function A_(e,t,r){var a=Nr(),n=(e||{}).Workbook||{},i=n.Sheets||[],s=n.WBProps||{},f=r.biff==8,c=r.biff==5;if(se(a,2057,xi(e,5,r)),r.bookType=="xla"&&se(a,135),se(a,225,f?Jr(1200):null),se(a,193,Ch(2)),c&&se(a,191),c&&se(a,192),se(a,226),se(a,92,Jh("SheetJS",r)),se(a,66,Jr(f?1200:1252)),f&&se(a,353,Jr(0)),f&&se(a,448),se(a,317,ax(e.SheetNames.length)),f&&e.vbaraw&&se(a,211),f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";se(a,442,pc(o))}se(a,156,Jr(17)),se(a,25,Or(!1)),se(a,18,Or(!1)),se(a,19,Jr(0)),f&&se(a,431,Or(!1)),f&&se(a,444,Jr(0)),se(a,61,f1()),se(a,64,Or(!1)),se(a,141,Jr(0)),se(a,34,Or(ig(e)=="true")),se(a,14,Or(!0)),f&&se(a,439,Or(!1)),se(a,218,Jr(0)),__(a,e,r),w_(a,e.SSF,r),E_(a,r),f&&se(a,352,Or(!1));var l=a.end(),u=Nr();f&&se(u,140,J1()),f&&r.Strings&&x_(u,252,r1(r.Strings)),se(u,10);var h=u.end(),x=Nr(),p=0,d=0;for(d=0;d255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return C_(e,t);case 4:case 3:case 2:return g_(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function Hs(e,t){var r=t||{},a=r.dense?[]:{};e=e.replace(//g,"");var n=e.match(/");var i=e.match(/<\/table/i),s=n.index,f=i&&i.index||e.length,c=xu(e.slice(s,f),/(:?]*>)/i,""),o=-1,l=0,u=0,h=0,x={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(s=0;s/i);for(f=0;f"))>-1;)m=m.slice(y+1);for(var I=0;I")));h=_.colspan?+_.colspan:1,((u=+_.rowspan)>1||h>1)&&p.push({s:{r:o,c:l},e:{r:o+(u||1)-1,c:l+h-1}});var N=_.t||_["data-t"]||"";if(!m.length){l+=h;continue}if(m=If(m),x.s.r>o&&(x.s.r=o),x.e.rl&&(x.s.c=l),x.e.cr||n[o].s.c>s)&&!(n[o].e.r1&&(x.rowspan=f),c>1&&(x.colspan=c),a.editable?h=''+h+"":u&&(x["data-t"]=u&&u.t||"z",u.v!=null&&(x["data-v"]=u.v),u.z!=null&&(x["data-z"]=u.z),u.l&&(u.l.Target||"#").charAt(0)!="#"&&(h=''+h+"")),x.id=(a.id||"sjs")+"-"+l,i.push(ie("td",h,x))}}var p="";return p+i.join("")+""}var D_='SheetJS Table Export',O_="";function I_(e,t){var r=e.match(/[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find
");if(r.length==1)return Vt(Hs(r[0],t),t);var a=Di();return r.forEach(function(n,i){Oi(a,Hs(n,t),"Sheet"+(i+1))}),a}function R_(e,t,r){var a=[];return a.join("")+""}function oo(e,t){var r=t||{},a=r.header!=null?r.header:D_,n=r.footer!=null?r.footer:O_,i=[a],s=Pr(e["!ref"]);r.dense=Array.isArray(e),i.push(R_(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(b_(e,s,f,r));return i.push("
"+n),i.join("")}function lo(e,t,r){var a=r||{},n=0,i=0;if(a.origin!=null)if(typeof a.origin=="number")n=a.origin;else{var s=typeof a.origin=="string"?Ye(a.origin):a.origin;n=s.r,i=s.c}var f=t.getElementsByTagName("tr"),c=Math.min(a.sheetRows||1e7,f.length),o={s:{r:0,c:0},e:{r:n,c:i}};if(e["!ref"]){var l=Pr(e["!ref"]);o.s.r=Math.min(o.s.r,l.s.r),o.s.c=Math.min(o.s.c,l.s.c),o.e.r=Math.max(o.e.r,l.e.r),o.e.c=Math.max(o.e.c,l.e.c),n==-1&&(o.e.r=n=l.e.r+1)}var u=[],h=0,x=e["!rows"]||(e["!rows"]=[]),p=0,d=0,v=0,w=0,k=0,m=0;for(e["!cols"]||(e["!cols"]=[]);p1||m>1)&&u.push({s:{r:d+n,c:w+i},e:{r:d+n+(k||1)-1,c:w+i+(m||1)-1}});var G={t:"s",v:_},M=S.getAttribute("data-t")||S.getAttribute("t")||"";_!=null&&(_.length==0?G.t=M||"z":a.raw||_.trim().length==0||M=="s"||(_==="TRUE"?G={t:"b",v:!0}:_==="FALSE"?G={t:"b",v:!1}:isNaN(it(_))?isNaN(ya(_).getDate())||(G={t:"d",v:Ge(_)},a.cellDates||(G={t:"n",v:ur(G.v)}),G.z=a.dateNF||me[14]):G={t:"n",v:it(_)})),G.z===void 0&&N!=null&&(G.z=N);var L="",J=S.getElementsByTagName("A");if(J&&J.length)for(var oe=0;oe=c&&(e["!fullref"]=Te((o.e.r=f.length-p+d-1+n,o))),e}function uo(e,t){var r=t||{},a=r.dense?[]:{};return lo(a,e,t)}function N_(e,t){return Vt(uo(e,t),t)}function Vs(e){var t="",r=P_(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function P_(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function L_(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(a,n){return Array(parseInt(n,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` +`),r=Ie(t.replace(/<[^>]*>/g,""));return[r]}var Xs={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function ho(e,t){var r=t||{},a=ri(e),n=[],i,s,f={name:""},c="",o=0,l,u,h={},x=[],p=r.dense?[]:{},d,v,w={value:""},k="",m=0,y=[],I=-1,S=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},N=0,O={},G=[],M={},L=0,J=0,oe=[],ee=1,ue=1,ce=[],ke={Names:[]},V={},xe=["",""],pe=[],b={},B="",R=0,P=!1,K=!1,te=0;for(nn.lastIndex=0,a=a.replace(//mg,"").replace(//gm,"");d=nn.exec(a);)switch(d[3]=d[3].replace(/_.*$/,"")){case"table":case"工作表":d[1]==="/"?(_.e.c>=_.s.c&&_.e.r>=_.s.r?p["!ref"]=Te(_):p["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=_.e.r&&(p["!fullref"]=p["!ref"],_.e.r=r.sheetRows-1,p["!ref"]=Te(_)),G.length&&(p["!merges"]=G),oe.length&&(p["!rows"]=oe),l.name=l.名称||l.name,typeof JSON<"u"&&JSON.stringify(l),x.push(l.name),h[l.name]=p,K=!1):d[0].charAt(d[0].length-2)!=="/"&&(l=_e(d[0],!1),I=S=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,p=r.dense?[]:{},G=[],oe=[],K=!0);break;case"table-row-group":d[1]==="/"?--N:++N;break;case"table-row":case"行":if(d[1]==="/"){I+=ee,ee=1;break}if(u=_e(d[0],!1),u.行号?I=u.行号-1:I==-1&&(I=0),ee=+u["number-rows-repeated"]||1,ee<10)for(te=0;te0&&(oe[I+te]={level:N});S=-1;break;case"covered-table-cell":d[1]!=="/"&&++S,r.sheetStubs&&(r.dense?(p[I]||(p[I]=[]),p[I][S]={t:"z"}):p[ge({r:I,c:S})]={t:"z"}),k="",y=[];break;case"table-cell":case"数据":if(d[0].charAt(d[0].length-2)==="/")++S,w=_e(d[0],!1),ue=parseInt(w["number-columns-repeated"]||"1",10),v={t:"z",v:null},w.formula&&r.cellFormula!=!1&&(v.f=Ms(Ie(w.formula))),(w.数据类型||w["value-type"])=="string"&&(v.t="s",v.v=Ie(w["string-value"]||""),r.dense?(p[I]||(p[I]=[]),p[I][S]=v):p[ge({r:I,c:S})]=v),S+=ue-1;else if(d[1]!=="/"){++S,k="",m=0,y=[],ue=1;var ne=ee?I+ee-1:I;if(S>_.e.c&&(_.e.c=S),S<_.s.c&&(_.s.c=S),I<_.s.r&&(_.s.r=I),ne>_.e.r&&(_.e.r=ne),w=_e(d[0],!1),pe=[],b={},v={t:w.数据类型||w["value-type"],v:null},r.cellFormula)if(w.formula&&(w.formula=Ie(w.formula)),w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]&&(L=parseInt(w["number-matrix-rows-spanned"],10)||0,J=parseInt(w["number-matrix-columns-spanned"],10)||0,M={s:{r:I,c:S},e:{r:I+L-1,c:S+J-1}},v.F=Te(M),ce.push([M,v.F])),w.formula)v.f=Ms(w.formula);else for(te=0;te=ce[te][0].s.r&&I<=ce[te][0].e.r&&S>=ce[te][0].s.c&&S<=ce[te][0].e.c&&(v.F=ce[te][1]);switch((w["number-columns-spanned"]||w["number-rows-spanned"])&&(L=parseInt(w["number-rows-spanned"],10)||0,J=parseInt(w["number-columns-spanned"],10)||0,M={s:{r:I,c:S},e:{r:I+L-1,c:S+J-1}},G.push(M)),w["number-columns-repeated"]&&(ue=parseInt(w["number-columns-repeated"],10)),v.t){case"boolean":v.t="b",v.v=Xe(w["boolean-value"]);break;case"float":v.t="n",v.v=parseFloat(w.value);break;case"percentage":v.t="n",v.v=parseFloat(w.value);break;case"currency":v.t="n",v.v=parseFloat(w.value);break;case"date":v.t="d",v.v=Ge(w["date-value"]),r.cellDates||(v.t="n",v.v=ur(v.v)),v.z="m/d/yy";break;case"time":v.t="n",v.v=lu(w["time-value"])/86400,r.cellDates&&(v.t="d",v.v=n0(v.v)),v.z="HH:MM:SS";break;case"number":v.t="n",v.v=parseFloat(w.数据数值);break;default:if(v.t==="string"||v.t==="text"||!v.t)v.t="s",w["string-value"]!=null&&(k=Ie(w["string-value"]),y=[]);else throw new Error("Unsupported value type "+v.t)}}else{if(P=!1,v.t==="s"&&(v.v=k||"",y.length&&(v.R=y),P=m==0),V.Target&&(v.l=V),pe.length>0&&(v.c=pe,pe=[]),k&&r.cellText!==!1&&(v.w=k),P&&(v.t="z",delete v.v),(!P||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=I))for(var Q=0;Q0;)p[I+Q][S+ue]=ze(v);else for(p[ge({r:I+Q,c:S})]=v;--ue>0;)p[ge({r:I+Q,c:S+ue})]=ze(v);_.e.c<=S&&(_.e.c=S)}ue=parseInt(w["number-columns-repeated"]||"1",10),S+=ue-1,ue=0,v={},k="",y=[]}V={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!0]);break;case"annotation":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i;b.t=k,y.length&&(b.R=y),b.a=B,pe.push(b)}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!1]);B="",R=0,k="",m=0,y=[];break;case"creator":d[1]==="/"?B=a.slice(R,d.index):R=d.index+d[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!1]);k="",m=0,y=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(d[1]==="/"){if(O[f.name]=c,(i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&(c="",f=_e(d[0],!1),n.push([d[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(n[n.length-1][0]){case"time-style":case"date-style":s=_e(d[0],!1),c+=Xs[d[3]][s.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(n[n.length-1][0]){case"time-style":case"date-style":s=_e(d[0],!1),c+=Xs[d[3]][s.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(d[0].slice(-2)==="/>")break;if(d[1]==="/")switch(n[n.length-1][0]){case"number-style":case"date-style":case"time-style":c+=a.slice(o,d.index);break}else o=d.index+d[0].length;break;case"named-range":s=_e(d[0],!1),xe=k0(s["cell-range-address"]);var q={Name:s.name,Ref:xe[0]+"!"+xe[1]};K&&(q.Sheet=x.length),ke.Names.push(q);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(n[n.length-1][0])>-1)break;if(d[1]==="/"&&(!w||!w["string-value"])){var Fe=L_(a.slice(m,d.index));k=(k.length>0?k+` +`:"")+Fe[0]}else _e(d[0],!1),m=d.index+d[0].length;break;case"s":break;case"database-range":if(d[1]==="/")break;try{xe=k0(_e(d[0])["target-range-address"]),h[xe[0]]["!autofilter"]={ref:xe[1]}}catch{}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(d[1]!=="/"){if(V=_e(d[0],!1),!V.href)break;V.Target=Ie(V.href),delete V.href,V.Target.charAt(0)=="#"&&V.Target.indexOf(".")>-1?(xe=k0(V.Target.slice(1)),V.Target="#"+xe[0]+"!"+xe[1]):V.Target.match(/^\.\.[\\\/]/)&&(V.Target=V.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(d[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(d)}}var D={Sheets:h,SheetNames:x,Workbook:ke};return r.bookSheets&&delete D.Sheets,D}function Gs(e,t){t=t||{},Yr(e,"META-INF/manifest.xml")&&oh(ir(e,"META-INF/manifest.xml"),t);var r=Wr(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var a=ho(Ue(r),t);return Yr(e,"meta.xml")&&(a.Props=tc(ir(e,"meta.xml"))),a}function zs(e,t){return ho(e,t)}var B_=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return ar+t}}(),$s=function(){var e=function(i){return Be(i).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},t=` +`,r=` +`,a=function(i,s,f){var c=[];c.push(' +`);var o=0,l=0,u=Pr(i["!ref"]||"A1"),h=i["!merges"]||[],x=0,p=Array.isArray(i);if(i["!cols"])for(l=0;l<=u.e.c;++l)c.push(" +`);var d="",v=i["!rows"]||[];for(o=0;o +`);for(;o<=u.e.r;++o){for(d=v[o]?' table:style-name="ro'+v[o].ods+'"':"",c.push(" +`),l=0;ll)&&!(h[x].s.r>o)&&!(h[x].e.c +`)}return c.push(` +`),c.join("")},n=function(i,s){i.push(` +`),i.push(` +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` +`);var f=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!cols"]){for(var l=0;l +`),i.push(' +`),i.push(` +`),++f}}});var c=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!rows"]){for(var l=0;l +`),i.push(' +`),i.push(` +`),++c}}}),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`)};return function(s,f){var c=[ar],o=an({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),l=an({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(c.push(" +`),c.push(rc().replace(/office:document-meta/g,"office:meta"))):c.push(" +`),n(c,s),c.push(` +`),c.push(` +`);for(var u=0;u!=s.SheetNames.length;++u)c.push(a(s.Sheets[s.SheetNames[u]],s,u));return c.push(` +`),c.push(` +`),f.bookType=="fods"?c.push(""):c.push(""),c.join("")}}();function xo(e,t){if(t.bookType=="fods")return $s(e,t);var r=q0(),a="",n=[],i=[];return a="mimetype",Se(r,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",Se(r,a,$s(e,t)),n.push([a,"text/xml"]),i.push([a,"ContentFile"]),a="styles.xml",Se(r,a,B_(e,t)),n.push([a,"text/xml"]),i.push([a,"StylesFile"]),a="meta.xml",Se(r,a,ar+rc()),n.push([a,"text/xml"]),i.push([a,"MetadataFile"]),a="manifest.rdf",Se(r,a,hh(i)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",Se(r,a,lh(n)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function ia(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function W0(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):Ue(Ht(e))}function M_(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Ur(xt(e))}function U_(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var a=0;a>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function W_(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,a=e[t+14]&1,n=t+13;n>=t;--n)a=a*256+e[n];return(e[t+15]&128?-a:a)*Math.pow(10,r-6176)}function H_(e,t,r){var a=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,n=r/Math.pow(10,a-6176);e[t+15]|=a>>7,e[t+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[t+i]=n&255;e[t+15]|=r>=0?0:128}function hn(e,t){var r=t?t[0]:0,a=e[r]&127;e:if(e[r++]>=128&&(a|=(e[r]&127)<<7,e[r++]<128||(a|=(e[r]&127)<<14,e[r++]<128)||(a|=(e[r]&127)<<21,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),a}function Pe(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function qe(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Ne(e){for(var t=[],r=[0];r[0]=128;);f=e.slice(c,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=hn(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a))}var o={data:f,type:i};t[n]==null?t[n]=[o]:t[n].push(o)}return t}function vr(e){var t=[];return e.forEach(function(r,a){r.forEach(function(n){n.data&&(t.push(Pe(a*8+n.type)),n.type==2&&t.push(Pe(n.data.length)),t.push(n.data))})}),Wt(t)}function Si(e,t){return(e==null?void 0:e.map(function(r){return t(r.data)}))||[]}function Kr(e){for(var t,r=[],a=[0];a[0]>>0>0),r.push(s)}return r}function pa(e){var t=[];return e.forEach(function(r){var a=[];a[1]=[{data:Pe(r.id),type:0}],a[2]=[],r.merge!=null&&(a[3]=[{data:Pe(+!!r.merge),type:0}]);var n=[];r.messages.forEach(function(s){n.push(s.data),s.meta[3]=[{type:0,data:Pe(s.data.length)}],a[2].push({data:vr(s.meta),type:2})});var i=vr(a);t.push(Pe(i.length)),t.push(i),n.forEach(function(s){return t.push(s)})}),Wt(t)}function V_(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],a=hn(t,r),n=[];r[0]>2;if(s<60)++s;else{var f=s-59;s=t[r[0]],f>1&&(s|=t[r[0]+1]<<8),f>2&&(s|=t[r[0]+2]<<16),f>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=f}n.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var c=0,o=0;if(i==1?(o=(t[r[0]]>>2&7)+4,c=(t[r[0]++]&224)<<3,c|=t[r[0]++]):(o=(t[r[0]++]>>2)+1,i==2?(c=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(c=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),n=[Wt(n)],c==0)throw new Error("Invalid offset 0");if(c>n[0].length)throw new Error("Invalid offset beyond length");if(o>=c)for(n.push(n[0].slice(-c)),o-=c;o>=n[n.length-1].length;)n.push(n[n.length-1]),o-=n[n.length-1].length;n.push(n[0].slice(-c,-c+o))}}var l=Wt(n);if(l.length!=a)throw new Error("Unexpected length: ".concat(l.length," != ").concat(a));return l}function jr(e){for(var t=[],r=0;r>8&255]))):a<=16777216?(s+=4,t.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(s+=5,t.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),t.push(e.slice(r,r+a)),s+=a,n[0]=0,n[1]=s&255,n[2]=s>>8&255,n[3]=s>>16&255,r+=a}return Wt(t)}function X_(e,t,r,a){var n=ia(e),i=n.getUint32(4,!0),s=(a>1?12:8)+Ks(i&(a>1?3470:398))*4,f=-1,c=-1,o=NaN,l=new Date(2001,0,1);i&512&&(f=n.getUint32(s,!0),s+=4),s+=Ks(i&(a>1?12288:4096))*4,i&16&&(c=n.getUint32(s,!0),s+=4),i&32&&(o=n.getFloat64(s,!0),s+=8),i&64&&(l.setTime(l.getTime()+n.getFloat64(s,!0)*1e3),s+=8);var u;switch(e[2]){case 0:break;case 2:u={t:"n",v:o};break;case 3:u={t:"s",v:t[c]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:o>0};break;case 7:u={t:"n",v:o/86400};break;case 8:u={t:"e",v:0};break;case 9:if(f>-1)u={t:"s",v:r[f]};else if(c>-1)u={t:"s",v:t[c]};else if(!isNaN(o))u={t:"n",v:o};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return u}function G_(e,t,r){var a=ia(e),n=a.getUint32(8,!0),i=12,s=-1,f=-1,c=NaN,o=NaN,l=new Date(2001,0,1);n&1&&(c=W_(e,i),i+=16),n&2&&(o=a.getFloat64(i,!0),i+=8),n&4&&(l.setTime(l.getTime()+a.getFloat64(i,!0)*1e3),i+=8),n&8&&(f=a.getUint32(i,!0),i+=4),n&16&&(s=a.getUint32(i,!0),i+=4);var u;switch(e[1]){case 0:break;case 2:u={t:"n",v:c};break;case 3:u={t:"s",v:t[f]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:o>0};break;case 7:u={t:"n",v:o/86400};break;case 8:u={t:"e",v:0};break;case 9:if(s>-1)u={t:"s",v:r[s]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)));break;case 10:u={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)))}return u}function T0(e,t){var r=new Uint8Array(32),a=ia(r),n=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,H_(r,n,e.v),i|=1,n+=16;break;case"b":r[1]=6,a.setFloat64(n,e.v?1:0,!0),i|=2,n+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,a.setUint32(n,t.indexOf(e.v),!0),i|=8,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(8,i,!0),r.slice(0,n)}function S0(e,t){var r=new Uint8Array(32),a=ia(r),n=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,a.setFloat64(n,e.v,!0),i|=32,n+=8;break;case"b":r[2]=6,a.setFloat64(n,e.v?1:0,!0),i|=32,n+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,a.setUint32(n,t.indexOf(e.v),!0),i|=16,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(4,i,!0),r.slice(0,n)}function z_(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return X_(e,t,r,e[0]);case 5:return G_(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Er(e){var t=Ne(e);return hn(t[1][0].data)}function js(e,t){var r=Ne(t.data),a=qe(r[1][0].data),n=r[3],i=[];return(n||[]).forEach(function(s){var f=Ne(s.data),c=qe(f[1][0].data)>>>0;switch(a){case 1:i[c]=W0(f[3][0].data);break;case 8:{var o=e[Er(f[9][0].data)][0],l=Ne(o.data),u=e[Er(l[1][0].data)][0],h=qe(u.meta[1][0].data);if(h!=2001)throw new Error("2000 unexpected reference to ".concat(h));var x=Ne(u.data);i[c]=x[3].map(function(p){return W0(p.data)}).join("")}break}}),i}function $_(e,t){var r,a,n,i,s,f,c,o,l,u,h,x,p,d,v=Ne(e),w=qe(v[1][0].data)>>>0,k=qe(v[2][0].data)>>>0,m=((a=(r=v[8])==null?void 0:r[0])==null?void 0:a.data)&&qe(v[8][0].data)>0||!1,y,I;if((i=(n=v[7])==null?void 0:n[0])!=null&&i.data&&t!=0)y=(f=(s=v[7])==null?void 0:s[0])==null?void 0:f.data,I=(o=(c=v[6])==null?void 0:c[0])==null?void 0:o.data;else if((u=(l=v[4])==null?void 0:l[0])!=null&&u.data&&t!=1)y=(x=(h=v[4])==null?void 0:h[0])==null?void 0:x.data,I=(d=(p=v[3])==null?void 0:p[0])==null?void 0:d.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var S=m?4:1,_=ia(y),N=[],O=0;O=1&&(M[N[N.length-1][0]]=I.subarray(N[N.length-1][1]*S)),{R:w,cells:M}}function K_(e,t){var r,a=Ne(t.data),n=(r=a==null?void 0:a[7])!=null&&r[0]?qe(a[7][0].data)>>>0>0?1:0:-1,i=Si(a[5],function(s){return $_(s,n)});return{nrows:qe(a[4][0].data)>>>0,data:i.reduce(function(s,f){return s[f.R]||(s[f.R]=[]),f.cells.forEach(function(c,o){if(s[f.R][o])throw new Error("Duplicate cell r=".concat(f.R," c=").concat(o));s[f.R][o]=c}),s},[])}}function j_(e,t,r){var a,n=Ne(t.data),i={s:{r:0,c:0},e:{r:0,c:0}};if(i.e.r=(qe(n[6][0].data)>>>0)-1,i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));if(i.e.c=(qe(n[7][0].data)>>>0)-1,i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));r["!ref"]=Te(i);var s=Ne(n[4][0].data),f=js(e,e[Er(s[4][0].data)][0]),c=(a=s[17])!=null&&a[0]?js(e,e[Er(s[17][0].data)][0]):[],o=Ne(s[3][0].data),l=0;o[1].forEach(function(u){var h=Ne(u.data),x=e[Er(h[2][0].data)][0],p=qe(x.meta[1][0].data);if(p!=6002)throw new Error("6001 unexpected reference to ".concat(p));var d=K_(e,x);d.data.forEach(function(v,w){v.forEach(function(k,m){var y=ge({r:l+w,c:m}),I=z_(k,f,c);I&&(r[y]=I)})}),l+=d.nrows})}function Y_(e,t){var r=Ne(t.data),a={"!ref":"A1"},n=e[Er(r[2][0].data)],i=qe(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));return j_(e,n[0],a),a}function J_(e,t){var r,a=Ne(t.data),n={name:(r=a[1])!=null&&r[0]?W0(a[1][0].data):"",sheets:[]},i=Si(a[2],Er);return i.forEach(function(s){e[s].forEach(function(f){var c=qe(f.meta[1][0].data);c==6e3&&n.sheets.push(Y_(e,f))})}),n}function q_(e,t){var r=Di(),a=Ne(t.data),n=Si(a[1],Er);if(n.forEach(function(i){e[i].forEach(function(s){var f=qe(s.meta[1][0].data);if(f==2){var c=J_(e,s);c.sheets.forEach(function(o,l){Oi(r,o,l==0?c.name:c.name+"_"+l,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function F0(e){var t,r,a,n,i={},s=[];if(e.FullPaths.forEach(function(c){if(c.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(c){if(c.name.match(/\.iwa$/)){var o;try{o=jr(c.content)}catch(u){return console.log("?? "+c.content.length+" "+(u.message||u))}var l;try{l=Kr(o)}catch(u){return console.log("## "+(u.message||u))}l.forEach(function(u){i[u.id]=u.messages,s.push(u.id)})}}),!s.length)throw new Error("File has no messages");var f=((n=(a=(r=(t=i==null?void 0:i[1])==null?void 0:t[0])==null?void 0:r.meta)==null?void 0:a[1])==null?void 0:n[0].data)&&qe(i[1][0].meta[1][0].data)==1&&i[1][0];if(f||s.forEach(function(c){i[c].forEach(function(o){var l=qe(o.meta[1][0].data)>>>0;if(l==1)if(!f)f=o;else throw new Error("Document has multiple roots")})}),!f)throw new Error("Cannot find Document root");return q_(i,f)}function Z_(e,t,r){var a,n,i,s;if(!((a=e[6])!=null&&a[0])||!((n=e[7])!=null&&n[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&qe(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var c=0,o=ia(e[7][0].data),l=0,u=[],h=ia(e[4][0].data),x=0,p=[],d=0;d1&&console.error("The Numbers writer currently writes only the first table");var a=Pr(r["!ref"]);a.s.r=a.s.c=0;var n=!1;a.e.c>9&&(n=!0,a.e.c=9),a.e.r>49&&(n=!0,a.e.r=49),n&&console.error("The Numbers writer is currently limited to ".concat(Te(a)));var i=Zn(r,{range:a,header:1}),s=["~Sh33tJ5~"];i.forEach(function(B){return B.forEach(function(R){typeof R=="string"&&s.push(R)})});var f={},c=[],o=ve.read(t.numbers,{type:"base64"});o.FileIndex.map(function(B,R){return[B,o.FullPaths[R]]}).forEach(function(B){var R=B[0],P=B[1];if(R.type==2&&R.name.match(/\.iwa/)){var K=R.content,te=jr(K),ne=Kr(te);ne.forEach(function(Q){c.push(Q.id),f[Q.id]={deps:[],location:P,type:qe(Q.messages[0].meta[1][0].data)}})}}),c.sort(function(B,R){return B-R});var l=c.filter(function(B){return B>1}).map(function(B){return[B,Pe(B)]});o.FileIndex.map(function(B,R){return[B,o.FullPaths[R]]}).forEach(function(B){var R=B[0];if(B[1],!!R.name.match(/\.iwa/)){var P=Kr(jr(R.content));P.forEach(function(K){K.messages.forEach(function(te){l.forEach(function(ne){K.messages.some(function(Q){return qe(Q.meta[1][0].data)!=11006&&U_(Q.data,ne[1])})&&f[ne[0]].deps.push(K.id)})})})}});for(var u=ve.find(o,f[1].location),h=Kr(jr(u.content)),x,p=0;p-1?"sheet":e==be.CS?"chart":e==be.DS?"dialog":e==be.MS?"macro":e&&e.length?e:"sheet"}function rw(e,t){if(!e)return 0;try{e=t.map(function(a){return a.id||(a.id=a.strRelID),[a.name,e["!id"][a.id].Target,ew(e["!id"][a.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function tw(e,t,r,a,n,i,s,f,c,o,l,u){try{i[a]=za(Wr(e,r,!0),t);var h=ir(e,t),x;switch(f){case"sheet":x=Sg(h,t,n,c,i[a],o,l,u);break;case"chart":if(x=Fg(h,t,n,c,i[a],o,l,u),!x||!x["!drawel"])break;var p=Ha(x["!drawel"].Target,t),d=sn(p),v=up(Wr(e,p,!0),za(Wr(e,d,!0),p)),w=Ha(v,p),k=sn(w);x=Z2(Wr(e,w,!0),w,c,za(Wr(e,k,!0),w),o,x);break;case"macro":x=yg(h,t,n,c,i[a],o,l,u);break;case"dialog":x=Ag(h,t,n,c,i[a],o,l,u);break;default:throw new Error("Unrecognized sheet type "+f)}s[a]=x;var m=[];i&&i[a]&&Ze(i[a]).forEach(function(y){var I="";if(i[a][y].Type==be.CMNT){I=Ha(i[a][y].Target,t);var S=Og(ir(e,I,!0),I,c);if(!S||!S.length)return;Rs(x,S,!1)}i[a][y].Type==be.TCMNT&&(I=Ha(i[a][y].Target,t),m=m.concat(xp(ir(e,I,!0),c)))}),m&&m.length&&Rs(x,m,!0,c.people||[])}catch(y){if(c.WTF)throw y}}function zr(e){return e.charAt(0)=="/"?e.slice(1):e}function aw(e,t){if(ba(),t=t||{},Fi(t),Yr(e,"META-INF/manifest.xml")||Yr(e,"objectdata.xml"))return Gs(e,t);if(Yr(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof F0<"u"){if(e.FileIndex)return F0(e);var r=ve.utils.cfb_new();return es(e).forEach(function(oe){Se(r,oe,Cf(e,oe))}),F0(r)}throw new Error("Unsupported NUMBERS file")}if(!Yr(e,"[Content_Types].xml"))throw Yr(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Yr(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var a=es(e),n=fh(Wr(e,"[Content_Types].xml")),i=!1,s,f;if(n.workbooks.length===0&&(f="xl/workbook.xml",ir(e,f,!0)&&n.workbooks.push(f)),n.workbooks.length===0){if(f="xl/workbook.bin",!ir(e,f,!0))throw new Error("Could not find workbook");n.workbooks.push(f),i=!0}n.workbooks[0].slice(-3)=="bin"&&(i=!0);var c={},o={};if(!t.bookSheets&&!t.bookProps){if($a=[],n.sst)try{$a=Dg(ir(e,zr(n.sst)),n.sst,t)}catch(oe){if(t.WTF)throw oe}t.cellStyles&&n.themes.length&&(c=bg(Wr(e,n.themes[0].replace(/^\//,""),!0)||"",n.themes[0],t)),n.style&&(o=Cg(ir(e,zr(n.style)),n.style,c,t))}n.links.map(function(oe){try{var ee=za(Wr(e,sn(zr(oe))),oe);return Rg(ir(e,zr(oe)),ee,oe,t)}catch{}});var l=Tg(ir(e,zr(n.workbooks[0])),n.workbooks[0],t),u={},h="";n.coreprops.length&&(h=ir(e,zr(n.coreprops[0]),!0),h&&(u=tc(h)),n.extprops.length!==0&&(h=ir(e,zr(n.extprops[0]),!0),h&&dh(h,u,t)));var x={};(!t.bookSheets||t.bookProps)&&n.custprops.length!==0&&(h=Wr(e,zr(n.custprops[0]),!0),h&&(x=vh(h,t)));var p={};if((t.bookSheets||t.bookProps)&&(l.Sheets?s=l.Sheets.map(function(ee){return ee.name}):u.Worksheets&&u.SheetNames.length>0&&(s=u.SheetNames),t.bookProps&&(p.Props=u,p.Custprops=x),t.bookSheets&&typeof s<"u"&&(p.SheetNames=s),t.bookSheets?p.SheetNames:t.bookProps))return p;s={};var d={};t.bookDeps&&n.calcchain&&(d=Ig(ir(e,zr(n.calcchain)),n.calcchain));var v=0,w={},k,m;{var y=l.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var I=0;I!=y.length;++I)u.SheetNames[I]=y[I].name}var S=i?"bin":"xml",_=n.workbooks[0].lastIndexOf("/"),N=(n.workbooks[0].slice(0,_+1)+"_rels/"+n.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Yr(e,N)||(N="xl/_rels/workbook."+S+".rels");var O=za(Wr(e,N,!0),N.replace(/_rels.*/,"s5s"));(n.metadata||[]).length>=1&&(t.xlmeta=Ng(ir(e,zr(n.metadata[0])),n.metadata[0],t)),(n.people||[]).length>=1&&(t.people=pp(ir(e,zr(n.people[0])),t)),O&&(O=rw(O,l.Sheets));var G=ir(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var M="sheet";if(O&&O[v]?(k="xl/"+O[v][1].replace(/[\/]?xl\//,""),Yr(e,k)||(k=O[v][1]),Yr(e,k)||(k=N.replace(/_rels\/.*$/,"")+O[v][1]),M=O[v][2]):(k="xl/worksheets/sheet"+(v+1-G)+"."+S,k=k.replace(/sheet0\./,"sheet.")),m=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var L=!1,J=0;J!=t.sheets.length;++J)typeof t.sheets[J]=="number"&&t.sheets[J]==v&&(L=1),typeof t.sheets[J]=="string"&&t.sheets[J].toLowerCase()==u.SheetNames[v].toLowerCase()&&(L=1);if(!L)continue e}}tw(e,k,m,u.SheetNames[v],v,w,s,M,t,l,c,o)}return p={Directory:n,Workbook:l,Props:u,Custprops:x,Deps:d,Sheets:s,SheetNames:u.SheetNames,Strings:$a,Styles:o,Themes:c,SSF:ze(me)},t&&t.bookFiles&&(e.files?(p.keys=a,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach(function(oe,ee){oe=oe.replace(/^Root Entry[\/]/,""),p.keys.push(oe),p.files[oe]=e.FileIndex[ee]}))),t&&t.bookVBA&&(n.vba.length>0?p.vbaraw=ir(e,zr(n.vba[0]),!0):n.defaults&&n.defaults.bin===Tp&&(p.vbaraw=ir(e,"xl/vbaProject.bin",!0))),p}function nw(e,t){var r=t||{},a="Workbook",n=ve.find(e,a);try{if(a="/!DataSpaces/Version",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(Nx(n.content),a="/!DataSpaces/DataSpaceMap",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Lx(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Bx(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Ux(n.content)}catch{}if(a="/EncryptionInfo",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var f=Wx(n.content);if(a="/EncryptedPackage",n=ve.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(f[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(f[1],n.content,r.password||"",r);if(f[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(f[1],n.content,r.password||"",r);throw new Error("File is password-protected")}function iw(e,t){return t.bookType=="ods"?xo(e,t):t.bookType=="numbers"?Q_(e,t):t.bookType=="xlsb"?sw(e,t):fw(e,t)}function sw(e,t){wa=1024,e&&!e.SSF&&(e.SSF=ze(me)),e&&e.SSF&&(ba(),dn(e.SSF),t.revssf=a0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Ka?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",a=Hc.indexOf(t.bookType)>-1,n=ui();yi(t=t||{});var i=q0(),s="",f=0;if(t.cellXfs=[],Xt(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Se(i,s,ac(e.Props,t)),n.coreprops.push(s),Le(t.rels,2,s,be.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var c=[],o=0;o0&&(s="docProps/custom.xml",Se(i,s,fc(e.Custprops)),n.custprops.push(s),Le(t.rels,4,s,be.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var l={"!id":{}},u=e.Sheets[e.SheetNames[f-1]],h=(u||{})["!type"]||"sheet";switch(h){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,Se(i,s,Lg(f-1,s,t,e,l)),n.sheets.push(s),Le(t.wbrels,-1,"worksheets/sheet"+f+"."+r,be.WS[0])}if(u){var x=u["!comments"],p=!1,d="";x&&x.length>0&&(d="xl/comments"+f+"."+r,Se(i,d,Ug(x,d)),n.comments.push(d),Le(l,-1,"../comments"+f+"."+r,be.CMNT),p=!0),u["!legacy"]&&p&&Se(i,"xl/drawings/vmlDrawing"+f+".vml",Uc(f,u["!comments"])),delete u["!comments"],delete u["!legacy"]}l["!id"].rId1&&Se(i,sn(s),Ta(l))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Se(i,s,Mg(t.Strings,s,t)),n.strs.push(s),Le(t.wbrels,-1,"sharedStrings."+r,be.SST)),s="xl/workbook."+r,Se(i,s,Pg(e,s)),n.workbooks.push(s),Le(t.rels,1,s,be.WB),s="xl/theme/theme1.xml",Se(i,s,mi(e.Themes,t)),n.themes.push(s),Le(t.wbrels,-1,"theme/theme1.xml",be.THEME),s="xl/styles."+r,Se(i,s,Bg(e,s,t)),n.styles.push(s),Le(t.wbrels,-1,"styles."+r,be.STY),e.vbaraw&&a&&(s="xl/vbaProject.bin",Se(i,s,e.vbaraw),n.vba.push(s),Le(t.wbrels,-1,"vbaProject.bin",be.VBA)),s="xl/metadata."+r,Se(i,s,Wg(s)),n.metadata.push(s),Le(t.wbrels,-1,"metadata."+r,be.XLMETA),Se(i,"[Content_Types].xml",ec(n,t)),Se(i,"_rels/.rels",Ta(t.rels)),Se(i,"xl/_rels/workbook."+r+".rels",Ta(t.wbrels)),delete t.revssf,delete t.ssf,i}function fw(e,t){wa=1024,e&&!e.SSF&&(e.SSF=ze(me)),e&&e.SSF&&(ba(),dn(e.SSF),t.revssf=a0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Ka?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",a=Hc.indexOf(t.bookType)>-1,n=ui();yi(t=t||{});var i=q0(),s="",f=0;if(t.cellXfs=[],Xt(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Se(i,s,ac(e.Props,t)),n.coreprops.push(s),Le(t.rels,2,s,be.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var c=[],o=0;o0&&(s="docProps/custom.xml",Se(i,s,fc(e.Custprops)),n.custprops.push(s),Le(t.rels,4,s,be.CUST_PROPS));var l=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var u={"!id":{}},h=e.Sheets[e.SheetNames[f-1]],x=(h||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,Se(i,s,Zc(f-1,t,e,u)),n.sheets.push(s),Le(t.wbrels,-1,"worksheets/sheet"+f+"."+r,be.WS[0])}if(h){var p=h["!comments"],d=!1,v="";if(p&&p.length>0){var w=!1;p.forEach(function(k){k[1].forEach(function(m){m.T==!0&&(w=!0)})}),w&&(v="xl/threadedComments/threadedComment"+f+"."+r,Se(i,v,dp(p,l,t)),n.threadedcomments.push(v),Le(u,-1,"../threadedComments/threadedComment"+f+"."+r,be.TCMNT)),v="xl/comments"+f+"."+r,Se(i,v,Wc(p)),n.comments.push(v),Le(u,-1,"../comments"+f+"."+r,be.CMNT),d=!0}h["!legacy"]&&d&&Se(i,"xl/drawings/vmlDrawing"+f+".vml",Uc(f,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&Se(i,sn(s),Ta(u))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Se(i,s,Ac(t.Strings,t)),n.strs.push(s),Le(t.wbrels,-1,"sharedStrings."+r,be.SST)),s="xl/workbook."+r,Se(i,s,ao(e)),n.workbooks.push(s),Le(t.rels,1,s,be.WB),s="xl/theme/theme1.xml",Se(i,s,mi(e.Themes,t)),n.themes.push(s),Le(t.wbrels,-1,"theme/theme1.xml",be.THEME),s="xl/styles."+r,Se(i,s,Pc(e,t)),n.styles.push(s),Le(t.wbrels,-1,"styles."+r,be.STY),e.vbaraw&&a&&(s="xl/vbaProject.bin",Se(i,s,e.vbaraw),n.vba.push(s),Le(t.wbrels,-1,"vbaProject.bin",be.VBA)),s="xl/metadata."+r,Se(i,s,Mc()),n.metadata.push(s),Le(t.wbrels,-1,"metadata."+r,be.XLMETA),l.length>1&&(s="xl/persons/person.xml",Se(i,s,vp(l)),n.people.push(s),Le(t.wbrels,-1,"persons/person.xml",be.PEOPLE)),Se(i,"[Content_Types].xml",ec(n,t)),Se(i,"_rels/.rels",Ta(t.rels)),Se(i,"xl/_rels/workbook."+r+".rels",Ta(t.wbrels)),delete t.revssf,delete t.ssf,i}function Ai(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Hr(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function cw(e,t){return ve.find(e,"EncryptedPackage")?nw(e,t):fo(e,t)}function ow(e,t){var r,a=e,n=t||{};return n.type||(n.type=Ae&&Buffer.isBuffer(e)?"buffer":"base64"),r=bf(a,n),aw(r,n)}function vo(e,t){var r=0;e:for(;r=2&&n[3]===0||n[2]===0&&(n[3]===8||n[3]===9)))return Jt.to_workbook(a,r);break;case 3:case 131:case 139:case 140:return B0.to_workbook(a,r);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return Ic.to_workbook(a,r);break;case 10:case 13:case 32:return lw(a,r);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return vx.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?B0.to_workbook(a,r):y0(e,a,r,i)}function mo(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return pn(t.file,ve.write(e,{type:Ae?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return ve.write(e,t)}function xw(e,t){var r=ze(t||{}),a=iw(e,r);return dw(a,r)}function dw(e,t){var r={},a=Ae?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=a;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=a;break;default:throw new Error("Unrecognized type "+t.type)}var n=e.FullPaths?ve.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof n=="string"){if(t.type=="binary"||t.type=="base64")return n;n=new Uint8Array(r0(n))}return t.password&&typeof encrypt_agile<"u"?mo(encrypt_agile(n,t.password),t):t.type==="file"?pn(t.file,n):t.type=="string"?Ue(n):n}function pw(e,t){var r=t||{},a=h_(e,r);return mo(a,r)}function ht(e,t,r){r||(r="");var a=r+e;switch(t.type){case"base64":return en(xt(a));case"binary":return xt(a);case"string":return e;case"file":return pn(t.file,a,"utf8");case"buffer":return Ae?Ft(a,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(a):ht(a,{type:"binary"}).split("").map(function(n){return n.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function vw(e,t){switch(t.type){case"base64":return en(e);case"binary":return e;case"string":return e;case"file":return pn(t.file,e,"binary");case"buffer":return Ae?Ft(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Pn(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",a=0;a0&&(n=0);var u=tr(c.s.r),h=[],x=[],p=0,d=0,v=Array.isArray(e),w=c.s.r,k=0,m={};v&&!e[w]&&(e[w]=[]);var y=o.skipHidden&&e["!cols"]||[],I=o.skipHidden&&e["!rows"]||[];for(k=c.s.c;k<=c.e.c;++k)if(!(y[k]||{}).hidden)switch(h[k]=je(k),r=v?e[w][k]:e[h[k]+u],a){case 1:i[k]=k-c.s.c;break;case 2:i[k]=h[k];break;case 3:i[k]=o.header[k-c.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=St(r,null,o),d=m[s]||0,!d)m[s]=1;else{do f=s+"_"+d++;while(m[f]);m[s]=d,m[f]=1}i[k]=f}for(w=c.s.r+n;w<=c.e.r;++w)if(!(I[w]||{}).hidden){var S=gw(e,c,w,h,a,i,v,o);(S.isempty===!1||(a===1?o.blankrows!==!1:o.blankrows))&&(x[p++]=S.row)}return x.length=p,x}var Js=/"/g;function _w(e,t,r,a,n,i,s,f){for(var c=!0,o=[],l="",u=tr(r),h=t.s.c;h<=t.e.c;++h)if(a[h]){var x=f.dense?(e[r]||[])[h]:e[a[h]+u];if(x==null)l="";else if(x.v!=null){c=!1,l=""+(f.rawNumbers&&x.t=="n"?x.v:St(x,null,f));for(var p=0,d=0;p!==l.length;++p)if((d=l.charCodeAt(p))===n||d===i||d===34||f.forceQuotes){l='"'+l.replace(Js,'""')+'"';break}l=="ID"&&(l='"ID"')}else x.f!=null&&!x.F?(c=!1,l="="+x.f,l.indexOf(",")>=0&&(l='"'+l.replace(Js,'""')+'"')):l="";o.push(l)}return f.blankrows===!1&&c?null:o.join(s)}function bi(e,t){var r=[],a=t??{};if(e==null||e["!ref"]==null)return"";var n=Re(e["!ref"]),i=a.FS!==void 0?a.FS:",",s=i.charCodeAt(0),f=a.RS!==void 0?a.RS:` +`,c=f.charCodeAt(0),o=new RegExp((i=="|"?"\\|":i)+"+$"),l="",u=[];a.dense=Array.isArray(e);for(var h=a.skipHidden&&e["!cols"]||[],x=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(h[p]||{}).hidden||(u[p]=je(p));for(var d=0,v=n.s.r;v<=n.e.r;++v)(x[v]||{}).hidden||(l=_w(e,n,v,u,s,c,i,a),l!=null&&(a.strip&&(l=l.replace(o,"")),(l||a.blankrows!==!1)&&r.push((d++?f:"")+l)));return delete a.dense,r.join("")}function go(e,t){t||(t={}),t.FS=" ",t.RS=` +`;var r=bi(e,t);return r}function ww(e){var t="",r,a="";if(e==null||e["!ref"]==null)return[];var n=Re(e["!ref"]),i="",s=[],f,c=[],o=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=je(f);for(var l=n.s.r;l<=n.e.r;++l)for(i=tr(l),f=n.s.c;f<=n.e.c;++f)if(t=s[f]+i,r=o?(e[l]||[])[f]:e[t],a="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;a=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)a=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)a=""+r.v;else if(r.t=="b")a=r.v?"TRUE":"FALSE";else if(r.w!==void 0)a="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?a="'"+r.v:a=""+r.v}}c[c.length]=t+"="+a}return c}function _o(e,t,r){var a=r||{},n=+!a.skipHeader,i=e||{},s=0,f=0;if(i&&a.origin!=null)if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?Ye(a.origin):a.origin;s=c.r,f=c.c}var o,l={s:{c:0,r:0},e:{c:f,r:s+t.length-1+n}};if(i["!ref"]){var u=Re(i["!ref"]);l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),s==-1&&(s=u.e.r+1,l.e.r=s+t.length-1+n)}else s==-1&&(s=0,l.e.r=t.length-1+n);var h=a.header||[],x=0;t.forEach(function(d,v){Ze(d).forEach(function(w){(x=h.indexOf(w))==-1&&(h[x=h.length]=w);var k=d[w],m="z",y="",I=ge({c:f+x,r:s+v+n});o=xn(i,I),k&&typeof k=="object"&&!(k instanceof Date)?i[I]=k:(typeof k=="number"?m="n":typeof k=="boolean"?m="b":typeof k=="string"?m="s":k instanceof Date?(m="d",a.cellDates||(m="n",k=ur(k)),y=a.dateNF||me[14]):k===null&&a.nullError&&(m="e",k=0),o?(o.t=m,o.v=k,delete o.w,delete o.R,y&&(o.z=y)):i[I]=o={t:m,v:k},y&&(o.z=y))})}),l.e.c=Math.max(l.e.c,f+h.length-1);var p=tr(s);if(n)for(x=0;x=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function Di(){return{SheetNames:[],Sheets:{}}}function Oi(e,t,r,a){var n=1;if(!r)for(;n<=65535&&e.SheetNames.indexOf(r="Sheet"+n)!=-1;++n,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||r;for(++n;n<=65535&&e.SheetNames.indexOf(r=s+n)!=-1;++n);}if(to(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Tw(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var a=Ew(e,t);switch(e.Workbook.Sheets[a]||(e.Workbook.Sheets[a]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r}function Sw(e,t){return e.z=t,e}function wo(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Fw(e,t,r){return wo(e,"#"+t,r)}function yw(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Aw(e,t,r,a){for(var n=typeof t!="string"?t:Re(t),i=typeof t=="string"?t:Te(t),s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var c=xn(e,s,f);c.t="n",c.F=i,delete c.v,s==n.s.r&&f==n.s.c&&(c.f=r,a&&(c.D=!0))}return e}var H0={encode_col:je,encode_row:tr,encode_cell:ge,encode_range:Te,decode_col:ii,decode_row:ni,split_cell:Mu,decode_cell:Ye,decode_range:Pr,format_cell:St,sheet_add_aoa:Kf,sheet_add_json:_o,sheet_add_dom:lo,aoa_to_sheet:Da,json_to_sheet:kw,table_to_sheet:uo,table_to_book:N_,sheet_to_csv:bi,sheet_to_txt:go,sheet_to_json:Zn,sheet_to_html:oo,sheet_to_formulae:ww,sheet_to_row_object_array:Zn,sheet_get_cell:xn,book_new:Di,book_append_sheet:Oi,book_set_sheet_visibility:Tw,cell_set_number_format:Sw,cell_set_hyperlink:wo,cell_set_internal_link:Fw,cell_add_comment:yw,sheet_set_array_formula:Aw,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};class Cw{constructor(){u0(this,"SheetNames",[]);u0(this,"Sheets",{})}}function bw(e,t){return t&&(e+=1462),(Date.parse(e)-new Date(Date.UTC(1899,11,30)).getTime())/(24*60*60*1e3)}function Dw(e){const t={},r={s:{c:1e7,r:1e7},e:{c:0,r:0}};for(let a=0;a!=e.length;++a)for(let n=0;n!=e[a].length;++n){r.s.r>a&&(r.s.r=a),r.s.c>n&&(r.s.c=n),r.e.r-1;u--)r.unshift(e[u]);const f="SheetJS",c=new Cw,o=Dw(r);if(n.length>0&&(o["!merges"]||(o["!merges"]=[]),n.forEach(u=>{o["!merges"].push(H0.decode_range(u))})),i){const u=r.map(x=>x.map(p=>p==null?{wch:10}:p.toString().charCodeAt(0)>255?{wch:p.toString().length*2}:{wch:p.toString().length})),h=u[0];for(let x=1;x({exportData2Excel:()=>{const{columns:n,exportFormatter:i,exportFileName:s,exportBookType:f,exportAutoWidth:c}=e,{getColumnKey:o}=r,{tableData:l}=t,u=n.filter(h=>{const x=o(h);return x&&!cf.includes(x)});if(i){const{header:h,data:x}=i(u,l.value);if(A0(h)||A0(x))return;qs({header:h,data:x,filename:s,bookType:f,autoWidth:c})}else qs({header:u.map(h=>h.title),data:l.value.map(h=>u.map(x=>C0(h,o(x)))),filename:s,bookType:f,autoWidth:c})}});function Rw({tableState:e,slots:t,tableMethods:r}){const{getProps:a,loadingRef:n}=e,{getColumnKey:i,getQueryFormRef:s}=r,f=cr(()=>{const{formProps:u}=re(a),{submitButtonOptions:h}=u||{};return{showAdvancedButton:!0,layout:"horizontal",labelWidth:100,...u,submitButtonOptions:{loading:re(n),...h},compact:!0}}),c=cr(()=>{const u=Object.keys(Qa);return re(a).columns.filter(h=>{const x=i(h);return!h.hideInSearch&&!!x&&!u.includes(x)}).map(h=>({field:h.searchField??i(h),component:"Input",label:h.title,colProps:{span:8},...h.formItemProps})).sort((h,x)=>Number(h==null?void 0:h.order)-Number(x==null?void 0:x.order))});tf(()=>{var u;return(u=s())==null?void 0:u.setSchemaFormProps(re(f))},{flush:"post"});const o=cr(()=>Object.keys(t).map(h=>h.startsWith("form-")?h:null).filter(h=>!!h));function l(u){var h;return u?((h=u==null?void 0:u.replace)==null?void 0:h.call(u,/form-/,""))??"":""}return{getFormProps:f,replaceFormSlotKey:l,getFormSlotKeys:o,formSchemas:c}}const Lt={fetchConfig:{pageField:"page",sizeField:"pageSize",listField:"items",totalField:"meta.totalItems"},pageSizeOptions:["10","50","80","100"],defaultPageSize:10,defaultAlign:"center",defaultSortFn:e=>{const{field:t,order:r}=e;return t&&r?{field:t,order:r}:{}},defaultFilterFn:e=>e},Nw=e=>{let t=e.offsetTop,r=e.offsetParent;for(;r!=null;)t+=r.offsetTop,r=r.offsetParent;return t},Pw=({props:e,containerElRef:t})=>{const r=He(),a=cr(()=>({y:r.value,...e.scroll})),n=Qs(()=>{if(!e.autoHeight||!t.value)return;let i=0;const s=t.value.querySelector(".ant-pagination");if(s){const{offsetHeight:c}=s,{marginTop:o,marginBottom:l}=getComputedStyle(s);i=c+parseInt(o)+parseInt(l)}const f=t.value.querySelector(".ant-table-body")||t.value.querySelector(".ant-table-tbody");if(f){const c=document.documentElement.offsetHeight,o=Nw(f),l=f.offsetHeight-f.clientHeight,u=c-o-l-i-8;r.value=u}},20);return Uo(t,n,{childList:!0,subtree:!0}),Wo(document.documentElement,n),{scroll:a}},Lw=({props:e,slots:t})=>{const{t:r}=Qn(),a=He(),n=He(),i=He(),s=He([]),f=He({}),c=He(!1),o=He(!!e.loading),l=He(!1),u=He(null),h=He({}),x=He(new Map),p=He(new Set),d=He(new Set),v=_l({sortInfo:{},filterInfo:{}}),{scroll:w}=Pw({props:e,containerElRef:u});Object.is(e.pagination,!1)||(c.value={current:1,pageSize:Lt.defaultPageSize,total:0,pageSizeOptions:[...Lt.pageSizeOptions],showQuickJumper:!0,showSizeChanger:!0,showTotal:y=>r("component.table.total",{total:y}),...e.pagination});const k=cr(()=>Object.assign({},e,re(f))),m=cr(()=>{const y=re(k);let I={...y,scroll:{...re(w),...y.scroll},pagination:y.pagination??re(c),rowKey:y.rowKey??"id",loading:y.loading??re(o),tableLayout:y.tableLayout??"fixed"};return t.expandedRowRender&&(I=b0(I,"scroll")),I=b0(I,["class","onChange","columns"]),I});return Zt(()=>e.dataSource,y=>{y&&(s.value=y)},{immediate:!0,deep:!0}),Zt(()=>e.columns,y=>{y&&Object.assign(f.value,{columns:y})},{immediate:!0,deep:!0}),{tableRef:a,editTableFormRef:i,loadingRef:o,isFullscreen:l,containerElRef:u,tableData:s,queryFormRef:n,innerPropsRef:f,getProps:k,getBindValues:m,paginationRef:c,editFormModel:h,editFormErrorMsgs:x,editableCellKeys:d,editableRowKeys:p,searchState:v}},ko=({state:e,props:t})=>{const{tableData:r,editFormModel:a,editTableFormRef:n,editFormErrorMsgs:i,editableCellKeys:s,editableRowKeys:f}=e;Zt(()=>t.editableType,k=>{k==="cell"?f.value.clear():s.value.clear()});const c=(k,m)=>{Reflect.set(a.value,k,m),Qt(()=>{var y;(y=n.value)==null||y.setFormModel(k,m)})},o=(k,m,y)=>{const I=Ja(m??r.value.find(S=>S[String(t.rowKey)]===k));return y==null||y.forEach(S=>{const{formItemProps:_,editFormItemProps:N}=S,O=S.dataIndex||S.key;!Object.is(N==null?void 0:N.extendSearchFormProps,!1)&&_&&Reflect.has(_,"defaultValue")&&(I[O]=_.defaultValue),N&&Reflect.has(N,"defaultValue")&&(I[O]=N.defaultValue)}),I},l=(k,m)=>{if(s.value.clear(),f.value.size>0&&t.editableType==="single")return zo.warn(t.onlyOneLineEditorAlertMessage||"只能同时编辑一行"),!1;const y=o(k,m,t.columns);return c(k,y),f.value.add(k),!0},u=(k,m,y)=>{f.value.clear();const I=t.columns.filter(_=>_.dataIndex===m),S=o(k,y,I);s.value.add(`${k}.${m}`),c(k,{...d(k)||S,[m]:S[m]})},h=(k,m)=>{s.value.delete(`${k}.${m}`);const y=d(k),I=r.value.find(S=>S[String(t.rowKey)]===k);I&&Reflect.set(y,m,I[m]),i.value.delete(`${k}.${m}`)},x=k=>{const m=d(k);return Object.keys(m).forEach(y=>i.value.delete(`${k}.${y}`)),Qt(()=>{var y,I;(I=(y=n.value)==null?void 0:y.delFormModel)==null||I.call(y,k)}),f.value.delete(k),Reflect.deleteProperty(a.value,k)},p=k=>f.value.has(k),d=k=>Reflect.get(a.value,k);return{setEditFormModel:c,startEditable:l,startCellEditable:u,cancelCellEditable:h,cancelEditable:x,isEditable:p,validateRow:async k=>{var I;const m=Object.keys(d(k)).map(S=>[String(k),S]),y=await((I=n.value)==null?void 0:I.validateFields(m));return(y==null?void 0:y[k])??y},validateCell:async(k,m)=>{var I;const y=await((I=n.value)==null?void 0:I.validateFields([[String(k),m]]));return(y==null?void 0:y[k])??y},getEditFormModel:d}};function Bw({state:e,props:t,emit:r}){const{tableData:a}=e,n=He([]),i=cr(()=>{const{childrenColumnName:u="children"}=t;return a.value.some(h=>Array.isArray(h[u])&&h[u].length)}),s=cr(()=>i.value?{expandedRowKeys:re(n),onExpandedRowsChange:u=>{n.value=u,r("expanded-rows-change",u)}}:{});function f(){const u=o();n.value=u}function c(u){i.value&&(n.value=[...n.value,...u])}function o(u){const h=[],{childrenColumnName:x,rowKey:p}=t;return wl(u||re(a)).forEach(d=>{h.push(d[p]);const v=d[x||"children"];v!=null&&v.length&&h.push(...o(v))}),h}function l(){n.value=[]}return{getExpandOption:s,expandAll:f,expandRows:c,collapseAll:l}}const Mw=({state:e,props:t,emit:r})=>{const{innerPropsRef:a,tableData:n,loadingRef:i,queryFormRef:s,paginationRef:f,editFormErrorMsgs:c,searchState:o}=e,l=ko({state:e,props:t}),u=Bw({state:e,props:t,emit:r});Zt(()=>t.searchParams,()=>{p()}),Zt(()=>t.dataSource,S=>{m({total:S==null?void 0:S.length})});const h=S=>{Object.assign(a.value,S)},x=(S,_=1)=>{m({current:_}),p(S),r("search",S)},p=Qs(async(S={})=>{const{dataRequest:_,dataSource:N,fetchConfig:O,searchParams:G}=t;if(!(!_||!ka(_)||Array.isArray(N)))try{let M={};const L=re(f),{pageField:J,sizeField:oe,listField:ee,totalField:ue}={...Lt.fetchConfig,...O},ce=h0(L);ce&&(M={[J]:L.current,[oe]:L.pageSize});const{sortInfo:ke={},filterInfo:V}=o;let xe={...M,...ke,...V,...G,...S};if(await Qt(),s.value){const P=await s.value.validate();xe={...s.value.handleFormValues(P),...xe}}i.value=!0;const pe=await _(xe),b=Array.isArray(pe),B=b?pe:C0(pe,ee),R=b?pe.length:Number(C0(pe,ue));if(ce&&R){const{current:P=1,pageSize:K=Lt.defaultPageSize}=L,te=Math.ceil(R/K);if(P>te)return m({current:te}),await p(S)}return n.value=B,m({total:~~R}),xe[J]&&m({current:xe[J]||1}),n}catch(M){Ho(`表格查询出错:${M}`),r("fetch-error",M),n.value=[],m({total:0})}finally{i.value=!1}}),d=(S=!1)=>{const _=re(f);return Object.is(S,!0)&&h0(_)&&(_.current=1),r("reload"),p()},v=async(...S)=>{const[_,N,O]=S,{sortFn:G,filterFn:M}=t;if(s.value&&await s.value.validate(),m(_),O&&ka(G)){const L=G(O);o.sortInfo=L}if(N&&ka(M)){const L=M(N);o.filterInfo=L}await p({}),r("change",...S)},w=S=>(S==null?void 0:S.key)||(S==null?void 0:S.dataIndex),k=(S,_,N)=>{const O=Array.isArray(S)?S.join("."):S;_?c.value.delete(O):c.value.set(O,N)},m=(S=f.value)=>{Mn(S)?f.value=S:h0(f.value)&&(f.value={...f.value,...S})};return{...l,...u,setProps:h,handleSubmit:x,handleTableChange:v,getColumnKey:w,fetchData:p,getQueryFormRef:()=>s.value,reload:d,onInfiniteScroll:(S,_)=>{var O,G;const N=(G=(O=af())==null?void 0:O.proxy)==null?void 0:G.$el.querySelector(".ant-table-body");Vo(N,S,_)},handleEditFormValidate:k}},Zs="__TABLE_ACTION",Uw=ft({__name:"table-action",props:{actions:{type:Array,default:()=>[]},columnParams:{type:Object,default:()=>({})},divider:{type:Boolean,default:!0},rowKey:[String,Number]},setup(e){const t=(o,{slots:l})=>{const{popConfirm:u,tooltip:h}=o,x=()=>{var p;return u?Un(Ko,u,{default:l.default}):(p=l.default)==null?void 0:p.call(l)};return h?Un(Pt,c(h),{default:x}):x()},r=e,a=He(new Map),n=cr(()=>r.actions.filter(o=>{const l=o.auth;if(Object.is(l,void 0))return!0;if(Bi(l)){const u=Li(l);return o.disabled??(o.disabled=!u),o.disabled&&!u&&(o.title="对不起,您没有该操作权限!"),u}if($o(l)){const u=Li(l.perm),h=l.effect!=="delete";return o.disabled??(o.disabled=!u&&h),o.disabled&&!u&&(o.title="对不起,您没有该操作权限!"),u||h}}).map((o,l)=>{const u=o.onClick;return ka(u)&&!i(u)&&(o.onClick=async()=>{const h=u(r.columnParams);if(sf(h)){const x=f(o,l);a.value.set(x,!0),await h.finally(()=>{a.value.delete(x)})}},s(o.onClick)),o.icon&&(o.icon=ye(Xo,{icon:o.icon,class:{"mr-1":!!o.label}},null)),o})),i=o=>Reflect.get(o,Zs),s=o=>{Reflect.set(o,Zs,!0)},f=(o,l)=>`${r.rowKey}${l}${o.label}`,c=o=>({getPopupContainer:()=>document.body,placement:"bottom",...Bi(o)?{title:o}:o});return(o,l)=>{const u=X0("a-button"),h=V0;return Me(!0),Tt(Za,null,Kt(n.value,(x,p)=>(Me(),Tt(Za,{key:`${p}-${x.label}`},[ye(t,ga(_a(x)),{default:we(()=>[ye(u,qa({type:"link",size:"small",loading:a.value.get(f(x,p))},x),{default:we(()=>[qr(xr(x.label),1)]),_:2},1040,["loading"])]),_:2},1040),e.divider&&p(Me(),lr(re(Pt),{placement:"top"},{title:we(()=>[gr("span",null,xr(re(t)("component.table.settingDens")),1)]),default:we(()=>[ye(re(jo),{placement:"bottom",trigger:["click"]},{overlay:we(()=>[ye(re(Sn),{selectedKeys:a.value,"onUpdate:selectedKeys":f[0]||(f[0]=c=>a.value=c),selectable:"",onClick:n},{default:we(()=>[ye(re(Sn).Item,{key:"large"},{default:we(()=>[gr("span",null,xr(re(t)("component.table.settingDensDefault")),1)]),_:1}),ye(re(Sn).Item,{key:"middle"},{default:we(()=>[gr("span",null,xr(re(t)("component.table.settingDensMiddle")),1)]),_:1}),ye(re(Sn).Item,{key:"small"},{default:we(()=>[gr("span",null,xr(re(t)("component.table.settingDensSmall")),1)]),_:1})]),_:1},8,["selectedKeys"])]),default:we(()=>[ye(re(Yo))]),_:1})]),_:1}))}}),Hw=ft({__name:"refresh-setting",setup(e){const{t}=Qn(),r=sa();function a(){r.reload()}return(n,i)=>(Me(),lr(re(Pt),{placement:"top"},{title:we(()=>[gr("span",null,xr(re(t)("common.redo")),1)]),default:we(()=>[ye(re(Jo),{onClick:a})]),_:1}))}}),Ln=ft({inheritAttrs:!1,__name:"index",props:{...qo(),trueValue:{type:[Number,Boolean,String],default:!0},falseValue:{type:[Number,Boolean,String],default:!1}},emits:["update:checked","change"],setup(e,{emit:t}){const r=e,a=t,n=cr(()=>b0(r,["onUpdate:checked","onChange"])),i=cr({get(){return r.checked===r.trueValue},set(f){a("update:checked",f?r.trueValue:r.falseValue)}}),s=f=>{const c={...f,target:{...f.target,checked:f.target.checked?r.trueValue:r.falseValue}};a("change",c)};return(f,c)=>(Me(),lr(re(Zo),qa(n.value,{checked:i.value,"onUpdate:checked":c[0]||(c[0]=o=>i.value=o),onChange:s}),{default:we(()=>[tt(f.$slots,"default")]),_:3},16,["checked"]))}});function Vw(e,t){function r(){Qt(async()=>{if(!e)return;(await Go(()=>import("./sortable.esm-BvVcoYKu.js"),[])).default.create(re(e),{animation:500,delay:400,delayOnTouchOnly:!0,...t})})}return{initSortable:r}}const Xw={class:"popover-title"},Gw={style:{padding:"4px 16px 8px 0"}},zw={class:"column-fixed"},$w=ft({__name:"column-setting",setup(e){const{t}=Qn(),r=sa();let a=!1;const n=Ja(r.columns),i=!!r.showIndex,s=r.bordered,f=He([]),c=cr({get(){return f.value.length>0&&f.value.every(m=>!m.hideInTable)},set(m){f.value.forEach(y=>y.hideInTable=!m)}}),o=He(i),l=He(r.bordered),u=He(),h=()=>{f.value=Ja(n),o.value=i,l.value=s,f.value.forEach(m=>m.hideInTable??(m.hideInTable=!1))};h();const x=cr(()=>f.value.length>0&&f.value.some(m=>m.hideInTable)&&f.value.some(m=>!m.hideInTable));Zt(f,m=>{r.setProps({columns:m})},{deep:!0});const p=m=>{r.setProps({showIndex:m.target.checked})},d=m=>{r.setProps({bordered:m.target.checked})},v=(m,y)=>{m.fixed=m.fixed===y?!1:y};async function w(){if(a)return;await Qt();const m=re(u);if(!m)return;const{initSortable:y}=Vw(m,{handle:".table-column-drag-icon",onEnd:I=>{const{oldIndex:S,newIndex:_}=I;if(Mi(S)||Mi(_)||S===_)return;const N=f.value;N.splice(_,0,N.splice(S,1)[0])}});y(),a=!0}const k=()=>{h(),r.setProps({showIndex:i,bordered:s})};return(m,y)=>{const I=X0("a-button");return Me(),lr(re(Pt),{placement:"top"},{title:we(()=>[gr("span",null,xr(re(t)("component.table.settingColumn")),1)]),default:we(()=>[ye(re(ef),{placement:"bottomLeft",trigger:"click","overlay-class-name":"cloumn-list",onOpenChange:w},{title:we(()=>[gr("div",Xw,[ye(Ln,{checked:c.value,"onUpdate:checked":y[0]||(y[0]=S=>c.value=S),indeterminate:x.value},{default:we(()=>[qr(xr(re(t)("component.table.settingColumnShow")),1)]),_:1},8,["checked","indeterminate"]),ye(Ln,{checked:o.value,"onUpdate:checked":y[1]||(y[1]=S=>o.value=S),onChange:p},{default:we(()=>[qr(xr(re(t)("component.table.settingIndexColumnShow")),1)]),_:1},8,["checked"]),ye(Ln,{checked:l.value,"onUpdate:checked":y[2]||(y[2]=S=>l.value=S),onChange:d},{default:we(()=>[qr(xr(re(t)("component.table.settingBordered")),1)]),_:1},8,["checked"]),ye(I,{size:"small",type:"link",onClick:k},{default:we(()=>[qr(xr(re(t)("common.resetText")),1)]),_:1})])]),content:we(()=>[gr("div",{ref_key:"columnListRef",ref:u},[(Me(!0),Tt(Za,null,Kt(f.value,S=>(Me(),Tt("div",{key:re(r).getColumnKey(S),class:"check-item"},[gr("div",Gw,[ye(re(Qo),{class:"table-column-drag-icon pr-6px cursor-move"}),ye(Ln,{checked:S.hideInTable,"onUpdate:checked":_=>S.hideInTable=_,"true-value":!1,"false-value":!0},{default:we(()=>[qr(xr(S.title),1)]),_:2},1032,["checked","onUpdate:checked"])]),gr("div",zw,[ye(re(Pt),{placement:"bottomLeft","mouse-leave-delay":.4},{title:we(()=>[qr(xr(re(t)("component.table.settingFixedLeft")),1)]),default:we(()=>[ye(re(el),{class:Ui(["fixed-left",{active:S.fixed==="left"}]),onClick:_=>v(S,"left")},null,8,["class","onClick"])]),_:2},1024),ye(re(V0),{type:"vertical"}),ye(re(Pt),{placement:"bottomLeft","mouse-leave-delay":.4},{title:we(()=>[qr(xr(re(t)("component.table.settingFixedRight")),1)]),default:we(()=>[ye(re(rl),{class:Ui(["fixed-right",{active:S.fixed==="right"}]),onClick:_=>v(S,"right")},null,8,["class","onClick"])]),_:2},1024)])]))),128))],512)]),default:we(()=>[ye(re(tl))]),_:1})]),_:1})}}}),Kw=e0($w,[["__scopeId","data-v-4b9bddcc"]]),jw=ft({__name:"search-setting",setup(e){const{getProps:t,setProps:r,getFormProps:a,search:n}=sa();function i(){r({search:!t.value.search})}return(s,f)=>{var c,o;return(o=(c=re(a))==null?void 0:c.schemas)!=null&&o.length&&re(n)?(Me(),lr(re(Pt),{key:0,placement:"top"},{title:we(()=>[gr("span",null,xr(re(t).search?"隐藏搜索":"显示搜索"),1)]),default:we(()=>[ye(re(al),{onClick:i})]),_:1})):rt("",!0)}}}),Yw=ft({__name:"fullscreen",setup(e){const r=sa().isFullscreen,a=af(),n=He(!1),i=()=>{const f=(a==null?void 0:a.appContext.app._container)||document.querySelector("#app");f.style.setProperty("opacity",r.value?"0":"1"),f.style.setProperty("visibility",r.value?"hidden":"visible"),f.style.setProperty("position",r.value?"absolute":"relative")},s=()=>{r.value=!r.value,n.value=!1,i()};return(f,c)=>{const o=Pt;return Me(),lr(o,{open:n.value,"onUpdate:open":c[0]||(c[0]=l=>n.value=l),placement:"top"},{title:we(()=>[qr(xr(re(r)?"取消全屏":"全屏"),1)]),default:we(()=>[(Me(),lr(kl(re(r)?re(nl):re(il)),{onClick:s}))]),_:1},8,["open"])}}}),Jw=ft({__name:"index",setup(e){return(t,r)=>(Me(),lr(re(rf),{size:8,class:"dark:text-white"},{default:we(()=>[ye(jw),ye(Hw),ye(Yw),ye(Kw),ye(Ww)]),_:1}))}}),qw={class:"flex justify-between p-16px"},Zw={class:"flex"},Qw={class:"title"},ek=ft({name:"ToolBar",__name:"index",props:{title:{type:String,default:""},exportFileName:{type:String,default:""},titleTooltip:{type:String,default:""},showTableSetting:{type:Boolean,default:!0}},setup(e){const{exportData2Excel:t}=sa();return(r,a)=>{const n=X0("a-button");return Me(),Tt("div",qw,[gr("div",Zw,[tt(r.$slots,"headerTitle",{},()=>[gr("div",Qw,[qr(xr(e.title)+" ",1),e.titleTooltip?(Me(),lr(Sl,{key:0,class:"ml-6px pt-3px",text:e.titleTooltip},null,8,["text"])):rt("",!0)])],!0),tt(r.$slots,"afterHeaderTitle",{},void 0,!0)]),gr("div",null,[ye(re(rf),null,{default:we(()=>[tt(r.$slots,"toolbar",{},void 0,!0),e.exportFileName?(Me(),Tt("span",{key:0,onClick:a[0]||(a[0]=(...i)=>re(t)&&re(t)(...i))},[tt(r.$slots,"export-button",{},()=>[ye(n,{type:"primary"},{default:we(()=>[qr("导出")]),_:1})],!0)])):rt("",!0)]),_:3}),r.$slots.toolbar&&e.showTableSetting?(Me(),lr(re(V0),{key:0,type:"vertical"})):rt("",!0),e.showTableSetting?(Me(),lr(Jw,{key:1})):rt("",!0)])])}}}),rk=e0(ek,[["__scopeId","data-v-970f1354"]]),tk={class:"editable-cell"},ak=ft({__name:"index",props:{...Fl,rowKey:[String,Number],editableType:[String],column:[Object]},setup(e){var I,S;const t=e,r=He(!1),a=He((S=(I=t.column)==null?void 0:I.column)==null?void 0:S.defaultEditable),n=sa(),{editFormModel:i,editTableFormRef:s,editFormErrorMsgs:f,editableCellKeys:c,isEditable:o,startCellEditable:l,cancelCellEditable:u,validateCell:h}=n,x=cr(()=>{var _,N;return String((N=(_=t.column)==null?void 0:_.column)==null?void 0:N.dataIndex)}),p=cr(()=>{var O;const _=t.schema.field,N=((O=s.value)==null?void 0:O.getSchemaByFiled(_))||t.schema;return{...N,colProps:{...N.colProps,span:t.editableType==="cell"?20:24}}}),d=cr(()=>t.rowKey&&o(t.rowKey)),v=cr(()=>{const{rowKey:_}=t;return a.value&&t.editableType==="cell"&&c.value.has(`${_}.${x.value}`)}),w=cr(()=>{const _=t.schema.field;return f.value.get(_)}),k=()=>{var _;l(t.rowKey,x.value,(_=t.column)==null?void 0:_.record),a.value=!0},m=async()=>{var G;const{rowKey:_,column:N}=t;await h(_,x.value);const O=(G=n.onSave)==null?void 0:G.call(n,_,i.value[_],N==null?void 0:N.record);sf(O)&&(r.value=!0,await O.finally(()=>r.value=!1)),u(_,x.value),a.value=!1},y=()=>{var O;const{rowKey:_,column:N}=t;(O=n==null?void 0:n.onCancel)==null||O.call(n,_,i.value[_],N==null?void 0:N.record),a.value=!1,u(t.rowKey,x.value)};return a.value&&t.editableType==="cell"&&k(),(_,N)=>{const O=hl,G=sl,M=fl,L=ef,J=cl;return Me(),lr(J,{spinning:r.value},{default:we(()=>{var oe;return[gr("div",tk,[ye(L,{open:!!((oe=w.value)!=null&&oe.length),placement:"topRight"},{content:we(()=>[(Me(!0),Tt(Za,null,Kt(w.value,ee=>(Me(),lr(O,{key:ee,type:"danger"},{default:we(()=>[qr(xr(ee),1)]),_:2},1024))),128))]),default:we(()=>[ye(M,{type:"flex",gutter:8},{default:we(()=>[(d.value||v.value)&&p.value?(Me(),lr(re(yl),{key:0,"form-model":re(i),"onUpdate:formModel":N[0]||(N[0]=ee=>El(i)?i.value=ee:null),schema:p.value,"table-instance":re(n),"table-row-key":e.rowKey},Bn({_:2},[Kt(Object.keys(_.$slots),ee=>({name:ee,fn:we(ue=>[tt(_.$slots,ee,ga(_a(ue||{})),void 0,!0)])}))]),1032,["form-model","schema","table-instance","table-row-key"])):rt("",!0),v.value?(Me(),lr(G,{key:1,span:4,class:"!flex items-center"},{default:we(()=>[ye(re(ol),{onClick:m}),ye(re(ll),{onClick:y})]),_:1})):rt("",!0)]),_:3})]),_:3},8,["open"]),!a.value&&e.editableType==="cell"?(Me(),Tt(Za,{key:0},[tt(_.$slots,"default",{},void 0,!0),ye(re(ul),{onClick:k})],64)):rt("",!0)])]}),_:3},8,["spinning"])}}}),nk=e0(ak,[["__scopeId","data-v-da45b515"]]),ik=({state:e,methods:t,props:r,tableAction:a})=>{const n=nf(),i=He(r.columns),{getColumnKey:s}=t,{getProps:f}=e,{isEditable:c}=a;tf(()=>{const u={...re(f)},h=Ja(u.columns.filter(x=>!x.hideInTable));u!=null&&u.showIndex&&h.unshift({dataIndex:Qa.INDEX,title:"序号",width:60,align:"center",fixed:"left",...u==null?void 0:u.indexColumnProps,customRender:({index:x})=>{const p=re(e.paginationRef);if(Mn(p))return x+1;const{current:d=1,pageSize:v=10}=p;return((d<1?1:d)-1)*v+x+1}}),i.value=h.map(x=>{const p=x.customRender,d=r.rowKey,v=s(x);return x.align||(x.align=Lt.defaultAlign),x.customRender=w=>{var O;const{record:k,index:m,text:y}=w,I=c(k[d]),S=u.editableType==="cell",_=Mn(x.editable)?x.editable:((O=x.editable)==null?void 0:O.call(x,w))??!0;return(I||S)&&_&&!cf.includes(v)?Un(nk,{schema:l(x,k),rowKey:k[d]??m,editableType:u.editableType,column:w},{default:()=>(p==null?void 0:p(w))??y,...n}):p==null?void 0:p(w)},x.actions&&v===Qa.ACTION&&(x.customRender=w=>{const{record:k,index:m}=w;return Un(Uw,{actions:x.actions(w,a),rowKey:k[d]??m,columnParams:w})}),{key:x.key??x.dataIndex,dataIndex:x.dataIndex??x.key,...x}})});function o(u,h,x){if(x==="componentProps")return(...p)=>({...ka(u)?u(...p):u,...ka(h)?h(...p):h})}const l=(u,h)=>{var d;const x=s(u),p=!Object.is((d=u.editFormItemProps)==null?void 0:d.extendSearchFormProps,!1);return{field:`${h[r.rowKey]}.${u.searchField??x}`,component:()=>xl,defaultValue:h[x],colProps:{span:re(f).editableType==="cell"?20:24},formItemProps:{help:""},...p?dl(Ja(u.formItemProps),u.editFormItemProps,o):u.editFormItemProps}};return{innerColumns:i}},sk={...pl(),rowKey:{type:[String,Function],default:"id"},search:{type:Boolean,default:!0},formProps:{type:Object,default:()=>({})},columns:{type:Array,required:!0,default:()=>[]},sortFn:{type:Function,default:Lt.defaultSortFn},filterFn:{type:Function,default:Lt.defaultFilterFn},fetchConfig:{type:Object,default:()=>Lt.fetchConfig},dataRequest:{type:Function},searchParams:{type:Object},showIndex:{type:Boolean,default:!1},indexColumnProps:{type:Object,default:()=>({})},showToolBar:{type:Boolean,default:!0},showTableSetting:{type:Boolean,default:!0},headerTitle:String,titleTooltip:String,autoHeight:Boolean,exportFileName:{type:String},exportBookType:{type:String,default:"xlsx"},exportAutoWidth:{type:Boolean,default:!0},exportFormatter:{type:Function,default:null},editableType:{type:String,default:"single"},onSave:{type:Function},onCancel:{type:Function},onlyOneLineEditorAlertMessage:String},fk={change:(...e)=>e.length===4,"toggle-advanced":e=>Mn(e),"fetch-error":e=>e,search:e=>e,reload:()=>!0,"update:expandedRowKeys":e=>e,"expanded-rows-change":e=>Array.isArray(e)},ck={class:"bg-white dark:bg-black"},ok=ft({name:"DynamicTable",inheritAttrs:!1,__name:"dynamic-table",props:sk,emits:fk,setup(e,{expose:t,emit:r}){const a=e,n=r,i=nf(),s=Lw({props:a,slots:i}),{tableRef:f,tableData:c,isFullscreen:o,containerElRef:l,queryFormRef:u,editTableFormRef:h,getProps:x,getBindValues:p,editFormModel:d}=s,v=Mw({state:s,props:a,emit:n}),{setProps:w,fetchData:k,handleSubmit:m,reload:y,handleTableChange:I,handleEditFormValidate:S}=v,_=ko({props:a,state:s}),N={setProps:w,reload:y,fetchData:k,..._},{innerColumns:O}=ik({props:a,slots:i,state:s,methods:v,tableAction:N}),G=Rw({tableState:s,tableMethods:v,slots:i}),{getFormProps:M,replaceFormSlotKey:L,getFormSlotKeys:J,formSchemas:oe}=G,ee=Iw({props:a,state:s,methods:v}),ue={...a,...s,...G,...v,..._,...ee,emit:n};Al(ue),k(),t(ue);const ce=cr(()=>{const{getExpandOption:ke}=v;return{...p.value,...ke.value}});return(ke,V)=>(Me(),Tt("div",null,[(Me(),lr(Tl,{to:"body",disabled:!re(o)},[gr("div",{ref_key:"containerElRef",ref:l},[re(x).search?(Me(),lr(re(Wi),qa({key:0,ref_key:"queryFormRef",ref:u,class:"bg-white dark:bg-black mb-16px !pt-24px pr-24px","submit-on-reset":""},re(M),{schemas:re(oe),"table-instance":N,onToggleAdvanced:V[0]||(V[0]=xe=>ke.$emit("toggle-advanced",xe)),onSubmit:re(m)}),Bn({_:2},[Kt(re(J),xe=>({name:re(L)(xe),fn:we(pe=>[tt(ke.$slots,xe,ga(_a(pe||{})),void 0,!0)])}))]),1040,["schemas","onSubmit"])):rt("",!0),gr("div",ck,[ke.showToolBar?(Me(),lr(re(rk),{key:0,"export-file-name":ke.exportFileName,title:ke.headerTitle,"title-tooltip":ke.titleTooltip,"show-table-setting":ke.showTableSetting},Bn({_:2},[Kt(Object.keys(ke.$slots),xe=>({name:xe,fn:we(pe=>[tt(ke.$slots,xe,ga(_a(pe||{})),void 0,!0)])}))]),1032,["export-file-name","title","title-tooltip","show-table-setting"])):rt("",!0),ye(re(Wi),{ref_key:"editTableFormRef",ref:h,"no-style":"","initial-values":re(d),"show-action-button-group":!1,"show-advanced-button":!1,onValidate:re(S)},{default:we(()=>[ye(re(vl),qa({ref_key:"tableRef",ref:f},ce.value,{columns:re(O),"data-source":re(c),onChange:re(I)}),Bn({bodyCell:we(xe=>[tt(ke.$slots,"bodyCell",ga(_a(xe)),void 0,!0)]),_:2},[Kt(ke.$slots,(xe,pe)=>({name:pe,fn:we(b=>[tt(ke.$slots,pe,ga(_a(b)),void 0,!0)])}))]),1040,["columns","data-source","onChange"])]),_:3},8,["initial-values","onValidate"])])],512)],8,["disabled"]))]))}}),lk=e0(ok,[["__scopeId","data-v-fcb57c14"]]);export{H0 as a,cf as c,Ys as r,gk as u,_k as w}; diff --git a/assets/dynamic-table-BQjCxF2y.css b/assets/dynamic-table-BQjCxF2y.css new file mode 100644 index 000000000..f85111d49 --- /dev/null +++ b/assets/dynamic-table-BQjCxF2y.css @@ -0,0 +1 @@ +.check-item[data-v-4b9bddcc]{display:flex;justify-content:space-between}.column-fixed .fixed-right.active[data-v-4b9bddcc],.column-fixed .fixed-left.active[data-v-4b9bddcc],.column-fixed .fixed-right[data-v-4b9bddcc]:hover,.column-fixed .fixed-left[data-v-4b9bddcc]:hover{color:#1890ff}.title[data-v-970f1354]{display:flex;align-items:center;justify-content:flex-start;font-size:16px;font-weight:500}.editable-cell[data-v-da45b515]{position:relative}.editable-cell:hover .anticon-edit[data-v-da45b515]{display:block}.editable-cell .anticon-edit[data-v-da45b515]{display:none;position:absolute;top:50%;right:0;transform:translateY(-50%)}[data-v-da45b515] .ant-form-item{margin:0}[data-v-da45b515] .ant-form-item-explain{display:none}[data-v-da45b515] .ant-form-item-with-help{margin:0}[data-v-fcb57c14] .ant-table-wrapper{padding:0 6px 6px}[data-v-fcb57c14] .ant-table-wrapper .ant-table .ant-table-title{display:flex}[data-v-fcb57c14] .ant-table-wrapper .ant-table .ant-image:hover{cursor:zoom-in}.actions>*[data-v-fcb57c14]{margin-right:10px} diff --git a/assets/en-D5M7dULx.js b/assets/en-D5M7dULx.js new file mode 100644 index 000000000..ea514a722 --- /dev/null +++ b/assets/en-D5M7dULx.js @@ -0,0 +1 @@ +import{j as R,k as E}from"./antdv-CA3HmnGF.js";import"./vue-Dbi1xauY.js";const e="OK",o="Close",t="Cancel",n="Loading...",a="Save",l="Delete",r="Reset",s="Search",i="Search",c="Please enter",d="Please choose",u="Refresh",m="Back",g="Light",b="Dark",I={okText:e,closeText:o,cancelText:t,loadingText:n,saveText:a,delText:l,resetText:r,searchText:s,queryText:i,inputText:c,chooseText:d,redo:u,back:m,light:g,dark:b},N=Object.freeze(Object.defineProperty({__proto__:null,back:m,cancelText:t,chooseText:d,closeText:o,dark:b,default:I,delText:l,inputText:c,light:g,loadingText:n,okText:e,queryText:i,redo:u,resetText:r,saveText:a,searchText:s},Symbol.toStringTag,{value:"Module"})),p={exportModalTitle:"Export data",fileType:"File type",fileName:"File name"},f={putAway:"Put away",unfold:"Unfold",maxTip:"The number of characters should be less than {0}",apiSelectNotFound:"Wait for data loading to complete..."},T={settingDens:"Density",settingDensDefault:"Default",settingDensMiddle:"Middle",settingDensSmall:"Compact",settingColumn:"Column settings",settingColumnShow:"Column display",settingIndexColumnShow:"Index Column",settingFixedLeft:"Fixed Left",settingFixedRight:"Fixed Right",settingFullScreen:"Full Screen",settingBordered:"Bordered",index:"Index",total:"total of {total}"},z={excel:p,form:f,table:T},H=Object.freeze(Object.defineProperty({__proto__:null,default:z,excel:p,form:f,table:T},Symbol.toStringTag,{value:"Module"})),h={onlinePreview:"Preview",onlineDocument:"Document"},_={dropdownItemDoc:"Document",dropdownItemLoginOut:"Login Out",tooltipErrorLog:"Error log",tooltipLock:"Lock screen",tooltipNotify:"Notification",tooltipEntryFull:"Full Screen",tooltipExitFull:"Exit Full Screen",lockScreenPassword:"Lock screen password",lockScreen:"Lock screen",lockScreenBtn:"Locking",home:"Home"},x={reload:"Refresh current",close:"Close current",closeLeft:"Close Left",closeRight:"Close Right",closeOther:"Close Other",closeAll:"Close All"},y={contentModeFull:"Full",contentModeFixed:"Fixed width",topMenuAlignLeft:"Left",topMenuAlignRight:"Center",topMenuAlignCenter:"Right",menuTriggerNone:"Not Show",menuTriggerBottom:"Bottom",menuTriggerTop:"Top",menuTypeSidebar:"Left menu mode",menuTypeMixSidebar:"Left menu mixed mode",menuTypeMix:"Top Menu Mix mode",menuTypeTopMenu:"Top menu mode",on:"On",off:"Off",minute:"Minute",operatingTitle:"Successful!",operatingContent:"The copy is successful, please go to src/settings/projectSetting.ts to modify the configuration!",resetSuccess:"Successfully reset!",copyBtn:"Copy",clearBtn:"Clear cache and to the login page",drawerTitle:"Configuration",darkMode:"Dark mode",navMode:"Navigation mode",interfaceFunction:"Interface function",interfaceDisplay:"Interface display",animation:"Animation",splitMenu:"Split menu",closeMixSidebarOnChange:"Switch page to close menu",sysTheme:"System theme",headerTheme:"Header theme",sidebarTheme:"Menu theme",menuDrag:"Drag Sidebar",menuSearch:"Menu search",menuAccordion:"Sidebar accordion",menuCollapse:"Collapse menu",collapseMenuDisplayName:"Collapse menu display name",topMenuLayout:"Top menu layout",menuCollapseButton:"Menu collapse button",contentMode:"Content area width",expandedMenuWidth:"Expanded menu width",breadcrumb:"Breadcrumbs",breadcrumbIcon:"Breadcrumbs Icon",tabs:"Tabs",tabDetail:"Tab Detail",tabsQuickBtn:"Tabs quick button",tabsRedoBtn:"Tabs redo button",tabsFoldBtn:"Tabs flod button",sidebar:"Sidebar",header:"Header",footer:"Footer",fullContent:"Full content",grayMode:"Gray mode",colorWeak:"Color Weak Mode",progress:"Progress",switchLoading:"Switch Loading",switchAnimation:"Switch animation",animationType:"Animation type",autoScreenLock:"Auto screen lock",notAutoScreenLock:"Not auto lock",fixedHeader:"Fixed header",fixedSideBar:"Fixed Sidebar",mixSidebarTrigger:"Mixed menu Trigger",triggerHover:"Hover",triggerClick:"Click",mixSidebarFixed:"Fixed expanded menu"},W={footer:h,header:_,multipleTab:x,setting:y},$=Object.freeze(Object.defineProperty({__proto__:null,default:W,footer:h,header:_,multipleTab:x,setting:y},Symbol.toStringTag,{value:"Module"})),S="settings",M="about",q={settings:S,about:M},K=Object.freeze(Object.defineProperty({__proto__:null,about:M,default:q,settings:S},Symbol.toStringTag,{value:"Module"})),L="Login",C="Error Log",G={login:L,errorLogList:C},Q=Object.freeze(Object.defineProperty({__proto__:null,default:G,errorLogList:C,login:L},Symbol.toStringTag,{value:"Module"})),k="Dashboard",F="About",D="Workbench",w="Analysis",U={dashboard:k,about:F,workbench:D,analysis:w},J=Object.freeze(Object.defineProperty({__proto__:null,about:F,analysis:w,dashboard:k,default:U,workbench:D},Symbol.toStringTag,{value:"Module"})),j="Demo",v="Button Extension",O="Draggable Modal",B={demo:"Form Demo",basic:"Basic Form",rule:"Rule Form",dynamic:"Dynamic Form",customForm:"Custom Form Component"},A={demo:"Table Demo",searchTable:"Search Table",editRowTable:"Editable Rows",wzry:"Honor of Kings",lol:"League of Legends"},P="Custom Icon",V={demo:j,button:v,modal:O,form:B,table:A,icon:P},X=Object.freeze(Object.defineProperty({__proto__:null,button:v,default:V,demo:j,form:B,icon:P,modal:O,table:A},Symbol.toStringTag,{value:"Module"})),Y=Object.assign({"./en/common.json":N,"./en/component.json":H,"./en/layout.json":$,"./en/routes/account.json":K,"./en/routes/basic.json":Q,"./en/routes/dashboard.json":J,"./en/routes/demo.json":X}),oe={message:{...R(Y,"en"),antdLocale:E},dateLocale:null,dateLocaleName:"en"};export{oe as default}; diff --git a/assets/file-operate-button-list-Df1BQUv1.js b/assets/file-operate-button-list-Df1BQUv1.js new file mode 100644 index 000000000..84ad236a3 --- /dev/null +++ b/assets/file-operate-button-list-Df1BQUv1.js @@ -0,0 +1 @@ +import{_ as o}from"./file-operate-button-list.vue_vue_type_script_setup_true_lang-CuinLBq5.js";import"./file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js";import"./antdv-CA3HmnGF.js";import"./vue-Dbi1xauY.js";import"./index-D5NK1dvb.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import"./useFormModal-DHZbCRb3.js";import"./useModal-D-vJhjJN.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./is-bed24ebq.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./index-CDgH2F_h.js";import"./dateUtil-CLVblcqH.js";export{o as default}; diff --git a/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-CuinLBq5.js b/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-CuinLBq5.js new file mode 100644 index 000000000..802fd074e --- /dev/null +++ b/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-CuinLBq5.js @@ -0,0 +1 @@ +import{_ as K}from"./file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js";import{A as k}from"./index-D5NK1dvb.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as j}from"./useFormModal-DHZbCRb3.js";import{aL as V,M as A,bd as E,e as C,be as O,bf as R,y as W,x as m,bg as T,bh as U,bi as z,p as G,K as X,bj as Y,I as x,bk as H,bl as J,a0 as Q}from"./antdv-CA3HmnGF.js";import{d as Z,f,c as v,w as D,W as w,a5 as ee,k as a,Y as t,X as ae,u as l,G as r,ad as te,ak as se,F as le,ac as ne}from"./vue-Dbi1xauY.js";const he=o=>[{field:"toName",component:"Input",label:`${o.type==="dir"?"文件夹":"文件"}名称`,defaultValue:o.name,rules:[{required:!0,type:"string",validator:(d,s)=>s&&s===o.name?Promise.reject("修改前后名称一致"):s&&!s.includes("/")?Promise.resolve():Promise.reject(`请输入合法${o.type==="dir"?"文件夹":"文件"}的名称`)}],componentProps:{placeholder:"输入重命名后的名称"}}],ie=[{field:"dirName",component:"Input",label:"文件夹名称",rules:[{required:!0,type:"string",validator:(o,d)=>d&&!d.includes("/")?Promise.resolve():Promise.reject("请输入合法的文件夹路径")}],componentProps:{placeholder:"请输入文件夹名称"}}],re=[{field:"key",component:"Input",label:"关键字",defaultValue:"",rules:[{required:!0,type:"string",validator:(o,d)=>d&&!d.includes("/")?Promise.resolve():Promise.reject("请输入合法的名称")}],componentProps:{placeholder:"请输入搜索关键字"}}],ye=Z({name:"FileOperateButtonList",__name:"file-operate-button-list",props:{selectedFileList:{type:Array,required:!0},parsePath:{type:Function,required:!0},searchKey:{type:String,required:!0},updateOperateStatus:{type:Function,required:!0}},emits:["changed","update:searchKey"],setup(o,{emit:d}){const s=o,c=d,[g]=j(),b=f(),n=f(!1),i=f(!1),h=f(""),y=f([]),F=v(()=>y.value.length>0?!1:s.selectedFileList.length<=0),S=v(()=>n.value&&h.value===s.parsePath()),P=v(()=>!V(s.searchKey));D(n,e=>{e&&(i.value&&(i.value=!1),M())}),D(i,e=>{e&&(n.value&&(n.value=!1),M())});const $=({key:e})=>{e==="copy"?i.value=!0:e==="cut"?n.value=!0:e==="delete"?A.confirm({title:"你确定要删除吗?",icon:a(E),onOk:L}):e==="cancel"&&(n.value=!1,i.value=!1,_())},M=()=>{y.value=O(s.selectedFileList),h.value=s.parsePath()},_=()=>{h.value="",y.value=[]},I=async()=>{try{s.updateOperateStatus(!0);const e={files:y.value,originPath:h.value,toPath:s.parsePath()};let u;if(n.value&&!i.value)await k.netDiskManage.netDiskManageCut(e),u="剪切",n.value=!1;else if(!n.value&&i.value)await k.netDiskManage.netDiskManageCopy(e),u="复制",i.value=!1;else throw new Error("unsupport operate");_(),C.success(`${u}成功`),c("changed")}finally{s.updateOperateStatus(!1)}},L=async()=>{const e=s.parsePath(),u=O(s.selectedFileList);await k.netDiskManage.netDiskManageDelete({path:e,files:u},{showSuccessMsg:!1}),C.success("已删除指定列表"),c("changed")},q=async()=>{if(P.value){c("update:searchKey","");return}await g({modalProps:{title:"全盘搜索",width:700,onFinish:async e=>{c("update:searchKey",e.key)}},formProps:{labelWidth:100,schemas:re}})},N=()=>{var e;(e=b.value)==null||e.open(s.parsePath())},B=async()=>{await g({modalProps:{title:"创建文件夹",width:700,onFinish:async e=>{await k.netDiskManage.netDiskManageMkdir({path:s.parsePath(),dirName:e.dirName}),c("changed")}},formProps:{labelWidth:100,schemas:ie}})};return(e,u)=>{const p=ne("a-button");return w(),ee(le,null,[a(l(Q),null,{default:t(()=>[i.value||n.value?(w(),ae(p,{key:0,disabled:S.value,onClick:I},{default:t(()=>[a(l(R)),r("粘贴 ")]),_:1},8,["disabled"])):te("",!0),a(l(W),{size:"small"},{overlay:t(()=>[a(l(m),{onClick:$},{default:t(()=>[a(l(m).Item,{key:"copy",disabled:!e.$auth("netdisk:manage:copy")},{default:t(()=>[a(l(T)),r(" 复制所选 ")]),_:1},8,["disabled"]),a(l(m).Item,{key:"cut",disabled:!e.$auth("netdisk:manage:cut")},{default:t(()=>[a(l(U),{rotate:-90}),r(" 剪切所选 ")]),_:1},8,["disabled"]),a(l(m).Item,{key:"delete",disabled:!e.$auth("netdisk:manage:delete")},{default:t(()=>[a(l(z)),r(" 删除所选 ")]),_:1},8,["disabled"]),a(l(m).Item,{key:"cancel",divider:"",disabled:!i.value&&!n.value},{default:t(()=>[a(l(G)),r(" 取消粘贴 ")]),_:1},8,["disabled"])]),_:1})]),default:t(()=>[a(l(X),{title:"注意:复制或剪切时会覆盖重名文件",placement:"top"},{default:t(()=>[a(p,{color:"#e6a23c",disabled:F.value},{icon:t(()=>[a(l(Y))]),default:t(()=>[r(" 批量操作 ")]),_:1},8,["disabled"])]),_:1})]),_:1}),a(p,{type:"success",disabled:!e.$auth("netdisk:manage:list"),onClick:q},{icon:t(()=>[a(l(x))]),default:t(()=>[r(" "+se(P.value?"取消搜索":"全盘搜索"),1)]),_:1},8,["disabled"]),a(p,{type:"primary",disabled:!e.$auth("netdisk:manage:token"),onClick:N},{icon:t(()=>[a(l(H))]),default:t(()=>[r(" 上传文件 ")]),_:1},8,["disabled"]),a(p,{onClick:B},{icon:t(()=>[a(l(J))]),default:t(()=>[r(" 创建文件夹 ")]),_:1})]),_:1}),a(K,{ref_key:"uploadDrawerRef",ref:b,onChanged:u[0]||(u[0]=oe=>e.$emit("changed"))},null,512)],64)}}});export{ye as _,he as g}; diff --git a/assets/file-preview-drawer-CRwnM4UH.js b/assets/file-preview-drawer-CRwnM4UH.js new file mode 100644 index 000000000..4aba23580 --- /dev/null +++ b/assets/file-preview-drawer-CRwnM4UH.js @@ -0,0 +1 @@ +import{_ as o}from"./file-preview-drawer.vue_vue_type_script_setup_true_lang-DckZSgb6.js";import"./index-CDgH2F_h.js";import"./is-bed24ebq.js";import"./antdv-CA3HmnGF.js";import"./vue-Dbi1xauY.js";import"./index-D5NK1dvb.js";import"./dateUtil-CLVblcqH.js";export{o as default}; diff --git a/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-DckZSgb6.js b/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-DckZSgb6.js new file mode 100644 index 000000000..ade591776 --- /dev/null +++ b/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-DckZSgb6.js @@ -0,0 +1 @@ +import{f as z}from"./index-CDgH2F_h.js";import{A as g,G as C}from"./index-D5NK1dvb.js";import{f as F}from"./dateUtil-CLVblcqH.js";import{aL as R,e as T,S as L,a0 as I,ao as V,Q as A,L as J,W as P}from"./antdv-CA3HmnGF.js";import{d as q,f as t,c as S,W as y,X as E,Y as l,k as s,u as e,ah as W,a5 as N,ae as U,F as H,G as k,y as j,ac as X,ak as O}from"./vue-Dbi1xauY.js";const Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABVCAMAAACy5sxYAAAAgVBMVEXg4ODt7e3n5+fo6Ojj4+PX19fLy8vw8PDh4eG+vr7q6urr6+vHx8fd3d3BwcHv7+/Y2NjU1NTR0dHu7u7l5eXOzs7s7Oza2trg4ODm5ubi4uLExMTp6enk5OTQ0NDf39/AwMDFxcXJycnNzc3S0tLW1tbKysrZ2dnMzMzGxsbCwsIuTMdIAAAAAXRSTlOWWYruFwAABSdJREFUaN7tmgtzojwUhpuYBE8M4aIIitW2u/vd/v8P/E4uQMBe4g5WZ8fMtJ1K4Dycy5tD8OlpeePx9LRMbjyWD4QHwgPhgfBHIRBJN8xpLNtQSb4bYbXbT7V+v1t9H8J6sX9/xdkv1t+CsKafrXt0fX2ExVeL7+LKCIR93QAwck2EQ1wXcrgaQrYbW3qmh9UWx+pAn8dHdtl1ELJNaGUjR2YyOT6aXQMhC9Pgvepbh5n6nM2PEPqAfnD9jP6GH+IRhjzYbz+etR1ctZsbIayFVZyzDvMikFHCr+K0i8yJkE0U6VMG2WvUnAhnqhznh8V8COtzAVxFpe56NoSu1hiNzMkubnQuhN4J2zAinzFsL3BDFMIiuKdIBhqfDVEIXY+UJdEMWSdj8yCsxncUx7CISdtohN0krlEM62iZ9ghex4pxBtc0jMOmcVLD5ZcMjCfJ5uNISI72inSEUAqnwkrLcKpSoTZLJSwqsM4POY6GueFM1+5EDl4jiyJfMka4H8aqqBKGhwmMEShwx1COZJ3ZaZ3eMpBJoSyCZ4BgeNMV6RBsQv5Q6k0DReut6hC4RUihMFBVHwiu5fRyZpTNUF/PokS/lA5hyIcjhLFIdSXRJSXgr/pkJ5y0vV3B/RSPIAQfIyQywZOqqnMqTAZeqkZPSSg5Nz+iZzjCKB8o4f1JuTmsXrnpuxnUPloOoQFJBT2rCKnxHmvryZQxpSxOCXVxPJqbQYSi5Q6h6P1wfBlyknZLowmE6zBOr0BMRAf3isIgoEtJ5dLBIDAthI0SEjR9ltTa/qmEM6UwmMT6FFhYm0c11EUFBRkQnJychEVICLX+x0owCC7rC0U8ArpJcUxFhWFsRe9SsH7S3F4pfWGCp5aqQ2DjWHFrWgwI2z5hWzSOZh2CMcfCMvKBMMnSAiitZe9Nk3qYuL4gTlucQ0IEyVIsyte3n2Br0wI3lI8yKF/mkJSVRfBeCNDFFAGdQ9HTovWFmRp3oVe6VRK9IMwAZX5THwsocgg1yuwzNJZym1vtgETVEwQvhfwMAQ/qwp/u3CCSGjEGhMbWkUlH7nV0UcDJIXiGxnwu2mHBzsFZRXsBQmNu4RxBYvJjVRRDgenKRLiT4q6yIWwJ/31begTLQMzpDGeQwqdjh1BWIUKpKD1DSKlq8UwFgT4WoE06+5b8PYQSGo+QWobKRBElGPHLw4BARaLx9niHQHSNa8IEQUFDCEaiVapjQJGp2jbt1hv6DkKJXlo4BPWKDDaKteHGgOYDgqkRqmi3hhE04uzTlHgEApraSFQElyrqVjOtG/QntMfaC/QUQQoo7V0d8/zXyxsKqBbGWMFMyugXe15hEWqUG95JTqPaLgopVr5DkELiARDMLZcEZRA0t+6QpQb4YS721wSBg669IuEwBhVszH+odLgEpf+hX1KAfxBSWOupUV8uAMxiWIOtLhEKNK38pQlOZ1Xa54QsRGoQ/m68ab+gk0JOepi0wHzoPpS/TCR+5nidtHIxoHjlpqrdjF6cYrqmrmWJetLp16xNbPP4O41bFMPFjdsl7Wscw7zt67iJj2OYuYkfPcpEMsz9KBM80EUyzP5ANzzWZpEM+7kfawc37C7cG57v4T5202LxO9vRsXtN/UaPvIBh1o2eYLvrAj/Mut0Vbvp9vqdJl9fa9Au3PtmNtj7vYQM4yZ5vvQ1+Dy8D7uGVyD28GLqL12P38JIwuYdXpckdvDB2/eSNX5v7zLzxlwdmHA+EB8ID4YFwjnD7777+DxThSqcWhzRiAAAAAElFTkSuQmCC",ae=q({name:"FilePreviewDrawer",__name:"file-preview-drawer",setup(G,{expose:B}){const d=new Map([["name","文件名"],["mimeType","文件类型"],["hash","文件Hash"],["md5","文件MD5"],["fsize","文件大小"],["putTime","上传时间"],["uploader","上传人员"]]),m=t(!1),f=t(!1),w=t(""),h=t(""),n=t({}),r=t(""),u=t(""),M=t(!1),c=S(()=>R(r.value)),Q=S(()=>`${r.value}?imageView2/2/w/500/h/210`),x=async(i,p)=>{f.value=!0,w.value=i,h.value=p,await j();try{m.value=!0;const v={name:i,path:p},a=await g.netDiskManage.netDiskManageInfo(v);if(u.value=a.mark,Array.from(d.keys()).forEach(o=>{o==="fsize"?n.value.fsize=z(a[o]):n.value[o]=a[o]}),n.value.putTime=F(a.putTime),n.value.name=i,n.value,C("netdisk:manage:download")&&a.mimeType.includes("image/")){const o=await g.netDiskManage.netDiskManageDownload(v);r.value=o}}catch{D()}finally{m.value=!1}},b=async()=>{try{M.value=!0,await g.netDiskManage.netDiskManageMark({name:w.value,path:h.value,mark:u.value}),T.success("已更新文件备注")}finally{M.value=!1}},D=()=>{w.value="",h.value="",r.value="",u.value="",n.value={},f.value=!1};return B({open:x}),(i,p)=>{const v=X("a-button");return y(),E(e(P),{title:"文件详情",width:500,visible:f.value,onClose:D},{default:l(()=>[s(e(L),{spinning:m.value,class:"preview-drawer-inner-box"},{default:l(()=>[s(e(I),{direction:"vertical"},{default:l(()=>[s(e(V),{style:W({width:c.value?"130px":"100%",height:c.value?"85px":"210px"}),src:c.value?e(Z):Q.value,preview:c.value?!1:{src:r.value}},null,8,["style","src","preview"]),s(e(A),{bordered:"",column:1,size:"small"},{default:l(()=>[(y(!0),N(H,null,U(e(d).keys(),a=>(y(),E(e(A).Item,{key:a,label:e(d).get(a),"label-style":{whiteSpace:"nowrap"}},{default:l(()=>[k(O(n.value[a]),1)]),_:2},1032,["label"]))),128)),s(e(A).Item,{label:"文件备注","label-style":{whiteSpace:"nowrap"}},{default:l(()=>[s(e(I),{direction:"vertical",align:"end"},{default:l(()=>[s(e(J).TextArea,{value:u.value,"onUpdate:value":p[0]||(p[0]=a=>u.value=a),disabled:!i.$auth("netdisk:manage:mark"),placeholder:"请输入文件备注",maxlength:100,rows:4,"show-count":""},null,8,["value","disabled"]),s(v,{loading:M.value,disabled:!i.$auth("netdisk:manage:mark"),type:"primary",size:"mini",onClick:b},{default:l(()=>[k("更新 ")]),_:1},8,["loading","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["spinning"])]),_:1},8,["visible"])}}});export{ae as _}; diff --git a/assets/file-upload-drawer-K0ZGN3X8.js b/assets/file-upload-drawer-K0ZGN3X8.js new file mode 100644 index 000000000..6e3325e1c --- /dev/null +++ b/assets/file-upload-drawer-K0ZGN3X8.js @@ -0,0 +1 @@ +import{_ as o}from"./file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js";import"./antdv-CA3HmnGF.js";import"./vue-Dbi1xauY.js";import"./index-D5NK1dvb.js";export{o as default}; diff --git a/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js b/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js new file mode 100644 index 000000000..d4eaa814a --- /dev/null +++ b/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js @@ -0,0 +1 @@ +import{d as be,aL as we,M as _e,bd as xe,bm as te,S as Ce,aG as Se,W as ke}from"./antdv-CA3HmnGF.js";import{A as Ae}from"./index-D5NK1dvb.js";import{d as Ie,f as A,c as Ue,W as Fe,a5 as Oe,k as $,Y as W,u as J,a6 as Z,y as ze,G as Ee}from"./vue-Dbi1xauY.js";var fe=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),b;(function(r){r.InvalidFile="InvalidFile",r.InvalidToken="InvalidToken",r.InvalidMetadata="InvalidMetadata",r.InvalidChunkSize="InvalidChunkSize",r.InvalidCustomVars="InvalidCustomVars",r.NotAvailableUploadHost="NotAvailableUploadHost",r.ReadCacheFailed="ReadCacheFailed",r.InvalidCacheData="InvalidCacheData",r.WriteCacheFailed="WriteCacheFailed",r.RemoveCacheFailed="RemoveCacheFailed",r.GetCanvasContextFailed="GetCanvasContextFailed",r.UnsupportedFileType="UnsupportedFileType",r.FileReaderReadFailed="FileReaderReadFailed",r.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",r.InvalidProgressEventTarget="InvalidProgressEventTarget",r.RequestError="RequestError"})(b||(b={}));var _=function(){function r(n,e){this.name=n,this.message=e,this.stack=new Error().stack}return r}(),M=function(r){fe(n,r);function n(e,o,i,t){var l=r.call(this,b.RequestError,i)||this;return l.code=e,l.reqId=o,l.isRequestError=!0,l.data=t,l}return n}(_),Re=function(r){fe(n,r);function n(e,o){return o===void 0&&(o=""),r.call(this,0,o,e)||this}return n}(M),Le=function(){function r(n,e){this.runTask=n,this.limit=e,this.aborted=!1,this.queue=[],this.processing=[]}return r.prototype.enqueue=function(n){var e=this;return new Promise(function(o,i){e.queue.push({task:n,resolve:o,reject:i}),e.check()})},r.prototype.run=function(n){var e=this;this.queue=this.queue.filter(function(o){return o!==n}),this.processing.push(n),this.runTask(n.task).then(function(){e.processing=e.processing.filter(function(o){return o!==n}),n.resolve(),e.check()},function(o){return n.reject(o)})},r.prototype.check=function(){var n=this;if(!this.aborted){var e=this.processing.length,o=this.limit-e;this.queue.slice(0,o).forEach(function(i){n.run(i)})}},r.prototype.abort=function(){this.queue=[],this.aborted=!0},r}(),Pe=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),q=function(){return q=Object.assign||function(r){for(var n,e=1,o=arguments.length;e"u")return"";var n=r+"",e="",o,i,t=0;o=i=0,t=n.length;for(var l=0;l127&&p<2048)v=String.fromCharCode(p>>6|192,p&63|128);else if((p&63488^55296)>0)v=String.fromCharCode(p>>12|224,p>>6&63|128,p&63|128);else{if((p&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+l);var a=n.charCodeAt(++l);if((a&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(l-1));p=((p&1023)<<10)+(a&1023)+65536,v=String.fromCharCode(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}v!==null&&(i>o&&(e+=n.slice(o,i)),e+=v,o=i=l+1)}return i>o&&(e+=n.slice(o,t)),e}function Be(r){var n=[],e=0,o=0,i=0;for(r+="";e>10&1023)),n.push(String.fromCharCode(56320|o&1023))):n.push(String.fromCharCode(o)),e+=i}return n.join("")}function Me(r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e,o,i,t,l,p,v,a,h=0,g=0,x="",C=[];if(!r)return r;r=qe(r+"");do e=r.charCodeAt(h++),o=r.charCodeAt(h++),i=r.charCodeAt(h++),a=e<<16|o<<8|i,t=a>>18&63,l=a>>12&63,p=a>>6&63,v=a&63,C[g++]=n.charAt(t)+n.charAt(l)+n.charAt(p)+n.charAt(v);while(h>16&255,o=a>>8&255,i=a&255,p===64?C[g++]=String.fromCharCode(e):v===64?C[g++]=String.fromCharCode(e,o):C[g++]=String.fromCharCode(e,o,i);while(h>>25)+s|0,c+=(u&s|~u&f)+d[1]-389564586|0,c=(c<<12|c>>>20)+u|0,f+=(c&u|~c&s)+d[2]+606105819|0,f=(f<<17|f>>>15)+c|0,s+=(f&c|~f&u)+d[3]-1044525330|0,s=(s<<22|s>>>10)+f|0,u+=(s&f|~s&c)+d[4]-176418897|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&f)+d[5]+1200080426|0,c=(c<<12|c>>>20)+u|0,f+=(c&u|~c&s)+d[6]-1473231341|0,f=(f<<17|f>>>15)+c|0,s+=(f&c|~f&u)+d[7]-45705983|0,s=(s<<22|s>>>10)+f|0,u+=(s&f|~s&c)+d[8]+1770035416|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&f)+d[9]-1958414417|0,c=(c<<12|c>>>20)+u|0,f+=(c&u|~c&s)+d[10]-42063|0,f=(f<<17|f>>>15)+c|0,s+=(f&c|~f&u)+d[11]-1990404162|0,s=(s<<22|s>>>10)+f|0,u+=(s&f|~s&c)+d[12]+1804603682|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&f)+d[13]-40341101|0,c=(c<<12|c>>>20)+u|0,f+=(c&u|~c&s)+d[14]-1502002290|0,f=(f<<17|f>>>15)+c|0,s+=(f&c|~f&u)+d[15]+1236535329|0,s=(s<<22|s>>>10)+f|0,u+=(s&c|f&~c)+d[1]-165796510|0,u=(u<<5|u>>>27)+s|0,c+=(u&f|s&~f)+d[6]-1069501632|0,c=(c<<9|c>>>23)+u|0,f+=(c&s|u&~s)+d[11]+643717713|0,f=(f<<14|f>>>18)+c|0,s+=(f&u|c&~u)+d[0]-373897302|0,s=(s<<20|s>>>12)+f|0,u+=(s&c|f&~c)+d[5]-701558691|0,u=(u<<5|u>>>27)+s|0,c+=(u&f|s&~f)+d[10]+38016083|0,c=(c<<9|c>>>23)+u|0,f+=(c&s|u&~s)+d[15]-660478335|0,f=(f<<14|f>>>18)+c|0,s+=(f&u|c&~u)+d[4]-405537848|0,s=(s<<20|s>>>12)+f|0,u+=(s&c|f&~c)+d[9]+568446438|0,u=(u<<5|u>>>27)+s|0,c+=(u&f|s&~f)+d[14]-1019803690|0,c=(c<<9|c>>>23)+u|0,f+=(c&s|u&~s)+d[3]-187363961|0,f=(f<<14|f>>>18)+c|0,s+=(f&u|c&~u)+d[8]+1163531501|0,s=(s<<20|s>>>12)+f|0,u+=(s&c|f&~c)+d[13]-1444681467|0,u=(u<<5|u>>>27)+s|0,c+=(u&f|s&~f)+d[2]-51403784|0,c=(c<<9|c>>>23)+u|0,f+=(c&s|u&~s)+d[7]+1735328473|0,f=(f<<14|f>>>18)+c|0,s+=(f&u|c&~u)+d[12]-1926607734|0,s=(s<<20|s>>>12)+f|0,u+=(s^f^c)+d[5]-378558|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^f)+d[8]-2022574463|0,c=(c<<11|c>>>21)+u|0,f+=(c^u^s)+d[11]+1839030562|0,f=(f<<16|f>>>16)+c|0,s+=(f^c^u)+d[14]-35309556|0,s=(s<<23|s>>>9)+f|0,u+=(s^f^c)+d[1]-1530992060|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^f)+d[4]+1272893353|0,c=(c<<11|c>>>21)+u|0,f+=(c^u^s)+d[7]-155497632|0,f=(f<<16|f>>>16)+c|0,s+=(f^c^u)+d[10]-1094730640|0,s=(s<<23|s>>>9)+f|0,u+=(s^f^c)+d[13]+681279174|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^f)+d[0]-358537222|0,c=(c<<11|c>>>21)+u|0,f+=(c^u^s)+d[3]-722521979|0,f=(f<<16|f>>>16)+c|0,s+=(f^c^u)+d[6]+76029189|0,s=(s<<23|s>>>9)+f|0,u+=(s^f^c)+d[9]-640364487|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^f)+d[12]-421815835|0,c=(c<<11|c>>>21)+u|0,f+=(c^u^s)+d[15]+530742520|0,f=(f<<16|f>>>16)+c|0,s+=(f^c^u)+d[2]-995338651|0,s=(s<<23|s>>>9)+f|0,u+=(f^(s|~c))+d[0]-198630844|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~f))+d[7]+1126891415|0,c=(c<<10|c>>>22)+u|0,f+=(u^(c|~s))+d[14]-1416354905|0,f=(f<<15|f>>>17)+c|0,s+=(c^(f|~u))+d[5]-57434055|0,s=(s<<21|s>>>11)+f|0,u+=(f^(s|~c))+d[12]+1700485571|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~f))+d[3]-1894986606|0,c=(c<<10|c>>>22)+u|0,f+=(u^(c|~s))+d[10]-1051523|0,f=(f<<15|f>>>17)+c|0,s+=(c^(f|~u))+d[1]-2054922799|0,s=(s<<21|s>>>11)+f|0,u+=(f^(s|~c))+d[8]+1873313359|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~f))+d[15]-30611744|0,c=(c<<10|c>>>22)+u|0,f+=(u^(c|~s))+d[6]-1560198380|0,f=(f<<15|f>>>17)+c|0,s+=(c^(f|~u))+d[13]+1309151649|0,s=(s<<21|s>>>11)+f|0,u+=(f^(s|~c))+d[4]-145523070|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~f))+d[11]-1120210379|0,c=(c<<10|c>>>22)+u|0,f+=(u^(c|~s))+d[2]+718787259|0,f=(f<<15|f>>>17)+c|0,s+=(c^(f|~u))+d[9]-343485551|0,s=(s<<21|s>>>11)+f|0,y[0]=u+y[0]|0,y[1]=s+y[1]|0,y[2]=f+y[2]|0,y[3]=c+y[3]|0}function t(y){var d=[],u;for(u=0;u<64;u+=4)d[u>>2]=y.charCodeAt(u)+(y.charCodeAt(u+1)<<8)+(y.charCodeAt(u+2)<<16)+(y.charCodeAt(u+3)<<24);return d}function l(y){var d=[],u;for(u=0;u<64;u+=4)d[u>>2]=y[u]+(y[u+1]<<8)+(y[u+2]<<16)+(y[u+3]<<24);return d}function p(y){var d=y.length,u=[1732584193,-271733879,-1732584194,271733878],s,f,c,w,S,k;for(s=64;s<=d;s+=64)i(u,t(y.substring(s-64,s)));for(y=y.substring(s-64),f=y.length,c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],s=0;s>2]|=y.charCodeAt(s)<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(i(u,c),s=0;s<16;s+=1)c[s]=0;return w=d*8,w=w.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(w[2],16),k=parseInt(w[1],16)||0,c[14]=S,c[15]=k,i(u,c),u}function v(y){var d=y.length,u=[1732584193,-271733879,-1732584194,271733878],s,f,c,w,S,k;for(s=64;s<=d;s+=64)i(u,l(y.subarray(s-64,s)));for(y=s-64>2]|=y[s]<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(i(u,c),s=0;s<16;s+=1)c[s]=0;return w=d*8,w=w.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(w[2],16),k=parseInt(w[1],16)||0,c[14]=S,c[15]=k,i(u,c),u}function a(y){var d="",u;for(u=0;u<4;u+=1)d+=o[y>>u*8+4&15]+o[y>>u*8&15];return d}function h(y){var d;for(d=0;dc?new ArrayBuffer(0):(w=c-f,S=new ArrayBuffer(w),k=new Uint8Array(S),P=new Uint8Array(this,f,w),k.set(P),S)}}();function g(y){return/[\u0080-\uFFFF]/.test(y)&&(y=unescape(encodeURIComponent(y))),y}function x(y,d){var u=y.length,s=new ArrayBuffer(u),f=new Uint8Array(s),c;for(c=0;c>2]|=d.charCodeAt(s)<<(s%4<<3);return this._finish(f,u),c=h(this._hash),y&&(c=F(c)),this.reset(),c},m.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},m.prototype.setState=function(y){return this._buff=y.buff,this._length=y.length,this._hash=y.hash,this},m.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},m.prototype._finish=function(y,d){var u=d,s,f,c;if(y[u>>2]|=128<<(u%4<<3),u>55)for(i(this._hash,y),u=0;u<16;u+=1)y[u]=0;s=this._length*8,s=s.toString(16).match(/(.*?)(.{0,8})$/),f=parseInt(s[2],16),c=parseInt(s[1],16)||0,y[14]=f,y[15]=c,i(this._hash,y)},m.hash=function(y,d){return m.hashBinary(g(y),d)},m.hashBinary=function(y,d){var u=p(y),s=h(u);return d?F(s):s},m.ArrayBuffer=function(){this.reset()},m.ArrayBuffer.prototype.append=function(y){var d=U(this._buff.buffer,y,!0),u=d.length,s;for(this._length+=y.byteLength,s=64;s<=u;s+=64)i(this._hash,l(d.subarray(s-64,s)));return this._buff=s-64>2]|=d[f]<<(f%4<<3);return this._finish(s,u),c=h(this._hash),y&&(c=F(c)),this.reset(),c},m.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.ArrayBuffer.prototype.getState=function(){var y=m.prototype.getState.call(this);return y.buff=C(y.buff),y},m.ArrayBuffer.prototype.setState=function(y){return y.buff=x(y.buff,!0),m.prototype.setState.call(this,y)},m.ArrayBuffer.prototype.destroy=m.prototype.destroy,m.ArrayBuffer.prototype._finish=m.prototype._finish,m.ArrayBuffer.hash=function(y,d){var u=v(new Uint8Array(y)),s=h(u);return d?F(s):s},m})})(he);var Ve=he.exports;const Ge=be(Ve);var G=function(){return G=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]r.size)e=r.size;else for(;r.size>e*1e4;)e*=2;for(var o=[],i=Math.ceil(r.size/e),t=0;t3?n[1]:n[0];if(!e)throw new _(b.InvalidToken,"missing assess key field.");var o=null;try{o=JSON.parse($e(n[n.length-1]))}catch{throw new _(b.InvalidToken,"token parse failed.")}if(o==null)throw new _(b.InvalidToken,"putPolicy is null.");if(o.scope==null)throw new _(b.InvalidToken,"scope field is null.");var i=o.scope.split(":")[0];if(!i)throw new _(b.InvalidToken,"resolve bucketName failed.");return{assessKey:e,bucketName:i,scope:o.scope}}var I,E={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},st=(I={},I[E.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},I[E.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},I[E.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},I[E.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},I[E.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},I[E.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},I),T=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}},ut=function(r,n,e,o){return n=n||"&",e=e||"=",r===null&&(r=void 0),typeof r=="object"?Object.keys(r).map(function(i){var t=encodeURIComponent(T(i))+e;return Array.isArray(r[i])?r[i].map(function(l){return t+encodeURIComponent(T(l))}).join(n):t+encodeURIComponent(T(r[i]))}).filter(Boolean).join(n):o?encodeURIComponent(T(o))+e+encodeURIComponent(T(r)):""},pe;pe=ut;var O=function(){return O=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){l={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(l)throw l.error}}return t},gt=function(){for(var r=[],n=0;n1e4*wt)return this.handleError(new _(b.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!Ke(this.putExtra.customVars))return this.handleError(new _(b.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!Je(this.putExtra.metadata))return this.handleError(new _(b.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];t.label=1;case 1:return t.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return t.sent(),[4,this.run()];case 3:return n=t.sent(),this.onComplete(n.data),this.checkAndUnfreezeHost(),this.sendLog(n.reqId,200),[2];case 4:return e=t.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(e),e instanceof M&&(this.sendLog(e.reqId,e.code),this.checkAndFreezeHost(e),o=++this.retryCount<=this.config.retryCount,i=bt.includes(e.code),i&&o)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(e),[3,5]));case 5:return[2]}})})},r.prototype.clear=function(){this.xhrList.forEach(function(n){n.onreadystatechange=null,n.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},r.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},r.prototype.addXhr=function(n){this.xhrList.push(n)},r.prototype.sendLog=function(n,e){var o,i;this.logger.report({code:e,reqId:n,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:ot((o=this.uploadHost)===null||o===void 0?void 0:o.getUrl()),host:at((i=this.uploadHost)===null||i===void 0?void 0:i.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},r.prototype.getProgressInfoItem=function(n,e,o){return N({size:e,loaded:n,percent:n/e*100},o==null?{}:{fromCache:o})},r}(),_t=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),B=function(){return B=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]1024)throw new _(b.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:v.sent(),e=new Le(function(a){return H(p,void 0,void 0,function(){return D(this,function(h){switch(h.label){case 0:if(this.aborted)throw e.abort(),new Error("pool is aborted");return[4,this.uploadChunk(a)];case 1:return h.sent(),[2]}})})},this.config.concurrentRequestLimit),o=null,i=this.getLocalKey(),t=this.chunks.map(function(a,h){return e.enqueue({chunk:a,index:h})}),v.label=2;case 2:return v.trys.push([2,5,,6]),[4,Promise.all(t)];case 3:return v.sent(),[4,this.mkFileReq()];case 4:return o=v.sent(),[3,6];case 5:throw l=v.sent(),l instanceof M&&(l.code===612||l.code===400)&&Q(i,this.logger),l;case 6:return Q(i,this.logger),[2,o]}})})},n.prototype.uploadChunk=function(e){return H(this,void 0,void 0,function(){var o,i,t,l,p,v,a,h,g,x=this;return D(this,function(C){switch(C.label){case 0:return o=e.index,i=e.chunk,t=this.cachedUploadedList[o],this.logger.info("upload part "+o+", cache:",t),l=this.config.checkByMD5,p=function(){x.usedCacheList[o]=!0,x.updateChunkProgress(i.size,o),x.uploadedList[o]=t,x.updateLocalCache()},t&&!l?(p(),[2]):[4,rt(i)];case 1:return v=C.sent(),this.logger.info("computed part md5.",v),t&&v===t.md5?(p(),[2]):(this.usedCacheList[o]=!1,a=function(U){x.updateChunkProgress(U.loaded,o)},h={body:i,md5:this.config.checkByServer?v:void 0,onProgress:a,onCreate:function(U){return x.addXhr(U)}},this.logger.info("part "+o+" start uploading."),[4,dt(this.token,this.key,e.index+1,this.getUploadInfo(),h)]);case 2:return g=C.sent(),this.logger.info("part "+o+" upload completed."),a({loaded:i.size,total:i.size}),this.uploadedList[o]={etag:g.data.etag,md5:g.data.md5,size:i.size},this.updateLocalCache(),[2]}})})},n.prototype.mkFileReq=function(){return H(this,void 0,void 0,function(){var e,o,i=this;return D(this,function(t){switch(t.label){case 0:return e=B(B(B({parts:this.uploadedList.map(function(l,p){return{etag:l.etag,partNumber:p+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",e),[4,pt(this.token,this.key,this.getUploadInfo(),{onCreate:function(l){return i.addXhr(l)},body:JSON.stringify(e)})];case 1:return o=t.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,o]}})})},n.prototype.initBeforeUploadChunks=function(){return H(this,void 0,void 0,function(){var e,o,i;return D(this,function(t){switch(t.label){case 0:return this.uploadedList=[],this.usedCacheList=[],e=et(this.getLocalKey(),this.logger),e?[3,2]:(this.logger.info("init upload parts from api."),[4,ht(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return o=t.sent(),this.logger.info("initd upload parts of id: "+o.data.uploadId+"."),this.uploadId=o.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:i=["resume upload parts from local cache,","total "+e.data.length+" part,","id is "+e.id+"."],this.logger.info(i.join(" ")),this.cachedUploadedList=e.data,this.uploadId=e.id,t.label=3;case 3:return this.chunks=We(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(l){return 0})},this.notifyResumeProgress(),[2]}})})},n.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},n.prototype.getLocalKey=function(){return Qe(this.file.name,this.key,this.file.size)},n.prototype.updateLocalCache=function(){Ze(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},n.prototype.updateChunkProgress=function(e,o){this.loaded.chunks[o]=e,this.notifyResumeProgress()},n.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},n.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(Ye(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(o,i){var t=e.usedCacheList[i];return e.getProgressInfoItem(e.loaded.chunks[i],o.size,t)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},n}(ge),ie=function(r,n,e,o){function i(t){return t instanceof e?t:new e(function(l){l(t)})}return new(e||(e=Promise))(function(t,l){function p(h){try{a(o.next(h))}catch(g){l(g)}}function v(h){try{a(o.throw(h))}catch(g){l(g)}}function a(h){h.done?t(h.value):i(h.value).then(p,v)}a((o=o.apply(r,n||[])).next())})},oe=function(r,n){var e={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},o,i,t,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(a){return function(h){return v([a,h])}}function v(a){if(o)throw new TypeError("Generator is already executing.");for(;e;)try{if(o=1,i&&(t=a[0]&2?i.return:a[0]?i.throw||((t=i.return)&&t.call(i),0):i.next)&&!(t=t.call(i,a[1])).done)return t;switch(i=0,t&&(a=[a[0]&2,t.value]),a[0]){case 0:case 1:t=a;break;case 4:return e.label++,{value:a[1],done:!1};case 5:e.label++,i=a[1],a=[0];continue;case 7:a=e.ops.pop(),e.trys.pop();continue;default:if(t=e.trys,!(t=t.length>0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]>>1^3988292384:o>>>=1;n[e]=o}return n},r.prototype.append=function(n){for(var e=this.crc,o=0;o>>8^this.table[(e^n[o])&255];this.crc=e},r.prototype.compute=function(){return(this.crc^-1)>>>0},r.prototype.readAsUint8Array=function(n){return ie(this,void 0,void 0,function(){var e;return oe(this,function(o){switch(o.label){case 0:return typeof n.arrayBuffer!="function"?[3,2]:(e=Uint8Array.bind,[4,n.arrayBuffer()]);case 1:return[2,new(e.apply(Uint8Array,[void 0,o.sent()]))];case 2:return[2,new Promise(function(i,t){var l=new FileReader;l.onload=function(){if(l.result==null){t();return}if(typeof l.result=="string"){t();return}i(new Uint8Array(l.result))},l.readAsArrayBuffer(n)})]}})})},r.prototype.file=function(n){return ie(this,void 0,void 0,function(){var e,o,i,t,l,p;return oe(this,function(v){switch(v.label){case 0:return n.size<=R?(e=this.append,[4,this.readAsUint8Array(n)]):[3,2];case 1:return e.apply(this,[v.sent()]),[2,this.compute()];case 2:o=Math.ceil(n.size/R),i=0,v.label=3;case 3:return i0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0&&me(r,n,e-1)};var i=[n.code||"",n.reqId||"",n.host||"",n.remoteIp||"",n.port||"",n.duration||"",n.time||"",n.bytesSent||"",n.upType||"",n.size||""].join(",");o.send(i)}var Ut=function(r,n){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var o=e.call(r),i,t=[],l;try{for(;(n===void 0||n-- >0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){l={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(l)throw l.error}}return t},K=function(){for(var r=[],n=0;n0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){l={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(l)throw l.error}}return t},zt=function(){for(var r=[],n=0;n=n},r.prototype.freeze=function(n){n===void 0&&(n=20);var e=new Date().getTime()+n*1e3;V.set(this.host,e)},r.prototype.unfreeze=function(){V.delete(this.host)},r.prototype.getUrl=function(){return this.protocol+"://"+this.host},r.prototype.getUnfreezeTime=function(){return V.get(this.host)},r}(),Rt=function(){function r(n){n===void 0&&(n=[]),this.initHosts=n,this.cachedHostsMap=new Map}return r.prototype.register=function(n,e,o,i){this.cachedHostsMap.set(n+"@"+e,o.map(function(t){return new Et(t,i)}))},r.prototype.refresh=function(n,e,o){var i,t,l,p;return se(this,void 0,void 0,function(){var v,a,h;return ue(this,function(g){switch(g.label){case 0:return v=this.cachedHostsMap.get(n+"@"+e)||[],v.length>0?[2]:this.initHosts.length>0?(this.register(n,e,this.initHosts,o),[2]):[4,lt(n,e,o)];case 1:return a=g.sent(),(a==null?void 0:a.data)!=null&&(h=zt(((t=(i=a.data.up)===null||i===void 0?void 0:i.acc)===null||t===void 0?void 0:t.main)||[],((p=(l=a.data.up)===null||l===void 0?void 0:l.acc)===null||p===void 0?void 0:p.backup)||[]),this.register(n,e,h,o)),[2]}})})},r.prototype.getUp=function(n,e,o){return se(this,void 0,void 0,function(){var i,t,l;return ue(this,function(p){switch(p.label){case 0:return[4,this.refresh(n,e,o)];case 1:return p.sent(),i=this.cachedHostsMap.get(n+"@"+e)||[],i.length===0?[2,null]:(t=i.filter(function(v){return!v.isFrozen()}),t.length>0?[2,t[0]]:(l=i.slice().sort(function(v,a){return(v.getUnfreezeTime()||0)-(a.getUnfreezeTime()||0)}),[2,l[0]]))}})})},r}();function Lt(r,n,e,o){return r.config&&r.config.forceDirect?(o.info("ues forceDirect mode."),new ae(r,n,e,o)):r.file.size>4*R?(o.info("file size over 4M, use Resume."),new Ct(r,n,e,o)):(o.info("file size less or equal than 4M, use Direct."),new ae(r,n,e,o))}function Pt(r,n,e,o,i){var t=new Ft(e,i==null?void 0:i.disableStatisticsReport,i==null?void 0:i.debugLogLevel,r.name),l={file:r,key:n,token:e,putExtra:o,config:Dt(i,t)},p=new Rt(l.config.uphost);return new De(function(v){var a=Lt(l,{onData:function(h){return v.next(h)},onError:function(h){return v.error(h)},onComplete:function(h){return v.complete(h)}},p,t);return a.putFile(),a.stop.bind(a)})}var L=function(){return L=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){l={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(l)throw l.error}}return t},Y=function(){for(var r=[],n=0;n`上传文件到${we(p.value)?"根":p.value.substring(0,p.value.length-1)}目录`),C=s=>{p.value=s,l.value=!0,t.value=!0,Ae.netDiskManage.netDiskManageToken().then(f=>{v.value=f.token,t.value=!1}).catch(()=>{l.value=!1})},U=()=>{a.value.length>0&&a.value.length!==h.value.length?_e.confirm({title:"关闭会取消未上传的文件,确认关闭吗?",icon:$(xe),onOk:F}):F()},F=()=>{l.value=!1,t.value=!1,p.value="",v.value="",g.value=[],u()},m=s=>{const{file:f,onProgress:c,onError:w,onSuccess:S}=s,P=Pt(f,`${p.value}${f.name}`,v.value).subscribe({next:z=>{c==null||c({percent:z.total.percent})},error:z=>{w==null||w(z),y(z,f)},complete:z=>{h.value.push(P),S==null||S(z),d(f)}});a.value.push(P)},y=(s,f)=>{const c=g.value.find(w=>w.originFileObj===f);c&&(c.status="error"),te.error({message:"上传进度提醒",description:`上传${f==null?void 0:f.name}文件失败!错误信息:${s.code===614?"上传文件已存在":s.message}`,duration:0})},d=s=>{const f=g.value.find(c=>c.originFileObj===s);f&&(f.status="success"),te.success({message:`上传${f==null?void 0:f.name}成功`})},u=async()=>{if(a.value.length<=0)return;const s=a.value,f=h.value;if(a.value=[],h.value=[],s.length!==f.length)for(let c=0;c(Fe(),Oe("div",qt,[$(J(ke),{title:x.value,width:400,visible:l.value,"mask-closable":!1,onClose:U},{default:W(()=>[$(J(Ce),{spinning:t.value,class:"upload-inner-box"},{default:W(()=>[$(J(Se).Dragger,{ref_key:"uploadRef",ref:i,"file-list":g.value,"onUpdate:fileList":f[0]||(f[0]=c=>g.value=c),class:"upload",drag:"",action:"noaction",multiple:!0,"custom-request":m},{default:W(()=>[Bt,Mt]),_:1},8,["file-list"])]),_:1},8,["spinning"])]),_:1},8,["title","visible"])]))}});export{Gt as _}; diff --git a/assets/hero-Cxov48D1.js b/assets/hero-Cxov48D1.js new file mode 100644 index 000000000..f0997beae --- /dev/null +++ b/assets/hero-Cxov48D1.js @@ -0,0 +1 @@ +import{y as o}from"./index-D5NK1dvb.js";function t(e){return o({url:"/demo/wzry/hero_list",method:"get",params:e})}function l(e){return o({url:"/demo/lol/hero_list",method:"get",params:e})}function n({id:e}){return o({url:`/demo/lol/hero_info/${e}`,method:"get"})}export{l as a,t as b,n as g}; diff --git a/assets/heroInfo-B8sR5UMx.js b/assets/heroInfo-B8sR5UMx.js new file mode 100644 index 000000000..fe43945c0 --- /dev/null +++ b/assets/heroInfo-B8sR5UMx.js @@ -0,0 +1 @@ +import{d as y,$ as w,f as m,o as x,W as a,X as I,Y as s,k as o,a6 as n,u as g,a5 as r,ae as c,F as l,ak as $,ad as h}from"./vue-Dbi1xauY.js";import{d as v,_ as A}from"./index-D5NK1dvb.js";import{g as V}from"./hero-Cxov48D1.js";import{u as B}from"./tabsView-C9fjxIF1.js";import{aq as C,ar as L,ac as q,as as z}from"./antdv-CA3HmnGF.js";const N={class:"custom-slick-arrow",style:{"z-index":"1",left:"10px"}},S={class:"custom-slick-arrow",style:{right:"10px"}},T=["src"],F=["href"],H=["src"],D=["src"],E={key:0,class:"grid gap-[10px]"},M=["src"],P=y({name:"LoLHeroInfo",__name:"heroInfo",setup(R){const i=w(),k=B(),e=m({}),d=m(!0);return x(async()=>{const u=await V({id:i.params.id});d.value=!1,e.value=u,k.updateTabTitle(`${i.meta.title}(${e.value.title})`)}),(u,W)=>{const _=C,b=L,f=q,p=z;return a(),I(f,{bordered:!1,loading:d.value},{default:s(()=>[o(p,{style:{width:"25%"},hoverable:!1,bordered:!1},{default:s(()=>[o(f,{class:"posters",bordered:!1,"body-style":{padding:"24px"}},{cover:s(()=>[o(_,{arrows:"",dots:!1},{prevArrow:s(()=>[n("div",N,[o(g(v),{icon:"ant-design:left-circle-outlined",size:"28"})])]),nextArrow:s(()=>[n("div",S,[o(g(v),{icon:"ant-design:right-circle-outlined",size:"28"})])]),default:s(()=>[(a(!0),r(l,null,c(e.value.posters,t=>(a(),r("img",{key:t,src:t,alt:""},null,8,T))),128))]),_:1})]),default:s(()=>[o(b,{title:`${e.value.name} ${e.value.title}`},{description:s(()=>[n("a",{href:`https://101.qq.com/#/hero-detail?heroid=${e.value.heroId}&datatype=5v5`,target:"_blank"}," 详细资料 ",8,F)]),_:1},8,["title"])]),_:1})]),_:1}),o(p,{class:"skins",style:{width:"75%"},hoverable:!1,bordered:!1},{default:s(()=>[o(_,{arrows:"",effect:"fade","dots-class":"slick-dots slick-thumb"},{customPaging:s(t=>[n("a",null,[n("img",{src:e.value.skins[t.i]},null,8,H)])]),default:s(()=>[(a(!0),r(l,null,c(e.value.skins,t=>(a(),r("div",{key:t},[n("img",{src:t},null,8,D)]))),128))]),_:1}),e.value.banAudio||e.value.selectAudio?(a(),r("figure",E,[n("figcaption",null,$(e.value.title)+"有话说:",1),(a(!0),r(l,null,c([e.value.banAudio,e.value.selectAudio],t=>(a(),r(l,{key:t},[t?(a(),r("audio",{key:0,controls:"",src:t},null,8,M)):h("",!0)],64))),128))])):h("",!0)]),_:1})]),_:1},8,["loading"])}}}),K=A(P,[["__scopeId","data-v-7197b8bd"]]);export{K as default}; diff --git a/assets/heroInfo-BLl5eolZ.css b/assets/heroInfo-BLl5eolZ.css new file mode 100644 index 000000000..33347b8df --- /dev/null +++ b/assets/heroInfo-BLl5eolZ.css @@ -0,0 +1 @@ +.skins[data-v-7197b8bd] .ant-carousel .slick-dots{position:relative;height:auto}.skins[data-v-7197b8bd] .ant-carousel .slick-slide img{display:block;max-width:80%;margin:auto;border:5px solid #fff}.skins[data-v-7197b8bd] .ant-carousel .slick-arrow{display:none!important}.skins[data-v-7197b8bd] .ant-carousel .slick-thumb{bottom:0}.skins[data-v-7197b8bd] .ant-carousel .slick-thumb li{width:60px;height:45px}.skins[data-v-7197b8bd] .ant-carousel .slick-thumb li img{display:block;width:100%;height:100%;filter:grayscale(100%)}.skins[data-v-7197b8bd] .ant-carousel .slick-thumb li.slick-active img{filter:grayscale(0%)}.posters[data-v-7197b8bd] .ant-carousel .slick-arrow.custom-slick-arrow{z-index:1;width:25px;height:25px;transition:ease all .3s;opacity:.3;background-color:#1f2d3d1c;color:#fff;font-size:25px}.posters[data-v-7197b8bd] .ant-carousel .slick-arrow.custom-slick-arrow:before{display:none}.posters[data-v-7197b8bd] .ant-carousel .slick-arrow.custom-slick-arrow:hover{opacity:.5;color:#fff} diff --git a/assets/huawei-charge-Cc-Eec4H.css b/assets/huawei-charge-Cc-Eec4H.css new file mode 100644 index 000000000..d8ad9bb38 --- /dev/null +++ b/assets/huawei-charge-Cc-Eec4H.css @@ -0,0 +1 @@ +.huawei-charge[data-v-37f0be19]{position:absolute;bottom:20vh;left:50vw;width:300px;height:400px;transform:translate(-50%)}.huawei-charge .column-15[data-v-37f0be19]{width:100%}.huawei-charge li[data-v-37f0be19]:nth-child(15){top:50%;left:55px;width:30px;height:27px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -4.41971224s infinite}.huawei-charge .column-14[data-v-37f0be19]{width:93.33333333%}.huawei-charge li[data-v-37f0be19]:nth-child(14){top:50%;left:35px;width:26px;height:16px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 9s ease-in-out -.92413652s infinite}.huawei-charge .column-13[data-v-37f0be19]{width:86.66666667%}.huawei-charge li[data-v-37f0be19]:nth-child(13){top:50%;left:19px;width:28px;height:24px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 3s ease-in-out -2.12459802s infinite}.huawei-charge .column-12[data-v-37f0be19]{width:80%}.huawei-charge li[data-v-37f0be19]:nth-child(12){top:50%;left:37px;width:23px;height:25px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 3s ease-in-out -.12244444s infinite}.huawei-charge .column-11[data-v-37f0be19]{width:73.33333333%}.huawei-charge li[data-v-37f0be19]:nth-child(11){top:50%;left:33px;width:18px;height:26px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 4s ease-in-out -.65930231s infinite}.huawei-charge .column-10[data-v-37f0be19]{width:66.66666667%}.huawei-charge li[data-v-37f0be19]:nth-child(10){top:50%;left:50px;width:22px;height:26px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -1.96632572s infinite}.huawei-charge .column-9[data-v-37f0be19]{width:60%}.huawei-charge li[data-v-37f0be19]:nth-child(9){top:50%;left:62px;width:22px;height:25px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -2.65509526s infinite}.huawei-charge .column-8[data-v-37f0be19]{width:53.33333333%}.huawei-charge li[data-v-37f0be19]:nth-child(8){top:50%;left:57px;width:23px;height:19px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -4.63605775s infinite}.huawei-charge .column-7[data-v-37f0be19]{width:46.66666667%}.huawei-charge li[data-v-37f0be19]:nth-child(7){top:50%;left:31px;width:21px;height:28px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 5s ease-in-out -2.32245257s infinite}.huawei-charge .column-6[data-v-37f0be19]{width:40%}.huawei-charge li[data-v-37f0be19]:nth-child(6){top:50%;left:56px;width:18px;height:20px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -.04196159s infinite}.huawei-charge .column-5[data-v-37f0be19]{width:33.33333333%}.huawei-charge li[data-v-37f0be19]:nth-child(5){top:50%;left:63px;width:28px;height:21px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 9s ease-in-out -.50774614s infinite}.huawei-charge .column-4[data-v-37f0be19]{width:26.66666667%}.huawei-charge li[data-v-37f0be19]:nth-child(4){top:50%;left:39px;width:24px;height:15px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 5s ease-in-out -.69019343s infinite}.huawei-charge .column-3[data-v-37f0be19]{width:20%}.huawei-charge li[data-v-37f0be19]:nth-child(3){top:50%;left:29px;width:19px;height:30px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -.5651108s infinite}.huawei-charge .column-2[data-v-37f0be19]{width:13.33333333%}.huawei-charge li[data-v-37f0be19]:nth-child(2){top:50%;left:57px;width:18px;height:21px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 7s ease-in-out -4.1199762s infinite}.huawei-charge .column-1[data-v-37f0be19]{width:6.66666667%}.huawei-charge li[data-v-37f0be19]:nth-child(1){top:50%;left:49px;width:18px;height:16px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 7s ease-in-out -3.81126845s infinite}.huawei-charge .column-0[data-v-37f0be19]{width:0%}.huawei-charge li[data-v-37f0be19]:nth-child(0){top:50%;left:53px;width:18px;height:15px;transform:translate(-50%,-50%);animation:move-to-top-37f0be19 6s ease-in-out -4.74693985s infinite}@keyframes trotate-37f0be19{50%{border-radius:45%/42% 38% 58% 49%}to{transform:translate(-50%,-50%) rotate(720deg)}}@keyframes move-to-top-37f0be19{90%{opacity:1}to{transform:translate(-50%,-180px);opacity:.1}}@keyframes hue-rotate-37f0be19{to{filter:contrast(15) hue-rotate(360deg)}}.huawei-charge .number[data-v-37f0be19]{position:absolute;z-index:10;top:27%;width:300px;color:#fff;font-size:32px;text-align:center}.huawei-charge .contrast[data-v-37f0be19]{width:300px;height:400px;overflow:hidden;animation:hue-rotate-37f0be19 10s infinite linear;background-color:#000;filter:contrast(15) hue-rotate(0)}.huawei-charge .contrast .circle[data-v-37f0be19]{position:relative;box-sizing:border-box;width:300px;height:300px;filter:blur(8px)}.huawei-charge .contrast .circle[data-v-37f0be19]:after{content:"";position:absolute;top:40%;left:50%;width:200px;height:200px;transform:translate(-50%,-50%) rotate(0);animation:trotate-37f0be19 10s infinite linear;border-radius:42% 38% 62% 49%/45%;background-color:#00ff6f}.huawei-charge .contrast .circle[data-v-37f0be19]:before{content:"";position:absolute;z-index:10;top:40%;left:50%;width:176px;height:176px;transform:translate(-50%,-50%);border-radius:50%;background-color:#000}.huawei-charge .contrast .bubbles[data-v-37f0be19]{position:absolute;bottom:0;left:50%;width:100px;height:40px;transform:translate(-50%);border-radius:100px 100px 0 0;background-color:#00ff6f;filter:blur(5px)}.huawei-charge .contrast .bubbles li[data-v-37f0be19]{position:absolute;border-radius:50%;background:#00ff6f}.huawei-charge .charging[data-v-37f0be19]{font-size:20px;text-align:center} diff --git a/assets/huawei-charge-ikjv2-Ui.js b/assets/huawei-charge-ikjv2-Ui.js new file mode 100644 index 000000000..daf791a78 --- /dev/null +++ b/assets/huawei-charge-ikjv2-Ui.js @@ -0,0 +1 @@ +import{d as o,W as s,a5 as i,a6 as a,ak as t,F as u,ae as d,m as r,A as n,a7 as l,a8 as p}from"./vue-Dbi1xauY.js";import{_ as h}from"./index-D5NK1dvb.js";import"./antdv-CA3HmnGF.js";const g=o({name:"HuaweiCharge",props:{battery:{type:Object,default:()=>({})},calcDischargingTime:{type:String,default:""},batteryStatus:{type:String,validator:e=>["充电中","已充满","已断开电源"].includes(e)}}}),m=e=>(l("data-v-37f0be19"),e=e(),p(),e),b={class:"huawei-charge"},_={class:"number"},F={class:"contrast"},v=m(()=>a("div",{class:"circle"},null,-1)),y={class:"bubbles"},f={class:"charging"};function S(e,D,T,w,B,k){return s(),i("div",b,[a("div",_,t(e.battery.level.toFixed(0))+"%",1),a("div",F,[v,a("ul",y,[(s(),i(u,null,d(15,c=>a("li",{key:c})),64))])]),a("div",f,[a("div",null,t(e.batteryStatus),1),r(a("div",null," 剩余可使用时间:"+t(e.calcDischargingTime),513),[[n,Number.isFinite(e.battery.dischargingTime)&&e.battery.dischargingTime!=0]]),r(a("span",null," 距离电池充满需要:"+t(e.calcDischargingTime),513),[[n,Number.isFinite(e.battery.chargingTime)&&e.battery.chargingTime!=0]])])])}const $=h(g,[["render",S],["__scopeId","data-v-37f0be19"]]);export{$ as default}; diff --git a/assets/index-4XSHMzfV.css b/assets/index-4XSHMzfV.css new file mode 100644 index 000000000..b633bbc12 --- /dev/null +++ b/assets/index-4XSHMzfV.css @@ -0,0 +1 @@ +.btn-rows button[data-v-03d6d9f3]{margin-right:12px} diff --git a/assets/index-B1Zi62I_.js b/assets/index-B1Zi62I_.js new file mode 100644 index 000000000..f066cbb95 --- /dev/null +++ b/assets/index-B1Zi62I_.js @@ -0,0 +1 @@ +import{f as y}from"./dateUtil-CLVblcqH.js";import{A as i}from"./index-D5NK1dvb.js";import{f as b}from"./common-Cs_BZJVP.js";import{u as C}from"./dynamic-table-BEdsLSS6.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./antdv-CA3HmnGF.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as w}from"./useFormModal-DHZbCRb3.js";import{d as _,W as x,a5 as k,k as d,Y as s,a6 as D,u as r,G as m,ac as I}from"./vue-Dbi1xauY.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./useModal-D-vJhjJN.js";const N=[{title:"部门名称",dataIndex:"name",align:"left"},{title:"排序",dataIndex:"orderNo",width:50,hideInSearch:!0},{title:"创建时间",dataIndex:"createdAt",width:200,hideInSearch:!0,customRender:({record:n})=>y(n.createdAt)}],A=[{field:"name",component:"Input",label:"部门名称",rules:[{required:!0,type:"string"}]},{field:"parentId",component:"TreeSelect",label:"上级部门",componentProps:{fieldNames:{label:"name",value:"id"},getPopupContainer:()=>document.body,request:async({schema:n,formModel:l})=>{const t=await i.systemDept.deptList({});return n.value.componentProps.treeDefaultExpandedKeys=b(t,l.parentId),t}}},{field:"orderNo",label:"排序",component:"InputNumber",required:!0,componentProps:{style:{width:"100%"}}}],P={class:"flex gap-2 ml-2"},z=_({name:"SystemDept",__name:"index",setup(n){const[l,t]=C(),[c]=w(),u=async e=>{var o;const[a]=await c({modalProps:{title:`${e.id?"编辑":"新增"}部门`,width:"50%",onFinish:async p=>{e.id?await i.systemDept.deptUpdate({id:e.id},p):await i.systemDept.deptCreate(p),t==null||t.reload()}},formProps:{labelWidth:100,schemas:A}});a==null||a.setFieldsValue({...e,parentId:(o=e.parent)==null?void 0:o.id})},f=async e=>{await i.systemDept.deptDelete({id:e.id}),t==null||t.reload()},h=[...N,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:e})=>[{label:"编辑",auth:{perm:"system:dept:update",effect:"disable"},onClick:()=>u(e)},{label:"删除",auth:"system:dept:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>f(e)}}]}];return(e,a)=>{const o=I("a-button");return x(),k("div",null,[d(r(l),{"row-key":"id","header-title":"部门管理","data-request":r(i).systemDept.deptList,columns:h,bordered:"",size:"small"},{afterHeaderTitle:s(()=>[D("div",P,[d(o,{onClick:r(t).expandAll},{default:s(()=>[m("展开全部")]),_:1},8,["onClick"]),d(o,{onClick:r(t).collapseAll},{default:s(()=>[m("折叠全部")]),_:1},8,["onClick"])])]),toolbar:s(()=>[d(o,{type:"primary",disabled:!e.$auth("system:dept:create"),onClick:a[0]||(a[0]=p=>u({}))},{default:s(()=>[m(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])])}}});export{z as default}; diff --git a/assets/index-B9vsgMem.js b/assets/index-B9vsgMem.js new file mode 100644 index 000000000..99ac6fa42 --- /dev/null +++ b/assets/index-B9vsgMem.js @@ -0,0 +1 @@ +import{d as v,aj as h,$ as y,f as k,w as b,W as t,X as r,Y as o,k as s,G as C,ak as w,a5 as T,ae as g,F as K,u as l,ao as x,af as B,ac as D}from"./vue-Dbi1xauY.js";import{am as N,ac as P,T as u}from"./antdv-CA3HmnGF.js";const j=v({name:"DemosNestedRoutes",__name:"index",setup(R){const c=h(),m=y(),i=[{title:"路由一",name:"demos-nested-routes-one"},{title:"路由二",name:"demos-nested-routes-two"},{title:"路由三",name:"demos-nested-routes-three"}],n=k(),_=e=>{n.value=e,c.push({name:e})};return b(()=>m.name,e=>{n.value=e},{immediate:!0}),(e,$)=>{const d=N,p=D("router-view"),f=P;return t(),r(f,{class:"h-full"},{default:o(()=>[s(d,{level:3},{default:o(()=>[C(w(e.$route.fullPath),1)]),_:1}),s(l(u),{activeKey:n.value,type:"card",onTabClick:_},{default:o(()=>[(t(),T(K,null,g(i,a=>s(l(u).TabPane,{key:a.name,tab:a.title},null,8,["tab"])),64))]),_:1},8,["activeKey"]),s(p,null,{default:o(({Component:a})=>[(t(),r(x,null,[(t(),r(B(a),{key:e.$route.fullPath}))],1024))]),_:1})]),_:1})}}});export{j as default}; diff --git a/assets/index-Bim9QLTv.css b/assets/index-Bim9QLTv.css new file mode 100644 index 000000000..0e3dbd01a --- /dev/null +++ b/assets/index-Bim9QLTv.css @@ -0,0 +1 @@ +.btn-rows button[data-v-0551fdf8]{margin-right:12px} diff --git a/assets/index-BjnwTv1p.js b/assets/index-BjnwTv1p.js new file mode 100644 index 000000000..781801ec9 --- /dev/null +++ b/assets/index-BjnwTv1p.js @@ -0,0 +1 @@ +import{f as g}from"./dateUtil-CLVblcqH.js";import{k as l,G as v,d as w,f as u,w as b,o as C,j as S,W as T,X as U,Y as O,u as B}from"./vue-Dbi1xauY.js";import{U as N,X as R}from"./antdv-CA3HmnGF.js";import{u as A}from"./dynamic-table-BEdsLSS6.js";import{S as j,A as f}from"./index-D5NK1dvb.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";const D=[{title:"会话编号",dataIndex:"tokenId",ellipsis:!0,hideInSearch:!0},{title:"用户名",dataIndex:"username",customRender:({record:t})=>l("div",null,[l("span",{class:"pr-4px"},[t.username]),t.isCurrent&&l(N,{color:"processing"},{default:()=>[v("我")]})])},{title:"部门名称",dataIndex:"deptName"},{title:"登录IP",dataIndex:"ip",width:140},{title:"登录地点",dataIndex:"address"},{title:"浏览器",dataIndex:"browser"},{title:"操作系统",dataIndex:"os"},{title:"登录时间",dataIndex:"time",width:180,customRender:({record:t})=>g(t.time)}],W=w({name:"SystemMonitorOnline",__name:"index",setup(t){let d=[];const i=u(!0),r=u([]),c=u(!1),m=j(),[h,k]=A({size:"small"}),I=[...D,{title:"操作",width:80,dataIndex:"ACTION",actions:({record:e})=>[{label:"下线",auth:"system:online:kick",disabled:e.disable,popConfirm:{title:"确定下线该用户吗?",onConfirm:()=>x(e)}}]}],x=async e=>{await f.systemOnline.onlineKick({tokenId:e.tokenId}),k.reload()},_=(...e)=>{[...e]},y=e=>{const a=Object.keys(e);if(!a.some(o=>!!e[o])){n();return}r.value=d.filter(o=>a.every(s=>!e[s]||o[s].includes(e[s])))},n=async()=>{c.value=!0,d=await f.systemOnline.onlineList().finally(()=>c.value=!1),r.value=d},p=()=>{i.value&&n()};return b(i,e=>{e&&n()}),C(()=>{n(),m.emitter.on("onlineUser",p)}),S(()=>{m.emitter.off("onlineUser",p)}),(e,a)=>{const o=R;return T(),U(B(h),{"row-key":"tokenId","header-title":"在线用户","title-tooltip":"这是真实操作,请不要随意将其他用户踢下线。","data-source":r.value,columns:I,loading:c.value,onChange:_,onSearch:y,onReload:n},{toolbar:O(()=>[l(o,{checked:i.value,"onUpdate:checked":a[0]||(a[0]=s=>i.value=s),"checked-children":"开启实时更新","un-checked-children":"关闭实时更新"},null,8,["checked"])]),_:1},8,["data-source","loading"])}}});export{W as default}; diff --git a/assets/index-BjqVZB_B.css b/assets/index-BjqVZB_B.css new file mode 100644 index 000000000..f85427cb2 --- /dev/null +++ b/assets/index-BjqVZB_B.css @@ -0,0 +1 @@ +.logo[data-v-e438ff05]{display:flex;white-space:nowrap;overflow:hidden;align-items:center;height:64px;padding-left:24px;line-height:64px}.logo img[data-v-e438ff05]{height:32px;margin-right:8px}.logo .title[data-v-e438ff05]{margin-bottom:0;font-size:1.25rem;line-height:1.75rem;color:var(--app-primary-color)}.dark .tabs-view[data-v-f24c5034]{border-top:1px solid black}.tabs-view[data-v-f24c5034]{border-top:1px solid #eee}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-nav{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));margin:0;padding:4px 20px 0 10px;user-select:none}.dark .tabs-view[data-v-f24c5034] .tabs .ant-tabs-nav{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tabpane{display:none}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab-remove{display:flex;margin:0;padding:0}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab-remove .anticon-close{padding-left:6px}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active) .ant-tabs-tab-remove{width:0}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active) .anticon-close{visibility:hidden;width:0;transition:width .3s}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active):hover .anticon-close{visibility:visible;width:16px;padding-left:6px}.tabs-view[data-v-f24c5034] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active):hover .ant-tabs-tab-remove{width:unset}.tabs-view .tabs-view-content[data-v-f24c5034]{height:calc(100vh - 110px - var(--app-footer-height));padding:20px 14px 0;overflow:auto}.menu-container[data-v-930ce569]{width:100%;overflow:auto}.menu-container[data-v-930ce569]::-webkit-scrollbar{width:0;height:0}.menu-container.is-side-menu[data-v-930ce569]{height:calc(100vh - var(--app-header-height))}.menu-container[data-v-930ce569]>.ant-menu{justify-content:center;width:100%}.icon[data-v-262c755b]{box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66}.style-checbox-item[data-v-d0a5f013]{position:relative;cursor:pointer}.style-checbox-item.active[data-v-d0a5f013]:after{content:"✔";position:absolute;right:12px;bottom:10px;color:var(--app-primary-color)}input[type=color][data-v-d0a5f013]{width:40px;height:40px;padding:0;border:0;outline:none;appearance:none}input[type=color][data-v-d0a5f013]::-webkit-color-swatch-wrapper{background:var(--custom-color)}input[type=color][data-v-d0a5f013]::-webkit-color-swatch{display:none}.layout-header[data-v-5619ee01]{display:flex;position:sticky;z-index:10;top:0;align-items:center;justify-content:space-between;height:var(--app-header-height);padding:0 20px}.layout-header .header-right[data-v-5619ee01]{min-width:180px;cursor:pointer}.layout-header .header-menu[data-v-5619ee01]{flex:1;align-items:center;min-width:0}._page_footer_lar2m_1{height:var(--app-footer-height);margin-top:auto;overflow:hidden;color:#d9d9d9;text-align:center}._page_footer_lar2m_1 a{color:#d9d9d9}._page_footer_lar2m_1 a:hover{color:#000}._page_footer_lar2m_1 ._page_footer_link_lar2m_14{display:flex;justify-content:center;margin-bottom:8px}._page_footer_lar2m_1 ._page_footer_link_lar2m_14 a:not(:last-child){margin-right:40px}._page_footer_lar2m_1 ._copyright_lar2m_22{color:#d9d9d9}.layout[data-v-c1acba4d]{display:flex;height:100vh;overflow:hidden}.layout .ant-layout[data-v-c1acba4d]{overflow:hidden}.layout .layout-content[data-v-c1acba4d]{flex:none} diff --git a/assets/index-BoWMpSkR.js b/assets/index-BoWMpSkR.js new file mode 100644 index 000000000..53c491c7d --- /dev/null +++ b/assets/index-BoWMpSkR.js @@ -0,0 +1 @@ +import{f as u}from"./dateUtil-CLVblcqH.js";import{k as f,d as x,W as w,X as k,Y as c,G as C,u as h,ac as g}from"./vue-Dbi1xauY.js";import{U as P}from"./antdv-CA3HmnGF.js";import{u as _}from"./dynamic-table-BEdsLSS6.js";import{A as i}from"./index-D5NK1dvb.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as v}from"./useFormModal-DHZbCRb3.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./useModal-D-vJhjJN.js";const R=[{title:"#",dataIndex:"id",width:55,hideInSearch:!0},{title:"角色名称",width:200,dataIndex:"name"},{title:"角色值",width:180,dataIndex:"value"},{title:"状态",dataIndex:"status",width:80,formItemProps:{component:"Select",componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}},customRender:({record:l})=>{const r=~~l.status===1;return f(P,{color:r?"green":"red"},{default:()=>[r?"启用":"停用"]})}},{title:"备注",dataIndex:"remark"},{title:"创建时间",dataIndex:"createdAt",hideInSearch:!0,customRender:({record:l})=>u(l.createdAt)},{title:"更新时间",dataIndex:"updatedAt",hideInSearch:!0,customRender:({record:l})=>u(l.createdAt)}],A=[{field:"name",component:"Input",label:"角色名称",rules:[{required:!0,type:"string"}],colProps:{span:12}},{field:"value",component:"Input",label:"角色值",rules:[{required:!0,type:"string"}],colProps:{span:12}},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"停用",value:0}]}},{field:"remark",component:"InputTextArea",label:"备注"},{field:"menuIds",component:"Tree",label:"菜单权限",componentProps:{checkable:!0,vModelKey:"checkedKeys",fieldNames:{title:"name",key:"id"},style:{height:"350px",paddingTop:"5px",overflow:"auto",borderRadius:"6px",border:"1px solid #dcdfe6",resize:"vertical"}}}],G=x({name:"SystemPermissionRole",__name:"index",setup(l){const[r,n]=_(),[b]=v(),m=(e,t,o=[])=>t.reduce((a,s)=>{var d;return(d=s.children)!=null&&d.length?m(e,s.children,o):e.includes(s.id)&&a.push(s.id),a},o),p=async e=>{const[t]=await b({modalProps:{title:`${e.id?"编辑":"新增"}角色`,width:"50%",onFinish:async a=>{e.id&&(a.roleId=e.id);const s=t==null?void 0:t.compRefMap.get("menuIds"),d={...a,menuIds:[...s.halfCheckedKeys,...s.checkedKeys]};e.id?await i.systemRole.roleUpdate({id:e.id},d):await i.systemRole.roleCreate(d),n==null||n.reload()}},formProps:{labelWidth:100,schemas:A}}),o=await i.systemMenu.menuList({});if(t==null||t.updateSchema([{field:"menuIds",componentProps:{treeData:o}}]),e.id){const a=await i.systemRole.roleInfo({id:e.id});t==null||t.setFieldsValue({...e,menuIds:m(a.menuIds,o)})}},y=async e=>{await i.systemRole.roleDelete({id:e.id}),n==null||n.reload()},I=[...R,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:e})=>[{label:"编辑",auth:{perm:"system:role:update",effect:"disable"},onClick:()=>{p(e)}},{label:"删除",auth:"system:role:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>y(e)}}]}];return(e,t)=>{const o=g("a-button");return w(),k(h(r),{"row-key":"id","header-title":"角色管理","title-tooltip":"超级管理员默认拥有所有资源访问权限且不支持修改","data-request":h(i).systemRole.roleList,columns:I,bordered:"",size:"small"},{toolbar:c(()=>[f(o,{type:"primary",disabled:!e.$auth("system:role:create"),onClick:t[0]||(t[0]=a=>p({}))},{default:c(()=>[C(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])}}});export{G as default}; diff --git a/assets/index-C0s1KjFx.css b/assets/index-C0s1KjFx.css new file mode 100644 index 000000000..025bf5043 --- /dev/null +++ b/assets/index-C0s1KjFx.css @@ -0,0 +1 @@ +.sys-server-stat-container[data-v-6f1f0887]{padding:20px;column-gap:10px;column-count:2}.sys-server-stat-container .stat-card[data-v-6f1f0887]{margin-bottom:10px;break-inside:avoid;transform:translateZ(0)}.sys-server-stat-container .stat-card .disk-info[data-v-6f1f0887]{display:flex;flex-direction:row;width:100%}.sys-server-stat-container .stat-card .disk-info--item[data-v-6f1f0887]{width:50%} diff --git a/assets/index-C4hwjCib.css b/assets/index-C4hwjCib.css new file mode 100644 index 000000000..08269e418 --- /dev/null +++ b/assets/index-C4hwjCib.css @@ -0,0 +1 @@ +.btn-rows button[data-v-9bed21df]{margin-right:12px} diff --git a/assets/index-C9ZwpWbN.css b/assets/index-C9ZwpWbN.css new file mode 100644 index 000000000..971cde286 --- /dev/null +++ b/assets/index-C9ZwpWbN.css @@ -0,0 +1 @@ +html.dark .box[data-v-dd2fd26e]{background-color:#000}html:not(.dark) .box[data-v-dd2fd26e]{background-color:#fff}.box[data-v-dd2fd26e]{display:flex;flex-direction:column;width:100%;height:calc(100vh - 280px);padding:12px}.box img[data-v-dd2fd26e]{flex:1;min-height:0}.box .ant-form[data-v-dd2fd26e]{flex:2} diff --git a/assets/index-CDgH2F_h.js b/assets/index-CDgH2F_h.js new file mode 100644 index 000000000..ec3ccec4c --- /dev/null +++ b/assets/index-CDgH2F_h.js @@ -0,0 +1 @@ +import{i as p}from"./is-bed24ebq.js";import{a_ as c,aO as s,a$ as l,aQ as f,b0 as u}from"./antdv-CA3HmnGF.js";function d(i){var t;return/[.]/.exec(i)?(t=/[^.]+$/.exec(i))==null?void 0:t[0]:void 0}function w(i){var n;if(!i)return"file-type-unknown";const t=(n=d(i))==null?void 0:n.toLowerCase();return t?["png","jpg","jpeg","ico","gif","bmp","webp"].includes(t)?"file-type-img":["markdown","md","txt"].includes(t)?"file-type-txt":["docx","doc","docm","dot","dotx"].includes(t)?"file-type-docx":["csv","xls","xlsb","xlsm","xlsx","xltx"].includes(t)?"file-type-excel":t==="pdf"?"file-type-pdf":["pptx","ppt","pptm"].includes(t)?"file-type-ppt":["zip","rar","7z","tar","gz","tgz","tar.gz","tar.xz"].includes(t)?"file-type-zip":["mp4","avi","wmv","rmvb","3gp","mov","m4v","flv","mkv"].includes(t)?"file-type-video":["mp3","wav"].includes(t)?"file-type-music":["vue","js","go","java","ts","css","html","php","c","cpp","swift","kt"].includes(t)?"file-type-code":"file-type-unknown":"file-type-unknown"}function y(i,t=2){if(i===0)return"0 Bytes";const n=1024,e=t<0?0:t,r=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(i)/Math.log(n));return`${parseFloat((i/Math.pow(n,o)).toFixed(e))} ${r[o]}`}function a(i,t,n="replace"){return t?i?c({},i,t,(e,r)=>{if(s(r)&&s(e))switch(n){case"union":return u(e,r,f);case"intersection":return l(e,r,f);case"concat":return e.concat(r);case"replace":return r;default:throw new Error(`Unknown merge array strategy: ${n}`)}if(p(r)&&p(e))return a(e,r,n)}):t:i}const v=(i,t)=>{const n=i;return n.install=e=>{e.component(n.name||n.displayName,i),t&&(e.config.globalProperties[t]=i)},i};export{a as d,y as f,w as p,v as w}; diff --git a/assets/index-CGy8ISwp.js b/assets/index-CGy8ISwp.js new file mode 100644 index 000000000..e98c44771 --- /dev/null +++ b/assets/index-CGy8ISwp.js @@ -0,0 +1 @@ +import{d as C,$ as I,aj as S,f as m,W as k,a5 as z,k as e,Y as o,u as _,a6 as d,G as B,B as A,ac as M,a7 as U,a8 as N}from"./vue-Dbi1xauY.js";import{_ as V}from"./logo-DzsBprQM.js";import{e as F,A as R,d as f,s as T,_ as $}from"./index-D5NK1dvb.js";import{L as j,a9 as q,aa as E,e as i,M as G}from"./antdv-CA3HmnGF.js";const L=u=>(U("data-v-9bd3ff02"),u=u(),N(),u),W={class:"login-box"},Y=L(()=>d("div",{class:"login-logo"},[d("img",{src:V,width:"45"}),d("h1",{class:"mb-0 ml-2 text-3xl font-bold"},"Antdv Admin")],-1)),D=["src"],H=C({__name:"index",setup(u){const g=I(),h=S(),w=F(),c=m(!1),v=m(""),a=m({username:"admin",password:"a123456",verifyCode:"",captchaId:""}),p=async()=>{const n=await R.captcha.captchaCaptchaByImg({width:100,height:50});v.value=n.img,a.value.captchaId=n.id};p();const x=async()=>{const{username:n,password:t,verifyCode:l}=a.value;if(n.trim()==""||t.trim()=="")return i.warning("用户名或密码不能为空!");if(!l)return i.warning("请输入验证码!");i.loading("登录中...",0),c.value=!0,a.value;const[s]=await T(w.login(a.value));s?(G.error({title:()=>"提示",content:()=>s.message}),p()):(i.success("登录成功!"),setTimeout(()=>h.replace(g.query.redirect||"/"))),c.value=!1,i.destroy()};return(n,t)=>{const l=j,s=q,y=M("a-button"),b=E;return k(),z("div",W,[Y,e(b,{layout:"horizontal",model:a.value,onSubmit:A(x,["prevent"])},{default:o(()=>[e(s,null,{default:o(()=>[e(l,{value:a.value.username,"onUpdate:value":t[0]||(t[0]=r=>a.value.username=r),size:"large",placeholder:"admin"},{prefix:o(()=>[e(_(f),{icon:"ant-design:user-outlined"})]),_:1},8,["value"])]),_:1}),e(s,null,{default:o(()=>[e(l,{value:a.value.password,"onUpdate:value":t[1]||(t[1]=r=>a.value.password=r),size:"large",type:"password",placeholder:"a123456",autocomplete:"new-password"},{prefix:o(()=>[e(_(f),{icon:"ant-design:lock-outlined"})]),_:1},8,["value"])]),_:1}),e(s,null,{default:o(()=>[e(l,{value:a.value.verifyCode,"onUpdate:value":t[2]||(t[2]=r=>a.value.verifyCode=r),placeholder:"验证码",maxlength:4,size:"large"},{prefix:o(()=>[e(_(f),{icon:"ant-design:safety-outlined"})]),suffix:o(()=>[d("img",{src:v.value,class:"absolute right-0 h-full cursor-pointer",onClick:p},null,8,D)]),_:1},8,["value"])]),_:1}),e(s,null,{default:o(()=>[e(y,{type:"primary","html-type":"submit",size:"large",loading:c.value,block:""},{default:o(()=>[B(" 登录 ")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])}}}),Q=$(H,[["__scopeId","data-v-9bd3ff02"]]);export{Q as default}; diff --git a/assets/index-CJ15q10t.js b/assets/index-CJ15q10t.js new file mode 100644 index 000000000..b6e48770f --- /dev/null +++ b/assets/index-CJ15q10t.js @@ -0,0 +1 @@ +import{A as _,d as q}from"./index-D5NK1dvb.js";import{_ as K,b as V}from"./AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js";import A from"./DeptTree-Dtex6bp7.js";import{au as L,M,bd as B,ae as N}from"./antdv-CA3HmnGF.js";import{d as k,f as y,W as E,a5 as O,a6 as c,Z as P,G as p,c as F,X as T,Y as r,k as a,am as X,u as b,ak as R,ac as W}from"./vue-Dbi1xauY.js";import{u as G}from"./dynamic-table-BEdsLSS6.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as j}from"./useFormModal-DHZbCRb3.js";import{f as Y}from"./common-Cs_BZJVP.js";import"./dateUtil-CLVblcqH.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./useModal-D-vJhjJN.js";const Z=[{field:"avatar",component:()=>K,label:"头像"},{field:"deptId",component:"TreeSelect",label:"所属部门",componentProps:{fieldNames:{label:"name",value:"id"},getPopupContainer:()=>document.body},rules:[{required:!0,type:"number"}]},{field:"roleIds",component:"Select",label:"所属角色",rules:[{required:!0,type:"array"}],componentProps:{mode:"multiple",request:async()=>{const{items:h=[]}=await _.systemRole.roleList({});return h.map(n=>({label:n.name,value:n.id}))}}},{field:"username",component:"Input",label:"用户名",rules:[{required:!0}]},{field:"password",label:"密码",component:"InputPassword",componentProps:{placeholder:"无需修改请留空"}},{field:"nickname",component:"Input",label:"呢称",colProps:{span:12}},{field:"email",component:"Input",label:"邮箱",colProps:{span:12}},{field:"phone",component:"Input",label:"手机",colProps:{span:12}},{field:"remark",component:"InputTextArea",label:"备注"},{field:"status",component:"RadioGroup",label:"状态",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}}],z={class:"split-wrapper"},H={class:"left-content"},J=c("i",null,null,-1),Q=c("i",null,null,-1),ee=[J,Q],te={class:"right-content"},oe=k({__name:"index",setup(h){const n=y();let o,v;const m=L(function(l){n.value&&(n.value.style.width=`${v+l.clientX-o}px`)},20),d=()=>{document.documentElement.style.userSelect="unset",document.documentElement.removeEventListener("mousemove",m),document.documentElement.removeEventListener("mouseup",d)},i=l=>{o=l.clientX,n.value&&(v=parseInt(window.getComputedStyle(n.value).width,10)),document.documentElement.style.userSelect="none",document.documentElement.addEventListener("mousemove",m),document.documentElement.addEventListener("mouseup",d)};return(l,g)=>(E(),O("div",z,[c("div",{ref_key:"scalable",ref:n,class:"scalable"},[c("div",H,[P(l.$slots,"left-content",{},()=>[p(" 右边内容区 ")])]),c("div",{ref:"separator",class:"separator",onMousedown:i},ee,544)],512),c("div",te,[P(l.$slots,"right-content",{},()=>[p(" 右边内容区 ")])])]))}}),ye=k({name:"SystemUser",__name:"index",setup(h){const[n,o]=G({formProps:{autoSubmitOnEnter:!0}}),[v]=j(),m=y(),d=y([]),i=y({selectedRowKeys:[],onChange:(e,s)=>{`${e}`,i.value.selectedRowKeys=e}}),l=F(()=>i.value.selectedRowKeys.length),g=async e=>{const s=await _.systemUser.userList({...e,deptId:m.value});return i.value.selectedRowKeys=[],s},C=async(e={})=>{const{userCreate:s,userUpdate:f}=_.systemUser,w=!!e.id,[t]=await v({modalProps:{title:`${w?"编辑":"新增"}用户`,width:700,onFinish:async u=>{u.id=e.id,e.id?await f({id:e.id},u):await s(u),o==null||o.reload()}},formProps:{labelWidth:100,schemas:Z,autoSubmitOnEnter:!0}});if(e.id){const{roles:u,dept:I}=await _.systemUser.userRead({id:e.id});t==null||t.setFieldsValue({...e,deptId:I.id,roleIds:u.map(U=>U.id)}),t==null||t.updateSchema([{field:"username",componentProps:{disabled:!0}},{field:"password",required:!1}])}else t==null||t.updateSchema([{field:"username",componentProps:{disabled:!1}},{field:"password",required:!0,defaultValue:"a123456",componentProps:{placeholder:"请输入"}}]);t==null||t.updateSchema([{field:"deptId",componentProps:{treeDefaultExpandedKeys:Y(d.value,t==null?void 0:t.getFieldsValue().deptId)||[],treeData:d.value}}])},S=async e=>{const{userDelete:s}=_.systemUser;Array.isArray(e)?M.confirm({title:"确定要删除所选的用户吗?",icon:a(B,null,null),centered:!0,onOk:async()=>{await s({id:e.join(",")}),o==null||o.reload()}}):await s({id:e}).finally(o==null?void 0:o.reload)},$=e=>{m.value=e,o==null||o.reload()},D=e=>{d.value=e},x=[...V,{title:"操作",width:80,dataIndex:"ACTION",fixed:"right",actions:({record:e})=>[{icon:"ant-design:edit-outlined",tooltip:"编辑用户资料",auth:{perm:"system:user:update",effect:"disable"},onClick:()=>C(e)},{icon:"ant-design:delete-outlined",color:"red",tooltip:"删除此账号",auth:"system:user:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>S(e.id)}}]}];return(e,s)=>{const f=W("a-button"),w=q;return E(),T(b(oe),null,{"left-content":r(()=>[a(A,{onSelect:$,onInit:D})]),"right-content":r(()=>[a(b(n),{"header-title":"用户管理","show-index":"","title-tooltip":"请不要随意删除用户,避免到影响其他用户的使用。","data-request":g,columns:x,scroll:{x:2e3},"row-selection":i.value},X({toolbar:r(()=>[a(f,{type:"primary",disabled:!e.$auth("system:user:create"),onClick:s[1]||(s[1]=t=>C({}))},{default:r(()=>[a(w,{icon:"ant-design:plus-outlined"}),p(" 新增 ")]),_:1},8,["disabled"]),a(f,{type:"error",disabled:!l.value||!e.$auth("system:user:delete"),onClick:s[2]||(s[2]=t=>S(i.value.selectedRowKeys))},{default:r(()=>[a(w,{icon:"ant-design:delete-outlined"}),p(" 删除 ")]),_:1},8,["disabled"])]),_:2},[l.value?{name:"title",fn:r(()=>[a(b(N),{class:"w-full",type:"info","show-icon":""},{message:r(()=>[p(" 已选 "+R(l.value)+" 项 ",1),a(f,{type:"link",onClick:s[0]||(s[0]=t=>i.value.selectedRowKeys=[])},{default:r(()=>[p("取消选择")]),_:1})]),_:1})]),key:"0"}:void 0]),1032,["row-selection"])]),_:1})}}});export{ye as default}; diff --git a/assets/index-CT-IClhL.js b/assets/index-CT-IClhL.js new file mode 100644 index 000000000..fcdbea546 --- /dev/null +++ b/assets/index-CT-IClhL.js @@ -0,0 +1 @@ +import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{e as c,ac as u,ae as d}from"./antdv-CA3HmnGF.js";import{_ as m}from"./index-D5NK1dvb.js";import{_ as f}from"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import{d as _,f as b,W as v,a5 as P,k as l,Y as n,u as i,_ as h,a7 as g,a8 as y,a6 as q}from"./vue-Dbi1xauY.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./dateUtil-CLVblcqH.js";const k=[{field:"field1.dd.cc",component:"Input",label:"字段1",colProps:{span:8},required:!0},{field:"field2",component:"Input",label:"字段2",colProps:{span:8},required:!0},{field:"id",label:"id",required:!0,defaultValue:0,component:"InputNumber",vShow:!1},{field:"field3",component:"DatePicker",label:"字段3",colProps:{span:8},required:!0},{field:"field33",component:"DatePicker",label:"字段33",colProps:{span:8},componentProps:{valueFormat:"YYYY-MM-DD"},rules:[{required:!0,type:"string"}]},{field:"field4",component:"Select",label:"字段4",colProps:{span:8},componentProps:{mode:"multiple",options:[{label:"选项1",value:"1",key:"1"},{label:"选项2",value:"2",key:"2"}]},rules:[{required:!0,message:"请输入aa",type:"array"}]},{field:"field441",component:"Input",label:"自定义校验",colProps:{span:8},rules:[{required:!0,validator:async(o,e)=>e?e==="1"?Promise.reject("值不能为1"):Promise.resolve():Promise.reject("值不能为空"),trigger:"change"}]},{field:"field5",component:"CheckboxGroup",label:"字段5",colProps:{span:8},componentProps:{options:[{label:"选项1",value:"1"},{label:"选项2",value:"2"}]},rules:[{required:!0}]},{field:"field7",component:"RadioGroup",label:"字段7",colProps:{span:8},componentProps:{options:[{label:"选项1",value:"1"},{label:"选项2",value:"2"}]},rules:[{required:!0,message:"覆盖默认生成的校验信息"}]},{field:"field8",component:"Input",label:"后端异步验证",colProps:{span:8},helpMessage:["本字段演示异步验证","本地规则:必须填写","后端规则:不能包含admin"],rules:[{required:!0,message:"请输入数据"},{validator(o,e=""){const{promise:a,resolve:s,reject:r}=Promise.withResolvers();return setTimeout(()=>{e.includes("admin")?r("该字段不能包含admin关键字"):s()},100),a}}]}],x=o=>(g("data-v-0551fdf8"),o=o(),y(),o),I=x(()=>q("a",{class:"text-blue-500",target:"_blank",href:"https://github.com/buqiyuan/vue3-antdv-admin/blob/main/src/views/demos/form/rule-form/index.vue"}," 查看源码 ",-1)),S=_({name:"DemosFormRuleForm",__name:"index",setup(o){const e=b(),a={schemas:k,labelWidth:120,actionColOptions:{span:24}};function s(r){var t;(t=e.value)==null||t.validate().then(()=>{c.success(JSON.stringify(r))})}return(r,t)=>{const p=u;return v(),P("div",null,[l(i(d),{message:"验证表单",description:"动态验证表单",type:"info","show-icon":"",style:{"margin-bottom":"12px"}},{description:n(()=>[I]),_:1}),l(p,null,{default:n(()=>[l(i(f),h({ref_key:"dynamicForm",ref:e},a,{onSubmit:s}),null,16)]),_:1})])}}}),M=m(S,[["__scopeId","data-v-0551fdf8"]]);export{M as default}; diff --git a/assets/index-CbIF2RsB.js b/assets/index-CbIF2RsB.js new file mode 100644 index 000000000..b6ec66709 --- /dev/null +++ b/assets/index-CbIF2RsB.js @@ -0,0 +1 @@ +import{J as q,K as D,M as S,N as E,O as T,g as z,_ as F,d as k,A as y,Q as G,D as K}from"./index-D5NK1dvb.js";import{f as B}from"./dateUtil-CLVblcqH.js";import{d as j,at as L,as as U,f as w,c as W,W as _,X as P,Y as c,k as r,a5 as M,F as H,ae as J,u as d,ai as Q,_ as X,am as Y,a as Z,G as b,l as R,g as ee,a6 as te,ac as ne}from"./vue-Dbi1xauY.js";import{z as oe,T as ae,L as se,b6 as le,al as ie,U as h}from"./antdv-CA3HmnGF.js";import{f as re,s as A}from"./common-Cs_BZJVP.js";import{u as pe}from"./dynamic-table-BEdsLSS6.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as ue}from"./useFormModal-DHZbCRb3.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./useModal-D-vJhjJN.js";const ce=["title","onClick"],de=j({inheritAttrs:!1,__name:"IconPicker",props:L(q,{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){D();const i=U(e,"value"),n=Object.entries(S).reduce((o,[s,l])=>(o[s]=Object.keys(l.icons).map(g=>({name:`${l.prefix}:${g}`})),o),{全部:Object.values(S).flatMap(o=>Object.keys(o.icons).map(s=>({name:`${o.prefix}:${s}`})))}),p=w(!1),a=w("全部"),m=w(""),v=W(()=>n[a.value].filter(s=>s.name.includes(m.value))),I=z(o=>{m.value=o.target.value},100),t=o=>{i.value=o,p.value=!1};return(o,s)=>{const l=oe,g=ae,C=se,O=le,N=ie;return _(),P(N,null,{default:c(()=>[r(O,{open:p.value,"onUpdate:open":s[2]||(s[2]=u=>p.value=u),placement:"bottomLeft","overlay-inner-style":{paddingTop:0},trigger:"click"},{title:c(()=>[r(g,{activeKey:a.value,"onUpdate:activeKey":s[0]||(s[0]=u=>a.value=u),size:"small","tab-bar-style":{marginBottom:"8px"}},{default:c(()=>[(_(!0),M(H,null,J(d(n),(u,x)=>(_(),P(l,{key:x,tab:x},null,8,["tab"]))),128))]),_:1},8,["activeKey"]),r(C,{autofocus:"","allow-clear":"",placeholder:`从“${a.value}”中搜索图标`,onChange:d(I)},null,8,["placeholder","onChange"])]),content:c(()=>[r(d(E),{class:"select-box",items:v.value,"key-field":"name","item-size":38,"grid-items":9,"item-secondary-size":38},{default:c(({item:u})=>[(_(),M("div",{key:u.name,title:u.name,class:Q([{active:i.value==u.name},"select-box-item"]),onClick:x=>t(u.name)},[r(d(T),{icon:u.name,class:"text-[20px]"},null,8,["icon"])],10,ce))]),_:1},8,["items"])]),default:c(()=>[r(C,X(o.$attrs,{value:i.value,"onUpdate:value":s[1]||(s[1]=u=>i.value=u),placeholder:o.placeholder,"allow-clear":""}),Y({_:2},[i.value?{name:"prefix",fn:c(()=>[r(d(T),{icon:i.value,class:"text-[20px]"},null,8,["icon"])]),key:"0"}:void 0]),1040,["value","placeholder"])]),_:1},8,["open"])]),_:1})}}}),me=F(de,[["__scopeId","data-v-7c9eece7"]]);function $(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Z(e)}const fe=e=>{switch(e){case 0:return r(h,{color:"warning"},{default:()=>[b("目录")]});case 1:return r(h,{color:"success"},{default:()=>[b("菜单")]});case 2:return r(h,{color:"error"},{default:()=>[b("权限")]});default:return""}},ye=[{title:"名称",dataIndex:"name",align:"left",fixed:"left",width:200},{title:"图标",width:40,dataIndex:"icon",hideInSearch:!0,customRender:({record:e})=>e.icon&&r(k,{icon:e.icon,size:"22"},null)},{title:"类型",width:80,dataIndex:"type",hideInSearch:!0,customRender:({record:e})=>fe(e.type)},{title:"节点路由",dataIndex:"path",width:180,ellipsis:!0},{title:"文件路径",width:180,dataIndex:"component"},{title:"权限标识",width:180,dataIndex:"permission",hideInSearch:!0,customRender:({record:e})=>e.permission&&r(h,{color:"processing"},{default:()=>[e.permission]})},{title:"排序",width:50,dataIndex:"orderNo",hideInSearch:!0},{title:"路由缓存",dataIndex:"keepalive",width:80,hideInSearch:!0,customRender:({record:e})=>e.type===1&&(e.keepAlive?"是":"否")},{title:"是否显示",dataIndex:"show",width:80,hideInSearch:!0,customRender:({record:e})=>{const n=~~e.show===1,p=n?"green":"red",a=n?"显示":"隐藏";return r(h,{color:p},$(a)?a:{default:()=>[a]})}},{title:"状态",dataIndex:"status",width:80,hideInSearch:!0,customRender:({record:e})=>{const n=~~e.status===1,p=n?"green":"red",a=n?"启用":"停用";return r(h,{color:p},$(a)?a:{default:()=>[a]})}},{title:"更新时间",width:180,dataIndex:"updatedAt",hideInSearch:!0,customRender({text:e}){return B(e)}}],be=e=>e===0,V=e=>e===1,f=e=>e===2,he=()=>[{field:"type",component:"RadioGroup",label:"菜单类型",defaultValue:0,rules:[{required:!0,type:"number"}],componentProps:{options:[{label:"目录",value:0},{label:"菜单",value:1},{label:"权限",value:2}]}},{field:"name",component:"Input",label:({formModel:e})=>f(e.type)?"权限名称":"节点名称",rules:[{required:!0,type:"string"}]},{field:"parentId",component:"TreeSelect",label:"上级节点",componentProps:{fieldNames:{label:"name",value:"id"},request:async({schema:e,formModel:i})=>{const n=await y.systemMenu.menuList({}),p=[-1].concat(re(n,i.parentId)||[]);return e.value.componentProps.treeDefaultExpandedKeys=p,[{id:-1,name:"根目录",children:n}]},getPopupContainer:()=>document.body},rules:[{required:!0,type:"number"}]},{field:"path",component:"Input",label:"路由地址",vIf:({formModel:e})=>!f(e.type),rules:[{required:!0,type:"string"}]},{field:"permission",component:"Input",label:"权限",helpMessage:"对应控制器中定义的权限字符,如:@Perm('system:menu:list'))",vIf:({formModel:e})=>!be(e.type),required:({formModel:e})=>f(e.type),afterSlot:({schema:e,formInstance:i,formModel:n})=>e.value.component==="Input"?R(k,{icon:"ant-design:folder-open-outlined",title:"选择权限",class:"ml-[12px] cursor-pointer",onclick:async()=>{const p=await y.systemMenu.menuGetPermissions();typeof n.permission=="string"&&(n.permission=n.permission.split(":")),i.updateSchema({field:"permission",component:"Cascader",componentProps:{displayRender:({labels:a})=>a.join(":"),options:p.reduce((a,m)=>(A(m,a,":"),a),[])}})}}):R(k,{icon:"ant-design:edit-outlined",title:"手动输入",class:"ml-[12px] cursor-pointer",onclick:()=>{Array.isArray(n.permission)&&(n.permission=n.permission.join(":")),i.updateSchema({field:"permission",component:"Input"})}})},{field:"component",component:"Cascader",label:"文件路径",vIf:({formModel:e})=>V(e.type)&&!e.isExt,componentProps:{options:Object.keys(G).reduce((e,i)=>(A(i,e,"/"),e),[])},rules:[{required:!0,type:"array"}]},{field:"icon",component:()=>me,label:"节点图标",vIf:({formModel:e})=>!f(e.type)},{field:"orderNo",component:"InputNumber",label:"排序号",defaultValue:255,componentProps:{style:{width:"100%"}}},{field:"isExt",component:"RadioGroup",label:"是否外链",defaultValue:!1,helpMessage:"选择是外链则路由地址需要以`http(s)://`开头",colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:!0},{label:"否",value:!1}]},vIf:({formModel:e})=>!f(e.type)},{field:"extOpenMode",component:"RadioGroup",label:"打开方式",defaultValue:1,vIf:({formModel:e})=>!f(e.type)&&e.isExt,colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"新窗口打开",value:1},{label:"内嵌页打开",value:2}]}},{field:"keepAlive",component:"RadioGroup",label:"是否缓存",defaultValue:0,vIf:({formModel:e})=>V(e.type),colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:1},{label:"否",value:0}]}},{field:"show",component:"RadioGroup",label:"是否显示",defaultValue:1,colProps:{span:12},helpMessage:"会生成路由,但左侧菜单不可见",componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:1},{label:"否",value:0}]},vIf:({formModel:e})=>!f(e.type)},{field:"activeMenu",component:"Input",label:"高亮菜单项",colProps:{span:12},helpMessage:"值为某个的节点名称(可设置当前路由高亮的菜单项,多用于详情页)",componentProps:{placeholder:"需要高亮的菜单项(节点名称)"},vIf:({formModel:e})=>!e.show&&!f(e.type)},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,helpMessage:"不会生成路由,同时左侧菜单不可见",componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"启用",value:1},{label:"禁用",value:0}]}}],_e={class:"flex gap-2 ml-2"},$e=j({name:"SysMenu",__name:"index",setup(e){const[i,n]=pe({pagination:!1,size:"small",rowKey:"id",bordered:!0,autoHeight:!0}),[p]=ue(),a=ee();K(document.documentElement,()=>{var o;const t=(o=a==null?void 0:a.proxy)==null?void 0:o.$el;t&&n.setProps({scroll:{x:window.innerWidth>2e3?t.offsetWidth-20:2e3}})});const m=async t=>{var s;const[o]=await p({modalProps:{title:`${t.id?"编辑":"新增"}菜单`,width:700,onFinish:async l=>{t.id&&(l.menuId=t.id),Array.isArray(l.component)&&(l.component=l.component.join("/")),Array.isArray(l.permission)&&(l.permission=l.permission.join(":")),l.parentId===-1&&Reflect.deleteProperty(l,"parentId"),t.id?await y.systemMenu.menuUpdate({id:t.id},l):await y.systemMenu.menuCreate(l),n.reload()}},formProps:{labelWidth:100,schemas:he()}});o==null||o.setFieldsValue({...t,icon:t.icon??"",parentId:t.parentId??-1,component:(s=t.component)==null?void 0:s.split("/")})},v=async t=>{await y.systemMenu.menuDelete({id:t.id}),n.reload()},I=[...ye,{title:"操作",width:160,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:t})=>[{label:"编辑",auth:{perm:"system:menu:update",effect:"disable"},onClick:()=>m(t)},{label:"新增",auth:{perm:"system:menu:create",effect:"disable"},disabled:t.type===2||t.status===0,onClick:()=>m({parentId:t.id})},{label:"删除",auth:"system:menu:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>v(t)}}]}];return(t,o)=>{const s=ne("a-button");return _(),P(d(i),{"header-title":"菜单管理","data-request":d(y).systemMenu.menuList,columns:I},{afterHeaderTitle:c(()=>[te("div",_e,[r(s,{onClick:d(n).expandAll},{default:c(()=>[b("展开全部")]),_:1},8,["onClick"]),r(s,{onClick:d(n).collapseAll},{default:c(()=>[b("折叠全部")]),_:1},8,["onClick"])])]),toolbar:c(()=>[r(s,{type:"primary",disabled:!t.$auth("system:menu:create"),onClick:o[0]||(o[0]=l=>m({}))},{default:c(()=>[b(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])}}});export{$e as default}; diff --git a/assets/index-CgQRb_6V.js b/assets/index-CgQRb_6V.js new file mode 100644 index 000000000..0a2a1a3e1 --- /dev/null +++ b/assets/index-CgQRb_6V.js @@ -0,0 +1 @@ +import{_,s as f,b as h}from"./upload-modal.vue_vue_type_script_setup_true_lang-C6dxBafa.js";import{u as v}from"./dynamic-table-BEdsLSS6.js";import{A as u}from"./index-D5NK1dvb.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{b2 as b}from"./antdv-CA3HmnGF.js";import{d as g,f as S,W as k,a5 as x,k as l,Y as c,G as w,u as i,ac as C}from"./vue-Dbi1xauY.js";import"./dateUtil-CLVblcqH.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";const E=g({name:"ToolsStorage",__name:"index",setup(y){const e=S([]),[m,o]=v({formProps:{schemas:f},rowSelection:{type:"checkbox",selectedRowKeys:e,onSelect:(t,r)=>{r?e.value=[...e.value,t.id]:e.value=e.value.filter(a=>a!==t.id)},onSelectAll:(t,r,a)=>{const s=a.map(n=>n.id);t?e.value=[...e.value,...s]:e.value=e.value.filter(n=>!s.includes(n))}}}),d=()=>{o==null||o.reload()},p=async()=>{await u.toolsStorage.storageDelete({ids:e.value}),e.value=[],o==null||o.reload()};return(t,r)=>{const a=C("a-button"),s=b;return k(),x("div",null,[l(i(m),{"row-key":"id","header-title":"存储管理","data-request":i(u).toolsStorage.storageList,columns:i(h),bordered:"",size:"small"},{toolbar:c(()=>[l(_,{onUploadSuccess:d}),l(s,{title:"你确定要删除这些数据吗?","ok-text":"确定","cancel-text":"取消",onConfirm:p},{default:c(()=>[l(a,{disabled:!t.$auth("tool:storage:delete")||!e.value.length,type:"error"},{default:c(()=>[w(" 删除 ")]),_:1},8,["disabled"])]),_:1})]),_:1},8,["data-request","columns"])])}}});export{E as default}; diff --git a/assets/index-CgmZP_PU.js b/assets/index-CgmZP_PU.js new file mode 100644 index 000000000..a441b3b11 --- /dev/null +++ b/assets/index-CgmZP_PU.js @@ -0,0 +1 @@ +import{f}from"./index-CDgH2F_h.js";import{A as $,_ as D}from"./index-D5NK1dvb.js";import{bq as F,br as j,Q as r,U as x,ac as p}from"./antdv-CA3HmnGF.js";import{d as S,c as m,W as k,X as V,au as A,av as G,u as e,r as R,I as T,o as q,j as E,a5 as M,k as a,Y as t,G as s,ak as l,F as H,ae as O,a6 as _}from"./vue-Dbi1xauY.js";import"./is-bed24ebq.js";const b=S({__name:"index",props:{...F(),strokeColor:{type:[String,Object,Function]}},setup(g){const n=g,I=m(()=>typeof n.strokeColor=="function"?{...n,strokeColor:n.strokeColor(n.percent)}:{...n,strokeColor:n.strokeColor});return(d,c)=>(k(),V(e(j),A(G(I.value)),null,16))}}),Q={class:"sys-server-stat-container"},W={class:"disk-info"},X={class:"disk-info--item"},Y={class:"disk-info"},J={class:"disk-info--item"},K=S({name:"SystemMonitorServe",__name:"index",setup(g){let n;const I=R({runtime:{os:"",arch:"",nodeVersion:"",npmVersion:""},disk:{size:0,used:0,available:0},memory:{total:0,available:0},cpu:{manufacturer:"",brand:"",physicalCores:0,model:"",speed:0,rawCurrentLoad:0,rawCurrentLoadIdle:0,coresLoad:[]}}),{runtime:d,disk:c,memory:u,cpu:i}=T(I),h=m(()=>({size:f(c.value.size),used:f(c.value.used),available:f(c.value.available)})),y=m(()=>({total:f(u.value.total),free:f(u.value.available),used:f(u.value.total-u.value.available)})),U=m(()=>c.value.size<=0?0:Math.floor(c.value.used/c.value.size*100)),B=m(()=>u.value.total<=0?0:Math.floor((u.value.total-u.value.available)/u.value.total*100)),N=m(()=>`${i.value.manufacturer} ${i.value.brand} @ ${i.value.speed}GHz`),z=async()=>{const o=await $.systemServe.serveStat();d.value=o.runtime,c.value=o.disk,u.value=o.memory,i.value=o.cpu};z();const v=o=>o<30?"#5cb87a":o<70?"#e6a23c":"#f53f3f",L=(o,C)=>C<=0?0:Math.floor(o/C*100);return q(()=>{n=setInterval(z,1e4)}),E(()=>{clearInterval(n)}),(o,C)=>(k(),M("div",Q,[a(e(p),{class:"stat-card",title:"运行环境"},{default:t(()=>[a(e(r),{column:1,"label-style":{width:"50%"}},{default:t(()=>[a(e(r).Item,{label:"操作系统"},{default:t(()=>[s(l(e(d).os),1)]),_:1}),a(e(r).Item,{label:"系统架构"},{default:t(()=>[s(l(e(d).arch),1)]),_:1}),a(e(r).Item,{label:"Node版本"},{default:t(()=>[a(e(x),{color:"processing",size:"small"},{default:t(()=>[s("v"+l(e(d).nodeVersion),1)]),_:1})]),_:1}),a(e(r).Item,{label:"NPM版本"},{default:t(()=>[a(e(x),{color:"processing",size:"small"},{default:t(()=>[s("v"+l(e(d).npmVersion),1)]),_:1})]),_:1})]),_:1})]),_:1}),a(e(p),{class:"stat-card",title:"CPU"},{default:t(()=>[a(e(r),{column:1,"label-style":{width:"50%"},"content-style":{width:"50%"}},{default:t(()=>[a(e(r).Item,{label:"详细"},{default:t(()=>[s(l(N.value),1)]),_:1}),a(e(r).Item,{label:"负载"},{default:t(()=>[a(b,{percent:L(e(i).rawCurrentLoad,e(i).rawCurrentLoadIdle+e(i).rawCurrentLoad),"stroke-color":v},null,8,["percent"])]),_:1}),(k(!0),M(H,null,O(e(i).coresLoad,(w,P)=>(k(),V(e(r).Item,{key:P,label:`核心${P+1} 负载`},{default:t(()=>[a(b,{percent:L(w.rawLoad,w.rawLoad+w.rawLoadIdle),"stroke-color":v},null,8,["percent"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),a(e(p),{class:"stat-card",title:"磁盘"},{default:t(()=>[_("div",W,[a(e(r),{class:"disk-info--item",column:1},{default:t(()=>[a(e(r).Item,{label:"总空间"},{default:t(()=>[s(l(h.value.size),1)]),_:1}),a(e(r).Item,{label:"已用空间"},{default:t(()=>[s(l(h.value.used),1)]),_:1}),a(e(r).Item,{label:"可用空间"},{default:t(()=>[s(l(h.value.available),1)]),_:1})]),_:1}),_("div",X,[a(b,{type:"dashboard",percent:U.value,width:100,"stroke-color":v},null,8,["percent"])])])]),_:1}),a(e(p),{class:"stat-card",title:"内存"},{default:t(()=>[_("div",Y,[a(e(r),{class:"disk-info--item",column:1},{default:t(()=>[a(e(r).Item,{label:"总内存"},{default:t(()=>[s(l(y.value.total),1)]),_:1}),a(e(r).Item,{label:"已用内存"},{default:t(()=>[s(l(y.value.used),1)]),_:1}),a(e(r).Item,{label:"可用内存"},{default:t(()=>[s(l(y.value.free),1)]),_:1})]),_:1}),_("div",J,[a(b,{type:"dashboard",percent:B.value,width:100,"stroke-color":v},null,8,["percent"])])])]),_:1})]))}}),se=D(K,[["__scopeId","data-v-6f1f0887"]]);export{se as default}; diff --git a/assets/index-CiuPRf02.js b/assets/index-CiuPRf02.js new file mode 100644 index 000000000..f4b7d8e8c --- /dev/null +++ b/assets/index-CiuPRf02.js @@ -0,0 +1 @@ +import{b as I}from"./columns-hGlKOK8p.js";import{k as i,a as C,aA as R,d as T,f as b,W as D,a5 as g,am as k,u as l,Y as p,G as v,ac as A}from"./vue-Dbi1xauY.js";import{f as P}from"./dateUtil-CLVblcqH.js";import{z as S,A as d}from"./index-D5NK1dvb.js";import{U as N,bc as V}from"./antdv-CA3HmnGF.js";import{u as $}from"./dynamic-table-BEdsLSS6.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import{u as q}from"./useFormModal-DHZbCRb3.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";import"./useModal-D-vJhjJN.js";function F(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!C(e)}const f="字典项管理",L=e=>S.hasRoute(f)?i(R,{to:{name:f,params:{id:e.id}}},{default:()=>[e.code]}):e.code,M=[{title:"ID",dataIndex:"id",sorter:!0,width:60},{title:"字典名称",dataIndex:"name"},{title:"字典编码",dataIndex:"code",customRender:({record:e})=>i(L,e,null)},{title:"状态",dataIndex:"status",width:80,customRender:({record:e})=>{const n=~~e.status===1,c=n?"green":"red",a=n?"启用":"停用";return i(N,{color:c},F(a)?a:{default:()=>[a]})}},{title:"备注",dataIndex:"remark"},{title:"更新时间",dataIndex:"updatedAt",sorter:!0,width:160,customRender:({record:e})=>P(e.createdAt)}],j=[{field:"name",label:"字典名称",component:"Input",colProps:{span:8}},{field:"code",label:"字典编码",component:"Input",colProps:{span:8}}],z=[{field:"name",component:"Input",label:"字典名称",rules:[{required:!0,type:"string"}]},{field:"code",component:"Input",label:"字典编码",rules:[{required:!0,type:"string"}]},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}},{field:"remark",component:"InputTextArea",label:"备注",colProps:{span:24}}],ee=T({name:"SystemDict",__name:"index",setup(e){const r=b({}),n=b({}),[c,a]=$({formProps:{schemas:j}}),[h]=q(),y=async t=>{const[s]=await h({modalProps:{title:`${t.id?"编辑":"新增"}字典`,width:"50%",onFinish:async o=>{t.id?await d.systemDictType.dictTypeUpdate({id:t.id},o):await d.systemDictType.dictTypeCreate(o),a==null||a.reload()}},formProps:{labelWidth:120,schemas:z}});s==null||s.setFieldsValue({...t})},x=async t=>{await d.systemDictType.dictTypeDelete({id:t.id}),a==null||a.reload()},w=[...M,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:t})=>[{label:"编辑",auth:{perm:"system:dict-type:update",effect:"disable"},onClick:()=>y(t)},{label:"删除",auth:"system:dict-type:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>x(t)}}]}],_=async(t,s)=>{const o=s.id;if(t){n.value[o]=!0;const{items:m=[]}=await d.systemDictItem.dictItemList({typeId:o}).finally(()=>n.value[o]=!1);r.value[o]=m}};return(t,s)=>{const o=A("a-button"),m=V;return D(),g("div",null,[i(l(c),{"row-key":"id","header-title":"字典管理","data-request":l(d).systemDictType.dictTypeList,columns:w,bordered:"",size:"small",onExpand:_},k({toolbar:p(()=>[i(o,{type:"primary",disabled:!t.$auth("system:dict-type:create"),onClick:s[0]||(s[0]=u=>y({}))},{default:p(()=>[v(" 新增 ")]),_:1},8,["disabled"])]),_:2},[t.$router.hasRoute(l(f))?{name:"expandedRowRender",fn:p(({record:u})=>[i(m,{size:"small",columns:l(I),loading:n.value[u.id],"data-source":r.value[u.id],pagination:!1},null,8,["columns","loading","data-source"])]),key:"0"}:void 0]),1032,["data-request"])])}}});export{ee as default}; diff --git a/assets/index-CjXm4muF.js b/assets/index-CjXm4muF.js new file mode 100644 index 000000000..86881cae1 --- /dev/null +++ b/assets/index-CjXm4muF.js @@ -0,0 +1 @@ +import{r as R,a as m,w as _}from"./dynamic-table-BEdsLSS6.js";import{d as F}from"./dateUtil-CLVblcqH.js";import{d as C,f as g,u as w,W as E,a5 as b,m as I,A as $,a6 as N,Z as j}from"./vue-Dbi1xauY.js";import{_ as U}from"./index-D5NK1dvb.js";import{w as A}from"./index-CDgH2F_h.js";import"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import"./antdv-CA3HmnGF.js";const B=C({name:"ImportExcel",props:{dateFormat:{type:String},timeZone:{type:Number,default:8}},emits:["success","error"],setup(r,{emit:o}){const s=g(null),u=g(!1);function d(e){if(!e||!e["!ref"])return[];const t=[],n=m.decode_range(e["!ref"]),h=n.s.r;for(let a=n.s.c;a<=n.e.c;++a){const i=e[m.encode_cell({c:a,r:h})];let p=`UNKNOWN ${a}`;i&&i.t&&(p=m.format_cell(i)),t.push(p)}return t}function c(e){const t=[],{dateFormat:n,timeZone:h}=r;for(const a of e.SheetNames){const i=e.Sheets[a],p=d(i);let k=m.sheet_to_json(i,{raw:!0,dateNF:n});k=k.map(f=>{for(const y in f)f[y]instanceof Date&&(h===8&&f[y].setSeconds(f[y].getSeconds()+43),n&&(f[y]=F(f[y]).format(n)));return f}),t.push({header:p,results:k,meta:{sheetName:a}})}return t}function l(e){u.value=!0;const{promise:t,resolve:n,reject:h}=Promise.withResolvers(),a=new FileReader;return a.onload=async i=>{try{const p=i.target&&i.target.result,k=R(p,{type:"array",cellDates:!0}),f=c(k);o("success",f),n("")}catch(p){h(p),o("error")}finally{u.value=!1}},a.readAsArrayBuffer(e),t}async function x(e){const t=w(s);t&&(t.value=""),await l(e)}function S(e){const t=e&&e.target.files,n=t&&t[0];n&&x(n)}function D(){const e=w(s);e&&e.click()}return{handleUpload:D,handleInputClick:S,inputRef:s}}});function T(r,o,s,u,d,c){return E(),b("div",null,[I(N("input",{ref:"inputRef",type:"file",accept:".xlsx, .xls",onChange:o[0]||(o[0]=(...l)=>r.handleInputClick&&r.handleInputClick(...l))},null,544),[[$,!1]]),N("div",{onClick:o[1]||(o[1]=(...l)=>r.handleUpload&&r.handleUpload(...l))},[j(r.$slots,"default")])])}const Z=U(B,[["render",T]]),v="excel-list.xlsx";function V({data:r,header:o,filename:s=v,json2sheetOpts:u={},write2excelOpts:d={bookType:"xlsx"}}){let c=[...r];if(o){c.unshift(o);const S=Object.keys(o);c=c.map(D=>S.reduce((e,t)=>(e[t]=D[t],e),{})),u.skipHeader=!0}const l=m.json_to_sheet(c,u),x={SheetNames:[s],Sheets:{[s]:l}};_(x,s,d)}function q({data:r,header:o,filename:s=v,write2excelOpts:u={bookType:"xlsx"}}){const d=[...r];o&&d.unshift(o);const c=m.aoa_to_sheet(d),l={SheetNames:[s],Sheets:{[s]:c}};_(l,s,u)}A(Z);export{q as a,V as j}; diff --git a/assets/index-Cjv1gkE0.js b/assets/index-Cjv1gkE0.js new file mode 100644 index 000000000..f54f47a8a --- /dev/null +++ b/assets/index-Cjv1gkE0.js @@ -0,0 +1 @@ +import{u as m}from"./dynamic-table-BEdsLSS6.js";import{A as l}from"./index-D5NK1dvb.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{U as r}from"./antdv-CA3HmnGF.js";import{f as p}from"./dateUtil-CLVblcqH.js";import{d as f,W as h,X as T,u as o,k as n,G as x,a as _}from"./vue-Dbi1xauY.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./is-bed24ebq.js";import"./index-CDgH2F_h.js";function I(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!_(e)}const D=f({name:"SystemScheduleTaskLog",__name:"index",setup(e){const[d]=m(),i=t=>{switch(t){case 0:return"red";case 1:return"green"}},c=t=>{switch(t){case 0:return"失败";case 1:return"成功"}},u=[{title:"ID",dataIndex:"id",width:80,hideInSearch:!0},{title:"任务编号",dataIndex:["task","id"],width:80},{title:"任务名称",dataIndex:["task","name"],width:140},{title:"异常信息",dataIndex:"detail",customRender:({record:t})=>t.detail??"无"},{title:"耗时",dataIndex:"consumeTime",width:80,customRender:({record:t})=>n(r,null,{default:()=>[t.consumeTime,x("ms")]})},{title:"状态",dataIndex:"status",width:100,customRender:({record:t})=>{let a;const s=~~t.status;return n(r,{color:i(s)},I(a=c(s))?a:{default:()=>[a]})}},{title:"执行时间",dataIndex:"createdAt",width:165,customRender:({record:t})=>p(t.createdAt)}];return(t,a)=>(h(),T(o(d),{"header-title":"任务日志","data-request":o(l).systemLog.logTaskList,search:!1,columns:u,size:"middle"},null,8,["data-request"]))}});export{D as default}; diff --git a/assets/index-CkvRAjRT.css b/assets/index-CkvRAjRT.css new file mode 100644 index 000000000..23317b314 --- /dev/null +++ b/assets/index-CkvRAjRT.css @@ -0,0 +1 @@ +.draggable-modal.fullscreen .ant-modal{inset:0!important;width:100%!important;max-width:100vw!important;height:100%!important}.draggable-modal.fullscreen .ant-modal-content{width:100%!important;height:100%!important}.draggable-modal .ant-modal-wrap{overflow-x:hidden}.draggable-modal .ant-modal{position:relative;min-width:200px;min-height:200px;margin:0;padding:0}.draggable-modal .ant-modal .ant-modal-header{user-select:none}.draggable-modal .ant-modal .ant-modal-close{top:6px;right:30px;background-color:transparent;cursor:inherit}.draggable-modal .ant-modal .ant-modal-close:hover,.draggable-modal .ant-modal .ant-modal-close:focus{color:#00000073}.draggable-modal .ant-modal .ant-modal-close .ant-space-item:hover .anticon,.draggable-modal .ant-modal .ant-modal-close .ant-space-item:focus .anticon{color:#000000bf;text-decoration:none}.draggable-modal .ant-modal .ant-modal-close .ant-modal-close-x{width:50px;height:50px;line-height:44px}.draggable-modal .ant-modal .ant-modal-close .ant-modal-close-x .ant-space{width:100%;height:100%}.draggable-modal .ant-modal .ant-modal-content{display:flex;flex-direction:column;width:100%;min-width:200px;height:100%;min-height:200px;padding-top:0;overflow:hidden}.draggable-modal .ant-modal .ant-modal-content .ant-modal-header{padding-top:20px}.draggable-modal .ant-modal .ant-modal-content .ant-modal-body{flex:auto;height:100%;overflow:auto} diff --git a/assets/index-Cplhzeoj.css b/assets/index-Cplhzeoj.css new file mode 100644 index 000000000..0e12e890c --- /dev/null +++ b/assets/index-Cplhzeoj.css @@ -0,0 +1 @@ +.btn-rows button[data-v-9aa67abc]{margin-right:12px} diff --git a/assets/index-D0-KY_sV.js b/assets/index-D0-KY_sV.js new file mode 100644 index 000000000..8985eaf41 --- /dev/null +++ b/assets/index-D0-KY_sV.js @@ -0,0 +1 @@ +import{W as u,a5 as S,m as re,A as $e,a6 as w,a7 as we,a8 as Ce,d as L,c as O,ac as I,X as g,$ as q,aj as V,Y as n,k as t,u as e,G as T,ak as P,F as M,ad as N,B as ie,f as E,ae as R,an as Te,q as Oe,ao as Le,af as de,ah as U,_ as Me,w as X,ai as Y,s as Pe,y as Ee,Z,ap as pe,aq as Re,am as me,h as Ae}from"./vue-Dbi1xauY.js";import{_ as Fe}from"./logo-DzsBprQM.js";import{_ as D,a as Be,b as De,c as _e,d as je,e as G,f as W,L as ve,o as z,g as Ue,t as Ke,h as Ve,i as Ne,j as qe,k as ze,l as Ie,m as Ge,n as fe,p as We,q as te,r as He}from"./index-D5NK1dvb.js";import{u as ye}from"./tabsView-C9fjxIF1.js";import{R as Qe,p as he,V as Xe,q as Ye,r as ae,u as Ze,D as Je,e as ge,v as be,w as et,x as A,y as J,z as tt,T as at,E as nt,F as ke,G as lt,H as ot,I as ne,J as st,K,L as ut,N as ct,O as rt,P as it,Q as F,U as le,W as dt,X as pt,Y as mt,Z as _t,$ as vt,a0 as oe,a1 as ft,a2 as yt,a3 as ht,a4 as gt,A as bt,a5 as j,M as kt,a6 as xt,a7 as St,a8 as $t}from"./antdv-CA3HmnGF.js";import{_ as wt}from"./index.vue_vue_type_style_index_0_lang-CJvxNPN1.js";const Ct=d=>(we("data-v-e438ff05"),d=d(),Ce(),d),Tt={class:"logo"},Ot=Ct(()=>w("img",{src:Fe,alt:""},null,-1)),Lt={class:"title"},Mt={__name:"index",props:{collapsed:{type:Boolean}},setup(d){return(f,l)=>(u(),S("div",Tt,[Ot,re(w("h2",Lt,"One Piece",512),[[$e,!d.collapsed]])]))}},se=D(Mt,[["__scopeId","data-v-e438ff05"]]),H=L({__name:"index",props:{title:{type:[String,Object],required:!0,default:""}},setup(d){const f=d,l=Be(),s=O(()=>{const{title:a=""}=f;return typeof a=="object"?(a==null?void 0:a[l.locale])??a:a});return(a,m)=>{const r=I("i18n-t");return u(),g(r,{tag:"span",keypath:s.value,scope:"global"},null,8,["keypath"])}}}),Pt=!1,Et={key:1,style:{display:"inline-block"}},ue=L({name:"TabOperator",__name:"tabs-operator",props:{tabItem:{type:Object,required:!0},isExtra:Boolean},setup(d,{expose:f}){const l=d,s=q(),a=V(),m=ye(),r=O(()=>{var o;return(o=m.getCurrentTab)==null?void 0:o.fullPath}),i=O(()=>m.getTabsList),h=o=>a.currentRoute.value.matched.some(c=>c.name===o.name),_=()=>{if(i.value.length===1)return ge.warning("这已经是最后一页,不能再关闭了!");m.closeCurrentTab(l.tabItem)},b=()=>{a.replace({name:De,params:{path:e(s).fullPath}})},k=()=>{m.closeLeftTabs(l.tabItem),!h(l.tabItem)&&a.replace(l.tabItem.fullPath)},v=()=>{m.closeRightTabs(l.tabItem),!h(l.tabItem)&&a.replace(l.tabItem.fullPath)},p=()=>{m.closeOtherTabs(l.tabItem),!h(l.tabItem)&&a.replace(l.tabItem.fullPath)},y=()=>{m.closeAllTabs(),a.replace("/")},C=async()=>{{console.warn("仅在开发环境有效");return}};return f({removeTab:_}),(o,c)=>{const x=be,$=et,B=A,Se=J;return u(),g(Se,{trigger:[d.isExtra?"click":"contextmenu"]},{overlay:n(()=>[t(B,{style:{"user-select":"none"}},{default:n(()=>[t(x,{key:"1",disabled:r.value!==d.tabItem.fullPath,onClick:b},{default:n(()=>[t(e(Qe)),T(" "+P(o.$t("layout.multipleTab.reload")),1)]),_:1},8,["disabled"]),t(x,{key:"2",onClick:_},{default:n(()=>[t(e(he)),T(" "+P(o.$t("layout.multipleTab.close")),1)]),_:1}),t($),t(x,{key:"3",onClick:k},{default:n(()=>[t(e(Xe)),T(" "+P(o.$t("layout.multipleTab.closeLeft")),1)]),_:1}),t(x,{key:"4",onClick:v},{default:n(()=>[t(e(Ye)),T(" "+P(o.$t("layout.multipleTab.closeRight")),1)]),_:1}),t($),t(x,{key:"5",onClick:p},{default:n(()=>[t(e(ae)),T(" "+P(o.$t("layout.multipleTab.closeOther")),1)]),_:1}),t(x,{key:"6",onClick:y},{default:n(()=>[t(e(Ze)),T(" "+P(o.$t("layout.multipleTab.closeAll")),1)]),_:1}),e(Pt)?(u(),S(M,{key:0},[t($),t(x,{key:"7",onClick:C},{default:n(()=>[t(e(ae)),T(" 打开页面文件 ")]),_:1})],64)):N("",!0)]),_:1})]),default:n(()=>{var ee;return[d.isExtra?(u(),S("a",{key:0,class:"ant-dropdown-link",onClick:c[0]||(c[0]=ie(()=>{},["prevent"]))},[t(e(Je),{style:{fontSize:"20px"}})])):(u(),S("div",Et,[t(e(H),{title:(ee=d.tabItem.meta)==null?void 0:ee.title},null,8,["title"])]))]}),_:1},8,["trigger"])}}}),Rt={class:"tabs-view"},At=L({__name:"tabs-view",setup(d){const f=q(),l=V(),s=ye(),a=_e(),m={},r=E("auto"),i=O(()=>{var v;return(v=s.getCurrentTab)==null?void 0:v.fullPath}),h=O(()=>a.list),_=O(()=>{var p;const v=(p=f.meta)==null?void 0:p.transitionName;return v===!1?"":v??"fade-slide"}),b=(v,p)=>{var y;p=="remove"&&((y=m[v])==null||y.removeTab())},k=v=>{Object.is(f.fullPath,v)||l.push(v)};return(v,p)=>{const y=tt,C=at,o=I("router-view");return u(),S("div",Rt,[t(C,{"active-key":i.value,"hide-add":"",type:"editable-card",class:"tabs",onChange:k,onEdit:b},{rightExtra:n(()=>[t(ue,{"tab-item":e(f),"is-extra":!0},null,8,["tab-item"])]),default:n(()=>[(u(!0),S(M,null,R(e(s).getTabsList,c=>(u(),g(y,{key:c.fullPath},{tab:n(()=>[t(ue,{ref_for:!0,ref:x=>m[c.fullPath]=x,"tab-item":c},null,8,["tab-item"])]),_:2},1024))),128))]),_:1},8,["active-key"]),w("div",{class:"tabs-view-content",style:U({overflow:r.value})},[t(o,null,{default:n(({Component:c})=>[c?(u(),g(Te,{key:0},{fallback:n(()=>[T(" 正在加载... ")]),default:n(()=>[t(Oe,{name:_.value,mode:"out-in",appear:"",onBeforeLeave:p[0]||(p[0]=x=>r.value="hidden"),onAfterLeave:p[1]||(p[1]=x=>r.value="auto")},{default:n(()=>[(u(),g(Le,{include:h.value},[(u(),g(de(c),{key:e(f).fullPath}))],1032,["include"]))]),_:2},1032,["name"])]),_:2},1024)):N("",!0)]),_:1})],4)])}}}),Ft=D(At,[["__scopeId","data-v-f24c5034"]]),xe=L({name:"MenuItemContent",__name:"menu-item-content",props:{item:{type:Object,default:()=>({})}},setup(d){return(f,l)=>{var s,a,m,r;return u(),S(M,null,[(a=(s=d.item)==null?void 0:s.meta)!=null&&a.icon?(u(),g(e(je),{key:0,icon:d.item.meta.icon},null,8,["icon"])):N("",!0),t(e(H),{title:(r=(m=d.item)==null?void 0:m.meta)==null?void 0:r.title},null,8,["title"])],64)}}}),Bt=L({name:"MyMenuItem",__name:"menu-item",props:{item:{type:Object,default:()=>({})}},setup(d){const f=l=>{const{isExt:s,extOpenMode:a}=l.meta||{};s&&a!==2&&window.open(l.path)};return(l,s)=>{var a;return u(),g(e(A).Item,{key:(a=d.item)==null?void 0:a.name,onClick:s[0]||(s[0]=m=>f(d.item))},{default:n(()=>[t(xe,{item:d.item},null,8,["item"])]),_:1})}}}),Dt=L({name:"MySubMenuItem",__name:"sub-menu-item",props:{item:{type:Object,default:()=>({})}},setup(d){const f=l=>{var s,a,m;return((s=l==null?void 0:l.meta)==null?void 0:s.type)===0||!Object.is((a=l==null?void 0:l.meta)==null?void 0:a.hideChildrenInMenu,!0)&&((m=l==null?void 0:l.children)==null?void 0:m.length)};return(l,s)=>{var m;const a=I("MySubMenuItem");return f(d.item)?(u(),g(e(A).SubMenu,Me({key:(m=d.item)==null?void 0:m.name},l.$attrs),{title:n(()=>[t(xe,{item:d.item},null,8,["item"])]),default:n(()=>[(u(!0),S(M,null,R(d.item.children||[],r=>(u(),g(a,{key:r.name,item:r},null,8,["item"]))),128))]),_:1},16)):(u(),g(Bt,{key:1,item:d.item},null,8,["item"]))}}}),jt=L({__name:"menu",props:{collapsed:{type:Boolean},theme:{type:String}},setup(d){const f=d,l=G(),s=W(),a=q(),m=V(),r=E([]),i=E([a.name]),h=O(()=>l.menus),_=O(()=>s.layoutSetting.layout==="sidemenu"),b=p=>m.getRoutes().find(y=>y.name===p),k=()=>{var p;return((p=a.meta)==null?void 0:p.namePath)??a.matched.slice(1).map(y=>y.name)};X(()=>f.collapsed,()=>{i.value=[a.name],setTimeout(()=>{r.value=k()})}),X(()=>a.fullPath,()=>{var p;i.value=[((p=a.meta)==null?void 0:p.activeMenu)??a.name],!(a.name===ve||f.collapsed)&&(r.value=k())},{immediate:!0});const v=({key:p})=>{if(p===a.name)return;const y=i.value,C=b(p),{isExt:o,extOpenMode:c}=(C==null?void 0:C.meta)||{};C&&o&&c===1?queueMicrotask(()=>{i.value=y}):m.push({name:p})};return(p,y)=>(u(),S("div",{class:Y(["menu-container",{"is-side-menu":_.value}])},[t(e(A),{"selected-keys":i.value,"onUpdate:selectedKeys":y[0]||(y[0]=C=>i.value=C),"open-keys":_.value?r.value:[],mode:_.value?"inline":"horizontal",theme:d.theme,collapsed:f.collapsed,collapsible:"",onClick:v},{default:n(()=>[(u(!0),S(M,null,R(h.value,C=>(u(),g(Dt,{key:C.name,item:C},null,8,["item"]))),128))]),_:1},8,["selected-keys","open-keys","mode","theme","collapsed"])],2))}}),ce=D(jt,[["__scopeId","data-v-930ce569"]]),Ut={class:"pb-12px"},Kt=["onMouseenter"],Vt=L({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(d,{emit:f}){const l=d,s=f,a=O({get(){return l.value},set(i){s("update:value",i)}});async function m(i){a.value=i.name}function r(){s("enter")}return(i,h)=>(u(),S("div",null,[w("div",Ut,[(u(!0),S(M,null,R(i.options,_=>{var b;return u(),S("div",{key:_.name,class:"bg-[#e5e7eb] h-56px mt-8px px-14px rounded-4px flex items-center justify-justify-between",style:U([{cursor:"pointer"},{background:_.name===a.value?"#1890ff":"",color:_.name===a.value?"#fff":""}]),onClick:r,onMouseenter:k=>m(_)},[t(e(nt)),t(e(H),{class:"flex-1 ml-5px",title:(b=_.meta)==null?void 0:b.title},null,8,["title"]),t(e(ke),{class:"icon text-20px p-2px mr-3px"})],44,Kt)}),128))])]))}}),Nt={class:"flex items-center"},qt={class:"mr-14px"},zt={class:"mr-14px"},It=L({__name:"SearchFooter",setup(d){return(f,l)=>(u(),S("div",Nt,[w("span",qt,[t(e(ke),{class:"icon text-15px p-2px mr-3px"}),T(" 确认 ")]),w("span",zt,[t(e(lt),{class:"icon text-15px p-2px mr-5px"}),t(e(ot),{class:"icon text-15px p-2px mr-3px"}),T(" 切换 ")]),w("span",null,[t(e(he),{class:"icon text-15px p-2px mr-3px"}),T(" 关闭 ")])]))}}),Gt=D(It,[["__scopeId","data-v-262c755b"]]),Wt={class:"mt-20px"},Ht=L({__name:"index",setup(d){const f=G(),l=V(),s=E(""),a=E(""),m=O(()=>k(f.menus)),r=Pe([]),i=E(null),h=Ue(b,300),_=E(!1);X(_,async o=>{var c;o&&(await Ee(),(c=i.value)==null||c.focus())});function b(){var o;r.value=m.value.filter(c=>{var $;const x=Ke(($=c.meta)==null?void 0:$.title);return s.value&&(x==null?void 0:x.toLocaleLowerCase().includes(s.value.toLocaleLowerCase().trim()))}),((o=r.value)==null?void 0:o.length)>0?a.value=r.value[0].name:a.value=""}function k(o,c=[]){return o&&o.length===0?[]:o.reduce((x,$)=>{var B;return!((B=$.meta)!=null&&B.hideInMenu)&&!$.children&&x.push($),$.children&&$.children.length>0&&k($.children,c),x},c)}function v(){_.value=!1,setTimeout(()=>{r.value=[],s.value=""},200)}function p(){const{length:o}=r.value;if(o===0)return;const c=r.value.findIndex(x=>x.name===a.value);c===0?a.value=r.value[o-1].name:a.value=r.value[c-1].name}function y(){const{length:o}=r.value;if(o===0)return;const c=r.value.findIndex(x=>x.name===a.value);c+1===o?a.value=r.value[0].name:a.value=r.value[c+1].name}function C(){const{length:o}=r.value;o===0||a.value===""||(/http(s)?:/.test(a.value)?window.open(a.value):(l.push({name:a.value}),v()))}return z("Escape",v),z("Enter",C),z("ArrowUp",p),z("ArrowDown",y),(o,c)=>{const x=ut;return u(),g(e(K),{title:o.$t("common.searchText"),placement:"bottom","mouse-enter-delay":.5},{default:n(()=>[Z(o.$slots,"default",{},()=>[t(e(ne),{onClick:c[0]||(c[0]=$=>_.value=!0)})]),t(e(wt),{open:_.value,"onUpdate:open":c[3]||(c[3]=$=>_.value=$),title:"搜索菜单",keyboard:!1,onCancel:v},{footer:n(()=>[t(Gt)]),default:n(()=>[t(x,{ref_key:"inputRef",ref:i,value:s.value,"onUpdate:value":c[1]||(c[1]=$=>s.value=$),clearable:"",placeholder:"请输入关键词搜索",onChange:e(h)},{prefix:n(()=>[t(e(ne),{class:"text-15px text-[#c2c2c2]"})]),_:1},8,["value","onChange"]),w("div",Wt,[r.value.length===0?(u(),g(e(st),{key:0,description:"暂无搜索结果"})):(u(),g(Vt,{key:1,value:a.value,"onUpdate:value":c[2]||(c[2]=$=>a.value=$),options:r.value,onEnter:C},null,8,["value","options"]))])]),_:1},8,["open"])]),_:3},8,["title"])}}}),Qt=L({__name:"index",setup(d){const{t:f}=Ve(),{toggle:l,isFullscreen:s}=Ne(),a=O(()=>e(s)?f("layout.header.tooltipExitFull"):f("layout.header.tooltipEntryFull"));return(m,r)=>(u(),g(e(K),{title:a.value,placement:"bottom","mouse-enter-delay":.5},{default:n(()=>[w("span",{onClick:r[0]||(r[0]=(...i)=>e(l)&&e(l)(...i))},[e(s)?(u(),g(e(rt),{key:1})):(u(),g(e(ct),{key:0}))])]),_:1},8,["title"]))}}),Xt=["onClick"],Yt={class:"style-checbox-item"},Zt={class:"style-checbox-item"},Jt=["onClick"],ea=L({name:"ProjectSetting",__name:"index",setup(d){const f=W(),{layoutSetting:l}=pe(f),s=E(l.value.colorPrimary),a=E(!1),m=O(()=>({"--custom-color":s.value})),r=k=>{f.updateLayoutSetting({navTheme:k})},i=k=>{f.updateLayoutSetting({layout:k})},h=k=>{f.updateLayoutSetting({colorPrimary:k})},_=k=>l.value.colorPrimary===k?"visible":"hidden",b=()=>{a.value=!0};return(k,v)=>{const p=fe,y=pt,C=mt;return u(),S(M,null,[t(e(it),{onClick:b}),t(e(dt),{open:a.value,"onUpdate:open":v[2]||(v[2]=o=>a.value=o),placement:"right",closable:!1},{default:n(()=>[t(e(F),{title:"整体风格",column:5},{default:n(()=>[(u(!0),S(M,null,R(e(qe),o=>(u(),g(e(F).Item,{key:o.value},{default:n(()=>[t(e(K),{title:o.label},{default:n(()=>[w("div",{class:Y(["style-checbox-item",{active:e(l).navTheme===o.value}]),onClick:c=>r(o.value)},[t(p,{name:o.value,size:"50"},null,8,["name"])],10,Xt)]),_:2},1032,["title"])]),_:2},1024))),128))]),_:1}),t(e(F),{title:"主题色",column:9},{default:n(()=>[(u(!0),S(M,null,R(e(ze),o=>(u(),g(e(F).Item,{key:o.key},{default:n(()=>[w("div",Yt,[t(e(K),{title:o.title},{default:n(()=>[t(e(le),{color:o.value,onClick:c=>h(o.value)},{default:n(()=>[w("span",{style:U({visibility:_(o.value)})}," ✔ ",4)]),_:2},1032,["color","onClick"])]),_:2},1032,["title"])])]),_:2},1024))),128)),t(e(F).Item,{key:"custom"},{default:n(()=>[w("div",Zt,[t(e(K),{title:"自定义"},{default:n(()=>[t(e(le),{color:s.value,class:"relative overflow-hidden"},{default:n(()=>[re(w("input",{"onUpdate:modelValue":v[0]||(v[0]=o=>s.value=o),type:"color",class:"absolute inset-0",style:U(m.value),onInput:v[1]||(v[1]=o=>h(s.value))},null,36),[[Re,s.value]]),w("span",{style:U({visibility:_(s.value)})}," ✔ ",4)]),_:1},8,["color"])]),_:1})])]),_:1})]),_:1}),t(e(F),{title:"导航模式",column:5},{default:n(()=>[(u(!0),S(M,null,R(e(Ie),o=>(u(),g(e(F).Item,{key:o.value},{default:n(()=>[w("div",{class:Y(["style-checbox-item",{active:e(l).layout===o.value}]),onClick:c=>i(o.value)},[t(p,{name:o.value,size:"50"},null,8,["name"])],10,Jt)]),_:2},1024))),128))]),_:1}),t(e(F),{title:"页面显示",column:1},{default:n(()=>[(u(!0),S(M,null,R(e(Ge),o=>(u(),g(e(F).Item,{key:o.value},{default:n(()=>[t(C,{justify:"space-between",class:"w-full"},{default:n(()=>[T(P(o.label)+" ",1),t(y,{checked:e(l)[o.value],"onUpdate:checked":c=>e(l)[o.value]=c,"checked-children":"开","un-checked-children":"关"},null,8,["checked","onUpdate:checked"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["open"])],64)}}}),ta=D(ea,[["__scopeId","data-v-d0a5f013"]]),aa=L({name:"LayoutBreadcrumb",__name:"index",setup(d){const f=V(),l=q(),s=G(),a=i=>{const{isExt:h,extOpenMode:_,type:b}=(i==null?void 0:i.meta)||{};if(!(b===0&&!i.redirect))if(h&&_===1)window.open(i.path);else{const k=typeof i.redirect=="string"?i.redirect:i;f.push(k)}},m=O(()=>{var i,h,_;if((i=l.meta)!=null&&i.namePath){let b=s.menus;const k=(_=(h=l.meta)==null?void 0:h.namePath)==null?void 0:_.map(v=>{const p=b.find(y=>y.name===v);return b=(p==null?void 0:p.children)||[],p});return[{name:"__index",meta:{title:"首页"},children:s.menus},...k]}return l.matched}),r=i=>{var h;return[(h=m.value[i+1])==null?void 0:h.name]};return(i,h)=>{const _=H,b=be,k=A,v=_t,p=vt;return u(),g(p,null,{default:n(()=>[(u(!0),S(M,null,R(m.value,(y,C)=>{var o;return u(),g(v,{key:y==null?void 0:y.name},me({default:n(()=>{var c;return[t(_,{title:(c=y==null?void 0:y.meta)==null?void 0:c.title,class:"cursor-pointer"},null,8,["title"])]}),_:2},[(o=y==null?void 0:y.children)!=null&&o.length?{name:"overlay",fn:n(()=>[t(k,{"selected-keys":r(C)},{default:n(()=>[(u(!0),S(M,null,R(y==null?void 0:y.children,c=>{var x,$;return u(),S(M,{key:c.name},[!((x=c.meta)!=null&&x.hideInMenu)&&!(($=c.meta)!=null&&$.hideInBreadcrumb)?(u(),g(b,{key:c.name,onClick:B=>a(c)},{default:n(()=>{var B;return[t(_,{title:(B=c.meta)==null?void 0:B.title},null,8,["title"])]}),_:2},1032,["onClick"])):N("",!0)],64)}),128))]),_:2},1032,["selected-keys"])]),key:"0"}:void 0]),1024)}),128))]),_:1})}}}),na={key:0,class:"ml-1"},la={href:"javascript:;"},oa=L({__name:"index",props:{showText:{type:Boolean,default:!0},reload:{type:Boolean}},setup(d){const f=d,l=E([]),{changeLocale:s,getLocale:a}=We(),m=O(()=>{var _;const h=l.value[0];return h?(_=te.find(b=>b.lang===h))==null?void 0:_.label:""});Ae(()=>{l.value=[e(a)]});async function r(h){await s(h),l.value=[h],f.reload&&location.reload()}function i({key:h}){e(a)!==h&&r(h)}return(h,_)=>(u(),g(e(J),{placement:"bottomRight"},{overlay:n(()=>[t(e(A),{selectedKeys:l.value,"onUpdate:selectedKeys":_[0]||(_[0]=b=>l.value=b),onClick:i},{default:n(()=>[(u(!0),S(M,null,R(e(te),b=>(u(),g(e(A).Item,{key:b.lang},{default:n(()=>[w("a",la,P(b.icon)+" "+P(b.label),1)]),_:2},1024))),128))]),_:1},8,["selectedKeys"])]),default:n(()=>[t(e(fe),{name:"locale"}),d.showText?(u(),S("span",na,P(m.value),1)):N("",!0)]),_:1}))}}),sa={class:"header-left"},ua={class:"header-menu"},ca={class:"header-right"},ra=L({__name:"index",props:{collapsed:{type:Boolean},theme:{type:String}},emits:["update:collapsed"],setup(d,{emit:f}){const l=f,s=G(),a=W(),m=He(),r=_e(),i=V(),h=q(),_=O(()=>s.userInfo),b=O(()=>{const{navTheme:v,layout:p}=a.layoutSetting,y=v==="dark"&&p==="topmenu";return{backgroundColor:v==="realDark"||y?"":"rgba(255, 255, 255, 0.85)",color:y?"rgba(255, 255, 255, 0.85)":""}}),k=()=>{kt.confirm({title:"您确定要退出登录吗?",icon:t(xt,null,null),centered:!0,onOk:async()=>{await s.logout(),r.clear(),localStorage.clear(),ge.success("成功退出登录"),i.replace({name:ve,query:{redirect:h.fullPath}})}})};return(v,p)=>(u(),g(e(j).Header,{style:U(b.value),class:"layout-header"},{default:n(()=>[w("div",sa,[Z(v.$slots,"left",{},()=>[t(e(oe),{size:20},{default:n(()=>[w("span",{class:"menu-fold cursor-pointer",onClick:p[0]||(p[0]=()=>l("update:collapsed",!d.collapsed))},[(u(),g(de(d.collapsed?e(ft):e(yt))))]),t(e(aa))]),_:1})],!0)]),w("div",ua,[Z(v.$slots,"menu",{},void 0,!0)]),w("div",ca,[t(e(oe),{size:20},{default:n(()=>[t(e(Ht)),t(e(K),{title:v.$t("layout.header.tooltipLock"),placement:"bottom"},{default:n(()=>[t(e(ht),{onClick:p[1]||(p[1]=y=>e(m).setLock(!0))})]),_:1},8,["title"]),t(e(Qt)),t(e(oa)),t(e(J),{placement:"bottomRight"},{overlay:n(()=>[t(e(A),null,{default:n(()=>[t(e(A).Item,{onClick:p[2]||(p[2]=y=>v.$router.push({name:"account-settings"}))},{default:n(()=>[T(P(v.$t("routes.account.settings")),1)]),_:1}),t(e(A).Divider),t(e(A).Item,null,{default:n(()=>[w("div",{onClick:ie(k,["prevent"])},[t(e(gt)),T(" "+P(v.$t("layout.header.dropdownItemLoginOut")),1)])]),_:1})]),_:1})]),default:n(()=>[t(e(bt),{src:_.value.avatar,alt:_.value.username},{default:n(()=>[T(P(_.value.username),1)]),_:1},8,["src","alt"])]),_:1}),t(e(ta))]),_:1})])]),_:3},8,["style"]))}}),ia=D(ra,[["__scopeId","data-v-5619ee01"]]),da="_page_footer_lar2m_1",pa="_page_footer_link_lar2m_14",ma="_copyright_lar2m_22",Q={page_footer:da,page_footer_link:pa,copyright:ma},{Footer:_a}=j,va=L({name:"PageFooter",components:{ALayoutFooter:_a},setup(){return()=>t(M,null,[t(I("a-layout-footer"),{class:Q.page_footer},{default:()=>[t("div",{class:Q.page_footer_link},[t("a",{href:"https://buqiyuan.github.io/vue3-antdv-admin",target:"_blank"},[T("在线预览")]),t("a",{href:"https://github.com/buqiyuan/vue3-antdv-admin",target:"_blank"},[t(St,null,null)]),t("a",{href:"https://buqiyuan.github.io/vue3-antdv-admin-docs/",target:"_blank"},[T("在线文档")])]),t("div",{class:Q.copyright},[T("Copyright "),t($t,null,null),T(" 2022 vue3-antdv-admin")])]})])}}),fa=L({__name:"index",setup(d){const f=W(),{layoutSetting:l}=pe(f),s=E(!1),a=O(()=>s.value?80:220),m=O(()=>l.value.navTheme==="light"?"light":"dark");return(r,i)=>(u(),g(e(j),{class:"layout"},{default:n(()=>[e(l).layout==="sidemenu"?(u(),g(e(j).Sider,{key:0,collapsed:s.value,"onUpdate:collapsed":i[0]||(i[0]=h=>s.value=h),width:a.value,trigger:null,collapsible:"",theme:m.value,class:"layout-sider"},{default:n(()=>[t(se,{collapsed:s.value},null,8,["collapsed"]),t(ce,{collapsed:s.value,theme:m.value},null,8,["collapsed","theme"])]),_:1},8,["collapsed","width","theme"])):N("",!0),t(e(j),null,{default:n(()=>[t(ia,{collapsed:s.value,"onUpdate:collapsed":i[1]||(i[1]=h=>s.value=h),theme:m.value},me({_:2},[e(l).layout==="topmenu"?{name:"left",fn:n(()=>[t(se,{collapsed:s.value},null,8,["collapsed"])]),key:"0"}:void 0,e(l).layout==="topmenu"?{name:"menu",fn:n(()=>[t(ce,{collapsed:s.value,theme:m.value},null,8,["collapsed","theme"])]),key:"1"}:void 0]),1032,["collapsed","theme"]),t(e(j).Content,{class:"layout-content"},{default:n(()=>[t(e(Ft))]),_:1}),t(e(va))]),_:1})]),_:1}))}}),Sa=D(fa,[["__scopeId","data-v-c1acba4d"]]);export{Sa as default}; diff --git a/assets/index-D49Spjyf.js b/assets/index-D49Spjyf.js new file mode 100644 index 000000000..7a1f5c7f7 --- /dev/null +++ b/assets/index-D49Spjyf.js @@ -0,0 +1 @@ +import"./ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js";import{e as b,ac as _,ae as h}from"./antdv-CA3HmnGF.js";import{_ as v}from"./index-D5NK1dvb.js";import{u as S}from"./useForm-DxFF7ULW.js";import{d as P,W as w,a5 as k,k as o,Y as a,u as n,a6 as d,G as i,ac as g,a7 as x,a8 as C}from"./vue-Dbi1xauY.js";import"./is-bed24ebq.js";import"./schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js";import"./index-CDgH2F_h.js";import"./dateUtil-CLVblcqH.js";const N=[{field:"field1",component:"Input",label:"字段1",colProps:{span:8},vShow:({formModel:e})=>!!e.field5},{field:"field2",component:"Input",label:"字段2",colProps:{span:8},vShow:({formModel:e})=>!!e.field6},{field:"field3",component:"DatePicker",label:"字段3",colProps:{span:8},dynamicDisabled:({formModel:e})=>!!e.field7},{field:"field4",component:"Select",label:"字段4",colProps:{span:8},dynamicRules:({formModel:e})=>e.field8?[{required:!0,message:"字段4必填"}]:[],componentProps:{options:[{label:"选项1",value:"1",key:"1"},{label:"选项2",value:"2",key:"2"}]}},{field:"field11",component:"DatePicker",label:"字段11",colProps:{span:8}},{field:"field5",component:"Switch",label:"是否显示字段1(css控制)",colProps:{span:8},labelWidth:200},{field:"field6",component:"Switch",label:"是否显示字段2(dom控制)",colProps:{span:8},labelWidth:200},{field:"field7",component:"Switch",label:"是否禁用字段3",colProps:{span:8},labelWidth:200},{field:"field8",component:"Switch",label:"字段4是否必填",colProps:{span:8},componentProps:({formInstance:e})=>({onChange(s){requestAnimationFrame(()=>{s?e==null||e.validateFields():e==null||e.clearValidate()})}}),labelWidth:200}],T=e=>(x("data-v-03d6d9f3"),e=e(),C(),e),W=T(()=>d("a",{class:"text-blue-500",target:"_blank",href:"https://github.com/buqiyuan/vue3-antdv-admin/blob/main/src/views/demos/form/use-form/index.vue"}," 查看源码 ",-1)),B={class:"mb-4"},D=P({name:"DemosFormDynamicForm",__name:"index",setup(e){const[s,l]=S({labelWidth:120,schemas:N,actionColOptions:{span:24},fieldMapToTime:[["fieldTime",["startTime","endTime"],"YYYY-MM"]]});function c(){l.validate().then(()=>b.success("验证通过!"))}function p(){l==null||l.updateSchema({field:"field3",label:"字段3 New"})}function r(){l==null||l.updateSchema([{field:"field3",label:"字段3 New++"},{field:"field4",label:"字段4 New++"}])}function m(){l==null||l.appendSchemaByField({field:"field10",label:"字段10",component:"Input",colProps:{span:8}},"field3")}function u(){l==null||l.removeSchemaByField("field11")}return(Y,F)=>{const t=g("a-button"),f=_;return w(),k("div",null,[o(n(h),{message:"useForm示例",type:"info","show-icon":"",style:{"margin-bottom":"12px"}},{description:a(()=>[W]),_:1}),d("div",B,[o(t,{class:"mr-2",onClick:p},{default:a(()=>[i(" 更改字段3label ")]),_:1}),o(t,{class:"mr-2",onClick:r},{default:a(()=>[i(" 同时更改字段3,4label ")]),_:1}),o(t,{class:"mr-2",onClick:m},{default:a(()=>[i(" 往字段3后面插入字段10 ")]),_:1}),o(t,{class:"mr-2",onClick:u},{default:a(()=>[i(" 删除字段11 ")]),_:1})]),o(f,null,{default:a(()=>[o(n(s),{onSubmit:c})]),_:1})])}}}),j=v(D,[["__scopeId","data-v-03d6d9f3"]]);export{j as default}; diff --git a/assets/index-D5NK1dvb.js b/assets/index-D5NK1dvb.js new file mode 100644 index 000000000..168634f2a --- /dev/null +++ b/assets/index-D5NK1dvb.js @@ -0,0 +1,31 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/en-D5M7dULx.js","assets/antdv-CA3HmnGF.js","assets/vue-Dbi1xauY.js","assets/antdv-Cm_1FYRq.css","assets/zh_CN-C6ePmZhp.js","assets/index-CGy8ISwp.js","assets/logo-DzsBprQM.js","assets/index-sxiFJCm3.css","assets/404-lhaNt39r.js","assets/404-Ccf55FSH.css","assets/index-D0-KY_sV.js","assets/tabsView-C9fjxIF1.js","assets/index.vue_vue_type_style_index_0_lang-CJvxNPN1.js","assets/index-CkvRAjRT.css","assets/index-BjqVZB_B.css","assets/about-T5Ggk1rL.js","assets/settings-BsNpdNUg.js","assets/index-SXH19c2P.js","assets/index-C9ZwpWbN.css","assets/button-CVzQuWxY.js","assets/custom-modal-DH3-QIZ5.js","assets/useModal-D-vJhjJN.js","assets/ApiSelect.vue_vue_type_script_setup_true_lang-DSo6TuP-.js","assets/is-bed24ebq.js","assets/ApiSelect-BY9BsMzM.css","assets/index-DylgNAGx.js","assets/common-Cs_BZJVP.js","assets/useForm-DxFF7ULW.js","assets/schema-form.vue_vue_type_script_setup_true_lang-C7c-nLGm.js","assets/index-CDgH2F_h.js","assets/dateUtil-CLVblcqH.js","assets/index-DD9rBWB7.css","assets/index-K5eF8APY.js","assets/input-number-range.vue_vue_type_script_setup_true_lang-ScYJYJ0O.js","assets/input-number-range-BryjMukN.js","assets/index-ig6BKZp8.js","assets/index-C4hwjCib.css","assets/index-Dn_kwytD.js","assets/index-Cplhzeoj.css","assets/index-CT-IClhL.js","assets/index-Bim9QLTv.css","assets/index-D49Spjyf.js","assets/index-4XSHMzfV.css","assets/index-B9vsgMem.js","assets/route-one-DuMuzcEA.js","assets/route-three-DgK4R5fZ.js","assets/route-two-BeGKDvBB.js","assets/index-DoEHPGFM.js","assets/columns-QsbRxPAv.js","assets/dynamic-table-BEdsLSS6.js","assets/dynamic-table-BQjCxF2y.css","assets/heroInfo-B8sR5UMx.js","assets/hero-Cxov48D1.js","assets/heroInfo-BLl5eolZ.css","assets/index-ldKPINHH.js","assets/createContextMenu-BfBSxQmn.js","assets/index-CjXm4muF.js","assets/useFormModal-DHZbCRb3.js","assets/index-DroZSV1I.js","assets/index-D6PxRZBm.js","assets/comp-not-found-D70RKVnQ.js","assets/file-operate-button-list-Df1BQUv1.js","assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-CuinLBq5.js","assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-EiIVOc0b.js","assets/file-preview-drawer-CRwnM4UH.js","assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-DckZSgb6.js","assets/file-upload-drawer-K0ZGN3X8.js","assets/overview-header-item-BZepmKt-.js","assets/overview-header-item-NCWjCQCF.css","assets/manage-D5qXbX2M.js","assets/overview-D3wyjAhe.js","assets/overview-0xUs1e88.css","assets/index-B1Zi62I_.js","assets/index-DdHqopv1.js","assets/columns-hGlKOK8p.js","assets/index-CiuPRf02.js","assets/index-CbIF2RsB.js","assets/index-bSkzcFEY.js","assets/index-BjnwTv1p.js","assets/index-CgmZP_PU.js","assets/index-C0s1KjFx.css","assets/index-MWhGN0gs.js","assets/index-BoWMpSkR.js","assets/index-Cjv1gkE0.js","assets/index-DE2G1Rp2.js","assets/AvatarUpload-BKZCxGPJ.js","assets/AvatarUpload.vue_vue_type_script_setup_true_lang-Dq88G5ne.js","assets/DeptTree-Dtex6bp7.js","assets/DeptTree-CVDsyyWk.css","assets/index-CJ15q10t.js","assets/index-J85A-avW.css","assets/index-ysWpmeqr.js","assets/index-CgQRb_6V.js","assets/upload-modal.vue_vue_type_script_setup_true_lang-C6dxBafa.js","assets/upload-modal-D9A31Qmt.js","assets/huawei-charge-ikjv2-Ui.js","assets/huawei-charge-Cc-Eec4H.css","assets/xiaomi-charge-Bz7nntXG.js","assets/xiaomi-charge-DfeZQ_aL.css","assets/index-w5bL6FQ7.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var X9=Object.defineProperty;var J9=(c,e,t)=>e in c?X9(c,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[e]=t;var G3=(c,e,t)=>(J9(c,typeof e!="symbol"?e+"":e,t),t);import{c as c2,s as J7,a as Q9,l as y6,t as g0,b as Z9,m as ct,C as et,g as tt,d as lt,e as W2,M as Q7,i as h3,S as rt,f as Z7,o as ot,A as at,_ as nt,h as it,B as st}from"./antdv-CA3HmnGF.js";import{d as S1,l as d3,g as _2,R as ut,i as ht,o as S2,e as V0,s as cc,f as Y,c as X,D as dt,w as N1,F as U2,H as ec,k as h1,T as ft,S as vt,U as t4,u as c1,r as K2,V as pt,W as a1,X as E1,Y as V1,Z as D2,_ as e2,M as mt,N as yt,y as L3,$ as tc,a0 as Mt,a1 as bt,a2 as lc,a3 as Ct,a4 as Ht,a5 as P1,a6 as _1,a7 as rc,a8 as oc,a9 as gt,aa as Vt,ab as Lt,ac as L0,n as zt,m as _t,ad as k8,ae as ac,af as f3,ag as wt,ah as Et,ai as v3,K as St,aj as At,ak as P2,G as s4,B as M6,al as Tt,q as kt,am as Ot,Q as It}from"./vue-Dbi1xauY.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))l(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&l(a)}).observe(document,{childList:!0,subtree:!0});function t(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function l(o){if(o.ep)return;o.ep=!0;const r=t(o);fetch(o.href,r)}})();const Pt="modulepreload",Rt=function(c){return"/vue3-antdv-admin/"+c},b6={},R=function(e,t,l){let o=Promise.resolve();if(t&&t.length>0){const r=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),n=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.all(t.map(i=>{if(i=Rt(i),i in b6)return;b6[i]=!0;const s=i.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(!!l)for(let C=r.length-1;C>=0;C--){const H=r[C];if(H.href===i&&(!s||H.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=s?"stylesheet":Pt,s||(p.as="script",p.crossOrigin=""),p.href=i,n&&p.setAttribute("nonce",n),document.head.appendChild(p),s)return new Promise((C,H)=>{p.addEventListener("load",C),p.addEventListener("error",()=>H(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>e()).catch(r=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r})};var u4=function(c){return c&&c.Math===Math&&c},m1=u4(typeof globalThis=="object"&&globalThis)||u4(typeof window=="object"&&window)||u4(typeof self=="object"&&self)||u4(typeof c2=="object"&&c2)||u4(typeof c2=="object"&&c2)||function(){return this}()||Function("return this")(),z0={},W1=function(c){try{return!!c()}catch{return!0}},Nt=W1,r2=!Nt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),$t=W1,z3=!$t(function(){var c=(function(){}).bind();return typeof c!="function"||c.hasOwnProperty("prototype")}),xt=z3,I4=Function.prototype.call,o2=xt?I4.bind(I4):function(){return I4.apply(I4,arguments)},nc={},ic={}.propertyIsEnumerable,sc=Object.getOwnPropertyDescriptor,Dt=sc&&!ic.call({1:2},1);nc.f=Dt?function(e){var t=sc(this,e);return!!t&&t.enumerable}:ic;var uc=function(c,e){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:e}},hc=z3,dc=Function.prototype,O8=dc.call,Ft=hc&&dc.bind.bind(O8,O8),A1=hc?Ft:function(c){return function(){return O8.apply(c,arguments)}},fc=A1,qt=fc({}.toString),jt=fc("".slice),_3=function(c){return jt(qt(c),8,-1)},Bt=A1,Ut=W1,Gt=_3,W3=Object,Wt=Bt("".split),Kt=Ut(function(){return!W3("z").propertyIsEnumerable(0)})?function(c){return Gt(c)==="String"?Wt(c,""):W3(c)}:W3,w3=function(c){return c==null},Yt=w3,Xt=TypeError,_0=function(c){if(Yt(c))throw new Xt("Can't call method on "+c);return c},Jt=Kt,Qt=_0,w0=function(c){return Jt(Qt(c))},K3=typeof document=="object"&&document.all,H1=typeof K3>"u"&&K3!==void 0?function(c){return typeof c=="function"||c===K3}:function(c){return typeof c=="function"},Zt=H1,a2=function(c){return typeof c=="object"?c!==null:Zt(c)},Y3=m1,cl=H1,el=function(c){return cl(c)?c:void 0},A2=function(c,e){return arguments.length<2?el(Y3[c]):Y3[c]&&Y3[c][e]},tl=A1,E0=tl({}.isPrototypeOf),E3=typeof navigator<"u"&&String(navigator.userAgent)||"",vc=m1,X3=E3,C6=vc.process,H6=vc.Deno,g6=C6&&C6.versions||H6&&H6.version,V6=g6&&g6.v8,I1,p3;V6&&(I1=V6.split("."),p3=I1[0]>0&&I1[0]<4?1:+(I1[0]+I1[1]));!p3&&X3&&(I1=X3.match(/Edge\/(\d+)/),(!I1||I1[1]>=74)&&(I1=X3.match(/Chrome\/(\d+)/),I1&&(p3=+I1[1])));var pc=p3,L6=pc,ll=W1,rl=m1,ol=rl.String,mc=!!Object.getOwnPropertySymbols&&!ll(function(){var c=Symbol("symbol detection");return!ol(c)||!(Object(c)instanceof Symbol)||!Symbol.sham&&L6&&L6<41}),al=mc,yc=al&&!Symbol.sham&&typeof Symbol.iterator=="symbol",nl=A2,il=H1,sl=E0,ul=yc,hl=Object,Mc=ul?function(c){return typeof c=="symbol"}:function(c){var e=nl("Symbol");return il(e)&&sl(e.prototype,hl(c))},dl=String,S3=function(c){try{return dl(c)}catch{return"Object"}},fl=H1,vl=S3,pl=TypeError,m2=function(c){if(fl(c))return c;throw new pl(vl(c)+" is not a function")},ml=m2,yl=w3,S0=function(c,e){var t=c[e];return yl(t)?void 0:ml(t)},J3=o2,Q3=H1,Z3=a2,Ml=TypeError,bl=function(c,e){var t,l;if(e==="string"&&Q3(t=c.toString)&&!Z3(l=J3(t,c))||Q3(t=c.valueOf)&&!Z3(l=J3(t,c))||e!=="string"&&Q3(t=c.toString)&&!Z3(l=J3(t,c)))return l;throw new Ml("Can't convert object to primitive value")},bc={exports:{}},z6=m1,Cl=Object.defineProperty,A0=function(c,e){try{Cl(z6,c,{value:e,configurable:!0,writable:!0})}catch{z6[c]=e}return e},Hl=m1,gl=A0,_6="__core-js_shared__",w6=bc.exports=Hl[_6]||gl(_6,{});(w6.versions||(w6.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var T0=bc.exports,E6=T0,Cc=function(c,e){return E6[c]||(E6[c]=e||{})},Vl=_0,Ll=Object,zl=function(c){return Ll(Vl(c))},_l=A1,wl=zl,El=_l({}.hasOwnProperty),n2=Object.hasOwn||function(e,t){return El(wl(e),t)},Sl=A1,Al=0,Tl=Math.random(),kl=Sl(1 .toString),Hc=function(c){return"Symbol("+(c===void 0?"":c)+")_"+kl(++Al+Tl,36)},Ol=m1,Il=Cc,S6=n2,Pl=Hc,Rl=mc,Nl=yc,F2=Ol.Symbol,c8=Il("wks"),$l=Nl?F2.for||F2:F2&&F2.withoutSetter||Pl,K1=function(c){return S6(c8,c)||(c8[c]=Rl&&S6(F2,c)?F2[c]:$l("Symbol."+c)),c8[c]},xl=o2,A6=a2,T6=Mc,Dl=S0,Fl=bl,ql=K1,jl=TypeError,Bl=ql("toPrimitive"),Ul=function(c,e){if(!A6(c)||T6(c))return c;var t=Dl(c,Bl),l;if(t){if(e===void 0&&(e="default"),l=xl(t,c,e),!A6(l)||T6(l))return l;throw new jl("Can't convert object to primitive value")}return e===void 0&&(e="number"),Fl(c,e)},Gl=Ul,Wl=Mc,gc=function(c){var e=Gl(c,"string");return Wl(e)?e:e+""},Kl=m1,k6=a2,I8=Kl.document,Yl=k6(I8)&&k6(I8.createElement),Vc=function(c){return Yl?I8.createElement(c):{}},Xl=r2,Jl=W1,Ql=Vc,Lc=!Xl&&!Jl(function(){return Object.defineProperty(Ql("div"),"a",{get:function(){return 7}}).a!==7}),Zl=r2,cr=o2,er=nc,tr=uc,lr=w0,rr=gc,or=n2,ar=Lc,O6=Object.getOwnPropertyDescriptor;z0.f=Zl?O6:function(e,t){if(e=lr(e),t=rr(t),ar)try{return O6(e,t)}catch{}if(or(e,t))return tr(!cr(er.f,e,t),e[t])};var l4={},nr=r2,ir=W1,sr=nr&&ir(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),ur=a2,hr=String,dr=TypeError,T2=function(c){if(ur(c))return c;throw new dr(hr(c)+" is not an object")},fr=r2,vr=Lc,pr=sr,P4=T2,I6=gc,mr=TypeError,e8=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,t8="enumerable",l8="configurable",r8="writable";l4.f=fr?pr?function(e,t,l){if(P4(e),t=I6(t),P4(l),typeof e=="function"&&t==="prototype"&&"value"in l&&r8 in l&&!l[r8]){var o=yr(e,t);o&&o[r8]&&(e[t]=l.value,l={configurable:l8 in l?l[l8]:o[l8],enumerable:t8 in l?l[t8]:o[t8],writable:!1})}return e8(e,t,l)}:e8:function(e,t,l){if(P4(e),t=I6(t),P4(l),vr)try{return e8(e,t,l)}catch{}if("get"in l||"set"in l)throw new mr("Accessors not supported");return"value"in l&&(e[t]=l.value),e};var Mr=r2,br=l4,Cr=uc,zc=Mr?function(c,e,t){return br.f(c,e,Cr(1,t))}:function(c,e,t){return c[e]=t,c},_c={exports:{}},P8=r2,Hr=n2,wc=Function.prototype,gr=P8&&Object.getOwnPropertyDescriptor,k0=Hr(wc,"name"),Vr=k0&&(function(){}).name==="something",Lr=k0&&(!P8||P8&&gr(wc,"name").configurable),zr={EXISTS:k0,PROPER:Vr,CONFIGURABLE:Lr},_r=A1,wr=H1,R8=T0,Er=_r(Function.toString);wr(R8.inspectSource)||(R8.inspectSource=function(c){return Er(c)});var O0=R8.inspectSource,Sr=m1,Ar=H1,P6=Sr.WeakMap,Tr=Ar(P6)&&/native code/.test(String(P6)),kr=Cc,Or=Hc,R6=kr("keys"),Ir=function(c){return R6[c]||(R6[c]=Or(c))},Ec={},Pr=Tr,Sc=m1,Rr=a2,Nr=zc,o8=n2,a8=T0,$r=Ir,xr=Ec,N6="Object already initialized",N8=Sc.TypeError,Dr=Sc.WeakMap,m3,C4,y3,Fr=function(c){return y3(c)?C4(c):m3(c,{})},qr=function(c){return function(e){var t;if(!Rr(e)||(t=C4(e)).type!==c)throw new N8("Incompatible receiver, "+c+" required");return t}};if(Pr||a8.state){var F1=a8.state||(a8.state=new Dr);F1.get=F1.get,F1.has=F1.has,F1.set=F1.set,m3=function(c,e){if(F1.has(c))throw new N8(N6);return e.facade=c,F1.set(c,e),e},C4=function(c){return F1.get(c)||{}},y3=function(c){return F1.has(c)}}else{var R2=$r("state");xr[R2]=!0,m3=function(c,e){if(o8(c,R2))throw new N8(N6);return e.facade=c,Nr(c,R2,e),e},C4=function(c){return o8(c,R2)?c[R2]:{}},y3=function(c){return o8(c,R2)}}var Ac={set:m3,get:C4,has:y3,enforce:Fr,getterFor:qr},I0=A1,jr=W1,Br=H1,R4=n2,$8=r2,Ur=zr.CONFIGURABLE,Gr=O0,Tc=Ac,Wr=Tc.enforce,Kr=Tc.get,$6=String,X4=Object.defineProperty,Yr=I0("".slice),Xr=I0("".replace),Jr=I0([].join),Qr=$8&&!jr(function(){return X4(function(){},"length",{value:8}).length!==8}),Zr=String(String).split("String"),co=_c.exports=function(c,e,t){Yr($6(e),0,7)==="Symbol("&&(e="["+Xr($6(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!R4(c,"name")||Ur&&c.name!==e)&&($8?X4(c,"name",{value:e,configurable:!0}):c.name=e),Qr&&t&&R4(t,"arity")&&c.length!==t.arity&&X4(c,"length",{value:t.arity});try{t&&R4(t,"constructor")&&t.constructor?$8&&X4(c,"prototype",{writable:!1}):c.prototype&&(c.prototype=void 0)}catch{}var l=Wr(c);return R4(l,"source")||(l.source=Jr(Zr,typeof e=="string"?e:"")),c};Function.prototype.toString=co(function(){return Br(this)&&Kr(this).source||Gr(this)},"toString");var kc=_c.exports,eo=H1,to=l4,lo=kc,ro=A0,P0=function(c,e,t,l){l||(l={});var o=l.enumerable,r=l.name!==void 0?l.name:e;if(eo(t)&&lo(t,r,l),l.global)o?c[e]=t:ro(e,t);else{try{l.unsafe?c[e]&&(o=!0):delete c[e]}catch{}o?c[e]=t:to.f(c,e,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return c},Oc={},oo=Math.ceil,ao=Math.floor,no=Math.trunc||function(e){var t=+e;return(t>0?ao:oo)(t)},io=no,Ic=function(c){var e=+c;return e!==e||e===0?0:io(e)},so=Ic,uo=Math.max,ho=Math.min,fo=function(c,e){var t=so(c);return t<0?uo(t+e,0):ho(t,e)},vo=Ic,po=Math.min,mo=function(c){var e=vo(c);return e>0?po(e,9007199254740991):0},yo=mo,Pc=function(c){return yo(c.length)},Mo=w0,bo=fo,Co=Pc,x6=function(c){return function(e,t,l){var o=Mo(e),r=Co(o);if(r===0)return!c&&-1;var a=bo(l,r),n;if(c&&t!==t){for(;r>a;)if(n=o[a++],n!==n)return!0}else for(;r>a;a++)if((c||a in o)&&o[a]===t)return c||a||0;return!c&&-1}},Ho={includes:x6(!0),indexOf:x6(!1)},go=A1,n8=n2,Vo=w0,Lo=Ho.indexOf,zo=Ec,D6=go([].push),_o=function(c,e){var t=Vo(c),l=0,o=[],r;for(r in t)!n8(zo,r)&&n8(t,r)&&D6(o,r);for(;e.length>l;)n8(t,r=e[l++])&&(~Lo(o,r)||D6(o,r));return o},wo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Eo=_o,So=wo,Ao=So.concat("length","prototype");Oc.f=Object.getOwnPropertyNames||function(e){return Eo(e,Ao)};var Rc={};Rc.f=Object.getOwnPropertySymbols;var To=A2,ko=A1,Oo=Oc,Io=Rc,Po=T2,Ro=ko([].concat),No=To("Reflect","ownKeys")||function(e){var t=Oo.f(Po(e)),l=Io.f;return l?Ro(t,l(e)):t},F6=n2,$o=No,xo=z0,Do=l4,Fo=function(c,e,t){for(var l=$o(e),o=Do.f,r=xo.f,a=0;ah;h++)if(C=d(c[h]),C&&y5(b5,C))return C;return new Z4(!1)}s=Ji(c,u)}for(H=r?c.next:s.next;!(m=Gi(H,s)).done;){try{C=d(m.value)}catch(f){M5(s,"throw",f)}if(typeof C=="object"&&C&&y5(b5,C))return C}return new Z4(!1)},cs=K1,fe=cs("iterator"),ve=!1;try{var es=0,C5={next:function(){return{done:!!es++}},return:function(){ve=!0}};C5[fe]=function(){return this},Array.from(C5,function(){throw 2})}catch{}var ts=function(c,e){try{if(!e&&!ve)return!1}catch{return!1}var t=!1;try{var l={};l[fe]=function(){return{next:function(){return{done:t=!0}}}},c(l)}catch{}return t},ls=T3,rs=ts,os=E4.CONSTRUCTOR,pe=os||!rs(function(c){ls.all(c).then(void 0,function(){})}),as=k2,ns=o2,is=m2,ss=O2,us=x0,hs=de,ds=pe;as({target:"Promise",stat:!0,forced:ds},{all:function(e){var t=this,l=ss.f(t),o=l.resolve,r=l.reject,a=us(function(){var n=is(t.resolve),i=[],s=0,u=1;hs(e,function(h){var p=s++,C=!1;u++,ns(n,t,h).then(function(H){C||(C=!0,i[p]=H,--u||o(i))},r)}),--u||o(i)});return a.error&&r(a.value),l.promise}});var fs=k2,vs=E4.CONSTRUCTOR,G8=T3,ps=A2,ms=H1,ys=P0,H5=G8&&G8.prototype;fs({target:"Promise",proto:!0,forced:vs,real:!0},{catch:function(c){return this.then(void 0,c)}});if(ms(G8)){var g5=ps("Promise").prototype.catch;H5.catch!==g5&&ys(H5,"catch",g5,{unsafe:!0})}var Ms=k2,bs=o2,Cs=m2,Hs=O2,gs=x0,Vs=de,Ls=pe;Ms({target:"Promise",stat:!0,forced:Ls},{race:function(e){var t=this,l=Hs.f(t),o=l.reject,r=gs(function(){var a=Cs(t.resolve);Vs(e,function(n){bs(a,t,n).then(l.resolve,o)})});return r.error&&o(r.value),l.promise}});var zs=k2,_s=O2,ws=E4.CONSTRUCTOR;zs({target:"Promise",stat:!0,forced:ws},{reject:function(e){var t=_s.f(this),l=t.reject;return l(e),t.promise}});var Es=T2,Ss=a2,As=O2,Ts=function(c,e){if(Es(c),Ss(e)&&e.constructor===c)return e;var t=As.f(c),l=t.resolve;return l(e),t.promise},ks=k2,Os=A2,Is=E4.CONSTRUCTOR,Ps=Ts;Os("Promise");ks({target:"Promise",stat:!0,forced:Is},{resolve:function(e){return Ps(this,e)}});var Rs=k2,Ns=O2;Rs({target:"Promise",stat:!0},{withResolvers:function(){var e=Ns.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var $s=m1,xs=$s,Ds=xs,Fs=Ds.Promise;Fs.withResolvers;const me=(c,e)=>{const t=c[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((l,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+e)))})};/*! + * shared v9.11.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const C3=typeof window<"u",y2=(c,e=!1)=>e?Symbol.for(c):Symbol(c),qs=(c,e,t)=>js({l:c,k:e,s:t}),js=c=>JSON.stringify(c).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),d1=c=>typeof c=="number"&&isFinite(c),Bs=c=>Me(c)==="[object Date]",p2=c=>Me(c)==="[object RegExp]",O3=c=>B(c)&&Object.keys(c).length===0,b1=Object.assign;let V5;const Z1=()=>V5||(V5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function L5(c){return c.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Us=Object.prototype.hasOwnProperty;function H3(c,e){return Us.call(c,e)}const o1=Array.isArray,l1=c=>typeof c=="function",x=c=>typeof c=="string",W=c=>typeof c=="boolean",e1=c=>c!==null&&typeof c=="object",Gs=c=>e1(c)&&l1(c.then)&&l1(c.catch),ye=Object.prototype.toString,Me=c=>ye.call(c),B=c=>{if(!e1(c))return!1;const e=Object.getPrototypeOf(c);return e===null||e.constructor===Object},Ws=c=>c==null?"":o1(c)||B(c)&&c.toString===ye?JSON.stringify(c,null,2):String(c);function Ks(c,e=""){return c.reduce((t,l,o)=>o===0?t+l:t+e+l,"")}function B0(c){let e=c;return()=>++e}function Ys(c,e){typeof console<"u"&&(console.warn("[intlify] "+c),e&&console.warn(e.stack))}const B4=c=>!e1(c)||o1(c);function c3(c,e){if(B4(c)||B4(e))throw new Error("Invalid value");const t=[{src:c,des:e}];for(;t.length;){const{src:l,des:o}=t.pop();Object.keys(l).forEach(r=>{B4(l[r])||B4(o[r])?o[r]=l[r]:t.push({src:l[r],des:o[r]})})}}/*! + * message-compiler v9.11.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function Xs(c,e,t){return{line:c,column:e,offset:t}}function W8(c,e,t){const l={start:c,end:e};return t!=null&&(l.source=t),l}const Js=/\{([0-9a-zA-Z]+)\}/g;function Qs(c,...e){return e.length===1&&Zs(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),c.replace(Js,(t,l)=>e.hasOwnProperty(l)?e[l]:"")}const be=Object.assign,z5=c=>typeof c=="string",Zs=c=>c!==null&&typeof c=="object";function Ce(c,e=""){return c.reduce((t,l,o)=>o===0?t+l:t+e+l,"")}const q={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},cu={[q.EXPECTED_TOKEN]:"Expected token: '{0}'",[q.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[q.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[q.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[q.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[q.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[q.EMPTY_PLACEHOLDER]:"Empty placeholder",[q.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[q.INVALID_LINKED_FORMAT]:"Invalid linked format",[q.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[q.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[q.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[q.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[q.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[q.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function r4(c,e,t={}){const{domain:l,messages:o,args:r}=t,a=Qs((o||cu)[c]||"",...r||[]),n=new SyntaxError(String(a));return n.code=c,e&&(n.location=e),n.domain=l,n}function eu(c){throw c}const J1=" ",tu="\r",g1=` +`,lu="\u2028",ru="\u2029";function ou(c){const e=c;let t=0,l=1,o=1,r=0;const a=_=>e[_]===tu&&e[_+1]===g1,n=_=>e[_]===g1,i=_=>e[_]===ru,s=_=>e[_]===lu,u=_=>a(_)||n(_)||i(_)||s(_),h=()=>t,p=()=>l,C=()=>o,H=()=>r,m=_=>a(_)||i(_)||s(_)?g1:e[_],M=()=>m(t),d=()=>m(t+r);function f(){return r=0,u(t)&&(l++,o=0),a(t)&&t++,t++,o++,e[t]}function g(){return a(t+r)&&r++,r++,e[t+r]}function y(){t=0,l=1,o=1,r=0}function z(_=0){r=_}function V(){const _=t+r;for(;_!==t;)f();r=0}return{index:h,line:p,column:C,peekOffset:H,charAt:m,currentChar:M,currentPeek:d,next:f,peek:g,reset:y,resetPeek:z,skipToPeek:V}}const u2=void 0,au=".",_5="'",nu="tokenizer";function iu(c,e={}){const t=e.location!==!1,l=ou(c),o=()=>l.index(),r=()=>Xs(l.line(),l.column(),l.index()),a=r(),n=o(),i={currentType:14,offset:n,startLoc:a,endLoc:a,lastType:14,lastOffset:n,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},s=()=>i,{onError:u}=e;function h(b,v,L,...D){const j=s();if(v.column+=L,v.offset+=L,u){const Z=t?W8(j.startLoc,v):null,D1=r4(b,Z,{domain:nu,args:D});u(D1)}}function p(b,v,L){b.endLoc=r(),b.currentType=v;const D={type:v};return t&&(D.loc=W8(b.startLoc,b.endLoc)),L!=null&&(D.value=L),D}const C=b=>p(b,14);function H(b,v){return b.currentChar()===v?(b.next(),v):(h(q.EXPECTED_TOKEN,r(),0,v),"")}function m(b){let v="";for(;b.currentPeek()===J1||b.currentPeek()===g1;)v+=b.currentPeek(),b.peek();return v}function M(b){const v=m(b);return b.skipToPeek(),v}function d(b){if(b===u2)return!1;const v=b.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v===95}function f(b){if(b===u2)return!1;const v=b.charCodeAt(0);return v>=48&&v<=57}function g(b,v){const{currentType:L}=v;if(L!==2)return!1;m(b);const D=d(b.currentPeek());return b.resetPeek(),D}function y(b,v){const{currentType:L}=v;if(L!==2)return!1;m(b);const D=b.currentPeek()==="-"?b.peek():b.currentPeek(),j=f(D);return b.resetPeek(),j}function z(b,v){const{currentType:L}=v;if(L!==2)return!1;m(b);const D=b.currentPeek()===_5;return b.resetPeek(),D}function V(b,v){const{currentType:L}=v;if(L!==8)return!1;m(b);const D=b.currentPeek()===".";return b.resetPeek(),D}function _(b,v){const{currentType:L}=v;if(L!==9)return!1;m(b);const D=d(b.currentPeek());return b.resetPeek(),D}function $(b,v){const{currentType:L}=v;if(!(L===8||L===12))return!1;m(b);const D=b.currentPeek()===":";return b.resetPeek(),D}function w(b,v){const{currentType:L}=v;if(L!==10)return!1;const D=()=>{const Z=b.currentPeek();return Z==="{"?d(b.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===J1||!Z?!1:Z===g1?(b.peek(),D()):d(Z)},j=D();return b.resetPeek(),j}function N(b){m(b);const v=b.currentPeek()==="|";return b.resetPeek(),v}function U(b){const v=m(b),L=b.currentPeek()==="%"&&b.peek()==="{";return b.resetPeek(),{isModulo:L,hasSpace:v.length>0}}function F(b,v=!0){const L=(j=!1,Z="",D1=!1)=>{const X1=b.currentPeek();return X1==="{"?Z==="%"?!1:j:X1==="@"||!X1?Z==="%"?!0:j:X1==="%"?(b.peek(),L(j,"%",!0)):X1==="|"?Z==="%"||D1?!0:!(Z===J1||Z===g1):X1===J1?(b.peek(),L(!0,J1,D1)):X1===g1?(b.peek(),L(!0,g1,D1)):!0},D=L();return v&&b.resetPeek(),D}function K(b,v){const L=b.currentChar();return L===u2?u2:v(L)?(b.next(),L):null}function s1(b){return K(b,L=>{const D=L.charCodeAt(0);return D>=97&&D<=122||D>=65&&D<=90||D>=48&&D<=57||D===95||D===36})}function n1(b){return K(b,L=>{const D=L.charCodeAt(0);return D>=48&&D<=57})}function Q(b){return K(b,L=>{const D=L.charCodeAt(0);return D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102})}function y1(b){let v="",L="";for(;v=n1(b);)L+=v;return L}function $1(b){M(b);const v=b.currentChar();return v!=="%"&&h(q.EXPECTED_TOKEN,r(),0,v),b.next(),"%"}function O1(b){let v="";for(;;){const L=b.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(F(b))v+=L,b.next();else break;else if(L===J1||L===g1)if(F(b))v+=L,b.next();else{if(N(b))break;v+=L,b.next()}else v+=L,b.next()}return v}function x1(b){M(b);let v="",L="";for(;v=s1(b);)L+=v;return b.currentChar()===u2&&h(q.UNTERMINATED_CLOSING_BRACE,r(),0),L}function A(b){M(b);let v="";return b.currentChar()==="-"?(b.next(),v+=`-${y1(b)}`):v+=y1(b),b.currentChar()===u2&&h(q.UNTERMINATED_CLOSING_BRACE,r(),0),v}function T(b){M(b),H(b,"'");let v="",L="";const D=Z=>Z!==_5&&Z!==g1;for(;v=K(b,D);)v==="\\"?L+=I(b):L+=v;const j=b.currentChar();return j===g1||j===u2?(h(q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),j===g1&&(b.next(),H(b,"'")),L):(H(b,"'"),L)}function I(b){const v=b.currentChar();switch(v){case"\\":case"'":return b.next(),`\\${v}`;case"u":return k(b,v,4);case"U":return k(b,v,6);default:return h(q.UNKNOWN_ESCAPE_SEQUENCE,r(),0,v),""}}function k(b,v,L){H(b,v);let D="";for(let j=0;jj!=="{"&&j!=="}"&&j!==J1&&j!==g1;for(;v=K(b,D);)L+=v;return L}function n4(b){let v="",L="";for(;v=s1(b);)L+=v;return L}function k4(b){const v=(L=!1,D)=>{const j=b.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===J1?D:j===g1||j===au?(D+=j,b.next(),v(L,D)):(D+=j,b.next(),v(!0,D))};return v(!1,"")}function C2(b){M(b);const v=H(b,"|");return M(b),v}function H2(b,v){let L=null;switch(b.currentChar()){case"{":return v.braceNest>=1&&h(q.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),b.next(),L=p(v,2,"{"),M(b),v.braceNest++,L;case"}":return v.braceNest>0&&v.currentType===2&&h(q.EMPTY_PLACEHOLDER,r(),0),b.next(),L=p(v,3,"}"),v.braceNest--,v.braceNest>0&&M(b),v.inLinked&&v.braceNest===0&&(v.inLinked=!1),L;case"@":return v.braceNest>0&&h(q.UNTERMINATED_CLOSING_BRACE,r(),0),L=i2(b,v)||C(v),v.braceNest=0,L;default:{let j=!0,Z=!0,D1=!0;if(N(b))return v.braceNest>0&&h(q.UNTERMINATED_CLOSING_BRACE,r(),0),L=p(v,1,C2(b)),v.braceNest=0,v.inLinked=!1,L;if(v.braceNest>0&&(v.currentType===5||v.currentType===6||v.currentType===7))return h(q.UNTERMINATED_CLOSING_BRACE,r(),0),v.braceNest=0,g2(b,v);if(j=g(b,v))return L=p(v,5,x1(b)),M(b),L;if(Z=y(b,v))return L=p(v,6,A(b)),M(b),L;if(D1=z(b,v))return L=p(v,7,T(b)),M(b),L;if(!j&&!Z&&!D1)return L=p(v,13,a4(b)),h(q.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),M(b),L;break}}return L}function i2(b,v){const{currentType:L}=v;let D=null;const j=b.currentChar();switch((L===8||L===9||L===12||L===10)&&(j===g1||j===J1)&&h(q.INVALID_LINKED_FORMAT,r(),0),j){case"@":return b.next(),D=p(v,8,"@"),v.inLinked=!0,D;case".":return M(b),b.next(),p(v,9,".");case":":return M(b),b.next(),p(v,10,":");default:return N(b)?(D=p(v,1,C2(b)),v.braceNest=0,v.inLinked=!1,D):V(b,v)||$(b,v)?(M(b),i2(b,v)):_(b,v)?(M(b),p(v,12,n4(b))):w(b,v)?(M(b),j==="{"?H2(b,v)||D:p(v,11,k4(b))):(L===8&&h(q.INVALID_LINKED_FORMAT,r(),0),v.braceNest=0,v.inLinked=!1,g2(b,v))}}function g2(b,v){let L={type:14};if(v.braceNest>0)return H2(b,v)||C(v);if(v.inLinked)return i2(b,v)||C(v);switch(b.currentChar()){case"{":return H2(b,v)||C(v);case"}":return h(q.UNBALANCED_CLOSING_BRACE,r(),0),b.next(),p(v,3,"}");case"@":return i2(b,v)||C(v);default:{if(N(b))return L=p(v,1,C2(b)),v.braceNest=0,v.inLinked=!1,L;const{isModulo:j,hasSpace:Z}=U(b);if(j)return Z?p(v,0,O1(b)):p(v,4,$1(b));if(F(b))return p(v,0,O1(b));break}}return L}function i4(){const{currentType:b,offset:v,startLoc:L,endLoc:D}=i;return i.lastType=b,i.lastOffset=v,i.lastStartLoc=L,i.lastEndLoc=D,i.offset=o(),i.startLoc=r(),l.currentChar()===u2?p(i,14):g2(l,i)}return{nextToken:i4,currentOffset:o,currentPosition:r,context:s}}const su="parser",uu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function hu(c,e,t){switch(c){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(e||t,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function du(c={}){const e=c.location!==!1,{onError:t}=c;function l(d,f,g,y,...z){const V=d.currentPosition();if(V.offset+=y,V.column+=y,t){const _=e?W8(g,V):null,$=r4(f,_,{domain:su,args:z});t($)}}function o(d,f,g){const y={type:d};return e&&(y.start=f,y.end=f,y.loc={start:g,end:g}),y}function r(d,f,g,y){y&&(d.type=y),e&&(d.end=f,d.loc&&(d.loc.end=g))}function a(d,f){const g=d.context(),y=o(3,g.offset,g.startLoc);return y.value=f,r(y,d.currentOffset(),d.currentPosition()),y}function n(d,f){const g=d.context(),{lastOffset:y,lastStartLoc:z}=g,V=o(5,y,z);return V.index=parseInt(f,10),d.nextToken(),r(V,d.currentOffset(),d.currentPosition()),V}function i(d,f){const g=d.context(),{lastOffset:y,lastStartLoc:z}=g,V=o(4,y,z);return V.key=f,d.nextToken(),r(V,d.currentOffset(),d.currentPosition()),V}function s(d,f){const g=d.context(),{lastOffset:y,lastStartLoc:z}=g,V=o(9,y,z);return V.value=f.replace(uu,hu),d.nextToken(),r(V,d.currentOffset(),d.currentPosition()),V}function u(d){const f=d.nextToken(),g=d.context(),{lastOffset:y,lastStartLoc:z}=g,V=o(8,y,z);return f.type!==12?(l(d,q.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),V.value="",r(V,y,z),{nextConsumeToken:f,node:V}):(f.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,q1(f)),V.value=f.value||"",r(V,d.currentOffset(),d.currentPosition()),{node:V})}function h(d,f){const g=d.context(),y=o(7,g.offset,g.startLoc);return y.value=f,r(y,d.currentOffset(),d.currentPosition()),y}function p(d){const f=d.context(),g=o(6,f.offset,f.startLoc);let y=d.nextToken();if(y.type===9){const z=u(d);g.modifier=z.node,y=z.nextConsumeToken||d.nextToken()}switch(y.type!==10&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(y)),y=d.nextToken(),y.type===2&&(y=d.nextToken()),y.type){case 11:y.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(y)),g.key=h(d,y.value||"");break;case 5:y.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(y)),g.key=i(d,y.value||"");break;case 6:y.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(y)),g.key=n(d,y.value||"");break;case 7:y.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(y)),g.key=s(d,y.value||"");break;default:{l(d,q.UNEXPECTED_EMPTY_LINKED_KEY,f.lastStartLoc,0);const z=d.context(),V=o(7,z.offset,z.startLoc);return V.value="",r(V,z.offset,z.startLoc),g.key=V,r(g,z.offset,z.startLoc),{nextConsumeToken:y,node:g}}}return r(g,d.currentOffset(),d.currentPosition()),{node:g}}function C(d){const f=d.context(),g=f.currentType===1?d.currentOffset():f.offset,y=f.currentType===1?f.endLoc:f.startLoc,z=o(2,g,y);z.items=[];let V=null;do{const w=V||d.nextToken();switch(V=null,w.type){case 0:w.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(w)),z.items.push(a(d,w.value||""));break;case 6:w.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(w)),z.items.push(n(d,w.value||""));break;case 5:w.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(w)),z.items.push(i(d,w.value||""));break;case 7:w.value==null&&l(d,q.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,q1(w)),z.items.push(s(d,w.value||""));break;case 8:{const N=p(d);z.items.push(N.node),V=N.nextConsumeToken||null;break}}}while(f.currentType!==14&&f.currentType!==1);const _=f.currentType===1?f.lastOffset:d.currentOffset(),$=f.currentType===1?f.lastEndLoc:d.currentPosition();return r(z,_,$),z}function H(d,f,g,y){const z=d.context();let V=y.items.length===0;const _=o(1,f,g);_.cases=[],_.cases.push(y);do{const $=C(d);V||(V=$.items.length===0),_.cases.push($)}while(z.currentType!==14);return V&&l(d,q.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(_,d.currentOffset(),d.currentPosition()),_}function m(d){const f=d.context(),{offset:g,startLoc:y}=f,z=C(d);return f.currentType===14?z:H(d,g,y,z)}function M(d){const f=iu(d,be({},c)),g=f.context(),y=o(0,g.offset,g.startLoc);return e&&y.loc&&(y.loc.source=d),y.body=m(f),c.onCacheKey&&(y.cacheKey=c.onCacheKey(d)),g.currentType!==14&&l(f,q.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,d[g.offset]||""),r(y,f.currentOffset(),f.currentPosition()),y}return{parse:M}}function q1(c){if(c.type===14)return"EOF";const e=(c.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function fu(c,e={}){const t={ast:c,helpers:new Set};return{context:()=>t,helper:r=>(t.helpers.add(r),r)}}function w5(c,e){for(let t=0;tE5(t)),c}function E5(c){if(c.items.length===1){const e=c.items[0];(e.type===3||e.type===9)&&(c.static=e.value,delete e.value)}else{const e=[];for(let t=0;tn;function s(M,d){n.code+=M}function u(M,d=!0){const f=d?o:"";s(r?f+" ".repeat(M):f)}function h(M=!0){const d=++n.indentLevel;M&&u(d)}function p(M=!0){const d=--n.indentLevel;M&&u(d)}function C(){u(n.indentLevel)}return{context:i,push:s,indent:h,deindent:p,newline:C,helper:M=>`_${M}`,needIndent:()=>n.needIndent}}function bu(c,e){const{helper:t}=c;c.push(`${t("linked")}(`),J2(c,e.key),e.modifier?(c.push(", "),J2(c,e.modifier),c.push(", _type")):c.push(", undefined, _type"),c.push(")")}function Cu(c,e){const{helper:t,needIndent:l}=c;c.push(`${t("normalize")}([`),c.indent(l());const o=e.items.length;for(let r=0;r1){c.push(`${t("plural")}([`),c.indent(l());const o=e.cases.length;for(let r=0;r{const t=z5(e.mode)?e.mode:"normal",l=z5(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,r=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":` +`,a=e.needIndent?e.needIndent:t!=="arrow",n=c.helpers||[],i=Mu(c,{mode:t,filename:l,sourceMap:o,breakLineCode:r,needIndent:a});i.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),n.length>0&&(i.push(`const { ${Ce(n.map(h=>`${h}: _${h}`),", ")} } = ctx`),i.newline()),i.push("return "),J2(i,c),i.deindent(a),i.push("}"),delete c.helpers;const{code:s,map:u}=i.context();return{ast:c,code:s,map:u?u.toJSON():void 0}};function Lu(c,e={}){const t=be({},e),l=!!t.jit,o=!!t.minify,r=t.optimize==null?!0:t.optimize,n=du(t).parse(c);return l?(r&&pu(n),o&&x2(n),{ast:n,code:""}):(vu(n,t),Vu(n,t))}/*! + * core-base v9.11.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function zu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Z1().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Z1().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Z1().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const M2=[];M2[0]={w:[0],i:[3,0],"[":[4],o:[7]};M2[1]={w:[1],".":[2],"[":[4],o:[7]};M2[2]={w:[2],i:[3,0],0:[3,0]};M2[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};M2[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};M2[5]={"'":[4,0],o:8,l:[5,0]};M2[6]={'"':[4,0],o:8,l:[6,0]};const _u=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function wu(c){return _u.test(c)}function Eu(c){const e=c.charCodeAt(0),t=c.charCodeAt(c.length-1);return e===t&&(e===34||e===39)?c.slice(1,-1):c}function Su(c){if(c==null)return"o";switch(c.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return c;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Au(c){const e=c.trim();return c.charAt(0)==="0"&&isNaN(parseInt(c))?!1:wu(e)?Eu(e):"*"+e}function Tu(c){const e=[];let t=-1,l=0,o=0,r,a,n,i,s,u,h;const p=[];p[0]=()=>{a===void 0?a=n:a+=n},p[1]=()=>{a!==void 0&&(e.push(a),a=void 0)},p[2]=()=>{p[0](),o++},p[3]=()=>{if(o>0)o--,l=4,p[0]();else{if(o=0,a===void 0||(a=Au(a),a===!1))return!1;p[1]()}};function C(){const H=c[t+1];if(l===5&&H==="'"||l===6&&H==='"')return t++,n="\\"+H,p[0](),!0}for(;l!==null;)if(t++,r=c[t],!(r==="\\"&&C())){if(i=Su(r),h=M2[l],s=h[i]||h.l||8,s===8||(l=s[0],s[1]!==void 0&&(u=p[s[1]],u&&(n=r,u()===!1))))return;if(l===7)return e}}const S5=new Map;function ku(c,e){return e1(c)?c[e]:null}function Ou(c,e){if(!e1(c))return null;let t=S5.get(e);if(t||(t=Tu(e),t&&S5.set(e,t)),!t)return null;const l=t.length;let o=c,r=0;for(;rc,Pu=c=>"",Ru="text",Nu=c=>c.length===0?"":Ks(c),$u=Ws;function A5(c,e){return c=Math.abs(c),e===2?c?c>1?1:0:1:c?Math.min(c,2):0}function xu(c){const e=d1(c.pluralIndex)?c.pluralIndex:-1;return c.named&&(d1(c.named.count)||d1(c.named.n))?d1(c.named.count)?c.named.count:d1(c.named.n)?c.named.n:e:e}function Du(c,e){e.count||(e.count=c),e.n||(e.n=c)}function Fu(c={}){const e=c.locale,t=xu(c),l=e1(c.pluralRules)&&x(e)&&l1(c.pluralRules[e])?c.pluralRules[e]:A5,o=e1(c.pluralRules)&&x(e)&&l1(c.pluralRules[e])?A5:void 0,r=d=>d[l(t,d.length,o)],a=c.list||[],n=d=>a[d],i=c.named||{};d1(c.pluralIndex)&&Du(t,i);const s=d=>i[d];function u(d){const f=l1(c.messages)?c.messages(d):e1(c.messages)?c.messages[d]:!1;return f||(c.parent?c.parent.message(d):Pu)}const h=d=>c.modifiers?c.modifiers[d]:Iu,p=B(c.processor)&&l1(c.processor.normalize)?c.processor.normalize:Nu,C=B(c.processor)&&l1(c.processor.interpolate)?c.processor.interpolate:$u,H=B(c.processor)&&x(c.processor.type)?c.processor.type:Ru,M={list:n,named:s,plural:r,linked:(d,...f)=>{const[g,y]=f;let z="text",V="";f.length===1?e1(g)?(V=g.modifier||V,z=g.type||z):x(g)&&(V=g||V):f.length===2&&(x(g)&&(V=g||V),x(y)&&(z=y||z));const _=u(d)(M),$=z==="vnode"&&o1(_)&&V?_[0]:_;return V?h(V)($,z):$},message:u,type:H,interpolate:C,normalize:p,values:b1({},a,i)};return M}let g4=null;function qu(c){g4=c}function ju(c,e,t){g4&&g4.emit("i18n:init",{timestamp:Date.now(),i18n:c,version:e,meta:t})}const Bu=Uu("function:translate");function Uu(c){return e=>g4&&g4.emit(c,e)}const Gu={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},He=q.__EXTEND_POINT__,L2=B0(He),R1={INVALID_ARGUMENT:He,INVALID_DATE_ARGUMENT:L2(),INVALID_ISO_DATE_ARGUMENT:L2(),NOT_SUPPORT_NON_STRING_MESSAGE:L2(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:L2(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:L2(),NOT_SUPPORT_LOCALE_TYPE:L2(),__EXTEND_POINT__:L2()};function j1(c){return r4(c,null,void 0)}function G0(c,e){return e.locale!=null?T5(e.locale):T5(c.locale)}let b8;function T5(c){if(x(c))return c;if(l1(c)){if(c.resolvedOnce&&b8!=null)return b8;if(c.constructor.name==="Function"){const e=c();if(Gs(e))throw j1(R1.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return b8=e}else throw j1(R1.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw j1(R1.NOT_SUPPORT_LOCALE_TYPE)}function Wu(c,e,t){return[...new Set([t,...o1(e)?e:e1(e)?Object.keys(e):x(e)?[e]:[t]])]}function ge(c,e,t){const l=x(t)?t:Q2,o=c;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(l);if(!r){r=[];let a=[t];for(;o1(a);)a=k5(r,a,e);const n=o1(e)||!B(e)?e:e.default?e.default:null;a=x(n)?[n]:n,o1(a)&&k5(r,a,!1),o.__localeChainCache.set(l,r)}return r}function k5(c,e,t){let l=!0;for(let o=0;o`${c.charAt(0).toLocaleUpperCase()}${c.substr(1)}`;function Ju(){return{upper:(c,e)=>e==="text"&&x(c)?c.toUpperCase():e==="vnode"&&e1(c)&&"__v_isVNode"in c?c.children.toUpperCase():c,lower:(c,e)=>e==="text"&&x(c)?c.toLowerCase():e==="vnode"&&e1(c)&&"__v_isVNode"in c?c.children.toLowerCase():c,capitalize:(c,e)=>e==="text"&&x(c)?I5(c):e==="vnode"&&e1(c)&&"__v_isVNode"in c?I5(c.children):c}}let Ve;function P5(c){Ve=c}let Le;function Qu(c){Le=c}let ze;function Zu(c){ze=c}let _e=null;const ch=c=>{_e=c},eh=()=>_e;let we=null;const R5=c=>{we=c},th=()=>we;let N5=0;function lh(c={}){const e=l1(c.onWarn)?c.onWarn:Ys,t=x(c.version)?c.version:Xu,l=x(c.locale)||l1(c.locale)?c.locale:Q2,o=l1(l)?Q2:l,r=o1(c.fallbackLocale)||B(c.fallbackLocale)||x(c.fallbackLocale)||c.fallbackLocale===!1?c.fallbackLocale:o,a=B(c.messages)?c.messages:{[o]:{}},n=B(c.datetimeFormats)?c.datetimeFormats:{[o]:{}},i=B(c.numberFormats)?c.numberFormats:{[o]:{}},s=b1({},c.modifiers||{},Ju()),u=c.pluralRules||{},h=l1(c.missing)?c.missing:null,p=W(c.missingWarn)||p2(c.missingWarn)?c.missingWarn:!0,C=W(c.fallbackWarn)||p2(c.fallbackWarn)?c.fallbackWarn:!0,H=!!c.fallbackFormat,m=!!c.unresolving,M=l1(c.postTranslation)?c.postTranslation:null,d=B(c.processor)?c.processor:null,f=W(c.warnHtmlMessage)?c.warnHtmlMessage:!0,g=!!c.escapeParameter,y=l1(c.messageCompiler)?c.messageCompiler:Ve,z=l1(c.messageResolver)?c.messageResolver:Le||ku,V=l1(c.localeFallbacker)?c.localeFallbacker:ze||Wu,_=e1(c.fallbackContext)?c.fallbackContext:void 0,$=c,w=e1($.__datetimeFormatters)?$.__datetimeFormatters:new Map,N=e1($.__numberFormatters)?$.__numberFormatters:new Map,U=e1($.__meta)?$.__meta:{};N5++;const F={version:t,cid:N5,locale:l,fallbackLocale:r,messages:a,modifiers:s,pluralRules:u,missing:h,missingWarn:p,fallbackWarn:C,fallbackFormat:H,unresolving:m,postTranslation:M,processor:d,warnHtmlMessage:f,escapeParameter:g,messageCompiler:y,messageResolver:z,localeFallbacker:V,fallbackContext:_,onWarn:e,__meta:U};return F.datetimeFormats=n,F.numberFormats=i,F.__datetimeFormatters=w,F.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&ju(F,t,U),F}function W0(c,e,t,l,o){const{missing:r,onWarn:a}=c;if(r!==null){const n=r(c,t,e,o);return x(n)?n:e}else return e}function d4(c,e,t){const l=c;l.__localeChainCache=new Map,c.localeFallbacker(c,t,e)}function C8(c){return t=>rh(t,c)}function rh(c,e){const t=e.b||e.body;if((t.t||t.type)===1){const l=t,o=l.c||l.cases;return c.plural(o.reduce((r,a)=>[...r,$5(c,a)],[]))}else return $5(c,t)}function $5(c,e){const t=e.s||e.static;if(t)return c.type==="text"?t:c.normalize([t]);{const l=(e.i||e.items).reduce((o,r)=>[...o,K8(c,r)],[]);return c.normalize(l)}}function K8(c,e){const t=e.t||e.type;switch(t){case 3:{const l=e;return l.v||l.value}case 9:{const l=e;return l.v||l.value}case 4:{const l=e;return c.interpolate(c.named(l.k||l.key))}case 5:{const l=e;return c.interpolate(c.list(l.i!=null?l.i:l.index))}case 6:{const l=e,o=l.m||l.modifier;return c.linked(K8(c,l.k||l.key),o?K8(c,o):void 0,c.type)}case 7:{const l=e;return l.v||l.value}case 8:{const l=e;return l.v||l.value}default:throw new Error(`unhandled node type on format message part: ${t}`)}}const Ee=c=>c;let j2=Object.create(null);const Z2=c=>e1(c)&&(c.t===0||c.type===0)&&("b"in c||"body"in c);function Se(c,e={}){let t=!1;const l=e.onError||eu;return e.onError=o=>{t=!0,l(o)},{...Lu(c,e),detectError:t}}const oh=(c,e)=>{if(!x(c))throw j1(R1.NOT_SUPPORT_NON_STRING_MESSAGE);{W(e.warnHtmlMessage)&&e.warnHtmlMessage;const l=(e.onCacheKey||Ee)(c),o=j2[l];if(o)return o;const{code:r,detectError:a}=Se(c,e),n=new Function(`return ${r}`)();return a?n:j2[l]=n}};function ah(c,e){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&x(c)){W(e.warnHtmlMessage)&&e.warnHtmlMessage;const l=(e.onCacheKey||Ee)(c),o=j2[l];if(o)return o;const{ast:r,detectError:a}=Se(c,{...e,location:!1,jit:!0}),n=C8(r);return a?n:j2[l]=n}else{const t=c.cacheKey;if(t){const l=j2[t];return l||(j2[t]=C8(c))}else return C8(c)}}const x5=()=>"",T1=c=>l1(c);function D5(c,...e){const{fallbackFormat:t,postTranslation:l,unresolving:o,messageCompiler:r,fallbackLocale:a,messages:n}=c,[i,s]=Y8(...e),u=W(s.missingWarn)?s.missingWarn:c.missingWarn,h=W(s.fallbackWarn)?s.fallbackWarn:c.fallbackWarn,p=W(s.escapeParameter)?s.escapeParameter:c.escapeParameter,C=!!s.resolvedMessage,H=x(s.default)||W(s.default)?W(s.default)?r?i:()=>i:s.default:t?r?i:()=>i:"",m=t||H!=="",M=G0(c,s);p&&nh(s);let[d,f,g]=C?[i,M,n[M]||{}]:Ae(c,i,M,a,h,u),y=d,z=i;if(!C&&!(x(y)||Z2(y)||T1(y))&&m&&(y=H,z=y),!C&&(!(x(y)||Z2(y)||T1(y))||!x(f)))return o?I3:i;let V=!1;const _=()=>{V=!0},$=T1(y)?y:Te(c,i,f,y,z,_);if(V)return y;const w=uh(c,f,g,s),N=Fu(w),U=ih(c,$,N),F=l?l(U,i):U;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:x(i)?i:T1(y)?y.key:"",locale:f||(T1(y)?y.locale:""),format:x(y)?y:T1(y)?y.source:"",message:F};K.meta=b1({},c.__meta,eh()||{}),Bu(K)}return F}function nh(c){o1(c.list)?c.list=c.list.map(e=>x(e)?L5(e):e):e1(c.named)&&Object.keys(c.named).forEach(e=>{x(c.named[e])&&(c.named[e]=L5(c.named[e]))})}function Ae(c,e,t,l,o,r){const{messages:a,onWarn:n,messageResolver:i,localeFallbacker:s}=c,u=s(c,l,t);let h={},p,C=null;const H="translate";for(let m=0;ml;return s.locale=t,s.key=e,s}const i=a(l,sh(c,t,o,l,n,r));return i.locale=t,i.key=e,i.source=l,i}function ih(c,e,t){return e(t)}function Y8(...c){const[e,t,l]=c,o={};if(!x(e)&&!d1(e)&&!T1(e)&&!Z2(e))throw j1(R1.INVALID_ARGUMENT);const r=d1(e)?String(e):(T1(e),e);return d1(t)?o.plural=t:x(t)?o.default=t:B(t)&&!O3(t)?o.named=t:o1(t)&&(o.list=t),d1(l)?o.plural=l:x(l)?o.default=l:B(l)&&b1(o,l),[r,o]}function sh(c,e,t,l,o,r){return{locale:e,key:t,warnHtmlMessage:o,onError:a=>{throw r&&r(a),a},onCacheKey:a=>qs(e,t,a)}}function uh(c,e,t,l){const{modifiers:o,pluralRules:r,messageResolver:a,fallbackLocale:n,fallbackWarn:i,missingWarn:s,fallbackContext:u}=c,p={locale:e,modifiers:o,pluralRules:r,messages:C=>{let H=a(t,C);if(H==null&&u){const[,,m]=Ae(u,C,e,n,i,s);H=a(m,C)}if(x(H)||Z2(H)){let m=!1;const d=Te(c,C,e,H,C,()=>{m=!0});return m?x5:d}else return T1(H)?H:x5}};return c.processor&&(p.processor=c.processor),l.list&&(p.list=l.list),l.named&&(p.named=l.named),d1(l.plural)&&(p.pluralIndex=l.plural),p}function F5(c,...e){const{datetimeFormats:t,unresolving:l,fallbackLocale:o,onWarn:r,localeFallbacker:a}=c,{__datetimeFormatters:n}=c,[i,s,u,h]=X8(...e),p=W(u.missingWarn)?u.missingWarn:c.missingWarn;W(u.fallbackWarn)?u.fallbackWarn:c.fallbackWarn;const C=!!u.part,H=G0(c,u),m=a(c,o,H);if(!x(i)||i==="")return new Intl.DateTimeFormat(H,h).format(s);let M={},d,f=null;const g="datetime format";for(let V=0;V{ke.includes(i)?a[i]=t[i]:r[i]=t[i]}),x(l)?r.locale=l:B(l)&&(a=l),B(o)&&(a=o),[r.key||"",n,r,a]}function q5(c,e,t){const l=c;for(const o in t){const r=`${e}__${o}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function j5(c,...e){const{numberFormats:t,unresolving:l,fallbackLocale:o,onWarn:r,localeFallbacker:a}=c,{__numberFormatters:n}=c,[i,s,u,h]=J8(...e),p=W(u.missingWarn)?u.missingWarn:c.missingWarn;W(u.fallbackWarn)?u.fallbackWarn:c.fallbackWarn;const C=!!u.part,H=G0(c,u),m=a(c,o,H);if(!x(i)||i==="")return new Intl.NumberFormat(H,h).format(s);let M={},d,f=null;const g="number format";for(let V=0;V{Oe.includes(i)?a[i]=t[i]:r[i]=t[i]}),x(l)?r.locale=l:B(l)&&(a=l),B(o)&&(a=o),[r.key||"",n,r,a]}function B5(c,e,t){const l=c;for(const o in t){const r=`${e}__${o}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}zu();/*! + * vue-i18n v9.11.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const hh="9.11.0";function dh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Z1().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Z1().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Z1().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Z1().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Z1().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ie=Gu.__EXTEND_POINT__,Q1=B0(Ie);Q1(),Q1(),Q1(),Q1(),Q1(),Q1(),Q1(),Q1(),Q1();const Pe=R1.__EXTEND_POINT__,z1=B0(Pe),f1={UNEXPECTED_RETURN_TYPE:Pe,INVALID_ARGUMENT:z1(),MUST_BE_CALL_SETUP_TOP:z1(),NOT_INSTALLED:z1(),NOT_AVAILABLE_IN_LEGACY_MODE:z1(),REQUIRED_VALUE:z1(),INVALID_VALUE:z1(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:z1(),NOT_INSTALLED_WITH_PROVIDE:z1(),UNEXPECTED_ERROR:z1(),NOT_COMPATIBLE_LEGACY_VUE_I18N:z1(),BRIDGE_SUPPORT_VUE_2_ONLY:z1(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:z1(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:z1(),__EXTEND_POINT__:z1()};function p1(c,...e){return r4(c,null,void 0)}const Q8=y2("__translateVNode"),Z8=y2("__datetimeParts"),c0=y2("__numberParts"),Re=y2("__setPluralRules"),Ne=y2("__injectWithOption"),e0=y2("__dispose");function V4(c){if(!e1(c))return c;for(const e in c)if(H3(c,e))if(!e.includes("."))e1(c[e])&&V4(c[e]);else{const t=e.split("."),l=t.length-1;let o=c,r=!1;for(let a=0;a{if("locale"in n&&"resource"in n){const{locale:i,resource:s}=n;i?(a[i]=a[i]||{},c3(s,a[i])):c3(s,a)}else x(n)&&c3(JSON.parse(n),a)}),o==null&&r)for(const n in a)H3(a,n)&&V4(a[n]);return a}function $e(c){return c.type}function xe(c,e,t){let l=e1(e.messages)?e.messages:{};"__i18nGlobal"in t&&(l=P3(c.locale.value,{messages:l,__i18n:t.__i18nGlobal}));const o=Object.keys(l);o.length&&o.forEach(r=>{c.mergeLocaleMessage(r,l[r])});{if(e1(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(a=>{c.mergeDateTimeFormat(a,e.datetimeFormats[a])})}if(e1(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(a=>{c.mergeNumberFormat(a,e.numberFormats[a])})}}}function U5(c){return h1(ft,null,c,0)}const G5="__INTLIFY_META__",W5=()=>[],fh=()=>!1;let K5=0;function Y5(c){return(e,t,l,o)=>c(t,l,_2()||void 0,o)}const vh=()=>{const c=_2();let e=null;return c&&(e=$e(c)[G5])?{[G5]:e}:null};function K0(c={},e){const{__root:t,__injectWithOption:l}=c,o=t===void 0,r=c.flatJson,a=C3?Y:cc,n=!!c.translateExistCompatible;let i=W(c.inheritLocale)?c.inheritLocale:!0;const s=a(t&&i?t.locale.value:x(c.locale)?c.locale:Q2),u=a(t&&i?t.fallbackLocale.value:x(c.fallbackLocale)||o1(c.fallbackLocale)||B(c.fallbackLocale)||c.fallbackLocale===!1?c.fallbackLocale:s.value),h=a(P3(s.value,c)),p=a(B(c.datetimeFormats)?c.datetimeFormats:{[s.value]:{}}),C=a(B(c.numberFormats)?c.numberFormats:{[s.value]:{}});let H=t?t.missingWarn:W(c.missingWarn)||p2(c.missingWarn)?c.missingWarn:!0,m=t?t.fallbackWarn:W(c.fallbackWarn)||p2(c.fallbackWarn)?c.fallbackWarn:!0,M=t?t.fallbackRoot:W(c.fallbackRoot)?c.fallbackRoot:!0,d=!!c.fallbackFormat,f=l1(c.missing)?c.missing:null,g=l1(c.missing)?Y5(c.missing):null,y=l1(c.postTranslation)?c.postTranslation:null,z=t?t.warnHtmlMessage:W(c.warnHtmlMessage)?c.warnHtmlMessage:!0,V=!!c.escapeParameter;const _=t?t.modifiers:B(c.modifiers)?c.modifiers:{};let $=c.pluralRules||t&&t.pluralRules,w;w=(()=>{o&&R5(null);const E={version:hh,locale:s.value,fallbackLocale:u.value,messages:h.value,modifiers:_,pluralRules:$,missing:g===null?void 0:g,missingWarn:H,fallbackWarn:m,fallbackFormat:d,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:z,escapeParameter:V,messageResolver:c.messageResolver,messageCompiler:c.messageCompiler,__meta:{framework:"vue"}};E.datetimeFormats=p.value,E.numberFormats=C.value,E.__datetimeFormatters=B(w)?w.__datetimeFormatters:void 0,E.__numberFormatters=B(w)?w.__numberFormatters:void 0;const P=lh(E);return o&&R5(P),P})(),d4(w,s.value,u.value);function U(){return[s.value,u.value,h.value,p.value,C.value]}const F=X({get:()=>s.value,set:E=>{s.value=E,w.locale=s.value}}),K=X({get:()=>u.value,set:E=>{u.value=E,w.fallbackLocale=u.value,d4(w,s.value,E)}}),s1=X(()=>h.value),n1=X(()=>p.value),Q=X(()=>C.value);function y1(){return l1(y)?y:null}function $1(E){y=E,w.postTranslation=E}function O1(){return f}function x1(E){E!==null&&(g=Y5(E)),f=E,w.missing=g}const A=(E,P,t1,i1,s2,O4)=>{U();let I2;try{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=t?th():void 0),I2=E(w)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if(t1!=="translate exists"&&d1(I2)&&I2===I3||t1==="translate exists"&&!I2){const[Y9,$M]=P();return t&&M?i1(t):s2(Y9)}else{if(O4(I2))return I2;throw p1(f1.UNEXPECTED_RETURN_TYPE)}};function T(...E){return A(P=>Reflect.apply(D5,null,[P,...E]),()=>Y8(...E),"translate",P=>Reflect.apply(P.t,P,[...E]),P=>P,P=>x(P))}function I(...E){const[P,t1,i1]=E;if(i1&&!e1(i1))throw p1(f1.INVALID_ARGUMENT);return T(P,t1,b1({resolvedMessage:!0},i1||{}))}function k(...E){return A(P=>Reflect.apply(F5,null,[P,...E]),()=>X8(...E),"datetime format",P=>Reflect.apply(P.d,P,[...E]),()=>O5,P=>x(P))}function a4(...E){return A(P=>Reflect.apply(j5,null,[P,...E]),()=>J8(...E),"number format",P=>Reflect.apply(P.n,P,[...E]),()=>O5,P=>x(P))}function n4(E){return E.map(P=>x(P)||d1(P)||W(P)?U5(String(P)):P)}const C2={normalize:n4,interpolate:E=>E,type:"vnode"};function H2(...E){return A(P=>{let t1;const i1=P;try{i1.processor=C2,t1=Reflect.apply(D5,null,[i1,...E])}finally{i1.processor=null}return t1},()=>Y8(...E),"translate",P=>P[Q8](...E),P=>[U5(P)],P=>o1(P))}function i2(...E){return A(P=>Reflect.apply(j5,null,[P,...E]),()=>J8(...E),"number format",P=>P[c0](...E),W5,P=>x(P)||o1(P))}function g2(...E){return A(P=>Reflect.apply(F5,null,[P,...E]),()=>X8(...E),"datetime format",P=>P[Z8](...E),W5,P=>x(P)||o1(P))}function i4(E){$=E,w.pluralRules=$}function b(E,P){return A(()=>{if(!E)return!1;const t1=x(P)?P:s.value,i1=D(t1),s2=w.messageResolver(i1,E);return n?s2!=null:Z2(s2)||T1(s2)||x(s2)},()=>[E],"translate exists",t1=>Reflect.apply(t1.te,t1,[E,P]),fh,t1=>W(t1))}function v(E){let P=null;const t1=ge(w,u.value,s.value);for(let i1=0;i1{i&&(s.value=E,w.locale=E,d4(w,s.value,u.value))}),N1(t.fallbackLocale,E=>{i&&(u.value=E,w.fallbackLocale=E,d4(w,s.value,u.value))}));const v1={id:K5,locale:F,fallbackLocale:K,get inheritLocale(){return i},set inheritLocale(E){i=E,E&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,d4(w,s.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:s1,get modifiers(){return _},get pluralRules(){return $||{}},get isGlobal(){return o},get missingWarn(){return H},set missingWarn(E){H=E,w.missingWarn=H},get fallbackWarn(){return m},set fallbackWarn(E){m=E,w.fallbackWarn=m},get fallbackRoot(){return M},set fallbackRoot(E){M=E},get fallbackFormat(){return d},set fallbackFormat(E){d=E,w.fallbackFormat=d},get warnHtmlMessage(){return z},set warnHtmlMessage(E){z=E,w.warnHtmlMessage=E},get escapeParameter(){return V},set escapeParameter(E){V=E,w.escapeParameter=E},t:T,getLocaleMessage:D,setLocaleMessage:j,mergeLocaleMessage:Z,getPostTranslationHandler:y1,setPostTranslationHandler:$1,getMissingHandler:O1,setMissingHandler:x1,[Re]:i4};return v1.datetimeFormats=n1,v1.numberFormats=Q,v1.rt=I,v1.te=b,v1.tm=L,v1.d=k,v1.n=a4,v1.getDateTimeFormat=D1,v1.setDateTimeFormat=X1,v1.mergeDateTimeFormat=U9,v1.getNumberFormat=G9,v1.setNumberFormat=W9,v1.mergeNumberFormat=K9,v1[Ne]=l,v1[Q8]=H2,v1[Z8]=g2,v1[c0]=i2,v1}function ph(c){const e=x(c.locale)?c.locale:Q2,t=x(c.fallbackLocale)||o1(c.fallbackLocale)||B(c.fallbackLocale)||c.fallbackLocale===!1?c.fallbackLocale:e,l=l1(c.missing)?c.missing:void 0,o=W(c.silentTranslationWarn)||p2(c.silentTranslationWarn)?!c.silentTranslationWarn:!0,r=W(c.silentFallbackWarn)||p2(c.silentFallbackWarn)?!c.silentFallbackWarn:!0,a=W(c.fallbackRoot)?c.fallbackRoot:!0,n=!!c.formatFallbackMessages,i=B(c.modifiers)?c.modifiers:{},s=c.pluralizationRules,u=l1(c.postTranslation)?c.postTranslation:void 0,h=x(c.warnHtmlInMessage)?c.warnHtmlInMessage!=="off":!0,p=!!c.escapeParameterHtml,C=W(c.sync)?c.sync:!0;let H=c.messages;if(B(c.sharedMessages)){const V=c.sharedMessages;H=Object.keys(V).reduce(($,w)=>{const N=$[w]||($[w]={});return b1(N,V[w]),$},H||{})}const{__i18n:m,__root:M,__injectWithOption:d}=c,f=c.datetimeFormats,g=c.numberFormats,y=c.flatJson,z=c.translateExistCompatible;return{locale:e,fallbackLocale:t,messages:H,flatJson:y,datetimeFormats:f,numberFormats:g,missing:l,missingWarn:o,fallbackWarn:r,fallbackRoot:a,fallbackFormat:n,modifiers:i,pluralRules:s,postTranslation:u,warnHtmlMessage:h,escapeParameter:p,messageResolver:c.messageResolver,inheritLocale:C,translateExistCompatible:z,__i18n:m,__root:M,__injectWithOption:d}}function t0(c={},e){{const t=K0(ph(c)),{__extender:l}=c,o={id:t.id,get locale(){return t.locale.value},set locale(r){t.locale.value=r},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(r){t.fallbackLocale.value=r},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return t.getMissingHandler()},set missing(r){t.setMissingHandler(r)},get silentTranslationWarn(){return W(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(r){t.missingWarn=W(r)?!r:r},get silentFallbackWarn(){return W(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(r){t.fallbackWarn=W(r)?!r:r},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(r){t.fallbackFormat=r},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(r){t.setPostTranslationHandler(r)},get sync(){return t.inheritLocale},set sync(r){t.inheritLocale=r},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){t.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(r){t.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...r){const[a,n,i]=r,s={};let u=null,h=null;if(!x(a))throw p1(f1.INVALID_ARGUMENT);const p=a;return x(n)?s.locale=n:o1(n)?u=n:B(n)&&(h=n),o1(i)?u=i:B(i)&&(h=i),Reflect.apply(t.t,t,[p,u||h||{},s])},rt(...r){return Reflect.apply(t.rt,t,[...r])},tc(...r){const[a,n,i]=r,s={plural:1};let u=null,h=null;if(!x(a))throw p1(f1.INVALID_ARGUMENT);const p=a;return x(n)?s.locale=n:d1(n)?s.plural=n:o1(n)?u=n:B(n)&&(h=n),x(i)?s.locale=i:o1(i)?u=i:B(i)&&(h=i),Reflect.apply(t.t,t,[p,u||h||{},s])},te(r,a){return t.te(r,a)},tm(r){return t.tm(r)},getLocaleMessage(r){return t.getLocaleMessage(r)},setLocaleMessage(r,a){t.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){t.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(t.d,t,[...r])},getDateTimeFormat(r){return t.getDateTimeFormat(r)},setDateTimeFormat(r,a){t.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){t.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(t.n,t,[...r])},getNumberFormat(r){return t.getNumberFormat(r)},setNumberFormat(r,a){t.setNumberFormat(r,a)},mergeNumberFormat(r,a){t.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return o.__extender=l,o}}const Y0={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:c=>c==="parent"||c==="global",default:"parent"},i18n:{type:Object}};function mh({slots:c},e){return e.length===1&&e[0]==="default"?(c.default?c.default():[]).reduce((l,o)=>[...l,...o.type===U2?o.children:[o]],[]):e.reduce((t,l)=>{const o=c[l];return o&&(t[l]=o()),t},{})}function De(c){return U2}const yh=S1({name:"i18n-t",props:b1({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:c=>d1(c)||!isNaN(c)}},Y0),setup(c,e){const{slots:t,attrs:l}=e,o=c.i18n||X0({useScope:c.scope,__useComponent:!0});return()=>{const r=Object.keys(t).filter(h=>h!=="_"),a={};c.locale&&(a.locale=c.locale),c.plural!==void 0&&(a.plural=x(c.plural)?+c.plural:c.plural);const n=mh(e,r),i=o[Q8](c.keypath,n,a),s=b1({},l),u=x(c.tag)||e1(c.tag)?c.tag:De();return d3(u,s,i)}}}),X5=yh;function Mh(c){return o1(c)&&!x(c[0])}function Fe(c,e,t,l){const{slots:o,attrs:r}=e;return()=>{const a={part:!0};let n={};c.locale&&(a.locale=c.locale),x(c.format)?a.key=c.format:e1(c.format)&&(x(c.format.key)&&(a.key=c.format.key),n=Object.keys(c.format).reduce((p,C)=>t.includes(C)?b1({},p,{[C]:c.format[C]}):p,{}));const i=l(c.value,a,n);let s=[a.key];o1(i)?s=i.map((p,C)=>{const H=o[p.type],m=H?H({[p.type]:p.value,index:C,parts:i}):[p.value];return Mh(m)&&(m[0].key=`${p.type}-${C}`),m}):x(i)&&(s=[i]);const u=b1({},r),h=x(c.tag)||e1(c.tag)?c.tag:De();return d3(h,u,s)}}const bh=S1({name:"i18n-n",props:b1({value:{type:Number,required:!0},format:{type:[String,Object]}},Y0),setup(c,e){const t=c.i18n||X0({useScope:c.scope,__useComponent:!0});return Fe(c,e,Oe,(...l)=>t[c0](...l))}}),J5=bh,Ch=S1({name:"i18n-d",props:b1({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Y0),setup(c,e){const t=c.i18n||X0({useScope:c.scope,__useComponent:!0});return Fe(c,e,ke,(...l)=>t[Z8](...l))}}),Q5=Ch;function Hh(c,e){const t=c;if(c.mode==="composition")return t.__getInstance(e)||c.global;{const l=t.__getInstance(e);return l!=null?l.__composer:c.global.__composer}}function gh(c){const e=a=>{const{instance:n,modifiers:i,value:s}=a;if(!n||!n.$)throw p1(f1.UNEXPECTED_ERROR);const u=Hh(c,n.$),h=Z5(s);return[Reflect.apply(u.t,u,[...c7(h)]),u]};return{created:(a,n)=>{const[i,s]=e(n);C3&&c.global===s&&(a.__i18nWatcher=N1(s.locale,()=>{n.instance&&n.instance.$forceUpdate()})),a.__composer=s,a.textContent=i},unmounted:a=>{C3&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:n})=>{if(a.__composer){const i=a.__composer,s=Z5(n);a.textContent=Reflect.apply(i.t,i,[...c7(s)])}},getSSRProps:a=>{const[n]=e(a);return{textContent:n}}}}function Z5(c){if(x(c))return{path:c};if(B(c)){if(!("path"in c))throw p1(f1.REQUIRED_VALUE,"path");return c}else throw p1(f1.INVALID_VALUE)}function c7(c){const{path:e,locale:t,args:l,choice:o,plural:r}=c,a={},n=l||{};return x(t)&&(a.locale=t),d1(o)&&(a.plural=o),d1(r)&&(a.plural=r),[e,n,a]}function Vh(c,e,...t){const l=B(t[0])?t[0]:{},o=!!l.useI18nComponentName;(W(l.globalInstall)?l.globalInstall:!0)&&([o?"i18n":X5.name,"I18nT"].forEach(a=>c.component(a,X5)),[J5.name,"I18nN"].forEach(a=>c.component(a,J5)),[Q5.name,"I18nD"].forEach(a=>c.component(a,Q5))),c.directive("t",gh(e))}function Lh(c,e,t){return{beforeCreate(){const l=_2();if(!l)throw p1(f1.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=e,this===this.$root)this.$i18n=e7(c,r);else{r.__injectWithOption=!0,r.__extender=t.__vueI18nExtend,this.$i18n=t0(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=e7(c,o);else{this.$i18n=t0({__i18n:o.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=c;o.__i18nGlobal&&xe(e,o,o),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),t.__setInstance(l,this.$i18n)},mounted(){},unmounted(){const l=_2();if(!l)throw p1(f1.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),t.__deleteInstance(l),delete this.$i18n}}}function e7(c,e){c.locale=e.locale||c.locale,c.fallbackLocale=e.fallbackLocale||c.fallbackLocale,c.missing=e.missing||c.missing,c.silentTranslationWarn=e.silentTranslationWarn||c.silentFallbackWarn,c.silentFallbackWarn=e.silentFallbackWarn||c.silentFallbackWarn,c.formatFallbackMessages=e.formatFallbackMessages||c.formatFallbackMessages,c.postTranslation=e.postTranslation||c.postTranslation,c.warnHtmlInMessage=e.warnHtmlInMessage||c.warnHtmlInMessage,c.escapeParameterHtml=e.escapeParameterHtml||c.escapeParameterHtml,c.sync=e.sync||c.sync,c.__composer[Re](e.pluralizationRules||c.pluralizationRules);const t=P3(c.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(t).forEach(l=>c.mergeLocaleMessage(l,t[l])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(l=>c.mergeDateTimeFormat(l,e.datetimeFormats[l])),e.numberFormats&&Object.keys(e.numberFormats).forEach(l=>c.mergeNumberFormat(l,e.numberFormats[l])),c}const zh=y2("global-vue-i18n");function _h(c={},e){const t=__VUE_I18N_LEGACY_API__&&W(c.legacy)?c.legacy:__VUE_I18N_LEGACY_API__,l=W(c.globalInjection)?c.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&t?!!c.allowComposition:!0,r=new Map,[a,n]=wh(c,t),i=y2("");function s(p){return r.get(p)||null}function u(p,C){r.set(p,C)}function h(p){r.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},get allowComposition(){return o},async install(C,...H){if(C.__VUE_I18N_SYMBOL__=i,C.provide(C.__VUE_I18N_SYMBOL__,p),B(H[0])){const d=H[0];p.__composerExtend=d.__composerExtend,p.__vueI18nExtend=d.__vueI18nExtend}let m=null;!t&&l&&(m=Rh(C,p.global)),__VUE_I18N_FULL_INSTALL__&&Vh(C,p,...H),__VUE_I18N_LEGACY_API__&&t&&C.mixin(Lh(n,n.__composer,p));const M=C.unmount;C.unmount=()=>{m&&m(),p.dispose(),M()}},get global(){return n},dispose(){a.stop()},__instances:r,__getInstance:s,__setInstance:u,__deleteInstance:h};return p}}function X0(c={}){const e=_2();if(e==null)throw p1(f1.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw p1(f1.NOT_INSTALLED);const t=Eh(e),l=Ah(t),o=$e(e),r=Sh(c,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!c.__useComponent){if(!t.allowComposition)throw p1(f1.NOT_AVAILABLE_IN_LEGACY_MODE);return Ih(e,r,l,c)}if(r==="global")return xe(l,c,o),l;if(r==="parent"){let i=Th(t,e,c.__useComponent);return i==null&&(i=l),i}const a=t;let n=a.__getInstance(e);if(n==null){const i=b1({},c);"__i18n"in o&&(i.__i18n=o.__i18n),l&&(i.__root=l),n=K0(i),a.__composerExtend&&(n[e0]=a.__composerExtend(n)),Oh(a,e,n),a.__setInstance(e,n)}return n}function wh(c,e,t){const l=ut();{const o=__VUE_I18N_LEGACY_API__&&e?l.run(()=>t0(c)):l.run(()=>K0(c));if(o==null)throw p1(f1.UNEXPECTED_ERROR);return[l,o]}}function Eh(c){{const e=ht(c.isCE?zh:c.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw p1(c.isCE?f1.NOT_INSTALLED_WITH_PROVIDE:f1.UNEXPECTED_ERROR);return e}}function Sh(c,e){return O3(c)?"__i18n"in e?"local":"global":c.useScope?c.useScope:"local"}function Ah(c){return c.mode==="composition"?c.global:c.global.__composer}function Th(c,e,t=!1){let l=null;const o=e.root;let r=kh(e,t);for(;r!=null;){const a=c;if(c.mode==="composition")l=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const n=a.__getInstance(r);n!=null&&(l=n.__composer,t&&l&&!l[Ne]&&(l=null))}if(l!=null||o===r)break;r=r.parent}return l}function kh(c,e=!1){return c==null?null:e&&c.vnode.ctx||c.parent}function Oh(c,e,t){S2(()=>{},e),V0(()=>{const l=t;c.__deleteInstance(e);const o=l[e0];o&&(o(),delete l[e0])},e)}function Ih(c,e,t,l={}){const o=e==="local",r=cc(null);if(o&&c.proxy&&!(c.proxy.$options.i18n||c.proxy.$options.__i18n))throw p1(f1.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=W(l.inheritLocale)?l.inheritLocale:!x(l.locale),n=Y(!o||a?t.locale.value:x(l.locale)?l.locale:Q2),i=Y(!o||a?t.fallbackLocale.value:x(l.fallbackLocale)||o1(l.fallbackLocale)||B(l.fallbackLocale)||l.fallbackLocale===!1?l.fallbackLocale:n.value),s=Y(P3(n.value,l)),u=Y(B(l.datetimeFormats)?l.datetimeFormats:{[n.value]:{}}),h=Y(B(l.numberFormats)?l.numberFormats:{[n.value]:{}}),p=o?t.missingWarn:W(l.missingWarn)||p2(l.missingWarn)?l.missingWarn:!0,C=o?t.fallbackWarn:W(l.fallbackWarn)||p2(l.fallbackWarn)?l.fallbackWarn:!0,H=o?t.fallbackRoot:W(l.fallbackRoot)?l.fallbackRoot:!0,m=!!l.fallbackFormat,M=l1(l.missing)?l.missing:null,d=l1(l.postTranslation)?l.postTranslation:null,f=o?t.warnHtmlMessage:W(l.warnHtmlMessage)?l.warnHtmlMessage:!0,g=!!l.escapeParameter,y=o?t.modifiers:B(l.modifiers)?l.modifiers:{},z=l.pluralRules||o&&t.pluralRules;function V(){return[n.value,i.value,s.value,u.value,h.value]}const _=X({get:()=>r.value?r.value.locale.value:n.value,set:v=>{r.value&&(r.value.locale.value=v),n.value=v}}),$=X({get:()=>r.value?r.value.fallbackLocale.value:i.value,set:v=>{r.value&&(r.value.fallbackLocale.value=v),i.value=v}}),w=X(()=>r.value?r.value.messages.value:s.value),N=X(()=>u.value),U=X(()=>h.value);function F(){return r.value?r.value.getPostTranslationHandler():d}function K(v){r.value&&r.value.setPostTranslationHandler(v)}function s1(){return r.value?r.value.getMissingHandler():M}function n1(v){r.value&&r.value.setMissingHandler(v)}function Q(v){return V(),v()}function y1(...v){return r.value?Q(()=>Reflect.apply(r.value.t,null,[...v])):Q(()=>"")}function $1(...v){return r.value?Reflect.apply(r.value.rt,null,[...v]):""}function O1(...v){return r.value?Q(()=>Reflect.apply(r.value.d,null,[...v])):Q(()=>"")}function x1(...v){return r.value?Q(()=>Reflect.apply(r.value.n,null,[...v])):Q(()=>"")}function A(v){return r.value?r.value.tm(v):{}}function T(v,L){return r.value?r.value.te(v,L):!1}function I(v){return r.value?r.value.getLocaleMessage(v):{}}function k(v,L){r.value&&(r.value.setLocaleMessage(v,L),s.value[v]=L)}function a4(v,L){r.value&&r.value.mergeLocaleMessage(v,L)}function n4(v){return r.value?r.value.getDateTimeFormat(v):{}}function k4(v,L){r.value&&(r.value.setDateTimeFormat(v,L),u.value[v]=L)}function C2(v,L){r.value&&r.value.mergeDateTimeFormat(v,L)}function H2(v){return r.value?r.value.getNumberFormat(v):{}}function i2(v,L){r.value&&(r.value.setNumberFormat(v,L),h.value[v]=L)}function g2(v,L){r.value&&r.value.mergeNumberFormat(v,L)}const i4={get id(){return r.value?r.value.id:-1},locale:_,fallbackLocale:$,messages:w,datetimeFormats:N,numberFormats:U,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(v){r.value&&(r.value.inheritLocale=v)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(s.value)},get modifiers(){return r.value?r.value.modifiers:y},get pluralRules(){return r.value?r.value.pluralRules:z},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:p},set missingWarn(v){r.value&&(r.value.missingWarn=v)},get fallbackWarn(){return r.value?r.value.fallbackWarn:C},set fallbackWarn(v){r.value&&(r.value.missingWarn=v)},get fallbackRoot(){return r.value?r.value.fallbackRoot:H},set fallbackRoot(v){r.value&&(r.value.fallbackRoot=v)},get fallbackFormat(){return r.value?r.value.fallbackFormat:m},set fallbackFormat(v){r.value&&(r.value.fallbackFormat=v)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:f},set warnHtmlMessage(v){r.value&&(r.value.warnHtmlMessage=v)},get escapeParameter(){return r.value?r.value.escapeParameter:g},set escapeParameter(v){r.value&&(r.value.escapeParameter=v)},t:y1,getPostTranslationHandler:F,setPostTranslationHandler:K,getMissingHandler:s1,setMissingHandler:n1,rt:$1,d:O1,n:x1,tm:A,te:T,getLocaleMessage:I,setLocaleMessage:k,mergeLocaleMessage:a4,getDateTimeFormat:n4,setDateTimeFormat:k4,mergeDateTimeFormat:C2,getNumberFormat:H2,setNumberFormat:i2,mergeNumberFormat:g2};function b(v){v.locale.value=n.value,v.fallbackLocale.value=i.value,Object.keys(s.value).forEach(L=>{v.mergeLocaleMessage(L,s.value[L])}),Object.keys(u.value).forEach(L=>{v.mergeDateTimeFormat(L,u.value[L])}),Object.keys(h.value).forEach(L=>{v.mergeNumberFormat(L,h.value[L])}),v.escapeParameter=g,v.fallbackFormat=m,v.fallbackRoot=H,v.fallbackWarn=C,v.missingWarn=p,v.warnHtmlMessage=f}return dt(()=>{if(c.proxy==null||c.proxy.$i18n==null)throw p1(f1.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const v=r.value=c.proxy.$i18n.__composer;e==="global"?(n.value=v.locale.value,i.value=v.fallbackLocale.value,s.value=v.messages.value,u.value=v.datetimeFormats.value,h.value=v.numberFormats.value):o&&b(v)}),i4}const Ph=["locale","fallbackLocale","availableLocales"],t7=["t","rt","d","n","tm","te"];function Rh(c,e){const t=Object.create(null);return Ph.forEach(o=>{const r=Object.getOwnPropertyDescriptor(e,o);if(!r)throw p1(f1.UNEXPECTED_ERROR);const a=ec(r.value)?{get(){return r.value.value},set(n){r.value.value=n}}:{get(){return r.get&&r.get()}};Object.defineProperty(t,o,a)}),c.config.globalProperties.$i18n=t,t7.forEach(o=>{const r=Object.getOwnPropertyDescriptor(e,o);if(!r||!r.value)throw p1(f1.UNEXPECTED_ERROR);Object.defineProperty(c.config.globalProperties,`$${o}`,r)}),()=>{delete c.config.globalProperties.$i18n,t7.forEach(o=>{delete c.config.globalProperties[`$${o}`]})}}dh();__INTLIFY_JIT_COMPILATION__?P5(ah):P5(oh);Qu(Ou);Zu(ge);if(__INTLIFY_PROD_DEVTOOLS__){const c=Z1();c.__INTLIFY__=!0,qu(c.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const l0={zh_CN:"zh_CN",en:"en"},qM=[{lang:l0.en,label:"English",icon:"🇺🇸",title:"Language"},{lang:l0.zh_CN,label:"简体中文",icon:"🇨🇳",title:"语言"}];function Nh(c){return typeof c=="object"&&c!==null}function l7(c,e){return c=Nh(c)?c:Object.create(null),new Proxy(c,{get(t,l,o){return l==="key"?Reflect.get(t,l,o):Reflect.get(t,l,o)||Reflect.get(e,l,o)}})}function $h(c,e){return e.reduce((t,l)=>t==null?void 0:t[l],c)}function xh(c,e,t){return e.slice(0,-1).reduce((l,o)=>/^(__proto__)$/.test(o)?{}:l[o]=l[o]||{},c)[e[e.length-1]]=t,c}function Dh(c,e){return e.reduce((t,l)=>{const o=l.split(".");return xh(t,o,$h(c,o))},{})}function Fh(c,e){return t=>{var l;try{const{storage:o=localStorage,beforeRestore:r=void 0,afterRestore:a=void 0,serializer:n={serialize:JSON.stringify,deserialize:JSON.parse},key:i=e.$id,paths:s=null,debug:u=!1}=t;return{storage:o,beforeRestore:r,afterRestore:a,serializer:n,key:((l=c.key)!=null?l:h=>h)(typeof i=="string"?i:i(e.$id)),paths:s,debug:u}}catch(o){return t.debug&&console.error("[pinia-plugin-persistedstate]",o),null}}}function r7(c,{storage:e,serializer:t,key:l,debug:o}){try{const r=e==null?void 0:e.getItem(l);r&&c.$patch(t==null?void 0:t.deserialize(r))}catch(r){o&&console.error("[pinia-plugin-persistedstate]",r)}}function o7(c,{storage:e,serializer:t,key:l,paths:o,debug:r}){try{const a=Array.isArray(o)?Dh(c,o):c;e.setItem(l,t.serialize(a))}catch(a){r&&console.error("[pinia-plugin-persistedstate]",a)}}function qh(c={}){return e=>{const{auto:t=!1}=c,{options:{persist:l=t},store:o,pinia:r}=e;if(!l)return;if(!(o.$id in r.state.value)){const n=r._s.get(o.$id.replace("__hot:",""));n&&Promise.resolve().then(()=>n.$persist());return}const a=(Array.isArray(l)?l.map(n=>l7(n,c)):[l7(l,c)]).map(Fh(c,o)).filter(Boolean);o.$persist=()=>{a.forEach(n=>{o7(o.$state,n)})},o.$hydrate=({runHooks:n=!0}={})=>{a.forEach(i=>{const{beforeRestore:s,afterRestore:u}=i;n&&(s==null||s(e)),r7(o,i),n&&(u==null||u(e))})},a.forEach(n=>{const{beforeRestore:i,afterRestore:s}=n;i==null||i(e),r7(o,n),s==null||s(e),o.$subscribe((u,h)=>{o7(h,n)},{detached:!0})})}}const J0=vt();J0.use(qh({key:c=>`__persisted__${c}`,auto:!1}));function jh(c){c.use(J0)}const a7="LOCALE__",Bh=({prefixKey:c="",storage:e=localStorage}={})=>{const t=class{constructor(){G3(this,"storage",e);G3(this,"prefixKey",c)}getKey(l){return`${this.prefixKey}${l}`.toUpperCase()}set(l,o,r=null){const a=JSON.stringify({value:o,expire:r!==null?new Date().getTime()+r*1e3:null});this.storage.setItem(this.getKey(l),a)}get(l,o=null){const r=this.storage.getItem(this.getKey(l));if(r)try{const a=JSON.parse(r),{value:n,expire:i}=a;if(i===null||i>=Date.now())return n;this.remove(this.getKey(l))}catch{return o}return o}remove(l){this.storage.removeItem(this.getKey(l))}clear(){this.storage.clear()}setCookie(l,o,r=null){document.cookie=`${this.getKey(l)}=${o}; Max-Age=${r}`}getCookie(l){const o=document.cookie.split("; ");for(let r=0,a=o.length;r({locale:n7.get(a7,"zh_CN")}),getters:{getLocale(){return this.locale??"zh_CN"}},actions:{setLocale(c){this.locale=c,n7.set(a7,c)}}});function Q0(){return Uh(J0)}async function Gh(){var o;const e=Q0().getLocale,l=((o=(await me(Object.assign({"./lang/en.ts":()=>R(()=>import("./en-D5M7dULx.js"),__vite__mapDeps([0,1,2,3])),"./lang/zh_CN.ts":()=>R(()=>import("./zh_CN-C6ePmZhp.js"),__vite__mapDeps([4,1,2,3]))}),`./lang/${e}.ts`)).default)==null?void 0:o.message)??{};return J7(e),Q9(r=>{r.push(e)}),{locale:e,fallbackLocale:l0.zh_CN,messages:{[e]:l},globalInjection:!0,silentTranslationWarn:!0,missingWarn:!1,silentFallbackWarn:!0}}const Wh=await Gh(),d2=_h(Wh);function Kh(c){c.use(d2)}function i7(c){const e=Q0();d2.mode==="legacy"?d2.global.locale=c:d2.global.locale.value=c,e.setLocale(c),J7(c)}function Yh(){const c=Q0(),e=X(()=>c.getLocale),t=X(()=>d2.global.getLocaleMessage(c1(e)).antdLocale);async function l(o){const r=d2.global;if(c1(r.locale)===o)return o;if(y6.includes(o))return i7(o),o;const n=(await me(Object.assign({"./lang/en.ts":()=>R(()=>import("./en-D5M7dULx.js"),__vite__mapDeps([0,1,2,3])),"./lang/zh_CN.ts":()=>R(()=>import("./zh_CN-C6ePmZhp.js"),__vite__mapDeps([4,1,2,3]))}),`./lang/${o}.ts`)).default;if(!n)return;const{message:i}=n;return r.setLocaleMessage(o,i),y6.push(o),i7(o),o}return{getLocale:e,changeLocale:l,getAntdLocale:t}}const{defaultAlgorithm:s7,darkAlgorithm:Xh}=g0,jM=[{label:"亮色主题风格",value:"light"},{label:"暗色主题风格",value:"dark"},{label:"暗黑模式",value:"realDark"}],u7={light:s7,dark:s7,realDark:Xh},BM=[{title:"拂晓蓝(默认)",key:"techBlue",value:"#1677FF"},{title:"薄暮",key:"dust",value:"#F5222D"},{title:"火山",key:"volcano",value:"#FA541C"},{title:"日暮",key:"sunset",value:"#FAAD14"},{title:"明青",key:"cyan",value:"#13C2C2"},{title:"极光绿",key:"green",value:"#52C41A"},{title:"极客蓝",key:"geekblue",value:"#2F54EB"},{title:"酱紫",key:"purple",value:"#722ED1"}],UM=[{label:"侧边菜单布局",value:"sidemenu"},{label:"顶部菜单布局",value:"topmenu"}],GM=[{label:"页签持久化",value:"cacheTabs"}],Jh={navTheme:"dark",colorPrimary:"#1677FF",layout:"sidemenu",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,colorWeak:!1,menu:{locale:!0},title:"vite-antdv-admin",pwa:!1,iconfontUrl:"",cacheTabs:!1},Qh=t4("layout-setting",()=>{const c=K2({...Jh}),e=K2({algorithm:u7[c.navTheme]||g0.defaultAlgorithm,token:{colorPrimary:c.colorPrimary}}),t=X(()=>c.navTheme);pt(()=>{c.navTheme&&l(c.navTheme),c.colorPrimary&&o(c.colorPrimary)});const l=a=>{a==="realDark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),e.algorithm=u7[a]},o=a=>{e.token.colorPrimary=a};return{layoutSetting:c,themeConfig:e,getNavTheme:t,toggleTheme:l,setColorPrimary:o,updateLayoutSetting:a=>{Object.assign(c,a)}}},{persist:!0}),qe=S1({name:"ProConfigProvider",__name:"index",props:Z9(),setup(c){const e=c,t=Qh(),{getAntdLocale:l}=Yh(),o=X(()=>ct({},t.themeConfig,e.theme));return(r,a)=>(a1(),E1(c1(et),e2(r.$props,{locale:c1(l),theme:o.value}),{default:V1(()=>[D2(r.$slots,"default")]),_:3},16,["locale","theme"]))}});function Zh(){const c=Y(!0),e=t=>{c.value=typeof t=="boolean"?t:t.target.online};return navigator.onLine?e(!0):e(!1),S2(()=>{window.addEventListener("online",e),window.addEventListener("offline",e)}),V0(()=>{window.removeEventListener("online",e),window.removeEventListener("offline",e)}),{online:c}}function cd(){let c;const e=Y(0),t=Y(0),l=Y(""),o=Y(0),r=Y(0),a=Y(0),n=Y(0),i=()=>{var u,h;const s=new Date;e.value=s.getFullYear(),t.value=s.getMonth()+1,l.value="日一二三四五六".charAt(s.getDay()),o.value=s.getDate(),r.value=((u=`${s.getHours()}`)==null?void 0:u.padStart(2,"0"))||new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}).format(s.getHours()),a.value=((h=`${s.getMinutes()}`)==null?void 0:h.padStart(2,"0"))||new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}).format(s.getMinutes()),n.value=s.getSeconds()};return i(),S2(()=>{clearInterval(c),c=setInterval(()=>i(),1e3)}),V0(()=>{clearInterval(c)}),{month:t,day:o,hour:r,minute:a,second:n,week:l}}const ed=()=>{const c=K2({charging:!1,chargingTime:0,dischargingTime:0,level:100}),e=navigator&&"getBattery"in navigator,t=r=>{for(const a in c)c[a]=r[a];c.level=c.level*100},l=X(()=>{const r=c.dischargingTime/3600,a=c.dischargingTime/60%60;return`${~~r}小时${~~a}分钟`}),o=X(()=>c.charging&&c.level>=100?"已充满":c.charging?"充电中":"已断开电源");return S2(async()=>{var a,n;const r=await((n=(a=window.navigator).getBattery)==null?void 0:n.call(a))||{};t(r),r.onchargingchange=({target:i})=>{t(i)},r.onchargingtimechange=({target:i})=>{t(i)},r.ondischargingtimechange=({target:i})=>{t(i)},r.onlevelchange=({target:i})=>{t(i)}}),{battery:c,isSupported:e,batteryStatus:o,calcDischargingTime:l}};var je={exports:{}};function td(c){throw new Error('Could not dynamically require "'+c+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var H8={exports:{}};const ld={},rd=Object.freeze(Object.defineProperty({__proto__:null,default:ld},Symbol.toStringTag,{value:"Module"})),od=tt(rd);var h7;function ad(){return h7||(h7=1,function(c,e){(function(t,l){c.exports=l()})(c2,function(){var t=t||function(l,o){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof c2<"u"&&c2.crypto&&(r=c2.crypto),!r&&typeof td=="function")try{r=od}catch{}var a=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function f(){}return function(g){var y;return f.prototype=g,y=new f,f.prototype=null,y}}(),i={},s=i.lib={},u=s.Base=function(){return{extend:function(f){var g=n(this);return f&&g.mixIn(f),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var g in f)f.hasOwnProperty(g)&&(this[g]=f[g]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=s.WordArray=u.extend({init:function(f,g){f=this.words=f||[],g!=o?this.sigBytes=g:this.sigBytes=f.length*4},toString:function(f){return(f||C).stringify(this)},concat:function(f){var g=this.words,y=f.words,z=this.sigBytes,V=f.sigBytes;if(this.clamp(),z%4)for(var _=0;_>>2]>>>24-_%4*8&255;g[z+_>>>2]|=$<<24-(z+_)%4*8}else for(var w=0;w>>2]=y[w>>>2];return this.sigBytes+=V,this},clamp:function(){var f=this.words,g=this.sigBytes;f[g>>>2]&=4294967295<<32-g%4*8,f.length=l.ceil(g/4)},clone:function(){var f=u.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var g=[],y=0;y>>2]>>>24-V%4*8&255;z.push((_>>>4).toString(16)),z.push((_&15).toString(16))}return z.join("")},parse:function(f){for(var g=f.length,y=[],z=0;z>>3]|=parseInt(f.substr(z,2),16)<<24-z%8*4;return new h.init(y,g/2)}},H=p.Latin1={stringify:function(f){for(var g=f.words,y=f.sigBytes,z=[],V=0;V>>2]>>>24-V%4*8&255;z.push(String.fromCharCode(_))}return z.join("")},parse:function(f){for(var g=f.length,y=[],z=0;z>>2]|=(f.charCodeAt(z)&255)<<24-z%4*8;return new h.init(y,g)}},m=p.Utf8={stringify:function(f){try{return decodeURIComponent(escape(H.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return H.parse(unescape(encodeURIComponent(f)))}},M=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=m.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var g,y=this._data,z=y.words,V=y.sigBytes,_=this.blockSize,$=_*4,w=V/$;f?w=l.ceil(w):w=l.max((w|0)-this._minBufferSize,0);var N=w*_,U=l.min(N*4,V);if(N){for(var F=0;F>>24)&16711935|(g<<24|g>>>8)&4278255360}var y=this._hash.words,z=m[M+0],V=m[M+1],_=m[M+2],$=m[M+3],w=m[M+4],N=m[M+5],U=m[M+6],F=m[M+7],K=m[M+8],s1=m[M+9],n1=m[M+10],Q=m[M+11],y1=m[M+12],$1=m[M+13],O1=m[M+14],x1=m[M+15],A=y[0],T=y[1],I=y[2],k=y[3];A=h(A,T,I,k,z,7,s[0]),k=h(k,A,T,I,V,12,s[1]),I=h(I,k,A,T,_,17,s[2]),T=h(T,I,k,A,$,22,s[3]),A=h(A,T,I,k,w,7,s[4]),k=h(k,A,T,I,N,12,s[5]),I=h(I,k,A,T,U,17,s[6]),T=h(T,I,k,A,F,22,s[7]),A=h(A,T,I,k,K,7,s[8]),k=h(k,A,T,I,s1,12,s[9]),I=h(I,k,A,T,n1,17,s[10]),T=h(T,I,k,A,Q,22,s[11]),A=h(A,T,I,k,y1,7,s[12]),k=h(k,A,T,I,$1,12,s[13]),I=h(I,k,A,T,O1,17,s[14]),T=h(T,I,k,A,x1,22,s[15]),A=p(A,T,I,k,V,5,s[16]),k=p(k,A,T,I,U,9,s[17]),I=p(I,k,A,T,Q,14,s[18]),T=p(T,I,k,A,z,20,s[19]),A=p(A,T,I,k,N,5,s[20]),k=p(k,A,T,I,n1,9,s[21]),I=p(I,k,A,T,x1,14,s[22]),T=p(T,I,k,A,w,20,s[23]),A=p(A,T,I,k,s1,5,s[24]),k=p(k,A,T,I,O1,9,s[25]),I=p(I,k,A,T,$,14,s[26]),T=p(T,I,k,A,K,20,s[27]),A=p(A,T,I,k,$1,5,s[28]),k=p(k,A,T,I,_,9,s[29]),I=p(I,k,A,T,F,14,s[30]),T=p(T,I,k,A,y1,20,s[31]),A=C(A,T,I,k,N,4,s[32]),k=C(k,A,T,I,K,11,s[33]),I=C(I,k,A,T,Q,16,s[34]),T=C(T,I,k,A,O1,23,s[35]),A=C(A,T,I,k,V,4,s[36]),k=C(k,A,T,I,w,11,s[37]),I=C(I,k,A,T,F,16,s[38]),T=C(T,I,k,A,n1,23,s[39]),A=C(A,T,I,k,$1,4,s[40]),k=C(k,A,T,I,z,11,s[41]),I=C(I,k,A,T,$,16,s[42]),T=C(T,I,k,A,U,23,s[43]),A=C(A,T,I,k,s1,4,s[44]),k=C(k,A,T,I,y1,11,s[45]),I=C(I,k,A,T,x1,16,s[46]),T=C(T,I,k,A,_,23,s[47]),A=H(A,T,I,k,z,6,s[48]),k=H(k,A,T,I,F,10,s[49]),I=H(I,k,A,T,O1,15,s[50]),T=H(T,I,k,A,N,21,s[51]),A=H(A,T,I,k,y1,6,s[52]),k=H(k,A,T,I,$,10,s[53]),I=H(I,k,A,T,n1,15,s[54]),T=H(T,I,k,A,V,21,s[55]),A=H(A,T,I,k,K,6,s[56]),k=H(k,A,T,I,x1,10,s[57]),I=H(I,k,A,T,U,15,s[58]),T=H(T,I,k,A,$1,21,s[59]),A=H(A,T,I,k,w,6,s[60]),k=H(k,A,T,I,Q,10,s[61]),I=H(I,k,A,T,_,15,s[62]),T=H(T,I,k,A,s1,21,s[63]),y[0]=y[0]+A|0,y[1]=y[1]+T|0,y[2]=y[2]+I|0,y[3]=y[3]+k|0},_doFinalize:function(){var m=this._data,M=m.words,d=this._nDataBytes*8,f=m.sigBytes*8;M[f>>>5]|=128<<24-f%32;var g=l.floor(d/4294967296),y=d;M[(f+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,M[(f+64>>>9<<4)+14]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,m.sigBytes=(M.length+1)*4,this._process();for(var z=this._hash,V=z.words,_=0;_<4;_++){var $=V[_];V[_]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}return z},clone:function(){var m=n.clone.call(this);return m._hash=this._hash.clone(),m}});function h(m,M,d,f,g,y,z){var V=m+(M&d|~M&f)+g+z;return(V<>>32-y)+M}function p(m,M,d,f,g,y,z){var V=m+(M&f|d&~f)+g+z;return(V<>>32-y)+M}function C(m,M,d,f,g,y,z){var V=m+(M^d^f)+g+z;return(V<>>32-y)+M}function H(m,M,d,f,g,y,z){var V=m+(d^(M|~f))+g+z;return(V<>>32-y)+M}o.MD5=n._createHelper(u),o.HmacMD5=n._createHmacHelper(u)}(Math),t.MD5})})(je);var nd=je.exports;const g8=lt(nd);function S4(c){return mt()?(yt(c),!0):!1}function L1(c){return typeof c=="function"?c():c1(c)}const Be=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ue=c=>c!=null,id=Object.prototype.toString,sd=c=>id.call(c)==="[object Object]",d7=()=>+Date.now(),U1=()=>{};function Z0(c,e){function t(...l){return new Promise((o,r)=>{Promise.resolve(c(()=>e.apply(this,l),{fn:e,thisArg:this,args:l})).then(o).catch(r)})}return t}function ud(c,e={}){let t,l,o=U1;const r=n=>{clearTimeout(n),o(),o=U1};return n=>{const i=L1(c),s=L1(e.maxWait);return t&&r(t),i<=0||s!==void 0&&s<=0?(l&&(r(l),l=null),Promise.resolve(n())):new Promise((u,h)=>{o=e.rejectOnCancel?h:u,s&&!l&&(l=setTimeout(()=>{t&&r(t),l=null,u(n())},s)),t=setTimeout(()=>{l&&r(l),l=null,u(n())},i)})}}function Ge(...c){let e=0,t,l=!0,o=U1,r,a,n,i,s;!ec(c[0])&&typeof c[0]=="object"?{delay:a,trailing:n=!0,leading:i=!0,rejectOnCancel:s=!1}=c[0]:[a,n=!0,i=!0,s=!1]=c;const u=()=>{t&&(clearTimeout(t),t=void 0,o(),o=U1)};return p=>{const C=L1(a),H=Date.now()-e,m=()=>r=p();return u(),C<=0?(e=Date.now(),m()):(H>C&&(i||!l)?(e=Date.now(),m()):n&&(r=new Promise((M,d)=>{o=s?d:M,t=setTimeout(()=>{e=Date.now(),l=!0,M(m()),u()},Math.max(0,C-H))})),!i&&!t&&(t=setTimeout(()=>l=!0,C)),l=!1,r)}}function hd(c){return c||_2()}function dd(c,e=200,t={}){return Z0(ud(e,t),c)}function fd(c,e=200,t=!1,l=!0,o=!1){return Z0(Ge(e,t,l,o),c)}function vd(c,e=!0,t){hd()?S2(c,t):e?c():L3(c)}function G1(c){var e;const t=L1(c);return(e=t==null?void 0:t.$el)!=null?e:t}const b2=Be?window:void 0,pd=Be?window.document:void 0;function w2(...c){let e,t,l,o;if(typeof c[0]=="string"||Array.isArray(c[0])?([t,l,o]=c,e=b2):[e,t,l,o]=c,!e)return U1;Array.isArray(t)||(t=[t]),Array.isArray(l)||(l=[l]);const r=[],a=()=>{r.forEach(u=>u()),r.length=0},n=(u,h,p,C)=>(u.addEventListener(h,p,C),()=>u.removeEventListener(h,p,C)),i=N1(()=>[G1(e),L1(o)],([u,h])=>{if(a(),!u)return;const p=sd(h)?{...h}:h;r.push(...t.flatMap(C=>l.map(H=>n(u,C,H,p))))},{immediate:!0,flush:"post"}),s=()=>{i(),a()};return S4(s),s}function md(c){return typeof c=="function"?c:typeof c=="string"?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0}function WM(...c){let e,t,l={};c.length===3?(e=c[0],t=c[1],l=c[2]):c.length===2?typeof c[1]=="object"?(e=!0,t=c[0],l=c[1]):(e=c[0],t=c[1]):(e=!0,t=c[0]);const{target:o=b2,eventName:r="keydown",passive:a=!1,dedupe:n=!1}=l,i=md(e);return w2(o,r,u=>{u.repeat&&L1(n)||i(u)&&t(u)},a)}function yd(){const c=Y(!1),e=_2();return e&&S2(()=>{c.value=!0},e),c}function R3(c){const e=yd();return X(()=>(e.value,!!c()))}function KM(c,e,t={}){const{window:l=b2,...o}=t;let r;const a=R3(()=>l&&"MutationObserver"in l),n=()=>{r&&(r.disconnect(),r=void 0)},i=X(()=>{const p=L1(c),C=(Array.isArray(p)?p:[p]).map(G1).filter(Ue);return new Set(C)}),s=N1(()=>i.value,p=>{n(),a.value&&l&&p.size&&(r=new MutationObserver(e),p.forEach(C=>r.observe(C,o)))},{immediate:!0,flush:"post"}),u=()=>r==null?void 0:r.takeRecords(),h=()=>{n(),s()};return S4(h),{isSupported:a,stop:h,takeRecords:u}}function YM(c,e,t={}){const{window:l=b2,...o}=t;let r;const a=R3(()=>l&&"ResizeObserver"in l),n=()=>{r&&(r.disconnect(),r=void 0)},i=X(()=>Array.isArray(c)?c.map(h=>G1(h)):[G1(c)]),s=N1(i,h=>{if(n(),a.value&&l){r=new ResizeObserver(e);for(const p of h)p&&r.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{n(),s()};return S4(u),{isSupported:a,stop:u}}function Md(c,e,t={}){const{root:l,rootMargin:o="0px",threshold:r=.1,window:a=b2,immediate:n=!0}=t,i=R3(()=>a&&"IntersectionObserver"in a),s=X(()=>{const H=L1(c);return(Array.isArray(H)?H:[H]).map(G1).filter(Ue)});let u=U1;const h=Y(n),p=i.value?N1(()=>[s.value,G1(l),h.value],([H,m])=>{if(u(),!h.value||!H.length)return;const M=new IntersectionObserver(e,{root:G1(m),rootMargin:o,threshold:r});H.forEach(d=>d&&M.observe(d)),u=()=>{M.disconnect(),u=U1}},{immediate:n,flush:"post"}):U1,C=()=>{u(),p(),h.value=!1};return S4(C),{isSupported:i,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:C}}function bd(c,e={}){const{window:t=b2,scrollTarget:l,threshold:o=0}=e,r=Y(!1);return Md(c,a=>{let n=r.value,i=0;for(const s of a)s.time>=i&&(i=s.time,n=s.isIntersecting);r.value=n},{root:l,window:t,threshold:o}),r}const f7=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function XM(c,e={}){const{document:t=pd,autoExit:l=!1}=e,o=X(()=>{var d;return(d=G1(c))!=null?d:t==null?void 0:t.querySelector("html")}),r=Y(!1),a=X(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(d=>t&&d in t||o.value&&d in o.value)),n=X(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(d=>t&&d in t||o.value&&d in o.value)),i=X(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(d=>t&&d in t||o.value&&d in o.value)),s=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(d=>t&&d in t),u=R3(()=>o.value&&t&&a.value!==void 0&&n.value!==void 0&&i.value!==void 0),h=()=>s?(t==null?void 0:t[s])===o.value:!1,p=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const d=o.value;if((d==null?void 0:d[i.value])!=null)return!!d[i.value]}}return!1};async function C(){if(!(!u.value||!r.value)){if(n.value)if((t==null?void 0:t[n.value])!=null)await t[n.value]();else{const d=o.value;(d==null?void 0:d[n.value])!=null&&await d[n.value]()}r.value=!1}}async function H(){if(!u.value||r.value)return;p()&&await C();const d=o.value;a.value&&(d==null?void 0:d[a.value])!=null&&(await d[a.value](),r.value=!0)}async function m(){await(r.value?C():H())}const M=()=>{const d=p();(!d||d&&h())&&(r.value=d)};return w2(t,f7,M,!1),w2(()=>G1(o),f7,M,!1),l&&S4(C),{isSupported:u,isFullscreen:r,enter:H,exit:C,toggle:m}}const Cd=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Hd=6e4;function We(c=Hd,e={}){const{initialState:t=!1,listenForVisibilityChange:l=!0,events:o=Cd,window:r=b2,eventFilter:a=Ge(50)}=e,n=Y(t),i=Y(d7());let s;const u=()=>{n.value=!1,clearTimeout(s),s=setTimeout(()=>n.value=!0,c)},h=Z0(a,()=>{i.value=d7(),u()});if(r){const p=r.document;for(const C of o)w2(r,C,h,{passive:!0});l&&w2(p,"visibilitychange",()=>{p.hidden||h()}),u()}return{idle:n,lastActive:i,reset:u}}const v7=1;function gd(c,e={}){const{throttle:t=0,idle:l=200,onStop:o=U1,onScroll:r=U1,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:n={capture:!1,passive:!0},behavior:i="auto",window:s=b2,onError:u=_=>{console.error(_)}}=e,h=Y(0),p=Y(0),C=X({get(){return h.value},set(_){m(_,void 0)}}),H=X({get(){return p.value},set(_){m(void 0,_)}});function m(_,$){var w,N,U;if(!s)return;const F=L1(c);F&&((U=F instanceof Document?s.document.body:F)==null||U.scrollTo({top:(w=L1($))!=null?w:H.value,left:(N=L1(_))!=null?N:C.value,behavior:L1(i)}))}const M=Y(!1),d=K2({left:!0,right:!1,top:!0,bottom:!1}),f=K2({left:!1,right:!1,top:!1,bottom:!1}),g=_=>{M.value&&(M.value=!1,f.left=!1,f.right=!1,f.top=!1,f.bottom=!1,o(_))},y=dd(g,t+l),z=_=>{var $;if(!s)return;const w=(($=_==null?void 0:_.document)==null?void 0:$.documentElement)||(_==null?void 0:_.documentElement)||G1(_),{display:N,flexDirection:U}=getComputedStyle(w),F=w.scrollLeft;f.left=Fh.value;const K=Math.abs(F)<=(a.left||0),s1=Math.abs(F)+w.clientWidth>=w.scrollWidth-(a.right||0)-v7;N==="flex"&&U==="row-reverse"?(d.left=s1,d.right=K):(d.left=K,d.right=s1),h.value=F;let n1=w.scrollTop;_===s.document&&!n1&&(n1=s.document.body.scrollTop),f.top=n1p.value;const Q=Math.abs(n1)<=(a.top||0),y1=Math.abs(n1)+w.clientHeight>=w.scrollHeight-(a.bottom||0)-v7;N==="flex"&&U==="column-reverse"?(d.top=y1,d.bottom=Q):(d.top=Q,d.bottom=y1),p.value=n1},V=_=>{var $;if(!s)return;const w=($=_.target.documentElement)!=null?$:_.target;z(w),M.value=!0,y(_),r(_)};return w2(c,"scroll",t?fd(V,t,!0,!1):V,n),vd(()=>{try{const _=L1(c);if(!_)return;z(_)}catch(_){u(_)}}),w2(c,"scrollend",g,n),{x:C,y:H,isScrolling:M,arrivedState:d,directions:f,measure(){const _=L1(c);s&&_&&z(_)}}}function Vd(c){return typeof Window<"u"&&c instanceof Window?c.document.documentElement:typeof Document<"u"&&c instanceof Document?c.documentElement:c}function JM(c,e,t={}){var l;const{direction:o="bottom",interval:r=100,canLoadMore:a=()=>!0}=t,n=K2(gd(c,{...t,offset:{[o]:(l=t.distance)!=null?l:0,...t.offset}})),i=Y(),s=X(()=>!!i.value),u=X(()=>Vd(L1(c))),h=bd(u);function p(){if(n.measure(),!u.value||!h.value||!a(u.value))return;const{scrollHeight:C,clientHeight:H,scrollWidth:m,clientWidth:M}=u.value,d=o==="bottom"||o==="top"?C<=H:m<=M;(n.arrivedState[o]||d)&&(i.value||(i.value=Promise.all([e(n),new Promise(f=>setTimeout(f,r))]).finally(()=>{i.value=null,L3(()=>p())})))}return N1(()=>[n.arrivedState[o],h.value],p,{immediate:!0}),{isLoading:s}}const f2="Login",e3="Redirect",r0="PageNotFound",Ke=[f2,"icons","error","error-404"],Ld=60*60*1e3,c6=t4("lockscreen",()=>{const c=tc(),{idle:e}=We(Ld),t=Y(""),l=Y(""),o=Y(!1),r=u=>{t.value=g8(u).toString()},a=u=>{o.value=u,u||i()},n=u=>{l.value=u?g8(u).toString():t.value},i=()=>{l.value=""},s=u=>{const h=g8(u).toString();return[l,t].some(p=>p.value===h)};return window.addEventListener("beforeunload",()=>{o.value&&!l.value&&a(!1)}),N1(e,u=>{if(c.name===f2){a(!1);return}u&&(a(!0),n())}),{isLock:o,lockPwd:l,loginPwd:t,setLock:a,setLockPwd:n,verifyLockPwd:s,saveLoginPwd:r,resetLockPwd:i}},{persist:!0});function zd(c){return{all:c=c||new Map,on:function(e,t){var l=c.get(e);l?l.push(t):c.set(e,[t])},off:function(e,t){var l=c.get(e);l&&(t?l.splice(l.indexOf(t)>>>0,1):c.set(e,[]))},emit:function(e,t){var l=c.get(e);l&&l.slice().map(function(o){o(t)}),(l=c.get("*"))&&l.slice().map(function(o){o(e,t)})}}}const e6=c=>c.replace(/(https?:\/)|(\/)+/g,"$1$2"),Ye=t4("sse",()=>{const c=zd(),e=e4(),{idle:t}=We(5*60*1e3);let l=null;const o=Y(!0),r=Y(0);N1(o,s=>{s&&e.token?n():a()}),N1(t,s=>{s?a():e.token&&i(!0)});const a=()=>{o.value=!1,l==null||l.close(),l=null},n=async()=>{l&&l.close();const s=e.userInfo.id;if(!s)return;const u=e6(`https://nest-api.buqiyuan.site/api/sse/${s}?token=${e.token}`);l=new EventSource(u),l.onmessage=h=>{const{type:p,data:C}=JSON.parse(h.data);p==="close"?a():p==="updatePermsAndMenus"?e.fetchPermsAndMenus():p==="updateOnlineUserCount"&&(r.value=~~C,c.emit("onlineUser",r.value))},l.onerror=h=>{a()}},i=s=>{o.value=s};return{emitter:c,onlineUserCount:r,closeEventSource:a,initServerMsgListener:n,setServerConnectStatus:i}});function Xe(c,e){return function(){return c.apply(e,arguments)}}const{toString:_d}=Object.prototype,{getPrototypeOf:t6}=Object,N3=(c=>e=>{const t=_d.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Y1=c=>(c=c.toLowerCase(),e=>N3(e)===c),$3=c=>e=>typeof e===c,{isArray:o4}=Array,L4=$3("undefined");function wd(c){return c!==null&&!L4(c)&&c.constructor!==null&&!L4(c.constructor)&&k1(c.constructor.isBuffer)&&c.constructor.isBuffer(c)}const Je=Y1("ArrayBuffer");function Ed(c){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(c):e=c&&c.buffer&&Je(c.buffer),e}const Sd=$3("string"),k1=$3("function"),Qe=$3("number"),x3=c=>c!==null&&typeof c=="object",Ad=c=>c===!0||c===!1,t3=c=>{if(N3(c)!=="object")return!1;const e=t6(c);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in c)&&!(Symbol.iterator in c)},Td=Y1("Date"),kd=Y1("File"),Od=Y1("Blob"),Id=Y1("FileList"),Pd=c=>x3(c)&&k1(c.pipe),Rd=c=>{let e;return c&&(typeof FormData=="function"&&c instanceof FormData||k1(c.append)&&((e=N3(c))==="formdata"||e==="object"&&k1(c.toString)&&c.toString()==="[object FormData]"))},Nd=Y1("URLSearchParams"),$d=c=>c.trim?c.trim():c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function A4(c,e,{allOwnKeys:t=!1}={}){if(c===null||typeof c>"u")return;let l,o;if(typeof c!="object"&&(c=[c]),o4(c))for(l=0,o=c.length;l0;)if(o=t[l],e===o.toLowerCase())return o;return null}const c9=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,e9=c=>!L4(c)&&c!==c9;function o0(){const{caseless:c}=e9(this)&&this||{},e={},t=(l,o)=>{const r=c&&Ze(e,o)||o;t3(e[r])&&t3(l)?e[r]=o0(e[r],l):t3(l)?e[r]=o0({},l):o4(l)?e[r]=l.slice():e[r]=l};for(let l=0,o=arguments.length;l(A4(e,(o,r)=>{t&&k1(o)?c[r]=Xe(o,t):c[r]=o},{allOwnKeys:l}),c),Dd=c=>(c.charCodeAt(0)===65279&&(c=c.slice(1)),c),Fd=(c,e,t,l)=>{c.prototype=Object.create(e.prototype,l),c.prototype.constructor=c,Object.defineProperty(c,"super",{value:e.prototype}),t&&Object.assign(c.prototype,t)},qd=(c,e,t,l)=>{let o,r,a;const n={};if(e=e||{},c==null)return e;do{for(o=Object.getOwnPropertyNames(c),r=o.length;r-- >0;)a=o[r],(!l||l(a,c,e))&&!n[a]&&(e[a]=c[a],n[a]=!0);c=t!==!1&&t6(c)}while(c&&(!t||t(c,e))&&c!==Object.prototype);return e},jd=(c,e,t)=>{c=String(c),(t===void 0||t>c.length)&&(t=c.length),t-=e.length;const l=c.indexOf(e,t);return l!==-1&&l===t},Bd=c=>{if(!c)return null;if(o4(c))return c;let e=c.length;if(!Qe(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=c[e];return t},Ud=(c=>e=>c&&e instanceof c)(typeof Uint8Array<"u"&&t6(Uint8Array)),Gd=(c,e)=>{const l=(c&&c[Symbol.iterator]).call(c);let o;for(;(o=l.next())&&!o.done;){const r=o.value;e.call(c,r[0],r[1])}},Wd=(c,e)=>{let t;const l=[];for(;(t=c.exec(e))!==null;)l.push(t);return l},Kd=Y1("HTMLFormElement"),Yd=c=>c.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,l,o){return l.toUpperCase()+o}),p7=(({hasOwnProperty:c})=>(e,t)=>c.call(e,t))(Object.prototype),Xd=Y1("RegExp"),t9=(c,e)=>{const t=Object.getOwnPropertyDescriptors(c),l={};A4(t,(o,r)=>{let a;(a=e(o,r,c))!==!1&&(l[r]=a||o)}),Object.defineProperties(c,l)},Jd=c=>{t9(c,(e,t)=>{if(k1(c)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const l=c[t];if(k1(l)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Qd=(c,e)=>{const t={},l=o=>{o.forEach(r=>{t[r]=!0})};return o4(c)?l(c):l(String(c).split(e)),t},Zd=()=>{},cf=(c,e)=>(c=+c,Number.isFinite(c)?c:e),V8="abcdefghijklmnopqrstuvwxyz",m7="0123456789",l9={DIGIT:m7,ALPHA:V8,ALPHA_DIGIT:V8+V8.toUpperCase()+m7},ef=(c=16,e=l9.ALPHA_DIGIT)=>{let t="";const{length:l}=e;for(;c--;)t+=e[Math.random()*l|0];return t};function tf(c){return!!(c&&k1(c.append)&&c[Symbol.toStringTag]==="FormData"&&c[Symbol.iterator])}const lf=c=>{const e=new Array(10),t=(l,o)=>{if(x3(l)){if(e.indexOf(l)>=0)return;if(!("toJSON"in l)){e[o]=l;const r=o4(l)?[]:{};return A4(l,(a,n)=>{const i=t(a,o+1);!L4(i)&&(r[n]=i)}),e[o]=void 0,r}}return l};return t(c,0)},rf=Y1("AsyncFunction"),of=c=>c&&(x3(c)||k1(c))&&k1(c.then)&&k1(c.catch),S={isArray:o4,isArrayBuffer:Je,isBuffer:wd,isFormData:Rd,isArrayBufferView:Ed,isString:Sd,isNumber:Qe,isBoolean:Ad,isObject:x3,isPlainObject:t3,isUndefined:L4,isDate:Td,isFile:kd,isBlob:Od,isRegExp:Xd,isFunction:k1,isStream:Pd,isURLSearchParams:Nd,isTypedArray:Ud,isFileList:Id,forEach:A4,merge:o0,extend:xd,trim:$d,stripBOM:Dd,inherits:Fd,toFlatObject:qd,kindOf:N3,kindOfTest:Y1,endsWith:jd,toArray:Bd,forEachEntry:Gd,matchAll:Wd,isHTMLForm:Kd,hasOwnProperty:p7,hasOwnProp:p7,reduceDescriptors:t9,freezeMethods:Jd,toObjectSet:Qd,toCamelCase:Yd,noop:Zd,toFiniteNumber:cf,findKey:Ze,global:c9,isContextDefined:e9,ALPHABET:l9,generateString:ef,isSpecCompliantForm:tf,toJSONObject:lf,isAsyncFn:rf,isThenable:of};function J(c,e,t,l,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=c,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),l&&(this.request=l),o&&(this.response=o)}S.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const r9=J.prototype,o9={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(c=>{o9[c]={value:c}});Object.defineProperties(J,o9);Object.defineProperty(r9,"isAxiosError",{value:!0});J.from=(c,e,t,l,o,r)=>{const a=Object.create(r9);return S.toFlatObject(c,a,function(i){return i!==Error.prototype},n=>n!=="isAxiosError"),J.call(a,c.message,e,t,l,o),a.cause=c,a.name=c.name,r&&Object.assign(a,r),a};const af=null;function a0(c){return S.isPlainObject(c)||S.isArray(c)}function a9(c){return S.endsWith(c,"[]")?c.slice(0,-2):c}function y7(c,e,t){return c?c.concat(e).map(function(o,r){return o=a9(o),!t&&r?"["+o+"]":o}).join(t?".":""):e}function nf(c){return S.isArray(c)&&!c.some(a0)}const sf=S.toFlatObject(S,{},null,function(e){return/^is[A-Z]/.test(e)});function D3(c,e,t){if(!S.isObject(c))throw new TypeError("target must be an object");e=e||new FormData,t=S.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,M){return!S.isUndefined(M[m])});const l=t.metaTokens,o=t.visitor||u,r=t.dots,a=t.indexes,i=(t.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(e);if(!S.isFunction(o))throw new TypeError("visitor must be a function");function s(H){if(H===null)return"";if(S.isDate(H))return H.toISOString();if(!i&&S.isBlob(H))throw new J("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(H)||S.isTypedArray(H)?i&&typeof Blob=="function"?new Blob([H]):Buffer.from(H):H}function u(H,m,M){let d=H;if(H&&!M&&typeof H=="object"){if(S.endsWith(m,"{}"))m=l?m:m.slice(0,-2),H=JSON.stringify(H);else if(S.isArray(H)&&nf(H)||(S.isFileList(H)||S.endsWith(m,"[]"))&&(d=S.toArray(H)))return m=a9(m),d.forEach(function(g,y){!(S.isUndefined(g)||g===null)&&e.append(a===!0?y7([m],y,r):a===null?m:m+"[]",s(g))}),!1}return a0(H)?!0:(e.append(y7(M,m,r),s(H)),!1)}const h=[],p=Object.assign(sf,{defaultVisitor:u,convertValue:s,isVisitable:a0});function C(H,m){if(!S.isUndefined(H)){if(h.indexOf(H)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(H),S.forEach(H,function(d,f){(!(S.isUndefined(d)||d===null)&&o.call(e,d,S.isString(f)?f.trim():f,m,p))===!0&&C(d,m?m.concat(f):[f])}),h.pop()}}if(!S.isObject(c))throw new TypeError("data must be an object");return C(c),e}function M7(c){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(c).replace(/[!'()~]|%20|%00/g,function(l){return e[l]})}function l6(c,e){this._pairs=[],c&&D3(c,this,e)}const n9=l6.prototype;n9.append=function(e,t){this._pairs.push([e,t])};n9.toString=function(e){const t=e?function(l){return e.call(this,l,M7)}:M7;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function uf(c){return encodeURIComponent(c).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function i9(c,e,t){if(!e)return c;const l=t&&t.encode||uf,o=t&&t.serialize;let r;if(o?r=o(e,t):r=S.isURLSearchParams(e)?e.toString():new l6(e,t).toString(l),r){const a=c.indexOf("#");a!==-1&&(c=c.slice(0,a)),c+=(c.indexOf("?")===-1?"?":"&")+r}return c}class b7{constructor(){this.handlers=[]}use(e,t,l){return this.handlers.push({fulfilled:e,rejected:t,synchronous:l?l.synchronous:!1,runWhen:l?l.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){S.forEach(this.handlers,function(l){l!==null&&e(l)})}}const s9={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hf=typeof URLSearchParams<"u"?URLSearchParams:l6,df=typeof FormData<"u"?FormData:null,ff=typeof Blob<"u"?Blob:null,vf={isBrowser:!0,classes:{URLSearchParams:hf,FormData:df,Blob:ff},protocols:["http","https","file","blob","url","data"]},u9=typeof window<"u"&&typeof document<"u",pf=(c=>u9&&["ReactNative","NativeScript","NS"].indexOf(c)<0)(typeof navigator<"u"&&navigator.product),mf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",yf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:u9,hasStandardBrowserEnv:pf,hasStandardBrowserWebWorkerEnv:mf},Symbol.toStringTag,{value:"Module"})),B1={...yf,...vf};function Mf(c,e){return D3(c,new B1.classes.URLSearchParams,Object.assign({visitor:function(t,l,o,r){return B1.isNode&&S.isBuffer(t)?(this.append(l,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function bf(c){return S.matchAll(/\w+|\[(\w*)]/g,c).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Cf(c){const e={},t=Object.keys(c);let l;const o=t.length;let r;for(l=0;l=t.length;return a=!a&&S.isArray(o)?o.length:a,i?(S.hasOwnProp(o,a)?o[a]=[o[a],l]:o[a]=l,!n):((!o[a]||!S.isObject(o[a]))&&(o[a]=[]),e(t,l,o[a],r)&&S.isArray(o[a])&&(o[a]=Cf(o[a])),!n)}if(S.isFormData(c)&&S.isFunction(c.entries)){const t={};return S.forEachEntry(c,(l,o)=>{e(bf(l),o,t,0)}),t}return null}function Hf(c,e,t){if(S.isString(c))try{return(e||JSON.parse)(c),S.trim(c)}catch(l){if(l.name!=="SyntaxError")throw l}return(t||JSON.stringify)(c)}const r6={transitional:s9,adapter:["xhr","http"],transformRequest:[function(e,t){const l=t.getContentType()||"",o=l.indexOf("application/json")>-1,r=S.isObject(e);if(r&&S.isHTMLForm(e)&&(e=new FormData(e)),S.isFormData(e))return o?JSON.stringify(h9(e)):e;if(S.isArrayBuffer(e)||S.isBuffer(e)||S.isStream(e)||S.isFile(e)||S.isBlob(e))return e;if(S.isArrayBufferView(e))return e.buffer;if(S.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let n;if(r){if(l.indexOf("application/x-www-form-urlencoded")>-1)return Mf(e,this.formSerializer).toString();if((n=S.isFileList(e))||l.indexOf("multipart/form-data")>-1){const i=this.env&&this.env.FormData;return D3(n?{"files[]":e}:e,i&&new i,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),Hf(e)):e}],transformResponse:[function(e){const t=this.transitional||r6.transitional,l=t&&t.forcedJSONParsing,o=this.responseType==="json";if(e&&S.isString(e)&&(l&&!this.responseType||o)){const a=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(n){if(a)throw n.name==="SyntaxError"?J.from(n,J.ERR_BAD_RESPONSE,this,null,this.response):n}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B1.classes.FormData,Blob:B1.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],c=>{r6.headers[c]={}});const o6=r6,gf=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vf=c=>{const e={};let t,l,o;return c&&c.split(` +`).forEach(function(a){o=a.indexOf(":"),t=a.substring(0,o).trim().toLowerCase(),l=a.substring(o+1).trim(),!(!t||e[t]&&gf[t])&&(t==="set-cookie"?e[t]?e[t].push(l):e[t]=[l]:e[t]=e[t]?e[t]+", "+l:l)}),e},C7=Symbol("internals");function f4(c){return c&&String(c).trim().toLowerCase()}function l3(c){return c===!1||c==null?c:S.isArray(c)?c.map(l3):String(c)}function Lf(c){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let l;for(;l=t.exec(c);)e[l[1]]=l[2];return e}const zf=c=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(c.trim());function L8(c,e,t,l,o){if(S.isFunction(l))return l.call(this,e,t);if(o&&(e=t),!!S.isString(e)){if(S.isString(l))return e.indexOf(l)!==-1;if(S.isRegExp(l))return l.test(e)}}function _f(c){return c.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,l)=>t.toUpperCase()+l)}function wf(c,e){const t=S.toCamelCase(" "+e);["get","set","has"].forEach(l=>{Object.defineProperty(c,l+t,{value:function(o,r,a){return this[l].call(this,e,o,r,a)},configurable:!0})})}let F3=class{constructor(e){e&&this.set(e)}set(e,t,l){const o=this;function r(n,i,s){const u=f4(i);if(!u)throw new Error("header name must be a non-empty string");const h=S.findKey(o,u);(!h||o[h]===void 0||s===!0||s===void 0&&o[h]!==!1)&&(o[h||i]=l3(n))}const a=(n,i)=>S.forEach(n,(s,u)=>r(s,u,i));return S.isPlainObject(e)||e instanceof this.constructor?a(e,t):S.isString(e)&&(e=e.trim())&&!zf(e)?a(Vf(e),t):e!=null&&r(t,e,l),this}get(e,t){if(e=f4(e),e){const l=S.findKey(this,e);if(l){const o=this[l];if(!t)return o;if(t===!0)return Lf(o);if(S.isFunction(t))return t.call(this,o,l);if(S.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=f4(e),e){const l=S.findKey(this,e);return!!(l&&this[l]!==void 0&&(!t||L8(this,this[l],l,t)))}return!1}delete(e,t){const l=this;let o=!1;function r(a){if(a=f4(a),a){const n=S.findKey(l,a);n&&(!t||L8(l,l[n],n,t))&&(delete l[n],o=!0)}}return S.isArray(e)?e.forEach(r):r(e),o}clear(e){const t=Object.keys(this);let l=t.length,o=!1;for(;l--;){const r=t[l];(!e||L8(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const t=this,l={};return S.forEach(this,(o,r)=>{const a=S.findKey(l,r);if(a){t[a]=l3(o),delete t[r];return}const n=e?_f(r):String(r).trim();n!==r&&delete t[r],t[n]=l3(o),l[n]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return S.forEach(this,(l,o)=>{l!=null&&l!==!1&&(t[o]=e&&S.isArray(l)?l.join(", "):l)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const l=new this(e);return t.forEach(o=>l.set(o)),l}static accessor(e){const l=(this[C7]=this[C7]={accessors:{}}).accessors,o=this.prototype;function r(a){const n=f4(a);l[n]||(wf(o,a),l[n]=!0)}return S.isArray(e)?e.forEach(r):r(e),this}};F3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(F3.prototype,({value:c},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>c,set(l){this[t]=l}}});S.freezeMethods(F3);const t2=F3;function z8(c,e){const t=this||o6,l=e||t,o=t2.from(l.headers);let r=l.data;return S.forEach(c,function(n){r=n.call(t,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function d9(c){return!!(c&&c.__CANCEL__)}function T4(c,e,t){J.call(this,c??"canceled",J.ERR_CANCELED,e,t),this.name="CanceledError"}S.inherits(T4,J,{__CANCEL__:!0});function Ef(c,e,t){const l=t.config.validateStatus;!t.status||!l||l(t.status)?c(t):e(new J("Request failed with status code "+t.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const Sf=B1.hasStandardBrowserEnv?{write(c,e,t,l,o,r){const a=[c+"="+encodeURIComponent(e)];S.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),S.isString(l)&&a.push("path="+l),S.isString(o)&&a.push("domain="+o),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(c){const e=document.cookie.match(new RegExp("(^|;\\s*)("+c+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(c){this.write(c,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Af(c){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(c)}function Tf(c,e){return e?c.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):c}function f9(c,e){return c&&!Af(e)?Tf(c,e):e}const kf=B1.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let l;function o(r){let a=r;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return l=o(window.location.href),function(a){const n=S.isString(a)?o(a):a;return n.protocol===l.protocol&&n.host===l.host}}():function(){return function(){return!0}}();function Of(c){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(c);return e&&e[1]||""}function If(c,e){c=c||10;const t=new Array(c),l=new Array(c);let o=0,r=0,a;return e=e!==void 0?e:1e3,function(i){const s=Date.now(),u=l[r];a||(a=s),t[o]=i,l[o]=s;let h=r,p=0;for(;h!==o;)p+=t[h++],h=h%c;if(o=(o+1)%c,o===r&&(r=(r+1)%c),s-a{const r=o.loaded,a=o.lengthComputable?o.total:void 0,n=r-t,i=l(n),s=r<=a;t=r;const u={loaded:r,total:a,progress:a?r/a:void 0,bytes:n,rate:i||void 0,estimated:i&&a&&s?(a-r)/i:void 0,event:o};u[e?"download":"upload"]=!0,c(u)}}const Pf=typeof XMLHttpRequest<"u",Rf=Pf&&function(c){return new Promise(function(t,l){let o=c.data;const r=t2.from(c.headers).normalize();let{responseType:a,withXSRFToken:n}=c,i;function s(){c.cancelToken&&c.cancelToken.unsubscribe(i),c.signal&&c.signal.removeEventListener("abort",i)}let u;if(S.isFormData(o)){if(B1.hasStandardBrowserEnv||B1.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((u=r.getContentType())!==!1){const[m,...M]=u?u.split(";").map(d=>d.trim()).filter(Boolean):[];r.setContentType([m||"multipart/form-data",...M].join("; "))}}let h=new XMLHttpRequest;if(c.auth){const m=c.auth.username||"",M=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";r.set("Authorization","Basic "+btoa(m+":"+M))}const p=f9(c.baseURL,c.url);h.open(c.method.toUpperCase(),i9(p,c.params,c.paramsSerializer),!0),h.timeout=c.timeout;function C(){if(!h)return;const m=t2.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),d={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:m,config:c,request:h};Ef(function(g){t(g),s()},function(g){l(g),s()},d),h=null}if("onloadend"in h?h.onloadend=C:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(C)},h.onabort=function(){h&&(l(new J("Request aborted",J.ECONNABORTED,c,h)),h=null)},h.onerror=function(){l(new J("Network Error",J.ERR_NETWORK,c,h)),h=null},h.ontimeout=function(){let M=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded";const d=c.transitional||s9;c.timeoutErrorMessage&&(M=c.timeoutErrorMessage),l(new J(M,d.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,c,h)),h=null},B1.hasStandardBrowserEnv&&(n&&S.isFunction(n)&&(n=n(c)),n||n!==!1&&kf(p))){const m=c.xsrfHeaderName&&c.xsrfCookieName&&Sf.read(c.xsrfCookieName);m&&r.set(c.xsrfHeaderName,m)}o===void 0&&r.setContentType(null),"setRequestHeader"in h&&S.forEach(r.toJSON(),function(M,d){h.setRequestHeader(d,M)}),S.isUndefined(c.withCredentials)||(h.withCredentials=!!c.withCredentials),a&&a!=="json"&&(h.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&h.addEventListener("progress",H7(c.onDownloadProgress,!0)),typeof c.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",H7(c.onUploadProgress)),(c.cancelToken||c.signal)&&(i=m=>{h&&(l(!m||m.type?new T4(null,c,h):m),h.abort(),h=null)},c.cancelToken&&c.cancelToken.subscribe(i),c.signal&&(c.signal.aborted?i():c.signal.addEventListener("abort",i)));const H=Of(p);if(H&&B1.protocols.indexOf(H)===-1){l(new J("Unsupported protocol "+H+":",J.ERR_BAD_REQUEST,c));return}h.send(o||null)})},n0={http:af,xhr:Rf};S.forEach(n0,(c,e)=>{if(c){try{Object.defineProperty(c,"name",{value:e})}catch{}Object.defineProperty(c,"adapterName",{value:e})}});const g7=c=>`- ${c}`,Nf=c=>S.isFunction(c)||c===null||c===!1,v9={getAdapter:c=>{c=S.isArray(c)?c:[c];const{length:e}=c;let t,l;const o={};for(let r=0;r`adapter ${n} `+(i===!1?"is not supported by the environment":"is not available in the build"));let a=e?r.length>1?`since : +`+r.map(g7).join(` +`):" "+g7(r[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return l},adapters:n0};function _8(c){if(c.cancelToken&&c.cancelToken.throwIfRequested(),c.signal&&c.signal.aborted)throw new T4(null,c)}function V7(c){return _8(c),c.headers=t2.from(c.headers),c.data=z8.call(c,c.transformRequest),["post","put","patch"].indexOf(c.method)!==-1&&c.headers.setContentType("application/x-www-form-urlencoded",!1),v9.getAdapter(c.adapter||o6.adapter)(c).then(function(l){return _8(c),l.data=z8.call(c,c.transformResponse,l),l.headers=t2.from(l.headers),l},function(l){return d9(l)||(_8(c),l&&l.response&&(l.response.data=z8.call(c,c.transformResponse,l.response),l.response.headers=t2.from(l.response.headers))),Promise.reject(l)})}const L7=c=>c instanceof t2?{...c}:c;function c4(c,e){e=e||{};const t={};function l(s,u,h){return S.isPlainObject(s)&&S.isPlainObject(u)?S.merge.call({caseless:h},s,u):S.isPlainObject(u)?S.merge({},u):S.isArray(u)?u.slice():u}function o(s,u,h){if(S.isUndefined(u)){if(!S.isUndefined(s))return l(void 0,s,h)}else return l(s,u,h)}function r(s,u){if(!S.isUndefined(u))return l(void 0,u)}function a(s,u){if(S.isUndefined(u)){if(!S.isUndefined(s))return l(void 0,s)}else return l(void 0,u)}function n(s,u,h){if(h in e)return l(s,u);if(h in c)return l(void 0,s)}const i={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:n,headers:(s,u)=>o(L7(s),L7(u),!0)};return S.forEach(Object.keys(Object.assign({},c,e)),function(u){const h=i[u]||o,p=h(c[u],e[u],u);S.isUndefined(p)&&h!==n||(t[u]=p)}),t}const p9="1.6.8",a6={};["object","boolean","number","function","string","symbol"].forEach((c,e)=>{a6[c]=function(l){return typeof l===c||"a"+(e<1?"n ":" ")+c}});const z7={};a6.transitional=function(e,t,l){function o(r,a){return"[Axios v"+p9+"] Transitional option '"+r+"'"+a+(l?". "+l:"")}return(r,a,n)=>{if(e===!1)throw new J(o(a," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!z7[a]&&(z7[a]=!0,console.warn(o(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,a,n):!0}};function $f(c,e,t){if(typeof c!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const l=Object.keys(c);let o=l.length;for(;o-- >0;){const r=l[o],a=e[r];if(a){const n=c[r],i=n===void 0||a(n,r,c);if(i!==!0)throw new J("option "+r+" must be "+i,J.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new J("Unknown option "+r,J.ERR_BAD_OPTION)}}const i0={assertOptions:$f,validators:a6},h2=i0.validators;let g3=class{constructor(e){this.defaults=e,this.interceptors={request:new b7,response:new b7}}async request(e,t){try{return await this._request(e,t)}catch(l){if(l instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const r=o.stack?o.stack.replace(/^.+\n/,""):"";l.stack?r&&!String(l.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(l.stack+=` +`+r):l.stack=r}throw l}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=c4(this.defaults,t);const{transitional:l,paramsSerializer:o,headers:r}=t;l!==void 0&&i0.assertOptions(l,{silentJSONParsing:h2.transitional(h2.boolean),forcedJSONParsing:h2.transitional(h2.boolean),clarifyTimeoutError:h2.transitional(h2.boolean)},!1),o!=null&&(S.isFunction(o)?t.paramsSerializer={serialize:o}:i0.assertOptions(o,{encode:h2.function,serialize:h2.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=r&&S.merge(r.common,r[t.method]);r&&S.forEach(["delete","get","head","post","put","patch","common"],H=>{delete r[H]}),t.headers=t2.concat(a,r);const n=[];let i=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(i=i&&m.synchronous,n.unshift(m.fulfilled,m.rejected))});const s=[];this.interceptors.response.forEach(function(m){s.push(m.fulfilled,m.rejected)});let u,h=0,p;if(!i){const H=[V7.bind(this),void 0];for(H.unshift.apply(H,n),H.push.apply(H,s),p=H.length,u=Promise.resolve(t);h{if(!l._listeners)return;let r=l._listeners.length;for(;r-- >0;)l._listeners[r](o);l._listeners=null}),this.promise.then=o=>{let r;const a=new Promise(n=>{l.subscribe(n),r=n}).then(o);return a.cancel=function(){l.unsubscribe(r)},a},e(function(r,a,n){l.reason||(l.reason=new T4(r,a,n),t(l.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new m9(function(o){e=o}),cancel:e}}};const Df=xf;function Ff(c){return function(t){return c.apply(null,t)}}function qf(c){return S.isObject(c)&&c.isAxiosError===!0}const s0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(s0).forEach(([c,e])=>{s0[e]=c});const jf=s0;function y9(c){const e=new r3(c),t=Xe(r3.prototype.request,e);return S.extend(t,r3.prototype,e,{allOwnKeys:!0}),S.extend(t,e,null,{allOwnKeys:!0}),t.create=function(o){return y9(c4(c,o))},t}const u1=y9(o6);u1.Axios=r3;u1.CanceledError=T4;u1.CancelToken=Df;u1.isCancel=d9;u1.VERSION=p9;u1.toFormData=D3;u1.AxiosError=J;u1.Cancel=u1.CanceledError;u1.all=function(e){return Promise.all(e)};u1.spread=Ff;u1.isAxiosError=qf;u1.mergeConfig=c4;u1.AxiosHeaders=t2;u1.formToJSON=c=>h9(S.isHTMLForm(c)?new FormData(c):c);u1.getAdapter=v9.getAdapter;u1.HttpStatusCode=jf;u1.default=u1;const M9=u1,{Axios:cb,AxiosError:eb,CanceledError:Bf,isCancel:tb,CancelToken:lb,VERSION:rb,all:ob,Cancel:ab,isAxiosError:nb,spread:ib,toFormData:sb,AxiosHeaders:ub,HttpStatusCode:hb,formToJSON:db,getAdapter:fb,mergeConfig:vb}=M9;var n6=(c=>(c[c.SUCCESS=200]="SUCCESS",c[c.ERROR=-1]="ERROR",c[c.TIMEOUT=10042]="TIMEOUT",c.TYPE="success",c))(n6||{});const w8="未知错误,请重试",Uf="https://nest-api.buqiyuan.site",Gf=new AbortController,i6=M9.create({baseURL:Uf,timeout:1e4,signal:Gf.signal});i6.interceptors.request.use(c=>{const t=e4().token;return t&&c.headers&&(c.headers.Authorization=`Bearer ${t}`),c},c=>{Promise.reject(c)});i6.interceptors.response.use(c=>{const e=c.data;if(e.code!==n6.SUCCESS){W2.error(e.message||w8),[1101,1105].includes(e.code)&&Q7.confirm({title:"警告",content:e.message||"账号异常,您可以取消停留在该页上,或重新登录",okText:"重新登录",cancelText:"取消",onOk:()=>{localStorage.clear(),window.location.reload()}});const t=new Error(e.message||w8);return t.code=e.code,Promise.reject(t)}else return Ye().setServerConnectStatus(!0),c},c=>{var e,t;if(!(c instanceof Bf)){const l=((t=(e=c==null?void 0:c.response)==null?void 0:e.data)==null?void 0:t.message)??w8;W2.error({content:l,key:l}),c.message=l}return Promise.reject(c)});async function O(c,e={}){const t=h3(c)?c:c.url,l=h3(c)?e:c;try{const{requestType:o,isReturnResult:r=!0,...a}=l,n=await i6.request({url:t,...a,headers:{...a.headers,...o==="form"?{"Content-Type":"multipart/form-data"}:{}}}),{data:i}=n,{code:s,message:u}=i||{};if(i&&Reflect.has(i,"code")&&s===n6.SUCCESS){const{successMsg:p,showSuccessMsg:C}=l;p?W2.success(p):C&&u&&W2.success(u)}return r?i.data:i}catch(o){return Promise.reject(o)}}async function Wf(c,e){return O("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function Kf(c,e){return O("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}const Yf=Object.freeze(Object.defineProperty({__proto__:null,authLogin:Wf,authRegister:Kf},Symbol.toStringTag,{value:"Module"}));async function Xf(c){return O("/api/account/logout",{method:"GET",...c||{}})}async function Jf(c){return O("/api/account/menus",{method:"GET",...c||{}})}async function Qf(c,e){return O("/api/account/password",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function Zf(c){return O("/api/account/permissions",{method:"GET",...c||{}})}async function cv(c){return O("/api/account/profile",{method:"GET",...c||{}})}async function ev(c,e){return O("/api/account/update",{method:"PUT",headers:{"Content-Type":"application/json"},data:c,...e||{}})}const tv=Object.freeze(Object.defineProperty({__proto__:null,accountLogout:Xf,accountMenu:Jf,accountPassword:Qf,accountPermissions:Zf,accountProfile:cv,accountUpdate:ev},Symbol.toStringTag,{value:"Module"}));async function lv(c,e){return O("/api/auth/captcha/img",{method:"GET",params:{...c},...e||{}})}const rv=Object.freeze(Object.defineProperty({__proto__:null,captchaCaptchaByImg:lv},Symbol.toStringTag,{value:"Module"}));async function ov(c,e){return O("/api/auth/email/send",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}const av=Object.freeze(Object.defineProperty({__proto__:null,emailSendEmailCode:ov},Symbol.toStringTag,{value:"Module"}));async function nv(c,e){return O("/api/system/users",{method:"GET",params:{...c},...e||{}})}async function iv(c,e){return O("/api/system/users",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function sv(c,e){const{id:t,...l}=c;return O(`/api/system/users/${t}`,{method:"GET",params:{...l},...e||{}})}async function uv(c,e,t){const{id:l,...o}=c;return O(`/api/system/users/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function hv(c,e){const{id:t,...l}=c;return O(`/api/system/users/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}async function dv(c,e,t){const{id:l,...o}=c;return O(`/api/system/users/${l}/password`,{method:"POST",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{}})}const fv=Object.freeze(Object.defineProperty({__proto__:null,userCreate:iv,userDelete:hv,userList:nv,userPassword:dv,userRead:sv,userUpdate:uv},Symbol.toStringTag,{value:"Module"}));async function vv(c,e){return O("/api/system/roles",{method:"GET",params:{...c},...e||{}})}async function pv(c,e){return O("/api/system/roles",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function mv(c,e){const{id:t,...l}=c;return O(`/api/system/roles/${t}`,{method:"GET",params:{...l},...e||{}})}async function yv(c,e,t){const{id:l,...o}=c;return O(`/api/system/roles/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Mv(c,e){const{id:t,...l}=c;return O(`/api/system/roles/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}const bv=Object.freeze(Object.defineProperty({__proto__:null,roleCreate:pv,roleDelete:Mv,roleInfo:mv,roleList:vv,roleUpdate:yv},Symbol.toStringTag,{value:"Module"}));async function Cv(c,e){return O("/api/system/menus",{method:"GET",params:{...c},...e||{}})}async function Hv(c,e){return O("/api/system/menus",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function gv(c,e){const{id:t,...l}=c;return O(`/api/system/menus/${t}`,{method:"GET",params:{...l},...e||{}})}async function Vv(c,e,t){const{id:l,...o}=c;return O(`/api/system/menus/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Lv(c,e){const{id:t,...l}=c;return O(`/api/system/menus/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}async function zv(c){return O("/api/system/menus/permissions",{method:"GET",...c||{}})}const _v=Object.freeze(Object.defineProperty({__proto__:null,menuCreate:Hv,menuDelete:Lv,menuGetPermissions:zv,menuInfo:gv,menuList:Cv,menuUpdate:Vv},Symbol.toStringTag,{value:"Module"}));async function wv(c,e){return O("/api/system/param-config",{method:"GET",params:{...c},...e||{}})}async function Ev(c,e){return O("/api/system/param-config",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function Sv(c,e){const{id:t,...l}=c;return O(`/api/system/param-config/${t}`,{method:"GET",params:{...l},...e||{}})}async function Av(c,e,t){const{id:l,...o}=c;return O(`/api/system/param-config/${l}`,{method:"POST",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Tv(c,e){const{id:t,...l}=c;return O(`/api/system/param-config/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}const kv=Object.freeze(Object.defineProperty({__proto__:null,paramConfigCreate:Ev,paramConfigDelete:Tv,paramConfigInfo:Sv,paramConfigList:wv,paramConfigUpdate:Av},Symbol.toStringTag,{value:"Module"}));async function Ov(c,e){return O("/api/system/log/captcha/list",{method:"GET",params:{...c},...e||{}})}async function Iv(c,e){return O("/api/system/log/login/list",{method:"GET",params:{...c},...e||{}})}async function Pv(c,e){return O("/api/system/log/task/list",{method:"GET",params:{...c},...e||{}})}const Rv=Object.freeze(Object.defineProperty({__proto__:null,logCaptchaList:Ov,logLoginLogPage:Iv,logTaskList:Pv},Symbol.toStringTag,{value:"Module"}));async function Nv(c,e){return O("/api/system/depts",{method:"GET",params:{...c},...e||{}})}async function $v(c,e){return O("/api/system/depts",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function xv(c,e){const{id:t,...l}=c;return O(`/api/system/depts/${t}`,{method:"GET",params:{...l},...e||{}})}async function Dv(c,e,t){const{id:l,...o}=c;return O(`/api/system/depts/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Fv(c,e){const{id:t,...l}=c;return O(`/api/system/depts/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}const qv=Object.freeze(Object.defineProperty({__proto__:null,deptCreate:$v,deptDelete:Fv,deptInfo:xv,deptList:Nv,deptUpdate:Dv},Symbol.toStringTag,{value:"Module"}));async function jv(c,e){return O("/api/system/dict-type",{method:"GET",params:{...c},...e||{}})}async function Bv(c,e){return O("/api/system/dict-type",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function Uv(c,e){const{id:t,...l}=c;return O(`/api/system/dict-type/${t}`,{method:"GET",params:{...l},...e||{}})}async function Gv(c,e,t){const{id:l,...o}=c;return O(`/api/system/dict-type/${l}`,{method:"POST",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Wv(c,e){const{id:t,...l}=c;return O(`/api/system/dict-type/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}async function Kv(c){return O("/api/system/dict-type/select-options",{method:"GET",...c||{}})}const Yv=Object.freeze(Object.defineProperty({__proto__:null,dictTypeCreate:Bv,dictTypeDelete:Wv,dictTypeGetAll:Kv,dictTypeInfo:Uv,dictTypeList:jv,dictTypeUpdate:Gv},Symbol.toStringTag,{value:"Module"}));async function Xv(c,e){return O("/api/system/dict-item",{method:"GET",params:{...c},...e||{}})}async function Jv(c,e){return O("/api/system/dict-item",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function Qv(c,e){const{id:t,...l}=c;return O(`/api/system/dict-item/${t}`,{method:"GET",params:{...l},...e||{}})}async function Zv(c,e,t){const{id:l,...o}=c;return O(`/api/system/dict-item/${l}`,{method:"POST",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function cp(c,e){const{id:t,...l}=c;return O(`/api/system/dict-item/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}const ep=Object.freeze(Object.defineProperty({__proto__:null,dictItemCreate:Jv,dictItemDelete:cp,dictItemInfo:Qv,dictItemList:Xv,dictItemUpdate:Zv},Symbol.toStringTag,{value:"Module"}));async function tp(c,e){return O("/api/system/tasks",{method:"GET",params:{...c},...e||{}})}async function lp(c,e){return O("/api/system/tasks",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function rp(c,e){const{id:t,...l}=c;return O(`/api/system/tasks/${t}`,{method:"GET",params:{...l},...e||{}})}async function op(c,e,t){const{id:l,...o}=c;return O(`/api/system/tasks/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function ap(c,e){const{id:t,...l}=c;return O(`/api/system/tasks/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}async function np(c,e){const{id:t,...l}=c;return O(`/api/system/tasks/${t}/once`,{method:"PUT",params:{...l},...e||{}})}async function ip(c,e){const{id:t,...l}=c;return O(`/api/system/tasks/${t}/start`,{method:"PUT",params:{...l},...e||{}})}async function sp(c,e){const{id:t,...l}=c;return O(`/api/system/tasks/${t}/stop`,{method:"PUT",params:{...l},...e||{}})}const up=Object.freeze(Object.defineProperty({__proto__:null,taskCreate:lp,taskDelete:ap,taskInfo:rp,taskList:tp,taskOnce:np,taskStart:ip,taskStop:sp,taskUpdate:op},Symbol.toStringTag,{value:"Module"}));async function hp(c,e){return O("/api/system/online/kick",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function dp(c){return O("/api/system/online/list",{method:"GET",...c||{}})}const fp=Object.freeze(Object.defineProperty({__proto__:null,onlineKick:hp,onlineList:dp},Symbol.toStringTag,{value:"Module"}));async function vp(c,e){const{uid:t,...l}=c;return O(`/api/sse/${t}`,{method:"GET",params:{...l},...e||{}})}const pp=Object.freeze(Object.defineProperty({__proto__:null,sseSse:vp},Symbol.toStringTag,{value:"Module"}));async function mp(c){return O("/api/system/serve/stat",{method:"GET",...c||{}})}const yp=Object.freeze(Object.defineProperty({__proto__:null,serveStat:mp},Symbol.toStringTag,{value:"Module"}));async function Mp(c,e){return O("/api/tools/storage/delete",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"删除成功"}})}async function bp(c,e){return O("/api/tools/storage/list",{method:"GET",params:{...c},...e||{}})}const Cp=Object.freeze(Object.defineProperty({__proto__:null,storageDelete:Mp,storageList:bp},Symbol.toStringTag,{value:"Module"}));async function Hp(c,e){return O("/api/tools/email/send",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}const gp=Object.freeze(Object.defineProperty({__proto__:null,emailSend:Hp},Symbol.toStringTag,{value:"Module"}));async function Vp(c,e,t){const l=new FormData;return e&&l.append("file",e),Object.keys(c).forEach(o=>{const r=c[o];r!=null&&(typeof r=="object"&&!(r instanceof File)?r instanceof Array?r.forEach(a=>l.append(o,a||"")):l.append(o,JSON.stringify(r)):l.append(o,r))}),O("/api/tools/upload",{method:"POST",data:l,requestType:"form",...t||{}})}const Lp=Object.freeze(Object.defineProperty({__proto__:null,uploadUpload:Vp},Symbol.toStringTag,{value:"Module"}));async function zp(c){return O("/api/health/database",{method:"GET",...c||{}})}async function _p(c){return O("/api/health/disk",{method:"GET",...c||{}})}async function wp(c){return O("/api/health/memory-heap",{method:"GET",...c||{}})}async function Ep(c){return O("/api/health/memory-rss",{method:"GET",...c||{}})}async function Sp(c){return O("/api/health/network",{method:"GET",...c||{}})}const Ap=Object.freeze(Object.defineProperty({__proto__:null,healthCheckDatabase:zp,healthCheckDisk:_p,healthCheckMemoryHeap:wp,healthCheckMemoryRss:Ep,healthCheckNetwork:Sp},Symbol.toStringTag,{value:"Module"}));async function Tp(c,e){return O("/api/netdisk/manage/copy",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function kp(c,e){return O("/api/netdisk/manage/cut",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function Op(c,e){return O("/api/netdisk/manage/delete",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"删除成功"}})}async function Ip(c,e){return O("/api/netdisk/manage/download",{method:"GET",params:{...c},...e||{}})}async function Pp(c,e){return O("/api/netdisk/manage/info",{method:"GET",params:{...c},...e||{}})}async function Rp(c,e){return O("/api/netdisk/manage/list",{method:"GET",params:{...c},...e||{}})}async function Np(c,e){return O("/api/netdisk/manage/mark",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function $p(c,e){return O("/api/netdisk/manage/mkdir",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function xp(c,e){return O("/api/netdisk/manage/rename",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{}})}async function Dp(c){return O("/api/netdisk/manage/token",{method:"GET",...c||{}})}const Fp=Object.freeze(Object.defineProperty({__proto__:null,netDiskManageCopy:Tp,netDiskManageCut:kp,netDiskManageDelete:Op,netDiskManageDownload:Ip,netDiskManageInfo:Pp,netDiskManageList:Rp,netDiskManageMark:Np,netDiskManageMkdir:$p,netDiskManageRename:xp,netDiskManageToken:Dp},Symbol.toStringTag,{value:"Module"}));async function qp(c){return O("/api/netdisk/overview/desc",{method:"GET",...c||{}})}const jp=Object.freeze(Object.defineProperty({__proto__:null,netDiskOverviewSpace:qp},Symbol.toStringTag,{value:"Module"}));async function Bp(c,e){return O("/api/todos",{method:"GET",params:{...c},...e||{}})}async function Up(c,e){return O("/api/todos",{method:"POST",headers:{"Content-Type":"application/json"},data:c,...e||{successMsg:"创建成功"}})}async function Gp(c,e){const{id:t,...l}=c;return O(`/api/todos/${t}`,{method:"GET",params:{...l},...e||{}})}async function Wp(c,e,t){const{id:l,...o}=c;return O(`/api/todos/${l}`,{method:"PUT",headers:{"Content-Type":"application/json"},params:{...o},data:e,...t||{successMsg:"更新成功"}})}async function Kp(c,e){const{id:t,...l}=c;return O(`/api/todos/${t}`,{method:"DELETE",params:{...l},...e||{successMsg:"删除成功"}})}const Yp=Object.freeze(Object.defineProperty({__proto__:null,todoCreate:Up,todoDelete:Kp,todoInfo:Gp,todoList:Bp,todoUpdate:Wp},Symbol.toStringTag,{value:"Module"})),U4={auth:Yf,account:tv,captcha:rv,authEmail:av,systemUser:fv,systemRole:bv,systemMenu:_v,systemParamConfig:kv,systemLog:Rv,systemDept:qv,systemDictType:Yv,systemDictItem:ep,systemTask:up,systemOnline:fp,systemSse:pp,systemServe:yp,toolsStorage:Cp,systemEmail:gp,toolsUpload:Lp,health:Ap,netDiskManage:Fp,netDiskOverview:jp,businessTodo:Yp};var v4,p4,G={version:"0.2.0"},M1=G.settings={minimum:.08,easing:"linear",positionUsing:"",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function _7(c,e,t){return ct?t:c}function G4(c){return 100*(-1+c)}G.configure=function(c){var e,t;for(e in c)(t=c[e])!==void 0&&c.hasOwnProperty(e)&&(M1[e]=t);return this},G.status=null,G.set=function(c){var e=G.isStarted();c=_7(c,M1.minimum,1),G.status=c===1?null:c;var t=G.render(!e),l=t.querySelector(M1.barSelector),o=M1.speed,r=M1.easing;return Xp(function(a){M1.positionUsing===""&&(M1.positionUsing=G.getPositioningCSS()),W4(l,function(n,i,s){var u;return(u=M1.positionUsing==="translate3d"?{transform:"translate3d("+G4(n)+"%,0,0)"}:M1.positionUsing==="translate"?{transform:"translate("+G4(n)+"%,0)"}:{"margin-left":G4(n)+"%"}).transition="all "+i+"ms "+s,u}(c,o,r)),c===1?(W4(t,{transition:"none",opacity:1}),setTimeout(function(){W4(t,{transition:"all "+o+"ms linear",opacity:0}),setTimeout(function(){G.remove(),a()},o)},o)):setTimeout(a,o)}),this},G.isStarted=function(){return typeof G.status=="number"},G.start=function(){G.status||G.set(0);var c=function(){setTimeout(function(){G.status&&(G.trickle(),c())},M1.trickleSpeed)};return M1.trickle&&c(),this},G.done=function(c){return c||G.status?G.inc(.3+.5*Math.random()).set(1):this},G.inc=function(c){var e=G.status;return e?e>1?void 0:(typeof c!="number"&&(c=e>=0&&e<.2?.1:e>=.2&&e<.5?.04:e>=.5&&e<.8?.02:e>=.8&&e<.99?.005:0),e=_7(e+c,0,.994),G.set(e)):G.start()},G.trickle=function(){return G.inc()},v4=0,p4=0,G.promise=function(c){return c&&c.state()!=="resolved"?(p4===0&&G.start(),v4++,p4++,c.always(function(){--p4==0?(v4=0,G.done()):G.set((v4-p4)/v4)}),this):this},G.render=function(c){if(G.isRendered())return document.getElementById("nprogress");w7(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=M1.template;var t,l=e.querySelector(M1.barSelector),o=c?"-100":G4(G.status||0),r=document.querySelector(M1.parent);return W4(l,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),M1.showSpinner||(t=e.querySelector(M1.spinnerSelector))&&S7(t),r!=document.body&&w7(r,"nprogress-custom-parent"),r.appendChild(e),e},G.remove=function(){E7(document.documentElement,"nprogress-busy"),E7(document.querySelector(M1.parent),"nprogress-custom-parent");var c=document.getElementById("nprogress");c&&S7(c)},G.isRendered=function(){return!!document.getElementById("nprogress")},G.getPositioningCSS=function(){var c=document.body.style,e="WebkitTransform"in c?"Webkit":"MozTransform"in c?"Moz":"msTransform"in c?"ms":"OTransform"in c?"O":"";return e+"Perspective"in c?"translate3d":e+"Transform"in c?"translate":"margin"};var Xp=function(){var c=[];function e(){var t=c.shift();t&&t(e)}return function(t){c.push(t),c.length==1&&e()}}(),W4=function(){var c=["Webkit","O","Moz","ms"],e={};function t(l,o,r){var a;a=(a=o).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(n,i){return i.toUpperCase()}),o=e[a]||(e[a]=function(n){var i=document.body.style;if(n in i)return n;for(var s,u=c.length,h=n.charAt(0).toUpperCase()+n.slice(1);u--;)if((s=c[u]+h)in i)return s;return n}(a)),l.style[o]=r}return function(l,o){var r,a,n=arguments;if(n.length==2)for(r in o)(a=o[r])!==void 0&&o.hasOwnProperty(r)&&t(l,r,a);else t(l,n[1],n[2])}}();function b9(c,e){return(typeof c=="string"?c:s6(c)).indexOf(" "+e+" ")>=0}function w7(c,e){var t=s6(c),l=t+e;b9(t,e)||(c.className=l.substring(1))}function E7(c,e){var t,l=s6(c);b9(c,e)&&(t=l.replace(" "+e+" "," "),c.className=t.substring(1,t.length-1))}function s6(c){return(" "+(c&&c.className||"")+" ").replace(/\s+/gi," ")}function S7(c){c&&c.parentNode&&c.parentNode.removeChild(c)}const Jp=t4({id:"keep-alive",state:()=>({list:[]}),actions:{add(c){typeof c=="string"?!this.list.includes(c)&&this.list.push(c):c.map(e=>{e&&!this.list.includes(e)&&this.list.push(e)})},remove(c){typeof c=="string"?this.list=this.list.filter(e=>e!==c):this.list=this.list.filter(e=>!c.includes(e))},clear(){this.list=[]}}});function Qp(c,e){return c.then(t=>[null,t]).catch(t=>e?[Object.assign({},t,e),void 0]:[t,void 0])}function A7(c,e){return!c||e.startsWith(c)?e:`${c}.${e}`}function pb(c){const e=d2,t={t:r=>A7(c,r)};if(!e)return t;const{t:l}=e.global,o=(r,...a)=>r?!r.includes(".")&&!c?r:l(A7(c,r),...a):"";return Object.assign(e.global,{t:o})}function Zp(c="",e=!0){var l;if(!c)return"";const t=d2;return typeof c=="object"?c[(l=t.global)==null?void 0:l.locale]:e&&typeof c=="string"?t.global.t(c):c}const C1=c=>c;G.configure({showSpinner:!1});const cm="/dashboard/welcome";function em(c,e){c.beforeEach(async(l,o,r)=>{var n,i;(!((n=o.meta)!=null&&n.hideProgressBar)||!((i=l.meta)!=null&&i.hideProgressBar))&&G.start();const a=e4();if(a.token)if(l.name===f2)r({path:cm});else{const s=c.hasRoute(l.name);if(a.menus.length===0){const[u]=await Qp(a.afterLogin());if(u)return a.clearLoginStatus(),Q7.destroyAll(),r({name:f2});l.name===r0?r({path:l.fullPath,replace:!0}):s?r():r({...l,replace:!0})}else r()}else e.some(s=>s===l.name)?r():r({name:f2,query:{redirect:l.fullPath},replace:!0})});const t=l=>l.matched.map(o=>{var a,n,i;if(!((a=o.meta)!=null&&a.keepAlive))return;const r=(n=o.components)==null?void 0:n.default;return(r==null?void 0:r.name)??((i=r==null?void 0:r.type)==null?void 0:i.name)}).filter(Boolean);c.afterEach((l,o,r)=>{var s,u;if(Mt(r,bt.aborted)){G.done();return}(s=l.meta)!=null&&s.title&&(document.title=Zp(l.meta.title));const a=Jp(),n=t(l);if((u=l.meta)!=null&&u.keepAlive?n?a.add(n):console.warn(`${l.fullPath}页面组件的keepAlive为true但未设置组件名,会导致缓存失效,请检查`):n&&a.remove(n),l.name===e3){const h=t(o);h&&a.remove(h)}e4().token||a.clear(),G.done()}),c.onError(l=>{console.error("路由错误",l)})}const tm={path:"/login",name:f2,component:()=>R(()=>import("./index-CGy8ISwp.js"),__vite__mapDeps([5,2,6,1,3,7])),meta:{title:"登录"}},lm=[tm],rm={path:"/redirect",name:"RedirectTo",meta:{title:e3,hideInBreadcrumb:!0,hideInMenu:!0},children:[{path:":path(.*)",name:e3,component:lc,meta:{title:e3,hideInMenu:!0},beforeEnter:c=>{const{params:e,query:t}=c,{path:l,redirectType:o="path"}=e;Reflect.deleteProperty(e,"_redirect_type"),Reflect.deleteProperty(e,"path");const r=Array.isArray(l)?l.join("/"):l;return setTimeout(()=>{o==="name"?l2.replace({name:r,query:t,params:e}):l2.replace({path:r.startsWith("/")?r:`/${r}`,query:t})}),!0}}]},om={path:"/:pathMatch(.*)*",name:r0,meta:{title:"PageNotFound",hideInMenu:!0,hideInTabs:!0},children:[{path:"/:pathMatch(.*)*",name:r0,component:()=>R(()=>import("./404-lhaNt39r.js"),__vite__mapDeps([8,2,1,3,9])),meta:{title:"PageNotFound",hideBreadcrumb:!0,hideMenu:!0}}]},C9=[rm,om],u0={path:"/",name:"Layout",redirect:"/dashboard/welcome",component:()=>R(()=>import("./index-D0-KY_sV.js"),__vite__mapDeps([10,2,6,11,1,3,12,13,14])),meta:{title:"根路由"},children:[]},am=[u0,...lm,...C9],l2=Ct({history:Ht(""),routes:am});function nm(){l2.getRoutes().forEach(c=>{const{name:e}=c;e&&!Ke.some(t=>t===e)&&l2.hasRoute(e)&&l2.removeRoute(e)})}async function im(c){em(l2,Ke),c.use(l2),await l2.isReady()}const sm=Object.assign({"../../views/account/about.vue":()=>R(()=>import("./about-T5Ggk1rL.js"),__vite__mapDeps([15,1,2,3])),"../../views/account/settings.vue":()=>R(()=>import("./settings-BsNpdNUg.js"),__vite__mapDeps([16,2,1,3])),"../../views/dashboard/welcome/index.vue":()=>R(()=>import("./index-SXH19c2P.js"),__vite__mapDeps([17,1,2,3,18])),"../../views/demos/button.vue":()=>R(()=>import("./button-CVzQuWxY.js"),__vite__mapDeps([19,1,2,3])),"../../views/demos/custom-modal.vue":()=>R(()=>import("./custom-modal-DH3-QIZ5.js"),__vite__mapDeps([20,12,2,1,3,13,21,22,23,24])),"../../views/demos/form/basic-form/index.vue":()=>R(()=>import("./index-DylgNAGx.js"),__vite__mapDeps([25,26,1,2,3,22,23,24,27,28,29,30,31])),"../../views/demos/form/custom-form/index.vue":()=>R(()=>import("./index-K5eF8APY.js"),__vite__mapDeps([32,33,1,2,3,22,23,24,27,28,29,30])),"../../views/demos/form/custom-form/input-number-range.vue":()=>R(()=>import("./input-number-range-BryjMukN.js"),__vite__mapDeps([34,33,1,2,3])),"../../views/demos/form/dynamic-form/index.vue":()=>R(()=>import("./index-ig6BKZp8.js"),__vite__mapDeps([35,22,1,2,3,23,24,28,29,30,36])),"../../views/demos/form/request-form/index.vue":()=>R(()=>import("./index-Dn_kwytD.js"),__vite__mapDeps([37,26,1,2,3,22,23,24,27,28,29,30,38])),"../../views/demos/form/rule-form/index.vue":()=>R(()=>import("./index-CT-IClhL.js"),__vite__mapDeps([39,22,1,2,3,23,24,28,29,30,40])),"../../views/demos/form/use-form/index.vue":()=>R(()=>import("./index-D49Spjyf.js"),__vite__mapDeps([41,22,1,2,3,23,24,27,28,29,30,42])),"../../views/demos/nested-routes/index.vue":()=>R(()=>import("./index-B9vsgMem.js"),__vite__mapDeps([43,2,1,3])),"../../views/demos/nested-routes/route-one.vue":()=>R(()=>import("./route-one-DuMuzcEA.js"),__vite__mapDeps([44,1,2,3])),"../../views/demos/nested-routes/route-three.vue":()=>R(()=>import("./route-three-DgK4R5fZ.js"),__vite__mapDeps([45,1,2,3])),"../../views/demos/nested-routes/route-two.vue":()=>R(()=>import("./route-two-BeGKDvBB.js"),__vite__mapDeps([46,1,2,3])),"../../views/demos/tables/edit-row-table/index.vue":()=>R(()=>import("./index-DoEHPGFM.js"),__vite__mapDeps([47,48,26,1,2,3,49,28,22,23,24,29,30,50])),"../../views/demos/tables/lol-table/heroInfo.vue":()=>R(()=>import("./heroInfo-B8sR5UMx.js"),__vite__mapDeps([51,2,52,11,1,3,53])),"../../views/demos/tables/lol-table/index.vue":()=>R(()=>import("./index-ldKPINHH.js"),__vite__mapDeps([54,2,1,3,49,28,22,23,24,29,30,50,52,55,56,12,13,57,21])),"../../views/demos/tables/search-table/index.vue":()=>R(()=>import("./index-DroZSV1I.js"),__vite__mapDeps([58,48,26,1,2,3,49,28,22,23,24,29,30,50])),"../../views/demos/tables/wzry-table/index.vue":()=>R(()=>import("./index-D6PxRZBm.js"),__vite__mapDeps([59,2,1,3,49,28,22,23,24,29,30,50,56,12,13,52])),"../../views/error/404.vue":()=>R(()=>import("./404-lhaNt39r.js"),__vite__mapDeps([8,2,1,3,9])),"../../views/error/comp-not-found.vue":()=>R(()=>import("./comp-not-found-D70RKVnQ.js"),__vite__mapDeps([60,1,2,3])),"../../views/login/index.vue":()=>R(()=>import("./index-CGy8ISwp.js"),__vite__mapDeps([5,2,6,1,3,7])),"../../views/netdisk/components/file-operate-button-list.vue":()=>R(()=>import("./file-operate-button-list-Df1BQUv1.js"),__vite__mapDeps([61,62,63,1,2,3,12,13,57,21,22,23,24,28,29,30])),"../../views/netdisk/components/file-preview-drawer.vue":()=>R(()=>import("./file-preview-drawer-CRwnM4UH.js"),__vite__mapDeps([64,65,29,23,1,2,3,30])),"../../views/netdisk/components/file-upload-drawer.vue":()=>R(()=>import("./file-upload-drawer-K0ZGN3X8.js"),__vite__mapDeps([66,63,1,2,3])),"../../views/netdisk/components/overview-header-item.vue":()=>R(()=>import("./overview-header-item-BZepmKt-.js"),__vite__mapDeps([67,1,2,3,68])),"../../views/netdisk/manage.vue":()=>R(()=>import("./manage-D5qXbX2M.js"),__vite__mapDeps([69,62,63,1,2,3,12,13,57,21,22,23,24,28,29,30,65,55,49,50])),"../../views/netdisk/overview.vue":()=>R(()=>import("./overview-D3wyjAhe.js"),__vite__mapDeps([70,2,67,1,3,68,29,23,71])),"../../views/system/dept/index.vue":()=>R(()=>import("./index-B1Zi62I_.js"),__vite__mapDeps([72,30,1,2,3,26,49,28,22,23,24,29,50,12,13,57,21])),"../../views/system/dict-item/index.vue":()=>R(()=>import("./index-DdHqopv1.js"),__vite__mapDeps([73,2,74,30,1,3,49,28,22,23,24,29,50,12,13,57,21,11])),"../../views/system/dict-type/index.vue":()=>R(()=>import("./index-CiuPRf02.js"),__vite__mapDeps([75,74,30,1,2,3,49,28,22,23,24,29,50,12,13,57,21])),"../../views/system/menu/index.vue":()=>R(()=>import("./index-CbIF2RsB.js"),__vite__mapDeps([76,30,1,2,3,26,49,28,22,23,24,29,50,12,13,57,21])),"../../views/system/monitor/log/login/index.vue":()=>R(()=>import("./index-bSkzcFEY.js"),__vite__mapDeps([77,49,1,2,3,28,22,23,24,29,30,50])),"../../views/system/monitor/online/index.vue":()=>R(()=>import("./index-BjnwTv1p.js"),__vite__mapDeps([78,30,1,2,3,49,28,22,23,24,29,50])),"../../views/system/monitor/serve/index.vue":()=>R(()=>import("./index-CgmZP_PU.js"),__vite__mapDeps([79,29,23,1,2,3,80])),"../../views/system/param-config/index.vue":()=>R(()=>import("./index-MWhGN0gs.js"),__vite__mapDeps([81,30,1,2,3,49,28,22,23,24,29,50,12,13,57,21])),"../../views/system/role/index.vue":()=>R(()=>import("./index-BoWMpSkR.js"),__vite__mapDeps([82,30,1,2,3,49,28,22,23,24,29,50,12,13,57,21])),"../../views/system/schedule/log/index.vue":()=>R(()=>import("./index-Cjv1gkE0.js"),__vite__mapDeps([83,49,1,2,3,28,22,23,24,29,30,50])),"../../views/system/schedule/task/index.vue":()=>R(()=>import("./index-DE2G1Rp2.js"),__vite__mapDeps([84,1,2,3,49,28,22,23,24,29,30,50,12,13,57,21])),"../../views/system/user/AvatarUpload.vue":()=>R(()=>import("./AvatarUpload-BKZCxGPJ.js"),__vite__mapDeps([85,86,30,1,2,3])),"../../views/system/user/DeptTree.vue":()=>R(()=>import("./DeptTree-Dtex6bp7.js"),__vite__mapDeps([87,1,2,3,88])),"../../views/system/user/index.vue":()=>R(()=>import("./index-CJ15q10t.js"),__vite__mapDeps([89,86,30,1,2,3,87,88,49,28,22,23,24,29,50,12,13,57,21,26,90])),"../../views/tool/email/index.vue":()=>R(()=>import("./index-ysWpmeqr.js"),__vite__mapDeps([91,2,22,1,3,23,24,27,28,29,30])),"../../views/tool/storage/index.vue":()=>R(()=>import("./index-CgQRb_6V.js"),__vite__mapDeps([92,93,30,1,2,3,12,13,49,28,22,23,24,29,50])),"../../views/tool/storage/upload-modal.vue":()=>R(()=>import("./upload-modal-D9A31Qmt.js"),__vite__mapDeps([94,93,30,1,2,3,12,13,49,28,22,23,24,29,50]))}),um=Object.entries(sm).reduce((c,[e,t])=>{if(!/\/(views\/login|components)\//.test(e)){const l=e.replace("../../views/","").replace(".vue","");c[l]=t}return c},{}),hm={class:"iframe-box wh-full"},dm=["src"],fm=S1({name:"IFramePage",__name:"index",props:{src:{type:String,required:!0}},setup(c){const e=Y(!0),t=()=>{e.value=!1};return(l,o)=>(a1(),P1("div",hm,[h1(c1(rt),{spinning:e.value,size:"large"},{default:V1(()=>[_1("iframe",e2({class:"wh-full"},l.$attrs,{src:c.src,onLoad:t}),null,16,dm)]),_:1},8,["spinning"])]))}}),u6=(c,e)=>{const t=c.__vccOpts||c;for(const[l,o]of e)t[l]=o;return t},vm=u6(fm,[["__scopeId","data-v-b525c027"]]),pm="Admin";function mm(c){console.warn(`[${pm} warn]:${c}`)}const T7="dashboard",ym=[{path:"/dashboard",name:T7,redirect:"/dashboard/welcome",meta:{title:C1("routes.dashboard.dashboard"),icon:"ant-design:dashboard-outlined"},children:[{path:"welcome",name:`${T7}-welcome`,meta:{title:C1("routes.dashboard.workbench"),icon:"ant-design:home-filled"},component:()=>R(()=>import("./index-SXH19c2P.js"),__vite__mapDeps([17,1,2,3,18]))}]}],r1="demos",Mm=[{path:"/demos",name:r1,redirect:{name:`${r1}-custom-modal`},meta:{title:C1("routes.demo.demo"),icon:"ant-design:desktop-outlined"},children:[{path:"custom-modal",name:`${r1}-custom-modal`,meta:{title:C1("routes.demo.modal"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./custom-modal-DH3-QIZ5.js"),__vite__mapDeps([20,12,2,1,3,13,21,22,23,24]))},{path:"button",name:`${r1}-button`,meta:{title:C1("routes.demo.button"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./button-CVzQuWxY.js"),__vite__mapDeps([19,1,2,3]))},{path:"form",name:`${r1}-form`,meta:{title:C1("routes.demo.form.demo"),icon:"ant-design:desktop-outlined",keepAlive:!1},redirect:{name:`${r1}-form-basic`},children:[{path:"basic",name:`${r1}-form-basic`,meta:{title:C1("routes.demo.form.basic"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-DylgNAGx.js"),__vite__mapDeps([25,26,1,2,3,22,23,24,27,28,29,30,31]))},{path:"rule",name:`${r1}-form-rule`,meta:{title:C1("routes.demo.form.rule"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-CT-IClhL.js"),__vite__mapDeps([39,22,1,2,3,23,24,28,29,30,40]))},{path:"dynamic",name:`${r1}-form-dynamic`,meta:{title:C1("routes.demo.form.dynamic"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-ig6BKZp8.js"),__vite__mapDeps([35,22,1,2,3,23,24,28,29,30,36]))},{path:"useForm",name:`${r1}-form-use`,meta:{title:"useForm",icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-D49Spjyf.js"),__vite__mapDeps([41,22,1,2,3,23,24,27,28,29,30,42]))},{path:"custom-form",name:`${r1}-form-custom`,meta:{title:C1("routes.demo.form.customForm"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-K5eF8APY.js"),__vite__mapDeps([32,33,1,2,3,22,23,24,27,28,29,30]))},{path:"request-form",name:`${r1}-form-request`,meta:{title:"自定义请求表单",icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-Dn_kwytD.js"),__vite__mapDeps([37,26,1,2,3,22,23,24,27,28,29,30,38]))}]},{path:"table",name:`${r1}-table`,meta:{title:C1("routes.demo.table.demo"),icon:"ant-design:desktop-outlined",keepAlive:!1},redirect:{name:`${r1}-table-wzry`},children:[{path:"search-table",name:`${r1}-query-form`,meta:{title:C1("routes.demo.table.searchTable"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-DroZSV1I.js"),__vite__mapDeps([58,48,26,1,2,3,49,28,22,23,24,29,30,50]))},{path:"edit-row-table",name:`${r1}-edit-row-table`,meta:{title:C1("routes.demo.table.editRowTable"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-DoEHPGFM.js"),__vite__mapDeps([47,48,26,1,2,3,49,28,22,23,24,29,30,50]))},{path:"wzry",name:`${r1}-table-wzry`,meta:{title:C1("routes.demo.table.wzry"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-D6PxRZBm.js"),__vite__mapDeps([59,2,1,3,49,28,22,23,24,29,30,50,56,12,13,52]))},{path:"lol",name:`${r1}-table-lol`,meta:{title:C1("routes.demo.table.lol"),icon:"ant-design:desktop-outlined",keepAlive:!1},component:()=>R(()=>import("./index-ldKPINHH.js"),__vite__mapDeps([54,2,1,3,49,28,22,23,24,29,30,50,52,55,56,12,13,57,21]))},{path:"lol/:id",name:`${r1}-table-lol-info`,meta:{title:"英雄详情",icon:"ant-design:desktop-outlined",hideInMenu:!0,keepAlive:!1,activeMenu:`${r1}-table-lol`},component:()=>R(()=>import("./heroInfo-B8sR5UMx.js"),__vite__mapDeps([51,2,52,11,1,3,53]))}]},{path:"nested-routes",name:`${r1}-nested-routes`,redirect:{name:`${r1}-nested-routes-one`},meta:{title:"嵌套路由",icon:"ant-design:desktop-outlined",hideChildrenInMenu:!1,transitionName:!1,keepAlive:!0,hideProgressBar:!0},component:()=>R(()=>import("./index-B9vsgMem.js"),__vite__mapDeps([43,2,1,3])),children:[{path:"route-one",name:`${r1}-nested-routes-one`,meta:{title:"路由一",icon:"ant-design:desktop-outlined",hideInMenu:!1},component:()=>R(()=>import("./route-one-DuMuzcEA.js"),__vite__mapDeps([44,1,2,3]))},{path:"route-two",name:`${r1}-nested-routes-two`,meta:{title:"路由二",icon:"ant-design:desktop-outlined",hideInMenu:!1},component:()=>R(()=>import("./route-two-BeGKDvBB.js"),__vite__mapDeps([46,1,2,3]))},{path:"route-three",name:`${r1}-nested-routes-three`,meta:{title:"路由三",icon:"ant-design:desktop-outlined",hideInMenu:!1},component:()=>R(()=>import("./route-three-DgK4R5fZ.js"),__vite__mapDeps([45,1,2,3]))}]}]}],bm=[{path:"https://github.com/buqiyuan/nest-admin",name:"https://github.com/buqiyuan/nest-admin",component:lc,meta:{title:"后台代码仓库",icon:"ant-design:link-outlined",isExt:!0,extOpenMode:1}}],Cm="account",Hm=[{path:"/account",redirect:"/account/settings",meta:{title:"个人中心",hideInMenu:!0},children:[{path:"settings",name:`${Cm}-settings`,component:()=>R(()=>import("./settings-BsNpdNUg.js"),__vite__mapDeps([16,2,1,3])),meta:{title:C1("routes.account.settings"),hideInMenu:!0}}]}],gm=[...ym,...Mm,...bm,...Hm],H9=c=>(c.forEach(e=>{var n,i,s;e.meta||(e.meta={});const{show:t=1,type:l,isExt:o,extOpenMode:r}=e.meta,a=e.component;if((n=e.meta).hideInMenu??(n.hideInMenu=!t),l===0){if(e.component=null,(i=e.children)!=null&&i.length){const u=e.children.find(h=>{var p;return!((p=h.meta)!=null&&p.isExt)});u?e.redirect??(e.redirect=e6(`/${e.path}/${u.path}`)):Reflect.deleteProperty(e,"redirect")}}else l===1&&(o&&r===2?(e.component=h1(vm,{src:e.path},null),e.path=e.path.replace(new RegExp("://"),"/")):a&&(e.component=um[a],e.component||(e.component=()=>R(()=>import("./comp-not-found-D70RKVnQ.js"),__vite__mapDeps([60,1,2,3])),mm(`在src/views/下找不到 ${a}.vue 或 ${a}.tsx, 请自行创建!`))));(s=e.children)!=null&&s.length&&H9(e.children)}),c),Vm=c=>{const e=[...gm,...H9(c)],t=[...e,...C9];return g9(t),u0.children=t,l2.addRoute(u0),e},g9=(c,e=[])=>{c.forEach(t=>{var l,o,r;t.meta&&typeof t.name=="string"&&(t.meta.namePath=e.concat(t.name),(l=t.meta)!=null&&l.hideInMenu&&((o=t.meta).activeMenu||(o.activeMenu=e.at(-1))),(r=t.children)!=null&&r.length&&g9(t.children,t.meta.namePath))})},e4=t4("user",()=>{const c=Ye(),e=c6(),t=Y(),l=Y([]),o=Y([]),r=Y({}),a=(C=[])=>C.filter(H=>{var M,d;const m=!((M=H.meta)!=null&&M.hideInMenu);return m&&((d=H.children)!=null&&d.length)&&(H.children=a(H.children)),m}).sort((H,m)=>{var M,d;return~~Number((M=H.meta)==null?void 0:M.orderNo)-~~Number((d=m.meta)==null?void 0:d.orderNo)}),n=()=>{t.value="",l.value=[],o.value=[],r.value={},nm(),setTimeout(()=>{localStorage.clear()})},i=C=>{t.value=C},s=async C=>{try{const H=await U4.auth.authLogin(C);i(H.token),await u(),e.setLock(!1),e.saveLoginPwd(C.password)}catch(H){return Promise.reject(H)}},u=async()=>{try{const{accountProfile:C}=U4.account,H=await C();r.value=H,await h(),c.initServerMsgListener()}catch(C){return Promise.reject(C)}},h=async()=>{const{accountPermissions:C,accountMenu:H}=U4.account,[m,M]=await Promise.all([H(),C()]);l.value=M;const d=Vm(m);o.value=a(d)};return{token:t,perms:l,menus:o,userInfo:r,login:s,afterLogin:u,logout:async()=>{await U4.account.accountLogout(),c.closeEventSource(),n()},clearLoginStatus:n,fetchPermsAndMenus:h}},{persist:{paths:["token"]}}),b4=/^[a-z0-9]+(-[a-z0-9]+)*$/,q3=(c,e,t,l="")=>{const o=c.split(":");if(c.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;l=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const n=o.pop(),i=o.pop(),s={provider:o.length>0?o[0]:l,prefix:i,name:n};return e&&!o3(s)?null:s}const r=o[0],a=r.split("-");if(a.length>1){const n={provider:l,prefix:a.shift(),name:a.join("-")};return e&&!o3(n)?null:n}if(t&&l===""){const n={provider:l,prefix:"",name:r};return e&&!o3(n,t)?null:n}return null},o3=(c,e)=>c?!!((c.provider===""||c.provider.match(b4))&&(e&&c.prefix===""||c.prefix.match(b4))&&c.name.match(b4)):!1,V9=Object.freeze({left:0,top:0,width:16,height:16}),V3=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),j3=Object.freeze({...V9,...V3}),h0=Object.freeze({...j3,body:"",hidden:!1});function Lm(c,e){const t={};!c.hFlip!=!e.hFlip&&(t.hFlip=!0),!c.vFlip!=!e.vFlip&&(t.vFlip=!0);const l=((c.rotate||0)+(e.rotate||0))%4;return l&&(t.rotate=l),t}function k7(c,e){const t=Lm(c,e);for(const l in h0)l in V3?l in c&&!(l in t)&&(t[l]=V3[l]):l in e?t[l]=e[l]:l in c&&(t[l]=c[l]);return t}function zm(c,e){const t=c.icons,l=c.aliases||Object.create(null),o=Object.create(null);function r(a){if(t[a])return o[a]=[];if(!(a in o)){o[a]=null;const n=l[a]&&l[a].parent,i=n&&r(n);i&&(o[a]=[n].concat(i))}return o[a]}return(e||Object.keys(t).concat(Object.keys(l))).forEach(r),o}function _m(c,e,t){const l=c.icons,o=c.aliases||Object.create(null);let r={};function a(n){r=k7(l[n]||o[n],r)}return a(e),t.forEach(a),k7(c,r)}function L9(c,e){const t=[];if(typeof c!="object"||typeof c.icons!="object")return t;c.not_found instanceof Array&&c.not_found.forEach(o=>{e(o,null),t.push(o)});const l=zm(c);for(const o in l){const r=l[o];r&&(e(o,_m(c,o,r)),t.push(o))}return t}const wm={provider:"",aliases:{},not_found:{},...V9};function E8(c,e){for(const t in e)if(t in c&&typeof c[t]!=typeof e[t])return!1;return!0}function z9(c){if(typeof c!="object"||c===null)return null;const e=c;if(typeof e.prefix!="string"||!c.icons||typeof c.icons!="object"||!E8(c,wm))return null;const t=e.icons;for(const o in t){const r=t[o];if(!o.match(b4)||typeof r.body!="string"||!E8(r,h0))return null}const l=e.aliases||Object.create(null);for(const o in l){const r=l[o],a=r.parent;if(!o.match(b4)||typeof a!="string"||!t[a]&&!l[a]||!E8(r,h0))return null}return e}const O7=Object.create(null);function Em(c,e){return{provider:c,prefix:e,icons:Object.create(null),missing:new Set}}function E2(c,e){const t=O7[c]||(O7[c]=Object.create(null));return t[e]||(t[e]=Em(c,e))}function h6(c,e){return z9(e)?L9(e,(t,l)=>{l?c.icons[t]=l:c.missing.add(t)}):[]}function Sm(c,e,t){try{if(typeof t.body=="string")return c.icons[e]={...t},!0}catch{}return!1}let z4=!1;function _9(c){return typeof c=="boolean"&&(z4=c),z4}function Am(c){const e=typeof c=="string"?q3(c,!0,z4):c;if(e){const t=E2(e.provider,e.prefix),l=e.name;return t.icons[l]||(t.missing.has(l)?null:void 0)}}function Tm(c,e){const t=q3(c,!0,z4);if(!t)return!1;const l=E2(t.provider,t.prefix);return Sm(l,t.name,e)}function w9(c,e){if(typeof c!="object")return!1;if(typeof e!="string"&&(e=c.provider||""),z4&&!e&&!c.prefix){let o=!1;return z9(c)&&(c.prefix="",L9(c,(r,a)=>{a&&Tm(r,a)&&(o=!0)})),o}const t=c.prefix;if(!o3({provider:e,prefix:t,name:"a"}))return!1;const l=E2(e,t);return!!h6(l,c)}const E9=Object.freeze({width:null,height:null}),S9=Object.freeze({...E9,...V3}),km=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Om=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function I7(c,e,t){if(e===1)return c;if(t=t||100,typeof c=="number")return Math.ceil(c*e*t)/t;if(typeof c!="string")return c;const l=c.split(km);if(l===null||!l.length)return c;const o=[];let r=l.shift(),a=Om.test(r);for(;;){if(a){const n=parseFloat(r);isNaN(n)?o.push(r):o.push(Math.ceil(n*e*t)/t)}else o.push(r);if(r=l.shift(),r===void 0)return o.join("");a=!a}}const Im=c=>c==="unset"||c==="undefined"||c==="none";function Pm(c,e){const t={...j3,...c},l={...S9,...e},o={left:t.left,top:t.top,width:t.width,height:t.height};let r=t.body;[t,l].forEach(H=>{const m=[],M=H.hFlip,d=H.vFlip;let f=H.rotate;M?d?f+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):d&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let g;switch(f<0&&(f-=Math.floor(f/4)*4),f=f%4,f){case 1:g=o.height/2+o.top,m.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,m.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}f%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),m.length&&(r=''+r+"")});const a=l.width,n=l.height,i=o.width,s=o.height;let u,h;a===null?(h=n===null?"1em":n==="auto"?s:n,u=I7(h,i/s)):(u=a==="auto"?i:a,h=n===null?I7(u,s/i):n==="auto"?s:n);const p={},C=(H,m)=>{Im(m)||(p[H]=m.toString())};return C("width",u),C("height",h),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+i.toString()+" "+s.toString(),{attributes:p,body:r}}const Rm=/\sid="(\S+)"/g,Nm="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let $m=0;function xm(c,e=Nm){const t=[];let l;for(;l=Rm.exec(c);)t.push(l[1]);if(!t.length)return c;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(r=>{const a=typeof e=="function"?e(r):e+($m++).toString(),n=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");c=c.replace(new RegExp('([#;"])('+n+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),c=c.replace(new RegExp(o,"g"),""),c}const d0=Object.create(null);function Dm(c,e){d0[c]=e}function f0(c){return d0[c]||d0[""]}function d6(c){let e;if(typeof c.resources=="string")e=[c.resources];else if(e=c.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:c.path||"/",maxURL:c.maxURL||500,rotate:c.rotate||750,timeout:c.timeout||5e3,random:c.random===!0,index:c.index||0,dataAfterTimeout:c.dataAfterTimeout!==!1}}const f6=Object.create(null),m4=["https://api.simplesvg.com","https://api.unisvg.com"],a3=[];for(;m4.length>0;)m4.length===1||Math.random()>.5?a3.push(m4.shift()):a3.push(m4.pop());f6[""]=d6({resources:["https://api.iconify.design"].concat(a3)});function Fm(c,e){const t=d6(e);return t===null?!1:(f6[c]=t,!0)}function v6(c){return f6[c]}const qm=()=>{let c;try{if(c=fetch,typeof c=="function")return c}catch{}};let P7=qm();function jm(c,e){const t=v6(c);if(!t)return 0;let l;if(!t.maxURL)l=0;else{let o=0;t.resources.forEach(a=>{o=Math.max(o,a.length)});const r=e+".json?icons=";l=t.maxURL-o-t.path.length-r.length}return l}function Bm(c){return c===404}const Um=(c,e,t)=>{const l=[],o=jm(c,e),r="icons";let a={type:r,provider:c,prefix:e,icons:[]},n=0;return t.forEach((i,s)=>{n+=i.length+1,n>=o&&s>0&&(l.push(a),a={type:r,provider:c,prefix:e,icons:[]},n=i.length),a.icons.push(i)}),l.push(a),l};function Gm(c){if(typeof c=="string"){const e=v6(c);if(e)return e.path}return"/"}const Wm=(c,e,t)=>{if(!P7){t("abort",424);return}let l=Gm(e.provider);switch(e.type){case"icons":{const r=e.prefix,n=e.icons.join(","),i=new URLSearchParams({icons:n});l+=r+".json?"+i.toString();break}case"custom":{const r=e.uri;l+=r.slice(0,1)==="/"?r.slice(1):r;break}default:t("abort",400);return}let o=503;P7(c+l).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{t(Bm(a)?"abort":"next",a)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?t("abort",r):t("next",o)});return}setTimeout(()=>{t("success",r)})}).catch(()=>{t("next",o)})},Km={prepare:Um,send:Wm};function Ym(c){const e={loaded:[],missing:[],pending:[]},t=Object.create(null);c.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let l={provider:"",prefix:"",name:""};return c.forEach(o=>{if(l.name===o.name&&l.prefix===o.prefix&&l.provider===o.provider)return;l=o;const r=o.provider,a=o.prefix,n=o.name,i=t[r]||(t[r]=Object.create(null)),s=i[a]||(i[a]=E2(r,a));let u;n in s.icons?u=e.loaded:a===""||s.missing.has(n)?u=e.missing:u=e.pending;const h={provider:r,prefix:a,name:n};u.push(h)}),e}function A9(c,e){c.forEach(t=>{const l=t.loaderCallbacks;l&&(t.loaderCallbacks=l.filter(o=>o.id!==e))})}function Xm(c){c.pendingCallbacksFlag||(c.pendingCallbacksFlag=!0,setTimeout(()=>{c.pendingCallbacksFlag=!1;const e=c.loaderCallbacks?c.loaderCallbacks.slice(0):[];if(!e.length)return;let t=!1;const l=c.provider,o=c.prefix;e.forEach(r=>{const a=r.icons,n=a.pending.length;a.pending=a.pending.filter(i=>{if(i.prefix!==o)return!0;const s=i.name;if(c.icons[s])a.loaded.push({provider:l,prefix:o,name:s});else if(c.missing.has(s))a.missing.push({provider:l,prefix:o,name:s});else return t=!0,!0;return!1}),a.pending.length!==n&&(t||A9([c],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let Jm=0;function Qm(c,e,t){const l=Jm++,o=A9.bind(null,t,l);if(!e.pending.length)return o;const r={id:l,icons:e,callback:c,abort:o};return t.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),o}function Zm(c,e=!0,t=!1){const l=[];return c.forEach(o=>{const r=typeof o=="string"?q3(o,e,t):o;r&&l.push(r)}),l}var cy={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ey(c,e,t,l){const o=c.resources.length,r=c.random?Math.floor(Math.random()*o):c.index;let a;if(c.random){let V=c.resources.slice(0);for(a=[];V.length>1;){const _=Math.floor(Math.random()*V.length);a.push(V[_]),V=V.slice(0,_).concat(V.slice(_+1))}a=a.concat(V)}else a=c.resources.slice(r).concat(c.resources.slice(0,r));const n=Date.now();let i="pending",s=0,u,h=null,p=[],C=[];typeof l=="function"&&C.push(l);function H(){h&&(clearTimeout(h),h=null)}function m(){i==="pending"&&(i="aborted"),H(),p.forEach(V=>{V.status==="pending"&&(V.status="aborted")}),p=[]}function M(V,_){_&&(C=[]),typeof V=="function"&&C.push(V)}function d(){return{startTime:n,payload:e,status:i,queriesSent:s,queriesPending:p.length,subscribe:M,abort:m}}function f(){i="failed",C.forEach(V=>{V(void 0,u)})}function g(){p.forEach(V=>{V.status==="pending"&&(V.status="aborted")}),p=[]}function y(V,_,$){const w=_!=="success";switch(p=p.filter(N=>N!==V),i){case"pending":break;case"failed":if(w||!c.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=$,f();return}if(w){u=$,p.length||(a.length?z():f());return}if(H(),g(),!c.random){const N=c.resources.indexOf(V.resource);N!==-1&&N!==c.index&&(c.index=N)}i="completed",C.forEach(N=>{N($)})}function z(){if(i!=="pending")return;H();const V=a.shift();if(V===void 0){if(p.length){h=setTimeout(()=>{H(),i==="pending"&&(g(),f())},c.timeout);return}f();return}const _={status:"pending",resource:V,callback:($,w)=>{y(_,$,w)}};p.push(_),s++,h=setTimeout(z,c.rotate),t(V,e,_.callback)}return setTimeout(z),d}function T9(c){const e={...cy,...c};let t=[];function l(){t=t.filter(n=>n().status==="pending")}function o(n,i,s){const u=ey(e,n,i,(h,p)=>{l(),s&&s(h,p)});return t.push(u),u}function r(n){return t.find(i=>n(i))||null}return{query:o,find:r,setIndex:n=>{e.index=n},getIndex:()=>e.index,cleanup:l}}function R7(){}const S8=Object.create(null);function ty(c){if(!S8[c]){const e=v6(c);if(!e)return;const t=T9(e),l={config:e,redundancy:t};S8[c]=l}return S8[c]}function ly(c,e,t){let l,o;if(typeof c=="string"){const r=f0(c);if(!r)return t(void 0,424),R7;o=r.send;const a=ty(c);a&&(l=a.redundancy)}else{const r=d6(c);if(r){l=T9(r);const a=c.resources?c.resources[0]:"",n=f0(a);n&&(o=n.send)}}return!l||!o?(t(void 0,424),R7):l.query(e,o,t)().abort}const N7="iconify2",_4="iconify",k9=_4+"-count",$7=_4+"-version",O9=36e5,ry=168;function v0(c,e){try{return c.getItem(e)}catch{}}function p6(c,e,t){try{return c.setItem(e,t),!0}catch{}}function x7(c,e){try{c.removeItem(e)}catch{}}function p0(c,e){return p6(c,k9,e.toString())}function m0(c){return parseInt(v0(c,k9))||0}const B3={local:!0,session:!0},I9={local:new Set,session:new Set};let m6=!1;function oy(c){m6=c}let K4=typeof window>"u"?{}:window;function P9(c){const e=c+"Storage";try{if(K4&&K4[e]&&typeof K4[e].length=="number")return K4[e]}catch{}B3[c]=!1}function R9(c,e){const t=P9(c);if(!t)return;const l=v0(t,$7);if(l!==N7){if(l){const n=m0(t);for(let i=0;i{const i=_4+n.toString(),s=v0(t,i);if(typeof s=="string"){try{const u=JSON.parse(s);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&e(u,n))return!0}catch{}x7(t,i)}};let a=m0(t);for(let n=a-1;n>=0;n--)r(n)||(n===a-1?(a--,p0(t,a)):I9[c].add(n))}function N9(){if(!m6){oy(!0);for(const c in B3)R9(c,e=>{const t=e.data,l=e.provider,o=t.prefix,r=E2(l,o);if(!h6(r,t).length)return!1;const a=t.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,a):a,!0})}}function ay(c,e){const t=c.lastModifiedCached;if(t&&t>=e)return t===e;if(c.lastModifiedCached=e,t)for(const l in B3)R9(l,o=>{const r=o.data;return o.provider!==c.provider||r.prefix!==c.prefix||r.lastModified===e});return!0}function ny(c,e){m6||N9();function t(l){let o;if(!B3[l]||!(o=P9(l)))return;const r=I9[l];let a;if(r.size)r.delete(a=Array.from(r).shift());else if(a=m0(o),!p0(o,a+1))return;const n={cached:Math.floor(Date.now()/O9),provider:c.provider,data:e};return p6(o,_4+a.toString(),JSON.stringify(n))}e.lastModified&&!ay(c,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),t("local")||t("session"))}function D7(){}function iy(c){c.iconsLoaderFlag||(c.iconsLoaderFlag=!0,setTimeout(()=>{c.iconsLoaderFlag=!1,Xm(c)}))}function sy(c,e){c.iconsToLoad?c.iconsToLoad=c.iconsToLoad.concat(e).sort():c.iconsToLoad=e,c.iconsQueueFlag||(c.iconsQueueFlag=!0,setTimeout(()=>{c.iconsQueueFlag=!1;const{provider:t,prefix:l}=c,o=c.iconsToLoad;delete c.iconsToLoad;let r;if(!o||!(r=f0(t)))return;r.prepare(t,l,o).forEach(n=>{ly(t,n,i=>{if(typeof i!="object")n.icons.forEach(s=>{c.missing.add(s)});else try{const s=h6(c,i);if(!s.length)return;const u=c.pendingIcons;u&&s.forEach(h=>{u.delete(h)}),ny(c,i)}catch(s){console.error(s)}iy(c)})})}))}const uy=(c,e)=>{const t=Zm(c,!0,_9()),l=Ym(t);if(!l.pending.length){let i=!0;return e&&setTimeout(()=>{i&&e(l.loaded,l.missing,l.pending,D7)}),()=>{i=!1}}const o=Object.create(null),r=[];let a,n;return l.pending.forEach(i=>{const{provider:s,prefix:u}=i;if(u===n&&s===a)return;a=s,n=u,r.push(E2(s,u));const h=o[s]||(o[s]=Object.create(null));h[u]||(h[u]=[])}),l.pending.forEach(i=>{const{provider:s,prefix:u,name:h}=i,p=E2(s,u),C=p.pendingIcons||(p.pendingIcons=new Set);C.has(h)||(C.add(h),o[s][u].push(h))}),r.forEach(i=>{const{provider:s,prefix:u}=i;o[s][u].length&&sy(i,o[s][u])}),e?Qm(e,l,r):D7};function hy(c,e){const t={...c};for(const l in e){const o=e[l],r=typeof o;l in E9?(o===null||o&&(r==="string"||r==="number"))&&(t[l]=o):r===typeof t[l]&&(t[l]=l==="rotate"?o%4:o)}return t}const dy=/[\s,]+/;function fy(c,e){e.split(dy).forEach(t=>{switch(t.trim()){case"horizontal":c.hFlip=!0;break;case"vertical":c.vFlip=!0;break}})}function vy(c,e=0){const t=c.replace(/^-?[0-9.]*/,"");function l(o){for(;o<0;)o+=4;return o%4}if(t===""){const o=parseInt(c);return isNaN(o)?0:l(o)}else if(t!==c){let o=0;switch(t){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(c.slice(0,c.length-t.length));return isNaN(r)?0:(r=r/o,r%1===0?l(r):0)}}return e}function py(c,e){let t=c.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const l in e)t+=" "+l+'="'+e[l]+'"';return'"+c+""}function my(c){return c.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function yy(c){return"data:image/svg+xml,"+my(c)}function My(c){return'url("'+yy(c)+'")'}const F7={...S9,inline:!1},by={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cy={display:"inline-block"},y0={backgroundColor:"currentColor"},$9={backgroundColor:"transparent"},q7={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},j7={webkitMask:y0,mask:y0,background:$9};for(const c in j7){const e=j7[c];for(const t in q7)e[c+t]=q7[t]}const n3={};["horizontal","vertical"].forEach(c=>{const e=c.slice(0,1)+"Flip";n3[c+"-flip"]=e,n3[c.slice(0,1)+"-flip"]=e,n3[c+"Flip"]=e});function B7(c){return c+(c.match(/^[-0-9.]+$/)?"px":"")}const U7=(c,e)=>{const t=hy(F7,e),l={...by},o=e.mode||"svg",r={},a=e.style,n=typeof a=="object"&&!(a instanceof Array)?a:{};for(let m in e){const M=e[m];if(M!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":t[m]=M===!0||M==="true"||M===1;break;case"flip":typeof M=="string"&&fy(t,M);break;case"color":r.color=M;break;case"rotate":typeof M=="string"?t[m]=vy(M):typeof M=="number"&&(t[m]=M);break;case"ariaHidden":case"aria-hidden":M!==!0&&M!=="true"&&delete l["aria-hidden"];break;default:{const d=n3[m];d?(M===!0||M==="true"||M===1)&&(t[d]=!0):F7[m]===void 0&&(l[m]=M)}}}const i=Pm(c,t),s=i.attributes;if(t.inline&&(r.verticalAlign="-0.125em"),o==="svg"){l.style={...r,...n},Object.assign(l,s);let m=0,M=e.id;return typeof M=="string"&&(M=M.replace(/-/g,"_")),l.innerHTML=xm(i.body,M?()=>M+"ID"+m++:"iconifyVue"),d3("svg",l)}const{body:u,width:h,height:p}=c,C=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),H=py(u,{...s,width:h+"",height:p+""});return l.style={...r,"--svg":My(H),width:B7(s.width),height:B7(s.height),...Cy,...C?y0:$9,...n},d3("span",l)};_9(!0);Dm("",Km);if(typeof document<"u"&&typeof window<"u"){N9();const c=window;if(c.IconifyPreload!==void 0){const e=c.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(l=>{try{(typeof l!="object"||l===null||l instanceof Array||typeof l.icons!="object"||typeof l.prefix!="string"||!w9(l))&&console.error(t)}catch{console.error(t)}})}if(c.IconifyProviders!==void 0){const e=c.IconifyProviders;if(typeof e=="object"&&e!==null)for(let t in e){const l="IconifyProviders["+t+"] is invalid.";try{const o=e[t];if(typeof o!="object"||!o||o.resources===void 0)continue;Fm(t,o)||console.error(l)}catch{console.error(l)}}}}const Hy={...j3,body:""},gy=S1({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(c,e){if(typeof c=="object"&&c!==null&&typeof c.body=="string")return this._name="",this.abortLoading(),{data:c};let t;if(typeof c!="string"||(t=q3(c,!1,!0))===null)return this.abortLoading(),null;const l=Am(t);if(!l)return(!this._loadingIcon||this._loadingIcon.name!==c)&&(this.abortLoading(),this._name="",l!==null&&(this._loadingIcon={name:c,abort:uy([t],()=>{this.counter++})})),null;this.abortLoading(),this._name!==c&&(this._name=c,e&&e(c));const o=["iconify"];return t.prefix!==""&&o.push("iconify--"+t.prefix),t.provider!==""&&o.push("iconify--"+t.provider),{data:l,classes:o}}},render(){this.counter;const c=this.$attrs,e=this.iconMounted?this.getIcon(c.icon,c.onLoad):null;if(!e)return U7(Hy,c);let t=c;return e.classes&&(t={...c,class:(typeof c.class=="string"?c.class+" ":"")+e.classes.join(" ")}),U7({...j3,...e.data},t)}});function Vy(){var c=window.navigator.userAgent,e=c.indexOf("MSIE ");if(e>0)return parseInt(c.substring(e+5,c.indexOf(".",e)),10);var t=c.indexOf("Trident/");if(t>0){var l=c.indexOf("rv:");return parseInt(c.substring(l+3,c.indexOf(".",l)),10)}var o=c.indexOf("Edge/");return o>0?parseInt(c.substring(o+5,c.indexOf(".",o)),10):-1}let i3;function M0(){M0.init||(M0.init=!0,i3=Vy()!==-1)}var U3={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){M0(),L3(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const c=document.createElement("object");this._resizeObject=c,c.setAttribute("aria-hidden","true"),c.setAttribute("tabindex",-1),c.onload=this.addResizeHandlers,c.type="text/html",i3&&this.$el.appendChild(c),c.data="about:blank",i3||this.$el.appendChild(c)},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&&(!i3&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ly=gt();rc("data-v-b329ee4c");const zy={class:"resize-observer",tabindex:"-1"};oc();const _y=Ly((c,e,t,l,o,r)=>(a1(),E1("div",zy)));U3.render=_y;U3.__scopeId="data-v-b329ee4c";U3.__file="src/components/ResizeObserver.vue";function s3(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s3=function(e){return typeof e}:s3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s3(c)}function wy(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function G7(c,e){for(var t=0;tc.length)&&(e=c.length);for(var t=0,l=new Array(e);t2&&arguments[2]!==void 0?arguments[2]:{},l,o,r,a=function(i){for(var s=arguments.length,u=new Array(s>1?s-1:0),h=1;h1){var s=n.find(function(h){return h.isIntersecting});s&&(i=s)}if(o.callback){var u=i.isIntersecting&&i.intersectionRatio>=o.threshold;if(u===o.oldResult)return;o.oldResult=u,o.callback(u,i)}},this.options.intersection),L3(function(){o.observer&&o.observer.observe(o.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),c}();function D9(c,e,t){var l=e.value;if(l)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var o=new Py(c,l,t);c._vue_visibilityState=o}}function Ry(c,e,t){var l=e.value,o=e.oldValue;if(!x9(l,o)){var r=c._vue_visibilityState;if(!l){F9(c);return}r?r.createObserver(l,t):D9(c,{value:l},t)}}function F9(c){var e=c._vue_visibilityState;e&&(e.destroyObserver(),delete c._vue_visibilityState)}var Ny={beforeMount:D9,updated:Ry,unmounted:F9},$y={itemsLimit:1e3},xy=/(auto|scroll)/;function q9(c,e){return c.parentNode===null?e:q9(c.parentNode,e.concat([c]))}var A8=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},Dy=function(e){return A8(e,"overflow")+A8(e,"overflow-y")+A8(e,"overflow-x")},Fy=function(e){return xy.test(Dy(e))};function K7(c){if(c instanceof HTMLElement||c instanceof SVGElement){for(var e=q9(c.parentNode,[]),t=0;t{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const c=this.$_lastUpdateScrollPosition;typeof c=="number"&&this.$nextTick(()=>{this.scrollToPosition(c)})},beforeUnmount(){this.removeListeners()},methods:{addView(c,e,t,l,o){const r=Vt({id:Uy++,index:e,used:!0,key:l,type:o}),a=Lt({item:t,position:0,nr:r});return c.push(a),a},unuseView(c,e=!1){const t=this.$_unusedViews,l=c.nr.type;let o=t.get(l);o||(o=[],t.set(l,o)),o.push(c),e||(c.nr.used=!1,c.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(c){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const e=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:t}=this.updateVisibleItems(!1,!0);t||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});e(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&e()},this.updateInterval))}},handleVisibilityChange(c,e){this.ready&&(c||e.boundingClientRect.width!==0||e.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(c,e=!1){const t=this.itemSize,l=this.gridItems||1,o=this.itemSecondarySize||t,r=this.$_computedMinItemSize,a=this.typeField,n=this.simpleArray?null:this.keyField,i=this.items,s=i.length,u=this.sizes,h=this.$_views,p=this.$_unusedViews,C=this.pool,H=this.itemIndexByKey;let m,M,d,f,g;if(!s)m=M=f=g=d=0;else if(this.$_prerender)m=f=0,M=g=Math.min(this.prerender,i.length),d=null;else{const N=this.getScroll();if(e){let K=N.start-this.$_lastUpdateScrollPosition;if(K<0&&(K=-K),t===null&&KN.start&&(n1=Q),Q=~~((s1+n1)/2);while(Q!==y1);for(Q<0&&(Q=0),m=Q,d=u[s-1].accumulator,M=Q;Ms&&(M=s)),f=m;fs&&(M=s),f<0&&(f=0),g>s&&(g=s),d=Math.ceil(s/l)*t}}M-m>$y.itemsLimit&&this.itemsLimitError(),this.totalSize=d;let y;const z=m<=this.$_endIndex&&M>=this.$_startIndex;if(z)for(let N=0,U=C.length;N=M)&&this.unuseView(y));const V=z?null:new Map;let _,$,w;for(let N=m;N=F.length)&&(y=this.addView(C,N,_,U,$),this.unuseView(y,!0),F=p.get($)),y=F[w],V.set($,w+1)),h.delete(y.nr.key),y.nr.used=!0,y.nr.index=N,y.nr.key=U,y.nr.type=$,h.set(U,y),K=!0;else if(!y.nr.used&&(y.nr.used=!0,K=!0,F)){const s1=F.indexOf(y);s1!==-1&&F.splice(s1,1)}y.item=_,K&&(N===i.length-1&&this.$emit("scroll-end"),N===0&&this.$emit("scroll-start")),t===null?(y.position=u[N-1].accumulator,y.offset=0):(y.position=Math.floor(N/l)*t,y.offset=N%l*o)}return this.$_startIndex=m,this.$_endIndex=M,this.emitUpdate&&this.$emit("update",m,M,f,g),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:z}},getListenerTarget(){let c=K7(this.$el);return window.document&&(c===window.document.documentElement||c===window.document.body)&&(c=window),c},getScroll(){const{$el:c,direction:e}=this,t=e==="vertical";let l;if(this.pageMode){const o=c.getBoundingClientRect(),r=t?o.height:o.width;let a=-(t?o.top:o.left),n=t?window.innerHeight:window.innerWidth;a<0&&(n+=a,a=0),a+n>r&&(n=r-a),l={start:a,end:a+n}}else t?l={start:c.scrollTop,end:c.scrollTop+c.clientHeight}:l={start:c.scrollLeft,end:c.scrollLeft+c.clientWidth};return l},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,H0?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(c){let e;const t=this.gridItems||1;this.itemSize===null?e=c>0?this.sizes[c-1].accumulator:0:e=Math.floor(c/t)*this.itemSize,this.scrollToPosition(e)},scrollToPosition(c){const e=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let t,l,o;if(this.pageMode){const r=K7(this.$el),a=r.tagName==="HTML"?0:r[e.scroll],n=r.getBoundingClientRect(),s=this.$el.getBoundingClientRect()[e.start]-n[e.start];t=r,l=e.scroll,o=c+a+s}else t=this.$el,l=e.scroll,o=c;t[l]=o},itemsLimitError(){throw setTimeout(()=>{this.$el}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((c,e)=>c.nr.index-e.nr.index)}}};const Gy={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Wy={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ky(c,e,t,l,o,r){const a=L0("ResizeObserver"),n=zt("observe-visibility");return _t((a1(),P1("div",{class:v3(["vue-recycle-scroller",{ready:o.ready,"page-mode":t.pageMode,[`direction-${c.direction}`]:!0}]),onScrollPassive:e[0]||(e[0]=(...i)=>r.handleScroll&&r.handleScroll(...i))},[c.$slots.before?(a1(),P1("div",Gy,[D2(c.$slots,"before")],512)):k8("v-if",!0),(a1(),E1(f3(t.listTag),{ref:"wrapper",style:Et({[c.direction==="vertical"?"minHeight":"minWidth"]:o.totalSize+"px"}),class:v3(["vue-recycle-scroller__item-wrapper",t.listClass])},{default:V1(()=>[(a1(!0),P1(U2,null,ac(o.pool,i=>(a1(),E1(f3(t.itemTag),e2({key:i.nr.id,style:o.ready?{transform:`translate${c.direction==="vertical"?"Y":"X"}(${i.position}px) translate${c.direction==="vertical"?"X":"Y"}(${i.offset}px)`,width:t.gridItems?`${c.direction==="vertical"&&t.itemSecondarySize||t.itemSize}px`:void 0,height:t.gridItems?`${c.direction==="horizontal"&&t.itemSecondarySize||t.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[t.itemClass,{hover:!t.skipHover&&o.hoverKey===i.nr.key}]]},wt(t.skipHover?{}:{mouseenter:()=>{o.hoverKey=i.nr.key},mouseleave:()=>{o.hoverKey=null}})),{default:V1(()=>[D2(c.$slots,"default",{item:i.item,index:i.nr.index,active:i.nr.used})]),_:2},1040,["style","class"]))),128)),D2(c.$slots,"empty")]),_:3},8,["style","class"])),c.$slots.after?(a1(),P1("div",Wy,[D2(c.$slots,"after")],512)):k8("v-if",!0),h1(a,{onNotify:r.handleResize},null,8,["onNotify"])],34)),[[n,r.handleVisibilityChange]])}j9.render=Ky;j9.__file="src/components/RecycleScroller.vue";const Yy="ep",Xy={"add-location":{body:''},aim:{body:''},"alarm-clock":{body:''},apple:{body:''},"arrow-down":{body:''},"arrow-down-bold":{body:''},"arrow-left":{body:''},"arrow-left-bold":{body:''},"arrow-right":{body:''},"arrow-right-bold":{body:''},"arrow-up":{body:''},"arrow-up-bold":{body:''},avatar:{body:''},back:{body:''},baseball:{body:''},basketball:{body:''},bell:{body:''},"bell-filled":{body:''},bicycle:{body:''},bottom:{body:''},"bottom-left":{body:''},"bottom-right":{body:''},bowl:{body:''},box:{body:''},briefcase:{body:''},brush:{body:''},"brush-filled":{body:''},burger:{body:''},calendar:{body:''},camera:{body:''},"camera-filled":{body:''},"caret-bottom":{body:''},"caret-left":{body:''},"caret-right":{body:''},"caret-top":{body:''},cellphone:{body:''},"chat-dot-round":{body:''},"chat-dot-square":{body:''},"chat-line-round":{body:''},"chat-line-square":{body:''},"chat-round":{body:''},"chat-square":{body:''},check:{body:''},checked:{body:''},cherry:{body:''},chicken:{body:''},"chrome-filled":{body:''},"circle-check":{body:''},"circle-check-filled":{body:''},"circle-close":{body:''},"circle-close-filled":{body:''},"circle-plus":{body:''},"circle-plus-filled":{body:''},clock:{body:''},close:{body:''},"close-bold":{body:''},cloudy:{body:''},coffee:{body:''},"coffee-cup":{body:''},coin:{body:''},"cold-drink":{body:''},collection:{body:''},"collection-tag":{body:''},comment:{body:''},compass:{body:''},connection:{body:''},coordinate:{body:''},"copy-document":{body:''},cpu:{body:''},"credit-card":{body:''},crop:{body:''},"d-arrow-left":{body:''},"d-arrow-right":{body:''},"d-caret":{body:''},"data-analysis":{body:''},"data-board":{body:''},"data-line":{body:''},delete:{body:''},"delete-filled":{body:''},"delete-location":{body:''},dessert:{body:''},discount:{body:''},dish:{body:''},"dish-dot":{body:''},document:{body:''},"document-add":{body:''},"document-checked":{body:''},"document-copy":{body:''},"document-delete":{body:''},"document-remove":{body:''},download:{body:''},drizzling:{body:''},edit:{body:''},"edit-pen":{body:''},eleme:{body:''},"eleme-filled":{body:''},"element-plus":{body:''},expand:{body:''},failed:{body:''},female:{body:''},files:{body:''},film:{body:''},filter:{body:''},finished:{body:''},"first-aid-kit":{body:''},flag:{body:''},fold:{body:''},folder:{body:''},"folder-add":{body:''},"folder-checked":{body:''},"folder-delete":{body:''},"folder-opened":{body:''},"folder-remove":{body:''},food:{body:''},football:{body:''},"fork-spoon":{body:''},fries:{body:''},"full-screen":{body:''},goblet:{body:''},"goblet-full":{body:''},"goblet-square":{body:''},"goblet-square-full":{body:''},"gold-medal":{body:''},goods:{body:''},"goods-filled":{body:''},grape:{body:''},grid:{body:''},guide:{body:''},handbag:{body:''},headset:{body:''},help:{body:''},"help-filled":{body:''},hide:{body:''},histogram:{body:''},"home-filled":{body:''},"hot-water":{body:''},house:{body:''},"ice-cream":{body:''},"ice-cream-round":{body:''},"ice-cream-square":{body:''},"ice-drink":{body:''},"ice-tea":{body:''},"info-filled":{body:''},iphone:{body:''},key:{body:''},"knife-fork":{body:''},lightning:{body:''},link:{body:''},list:{body:''},loading:{body:''},location:{body:''},"location-filled":{body:''},"location-information":{body:''},lock:{body:''},lollipop:{body:''},"magic-stick":{body:''},magnet:{body:''},male:{body:''},management:{body:''},"map-location":{body:''},medal:{body:''},memo:{body:''},menu:{body:''},message:{body:''},"message-box":{body:''},mic:{body:''},microphone:{body:''},"milk-tea":{body:''},minus:{body:''},money:{body:''},monitor:{body:''},moon:{body:''},"moon-night":{body:''},more:{body:''},"more-filled":{body:''},"mostly-cloudy":{body:''},mouse:{body:''},mug:{body:''},mute:{body:''},"mute-notification":{body:''},"no-smoking":{body:''},notebook:{body:''},notification:{body:''},odometer:{body:''},"office-building":{body:''},open:{body:''},operation:{body:''},opportunity:{body:''},orange:{body:''},paperclip:{body:''},"partly-cloudy":{body:''},pear:{body:''},phone:{body:''},"phone-filled":{body:''},picture:{body:''},"picture-filled":{body:''},"picture-rounded":{body:''},"pie-chart":{body:''},place:{body:''},platform:{body:''},plus:{body:''},pointer:{body:''},position:{body:''},postcard:{body:''},pouring:{body:''},present:{body:''},"price-tag":{body:''},printer:{body:''},promotion:{body:''},"quartz-watch":{body:''},"question-filled":{body:''},rank:{body:''},reading:{body:''},"reading-lamp":{body:''},refresh:{body:''},"refresh-left":{body:''},"refresh-right":{body:''},refrigerator:{body:''},remove:{body:''},"remove-filled":{body:''},right:{body:''},"scale-to-original":{body:''},school:{body:''},scissor:{body:''},search:{body:''},select:{body:''},sell:{body:''},"semi-select":{body:''},service:{body:''},"set-up":{body:''},setting:{body:''},share:{body:''},ship:{body:''},shop:{body:''},"shopping-bag":{body:''},"shopping-cart":{body:''},"shopping-cart-full":{body:''},"shopping-trolley":{body:''},smoking:{body:''},soccer:{body:''},"sold-out":{body:''},sort:{body:''},"sort-down":{body:''},"sort-up":{body:''},stamp:{body:''},star:{body:''},"star-filled":{body:''},stopwatch:{body:''},"success-filled":{body:''},sugar:{body:''},suitcase:{body:''},"suitcase-line":{body:''},sunny:{body:''},sunrise:{body:''},sunset:{body:''},switch:{body:''},"switch-button":{body:''},"switch-filled":{body:''},"takeaway-box":{body:''},ticket:{body:''},tickets:{body:''},timer:{body:''},"toilet-paper":{body:''},tools:{body:''},top:{body:''},"top-left":{body:''},"top-right":{body:''},"trend-charts":{body:''},trophy:{body:''},"trophy-base":{body:''},"turn-off":{body:''},umbrella:{body:''},unlock:{body:''},upload:{body:''},"upload-filled":{body:''},user:{body:''},"user-filled":{body:''},van:{body:''},"video-camera":{body:''},"video-camera-filled":{body:''},"video-pause":{body:''},"video-play":{body:''},view:{body:''},wallet:{body:''},"wallet-filled":{body:''},"warn-triangle-filled":{body:''},warning:{body:''},"warning-filled":{body:''},watch:{body:''},watermelon:{body:''},"wind-power":{body:''},"zoom-in":{body:''},"zoom-out":{body:''}},Jy=1710139697,Qy=1024,Zy=1024,cM={prefix:Yy,icons:Xy,lastModified:Jy,width:Qy,height:Zy},eM="ant-design",tM={"account-book-filled":{body:''},"account-book-outlined":{body:''},"account-book-twotone":{body:''},"aim-outlined":{body:''},"alert-filled":{body:''},"alert-outlined":{body:''},"alert-twotone":{body:''},"alibaba-outlined":{body:''},"align-center-outlined":{body:''},"align-left-outlined":{body:''},"align-right-outlined":{body:''},"alipay-circle-filled":{body:''},"alipay-circle-outlined":{body:''},"alipay-outlined":{body:''},"alipay-square-filled":{body:''},"aliwangwang-filled":{body:''},"aliwangwang-outlined":{body:''},"aliyun-outlined":{body:''},"amazon-circle-filled":{body:''},"amazon-outlined":{body:''},"amazon-square-filled":{body:''},"android-filled":{body:''},"android-outlined":{body:''},"ant-cloud-outlined":{body:''},"ant-design-outlined":{body:''},"apartment-outlined":{body:''},"api-filled":{body:''},"api-outlined":{body:''},"api-twotone":{body:''},"apple-filled":{body:''},"apple-outlined":{body:''},"appstore-add-outlined":{body:''},"appstore-filled":{body:''},"appstore-outlined":{body:''},"appstore-twotone":{body:''},"area-chart-outlined":{body:''},"arrow-down-outlined":{body:''},"arrow-left-outlined":{body:''},"arrow-right-outlined":{body:''},"arrow-up-outlined":{body:''},"arrows-alt-outlined":{body:''},"audio-filled":{body:''},"audio-muted-outlined":{body:''},"audio-outlined":{body:''},"audio-twotone":{body:''},"audit-outlined":{body:''},"backward-filled":{body:''},"backward-outlined":{body:''},"baidu-outlined":{body:''},"bank-filled":{body:''},"bank-outlined":{body:''},"bank-twotone":{body:''},"bar-chart-outlined":{body:''},"barcode-outlined":{body:''},"bars-outlined":{body:''},"behance-circle-filled":{body:''},"behance-outlined":{body:''},"behance-square-filled":{body:''},"behance-square-outlined":{body:''},"bell-filled":{body:''},"bell-outlined":{body:''},"bell-twotone":{body:''},"bg-colors-outlined":{body:''},"bilibili-filled":{body:''},"bilibili-outlined":{body:''},"block-outlined":{body:''},"bold-outlined":{body:''},"book-filled":{body:''},"book-outlined":{body:''},"book-twotone":{body:''},"border-bottom-outlined":{body:''},"border-horizontal-outlined":{body:''},"border-inner-outlined":{body:''},"border-left-outlined":{body:''},"border-outer-outlined":{body:''},"border-outlined":{body:''},"border-right-outlined":{body:''},"border-top-outlined":{body:''},"border-verticle-outlined":{body:''},"borderless-table-outlined":{body:''},"box-plot-filled":{body:''},"box-plot-outlined":{body:''},"box-plot-twotone":{body:''},"branches-outlined":{body:''},"bug-filled":{body:''},"bug-outlined":{body:''},"bug-twotone":{body:''},"build-filled":{body:''},"build-outlined":{body:''},"build-twotone":{body:''},"bulb-filled":{body:''},"bulb-outlined":{body:''},"bulb-twotone":{body:''},"calculator-filled":{body:''},"calculator-outlined":{body:''},"calculator-twotone":{body:''},"calendar-filled":{body:''},"calendar-outlined":{body:''},"calendar-twotone":{body:''},"camera-filled":{body:''},"camera-outlined":{body:''},"camera-twotone":{body:''},"car-filled":{body:''},"car-outlined":{body:''},"car-twotone":{body:''},"caret-down-filled":{body:''},"caret-down-outlined":{body:''},"caret-left-filled":{body:''},"caret-left-outlined":{body:''},"caret-right-filled":{body:''},"caret-right-outlined":{body:''},"caret-up-filled":{body:''},"caret-up-outlined":{body:''},"carry-out-filled":{body:''},"carry-out-outlined":{body:''},"carry-out-twotone":{body:''},"check-circle-filled":{body:''},"check-circle-outlined":{body:''},"check-circle-twotone":{body:''},"check-outlined":{body:''},"check-square-filled":{body:''},"check-square-outlined":{body:''},"check-square-twotone":{body:''},"chrome-filled":{body:''},"chrome-outlined":{body:''},"ci-circle-filled":{body:''},"ci-circle-outlined":{body:''},"ci-circle-twotone":{body:''},"ci-outlined":{body:''},"ci-twotone":{body:''},"clear-outlined":{body:''},"clock-circle-filled":{body:''},"clock-circle-outlined":{body:''},"clock-circle-twotone":{body:''},"close-circle-filled":{body:''},"close-circle-outlined":{body:''},"close-circle-twotone":{body:''},"close-outlined":{body:''},"close-square-filled":{body:''},"close-square-outlined":{body:''},"close-square-twotone":{body:''},"cloud-download-outlined":{body:''},"cloud-filled":{body:''},"cloud-outlined":{body:''},"cloud-server-outlined":{body:''},"cloud-sync-outlined":{body:''},"cloud-twotone":{body:''},"cloud-upload-outlined":{body:''},"cluster-outlined":{body:''},"code-filled":{body:''},"code-outlined":{body:''},"code-sandbox-circle-filled":{body:''},"code-sandbox-outlined":{body:''},"code-sandbox-square-filled":{body:''},"code-twotone":{body:''},"codepen-circle-filled":{body:''},"codepen-circle-outlined":{body:''},"codepen-outlined":{body:''},"codepen-square-filled":{body:''},"coffee-outlined":{body:''},"column-height-outlined":{body:''},"column-width-outlined":{body:''},"comment-outlined":{body:''},"compass-filled":{body:''},"compass-outlined":{body:''},"compass-twotone":{body:''},"compress-outlined":{body:''},"console-sql-outlined":{body:''},"contacts-filled":{body:''},"contacts-outlined":{body:''},"contacts-twotone":{body:''},"container-filled":{body:''},"container-outlined":{body:''},"container-twotone":{body:''},"control-filled":{body:''},"control-outlined":{body:''},"control-twotone":{body:''},"copy-filled":{body:''},"copy-outlined":{body:''},"copy-twotone":{body:''},"copyright-circle-filled":{body:''},"copyright-circle-outlined":{body:''},"copyright-circle-twotone":{body:''},"copyright-outlined":{body:''},"copyright-twotone":{body:''},"credit-card-filled":{body:''},"credit-card-outlined":{body:''},"credit-card-twotone":{body:''},"crown-filled":{body:''},"crown-outlined":{body:''},"crown-twotone":{body:''},"customer-service-filled":{body:''},"customer-service-outlined":{body:''},"customer-service-twotone":{body:''},"dash-outlined":{body:''},"dashboard-filled":{body:''},"dashboard-outlined":{body:''},"dashboard-twotone":{body:''},"database-filled":{body:''},"database-outlined":{body:''},"database-twotone":{body:''},"delete-column-outlined":{body:''},"delete-filled":{body:''},"delete-outlined":{body:''},"delete-row-outlined":{body:''},"delete-twotone":{body:''},"delivered-procedure-outlined":{body:''},"deployment-unit-outlined":{body:''},"desktop-outlined":{body:''},"diff-filled":{body:''},"diff-outlined":{body:''},"diff-twotone":{body:''},"dingding-outlined":{body:''},"dingtalk-circle-filled":{body:''},"dingtalk-outlined":{body:''},"dingtalk-square-filled":{body:''},"disconnect-outlined":{body:''},"discord-filled":{body:''},"discord-outlined":{body:''},"dislike-filled":{body:''},"dislike-outlined":{body:''},"dislike-twotone":{body:''},"docker-outlined":{body:''},"dollar-circle-filled":{body:''},"dollar-circle-outlined":{body:''},"dollar-circle-twotone":{body:''},"dollar-outlined":{body:''},"dollar-twotone":{body:''},"dot-chart-outlined":{body:''},"dot-net-outlined":{body:''},"double-left-outlined":{body:''},"double-right-outlined":{body:''},"down-circle-filled":{body:''},"down-circle-outlined":{body:''},"down-circle-twotone":{body:''},"down-outlined":{body:''},"down-square-filled":{body:''},"down-square-outlined":{body:''},"down-square-twotone":{body:''},"download-outlined":{body:''},"drag-outlined":{body:''},"dribbble-circle-filled":{body:''},"dribbble-outlined":{body:''},"dribbble-square-filled":{body:''},"dribbble-square-outlined":{body:''},"dropbox-circle-filled":{body:''},"dropbox-outlined":{body:''},"dropbox-square-filled":{body:''},"edit-filled":{body:''},"edit-outlined":{body:''},"edit-twotone":{body:''},"ellipsis-outlined":{body:''},"enter-outlined":{body:''},"environment-filled":{body:''},"environment-outlined":{body:''},"environment-twotone":{body:''},"euro-circle-filled":{body:''},"euro-circle-outlined":{body:''},"euro-circle-twotone":{body:''},"euro-outlined":{body:''},"euro-twotone":{body:''},"exception-outlined":{body:''},"exclamation-circle-filled":{body:''},"exclamation-circle-outlined":{body:''},"exclamation-circle-twotone":{body:''},"exclamation-outlined":{body:''},"expand-alt-outlined":{body:''},"expand-outlined":{body:''},"experiment-filled":{body:''},"experiment-outlined":{body:''},"experiment-twotone":{body:''},"export-outlined":{body:''},"eye-filled":{body:''},"eye-invisible-filled":{body:''},"eye-invisible-outlined":{body:''},"eye-invisible-twotone":{body:''},"eye-outlined":{body:''},"eye-twotone":{body:''},"facebook-filled":{body:''},"facebook-outlined":{body:''},"fall-outlined":{body:''},"fast-backward-filled":{body:''},"fast-backward-outlined":{body:''},"fast-forward-filled":{body:''},"fast-forward-outlined":{body:''},"field-binary-outlined":{body:''},"field-number-outlined":{body:''},"field-string-outlined":{body:''},"field-time-outlined":{body:''},"file-add-filled":{body:''},"file-add-outlined":{body:''},"file-add-twotone":{body:''},"file-done-outlined":{body:''},"file-excel-filled":{body:''},"file-excel-outlined":{body:''},"file-excel-twotone":{body:''},"file-exclamation-filled":{body:''},"file-exclamation-outlined":{body:''},"file-exclamation-twotone":{body:''},"file-filled":{body:''},"file-gif-outlined":{body:''},"file-image-filled":{body:''},"file-image-outlined":{body:''},"file-image-twotone":{body:''},"file-jpg-outlined":{body:''},"file-markdown-filled":{body:''},"file-markdown-outlined":{body:''},"file-markdown-twotone":{body:''},"file-outlined":{body:''},"file-pdf-filled":{body:''},"file-pdf-outlined":{body:''},"file-pdf-twotone":{body:''},"file-ppt-filled":{body:''},"file-ppt-outlined":{body:''},"file-ppt-twotone":{body:''},"file-protect-outlined":{body:''},"file-search-outlined":{body:''},"file-sync-outlined":{body:''},"file-text-filled":{body:''},"file-text-outlined":{body:''},"file-text-twotone":{body:''},"file-twotone":{body:''},"file-unknown-filled":{body:''},"file-unknown-outlined":{body:''},"file-unknown-twotone":{body:''},"file-word-filled":{body:''},"file-word-outlined":{body:''},"file-word-twotone":{body:''},"file-zip-filled":{body:''},"file-zip-outlined":{body:''},"file-zip-twotone":{body:''},"filter-filled":{body:''},"filter-outlined":{body:''},"filter-twotone":{body:''},"fire-filled":{body:''},"fire-outlined":{body:''},"fire-twotone":{body:''},"flag-filled":{body:''},"flag-outlined":{body:''},"flag-twotone":{body:''},"folder-add-filled":{body:''},"folder-add-outlined":{body:''},"folder-add-twotone":{body:''},"folder-filled":{body:''},"folder-open-filled":{body:''},"folder-open-outlined":{body:''},"folder-open-twotone":{body:''},"folder-outlined":{body:''},"folder-twotone":{body:''},"folder-view-outlined":{body:''},"font-colors-outlined":{body:''},"font-size-outlined":{body:''},"fork-outlined":{body:''},"form-outlined":{body:''},"format-painter-filled":{body:''},"format-painter-outlined":{body:''},"forward-filled":{body:''},"forward-outlined":{body:''},"frown-filled":{body:''},"frown-outlined":{body:''},"frown-twotone":{body:''},"fullscreen-exit-outlined":{body:''},"fullscreen-outlined":{body:''},"function-outlined":{body:''},"fund-filled":{body:''},"fund-outlined":{body:''},"fund-projection-screen-outlined":{body:''},"fund-twotone":{body:''},"fund-view-outlined":{body:''},"funnel-plot-filled":{body:''},"funnel-plot-outlined":{body:''},"funnel-plot-twotone":{body:''},"gateway-outlined":{body:''},"gif-outlined":{body:''},"gift-filled":{body:''},"gift-outlined":{body:''},"gift-twotone":{body:''},"github-filled":{body:''},"github-outlined":{body:''},"gitlab-filled":{body:''},"gitlab-outlined":{body:''},"global-outlined":{body:''},"gold-filled":{body:''},"gold-outlined":{body:''},"gold-twotone":{body:''},"golden-filled":{body:''},"google-circle-filled":{body:''},"google-outlined":{body:''},"google-plus-circle-filled":{body:''},"google-plus-outlined":{body:''},"google-plus-square-filled":{body:''},"google-square-filled":{body:''},"group-outlined":{body:''},"harmony-o-s-outlined":{body:''},"hdd-filled":{body:''},"hdd-outlined":{body:''},"hdd-twotone":{body:''},"heart-filled":{body:''},"heart-outlined":{body:''},"heart-twotone":{body:''},"heat-map-outlined":{body:''},"highlight-filled":{body:''},"highlight-outlined":{body:''},"highlight-twotone":{body:''},"history-outlined":{body:''},"holder-outlined":{body:''},"home-filled":{body:''},"home-outlined":{body:''},"home-twotone":{body:''},"hourglass-filled":{body:''},"hourglass-outlined":{body:''},"hourglass-twotone":{body:''},"html5-filled":{body:''},"html5-outlined":{body:''},"html5-twotone":{body:''},"idcard-filled":{body:''},"idcard-outlined":{body:''},"idcard-twotone":{body:''},"ie-circle-filled":{body:''},"ie-outlined":{body:''},"ie-square-filled":{body:''},"import-outlined":{body:''},"inbox-outlined":{body:''},"info-circle-filled":{body:''},"info-circle-outlined":{body:''},"info-circle-twotone":{body:''},"info-outlined":{body:''},"insert-row-above-outlined":{body:''},"insert-row-below-outlined":{body:''},"insert-row-left-outlined":{body:''},"insert-row-right-outlined":{body:''},"instagram-filled":{body:''},"instagram-outlined":{body:''},"insurance-filled":{body:''},"insurance-outlined":{body:''},"insurance-twotone":{body:''},"interaction-filled":{body:''},"interaction-outlined":{body:''},"interaction-twotone":{body:''},"issues-close-outlined":{body:''},"italic-outlined":{body:''},"java-outlined":{body:''},"java-script-outlined":{body:''},"key-outlined":{body:''},"kubernetes-outlined":{body:''},"laptop-outlined":{body:''},"layout-filled":{body:''},"layout-outlined":{body:''},"layout-twotone":{body:''},"left-circle-filled":{body:''},"left-circle-outlined":{body:''},"left-circle-twotone":{body:''},"left-outlined":{body:''},"left-square-filled":{body:''},"left-square-outlined":{body:''},"left-square-twotone":{body:''},"like-filled":{body:''},"like-outlined":{body:''},"like-twotone":{body:''},"line-chart-outlined":{body:''},"line-height-outlined":{body:''},"line-outlined":{body:''},"link-outlined":{body:''},"linkedin-filled":{body:''},"linkedin-outlined":{body:''},"linux-outlined":{body:''},"loading-3-quarters-outlined":{body:''},"loading-outlined":{body:''},"lock-filled":{body:''},"lock-outlined":{body:''},"lock-twotone":{body:''},"login-outlined":{body:''},"logout-outlined":{body:''},"mac-command-filled":{body:''},"mac-command-outlined":{body:''},"mail-filled":{body:''},"mail-outlined":{body:''},"mail-twotone":{body:''},"man-outlined":{body:''},"medicine-box-filled":{body:''},"medicine-box-outlined":{body:''},"medicine-box-twotone":{body:''},"medium-circle-filled":{body:''},"medium-outlined":{body:''},"medium-square-filled":{body:''},"medium-workmark-outlined":{body:''},"meh-filled":{body:''},"meh-outlined":{body:''},"meh-twotone":{body:''},"menu-fold-outlined":{body:''},"menu-outlined":{body:''},"menu-unfold-outlined":{body:''},"merge-cells-outlined":{body:''},"merge-filled":{body:''},"merge-outlined":{body:''},"message-filled":{body:''},"message-outlined":{body:''},"message-twotone":{body:''},"minus-circle-filled":{body:''},"minus-circle-outlined":{body:''},"minus-circle-twotone":{body:''},"minus-outlined":{body:''},"minus-square-filled":{body:''},"minus-square-outlined":{body:''},"minus-square-twotone":{body:''},"mobile-filled":{body:''},"mobile-outlined":{body:''},"mobile-twotone":{body:''},"money-collect-filled":{body:''},"money-collect-outlined":{body:''},"money-collect-twotone":{body:''},"monitor-outlined":{body:''},"moon-filled":{body:''},"moon-outlined":{body:''},"more-outlined":{body:''},"muted-filled":{body:''},"muted-outlined":{body:''},"node-collapse-outlined":{body:''},"node-expand-outlined":{body:''},"node-index-outlined":{body:''},"notification-filled":{body:''},"notification-outlined":{body:''},"notification-twotone":{body:''},"number-outlined":{body:''},"one-to-one-outlined":{body:''},"open-a-i-filled":{body:''},"open-a-i-outlined":{body:''},"ordered-list-outlined":{body:''},"paper-clip-outlined":{body:''},"partition-outlined":{body:''},"pause-circle-filled":{body:''},"pause-circle-outlined":{body:''},"pause-circle-twotone":{body:''},"pause-outlined":{body:''},"pay-circle-filled":{body:''},"pay-circle-outlined":{body:''},"percentage-outlined":{body:''},"phone-filled":{body:''},"phone-outlined":{body:''},"phone-twotone":{body:''},"pic-center-outlined":{body:''},"pic-left-outlined":{body:''},"pic-right-outlined":{body:''},"picture-filled":{body:''},"picture-outlined":{body:''},"picture-twotone":{body:''},"pie-chart-filled":{body:''},"pie-chart-outlined":{body:''},"pie-chart-twotone":{body:''},"pinterest-filled":{body:''},"pinterest-outlined":{body:''},"play-circle-filled":{body:''},"play-circle-outlined":{body:''},"play-circle-twotone":{body:''},"play-square-filled":{body:''},"play-square-outlined":{body:''},"play-square-twotone":{body:''},"plus-circle-filled":{body:''},"plus-circle-outlined":{body:''},"plus-circle-twotone":{body:''},"plus-outlined":{body:''},"plus-square-filled":{body:''},"plus-square-outlined":{body:''},"plus-square-twotone":{body:''},"pound-circle-filled":{body:''},"pound-circle-outlined":{body:''},"pound-circle-twotone":{body:''},"pound-outlined":{body:''},"poweroff-outlined":{body:''},"printer-filled":{body:''},"printer-outlined":{body:''},"printer-twotone":{body:''},"product-filled":{body:''},"product-outlined":{body:''},"profile-filled":{body:''},"profile-outlined":{body:''},"profile-twotone":{body:''},"project-filled":{body:''},"project-outlined":{body:''},"project-twotone":{body:''},"property-safety-filled":{body:''},"property-safety-outlined":{body:''},"property-safety-twotone":{body:''},"pull-request-outlined":{body:''},"pushpin-filled":{body:''},"pushpin-outlined":{body:''},"pushpin-twotone":{body:''},"python-outlined":{body:''},"qq-circle-filled":{body:''},"qq-outlined":{body:''},"qq-square-filled":{body:''},"qrcode-outlined":{body:''},"question-circle-filled":{body:''},"question-circle-outlined":{body:''},"question-circle-twotone":{body:''},"question-outlined":{body:''},"radar-chart-outlined":{body:''},"radius-bottomleft-outlined":{body:''},"radius-bottomright-outlined":{body:''},"radius-setting-outlined":{body:''},"radius-upleft-outlined":{body:''},"radius-upright-outlined":{body:''},"read-filled":{body:''},"read-outlined":{body:''},"reconciliation-filled":{body:''},"reconciliation-outlined":{body:''},"reconciliation-twotone":{body:''},"red-envelope-filled":{body:''},"red-envelope-outlined":{body:''},"red-envelope-twotone":{body:''},"reddit-circle-filled":{body:''},"reddit-outlined":{body:''},"reddit-square-filled":{body:''},"redo-outlined":{body:''},"reload-outlined":{body:''},"rest-filled":{body:''},"rest-outlined":{body:''},"rest-twotone":{body:''},"retweet-outlined":{body:''},"right-circle-filled":{body:''},"right-circle-outlined":{body:''},"right-circle-twotone":{body:''},"right-outlined":{body:''},"right-square-filled":{body:''},"right-square-outlined":{body:''},"right-square-twotone":{body:''},"rise-outlined":{body:''},"robot-filled":{body:''},"robot-outlined":{body:''},"rocket-filled":{body:''},"rocket-outlined":{body:''},"rocket-twotone":{body:''},"rollback-outlined":{body:''},"rotate-left-outlined":{body:''},"rotate-right-outlined":{body:''},"ruby-outlined":{body:''},"safety-certificate-filled":{body:''},"safety-certificate-outlined":{body:''},"safety-certificate-twotone":{body:''},"safety-outlined":{body:''},"save-filled":{body:''},"save-outlined":{body:''},"save-twotone":{body:''},"scan-outlined":{body:''},"schedule-filled":{body:''},"schedule-outlined":{body:''},"schedule-twotone":{body:''},"scissor-outlined":{body:''},"search-outlined":{body:''},"security-scan-filled":{body:''},"security-scan-outlined":{body:''},"security-scan-twotone":{body:''},"select-outlined":{body:''},"send-outlined":{body:''},"setting-filled":{body:''},"setting-outlined":{body:''},"setting-twotone":{body:''},"shake-outlined":{body:''},"share-alt-outlined":{body:''},"shop-filled":{body:''},"shop-outlined":{body:''},"shop-twotone":{body:''},"shopping-cart-outlined":{body:''},"shopping-filled":{body:''},"shopping-outlined":{body:''},"shopping-twotone":{body:''},"shrink-outlined":{body:''},"signal-filled":{body:''},"signature-filled":{body:''},"signature-outlined":{body:''},"sisternode-outlined":{body:''},"sketch-circle-filled":{body:''},"sketch-outlined":{body:''},"sketch-square-filled":{body:''},"skin-filled":{body:''},"skin-outlined":{body:''},"skin-twotone":{body:''},"skype-filled":{body:''},"skype-outlined":{body:''},"slack-circle-filled":{body:''},"slack-outlined":{body:''},"slack-square-filled":{body:''},"slack-square-outlined":{body:''},"sliders-filled":{body:''},"sliders-outlined":{body:''},"sliders-twotone":{body:''},"small-dash-outlined":{body:''},"smile-filled":{body:''},"smile-outlined":{body:''},"smile-twotone":{body:''},"snippets-filled":{body:''},"snippets-outlined":{body:''},"snippets-twotone":{body:''},"solution-outlined":{body:''},"sort-ascending-outlined":{body:''},"sort-descending-outlined":{body:''},"sound-filled":{body:''},"sound-outlined":{body:''},"sound-twotone":{body:''},"split-cells-outlined":{body:''},"spotify-filled":{body:''},"spotify-outlined":{body:''},"star-filled":{body:''},"star-outlined":{body:''},"star-twotone":{body:''},"step-backward-filled":{body:''},"step-backward-outlined":{body:''},"step-forward-filled":{body:''},"step-forward-outlined":{body:''},"stock-outlined":{body:''},"stop-filled":{body:''},"stop-outlined":{body:''},"stop-twotone":{body:''},"strikethrough-outlined":{body:''},"subnode-outlined":{body:''},"sun-filled":{body:''},"sun-outlined":{body:''},"swap-left-outlined":{body:''},"swap-outlined":{body:''},"swap-right-outlined":{body:''},"switcher-filled":{body:''},"switcher-outlined":{body:''},"switcher-twotone":{body:''},"sync-outlined":{body:''},"table-outlined":{body:''},"tablet-filled":{body:''},"tablet-outlined":{body:''},"tablet-twotone":{body:''},"tag-filled":{body:''},"tag-outlined":{body:''},"tag-twotone":{body:''},"tags-filled":{body:''},"tags-outlined":{body:''},"tags-twotone":{body:''},"taobao-circle-filled":{body:''},"taobao-circle-outlined":{body:''},"taobao-outlined":{body:''},"taobao-square-filled":{body:''},"team-outlined":{body:''},"thunderbolt-filled":{body:''},"thunderbolt-outlined":{body:''},"thunderbolt-twotone":{body:''},"tik-tok-filled":{body:''},"tik-tok-outlined":{body:''},"to-top-outlined":{body:''},"tool-filled":{body:''},"tool-outlined":{body:''},"tool-twotone":{body:''},"trademark-circle-filled":{body:''},"trademark-circle-outlined":{body:''},"trademark-circle-twotone":{body:''},"trademark-outlined":{body:''},"transaction-outlined":{body:''},"translation-outlined":{body:''},"trophy-filled":{body:''},"trophy-outlined":{body:''},"trophy-twotone":{body:''},"truck-filled":{body:''},"truck-outlined":{body:''},"twitch-outlined":{body:''},"twitter-circle-filled":{body:''},"twitter-outlined":{body:''},"twitter-square-filled":{body:''},"underline-outlined":{body:''},"undo-outlined":{body:''},"ungroup-outlined":{body:''},"unlock-filled":{body:''},"unlock-outlined":{body:''},"unlock-twotone":{body:''},"unordered-list-outlined":{body:''},"up-circle-filled":{body:''},"up-circle-outlined":{body:''},"up-circle-twotone":{body:''},"up-outlined":{body:''},"up-square-filled":{body:''},"up-square-outlined":{body:''},"up-square-twotone":{body:''},"upload-outlined":{body:''},"usb-filled":{body:''},"usb-outlined":{body:''},"usb-twotone":{body:''},"user-add-outlined":{body:''},"user-delete-outlined":{body:''},"user-outlined":{body:''},"user-switch-outlined":{body:''},"usergroup-add-outlined":{body:''},"usergroup-delete-outlined":{body:''},"verified-outlined":{body:''},"vertical-align-bottom-outlined":{body:''},"vertical-align-middle-outlined":{body:''},"vertical-align-top-outlined":{body:''},"vertical-left-outlined":{body:''},"vertical-right-outlined":{body:''},"video-camera-add-outlined":{body:''},"video-camera-filled":{body:''},"video-camera-outlined":{body:''},"video-camera-twotone":{body:''},"wallet-filled":{body:''},"wallet-outlined":{body:''},"wallet-twotone":{body:''},"warning-filled":{body:''},"warning-outlined":{body:''},"warning-twotone":{body:''},"wechat-filled":{body:''},"wechat-outlined":{body:''},"wechat-work-filled":{body:''},"wechat-work-outlined":{body:''},"weibo-circle-filled":{body:''},"weibo-circle-outlined":{body:''},"weibo-outlined":{body:''},"weibo-square-filled":{body:''},"weibo-square-outlined":{body:''},"whats-app-outlined":{body:''},"wifi-outlined":{body:''},"windows-filled":{body:''},"windows-outlined":{body:''},"woman-outlined":{body:''},"x-filled":{body:''},"x-outlined":{body:''},"yahoo-filled":{body:''},"yahoo-outlined":{body:''},"youtube-filled":{body:''},"youtube-outlined":{body:''},"yuque-filled":{body:''},"yuque-outlined":{body:''},"zhihu-circle-filled":{body:''},"zhihu-outlined":{body:''},"zhihu-square-filled":{body:''},"zoom-in-outlined":{body:''},"zoom-out-outlined":{body:''}},lM={"account-book":{parent:"account-book-outlined"},"account-book-fill":{parent:"account-book-filled"},"account-book-outline":{parent:"account-book-outlined"},aim:{parent:"aim-outlined"},alert:{parent:"alert-outlined"},"alert-fill":{parent:"alert-filled"},"alert-outline":{parent:"alert-outlined"},alibaba:{parent:"alibaba-outlined"},"alibaba-outline":{parent:"alibaba-outlined"},"align-center":{parent:"align-center-outlined"},"align-center-outline":{parent:"align-center-outlined"},"align-left":{parent:"align-left-outlined"},"align-left-outline":{parent:"align-left-outlined"},"align-right":{parent:"align-right-outlined"},"align-right-outline":{parent:"align-right-outlined"},alipay:{parent:"alipay-outlined"},"alipay-circle":{parent:"alipay-circle-filled"},"alipay-circle-fill":{parent:"alipay-circle-filled"},"alipay-circle-outline":{parent:"alipay-circle-filled"},"alipay-outline":{parent:"alipay-outlined"},"alipay-square":{parent:"alipay-square-filled"},"alipay-square-fill":{parent:"alipay-square-filled"},aliwangwang:{parent:"aliwangwang-outlined"},"aliwangwang-fill":{parent:"aliwangwang-filled"},"aliwangwang-outline":{parent:"aliwangwang-outlined"},aliyun:{parent:"aliyun-outlined"},"aliyun-outline":{parent:"aliyun-outlined"},amazon:{parent:"amazon-outlined"},"amazon-circle":{parent:"amazon-circle-filled"},"amazon-circle-fill":{parent:"amazon-circle-filled"},"amazon-outline":{parent:"amazon-outlined"},"amazon-square":{parent:"amazon-square-filled"},"amazon-square-fill":{parent:"amazon-square-filled"},android:{parent:"android-outlined"},"android-fill":{parent:"android-filled"},"android-outline":{parent:"android-outlined"},"ant-cloud":{parent:"ant-cloud-outlined"},"ant-cloud-outline":{parent:"ant-cloud-outlined"},"ant-design":{parent:"ant-design-outlined"},"ant-design-outline":{parent:"ant-design-outlined"},apartment:{parent:"apartment-outlined"},"apartment-outline":{parent:"apartment-outlined"},api:{parent:"api-outlined"},"api-fill":{parent:"api-filled"},"api-outline":{parent:"api-outlined"},apple:{parent:"apple-outlined"},"apple-fill":{parent:"apple-filled"},"apple-outline":{parent:"apple-outlined"},appstore:{parent:"appstore-outlined"},"appstore-add":{parent:"appstore-add-outlined"},"appstore-fill":{parent:"appstore-filled"},"appstore-outline":{parent:"appstore-outlined"},"area-chart":{parent:"area-chart-outlined"},"area-chart-outline":{parent:"area-chart-outlined"},"arrow-down":{parent:"arrow-down-outlined"},"arrow-down-outline":{parent:"arrow-down-outlined"},"arrow-left":{parent:"arrow-left-outlined"},"arrow-left-outline":{parent:"arrow-left-outlined"},"arrow-right":{parent:"arrow-right-outlined"},"arrow-right-outline":{parent:"arrow-right-outlined"},"arrow-up":{parent:"arrow-up-outlined"},"arrow-up-outline":{parent:"arrow-up-outlined"},"arrows-alt":{parent:"arrows-alt-outlined"},"arrows-alt-outline":{parent:"arrows-alt-outlined"},audio:{parent:"audio-outlined"},"audio-fill":{parent:"audio-filled"},"audio-muted":{parent:"audio-muted-outlined"},"audio-outline":{parent:"audio-outlined"},audit:{parent:"audit-outlined"},"audit-outline":{parent:"audit-outlined"},backward:{parent:"backward-filled"},"backward-fill":{parent:"backward-filled"},"backward-outline":{parent:"backward-filled"},bank:{parent:"bank-outlined"},"bank-fill":{parent:"bank-filled"},"bank-outline":{parent:"bank-outlined"},"bar-chart":{parent:"bar-chart-outlined"},"bar-chart-outline":{parent:"bar-chart-outlined"},barcode:{parent:"barcode-outlined"},"barcode-outline":{parent:"barcode-outlined"},bars:{parent:"bars-outlined"},"bars-outline":{parent:"bars-outlined"},behance:{parent:"behance-outlined"},"behance-circle":{parent:"behance-circle-filled"},"behance-circle-fill":{parent:"behance-circle-filled"},"behance-outline":{parent:"behance-outlined"},"behance-square":{parent:"behance-square-filled"},"behance-square-fill":{parent:"behance-square-filled"},"behance-square-outline":{parent:"behance-square-filled"},bell:{parent:"bell-outlined"},"bell-fill":{parent:"bell-filled"},"bell-outline":{parent:"bell-outlined"},"bg-colors":{parent:"bg-colors-outlined"},"bg-colors-outline":{parent:"bg-colors-outlined"},block:{parent:"block-outlined"},"block-outline":{parent:"block-outlined"},bold:{parent:"bold-outlined"},"bold-outline":{parent:"bold-outlined"},book:{parent:"book-outlined"},"book-fill":{parent:"book-filled"},"book-outline":{parent:"book-outlined"},border:{parent:"border-outlined"},"border-bottom":{parent:"border-bottom-outlined"},"border-bottom-outline":{parent:"border-bottom-outlined"},"border-horizontal":{parent:"border-horizontal-outlined"},"border-horizontal-outline":{parent:"border-horizontal-outlined"},"border-inner":{parent:"border-inner-outlined"},"border-inner-outline":{parent:"border-inner-outlined"},"border-left":{parent:"border-left-outlined"},"border-left-outline":{parent:"border-left-outlined"},"border-outer":{parent:"border-outer-outlined"},"border-outer-outline":{parent:"border-outer-outlined"},"border-outline":{parent:"border-outlined"},"border-right":{parent:"border-right-outlined"},"border-right-outline":{parent:"border-right-outlined"},"border-top":{parent:"border-top-outlined"},"border-top-outline":{parent:"border-top-outlined"},"border-verticle":{parent:"border-verticle-outlined"},"border-verticle-outline":{parent:"border-verticle-outlined"},"borderless-table":{parent:"borderless-table-outlined"},"box-plot":{parent:"box-plot-outlined"},"box-plot-fill":{parent:"box-plot-filled"},"box-plot-outline":{parent:"box-plot-outlined"},branches:{parent:"branches-outlined"},"branches-outline":{parent:"branches-outlined"},bug:{parent:"bug-outlined"},"bug-fill":{parent:"bug-filled"},"bug-outline":{parent:"bug-outlined"},build:{parent:"build-outlined"},"build-fill":{parent:"build-filled"},"build-outline":{parent:"build-outlined"},bulb:{parent:"bulb-outlined"},"bulb-fill":{parent:"bulb-filled"},"bulb-outline":{parent:"bulb-outlined"},calculator:{parent:"calculator-outlined"},"calculator-fill":{parent:"calculator-filled"},"calculator-outline":{parent:"calculator-outlined"},calendar:{parent:"calendar-outlined"},"calendar-fill":{parent:"calendar-filled"},"calendar-outline":{parent:"calendar-outlined"},camera:{parent:"camera-outlined"},"camera-fill":{parent:"camera-filled"},"camera-outline":{parent:"camera-outlined"},"canlendar-twotone":{parent:"calendar-twotone"},car:{parent:"car-outlined"},"car-fill":{parent:"car-filled"},"car-outline":{parent:"car-outlined"},"caret-down":{parent:"caret-down-filled"},"caret-down-fill":{parent:"caret-down-filled"},"caret-down-outline":{parent:"caret-down-filled"},"caret-left":{parent:"caret-left-filled"},"caret-left-fill":{parent:"caret-left-filled"},"caret-left-outline":{parent:"caret-left-filled"},"caret-right":{parent:"caret-right-filled"},"caret-right-fill":{parent:"caret-right-filled"},"caret-right-outline":{parent:"caret-right-filled"},"caret-up":{parent:"caret-up-filled"},"caret-up-fill":{parent:"caret-up-filled"},"caret-up-outline":{parent:"caret-up-filled"},"carry-out":{parent:"carry-out-outlined"},"carry-out-fill":{parent:"carry-out-filled"},"carry-out-outline":{parent:"carry-out-outlined"},check:{parent:"check-outlined"},"check-circle":{parent:"check-circle-outlined"},"check-circle-fill":{parent:"check-circle-filled"},"check-circle-outline":{parent:"check-circle-outlined"},"check-outline":{parent:"check-outlined"},"check-square":{parent:"check-square-outlined"},"check-square-fill":{parent:"check-square-filled"},"check-square-outline":{parent:"check-square-outlined"},chrome:{parent:"chrome-outlined"},"chrome-fill":{parent:"chrome-filled"},"chrome-outline":{parent:"chrome-outlined"},ci:{parent:"ci-circle-outlined"},"ci-circle":{parent:"ci-circle-outlined"},"ci-circle-fill":{parent:"ci-circle-filled"},"ci-outline":{parent:"ci-circle-outlined"},clear:{parent:"clear-outlined"},"clock-circle":{parent:"clock-circle-outlined"},"clock-circle-fill":{parent:"clock-circle-filled"},"clock-circle-outline":{parent:"clock-circle-outlined"},close:{parent:"close-outlined"},"close-circle":{parent:"close-circle-outlined"},"close-circle-fill":{parent:"close-circle-filled"},"close-circle-outline":{parent:"close-circle-outlined"},"close-outline":{parent:"close-outlined"},"close-square":{parent:"close-square-outlined"},"close-square-fill":{parent:"close-square-filled"},"close-square-outline":{parent:"close-square-outlined"},cloud:{parent:"cloud-outlined"},"cloud-download":{parent:"cloud-download-outlined"},"cloud-download-outline":{parent:"cloud-download-outlined"},"cloud-fill":{parent:"cloud-filled"},"cloud-outline":{parent:"cloud-outlined"},"cloud-server":{parent:"cloud-server-outlined"},"cloud-server-outline":{parent:"cloud-server-outlined"},"cloud-sync":{parent:"cloud-sync-outlined"},"cloud-sync-outline":{parent:"cloud-sync-outlined"},"cloud-upload":{parent:"cloud-upload-outlined"},"cloud-upload-outline":{parent:"cloud-upload-outlined"},cluster:{parent:"cluster-outlined"},"cluster-outline":{parent:"cluster-outlined"},code:{parent:"code-outlined"},"code-fill":{parent:"code-filled"},"code-outline":{parent:"code-outlined"},"code-sandbox":{parent:"code-sandbox-outlined"},"code-sandbox-circle":{parent:"code-sandbox-circle-filled"},"code-sandbox-circle-fill":{parent:"code-sandbox-circle-filled"},"code-sandbox-outline":{parent:"code-sandbox-outlined"},"code-sandbox-square":{parent:"code-sandbox-square-filled"},"code-sandbox-square-fill":{parent:"code-sandbox-square-filled"},codepen:{parent:"codepen-outlined"},"codepen-circle":{parent:"codepen-circle-filled"},"codepen-circle-fill":{parent:"codepen-circle-filled"},"codepen-circle-outline":{parent:"codepen-circle-filled"},"codepen-outline":{parent:"codepen-outlined"},"codepen-square":{parent:"codepen-square-filled"},"codepen-square-fill":{parent:"codepen-square-filled"},coffee:{parent:"coffee-outlined"},"coffee-outline":{parent:"coffee-outlined"},"colum-height-outline":{parent:"column-height-outlined"},"column-height":{parent:"column-height-outlined"},"column-height-outline":{parent:"column-height-outlined"},"column-width":{parent:"column-width-outlined"},"column-width-outline":{parent:"column-width-outlined"},comment:{parent:"comment-outlined"},compass:{parent:"compass-outlined"},"compass-fill":{parent:"compass-filled"},"compass-outline":{parent:"compass-outlined"},compress:{parent:"compress-outlined"},"console-sql":{parent:"console-sql-outlined"},contacts:{parent:"contacts-outlined"},"contacts-fill":{parent:"contacts-filled"},"contacts-outline":{parent:"contacts-outlined"},container:{parent:"container-outlined"},"container-fill":{parent:"container-filled"},"container-outline":{parent:"container-outlined"},control:{parent:"control-outlined"},"control-fill":{parent:"control-filled"},"control-outline":{parent:"control-outlined"},copy:{parent:"copy-outlined"},"copy-fill":{parent:"copy-filled"},"copy-outline":{parent:"copy-outlined"},copyright:{parent:"copyright-circle-outlined"},"copyright-circle":{parent:"copyright-circle-outlined"},"copyright-circle-fill":{parent:"copyright-circle-filled"},"copyright-outline":{parent:"copyright-circle-outlined"},"credit-card":{parent:"credit-card-outlined"},"credit-card-fill":{parent:"credit-card-filled"},"credit-card-outline":{parent:"credit-card-outlined"},crown:{parent:"crown-outlined"},"crown-fill":{parent:"crown-filled"},"crown-outline":{parent:"crown-outlined"},"customer-service":{parent:"customer-service-outlined"},"customer-service-fill":{parent:"customer-service-filled"},"customer-service-outline":{parent:"customer-service-outlined"},dash:{parent:"dash-outlined"},"dash-outline":{parent:"dash-outlined"},dashboard:{parent:"dashboard-outlined"},"dashboard-fill":{parent:"dashboard-filled"},"dashboard-outline":{parent:"dashboard-outlined"},database:{parent:"database-outlined"},"database-fill":{parent:"database-filled"},"database-outline":{parent:"database-outlined"},delete:{parent:"delete-outlined"},"delete-column":{parent:"delete-column-outlined"},"delete-fill":{parent:"delete-filled"},"delete-outline":{parent:"delete-outlined"},"delete-row":{parent:"delete-row-outlined"},"delivered-procedure":{parent:"delivered-procedure-outlined"},"deployment-unit":{parent:"deployment-unit-outlined"},"deployment-unit-outline":{parent:"deployment-unit-outlined"},desktop:{parent:"desktop-outlined"},"desktop-outline":{parent:"desktop-outlined"},diff:{parent:"diff-outlined"},"diff-fill":{parent:"diff-filled"},"diff-outline":{parent:"diff-outlined"},dingding:{parent:"dingding-outlined"},"dingding-outline":{parent:"dingding-outlined"},dingtalk:{parent:"dingding-outlined"},"dingtalk-circle":{parent:"dingtalk-circle-filled"},"dingtalk-circle-fill":{parent:"dingtalk-circle-filled"},"dingtalk-square":{parent:"dingtalk-square-filled"},"dingtalk-square-fill":{parent:"dingtalk-square-filled"},disconnect:{parent:"disconnect-outlined"},"disconnect-outline":{parent:"disconnect-outlined"},dislike:{parent:"dislike-outlined"},"dislike-fill":{parent:"dislike-filled"},"dislike-outline":{parent:"dislike-outlined"},dollar:{parent:"dollar-circle-outlined"},"dollar-circle":{parent:"dollar-circle-outlined"},"dollar-circle-fill":{parent:"dollar-circle-filled"},"dollar-outline":{parent:"dollar-circle-outlined"},"dot-chart":{parent:"dot-chart-outlined"},"dot-chart-outline":{parent:"dot-chart-outlined"},"double-left":{parent:"double-left-outlined"},"double-left-outline":{parent:"double-left-outlined"},"double-right":{parent:"double-right-outlined"},"double-right-outline":{parent:"double-right-outlined"},down:{parent:"down-outlined"},"down-circle":{parent:"down-circle-outlined"},"down-circle-fill":{parent:"down-circle-filled"},"down-circle-outline":{parent:"down-circle-outlined"},"down-outline":{parent:"down-outlined"},"down-square":{parent:"down-square-outlined"},"down-square-fill":{parent:"down-square-filled"},"down-square-outline":{parent:"down-square-outlined"},download:{parent:"download-outlined"},"download-outline":{parent:"download-outlined"},drag:{parent:"drag-outlined"},"drag-outline":{parent:"drag-outlined"},dribbble:{parent:"dribbble-outlined"},"dribbble-circle":{parent:"dribbble-circle-filled"},"dribbble-circle-fill":{parent:"dribbble-circle-filled"},"dribbble-outline":{parent:"dribbble-outlined"},"dribbble-square":{parent:"dribbble-square-filled"},"dribbble-square-fill":{parent:"dribbble-square-filled"},"dribbble-square-outline":{parent:"dribbble-square-filled"},dropbox:{parent:"dropbox-outlined"},"dropbox-circle":{parent:"dropbox-circle-filled"},"dropbox-circle-fill":{parent:"dropbox-circle-filled"},"dropbox-outline":{parent:"dropbox-outlined"},"dropbox-square":{parent:"dropbox-square-filled"},"dropbox-square-fill":{parent:"dropbox-square-filled"},edit:{parent:"edit-outlined"},"edit-fill":{parent:"edit-filled"},"edit-outline":{parent:"edit-outlined"},ellipsis:{parent:"ellipsis-outlined"},"ellipsis-outline":{parent:"ellipsis-outlined"},enter:{parent:"enter-outlined"},"enter-outline":{parent:"enter-outlined"},environment:{parent:"environment-outlined"},"environment-fill":{parent:"environment-filled"},"environment-outline":{parent:"environment-outlined"},euro:{parent:"euro-circle-outlined"},"euro-circle":{parent:"euro-circle-outlined"},"euro-circle-fill":{parent:"euro-circle-filled"},"euro-outline":{parent:"euro-circle-outlined"},exception:{parent:"exception-outlined"},"exception-outline":{parent:"exception-outlined"},exclamation:{parent:"exclamation-outlined"},"exclamation-circle":{parent:"exclamation-circle-outlined"},"exclamation-circle-fill":{parent:"exclamation-circle-filled"},"exclamation-circle-outline":{parent:"exclamation-circle-outlined"},"exclamation-outline":{parent:"exclamation-outlined"},expand:{parent:"expand-outlined"},"expand-alt":{parent:"arrows-alt-outlined"},experiment:{parent:"experiment-outlined"},"experiment-fill":{parent:"experiment-filled"},"experiment-outline":{parent:"experiment-outlined"},export:{parent:"export-outlined"},"export-outline":{parent:"export-outlined"},eye:{parent:"eye-outlined"},"eye-fill":{parent:"eye-filled"},"eye-invisible":{parent:"eye-invisible-outlined"},"eye-invisible-fill":{parent:"eye-invisible-filled"},"eye-invisible-outline":{parent:"eye-invisible-outlined"},"eye-outline":{parent:"eye-outlined"},facebook:{parent:"facebook-outlined"},"facebook-fill":{parent:"facebook-filled"},"facebook-outline":{parent:"facebook-outlined"},fall:{parent:"fall-outlined"},"fall-outline":{parent:"fall-outlined"},"fast-backward":{parent:"fast-backward-filled"},"fast-backward-fill":{parent:"fast-backward-filled"},"fast-backward-outline":{parent:"fast-backward-filled"},"fast-forward":{parent:"fast-forward-filled"},"fast-forward-fill":{parent:"fast-forward-filled"},"fast-forward-outline":{parent:"fast-forward-filled"},"field-binary":{parent:"field-binary-outlined"},"field-number":{parent:"field-number-outlined"},"field-string":{parent:"field-string-outlined"},"field-time":{parent:"field-time-outlined"},file:{parent:"file-outlined"},"file-add":{parent:"file-add-outlined"},"file-add-fill":{parent:"file-add-filled"},"file-add-outline":{parent:"file-add-outlined"},"file-done":{parent:"file-done-outlined"},"file-done-outline":{parent:"file-done-outlined"},"file-excel":{parent:"file-excel-outlined"},"file-excel-fill":{parent:"file-excel-filled"},"file-excel-outline":{parent:"file-excel-outlined"},"file-exclamation":{parent:"file-exclamation-outlined"},"file-exclamation-fill":{parent:"file-exclamation-filled"},"file-exclamation-outline":{parent:"file-exclamation-outlined"},"file-fill":{parent:"file-filled"},"file-gif":{parent:"file-gif-outlined"},"file-image":{parent:"file-image-outlined"},"file-image-fill":{parent:"file-image-filled"},"file-image-outline":{parent:"file-image-outlined"},"file-jpg":{parent:"file-jpg-outlined"},"file-jpg-outline":{parent:"file-jpg-outlined"},"file-markdown":{parent:"file-markdown-outlined"},"file-markdown-fill":{parent:"file-markdown-filled"},"file-markdown-outline":{parent:"file-markdown-outlined"},"file-outline":{parent:"file-outlined"},"file-pdf":{parent:"file-pdf-outlined"},"file-pdf-fill":{parent:"file-pdf-filled"},"file-pdf-outline":{parent:"file-pdf-outlined"},"file-ppt":{parent:"file-ppt-outlined"},"file-ppt-fill":{parent:"file-ppt-filled"},"file-ppt-outline":{parent:"file-ppt-outlined"},"file-protect":{parent:"file-protect-outlined"},"file-protect-outline":{parent:"file-protect-outlined"},"file-search":{parent:"file-search-outlined"},"file-search-outline":{parent:"file-search-outlined"},"file-sync":{parent:"file-sync-outlined"},"file-sync-outline":{parent:"file-sync-outlined"},"file-text":{parent:"file-text-outlined"},"file-text-fill":{parent:"file-text-filled"},"file-text-outline":{parent:"file-text-outlined"},"file-unknown":{parent:"file-unknown-outlined"},"file-unknown-fill":{parent:"file-unknown-filled"},"file-unknown-outline":{parent:"file-unknown-outlined"},"file-word":{parent:"file-word-outlined"},"file-word-fill":{parent:"file-word-filled"},"file-word-outline":{parent:"file-word-outlined"},"file-zip":{parent:"file-zip-outlined"},"file-zip-fill":{parent:"file-zip-filled"},"file-zip-outline":{parent:"file-zip-outlined"},filter:{parent:"filter-outlined"},"filter-fill":{parent:"filter-filled"},"filter-outline":{parent:"filter-outlined"},fire:{parent:"fire-outlined"},"fire-fill":{parent:"fire-filled"},"fire-outline":{parent:"fire-outlined"},flag:{parent:"flag-outlined"},"flag-fill":{parent:"flag-filled"},"flag-outline":{parent:"flag-outlined"},folder:{parent:"folder-outlined"},"folder-add":{parent:"folder-add-outlined"},"folder-add-fill":{parent:"folder-add-filled"},"folder-add-outline":{parent:"folder-add-outlined"},"folder-fill":{parent:"folder-filled"},"folder-open":{parent:"folder-open-outlined"},"folder-open-fill":{parent:"folder-open-filled"},"folder-open-outline":{parent:"folder-open-outlined"},"folder-outline":{parent:"folder-outlined"},"folder-view":{parent:"folder-view-outlined"},"font-colors":{parent:"font-colors-outlined"},"font-colors-outline":{parent:"font-colors-outlined"},"font-size":{parent:"font-size-outlined"},"font-size-outline":{parent:"font-size-outlined"},fork:{parent:"fork-outlined"},"fork-outline":{parent:"fork-outlined"},form:{parent:"form-outlined"},"form-outline":{parent:"form-outlined"},"format-painter":{parent:"format-painter-outlined"},forward:{parent:"forward-filled"},"forward-fill":{parent:"forward-filled"},"forward-outline":{parent:"forward-filled"},frown:{parent:"frown-outlined"},"frown-fill":{parent:"frown-filled"},"frown-outline":{parent:"frown-outlined"},fullscreen:{parent:"fullscreen-outlined"},"fullscreen-exit":{parent:"fullscreen-exit-outlined"},"fullscreen-exit-outline":{parent:"fullscreen-exit-outlined"},"fullscreen-outline":{parent:"fullscreen-outlined"},function:{parent:"function-outlined"},fund:{parent:"fund-outlined"},"fund-fill":{parent:"fund-filled"},"fund-outline":{parent:"fund-outlined"},"fund-projection-screen":{parent:"fund-projection-screen-outlined"},"fund-view":{parent:"fund-view-outlined"},"funnel-plot":{parent:"funnel-plot-outlined"},"funnel-plot-fill":{parent:"funnel-plot-filled"},"funnel-plot-outline":{parent:"funnel-plot-outlined"},gateway:{parent:"gateway-outlined"},"gateway-outline":{parent:"gateway-outlined"},gif:{parent:"gif-outlined"},gift:{parent:"gift-outlined"},"gift-fill":{parent:"gift-filled"},"gift-outline":{parent:"gift-outlined"},github:{parent:"github-filled"},"github-fill":{parent:"github-filled"},"github-outline":{parent:"github-filled"},gitlab:{parent:"gitlab-outlined"},"gitlab-fill":{parent:"gitlab-filled"},"gitlab-outline":{parent:"gitlab-outlined"},global:{parent:"global-outlined"},"global-outline":{parent:"global-outlined"},gold:{parent:"gold-outlined"},"gold-outline":{parent:"gold-outlined"},golden:{parent:"gold-filled"},"golden-fill":{parent:"gold-filled"},google:{parent:"google-outlined"},"google-circle":{parent:"google-circle-filled"},"google-circle-fill":{parent:"google-circle-filled"},"google-outline":{parent:"google-outlined"},"google-plus":{parent:"google-plus-outlined"},"google-plus-circle":{parent:"google-plus-circle-filled"},"google-plus-circle-fill":{parent:"google-plus-circle-filled"},"google-plus-outline":{parent:"google-plus-outlined"},"google-plus-square":{parent:"google-plus-square-filled"},"google-plus-square-fill":{parent:"google-plus-square-filled"},"google-square":{parent:"google-square-filled"},"google-square-fill":{parent:"google-square-filled"},group:{parent:"group-outlined"},hdd:{parent:"hdd-outlined"},"hdd-fill":{parent:"hdd-filled"},"hdd-outline":{parent:"hdd-outlined"},heart:{parent:"heart-outlined"},"heart-fill":{parent:"heart-filled"},"heart-outline":{parent:"heart-outlined"},"heat-map":{parent:"heat-map-outlined"},"heat-map-outline":{parent:"heat-map-outlined"},highlight:{parent:"highlight-outlined"},"highlight-fill":{parent:"highlight-filled"},"highlight-outline":{parent:"highlight-outlined"},history:{parent:"history-outlined"},"history-outline":{parent:"history-outlined"},home:{parent:"home-outlined"},"home-fill":{parent:"home-filled"},"home-outline":{parent:"home-outlined"},hourglass:{parent:"hourglass-outlined"},"hourglass-fill":{parent:"hourglass-filled"},"hourglass-outline":{parent:"hourglass-outlined"},html5:{parent:"html5-outlined"},"html5-fill":{parent:"html5-filled"},"html5-outline":{parent:"html5-outlined"},idcard:{parent:"idcard-outlined"},"idcard-fill":{parent:"idcard-filled"},"idcard-outline":{parent:"idcard-outlined"},ie:{parent:"ie-outlined"},"ie-circle":{parent:"ie-circle-filled"},"ie-circle-fill":{parent:"ie-circle-filled"},"ie-outline":{parent:"ie-outlined"},"ie-square":{parent:"ie-square-filled"},"ie-square-fill":{parent:"ie-square-filled"},import:{parent:"import-outlined"},"import-outline":{parent:"import-outlined"},inbox:{parent:"inbox-outlined"},"inbox-outline":{parent:"inbox-outlined"},info:{parent:"info-outlined"},"info-circle":{parent:"info-circle-outlined"},"info-circle-fill":{parent:"info-circle-filled"},"info-circle-outline":{parent:"info-circle-outlined"},"info-outline":{parent:"info-outlined"},"insert-row-above":{parent:"insert-row-above-outlined"},"insert-row-below":{parent:"insert-row-below-outlined"},"insert-row-left":{parent:"insert-row-left-outlined"},"insert-row-right":{parent:"insert-row-right-outlined"},instagram:{parent:"instagram-outlined"},"instagram-fill":{parent:"instagram-filled"},"instagram-outline":{parent:"instagram-outlined"},insurance:{parent:"insurance-outlined"},"insurance-fill":{parent:"insurance-filled"},"insurance-outline":{parent:"insurance-outlined"},interaction:{parent:"interaction-outlined"},"interaction-fill":{parent:"interaction-filled"},"interaction-outline":{parent:"interaction-outlined"},interation:{parent:"interaction-filled"},"interation-fill":{parent:"interaction-filled"},"interation-outline":{parent:"interaction-outlined"},"interation-twotone":{parent:"interaction-twotone"},"issues-close":{parent:"issues-close-outlined"},"issues-close-outline":{parent:"issues-close-outlined"},italic:{parent:"italic-outlined"},"italic-outline":{parent:"italic-outlined"},key:{parent:"key-outlined"},"key-outline":{parent:"key-outlined"},laptop:{parent:"laptop-outlined"},"laptop-outline":{parent:"laptop-outlined"},layout:{parent:"layout-outlined"},"layout-fill":{parent:"layout-filled"},"layout-outline":{parent:"layout-outlined"},left:{parent:"left-outlined"},"left-circle":{parent:"left-circle-outlined"},"left-circle-fill":{parent:"left-circle-filled"},"left-circle-outline":{parent:"left-circle-outlined"},"left-outline":{parent:"left-outlined"},"left-square":{parent:"left-square-outlined"},"left-square-fill":{parent:"left-square-filled"},"left-square-outline":{parent:"left-square-outlined"},like:{parent:"like-outlined"},"like-fill":{parent:"like-filled"},"like-outline":{parent:"like-outlined"},line:{parent:"line-outlined"},"line-chart":{parent:"line-chart-outlined"},"line-chart-outline":{parent:"line-chart-outlined"},"line-height":{parent:"line-height-outlined"},"line-height-outline":{parent:"line-height-outlined"},"line-outline":{parent:"line-outlined"},link:{parent:"link-outlined"},"link-outline":{parent:"link-outlined"},linkedin:{parent:"linkedin-outlined"},"linkedin-fill":{parent:"linkedin-filled"},"linkedin-outline":{parent:"linkedin-outlined"},loading:{parent:"loading-outlined"},"loading-3-quarters":{parent:"loading-3-quarters-outlined"},"loading-3-quarters-outline":{parent:"loading-3-quarters-outlined"},"loading-outline":{parent:"loading-outlined"},lock:{parent:"lock-outlined"},"lock-fill":{parent:"lock-filled"},"lock-outline":{parent:"lock-outlined"},login:{parent:"login-outlined"},"login-outline":{parent:"login-outlined"},logout:{parent:"logout-outlined"},"logout-outline":{parent:"logout-outlined"},"mac-command":{parent:"mac-command-outlined"},mail:{parent:"mail-outlined"},"mail-fill":{parent:"mail-filled"},"mail-outline":{parent:"mail-outlined"},man:{parent:"man-outlined"},"man-outline":{parent:"man-outlined"},"medicine-box":{parent:"medicine-box-outlined"},"medicine-box-fill":{parent:"medicine-box-filled"},"medicine-box-outline":{parent:"medicine-box-outlined"},medium:{parent:"medium-outlined"},"medium-circle":{parent:"medium-circle-filled"},"medium-circle-fill":{parent:"medium-circle-filled"},"medium-outline":{parent:"medium-outlined"},"medium-square":{parent:"medium-square-filled"},"medium-square-fill":{parent:"medium-square-filled"},"medium-workmark":{parent:"medium-workmark-outlined"},"medium-workmark-outline":{parent:"medium-workmark-outlined"},meh:{parent:"meh-outlined"},"meh-fill":{parent:"meh-filled"},"meh-outline":{parent:"meh-outlined"},menu:{parent:"menu-outlined"},"menu-fold":{parent:"menu-fold-outlined"},"menu-fold-outline":{parent:"menu-fold-outlined"},"menu-outline":{parent:"menu-outlined"},"menu-unfold":{parent:"menu-unfold-outlined"},"menu-unfold-outline":{parent:"menu-unfold-outlined"},"merge-cells":{parent:"merge-cells-outlined"},message:{parent:"message-outlined"},"message-fill":{parent:"message-filled"},"message-outline":{parent:"message-outlined"},minus:{parent:"minus-outlined"},"minus-circle":{parent:"minus-circle-outlined"},"minus-circle-fill":{parent:"minus-circle-filled"},"minus-circle-outline":{parent:"minus-circle-outlined"},"minus-outline":{parent:"minus-outlined"},"minus-square":{parent:"minus-square-outlined"},"minus-square-fill":{parent:"minus-square-filled"},"minus-square-outline":{parent:"minus-square-outlined"},mobile:{parent:"mobile-outlined"},"mobile-fill":{parent:"mobile-filled"},"mobile-outline":{parent:"mobile-outlined"},"money-collect":{parent:"money-collect-outlined"},"money-collect-fill":{parent:"money-collect-filled"},"money-collect-outline":{parent:"money-collect-outlined"},monitor:{parent:"monitor-outlined"},"monitor-outline":{parent:"monitor-outlined"},more:{parent:"more-outlined"},"more-outline":{parent:"more-outlined"},"mr-outline":{parent:"pull-request-outlined"},"node-collapse":{parent:"node-collapse-outlined"},"node-expand":{parent:"node-expand-outlined"},"node-index":{parent:"node-index-outlined"},notification:{parent:"notification-outlined"},"notification-fill":{parent:"notification-filled"},"notification-outline":{parent:"notification-outlined"},number:{parent:"number-outlined"},"number-outline":{parent:"number-outlined"},"one-to-one":{parent:"one-to-one-outlined"},"ordered-list":{parent:"ordered-list-outlined"},"ordered-list-outline":{parent:"ordered-list-outlined"},"paper-clip":{parent:"paper-clip-outlined"},"paper-clip-outline":{parent:"paper-clip-outlined"},partition:{parent:"partition-outlined"},pause:{parent:"pause-outlined"},"pause-circle":{parent:"pause-circle-outlined"},"pause-circle-fill":{parent:"pause-circle-filled"},"pause-circle-outline":{parent:"pause-circle-outlined"},"pause-outline":{parent:"pause-outlined"},"pay-circle":{parent:"pay-circle-outlined"},"pay-circle-fill":{parent:"pay-circle-filled"},"pay-circle-outline":{parent:"pay-circle-outlined"},percentage:{parent:"percentage-outlined"},"percentage-outline":{parent:"percentage-outlined"},phone:{parent:"phone-outlined"},"phone-fill":{parent:"phone-filled"},"phone-outline":{parent:"phone-outlined"},"pic-center":{parent:"pic-center-outlined"},"pic-center-outline":{parent:"pic-center-outlined"},"pic-left":{parent:"pic-left-outlined"},"pic-left-outline":{parent:"pic-left-outlined"},"pic-right":{parent:"pic-right-outlined"},"pic-right-outline":{parent:"pic-right-outlined"},picture:{parent:"picture-outlined"},"picture-fill":{parent:"picture-filled"},"picture-outline":{parent:"picture-outlined"},"pie-chart":{parent:"pie-chart-outlined"},"pie-chart-fill":{parent:"pie-chart-filled"},"pie-chart-outline":{parent:"pie-chart-outlined"},"play-circle":{parent:"play-circle-outlined"},"play-circle-fill":{parent:"play-circle-filled"},"play-circle-outline":{parent:"play-circle-outlined"},"play-square":{parent:"play-square-outlined"},"play-square-fill":{parent:"play-square-filled"},"play-square-outline":{parent:"play-square-outlined"},plus:{parent:"plus-outlined"},"plus-circle":{parent:"plus-circle-outlined"},"plus-circle-fill":{parent:"plus-circle-filled"},"plus-circle-outline":{parent:"plus-circle-outlined"},"plus-outline":{parent:"plus-outlined"},"plus-square":{parent:"plus-square-outlined"},"plus-square-fill":{parent:"plus-square-filled"},"plus-square-outline":{parent:"plus-square-outlined"},pound:{parent:"pound-circle-outlined"},"pound-circle":{parent:"pound-circle-outlined"},"pound-circle-fill":{parent:"pound-circle-filled"},"pound-outline":{parent:"pound-circle-outlined"},poweroff:{parent:"poweroff-outlined"},"poweroff-outline":{parent:"poweroff-outlined"},printer:{parent:"printer-outlined"},"printer-fill":{parent:"printer-filled"},"printer-outline":{parent:"printer-outlined"},profile:{parent:"profile-outlined"},"profile-fill":{parent:"profile-filled"},"profile-outline":{parent:"profile-outlined"},project:{parent:"project-outlined"},"project-fill":{parent:"project-filled"},"project-outline":{parent:"project-outlined"},"property-safety":{parent:"property-safety-outlined"},"property-safety-fill":{parent:"property-safety-filled"},"property-safety-outline":{parent:"property-safety-outlined"},"pull-request":{parent:"pull-request-outlined"},"pull-request-outline":{parent:"pull-request-outlined"},pushpin:{parent:"pushpin-outlined"},"pushpin-fill":{parent:"pushpin-filled"},"pushpin-outline":{parent:"pushpin-outlined"},qq:{parent:"qq-outlined"},"qq-circle":{parent:"qq-circle-filled"},"qq-circle-fill":{parent:"qq-circle-filled"},"qq-outline":{parent:"qq-outlined"},"qq-square":{parent:"qq-square-filled"},"qq-square-fill":{parent:"qq-square-filled"},qrcode:{parent:"qrcode-outlined"},"qrcode-outline":{parent:"qrcode-outlined"},question:{parent:"question-outlined"},"question-circle":{parent:"question-circle-outlined"},"question-circle-fill":{parent:"question-circle-filled"},"question-circle-outline":{parent:"question-circle-outlined"},"question-outline":{parent:"question-outlined"},"radar-chart":{parent:"radar-chart-outlined"},"radar-chart-outline":{parent:"radar-chart-outlined"},"radius-bottomleft":{parent:"radius-bottomleft-outlined"},"radius-bottomleft-outline":{parent:"radius-bottomleft-outlined"},"radius-bottomright":{parent:"radius-bottomright-outlined"},"radius-bottomright-outline":{parent:"radius-bottomright-outlined"},"radius-setting":{parent:"radius-setting-outlined"},"radius-setting-outline":{parent:"radius-setting-outlined"},"radius-upleft":{parent:"radius-upleft-outlined"},"radius-upleft-outline":{parent:"radius-upleft-outlined"},"radius-upright":{parent:"radius-upright-outlined"},"radius-upright-outline":{parent:"radius-upright-outlined"},read:{parent:"read-outlined"},"read-fill":{parent:"read-filled"},"read-outline":{parent:"read-outlined"},reconciliation:{parent:"reconciliation-outlined"},"reconciliation-fill":{parent:"reconciliation-filled"},"reconciliation-outline":{parent:"reconciliation-outlined"},"red-envelope":{parent:"red-envelope-outlined"},"red-envelope-fill":{parent:"red-envelope-filled"},"red-envelope-outline":{parent:"red-envelope-outlined"},reddit:{parent:"reddit-outlined"},"reddit-circle":{parent:"reddit-circle-filled"},"reddit-circle-fill":{parent:"reddit-circle-filled"},"reddit-outline":{parent:"reddit-outlined"},"reddit-square":{parent:"reddit-square-filled"},"reddit-square-fill":{parent:"reddit-square-filled"},redo:{parent:"redo-outlined"},"redo-outline":{parent:"redo-outlined"},reload:{parent:"reload-outlined"},"reload-outline":{parent:"reload-outlined"},"reload-time-outline":{parent:"history-outlined"},rest:{parent:"rest-outlined"},"rest-fill":{parent:"rest-filled"},"rest-outline":{parent:"rest-outlined"},retweet:{parent:"retweet-outlined"},"retweet-outline":{parent:"retweet-outlined"},right:{parent:"right-outlined"},"right-circle":{parent:"right-circle-outlined"},"right-circle-fill":{parent:"right-circle-filled"},"right-circle-outline":{parent:"right-circle-outlined"},"right-outline":{parent:"right-outlined"},"right-square":{parent:"right-square-outlined"},"right-square-fill":{parent:"right-square-filled"},"right-square-outline":{parent:"right-square-outlined"},rise:{parent:"rise-outlined"},"rise-outline":{parent:"rise-outlined"},robot:{parent:"robot-outlined"},"robot-outline":{parent:"robot-outlined"},rocket:{parent:"rocket-outlined"},"rocket-fill":{parent:"rocket-filled"},"rocket-outline":{parent:"rocket-outlined"},rollback:{parent:"rollback-outlined"},"rollback-outline":{parent:"rollback-outlined"},"rotate-left":{parent:"rotate-left-outlined"},"rotate-right":{parent:"rotate-right-outlined"},safety:{parent:"safety-outlined"},"safety-certificate":{parent:"safety-certificate-outlined"},"safety-certificate-fill":{parent:"safety-certificate-filled"},"safety-certificate-outline":{parent:"safety-certificate-outlined"},"safety-outline":{parent:"safety-outlined"},save:{parent:"save-outlined"},"save-fill":{parent:"save-filled"},"save-outline":{parent:"save-outlined"},scan:{parent:"scan-outlined"},"scan-outline":{parent:"scan-outlined"},schedule:{parent:"schedule-outlined"},"schedule-fill":{parent:"schedule-filled"},"schedule-outline":{parent:"schedule-outlined"},scissor:{parent:"scissor-outlined"},"scissor-outline":{parent:"scissor-outlined"},search:{parent:"search-outlined"},"search-outline":{parent:"search-outlined"},"security-scan":{parent:"security-scan-outlined"},"security-scan-fill":{parent:"security-scan-filled"},"security-scan-outline":{parent:"security-scan-outlined"},select:{parent:"select-outlined"},"select-outline":{parent:"select-outlined"},send:{parent:"send-outlined"},setting:{parent:"setting-outlined"},"setting-fill":{parent:"setting-filled"},"setting-outline":{parent:"setting-outlined"},shake:{parent:"shake-outlined"},"shake-outline":{parent:"shake-outlined"},"share-alt":{parent:"share-alt-outlined"},"share-alt-outline":{parent:"share-alt-outlined"},shop:{parent:"shop-outlined"},"shop-fill":{parent:"shop-filled"},"shop-outline":{parent:"shop-outlined"},shopping:{parent:"shopping-outlined"},"shopping-cart":{parent:"shopping-cart-outlined"},"shopping-cart-outline":{parent:"shopping-cart-outlined"},"shopping-fill":{parent:"shopping-filled"},"shopping-outline":{parent:"shopping-outlined"},shrink:{parent:"shrink-outlined"},"shrink-outline":{parent:"shrink-outlined"},signal:{parent:"signal-filled"},sisternode:{parent:"sisternode-outlined"},sketch:{parent:"sketch-outlined"},"sketch-circle":{parent:"sketch-circle-filled"},"sketch-circle-fill":{parent:"sketch-circle-filled"},"sketch-outline":{parent:"sketch-outlined"},"sketch-square":{parent:"sketch-square-filled"},"sketch-square-fill":{parent:"sketch-square-filled"},skin:{parent:"skin-outlined"},"skin-fill":{parent:"skin-filled"},"skin-outline":{parent:"skin-outlined"},skype:{parent:"skype-outlined"},"skype-fill":{parent:"skype-filled"},"skype-outline":{parent:"skype-outlined"},slack:{parent:"slack-outlined"},"slack-circle":{parent:"slack-circle-filled"},"slack-circle-fill":{parent:"slack-circle-filled"},"slack-outline":{parent:"slack-outlined"},"slack-square":{parent:"slack-square-filled"},"slack-square-fill":{parent:"slack-square-filled"},"slack-square-outline":{parent:"slack-square-filled"},sliders:{parent:"sliders-outlined"},"sliders-fill":{parent:"sliders-filled"},"sliders-outline":{parent:"sliders-outlined"},"small-dash":{parent:"small-dash-outlined"},"small-dash-outline":{parent:"small-dash-outlined"},smile:{parent:"smile-outlined"},"smile-fill":{parent:"smile-filled"},"smile-outline":{parent:"smile-outlined"},snippets:{parent:"snippets-outlined"},"snippets-fill":{parent:"snippets-filled"},"snippets-outline":{parent:"snippets-outlined"},solution:{parent:"solution-outlined"},"solution-outline":{parent:"solution-outlined"},"sort-ascending":{parent:"sort-ascending-outlined"},"sort-ascending-outline":{parent:"sort-ascending-outlined"},"sort-descending":{parent:"sort-descending-outlined"},"sort-descending-outline":{parent:"sort-descending-outlined"},sound:{parent:"sound-outlined"},"sound-fill":{parent:"sound-filled"},"sound-outline":{parent:"sound-outlined"},"split-cells":{parent:"split-cells-outlined"},star:{parent:"star-outlined"},"star-fill":{parent:"star-filled"},"star-outline":{parent:"star-outlined"},"step-backward":{parent:"step-backward-filled"},"step-backward-fill":{parent:"step-backward-filled"},"step-backward-outline":{parent:"step-backward-filled"},"step-forward":{parent:"step-forward-filled"},"step-forward-fill":{parent:"step-forward-filled"},"step-forward-outline":{parent:"step-forward-filled"},stock:{parent:"stock-outlined"},"stock-outline":{parent:"stock-outlined"},stop:{parent:"stop-outlined"},"stop-fill":{parent:"stop-filled"},"stop-outline":{parent:"stop-outlined"},strikethrough:{parent:"strikethrough-outlined"},"strikethrough-outline":{parent:"strikethrough-outlined"},subnode:{parent:"subnode-outlined"},swap:{parent:"swap-outlined"},"swap-left":{parent:"swap-left-outlined"},"swap-left-outline":{parent:"swap-left-outlined"},"swap-outline":{parent:"swap-outlined"},"swap-right":{parent:"swap-right-outlined"},"swap-right-outline":{parent:"swap-right-outlined"},switcher:{parent:"switcher-outlined"},"switcher-fill":{parent:"switcher-filled"},"switcher-outline":{parent:"switcher-outlined"},sync:{parent:"sync-outlined"},"sync-outline":{parent:"sync-outlined"},table:{parent:"table-outlined"},"table-outline":{parent:"table-outlined"},tablet:{parent:"tablet-outlined"},"tablet-fill":{parent:"tablet-filled"},"tablet-outline":{parent:"tablet-outlined"},tag:{parent:"tag-outlined"},"tag-fill":{parent:"tag-filled"},"tag-outline":{parent:"tag-outlined"},tags:{parent:"tags-outlined"},"tags-fill":{parent:"tags-filled"},"tags-outline":{parent:"tags-outlined"},taobao:{parent:"taobao-outlined"},"taobao-circle":{parent:"taobao-circle-filled"},"taobao-circle-fill":{parent:"taobao-circle-filled"},"taobao-circle-outline":{parent:"taobao-circle-filled"},"taobao-outline":{parent:"taobao-outlined"},"taobao-square":{parent:"taobao-square-filled"},"taobao-square-fill":{parent:"taobao-square-filled"},team:{parent:"team-outlined"},"team-outline":{parent:"team-outlined"},thunderbolt:{parent:"thunderbolt-outlined"},"thunderbolt-fill":{parent:"thunderbolt-filled"},"thunderbolt-outline":{parent:"thunderbolt-outlined"},"to-top":{parent:"to-top-outlined"},"to-top-outline":{parent:"to-top-outlined"},tool:{parent:"tool-outlined"},"tool-fill":{parent:"tool-filled"},"tool-outline":{parent:"tool-outlined"},trademark:{parent:"trademark-circle-outlined"},"trademark-circle":{parent:"trademark-circle-outlined"},"trademark-circle-fill":{parent:"trademark-circle-filled"},"trademark-outline":{parent:"trademark-circle-outlined"},transaction:{parent:"transaction-outlined"},"transaction-outline":{parent:"transaction-outlined"},translation:{parent:"translation-outlined"},trophy:{parent:"trophy-outlined"},"trophy-fill":{parent:"trophy-filled"},"trophy-outline":{parent:"trophy-outlined"},twitter:{parent:"twitter-outlined"},"twitter-circle":{parent:"twitter-circle-filled"},"twitter-circle-fill":{parent:"twitter-circle-filled"},"twitter-outline":{parent:"twitter-outlined"},"twitter-square":{parent:"twitter-square-filled"},"twitter-square-fill":{parent:"twitter-square-filled"},underline:{parent:"underline-outlined"},"underline-outline":{parent:"underline-outlined"},undo:{parent:"undo-outlined"},"undo-outline":{parent:"undo-outlined"},ungroup:{parent:"ungroup-outlined"},unlock:{parent:"unlock-outlined"},"unlock-fill":{parent:"unlock-filled"},"unlock-outline":{parent:"unlock-outlined"},"unordered-list":{parent:"bars-outlined"},"unordered-list-outline":{parent:"bars-outlined"},up:{parent:"up-outlined"},"up-circle":{parent:"up-circle-outlined"},"up-circle-fill":{parent:"up-circle-filled"},"up-circle-outline":{parent:"up-circle-outlined"},"up-outline":{parent:"up-outlined"},"up-square":{parent:"up-square-outlined"},"up-square-fill":{parent:"up-square-filled"},"up-square-outline":{parent:"up-square-outlined"},upload:{parent:"upload-outlined"},"upload-outline":{parent:"upload-outlined"},usb:{parent:"usb-outlined"},"usb-fill":{parent:"usb-filled"},"usb-outline":{parent:"usb-outlined"},user:{parent:"user-outlined"},"user-add":{parent:"user-add-outlined"},"user-add-outline":{parent:"user-add-outlined"},"user-delete":{parent:"user-delete-outlined"},"user-delete-outline":{parent:"user-delete-outlined"},"user-outline":{parent:"user-outlined"},"user-switch":{parent:"user-switch-outlined"},"usergroup-add":{parent:"usergroup-add-outlined"},"usergroup-add-outline":{parent:"usergroup-add-outlined"},"usergroup-delete":{parent:"usergroup-delete-outlined"},"usergroup-delete-outline":{parent:"usergroup-delete-outlined"},verified:{parent:"verified-outlined"},"vertical-align-bottom":{parent:"vertical-align-bottom-outlined"},"vertical-align-bottom-outline":{parent:"vertical-align-bottom-outlined"},"vertical-align-middle":{parent:"vertical-align-middle-outlined"},"vertical-align-middle-outline":{parent:"vertical-align-middle-outlined"},"vertical-align-top":{parent:"vertical-align-top-outlined"},"vertical-align-top-outline":{parent:"vertical-align-top-outlined"},"vertical-left":{parent:"vertical-left-outlined"},"vertical-left-outline":{parent:"vertical-left-outlined"},"vertical-right":{parent:"vertical-right-outlined"},"vertical-right-outline":{parent:"vertical-right-outlined"},"video-camera":{parent:"video-camera-outlined"},"video-camera-add":{parent:"video-camera-add-outlined"},"video-camera-fill":{parent:"video-camera-filled"},"video-camera-outline":{parent:"video-camera-outlined"},wallet:{parent:"wallet-outlined"},"wallet-fill":{parent:"wallet-filled"},"wallet-outline":{parent:"wallet-outlined"},warning:{parent:"warning-outlined"},"warning-fill":{parent:"warning-filled"},"warning-outline":{parent:"warning-outlined"},wechat:{parent:"wechat-filled"},"wechat-fill":{parent:"wechat-filled"},"wechat-outline":{parent:"wechat-filled"},weibo:{parent:"weibo-outlined"},"weibo-circle":{parent:"weibo-circle-filled"},"weibo-circle-fill":{parent:"weibo-circle-filled"},"weibo-circle-outline":{parent:"weibo-circle-filled"},"weibo-outline":{parent:"weibo-outlined"},"weibo-square":{parent:"weibo-square-filled"},"weibo-square-fill":{parent:"weibo-square-filled"},"weibo-square-outline":{parent:"weibo-square-filled"},"whats-app":{parent:"whats-app-outlined"},wifi:{parent:"wifi-outlined"},"wifi-outline":{parent:"wifi-outlined"},windows:{parent:"windows-outlined"},"windows-fill":{parent:"windows-filled"},"windows-outline":{parent:"windows-outlined"},woman:{parent:"woman-outlined"},"woman-outline":{parent:"woman-outlined"},yahoo:{parent:"yahoo-outlined"},"yahoo-fill":{parent:"yahoo-filled"},"yahoo-outline":{parent:"yahoo-outlined"},youtube:{parent:"youtube-outlined"},"youtube-fill":{parent:"youtube-filled"},"youtube-outline":{parent:"youtube-outlined"},yuque:{parent:"yuque-outlined"},"yuque-fill":{parent:"yuque-filled"},"yuque-outline":{parent:"yuque-outlined"},zhihu:{parent:"zhihu-outlined"},"zhihu-circle":{parent:"zhihu-circle-filled"},"zhihu-circle-fill":{parent:"zhihu-circle-filled"},"zhihu-outline":{parent:"zhihu-outlined"},"zhihu-square":{parent:"zhihu-square-filled"},"zhihu-square-fill":{parent:"zhihu-square-filled"},"zoom-in":{parent:"zoom-in-outlined"},"zoom-in-outline":{parent:"zoom-in-outlined"},"zoom-out":{parent:"zoom-out-outlined"},"zoom-out-outline":{parent:"zoom-out-outlined"}},rM=1706858211,oM=1024,aM=1024,nM={prefix:eM,icons:tM,aliases:lM,lastModified:rM,width:oM,height:aM},iM={"Ant Design":nM,"Element Plus":cM},sM=()=>{Object.values(iM).forEach(c=>w9(c))},uM={prefix:{type:String,default:"svg-icon"},name:{type:String,required:!0},size:{type:[Number,String],default:16}},mb={value:{type:String},placeholder:String},hM=["xlink:href"],dM=S1({name:"SvgIcon",__name:"SvgIcon",props:uM,setup(c){const e=c,t=X(()=>`#${e.prefix}-${e.name}`),l=X(()=>{const{size:o}=e,r=`${o}`.replace("px","").concat("px");return{width:r,height:r}});return(o,r)=>(a1(),P1("svg",e2(o.$attrs,{class:"svg-icon",style:l.value,"aria-hidden":"true"}),[_1("use",{"xlink:href":t.value},null,8,hM)],16))}});let u3=[e6("/vue3-antdv-admin//iconfont.js")],Y7=Z7({scriptUrl:u3});const fM=S1({name:"IconFont",props:{type:{type:String,default:""},prefix:{type:String,default:"icon-"},color:{type:String,default:"unset"},size:{type:[Number,String],default:14},scriptUrl:{type:String,default:""}},setup(c,{attrs:e}){c.scriptUrl&&(u3=[...new Set(u3.concat(c.scriptUrl))],Y7=Z7({scriptUrl:u3}));const t=X(()=>{const{color:l,size:o}=c,r=h3(o)?parseFloat(o):o;return{color:l,fontSize:`${r}px`}});return()=>{const{type:l,prefix:o}=c;return l?h1(Y7,e2({type:l.startsWith(o)?l:`${o}${l}`},e,{style:c1(t)}),null):null}}}),Y4=S1({__name:"Icon",props:{type:{default:"iconify"},icon:{},color:{},size:{default:16}},setup(c){const e=c,t=St(),l=X(()=>{const{size:r,color:a}=e;let n=r;return h3(r)&&(n=parseInt(r,10)),{fontSize:`${n}px`,color:a,display:"inline-flex"}}),o=r=>{var n,i;const a=t.title;r.el&&a&&((i=(n=r.el).insertAdjacentHTML)==null||i.call(n,"afterbegin",`${a}`))};return(r,a)=>r.type==="svg"?(a1(),E1(dM,e2({key:0},{...r.$attrs,...e},{name:r.icon,class:"anticon"}),null,16,["name"])):r.type==="icon-font"?(a1(),E1(c1(fM),e2({key:1},{...r.$attrs,...e},{type:r.icon}),null,16,["type"])):(a1(),E1(c1(gy),e2({key:2},c1(ot)({...r.$attrs,...e},["size","color"]),{style:l.value,class:"anticon",onVnodeUpdated:o}),null,16,["style"]))}}),vM=c=>(rc("data-v-726e33bf"),c=c(),oc(),c),pM={class:"lock-box"},mM={class:"lock"},yM=vM(()=>_1("h6",{class:"tips"},"点击解锁",-1)),MM={class:"local-time"},bM={class:"time"},CM={class:"date"},HM={class:"computer-status"},gM={key:1,class:"login-box"},VM={class:"username"},LM={class:"flex justify-between w-full"},zM=S1({__name:"lockscreen-page",setup(c){const e=c6(),t=e4(),{month:l,day:o,hour:r,minute:a,week:n}=cd(),{online:i}=Zh(),s=At(),u=tc(),{battery:h,batteryStatus:p,calcDischargingTime:C}=ed(),H=Tt(()=>Math.random()>.49?R(()=>import("./huawei-charge-ikjv2-Ui.js"),__vite__mapDeps([95,2,1,3,96])):R(()=>import("./xiaomi-charge-Bz7nntXG.js"),__vite__mapDeps([97,2,1,3,98]))),m=Y(!e.lockPwd),M=Y(""),d=X(()=>e.lockPwd?"请输入锁屏密码或用户密码":"请输入锁屏密码(可选)"),f=async()=>{const $=M.value.trim();if($==="")return W2.warn("密码不能为空");if(e.verifyLockPwd($))V();else return W2.warn("密码错误,请重新输入")},g=()=>{m.value=!1,M.value=""},y=()=>{m.value=!1,e.setLock(!1)},z=()=>{const $=M.value.trim();e.setLockPwd($),g()},V=()=>{m.value=!1,e.setLock(!1)},_=()=>{m.value=!1,e.setLock(!1),t.clearLoginStatus(),s.replace({name:f2,query:{redirect:u.fullPath}})};return($,w)=>{const N=nt,U=L0("a-button");return a1(),P1("div",{class:v3([{unLockLogin:m.value},"lockscreen"]),onKeyup:w[2]||(w[2]=F=>m.value=!0),onMousedown:w[3]||(w[3]=M6(()=>{},["stop"])),onContextmenu:w[4]||(w[4]=M6(()=>{},["prevent"]))},[m.value?(a1(),P1("div",gM,[h1(c1(at),{size:80,src:c1(t).userInfo.avatar},{icon:V1(()=>[h1(c1(Y4),{icon:"ant-design:user-outlined",size:"50"})]),_:1},8,["src"]),_1("div",VM,P2(c1(t).userInfo.username),1),h1(N,{value:M.value,"onUpdate:value":w[1]||(w[1]=F=>M.value=F),autofocus:"",placeholder:d.value},null,8,["value","placeholder"]),_1("div",LM,[c1(e).lockPwd?(a1(),P1(U2,{key:0},[h1(U,{type:"link",size:"small",onClick:g},{default:V1(()=>[s4("返回")]),_:1}),h1(U,{type:"link",size:"small",onClick:_},{default:V1(()=>[s4("返回登录")]),_:1}),h1(U,{type:"link",size:"small",onClick:f},{default:V1(()=>[s4("进入系统")]),_:1})],64)):(a1(),P1(U2,{key:1},[h1(U,{type:"link",size:"small",onClick:y},{default:V1(()=>[s4("取消锁屏")]),_:1}),h1(U,{type:"link",size:"small",onClick:z},{default:V1(()=>[s4("确定锁屏")]),_:1})],64))])])):(a1(),P1(U2,{key:0},[_1("div",pM,[_1("div",mM,[_1("span",{class:"lock-icon",title:"解锁屏幕",onClick:w[0]||(w[0]=F=>m.value=!0)},[h1(c1(Y4),{icon:"ant-design:lock-outlined",size:"30"})])]),yM]),(a1(),E1(f3(c1(H)),{battery:c1(h),"battery-status":c1(p),"calc-discharging-time":c1(C)},null,8,["battery","battery-status","calc-discharging-time"])),_1("div",MM,[_1("div",bM,P2(c1(r))+":"+P2(c1(a)),1),_1("div",CM,P2(c1(l))+"月"+P2(c1(o))+"号,星期"+P2(c1(n)),1)]),_1("div",HM,[_1("span",{class:v3([{offline:!c1(i)},"network"])},[h1(c1(Y4),{icon:"ant-design:wifi-outlined",size:"30",class:"network"})],2),h1(c1(Y4),{icon:"ant-design:api-outlined",size:"30"})])],64))],34)}}}),_M=u6(zM,[["__scopeId","data-v-726e33bf"]]),wM=S1({__name:"index",setup(c){const e=c6(),t=X(()=>e.isLock),l=Y(!1);return S2(()=>{setTimeout(()=>{l.value=!0})}),(o,r)=>(a1(),E1(kt,{name:"slide-up"},{default:V1(()=>[t.value&&l.value&&o.$route.name!=c1(f2)?(a1(),E1(_M,{key:0})):k8("",!0)]),_:1}))}}),EM=u6(wM,[["__scopeId","data-v-29a5704b"]]),SM=S1({__name:"App",setup(c){return(e,t)=>{const l=L0("router-view"),o=qe;return a1(),E1(o,null,{default:V1(()=>[h1(l,null,{default:V1(({Component:r})=>[(a1(),E1(f3(r)))]),_:1}),h1(c1(EM))]),_:1})}}}),{defaultSeed:T8}=g0,X7={success:T8.colorSuccess,warning:T8.colorWarning,error:T8.colorError},AM=["default","primary","ghost","dashed","link","text"],TM=S1({name:"AButton",__name:"button",props:{...it(),type:{type:String},color:String},setup(c){const e=c,t=X(()=>Reflect.has(X7,e.type)),l=X(()=>e.type&&AM.includes(e.type)?e.type:e.color||t.value?"primary":"default"),o=X(()=>{const r=e.type;if(e.color||t.value)return{token:{colorPrimary:e.color||X7[r]}}});return(r,a)=>{const n=qe;return a1(),E1(n,{theme:o.value},{default:V1(()=>[h1(c1(st),e2({...r.$attrs,...e},{type:l.value}),Ot({_:2},[ac(r.$slots,(i,s)=>({name:s,fn:V1(()=>[D2(r.$slots,s)])}))]),1040,["type"])]),_:3},8,["theme"])}}});function kM(c){c.component("AButton",TM)}if(typeof window<"u"){let c=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||(t=document.createElementNS("http://www.w3.org/2000/svg","svg"),t.style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML=' + + + + + + +
+ + diff --git a/mockServiceWorker.js b/mockServiceWorker.js new file mode 100644 index 000000000..a2a607c3f --- /dev/null +++ b/mockServiceWorker.js @@ -0,0 +1,912 @@ +// ../../node_modules/.pnpm/outvariant@1.4.2/node_modules/outvariant/lib/index.mjs +var POSITIONALS_EXP = /(%?)(%([sdijo]))/g; +function serializePositional(positional, flag) { + switch (flag) { + case "s": + return positional; + case "d": + case "i": + return Number(positional); + case "j": + return JSON.stringify(positional); + case "o": { + if (typeof positional === "string") { + return positional; + } + const json = JSON.stringify(positional); + if (json === "{}" || json === "[]" || /^\[object .+?\]$/.test(json)) { + return positional; + } + return json; + } + } +} +function format(message, ...positionals) { + if (positionals.length === 0) { + return message; + } + let positionalIndex = 0; + let formattedMessage = message.replace( + POSITIONALS_EXP, + (match2, isEscaped, _, flag) => { + const positional = positionals[positionalIndex]; + const value = serializePositional(positional, flag); + if (!isEscaped) { + positionalIndex++; + return value; + } + return match2; + } + ); + if (positionalIndex < positionals.length) { + formattedMessage += ` ${positionals.slice(positionalIndex).join(" ")}`; + } + formattedMessage = formattedMessage.replace(/%{2,2}/g, "%"); + return formattedMessage; +} +var STACK_FRAMES_TO_IGNORE = 2; +function cleanErrorStack(error2) { + if (!error2.stack) { + return; + } + const nextStack = error2.stack.split("\n"); + nextStack.splice(1, STACK_FRAMES_TO_IGNORE); + error2.stack = nextStack.join("\n"); +} +var InvariantError = class extends Error { + constructor(message, ...positionals) { + super(message); + this.message = message; + this.name = "Invariant Violation"; + this.message = format(message, ...positionals); + cleanErrorStack(this); + } +}; +var invariant = (predicate, message, ...positionals) => { + if (!predicate) { + throw new InvariantError(message, ...positionals); + } +}; +invariant.as = (ErrorConstructor, predicate, message, ...positionals) => { + if (!predicate) { + const formatMessage2 = positionals.length === 0 ? message : format(message, positionals); + let error2; + try { + error2 = Reflect.construct(ErrorConstructor, [formatMessage2]); + } catch (err) { + error2 = ErrorConstructor(formatMessage2); + } + throw error2; + } +}; + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/internal/devUtils.mjs +var LIBRARY_PREFIX = "[MSW]"; +function formatMessage(message, ...positionals) { + const interpolatedMessage = format(message, ...positionals); + return `${LIBRARY_PREFIX} ${interpolatedMessage}`; +} +function warn(message, ...positionals) { + console.warn(formatMessage(message, ...positionals)); +} +function error(message, ...positionals) { + console.error(formatMessage(message, ...positionals)); +} +var devUtils = { + formatMessage, + warn, + error +}; + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/internal/checkGlobals.mjs +function checkGlobals() { + invariant( + typeof URL !== "undefined", + devUtils.formatMessage( + `Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".` + ) + ); +} + +// ../../node_modules/.pnpm/strict-event-emitter@0.5.1/node_modules/strict-event-emitter/lib/index.mjs +var MemoryLeakError = class extends Error { + constructor(emitter, type, count) { + super( + `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit` + ); + this.emitter = emitter; + this.type = type; + this.count = count; + this.name = "MaxListenersExceededWarning"; + } +}; +var _Emitter = class { + static listenerCount(emitter, eventName) { + return emitter.listenerCount(eventName); + } + constructor() { + this.events = /* @__PURE__ */ new Map(); + this.maxListeners = _Emitter.defaultMaxListeners; + this.hasWarnedAboutPotentialMemoryLeak = false; + } + _emitInternalEvent(internalEventName, eventName, listener) { + this.emit( + internalEventName, + ...[eventName, listener] + ); + } + _getListeners(eventName) { + return Array.prototype.concat.apply([], this.events.get(eventName)) || []; + } + _removeListener(listeners, listener) { + const index = listeners.indexOf(listener); + if (index > -1) { + listeners.splice(index, 1); + } + return []; + } + _wrapOnceListener(eventName, listener) { + const onceListener = (...data) => { + this.removeListener(eventName, onceListener); + return listener.apply(this, data); + }; + Object.defineProperty(onceListener, "name", { value: listener.name }); + return onceListener; + } + setMaxListeners(maxListeners) { + this.maxListeners = maxListeners; + return this; + } + /** + * Returns the current max listener value for the `Emitter` which is + * either set by `emitter.setMaxListeners(n)` or defaults to + * `Emitter.defaultMaxListeners`. + */ + getMaxListeners() { + return this.maxListeners; + } + /** + * Returns an array listing the events for which the emitter has registered listeners. + * The values in the array will be strings or Symbols. + */ + eventNames() { + return Array.from(this.events.keys()); + } + /** + * Synchronously calls each of the listeners registered for the event named `eventName`, + * in the order they were registered, passing the supplied arguments to each. + * Returns `true` if the event has listeners, `false` otherwise. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.emit('hello', 'John') + */ + emit(eventName, ...data) { + const listeners = this._getListeners(eventName); + listeners.forEach((listener) => { + listener.apply(this, data); + }); + return listeners.length > 0; + } + addListener(eventName, listener) { + this._emitInternalEvent("newListener", eventName, listener); + const nextListeners = this._getListeners(eventName).concat(listener); + this.events.set(eventName, nextListeners); + if (this.maxListeners > 0 && this.listenerCount(eventName) > this.maxListeners && !this.hasWarnedAboutPotentialMemoryLeak) { + this.hasWarnedAboutPotentialMemoryLeak = true; + const memoryLeakWarning = new MemoryLeakError( + this, + eventName, + this.listenerCount(eventName) + ); + console.warn(memoryLeakWarning); + } + return this; + } + on(eventName, listener) { + return this.addListener(eventName, listener); + } + once(eventName, listener) { + return this.addListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + prependListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + const nextListeners = [listener].concat(listeners); + this.events.set(eventName, nextListeners); + } else { + this.events.set(eventName, listeners.concat(listener)); + } + return this; + } + prependOnceListener(eventName, listener) { + return this.prependListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + removeListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + this._removeListener(listeners, listener); + this.events.set(eventName, listeners); + this._emitInternalEvent("removeListener", eventName, listener); + } + return this; + } + /** + * Alias for `emitter.removeListener()`. + * + * @example + * emitter.off('hello', listener) + */ + off(eventName, listener) { + return this.removeListener(eventName, listener); + } + removeAllListeners(eventName) { + if (eventName) { + this.events.delete(eventName); + } else { + this.events.clear(); + } + return this; + } + /** + * Returns a copy of the array of listeners for the event named `eventName`. + */ + listeners(eventName) { + return Array.from(this._getListeners(eventName)); + } + /** + * Returns the number of listeners listening to the event named `eventName`. + */ + listenerCount(eventName) { + return this._getListeners(eventName).length; + } + rawListeners(eventName) { + return this.listeners(eventName); + } +}; +var Emitter = _Emitter; +Emitter.defaultMaxListeners = 10; + +// ../../node_modules/.pnpm/path-to-regexp@6.2.1/node_modules/path-to-regexp/dist.es2015/index.js +function lexer(str) { + var tokens = []; + var i = 0; + while (i < str.length) { + var char = str[i]; + if (char === "*" || char === "+" || char === "?") { + tokens.push({ type: "MODIFIER", index: i, value: str[i++] }); + continue; + } + if (char === "\\") { + tokens.push({ type: "ESCAPED_CHAR", index: i++, value: str[i++] }); + continue; + } + if (char === "{") { + tokens.push({ type: "OPEN", index: i, value: str[i++] }); + continue; + } + if (char === "}") { + tokens.push({ type: "CLOSE", index: i, value: str[i++] }); + continue; + } + if (char === ":") { + var name = ""; + var j = i + 1; + while (j < str.length) { + var code = str.charCodeAt(j); + if ( + // `0-9` + code >= 48 && code <= 57 || // `A-Z` + code >= 65 && code <= 90 || // `a-z` + code >= 97 && code <= 122 || // `_` + code === 95 + ) { + name += str[j++]; + continue; + } + break; + } + if (!name) + throw new TypeError("Missing parameter name at ".concat(i)); + tokens.push({ type: "NAME", index: i, value: name }); + i = j; + continue; + } + if (char === "(") { + var count = 1; + var pattern = ""; + var j = i + 1; + if (str[j] === "?") { + throw new TypeError('Pattern cannot start with "?" at '.concat(j)); + } + while (j < str.length) { + if (str[j] === "\\") { + pattern += str[j++] + str[j++]; + continue; + } + if (str[j] === ")") { + count--; + if (count === 0) { + j++; + break; + } + } else if (str[j] === "(") { + count++; + if (str[j + 1] !== "?") { + throw new TypeError("Capturing groups are not allowed at ".concat(j)); + } + } + pattern += str[j++]; + } + if (count) + throw new TypeError("Unbalanced pattern at ".concat(i)); + if (!pattern) + throw new TypeError("Missing pattern at ".concat(i)); + tokens.push({ type: "PATTERN", index: i, value: pattern }); + i = j; + continue; + } + tokens.push({ type: "CHAR", index: i, value: str[i++] }); + } + tokens.push({ type: "END", index: i, value: "" }); + return tokens; +} +function parse(str, options) { + if (options === void 0) { + options = {}; + } + var tokens = lexer(str); + var _a = options.prefixes, prefixes = _a === void 0 ? "./" : _a; + var defaultPattern = "[^".concat(escapeString(options.delimiter || "/#?"), "]+?"); + var result = []; + var key = 0; + var i = 0; + var path = ""; + var tryConsume = function(type) { + if (i < tokens.length && tokens[i].type === type) + return tokens[i++].value; + }; + var mustConsume = function(type) { + var value2 = tryConsume(type); + if (value2 !== void 0) + return value2; + var _a2 = tokens[i], nextType = _a2.type, index = _a2.index; + throw new TypeError("Unexpected ".concat(nextType, " at ").concat(index, ", expected ").concat(type)); + }; + var consumeText = function() { + var result2 = ""; + var value2; + while (value2 = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) { + result2 += value2; + } + return result2; + }; + while (i < tokens.length) { + var char = tryConsume("CHAR"); + var name = tryConsume("NAME"); + var pattern = tryConsume("PATTERN"); + if (name || pattern) { + var prefix = char || ""; + if (prefixes.indexOf(prefix) === -1) { + path += prefix; + prefix = ""; + } + if (path) { + result.push(path); + path = ""; + } + result.push({ + name: name || key++, + prefix, + suffix: "", + pattern: pattern || defaultPattern, + modifier: tryConsume("MODIFIER") || "" + }); + continue; + } + var value = char || tryConsume("ESCAPED_CHAR"); + if (value) { + path += value; + continue; + } + if (path) { + result.push(path); + path = ""; + } + var open = tryConsume("OPEN"); + if (open) { + var prefix = consumeText(); + var name_1 = tryConsume("NAME") || ""; + var pattern_1 = tryConsume("PATTERN") || ""; + var suffix = consumeText(); + mustConsume("CLOSE"); + result.push({ + name: name_1 || (pattern_1 ? key++ : ""), + pattern: name_1 && !pattern_1 ? defaultPattern : pattern_1, + prefix, + suffix, + modifier: tryConsume("MODIFIER") || "" + }); + continue; + } + mustConsume("END"); + } + return result; +} +function match(str, options) { + var keys = []; + var re = pathToRegexp(str, keys, options); + return regexpToFunction(re, keys, options); +} +function regexpToFunction(re, keys, options) { + if (options === void 0) { + options = {}; + } + var _a = options.decode, decode = _a === void 0 ? function(x) { + return x; + } : _a; + return function(pathname) { + var m = re.exec(pathname); + if (!m) + return false; + var path = m[0], index = m.index; + var params = /* @__PURE__ */ Object.create(null); + var _loop_1 = function(i2) { + if (m[i2] === void 0) + return "continue"; + var key = keys[i2 - 1]; + if (key.modifier === "*" || key.modifier === "+") { + params[key.name] = m[i2].split(key.prefix + key.suffix).map(function(value) { + return decode(value, key); + }); + } else { + params[key.name] = decode(m[i2], key); + } + }; + for (var i = 1; i < m.length; i++) { + _loop_1(i); + } + return { path, index, params }; + }; +} +function escapeString(str) { + return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); +} +function flags(options) { + return options && options.sensitive ? "" : "i"; +} +function regexpToRegexp(path, keys) { + if (!keys) + return path; + var groupsRegex = /\((?:\?<(.*?)>)?(?!\?)/g; + var index = 0; + var execResult = groupsRegex.exec(path.source); + while (execResult) { + keys.push({ + // Use parenthesized substring match if available, index otherwise + name: execResult[1] || index++, + prefix: "", + suffix: "", + modifier: "", + pattern: "" + }); + execResult = groupsRegex.exec(path.source); + } + return path; +} +function arrayToRegexp(paths, keys, options) { + var parts = paths.map(function(path) { + return pathToRegexp(path, keys, options).source; + }); + return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options)); +} +function stringToRegexp(path, keys, options) { + return tokensToRegexp(parse(path, options), keys, options); +} +function tokensToRegexp(tokens, keys, options) { + if (options === void 0) { + options = {}; + } + var _a = options.strict, strict = _a === void 0 ? false : _a, _b = options.start, start = _b === void 0 ? true : _b, _c = options.end, end = _c === void 0 ? true : _c, _d = options.encode, encode = _d === void 0 ? function(x) { + return x; + } : _d, _e = options.delimiter, delimiter = _e === void 0 ? "/#?" : _e, _f = options.endsWith, endsWith = _f === void 0 ? "" : _f; + var endsWithRe = "[".concat(escapeString(endsWith), "]|$"); + var delimiterRe = "[".concat(escapeString(delimiter), "]"); + var route = start ? "^" : ""; + for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) { + var token = tokens_1[_i]; + if (typeof token === "string") { + route += escapeString(encode(token)); + } else { + var prefix = escapeString(encode(token.prefix)); + var suffix = escapeString(encode(token.suffix)); + if (token.pattern) { + if (keys) + keys.push(token); + if (prefix || suffix) { + if (token.modifier === "+" || token.modifier === "*") { + var mod = token.modifier === "*" ? "?" : ""; + route += "(?:".concat(prefix, "((?:").concat(token.pattern, ")(?:").concat(suffix).concat(prefix, "(?:").concat(token.pattern, "))*)").concat(suffix, ")").concat(mod); + } else { + route += "(?:".concat(prefix, "(").concat(token.pattern, ")").concat(suffix, ")").concat(token.modifier); + } + } else { + if (token.modifier === "+" || token.modifier === "*") { + route += "((?:".concat(token.pattern, ")").concat(token.modifier, ")"); + } else { + route += "(".concat(token.pattern, ")").concat(token.modifier); + } + } + } else { + route += "(?:".concat(prefix).concat(suffix, ")").concat(token.modifier); + } + } + } + if (end) { + if (!strict) + route += "".concat(delimiterRe, "?"); + route += !options.endsWith ? "$" : "(?=".concat(endsWithRe, ")"); + } else { + var endToken = tokens[tokens.length - 1]; + var isEndDelimited = typeof endToken === "string" ? delimiterRe.indexOf(endToken[endToken.length - 1]) > -1 : endToken === void 0; + if (!strict) { + route += "(?:".concat(delimiterRe, "(?=").concat(endsWithRe, "))?"); + } + if (!isEndDelimited) { + route += "(?=".concat(delimiterRe, "|").concat(endsWithRe, ")"); + } + } + return new RegExp(route, flags(options)); +} +function pathToRegexp(path, keys, options) { + if (path instanceof RegExp) + return regexpToRegexp(path, keys); + if (Array.isArray(path)) + return arrayToRegexp(path, keys, options); + return stringToRegexp(path, keys, options); +} + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.26.15/node_modules/@mswjs/interceptors/lib/browser/chunk-UJZOJSMP.mjs +var encoder = new TextEncoder(); + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.26.15/node_modules/@mswjs/interceptors/lib/browser/chunk-HAGW22AN.mjs +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + +// ../../node_modules/.pnpm/is-node-process@1.2.0/node_modules/is-node-process/lib/index.mjs +function isNodeProcess() { + if (typeof navigator !== "undefined" && navigator.product === "ReactNative") { + return true; + } + if (typeof process !== "undefined") { + const type = process.type; + if (type === "renderer" || type === "worker") { + return false; + } + return !!(process.versions && process.versions.node); + } + return false; +} + +// ../../node_modules/.pnpm/@open-draft+logger@0.3.0/node_modules/@open-draft/logger/lib/index.mjs +var __defProp = Object.defineProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var colors_exports = {}; +__export(colors_exports, { + blue: () => blue, + gray: () => gray, + green: () => green, + red: () => red, + yellow: () => yellow +}); +function yellow(text) { + return `\x1B[33m${text}\x1B[0m`; +} +function blue(text) { + return `\x1B[34m${text}\x1B[0m`; +} +function gray(text) { + return `\x1B[90m${text}\x1B[0m`; +} +function red(text) { + return `\x1B[31m${text}\x1B[0m`; +} +function green(text) { + return `\x1B[32m${text}\x1B[0m`; +} +var IS_NODE = isNodeProcess(); + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.26.15/node_modules/@mswjs/interceptors/lib/browser/index.mjs +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/url/cleanUrl.mjs +var REDUNDANT_CHARACTERS_EXP = /[\?|#].*$/g; +function cleanUrl(path) { + return path.replace(REDUNDANT_CHARACTERS_EXP, ""); +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.mjs +function isAbsoluteUrl(url) { + return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url); +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.mjs +function getAbsoluteUrl(path, baseUrl) { + if (isAbsoluteUrl(path)) { + return path; + } + if (path.startsWith("*")) { + return path; + } + const origin = baseUrl || typeof document !== "undefined" && document.baseURI; + return origin ? ( + // Encode and decode the path to preserve escaped characters. + decodeURI(new URL(encodeURI(path), origin).href) + ) : path; +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/matching/normalizePath.mjs +function normalizePath(path, baseUrl) { + if (path instanceof RegExp) { + return path; + } + const maybeAbsoluteUrl = getAbsoluteUrl(path, baseUrl); + return cleanUrl(maybeAbsoluteUrl); +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/utils/matching/matchRequestUrl.mjs +function coercePath(path) { + return path.replace( + /([:a-zA-Z_-]*)(\*{1,2})+/g, + (_, parameterName, wildcard) => { + const expression = "(.*)"; + if (!parameterName) { + return expression; + } + return parameterName.startsWith(":") ? `${parameterName}${wildcard}` : `${parameterName}${expression}`; + } + ).replace(/([^\/])(:)(?=\d+)/, "$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/, "$1\\$2"); +} +function matchRequestUrl(url, path, baseUrl) { + const normalizedPath = normalizePath(path, baseUrl); + const cleanPath = typeof normalizedPath === "string" ? coercePath(normalizedPath) : normalizedPath; + const cleanUrl2 = getCleanUrl(url); + const result = match(cleanPath, { decode: decodeURIComponent })(cleanUrl2); + const params = result && result.params || {}; + return { + matches: result !== false, + params + }; +} + +// ../../node_modules/.pnpm/msw@2.2.13_typescript@5.4.3/node_modules/msw/lib/core/index.mjs +checkGlobals(); + +// src/utils/isMatchHandler.ts +var isStringEqual = (actual, expected) => { + return actual.toLowerCase() === expected.toLowerCase(); +}; +var matchMethod = (method, actualMethod) => { + return method instanceof RegExp ? method.test(actualMethod) : isStringEqual(method, actualMethod); +}; +var isMatchHandler = (request) => { + const url = new URL(request.url); + const mockHeaders = globalThis.mockHeaders || []; + return mockHeaders.some((n) => { + const [method, path] = n.split(" "); + const hasMatchingMethod = matchMethod(method, request.method); + const hasMatchingUrl = matchRequestUrl(url, path, url.origin).matches; + return hasMatchingMethod && hasMatchingUrl; + }); +}; + +// src/mockServiceWorker.js +var PACKAGE_VERSION = "2.2.13"; +var INTEGRITY_CHECKSUM = "26357c79639bfa20d64c0efca2a87423"; +var IS_MOCKED_RESPONSE = Symbol("isMockedResponse"); +var activeClientIds = /* @__PURE__ */ new Set(); +self.addEventListener("install", function() { + self.skipWaiting(); +}); +self.addEventListener("activate", function(event) { + event.waitUntil(self.clients.claim()); +}); +self.addEventListener("message", async function(event) { + if (event.data?.type === "updateMockHeaders") { + globalThis.mockHeaders = event.data.mockHeaders || []; + } + const clientId = event.source.id; + if (!clientId || !self.clients) { + return; + } + const client = await self.clients.get(clientId); + if (!client) { + return; + } + const allClients = await self.clients.matchAll({ + type: "window" + }); + switch (event.data) { + case "KEEPALIVE_REQUEST": { + sendToClient(client, { + type: "KEEPALIVE_RESPONSE" + }); + break; + } + case "INTEGRITY_CHECK_REQUEST": { + sendToClient(client, { + type: "INTEGRITY_CHECK_RESPONSE", + payload: { + packageVersion: PACKAGE_VERSION, + checksum: INTEGRITY_CHECKSUM + } + }); + break; + } + case "MOCK_ACTIVATE": { + activeClientIds.add(clientId); + sendToClient(client, { + type: "MOCKING_ENABLED", + payload: true + }); + break; + } + case "MOCK_DEACTIVATE": { + activeClientIds.delete(clientId); + break; + } + case "CLIENT_CLOSED": { + activeClientIds.delete(clientId); + const remainingClients = allClients.filter((client2) => { + return client2.id !== clientId; + }); + if (remainingClients.length === 0) { + self.registration.unregister(); + } + break; + } + } +}); +self.addEventListener("fetch", function(event) { + const { request } = event; + const isMockRequest = isMatchHandler(request); + if (isMockRequest === false) { + return; + } + if (request.mode === "navigate") { + return; + } + if (request.cache === "only-if-cached" && request.mode !== "same-origin") { + return; + } + if (activeClientIds.size === 0) { + return; + } + const requestId = crypto.randomUUID(); + event.respondWith(handleRequest(event, requestId)); +}); +async function handleRequest(event, requestId) { + const client = await resolveMainClient(event); + const response = await getResponse(event, client, requestId); + if (client && activeClientIds.has(client.id)) { + ; + (async function() { + const responseClone = response.clone(); + sendToClient( + client, + { + type: "RESPONSE", + payload: { + requestId, + isMockedResponse: IS_MOCKED_RESPONSE in response, + type: responseClone.type, + status: responseClone.status, + statusText: responseClone.statusText, + body: responseClone.body, + headers: Object.fromEntries(responseClone.headers.entries()) + } + }, + [responseClone.body] + ); + })(); + } + return response; +} +async function resolveMainClient(event) { + const client = await self.clients.get(event.clientId); + if (client?.frameType === "top-level") { + return client; + } + const allClients = await self.clients.matchAll({ + type: "window" + }); + return allClients.filter((client2) => { + return client2.visibilityState === "visible"; + }).find((client2) => { + return activeClientIds.has(client2.id); + }); +} +async function getResponse(event, client, requestId) { + const { request } = event; + const requestClone = request.clone(); + function passthrough() { + const headers = Object.fromEntries(requestClone.headers.entries()); + delete headers["x-msw-intention"]; + return fetch(requestClone, { headers }); + } + if (!client) { + return passthrough(); + } + if (!activeClientIds.has(client.id)) { + return passthrough(); + } + const requestBuffer = await request.arrayBuffer(); + const clientMessage = await sendToClient( + client, + { + type: "REQUEST", + payload: { + id: requestId, + url: request.url, + mode: request.mode, + method: request.method, + headers: Object.fromEntries(request.headers.entries()), + cache: request.cache, + credentials: request.credentials, + destination: request.destination, + integrity: request.integrity, + redirect: request.redirect, + referrer: request.referrer, + referrerPolicy: request.referrerPolicy, + body: requestBuffer, + keepalive: request.keepalive + } + }, + [requestBuffer] + ); + switch (clientMessage.type) { + case "MOCK_RESPONSE": { + return respondWithMock(clientMessage.data); + } + case "PASSTHROUGH": { + return passthrough(); + } + } + return passthrough(); +} +function sendToClient(client, message, transferrables = []) { + return new Promise((resolve, reject) => { + const channel = new MessageChannel(); + channel.port1.onmessage = (event) => { + if (event.data && event.data.error) { + return reject(event.data.error); + } + resolve(event.data); + }; + client.postMessage( + message, + [channel.port2].concat(transferrables.filter(Boolean)) + ); + }); +} +async function respondWithMock(response) { + if (response.status === 0) { + return Response.error(); + } + const mockedResponse = new Response(response.body, response); + Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, { + value: true, + enumerable: true + }); + return mockedResponse; +} diff --git a/tinymce-resource/skins/content/default/content.css b/tinymce-resource/skins/content/default/content.css new file mode 100644 index 000000000..751778739 --- /dev/null +++ b/tinymce-resource/skins/content/default/content.css @@ -0,0 +1,61 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #ccc; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce-resource/skins/content/default/content.js b/tinymce-resource/skins/content/default/content.js new file mode 100644 index 000000000..37724029d --- /dev/null +++ b/tinymce-resource/skins/content/default/content.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('content/default/content.css', "body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border=\"0\"]):not([style*=border-width]) td,table[border]:not([border=\"0\"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border=\"0\"]):not([style*=border-style]) td,table[border]:not([border=\"0\"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border=\"0\"]):not([style*=border-color]) td,table[border]:not([border=\"0\"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}") +//# sourceMappingURL=content.js.map diff --git a/tinymce-resource/skins/content/default/content.min.css b/tinymce-resource/skins/content/default/content.min.css new file mode 100644 index 000000000..54bb28d43 --- /dev/null +++ b/tinymce-resource/skins/content/default/content.min.css @@ -0,0 +1 @@ +body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce-resource/skins/ui/oxide-dark/content.css b/tinymce-resource/skins/ui/oxide-dark/content.css new file mode 100644 index 000000000..e078ac9f2 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.css @@ -0,0 +1,766 @@ +.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 { + cursor: default !important; + -webkit-user-select: none; + -moz-user-select: none; + user-select: 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], +.mce-content-body details[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 ul > li { + list-style-type: none; +} +[data-mce-block] { + display: block; +} +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-resource/skins/ui/oxide-dark/content.inline.css b/tinymce-resource/skins/ui/oxide-dark/content.inline.css new file mode 100644 index 000000000..f1fe35322 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.inline.css @@ -0,0 +1,779 @@ +.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 { + cursor: default !important; + -webkit-user-select: none; + -moz-user-select: none; + user-select: 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], +.mce-content-body details[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 ul > li { + list-style-type: none; +} +[data-mce-block] { + display: block; +} +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-resource/skins/ui/oxide-dark/content.inline.js b/tinymce-resource/skins/ui/oxide-dark/content.inline.js new file mode 100644 index 000000000..22fa386b7 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.inline.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/dark/content.inline.css', ".mce-content-body .mce-item-anchor{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A\"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected=\"2\"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected=\"2\"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A\") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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:'-'}") +//# sourceMappingURL=content.inline.js.map diff --git a/tinymce-resource/skins/ui/oxide-dark/content.inline.min.css b/tinymce-resource/skins/ui/oxide-dark/content.inline.min.css new file mode 100644 index 000000000..e272cc748 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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-resource/skins/ui/oxide-dark/content.js b/tinymce-resource/skins/ui/oxide-dark/content.js new file mode 100644 index 000000000..260cc8865 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/dark/content.css', ".mce-content-body .mce-item-anchor{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#282a36}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#6272a4}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#ff79c6}.token.boolean,.token.number{color:#bd93f9}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#50fa7b}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#f1fa8c}.token.keyword{color:#8be9fd}.token.important,.token.regex{color:#ffb86c}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A\"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected=\"2\"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.3)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.3);color:#006ce7}.mce-object{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected=\"2\"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A\") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #4099ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #4099ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #4099ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #4099ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #4099ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#4099ff}.mce-content-body .mce-edit-focus{outline:3px solid #4099ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid transparent;bottom:-1px;content:'';left:-1px;mix-blend-mode:lighten;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#4099ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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}") +//# sourceMappingURL=content.js.map diff --git a/tinymce-resource/skins/ui/oxide-dark/content.min.css b/tinymce-resource/skins/ui/oxide-dark/content.min.css new file mode 100644 index 000000000..75c0f8381 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#282a36}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#6272a4}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#ff79c6}.token.boolean,.token.number{color:#bd93f9}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#50fa7b}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#f1fa8c}.token.keyword{color:#8be9fd}.token.important,.token.regex{color:#ffb86c}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.3)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.3);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #4099ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #4099ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #4099ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #4099ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #4099ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#4099ff}.mce-content-body .mce-edit-focus{outline:3px solid #4099ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid transparent;bottom:-1px;content:'';left:-1px;mix-blend-mode:lighten;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#4099ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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-resource/skins/ui/oxide-dark/skin.css b/tinymce-resource/skins/ui/oxide-dark/skin.css new file mode 100644 index 000000000..4b3920e6c --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.css @@ -0,0 +1,3766 @@ +.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-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 > div > div .tox-icon svg { + display: block; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 101, 216, 0.4); + color: #fff; +} +.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-button--naked.tox-button--icon { + background-color: #006ce7; + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus { + background-color: #0060ce; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active { + background-color: #0054b4; +} +.tox .tox-dialog__body-content .accessibility-issue--warn { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.5); + color: #fff; +} +.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-button--naked.tox-button--icon { + background-color: #FFE89D; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus { + background-color: #F2D574; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active { + background-color: #E8C657; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.5); + color: #fff; +} +.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-button--naked.tox-button--icon { + background-color: #F2BFBF; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus { + background-color: #E9A4A4; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active { + background-color: #EE9494; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.5); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + display: none; +} +.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__header .tox-form__group h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + font-size: 14px; + 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[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 .tox-advtemplate .tox-form__grid { + flex: 1; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child { + display: flex; + flex-direction: column; + width: 30%; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child > div:nth-child(2) { + flex-basis: 0; + flex-grow: 1; + overflow: auto; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid > div:first-child { + width: 100%; + } +} +.tox .tox-advtemplate iframe { + border-color: #161f29; + border-radius: 10px; + border-style: solid; + border-width: 1px; + margin: 0 10px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bottom-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.tox-button--enabled { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled[disabled] { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button.tox-button--enabled:focus:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:hover:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:active:not(:disabled) { + background-color: #003c81; + background-image: none; + border-color: #003c81; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon-and-text, +.tox .tox-button.tox-button--icon-and-text, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text { + display: flex; + padding: 5px 4px; +} +.tox .tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg { + display: block; + fill: currentColor; +} +.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--secondary.tox-button--enabled { + background-color: #2b5c93; + background-image: none; + border-color: #2b5c93; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary.tox-button--enabled[disabled] { + background-color: #2b5c93; + background-image: none; + border-color: #2b5c93; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled) { + background-color: #254f80; + background-image: none; + border-color: #254f80; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled) { + background-color: #254f80; + background-image: none; + border-color: #254f80; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled) { + background-color: #1f436c; + background-image: none; + border-color: #1f436c; + 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; + max-width: 100%; + 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-spectrum:focus, +.tox .tox-sv-palette-spectrum:focus { + outline: #08f solid; +} +.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 div.tox-swatch:not(.tox-swatch--remove) svg { + display: none; + fill: #fff; + height: 24px; + margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2); + width: 24px; +} +.tox div.tox-swatch:not(.tox-swatch--remove) svg path { + fill: #fff; + paint-order: stroke; + stroke: #222f3e; + stroke-width: 2px; +} +.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg { + display: block; +} +.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; + flex-shrink: 0; + padding: 16px 16px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-dialog__body-nav { + max-width: 11em; + } +} +@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; + flex-shrink: 0; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + max-width: 13em; + text-decoration: none; +} +.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 #67aeff; + color: #67aeff; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: min(650px, calc(100vh - 110px)); + 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: #67aeff; + cursor: pointer; + text-decoration: underline; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #cde5ff; + text-decoration: underline; +} +.tox .tox-dialog__body-content a:focus-visible { + border-radius: 1px; + outline: 2px solid #67aeff; + outline-offset: 2px; +} +.tox .tox-dialog__body-content a:active { + color: #ffffff; + text-decoration: underline; +} +.tox .tox-dialog__body-content svg { + fill: #fff; +} +.tox .tox-dialog__body-content strong { + font-weight: bold; +} +.tox .tox-dialog__body-content ul { + list-style-type: disc; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dd { + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl, +.tox .tox-dialog__body-content dd, +.tox .tox-dialog__body-content dt { + display: block; + margin-inline-end: 0; + margin-inline-start: 0; +} +.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__body-content .tox-form__group .tox-label.tox-label--center { + text-align: center; +} +.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end { + text-align: end; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--fullscreen { + height: 100%; + max-width: 100%; +} +.tox .tox-dialog--fullscreen .tox-dialog__body-content { + max-height: 100%; +} +.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 thead th:first-child { + padding-right: 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__table td:first-child { + padding-right: 8px; +} +.tox .tox-dialog__iframe { + min-height: 200px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-navobj-bordered { + position: relative; +} +.tox .tox-navobj-bordered::before { + border: 1px solid #161f29; + border-radius: 6px; + content: ''; + inset: 0; + opacity: 1; + pointer-events: none; + position: absolute; + z-index: 1; +} +.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before { + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.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::before { + border: 2px solid #FFFFFF; + border-radius: 4px; + content: ''; + inset: 0; + opacity: 0; + pointer-events: none; + position: absolute; + transition: opacity 0.15s; + z-index: 1; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-edit-focus .tox-edit-area::before { + opacity: 1; +} +.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: 2; +} +.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; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition) { + 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.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty { + background: none; + border: none; + box-shadow: none; + padding: 0; +} +.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, +.tox .tox-textarea-wrap .tox-textarea:focus { + -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-wrap:focus-within, +.tox .tox-textarea:focus, +.tox .tox-custom-editor:focus-within { + 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-wrap { + border-color: #161f29; + border-radius: 6px; + border-style: solid; + border-width: 1px; + display: flex; + flex: 1; + overflow: hidden; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox .tox-textarea-wrap .tox-textarea { + border: none; +} +.tox .tox-textarea-wrap .tox-textarea:focus { + border: none; +} +.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-dialog__popups .tox-menu .tox-collection__item-label { + word-break: break-all; + } +} +.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__path { + display: flex; + flex: 1 1 auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__right-container { + display: flex; + justify-content: flex-end; + white-space: nowrap; +} +.tox .tox-statusbar__help-text { + text-align: center; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: space-between; + overflow: hidden; +} +@media only screen and (min-width: 768px ) { + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__right-container, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__path { + flex: 0 0 calc(100% / 3); + } +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end { + justify-content: flex-end; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start { + justify-content: flex-start; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around { + justify-content: space-around; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +@media only screen and (max-width: 767px ) { + .tox .tox-statusbar__text-container .tox-statusbar__help-text { + display: none; + } + .tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child { + display: block; + } +} +.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-tbtn--enabled svg { + fill: rgba(255, 255, 255, 0.5); +} +.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--enabled.tox-tbtn--disabled svg, +.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg { + fill: rgba(255, 255, 255, 0.5); +} +.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-number-input { + border-radius: 3px; + display: flex; + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-number-input .tox-input-wrapper { + background: #2f4055; + display: flex; + pointer-events: none; + text-align: center; +} +.tox .tox-number-input .tox-input-wrapper:focus { + background: #3389ec; +} +.tox .tox-number-input input { + border-radius: 3px; + color: #fff; + font-size: 14px; + margin: 2px 0; + pointer-events: all; + width: 60px; +} +.tox .tox-number-input input:hover { + background: #3389ec; + color: #fff; +} +.tox .tox-number-input input:focus { + background: #fff; + color: #222f3e; +} +.tox .tox-number-input input:disabled { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button { + background: #2f4055; + color: #fff; + height: 28px; + text-align: center; + width: 24px; +} +.tox .tox-number-input button svg { + display: block; + fill: #fff; + margin: 0 auto; + transform: scale(0.67); +} +.tox .tox-number-input button:focus { + background: #3389ec; +} +.tox .tox-number-input button:hover { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-number-input button:hover svg { + fill: #fff; +} +.tox .tox-number-input button:active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-number-input button:active svg { + fill: #fff; +} +.tox .tox-number-input button:disabled { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button:disabled svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-number-input button.minus { + border-radius: 3px 0 0 3px; +} +.tox .tox-number-input button.plus { + border-radius: 0 3px 3px 0; +} +.tox .tox-number-input:focus:not(:active) > button, +.tox .tox-number-input:focus:not(:active) > .tox-input-wrapper { + background: #3389ec; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + height: initial; + margin: 0 4px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.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-tbtn--disabled .tox-tbtn__select-label, +.tox .tox-tbtn--select:disabled .tox-tbtn__select-label { + cursor: not-allowed; +} +.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-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color, +.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color { + opacity: 0.6; +} +.tox .tox-toolbar-overlord { + background-color: #222F3E; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-attachment: local; + 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); + overscroll-behavior: none; + 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-tree { + display: flex; + flex-direction: column; +} +.tox .tox-tree .tox-trbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 4px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + margin-bottom: 4px; + margin-top: 4px; + outline: none; + overflow: hidden; + padding: 0; + padding-left: 8px; + text-transform: none; +} +.tox .tox-tree .tox-trbtn .tox-tree__label { + cursor: default; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-tree .tox-trbtn svg { + display: block; + fill: #fff; +} +.tox .tox-tree .tox-trbtn:focus { + background: #3389ec; + border: 0; + box-shadow: none; +} +.tox .tox-tree .tox-trbtn:hover { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tree .tox-trbtn:hover svg { + fill: #fff; +} +.tox .tox-tree .tox-trbtn:active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tree .tox-trbtn:active svg { + fill: #fff; +} +.tox .tox-tree .tox-trbtn--disabled, +.tox .tox-tree .tox-trbtn--disabled:hover, +.tox .tox-tree .tox-trbtn:disabled, +.tox .tox-tree .tox-trbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-tree .tox-trbtn--disabled svg, +.tox .tox-tree .tox-trbtn--disabled:hover svg, +.tox .tox-tree .tox-trbtn:disabled svg, +.tox .tox-tree .tox-trbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tree .tox-trbtn--enabled, +.tox .tox-tree .tox-trbtn--enabled:hover { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tree .tox-trbtn--enabled > *, +.tox .tox-tree .tox-trbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--enabled svg, +.tox .tox-tree .tox-trbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #fff; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) { + color: #fff; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg { + fill: #fff; +} +.tox .tox-tree .tox-trbtn:active > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tree .tox-trbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tree .tox-trbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tree .tox-tree--directory { + display: flex; + flex-direction: column; + /* stylelint-disable no-descending-specificity */ +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label { + font-weight: bold; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #fff; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron { + margin-right: 6px; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron { + transition: transform 0.5s ease-in-out; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron { + transform: rotate(90deg); +} +.tox .tox-tree .tox-tree--leaf__label { + font-weight: normal; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #fff; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #fff; +} +.tox .tox-tree .tox-tree--directory__children { + overflow: hidden; + padding-left: 16px; +} +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing, +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking { + transition: height 0.5s ease-in-out; +} +.tox .tox-tree .tox-trbtn.tox-tree--leaf__label { + display: flex; + justify-content: space-between; +} +.tox .tox-view-wrap, +.tox .tox-view-wrap__slot-container { + background-color: #222F3E; + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-view { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-view__header { + align-items: center; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 8px 0 8px; + position: relative; +} +.tox .tox-view--mobile.tox-view__header, +.tox .tox-view--mobile.tox-view__toolbar { + padding: 8px; +} +.tox .tox-view--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-view__toolbar { + display: flex; + flex-direction: row; + gap: 8px; + justify-content: space-between; + padding: 8px 8px 0 8px; +} +.tox .tox-view__toolbar__group { + display: flex; + flex-direction: row; + gap: 12px; +} +.tox .tox-view__header-start, +.tox .tox-view__header-end { + display: flex; +} +.tox .tox-view__pane { + height: 100%; + padding: 8px; + width: 100%; +} +.tox .tox-view__pane_panel { + border: 1px solid #161f29; + border-radius: 6px; +} +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *, +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-view__header .tox-view__header-start > *, +.tox[dir=rtl] .tox-view__header .tox-view__header-end > * { + margin-right: 8px; +} +.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; + overflow: hidden; + 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-resource/skins/ui/oxide-dark/skin.js b/tinymce-resource/skins/ui/oxide-dark/skin.js new file mode 100644 index 000000000..8c515310d --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/dark/skin.css', ".tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border-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>div>div .tox-icon svg{display:block}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,101,216,.4);color:#fff}.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-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.5);color:#fff}.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-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.5);color:#fff}.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-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.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__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{font-size:14px;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[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 .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled[disabled]{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:#003c81;background-image:none;border-color:#003c81;box-shadow:none;color:#fff}.tox .tox-button--icon-and-text,.tox .tox-button.tox-button--icon-and-text,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text{display:flex;padding:5px 4px}.tox .tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg{display:block;fill:currentColor}.tox .tox-button--secondary{background-color:#3d546f;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#3d546f;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#3d546f;background-image:none;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:hover:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:active:not(:disabled){background-color:#2b3b4e;background-image:none;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled{background-color:#2b5c93;background-image:none;border-color:#2b5c93;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled[disabled]{background-color:#2b5c93;background-image:none;border-color:#2b5c93;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:#254f80;background-image:none;border-color:#254f80;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:#254f80;background-image:none;border-color:#254f80;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:#1f436c;background-image:none;border-color:#1f436c;box-shadow:none;color:#fff}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked[disabled]{background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:rgba(255,255,255,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(255,255,255,.3);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#fff}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(255,255,255,.2)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(255,255,255,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#3389ec;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(255,255,255,.5);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#fff}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#3389ec}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#2b3b4e;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#2b3b4e;border:1px solid #161f29;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#2b3b4e;bottom:0;content:\"\";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(43,59,78,0),#2b3b4e);bottom:0;content:\"\";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#2b3b4e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#2b3b4e;box-shadow:0 0 8px 8px #2b3b4e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#2b3b4e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));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:#67aeff;cursor:pointer;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.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__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right: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__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.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:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size=\"0\"],.tox:not([dir=rtl]) .tox-selectfield select[size=\"1\"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size=\"0\"],.tox[dir=rtl] .tox-selectfield select[size=\"1\"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn--active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#222f3e;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#434e5b;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #434e5b}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#fff}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#3389ec;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-number-input{border-radius:3px;display:flex;margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-number-input .tox-input-wrapper{background:#2f4055;display:flex;pointer-events:none;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background:#3389ec}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;width:60px}.tox .tox-number-input input:hover{background:#3389ec;color:#fff}.tox .tox-number-input input:focus{background:#fff;color:#222f3e}.tox .tox-number-input input:disabled{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{background:#2f4055;color:#fff;height:28px;text-align:center;width:24px}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}.tox .tox-number-input button:focus{background:#3389ec}.tox .tox-number-input button:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#3389ec}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #3389ec inset}.tox .tox-split-button:focus{background:#3389ec;box-shadow:none;color:#fff}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(255,255,255,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color,.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color{opacity:.6}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #3d546f;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #3d546f;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #3d546f;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #3d546f;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#3389ec;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px 8px 0 8px;position:relative}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 8px 0 8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.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;overflow:hidden;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:\"\";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)}") +//# sourceMappingURL=skin.js.map diff --git a/tinymce-resource/skins/ui/oxide-dark/skin.min.css b/tinymce-resource/skins/ui/oxide-dark/skin.min.css new file mode 100644 index 000000000..a7feef826 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border-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>div>div .tox-icon svg{display:block}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,101,216,.4);color:#fff}.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-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.5);color:#fff}.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-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.5);color:#fff}.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-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.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__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{font-size:14px;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[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 .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled[disabled]{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:#003c81;background-image:none;border-color:#003c81;box-shadow:none;color:#fff}.tox .tox-button--icon-and-text,.tox .tox-button.tox-button--icon-and-text,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text{display:flex;padding:5px 4px}.tox .tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg{display:block;fill:currentColor}.tox .tox-button--secondary{background-color:#3d546f;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#3d546f;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#3d546f;background-image:none;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:hover:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:active:not(:disabled){background-color:#2b3b4e;background-image:none;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled{background-color:#2b5c93;background-image:none;border-color:#2b5c93;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled[disabled]{background-color:#2b5c93;background-image:none;border-color:#2b5c93;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:#254f80;background-image:none;border-color:#254f80;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:#254f80;background-image:none;border-color:#254f80;box-shadow:none;color:#fff}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:#1f436c;background-image:none;border-color:#1f436c;box-shadow:none;color:#fff}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked[disabled]{background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:rgba(255,255,255,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(255,255,255,.3);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#fff}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(255,255,255,.2)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(255,255,255,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#3389ec;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(255,255,255,.5);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#fff}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#3389ec}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#2b3b4e;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#2b3b4e;border:1px solid #161f29;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#2b3b4e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(43,59,78,0),#2b3b4e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#2b3b4e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#2b3b4e;box-shadow:0 0 8px 8px #2b3b4e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#2b3b4e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));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:#67aeff;cursor:pointer;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.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__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right: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__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.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:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn--active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#222f3e;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#434e5b;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #434e5b}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#fff}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#3389ec;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-number-input{border-radius:3px;display:flex;margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-number-input .tox-input-wrapper{background:#2f4055;display:flex;pointer-events:none;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background:#3389ec}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;width:60px}.tox .tox-number-input input:hover{background:#3389ec;color:#fff}.tox .tox-number-input input:focus{background:#fff;color:#222f3e}.tox .tox-number-input input:disabled{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{background:#2f4055;color:#fff;height:28px;text-align:center;width:24px}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}.tox .tox-number-input button:focus{background:#3389ec}.tox .tox-number-input button:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#3389ec}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #3389ec inset}.tox .tox-split-button:focus{background:#3389ec;box-shadow:none;color:#fff}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(255,255,255,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color,.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color{opacity:.6}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #3d546f;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #3d546f;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #3d546f;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #3d546f;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#3389ec;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px 8px 0 8px;position:relative}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 8px 0 8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.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;overflow:hidden;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)} diff --git a/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.css b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.css new file mode 100644 index 000000000..25b0a3710 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.js b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.js new file mode 100644 index 000000000..0b647fd6c --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/dark/skin.shadowdom.css', "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}") +//# sourceMappingURL=skin.shadowdom.js.map diff --git a/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.min.css b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.min.css new file mode 100644 index 000000000..8745951a4 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide-dark/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} diff --git a/tinymce-resource/skins/ui/oxide/content.css b/tinymce-resource/skins/ui/oxide/content.css new file mode 100644 index 000000000..6141e3bfb --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.css @@ -0,0 +1,785 @@ +.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 { + cursor: default !important; + -webkit-user-select: none; + -moz-user-select: none; + user-select: 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], +.mce-content-body details[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 ul > li { + list-style-type: none; +} +[data-mce-block] { + display: block; +} +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-resource/skins/ui/oxide/content.inline.css b/tinymce-resource/skins/ui/oxide/content.inline.css new file mode 100644 index 000000000..f1fe35322 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.inline.css @@ -0,0 +1,779 @@ +.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 { + cursor: default !important; + -webkit-user-select: none; + -moz-user-select: none; + user-select: 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], +.mce-content-body details[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 ul > li { + list-style-type: none; +} +[data-mce-block] { + display: block; +} +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-resource/skins/ui/oxide/content.inline.js b/tinymce-resource/skins/ui/oxide/content.inline.js new file mode 100644 index 000000000..b54b225ef --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.inline.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/default/content.inline.css', ".mce-content-body .mce-item-anchor{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A\"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected=\"2\"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected=\"2\"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A\") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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:'-'}") +//# sourceMappingURL=content.inline.js.map diff --git a/tinymce-resource/skins/ui/oxide/content.inline.min.css b/tinymce-resource/skins/ui/oxide/content.inline.min.css new file mode 100644 index 000000000..e272cc748 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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-resource/skins/ui/oxide/content.js b/tinymce-resource/skins/ui/oxide/content.js new file mode 100644 index 000000000..035d50416 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/default/content.css', ".mce-content-body .mce-item-anchor{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A\")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A\"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected=\"2\"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A\") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected=\"2\"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A\") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url(\"data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A\");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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}") +//# sourceMappingURL=content.js.map diff --git a/tinymce-resource/skins/ui/oxide/content.min.css b/tinymce-resource/skins/ui/oxide/content.min.css new file mode 100644 index 000000000..3dbd91b6c --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.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-resource/skins/ui/oxide/skin.css b/tinymce-resource/skins/ui/oxide/skin.css new file mode 100644 index 000000000..91149a433 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.css @@ -0,0 +1,3763 @@ +.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-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 > div > div .tox-icon svg { + display: block; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 101, 216, 0.1); + color: #222f3e; +} +.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-button--naked.tox-button--icon { + background-color: #006ce7; + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus { + background-color: #0060ce; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active { + background-color: #0054b4; +} +.tox .tox-dialog__body-content .accessibility-issue--warn { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.08); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #8f5d00; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #8f5d00; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon { + background-color: #FFE89D; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus { + background-color: #F2D574; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active { + background-color: #E8C657; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + color: #222f3e; +} +.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-button--naked.tox-button--icon { + background-color: #F2BFBF; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus { + background-color: #E9A4A4; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active { + background-color: #EE9494; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + display: none; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #527530; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #527530; +} +.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + font-size: 14px; + 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[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 .tox-advtemplate .tox-form__grid { + flex: 1; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child { + display: flex; + flex-direction: column; + width: 30%; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child > div:nth-child(2) { + flex-basis: 0; + flex-grow: 1; + overflow: auto; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid > div:first-child { + width: 100%; + } +} +.tox .tox-advtemplate iframe { + border-color: #eeeeee; + border-radius: 10px; + border-style: solid; + border-width: 1px; + margin: 0 10px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bottom-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.tox-button--enabled { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled[disabled] { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button.tox-button--enabled:focus:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:hover:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:active:not(:disabled) { + background-color: #003c81; + background-image: none; + border-color: #003c81; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon-and-text, +.tox .tox-button.tox-button--icon-and-text, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text { + display: flex; + padding: 5px 4px; +} +.tox .tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg { + display: block; + fill: currentColor; +} +.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--secondary.tox-button--enabled { + background-color: #a8c8ed; + background-image: none; + border-color: #a8c8ed; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled[disabled] { + background-color: #a8c8ed; + background-image: none; + border-color: #a8c8ed; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled) { + background-color: #93bbe9; + background-image: none; + border-color: #93bbe9; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled) { + background-color: #93bbe9; + background-image: none; + border-color: #93bbe9; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled) { + background-color: #7daee4; + background-image: none; + border-color: #7daee4; + 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; + max-width: 100%; + 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-spectrum:focus, +.tox .tox-sv-palette-spectrum:focus { + outline: #08f solid; +} +.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 div.tox-swatch:not(.tox-swatch--remove) svg { + display: none; + fill: #222f3e; + height: 24px; + margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2); + width: 24px; +} +.tox div.tox-swatch:not(.tox-swatch--remove) svg path { + fill: #fff; + paint-order: stroke; + stroke: #222f3e; + stroke-width: 2px; +} +.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg { + display: block; +} +.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; + flex-shrink: 0; + padding: 16px 16px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-dialog__body-nav { + max-width: 11em; + } +} +@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; + flex-shrink: 0; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + max-width: 13em; + text-decoration: none; +} +.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: min(650px, calc(100vh - 110px)); + 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: underline; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #003c81; + text-decoration: underline; +} +.tox .tox-dialog__body-content a:focus-visible { + border-radius: 1px; + outline: 2px solid #006ce7; + outline-offset: 2px; +} +.tox .tox-dialog__body-content a:active { + color: #00244e; + text-decoration: underline; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content strong { + font-weight: bold; +} +.tox .tox-dialog__body-content ul { + list-style-type: disc; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dd { + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl, +.tox .tox-dialog__body-content dd, +.tox .tox-dialog__body-content dt { + display: block; + margin-inline-end: 0; + margin-inline-start: 0; +} +.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__body-content .tox-form__group .tox-label.tox-label--center { + text-align: center; +} +.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end { + text-align: end; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--fullscreen { + height: 100%; + max-width: 100%; +} +.tox .tox-dialog--fullscreen .tox-dialog__body-content { + max-height: 100%; +} +.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 thead th:first-child { + padding-right: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #626262; +} +.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__table td:first-child { + padding-right: 8px; +} +.tox .tox-dialog__iframe { + min-height: 200px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-navobj-bordered { + position: relative; +} +.tox .tox-navobj-bordered::before { + border: 1px solid #eeeeee; + border-radius: 6px; + content: ''; + inset: 0; + opacity: 1; + pointer-events: none; + position: absolute; + z-index: 1; +} +.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before { + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.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::before { + border: 2px solid #2D6ADF; + border-radius: 4px; + content: ''; + inset: 0; + opacity: 0; + pointer-events: none; + position: absolute; + transition: opacity 0.15s; + z-index: 1; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-edit-focus .tox-edit-area::before { + opacity: 1; +} +.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: 2; +} +.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; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition) { + 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.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty { + background: none; + border: none; + box-shadow: none; + padding: 0; +} +.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, +.tox .tox-textarea-wrap .tox-textarea:focus { + -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-wrap:focus-within, +.tox .tox-textarea:focus, +.tox .tox-custom-editor:focus-within { + 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-wrap { + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + display: flex; + flex: 1; + overflow: hidden; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox .tox-textarea-wrap .tox-textarea { + border: none; +} +.tox .tox-textarea-wrap .tox-textarea:focus { + border: none; +} +.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-dialog__popups .tox-menu .tox-collection__item-label { + word-break: break-all; + } +} +.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__path { + display: flex; + flex: 1 1 auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__right-container { + display: flex; + justify-content: flex-end; + white-space: nowrap; +} +.tox .tox-statusbar__help-text { + text-align: center; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: space-between; + overflow: hidden; +} +@media only screen and (min-width: 768px ) { + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__right-container, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__path { + flex: 0 0 calc(100% / 3); + } +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end { + justify-content: flex-end; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start { + justify-content: flex-start; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around { + justify-content: space-around; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +@media only screen and (max-width: 767px ) { + .tox .tox-statusbar__text-container .tox-statusbar__help-text { + display: none; + } + .tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child { + display: block; + } +} +.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-tbtn--enabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.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--enabled.tox-tbtn--disabled svg, +.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.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-number-input { + border-radius: 3px; + display: flex; + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-number-input .tox-input-wrapper { + background: #f7f7f7; + display: flex; + pointer-events: none; + text-align: center; +} +.tox .tox-number-input .tox-input-wrapper:focus { + background: #cce2fa; +} +.tox .tox-number-input input { + border-radius: 3px; + color: #222f3e; + font-size: 14px; + margin: 2px 0; + pointer-events: all; + width: 60px; +} +.tox .tox-number-input input:hover { + background: #cce2fa; + color: #222f3e; +} +.tox .tox-number-input input:focus { + background: #fff; + color: #222f3e; +} +.tox .tox-number-input input:disabled { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button { + background: #f7f7f7; + color: #222f3e; + height: 28px; + text-align: center; + width: 24px; +} +.tox .tox-number-input button svg { + display: block; + fill: #222f3e; + margin: 0 auto; + transform: scale(0.67); +} +.tox .tox-number-input button:focus { + background: #cce2fa; +} +.tox .tox-number-input button:hover { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-number-input button:hover svg { + fill: #222f3e; +} +.tox .tox-number-input button:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-number-input button:active svg { + fill: #222f3e; +} +.tox .tox-number-input button:disabled { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button:disabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-number-input button.minus { + border-radius: 3px 0 0 3px; +} +.tox .tox-number-input button.plus { + border-radius: 0 3px 3px 0; +} +.tox .tox-number-input:focus:not(:active) > button, +.tox .tox-number-input:focus:not(:active) > .tox-input-wrapper { + background: #cce2fa; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + height: initial; + margin: 0 4px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.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-tbtn--disabled .tox-tbtn__select-label, +.tox .tox-tbtn--select:disabled .tox-tbtn__select-label { + cursor: not-allowed; +} +.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-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color, +.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color { + opacity: 0.6; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-attachment: local; + 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); + overscroll-behavior: none; + 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-tree { + display: flex; + flex-direction: column; +} +.tox .tox-tree .tox-trbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 4px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + margin-bottom: 4px; + margin-top: 4px; + outline: none; + overflow: hidden; + padding: 0; + padding-left: 8px; + text-transform: none; +} +.tox .tox-tree .tox-trbtn .tox-tree__label { + cursor: default; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-tree .tox-trbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus { + background: #cce2fa; + border: 0; + box-shadow: none; +} +.tox .tox-tree .tox-trbtn:hover { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:active svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn--disabled, +.tox .tox-tree .tox-trbtn--disabled:hover, +.tox .tox-tree .tox-trbtn:disabled, +.tox .tox-tree .tox-trbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tree .tox-trbtn--disabled svg, +.tox .tox-tree .tox-trbtn--disabled:hover svg, +.tox .tox-tree .tox-trbtn:disabled svg, +.tox .tox-tree .tox-trbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tree .tox-trbtn--enabled, +.tox .tox-tree .tox-trbtn--enabled:hover { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn--enabled > *, +.tox .tox-tree .tox-trbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--enabled svg, +.tox .tox-tree .tox-trbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) { + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:active > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tree .tox-trbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tree .tox-trbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tree .tox-tree--directory { + display: flex; + flex-direction: column; + /* stylelint-disable no-descending-specificity */ +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label { + font-weight: bold; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron { + margin-right: 6px; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron { + transition: transform 0.5s ease-in-out; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron { + transform: rotate(90deg); +} +.tox .tox-tree .tox-tree--leaf__label { + font-weight: normal; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory__children { + overflow: hidden; + padding-left: 16px; +} +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing, +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking { + transition: height 0.5s ease-in-out; +} +.tox .tox-tree .tox-trbtn.tox-tree--leaf__label { + display: flex; + justify-content: space-between; +} +.tox .tox-view-wrap, +.tox .tox-view-wrap__slot-container { + background-color: #fff; + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-view { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-view__header { + align-items: center; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 8px 0 8px; + position: relative; +} +.tox .tox-view--mobile.tox-view__header, +.tox .tox-view--mobile.tox-view__toolbar { + padding: 8px; +} +.tox .tox-view--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-view__toolbar { + display: flex; + flex-direction: row; + gap: 8px; + justify-content: space-between; + padding: 8px 8px 0 8px; +} +.tox .tox-view__toolbar__group { + display: flex; + flex-direction: row; + gap: 12px; +} +.tox .tox-view__header-start, +.tox .tox-view__header-end { + display: flex; +} +.tox .tox-view__pane { + height: 100%; + padding: 8px; + width: 100%; +} +.tox .tox-view__pane_panel { + border: 1px solid #eeeeee; + border-radius: 6px; +} +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *, +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-view__header .tox-view__header-start > *, +.tox[dir=rtl] .tox-view__header .tox-view__header-end > * { + margin-right: 8px; +} +.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; + overflow: hidden; + 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-resource/skins/ui/oxide/skin.js b/tinymce-resource/skins/ui/oxide/skin.js new file mode 100644 index 000000000..319da2f12 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/default/skin.css', ".tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border-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>div>div .tox-icon svg{display:block}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,101,216,.1);color:#222f3e}.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-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.08);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);color:#222f3e}.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-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{font-size:14px;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[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 .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled[disabled]{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:#003c81;background-image:none;border-color:#003c81;box-shadow:none;color:#fff}.tox .tox-button--icon-and-text,.tox .tox-button.tox-button--icon-and-text,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text{display:flex;padding:5px 4px}.tox .tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg{display:block;fill:currentColor}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled[disabled]{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:#7daee4;background-image:none;border-color:#7daee4;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:\"\";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:\"\";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));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:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#003c81;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #006ce7;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#00244e;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.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__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.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__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #2d6adf;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.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:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size=\"0\"],.tox:not([dir=rtl]) .tox-selectfield select[size=\"1\"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size=\"0\"],.tox[dir=rtl] .tox-selectfield select[size=\"1\"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-number-input{border-radius:3px;display:flex;margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-number-input .tox-input-wrapper{background:#f7f7f7;display:flex;pointer-events:none;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background:#cce2fa}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;width:60px}.tox .tox-number-input input:hover{background:#cce2fa;color:#222f3e}.tox .tox-number-input input:focus{background:#fff;color:#222f3e}.tox .tox-number-input input:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{background:#f7f7f7;color:#222f3e;height:28px;text-align:center;width:24px}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}.tox .tox-number-input button:focus{background:#cce2fa}.tox .tox-number-input button:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#cce2fa}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #cce2fa inset}.tox .tox-split-button:focus{background:#cce2fa;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color,.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color{opacity:.6}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px 8px 0 8px;position:relative}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 8px 0 8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.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;overflow:hidden;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:\"\";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}") +//# sourceMappingURL=skin.js.map diff --git a/tinymce-resource/skins/ui/oxide/skin.min.css b/tinymce-resource/skins/ui/oxide/skin.min.css new file mode 100644 index 000000000..3809e7b35 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border-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>div>div .tox-icon svg{display:block}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,101,216,.1);color:#222f3e}.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-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.08);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);color:#222f3e}.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-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{font-size:14px;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[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 .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled[disabled]{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:#003c81;background-image:none;border-color:#003c81;box-shadow:none;color:#fff}.tox .tox-button--icon-and-text,.tox .tox-button.tox-button--icon-and-text,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text{display:flex;padding:5px 4px}.tox .tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg{display:block;fill:currentColor}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled[disabled]{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:#7daee4;background-image:none;border-color:#7daee4;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));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:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#003c81;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #006ce7;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#00244e;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.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__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.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__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #2d6adf;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.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:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-number-input{border-radius:3px;display:flex;margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-number-input .tox-input-wrapper{background:#f7f7f7;display:flex;pointer-events:none;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background:#cce2fa}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;width:60px}.tox .tox-number-input input:hover{background:#cce2fa;color:#222f3e}.tox .tox-number-input input:focus{background:#fff;color:#222f3e}.tox .tox-number-input input:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{background:#f7f7f7;color:#222f3e;height:28px;text-align:center;width:24px}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}.tox .tox-number-input button:focus{background:#cce2fa}.tox .tox-number-input button:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#cce2fa}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #cce2fa inset}.tox .tox-split-button:focus{background:#cce2fa;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color,.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color{opacity:.6}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px 8px 0 8px;position:relative}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 8px 0 8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.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;overflow:hidden;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1} diff --git a/tinymce-resource/skins/ui/oxide/skin.shadowdom.css b/tinymce-resource/skins/ui/oxide/skin.shadowdom.css new file mode 100644 index 000000000..25b0a3710 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce-resource/skins/ui/oxide/skin.shadowdom.js b/tinymce-resource/skins/ui/oxide/skin.shadowdom.js new file mode 100644 index 000000000..9c75844d1 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.shadowdom.js @@ -0,0 +1,2 @@ +tinymce.Resource.add('ui/default/skin.shadowdom.css', "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}") +//# sourceMappingURL=skin.shadowdom.js.map diff --git a/tinymce-resource/skins/ui/oxide/skin.shadowdom.min.css b/tinymce-resource/skins/ui/oxide/skin.shadowdom.min.css new file mode 100644 index 000000000..8745951a4 --- /dev/null +++ b/tinymce-resource/skins/ui/oxide/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}