@fox-js/foxui-pad 4.1.1-2 → 4.1.1-20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12568 -13534
- package/dist/index.umd.js +1 -5
- package/dist/locale/index.d.ts +503 -0
- package/dist/locale/index.esm.js +184 -106
- package/dist/locale/index.umd.js +1 -3
- package/dist/style.css +3560 -1
- package/dist/style.js +3 -0
- package/dist/types/index.d.ts +610 -325
- package/package.json +6 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
"use strict";/*!
|
|
2
|
-
* @fox-js/foxui-desktop v4.0.0 Wed Nov 13 2024 22:14:13 GMT+0800 (中国标准时间)
|
|
3
|
-
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),rt=require("@fox-js/validator"),I=require("element-plus"),Te=require("@element-plus/icons-vue"),ye=require("@fox-js/i18n"),_t=window,Ar=typeof window<"u";function Fr(){return typeof _t<"u"?_t.requestAnimationFrame||_t.webkitRequestAnimationFrame||function(e){_t.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Br(e){Ar?cancelAnimationFrame(e):clearTimeout(e)}const sl=Fr();/*!
|
|
4
|
-
* @fox-js/big-decimal v4.0.1-6 Sat Aug 24 2024 07:04:11 GMT+0800 (中国标准时间)
|
|
5
|
-
*/function Gt(e,n="0"){let o=0,l=-1;e[0]=="-"&&(o++,l=1,e=e.substring(1),e.length),n[0]=="-"&&(o++,l=2,n=n.substring(1),n.length),e=Ie(e),n=Ie(n),[e,n]=ul(Ie(e),Ie(n)),o==1&&(l==1?e=Fn(e):n=Fn(n));let a=Ca(e,n);return o?o==2?"-"+Ie(a):e.length<a.length?Ie(a.substring(1)):"-"+Ie(Fn(a)):Ie(a)}function Fn(e){let n="",o=e.length,l=e.split(".")[1],a=l?l.length:0;for(let i=0;i<o;i++)e[i]>="0"&&e[i]<="9"?n+=9-parseInt(e[i]):n+=e[i];let r=a>0?"0."+new Array(a).join("0")+"1":"1";return Ca(n,r)}function Ie(e){let n=e.split(".");for(n[0]||(n[0]="0");n[0][0]=="0"&&n[0].length>1;)n[0]=n[0].substring(1);return n[0]+(n[1]?"."+n[1]:"")}function ul(e,n){let o=e.split("."),l=n.split("."),a=o[0].length,r=l[0].length;return a>r?l[0]=new Array(Math.abs(a-r)+1).join("0")+(l[0]?l[0]:""):o[0]=new Array(Math.abs(a-r)+1).join("0")+(o[0]?o[0]:""),a=o[1]?o[1].length:0,r=l[1]?l[1].length:0,(a||r)&&(a>r?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-r)+1).join("0"):o[1]=(o[1]?o[1]:"")+new Array(Math.abs(a-r)+1).join("0")),e=o[0]+(o[1]?"."+o[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function Ca(e,n){[e,n]=ul(e,n);let o="",l=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){o="."+o;continue}let r=parseInt(e[a])+parseInt(n[a])+l;o=r%10+o,l=Math.floor(r/10)}return l?l.toString()+o:o}var xe=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(xe||{});function It(e,n=0,o=xe.HALF_EVEN){if(o===xe.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let l=!1;e[0]==="-"&&(l=!0,e=e.substring(1));let a=e.split("."),r=a[0],i=a[1];if(n<0){if(n=-n,r.length<=n)return"0";{let s=r.substr(0,r.length-n);return e=s+"."+r.substr(r.length-n)+i,s=It(e,0,o),(l?"-":"")+s+new Array(n+1).join("0")}}if(n==0)return r.length,go(a[1],r,l,o)?(l?"-":"")+Bn(r):(l?"-":"")+r;if(a[1]){if(a[1].length<n)return(l?"-":"")+r+"."+a[1]+new Array(n-a[1].length+1).join("0")}else return(l?"-":"")+r+"."+new Array(n+1).join("0");i=a[1].substring(0,n);let u=a[1].substring(n);return u&&go(u,i,l,o)&&(i=Bn(i),i.length>n)?(l?"-":"")+Bn(r,parseInt(i[0]))+"."+i.substring(1):(l?"-":"")+r+"."+i}function go(e,n,o,l){if(!e||e===new Array(e.length+1).join("0")||l===xe.DOWN||!o&&l===xe.FLOOR||o&&l===xe.CEILING)return!1;if(l===xe.UP||o&&l===xe.FLOOR||!o&&l===xe.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(l){case xe.HALF_DOWN:return!1;case xe.HALF_UP:return!0;case xe.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function Bn(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let o=e.length-1,l="";for(let a=o;a>=0;a--){let r=parseInt(e[a])+n;r==10?(n=1,r=0):n=0,l+=r}return n&&(l+=n),l.split("").reverse().join("")}function Un(e,n){e=e.toString(),n=n.toString();let o=0;e[0]=="-"&&(o++,e=e.substr(1)),n[0]=="-"&&(o++,n=n.substr(1)),e=Tt(e),n=Tt(n);let l=0,a=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(a=n.length-n.indexOf(".")-1);let r=l+a;if(e=Tt(e.replace(".","")),n=Tt(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let i=n.length,u=0,s=[],c=i-1,h="";for(let d=0;d<i;d++)s[d]=e.length-1;for(let d=0;d<2*e.length;d++){let v=0;for(let x=n.length-1;x>=c&&x>=0;x--)s[x]>-1&&s[x]<e.length&&(v+=parseInt(e[s[x]--])*parseInt(n[x]));v+=u,u=Math.floor(v/10),h=v%10+h,c--}return h=Tt(Rr(h,r)),o==1&&(h="-"+h),h}function Rr(e,n){return n==0?e:(e=n>=e.length?new Array(n-e.length+1).join("0")+e:e,e.substr(0,e.length-n)+"."+e.substr(e.length-n,n))}function Tt(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function Gn(e,n,o=8){if(n==0)throw new Error("Cannot divide by 0");if(e=e.toString(),n=n.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),n=n.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let l=0;n[0]=="-"&&(n=n.substring(1),l++),e[0]=="-"&&(e=e.substring(1),l++);var a=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Ie(n.replace(".","")),a>=0){let c=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(c==-1)e=Ie(e+new Array(a+1).join("0"));else if(a>c)e=e.replace(".",""),e=Ie(e+new Array(a-c+1).join("0"));else if(a<c){e=e.replace(".","");let h=e.length-c+a;e=Ie(e.substring(0,h)+"."+e.substring(h))}else a==c&&(e=Ie(e.replace(".","")))}let r=0,i=n.length,u="",s=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(0,i+1):e.substring(0,i);if(e=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(i+1):e.substring(i),s.indexOf(".")>-1){let c=s.length-s.indexOf(".")-1;s=s.replace(".",""),i>s.length&&(c+=i-s.length,s=s+new Array(i-s.length+1).join("0")),r=c,u="0."+new Array(c).join("0")}for(o=o+2;r<=o;){let c=0;for(;parseInt(s)>=parseInt(n);)s=Gt(s,"-"+n),c++;u+=c,e?(e[0]=="."&&(u+=".",r++,e=e.substring(1)),s=s+e.substring(0,1),e=e.substring(1)):(r||(u+="."),r++,s=s+"0")}return(l==1?"-":"")+Ie(It(u,o-2))}function Xn(e,n){return e=e.toString(),n=n.toString(),n=Zn(n),Gt(e,n)}function Zn(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function po(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),vo(e),vo(n);let o="";e[0]=="-"&&(o="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=Xn(e,Un(n,It(Gn(e,n),0,xe.FLOOR)));return o+l}function vo(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function yo(e,n){let o=!1;if(e[0]=="-"&&n[0]!="-")return-1;if(e[0]!="-"&&n[0]=="-")return 1;if(e[0]=="-"&&n[0]=="-"&&(e=e.substr(1),n=n.substr(1),o=!0),[e,n]=ul(e,n),e.localeCompare(n)==0)return 0;for(let l=0;l<e.length;l++)if(e[l]!=n[l])return e[l]>n[l]?o?-1:1:o?1:-1;return 0}class ce{value;static RoundingModes=xe;static validate(n){if(n){if(n=n.toString(),isNaN(n))throw Error("Parameter is not a number: "+n);n[0]=="+"&&(n=n.substring(1))}else n="0";if(n.startsWith(".")?n="0"+n:n.startsWith("-.")&&(n="-0"+n.substr(1)),/e/i.test(n)){let[o,l]=n.split(/[eE]/);o=Ie(o);let a="";o[0]=="-"&&(a="-",o=o.substring(1)),o.indexOf(".")>=0?(l=parseInt(l)+o.indexOf("."),o=o.replace(".","")):l=parseInt(l)+o.length,o.length<l?n=a+o+new Array(l-o.length+1).join("0"):o.length>=l&&l>0?n=a+Ie(o.substring(0,l))+(o.length>l?"."+o.substring(l):""):n=a+"0."+new Array(-l+1).join("0")+o}return n}constructor(n="0"){this.value=ce.validate(n)}getValue(){return this.value}static getPrettyValue(n,o,l){if(!(o||l))o=3,l=",";else if(!(o&&l))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=ce.validate(n);let a=n.charAt(0)=="-";a&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var i="",u=r;u>0;)u<o?(o=u,u=0):u-=o,i=n.substring(u,u+o)+(u<r-o&&u>=0?l:"")+i;return(a?"-":"")+i+n.substring(r)}getPrettyValue(n,o){return ce.getPrettyValue(this.value,n,o)}static round(n,o=0,l=xe.HALF_EVEN){if(n=ce.validate(n),isNaN(o))throw Error("Precision is not a number: "+o);return It(n,o,l)}round(n=0,o=xe.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new ce(It(this.value,n,o))}static floor(n){return n=ce.validate(n),n.indexOf(".")===-1?n:ce.round(n,0,xe.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ce(this.value):new ce(this.value).round(0,xe.FLOOR)}static ceil(n){return n=ce.validate(n),n.indexOf(".")===-1?n:ce.round(n,0,xe.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ce(this.value):new ce(this.value).round(0,xe.CEILING)}static add(n,o){return n=ce.validate(n),o=ce.validate(o),Gt(n,o)}add(n){return new ce(Gt(this.value,n.getValue()))}static subtract(n,o){return n=ce.validate(n),o=ce.validate(o),Xn(n,o)}subtract(n){return new ce(Xn(this.value,n.getValue()))}static multiply(n,o){return n=ce.validate(n),o=ce.validate(o),Un(n,o)}multiply(n){return new ce(Un(this.value,n.getValue()))}static divide(n,o,l){return n=ce.validate(n),o=ce.validate(o),Gn(n,o,l)}divide(n,o){return new ce(Gn(this.value,n.getValue(),o))}static modulus(n,o){return n=ce.validate(n),o=ce.validate(o),po(n,o)}modulus(n){return new ce(po(this.value,n.getValue()))}static compareTo(n,o){return n=ce.validate(n),o=ce.validate(o),yo(n,o)}compareTo(n){return yo(this.value,n.getValue())}static negate(n){return n=ce.validate(n),Zn(n)}negate(){return new ce(Zn(this.value))}}function Ta(e,n){return ce.multiply(`${e}`,`${n}`)}function cl(e,n,o=8){return ce.divide(`${e}`,`${n}`,o)}function Jn(e,n){return e=`${e}`,n=`${n}`,ce.compareTo(e,n)}function $a(e){return ce.negate(e)}function ln(e,n=-1,o=!1,l=3,a=","){let r=`${e}`;if(r.length==0||r==="-")return"";let i=r.charAt(0);i=="-"?r=r.substring(1):i="";let u=r,s="",c=r.indexOf(".");c!=-1&&(u=r.substring(0,c),s=r.substring(c+1)),n!=-1&&(n<s.length?s=s.substring(0,n):o&&n>s.length&&(s=s.padEnd(n,"0")));let h;if(l>0){let d="",v=u.split("").reverse();for(let x=0;x<v.length;x++)d+=v[x]+((x+1)%l==0&&x+1!=v.length?a:"");s.length==0?h=`${i}${d.split("").reverse().join("")}`:h=`${i}${d.split("").reverse().join("")}.${s}`}else s.length==0?h=`${i}${u}`:h=`${i}${u}.${s}`;return h}function ka(e){let n=`${e}`,o=n.charAt(0);o=="-"?n=n.substring(1):o="";let l=n.replace(/[^\d\.-]/g,"");return`${o}${l}`}const fl=sl,Mr=Array.isArray,Lr=e=>on(e)==="[object Map]",_r=e=>on(e)==="[object Set]",tt=e=>e instanceof Date,Qn=e=>typeof e=="function",Da=e=>typeof e=="string",qr=e=>typeof e=="symbol",Me=e=>e!==null&&typeof e=="object",Xt=e=>Me(e)&&Qn(e.then)&&Qn(e.catch),Na=Object.prototype.toString,on=e=>Na.call(e),el=e=>on(e)==="[object Object]",Ea=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function zr(e){return e.__esModule||Ea&&e[Symbol.toStringTag]==="Module"}const jr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function ut(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},o=1,l=e.length,a=!1;for(typeof n=="boolean"&&(a=n,n=e[o]??{},o++),typeof n!="object"&&(n={});o<l;o++)if(e[o]!==null&&e[o]!==void 0){let r=e[o];for(let i in r){let u=n[i],s=r[i];if(u!==s)if(a===!0&&s&&typeof s=="object"){let c;Array.isArray(s)?c=u&&Array.isArray(u)?u:[]:c=u&&typeof u=="object"?u:{},n[i]=ut(a,c,s)}else s!==void 0&&(n[i]=s)}}return n}function tl(e,n,o=!1){if(!o)ut(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let a in n){let r=e[a],i=n[a];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!el(i))continue;r=tl(r,i,o),e[a]=r}else{if(typeof i=="function")continue;e[a]=i}}const l=Object.getOwnPropertySymbols(n);for(let a of l){let r=e[a],i=n[a];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!el(i))continue;r=tl(r,i,o),e[a]=r}else{if(typeof i=="function")continue;e[a]=i}}}return e}const Rn=jr?Promise.resolve():null;function Hr(e,...n){Rn!==null?n&&n.length>0?Rn.then(()=>{e(n)}):Rn.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ue(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function me(e){return typeof e=="number"?e:Number(e)}const Kr={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function Zt(e){let o=Object.prototype.toString.call(e);return e==null?String(e):Kr[o]||"object"}function Va(e){return e&&typeof e=="object"&&"setInterval"in e}function an(e){if(!e)return!0;const{display:n}=window.getComputedStyle(e);return n==="none"}function Ia(e){let n=!!e&&"length"in e&&e.length,o=Zt(e);return o==="function"||Va(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function Pa(e,n){let o=+n.length,l=0,a=e.length;for(;l<o;l++)e[a++]=n[l];return e.length=a,e}function Wr(e,n=[]){let o=n;return e!=null&&(Ia(Object(e))?Pa(o,typeof e=="string"?[e]:e):o.push(e)),o}function Le(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let o=Zt(e),l=Zt(n);if(o!==l)return!1;if(o==="object"){let a=Object.keys(e),r=Object.keys(n);if(a.length!==r.length)return!1;for(let i=0;i<a.length;i++){let u=a[i],s=e[u],c=n[u];if(!Le(s,c))return!1}return!0}else if(o==="array"){if(e.length!==n.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],i=n[a];if(!Le(r,i))return!1}return!0}return!1}const lt=typeof window<"u";function dl(e){return e==null}function Oa(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const fe=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Aa(e){return fe(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),fe(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Fa(e){if(e==null)return 0;let n=`${e}`;if(n.length==0)return 0;n.charAt(0)=="-"&&(n=n.substring(1)),n=n.replace(/[^\d\.-]/g,"");const o=n.indexOf(".");return o==-1?n.length:o}function Ba(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const o=n.indexOf(".");return o==-1?0:n.length-(o+1)}function bo(e,n,o){const l=e.indexOf(n);return l===-1?e:n==="-"&&l!==0?e.slice(0,l):e.slice(0,l+1)+e.slice(l).replace(o,"")}function Yr(e,n=!0,o=!0){n?e=bo(e,".",/\./g):e=e.replace(/\./g,""),o?e=bo(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function Ur(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(o=>{if(Le(e,o))return!0}):n.indexOf(e)}function Gr(e,n){if(typeof e=="object"||Array.isArray(e)){let o=n.reverse().findIndex(l=>{if(Le(e,l))return!0});return o!==-1&&(o=n.length-1-o),o}return n.lastIndexOf(e)}function Ye(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Rt(e,...n){const o={};return n.forEach(l=>{for(const a in l)o[a]=e[a]}),o}function $e(e,...n){const o=[];n.forEach(a=>{Reflect.apply([].push,o,Reflect.ownKeys(a))});const l={};for(const a in e)o.includes(a)||(l[a]=e[a]);return l}const Xr=(e,n,o)=>{const l=Object.assign({},e),a=Object.assign({},o);return Object.keys(n).length>0?(Object.keys(l).forEach(r=>{a.hasOwnProperty(r)?typeof a[r]=="string"&&(l[r]=n[a[r]]):n[r]&&(l[r]=n[r])}),l):e},Se=Symbol.for("BroadcastKey");class hl{parent;children=[];callbacks=new Map;proxy=null;name;constructor(n,o,l){this.parent=n,this.proxy=o,this.name=l,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const o=this.children.findIndex(l=>n===l);o!==-1&&this.children.splice(o,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(n,o,...l){if(n.maxLevel!==void 0&&n.maxLevel!==null&&n.maxLevel>0){if(n.level=n.level??0,n.level>n.maxLevel)return[];n.level++}let a=!1;!n.name||n.name==="*"?a=!0:!n.name||n.name==="+"?(a=!1,n.name="*"):Oa(n.name)&&this.name&&n.name.test(this.name)?a=!0:typeof n.name=="function"?a=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(a=!0);const r=[];if(a){const i=this.callbacks.get(o);if(typeof i=="function"){const s=Reflect.apply(i,this.proxy,[...l]);s!=null&&r.push(s)}const u=this.proxy??{};if(typeof u[o]=="function"){const s=Reflect.apply(u[o],u,[...l]);s!=null&&r.push(s)}}return this.children.forEach(i=>{const u=Reflect.apply(i.emit,i,[{...n},o,...l]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,r,[...u])}),r}emitToChildren(n,o,...l){const a=[];return this.children.forEach(r=>{const i=Reflect.apply(r.emit,r,[{...n},o,...l]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,a,[...i])}),a}on(n,o){this.callbacks.set(n,o)}}function rn(e,n,o,l){const a=new hl(n,e,o);if(l&&typeof l=="object")for(const r in l)a.on(r,l[r]);return a}function Zr(e,n,o){const l=o;if(l[Se])return l[Se];const a=t.inject(Se,null),r=new hl(a,o,e);if(n&&typeof n=="object")for(const i in n)r.on(i,n[i]);return l[Se]=r,t.provide(Se,r),t.onUnmounted(()=>{r.destroy(),l[Se]=void 0}),r}function Nt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Se]??t.inject(Se,null):t.inject(Se,null)}const it=e=>e.default??e;class Jr{error(n,o){const l=o,a=o||t.hasInjectionContext()?Nt(o):null;a?a.emit({name:"*",maxLevel:1},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const o=n,l=n||t.hasInjectionContext()?Nt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}success(n){const o=n,l=n||t.hasInjectionContext()?Nt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}decorate(n,o,l){Array.isArray(n)||(n=[n]);const a=l,r=l||t.hasInjectionContext()?Nt(l):null,i=o.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),u=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!i&&u?r?r.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):i&&!u&&(r?r.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(l))}getValue(n){return n.modelValue}}let Et=new Jr;function Qr(e){Et=e}function ei(e){Et?Object.assign(Et,e):Et=e}function ti(e,n){it(rt).setValidator(e,n)}function ni(e){it(rt).deleteValidator(e)}let Ra=["blur","clear"];function li(e){Ra=e}function Ma(){return Ra}let La=["focus","change","setValue"];function oi(e){La=e}function _a(){return La}function ai(e){it(rt).messages(e)}function $t(...e){const n=[];return e.forEach(o=>{o.forEach(l=>{const a=n.findIndex(r=>r.type===l.type);a!==-1&&n.splice(a,1),n.push(l)})}),n}function qt(e){return e.forEach(n=>{n.type==="required"&&(n.required===null||n.required===void 0)&&(n.required=!0),!n.type&&(n.required===!0||n.required===!1)&&(n.type="required")}),e}const je=Symbol("ValidateSchemaKey");class qa{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,o,l){this.parent=n,this.descriptor=o,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let n=this.proxy.$attrs;n&&(this.scope=t.effectScope(!0),this.scope.run(()=>{t.watchEffect(()=>{const o=qt($t(this.attrRules,this.rules)),l=[];for(let r in n){let i=n[r];if(this.hasValidator(r,!0)){if(i===!1)continue;let s={type:r};i!==null&&typeof i=="object"&&Object.assign(s,i),l.push(s);continue}let u=this.getValidator(r);if(u!==null){let s={type:r,validator:u};l.push(s)}}this.attrRules=qt(l);const a=$t(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(a,o)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(n,...o){const l=this.descriptor.validateHandler;if(l&&typeof l[n]=="function")return Reflect.apply(l[n],l,[...o]);const a=Et;return a&&typeof a[n]=="function"?Reflect.apply(a[n],a,[...o]):null}decorate(n,o){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,o,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(n){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",n,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(n,o,l=!1){l?it(rt).setValidator(n,o):this.validators[n]=o}getValidator(n){let o=this.validators[n]??null;return o||(o=this.parent?.getValidator(n)??null),o}deleteValidator(n,o=!1){o?it(rt).deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,o=!1){if(o)return it(rt).hasValidator(n);{let l=Reflect.has(this.validators,n);return!l&&this.parent!==null&&(l=this.parent.hasValidator(n,!1)),l}}setRule(n){const o=$t(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=qt(n):this.rules=qt([n]);const l=$t(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,o)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let o=$t(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(o.length>0){const a={[`${l}`]:o},r=this.getValue(),i={[`${l}`]:r},u=it(rt),s=new u(a),c=this.proxy??i;return s.validate(i,{context:c}).then(d=>{if(d.pass)this.success();else{let v="error";Array.isArray(d.errors)&&d.errors.length>0&&(v=d.errors[0].message??v,d.errors=[d.errors[0]],d.errors[0].ref=c),this.error(v)}return d}).catch(d=>{const v=d.message??`${d}`;return this.error(v),d})}}return Promise.resolve({pass:!0})}}function sn(e,n,o){if(o.valueName=o.valueName??"modelValue",o.valueType=o.valueType??"string",!o.validateHandler&&o.valueName!=="modelValue"){const a=o.valueName;o.validateHandler={getValue(r){return r[a]}}}return new qa(n,o,e)}const Jt=Symbol.for("EventEmitterKey");class za{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,o){let l=this.register.get(n);if(l&&Array.isArray(l)){let a=l.findIndex(r=>r===o);a!==-1&&l.splice(a,1)}}on(n,o){let l=this.register.get(n);l||(l=new Array,this.register.set(n,l)),l.push(o)}emit(n,...o){const l=this.register.get(n);l&&l.forEach(a=>{try{Reflect.apply(a,null,[n,...o])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...o])}}function ct(e,n){let o=null;return function(...l){o&&clearTimeout(o),o=setTimeout(()=>{o=null,Reflect.apply(e,null,[...l])},n)}}function ja(e,n){let o=0;return function(...l){const a=new Date().getTime();a-o<n||(o=a,Reflect.apply(e,null,[...l]))}}function ri(e,n){const o=ct((l,a)=>{e=l,a()},n);return t.customRef((l,a)=>({get(){return l(),e},set(r){o(r,a)}}))}function ii(e){let n=!1;return function(...o){n||(n=!0,Reflect.apply(e,null,[...o]))}}function un(e,n,o,l=0,a=!0,r){let i=n,u=0;if(a){const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>o){typeof r=="function"&&r(!1);return}}const s=()=>{const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>o){typeof r=="function"&&r(!1);return}i+=l,setTimeout(s,i)};setTimeout(s,i)}const Be=Symbol("DomainKey"),gt=Symbol("DataItemsKey");class cn{_parent=null;get parent(){return this._parent}set parent(n){this._parent=n}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(n){this._broadcast=n}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(n){this._validateSchema=n}_props=t.reactive({});constructor(n=null){this._name=n}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(n,o=[]){for(const l in n){const a=n[l];o.length>0&&o.indexOf(a)!==-1||(this._props[l]=a)}}has(n){if(Reflect.has(this._props,n)){const o=this._props[n];if(o!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,o){this._props[n]=o}get(n,o){if(Reflect.has(this._props,n)){const l=this._props[n];if(l!=null)return l}return this.parent==null?o:this.parent.get(n,o)}getForParent(n,o){return this.parent==null?o:this.parent.get(n,o)}getForSelf(n){return this._props[n]}getAll(n){const o=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,n)){const a=l._props[n];o.push(a)}l=l._parent}return o}}const si=new cn;function vt(){return si}function Xe(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Be]??t.inject(Be,null):t.inject(Be,null)}const Mn=Symbol("OriginalDateKey");function ml(e,n,o=[],l){const a=t.getCurrentInstance();let r=a?.proxy,i=t.inject(Be,null);i===null&&(i=vt());const u=e||n.prop||n.name;let s=new cn(u);s.parent=i;const c=p=>{r[Mn]||v(p),s?.set("modelValue",p)},h=()=>s?.getForSelf("modelValue")??null,d=()=>r[Mn]??null,v=p=>{const g={};ut(!0,g,t.toRaw(p)),r[Mn]=g};t.isReactive(n)||typeof n=="function"?t.watch(n,p=>{s?.merge(p,o)},{immediate:!0}):s.merge(n,o),n.modelValue&&v(n.modelValue);const x=(p,g)=>{s?.set(p,g)},y=p=>s?.getForSelf(p)??null;if(r[Be]=s,t.provide(Be,s),a!==null){const p=t.inject(Se,null),g=rn(r,p,u,l);s.broadcast=g,r[Se]=g,t.provide(Se,g),r.broadcast=(f,P,...H)=>Reflect.apply(g.emit,g,[f,P,...H]);const R=t.inject(je,null),m=sn(r,R,{componentName:""});s.validateSchema=m,r[je]=m,t.provide(je,m),r[gt]=new Map,r.validate=(f=!0)=>{const P=[];let H=null;const L={deep:!1};if(f===!0)H={name:"*"};else if(Array.isArray(f)&&f.length>0){const A=f;H={name:z=>z?A.indexOf(z)!==-1:!1}}else if(f!=null&&typeof f=="object"){const A=f;if(Object.assign(L,A),Array.isArray(A.include)&&A.include.length>0){const z=A.include;H={name:S=>S?z.indexOf(S)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const z=A.exclude;H={name:S=>S?z.indexOf(S)===-1:!1}}else H={name:"*"}}if(H){const A=g?.emitToChildren(H,"validate",L);A&&Reflect.apply([].push,P,A)}return P.length==1?P[0]:P.length>1?Promise.all(P).then(A=>{let z=[];return A.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(z=[...z,...S.errors])}),z.length>0?{pass:!1,errors:z}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(f,P=!0,H=!1)=>{if(H===!0){Reflect.ownKeys(f).forEach(A=>{let z=String(A);const S={componentName:"",fieldName:z,pureDataValidate:!0};if(s){const V=Wa(s,z,S,g,m);r[gt].set(z,V);const b=f[z];b&&V.validateSchema.setRule(b)}});return}if(P){const L=Reflect.ownKeys(f),A={name:z=>L.includes(z)};g?.emitToChildren(A,"setNameValidateRules",f,!1)}},r.clearValidate=(f=!0)=>{let P=null;if(f===!0)P={name:"*"};else if(Array.isArray(f)&&f.length>0){const H=f;P={name:L=>L?H.indexOf(L)!==-1:!1}}else if(f!=null&&typeof f=="object"){const H=f;if(Array.isArray(H.include)&&H.include.length>0){const L=H.include;P={name:A=>A?L.indexOf(A)!==-1:!1}}else if(Array.isArray(H.exclude)&&H.exclude.length>0){const L=H.exclude;P={name:A=>A?L.indexOf(A)===-1:!1}}else P={name:"*"}}P&&g?.emitToChildren(P,"clearValidate",!1)},r.resetFields=f=>{const P=h();if(!P)return;const H={};if(ut(!0,H,d()??{}),Array.isArray(f))f.forEach(L=>{P[L]=H[L]});else if(f&&Array.isArray(f.include))(f.include??[]).forEach(A=>{P[A]=H[A]});else if(f&&Array.isArray(f.exclude)){let L=f.exclude??[];Reflect.ownKeys(H).forEach(A=>{L.includes(A)||(P[A]=H[A])})}else Object.assign(P,H);r.clearValidate(f)},r.setModelValue=(f,P)=>{!P||P===u?c(f):g?.emitToChildren({name:P},"setModelValue",f)},r.getModelValue=()=>h(),r.setDomainProperty=(f,P)=>{x(f,P)},r.getDomainProperty=f=>y(f)}return t.onUnmounted(function(){s?.validateSchema&&(s.validateSchema.destroy(),r[je]=void 0,t.provide(je,null)),s?.broadcast&&(s?.broadcast?.destroy(),r[Se]=void 0,t.provide(Se,null)),s?.destroy(),r[Be]=void 0,t.provide(Be,null),r[gt]&&(r[gt].clear(),r[gt]=void 0),r.broadcast=null,r.validate=null,r.setNameValidateRules=null,r.clearValidate=null,r.resetFields=null,r.setModelValue=null,r.getModelValue=null,r.setDomainProperty=null,r.getDomainProperty=null,s=null,r=null}),s}function Ha(e,n,o=[]){let a=t.getCurrentInstance()?.proxy,r=t.inject(Be,null);r===null&&(r=vt());const i=e||n.prop||n.name;let u=new cn(i);return u.parent=r,t.isReactive(n)||typeof n=="function"?t.watch(n,s=>{u?.merge(s,o)},{immediate:!0}):u.merge(n,o),a[Be]=u,t.provide(Be,u),t.onUnmounted(()=>{u?.destroy(),a[Be]=void 0,t.provide(Be,null),u=null,a=null}),u}function Ka(e,n,o){const a=Xe(e)?.get("rules");if(!a)return;let r=a[o];r&&(Array.isArray(r)||(r=[r]),n.setRule(r))}function Ce(e,n,o){const a=t.getCurrentInstance()?.proxy,r=n??"",i=t.inject(Se,null);let u=rn(a,i,r,o);a[Se]=u,t.provide(Se,u),a.broadcast=(y,p,...g)=>u?Reflect.apply(u.emit,u,[y,p,...g]):null;const s=t.inject(je,null);e.fieldName=e.fieldName??r;let c=sn(a,s,e);a[je]=c,t.provide(je,c),Ka(a,c,r),a.validate=(y=null)=>{if(!c)return Promise.resolve({pass:!0});const p=[];let g=!1,R=!1;if(Array.isArray(y)&&y.indexOf(r)!==-1)R=!0,g=!0;else if(y&&typeof y=="object"){const m=y,f=m.ignoreDisabled??!0,P=m.ignoreReadonly??!0,H=m.ignoreHidden??!0;f===!0&&e.disabled===!0||P===!0&&e.readonly===!0||H===!0&&an(a.$el)?R=!1:(Array.isArray(m.include)&&m.include.indexOf(r)!==-1||Array.isArray(m.exclude)&&m.exclude.indexOf(r),R=!0),g=m.deep??!1}else typeof y=="boolean"&&(g=y),R=!0;if(R){const m=c?.validate();p.push(m)}if(g){let m=null;const f={deep:!1};if(y===!0)m={name:"*"};else if(Array.isArray(y)&&y.length>0){const P=y;m={name:H=>H?P.indexOf(H)!==-1:!1}}else if(y!=null&&typeof y=="object"){const P=y;if(Object.assign(f,P),Array.isArray(P.include)&&P.include.length>0){const H=P.include;m={name:L=>L?H.indexOf(L)!==-1:!1}}else if(Array.isArray(P.exclude)&&P.exclude.length>0){const H=P.exclude;m={name:L=>L?H.indexOf(L)===-1:!1}}else m={name:"*"}}if(m&&u){const P=u.emitToChildren(m,"validate",f);Reflect.apply([].push,p,P)}}return p.length==1?p[0]:p.length>1?Promise.all(p).then(m=>{let f=[];return m.forEach(P=>{P.pass===!1&&Array.isArray(P.errors)&&(f=[...f,...P.errors])}),f.length>0?{pass:!1,errors:f}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=y=>c?.setRule(y),a.setNameValidateRules=(y,p=!1)=>{const g=y[r];if(g&&c?.setRule(g),p&&u){const R={name:m=>Reflect.ownKeys(y).includes(m)};u.emitToChildren(R,"setNameValidateRules",y,!1)}},a.clearValidate=(y=null)=>{(!Array.isArray(y)||y.indexOf(n??"")!==-1)&&c?.clear();let p=null;if(y===!0)p={name:"*"};else if(Array.isArray(y)&&y.length>0){const g=y;p={name:R=>R?g.indexOf(R)!==-1:!1}}else if(y!=null&&typeof y=="object"){const g=y;if(Array.isArray(g.include)&&g.include.length>0){const R=g.include;p={name:m=>m?R.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const R=g.exclude;p={name:m=>m?R.indexOf(m)===-1:!1}}else p={name:"*"}}p&&u&&u.emitToChildren(p,"clearValidate",!1)};let h=new za(a);a[Jt]=h;const d=ct((y="validate")=>{c&&(y==="reset"?c.clear():c.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Ma()).forEach(y=>{h&&h.on(y,p=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:_a()).forEach(y=>{h&&h.on(y,p=>{d("reset")})}),t.onUnmounted(()=>{u?.destroy(),a[Se]=void 0,t.provide(Se,null),u=null,c?.destroy(),a[je]=void 0,t.provide(je,null),c=null,h?.destroy(),a[Jt]=void 0,h=null,a.broadcast=null,a.validate=null,a.setValidateRule=null,a.setNameValidateRules=null,a.clearValidate=null}),{broadcast:u,validateSchema:c,emitEvent:(y,...p)=>{h&&Reflect.apply(h.emit,h,[y,...p])},onEvent:(y,p)=>{h&&Reflect.apply(h.on,h,[p])},offEvent:(y,p)=>{h&&Reflect.apply(h.off,h,[p])}}}function Wa(e,n,o,l,a){const r={},i=n??"",u={getValue(){const h=e.getForSelf("modelValue");return h?h[i]:null},isExist(){const h=e.getForSelf("modelValue");return h?Reflect.has(h,i):!1}};o.fieldName=i,o.validateHandler={getValue(h){return u.getValue()}};let s=sn({},a,o);r.validate=(h=null)=>{if(!u.isExist())return console.warn(`validate error: field [${i}] not exist`),Promise.resolve({pass:!0});const d=[];let v=!1,x=!1;if(Array.isArray(h)&&h.indexOf(i)!==-1)x=!0,v=!0;else if(h&&typeof h=="object"){const y=h;Array.isArray(y.include)&&y.include.indexOf(i)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(i),x=!0,v=y.deep??!1}else typeof h=="boolean"&&(v=h),x=!0;if(x&&s){const y=s.validate();d.push(y)}if(v){let y=null;const p={deep:!1};if(h===!0)y={name:"*"};else if(Array.isArray(h)&&h.length>0){const g=h;y={name:R=>R?g.indexOf(R)!==-1:!1}}else if(h!=null&&typeof h=="object"){const g=h;if(Object.assign(p,g),Array.isArray(g.include)&&g.include.length>0){const R=g.include;y={name:m=>m?R.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const R=g.exclude;y={name:m=>m?R.indexOf(m)===-1:!1}}else y={name:"*"}}if(y&&c){const g=c.emitToChildren(y,"validate",p);Reflect.apply([].push,d,g)}}return d.length==1?d[0]:d.length>1?Promise.all(d).then(y=>{let p=[];return y.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(p=[...p,...g.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=h=>s?.setRule(h),r.setNameValidateRules=h=>{const d=h[i];d&&s?.setRule(d)};let c=rn(null,l,i,r);return t.onUnmounted(()=>{s=null,c=null}),{broadcast:c,validateSchema:s}}function gl(){let n=t.getCurrentInstance()?.proxy,o=new za(n);return n[Jt]=o,t.onUnmounted(()=>{o?.destroy(),n[Jt]=void 0,o=null,n=null}),{emitEvent:(l,...a)=>{o&&Reflect.apply(o.emit,o,[l,...a])},onEvent:(l,a)=>{o&&Reflect.apply(o.on,o,[a])},offEvent:(l,a)=>{o&&Reflect.apply(o.off,o,[a])}}}const Pe=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${pe(e,n)}px`:"";function pe(e,n=-1){if(e==null)return 0;if(typeof e=="number")return e>0&&e<1&&n>0?e*n:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let o=e.indexOf("px");if(o!==-1)return Number(e.substring(0,o));if(o=e.indexOf("rem"),o!==-1){let a=Number(e.substring(0,o)),r=1;if(lt){const{fontSize:i}=window.getComputedStyle(document.documentElement,null),u=i.indexOf("px");u>0&&(r=Number(i.substring(0,u)))}return a*=r,a}if(o=e.indexOf("%"),o!==-1)return Number(e.substring(0,o))/100*n;const l=Number(e);return isNaN(l)?0:l}const nt="PageStateKey";function Ke(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=pe(e.top)),e.left!==null&&e.left!==void 0&&(n.left=pe(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=pe(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=pe(e.right))),n}function nl(e,n,o={},l=!0,a=-1,r=-1,i=0,u=0){if(e.headerHeight=pe(o.headerHeight??n.headerHeight??-1),e.headerPadding=Ke(o.headerPadding??n.headerPadding),e.footerHeight=pe(o.footerHeight??n.footerHeight??-1),e.footerPadding=Ke(o.footerPadding??n.footerPadding),e.contentPadding=Ke(o.contentPadding??n.contentPadding),l){const s=o.height??n.height;s?e.height=pe(s,r):e.height=pe(r)-pe(i,r)-pe(u,r),e.width=pe(o.width??n.width??0,a)}}function Ya(e,n={}){const o={top:null,left:null,bottom:null,right:null},l={width:0,height:0,headerHeight:0,headerPadding:{...o},footerHeight:0,footerPadding:{...o},contentPadding:{...o},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});a&&(l.safeAreaTop=pe(a.top),l.safeAreaBottom=pe(a.bottom),l.safeAreaLeft=pe(a.left),l.safeAreaRight=pe(a.right));const r=e.get("pageLayout");if(!r)return null;const i=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,s=e.get("headerBarHeight")??0,c=e.get("footerBarHeight")??0;nl(l,r,n,!0,i,u,s,c);const h=t.reactive(l),d=e.getForParent(nt);d&&(l.height=Qt(e,d),l.width=en(e,d),t.watch([()=>Qt(e,d),()=>en(e,d)],([x,y])=>{h.height=x,h.width=y}));const v=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([x,y,p=-1,g=-1,R=0,m=0])=>{nl(h,y,n,v,p,g,R,m)}),e.set(nt,h),h}function fn(e){return e.get(nt)}function Pt(e,n){if(n=n??e.get(nt),n&&n.headerMounted){const o=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+o}return 0}function Ot(e,n){if(n=n??e.get(nt),n&&n.footerMounted){const o=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+o}return 0}function Qt(e,n){if(n=n??e.get(nt),n){if(n.contentInnerHeight)return n.contentInnerHeight;const o=Pt(e,n),l=Ot(e,n);return n.height-o-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function en(e,n){return n=n??e.get(nt),n?n.contentInnerWidth??n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}function ui(e,n){const o=e.get("isInnerPage");return typeof o=="function"?Reflect.apply(o,{},[n,e]):!1}function ci(e){return!!e.getForParent(nt)}var Re=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Re||{});function zt(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ne(e,n,o=1,l){const a=Xe();return a==null?e:o===0?t.computed(()=>{const r=a.getAll(n);for(let u=r.length-1;u>=0;u--){const s=r[u];if(zt(s,l))return s}const i=e.value;return zt(i,l)?i:null}):t.computed(()=>{const r=e.value;if(zt(r,l))return r;const i=a.getAll(n);for(let u=0;u<i.length;u++){const s=i[u];if(zt(s,l))return s}return null})}function Ee(e){return Ne(e,"readonly",1)}function Ve(e){return Ne(e,"disabled",1)}function he(e,n="modelValue",o=null,l){const a=t.toRef(e,n);let r=a.value;typeof o=="function"&&(r=o(a.value));const i=t.ref(r);return t.watch(a,u=>{if(typeof o=="function"){const s=o(u);s!==i.value&&(i.value=s,l&&l("setValue",s))}else u!==i.value&&(i.value=u,l&&l("setValue",u))}),i}const Ua=new Map,tn=new Map;let ll=null;function fi(e){ll=e}function Ga(e,n,o){if(o){let l=tn.get(o);l||(l=new Map,tn.set(o,l)),l.set(e,n)}else Ua.set(e,n)}function Oe(e,n,o){!o&&ll&&(o=ll(e)??void 0);let l=null;if(o){let a=tn.get(o);a&&(l=a.get(n))}return l||(l=Ua.get(n)),l}function di(e,n){for(let o in e){const l=e[o];Ga(o,l,n)}}function hi(e){tn.delete(e)}function mi(){return{top:0,left:0,bottom:0,right:0}}function gi(){if(lt){const e=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight;return{rootWidth:e,rootHeight:n,pageLayout:{}}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function pi(e,n){if(n.componentPrefix){const o=e.indexOf("-");return`${n.componentPrefix}${e.slice(o)}`}return e}class vi{packages;installers;_version;get version(){return this._version}constructor(n,o,l){this.packages=n,this.installers=o,this._version=l}install(n,o={}){o?.install!==!1&&(this.packages.forEach(r=>{if(r.install)n.use(r);else if(r.name){const i=pi(r.name,o);n.component(i,r)}}),this.installers.forEach(r=>{r(n,o)}));const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=vt();if(this.initPageLayout(o,a),o.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=ja(()=>{const u={...o},s=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=c,this.initPageLayout(u,a)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in o)l.indexOf(r)===-1&&a.set(r,o[r])}initPageLayout(n,o){const l=n.headerBarHeight??0,a=n.footerBarHeight??0,r=ut({},mi(),n.safeAreaInset),i=gi(),u=ut({},i.pageLayout,n.pageLayout);o=o??vt(),o.set("safeAreaInset",r),o.set("headerBarHeight",l),o.set("footerBarHeight",a),o.set("pageLayout",u),o.set("rootWidth",i.rootWidth),o.set("rootHeight",i.rootHeight)}setScopeGetter(n){fi(n)}setAPI(n,o,l){Ga(n,o,l)}getAPI(n,o,l){return Oe(n,o,l)}batchSetAPI(n,o){di(n,o)}clearScopeAPI(n){hi(n)}getRootDomain(){return vt()}}const yi=[I.ElAffix,I.ElAlert,I.ElAutocomplete,I.ElAutoResizer,I.ElAvatar,I.ElBacktop,I.ElBadge,I.ElBreadcrumb,I.ElBreadcrumbItem,I.ElButton,I.ElButtonGroup,I.ElCalendar,I.ElCard,I.ElCarousel,I.ElCarouselItem,I.ElCascader,I.ElCascaderPanel,I.ElCheckTag,I.ElCheckbox,I.ElCheckboxButton,I.ElCheckboxGroup,I.ElCol,I.ElCollapse,I.ElCollapseItem,I.ElCollapseTransition,I.ElColorPicker,I.ElConfigProvider,I.ElContainer,I.ElAside,I.ElFooter,I.ElHeader,I.ElMain,I.ElDatePicker,I.ElDescriptions,I.ElDescriptionsItem,I.ElDialog,I.ElDivider,I.ElDrawer,I.ElDropdown,I.ElDropdownItem,I.ElDropdownMenu,I.ElEmpty,I.ElForm,I.ElFormItem,I.ElIcon,I.ElImage,I.ElImageViewer,I.ElInput,I.ElInputNumber,I.ElLink,I.ElMenu,I.ElSubMenu,I.ElMenuItem,I.ElMenuItemGroup,I.ElPageHeader,I.ElPagination,I.ElPopconfirm,I.ElPopover,I.ElPopper,I.ElProgress,I.ElRadio,I.ElRadioButton,I.ElRadioGroup,I.ElRate,I.ElResult,I.ElRow,I.ElScrollbar,I.ElSelect,I.ElOption,I.ElOptionGroup,I.ElSelectV2,I.ElSkeleton,I.ElSkeletonItem,I.ElSlider,I.ElSpace,I.ElSteps,I.ElStep,I.ElSwitch,I.ElTable,I.ElTableColumn,I.ElTableV2,I.ElTabs,I.ElTabPane,I.ElTag,I.ElTimePicker,I.ElTimeSelect,I.ElTimeline,I.ElTimelineItem,I.ElTooltip,I.ElTransfer,I.ElTree,I.ElTreeSelect,I.ElTreeV2,I.ElUpload,I.ElStatistic,I.ElCountdown,I.ElSegmented,I.ElAnchor,I.ElAnchorLink,I.ElWatermark,I.ElMessageBox,I.ElMessage,I.ElNotification],bi=[I.ElInfiniteScroll,I.ElLoading,I.ElMessage,I.ElMessageBox,I.ElNotification,I.ElPopoverDirective],wi=(e,n={})=>{const o=n.componentPrefix??"fox",l=o[0].toUpperCase()+o.slice(1);yi.forEach(a=>{let r=a.name;typeof r=="string"?(r=`${l}${r.slice(2)}`,e.component(r,a)):e.use(a)}),bi.forEach(a=>{e.use(a)})};function se(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(o){return o.baseName=e,o.name=n,o.install=l=>{l.component(o.name,o)},t.defineComponent(o)},createDemo(o){return o.baseName=e,o.name="demo-"+e,t.defineComponent(o)}}}function ve(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}const be={disabled:{type:[Boolean,String],required:!1,default:()=>null},readonly:{type:[Boolean,String],required:!1,default:()=>null},labelPosition:{type:String,required:!1,default:()=>null},labelWidth:{type:[String,Number],required:!1,default:()=>null},textAlign:{type:[String],required:!1,default:()=>null},hasBorder:{type:Boolean,required:!1,default:()=>!0}},ke={prop:{type:String,required:!1},label:{type:String,required:!1},isRequired:{type:[String,Boolean],required:!1,default:()=>!1},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number,String],default:()=>0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:()=>"is-info"},warnMarkClass:{type:String,required:!1,default:()=>"is-warn"},errorMarkClass:{type:String,required:!1,default:()=>"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:()=>"content--default"},contentStyle:{type:Object,required:!1,default:()=>{}},hintType:{type:String,required:!1,default:()=>"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},Xa={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},Za={name:{type:String,required:!1},prop:{type:String,required:!1},tag:{type:String,required:!1,default:()=>"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1},type:{type:[String],required:!1},justify:{type:[String],required:!1,default:()=>"stretch"},align:{type:[String],required:!1,default:()=>"start"},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number],default:()=>0},autoLayout:{type:[Boolean],required:!1,default:()=>!0},isWrap:{type:[Boolean,String],required:!1,default:()=>!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:()=>!0},markColor:{type:[String],required:!1},title:{type:String,default:()=>""},titleColor:{type:[String],required:!1},collapse:{type:[String,Boolean],requried:!1},showCollapse:{type:[String,Boolean],required:!1,default:()=>!1},collapsePosition:{type:[String],requried:!1,default:()=>"right"},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1},rollingDisplay:{type:[Boolean],requried:!1,default:()=>!0}},Ja=[];for(const e in Za)Ja.push(e);const xi=Symbol.for("InnerPageScopeKey"),Si={name:{type:String,required:!1,default:()=>""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1}},Ci=(e,n)=>({inheritAttrs:!0,props:{...be,...Xa,...Si},setup(o,{slots:l}){const a=ml(o.name,o),r=t.inject(xi,!1);if(a){const h=Ya(a,o);ve({getPageContentHeight:()=>Qt(a,h),getPageContentWidth:()=>en(a,h),getPageHeaderHeight:()=>Pt(a,h),getPageFooterHeight:()=>Ot(a,h)}),h&&r&&(h.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),u=t.computed(()=>({})),s=t.getCurrentInstance(),c=(h,d=!1)=>{const v=s?.proxy;v&&typeof v.setNameValidateRules=="function"&&v.setNameValidateRules(h,!0,d)};return t.watch([()=>o.rules,()=>o.pureDataRules],([h,d],[v,x])=>{if(h&&v){const y=t.toRaw(v),p=t.toRaw(h),g=p?Reflect.ownKeys(p):[];(y?Reflect.ownKeys(y):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p)}if(d&&x){const y=t.toRaw(x),p=t.toRaw(d),g=p?Reflect.ownKeys(p):[];(y?Reflect.ownKeys(y):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p,!0)}},{deep:!0}),t.onMounted(()=>{if(o.rules){const h=t.toRaw(o.rules);c(h)}if(o.pureDataRules){const h=t.toRaw(o.pureDataRules);c(h,!0)}}),()=>{const h={class:i.value,style:u.value};return t.h("div",h,[l?.default?.()])}}}),{componentName:Ti,create:$i,scope:pp}=se("page"),pl=$i(Ci(Ti));function dn(e){const n=t.unref(e);return{width:n.offsetWidth,height:n.offsetHeight}}function vl(e){const n=t.unref(e),o=window.getComputedStyle(n,null),l=parseFloat(o.getPropertyValue("padding-left")),a=parseFloat(o.getPropertyValue("padding-right")),r=parseFloat(o.getPropertyValue("padding-top")),i=parseFloat(o.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-a,height:n.clientHeight-r-i}}const ki=(e,n,o,l=!1)=>({props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1,default:o},leftText:{type:String,required:!1},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(a,r){const i=Xe(),u=i?fn(i):null;u&&(u.headerMounted=!0);const s=e,c=t.computed(()=>({[s]:!0,[`${s}--border`]:a.border,[`${s}--fixed`]:a.fixed,[`${s}--safe-area-inset-top`]:a.safeAreaInsetTop})),h=t.computed(()=>({[`${s}__inner`]:!0,[`${s}__inner--${a.align}`]:!0})),d=a.height!==null&&a.height!==void 0?pe(a.height):null,v=t.computed(()=>{const V={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&u){const b=Ke(a.padding??u.headerPadding);return Object.assign(V,b),d&&(u.headerHeight=d),u.headerHeight>0&&(V.height=u.headerHeight),V.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,V.safeAreaTop>0&&(V.top=V.safeAreaTop+(b.top??0),V.height&&V.height>0&&(V.height=V.height+V.safeAreaTop)),V}if(d&&(V.height=d),a.padding){const b=Ke(a.padding);Object.assign(V,b)}return V}),x=t.ref(null),y=()=>{if(u&&x.value&&!an(x.value)){if(!l){const V=dn(x.value);u.headerAllHeight=V.height}return u.headerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{u&&(un(y,50,5,50,!0),window.ResizeObserver&&x.value&&(p=new window.ResizeObserver(()=>{y()}),p.observe(x.value)))}),t.onUnmounted(()=>{u&&(u.headerMounted=!1,p&&(p.disconnect(),p=null))});const g=t.computed(()=>{const V={};return v.value.height!==null&&v.value.height!==void 0&&(V.height=`${v.value.height}px`),v.value.top!==null&&v.value.top!==void 0&&(V.paddingTop=`${v.value.top}px`),v.value.left!==null&&v.value.left!==void 0&&(V.paddingLeft=`${v.value.left}px`),v.value.right!==null&&v.value.right!==void 0&&(V.paddingRight=`${v.value.right}px`),v.value.bottom!==null&&v.value.bottom!==void 0&&(V.paddingBottom=`${v.value.bottom}px`),V}),R=t.computed(()=>!(v.value.height!==null&&v.value.height!==void 0&&v.value.height<=0));function m(){r.emit("back")}function f(){r.emit("click-title")}function P(){r.emit("click-right")}function H(){r.emit("click-right-text")}const L=()=>{if(!a.leftShow)return null;const V=[];if(r.slots.left)V.push(r.slots.left());else{if(r.slots.leftIcon){const b=t.h("view",{class:"left-icon",onClick:m},[r.slots.leftIcon()]);V.push(b)}else if(a.leftIcon){const b=t.h("view",{class:"left-icon",onClick:m},[t.h(a.leftIcon)]);V.push(b)}if(a.leftText){const b=t.h("view",{class:"left-text",onClick:m},[a.leftText]);V.push(b)}}return V.length===0?null:t.h("view",{class:"fox-header-bar__left"},V)},A=()=>{if(!a.rightShow)return null;const V=[];if(r.slots.right)V.push(r.slots.right());else{if(a.rightText){const b=t.h("view",{class:"right-text",onClick:H},[a.rightText]);V.push(b)}if(r.slots.rightIcon){const b=t.h("view",{class:"right-icon",onClick:P},[r.slots.rightIcon()]);V.push(b)}else if(a.rightIcon){const b=t.h("view",{class:"right-icon",onClick:P},[t.h(a.rightIcon)]);V.push(b)}}return V.length===0?null:t.h("view",{class:"fox-header-bar__right"},V)},z=()=>{if(!a.titleShow)return null;const V=[],b=r.slots.default?r.slots.default():null;if(b)V.push(b);else{if(a.title){const j=t.h("view",{class:"title-text"},[a.title]);V.push(j)}if(r.slots.titleIcon){const j=t.h("view",{class:"title-icon",onClick:f},[r.slots.titleIcon()]);V.push(j)}else if(a.titleIcon){const j=t.h("view",{class:"title-icon",onClick:f},[t.h(a.titleIcon)]);V.push(j)}}return V.length===0?null:t.h("view",{class:"fox-header-bar__title"},V)},S=()=>{const V=[],b=r.slots.bottom?r.slots.bottom():null;return b&&V.push(b),V.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},V)};return()=>{if(!R.value)return null;const V=[];if(r.slots.all)V.push(r.slots.all());else{const j=[],X=L();X&&j.push(X);const B=z();B&&j.push(B);const N=A();if(N&&j.push(N),j.length>0){const F=t.h("view",{class:h.value},j);V.push(F)}const q=S();q&&V.push(q)}if(V.length===0)return null;const b={class:c.value,style:g.value,ref:x};return t.h("view",b,V)}}}),{componentName:Di,create:Ni,scope:Ei}=se("header-bar"),yl=Ni(ki(Di,Ei,Te.ArrowLeft));function Vi(e,n,o=!1){return{props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(l,a){const r=Xe(),i=r?fn(r):null,u=t.computed(()=>{const y=e;return{[y]:!0,[`${y}--${l.align}`]:!0,[`${y}--border`]:l.border,[`${y}--fixed`]:l.fixed,[`${y}--safe-area-inset-bottom`]:l.safeAreaInsetBottom}}),s=l.height!==null&&l.height!==void 0?pe(l.height):null,c=t.computed(()=>{const y={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const p=Ke(l.padding??i.footerPadding);return Object.assign(y,p),s&&(i.footerHeight=s),i.footerHeight>0&&(y.height=i.footerHeight),y.safeAreaBottom=i.safeAreaBottom===-1?0:i.safeAreaBottom,y.safeAreaBottom>0&&(y.bottom=y.safeAreaBottom+(p.bottom??0),y.height&&y.height>0&&(y.height=y.height+y.safeAreaBottom)),y}if(s&&(y.height=s),l.padding){const p=Ke(l.padding);Object.assign(y,p)}return y}),h=t.ref(null),d=()=>{if(i&&h.value&&!an(h.value)){if(!o){const y=dn(h.value);i.footerAllHeight=y.height}return i.footerMounted=!0,!0}return!1};let v=null;t.onMounted(()=>{i&&(un(d,50,5,50,!0),window.ResizeObserver&&(v=new window.ResizeObserver(()=>{d()}),v.observe(h.value)))}),t.onUnmounted(()=>{i&&(i.footerMounted=!1,v&&(v.disconnect(),v=null))});const x=t.computed(()=>{const y={};return c.value.height!==null&&c.value.height!==void 0&&(y.height=Pe(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(y.paddingTop=Pe(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(y.paddingLeft=Pe(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(y.paddingRight=Pe(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(y.paddingBottom=Pe(c.value.bottom)),y});return()=>{const y=a.slots.default?a.slots.default():[],p={ref:h,class:u.value,style:x.value};return t.h("view",p,y)}}}}const{componentName:Ii,create:Pi,scope:vp}=se("footer-bar"),bl=Pi(Vi(Ii));function Oi(e,n){return{props:{padding:{type:[Object],required:!1}},setup(o){const l=Xe(),a=t.computed(()=>({[e]:!0})),r=l?fn(l):null,i=t.computed(()=>{const c={};if(l&&r){if(o.padding){const x=Ke(o.padding);Object.assign(r.contentPadding,x)}const h=Pt(l,r),d=Ot(l,r);let v="";if(r.contentHeight?v=`${r.contentHeight}`:v=`${r.height}px`,r.contentPadding,c.height=v,r.contentPadding.top||h>0){const x=(r&&r.contentPadding&&r.contentPadding.top)??0;c.paddingTop=`${h+x}px`}if(r.contentPadding.bottom||d>0){const x=(r&&r.contentPadding&&r.contentPadding.bottom)??0;c.paddingBottom=`${d+x}px`}return r.contentPadding.left&&(c.paddingLeft=`${r.contentPadding.left}px`),r.contentPadding.right&&(c.paddingRight=`${r.contentPadding.right}px`),c}if(o.padding){const h=Ke(o.padding);h.left&&(c.paddingLeft=`${h.left}px`),h.top&&(c.paddingTop=`${h.top}px`),h.right&&(c.paddingRight=`${h.right}px`),h.bottom&&(c.paddingBottom=`${h.bottom}px`)}return c}),u=t.ref(null),s=()=>{if(r&&u.value){const c=vl(u.value);r.contentInnerHeight=c.height,r.contentInnerWidth=c.width}};return t.onMounted(()=>{s()}),l&&r&&t.watch([()=>Pt(l),()=>Ot(l)],([])=>{s()}),{contentRef:u,classes:a,styles:i}}}}const{componentName:Ai,create:Fi,scope:yp}=se("content"),Bi=Fi(Oi(Ai));function Ri(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("div",{ref:"contentRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const De=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},wl=De(Bi,[["render",Ri]]),wt="GroupStateKey",Qa=Symbol.for("GroupScopeKey");function hn(){return t.inject(Qa,!1)}function mn(e=!0){t.provide(Qa,e)}function Mi(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const a=n[l];dl(a)||(e[l]=a)})}function Li(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Mi(l,n);const a=t.shallowRef(l),r=t.markRaw({layout:a,passport:0,order:{index:0}});return e.set(wt,r),r}function Ln(e,n,o=-1,l=-1,a=!1,r,i,u){const s=e.get(wt);if(!s)return;const c=e.get("groupLayout")??{};o===-1&&(o=c.column??1),l===-1&&(l=c.gutter??0),r||(r=c.minItemWidth??-1),i||(i=c.maxItemWidth??-1);const h=pe(r),d=pe(i);u||(u=c.type??"grid");const v=()=>{const x=n===""||n===-1,y=pe(n);let p=me(o);const g=pe(l);if(!x){let f=(y-(p-1)*g)/p;for(;d!==-1&&f>d;)p++,f=(y-(p-1)*g)/p;for(;h!==-1&&p>1&&f<h;)p--,f=(y-(p-1)*g)/p}let R=!1;const m=s.layout;m.value.width=n,m.value.column!==p&&(m.value.column=p,R=!0),m.value.gutter!==g&&(m.value.gutter=g,R=!0),m.value.type!==u&&(m.value.type=u,R=!0),R&&t.triggerRef(m)};if(a)v();else{const x=++s.passport;setTimeout(()=>{x===s.passport&&v()},50)}}function gn(e,n=!1){let o;return n?o=e.getForParent(wt):o=e.get(wt),o.layout}function pn(e,n=!1){let o;return n?o=e.getForParent(wt):o=e.get(wt),o.order}function wo(e,n=1){if(n==="stretch")return-1;const o=me(n);return o===-1?100:100*o/e}function vn(e,n,o=1,l=0,a){const r={};let i=0;a?i=pe(a):i=wo(n.column,o),i>0&&(r.width=`${i}%`);const u=wo(n.column,l);u>0&&(r["margin-left"]=`${u}%`);const s=n.gutter/2;return s>0&&(r["padding-left"]=`${s}px`,r["padding-right"]=`${s}px`),r}function yn(e,n,o=1,l=0){if(o==="stretch"){const s=e.index%n.column,c=s+(n.column-s);return e.index=e.index+(c-s),{"grid-column":`${s+1} / -1`}}let a=me(o);if(a===-1){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}if(a>n.column){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}const r=me(l)%n.column;let i=(e.index+r)%n.column,u=i+a;return u>n.column?(i=0,u=i+a,e.index=e.index+(n.column-i)+a):e.index=e.index+r+a,r>0?{"grid-column":`${i+1} / span ${a}`}:{"grid-column-start":`span ${a}`}}const er=Symbol("RollingStateKey");function _i(e){t.provide(er,e)}function qi(){return t.inject(er,null)}function ol(e){let n=0;const o=window.getComputedStyle(e,null);if(o.getPropertyValue("box-sizing")==="content-box"){const a=parseFloat(o.getPropertyValue("padding-top")),r=parseFloat(o.getPropertyValue("padding-bottom"));n=e.clientHeight-a-r}else n=e.offsetHeight;return n}function zi(e){let n=ol(e);if(n<=0){const o=e.cloneNode(!0),l=e.offsetWidth;o.style=`width: ${l}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(o),n=ol(o),document.body.removeChild(o)}return n}function ji(e,n,o){if(e<=0)return"1fr";const l=(e-(n-1)*o)/n;return l>0?`${l}px`:"1fr"}const Hi={...be,...Xa,...Za};function Ki(e,n,o){return{props:Hi,emits:["update:collapse","header-click"],setup(l,a){const r=ml(l.prop??l.name,l,Ja),i=Li(r,{type:l.type}),u=hn();mn(!0);const s=l.rollingDisplay?qi():null,c=t.ref(null),h=t.computed(()=>l.rollingDisplay?s&&!s.disabled:!1),d=t.computed(()=>u&&r?gn(r,!0).value:null),v=t.getCurrentInstance(),x=(w,W=!1)=>{const U=v?.proxy;U&&typeof U.setNameValidateRules=="function"&&U.setNameValidateRules(w,!0,W)};t.watch([()=>l.rules,()=>l.pureDataRules],([w,W],[U,T])=>{if(w&&U){const K=t.toRaw(U),te=t.toRaw(w),le=te?Reflect.ownKeys(te):[];(K?Reflect.ownKeys(K):[]).forEach(oe=>{le.includes(oe)||(te[oe]=[])}),x(te)}if(W&&T){const K=t.toRaw(T),te=t.toRaw(W),le=te?Reflect.ownKeys(te):[];(K?Reflect.ownKeys(K):[]).forEach(oe=>{le.includes(oe)||(te[oe]=[])}),x(te,!0)}},{deep:!0});const y=e,p=t.computed(()=>{const w={};w.height=N.value;const W=u?pn(r,!0):null;if(d.value&&W){if(d.value.type==="grid"){const U=yn(W,d.value,l.span,l.offset);Object.assign(w,U)}else if(d.value.type==="flow"){const U=vn(W,d.value,l.span,l.offset,l.width);Object.assign(w,U)}}else if(l.width){const U=Pe(l.width);w.width=U}return w}),g=t.computed(()=>{const w=i.layout.value.type;return w==="grid"||w==="flow"?{[`${y}--${w}`]:!0,[`${y}--${w}-justify-${l.justify}`]:!0,[`${y}--${w}-align-${l.align}`]:!0,[`${y}--gutter`]:!0}:{[`${y}--${w}`]:!0,[`${y}--gutter`]:!0}}),R=t.computed(()=>{if(i.layout.value.type==="grid"){let W="";if(l.columnWidth)W=`repeat(auto-fill, ${l.columnWidth})`;else{const U=ji(z.value,i.layout.value.column,i.layout.value.gutter);W=`repeat(${i.layout.value.column}, ${U})`}return{"column-gap":`${i.layout.value.gutter}px`,"grid-template-columns":W}}}),m=t.toRef(l,"gutter"),f=t.toRef(l,"column"),P=t.computed(()=>u||h.value?!0:ue(l.isWrap)),H=[],L=w=>{H.push(w)},A=()=>{let w=H.length;H.splice(0,w)},z=t.ref(-1),S=w=>{const W=vl(w).width;W>0&&W!==z.value&&(z.value=W)};Ln(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&t.watch([z,f,m],([w,W,U])=>{i.order.index=0,Ln(r,w,W,U,!1,l.minItemWidth,l.maxItemWidth,l.type)});const V=t.computed(()=>q.value?l.expandText??"":l.collapseText??""),b=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),j=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!q.value,"is-collapse":q.value})),X=t.ref(),B=t.ref(),N=t.computed(()=>F.value||Pe(l.height)||""),q=t.ref(!1),F=t.ref(""),G=t.ref(!1);let $=-1;const J=(w,W=!0)=>{const U=X.value;if(U&&q.value!==w){if($=$===-1?zi(U):$,G.value=!0,W)if(U.style["will-change"]="height",U.ontransitionend=function(){U.ontransitionend=null,this.style["will-change"]="auto",w||(F.value="",G.value=!1)},w){let T=0;l.collapseHeight?T=l.collapseHeight:B.value&&B.value.classList.contains(`${e}__header`)&&(T=B.value.offsetHeight),F.value=`${$}px`,t.nextTick(()=>{F.value=`${T}px`})}else F.value=`${$}px`;else if(w){let T=0;l.collapseHeight?T=l.collapseHeight:B.value&&B.value.classList.contains(`${e}__header`)&&(T=B.value.offsetHeight),F.value=`${T}px`}else G.value=!1,F.value=`${$}px`;q.value=w,a.emit("update:collapse",w)}};t.watch(()=>l.collapse,w=>{J(w)});const Q=w=>{a.emit("header-click",w)},k=()=>{D()},D=w=>{w=w??!q.value,J(w)};ve({toggleCollapse:D,doLayout:()=>{H[0]&&(S(H[0]),Ln(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let M=null,E=!0;const Z=w=>{if(l.rules){const W=t.toRaw(l.rules);x(W)}if(l.pureDataRules){const W=t.toRaw(l.pureDataRules);x(W,!0)}if(lt&&(w&&J(ue(l.collapse),!1),l.autoLayout&&Array.isArray(H)&&H.length>0)){const W=H[0];S(W),window.ResizeObserver&&(M=new window.ResizeObserver(()=>{S(W)}),M.observe(W))}},ne=()=>{M?.disconnect(),M=null},Y=!h.value||s?.acquire();Y&&(c.value=h.value?!0:null),t.onMounted(()=>{if(Y&&(Z(E),E=!1),h.value&&s){let w=null,W=s.initialHeight;s.observe(X.value,U=>{if(U!==c.value)if(U)c.value=!0,q.value||(F.value=""),w=setTimeout(()=>{w=null,c.value!==!1&&(Z(E),E=!1)},100);else{if(w!==null&&clearTimeout(w),c.value=!1,!q.value)if(E)F.value=s.initialHeight;else{let T=ol(X.value);T<=0?F.value=W:(F.value=`${T}px`,W=F.value)}E||ne()}})}}),t.onUnmounted(()=>{M?.disconnect(),s&&s.unobserve(X.value)});const C=(w="right")=>{const W=[];if(V.value){const K={class:b.value},te=t.h("span",K,[V.value]);W.push(te)}const U={class:j.value},T=o(l.collapseIcon,U);return T&&W.push(T),W.length>0?t.h("div",{class:{[`${y}__header-collapse`]:!0,[`is-${w}`]:!0},onClick:k},W):null},O=(w,W,U,T)=>{const K={...g.value};return W===0&&(K[`${y}__first`]=!0),U>=T-1&&(K[`${y}__last`]=!0),t.h("div",{ref:L,key:`${W}`,class:K,style:R.value},w)};return()=>{if(h.value&&c.value!==!0){const K=l.tag||"div";return t.h(K,{ref:X,prop:l.name,class:{[`${y}`]:!0,"is-collapse":G.value},style:p.value},[])}i.order.index=0;const w=[];let W=0;if(a.slots.header){const K={key:`${W++}`,ref:B,class:{[`${y}__header`]:!0,[`${y}__first`]:!0},onClick:Q},te=t.h("div",K,[a.slots.header()]);w.push(te)}else{const K=[],te=l.collapsePosition==="left";if(te&&l.showCollapse){const le=C("left");le&&K.push(le)}if(l.title||a.slots.title){if(l.showMark){const le={class:{[`${y}__header-mark`]:!0}};l.markColor&&(le.style={background:l.markColor});const ee=t.h("div",le);K.push(ee)}if(a.slots.title){const le=t.h("div",{class:{[`${y}__header-title`]:!0}},[a.slots.title()]);K.push(le)}else if(l.title){const le=t.h("div",{class:{[`${y}__header-title`]:!0}},[l.title]);K.push(le)}}if(a.slots.toolbar&&K.push(a.slots.toolbar()),!te&&l.showCollapse){const le=C("right");le&&K.push(le)}if(K.length>0){const le={key:`${W++}`,ref:B,class:{[`${y}__header`]:!0,[`${y}__first`]:!0},onClick:Q},ee=t.h("div",le,K);w.push(ee)}}A();const U=a.slots.default?a.slots.default():[],T=i.layout.value.type;if(T==="grid"){const K=O(U,W++,0,U.length);w.push(K)}else if(T==="flow"){const K=O(U,W++,0,U.length);w.push(K)}else for(let K=0;K<U.length;K++){const te=U[K],le=O([te],W++,K,U.length);w.push(le)}if(P.value){const K=l.tag||"div";return t.h(K,{ref:X,prop:l.name,class:{[`${y}`]:!0,"is-collapse":G.value},style:p.value},[w])}else return w}}}}const{componentName:Wi,create:Yi,scope:Ui}=se("group"),Gi=(e,n)=>(e=e??Te.ArrowUp,t.h(I.ElIcon,n,{default:()=>[t.h(e)]})),xl=Yi(Ki(Wi,Ui,Gi));function Xi(e){return e===window}const Zi=/matrix\((.+)\)/,Sl=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(Xi(n))return{x:0,y:0};let o=0,l=0,a=n;for(;a!==null;)o+=a.offsetLeft,l+=a.offsetTop,a=a.offsetParent;let r=0,i=0,u=0,s=0;for(a=n;a!==document;){i+=a.scrollTop,r+=a.scrollLeft;const{transform:c}=window.getComputedStyle(a);if(c){const h=Zi.exec(c);if(h){let v=h[1].split(/\s*,\s*/);v.length==6&&(u+=Number(v[4]),s+=Number(v[5]))}}a=a.parentNode}return o-=r,l-=i,o+=u,l+=s,{x:o,y:l}};class Ji{watchedListeners=[];add(n){this.watchedListeners.push(n)}remove(n){const o=this.watchedListeners.indexOf(n);o!==-1&&this.watchedListeners.splice(o,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(n=>{try{n()}catch{}})}}class Qi{monitorRegister=new WeakMap;watch(n,o){let l=n.parentNode;const a=document.body.parentNode;for(;l&&l!==a;){let r=this.monitorRegister.get(l);r||(r=new Ji,l.addEventListener("scroll",r.listen),l===document.body&&l.addEventListener("resize",r.listen),this.monitorRegister.set(l,r)),r.add(o),l=l.parentNode}}unwatch(n,o){let l=n.parentNode;const a=document.body.parentNode;for(;l&&l!==a;){let r=this.monitorRegister.get(l);r&&(r.remove(o),r.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",r.listen),l===document.body&&l.removeEventListener("resize",r.listen))),l=l.parentNode}}}const Vt=new Qi,tr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:es,create:ts}=se("price"),ns=ts({props:{...tr},setup(e){const n=t.computed(()=>({[es]:!0})),o=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>Ye(e.price)==0?"":ln(e.price,e.decimalLength,!0,me(e.digits),e.separator)),a=t.computed(()=>{let i=l.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(0,u)}),r=t.computed(()=>{let i=l.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(u+1)});return{classes:n,showSymbol:o,intText:a,decimalText:r}}}),ls=["innerHTML"],os=["innerHTML"];function as(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ls)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--${e.size}`)},t.toDisplayString(e.intText),3),e.decimalText.length!=0?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--decimal-${e.size}`)},t.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,os)):t.createCommentVNode("",!0)],2)}const bn=De(ns,[["render",as]]),{componentName:_n,create:rs}=se("hint-text"),is=rs({components:{Price:bn},props:{...tr,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function},customClass:{type:String},customStyle:{type:Object},customTextClass:{type:String},customTextStyle:{type:Object},closeOnClick:{type:Boolean},zIndex:{type:[String,Number]}},emits:["update:visible"],setup(e,n){const o=t.ref({top:null,right:null,bottom:null,left:null}),l=t.ref({x:0,y:0}),a=t.ref(0),r=t.ref(0),i=t.ref(e.placement),u=t.ref(!1),s=t.ref(null),c=(b,j,X,B,N,q)=>{const F=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight,$=b.split("-");let J=[];$[0]==="top"?J=["top","bottom","right","left"]:$[0]==="bottom"?J=["bottom","top","right","left"]:$[0]==="left"?J=["left","top","bottom","right"]:$[0]==="right"&&(J=["right","top","bottom","left"]);const Q={top:null,right:null,bottom:null,left:null},k=[];for(let D=0;D<J.length;D++){const _=J[D];if(k[0]=_,$[1]&&(k[1]=$[1]),_==="top"){const M=j.y-q-e.arrowSize-e.offset;if(M>=0){Q.top=M;let E=0;$[1]==="start"?E=j.x:$[1]==="end"?E=j.x+X-N:E=j.x+X/2-N/2;const Z=F-E-N;Z<0?(E+=Z,d.value=-Z):d.value=0,Q.left=E<0?0:E;break}}else if(_==="bottom"){const M=j.y+B+e.arrowSize+e.offset;if(M+q<=G){Q.top=M;let E=0;$[1]==="start"?E=j.x:$[1]==="end"?E=j.x+X-N:E=j.x+X/2-N/2;const Z=F-E-N;Z<0?(E+=Z,d.value=-Z):d.value=0,Q.left=E<0?0:E;break}}else if(_==="left"){const M=j.x-N-e.arrowSize-e.offset;if(M>=0){Q.left=M;let E=0;$[1]==="start"?E=j.y:$[1]==="end"?E=j.y+B-q:E=j.y+B/2-q/2,Q.top=E<0?0:E;break}}else if(_==="right"){const M=j.x+X+e.arrowSize+e.offset;if(M+N<=F){Q.left=M;let E=0;$[1]==="start"?E=j.y:$[1]==="end"?E=j.y+B-q:E=j.y+B/2-q/2,Q.top=E<0?0:E;break}}}return{bestPlacement:k.join("-"),bestInsetRect:Q}},h=(b,j,X=10)=>{if(!lt||j===!1||!b)return;l.value=Sl(e.reference),a.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const B=s.value.offsetHeight,N=s.value.offsetWidth,{bestPlacement:q,bestInsetRect:F}=c(e.placement,l.value,a.value,r.value,N,B);i.value=q,o.value=F,u.value=!0},d=t.ref(0),v=ct(()=>{h(e.message,e.visible)},10),x=t.ref(e.visible);t.watch(()=>e.visible,b=>{x.value=b});const y=t.computed(()=>x.value&&p.value),p=t.ref(!0),g=ct(b=>{const j=b[0];j&&(p.value=j.isIntersecting)},10),R=new IntersectionObserver(g);t.watch([()=>e.message,()=>e.visible],([b,j])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Vt.watch(e.reference,v),R.observe(e.reference)}),t.onBeforeUnmount(()=>{Vt.unwatch(e.reference,v),R.unobserve(e.reference),R.disconnect()});const m=t.computed(()=>{const b={[_n]:!0};return i.value.startsWith("top")?b["is-top"]=!0:i.value.startsWith("right")?b["is-right"]=!0:i.value.startsWith("bottom")?b["is-bottom"]=!0:i.value.startsWith("right")&&(b["is-right"]=!0),e.size==="small"?b["is-small"]=!0:e.size==="large"&&(b["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(b[`${e.customClass}`]=!0),b}),f=t.computed(()=>{const b={};o.value.top!==null&&(b.top=`${o.value.top}px`),o.value.right!==null&&(b.right=`${o.value.right}px`),o.value.bottom!==null&&(b.bottom=`${o.value.bottom}px`),o.value.left!==null&&(b.left=`${o.value.left}px`),e.autoFit&&(b["min-width"]=`${a.value}px`);const j=document.documentElement.clientWidth||document.body.clientWidth;return b["max-width"]=`${j}px`,u.value&&(b.opacity="1"),e.transition||(b.transition="none"),e.zIndex&&(b["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(b,e.customStyle),b}),P=t.computed(()=>{const b=[`${_n}__content`];return e.customTextClass&&b.push(e.customTextClass),b}),H=t.computed(()=>{const b={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(b,e.customTextStyle),b}),L=t.computed(()=>({[`${_n}__arrow`]:!0})),A=t.computed(()=>{const b={};return e.showArrow?(b.width=`${e.arrowSize}px`,b.height=`${e.arrowSize}px`,i.value==="top"?(b.left="50%",b.bottom=`-${e.arrowSize}px`,b.transform=" translate(-50%, 0%)"):i.value==="top-start"?(b.left=`${e.arrowOffset+d.value}px`,b.bottom=`-${e.arrowSize}px`):i.value==="top-end"?(b.right=`${e.arrowOffset-d.value}px`,b.bottom=`-${e.arrowSize}px`):i.value==="right"?(b.left=`-${e.arrowSize}px`,b.top="50%",b.transform=" translate(0%, -50%)"):i.value==="right-start"?(b.left=`-${e.arrowSize}px`,b.top=`${e.arrowOffset}px`):i.value==="right-end"?(b.left=`-${e.arrowSize}px`,b.bottom=`-${e.arrowOffset}px`):i.value==="bottom"?(b.left="50%",b.top=`-${e.arrowSize}px`,b.transform=" translate(-50%, 0%)"):i.value==="bottom-start"?(b.left=`${e.arrowOffset+d.value}px`,b.top=`-${e.arrowSize}px`):i.value==="bottom-end"?(b.right=`${e.arrowOffset-d.value}px`,b.top=`-${e.arrowSize}px`):i.value==="left"?(b.right=`-${e.arrowSize}px`,b.top="50%",b.transform=" translate(0%, -50%)"):i.value==="left-start"?(b.right=`-${e.arrowSize}px`,b.top=`${e.arrowOffset}px`):i.value==="left-end"&&(b.right=`-${e.arrowSize}px`,b.bottom=`-${e.arrowOffset}px`),b):{display:"none"}}),z=t.computed(()=>y.value&&e.closeOnClick),S=t.computed(()=>{const b={};return e.zIndex&&(b["z-index"]=`${e.zIndex}`),b});return{show:y,tipRef:s,classes:m,styles:f,textClasses:P,textStyles:H,arrowClasses:L,arrowStyles:A,overlayShow:z,overlayStyle:S,onClickOverlay:()=>{x.value=!1,n.emit("update:visible",!1)}}}}),ss=["innerHTML"];function us(e,n,o,l,a,r){const i=t.resolveComponent("Price");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.overlayShow?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-hint-text__overlay",style:t.normalizeStyle(e.overlayStyle),onClick:n[0]||(n[0]=(...u)=>e.onClickOverlay&&e.onClickOverlay(...u))},null,4)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("div",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(i,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):(t.openBlock(),t.createElementBlock("span",{key:1,innerHTML:e.message},null,8,ss))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}const Mt=De(is,[["render",us]]);class nr{seed=new Date().getTime();constructor(n){this.seed=n??new Date().getTime()}get(){let n=this.seed++;return this.seed<0&&(this.seed=0),n}}const al={},cs=new nr,yt=new Map,nn=e=>{if(e){const n=document.getElementById(e);yt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of yt.keys()){const o=document.getElementById(n);o&&o.parentNode?.removeChild(o)}yt.clear()}},fs=e=>{e.unmount=nn;const n=document.getElementById(e.id);if(n){const o=yt.get(e.id);o?e={...al,...o,...e}:e={...al,...e},e.transition=!1;const l=t.createVNode(Mt,e);t.render(l,n)}return e.id},ds=e=>{e.unmount=nn;let n=e.id??`hinttext_${cs.get()}`;e={...al,...e},e.id=n,yt.set(n,e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(Mt,e);return t.render(l,o),document.body.appendChild(o),n},hs=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},Fe={show(e,n,o={},l=!0){hs(n);const a=o.id;return a&&yt.has(a)?fs({...o,message:n,reference:e}):(l&&nn(),ds({...o,message:n,reference:e}))},hide(e){nn(e)},install(e){e.config.globalProperties.$hintText=Fe}};function ms(e,n,o,l=!1){return{inheritAttrs:!0,props:{...be,...ke},emits:["appear","disappear"],setup(a,r){const i=a.prop??r.attrs.name;Ce({componentName:e,validate:!1},i);const u=Xe(),s=hn();mn(!1);const c=t.computed(()=>s&&u?gn(u,!1).value:null),h=e,d=t.ref(null),v=t.computed(()=>{const T={[h]:!0,[`${h}__gutter`]:c.value&&c.value.type!=="flow",[`${h}__stretch`]:a.span==="stretch",[`${h}__input--border`]:ue(a.hasBorder)};if(T[a.errorMarkClass]=!!q.value,T[a.warnMarkClass]=!!B.value,T[a.infoMarkClass]=!!j.value,typeof d.value=="function"){const K=d.value(i);T[K]=!0}else if(typeof d.value=="string"){const K=d.value;T[K]=!0}return T}),x=t.ref(null),y=t.computed(()=>{const T={};if(a.width)a.width!=="auto"&&(T.width=Pe(a.width));else{const K=s&&u?pn(u,!1):null;if(c.value&&K){if(c.value.type==="grid"){const te=yn(K,c.value,a.span,a.offset);Object.assign(T,te)}else if(c.value.type==="flow"){const te=vn(K,c.value,a.span,a.offset,a.width);Object.assign(T,te)}}}if(typeof x.value=="function"){const K=x.value(i);K&&Object.assign(T,K)}else if(x.value&&typeof x.value=="object"){const K=x.value;Object.assign(T,K)}return T}),p=t.ref(null),g=t.computed({get:()=>p.value??ue(a.isRequired),set:T=>{p.value=T}}),R=()=>typeof a.label=="string"&&a.label.length>0||typeof r.slots.label=="function",m=Ne(t.toRef(a,"labelPosition"),"labelPosition",Re.Near),f=t.computed(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),P=t.computed(()=>({[`${h}__main`]:!0,[`${h}__main--${f.value}`]:!0})),H=t.computed(()=>({label:!0,[`label--${f.value}`]:!0})),L=Ne(t.toRef(a,"labelWidth"),"labelWidth",Re.Near),A=t.computed(()=>L&&L.value?{width:Pe(L.value)}:{}),z=t.computed(()=>({"label--string":!0,"label--required":g.value})),S=t.computed(()=>({content:!0,[a.contentClass]:!0})),V=t.computed(()=>({...a.contentStyle})),b=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ve({setRequired(T){g.value=T},setErrorTip(T){b.errorTip=T},setErrorIcon(T){b.errorIcon=T},setWarnTip(T){b.warnTip=T},setWarnIcon(T){b.warnIcon=T},setInfoTip(T){b.infoTip=T},setInfoIcon(T){b.infoIcon=T},setCustomClassName(T){d.value=T},setCustomStyle(T){x.value=T}});const j=t.computed(()=>a.infoTip||b.infoTip),X=t.computed(()=>a.infoIcon||b.infoIcon),B=t.computed(()=>a.warnTip||b.warnTip),N=t.computed(()=>a.warnIcon||b.warnIcon),q=t.computed(()=>a.errorTip||b.errorTip),F=t.computed(()=>a.errorIcon||b.errorIcon),G=t.computed(()=>q.value?"error":B.value?"warn":j.value?"info":""),$=()=>G.value.length>0,J=t.computed(()=>G.value==="error"?q.value:G.value==="warn"?B.value:G.value==="info"?j.value:""),Q=t.computed(()=>G.value==="error"?F.value:G.value==="warn"?N.value:G.value==="info"?X.value:null),k=t.computed(()=>{const T={[`${h}__tip`]:!0,[`${h}__tip--${G.value}`]:!0,[`${h}--animate`]:!0};return G.value==="error"&&a.errorClass?T[`${a.errorClass}`]=!0:G.value==="warn"&&a.warnClass?T[`${a.warnClass}`]=!0:G.value==="info"&&a.infoClass&&(T[`${a.infoClass}`]=!0),T}),D=t.computed(()=>{const T={};return m&&m.value==="top"||!R()?T["padding-left"]="0px":L&&L.value&&(T["padding-left"]=Pe(L.value)),T}),_=t.ref();let M="";t.watch([()=>a.hintVisible,()=>a.hintText,()=>a.hintType,()=>a.hintProps],([T,K,te,le])=>{_.value&&(T&&!fe(K)?M?o.show(_.value,K,{...le,id:M,type:te},!0):M=o.show(_.value,K,{...le,type:te},!0):o.hide(M))});let E=null;const Z=()=>{E||!_.value||(E=new IntersectionObserver(T=>{let K=!1;for(let te of T)if(te.intersectionRatio>0){K=!0,K&&r.emit("appear",te);break}K||r.emit("disappear")}),E.observe(_.value))},ne=()=>{!E||!_.value||(E.unobserve(_.value),E=null)};t.watch(()=>ue(a.appearListen),T=>{T?Z():ne()}),t.onMounted(()=>{ue(a.appearListen)&&Z()}),t.onUnmounted(ne);const Y=()=>{if(!R())return null;const T=[],K=r.slots?.label?.()??a.label,te={class:z.value},le=t.h("div",te,[K]);if(T.push(le),r.slots.fixedPreTip){const oe=r.slots.fixedPreTip();T.push(oe)}const ee={class:H.value,style:A.value};return t.h("div",ee,T)},C=()=>{const T=[];if(r.slots.prepend){const te=r.slots.prepend();T.push(te)}if(r.slots.default){const te=r.slots.default();T.push(te)}if(r.slots.append){const te=r.slots.append();T.push(te)}if(r.slots.fixedTip){const te={class:[`${h}__fixed-tip`]},le=t.h("div",te,[r.slots.fixedTip()]);T.push(le)}const K={ref:_,class:S.value,style:V.value};return t.h("div",K,T)},O=()=>{const T=Q.value;return T?typeof T=="function"?t.h("div",{class:"fox-item__tip--icon"},[T()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(T)]):null},w=()=>{const T=J.value;return T?typeof T=="function"?t.h("div",{class:"fox-item__tip--text"},[T()]):t.h("div",{class:"fox-item__tip--text"},[T]):null},W=()=>{if(!$())return null;const T=[],K=O();K&&T.push(K);const te=w();te&&T.push(te);const le={class:k.value,style:D.value};return t.h("div",le,T)},U=()=>r.slots?.hide?.()??null;return()=>{const T=[],K=[],te=Y();te&&K.push(te);const le=C();le&&K.push(le);const ee={class:P.value},oe=t.h("div",ee,K);T.push(oe);const ae=W();ae&&T.push(ae);const ie=U();ie&&T.push(ie);const de={class:v.value,style:y.value,prop:a.prop};return t.h("div",de,T)}}}}const{componentName:gs,create:ps,scope:vs}=se("item"),we=ps(ms(gs,vs,Fe,!1));function ys(e,n){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}},setup(o,l){const a=Xe(),r=hn();mn(!1);const i=t.computed(()=>r&&a?gn(a,!1).value:null),u=e,s=t.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:o.span==="stretch"})),c=t.computed(()=>{const h={},d=r&&a?pn(a,!1):null;if(i.value&&d)if(i.value.type==="grid"){const v=yn(d,i.value,o.span,o.offset);Object.assign(h,v)}else if(i.value.type==="flow"){const v=vn(d,i.value,o.span,o.offset,o.width);Object.assign(h,v)}else return o.width&&(h.width=Pe(o.width)),h;else o.width&&(h.width=Pe(o.width));return h});return()=>{const h={class:s.value,style:c.value};return l.slots&&typeof l.slots.default=="function"?t.h("div",h,l.slots.default()):t.h("div",h)}}}}const{componentName:bs,create:ws,scope:bp}=se("slot-item"),Cl=ws(ys(bs));function xs(e,n){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean,String],required:!1,default:!1}},setup(o,l){const a=e,r=t.computed(()=>({[a]:!0,[`${a}__stretch`]:o.span==="stretch",[`${a}__${o.align}`]:!0})),i=Xe(),u=hn();mn(!1);const s=t.computed(()=>{const c={};if(u&&i){const h=gn(i,!1),d=pn(i,!1);if(h.value&&d)if(h.value.type==="grid"){const v=yn(d,h.value,o.span,o.offset);Object.assign(c,v)}else if(h.value.type==="flow"){const v=vn(d,h.value,o.span,o.offset,o.width);Object.assign(c,v)}else o.width&&(c.width=Pe(o.width))}else o.width&&(c.width=Pe(o.width));return c});return()=>{const c=[];if(l.slots.default){const d=l.slots.default();if(o.divide)for(let v=0;v<d.length;v++){if(v>0){const x=t.h("div",{class:{[`${a}__divide`]:!0}});c.push(x)}c.push(d[v])}else Reflect.apply([].push,c,d)}const h={class:r.value,style:s.value};return t.h("div",h,c)}}}}const{componentName:Ss,create:Cs,scope:wp}=se("row-item"),Tl=Cs(xs(Ss)),Ue=(e={})=>{if(!e)return{};const n={};return Reflect.ownKeys(e).forEach(l=>{typeof l=="string"&&l.indexOf("data-fox")!==0&&(n[l]=e[l])}),n},xo={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1}};function Ts(e,n,o){return{props:{...be,...ke,...xo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=e,p=t.computed(()=>({[y]:!0,[`${y}__disabled`]:i.value,[`${y}__readonly`]:s.value})),g=N=>{x.value=N,c("update:modelValue",N),c("input",N)},R=N=>{c("change",N)};let m=he(l,"hintText"),f=t.ref(!1);const P=N=>{let F=N.target.value;v.value=!0,fe(m.value)||(f.value=!0),c("focus",F,N)},H=N=>{setTimeout(()=>{f.value&&(f.value=!1),v.value=!1},0);let F=N.target.value;l.maxLength&&F.length>Number(l.maxLength)&&(F=F.slice(0,Number(l.maxLength))),c("blur",F,N)},L=()=>{c("clear","")},A=t.ref(!1);let z=null;const S=()=>{l.showTooltip&&A.value===!1&&(z&&clearTimeout(z),z=setTimeout(()=>{A.value=!0},150))},V=()=>{z&&(clearTimeout(z),A.value=!1,z=null)},b=t.computed(()=>A.value||f.value),j=t.computed(()=>A.value?x.value:m.value),X=t.computed(()=>Ye(l.unit)>0),B=t.ref();return ve({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()},setDisabled:N=>{r.value=N},setReadonly:N=>{u.value=N}}),()=>{const q={...Ue(a.attrs),ref:B,class:p.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:L,onChange:R,onInput:g,onFocus:P,onBlur:H,onMouseover:S,onMouseleave:V},F={};a.slots.prepend&&(F.prepend=a.slots.prepend),a.slots.append&&(F.append=a.slots.append),a.slots.prefix&&(F.prefix=a.slots.prefix),a.slots.suffix?F.suffix=a.slots.suffix:X.value&&(F.suffix=()=>[l.unit]);const G=[],$=t.h(I.ElInput,q,F);G.push($);const J={default:()=>G};a.slots.default&&(J.label=a.slots.default),a.slots.default&&(J.fixedTip=a.slots.fixedTip);const k={...$e(l,xo),hintText:j.value,hintVisible:b.value};return l.prop&&(k.prop=`${l.prop}_item`),t.h(o,k,J)}}}}const{componentName:$s,create:ks,scope:Ds}=se("input-item"),$l=ks(Ts($s,Ds,we));function et(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function At(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function lr(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function Ns(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let Es=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Vs(){const e=t.getCurrentInstance();return new Es(e.proxy)}function or(e,n,o){const l=et(e,n),a=et(e,o);if(l!==a)return!1;const r=At(e,n),i=At(e,o);return r===i}function ar(e,n,o,l){if(l.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];return n.forEach(r=>{for(let i of l){const u=lr(e,i);if(Array.isArray(u)&&u.length>0){const s=ar(e,r,o,u)??[];Reflect.apply([].push,a,s)}else{let s=!1;if(o==="text")s=et(e,i)===r;else if(o==="item")s=or(e,i,r);else{let c=At(e,i);c==null&&(c=et(e,i)),s=c===r}if(s){a.push(i);break}}}}),a}function Is(e){return{text:e,value:e}}const So={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},disabledKey:{type:[String],required:!1,default:"disabled"},remoteMethod:{type:[Function],required:!1},filterMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},appearLoad:{type:[Boolean,String],default:!1},showTooltip:{type:Boolean,default:!1}};function Ps(e,n,o){return{props:{...be,...ke,...So},emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(null),x=t.ref([]),y=t.computed(()=>x.value?x.value.map(W=>et(l,W)).join(" "):""),p=(w,W,U,T=!0)=>{const K=ar(l,w,W,U);if(K===null){if(x.value===null||x.value.length===0)return;v.value=null,x.value=[],T&&(c("update:modelValue",null),c("update:text",null),c("change",null));return}let te=!0;if(K.length!==x.value.length)te=!1;else for(let le=0;le<K.length;le++){const ee=K[le],oe=x.value[le];if(!or(l,ee,oe)){te=!1;break}}if(!te){x.value=K;let le=[],ee=[],oe=[];K.forEach(ge=>{const _e=At(l,ge),qe=et(l,ge);le.push(_e),oe.push(qe),l.valueType==="text"?ee.push(qe):l.valueType==="item"?ee.push(ge):ee.push(_e)});let ae,ie,de;ue(l.multiple)?(v.value=le,ae=t.toRaw(ee),ie=oe,de=t.toRaw(K)):(v.value=le[0]??"",ae=t.toRaw(ee[0]??""),ie=oe[0]??"",de=t.toRaw(K[0])),T&&(c("update:modelValue",ae),c("change",ae,de)),c("update:text",ie)}},g=t.ref(null),R=t.ref(null),m=t.computed(()=>R.value??g.value??[]),f=Ne(t.computed(()=>l.appearLoad),"appearLoad",Re.Near,w=>ue(w)),P=Vs(),H=async(w,W)=>{if(w){const U=await P.load("select",w,W);if(U.length>0)if(typeof U[0]=="string"){let te=U.map(le=>Is(le));g.value=te}else g.value=U;else g.value=null}};t.watch([()=>l.source,()=>l.params],([w,W])=>{R.value=null,H(w,W)},{immediate:!f.value});let L=!1;const A=()=>{L||(L=!0,H(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([w,W])=>{if(b()&&ue(l.multiple)){Le(W,v.value)||(v.value=W);return}p(W,l.valueType,m.value,!1),c("setValue",W)});let z=null,S=t.ref(!1);typeof l.remoteMethod=="function"&&(z=async w=>{if(w==null){R.value=null;return}S.value=!0;try{const W=await l.remoteMethod(w);W&&(R.value=W)}catch(W){R.value=null,console.error(W)}S.value=!1});let V=null;typeof l.filterMethod=="function"&&(V=async w=>{if(w==null){R.value=null;return}S.value=!0;try{const W=await l.filterMethod(w,g.value);W&&(R.value=W)}catch(W){R.value=null,console.error(W)}S.value=!1});const b=()=>typeof l.remoteMethod=="function"||typeof l.filterMethod=="function",j=t.ref(!1),X=e,B=t.computed(()=>({[X]:!0})),N=w=>{l.allowCreate||b()&&ue(l.multiple)?(c("update:modelValue",w),c("change",w),c("update:text",w),v.value=w):p(w,"value",m.value,!0)};let q=he(l,"hintText"),F=t.ref(!1);const G=w=>{let U=w.target.value;j.value=!0,fe(q.value)||(F.value=!0),c("focus",U,w)},$=w=>{setTimeout(()=>{F.value&&(F.value=!1),j.value=!1},0);let U=w.target.value;l.maxLength&&U.length>Number(l.maxLength)&&(U=U.slice(0,Number(l.maxLength))),Z.value||c("blur",U,w)},J=()=>{c("clear","")},Q=t.ref(!1);let k=null;const D=()=>{l.showTooltip&&Q.value===!1&&(k&&clearTimeout(k),k=setTimeout(()=>{Q.value=!0},150))},_=()=>{k&&(clearTimeout(k),Q.value=!1,k=null)},M=t.computed(()=>Q.value||F.value),E=t.computed(()=>Q.value?y.value:q.value),Z=t.ref(!1),ne=w=>{Z.value=w,c("visible-change",w),w||c("selected")},Y=w=>{c("remove-tag",w)},C=(w,W)=>{const U=[];return w.forEach((T,K)=>{const te=lr(l,T);if(Array.isArray(te)&&te.length>0){const le=C(te,W),ee=et(l,T),ae={key:`${ee}_${K}`,label:ee};U.push(t.h(I.ElOptionGroup,ae,{default:()=>le}))}else{const le=At(l,T),ee=et(l,T),oe=Ns(l,T),ie={key:`${le}_${K}`,label:ee,disabled:oe,value:le};if(typeof W=="function")U.push(t.h(I.ElOption,ie,{default:()=>W(T)}));else if(l.optionType==="item"){const de={class:{"fox-select-item__option-left":!0}},ge=t.h("span",de,[le]),_e={class:{"fox-select-item__option-right":!0}},qe=t.h("span",_e,[ee]),mo=t.h("div",{class:{"fox-select-item__option":!0}},[ge,qe]);U.push(t.h(I.ElOption,ie,{default:()=>mo}))}else l.optionType==="value"?U.push(t.h(I.ElOption,ie,{default:()=>[le]})):U.push(t.h(I.ElOption,ie))}}),U},O=t.ref();return ve({focus:()=>{O?.value.focus()},blur:()=>{O?.value.blur()},setDisabled:w=>{r.value=w},setReadonly:w=>{u.value=w}}),()=>{const W={...Ue(a.attrs),ref:O,class:B.value,clearable:l.clearable,multiple:l.multiple,placeholder:d.placeholder.value,disabled:i.value||s.value,modelValue:v.value,"value-key":l.valueKey,"allow-create":l.allowCreate,onClear:J,onChange:N,onFocus:G,onBlur:$,onVisibleChange:ne,onRemoveTag:Y};typeof z=="function"&&(W["remote-method"]=z,W.loading=S.value),typeof V=="function"&&(W["filter-method"]=V,W.loading=S.value);const U={};a.slots.prefix&&(U.prefix=a.slots.prefix),a.slots.empty&&(U.empty=a.slots.empty),a.slots.options?U.default=a.slots.options:U.default=()=>C(m.value,a.slots.option);const T=[],K=t.h(I.ElSelect,W,U);T.push(K);const te={default:()=>T};a.slots.default&&(te.label=a.slots.default),a.slots.fixedTip&&(te.fixedTip=a.slots.fixedTip);const ee={...$e(l,So),hintText:E.value,hintVisible:M.value,onMouseover:D,onMouseleave:_};return l.prop&&(ee.prop=`${l.prop}_item`),f.value&&(ee["appear-listen"]=!0,ee.onAppear=A),t.h(o,ee,te)}}}}const{componentName:Os,create:As,scope:Fs}=se("select-item"),kl=As(Ps(Os,Fs,we));var Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){var o=1e3,l=6e4,a=36e5,r="millisecond",i="second",u="minute",s="hour",c="day",h="week",d="month",v="quarter",x="year",y="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|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,m={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(B){var N=["th","st","nd","rd"],q=B%100;return"["+B+(N[(q-20)%10]||N[q]||N[0])+"]"}},f=function(B,N,q){var F=String(B);return!F||F.length>=N?B:""+Array(N+1-F.length).join(q)+B},P={s:f,z:function(B){var N=-B.utcOffset(),q=Math.abs(N),F=Math.floor(q/60),G=q%60;return(N<=0?"+":"-")+f(F,2,"0")+":"+f(G,2,"0")},m:function B(N,q){if(N.date()<q.date())return-B(q,N);var F=12*(q.year()-N.year())+(q.month()-N.month()),G=N.clone().add(F,d),$=q-G<0,J=N.clone().add(F+($?-1:1),d);return+(-(F+(q-G)/($?G-J:J-G))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:x,w:h,d:c,D:y,h:s,m:u,s:i,ms:r,Q:v}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},H="en",L={};L[H]=m;var A="$isDayjsObject",z=function(B){return B instanceof j||!(!B||!B[A])},S=function B(N,q,F){var G;if(!N)return H;if(typeof N=="string"){var $=N.toLowerCase();L[$]&&(G=$),q&&(L[$]=q,G=$);var J=N.split("-");if(!G&&J.length>1)return B(J[0])}else{var Q=N.name;L[Q]=N,G=Q}return!F&&G&&(H=G),G||!F&&H},V=function(B,N){if(z(B))return B.clone();var q=typeof N=="object"?N:{};return q.date=B,q.args=arguments,new j(q)},b=P;b.l=S,b.i=z,b.w=function(B,N){return V(B,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var j=function(){function B(q){this.$L=S(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[A]=!0}var N=B.prototype;return N.parse=function(q){this.$d=function(F){var G=F.date,$=F.utc;if(G===null)return new Date(NaN);if(b.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var J=G.match(g);if(J){var Q=J[2]-1||0,k=(J[7]||"0").substring(0,3);return $?new Date(Date.UTC(J[1],Q,J[3]||1,J[4]||0,J[5]||0,J[6]||0,k)):new Date(J[1],Q,J[3]||1,J[4]||0,J[5]||0,J[6]||0,k)}}return new Date(G)}(q),this.init()},N.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},N.$utils=function(){return b},N.isValid=function(){return this.$d.toString()!==p},N.isSame=function(q,F){var G=V(q);return this.startOf(F)<=G&&G<=this.endOf(F)},N.isAfter=function(q,F){return V(q)<this.startOf(F)},N.isBefore=function(q,F){return this.endOf(F)<V(q)},N.$g=function(q,F,G){return b.u(q)?this[F]:this.set(G,q)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(q,F){var G=this,$=!!b.u(F)||F,J=b.p(q),Q=function(Y,C){var O=b.w(G.$u?Date.UTC(G.$y,C,Y):new Date(G.$y,C,Y),G);return $?O:O.endOf(c)},k=function(Y,C){return b.w(G.toDate()[Y].apply(G.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(C)),G)},D=this.$W,_=this.$M,M=this.$D,E="set"+(this.$u?"UTC":"");switch(J){case x:return $?Q(1,0):Q(31,11);case d:return $?Q(1,_):Q(0,_+1);case h:var Z=this.$locale().weekStart||0,ne=(D<Z?D+7:D)-Z;return Q($?M-ne:M+(6-ne),_);case c:case y:return k(E+"Hours",0);case s:return k(E+"Minutes",1);case u:return k(E+"Seconds",2);case i:return k(E+"Milliseconds",3);default:return this.clone()}},N.endOf=function(q){return this.startOf(q,!1)},N.$set=function(q,F){var G,$=b.p(q),J="set"+(this.$u?"UTC":""),Q=(G={},G[c]=J+"Date",G[y]=J+"Date",G[d]=J+"Month",G[x]=J+"FullYear",G[s]=J+"Hours",G[u]=J+"Minutes",G[i]=J+"Seconds",G[r]=J+"Milliseconds",G)[$],k=$===c?this.$D+(F-this.$W):F;if($===d||$===x){var D=this.clone().set(y,1);D.$d[Q](k),D.init(),this.$d=D.set(y,Math.min(this.$D,D.daysInMonth())).$d}else Q&&this.$d[Q](k);return this.init(),this},N.set=function(q,F){return this.clone().$set(q,F)},N.get=function(q){return this[b.p(q)]()},N.add=function(q,F){var G,$=this;q=Number(q);var J=b.p(F),Q=function(_){var M=V($);return b.w(M.date(M.date()+Math.round(_*q)),$)};if(J===d)return this.set(d,this.$M+q);if(J===x)return this.set(x,this.$y+q);if(J===c)return Q(1);if(J===h)return Q(7);var k=(G={},G[u]=l,G[s]=a,G[i]=o,G)[J]||1,D=this.$d.getTime()+q*k;return b.w(D,this)},N.subtract=function(q,F){return this.add(-1*q,F)},N.format=function(q){var F=this,G=this.$locale();if(!this.isValid())return G.invalidDate||p;var $=q||"YYYY-MM-DDTHH:mm:ssZ",J=b.z(this),Q=this.$H,k=this.$m,D=this.$M,_=G.weekdays,M=G.months,E=G.meridiem,Z=function(C,O,w,W){return C&&(C[O]||C(F,$))||w[O].slice(0,W)},ne=function(C){return b.s(Q%12||12,C,"0")},Y=E||function(C,O,w){var W=C<12?"AM":"PM";return w?W.toLowerCase():W};return $.replace(R,function(C,O){return O||function(w){switch(w){case"YY":return String(F.$y).slice(-2);case"YYYY":return b.s(F.$y,4,"0");case"M":return D+1;case"MM":return b.s(D+1,2,"0");case"MMM":return Z(G.monthsShort,D,M,3);case"MMMM":return Z(M,D);case"D":return F.$D;case"DD":return b.s(F.$D,2,"0");case"d":return String(F.$W);case"dd":return Z(G.weekdaysMin,F.$W,_,2);case"ddd":return Z(G.weekdaysShort,F.$W,_,3);case"dddd":return _[F.$W];case"H":return String(Q);case"HH":return b.s(Q,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return Y(Q,k,!0);case"A":return Y(Q,k,!1);case"m":return String(k);case"mm":return b.s(k,2,"0");case"s":return String(F.$s);case"ss":return b.s(F.$s,2,"0");case"SSS":return b.s(F.$ms,3,"0");case"Z":return J}return null}(C)||J.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(q,F,G){var $,J=this,Q=b.p(F),k=V(q),D=(k.utcOffset()-this.utcOffset())*l,_=this-k,M=function(){return b.m(J,k)};switch(Q){case x:$=M()/12;break;case d:$=M();break;case v:$=M()/3;break;case h:$=(_-D)/6048e5;break;case c:$=(_-D)/864e5;break;case s:$=_/a;break;case u:$=_/l;break;case i:$=_/o;break;default:$=_}return G?$:b.a($)},N.daysInMonth=function(){return this.endOf(d).$D},N.$locale=function(){return L[this.$L]},N.locale=function(q,F){if(!q)return this.$L;var G=this.clone(),$=S(q,F,!0);return $&&(G.$L=$),G},N.clone=function(){return b.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},B}(),X=j.prototype;return V.prototype=X,[["$ms",r],["$s",i],["$m",u],["$H",s],["$W",c],["$M",d],["$y",x],["$D",y]].forEach(function(B){X[B[1]]=function(N){return this.$g(N,B[0],B[1])}}),V.extend=function(B,N){return B.$i||(B(N,j,V),B.$i=!0),V},V.locale=S,V.isDayjs=z,V.unix=function(B){return V(1e3*B)},V.en=L[H],V.Ls=L,V.p={},V})})(rr);var Bs=rr.exports;const We=Je(Bs);var ir={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){var o={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"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,u={},s=function(p){return(p=+p)+(p>68?1900:2e3)},c=function(p){return function(g){this[p]=+g}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var R=g.match(/([+-]|\d\d)/g),m=60*R[1]+(+R[2]||0);return m===0?0:R[0]==="+"?-m:m}(p)}],d=function(p){var g=u[p];return g&&(g.indexOf?g:g.s.concat(g.f))},v=function(p,g){var R,m=u.meridiem;if(m){for(var f=1;f<=24;f+=1)if(p.indexOf(m(f,0,g))>-1){R=f>12;break}}else R=p===(g?"pm":"PM");return R},x={A:[i,function(p){this.afternoon=v(p,!1)}],a:[i,function(p){this.afternoon=v(p,!0)}],S:[/\d/,function(p){this.milliseconds=100*+p}],SS:[a,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[a,c("day")],Do:[i,function(p){var g=u.ordinal,R=p.match(/\d+/);if(this.day=R[0],g)for(var m=1;m<=31;m+=1)g(m).replace(/\[|\]/g,"")===p&&(this.day=m)}],M:[r,c("month")],MM:[a,c("month")],MMM:[i,function(p){var g=d("months"),R=(d("monthsShort")||g.map(function(m){return m.slice(0,3)})).indexOf(p)+1;if(R<1)throw new Error;this.month=R%12||R}],MMMM:[i,function(p){var g=d("months").indexOf(p)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,c("year")],YY:[a,function(p){this.year=s(p)}],YYYY:[/\d{4}/,c("year")],Z:h,ZZ:h};function y(p){var g,R;g=p,R=u&&u.formats;for(var m=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(S,V,b){var j=b&&b.toUpperCase();return V||R[b]||o[b]||R[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(X,B,N){return B||N.slice(1)})})).match(l),f=m.length,P=0;P<f;P+=1){var H=m[P],L=x[H],A=L&&L[0],z=L&&L[1];m[P]=z?{regex:A,parser:z}:H.replace(/^\[|\]$/g,"")}return function(S){for(var V={},b=0,j=0;b<f;b+=1){var X=m[b];if(typeof X=="string")j+=X.length;else{var B=X.regex,N=X.parser,q=S.slice(j),F=B.exec(q)[0];N.call(V,F),S=S.replace(F,"")}}return function(G){var $=G.afternoon;if($!==void 0){var J=G.hours;$?J<12&&(G.hours+=12):J===12&&(G.hours=0),delete G.afternoon}}(V),V}}return function(p,g,R){R.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var m=g.prototype,f=m.parse;m.parse=function(P){var H=P.date,L=P.utc,A=P.args;this.$u=L;var z=A[1];if(typeof z=="string"){var S=A[2]===!0,V=A[3]===!0,b=S||V,j=A[2];V&&(j=A[2]),u=this.$locale(),!S&&j&&(u=R.Ls[j]),this.$d=function(q,F,G){try{if(["x","X"].indexOf(F)>-1)return new Date((F==="X"?1e3:1)*q);var $=y(F)(q),J=$.year,Q=$.month,k=$.day,D=$.hours,_=$.minutes,M=$.seconds,E=$.milliseconds,Z=$.zone,ne=new Date,Y=k||(J||Q?1:ne.getDate()),C=J||ne.getFullYear(),O=0;J&&!Q||(O=Q>0?Q-1:ne.getMonth());var w=D||0,W=_||0,U=M||0,T=E||0;return Z?new Date(Date.UTC(C,O,Y,w,W,U,T+60*Z.offset*1e3)):G?new Date(Date.UTC(C,O,Y,w,W,U,T)):new Date(C,O,Y,w,W,U,T)}catch{return new Date("")}}(H,z,L),this.init(),j&&j!==!0&&(this.$L=this.locale(j).$L),b&&H!=this.format(z)&&(this.$d=new Date("")),u={}}else if(z instanceof Array)for(var X=z.length,B=1;B<=X;B+=1){A[1]=z[B-1];var N=R.apply(this,A);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}B===X&&(this.$d=new Date(""))}else f.call(this,P)}}})})(ir);var Rs=ir.exports;const Ms=Je(Rs);var sr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l){var a=l.prototype,r=a.format;a.format=function(i){var u=this,s=this.$locale();if(!this.isValid())return r.bind(this)(i);var c=this.$utils(),h=(i||"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((u.$M+1)/3);case"Do":return s.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return s.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(u.$H===0?24:u.$H),d==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return d}});return r.bind(this)(h)}}})})(sr);var Ls=sr.exports;const _s=Je(Ls);var ur={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l,a){var r=l.prototype,i=function(d){return d&&(d.indexOf?d:d.s)},u=function(d,v,x,y,p){var g=d.name?d:d.$locale(),R=i(g[v]),m=i(g[x]),f=R||m.map(function(H){return H.slice(0,y)});if(!p)return f;var P=g.weekStart;return f.map(function(H,L){return f[(L+(P||0))%7]})},s=function(){return a.Ls[a.locale()]},c=function(d,v){return d.formats[v]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,p,g){return p||g.slice(1)})}(d.formats[v.toUpperCase()])},h=function(){var d=this;return{months:function(v){return v?v.format("MMMM"):u(d,"months")},monthsShort:function(v){return v?v.format("MMM"):u(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):u(d,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):u(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):u(d,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return c(d.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},a.localeData=function(){var d=s();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(v){return c(d,v)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return u(s(),"months")},a.monthsShort=function(){return u(s(),"monthsShort","months",3)},a.weekdays=function(d){return u(s(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return u(s(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return u(s(),"weekdaysMin","weekdays",2,d)}}})})(ur);var qs=ur.exports;const zs=Je(qs);var cr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){var o="week",l="year";return function(a,r,i){var u=r.prototype;u.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=i(this).startOf(l).add(1,l).date(c),d=i(this).endOf(o);if(h.isBefore(d))return 1}var v=i(this).startOf(l).date(c).startOf(o).subtract(1,"millisecond"),x=this.diff(v,o,!0);return x<0?i(this).startOf("week").week():Math.ceil(x)},u.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(cr);var js=cr.exports;const Hs=Je(js);var fr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l){l.prototype.weekYear=function(){var a=this.month(),r=this.week(),i=this.year();return r===1&&a===11?i+1:a===0&&r>=52?i-1:i}}})})(fr);var Ks=fr.exports;const Ws=Je(Ks);var dr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l,a){l.prototype.dayOfYear=function(r){var i=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return r==null?i:this.add(r-i,"day")}}})})(dr);var Ys=dr.exports;const Us=Je(Ys);var hr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l){l.prototype.isSameOrAfter=function(a,r){return this.isSame(a,r)||this.isAfter(a,r)}}})})(hr);var Gs=hr.exports;const Xs=Je(Gs);var mr={exports:{}};(function(e,n){(function(o,l){e.exports=l()})(Ze,function(){return function(o,l){l.prototype.isSameOrBefore=function(a,r){return this.isSame(a,r)||this.isBefore(a,r)}}})})(mr);var Zs=mr.exports;const Js=Je(Zs);We.extend(zs);We.extend(_s);We.extend(Ms);We.extend(Hs);We.extend(Ws);We.extend(Us);We.extend(Xs);We.extend(Js);const re={format(e,n){return We(e).format(n)},parser(e,n){return We(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,o){const a=new Date(e+"/"+n+"/"+o).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][a]},getMonthPreDay(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){n=n||"-";const o=e.getFullYear(),l=this.getNumTwoBit(e.getMonth()+1),a=this.getNumTwoBit(e.getDate());return[o,l,a].join(n)},getDay(e,n){e=e||0;let o=n??new Date;const l=e*(1e3*60*60*24);return o=new Date(o.getTime()+l),this.date2Str(o)},compareDate(e,n){let o;typeof e=="string"?o=new Date(e.replace("-","/").replace("-","/")):o=e;let l;return typeof n=="string"?l=new Date(n.replace("-","/").replace("-","/")):l=n,!(o>=l)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let o;typeof e=="string"?o=new Date(e).getTime():o=e;let l;return typeof n=="string"?l=new Date(n).getTime():l=n,o==l},getMonthWeek:function(e,n,o,l=0){const a=new Date(Number(e),parseInt(n)-1,Number(o));let r=a.getDay(),i=a.getDate(),u=6-r;return l!==0&&(r=r==0?7:r,u=7-r),Math.ceil((i+u)/7)},getYearWeek:function(e,n,o,l=0){const a=new Date(Number(e),parseInt(n)-1,Number(o)),r=new Date(Number(e),0,1),i=Math.round((a.valueOf()-r.valueOf())/864e5);let u=a.getDay(),s=6-u;return l!==0&&(u=u==0?7:u,s=7-u),Math.ceil((i+s)/7)},getWeekDate:function(e,n,o,l=0){const a=new Date(Number(e),parseInt(n)-1,Number(o)),r=a.getTime();let i=a.getDay();if(l===0){const s=r-i*864e5,c=r+(6-i)*864e5,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(c));return[h,d]}else{i=i==0?7:i;const u=24*60*60*1e3,s=r-(i-1)*u,c=r+(7-i)*u,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(c));return[h,d]}},formatResultDate:function(e){let n=[...e.split("-")];return n[2]=re.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=re.getWhatDay(+n[0],+n[1],+n[2]),n},inScope4Day(e,n,o){const l=new Date(new Date(n).setDate(n.getDate()+o)),a=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?a>=i&&a<=r:a>=r&&a<=i},inScope4Month(e,n,o){const l=new Date(new Date(n).setMonth(n.getMonth()+o)),a=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?a>=i&&a<=r:a>=r&&a<=i}},Co={type:{type:[String],required:!1},modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},valueFormat:{type:[String],required:!1},format:{type:[String],required:!1,default:"YYYY-MM-DD"},flashFill:{type:[Boolean],required:!1,default:!0},flashFillThreshold:{type:[Function,Number],required:!1,default:8},flashFillFormat:{type:[Function,String],required:!1,default:"YYYYMMDD"}},To={isLongTerm:{type:[Boolean,String],required:!1,default:!1},longTermText:{type:[String],required:!1},longTermActionLabel:{type:[String],required:!1},longTerm:{type:[Boolean],required:!1,default:!1},longTermValue:{type:[Date,Number,String,Array],required:!1},compatibleLongTermValue:{type:[Date,Number,String,Array],required:!1}};function Qs(e,n,o){return{props:{...be,...ke,...Co,...To},emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=t.computed(()=>F.value&&Array.isArray(x.value)&&x.value.length==2?x.value[0]:x.value),p=t.computed(()=>F.value?"longTermKey":"normalKey"),g=O=>{if(F.value&&l.type==="daterange"){const w=[...x.value];w[0]=O,x.value=w}else x.value=O;c("update:modelValue",x.value),c("change",x.value)},R=t.computed(()=>F.value&&l.type==="daterange"?"date":l.type),m=e,f=t.computed(()=>({[`${m}`]:!0,"is-long":F.value,"is-readonly":s.value,"is-disabled":i.value}));let P=he(l,"hintText"),H=t.ref(!1);const L=O=>{let W=O.target.value;v.value=!0,fe(P.value)||(H.value=!0),c("focus",W,O)},A=O=>{setTimeout(()=>{H.value&&(H.value=!1),v.value=!1},0);let W=O.target.value;l.maxLength&&W.length>Number(l.maxLength)&&(W=W.slice(0,Number(l.maxLength))),c("blur",W,O)},z=()=>{c("clear","")},S=O=>{c("calendar-change",O)},V=(O,w,W)=>{c("panel-change",O,w,W)},b=O=>{c("visible-change",O)},j=Ne(t.computed(()=>l.longTermText),"longTermText",Re.Near),X=Ne(t.computed(()=>l.longTermActionLabel),"longTermActionLabel",Re.Near),B=Ne(t.computed(()=>l.longTermValue),"longTermValue",Re.Near),N=Ne(t.computed(()=>l.compatibleLongTermValue),"compatibleLongTermValue",Re.Near);let q=null;const F=t.ref(ue(l.longTerm)),G=O=>{if(F.value=O,c("update:longTerm",O),O){if(q=x.value,l.type==="daterange"){const w=[];Array.isArray(B.value)?(w[0]=x.value?x.value[0]??B.value[0]:null,w[1]=B.value[1]??B.value[0]):(w[0]=x.value?x.value[0]??B.value:null,w[1]=F.value),w[0]||(w[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),w[1]||(w[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=w}else Array.isArray(B.value)?x.value=B.value[1]??B.value[0]:x.value=B.value,x.value||(x.value=l.valueFormat?re.format(new Date,l.valueFormat):new Date);c("update:modelValue",x.value)}else{if(l.type==="daterange"){const w=[];w[0]=Array.isArray(x.value)?x.value[0]:x.value,Array.isArray(q)?w[1]=q[1]:w[1]=q,w[0]||(w[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),w[1]||(w[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=w}else x.value=q;c("update:modelValue",x.value),setTimeout(()=>{Y()},100)}},$=ue(l.isLongTerm);if($){const O=()=>{if(F.value===!0){if(q=x.value,l.type==="daterange"){const w=[x.value[0]];Array.isArray(B.value)?w[1]=B.value[1]??B.value[0]:w[1]=F.value,w[0]||(w[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),w[1]||(w[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=w}else x.value=B.value;c("update:modelValue",x.value)}else Le(B.value,x.value)&&(F.value=!0)};O(),t.watch([()=>l.longTerm],([w])=>{F.value!==w&&O()}),t.watch([()=>x.value],([w])=>{let W=!1;if(l.type==="daterange"&&Array.isArray(w))try{let U=w[1];if(!U)return;if(w[0]==null){c("update:modelValue",[]);return}typeof U!="string"&&l.valueFormat&&(U=re.format(U,l.valueFormat));let T=Array.isArray(B.value)?B.value[1]:B.value;(U===T||Array.isArray(N.value)&&N.value.findIndex(te=>U==te)!==-1)&&(W=!0)}catch(U){console.error(U)}F.value!==W&&(F.value=W)},{immediate:!0})}const J=t.computed(()=>({"fox-date-item__long":!0,"is-active":v.value})),Q=t.ref(),k=t.ref(),D=/^\d+$/,_=(O,w)=>typeof l.flashFillThreshold=="function"?l.flashFillThreshold(O,w):D.test(O)&&O.length===l.flashFillThreshold,M=(O,w)=>{let W;if(typeof l.flashFillFormat=="function")W=l.flashFillFormat(O,w);else{const T=l.flashFillFormat??"YYYYMMDD";W=re.parser(O,T)}const U=l.valueFormat??"YYYY-MM-DD";return re.format(W,U)},E=O=>O?O.endsWith("range"):!1,Z=O=>{if(!O.target)return;const w=O.target.value??"";if(_(w,l.type)){const W=M(w,l.type);if(E(l.type)){const U=Array.isArray(x.value)?[...x.value]:[];U[0]=W,g(U)}else g(W)}},ne=O=>{if(!O.target)return;const w=O.target.value??"";if(_(w,l.type)){const W=M(w,l.type);if(E(l.type)){const U=Array.isArray(x.value)?[...x.value]:[];U[1]=W,g(U)}else g(W)}},Y=()=>{if(l.flashFill&&Q.value&&Q.value.$el)if(E(l.type)){const O=Q.value.$el.querySelectorAll("input.el-range-input");O[0]&&O[0].addEventListener("input",Z),O[1]&&O[1].addEventListener("input",ne)}else{const O=Q.value.$el.querySelector("input.el-input__inner");O&&O.addEventListener("input",Z)}},C=()=>{if(l.flashFill&&Q.value&&Q.value.$el)if(E(l.type)){const O=Q.value.$el.querySelectorAll("input.el-range-input");O[0]&&O[0].removeEventListener("input",Z),O[1]&&O[1].removeEventListener("input",ne)}else{const O=Q.value.$el.querySelector("input.el-input__inner");O&&O.removeEventListener("input",Z)}};return t.onMounted(Y),t.onBeforeUnmount(C),ve({focus:()=>{k?.value.focus()},blur:()=>{k?.value.blur()},handleOpen:()=>{k?.value.handleOpen()},handleClose:()=>{k?.value.handleClose()},setDisabled:O=>{r.value=O},setReadonly:O=>{u.value=O}}),()=>{const w={...a.attrs,key:p.value,type:R.value,ref:k,class:f.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:y.value,valueFormat:l.valueFormat,format:l.format,"onUpdate:modelValue":g,onClear:z,onFocus:L,onBlur:A,onCalendarChange:S,onPanelChange:V,onVisibleChange:b},W={};a.slots["range-separator"]&&(W["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(W.default=a.slots.cell);const U=[],T=t.h(I.ElDatePicker,w,W);U.push(T);const K={default:()=>U};if(a.slots.default&&(K.label=a.slots.default),a.slots.fixedTip&&(K.fixedTip=a.slots.fixedTip),$){if(F.value){const oe=t.h("span",{class:["fox-date-item__long-splitor"]},["-"]),ae=t.h("input",{class:["fox-date-item__long-text"],value:j.value,readonly:!0}),ie={class:J.value},de=t.h("div",ie,{default:()=>[oe,ae]});U.push(de)}if(!s.value&&!i.value){const oe={label:X.value||j.value,disabled:s.value||i.value,modelValue:F.value,"onUpdate:modelValue":G},ae=t.h(I.ElCheckbox,oe),ie=t.h("div",{class:{[`${m}__append`]:!0}},[ae]);K.append=()=>ie}}const le={...$e(l,Co,To),ref:Q,class:{[`${m}__wrapper`]:!0,"has-append":$},hintText:P.value,hintVisible:H.value};return l.prop&&(le.prop=`${l.prop}_item`),t.h(o,le,K)}}}}const{componentName:eu,create:tu,scope:nu}=se("date-item"),Dl=tu(Qs(eu,nu,we)),lu=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Nl={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6},popClass:{type:String},popStyle:{type:Object}},El={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},gr=2e3;let $o=gr;const ou=(e,n)=>({components:n,props:{...El},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(o,{emit:l}){const a=t.reactive({zIndex:o.zIndex,showSlot:!0,closed:o.closeable}),r=t.computed(()=>({[e]:!0,round:o.round,[`fox-popup--${o.position}`]:!0,[`fox-popup--${o.position}--safebottom`]:o.position==="bottom"&&o.safeAreaInsetBottom,[o.popClass]:!0})),i=t.computed(()=>({zIndex:a.zIndex,transitionDuration:`${o.duration}s`,...o.style})),u=t.computed(()=>o.transition?o.transition:`fox-popup-slide-${o.position}`),s=()=>{o.zIndex!==gr&&($o=Number(o.zIndex)),l("update:visible",!0),a.zIndex=++$o,o.destroyOnClose&&(a.showSlot=!0),l("open")},c=()=>{l("update:visible",!1),l("close"),o.destroyOnClose&&setTimeout(()=>{a.showSlot=!1},+o.duration*1e3)},h=p=>{l("click-pop",p)},d=p=>{p.stopPropagation(),l("click-close-icon",p),l("update:visible",!1)},v=p=>{l("click-overlay",p),o.closeOnClickOverlay&&l("update:visible",!1)},x=p=>{l("opend",p)},y=p=>{l("closed",p)};return t.watch(()=>o.visible,p=>{o.visible?s():c()}),t.watch(()=>o.closeable,p=>{a.closed=p}),{...t.toRefs(a),popStyle:i,transitionName:u,classes:r,onClick:h,onClickCloseIcon:d,onClickOverlay:v,onOpened:x,onClosed:y}}});let kt=0;const ko="fox-overflow-hidden",Do=()=>lt?document.body:{classList:[]},au=e=>[()=>{if(e())try{!kt&&Do().classList.add(ko),kt++}catch{}},()=>{if(e()&&kt)try{kt--,!kt&&Do().classList.remove(ko)}catch{}}],ru={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:iu,create:su}=se("overlay"),uu=su({props:{...ru},emits:["click","update:visible"],setup(e,{emit:n}){const[o,l]=au(()=>e.lockScroll),a=t.computed(()=>({[iu]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watch(()=>e.visible,u=>{u?o():l()}),{classes:a,style:r,onClick:u=>{n("click",u),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function cu(e,n,o,l,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=t.withModifiers((...i)=>e.onClick&&e.onClick(...i),["stop"])),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}const wn=De(uu,[["render",cu]]),fu=["aria-labelledby"],du=t.createElementVNode("path",{d:"M960 572.8H64c-25.6 0-48-22.4-48-48s22.4-48 48-48h896c25.6 0 48 22.4 48 48s-22.4 48-48 48zm-448 448c-25.6 0-48-22.4-48-48v-896c0-25.6 22.4-48 48-48s48 22.4 48 48v896c0 25.6-22.4 48-48 48z",fill:"currentColor","fill-opacity":"0.9"},null,-1),hu=[du],mu=t.defineComponent({__name:"Uploader",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},hu,14,fu))}}),gu=["aria-labelledby"],pu=t.createElementVNode("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512zm0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77zM984.615 1024c-10.502 0-21.005-2.626-28.882-10.503L824.451 882.215c-15.754-15.753-15.754-39.384 0-55.138s39.385-15.754 55.139 0l131.282 131.282c15.754 15.754 15.754 39.385 0 55.138-5.251 7.877-15.754 10.503-26.257 10.503z",fill:"currentColor","fill-opacity":"0.9"},null,-1),vu=[pu],yu=t.defineComponent({__name:"Search2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},vu,14,gu))}}),bu=["aria-labelledby"],wu=t.createElementVNode("path",{d:"M834.7 920.1h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43zm0-729.2h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43s-19.3 43-43 43zm0 354.6h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43z",fill:"currentColor","fill-opacity":"0.9"},null,-1),xu=[wu],Su=t.defineComponent({__name:"MoreH",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},xu,14,bu))}}),Cu=["aria-labelledby"],Tu=t.createElementVNode("path",{d:"M784 902.4c9.6 19.2 6.4 41.6-12.8 54.4-19.2 9.6-41.6 3.2-51.2-12.8-9.6-19.2-6.4-41.6 12.8-54.4 16-12.8 38.4-8 51.2 12.8zM550.4 984c0 22.4-16 38.4-38.4 38.4s-38.4-16-38.4-38.4v-24c0-22.4 19.2-38.4 41.6-38.4 19.2 0 35.2 16 38.4 38.4v25.6h-3.2zm-240-43.2c-9.6 19.2-35.2 25.6-54.4 16-19.2-9.6-25.6-35.2-16-51.2l28.8-51.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 12.8 54.4l-25.6 48zM121.6 784c-19.2 9.6-41.6 3.2-54.4-16-9.6-19.2-6.4-41.6 12.8-54.4l76.8-44.8c19.2-9.6 41.6-3.2 54.4 16 9.6 19.2 3.2 41.6-16 54.4L121.6 784zM38.4 552C16 552 0 536 0 513.6s16-38.4 38.4-38.4H160c22.4 0 38.4 19.2 38.4 38.4 0 22.4-16 38.4-38.4 38.4H38.4zm44.8-241.6c-19.2-9.6-25.6-35.2-16-51.2 9.6-19.2 35.2-25.6 54.4-16L256 320c19.2 9.6 25.6 35.2 16 54.4s-35.2 25.6-54.4 16l-134.4-80zm160-185.6 92.8 160c9.6 19.2 35.2 25.6 54.4 12.8s25.6-35.2 12.8-54.4l-92.8-160C297.6 64 275.2 60.8 256 70.4c-16 12.8-22.4 33.6-12.8 54.4zM473.6 40c0-22.4 16-38.4 38.4-38.4s38.4 19.2 38.4 38.4v184c0 22.4-19.2 38.4-38.4 38.4-22.4 0-38.4-19.2-38.4-38.4V40zm240 43.2c9.6-19.2 35.2-25.6 54.4-16 19.2 9.6 25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16-19.2-9.6-25.6-35.2-12.8-54.4l89.6-156.8zm188.8 160-160 92.8c-19.2 9.6-25.6 35.2-16 54.4 12.8 19.2 35.2 25.6 54.4 12.8l160-92.8c19.2-9.6 25.6-35.2 12.8-54.4-9.6-16-32-25.6-51.2-12.8zM985.6 472c22.4 0 38.4 16 38.4 38.4s-16 38.4-38.4 38.4H800c-22.4 0-38.4-19.2-38.4-38.4 0-22.4 19.2-38.4 38.4-38.4h185.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1),$u=[Tu],xn=t.defineComponent({__name:"Loading",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},$u,14,Cu))}}),ku=["aria-labelledby"],Du=t.createElementVNode("path",{d:"M981.577 1024c-11.703 0-23.406-2.926-32.183-11.703L13.166 76.07c-14.629-17.555-14.629-46.812 0-64.366 17.554-14.629 46.811-14.629 64.365 0L1013.76 947.93c17.554 17.555 17.554 43.886 0 61.44-8.777 11.703-20.48 14.629-32.183 14.629zm-936.228 0c-11.703 0-23.406-2.926-32.183-11.703-17.555-17.554-17.555-43.886 0-61.44L949.394 14.63c17.555-17.555 43.886-17.555 61.44 0 17.555 17.554 17.555 43.885 0 61.44L74.606 1012.297C68.754 1021.074 57.05 1024 45.349 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Nu=[Du],pr=t.defineComponent({__name:"Close",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},Nu,14,ku))}}),Eu=["aria-labelledby"],Vu=t.createElementVNode("path",{d:"M159.289 500.622c62.578 0 125.155 17.067 221.867 102.4 8.533 5.69 19.91 5.69 25.6 0 48.355-54.044 238.933-261.689 455.11-329.955 0 0 28.445-5.69 42.667 19.91 8.534 17.067 19.911 34.134-5.689 54.045-22.755 17.067-264.533 179.2-440.888 440.89l-2.845 2.844c-11.378 8.533-68.267 51.2-119.467-14.223-56.888-71.11-85.333-139.377-196.266-196.266-2.845 0-2.845-2.845-5.69-5.69-11.377-11.377-54.044-73.955 25.6-73.955z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Iu=[Vu],vr=t.defineComponent({__name:"Checklist",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Iu,14,Eu))}}),Pu=["aria-labelledby"],Ou=t.createElementVNode("path",{d:"M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512S793.6 0 512 0zm281.6 369.778C779.378 381.156 600.178 500.622 472.178 691.2c0 0 0 2.844-2.845 2.844-8.533 5.69-48.355 36.978-88.177-8.533-39.823-51.2-62.578-99.555-142.223-142.222-2.844 0-2.844-2.845-2.844-2.845-8.533-11.377-39.822-56.888 19.911-56.888 45.511 0 91.022 11.377 162.133 73.955 5.69 5.689 14.223 5.689 17.067 0C469.333 517.69 608.711 366.933 768 318.578c0 0 19.911-2.845 31.289 14.222 5.689 11.378 11.378 22.756-5.689 36.978z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Au=[Ou],Fu=t.defineComponent({__name:"Checked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Au,14,Pu))}}),Bu=["aria-labelledby"],Ru=t.createElementVNode("path",{d:"M512 1024c-136.533 0-264.533-54.044-361.244-150.756C54.044 776.534 0 648.534 0 512c0-136.533 54.044-264.533 150.756-361.244C247.466 54.044 375.466 0 512 0c136.533 0 264.533 54.044 361.244 150.756C969.956 247.466 1024 375.466 1024 512s-54.044 264.533-150.756 361.244C776.534 969.956 648.534 1024 512 1024zm0-938.667c-113.778 0-221.867 45.511-301.511 125.156S85.333 398.222 85.333 512s45.511 221.867 125.156 301.511S398.222 938.667 512 938.667s221.867-45.511 301.511-125.156S938.667 625.778 938.667 512 893.156 290.133 813.51 210.489 625.778 85.333 512 85.333z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Mu=[Ru],Lu=t.defineComponent({__name:"CheckNormal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Mu,14,Bu))}}),_u=["aria-labelledby"],qu=t.createElementVNode("path",{d:"m387.547 980.846 305.006-397.532a117.102 117.102 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.538 27.538 0 0 1 0 33.572L316.489 926.318a44.8 44.8 0 0 0 71.058 54.564",fill:"currentColor","fill-opacity":"0.9"},null,-1),zu=[qu],ju=t.defineComponent({__name:"ArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){const o=e,l=n,a=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+o.name]:o.name,[o.class]:!!o.class}}),u=t.computed(()=>{const s={};return s.height=r(o.height)??r(o.size),s.width=r(o.width)??r(o.size),s.color=o.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},zu,14,_u))}}),{componentName:Hu,create:Ku}=se("popup"),Wu=Ku(ou(Hu,{FoxOverLay:wn,Close:pr}));function Yu(e,n,o,l,a,r){const i=t.resolveComponent("FoxOverLay"),u=t.resolveComponent("Close");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?(t.openBlock(),t.createBlock(i,t.mergeProps({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:n[1]||(n[1]=(...s)=>e.onClick&&e.onClick(...s))},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...s)=>e.onClickCloseIcon&&e.onClickCloseIcon(...s)),class:t.normalizeClass(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(u)])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const dt=De(Wu,[["render",Yu]]),No=39,Eo=64,{create:Uu,scope:Gu}=se("calendar-pane"),Xu=Uu({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:re.getDay(0)},endDate:{type:String,default:re.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l,t:a}=ye.useFoxI18n(Gu),r=l(e,["title","confirmText","startText","endText","today"]),i=t.computed(()=>({height:`${No}px`})),u=t.computed(()=>({height:`${Eo}px`})),s=JSON.parse(a("weekdays")),c=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),h=t.ref(null),d=t.ref(null),v=t.ref(null),x=t.ref(null),y=t.ref(0),p=t.computed(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),g=t.computed(()=>o.btn),R=t.computed(()=>o["top-info"]),m=t.computed(()=>o["bottom-info"]),f=t.reactive({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),P=Y=>Y.split("-"),H=Y=>re.isEqual(f.currDate[0],Y),L=Y=>re.isEqual(f.currDate[1],Y),A=Y=>f.currDate?.length>0?f.currDate?.some(C=>re.isEqual(C,Y)):!1,z=(Y,C)=>C.curData[0]+"-"+C.curData[1]+"-"+re.getNumTwoBit(+Y.day),S=(Y,C)=>{const O=z(Y,C),{type:w}=e;return Y.type=="curr"?re.isEqual(f.currDate,O)||(w=="range"||w=="week")&&(H(O)||L(O))||w=="multiple"&&A(O)?`${f.dayPrefix}--active`:f.propStartDate&&re.compareDate(O,f.propStartDate)||f.propEndDate&&re.compareDate(f.propEndDate,O)?`${f.dayPrefix}--disabled`:(w=="range"||w=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&re.compareDate(f.currDate[0],O)&&re.compareDate(O,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},V=()=>{const{type:Y}=e;if(Y=="range"&&f.chooseData.length==2||Y!="range"){let C=f.chooseData.slice(0);Y=="week"&&(C={weekDate:[j(f.chooseData[0]),j(f.chooseData[1])]}),n("choose",C),e.poppable&&n("update")}},b=(Y,C,O=!1)=>{if(S(Y,C)!=`${f.dayPrefix}--disabled`){const{type:w}=e;let[W,U]=C.curData,T=[...C.curData];if(T[2]=re.getNumTwoBit(Number(Y.day)),T[3]=`${T[0]}-${T[1]}-${T[2]}`,T[4]=re.getWhatDay(+T[0],+T[1],+T[2]),w=="multiple")if(f.currDate?.length>0){let K;f.currDate?.forEach((te,le)=>{te==T[3]&&(K=le)}),O?f.chooseData.push([...T]):K!==void 0?(f.currDate.splice(K,1),f.chooseData.splice(K,1)):(f.currDate.push(T[3]),f.chooseData.push([...T]))}else f.currDate=[T[3]],f.chooseData=[[...T]];else if(w=="range"){let K=Object.values(f.currDate).length;K==2||K==0?f.currDate=[T[3]]:re.compareDate(f.currDate[0],T[3])?Array.isArray(f.currDate)&&f.currDate.push(T[3]):Array.isArray(f.currDate)&&f.currDate.unshift(T[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...T]]:re.compareDate(f.chooseData[0][3],T[3])?f.chooseData=[...f.chooseData,[...T]]:f.chooseData=[[...T],...f.chooseData]}else if(w=="week"){let K=re.getWeekDate(W,U,Y.day,e.firstDayOfWeek);f.propStartDate&&re.compareDate(K[0],f.propStartDate)&&K.splice(0,1,f.propStartDate),f.propEndDate&&re.compareDate(f.propEndDate,K[1])&&K.splice(1,1,f.propEndDate),f.currDate=K,f.chooseData=[re.formatResultDate(K[0]),re.formatResultDate(K[1])]}else f.currDate=T[3],f.chooseData=[...T];if(!O){let K=f.chooseData;w=="week"&&(K={weekDate:[j(f.chooseData[0]),j(f.chooseData[1])]}),n("select",K),(e.isAutoBackFill||!e.poppable)&&V()}}},j=Y=>{let[C,O,w]=Y;return{date:Y,monthWeekNum:re.getMonthWeek(C,O,w,e.firstDayOfWeek),yearWeekNum:re.getYearWeek(C,O,w,e.firstDayOfWeek)}},X=Y=>{const C=f.monthsData[f.monthsData.length-1];let O=parseInt(C.curData[0]),w=parseInt(C.curData[1].toString().replace(/^0/,""));switch(Y){case"prev":w==1&&(O-=1),w=w==1?12:--w;break;case"next":w==12&&(O+=1),w=w==12?1:++w;break}return[O+"",re.getNumTwoBit(w),re.getMonthDays(String(O),String(w))+""]},B=(Y,C,O)=>{let{year:w,month:W}=O;return Array.from(Array(Y),(U,T)=>({day:String(T+1),type:C,year:w,month:W}))},N=(Y,C,O,w)=>{Y=Y-e.firstDayOfWeek;let{year:W,month:U}=O;return Y>=7&&(Y-=7),Array.from(Array(w),(K,te)=>({day:String(te+1),type:C,year:W,month:U})).slice(w-Y)},q=(Y,C)=>{const O=re.getMonthPreDay(+Y[0],+Y[1]);let w=Number(Y[1])-1,W=Number(Y[0]);w<=0&&(w=12,W+=1);const U=re.getMonthDays(String(Y[0]),String(Y[1])),T=re.getMonthDays(W+"",w+""),K={year:Y[0],month:Y[1]},te={curData:Y,title:a("monthTitle",{year:K.year,month:K.month}),monthData:[...N(O,"prev",{month:String(w),year:String(W)},T),...B(U,"curr",K)],cssHeight:0,cssScrollHeight:0},le=te.monthData.length>35?6:5;te.cssHeight=No+Eo*le;let ee=0;f.monthsData.length>0&&(ee=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),te.cssScrollHeight=ee,(!f.endData||!re.compareDate(`${f.endData[0]}-${f.endData[1]}-${re.getMonthDays(f.endData[0],f.endData[1])}`,`${Y[0]}-${Y[1]}-${Y[2]}`))&&f.monthsData.push(te)},F=()=>{let Y=e.startDate?e.startDate:re.getDay(0),C=e.endDate?e.endDate:re.getDay(365);f.propStartDate=Y,f.propEndDate=C,f.startData=P(Y),f.endData=P(C),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const O={year:Number(f.startData[0]),month:Number(f.startData[1])},w={year:Number(f.endData[0]),month:Number(f.endData[1])};let W=w.month-O.month;w.year-O.year>0&&(W=W+12*(w.year-O.year)),W<=0&&(W=1),q(f.startData);let U=1;do q(X("next"));while(U++<W);if(f.monthsNum=W,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(Y&&re.compareDate(f.currDate[0],Y)&&f.currDate.splice(0,1,Y),C&&re.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...P(f.currDate[0]),...P(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let T=[],K={};f.currDate.forEach(te=>{Y&&!re.compareDate(te,Y)&&C&&!re.compareDate(C,te)&&(Object.hasOwnProperty.call(K,te)||(T.push(te),K[te]=te))}),f.currDate=[...T],f.defaultData=[...P(T[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[T,K,te]=P(f.currDate[0]),le=re.getWeekDate(T,K,te,e.firstDayOfWeek);f.currDate=le,Y&&re.compareDate(f.currDate[0],Y)&&f.currDate.splice(0,1,Y),C&&re.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...P(f.currDate[0]),...P(f.currDate[1])]}}else f.currDate&&(Y&&re.compareDate(f.currDate,Y)?f.currDate=Y:C&&!re.compareDate(f.currDate,C)&&(f.currDate=C),f.defaultData=[...P(f.currDate)])};ve({scrollToDate:Y=>{re.compareDate(Y,f.propStartDate)?Y=f.propStartDate:re.compareDate(Y,f.propEndDate)||(Y=f.propEndDate);let C=P(Y);f.monthsData.forEach((O,w)=>{if(O.title==a("monthTitle",{year:C[0],month:C[1]})&&h.value){let W=f.monthsData[w].cssScrollHeight-h.value.scrollTop;if(e.toDateAnimation){let U=0,T=setInterval(()=>{if(U++,h.value){let K=W/10;h.value.scrollTop=h.value.scrollTop+K}U>=10&&(clearInterval(T),h.value&&(h.value.scrollTop=f.monthsData[w].cssScrollHeight))},40)}else h.value.scrollTop=f.monthsData[w].cssScrollHeight}})},initPosition:()=>{h?.value&&(h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let Y=0,C=0;f.defaultData.length>0&&f.monthsData.forEach((W,U)=>{W.title==a("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(Y=U),(e.type=="range"||e.type=="week")&&W.title==a("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(C=U)}),Q(f.monthsNum,Y),f.currentIndex=Y,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(b({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),b({day:f.defaultData[5],type:"curr"},f.monthsData[C],!0)):e.type=="week"?b({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(W=>{let U=P(W),T=f.currentIndex;f.monthsData.forEach((K,te)=>{K.title==a("monthTitle",{year:U[0],month:U[1]})&&(T=te)}),b({day:U[2],type:"curr"},f.monthsData[T],!0)}):b({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let O=f.monthsData[f.monthsData.length-1],w=O.cssHeight+O.cssScrollHeight;sl(()=>{h?.value&&d?.value&&x?.value&&(y.value=h.value.clientHeight,d.value.style.height=`${w}px`,h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(w/(f.monthsNum+1))}});const Q=(Y,C)=>{Y>=3?C>0&&C<Y?f.defaultRange=[C-1,C+3]:C==0?f.defaultRange=[C,C+4]:C==Y&&(f.defaultRange=[C-2,C+2]):f.defaultRange=[0,Y+2];let O=f.monthsData[f.defaultRange[0]].cssScrollHeight;f.translateY=O},k=(Y,C)=>(e.type=="range"||e.type=="week")&&Y.type=="curr"&&S(Y,C)=="fox-calendar__day--active",D=(Y,C)=>k(Y,C)&&H(z(Y,C)),_=(Y,C)=>f.currDate.length>=2&&L(z(Y,C))?k(Y,C):!1,M=()=>{if(f.currDate.length>=2)return re.isEqual(f.currDate[0],f.currDate[1])},E=Y=>{const C=`${Y.year}-${Y.month}-${Number(Y.day)<10?"0"+Y.day:Y.day}`;return re.isEqual(C,re.date2Str(new Date))},Z=Y=>{if(f.monthsData.length<=1)return;const C=Y.target.scrollTop;let O=Math.floor(C/f.avgHeight);if(O==0)C>=f.monthsData[O+1].cssScrollHeight&&(O+=1);else if(O>0&&O<f.monthsNum-1)C>=f.monthsData[O+1].cssScrollHeight&&(O+=1),C<f.monthsData[O].cssScrollHeight&&(O-=1);else{const w=Math.round(C+y.value);w<f.monthsData[O].cssScrollHeight+f.monthsData[O].cssHeight&&C>f.monthsData[O-1].cssScrollHeight&&(O-=1),O+1<=f.monthsNum&&w>=f.monthsData[O+1].cssScrollHeight+f.monthsData[O+1].cssHeight&&(O+=1),O>=1&&C<f.monthsData[O-1].cssScrollHeight&&(O-=1)}f.currentIndex!==O&&(f.currentIndex=O,Q(f.monthsNum,O)),f.yearMonthTitle=f.monthsData[O].title},ne=()=>{f.chooseData.splice(0),f.monthsData.splice(0),F()};return F(),t.watch(()=>e.defaultValue,Y=>{Y&&e.poppable&&ne()}),{dayTitleStyle:i,dayCellStyle:u,weeks:c,compConthsData:p,showTopBtn:g,topInfo:R,bottomInfo:m,rangeTip:M,mothsViewScroll:Z,getClass:S,isStartTip:D,isEndTip:_,chooseDay:b,isCurrDay:E,confirm:V,months:h,...t.toRefs(f),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:v,viewArea:x}}}),Zu={class:"fox-calendar__header"},Ju={key:0,class:"fox-calendar__header-title"},Qu={key:1,class:"fox-calendar__header-slot"},ec={key:2,class:"fox-calendar__header-subtitle"},tc={class:"fox-calendar__weekdays",ref:"weeksPanel"},nc={class:"fox-calendar__panel",ref:"monthsPanel"},lc={class:"fox-calendar__days"},oc=["onClick"],ac={class:"fox-calendar__day-value"},rc={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},ic={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},sc={key:2,class:"fox-calendar__day-tips--curr"},uc={key:4,class:"fox-calendar__day-tip"},cc={key:0,class:"fox-calendar__footer"};function fc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",Zu,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Ju,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Qu,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",ec,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",tc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(i,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__weekday",key:u},t.toDisplayString(i),1))),128))],512)]),t.createElementVNode("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...i)=>e.mothsViewScroll&&e.mothsViewScroll(...i))},[t.createElementVNode("view",nc,[t.createElementVNode("view",{class:"fox-calendar__body",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(i,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__month",key:u},[t.createElementVNode("view",{class:"fox-calendar__month-title",style:t.normalizeStyle(e.dayTitleStyle)},t.toDisplayString(i.title),5),t.createElementVNode("view",lc,[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.monthData,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-calendar__day",e.getClass(s,i)]),style:t.normalizeStyle(e.dayCellStyle),onClick:h=>e.chooseDay(s,i)},[t.createElementVNode("view",ac,[t.renderSlot(e.$slots,"day",{date:s.type=="curr"?s:""},()=>[t.createTextVNode(t.toDisplayString(s.type=="curr"?s.day:""),1)])]),e.topInfo?(t.openBlock(),t.createElementBlock("view",rc,[t.renderSlot(e.$slots,"top-info",{date:s.type=="curr"?s:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",ic,[t.renderSlot(e.$slots,"bottom-info",{date:s.type=="curr"?s:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(s)?(t.openBlock(),t.createElementBlock("view",sc,t.toDisplayString(e.today),1)):t.createCommentVNode("",!0),e.isStartTip(s,i)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(s,i)?(t.openBlock(),t.createElementBlock("view",uc,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],14,oc))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",cc,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...i)=>e.confirm&&e.confirm(...i))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const dc=De(Xu,[["render",fc]]),{create:hc}=se("calendar-picker"),mc=hc({components:{CalendarPane:dc,Popup:dt},props:{...Nl},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:o}){const l=t.computed(()=>o.btn),a=t.computed(()=>o["top-info"]),r=t.computed(()=>o.day),i=t.computed(()=>o["bottom-info"]),u=t.ref(null),s=g=>{u.value?.scrollToDate(g)},c=()=>{u.value?.initPosition()},h=t.computed(()=>{const g=["fox-calendar__popup"];return e.popClass&&g.push(e.popClass),g});t.watch(()=>e.visible,g=>{g&&t.nextTick(()=>{u.value?u.value.doLayout():setTimeout(()=>{u.value&&u.value.doLayout()},250)})}),ve({scrollToDate:s,initPosition:c});const d=()=>{n("update:visible",!1)},v=()=>{n("close"),n("update:visible",!1)};return{popClasses:h,closePopup:()=>{v()},update:d,close:v,select:g=>{n("select",g)},choose:g=>{v(),n("choose",g)},calendarRef:u,showTopBtn:l,topInfo:a,dayInfo:r,bottomInfo:i}}});function gc(e,n,o,l,a,r){const i=t.resolveComponent("CalendarPane"),u=t.resolveComponent("Popup");return e.poppable?(t.openBlock(),t.createBlock(u,t.mergeProps({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,"pop-class":e.popClasses,style:e.popStyle}),{default:t.withCtx(()=>[t.createVNode(i,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"day",{date:s.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"top-info",{date:s.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"bottom-info",{date:s.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon","pop-class","style"])):(t.openBlock(),t.createBlock(i,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"day",{date:s.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"top-info",{date:s.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"bottom-info",{date:s.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}const Sn=De(mc,[["render",gc]]),qn=(e,n)=>{let o;return tt(e)?o=e:typeof e=="string"&&Ye(e)>0?o=re.parser(e,n):o=new Date,o},ht=(e,n,o)=>(tt(n)||(n=new Date),re.format(n,o)),mt=e=>{let n=`${e.getFullYear()}`,o=`${e.getMonth()+1}`,l=`${e.getDate()}`,a=re.date2Str(e),r=re.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,o,l,a,r]},Vo={...Nl,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:String,default:"-"},valueFormat:{type:String,default:"YYYY-MM-DD"},format:{type:String,default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function pc(e,n,o){return{props:{...be,...ke,...Vo},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]);let v=he(l,"hintText"),x=t.ref(!1);const y=t.ref(!1),p=t.computed(()=>l.type==="range"),g=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),R=()=>{g.startDate!==null&&(g.startDate=null,g.endDate=null,g.startArray=[],g.endArray=[])},m=($,J="one",Q="YYYY-MM-DD")=>{if(lu($)){R();return}if(p.value&&Array.isArray($)&&$.length==2){let k,D;typeof $[0]=="string"?(k=qn($[0],Q),D=qn($[1],Q)):(k=$[0],D=$[1]);let _=mt(k),M=mt(D);(g.startDate===null||g.startDate.getTime()!==k.getTime()||g.endDate?.getTime()!==D.getTime())&&(g.startDate=k,g.startArray=_,g.endDate=D,g.endArray=M)}else{let k;typeof $=="string"?k=qn($,Q):k=$;let D=mt(k);(g.startDate===null||g.startDate.getTime()!==k.getTime())&&(g.startDate=k,g.startArray=D)}};m(l.modelValue,l.type,l.valueFormat),t.watch(()=>l.modelValue,$=>{m($,l.type,l.valueFormat),c("setValue",$)});const f=t.computed(()=>{if(g.startDate===null)return"";if(p.value){let $=ht(l,g.startDate,l.format),J=ht(l,g.endDate,l.format);return`${$} ${l.rangeSeparator} ${J}`}else{let $=ht(l,g.startDate,l.format);return l.showWeek&&($=`${$} ${g.startArray[4]}`),$}}),P=t.computed(()=>{if(g.startDate===null)return null;if(p.value){let $=re.date2Str(g.startDate),J=re.date2Str(g.endDate??new Date);return[$,J]}else return re.date2Str(g.startDate)}),H="fox-input-item",L=t.computed(()=>({[H]:!0,[`${H}__disabled`]:i.value})),A=Ne(t.computed(()=>l.textAlign),"textAlign"),z=t.computed(()=>({textAlign:A.value??"right"})),S=t.ref(!1),V=()=>{s.value||i.value||(S.value=!0)},b=()=>{S.value=!1},j=$=>{S.value=$},X=$=>{if($){if(p.value&&Array.isArray($)){let J=$[0],Q=me(J[0]),k=me(J[1]),D=me(J[2]),_=new Date(Q,k-1,D),M=$[1];Q=me(M[0]),k=me(M[1]),D=me(M[2]);let E=new Date(Q,k-1,D);if(g.startDate=_,g.startArray=mt(_),g.endDate=E,g.endArray=mt(E),l.valueFormat){let Z=ht(l,_,l.valueFormat),ne=ht(l,E,l.valueFormat);c("update:modelValue",[Z,ne],{})}else c("update:modelValue",[_,E],{})}else{let J=$,Q=me(J[0]),k=me(J[1]),D=me(J[2]),_=new Date(Q,k-1,D);if(g.startDate=_,g.startArray=mt(_),l.valueFormat){let M=ht(l,_,l.valueFormat);c("update:modelValue",M,{})}else c("update:modelValue",_,{})}c("change",$,{})}},B=$=>{let Q=$.target.value;y.value=!0,c("focus",Q,$)},N=$=>{setTimeout(()=>{y.value=!1},0);let Q=$.target.value;l.maxLength&&Q.length>Number(l.maxLength)&&(Q=Q.slice(0,Number(l.maxLength))),c("blur",Q,$)},q=t.computed(()=>Ye(l.unit)>0),F=$=>{R(),c("update:modelValue",null,$),c("change","",$),c("clear","")},G=t.ref();return ve({showPicker:V,hidePicker:b,focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},select:()=>{G?.value.select()},setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const $={class:L.value,style:z.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,readonly:!0,clearable:l.clearable,value:f.value,onClick:V,onFocus:B,onBlur:N,onClear:F},J={};a.slots.prepend&&(J.prepend=a.slots.prepend),a.slots.append&&(J.append=a.slots.append),a.slots.prefix?J.prefix=a.slots.prefix:J.prefix=()=>t.h(I.ElIcon,{},{default:()=>t.h(Te.Calendar)}),a.slots.suffix?J.suffix=a.slots.suffix:q.value&&(J.suffix=()=>[l.unit]);const Q=[],k=t.h(I.ElInput,$,J);Q.push(k);const D={default:()=>Q};a.slots.default&&(D.label=a.slots.default),a.slots.fixedTip&&(D.fixedTip=a.slots.fixedTip);const _=Rt(l,Nl);_.visible=S.value,_["onUpdate:visible"]=j,_["default-value"]=P.value,_.onChoose=X;const M={};if(a.slots.btn){const C=a.slots.btn();M.btn=()=>C}a.slots.day&&(M.day=a.slots.day),a.slots.topInfo&&(M.topInfo=a.slots.topInfo),a.slots.bottomInfo&&(M.bottomInfo=a.slots.bottomInfo);const E=t.h(Sn,_,M);D.hide=()=>[E];const ne={...$e(l,Vo),hintText:v.value,hintVisible:x.value};return l.prop&&(ne.prop=`${l.prop}_item`),t.h(o,ne,D)}}}}const{componentName:vc,create:yc,scope:bc}=se("calendar-item"),Vl=yc(pc(vc,bc,we)),Io={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function wc(e,n,o){return{props:{...be,...ke,...Io},emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=e,p=t.computed(()=>({[y]:!0})),g=z=>{x.value=z,c("update:modelValue",z),c("change",z)};let R=he(l,"hintText"),m=t.ref(!1);const f=z=>{let V=z.target.value;v.value=!0,fe(R.value)||(m.value=!0),c("focus",V,z)},P=z=>{setTimeout(()=>{m.value&&(m.value=!1),v.value=!1},0);let V=z.target.value;l.maxLength&&V.length>Number(l.maxLength)&&(V=V.slice(0,Number(l.maxLength))),c("blur",V,z)},H=()=>{c("clear","")},L=z=>{c("visible-change",z)},A=t.ref();return ve({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},handleOpen:()=>{A?.value.handleOpen()},handleClose:()=>{A?.value.handleClose()},setDisabled:z=>{r.value=z},setReadonly:z=>{u.value=z}}),()=>{const S={...a.attrs,ref:A,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:H,onFocus:f,onBlur:P,onVisibleChange:L},V={},b=[],j=t.h(I.ElTimePicker,S,V);b.push(j);const X={default:()=>b};a.slots.default&&(X.label=a.slots.default),a.slots.fixedTip&&(X.fixedTip=a.slots.fixedTip);const N={...$e(l,Io),hintText:R.value,hintVisible:m.value};return l.prop&&(N.prop=`${l.prop}_item`),t.h(o,N,X)}}}}const{componentName:xc,create:Sc,scope:Cc}=se("time-item"),Il=Sc(wc(xc,Cc,we)),Po={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Tc(e,n,o){return{props:{...be,...ke,...Po},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=e,p=t.computed(()=>({[y]:!0})),g=A=>{x.value=A,c("update:modelValue",A),c("change",A)};let R=he(l,"hintText"),m=t.ref(!1);const f=A=>{let S=A.target.value;v.value=!0,fe(R.value)||(m.value=!0),c("focus",S,A)},P=A=>{setTimeout(()=>{m.value&&(m.value=!1),v.value=!1},0);let S=A.target.value;l.maxLength&&S.length>Number(l.maxLength)&&(S=S.slice(0,Number(l.maxLength))),c("blur",S,A)},H=()=>{c("clear","")},L=t.ref();return ve({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},handleOpen:()=>{L?.value.handleOpen()},handleClose:()=>{L?.value.handleClose()},setDisabled:A=>{r.value=A},setReadonly:A=>{u.value=A}}),()=>{const z={...a.attrs,ref:L,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:H,onFocus:f,onBlur:P},S={},V=[],b=t.h(I.ElTimeSelect,z,S);V.push(b);const j={default:()=>V};a.slots.default&&(j.label=a.slots.default),a.slots.fixedTip&&(j.fixedTip=a.slots.fixedTip);const B={...$e(l,Po),hintText:R.value,hintVisible:m.value};return l.prop&&(B.prop=`${l.prop}_item`),t.h(o,B,j)}}}}const{componentName:$c,create:kc,scope:Dc}=se("time-select-item"),Pl=kc(Tc($c,Dc,we));function Oo(e,n=0){let o=`${e}`,l=o.indexOf(".");if(l==-1)return o;let a=l;for(let r=o.length-1;r>=l;r--)if(o.charAt(r)!="0"){a=r;break}return a-l<n?a=l+n+1:a!=l&&(a+=1),a>o.length?o=o.padEnd(a,"0"):o=o.substring(0,a),o}function Ao(e,n,o=20){if(typeof n=="string"&&(n=me(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=Ta(`${e}`,`${n}`);return Oo(l)}else{let l=cl(`${e}`,$a(`${n}`),20);return Oo(l)}}function Nc(e,n=-1,o=!1,l=3,a=","){return ln(e,n,o,l,a)}function Fo(e,n,o,l,a=!0){if(e==="")return"";if(e=ka(e),n=me(n),n==1)return e;if(l)e=Ao(e,n),o&&(e=="0"&&a?e=`${e}.`.padEnd(me(o)+2,"0"):e=cl(e,1,me(o)));else{let r=-1*n;e=Ao(e,r)}return e}function Bo(e,n){let o={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ue(n.minInclude),a=Jn(e,n.min);if(l&&a==-1||!l&&(a==0||a==-1)){let r="请输入不小于 {0} 的数值";o.message=r.replace("{0}",n.min),o.minValid=!1}}if(n.max!=null){let l=ue(n.maxInclude),a=Jn(e,n.max);(l&&a==1||!l&&(a==0||a==1))&&(o.maxValid=!1)}return o}const Ro={modelValue:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1,default:""},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Ec(e,n,o){return{props:{...be,...ke,...Ro},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),h=t.ref(!1),d=he(l,"modelValue",null,c),v=t.ref("");t.watch([()=>d.value,()=>l.rates,()=>l.precision],([N,q,F])=>{if(fe(N)){v.value="";return}const G=Fo(N,q,F,!1);v.value!==G&&(v.value=G)},{immediate:!0});const x=t.computed(()=>{let N="";return h.value&&(N=v.value),N}),{t:y}=ye.useFoxI18n(n),p=t.computed(()=>{let N=l.placeholder??"";return!h.value&&!fe(v.value)?N=Nc(v.value,l.decimalLength,l.autoPadding,l.digits,l.separator):N=y(["placeholder",N]),N}),g=e,R=t.computed(()=>({[g]:!0,[`${g}__disabled`]:i.value,[`${g}__placeholder`]:v.value.length>0})),m=Ne(t.computed(()=>l.textAlign),"textAlign");t.computed(()=>h.value?{textAlign:"left"}:{textAlign:m.value??"right"});const f=t.ref(""),P=t.computed(()=>{let N=f.value;return fe(N)&&(N=l.errorTip??""),N}),H=t.ref(""),L=t.ref(!1),A=(N,q)=>{if(N=`${N}`,fe(N)){v.value="",d.value="",q.forEach(F=>{c(F,"")}),ue(l.showTip)&&L.value&&(L.value=!1);return}if(N.length>=2){let F=N;if(F.charAt(0)=="-"&&(F=F.substring(1)),F.length>=2&&F.charAt(0)=="0"&&F.charAt(1)!="."){t.triggerRef(v);return}}if(N!="-"){if(!Aa(N)){t.triggerRef(v);return}if(l.integerLength!=-1&&Fa(N)>Number(l.integerLength)){t.triggerRef(v);return}if(l.decimalLength&&l.decimalLength!=-1&&Ba(N)>Number(l.decimalLength)){t.triggerRef(v);return}let F=Bo(N,l);if(F.maxValid===!1){f.value=F.message,t.triggerRef(v);return}}else if(l.min!=null&&me(l.min)>=0){t.triggerRef(v);return}H.value=N,ue(l.showTip)&&(L.value=N.length>0),v.value=N,d.value=Fo(N,l.rates,l.precision,!0),q.forEach(F=>{c(F,d.value)})},z=N=>{A(N,["update:modelValue","input"])},S=N=>{A(N,["update:modelValue","change"])},V=N=>{if(h.value=!0,ue(l.showTip)){let q=v.value;fe(q)&&(q=l.hintText),fe(q)||(H.value=q,L.value=!0)}f.value="",c("focus",d.value,N)},b=N=>{if(setTimeout(()=>{h.value=!1,ue(l.showTip)&&L.value===!0&&(L.value=!1)},0),!fe(v.value)){let q=Bo(v.value,l);if(q.minValid===!1||q.maxValid===!1){f.value=q.message;return}}c("update:modelValue",d.value,N),c("blur",d.value,N)},j=()=>{c("clear","")},X=t.computed(()=>Ye(l.unit)>0),B=t.ref();return ve({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()},setDisabled:N=>{r.value=N},setReadonly:N=>{u.value=N}}),()=>{const q={...Ue(a.attrs),ref:B,class:R.value,type:"digit",maxlength:l.maxLength,placeholder:p.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:j,onInput:z,onChange:S,onFocus:V,onBlur:b},F={};a.slots.prepend&&(F.prepend=a.slots.prepend),a.slots.append&&(F.append=a.slots.append),a.slots.prefix&&(F.prefix=a.slots.prefix),a.slots.suffix?F.suffix=a.slots.suffix:X.value&&(F.suffix=()=>[l.unit]);const G=[],$=t.h(I.ElInput,q,F);G.push($);const J={default:()=>G};a.slots.default&&(J.label=a.slots.default),a.slots.fixedTip&&(J.fixedTip=a.slots.fixedTip);const k={...$e(l,Ro),errorTip:P.value,hintText:H.value,hintVisible:L.value,hintType:"number"};return l.prop&&(k.prop=`${l.prop}_item`),t.h(o,k,J)}}}}const{componentName:Vc,create:Ic,scope:Pc}=se("money-item"),Ol=Ic(Ec(Vc,Pc,we)),Mo={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Oc(e,n,o){return{props:{...be,...ke,...Mo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=e,p=t.computed(()=>({[y]:!0,[`${y}__append`]:z.value})),g=t.computed(()=>({[`${y}__unit`]:!0})),R=V=>{x.value=V,c("update:modelValue",V),c("input",V)},m=V=>{c("change",V)};let f=he(l,"hintText"),P=t.ref(!1);const H=V=>{let j=V.target.value;v.value=!0,fe(f.value)||(P.value=!0),c("focus",j,V)},L=V=>{setTimeout(()=>{P.value&&(P.value=!1),v.value=!1},0);let j=V.target.value;l.maxLength&&j.length>Number(l.maxLength)&&(j=j.slice(0,Number(l.maxLength))),c("blur",j,V)},A=()=>{c("clear","")},z=t.computed(()=>Ye(l.unit)>0),S=t.ref();return ve({focus:()=>{S?.value.focus()},blur:()=>{S?.value.blur()},setDisabled:V=>{r.value=V},setReadonly:V=>{u.value=V}}),()=>{const b={...Ue(a.attrs),ref:S,class:p.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:A,onChange:m,onInput:R,onFocus:H,onBlur:L},j={},X=[],B=t.h(I.ElInputNumber,b,j);X.push(B);const N={default:()=>X};a.slots.default&&(N.label=a.slots.default),a.slots.fixedTip&&(N.fixedTip=a.slots.fixedTip);const F={...$e(l,Mo),hintText:f.value,hintVisible:P.value};if(l.prop&&(F.prop=`${l.prop}_item`),a.slots.append)N.append=a.slots.append;else if(z.value){const $={class:g.value},J=t.h("div",$,[l.unit]);N.append=()=>J}return t.h(o,F,N)}}}}const{componentName:Ac,create:Fc,scope:Bc}=se("input-number-item"),Al=Fc(Oc(Ac,Bc,we));function Ge(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function st(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Rc(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}let Mc=class{proxy;constructor(n){this.proxy=n}async load(n,o,l,a){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l,a);const r=Oe(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l,a))}};function Lc(){const e=t.getCurrentInstance();return new Mc(e.proxy)}function rl(e,n,o){const l=Ge(e,n),a=Ge(e,o);if(l!==a)return!1;const r=st(e,n),i=st(e,o);return r===i}function yr(e,n,o,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];let r=l;for(let i=0;Array.isArray(r)&&i<n.length;i++){const u=n[i];if(Array.isArray(u)){const s=yr(e,u,o,l);a.push(s)}else{let s=!1;for(let c of r){if(o==="text")s=Ge(e,c)===u;else if(o==="item")s=rl(e,c,u);else{let h=st(e,c);h==null&&(h=Ge(e,c)),s=h===u}if(s){a.push(c),r=Rc(e,c);break}}if(!s)break}}return a}function _c(e){return{text:e,value:e}}const Lo={modelValue:{type:[Array,String],required:!1},pathNodes:{type:[Array],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},props:{type:[Object],required:!1},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},appearLoad:{type:[Boolean],default:!1},lazy:{type:[Boolean],default:!1},lazyLoad:{type:[Function]},leafKey:{type:[String],default:"leaf"},showTooltip:{type:Boolean,default:!1},separator:{type:[String],default:" / "},placeholder:{type:[String],required:!1}};function qc(e,n,o){return{props:{...be,...ke,...Lo},emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(null),x=t.ref([]),y=t.computed(()=>x.value?x.value.map(O=>Array.isArray(O)?O.map(W=>Ge(l,W)).join(" "):Ge(l,O)).join(" "):""),p=(C,O,w,W=!0)=>{if(l.props&&l.props.lazy===!0||l.lazy===!0){if(v.value===C)return;v.value=C;const te=t.toRaw(C);if(W){const le=Y?.value.getCheckedNodes();if(le)if(l.multiple){const ee=[];le.forEach(oe=>{const ie=(oe.pathNodes??[]).map(de=>de.data);ee.push(ie)}),c("update:pathNodes",ee)}else{const oe=(le[0]?.pathNodes??[]).map(ae=>ae.data);c("update:pathNodes",oe)}c("update:modelValue",te),c("change",te)}return}const U=yr(l,C,O,w);if(U===null){if(x.value.length===0||x.value===null)return;x.value=[],v.value=null,W&&(c("update:pathNodes",[]),c("update:modelValue",null),c("change",null));return}const T=U[U.length-1];if(j.value.checkStrictly!==!0&&T&&!Array.isArray(T)&&Array.isArray(T.children)&&T.children.length>0){const te=[];U.forEach(le=>{const ee=`${Ge(l,le)}`;te.push(ee)}),te.length>0&&(V.value=te.join(l.separator))}else V.value=null;let K=!0;if(U.length!==x.value.length)K=!1;else for(let te=0;te<U.length;te++){const le=U[te],ee=x.value[te];if(Array.isArray(le)){if(!Array.isArray(ee)||le.length!==ee.length)K=!1;else for(let oe=0;oe<le.length;oe++)if(!rl(l,le[oe],ee[oe])){K=!1;break}}else rl(l,le,ee)||(K=!1);if(!K)break}if(!K){x.value=U;let te=[],le=[];U.forEach(oe=>{if(Array.isArray(oe)){let ae=[],ie=[];for(let de of oe)ae.push(st(l,de)),l.valueType==="text"?ie.push(Ge(l,de)):l.valueType==="item"?ie.push(de):ie.push(st(l,de));te.push(ae),le.push(ie)}else te.push(st(l,oe)),l.valueType==="text"?le.push(Ge(l,oe)):l.valueType==="item"?le.push(oe):le.push(st(l,oe))}),v.value=te;const ee=t.toRaw(le);W&&(c("update:pathNodes",U),c("update:modelValue",ee),c("change",ee))}},g=t.ref([]),R=Ne(t.computed(()=>l.appearLoad),"appearLoad",Re.Near,C=>ue(C)),m=Lc(),f=async(C,O)=>{if(C){const w=await m.load("cascader",C,O);if(w.length>0)if(typeof w[0]=="string"){let T=w.map(K=>_c(K));g.value=T}else g.value=w}};t.watch([()=>l.source,()=>l.params],async([C,O])=>{f(C,O)},{immediate:!(R.value||l.lazy)});let P=!1;const H=()=>{P||(P=!0,f(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([C,O])=>{p(O,l.valueType,C,!1),c("setValue",O)}),l.lazy&&p(l.modelValue,"value",[],!1);let L=null,A=t.ref(!1);typeof l.remoteMethod=="function"&&(L=async C=>{if(C!=null){A.value=!0;try{const O=await l.remoteMethod(C);g.value=O}catch(O){console.error(O)}A.value=!1}});const z=t.ref(!1),S=e,V=t.ref(null),b=t.computed(()=>({[S]:!0,"is-incomplete":V.value&&V.value.length>0})),j=t.computed(()=>{let C={label:l.textKey,value:l.valueKey,children:l.childrenKey};return l.multiple===!0&&(C.multiple=!0),l.props&&Object.assign(C,l.props),l.lazy&&(C.lazy=!0,typeof l.lazyLoad=="function"?C.lazyLoad=l.lazyLoad:C.lazyLoad=async(O,w)=>{const W=await m.load("cascader",l.source,O,!0);if(O?.config?.checkStrictly!==!0&&Array.isArray(v.value)&&v.value.length===O.level){const U=O.pathLabels??[];let T=[];U.forEach(K=>{K&&T.push(K)}),T.length>0&&(V.value=T.join(l.separator))}else V.value=null;w(W)}),C}),X=C=>{l.allowCreate?(c("update:modelValue",C),c("change",C),v.value=C):p(C,"value",g.value,!0)};let B=he(l,"hintText"),N=t.ref(!1);const q=C=>{let w=C.target.value;z.value=!0,fe(B.value)||(N.value=!0),c("focus",w,C)},F=C=>{setTimeout(()=>{N.value&&(N.value=!1),z.value=!1},0);let w=C.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),M.value||c("blur",w,C)},G=()=>{c("clear","")},$=t.ref(!1);let J=null;const Q=()=>{l.showTooltip&&$.value===!1&&(J&&clearTimeout(J),J=setTimeout(()=>{$.value=!0},150))},k=()=>{J&&(clearTimeout(J),$.value=!1,J=null)},D=t.computed(()=>$.value||N.value),_=t.computed(()=>$.value?y.value:B.value),M=t.ref(!1),E=C=>{M.value=C,c("visible-change",C),C||c("selected")},Z=C=>{c("remove-tag",C)},ne=C=>{c("expand-change",C)},Y=t.ref();return ve({focus:()=>{Y?.value.focus()},blur:()=>{Y?.value.blur()},getCheckedNodes:()=>Y?.value.getCheckedNodes(),setDisabled:C=>{r.value=C},setReadonly:C=>{u.value=C}}),()=>{const O={...a.attrs,ref:Y,class:b.value,props:j.value,clearable:l.clearable,placeholder:V.value||d.placeholder.value,disabled:i.value||s.value,options:g.value,modelValue:v.value,separator:l.separator,onClear:G,onChange:X,onFocus:q,onBlur:F,onVisibleChange:E,onRemoveTag:Z,expandChange:ne};typeof L=="function"&&(O["remote-method"]=L,O.loading=A.value);const w={};a.slots.option&&(w.default=a.slots.option),a.slots.empty&&(w.empty=a.slots.empty);const W=[],U=t.h(I.ElCascader,O,w);W.push(U);const T={default:()=>W};a.slots.default&&(T.label=a.slots.default),a.slots.fixedTip&&(T.fixedTip=a.slots.fixedTip);const te={...$e(l,Lo),hintText:_.value,hintVisible:D.value,onMouseover:Q,onMouseleave:k};return l.prop&&(te.prop=`${l.prop}_item`),R.value&&!l.lazy&&(te["appear-listen"]=!0,te.onAppear=H),t.h(o,te,T)}}}}const{componentName:zc,create:jc,scope:Hc}=se("cascader-item"),Fl=jc(qc(zc,Hc,we)),_o={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Kc(e,n,o){return{props:{...be,...ke,..._o},emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=he(l,"modelValue",null,c),y=e,p=t.computed(()=>({[y]:!0})),g=S=>{x.value=S,c("update:modelValue",S),c("input",S)},R=S=>{c("change",S)},m=S=>{c("select",S)};let f=he(l,"hintText"),P=t.ref(!1);const H=S=>{let b=S.target.value;v.value=!0,fe(f.value)||(P.value=!0),c("focus",b,S)},L=S=>{setTimeout(()=>{P.value&&(P.value=!1),v.value=!1},0);let b=S.target.value;l.maxLength&&b.length>Number(l.maxLength)&&(b=b.slice(0,Number(l.maxLength))),c("blur",b,S)},A=()=>{c("clear","")},z=t.ref();return ve({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},select:()=>{z?.value.select()},setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const V={...a.attrs,ref:z,class:p.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,onClear:A,onChange:R,onInput:g,onFocus:H,onBlur:L,onSelect:m},b={};a.slots.prepend&&(b.prepend=a.slots.prepend),a.slots.append&&(b.append=a.slots.append),a.slots.prefix&&(b.prefix=a.slots.prefix),a.slots.suffix&&(b.suffix=a.slots.suffix),a.slots.option&&(b.default=a.slots.option);const j=[],X=t.h(I.ElAutocomplete,V,b);j.push(X);const B={default:()=>j};a.slots.default&&(B.label=a.slots.default),a.slots.fixedTip&&(B.fixedTip=a.slots.fixedTip);const q={...$e(l,_o),hintText:f.value,hintVisible:P.value};return l.prop&&(q.prop=`${l.prop}_item`),t.h(o,q,B)}}}}const{componentName:Wc,create:Yc,scope:Uc}=se("autocomplete-item"),Bl=Yc(Kc(Wc,Uc,we));function Gc(e,n,o,l,a){let r=[];Array.isArray(e)?r=e:r=[e];const i=[],u=n[0];if(Array.isArray(e)&&!Array.isArray(u)&&!u[a]){let s=n;for(let c=0;s&&c<r.length;c++){let h=r[c],d=s.find(v=>v[l]===h);if(!d)break;i.push(d[o])}return i}if(Array.isArray(u))for(let s=0;s<n.length&&s<r.length;s++){let c=n[s],h=r[s];const d=c.find(v=>v[l]===h);if(!d)break;i.push(d[o])}else{let s=n;for(let c=0;s&&c<r.length;c++){let h=r[c],d=s.find(v=>v[l]===h);if(!d)break;i.push(d[o]),s=d[a]}}return i}let Xc=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Zc(){const e=t.getCurrentInstance();return new Xc(e.proxy)}const br={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1},emptyTag:{type:[String],required:!1,default:"span"},emptyClass:{type:[String],required:!1}};function Jc(e,n){return{props:{...br},setup(o,{attrs:l,slots:a}){const r=Zc(),i=t.ref([]);t.watch([()=>o.source,()=>o.params],async([c,h])=>{i.value=await r.load(o.sourceType,c,h)},{immediate:!0});const u=t.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let c=Gc(o.modelValue,i.value,o.textKey,o.valueKey,o.childrenKey);return c.length==0?o.emptyText??"":c.length===1?o.optionType=="item"?`${o.modelValue}${o.separator}${c[0]}`:c[0]:c.join(o.separator)}),s=o.resolveTag?t.resolveComponent(o.tag):o.tag;return()=>{const c={...l};return a.default?a.default({text:u.value,value:o.modelValue}):o.resolveTag?o.emptyText!==void 0&&o.emptyText===u.value?t.h(o.emptyTag??"span",{...l,class:o.emptyClass},u.value):t.h(s,c,{default:()=>u.value}):t.h(s,c,u.value)}}}}const{componentName:Tp,create:Qc,scope:$p}=se("mapping"),Ft=Qc(Jc());function ef(e,n){let o=n.split("."),l=e;for(let a=0;a<o.length;a++){let r=o[a],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function tf(e,n){return{props:{...br},setup(o,{attrs:l,slots:a}){return()=>{const r={default:i=>{const u=ef(i.row,i.column.property);return a.default?t.h(Ft,{...o,modelValue:u},{default:a.default}):t.h(Ft,{...o,modelValue:u})}};for(let i in a)i!=="default"&&(r[i]=a[i]);return t.h(I.ElTableColumn,{...l},r)}}}}const{componentName:kp,create:nf,scope:Dp}=se("table-mapping-column"),Rl=nf(tf()),lf=Symbol.for("TableStateKey");function qo(e,n){let o=n.split("."),l=e;for(let a=0;a<o.length;a++){let r=o[a],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function of(e,n){return{props:{},setup(o,{attrs:l}){const a=t.inject(lf,{});return()=>{const r=a.currentRow?a.currentRow.value:null,i={default:u=>{const s=qo(u.row,u.column.property),c=r?qo(r,u.column.property):null,h=s===c,d={class:{"el-radio__input":!0,"is-checked":h}},v=t.h("span",d,[t.h("span",{class:{"el-radio__inner":!0}})]),x={class:{"el-radio":!0,"is-checked":h}};return t.h("label",x,[v])}};return t.h(I.ElTableColumn,{...l},i)}}}}const{componentName:Np,create:af,scope:Ep}=se("table-radio-column"),Ml=af(of()),rf={},sf={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function uf(e,n){return t.openBlock(),t.createElementBlock("svg",sf,n[0]||(n[0]=[t.createElementVNode("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)]))}const cf=De(rf,[["render",uf]]),{componentName:Vp,create:ff,scope:Ip}=se("table-setting"),df={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},hf=ff({components:{FoxPopover:I.ElPopover,FoxCheckbox:I.ElCheckbox,FoxCheckboxGroup:I.ElCheckboxGroup,FoxButton:I.ElButton,FoxIcon:I.ElIcon,DragIcon:cf,Download:Te.Download,RefreshLeft:Te.RefreshLeft},props:{...df},setup(e,{emit:n,attrs:o}){let l=[];const a=t.ref([]),r=t.computed(()=>a.value.filter(E=>E.label===""||E.type?!1:E.fixed===""||E.fixed===!0||E.fixed==="left")),i=t.computed(()=>a.value.filter(E=>E.label===""||E.type?!1:E.fixed==="right")),u=t.computed(()=>a.value.filter(E=>!(E.label===""||E.type||E.fixed!==void 0))),s=t.computed(()=>(r.value.length>0||i.value.length>0)&&u.value.length>0),c=t.computed(()=>r.value.length>0),h=t.computed(()=>i.value.length>0),d=E=>E.length>1,v=(E,Z)=>{Array.isArray(E)&&Array.isArray(Z)&&E.forEach(C=>{Z.some(O=>O.prop===C.prop?(C.label=O.label,!0):!1)});const ne=[];a.value=E.map((C,O)=>(!(C.label===""||C.type)&&C.visible!==!1&&ne.push(C.prop),{...C,sortIndex:O})),u.value.length+r.value.length+i.value.length===ne.length?m.value=!0:ne.length>0&&(f.value=!0),L.value=ne},x=E=>E?E.type?E.type:E.label?E.prop:"":"",y=(E,Z)=>{if(E.length!==Z.length)return!1;const ne=E.map(Y=>x(Y));for(let Y of Z){const C=x(Y);if(ne.indexOf(C)===-1)return!1}return!0},p=E=>{if(!E){const Z=e.tableRef.getColumnSetting(),ne=Z.srcColumnPropertyList;l=ne.map((Y,C)=>({...Y,sortIndex:C})),E=Z.columnPropertyList,E&&E.length>0&&y(ne,E)||(E=ne)}v(E,l)},g=()=>{e.tableRef.setColumnSetting(a.value)},R=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),m=t.ref(!1),f=t.ref(!1),P=E=>{const Z=[];a.value.forEach(Y=>{E&&!(Y.label===""||Y.type)&&Z.push(Y.prop),Y.visible=E}),m.value=!1,f.value=!1,u.value.length+r.value.length+i.value.length===Z.length?m.value=!0:Z.length>0&&(f.value=!0),L.value=Z,g()},H=()=>{p(l),g()},L=t.ref([]),A=E=>{a.value.forEach(ne=>{if(ne.label===""||ne.type)return;const Y=E.indexOf(ne.prop)!==-1;ne.visible=Y}),m.value=!1,f.value=!1;const Z=u.value.length+r.value.length+i.value.length;E.length===Z?m.value=!0:E.length>0&&(f.value=!0),g()},z=()=>{p()};t.onMounted(()=>{setTimeout(()=>{p()},50)});const S={currentRow:null,index:null,roleType:null},V=E=>E?E.dataset&&E.dataset.role==="row"?E:E.tagName.toLowerCase()!=="body"?(E=E.parentElement,V(E)):null:null,b=E=>{const Z=E.currentTarget;Z&&Z.dataset&&(S.roleType=Z.dataset.roleType,S.index=Z.dataset.index)},j=E=>{S.currentRow&&(S.currentRow.classList.remove("is-dragover"),S.currentRow=null),S.index=null,S.roleType=null},X=E=>{const Z=E.currentTarget;E.relatedTarget;const ne=V(Z);if(!ne)return;const Y=ne.dataset&&ne.dataset.roleType;S.roleType===Y&&(E.preventDefault(),S.currentRow&&S.currentRow!==ne&&S.currentRow.classList.remove("is-dragover"),ne.classList.add("is-dragover"),S.currentRow=ne)},B=E=>{E.preventDefault(),S.currentRow&&(S.currentRow.classList.remove("is-dragover"),S.currentRow=null)},N=E=>{const Z=E.currentTarget,ne=V(Z);if(!ne)return;const Y=ne.dataset&&ne.dataset.roleType;if(S.roleType!==Y)return;E.preventDefault();const C=Number(S.index),O=Number(ne.dataset.index);if(C!==O){if(C<O){const w=a.value[C];a.value.splice(C,1),a.value.splice(O,0,w)}else{const w=a.value[C];a.value.splice(C,1),a.value.splice(O+1,0,w)}v(a.value,l),g()}},q=E=>{const Z=a.value[E];Z.fixed="left",g()},F=E=>{const Z=a.value[E];Z.fixed="right",g()},G=E=>{const Z=a.value[E];Z.fixed=void 0,g()},$=new Map;let J=null;function Q(E){const Z=document.createRange();return Z.setStart(E,0),Z.setEnd(E,E.childNodes.length),Z.getBoundingClientRect().width}return{attrs:o,leftFixedColumns:r,rightFixedColumns:i,unFixedColumns:u,isShowNotFixedTitle:s,isShowLeftFixedTitle:c,isShowRightFixedTitle:h,isDraggble:d,isCheckAll:m,isIndeterminate:f,handleCheckAllChange:P,handleReset:H,checkedValue:L,handleCheckChange:A,onShow:z,onDragStart:b,onDragEnd:j,onDragOver:X,onDragLeave:B,onDrop:N,toLeftFixed:q,toRightFixed:F,toUnFixed:G,checkboxLabelStyle:R,onMouseOverForOverflowText:(E,Z,ne)=>{const Y=E.currentTarget;if(Y){const C=Math.floor(Y.offsetWidth);if(Math.floor(Q(Y))>C){let w=$.get(Z);if(w){if(w===J)return;Fe.hide(w)}w=Fe.show(Y,ne,{type:"text",placement:"top",closeOnClick:!1}),w&&($.set(Z,w),J=w)}}},onMouseLeaveForOverflowText:(E,Z)=>{const ne=$.get(Z);ne&&(Fe.hide(ne),ne===J&&(J=null))},onMouseOverForTip:(E,Z)=>{const ne=E.currentTarget;ne&&(J&&Fe.hide(J),J=Fe.show(ne,Z,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:E=>{J&&(Fe.hide(J),J=null)}}}}),mf={class:"fox-table-setting"},gf={class:"fox-table-setting__header"},pf={class:"fox-table-setting__body"},vf={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},yf={key:0,class:"fox-table-setting__body-title"},bf=["data-index","draggable"],wf=["onMouseover","onMouseleave"],xf={class:"tools-item"},Sf={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},Cf={key:0,class:"fox-table-setting__body-title"},Tf=["data-index","draggable"],$f=["onMouseover","onMouseleave"],kf={class:"tools-item"},Df={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},Nf={key:0,class:"fox-table-setting__body-title"},Ef=["data-index","draggable"],Vf=["onMouseover","onMouseleave"],If={class:"tools-item"};function Pf(e,n,o,l,a,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),c=t.resolveComponent("RefreshLeft"),h=t.resolveComponent("FoxIcon"),d=t.resolveComponent("Download"),v=t.resolveComponent("fox-checkbox"),x=t.resolveComponent("FoxCheckboxGroup"),y=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(y,t.mergeProps(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),default:t.withCtx(()=>[t.createElementVNode("div",mf,[t.createElementVNode("div",gf,[t.createVNode(i,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=p=>e.isCheckAll=p),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),t.createVNode(u,{onClick:e.handleReset,link:"",type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.resetText),1)]),_:1},8,["onClick"])]),t.createElementVNode("div",pf,[t.createVNode(x,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=p=>e.checkedValue=p),onChange:e.handleCheckChange},{default:t.withCtx(()=>[e.leftFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",vf,[e.isShowLeftFixedTitle?(t.openBlock(),t.createElementBlock("div",yf,t.toDisplayString(e.leftFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.leftFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.leftFixedColumns),onDragstart:n[5]||(n[5]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[6]||(n[6]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[7]||(n[7]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[8]||(n[8]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[9]||(n[9]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.leftFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,wf)]),_:2},1032,["value"]),t.createElementVNode("div",xf,[t.createVNode(h,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[1]||(n[1]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[2]||(n[2]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[3]||(n[3]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[4]||(n[4]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,bf))),128))])):t.createCommentVNode("",!0),e.unFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",Sf,[e.isShowNotFixedTitle?(t.openBlock(),t.createElementBlock("div",Cf,t.toDisplayString(e.unFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.unFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.unFixedColumns),onDragstart:n[14]||(n[14]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[15]||(n[15]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[16]||(n[16]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[17]||(n[17]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[18]||(n[18]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.unFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,$f)]),_:2},1032,["value"]),t.createElementVNode("div",kf,[t.createVNode(h,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[10]||(n[10]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[11]||(n[11]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[12]||(n[12]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[13]||(n[13]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,Tf))),128))])):t.createCommentVNode("",!0),e.rightFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",Df,[e.isShowRightFixedTitle?(t.openBlock(),t.createElementBlock("div",Nf,t.toDisplayString(e.rightFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.rightFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.rightFixedColumns),onDragstart:n[23]||(n[23]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[24]||(n[24]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[25]||(n[25]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[26]||(n[26]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[27]||(n[27]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.rightFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(v,{class:"checkbox-item",label:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,Vf)]),_:2},1032,["label"]),t.createElementVNode("div",If,[t.createVNode(h,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[19]||(n[19]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[20]||(n[20]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[21]||(n[21]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[22]||(n[22]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,Ef))),128))])):t.createCommentVNode("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const Cn=De(hf,[["render",Pf]]);let Of=class{proxy;constructor(n){this.proxy=n}async load(n,o,l,a,r,i,u){if(Array.isArray(o)){let c=(l-1)*a,h=c+a;h>o.length&&(h=o.length);const d=o.slice(c,h);return{totalSize:o.length,page:d}}if(typeof o=="function")return await Reflect.apply(o,null,[l,a,r,i,u]);const s=Oe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Me(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[o,l,a,r,i,u]))}};function Af(){const e=t.getCurrentInstance();return new Of(e.proxy)}let Ff=class{proxy;constructor(n){this.proxy=n}async load(n){let o=null;const l=Oe(this.proxy,"tableSetting");return typeof l=="function"&&(o=await Reflect.apply(l,null,["load",n])),o}save(n,o){const l=Oe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,o])}remove(n){const o=Oe(this.proxy,"tableSetting");typeof o=="function"&&Reflect.apply(o,null,["remove",n])}};function Bf(){const e=t.getCurrentInstance();return new Ff(e.proxy)}const Rf=Symbol.for("TableStateKey"),zo={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},lazyLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]},cellClassName:{type:Function},rowClickSelectable:{type:[String,Boolean],required:!1,default:!1},uniqueExpansion:{type:[String,Boolean],required:!1,default:!1},showSetting:{type:[Boolean],required:!1,default:!1},footerAlign:{type:[String],required:!1,default:"right"}},jo={pageIndex:{type:[Number],required:!1,default:1},pageSize:{type:[Number],required:!1,default:10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:"right"},paginationBackground:{type:[Boolean],required:!1,default:!0},paginationSmall:{type:[Boolean],required:!1,default:!1},showPagination:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}},zn={popoverWidth:{type:[String,Number],required:!1,default:280},popoverPlacement:{type:[String],required:!1,default:"top-start"},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},Mf={infiniteLoad:{type:Boolean,default:!1},loadText:{type:String,default:"加载中..."},loadMoreText:{type:String,default:"无更多数据"}};function Lf(e,n){let o=n.split("."),l=e;for(let a=0;a<o.length;a++){let r=o[a],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function jn(e,n){return e.filter(l=>{for(let a in n){const r=n[a],i=Lf(l,a);if(r!==i)return!1}return!0})}function _f(e,n,o){return{inheritAttrs:!1,props:{...be,...ke,...zo,...jo,...zn,...Mf},emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(l,a){const{locale:r}=ye.useFoxI18n(n),{emitEvent:i}=Ce({componentName:e,validateHandler:{getValue(...ee){return L.value}}},l.prop??a.attrs.name),u=e,s=t.computed(()=>({[u]:!0})),c=t.computed(()=>({[`${u}__setting`]:!0})),h=t.computed(()=>({[`${u}__footer`]:!0,[`${u}__footer__${l.footerAlign}`]:!0})),d=t.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${l.paginationAlign}`]:!0})),v=t.shallowRef({}),x=t.computed(()=>({...v.value,...l.params??{},...l.baseParams??{}})),y=t.ref(l.infiniteLoad===!0?0:l.pageIndex),p=t.ref(l.pageSize),g=ue(l.infiniteLoad);g||(t.watch(()=>l.pageIndex,ee=>{y.value=ee}),t.watch(()=>l.pageSize,ee=>{p.value=ee}),t.watch([y,p],([ee,oe],[ae,ie])=>{oe!==ie&&(y.value=1,ee=1),V(l.data,ee,oe,x.value)}));const R=()=>Array.isArray(l.data)?!0:ue(l.autoLoad);R()&&t.watch([()=>l.data,x],async([ee,oe],[ae,ie])=>{R()&&(ee!==ae&&(z=!0),!(!Array.isArray(ee)&&Le(ee,ae)&&Le(oe,ie))&&(g?(y.value=0,P.value=!0,L.value=[],j()):y.value===1?V(ee,y.value,p.value,oe):y.value=1))},{deep:!0});const m=ee=>{y.value=ee,i("page-index-change",ee)},f=ee=>{p.value=ee,i("page-size-change",ee)},P=t.ref(!0),H=t.ref(0),L=t.ref(),A=Af();let z=!0;const S=Ne(t.computed(()=>l.lazyLoad),"lazyLoad",Re.Near,ee=>ue(ee)),V=async(ee,oe,ae,ie,de)=>{z=!1;try{if(de===!0){if(!P.value)return!1;const ge=await A.load("table",ee,oe,ae,ie,z,r.value);return H.value=ge.totalSize,!ge.page||!Array.isArray(ge.page)||(Reflect.apply([].push,L.value,ge.page),setTimeout(()=>{i("loaded-data")},250),(L.value?.length??0)>=H.value)||ge.page.length<ae?(P.value=!1,!1):!0}else{const ge=await A.load("table",ee,oe,ae,ie,z,r.value);return H.value=ge.totalSize,L.value=ge.page??[],setTimeout(()=>{i("loaded-data")},250),!0}}catch(ge){console.error("[FoxUI] Load Table Data Fail",ge),H.value=0,L.value=[]}return!1};let b=!1;const j=async()=>{if(!b){if(b=!0,!P.value){b=!1;return}y.value+=1,await V(l.data,y.value,p.value,x.value,!0),b=!1}},X=(ee={},oe=!1)=>new Promise(async ae=>{v.value=t.toRaw(ee??{}),oe||(y.value=l.pageIndex??1),g===!0?(y.value=0,L.value=[],P.value=!0,await j()):await V(l.data,y.value,p.value,x.value),ae()}),B=()=>{H.value=0,L.value=[],g===!0&&(y.value=0,P.value=!0)};let N=!1;const q=()=>{N||(N=!0,X())},F=t.ref(null);if(g===!0){let ee=null;const oe=()=>{F.value&&(ee=new IntersectionObserver(ie=>{let de=!1;for(let ge of ie)if(ge.intersectionRatio>0){de=!0;break}de&&j()}),ee.observe(F.value))},ae=()=>{!ee||!F.value||(ee.unobserve(F.value),ee=null)};t.onMounted(oe),t.onBeforeUnmount(ae)}R()&&!S.value&&X();const G=t.ref(null);t.provide(Rf,{currentRow:G});const $=(ee,oe)=>{G.value=ee,i("current-change",ee,oe)},J=(ee,oe,ae)=>{i("row-click",ee,oe,ae),ue(l.rowClickSelectable)===!0&&le?.value.toggleRowSelection(ee)},Q=[],k=(ee,oe)=>{if(i("expand-change",ee,oe),ue(l.uniqueExpansion))if(Array.isArray(oe)&&oe.length==0){const ae=Q.length;Q.splice(0,ae)}else{Q.forEach(ie=>{ie!==ee&&le?.value.toggleRowExpansion(ie,!1)});const ae=Q.length;Q.splice(0,ae,ee)}},D=a.attrs.id??l.prop??a.attrs.name,_=Bf(),M=t.ref([]);let E=[];const Z=()=>({srcColumnPropertyList:E.map(oe=>({...oe})),columnPropertyList:M.value}),ne=ee=>{M.value=[...ee],C()},Y=async()=>{const ee=await _.load(D);ee&&(M.value=ee)},C=()=>{_.save(D,M.value)},O=()=>{_.remove(D)};Y();const w=ee=>ee?ee.type?ee.type:ee.label?ee.prop:"":"",W=t.computed(()=>{if(typeof a.slots.default=="function"){const ee=a.slots.default(),oe=new Map;if(E=[],ee.forEach(ae=>{const ie=ae;if(!ie.props)return;const de=w(ie.props);oe.set(de,ae);const ge={label:"",prop:""};Object.assign(ge,ie.props),E.push(ge)}),M.value.length===E.length){const ae=[];for(let ie of M.value){const de=w(ie),ge=oe.get(de);if(!ge)return ee;if(ie.visible===!1)continue;const _e=ge;_e.props.fixed=ie.fixed,ae.push(_e)}return ae}return ee}return[]}),U=t.shallowRef(new Map),T=({column:ee,rowIndex:oe})=>{const ae=`${oe}_${ee.property}`;return U.value.get(ae)??""},K=ee=>typeof ee=="function"?oe=>{const ae=[];let ie=T(oe);return ie&&ae.push(ie),ie=ee(oe),ie&&ae.push(ie),ae.length===0?"":ae.join(" ")}:T,te=(ee,oe,ae)=>{const ie=`${ee}_${oe}`;ae?U.value.set(ie,ae):U.value.delete(ie),t.triggerRef(U)},le=t.ref();return ve({clearSelection:()=>le?.value.clearSelection(),getSelectionRows:()=>le?.value.getSelectionRows(),toggleRowSelection:(ee,oe)=>{le?.value.toggleRowSelection(ee,oe)},toggleRowSelectionByProp:(ee,oe)=>{if(!L.value)return;const ae=jn(L.value,ee);ae.length!==0&&ae.forEach(ie=>{le?.value.toggleRowSelection(ie,oe)})},toggleAllSelection:()=>{le?.value.toggleAllSelection()},toggleRowExpansion:(ee,oe)=>{le?.value.toggleRowExpansion(ee,oe)},toggleRowExpansionByProp:(ee,oe)=>{if(!L.value)return;const ae=jn(L.value,ee);ae.length!==0&&ae.forEach(ie=>{le?.value.toggleRowExpansion(ie,oe)})},setCurrentRow:ee=>{le?.value.setCurrentRow(ee)},setCurrentRowByProp:ee=>{if(!L.value)return;const oe=jn(L.value,ee);oe.length!==0&&le?.value.setCurrentRow(oe[0])},getCurrentRow:()=>G.value,clearSort:()=>{le?.value.clearSort()},clearFilter:ee=>{le?.value.clearFilter(ee)},doLayout:()=>{le?.value.doLayout()},sort:(ee,oe)=>{le?.value.sort(ee,oe)},scrollTo:(ee,oe)=>{le?.value.scrollTo(ee,oe)},setScrollTop:ee=>{le?.value.setScrollTop(ee)},setScrollLeft:ee=>{le?.value.setScrollLeft(ee)},loadData:X,clearData:B,getData(){return L.value},getTotalSize(){return H.value},getPageIndex(){return y.value},getPageSize(){return p.value},getColumnSetting:Z,setColumnSetting:ne,removeColumnSetting:O,setCellClassName:te}),()=>{const oe={...Ue(a.attrs),onCurrentChange:$,onRowClick:J,onExpandChange:k,data:L.value,ref:le,class:s.value,"cell-class-name":K(l.cellClassName)},ae={};if(a.slots.default&&(ae.default=()=>W.value),a.slots.append&&(ae.append=()=>a.slots.append),a.slots.empty&&(ae.empty=()=>a.slots.empty),g===!0){const ze=[];if(P.value){const Ct=t.h(Te.Loading,{class:`${u}__infinite-icon`});ze.push(Ct);const An=t.h("span",{class:`${u}__infinite-text`},[l.loadText]);ze.push(An)}else{const Ct=t.h("span",{class:`${u}__infinite-text`},[l.loadMoreText]);ze.push(Ct)}const ot={ref:F,class:`${u}__infinite`},On=t.h("div",ot,ze);ae.append=()=>On}const ie=t.h(I.ElTable,oe,ae),de=[];if(de.push(ie),!g){let ze=null;if(typeof a.slots.pagination=="function")ze=a.slots.pagination();else if(l.showPagination){const ot={class:d.value,total:H.value,pageSize:p.value,"onUpdate:pageSize":f,pageSizes:l.pageSizes,currentPage:y.value,"onUpdate:currentPage":m,hideOnSinglePage:l.hideOnSinglePage,layout:l.paginationLayout,samll:l.paginationSmall,background:l.paginationBackground};ze=t.h(I.ElPagination,ot)}if(l.showSetting){const ot=[];ze&&ot.push(ze);const On=t.h(I.ElIcon,{class:c.value},{default:()=>t.h(Te.Setting)}),Ct=Rt(l,zn),An=t.h(Cn,{...Ct,tableRef:{getColumnSetting:Z,setColumnSetting:ne,removeColumnSetting:O}},{default:()=>On});ot.push(An);const Or=t.h("div",{class:h.value},ot);de.push(Or)}else ze&&de.push(ze)}const ge={default:()=>de},qe={...$e(l,zo,jo,zn)};return l.prop&&(qe.prop=`${l.prop}_item`),qe.contentClass=`${u}__wrap`,qe.errorMarkClass="is-table-error",S.value&&R()&&(qe["appear-listen"]=!0,qe.onAppear=q),t.h(o,qe,ge)}}}}const{componentName:qf,create:zf,scope:jf}=se("table-item"),Ll=zf(_f(qf,jf,we));function xt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Bt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Hf(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let Kf=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function Wf(){const e=t.getCurrentInstance();return new Kf(e.proxy)}function wr(e,n,o){if(n===o)return!0;if(n===null||o===null)return!1;const l=xt(e,n),a=xt(e,o);if(l!==a)return!1;const r=Bt(e,n),i=Bt(e,o);return r===i}function Yf(e,n,o,l){if(l.length==0||n===""||n===null||n===void 0)return null;let a=null;for(let r of l){let i=!1;if(o==="text")i=xt(e,r)===n;else if(o==="item")i=wr(e,r,n);else{let u=Bt(e,r);u==null&&(u=xt(e,r)),i=u===n}if(i){a=r;break}}return a}function Uf(e){return{text:e,value:e}}function Gf(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}const Ho={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}};function Xf(e,n,o){return{inheritAttrs:!0,props:{...be,...ke,...Ho},emits:["change","update:modelValue","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),h=t.ref(null),d=t.ref(null),v=(S,V,b,j=!0)=>{const X=Yf(l,S,V,b);if(X===null){if(d.value===null)return;d.value=null,h.value=null,j&&(c("update:modelValue",null),c("change",null));return}if(!wr(l,X,d.value)){h.value=S;const N=t.toRaw(X);d.value=N;let q=null;l.valueType==="text"?q=xt(l,N):l.valueType==="item"?q=N:q=Bt(l,N),j&&(c("update:modelValue",q),c("change",q))}},x=t.ref([]),y=Ne(t.computed(()=>l.appearLoad),"appearLoad",Re.Near,S=>ue(S)),p=Wf(),g=async(S,V)=>{if(S){const b=await p.load("radio",S,V);if(b.length>0)if(typeof b[0]=="string"){let B=b.map(N=>Uf(N));x.value=B}else x.value=b}};t.watch([()=>l.source,()=>l.params],async([S,V])=>{g(S,V)},{immediate:!y.value});let R=!1;const m=()=>{R||(R=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([S,V])=>{v(V,l.valueType,S,!1),c("setValue",V)});const f=e,P=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),H=S=>{v(S,"value",x.value,!0)};let L=he(l,"hintText"),A=he(l,"hintVisible");const z=(S,V)=>{const b=[];return S.forEach((j,X)=>{const B=Bt(l,j),N=xt(l,j);let q=Hf(l,j);i.value===!0&&(q=i.value),s.value===!0&&(q=s.value);const F=Gf(l,j,X)??{},G=`${B}_${X}`,$={...F,key:G,value:B,size:l.size,border:ue(l.border)};q&&($.disabled=q),l.itemType==="button"?b.push(t.h(I.ElRadioButton,$,{default:()=>[N]})):typeof V=="function"?b.push(t.h(I.ElRadio,$,{default:()=>V(j)})):b.push(t.h(I.ElRadio,$,{default:()=>[N]}))}),b};return ve({setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const V={...Ue(a.attrs),class:P.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,onChange:H},b=[],j={};a.slots.options?j.default=a.slots.options:j.default=()=>z(x.value,a.slots.text);const X=t.h(I.ElRadioGroup,V,j);b.push(X);const B={default:()=>b};a.slots.default&&(B.label=a.slots.default),a.slots.fixedTip&&(B.fixedTip=a.slots.fixedTip);const q={...$e(l,Ho),hintText:L.value,hintVisible:A.value};return l.prop&&(q.prop=`${l.prop}_item`),y.value&&(q["appear-listen"]=!0,q.onAppear=m),t.h(o,q,B)}}}}const{componentName:Zf,create:Jf,scope:Qf}=se("radio-item"),_l=Jf(Xf(Zf,Qf,we));function St(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function bt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ed(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let td=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function nd(){const e=t.getCurrentInstance();return new td(e.proxy)}function xr(e,n,o){if(n===o)return!0;if(n===null||o===null)return!1;const l=St(e,n),a=St(e,o);if(l!==a)return!1;const r=bt(e,n),i=bt(e,o);return r===i}function ld(e,n,o,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];return n.forEach(r=>{for(let i of l){let u=!1;if(o==="text")u=St(e,i)===r;else if(o==="item")u=xr(e,i,r);else{let s=bt(e,i);s==null&&(s=St(e,i)),u=s===r}if(u){a.push(i);break}}}),a}function od(e){return{text:e,value:e}}function ad(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}const Ko={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}};function rd(e,n,o){return{inheritAttrs:!0,props:{...be,...ke,...Ko},emits:["change","update:modelValue","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),h=t.ref([]),d=t.ref([]),v=(S,V,b,j=!0)=>{const X=ld(l,S,V,b);if(X===null){if(d.value===null||d.value.length===0)return;h.value=[],d.value=[],j&&(c("update:modelValue",[]),c("change",[]));return}let B=!0;if(X.length!==d.value.length)B=!1;else for(let N=0;N<X.length;N++){const q=X[N],F=d.value[N];if(!xr(l,q,F)){B=!1;break}}if(!B){d.value=X;let N=[],q=[];X.forEach(G=>{N.push(bt(l,G)),l.valueType==="text"?q.push(St(l,G)):l.valueType==="item"?q.push(G):q.push(bt(l,G))}),h.value=N;const F=t.toRaw(q);j&&(c("update:modelValue",F),c("change",F))}},x=t.ref([]),y=Ne(t.computed(()=>l.appearLoad),"appearLoad",Re.Near,S=>ue(S)),p=nd(),g=async(S,V)=>{if(S){const b=await p.load("checkbox",S,V);if(b.length>0)if(typeof b[0]=="string"){let B=b.map(N=>od(N));x.value=B}else x.value=b}};t.watch([()=>l.source,()=>l.params],async([S,V])=>{g(S,V)},{immediate:!y.value});let R=!1;const m=()=>{R||(R=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([S,V])=>{v(V,l.valueType,S,!1),c("setValue",V)});const f=e,P=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),H=S=>{v(S,"value",x.value,!0)};let L=he(l,"hintText"),A=he(l,"hintVisible");const z=(S,V)=>{const b=[];return S.forEach((j,X)=>{const B=bt(l,j),N=St(l,j);let q=ed(l,j);i.value===!0&&(q=i.value),s.value===!0&&(q=s.value);const F=ad(l,j,X)??{},G=`${B}_${X}`,$={...F,key:G,class:l.itemClass,value:B,size:l.size,border:ue(l.border)};q&&($.disabled=q),l.itemType==="button"?b.push(t.h(I.ElCheckboxButton,$,{default:()=>[N]})):typeof V=="function"?b.push(t.h(I.ElCheckbox,$,{default:()=>V(j)})):b.push(t.h(I.ElCheckbox,$,{default:()=>[N]}))}),b};return ve({setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const V={...Ue(a.attrs),class:P.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,max:me(l.max),min:me(l.min),onChange:H},b=[],j={};a.slots.options?j.default=a.slots.options:j.default=()=>z(x.value,a.slots.text);const X=t.h(I.ElCheckboxGroup,V,j);b.push(X);const B={default:()=>b};a.slots.default&&(B.label=a.slots.default),a.slots.fixedTip&&(B.fixedTip=a.slots.fixedTip);const q={...$e(l,Ko),hintText:L.value,hintVisible:A.value};return l.prop&&(q.prop=`${l.prop}_item`),y.value&&(q["appear-listen"]=!0,q.onAppear=m),t.h(o,q,B)}}}}const{componentName:id,create:sd,scope:ud}=se("checkbox-item"),ql=sd(rd(id,ud,we)),Wo={modelValue:{type:[Number,String],required:!1}};function cd(e,n,o){return{props:{...be,...ke,...Wo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),h=he(l,"modelValue",R=>me(R),c),d=e,v=t.computed(()=>({[d]:!0})),x=R=>{c("update:modelValue",R),c("change",R)};let y=he(l,"hintText"),p=t.ref(!1);const g=t.ref();return ve({setDisabled:R=>{r.value=R},setReadonly:R=>{u.value=R}}),()=>{const m={...Ue(a.attrs),ref:g,class:v.value,readonly:s.value||i.value,modelValue:h.value,onChange:x},f={},P=[],H=t.h(I.ElRate,m,f);P.push(H);const L={default:()=>P};a.slots.default&&(L.label=a.slots.default),a.slots.fixedTip&&(L.fixedTip=a.slots.fixedTip);const z={...$e(l,Wo),hintText:y.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(o,z,L)}}}}const{componentName:fd,create:dd,scope:hd}=se("rate-item"),zl=dd(cd(fd,hd,we)),Yo={modelValue:{type:[Boolean,String,Number],required:!1}};function md(e,n,o){return{props:{...be,...ke,...Yo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),h=he(l,"modelValue",null,c),d=e,v=t.computed(()=>({[d]:!0})),x=R=>{c("update:modelValue",R),c("change",R)};let y=he(l,"hintText"),p=he(l,"hintVisible");const g=t.ref();return ve({setDisabled:R=>{r.value=R},setReadonly:R=>{u.value=R}}),()=>{const m={...Ue(a.attrs),ref:g,class:v.value,readonly:s.value,disabled:i.value,modelValue:h.value,onChange:x},f={},P=[],H=t.h(I.ElSwitch,m,f);P.push(H);const L={default:()=>P};a.slots.default&&(L.label=a.slots.default),a.slots.fixedTip&&(L.fixedTip=a.slots.fixedTip);const z={...$e(l,Yo),hintText:y.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(o,z,L)}}}}const{componentName:gd,create:pd,scope:vd}=se("switch-item"),jl=pd(md(gd,vd,we)),Uo={modelValue:{type:[String,Number,Boolean,Array],required:!1}};function yd(e,n,o){return{props:{...be,...ke,...Uo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),c=t.ref(!1),{emitEvent:h}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),d=he(l,"modelValue",null,h),v=e,x=t.computed(()=>({[v]:!0})),y=A=>{h("update:modelValue",A),h("change",A)};let p=he(l,"hintText"),g=t.ref(!1);const R=A=>{let S=A.target.value;c.value=!0,fe(p.value)||(g.value=!0),h("focus",S,A)},m=A=>{setTimeout(()=>{g.value&&(g.value=!1),c.value=!1},0);let S=A.target.value;l.maxLength&&S.length>Number(l.maxLength)&&(S=S.slice(0,Number(l.maxLength))),P.value||h("blur",S,A)},f=()=>{h("clear","")},P=t.ref(!1),H=A=>{P.value=A,h("visible-change",A),A||h("selected")},L=t.ref();return ve({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},setDisabled:A=>{r.value=A},setReadonly:A=>{u.value=A}}),()=>{const z={...Ue(a.attrs),ref:L,class:x.value,disabled:i.value||s.value,modelValue:d.value,"onUpdate:modelValue":y,onClear:f,onFocus:R,onBlur:m,onVisibleChange:H},S={};a.slots.option&&(S.default=a.slots.option);const V=[],b=t.h(I.ElTreeSelect,z,S);V.push(b);const j={default:()=>V};a.slots.default&&(j.label=a.slots.default),a.slots.fixedTip&&(j.fixedTip=a.slots.fixedTip);const B={...$e(l,Uo),hintText:p.value,hintVisible:g.value};return l.prop&&(B.prop=`${l.prop}_item`),t.h(o,B,j)}}}}const{componentName:bd,create:wd,scope:xd}=se("tree-select-item"),Hl=wd(yd(bd,xd,we));class Sd{proxy;constructor(n){this.proxy=n}async load(n){let o=null;const l=Oe(this.proxy,"tableSetting");return typeof l=="function"&&(o=await Reflect.apply(l,null,["load",n])),o}save(n,o){const l=Oe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,o])}remove(n){const o=Oe(this.proxy,"tableSetting");typeof o=="function"&&Reflect.apply(o,null,["remove",n])}}function Cd(){const e=t.getCurrentInstance();return new Sd(e.proxy)}const Td={},$d={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function kd(e,n){return t.openBlock(),t.createElementBlock("svg",$d,n[0]||(n[0]=[t.createElementVNode("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)]))}const Dd=De(Td,[["render",kd]]),{componentName:Bp,create:Nd,scope:Rp}=se("group-setting"),Ed={groupProp:{type:[String]},groupRef:{type:[Object]},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1,default:"条件筛选"},resetText:{type:[String],required:!1,default:"重置"},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1,default:"到顶部"},toBottomText:{type:[String],required:!1,default:"到底部"}},Vd=Nd({components:{FoxPopover:I.ElPopover,FoxCheckbox:I.ElCheckbox,FoxCheckboxGroup:I.ElCheckboxGroup,FoxButton:I.ElButton,FoxIcon:I.ElIcon,DragIcon:Dd,Download:Te.Download,RefreshLeft:Te.RefreshLeft},props:{...Ed},emits:["change"],setup(e,{emit:n,attrs:o,expose:l}){let a=null;const r=t.ref([]),i=Cd(),u=k=>k.length>1,s=()=>{const k=[],D=[...r.value];r.value=D.map((M,E)=>(M.visible!==!1&&k.push(M.prop),{...M,sortIndex:E})),r.value.length===k.length?p.value=!0:k.length>0&&(g.value=!0),f.value=k},c=k=>{let D=null;if(typeof k=="string")D=document.querySelectorAll(`.fox-group[prop="${k}"] > div > .fox-item[prop]`);else if(k&&typeof k=="object"){const M=k.$el??k;typeof M.querySelectorAll=="function"&&(D=M.querySelectorAll(".fox-item[prop]"))}if(!D)return[];const _=[];return D.forEach(M=>{const E=M.querySelector(".label--string");let Z="";E&&(Z=E.textContent??"");const ne=M.getAttribute("prop")??"",C=window.getComputedStyle(M,null).getPropertyValue("display");_.push({label:Z,prop:ne,sortIndex:0,visible:C!=="none"})}),_},h=()=>{if(!a){const k=c(e.groupRef??e.groupProp);if(k.length===0)return!1;a=k}return!0},d=async(k=!1)=>{const D=await i.load(e.groupProp),_=M=>{if(!M||!a)return;const E=a.map(Z=>({...Z}));Array.isArray(D)&&D.forEach(Z=>{E.some(ne=>{if(ne.prop===Z.prop){const Y=ne.label;return Object.assign(ne,Z),ne.label=Y,!0}return!1})}),r.value=E.sort((Z,ne)=>Z.sortIndex-ne.sortIndex),s(),k&&x(!1)};a?_(!0):un(h,e.initDelay,5,50,!1,_)},v=()=>{const k=a??[];r.value=k.map(D=>({...D})),s(),x()},x=(k=!0)=>{k&&i.save(e.groupProp,r.value);const D=r.value.map(_=>({..._}));n("change",D)},y=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),p=t.ref(!1),g=t.ref(!1),R=k=>{const D=[];r.value.forEach(M=>{k&&D.push(M.prop),M.visible=k}),p.value=!1,g.value=!1,r.value.length===D.length?p.value=!0:D.length>0&&(g.value=!0),f.value=D,x()},m=()=>{v()},f=t.ref([]),P=k=>{r.value.forEach(_=>{const M=k.indexOf(_.prop)!==-1;_.visible=M}),p.value=!1,g.value=!1;const D=r.value.length;k.length===D?p.value=!0:k.length>0&&(g.value=!0),x()},H=()=>{d()};t.onMounted(()=>{d(!0)});const L={currentRow:null,index:null},A=k=>k?k.dataset&&k.dataset.role==="row"?k:k.tagName.toLowerCase()!=="body"?(k=k.parentElement,A(k)):null:null,z=k=>{const D=k.currentTarget;D&&D.dataset&&(L.index=D.dataset.index)},S=k=>{L.currentRow&&(L.currentRow.classList.remove("is-dragover"),L.currentRow=null),L.index=null},V=k=>{const D=k.currentTarget;k.relatedTarget;const _=A(D);_&&(k.preventDefault(),L.currentRow&&L.currentRow!==_&&L.currentRow.classList.remove("is-dragover"),_.classList.add("is-dragover"),L.currentRow=_)},b=k=>{k.preventDefault(),L.currentRow&&(L.currentRow.classList.remove("is-dragover"),L.currentRow=null)},j=k=>{const D=k.currentTarget,_=A(D);if(!_)return;k.preventDefault();const M=Number(L.index),E=Number(_.dataset.index);if(M!==E){if(M<E){const Z=r.value[M];r.value.splice(M,1),r.value.splice(E,0,Z)}else{const Z=r.value[M];r.value.splice(M,1),r.value.splice(E+1,0,Z)}s(),x()}},X=k=>{const D=r.value[k];r.value.splice(k,1),r.value.splice(0,0,D),s(),x()},B=k=>{const D=r.value[k];r.value.splice(k,1),r.value.push(D),s(),x()};l({refresh:()=>{a=null,d(!1)}});const N=new Map;let q=null;function F(k){const D=document.createRange();return D.setStart(k,0),D.setEnd(k,k.childNodes.length),D.getBoundingClientRect().width}return{attrs:o,itemPropertyList:r,isDraggble:u,isCheckAll:p,isIndeterminate:g,handleCheckAllChange:R,handleReset:m,checkedValue:f,handleCheckChange:P,onShow:H,onDragStart:z,onDragEnd:S,onDragOver:V,onDragLeave:b,onDrop:j,checkboxLabelStyle:y,toTop:X,toBottom:B,onMouseOverForOverflowText:(k,D,_)=>{const M=k.currentTarget;if(M){const E=Math.floor(M.offsetWidth);if(Math.floor(F(M))>E){let ne=N.get(D);if(ne){if(ne===q)return;Fe.hide(ne)}ne=Fe.show(M,_,{type:"text",placement:"top",closeOnClick:!1}),N.set(D,ne),q=ne}}},onMouseLeaveForOverflowText:(k,D)=>{const _=N.get(D);_&&(Fe.hide(_),_===q&&(q=null))},onMouseOverForTip:(k,D)=>{const _=k.currentTarget;_&&(q&&Fe.hide(q),q=Fe.show(_,D,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:k=>{q&&(Fe.hide(q),q=null)}}}}),Id={class:"fox-group-setting"},Pd={class:"fox-group-setting__header"},Od={class:"fox-group-setting__body"},Ad={class:"fox-group-setting__body-list","data-role":"container"},Fd=["data-index","draggable"],Bd=["onMouseover","onMouseleave"],Rd={class:"tools-item"};function Md(e,n,o,l,a,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),c=t.resolveComponent("Download"),h=t.resolveComponent("FoxIcon"),d=t.resolveComponent("FoxCheckboxGroup"),v=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(v,t.mergeProps(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),default:t.withCtx(()=>[t.createElementVNode("div",Id,[t.createElementVNode("div",Pd,[t.createVNode(i,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=x=>e.isCheckAll=x),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),t.createVNode(u,{onClick:e.handleReset,link:"",type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.resetText),1)]),_:1},8,["onClick"])]),t.createElementVNode("div",Od,[t.createVNode(d,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=x=>e.checkedValue=x),onChange:e.handleCheckChange},{default:t.withCtx(()=>[t.createElementVNode("div",Ad,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.itemPropertyList,x=>(t.openBlock(),t.createElementBlock("div",{key:x.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":x.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...y)=>e.onDragStart&&e.onDragStart(...y)),onDragend:n[6]||(n[6]=(...y)=>e.onDragEnd&&e.onDragEnd(...y)),onDrop:n[7]||(n[7]=(...y)=>e.onDrop&&e.onDrop(...y)),onDragover:n[8]||(n[8]=(...y)=>e.onDragOver&&e.onDragOver(...y)),onDragleave:n[9]||(n[9]=(...y)=>e.onDragLeave&&e.onDragLeave(...y))},[e.isDraggble(e.itemPropertyList)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",label:x.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:y=>e.onMouseOverForOverflowText(y,x.prop,x.label),onMouseleave:y=>e.onMouseLeaveForOverflowText(y,x.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(x.label),45,Bd)]),_:2},1032,["label"]),t.createElementVNode("div",Rd,[t.createVNode(h,{onClick:y=>e.toTop(x.sortIndex),onMouseover:n[1]||(n[1]=y=>e.onMouseOverForTip(y,e.toTopText)),onMouseleave:n[2]||(n[2]=y=>e.onMouseLeaveForTip(y)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:y=>e.toBottom(x.sortIndex),onMouseover:n[3]||(n[3]=y=>e.onMouseOverForTip(y,e.toBottomText)),onMouseleave:n[4]||(n[4]=y=>e.onMouseLeaveForTip(y))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"])])],40,Fd))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const Kl=De(Vd,[["render",Md]]),Wt={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,Boolean,String,Object],default:[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String]},confirmText:{type:[String]},loadText:{type:[String]},loadMoreText:{type:[String]},isAutoBackFill:{type:[Boolean]},showHeader:{type:[Boolean],default:!0},showFooter:{type:[Boolean],default:!0},showSearchbar:{type:[Boolean],default:!0},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},popClass:{type:String,required:!1},popStyle:{type:Object,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function Ld(e,n,o,l="value"){for(let a=0;a<n.length;a++){let r=n[a];if(l==="text"){if(Yt(e,r)===o)return a}else if(l==="item"){if(Le(o,r))return a}else if(Sr(e,r)===o)return a}return-1}function Yt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Go(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Sr(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function _d(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function qd(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}let zd=class{proxy;constructor(n){this.proxy=n}async load(n,o,l,a,r,i,u){if(Array.isArray(o)){let c=o;typeof u=="function"&&(c=c.filter(u));let h=(l-1)*a,d=h+a;d>c.length&&(d=c.length);const v=c.slice(h,d);return{totalSize:c.length,page:v}}if(typeof o=="function")return await Reflect.apply(o,null,[l,a,r,i]);const s=Oe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Me(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[o,l,a,r]))}};function jd(){const e=t.getCurrentInstance();return new zd(e.proxy)}function Hd(e,n,o,l,a,r,i,u,s,c,h){return{props:{...Wt},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,{slots:v}){const{emitEvent:x}=gl(),{toLocaleRefs:y}=ye.useFoxI18n(n),p=y(d,["title","loadText","loadMoreText","seachPlaceholder","confirmText"]),g=jd(),R=t.ref([]),m=t.ref(0),f=t.ref(""),P=t.shallowRef(null),H=t.computed(()=>{const C={};return d.params&&Object.assign(C,d.params),fe(f.value)||(C[`${d.searchKey}`]=f.value),P.value&&Object.assign(C,P.value),C});let L=!0;const A=async(C,O,w)=>{try{if(S.value===!1)return;let W=null;fe(f.value)||(W=T=>{const K=Yt(d,T);if(typeof K=="string"&&K.includes(f.value))return!0;const te=Go(d,T);return!!(typeof te=="string"&&te.includes(f.value))});const U=await g.load("actionsheet",C,O,w,H.value,L,W??void 0);L=!1,Array.isArray(U)?(R.value=U,m.value=1,S.value=!1):!Array.isArray(U.page)||U.page.length===0?(console.warn("[FoxUI] can not load more data"),S.value=!1):(Reflect.apply([].push,R.value,U.page),m.value=Math.ceil(R.value.length/d.pageSize),(U.totalSize&&R.value.length>=U.totalSize||w<U.page.length)&&(S.value=!1)),z.value=!1}catch(W){console.error("[FoxUI] ActionSheet load more data fail",W),S.value=!0,m.value=0,R.value=[]}setTimeout(()=>{x("loaded-data")},250)},z=t.ref(!1),S=t.ref(!0),V=async()=>{if(!d.source){z.value=!1;return}await A(d.source,m.value+1,d.pageSize)};t.watch(()=>f.value,(C,O)=>{fe(C)&&!fe(O)&&V()}),t.watch([()=>d.source,()=>d.pageSize,()=>d.params],async([C,O,w])=>{d.source&&V()},{immediate:!0});const b=t.computed(()=>!d.multiple&&d.isAutoBackFill),j=t.ref([]);let X=null;const B=t.ref(d.visible);t.watch(()=>d.visible,C=>{B.value!==C&&(B.value=C),C?X=[...j.value]:X=null});const N=(C,O)=>{const w=[];return Array.isArray(C)||(C=[C]),C.forEach(W=>{let U=Ld(d,O,W,d.valueType);U!==-1&&w.push(U)}),Le(w,j.value)?!1:(j.value=w,!0)};t.watch([()=>d.modelValue,()=>R.value],([C,O],[w,W])=>{if(N(C,O)){const T=q();F(T)}},{deep:!0});const q=()=>{const C=[],O=[],w=[];for(let K of j.value){const te=R.value[K];O.push(te);const le=Yt(d,te);if(w.push(le),d.valueType==="item")C.push(te);else if(d.valueType==="text")C.push(le);else{const ee=Sr(d,te);C.push(ee)}}let W=null,U=null,T=null;return d.multiple?(W=C,U=w,T=O):(W=C[0]??null,U=w[0]??null,T=O[0]??null),{value:W,text:U,item:T}},F=C=>{x("update:modelValue",C.value),x("update:text",C.text),x("change",C.value,C.item,C.text)},G=()=>{X&&(j.value=X)},$=C=>{const O=j.value.indexOf(C);d.multiple?O===-1?j.value.push(C):j.value.splice(O,1):O===-1?j.value=[C]:j.value=[],(b.value||!d.poppable&&!d.showFooter)&&k()},J=C=>{B.value=C,x("update:visible",C)},Q=()=>{const C=()=>{G(),J(!1)},O=d.beforeMethod??d.beforeClose;if(typeof O=="function"){const w=O("close");Xt(w)?w.then(W=>{W!==!1&&C()}).catch(()=>{C()}):w!==!1&&C()}else C()},k=()=>{const C=q(),O=()=>{F(C),J(!1)},w=d.beforeMethod??d.beforeClose;if(typeof w=="function"){const W=w("confirm",C.value,C.item,C.text);Xt(W)?W.then(U=>{U!==!1&&O()}).catch(()=>{O()}):W!==!1&&O()}else O()},D=()=>{S.value=!0,m.value=0,R.value=[],d.source&&V()},_=()=>{let C=p.title.value??"";v.title&&(C=v.title());const O=t.h("view",{class:["fox-actionsheet__header-title"]},[C]),w=t.h(s,{class:["fox-actionsheet__header-icon"],onClick:Q});return t.h("view",{class:["fox-actionsheet__header"]},[O,w])},M=()=>{let C=null;if(v.search)C=v.search();else{const O={onSearch:D,placeholder:p.seachPlaceholder.value,disabled:d.disabled,modelValue:f.value,"onUpdate:modelValue":w=>{f.value=w}};C=t.h(r,O,{leftin:()=>t.h(c)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[C])},E=(C,O,w,W,U)=>{if(v.optionLabel)return v.optionLabel({text:C,checked:O,disabled:w,subText:W,item:U});const T=[],K=t.h("view",{class:"fox-actionsheet__list-item-text"},[C]);if(T.push(K),W){const te=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[W]);T.push(te)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},T)},Z=(C,O,w,W)=>{if(v.optionIcon)return v.optionIcon({checked:C,disabled:O,iconSize:w,item:W});if(C){if(v.checkedIcon)return v.checkedIcon({disabled:O,item:W});{const U=d.checkedIcon??u;return t.h(U,{width:w,height:w,class:["fox-actionsheet__list-item-icon"]})}}else{if(v.icon)return v.icon({disabled:O,item:W});{const U=d.icon??i;return t.h(U,{width:w,height:w,class:["fox-actionsheet__list-item-icon"]})}}},ne=()=>{const C=[];for(let O=0;O<R.value.length;O++){const w=R.value[O],W=Yt(d,w),U=Go(d,w),T=["fox-actionsheet__list-item"],K={};let te=_d(d,w),le=d.iconSize?pe(d.iconSize):null;const ee=qd(d,w,O);ee&&(te=te||ee.disabled,ee.class&&T.push(ee.class),ee.style&&Object.assign(K,ee.style)),te=!!(d.disabled||te);const oe=j.value.includes(O);te&&T.push("is-disabled"),oe&&T.push("is-checked");const ae={class:T,style:K,key:`${O}`,onClick:()=>{te||$(O)}};let ie=[];if(v.option)ie.push(v.option({item:w,checked:oe,disabled:te}));else{const ge=E(W,oe,te,U,w);ie.push(ge);const _e=Z(oe,te,le,w);ie.push(_e)}const de=t.h("view",ae,ie);C.push(de)}return C},Y=()=>{let C=[];if(v.buttons)C=v.buttons();else{const w=t.h(a,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:k,disabled:d.disabled},{default:()=>p.confirmText.value});C.push(w)}return t.h("view",{class:"fox-actionsheet__footer"},[C])};return ve({search:async(C=null,O=!0)=>{P.value=C&&t.toRaw(C),t.triggerRef(P),O&&(S.value=!0,m.value=0,R.value=[]),t.nextTick(()=>{V()})},clear:()=>{S.value=!0,m.value=0,R.value=[]},confirm:()=>{k()},cancel:()=>{Q()}}),()=>{const C=[];if(d.showHeader){const le=_();C.push(le)}if(d.showSearchbar){const le=M();C.push(le)}let O=null;if(v.content)O=v.content();else{const le=ne(),ee={hasMore:S.value,loadText:p.loadText.value,loadMoreText:p.loadMoreText.value,modelValue:z.value,"onUpdate:modelValue":oe=>{z.value=oe},onLoadMore:V};O=t.h(l,ee,{default:()=>le})}const w={};d.optionsHeight&&(w.height=d.optionsHeight);const W={"fox-actionsheet__list":!0};d.poppable||(W["fox-actionsheet__list--inner"]=!0);const U=t.h("view",{class:W,style:w},[O]);if(C.push(U),d.showFooter&&!b.value){const le=Y();C.push(le)}const T=t.h("view",{class:"fox-actionsheet"},C);if(!d.poppable)return T;const K=["fox-actionsheet__popup"];d.popClass&&K.push(d.popClass);const te={popClass:K.join(" "),visible:B.value,closeable:!1,"onUpdate:visible":J,position:d.position,round:"round",onClickOverlay:Q,closeOnClickOverlay:d.closeOnClickOverlay};return t.h(o,te,{default:()=>T})}}}}const Kd=/scroll|auto|overlay/i,Cr=window;function Wd(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Yd(e,n=Cr){let o=e;for(;o&&o!==n&&Wd(o);){const{overflowY:l}=window.getComputedStyle(o);if(Kd.test(l))return o;o=o.parentNode}return n}function Tr(e,n=Cr){const o=t.ref();return t.onMounted(()=>{e.value&&(o.value=Yd(e.value,n))}),o}const $r=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Ud={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},loadMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1}};function Gd(e,n,o){return{props:{...Ud},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:a,slots:r}){const{toLocaleRefs:i}=ye.useFoxI18n(n),u=i(l,["pullText","loadText","loadMoreText"]),s=t.ref(),c=Tr(s),h=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=t.computed(()=>({[e]:!0})),v=m=>m?m.offsetTop+v(m.offsetParent):0,x=()=>{let m=0,f=0,P="down";if(c.value==window){const H=$r();s.value&&(m=v(s.value)+s.value.offsetHeight-H-window.innerHeight),f=H}else{const{scrollHeight:H,clientHeight:L,scrollTop:A}=c.value;m=H-L-A,f=A}return h.beforeScrollTop>f?P="up":P="down",h.beforeScrollTop=f,a("scroll-change",f),m<=l.threshold&&P=="down"},y=()=>{sl(()=>{if(!x()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,a("update:modelValue",!0),t.nextTick(()=>a("load-more"))})},p=()=>{c.value&&c.value.addEventListener("scroll",y,l.useCapture)},g=()=>{c.value&&c.value.removeEventListener("scroll",y,l.useCapture)};t.onMounted(()=>{p(),l.immediate&&y()}),t.onUnmounted(()=>{g()});const R=t.ref(!1);return t.onActivated(()=>{R.value&&(R.value=!1,p())}),t.onDeactivated(()=>{R.value=!0,g()}),t.watch(()=>l.modelValue,m=>{m||(h.isInfiniting=!1)}),()=>{const m={class:"fox-infinite__container"},f=t.h("view",m,[r?.default?.()]),P=[];if(h.isInfiniting){let z=r?.loading?.()??null;if(!z){let b=r?.loadingIcon?.()??null;if(!b){const B={class:["fox-infinite__bottom-box__img"]};b=t.h(o,B)}const j={class:"fox-infinite__bottom-box__text"},X=t.h("view",j,[u.loadText.value]);z=[b,X]}const S={class:"fox-infinite__bottom-box"},V=t.h("view",S,z);P.push(V)}else if(!l.hasMore){let z=r?.finished?.()??null;if(!z){const S={class:"fox-infinite__bottom-tips"};z=t.h("view",S,[u.loadMoreText.value]),P.push(z)}}const H={class:"fox-infinite__bottom"},L=t.h("view",H,P),A={class:d.value,ref:s};return t.h("view",A,[f,L])}}}}const{componentName:Xd,create:Zd,scope:Jd}=se("infinite-loading"),Tn=Zd(Gd(Xd,Jd,xn)),Qd={modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},eh=(e,n,o)=>({props:{...Qd},emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(l,{slots:a}){const{emitEvent:r}=gl(),{toLocaleRefs:i}=ye.useFoxI18n(n),u=i(l,["placeholder"]),s=t.reactive({active:!1}),c=t.computed(()=>({background:l.background})),h=t.computed(()=>({background:l.inputBackground})),d=S=>{let b=S.target.value;l.maxLength&&b.length>Number(l.maxLength)&&(b=b.slice(0,Number(l.maxLength))),r("update:modelValue",b,S),r("change",b,S)},v=t.ref({}),x=S=>{let b=S.target.value;s.active=!0,v.value=l.focusStyle,r("focus",b,S)},y=S=>{setTimeout(()=>{s.active=!1},0);let b=S.target.value;l.maxLength&&b.length>Number(l.maxLength)&&(b=b.slice(0,Number(l.maxLength))),v.value={},r("blur",b,S)},p=S=>{r("update:modelValue","",S),r("change","",S),r("clear","")},g=t.computed(()=>String(l.modelValue).length>0),R=t.computed(()=>{const S={};return g.value||(S.display="none"),S}),m=()=>{r("search",l.modelValue)},f=S=>{r("keyup-input",S),S.key.toLocaleUpperCase()==="ENTER"&&m()},P=S=>{r("click-input",S)},H=S=>{r("click-left-icon",l.modelValue,S)},L=t.computed(()=>({textAlign:l.inputAlign})),A=t.ref(null);t.onMounted(()=>{l.autofocus&&A.value.focus()});const z=()=>{const S=[];if(a.leftin){const B={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:H},N=t.h("view",B,[a.leftin()]);S.push(N)}const V={ref:A,class:[`${e}__input-inner`],style:L.value,type:l.inputType,maxlengt:l.maxLength,placeholder:u.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:P,onInput:d,onFocus:x,onBlur:y,onkeyup:f},b=t.h("input",V);S.push(b);const j=[];if(l.clearable){const B={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:R.value,onClick:p},N=a?.clear?.()??l.clearIcon??o,q=t.h("view",B,[t.h(N)]);j.push(q)}if(a.rightin){const B={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},N=t.h("view",B,[a.rightin()]);j.push(N)}if(j.length>0){const B={class:`${e}__input-inner-right`},N=t.h("view",B,j);S.push(N)}const X={class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...v.value}};return t.h("view",X,S)};return()=>{const S=[];if(l.label){const j={class:`${e}__search-label`},X=t.h("span",j,[l.label]);S.push(X)}if(a.leftout){const j={class:[`${e}__search-icon`,`${e}__left-search-icon`]},X=t.h("view",j,[a.leftout()]);S.push(X)}const V=z();if(S.push(V),a.rightout){const j={class:[`${e}__search-icon`,`${e}__right-search-icon`]},X=t.h("view",j,[a.rightout()]);S.push(X)}const b={class:`${e}`,style:c.value};return t.h("view",b,S)}}}),{componentName:th,create:nh,scope:lh}=se("searchbar"),$n=nh(eh(th,lh,Te.CircleClose)),{componentName:oh,create:ah,scope:rh}=se("actionsheet-pane"),kn=ah(Hd(oh,rh,dt,Tn,I.ElButton,$n,Lu,Fu,pr,yu)),Xo={type:{type:String,default:"text"},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function ih(e,n,o,l,a){return{props:{...be,...ke,...Xo,...Wt},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,i){const u=t.ref(null),s=Ve(t.computed(()=>u.value??r.disabled)),c=t.ref(null),h=Ee(t.computed(()=>c.value??r.readonly)),{emitEvent:d}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:v}=ye.useFoxI18n(n),x=v(r,["placeholder"]),y=t.ref(!1),p=he(r,"modelValue",null,d),g=t.ref(""),R=t.computed(()=>Array.isArray(g.value)?g.value.join(r.separator):g.value),m="fox-input-item",f=t.computed(()=>({[m]:!0,[`${m}__disabled`]:s.value})),P=Ne(t.computed(()=>r.textAlign),"textAlign"),H=t.computed(()=>{const F={};return P.value&&(F["text-align"]=P.value),F}),L=t.ref(!1),A=()=>{L.value=!0},z=F=>{L.value=F},S=F=>{p.value=F,d("update:modelValue",F)},V=(F,G)=>{d("change",F,G)},b=F=>{let $=F.target.value;y.value=!0,d("focus",$,F)},j=F=>{setTimeout(()=>{y.value=!1},0);let $=F.target.value;r.maxLength&&$.length>Number(r.maxLength)&&($=$.slice(0,Number(r.maxLength))),d("blur",$,F)},X=F=>{g.value=F,d("update:text",F)},B=t.computed(()=>Ye(r.unit)>0),N=t.ref(),q=t.ref(null);return ve({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},select:()=>{N?.value.select()},search:F=>{q.value&&q.value.search(F)},clear:()=>{q.value&&q.value.clear},confirm:F=>{q.value&&q.value.confirm()},cancel:()=>{q.value&&q.value.cancel()},setDisabled:F=>{u.value=F},setReadonly:F=>{c.value=F}}),()=>{const F={ref:N,class:f.value,style:H.value,type:"text",maxlength:r.maxLength,placeholder:x.placeholder.value,readonly:!0,value:R.value,onClick:A,onFocus:b,onBlur:j},G={};i.slots.prepend&&(G.prepend=i.slots.prepend),i.slots.append&&(G.append=i.slots.append),i.slots.prefix&&(G.prefix=i.slots.prefix),i.slots.suffix?G.suffix=i.slots.suffix:B.value?G.suffix=()=>[r.unit]:G.suffix=()=>t.h(I.ElIcon,{},{default:()=>t.h(Te.ArrowDown)});const $=[],J=t.h(I.ElInput,F,G);$.push(J);const Q={default:()=>$};Q.label=i.slots.default,Q.prepend=i.slots.prepend,Q.append=i.slots.append,Q.fixedPreTip=i.slots.fixedPreTip,Q.fixedTip=i.slots.fixedTip;const k=Rt(r,Wt);k.ref=q,k.class=r.actionsheetProps,k.disabled=s.value||h.value,k.visible=L.value,k["onUpdate:visible"]=z,k.modelValue=p.value,k["onUpdate:modelValue"]=S,k.text=g.value,k["onUpdate:text"]=X,k.onChange=V,k.poppable=!0;const D={title:i.slots.title,search:i.slots.search,option:i.slots.option,optionLabel:i.slots.optionLabel,optionIcon:i.slots.optionIcon,buttons:i.slots.buttons},_=t.h(l,k,D);Q.hide=()=>[_];const E={...$e(r,Xo,Wt)};return r.prop&&(E.prop=`${r.prop}_item`),t.h(o,E,Q)}}}}const{componentName:sh,create:uh,scope:ch}=se("actionsheet-item"),Wl=uh(ih(sh,ch,we,kn)),kr={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:360}},Yl={...El,...kr,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""},isAutoBackFill:{type:[Boolean],default:!0}};function fh(e){return e===window}const Ul=e=>{const n=t.unref(e);if(fh(n)){const o=n.innerWidth,l=n.innerHeight;return{top:0,left:0,right:o,bottom:l,width:o,height:l}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Zo=10;function Dr(e,n){return e>n&&e>Zo?"horizontal":n>e&&n>Zo?"vertical":""}function Dn(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Nn(){const e={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},n=()=>e.direction==="vertical",o=()=>e.direction==="horizontal",l=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:i=>{if(i.touches){const c=i.touches[0];e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}else{const s=i;e.deltaX=s.clientX-e.startX,e.deltaY=s.clientY-e.startY,e.moveX=s.clientX,e.moveY=s.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=Dr(e.offsetX,e.offsetY))},start:i=>{if(l(),i.touches){const c=i.touches[0];e.startX=c.clientX,e.startY=c.clientY}else{const s=i;e.startX=s.clientX,e.startY=s.clientY}e.startTime=Date.now()},reset:l,isVertical:n,isHorizontal:o,state:e}}function Nr(){const e=t.ref(0),n=t.ref(0),o=t.ref(0),l=t.ref(0),a=t.ref(0),r=t.ref(0),i=t.ref(0),u=t.ref(0),s=t.ref(0),c=t.ref(0),h=t.ref(""),d=()=>h.value==="vertical",v=()=>h.value==="horizontal",x=()=>{i.value=0,u.value=0,s.value=0,c.value=0,h.value="",o.value=0};return{move:g=>{if(g.touches){const f=g.touches[0];i.value=f.clientX-e.value,u.value=f.clientY-n.value,a.value=f.clientX,r.value=f.clientY}else{const m=g;i.value=m.clientX-e.value,u.value=m.clientY-n.value,a.value=m.clientX,r.value=m.clientY}s.value=Math.abs(i.value),c.value=Math.abs(u.value),l.value=Date.now()-o.value,h.value||(h.value=Dr(s.value,c.value))},start:g=>{if(x(),g.touches){const f=g.touches[0];e.value=f.clientX,n.value=f.clientY}else{const m=g;e.value=m.clientX,n.value=m.clientY}o.value=Date.now()},reset:x,startX:e,startY:n,startTime:o,duration:l,moveX:a,moveY:r,deltaX:i,deltaY:u,offsetX:s,offsetY:c,direction:h,isVertical:d,isHorizontal:v}}let Er=36;function dh(){return Er}function hh(e){Er=e}function He(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function il(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function mh(e,n,o){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=o),n.children=o}function ft(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Jo(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let gh=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await a(o,l))}};function ph(){const e=t.getCurrentInstance();return new gh(e.proxy)}function Qo(e,n,o){const l=He(e,n),a=He(e,o);if(l!==a)return!1;const r=ft(e,n),i=ft(e,o);return r===i}function vh(e,n,o,l){if(o.length==0)return[];Array.isArray(n)||(n=[n]);const a=[],r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<o.length;i++){const u=n[i];let c=o[i].findIndex(h=>{if(r==="text")return He(e,h)===u;if(r==="value"){let d=ft(e,h);return d==null&&(d=He(e,h)),d===u}else if(r==="item")return Qo(e,h,u)});if(c==-1)break;a.push(c)}else{let i=o[0];for(let u=0;u<n.length;u++){const s=n[u];let c=i.findIndex(d=>{if(r==="text")return He(e,d)===s;if(r==="value"){let v=ft(e,d);return v==null&&(v=He(e,d)),v===s}else if(r==="item")return Qo(e,d,s)});if(c==-1)break;a.push(c);const h=il(e,i[c]);if(!Array.isArray(h))break;i=h}}return a}function ea(e,n,o,l){if(o.length==0)return null;const a={texts:[],values:[],items:[]},r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<o.length;i++){const u=o[i];let s=n[i];s<0&&s>=u.length&&(s=0);const c=u[s],h=He(e,c);if(a.texts.push(h),a.items.push(c),r==="text")a.values.push(h);else if(r==="value"){let d=ft(e,c);d==null&&(d=h),a.values.push(d)}else a.values.push(c)}else{let i=o[0];for(let u=0;u<n.length;u++){let s=n[u];s<0&&s>=i.length&&(s=0);const c=i[s],h=He(e,c),d=Object.assign({},c);if(d.children=null,a.texts.push(h),a.items.push(d),r==="text")a.values.push(h);else if(r==="value"){let v=ft(e,c);v==null&&(v=h),a.values.push(v)}else a.values.push(d);if(!Array.isArray(c.children))break;i=c.children}}return a}function ta(e){return{text:e,value:e}}const yh=15,bh=300,wh=200,{create:xh}=se("picker-column");function Sh(e){e.stopPropagation()}function Ch(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),Sh(e)}const Th=xh({props:{source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},visible:{type:Boolean,default:!1},...kr},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const o=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${me(e.visibleItemCount)*+e.itemHeight}px`})),a=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),i=A=>A>=d.currIndex+8||A<=d.currIndex-8,u=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${d.deg})`,top:`${r.value}px`})),s=A=>`transform: rotate3d(1, 0, 0, ${-d.rotation*A}deg) translate3d(0px, 0px, 104px)`,c=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${d.scrollDistance+r.value}px, 0)`})),h=t.ref(null),d=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),v=A=>He(e,A),x=A=>ft(e,A),y=Nr(),p=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},g=(A,z=!1,S=!1)=>{if(d.currIndex=A,z){const V=()=>{d.moving=!1,n("update:modelValue",A),n("change",A)};S?d.transitionEndTrigger=V:V()}},R=(A,z,S)=>{let V=A+d.startDistance;if(z==="end"){const b=-(e.source.length-1)*e.itemHeight;V<b&&(V=b),V>0&&(V=0);let j=Math.abs(Math.round(-V/e.itemHeight));const X=-j*e.itemHeight,B=`${(j+1)*d.rotation}deg`,N=S?S>0:!1;g(j,!0,N),m(X,z,S,B)}else{let b=(-V/e.itemHeight+1)*d.rotation;const j=(e.source.length+1)*d.rotation,X=0;if(b=Math.min(Math.max(b,X),j),e.threeDimensional&&(b<X||b>j))return;m(V,null,void 0,`${b}deg`)}},m=(A=0,z,S=wh,V)=>{z==="end"?d.scrollTime=S:d.scrollTime=0,d.deg=V,d.scrollDistance=A},f=(A,z)=>(A=Math.abs(A/z)/.003*(A<0?-1:1),A),P=A=>{e.readonly||(d.startDistance=d.scrollDistance,y.start(A),d.transitionEndTrigger=null)},H=A=>{e.readonly||(d.moving=!0,y.move(A),y.isVertical()&&(d.moving=!0,Ch(A)),R(y.deltaY.value,"",0))},L=()=>{if(e.readonly)return;const A=y.deltaY.value,z=y.duration.value;if(z<bh&&Math.abs(A)>yh){const V=f(A,z);R(V,"end",e.swipeDuration)}else R(A,"end",0)};return t.watch(()=>e.modelValue,A=>{const z=d.currIndex-A;if(z!==0){d.currIndex=A,d.startDistance=d.scrollDistance;const S=z*e.itemHeight;R(S,"",0)}}),t.watch(()=>e.source,A=>{if(d.currIndex>=A.length){const V=(A.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,R(V,"end",0)}}),t.watch(()=>e.visible,A=>{A===!1&&p()}),t.onMounted(()=>{const A=-e.modelValue*e.itemHeight;R(A)}),{classes:o,styles:l,contentClasses:a,itemText:v,itemValue:x,...t.toRefs(d),roller:h,getItemText:He,onTouchStart:P,onTouchMove:H,onTouchEnd:L,isHidden:i,setRollerStyle:s,touchRollerStyle:u,touchTileStyle:c,stopMomentum:p}}}),$h={key:1,class:"fox-picker__item-tile"};function kh(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...i)=>e.onTouchStart&&e.onTouchStart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.onTouchMove&&e.onTouchMove(...i)),onTouchend:n[2]||(n[2]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i)),onTouchcancel:n[3]||(n[3]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i)),onTransitionend:n[4]||(n[4]=(...i)=>e.stopMomentum&&e.stopMomentum(...i))},[t.createElementVNode("view",{ref:"roller",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.source,(i,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${u}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(u+1)}]),style:t.normalizeStyle(e.setRollerStyle(u+1))},t.toDisplayString(e.itemText(i)),7)):(t.openBlock(),t.createElementBlock("view",$h,t.toDisplayString(e.itemText(i)),1))],64))),128))],6)],38)}const Dh=De(Th,[["render",kh]]),{create:Nh,componentName:Eh,scope:Vh}=se("picker"),Ih=Nh({components:{PickerColumn:Dh,Popup:dt},props:{...Yl},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:o,t:l}=ye.useFoxI18n(Vh),a=o(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),i=t.ref(dh());t.watch(()=>e.visible,b=>{b&&i.value<=0&&setTimeout(()=>{if(r.value){const j=Ul(r.value);i.value=j.height,hh(i.value)}},50)});const u=t.computed(()=>({[Eh]:!0})),s=ph(),c=t.ref("singleColumn");let h=t.ref([]);t.watch([()=>e.source,()=>e.params],async([b,j])=>{if(b){let X=await s.load("select",b,j);if(X.length>0){let B=X[0];if(Array.isArray(B)){if(typeof B[0]=="string"){let N=X,q=[];N.forEach(F=>{let G=F.map($=>ta($));q.push(G)}),h.value=q}else h.value=X;c.value="multipleColumn"}else if(typeof B=="string"){let N=X,q=[],F=N.map(G=>ta(G));q.push(F),h.value=q,c.value="singleColumn"}else{const N=il(e,B);Array.isArray(N)?(c.value="cascade",h.value=[X]):(c.value="singleColumn",h.value=[X])}}else h.value=[]}},{immediate:!0});const d=t.ref([]),v=t.ref(e.modelValue),x=t.ref([]),y=t.ref([]);t.watch([()=>e.modelValue,()=>h.value],([b,j])=>{let X=vh(e,b,j,c.value);if(!Le(X,y.value)){y.value=X;let B=ea(e,X,j,c.value);B&&(d.value=B.texts,n("update:text",d.value))}});const p=t.ref(e.visible);t.watch(()=>e.visible,b=>{p.value=b});const g=b=>{let j=Jo(e,b);return Me(j)?j.defaultIndex??0:0},R=b=>{if(e.readonly===!0)return!0;let j=Jo(e,b);return Me(j)?j.readonly??!1:!1},m=(b,j)=>{let X=y.value;X[b]=j;for(let N=0;N<b;N++)X[N]==null&&(X[N]=g(N));if(c.value==="cascade")for(let N=b+1;N<P.value.length;N++){let q=g(N);N<X.length?X[N]=q:X.push(q)}else for(let N=X.length;N<P.value.length;N++){let q=g(N);X.push(q)}y.value=X;let B=ea(e,X,h.value,c.value);B&&(d.value=B.texts,v.value=B.values,x.value=B.items)},f=b=>b<y.value.length?y.value[b]:g(b),P=t.computed(()=>{if(h.value.length==0)return[];if(c.value=="singleColumn"||c.value=="multipleColumn")return h.value;let b=[],j=0,X=h.value[0],B=0;for(;;){let N=X.map(G=>{let $=Object.assign({},G);return mh(e,$,null),$});b.push(N),j>=y.value.length?B=0:B=y.value[j],(B<0||B>=X.length)&&(B=0);let q=X[B];const F=il(e,q);if(!Array.isArray(F))break;X=F,j++}return b}),H=t.computed(()=>me(+e.visibleItemCount-1)/2*i.value),L=(b=!1)=>{if(e.readonly===!0){b&&n("update:visible",!1);return}let j=h.value.length-1;for(;j>=0&&!(y.value[j]===null||y.value[j]===void 0);j--);if(j>=0&&m(j,0),c.value==="singleColumn"){let X=v.value.length>0?v.value[0]:"",B=x.value.length>0?x.value[0]:null;n("update:modelValue",X),n("update:text",d.value),n("change",X,B),b&&(n("confirm",X),n("update:visible",!1))}else n("update:modelValue",v.value),n("update:text",d.value),n("change",v.value,x.value),b&&(n("confirm",v.value),n("update:visible",!1))};return{...a,pickerLineRef:r,classes:u,columns:P,dataType:c,show:p,itemHeight:i,top:H,isReadonly:R,getIndex:f,change:(b,j)=>{if(m(b,j),e.isAutoBackFill){const X=!p.value;L(X)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{L(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}c.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Ph={class:"fox-picker__bar"},Oh={class:"fox-picker__title"},Ah={class:"fox-picker__bar__action"},Fh={class:"fox-picker__column"};function Bh(e,n,o,l,a,r){const i=t.resolveComponent("PickerColumn"),u=t.resolveComponent("Popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(u,{position:"bottom",visible:e.show,"onUpdate:visible":n[3]||(n[3]=s=>e.show=s),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",Ph,[t.createElementVNode("view",Oh,t.toDisplayString(e.title),1),t.createElementVNode("view",Ah,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...s)=>e.close&&e.close(...s))},t.toDisplayString(e.cancelText),1),t.createElementVNode("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1),e.clearText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...s)=>e.clear&&e.clear(...s))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",Fh,[t.createElementVNode("view",{class:"fox-picker__mask",style:t.normalizeStyle({backgroundSize:`100% ${e.top}px`})},null,4),t.createElementVNode("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:t.normalizeStyle({top:` ${e.top}px`})},null,4),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:"fox-picker__columnitem"},[t.createVNode(i,{visible:e.show,source:s,readonly:e.isReadonly(c),"column-index":c,modelValue:e.getIndex(c),"onUpdate:modelValue":h=>e.change(c,h),"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"item-height":e.itemHeight,"text-key":e.textKey,"value-key":e.valueKey},null,8,["visible","source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),t.renderSlot(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}const Lt=De(Ih,[["render",Bh]]),na={...Yl,placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String}};function Rh(e,n,o){return{props:{...be,...ke,...na},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(l,a){const r=t.ref(null),i=Ve(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ee(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??a.attrs.name),{toLocaleRefs:h}=ye.useFoxI18n(n),d=h(l,["placeholder"]),v=t.ref(!1),x=e,y=t.computed(()=>({[x]:!0})),p=Ne(t.computed(()=>l.textAlign),"textAlign"),g=t.computed(()=>({textAlign:p.value??"right"})),R=he(l,"modelValue",null,c),m=t.ref([]),f=t.computed(()=>Array.isArray(m.value)?m.value.join(" "):m.value),P=t.ref(!1),H=()=>{P.value=!0},L=F=>{P.value=F},A=F=>{R.value=F,c("update:modelValue",F)},z=F=>{m.value=F,Array.isArray(F)&&F.length===0?c("update:text",F[0]):c("update:text",F)},S=(F,G)=>{c("change",F,G)};let V=he(l,"hintText"),b=t.ref(!1);const j=F=>{let $=F.target.value;v.value=!0,fe(V.value)||(b.value=!0),c("focus",$,F)},X=F=>{setTimeout(()=>{b.value&&(b.value=!1),v.value=!1},0);let $=F.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),P.value?setTimeout(()=>{c("blur",$,F)},50):c("blur",$,F)},B=()=>{c("clear","")},N=t.computed(()=>Ye(l.unit)>0),q=t.ref();return ve({focus:()=>{q?.value.focus()},blur:()=>{q?.value.blur()},select:()=>{q?.value.select()},setDisabled:F=>{r.value=F},setReadonly:F=>{u.value=F}}),()=>{const F={class:y.value,style:g.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,clearable:ue(l.clearable),readonly:!0,value:f.value,onClick:H,onFocus:j,onBlur:X},G={};a.slots.prepend&&(G.prepend=a.slots.prepend),a.slots.append&&(G.append=a.slots.append),a.slots.prefix&&(G.prefix=a.slots.prefix),a.slots.suffix?G.suffix=a.slots.suffix:N.value?G.suffix=()=>[l.unit]:G.suffix=()=>t.h(I.ElIcon,{},{default:()=>t.h(Te.ArrowDown)});const $=[],J=t.h(I.ElInput,F,G);$.push(J);const Q={default:()=>$};a.slots.default&&(Q.label=a.slots.default),a.slots.fixedTip&&(Q.fixedTip=a.slots.fixedTip);const k=Rt(l,Yl);k.disabled=!1,k.readonly=i.value||s.value,k.visible=P.value,k["onUpdate:visible"]=L,k.modelValue=R.value,k["onUpdate:modelValue"]=A,k.text=m.value,k["onUpdate:text"]=z,k.onClear=B,k.onChange=S;const D=t.h(Lt,k);Q.hide=()=>[D];const M={...$e(l,na),hintText:V.value,hintVisible:b.value};return l.prop&&(M.prop=`${l.prop}_item`),t.h(o,M,Q)}}}}const{componentName:Mh,create:Lh,scope:_h}=se("picker-item"),Gl=Lh(Rh(Mh,_h,we)),qh={modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:Object},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},la=(e,n)=>n[e.textKey],Dt=(e,n)=>n[e.valueKey],zh=(e,n)=>n[e.visibleKey],oa=(e,n)=>n[e.disabledKey],jh=(e,n)=>{const o=n[e.doitKey];return ue(o)},Hh=(e,n)=>{const o=n[e.numKey];return o==null?null:me(n[o])},aa=(e,n,o)=>{const l=e.itemOptions;return typeof l=="function"?l(n,o):l||null};function Kh(e,n,o,l=!1){return{props:{...qh},emits:["update:modelValue","change"],setup(a,{slots:r,emit:i}){const u=t.computed(()=>{const k={};return k[`${e}`]=!0,k}),s=t.computed(()=>{const k={};return k[`${e}__titles`]=!0,k[`${a.direction}`]=!0,a.align==="left"&&(k.left=!0),a.scroll===!0&&(k.scrollable=!0),a.shape&&(k[`${a.shape}`]=!0),k}),c=t.computed(()=>({})),h=t.computed(()=>{if(!a.gutter)return 0;const k=pe(a.gutter);return k<=0?0:k}),d=t.ref(a.modelValue);t.watch(()=>a.modelValue,k=>{d.value!==k&&(d.value=k,F(!1))});const v=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),x=t.computed(()=>{const k={};return p.value||(k.display="none"),k}),y=t.ref(),p=t.ref(!1),g=()=>{const k=!p.value;R(k)},R=k=>{const D=k;D?(p.value=D,setTimeout(()=>{v.value["fox-tabs-bar__popup--show"]=!0,v.value["fox-tabs-bar__popup--hide"]=!1},0)):(v.value["fox-tabs-bar__popup--show"]=!1,v.value["fox-tabs-bar__popup--hide"]=!0,y.value?y.value.addEventListener("transitionend",()=>{p.value=!1},{once:!0}):setTimeout(()=>{p.value=!1},0))},m=t.ref(),f=t.ref([]),P=(k,D)=>{f.value[D]=k},H=k=>D=>{P(D,k)},L=(k,D)=>{const _=m.value,M=f.value;if(!_||!M||!M[k])return;const E=M[k];let Z=0;a.direction==="vertical"?Z=E.offsetTop-(_.offsetHeight-E.offsetHeight)/2:Z=E.offsetLeft-(_.offsetWidth-E.offsetWidth)/2,A(_,Z,D?0:.3,a.direction)},A=(k,D,_,M)=>{let E=0;const Z=M==="horizontal"?k.scrollLeft:k.scrollTop,ne=_===0?1:Math.round(_*1e3/16);function Y(){M==="horizontal"?k.scrollLeft+=(D-Z)/ne:k.scrollTop+=(D-Z)/ne,++E<ne&&fl(Y)}Y()},z=(k,D)=>{const _=Dt(a,k),M={};return M[`${e}__titles-item`]=!0,M.disabled=oa(a,k),M.active=_===d.value,a.shape&&(M[`${a.shape}`]=!0),a.ellipsis&&(M.ellipsis=!0),D&&(D.class&&(M[`${D.class}`]=!0),D.disabled===!0&&(M.disabled=D.disabled)),M},S=(k,D)=>{const _={};if(h.value>0){const M=Math.abs(h.value/2);a.direction==="vertical"?(_["margin-top"]=`${M}px`,_["margin-bottom"]=`${M}px`):(_["margin-left"]=`${M}px`,_["margin-right"]=`${M}px`)}return D&&D.style&&Object.assign(_,D.style),_},V=(k,D)=>`${Dt(a,k)??D}`,b=(k,D)=>{const _=Dt(a,k),M={};M[`${e}__popup-item`]=!0,M.disabled=oa(a,k),M.active=_===d.value,a.shape&&(M[`${a.shape}`]=!0);const E=aa(a,k,D);return E&&E.disabled===!0&&(M.disabled=E.disabled),M},j=t.computed(()=>(a.data??[]).filter(D=>zh(a,D)!==!1)),X=(k,D)=>{const _=Dt(a,k);if(d.value==_)return;const M=()=>{d.value=_,a.scroll&&L(D,!1),i("update:modelValue",_),i("change",k,D)};if(typeof a.beforeChange=="function"){const E=a.beforeChange(k,D);Xt(E)?E.then(Z=>{Z!==!1&&M()}).catch(()=>{M()}):E!==!1&&M()}else M()},B=(k,D)=>function(){X(k,D)},N=(k,D)=>{X(k,D),R(!1)},q=(k,D)=>function(){N(k,D)},F=k=>{if(!Array.isArray(a.data)||!a.scroll)return;const D=a.data.findIndex(_=>Dt(a,_)===d.value);D!==-1&&L(D,k)};t.watch(()=>a.data,()=>{setTimeout(F,0)}),t.onMounted(()=>{F(!0)});const G=(k,D)=>{if(r.item)return r.item({item:k,index:D});const _=aa(a,k,D),M=[];if(r.text){const Y=r.text({item:k,index:D});M.push(Y)}else{const Y=[];if(_?.doit===!0||jh(a,k)){const W={class:[`${e}__titles-item-tip`,"doit"]},U=t.h("view",W);Y.push(U)}const C=_?.num??Hh(a,k);if(C){let W="";const U=me(C);U>=100?W="99+":W=`${U}`;const T={class:[`${e}__titles-item-tip`,"num"]},K=t.h("view",T,[W]);Y.push(K)}const O={class:`${e}__titles-item-text`};Y.push(la(a,k));const w=t.h("view",O,Y);M.push(w)}const E={class:`${e}__titles-item-line`},Z=t.h("view",E);M.push(Z);const ne={ref:H(D),class:z(k,_),style:S(k,_),key:V(k,D),onClick:B(k,D)};return t.h("view",ne,M)},$=()=>{const k=r.default?r.default():[];if(k.length===0)for(let _=0;_<j.value.length;_++){const M=j.value[_],E=G(M,_);k.push(E)}const D={ref:m,class:s.value,style:c.value};return t.h("view",D,k)},J=()=>{let k=null;r.navigation?k=r.navigation():k=t.h(o);const D={class:`${e}__navigation`,onClick:g};return t.h("view",D,[k])},Q=()=>{const k=[];for(let _=0;_<j.value.length;_++){const M=j.value[_];let E=null;r.popupItem?E=r.popupItem({item:M,index:_}):E=la(a,M);const Z={class:b(M,_),key:V(M,_),onClick:q(M,_)},ne=t.h("view",Z,[E]);k.push(ne)}const D={class:v.value,style:x.value};return t.h("view",D,k)};return()=>{const k=[],D=$();if(k.push(D),a.showQuickNavigation){const M=J();k.push(M);const E=Q();k.push(E)}const _={class:u.value};return t.h("view",_,k)}}}}const{create:Wh,componentName:Yh,scope:Uh}=se("tabs-bar"),En=Wh(Kh(Yh,Uh,Su,!1)),Vr=Symbol("TabsStatesKey"),Gh={modelValue:{type:[String,Number]},direction:{type:[String],default:"horizontal"},lazy:{type:[Boolean],default:!0}};function Xh(e,n,o=!1){return{props:{...Gh},emits:["update:modelValue","change"],setup(l,{emit:a,slots:r}){const i=t.shallowRef([]),u={current:t.ref(l.modelValue??""),direction:t.ref(l.direction),tabWidth:t.ref(-1),tabHeight:t.ref(-1),add:p=>{const g={name:p};u.current.value===p&&(g.loaded=!0),i.value.push(g),t.triggerRef(i)},remove:p=>{const g=i.value.findIndex(R=>R.name===p);g!==-1&&i.value.splice(g,1)},isLoaded:p=>{if(!l.lazy)return!0;const g=i.value.findIndex(R=>R.name===p);return g!==-1?u.current.value?i.value[g].loaded??!1:g===0:!1}};t.provide(Vr,u);const s=p=>{const g=i.value.findIndex(R=>R.name===p);g!==-1&&(i.value[g].loaded=!0,t.triggerRef(i))};t.watch([()=>l.modelValue,()=>l.direction],([p,g])=>{u.current.value!==p&&(u.current.value=p??"",s(p??"")),u.direction.value!==g&&(u.direction.value=g)});const c=t.ref(null),h=t.ref(null),d=t.computed(()=>({[e]:!0,[`${l.direction}`]:!0}));let v=!0;const x=t.computed(()=>{const p={},g=i.value.length;if(g<=0)return p;const R=i.value.findIndex(m=>m.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(p.height=`${g*u.tabHeight.value}px`,R!==-1&&(p.transform=`translate(0, -${R*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(p.width=`${g*u.tabWidth.value}px`,R!==-1&&(p.transform=`translate(-${R*u.tabWidth.value}px, 0)`)),v&&(v=!1,p.transition="transform 0s ease"),p});let y=null;return t.onMounted(()=>{if(!c.value)return;const p=()=>{const g=dn(c.value);u.tabWidth.value=g.width,u.tabHeight.value=g.height};window.ResizeObserver&&(y=new window.ResizeObserver(p),y.observe(c.value)),p()}),t.onBeforeUnmount(()=>{y&&(y.disconnect(),y=null)}),()=>{const p={class:`${e}__panes`,style:x.value,ref:h},g=t.h("view",p,[r?.default?.()]),R={class:d.value,ref:c};return t.h("view",R,[g])}}}}const{create:Zh,componentName:Jh,scope:Qh}=se("tabs-container"),Vn=Zh(Xh(Jh,Qh,!1)),em={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1}};function tm(e,n,o){return{props:{...em},setup(l,{emit:a,slots:r}){const i=t.inject(Vr);t.onMounted(()=>{i.add(l.paneKey)}),t.onBeforeUnmount(()=>{i.remove(l.paneKey)});const u=t.computed(()=>{const c={};return i.direction.value==="vertical"&&i.tabHeight.value>0?c.height=`${i.tabHeight.value}px`:i.tabWidth.value>0&&(c.width=`${i.tabWidth.value}px`),c}),s=t.computed(()=>l.loaded!=null?ue(l.loaded):i.isLoaded(l.paneKey));return()=>{let c=[];if(s.value)c=r?.default?.()??[];else if(r.empty)c=r.empty();else{const d={class:`${e}__empty-icon`},v=l.emptyIcon??o,x=t.h(v,d),y={class:`${e}__empty-text`},p=l.emptyText??"Loading",g=t.h("view",y,[p]),R={class:`${e}__empty`},m=t.h("view",R,[x,g]);c.push(m)}const h={class:`${e}`,style:u.value};return t.h("view",h,c)}}}}const{create:nm,componentName:lm,scope:om}=se("tabs-pane"),In=nm(tm(lm,om,xn)),am={direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[Boolean,String]},clickNavigatePolicy:{type:[String]},icon:{type:[Object]},iconSize:{type:[String,Number]},markIcon:{type:[Object]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function rm(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ra(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ia(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function im(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Hn(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function sa(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function ua(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Kn(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}class sm{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await Reflect.apply(o,null,[l]);const a=Oe(this.proxy,n);return a===null?(console.error(`${n} component not found api function`),[]):(Me(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await Reflect.apply(a,null,[o,l]))}}function um(){const e=t.getCurrentInstance();return new sm(e.proxy)}function cm(e,n,o,l){return{props:{...am},emits:["update:modelValue","change","loaded-data"],setup(a,{slots:r,emit:i}){const u=e,s=um(),c=t.ref([]),h=t.computed(()=>c.value.filter(D=>im(a,D)!==!1)),d=t.ref(-1),v=()=>{const D=a.modelValue,_=h.value.findIndex(M=>ra(a,M)===D);d.value!==_&&(d.value=_,a.scroll&&Q(_))};t.watch([()=>a.modelValue,h],()=>{v()});const x=D=>d.value===D,y=D=>{if(D<0&&D>=h.value.length)return!1;const _=h.value[D],E=(Kn(a,_,D)??{}).status??Hn(a,_);return x(D)||E},p=t.computed(()=>{const D={[u]:!0};return a.mode?D[`is-${a.mode}`]=!0:a.direction&&(D[`is-${a.direction}`]=!0),a.scroll&&(D["is-scroll"]=!0),D}),g=t.computed(()=>({})),R=(D,_,M,E,Z)=>{const ne={[`${u}__step`]:!0};return Z&&(ne[`${Z}`]=!0),ne[`${m.value}`]=!0,E&&(ne["is-doit"]=!0),D===d.value?ne["is-active"]=!0:_==="done"?ne["is-done"]=!0:_==="error"?ne["is-error"]=!0:_==="half"?ne["is-half"]=!0:M?ne["is-disabled"]=!0:ne["is-normal"]=!0,ne},m=t.computed(()=>{if(a.mode==="simple")return"start";let D=a.align;return D||(a.direction==="vertical"?D="start":D="center"),D}),f=(D,_={})=>{const M={..._};return m.value==="start"&&D===h.value.length-1?M.flex="0 0 auto":a.step?a.direction==="vertical"?M.height=a.step:M.width=a.step:M.flex="1 1 100%",M},P=(D,_)=>{let M={};if(_<h.value.length-1){const E=_+1;y(_)&&y(E)?a.direction==="vertical"?M.height="100%":M.width="100%":M.opacity="0"}return M},H=D=>h.value.length-1===D,L=(D,_)=>{if(a.clickNavigatePolicy==="disabled"||(a.clickNavigatePolicy==="only-back"||a.clickNavigatePolicy==="only-back-reset")&&_>d.value||d.value===_)return;const M=d.value,E=_;d.value=_,a.scroll&&Q(_);const Z=ra(a,D);i("update:modelValue",Z);const ne={fromIndex:M,currentIndex:E,item:D,items:h.value,clickNavigatePolicy:a.clickNavigatePolicy};i("change",Z,ne)},A=t.ref(!0),z=async(D,_)=>{try{const M=await s.load("stesbar",D,_);Array.isArray(M)&&(c.value=M),A.value=!1}catch(M){console.error("[FoxUI] Load StepsBar Data Fail",M),c.value=[]}setTimeout(()=>{i("loaded-data")},250)};t.watch([()=>a.data,()=>a.params],async([D,_])=>{D&&z(D,_)},{immediate:!0});const S=(D,_,M,E,Z)=>{let ne=null;if(r.icon)ne=r.icon({item:D,index:_,status:E});else if(E==="done"){const C={};a.iconSize&&(C.width=a.iconSize,C.height=a.iconSize);const O=a.icon??o;ne=t.h(O,C)}else{const C=M??`${_+1}`;ne=t.h("span",{},[C])}const Y={class:"fox-steps-bar__icon",onClick:()=>{Z||L(D,_)}};return t.h("view",Y,[ne])},V=(D,_,M)=>{const E=t.h("i",{class:"fox-steps-bar__line-inner",style:P(D,_)});return t.h("view",{class:"fox-steps-bar__line"},[E])},b=()=>{let D=null;if(r.markIcon)D=r.markIcon();else{const M={};a.iconSize&&(M.width=a.markIconSize,M.height=a.markIconSize);const E=a.markIcon??l;D=t.h(E,M)}return t.h("view",{class:"fox-steps-bar__mark"},[D])},j=(D,_,M,E,Z)=>{const ne=[];if(!H(_)){const O=V(D,_);ne.push(O)}const Y=S(D,_,M,E,Z);ne.push(Y);const C={class:"fox-steps-bar__head"};return t.h("view",C,ne)},X=(D,_,M,E)=>{let Z=null;r.main?Z=r.main({item:D,index:_,status:M}):Z=rm(a,D);const ne={class:"fox-steps-bar__main",onClick:()=>{E||L(D,_)}};return t.h("view",ne,[Z])},B=(D,_,M)=>{let E=null;if(r.sub){E=r.sub({item:D,index:_,status:M});const Z={class:"fox-steps-bar__sub"};return t.h("view",Z,[E])}return null},N=(D,_)=>{const M=Kn(a,D,_)??{},E=M.status??Hn(a,D);let Z=ia(a,D);M.disabled===!0&&(Z=!0),a.disabled===!0&&(Z=!0);const ne=M.label??ua(a,D),Y=[],C=S(D,_,ne,E,Z);C&&Y.push(C);const O=X(D,_,E,Z);if(O&&Y.push(O),!H(_)){const te=V(D,_);te&&Y.push(te)}const w=t.h("view",{class:"fox-steps-bar__head"},Y),W=M.class,U=M.style??{};let T=sa(a,D);M.doit===!0&&(T=!0);const K={ref:J(_),class:R(_,E,Z,T,W),style:f(_,U)};return t.h("view",K,[w])},q=(D,_)=>{const M=Kn(a,D,_)??{},E=M.status??Hn(a,D);let Z=ia(a,D);M.disabled===!0&&(Z=!0),a.disabled===!0&&(Z=!0);const ne=M.label??ua(a,D),Y=[],C=a.layout;for(let T of C)if(T==="head"){const K=j(D,_,ne,E,Z);Y.push(K)}else if(T==="main"){const K=X(D,_,E,Z);Y.push(K)}else if(T==="sub"){const K=B(D,_,E);Y.push(K)}else if(T==="mark"){const K=b();Y.push(K)}const O=M.class,w=M.style??{};let W=sa(a,D);M.doit===!0&&(W=!0);const U={ref:J(_),class:R(_,E,Z,W,O),style:f(_,w)};return t.h("view",U,Y)},F=t.ref(),G=t.ref([]),$=(D,_)=>{G.value[_]=D},J=D=>_=>{$(_,D)},Q=(D,_)=>{const M=F.value,E=G.value;if(!M||!E||!E[D])return;const Z=E[D];let ne=0;a.direction==="vertical"?ne=Z.offsetTop-(M.offsetHeight-Z.offsetHeight)/2:ne=Z.offsetLeft-(M.offsetWidth-Z.offsetWidth)/2,k(M,ne,.3,a.direction)},k=(D,_,M,E)=>{let Z=0;const ne=E==="horizontal"?D.scrollLeft:D.scrollTop,Y=Math.round(M*1e3/16);function C(){E==="horizontal"?D.scrollLeft+=(_-ne)/Y:D.scrollTop+=(_-ne)/Y,++Z<Y&&fl(C)}C()};return()=>{const D=[];if(a.mode==="simple")for(let M=0;M<h.value.length;M++){const E=h.value[M],Z=N(E,M);D.push(Z)}else for(let M=0;M<h.value.length;M++){const E=h.value[M],Z=q(E,M);D.push(Z)}const _={ref:F,class:p.value,style:g.value};return t.h("view",_,D)}}}}const{componentName:fm,create:dm,scope:hm}=se("steps-bar"),Xl=dm(cm(fm,hm,vr,ju)),ca=new Date().getFullYear(),mm={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss","year-month":"YYYY-MM","month-day":"MM-DD",datehour:"YYYY-MM-DD HH","hour-minute":"HH:mm"},fa=(e,n,o)=>{let l;if(tt(n)?l=n:typeof n=="string"&&Ye(n)>0?l=re.parser(n,o):l=new Date,l.toString()==="Invalid Date")return null;let a=Math.max(l.getTime(),e.minDate.getTime());return a=Math.min(a,e.maxDate.getTime()),new Date(a)},gm=(e,n,o)=>{tt(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),re.format(new Date(l),o)};let pm={modelValue:{type:[String,Date]},confirmText:{type:String,default:""},cancelText:{type:String,default:""},type:{type:String,default:"date"},valueFormat:{type:String},visible:{type:Boolean,default:!1},title:{type:String,default:""},isShowChinese:{type:Boolean,default:!0},minuteStep:{type:Number,default:1},minDate:{type:Date,default:()=>new Date(ca-10,0,1),validator:tt},maxDate:{type:Date,default:()=>new Date(ca+10,11,31),validator:tt},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:vm,scope:ym}=se("date-picker"),bm=vm({components:{Picker:Lt},props:{...pm},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:o}=ye.useFoxI18n(ym),l={day:o("day"),year:o("year"),month:o("month"),hour:o("hour"),minute:o("minute"),seconds:o("seconds")},a=t.ref(!1);t.watch(()=>e.visible,m=>{a.value=m});function r(m,f){return new Date(m,f,0).getDate()}const i=(m,f)=>{const P=e[`${m}Date`],H=P.getFullYear();let L=1,A=1,z=0,S=0;m==="max"&&(L=12,A=r(f.getFullYear(),f.getMonth()+1),z=23,S=59);const V=S;return f.getFullYear()===H&&(L=P.getMonth()+1,f.getMonth()+1===L&&(A=P.getDate(),f.getDate()===A&&(z=P.getHours(),f.getHours()===z&&(S=P.getMinutes())))),{[`${m}Year`]:H,[`${m}Month`]:L,[`${m}Date`]:A,[`${m}Hour`]:z,[`${m}Minute`]:S,[`${m}Seconds`]:V}},u=t.computed(()=>{if(!v.value)return[];const{maxYear:m,maxDate:f,maxMonth:P,maxHour:H,maxMinute:L,maxSeconds:A}=i("max",v.value),{minYear:z,minDate:S,minMonth:V,minHour:b,minMinute:j,minSeconds:X}=i("min",v.value);let B=[{type:"year",range:[z,m]},{type:"month",range:[V,P]},{type:"day",range:[S,f]},{type:"hour",range:[b,H]},{type:"minute",range:[j,L]},{type:"seconds",range:[X,A]}];switch(e.type){case"date":B=B.slice(0,3);break;case"datetime":B=B.slice(0,5);break;case"time":B=B.slice(3,6);break;case"year-month":B=B.slice(0,2);break;case"month-day":B=B.slice(1,3);break;case"datehour":B=B.slice(0,4);break;case"hour-minute":B=B.slice(3,5);break}return B}),s=(m,f,P)=>{if(!(f>m))return null;const H=[];for(;m<=f;)e.isShowChinese?H.push({text:m+l[P],value:m}):H.push({text:`${m}`,value:m}),P==="minute"?m+=e.minuteStep:m++;return H},c=t.computed(()=>{let m=[];return u.value.forEach(f=>{let P=s(f.range[0],f.range[1],f.type);P&&m.push(P)}),m}),h=(m,f)=>m==="year"?f.getFullYear():m==="month"?f.getMonth()+1:m==="day"?f.getDate():m==="hour"?f.getHours():m==="minute"?f.getMinutes():m==="seconds"?f.getSeconds():0,d=t.ref(),v=t.ref(null);t.watch(()=>e.modelValue,m=>{let f;if(typeof m=="string"?m.length==0?f=new Date:e.valueFormat?f=fa(e,e.modelValue,e.valueFormat):f=fa(e,m,mm[e.type]):tt(m)?f=m:f=new Date,!!f&&(!v.value||f.getTime()!==v.value.getTime())){v.value=f;let P=[];u.value.forEach(H=>{let L=h(H.type,f);P.push(L)}),d.value=P}},{immediate:!0});const x=m=>{if(e.type==="date"){const f=m[0],P=m[1]-1,H=Math.min(m[2],r(f,P+1));H!==m[2]&&(m[2]=H),v.value=new Date(f,P,H)}else if(e.type==="datetime"){const f=m[0],P=m[1]-1,H=Math.min(m[2],r(f,P+1)),L=m[3],A=m[4];H!==m[2]&&(m[2]=H),v.value=new Date(f,P,H,L,A)}else if(e.type==="time"){const f=m[0],P=m[1],H=m[2],L=v.value??new Date,A=new Date(L.getFullYear(),L.getMonth(),L.getDate(),f,P,H);v.value=A}else if(e.type==="year-month"){const f=m[0],P=m[1]-1;v.value=new Date(f,P)}else if(e.type==="month-day"){const P=(v.value??new Date).getFullYear(),H=m[0]-1,L=Math.min(m[1],r(P,H+1));L!==m[1]&&(m[1]=L);const A=new Date(P,H,L);v.value=A}else if(e.type==="datehour"){const f=m[0],P=m[1]-1,H=Math.min(m[2],r(f,P+1)),L=m[3];H!==m[2]&&(m[2]=H),v.value=new Date(f,P,H,L)}else if(e.type==="hour-minute"){const f=m[0],P=m[1],H=v.value??new Date,L=new Date(H.getFullYear(),H.getMonth(),H.getDate(),f,P);v.value=L}d.value=m};return{columns:c,dateIndexs:d,show:a,onChange:m=>{x(m)},onClose:()=>{a.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:m=>{x(m),a.value=!1;let f=v.value??new Date;if(e.valueFormat){let P=gm(e,f,e.valueFormat);n("update:modelValue",P)}else n("update:modelValue",f);n("update:visible",!1),n("confirm",m)},onClear:()=>{n("clear")}}}});function wm(e,n,o,l,a,r){const i=t.resolveComponent("Picker");return t.openBlock(),t.createBlock(i,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onChange:e.onChange,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onChange","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const Zl=De(bm,[["render",wm]]),Ut=(e,n,o)=>e.map(l=>{const{value:a="value",text:r="text",children:i="children"}=o??{},{[a]:u,[r]:s,[i]:c,...h}=l,d={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:u,text:s,children:c,_parent:n};return d.children&&d.children.length&&(d.children=Ut(d.children,d,o)),d}),Ir=(e,n)=>{let o=0,l;for(;(l=e[o++])&&n(l)!==!0;)l.children&&l.children.length&&Ir(l.children,n)},xm={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Sm=(e,n)=>{const o={...xm,...n||{}},{topId:l,idKey:a,pidKey:r,sortKey:i}=o;let u=[],s={};return e.forEach(c=>{c={...c};const{[a]:h,[r]:d}=c,v=s[d]=s[d]||[];!u.length&&d===l&&(u=v),v.push(c),c.children=s[h]||(s[h]=[])}),i&&Object.keys(s).forEach(c=>{s[c].length>1&&s[c].sort((h,d)=>h[i]-d[i])}),s=null,u};class da{nodes;config;constructor(n,o){this.config={value:"value",text:"text",children:"children",...o||{}},this.nodes=Ut(n,null,this.config)}updateChildren(n,o){o?o.children=Ut(n,o,this.config):this.nodes=Ut(n,null,this.config)}getNodeByValue(n){let o;return Ir(this.nodes,l=>{if(l.value===n)return o=l,!0}),o}getPathNodesByValue(n){if(!n.length)return[];const o=[];let l=this.nodes;for(;l&&l.length;){const a=l.find(r=>r.value===n[r.level]);if(!a)break;o.push(a),l=a.children}return o}isLeaf(n,o){const{leaf:l,children:a}=n,r=Array.isArray(a)&&!!a.length;return l||!r&&!o}hasChildren(n,o){if(this.isLeaf(n,o))return!1;const{children:a}=n;return Array.isArray(a)&&!!a.length}}const{create:Cm,scope:Tm}=se("cascader-pane"),$m=Cm({components:{Loading:xn,Checklist:vr,TabsBar:En,TabsContainer:Vn,TabsPane:In},props:{visible:{type:Boolean,required:!0},modelValue:{type:Array,required:!0},options:{type:Array,default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(e,{emit:n}){const{t:o}=ye.useFoxI18n(Tm),l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),a=t.ref(0),r=t.ref(!1),i=t.ref(e.modelValue),u=t.ref(new da([],{})),s=t.ref([]),c=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),h=t.computed(()=>r.value==!0||s.value.length==0?[{text:"Loading",value:0}]:s.value.map((m,f)=>({text:m.selectedNode?m.selectedNode.text:o("select"),value:f}))),d=new Map;let v;const x=async()=>{d.clear(),s.value=[],a.value=0,r.value=!1,v=null;let{options:m}=e;l.value.convertConfig&&(m=Sm(m,l.value.convertConfig)),u.value=new da(m,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!u.value.nodes.length&&await p({root:!0,loading:!0,text:"",value:""}),s.value=[{nodes:u.value.nodes,selectedNode:null}],y()},y=async()=>{const m=i.value;if(m===void 0||!u.value.nodes.length)return;if(m.length===0){a.value=0,s.value=[{nodes:u.value.nodes,selectedNode:null}];return}let f=m;if(c.value&&Array.isArray(m)&&m.length){f=[];let P=u.value.nodes.find(H=>H.value===m[0]);if(P){f=[P.value],r.value=!0;const H=await m.slice(1).reduce(async(L,A)=>{const z=await L;await p(z);const S=z?.children?.find(V=>V.value===A);return S&&f.push(A),Promise.resolve(S)},Promise.resolve(P));await p(H),r.value=!1}}f.length&&m===e.modelValue&&u.value.getPathNodesByValue(f).map((H,L)=>{a.value=L,R.handleNode(H,!0)})},p=async m=>{if(!m)return;if(!l.value.lazyLoad){m.leaf=!0;return}if(u.value.isLeaf(m,c.value)||u.value.hasChildren(m,c.value))return;m.loading=!0;const f=m.root?null:m;let P=d.get(m);P||(P=new Promise(L=>{l.value.lazyLoad?.(m,L)}),d.set(m,P));const H=await P;Array.isArray(H)&&H.length>0?u.value.updateChildren(H,f):m.leaf=!0,m.loading=!1,d.delete(m)},g=m=>{const f=m.map(P=>P.value);i.value=f,n("change",f,m),n("update:modelValue",f,m)},R={async handleNode(m,f){const{disabled:P,loading:H}=m;if(!(!f&&P||!s.value[a.value])){if(u.value.isLeaf(m,c.value)){if(m.leaf=!0,s.value[a.value].selectedNode=m,s.value=s.value.slice(0,m.level+1),!f){const L=s.value.map(A=>A.selectedNode);g(L),n("pathChange",L)}return}if(u.value.hasChildren(m,c.value)){const L=m.level+1;if(s.value[a.value].selectedNode=m,s.value=s.value.slice(0,L),s.value.push({nodes:m.children||[],selectedNode:null}),a.value=L,!f){const A=s.value.map(z=>z.selectedNode);n("pathChange",A)}return}v=m,!H&&(await p(m),v===m&&(s.value[a.value].selectedNode=m,R.handleNode(m,f)))}},handleTabChange(m,f){v=null},formatTabTitle(m){return m.selectedNode?m.selectedNode.text:o("select")},isSelected(m,f){return m.selectedNode&&m.selectedNode.value===f.value}};return t.watch([l,()=>e.options],()=>{x()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,m=>{m!==i.value&&(i.value=m,y())}),t.watch(()=>e.visible,m=>{m&&Array.isArray(i.value)&&i.value.length>0&&y()}),{panes:s,panesTitles:h,initLoading:r,tabsCursor:a,...R}}}),km={class:"fox-cascader"},Dm={role:"menu",class:"fox-cascader__pane"},Nm=["aria-checked","aria-disabled","onClick"],Em={class:"fox-cascader__item__title"};function Vm(e,n,o,l,a,r){const i=t.resolveComponent("TabsBar"),u=t.resolveComponent("Loading"),s=t.resolveComponent("Checklist"),c=t.resolveComponent("TabsPane"),h=t.resolveComponent("TabsContainer");return t.openBlock(),t.createElementBlock("view",km,[t.createVNode(i,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=d=>e.tabsCursor=d),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),t.createVNode(h,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=d=>e.tabsCursor=d)},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(d,v)=>(t.openBlock(),t.createBlock(c,{"pane-key":v,key:v},{default:t.withCtx(()=>[t.createElementVNode("view",Dm,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.nodes,x=>(t.openBlock(),t.createElementBlock("view",{key:x.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(d,x),disabled:x.disabled}]),"aria-checked":e.isSelected(d,x),"aria-disabled":x.disabled||void 0,role:"menuitemradio",onClick:y=>e.handleNode(x,!1)},[t.createElementVNode("view",Em,t.toDisplayString(x.text),1),x.loading?(t.openBlock(),t.createBlock(u,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(s,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,Nm))),128))])]),_:2},1032,["pane-key"]))),128)):(t.openBlock(),t.createBlock(c,{key:1,"pane-key":0},{default:t.withCtx(()=>n[2]||(n[2]=[t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1)])),_:1}))]),_:1},8,["modelValue"])])}const Im=De($m,[["render",Vm]]),{create:Pm}=se("cascader-picker"),Om=Pm({components:{FoxCascaderPane:Im,FoxPopup:dt},props:{...El,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const o=t.ref(e.modelValue),l=t.computed({get(){return e.visible},set(i){n("update:visible",i)}}),a=(i,u)=>{o.value=i,l.value=!1,n("change",i,u),n("update:modelValue",i)},r=i=>{n("pathChange",i)};return t.watch(()=>e.modelValue,i=>{i!==o.value&&(o.value=i)}),{onChange:a,onPathChange:r,innerValue:o,innerVisible:l}}}),Am=["innerHTML"];function Fm(e,n,o,l,a,r){const i=t.resolveComponent("FoxCascaderPane"),u=t.resolveComponent("FoxPopup");return e.poppable?(t.openBlock(),t.createBlock(u,{key:0,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=s=>e.innerVisible=s),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,Am)):t.createCommentVNode("",!0),t.createVNode(i,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon-position"])):(t.openBlock(),t.createBlock(i,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const Jl=De(Om,[["render",Fm]]),Bm=Symbol.for("InnerPageScopeKey"),Rm=Symbol.for("PageWrapperKey");function Mm(e,n){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(o,l){t.provide(Bm,!0);const a={};t.provide(Rm,a);const r=s=>{typeof a.beforeClose=="function"&&a.beforeClose()},i=t.ref(!0),u=s=>{i.value=s};return()=>{const c={...l.attrs,title:o.title,draggable:o.draggable,modelValue:i.value,"onUpdate:modelValue":u,"append-to-body":o.appendToBody,"close-on-click-modal":o.closeOnClickModal,"close-on-press-escape":o.closeOnPressEscape,"before-close":r},h={};if(typeof l.slots.default=="function"){const d=l.slots.default();h.default=()=>d}return t.h(I.ElDialog,c,h)}}}}const{componentName:_p,create:Lm,scope:qp}=se("dialog-item"),Ql=Lm(Mm()),{create:_m}=se("toast"),qm=_m({props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:[String,Number],default:20},icon:{type:[Object],required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:n}){let o=null;const l=t.reactive({mounted:!1});t.onMounted(()=>{l.mounted=!0});const a=()=>{o&&(clearTimeout(o),o=null)},r=()=>{l.mounted=!1},i=()=>{a(),e.duration&&(o=setTimeout(()=>{r()},e.duration))},u=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&i(),t.watch(()=>e.duration,x=>{x&&i()});const s=t.computed(()=>e.type!=="text"?!0:!!e.icon),c=()=>{const x=pe(e.iconSize);return t.h(e.icon,{width:x,height:x,color:e.iconColor})},h=t.computed(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":s.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),d=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:r,clickCover:u,renderIcon:c,hasIcon:s,toastBodyClass:h,toastIconWrapperClass:d,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),zm={key:1,class:"fox-toast-title"},jm=["innerHTML"];function Hm(e,n,o,l,a,r){return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[t.createElementVNode("view",{class:"fox-toast-inner",style:t.normalizeStyle({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.toastIconWrapperClass)},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",zm,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,jm)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const eo=De(qm,[["render",Hm]]),Km={modelValue:{type:[Boolean],default:!1},pullingText:{type:[String]},loosingText:{type:[String]},loadingText:{type:[String]},headHeight:{type:[String,Number],default:50},pullDistance:{type:[String,Number],default:50},duration:{type:[String,Number],default:.3}},Wm=(e,n,o)=>({props:{...Km},emits:["change","refresh","update:modelValue"],setup(l,{emit:a,slots:r}){const{toLocaleRefs:i}=ye.useFoxI18n(n),u=i(l,["pullingText","loosingText","loadingText"]),s=Nn(),c=t.ref(),h=Tr(c),d=t.reactive({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),v=t.computed(()=>({[e]:!0})),x=t.computed(()=>{switch(d.status){case"pulling":return r.pulling?"":u.pullingText.value;case"loosing":return r.loosing?"":u.loosingText.value;case"loading":return r.loading?"":u.loadingText.value;default:return""}}),y=t.computed(()=>({transitionDuration:`${l.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),p=t.computed(()=>{const A={};return l.headHeight!=50&&(A.height=Pe(l.headHeight)),A}),g=A=>{const z=+(l.pullDistance||l.headHeight);let S=A;return A>z&&(A<z*2?S=(A+z)/2:S=z+A/4),Math.round(S)},R=(A,z)=>{const S=+(l.pullDistance||l.headHeight);d.distance=A,z?d.status="loading":A===0?d.status="normal":A<S?d.status="pulling":d.status="loosing",a("change",{status:d.status,distance:A})},m=()=>d.status!=="loading"&&d.status!=="complete",f=()=>h.value==window?$r()==0:h.value&&h.value.scrollTop==0,P=A=>{m()&&(f()?(s.start(A),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},H=A=>{m()&&d.moving&&(s.move(A),s.isVertical()&&s.state.deltaY>0&&d.isPullRefresh&&(A.cancelable&&A.preventDefault(),R(g(s.state.deltaY))))},L=()=>{d.moving=!1,d.isPullRefresh&&m()&&s.state.deltaY&&(d.status==="loosing"?(R(+l.headHeight,!0),a("update:modelValue",!0),t.nextTick(()=>a("refresh"))):R(0)),setTimeout(()=>{s.reset()},0)};return t.watch(()=>l.modelValue,A=>{A?R(+l.headHeight,!0):R(0)}),()=>{const A=[];let z=null;if(d.status==="loading"){if(z=r?.loading?.()??null,!z){const q={class:["fox-pull-refresh-container-topbox-icon"]};z=t.h(o,q)}}else d.status==="pulling"?z=r?.pulling?.()??null:d.status==="loosing"&&(z=r?.loosing?.()??null);z&&A.push(z);const S={class:["fox-pull-refresh-container-topbox-text"]},V=t.h("dive",S,[x.value]);A.push(V);const b={class:["fox-pull-refresh-container-topbox"],style:p.value},j=t.h("div",b,A),X={class:"fox-pull-refresh-container",style:y.value},B=t.h("div",X,[j,r?.default?.()]),N={ref:c,class:v.value};return Dn()?Object.assign(N,{onTouchstart:P,onTouchmove:H,onTouchend:L}):Object.assign(N,{onMousedown:P,onMousemove:H,onMouseup:L}),t.h("div",N,[B])}}}),{componentName:Ym,create:Um,scope:Gm}=se("pull-refresh"),to=Um(Wm(Ym,Gm,xn));function Xm(e,n){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"}},setup(o,{slots:l}){const a=e,r=t.computed(()=>({[a]:!0})),i=t.computed(()=>o.icon?{[`${a}__icon`]:!0,[`${a}__icon-${o.type}`]:!0}:{[`${a}__mark`]:!0,[`${a}__mark-${o.type}`]:!0}),u=t.computed(()=>o.color?o.icon?{color:o.color}:{background:o.color}:null),s=t.computed(()=>{const h={[`${a}__text`]:!0,[`${a}__text-${o.type}`]:!0};return o.textPosition==="left"?h["is-left"]=!0:h["is-right"]=!0,h}),c=t.computed(()=>o.color?{color:o.color}:null);return()=>{let h=null;if(l.mark)h=l.mark()[0];else{const p={class:i.value,style:u.value};h=t.h(o.icon??"div",p)}const d={class:s.value,style:c.value},v=l.default?l.default():[],x=t.h("div",d,v),y={class:r.value};return o.textPosition==="right"?t.h("div",y,[h,x]):t.h("div",y,[x,h])}}}}const{componentName:Zm,create:Jm,scope:zp}=se("indicator"),no=Jm(Xm(Zm));function Qm(e,n){const o=document.createRange();o.setStart(e,0),o.setEnd(e,e.childNodes.length);const l=o.getBoundingClientRect().width;if(l>0){n(l);return}e.classList.add("is-selectable"),setTimeout(()=>{o.setStart(e,0),o.setEnd(e,e.childNodes.length);const a=o.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(a)},500)}const eg={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1,default:!0},showArrow:{type:[Boolean],required:!1,default:!0},showAfter:{type:[Number],required:!1,default:300},hideAfter:{type:[Number],required:!1,default:0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String}};function tg(e,n,o,l=!1){return{props:{...eg},emits:["click"],setup(a,r){const i=t.ref(null),u=t.computed(()=>{const f={[`${e}`]:!0,"is-truncated":a.truncated};return a.type&&(f[`${e}--${a.type??"default"}`]=!0),a.size&&(f[`${e}--${a.size}`]=!0),f}),s=t.computed(()=>{const f={},P=a.textColor??a.color;return P&&(f.color=P),f}),c=(f,P)=>{let H=null;if(typeof a.highlightFilter=="string"&&a.highlightFilter.length>0){const L=a.highlightFilter;if(f.indexOf(L)!==-1){const z=f.replace(new RegExp(L,"g"),`<span>${L}</span>`);P.innerHTML=z,P.class["is-highlight"]=!0,H=t.h(a.tag,P)}}else if(typeof a.highlightFilter=="function"){const L=a.highlightFilter(f);L&&(P.innerHTML=L,P.class["is-highlight"]=!0,H=t.h(a.tag,P))}return H},h=f=>{r.emit("click",f)};let d="";const v=()=>{const f=i.value;if(!f)return;const P=f.clientWidth;Qm(f,H=>{const L=f.innerHTML??"";fe(L)||H<P||(d?o?.show(f,L,{type:"text",id:d,showArrow:a.showArrow},!0):d=o?.show(f,L,{type:"text",showArrow:a.showArrow},!0)??"")})},x=()=>{d&&o?.hide(d)};let y=null;const p=f=>{y||(y=setTimeout(()=>{v(),y=null},a.showAfter??0))},g=f=>{y&&(clearTimeout(y),y=null),setTimeout(()=>{x()},a.hideAfter??0)},R=()=>{const f=i.value;f&&(f.addEventListener("mouseover",p),f.addEventListener("mouseleave",g))},m=()=>{const f=i.value;f&&(f.removeEventListener("mouseover",p),f.removeEventListener("mouseleave",g))};return t.onMounted(()=>{!ue(a.showOverflowTooltip)||!o||R()}),t.onBeforeUnmount(()=>{!ue(a.showOverflowTooltip)||!o||m()}),()=>{const f={onClick:h,class:u.value,style:s.value,ref:i};let P=null;if(ue(a.numberFormat)&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const S=z[0].type.toString();if(S==="Symbol(Text)"||S==="Symbol(v-txt)"){const V=me(a.digits),b=me(a.decimalLength),j=ue(a.autoPadding);let X=`${z[0].children}`,B=X.split("").reverse().join("");B=ln(B,b,j,V,a.separator),X=B.split("").reverse().join(""),a.highlightFilter!==void 0&&(P=c(X,f)),P||(f.innerHTML=X,P=t.h(a.tag,f))}}}else{if(a.highlightFilter!==void 0&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const S=z[0].type.toString();if(S==="Symbol(Text)"||S==="Symbol(v-txt)"){const V=`${z[0].children}`;P=c(V,f),P||(f.innerHTML=V,P=t.h(a.tag,f))}}}P||(P=t.h(a.tag,f,{default:r.slots.default}))}if(!a.mark&&!a.icon&&!r.slots.mark)return P;let L=null;if(a.icon){const z={[`${e}__mark-wrap`]:!0};a.type&&(z[`${e}__mark-wrap--${a.type}`]=!0);const S={},V=a.color;V&&(S.color=V);const b={class:z,style:S};L=t.h("view",b,t.h(a.icon))}else if(r.slots.mark){const z={[`${e}__mark-wrap`]:!0};a.type&&(z[`${e}__mark-wrap--${a.type}`]=!0);const S={},V=a.color;V&&(S.color=V);const b={class:z,style:S};L=t.h("view",b,{default:r.slots.mark})}else{const z={[`${e}__mark`]:!0};a.type&&(z[`${e}__mark--${a.type??"default"}`]=!0);const S={},V=a.color;V&&(S["background-color"]=V);const b={class:z,style:S};L=t.h("view",b)}const A={class:{"fox-text__wrap":!0,"text-left":a.textPosition==="left","text-right":a.textPosition==="right"}};return t.h("view",A,[L,P])}}}}const{componentName:ng,create:lg,scope:og}=se("text"),lo=lg(tg(ng,og,Fe,!1)),ag={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},collapseText:{type:[String],requried:!1,default:"收起"},expandText:{type:[String],requried:!1,default:"更多"},icon:{type:[Object],requried:!1,default:Te.ArrowUp}};function rg(e,n,o){return{props:{...ag},emits:["click","update:modelValue"],setup(l,{emit:a}){const r=t.computed(()=>{const d={[`${e}`]:!0};return l.disabled?d[`${e}__disabled`]=!0:d[`${e}__${l.type}`]=!0,d}),i=he(l,"modelValue"),u=t.computed(()=>i.value?l.expandText??"":l.collapseText??""),s=t.computed(()=>({[`${e}__text`]:!0})),c=t.computed(()=>({[`${e}__icon`]:!0,"is-expand":!i.value,"is-collapse":i.value})),h=()=>{a("update:modelValue",!i.value)};return()=>{const d=[];if(u.value){const p={class:s.value},g=t.h("span",p,[u.value]);d.push(g)}const v={class:c.value},x=o(l.icon,v);return x&&d.push(x),t.h("div",{class:r.value,onClick:h},d)}}}}const{componentName:ig,create:sg,scope:ug}=se("more-button"),cg=(e,n)=>(e=e??Te.ArrowUp,t.h(I.ElIcon,n,{default:()=>[t.h(e)]})),oo=sg(rg(ig,ug,cg));function fg(e){e.stopPropagation()}let dg=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,o){this.startMove=n,this.updateMove=o,this.isTouch=Dn()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const o=Nn(),l=(a,r,i,u)=>{this.updateMove({x:a,y:r})};this.touchstart=a=>{this.moving||(o.start(a),this.startMove({x:o.state.startX,y:o.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=a=>{this.moving&&(o.move(a),fg(a),l(o.state.deltaX,o.state.deltaY))},this.touchend=()=>{l(o.state.deltaX,o.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),o.reset(),this.moving=!1},this.els.forEach(a=>{this.touchstart&&a.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(n=>{this.touchstart&&n.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function hg(e,n){return new dg(e,n)}const mg={customClass:{type:[String]},top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},borderRadius:{type:[String]},draggable:{type:[Boolean]}},gg=(e,n,o,l=!1)=>({props:{...mg},emits:["click"],setup(a,{slots:r,emit:i}){const u=t.reactive({top:a.top,right:a.right,bottom:a.bottom,left:a.left}),s=t.computed(()=>{const m=[`${e}`];return a.customClass&&m.push(a.customClass),m}),c=t.computed(()=>{const m={};return fe(u.top)||(m.top=u.top),fe(u.right)||(m.right=u.right),fe(u.bottom)||(m.bottom=u.bottom),fe(u.left)||(m.left=u.left),fe(a.width)||(m.width=a.width),fe(a.height)||(m.height=a.height),fe(a.color)||(m.color=a.color),fe(a.background)||(m.background=a.background),fe(a.borderRadius)||(m["border-radius"]=a.borderRadius),m}),h=t.computed(()=>({[`${e}__icon`]:!0})),d=()=>{i("click")},v=t.ref(null),x=()=>{u.top=null,u.right=null,u.bottom=null,u.left=null},y={x:0,y:0},R=hg(m=>{if(!v.value)return;const f=v.value;x(),u.left=f.offsetLeft,u.top=f.offsetTop,f.style.left=`${u.left}px`,f.style.top=`${u.top}px`,f.style.right=null,f.style.bottom=null,y.x=u.left,y.y=u.top},m=>{if(!v.value)return;const f=v.value;x(),u.left=y.x+m.x,u.top=y.y+m.y,f.style.left=`${u.left}px`,f.style.top=`${u.top}px`});return t.onMounted(()=>{if(a.draggable&&v.value){const m=[v.value];R.open(m)}}),t.onBeforeUnmount(()=>{a.draggable&&v.value&&R.close()}),()=>{let m=[];const f=typeof r.default=="function"?r.default():[];if(f&&f.length>0)m=f;else{const H=t.h(o,{class:h.value});m.push(H)}const P={ref:H=>{v.value=H},class:s.value,style:c.value,onClick:d};return t.h("view",P,m)}}}),{componentName:pg,create:vg,scope:yg}=se("floating-button"),ao=vg(gg(pg,yg,mu,!1)),{componentName:bg,create:wg,scope:Hp}=se("tour"),xg=wg({components:{Close:Te.Close,ElPopover:I.ElPopover},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},width:{type:String,default:"300px"},popperClass:{type:String,default:""},current:{type:Number,default:0},nextStepText:{type:String,default:"下一步"},prevStepText:{type:String,default:"上一步"},completeText:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Object,default:{left:8,top:10,right:8,botttom:10}},maskWidth:{type:[Number,String],default:""},maskHeight:{type:[Number,String],default:""},closeOnClickOverlay:{type:Boolean,default:!0},showPrevStep:{type:Boolean,default:!0},showTitleBar:{type:Boolean,default:!0}},emits:["update:modelValue","change","close"],setup(e,{emit:n}){const o=bg,l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),a=t.ref({}),r=t.computed(()=>`${o}`),i=t.computed(()=>{const{offset:y,maskWidth:p,maskHeight:g}=e,{width:R,height:m,left:f,top:P}=a.value,H=e.steps[l.active].offset??y,L=[f+R/2,P+m/2],A=Number(p||R),z=Number(g||m);return{width:`${A+ +H.left+H.right}px`,height:`${z+H.top+H.bottom}px`,top:`${L[1]-z/2-+H.top}px`,left:`${L[0]-A/2-+H.left}px`}}),u=y=>{y=="next"?l.active=l.active+1:l.active=l.active-1,l.showPopup=!1,t.nextTick(()=>{l.showPopup=!0,h()}),n("change",l.active)},s=y=>y.popoverWidth??e.width,c=y=>y.location??e.location,h=()=>{const y=document.querySelector(`${e.steps[l.active].target}`),p=Ul(y);a.value={x:p.left,y:p.top,top:p.top,left:p.left,width:p.width,height:p.height}},d=()=>{l.showTour=!1,l.showPopup=!1,n("close",l.active),n("update:modelValue",!1)},v=()=>{e.closeOnClickOverlay&&d()},x=(y,p=0)=>{y&&h(),e.steps,l.active=p,l.showTour=y,l.showPopup=y};return t.onMounted(()=>{x(e.modelValue,e.current)}),t.watch(()=>e.modelValue,y=>{x(y)}),{...t.toRefs(l),classes:r,maskStyle:i,changeStep:u,popoverWidth:s,popoverLocation:c,close:d,handleClickMask:v}}}),Sg={key:0,class:"fox-tour__content"},Cg={key:0,class:"fox-tour__content-top"},Tg={class:"fox-tour__content-inner"},$g={class:"fox-tour__content-bottom"},kg={class:"fox-tour__content-bottom-init"},Dg={class:"fox-tour__content-bottom-operate"},Ng={key:1,class:"fox-tour__content fox-tour__content-tile"},Eg={class:"fox-tour__content-inner"};function Vg(e,n,o,l,a,r){const i=t.resolveComponent("Close"),u=t.resolveComponent("fox-button"),s=t.resolveComponent("ElPopover");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{class:"fox-tour__masked",onClick:n[0]||(n[0]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(c,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,style:{height:"0"}},[h==e.active?(t.openBlock(),t.createBlock(s,{key:0,"popper-class":"popperClass",visible:e.showPopup,placement:e.popoverLocation(c),width:e.popoverWidth(c)},{reference:t.withCtx(()=>[e.showTour?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["fox-tour__mask",[e.mask?"":"fox-tour__mask-none"]]),style:t.normalizeStyle(e.maskStyle),id:"fox-tour-popid"},null,6)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[e.type=="step"?(t.openBlock(),t.createElementBlock("div",Sg,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",Cg,[t.createElementVNode("div",{onClick:n[1]||(n[1]=(...d)=>e.close&&e.close(...d))},[t.createVNode(i,{class:"fox-tour__content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",Tg,t.toDisplayString(c.content),1),t.createElementVNode("div",$g,[t.createElementVNode("div",kg,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",Dg,[t.renderSlot(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?(t.openBlock(),t.createBlock(u,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[2]||(n[2]=d=>e.changeStep("prev"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.prevStepText),1)]),_:1})):t.createCommentVNode("",!0)]),e.steps.length-1==e.active?(t.openBlock(),t.createBlock(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:e.close},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.completeText),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?(t.openBlock(),t.createBlock(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[3]||(n[3]=d=>e.changeStep("next"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.nextStepText),1)]),_:1})):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",Ng,[t.createElementVNode("div",Eg,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","placement","width"])):t.createCommentVNode("",!0)]))),128))],2)}const ro=De(xg,[["render",Vg]]),Ae=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,at=e=>e==null;class Ig{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,o){this.startMove=n,this.updateMove=o,this.isTouch=Dn()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const o=Nn(),l=(a,r,i,u)=>{this.updateMove({x:a,y:r})};this.touchstart=a=>{this.moving||(o.start(a),this.startMove({x:o.state.startX,y:o.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=a=>{this.moving&&(o.move(a),l(o.state.deltaX,o.state.deltaY))},this.touchend=()=>{l(o.state.deltaX,o.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),o.reset(),this.moving=!1},this.els.forEach(a=>{this.touchstart&&a.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(n=>{this.touchstart&&n.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}}function ha(e,n){return new Ig(e,n)}const ma=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;let pt=[];const ga=e=>{const n=e;n.key==="Escape"&&pt.forEach(o=>o(n))},Pg=e=>{t.onMounted(()=>{pt.length===0&&document.addEventListener("keydown",ga),ma&&pt.push(e)}),t.onBeforeUnmount(()=>{pt=pt.filter(n=>n!==e),pt.length===0&&ma&&document.removeEventListener("keydown",ga)})},Wn="fox-focus-trap.focus-after-trapped",Yn="fox-focus-trap.focus-after-released",Og="fox-focus-trap.focusout-prevented",pa={cancelable:!0,bubbles:!1},Ag={cancelable:!0,bubbles:!1},va="foxFocusAfterTrapped",ya="foxFocusAfterReleased",Fg=Symbol("foxFocusTrap"),io=t.ref(),Pn=t.ref(0),so=t.ref(0);let jt=0;const Pr=e=>{const n=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const a=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||a?NodeFilter.FILTER_SKIP:l.tabIndex>=0||l===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n},Bg=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},ba=(e,n)=>{for(const o of e)if(!Bg(o,n))return o},Rg=e=>{const n=Pr(e),o=ba(n,e),l=ba(n.reverse(),e);return[o,l]},Mg=e=>e instanceof HTMLInputElement&&"select"in e,Qe=(e,n)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),so.value=window.performance.now(),e!==o&&Mg(e)&&n&&e.select()}};function wa(e,n){const o=[...e],l=e.indexOf(n);return l!==-1&&o.splice(l,1),o}const Lg=()=>{let e=[];return{push:l=>{const a=e[0];a&&l!==a&&a.pause(),e=wa(e,l),e.unshift(l)},remove:l=>{e=wa(e,l),e[0]?.resume?.()}}},_g=(e,n=!1)=>{const o=document.activeElement;for(const l of e)if(Qe(l,n),document.activeElement!==o)return},xa=Lg(),qg=()=>Pn.value>so.value,Ht=()=>{io.value="pointer",Pn.value=window.performance.now()},Sa=()=>{io.value="keyboard",Pn.value=window.performance.now()},zg=()=>(t.onMounted(()=>{jt===0&&(document.addEventListener("mousedown",Ht),document.addEventListener("touchstart",Ht),document.addEventListener("keydown",Sa)),jt++}),t.onBeforeUnmount(()=>{jt--,jt<=0&&(document.removeEventListener("mousedown",Ht),document.removeEventListener("touchstart",Ht),document.removeEventListener("keydown",Sa))}),{focusReason:io,lastUserFocusTimestamp:Pn,lastAutomatedFocusTimestamp:so}),Kt=e=>new CustomEvent(Og,{...Ag,detail:e}),{componentName:Kp,create:jg,scope:Wp}=se("focus-trap"),Hg={loop:{type:[Boolean]},trapped:{type:[Boolean,String],required:!1,default:!1},escape:{type:[Boolean],required:!1,default:!1},focusTrapEl:{type:Object},focusStartEl:{type:[Object,String],default:"first"}},Kg=jg({props:Hg,emits:[va,ya,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:o}){const l=t.ref();let a,r;const{focusReason:i}=zg();Pg(p=>{ue(e.trapped)&&!u.paused&&o("release-requested",p)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=p=>{if(!e.loop&&!ue(e.trapped)||u.paused)return;const{key:g,altKey:R,ctrlKey:m,metaKey:f,currentTarget:P,shiftKey:H}=p,{loop:L}=e,A=g==="Tab"&&!R&&!m&&!f,z=document.activeElement;if(A&&z){const S=P,[V,b]=Rg(S);if(V&&b){if(!H&&z===b){const X=Kt({focusReason:i.value});o("focusout-prevented",X),X.defaultPrevented||(p.preventDefault(),L&&Qe(V,!0))}else if(H&&[V,S].includes(z)){const X=Kt({focusReason:i.value});o("focusout-prevented",X),X.defaultPrevented||(p.preventDefault(),L&&Qe(b,!0))}}else if(z===S){const X=Kt({focusReason:i.value});o("focusout-prevented",X),X.defaultPrevented||p.preventDefault()}}};t.provide(Fg,{focusTrapRef:l,onKeydown:s}),t.watch(()=>e.focusTrapEl,p=>{p&&(l.value=p)},{immediate:!0}),t.watch([l],([p],[g])=>{p&&(p.addEventListener("keydown",s),p.addEventListener("focusin",d),p.addEventListener("focusout",v)),g&&(g.removeEventListener("keydown",s),g.removeEventListener("focusin",d),g.removeEventListener("focusout",v))});const c=p=>{o(va,p)},h=p=>o(ya,p),d=p=>{const g=t.unref(l);if(!g)return;const R=p.target,m=p.relatedTarget,f=R&&g.contains(R);ue(e.trapped)||m&&g.contains(m)||(a=m),f&&o("focusin",p),!u.paused&&ue(e.trapped)&&(f?r=R:Qe(r,!0))},v=p=>{const g=t.unref(l);if(!(u.paused||!g))if(!e.escape&&ue(e.trapped)){const R=p.relatedTarget;!dl(R)&&!g.contains(R)&&setTimeout(()=>{if(!u.paused&&ue(e.trapped)){const m=Kt({focusReason:i.value});o("focusout-prevented",m),m.defaultPrevented||Qe(r,!0)}},0)}else{const R=p.target;R&&g.contains(R)||o("focusout",p)}};async function x(){await t.nextTick();const p=t.unref(l);if(p){xa.push(u);const g=p.contains(document.activeElement)?a:document.activeElement;if(a=g,!p.contains(g)){const m=new Event(Wn,pa);p.addEventListener(Wn,c),p.dispatchEvent(m),m.defaultPrevented||t.nextTick(()=>{let f=e.focusStartEl;Da(f)||(Qe(f),document.activeElement!==f&&(f="first")),f==="first"&&_g(Pr(p),!0),(document.activeElement===g||f==="container")&&Qe(p)})}}}function y(){const p=t.unref(l);if(p){p.removeEventListener(Wn,c);const g=new CustomEvent(Yn,{...pa,detail:{focusReason:i.value}});p.addEventListener(Yn,h),p.dispatchEvent(g),!g.defaultPrevented&&(i.value=="keyboard"||!qg())&&Qe(a??document.body,!0),p.removeEventListener(Yn,c),xa.remove(u)}}return t.onMounted(()=>{ue(e.trapped)&&x(),t.watch(()=>e.trapped,p=>{ue(p)?x():y()})}),t.onBeforeUnmount(()=>{ue(e.trapped)&&y()}),()=>typeof n.default=="function"?n.default({"handle-keydown":s}):null}}),{componentName:Wg,create:Yg,scope:Yp}=se("floating-window"),Ug=Symbol.for("InnerPageScopeKey"),Gg=Symbol.for("PageWrapperKey"),Xg={modelValue:{type:[Boolean,String],required:!1,default:!0},title:{type:[String],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},origin:{type:[String],required:!1,default:"right-top"},top:{type:[String,Number],required:!1},left:{type:[String,Number],required:!1},bottom:{type:[String,Number],required:!1},right:{type:[String,Number],required:!1},teleport:{type:[String,Element],default:"body"},fixedNavTeleport:{type:[String,Element]},zIndex:{type:[String,Number],required:!1},collapse:{type:[Boolean],requried:!1},showCollapse:{type:[Boolean],required:!1,default:!0},collapseText:{type:[String],requried:!1,default:"收起"},collapseIcon:{type:[Object],requried:!1},collapsePosition:{type:[String],requried:!1,default:"right"},collapseTop:{type:[String],requried:!1,default:"30vh"},expandText:{type:[String],requried:!1},expandIcon:{type:[Object],requried:!1},expandClass:{type:[String],requried:!1},showClose:{type:[Boolean],required:!1,default:!0},closeIcon:{type:[Object],requried:!1},draggable:{type:[Boolean],required:!1,default:!0},footerDraggable:{type:[Boolean],required:!1,default:!0},customClass:{type:[String],required:!1}},Zg=Yg({inheritAttrs:!1,components:{FoxIcon:I.ElIcon,FocusTrap:Kg},props:{...Xg},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const o=Wg,l=t.ref(e.modelValue),a=t.computed(()=>!e.teleport);t.watch(()=>e.modelValue,T=>{l.value=T});const r=t.computed(()=>l.value===!1?!1:!z.value),i=t.ref(e.left),u=t.ref(e.top),s=t.ref(e.right),c=t.ref(e.bottom),h=t.computed(()=>{const T=["fox-floating-window"];return e.customClass&&T.push(e.customClass),T}),d=t.computed(()=>{const T={};return at(i.value)?T.left="auto":T.left=Ae(i.value),at(u.value)?T.top="auto":T.top=Ae(u.value),at(s.value)?T.right="auto":T.right=Ae(s.value),at(c.value)?T.bottom="auto":T.bottom=Ae(c.value),at(e.zIndex)||(T["z-index"]=Ae(e.zIndex)),at(L.value)||(T.height=L.value),at(A.value)||(T.width=A.value),T}),v=t.computed(()=>e.closeIcon??Te.Close),x=t.computed(()=>e.collapseIcon??Te.ArrowUp),y=t.computed(()=>e.collapseText??""),p=t.computed(()=>e.collapsePosition==="left"?e.expandIcon??Te.ArrowRight:e.expandIcon??Te.ArrowLeft),g=t.computed(()=>e.expandText??e.title??"展开"),R=t.computed(()=>({[`${o}__collapse-text`]:!0})),m=t.computed(()=>({[`${o}__collapse-icon`]:!0,"is-expand":!z.value,"is-collapse":z.value})),f=t.ref(),P=t.ref(null),H=t.ref(null),L=t.computed(()=>Ae(e.height)||""),A=t.computed(()=>Ae(e.width)||""),z=t.ref(ue(e.collapse)),S=(T,K=!0)=>{z.value!==T&&(z.value=T,T?D():_(),n("update:collapse",T),T&&typeof j.onHide=="function"?j.onHide():!T&&typeof j.onShow=="function"&&j.onShow())};t.watch(()=>e.collapse,T=>{S(T)});const V=()=>{b()},b=T=>{T=T??!z.value,S(T)};t.provide(Ug,!0);const j={setCollapse:S,setFixedNavVisible:T=>{J.value=T}};t.provide(Gg,j);const X=()=>{typeof j.beforeClose=="function"?j.beforeClose(()=>{l.value=!1}):l.value=!1},B=t.ref(null),N=t.computed(()=>!e.fixedNavTeleport),q=t.computed(()=>{const T=["fox-floating-window__fixednav"];return e.expandClass&&T.push(e.expandClass),e.collapsePosition==="left"?T.push("is-left"):e.collapsePosition==="right"&&T.push("is-right"),T}),F=t.ref(""),G=t.computed(()=>{const T={};return F.value?T.top=F.value:e.collapseTop&&(T.top=e.collapseTop),T}),$=t.ref(z.value),J=t.computed({set:T=>{$.value=T},get:()=>l.value===!1?!1:$.value});let Q=null;const k=()=>{typeof Q=="function"&&(Q(),Q=null)},D=()=>{B.value&&B.value.classList.add("slide-in"),J.value=!0,Q=()=>{B.value&&B.value.classList.remove("slide-in")}},_=()=>{B.value&&B.value.classList.add("slide-out"),Q=()=>{B.value&&B.value.classList.remove("slide-out"),J.value=!1}},M=()=>{i.value=null,u.value=null,s.value=null,c.value=null},E={x:0,y:0},Y=ha(T=>{if(!f.value)return;const K=f.value;if(M(),e.origin==="left-top")i.value=K.offsetLeft,u.value=K.offsetTop,E.x=i.value,E.y=u.value;else if(e.origin==="left-bottom"){const te=document.documentElement.clientHeight||document.body.clientHeight;i.value=K.offsetLeft,c.value=te-(K.offsetTop+K.offsetHeight),E.x=i.value,E.y=c.value}else if(e.origin==="right-bottom"){const te=document.documentElement.clientWidth||document.body.clientWidth,le=document.documentElement.clientHeight||document.body.clientHeight;s.value=te-(K.offsetLeft+K.offsetWidth),c.value=le-(K.offsetTop+K.offsetHeight),E.x=s.value,E.y=c.value}else{const te=document.documentElement.clientWidth||document.body.clientWidth;s.value=te-(K.offsetLeft+K.offsetWidth),u.value=K.offsetTop,E.x=s.value,E.y=u.value}},T=>{if(!f.value)return;const K=f.value;M(),e.origin==="left-top"?(i.value=E.x+T.x,u.value=E.y+T.y,K.style.left=Ae(i.value),K.style.top=Ae(u.value)):e.origin==="left-bottom"?(i.value=E.x+T.x,c.value=E.y-T.y,K.style.left=Ae(i.value),K.style.bottom=Ae(c.value)):e.origin==="right-bottom"?(s.value=E.x-T.x,c.value=E.y-T.y,K.style.right=Ae(s.value),K.style.bottom=Ae(c.value)):(s.value=E.x-T.x,u.value=E.y+T.y,K.style.right=Ae(s.value),K.style.top=Ae(u.value))}),C={x:0,y:0},W=ha(T=>{B.value&&(C.x=B.value.offsetLeft,C.y=B.value.offsetTop)},T=>{if(!B.value)return;const K=C.y+T.y;F.value=`${K}px`}),U=()=>{if(f.value){const T=f.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");H.value=T}};return t.onMounted(()=>{if(e.draggable&&f.value){const T=[];P.value&&T.push(P.value),e.footerDraggable&&(U(),H.value&&T.push(H.value)),Y.open(T)}e.collapse===!0&&S(e.collapse,!1),B.value&&W.open(B.value)}),t.onBeforeUnmount(()=>{e.draggable&&P.value&&Y.close(),B.value&&W.close()}),{classes:h,styles:d,isShow:r,closeIcon:v,onClose:X,dialogRef:f,headerRef:P,onClickToggle:V,collapseIcon:x,collapseText:y,collapseTextClasses:R,collapseIconClasses:m,expandIcon:p,expandText:g,isShowFixedNav:J,fixedNavRef:B,fixedNavClasses:q,fixedNavStyles:G,onAnimationEnd:k,teleportDisabled:a,fixedNavTeleportDisabled:N}}}),Jg={ref:"headerRef",class:"fox-floating-window__header"},Qg={class:"fox-floating-window__title"},ep={class:"fox-floating-window__tools"},tp={class:"fox-floating-window__body"},np={class:"fox-floating-window__fixednav__text"};function lp(e,n,o,l,a,r){const i=t.resolveComponent("FoxIcon"),u=t.resolveComponent("FocusTrap");return t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisabled},[t.createVNode(t.Transition,{name:"fox-floating-window-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{ref:"dialogRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),tabindex:"-1"},[t.createVNode(u,{loop:!0,escape:!0,trapped:e.isShow,"focus-trap-el":e.dialogRef,"focus-start-el":"container"},{default:t.withCtx(()=>[t.createElementVNode("div",Jg,[t.renderSlot(e.$slots,"header",{},()=>[t.createElementVNode("span",Qg,t.toDisplayString(e.title),1),t.createElementVNode("div",ep,[e.showCollapse?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-floating-window__collapse",onClick:n[0]||(n[0]=(...s)=>e.onClickToggle&&e.onClickToggle(...s))},[t.createElementVNode("span",{class:t.normalizeClass(e.collapseTextClasses)},t.toDisplayString(e.collapseText),3),t.createVNode(i,{class:t.normalizeClass(e.collapseIconClasses)},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.collapseIcon)))]),_:1},8,["class"])])):t.createCommentVNode("",!0),e.showClose?(t.openBlock(),t.createBlock(i,{key:1,class:"fox-floating-window__close",onClick:e.onClose},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.closeIcon)))]),_:1},8,["onClick"])):t.createCommentVNode("",!0)])])],512),t.createElementVNode("div",tp,[t.renderSlot(e.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[t.vShow,e.isShow]])]),_:3})],8,["to","disabled"])),(t.openBlock(),t.createBlock(t.Teleport,{to:e.fixedNavTeleport,disabled:e.fixedNavTeleportDisabled},[t.withDirectives(t.createElementVNode("div",{ref:"fixedNavRef",class:t.normalizeClass(e.fixedNavClasses),style:t.normalizeStyle(e.fixedNavStyles),onAnimationend:n[2]||(n[2]=(...s)=>e.onAnimationEnd&&e.onAnimationEnd(...s))},[t.createElementVNode("div",{class:"fox-floating-window__fixednav__inner",onClick:n[1]||(n[1]=(...s)=>e.onClickToggle&&e.onClickToggle(...s))},[t.createVNode(i,{class:"fox-floating-window__fixednav__icon"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.expandIcon)))]),_:1}),t.createElementVNode("div",np,t.toDisplayString(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}const uo=De(Zg,[["render",lp]]),op={visible:{type:Boolean},reference:{type:Object},referenceInset:{type:Object},width:{type:String},offset:{type:Number,default:()=>6},placement:{type:String,default:()=>"top-start"},autoFit:{type:Boolean,default:()=>!0},title:{type:String},effect:{type:String,default:()=>"light"},showArrow:{type:Boolean,default:()=>!0},arrowSize:{type:Number,default:()=>14},arrowOffset:{type:Number,default:()=>20},showOverlay:{type:Boolean,default:()=>!0},closeOnClick:{type:Boolean,default:()=>!0},zIndex:{type:[String,Number]},customClass:{type:[String]},customStyle:{type:[Object]}};function ap(e,n,o=!1){return{props:{...op},emits:["update:visible"],setup(l,{emit:a,slots:r,expose:i}){const u=t.ref({top:null,right:null,bottom:null,left:null}),s=t.ref(0),c=t.ref(0),h=t.ref(0),d=t.ref(0),v=t.ref(l.placement),x=t.ref(!1),y=t.ref(!1),p=t.ref(null),g=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,R=($,J,Q,k,D,_,M,E=!0)=>{const Z=document.documentElement.clientWidth||document.body.clientWidth,ne=document.documentElement.clientHeight||document.body.clientHeight,Y=$.split("-");let C=[];E?Y[0]==="top"?C=["top","bottom","right","left"]:Y[0]==="bottom"?C=["bottom","top","right","left"]:Y[0]==="left"?C=["left","top","bottom","right"]:Y[0]==="right"&&(C=["right","top","bottom","left"]):C=[$[0]];const O={top:null,right:null,bottom:null,left:null},w=[];for(let W=0;W<C.length;W++){const U=C[W];if(w[0]=U,Y[1]&&(w[1]=Y[1]),U==="top"){const T=Q-M-l.arrowSize/2-l.offset;if(T>=0){O.top=T;let K=0;Y[1]==="start"?K=J:Y[1]==="end"?K=J+k-_:K=J+k/2-_/2;const te=Z-K-_;te<0?(K+=te,f.value=-te):f.value=0,O.left=K<0?0:K;break}}else if(U==="bottom"){const T=Q+D+l.arrowSize/2+l.offset;if(T+M<=ne){O.top=T;let K=0;Y[1]==="start"?K=J:Y[1]==="end"?K=J+k-_:K=J+k/2-_/2;const te=Z-K-_;te<0?(K+=te,f.value=-te):f.value=0,O.left=K<0?0:K;break}}else if(U==="left"){const T=J-_-l.arrowSize/2-l.offset;if(T>=0){O.left=T;let K=0;Y[1]==="start"?K=Q:Y[1]==="end"?K=Q+D-M:K=Q+D/2-M/2,O.top=K<0?0:K;break}}else if(U==="right"){const T=J+k+l.arrowSize/2+l.offset;if(T+_<=Z){O.left=T;let K=0;Y[1]==="start"?K=Q:Y[1]==="end"?K=Q+D-M:K=Q+D/2-M/2,O.top=K<0?0:K;break}}}return{bestPlacement:w.join("-"),bestInsetRect:O}},m=()=>{const $=l.visible,J=l.autoFit;if(!lt||$===!1)return;if(l.reference){const M=g(),E=Sl(M);s.value=E.x,c.value=E.y,h.value=M.offsetWidth,d.value=M.offsetHeight}else l.referenceInset&&(s.value=l.referenceInset.left,c.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,d.value=l.referenceInset.bottom-l.referenceInset.top);const Q=p.value.offsetWidth,k=p.value.offsetHeight,{bestPlacement:D,bestInsetRect:_}=R(l.placement,s.value,c.value,h.value,d.value,Q,k,J);v.value=D,u.value=_},f=t.ref(0),P=ct(()=>{m()},10),H=t.ref(l.visible);t.watch([()=>l.visible],([$])=>{H.value=$,$?(x.value=$,setTimeout(()=>{m(),y.value=!0},0)):y.value=!1});const L=t.computed(()=>H.value&&A.value),A=t.ref(!0),z=ct($=>{const J=$[0];J&&(A.value=J.isIntersecting)},10),S=new IntersectionObserver(z);t.watch([()=>l.reference,()=>l.referenceInset],([$,J],[Q,k])=>{!$&&!J||(setTimeout(()=>{m()},0),l.autoFit&&(Q&&(Vt.unwatch(Q,P),S.unobserve(Q)),$&&(Vt.watch($,P),S.observe($))))},{immediate:!0}),t.onBeforeUnmount(()=>{l.reference&&(Vt.unwatch(l.reference,P),S.unobserve(l.reference),S.disconnect())});const V=t.computed(()=>{const $={[e]:!0};return v.value.startsWith("top")?$["is-top"]=!0:v.value.startsWith("right")?$["is-right"]=!0:v.value.startsWith("bottom")?$["is-bottom"]=!0:v.value.startsWith("left")&&($["is-left"]=!0),$[`is-${l.effect}`]=!0,!y.value&&L.value&&($["is-opacity"]=!0),y.value&&L.value&&($["is-show"]=!0),L.value||($["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&($[`${l.customClass}`]=!0),$}),b=t.computed(()=>{const $={};return u.value.top!==null&&($.top=`${u.value.top}px`),u.value.right!==null&&($.right=`${u.value.right}px`),u.value.bottom!==null&&($.bottom=`${u.value.bottom}px`),u.value.left!==null&&($.left=`${u.value.left}px`),l.width&&($.width=l.width),l.zIndex&&($["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign($,l.customStyle),$}),j=()=>{H.value=!1,a("update:visible",!1)},X=()=>{if(!l.showOverlay)return null;const $={class:`${e}__overlay`,onClick:j};return t.h("div",$)},B=()=>{let $=null;return r.title?$=t.h("div",{class:`${e}__title`},{default:r.title}):l.title&&($=t.h("div",{class:`${e}__title`},[l.title])),$},N=t.computed(()=>({[`${e}__arrow`]:!0})),q=t.computed(()=>{const $={};return l.showArrow?($.width=`${l.arrowSize}px`,$.height=`${l.arrowSize}px`,v.value==="top"?($.left="50%",$.bottom="0",$.transform="translate(-50%, 50%)"):v.value==="top-start"?($.left=`${l.arrowOffset+f.value}px`,$.bottom="0",$.transform="translate(-50%, 50%)"):v.value==="top-end"?($.right=`${l.arrowOffset-f.value}px`,$.bottom="0",$.transform="translate(-50%, 50%)"):v.value==="right"?($.left="0",$.top="50%",$.transform="translate(-50%, -50%)"):v.value==="right-start"?($.left="0",$.top=`${l.arrowOffset}px`,$.transform="translate(-50%, 50%)"):v.value==="right-end"?($.left="0",$.bottom=`-${l.arrowOffset}px`,$.transform="translate(-50%, 50%)"):v.value==="bottom"?($.left="50%",$.top="0",$.transform="translate(-50%, -50%)"):v.value==="bottom-start"?($.left=`${l.arrowOffset+f.value}px`,$.top="0",$.transform="translate(-50%, -50%)"):v.value==="bottom-end"?($.right=`${l.arrowOffset-f.value}px`,$.top="0",$.transform="translate(-50%, -50%)"):v.value==="left"?($.right="0",$.top="50%",$.transform="translate(50%, -50%)"):v.value==="left-start"?($.right="0",$.top=`${l.arrowOffset}px`,$.transform="translate(50%, -50%)"):v.value==="left-end"&&($.right="0",$.bottom=`-${l.arrowOffset}px`,$.transform="translate(50%, -50%)"),$):{display:"none"}}),F=()=>{const $={class:N.value,style:q.value};return t.h("div",$)},G=()=>{H.value===!1&&(x.value=!1)};return i({doLayout:m}),()=>{if(!x.value)return null;const $=[],J=X();J&&$.push(J);const Q=[],k=B();if(k&&Q.push(k),r.default){const E=r.default();Q.push(E)}const D=F();D&&Q.push(D);const _={ref:p,class:V.value,style:b.value,onAnimationend:G},M=t.h("div",_,{default:()=>Q});return $.push(M),$}}}}const{componentName:rp,create:ip,scope:sp}=se("popover-dialog"),co=ip(ap(rp,sp,!1));function up(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(o,{slots:l}){return Ha(o.name,()=>o.config),()=>typeof l.default=="function"?l.default():null}}}const{componentName:Up,create:cp,scope:Gp}=se("domain-provider"),fo=cp(up()),fp={initialVisibleObserverSize:{type:[Number],required:!1},initialInvisibleObserverHeight:{type:[String],required:!1,default:"250px"},disabled:{type:[Boolean],required:!1},loadPolicy:{type:[String],required:!1,default:"rolling"},rootMargin:{type:[String],required:!1,default:"250px 0px 250px 0px"},threshold:{type:[Array],required:!1,default:[0,.25]},root:{type:[Object,String]}};function dp(e,n){return{inheritAttrs:!1,props:fp,setup(o,{slots:l}){if(lt&&window.IntersectionObserver){const a=new WeakMap;let r=new Map;const i=(v,x)=>{if(h===null){r.set(v,{visible:null,callback:x});return}a.has(v)&&h.unobserve(v),a.set(v,{visible:null,callback:x}),h.observe(v)},u=v=>{if(h===null){r.delete(v);return}a.has(v)&&(a.delete(v),h.unobserve(v))};let s=o.initialVisibleObserverSize;_i({acquire:()=>{const v=s>0;return s--,v},get disabled(){return o.disabled},get initialHeight(){return o.initialInvisibleObserverHeight},observe:i,unobserve:u});let h=null;const d=(v,x,y)=>{h=new IntersectionObserver(p=>{for(let g of p){let R=!1;g.intersectionRatio>0&&(R=!0);const m=a.get(g.target);if(m)try{if(o.loadPolicy==="lazy"&&!R&&m.visible!==null)return;m.visible=R,m.callback(R)}catch(f){console.error(f)}}},{root:v,rootMargin:x,threshold:y}),r.forEach((p,g)=>{a.set(g,p),h?.observe(g)}),r.clear()};t.watch([()=>o.root,()=>o.disabled],([v,x])=>{if(x||!v||h)return;let y=null;typeof v=="string"?y=document.querySelector(v):y=v,y&&d(y,o.rootMargin,o.threshold)},{immediate:!0}),t.onUnmounted(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}const{componentName:Xp,create:hp,scope:Zp}=se("rolling-provider"),ho=hp(dp()),mp=[pl,yl,bl,wl,xl,we,Cl,Tl,Mt,$l,kl,Dl,Vl,Il,Pl,Ol,Al,Fl,Bl,Rl,Ml,Cn,Ll,_l,ql,zl,jl,Hl,Kl,kn,Wl,Gl,En,Vn,In,Xl,Lt,Zl,Sn,Jl,Ql,wn,dt,eo,$n,Tn,to,Ft,bn,no,lo,oo,ao,ro,uo,co,fo,ho],gp=new vi(mp,[wi],"4.0.0");Object.defineProperty(exports,"FoxAffix",{enumerable:!0,get:()=>I.ElAffix});Object.defineProperty(exports,"FoxAlert",{enumerable:!0,get:()=>I.ElAlert});Object.defineProperty(exports,"FoxAnchor",{enumerable:!0,get:()=>I.ElAnchor});Object.defineProperty(exports,"FoxAnchorLink",{enumerable:!0,get:()=>I.ElAnchorLink});Object.defineProperty(exports,"FoxAside",{enumerable:!0,get:()=>I.ElAside});Object.defineProperty(exports,"FoxAutoResizer",{enumerable:!0,get:()=>I.ElAutoResizer});Object.defineProperty(exports,"FoxAutocomplete",{enumerable:!0,get:()=>I.ElAutocomplete});Object.defineProperty(exports,"FoxAvatar",{enumerable:!0,get:()=>I.ElAvatar});Object.defineProperty(exports,"FoxBacktop",{enumerable:!0,get:()=>I.ElBacktop});Object.defineProperty(exports,"FoxBadge",{enumerable:!0,get:()=>I.ElBadge});Object.defineProperty(exports,"FoxBreadcrumb",{enumerable:!0,get:()=>I.ElBreadcrumb});Object.defineProperty(exports,"FoxBreadcrumbItem",{enumerable:!0,get:()=>I.ElBreadcrumbItem});Object.defineProperty(exports,"FoxButton",{enumerable:!0,get:()=>I.ElButton});Object.defineProperty(exports,"FoxButtonGroup",{enumerable:!0,get:()=>I.ElButtonGroup});Object.defineProperty(exports,"FoxCalendar",{enumerable:!0,get:()=>I.ElCalendar});Object.defineProperty(exports,"FoxCard",{enumerable:!0,get:()=>I.ElCard});Object.defineProperty(exports,"FoxCarousel",{enumerable:!0,get:()=>I.ElCarousel});Object.defineProperty(exports,"FoxCarouselItem",{enumerable:!0,get:()=>I.ElCarouselItem});Object.defineProperty(exports,"FoxCascader",{enumerable:!0,get:()=>I.ElCascader});Object.defineProperty(exports,"FoxCascaderPanel",{enumerable:!0,get:()=>I.ElCascaderPanel});Object.defineProperty(exports,"FoxCheckTag",{enumerable:!0,get:()=>I.ElCheckTag});Object.defineProperty(exports,"FoxCheckbox",{enumerable:!0,get:()=>I.ElCheckbox});Object.defineProperty(exports,"FoxCheckboxButton",{enumerable:!0,get:()=>I.ElCheckboxButton});Object.defineProperty(exports,"FoxCheckboxGroup",{enumerable:!0,get:()=>I.ElCheckboxGroup});Object.defineProperty(exports,"FoxCol",{enumerable:!0,get:()=>I.ElCol});Object.defineProperty(exports,"FoxCollapse",{enumerable:!0,get:()=>I.ElCollapse});Object.defineProperty(exports,"FoxCollapseItem",{enumerable:!0,get:()=>I.ElCollapseItem});Object.defineProperty(exports,"FoxCollapseTransition",{enumerable:!0,get:()=>I.ElCollapseTransition});Object.defineProperty(exports,"FoxColorPicker",{enumerable:!0,get:()=>I.ElColorPicker});Object.defineProperty(exports,"FoxConfigProvider",{enumerable:!0,get:()=>I.ElConfigProvider});Object.defineProperty(exports,"FoxContainer",{enumerable:!0,get:()=>I.ElContainer});Object.defineProperty(exports,"FoxCountdown",{enumerable:!0,get:()=>I.ElCountdown});Object.defineProperty(exports,"FoxDatePicker",{enumerable:!0,get:()=>I.ElDatePicker});Object.defineProperty(exports,"FoxDescriptions",{enumerable:!0,get:()=>I.ElDescriptions});Object.defineProperty(exports,"FoxDescriptionsItem",{enumerable:!0,get:()=>I.ElDescriptionsItem});Object.defineProperty(exports,"FoxDialog",{enumerable:!0,get:()=>I.ElDialog});Object.defineProperty(exports,"FoxDivider",{enumerable:!0,get:()=>I.ElDivider});Object.defineProperty(exports,"FoxDrawer",{enumerable:!0,get:()=>I.ElDrawer});Object.defineProperty(exports,"FoxDropdown",{enumerable:!0,get:()=>I.ElDropdown});Object.defineProperty(exports,"FoxDropdownItem",{enumerable:!0,get:()=>I.ElDropdownItem});Object.defineProperty(exports,"FoxDropdownMenu",{enumerable:!0,get:()=>I.ElDropdownMenu});Object.defineProperty(exports,"FoxEmpty",{enumerable:!0,get:()=>I.ElEmpty});Object.defineProperty(exports,"FoxFooter",{enumerable:!0,get:()=>I.ElFooter});Object.defineProperty(exports,"FoxForm",{enumerable:!0,get:()=>I.ElForm});Object.defineProperty(exports,"FoxFormItem",{enumerable:!0,get:()=>I.ElFormItem});Object.defineProperty(exports,"FoxHeader",{enumerable:!0,get:()=>I.ElHeader});Object.defineProperty(exports,"FoxIcon",{enumerable:!0,get:()=>I.ElIcon});Object.defineProperty(exports,"FoxImage",{enumerable:!0,get:()=>I.ElImage});Object.defineProperty(exports,"FoxImageViewer",{enumerable:!0,get:()=>I.ElImageViewer});Object.defineProperty(exports,"FoxInput",{enumerable:!0,get:()=>I.ElInput});Object.defineProperty(exports,"FoxInputNumber",{enumerable:!0,get:()=>I.ElInputNumber});Object.defineProperty(exports,"FoxLink",{enumerable:!0,get:()=>I.ElLink});Object.defineProperty(exports,"FoxMain",{enumerable:!0,get:()=>I.ElMain});Object.defineProperty(exports,"FoxMenu",{enumerable:!0,get:()=>I.ElMenu});Object.defineProperty(exports,"FoxMenuItem",{enumerable:!0,get:()=>I.ElMenuItem});Object.defineProperty(exports,"FoxMenuItemGroup",{enumerable:!0,get:()=>I.ElMenuItemGroup});Object.defineProperty(exports,"FoxMessage",{enumerable:!0,get:()=>I.ElMessage});Object.defineProperty(exports,"FoxMessageBox",{enumerable:!0,get:()=>I.ElMessageBox});Object.defineProperty(exports,"FoxNotification",{enumerable:!0,get:()=>I.ElNotification});Object.defineProperty(exports,"FoxOption",{enumerable:!0,get:()=>I.ElOption});Object.defineProperty(exports,"FoxOptionGroup",{enumerable:!0,get:()=>I.ElOptionGroup});Object.defineProperty(exports,"FoxPageHeader",{enumerable:!0,get:()=>I.ElPageHeader});Object.defineProperty(exports,"FoxPagination",{enumerable:!0,get:()=>I.ElPagination});Object.defineProperty(exports,"FoxPopconfirm",{enumerable:!0,get:()=>I.ElPopconfirm});Object.defineProperty(exports,"FoxPopover",{enumerable:!0,get:()=>I.ElPopover});Object.defineProperty(exports,"FoxPopper",{enumerable:!0,get:()=>I.ElPopper});Object.defineProperty(exports,"FoxProgress",{enumerable:!0,get:()=>I.ElProgress});Object.defineProperty(exports,"FoxRadio",{enumerable:!0,get:()=>I.ElRadio});Object.defineProperty(exports,"FoxRadioButton",{enumerable:!0,get:()=>I.ElRadioButton});Object.defineProperty(exports,"FoxRadioGroup",{enumerable:!0,get:()=>I.ElRadioGroup});Object.defineProperty(exports,"FoxRate",{enumerable:!0,get:()=>I.ElRate});Object.defineProperty(exports,"FoxResult",{enumerable:!0,get:()=>I.ElResult});Object.defineProperty(exports,"FoxRow",{enumerable:!0,get:()=>I.ElRow});Object.defineProperty(exports,"FoxScrollbar",{enumerable:!0,get:()=>I.ElScrollbar});Object.defineProperty(exports,"FoxSegmented",{enumerable:!0,get:()=>I.ElSegmented});Object.defineProperty(exports,"FoxSelect",{enumerable:!0,get:()=>I.ElSelect});Object.defineProperty(exports,"FoxSelectV2",{enumerable:!0,get:()=>I.ElSelectV2});Object.defineProperty(exports,"FoxSkeleton",{enumerable:!0,get:()=>I.ElSkeleton});Object.defineProperty(exports,"FoxSkeletonItem",{enumerable:!0,get:()=>I.ElSkeletonItem});Object.defineProperty(exports,"FoxSlider",{enumerable:!0,get:()=>I.ElSlider});Object.defineProperty(exports,"FoxSpace",{enumerable:!0,get:()=>I.ElSpace});Object.defineProperty(exports,"FoxStatistic",{enumerable:!0,get:()=>I.ElStatistic});Object.defineProperty(exports,"FoxStep",{enumerable:!0,get:()=>I.ElStep});Object.defineProperty(exports,"FoxSteps",{enumerable:!0,get:()=>I.ElSteps});Object.defineProperty(exports,"FoxSubMenu",{enumerable:!0,get:()=>I.ElSubMenu});Object.defineProperty(exports,"FoxSwitch",{enumerable:!0,get:()=>I.ElSwitch});Object.defineProperty(exports,"FoxTabPane",{enumerable:!0,get:()=>I.ElTabPane});Object.defineProperty(exports,"FoxTable",{enumerable:!0,get:()=>I.ElTable});Object.defineProperty(exports,"FoxTableColumn",{enumerable:!0,get:()=>I.ElTableColumn});Object.defineProperty(exports,"FoxTableV2",{enumerable:!0,get:()=>I.ElTableV2});Object.defineProperty(exports,"FoxTabs",{enumerable:!0,get:()=>I.ElTabs});Object.defineProperty(exports,"FoxTag",{enumerable:!0,get:()=>I.ElTag});Object.defineProperty(exports,"FoxTimePicker",{enumerable:!0,get:()=>I.ElTimePicker});Object.defineProperty(exports,"FoxTimeSelect",{enumerable:!0,get:()=>I.ElTimeSelect});Object.defineProperty(exports,"FoxTimeline",{enumerable:!0,get:()=>I.ElTimeline});Object.defineProperty(exports,"FoxTimelineItem",{enumerable:!0,get:()=>I.ElTimelineItem});Object.defineProperty(exports,"FoxTooltip",{enumerable:!0,get:()=>I.ElTooltip});Object.defineProperty(exports,"FoxTransfer",{enumerable:!0,get:()=>I.ElTransfer});Object.defineProperty(exports,"FoxTree",{enumerable:!0,get:()=>I.ElTree});Object.defineProperty(exports,"FoxTreeSelect",{enumerable:!0,get:()=>I.ElTreeSelect});Object.defineProperty(exports,"FoxTreeV2",{enumerable:!0,get:()=>I.ElTreeV2});Object.defineProperty(exports,"FoxUpload",{enumerable:!0,get:()=>I.ElUpload});Object.defineProperty(exports,"FoxWatermark",{enumerable:!0,get:()=>I.ElWatermark});exports.ActionsheetItem=Wl;exports.ActionsheetPane=kn;exports.AutocompleteItem=Bl;exports.Broadcast=hl;exports.BroadcastKey=Se;exports.CalendarItem=Vl;exports.CascaderItem=Fl;exports.CheckboxItem=ql;exports.Content=wl;exports.DataItemsKey=gt;exports.DateItem=Dl;exports.DateUtils=re;exports.DialogItem=Ql;exports.Domain=cn;exports.DomainKey=Be;exports.DomainProvider=fo;exports.FloatingButton=ao;exports.FloatingWindow=uo;exports.FooterBar=bl;exports.FoxActionsheetItem=Wl;exports.FoxActionsheetPane=kn;exports.FoxAutocompleteItem=Bl;exports.FoxCalendarItem=Vl;exports.FoxCascaderItem=Fl;exports.FoxCheckboxItem=ql;exports.FoxContent=wl;exports.FoxDateItem=Dl;exports.FoxDialogItem=Ql;exports.FoxDomainProvider=fo;exports.FoxFloatingButton=ao;exports.FoxFloatingWindow=uo;exports.FoxFooterBar=bl;exports.FoxGroup=xl;exports.FoxGroupSetting=Kl;exports.FoxHeaderBar=yl;exports.FoxHintText=Mt;exports.FoxIndicator=no;exports.FoxInfiniteLoading=Tn;exports.FoxInputItem=$l;exports.FoxInputNumberItem=Al;exports.FoxItem=we;exports.FoxMapping=Ft;exports.FoxMoneyItem=Ol;exports.FoxMoreButton=oo;exports.FoxOverLay=wn;exports.FoxPage=pl;exports.FoxPickerItem=Gl;exports.FoxPopoverDialog=co;exports.FoxPopup=dt;exports.FoxPrice=bn;exports.FoxPullRefresh=to;exports.FoxRadioItem=_l;exports.FoxRateItem=zl;exports.FoxRollingProvider=ho;exports.FoxRowItem=Tl;exports.FoxSearchBar=$n;exports.FoxSelectItem=kl;exports.FoxSlotItem=Cl;exports.FoxStepsBar=Xl;exports.FoxSwitchItem=jl;exports.FoxTableItem=Ll;exports.FoxTableMappingColumn=Rl;exports.FoxTableRadioColumn=Ml;exports.FoxTableSetting=Cn;exports.FoxTabsBar=En;exports.FoxTabsContainer=Vn;exports.FoxTabsPane=In;exports.FoxText=lo;exports.FoxTimeItem=Il;exports.FoxTimeSelectItem=Pl;exports.FoxToast=eo;exports.FoxTour=ro;exports.FoxTreeSelectItem=Hl;exports.Foxcalendarpicker=Sn;exports.Foxcascaderpicker=Jl;exports.Foxdatepicker=Zl;exports.Foxpicker=Lt;exports.Group=xl;exports.GroupSetting=Kl;exports.HeaderBar=yl;exports.HintText=Mt;exports.Indicator=no;exports.InfiniteLoading=Tn;exports.InputItem=$l;exports.InputNumberItem=Al;exports.Item=we;exports.Mapping=Ft;exports.MoneyItem=Ol;exports.MoreButton=oo;exports.OverLay=wn;exports.Page=pl;exports.PickerItem=Gl;exports.PopoverDialog=co;exports.Popup=dt;exports.Price=bn;exports.PriorityPolicy=Re;exports.PullRefresh=to;exports.RadioItem=_l;exports.RateItem=zl;exports.RollingProvider=ho;exports.RowItem=Tl;exports.SearchBar=$n;exports.SelectItem=kl;exports.SlotItem=Cl;exports.StepsBar=Xl;exports.SwitchItem=jl;exports.TableItem=Ll;exports.TableMappingColumn=Rl;exports.TableRadioColumn=Ml;exports.TableSetting=Cn;exports.TabsBar=En;exports.TabsContainer=Vn;exports.TabsPane=In;exports.Text=lo;exports.TimeItem=Il;exports.TimeSelectItem=Pl;exports.Toast=eo;exports.Tour=ro;exports.TreeSelectItem=Hl;exports.UniqueID=nr;exports.ValidateSchema=qa;exports.ValidateSchemaKey=je;exports.calendarpicker=Sn;exports.cancelRaf=Br;exports.cascaderpicker=Jl;exports.clearNonNumber=Yr;exports.clone=tl;exports.compareTo=Jn;exports.createBroadcast=rn;exports.createValidateSchema=sn;exports.datepicker=Zl;exports.debounce=ct;exports.debounceRef=ri;exports.decimalLength=Ba;exports.default=gp;exports.defineBroadcast=Zr;exports.defineConfigDomain=Ha;exports.defineDataItem=Wa;exports.defineDomain=ml;exports.defineItem=Ce;exports.definePageState=Ya;exports.defineSimpleItem=gl;exports.deleteGlobalValidator=ni;exports.disabledProperty=Ve;exports.divide=cl;exports.excludeProps=$e;exports.extend=ut;exports.floatData=Xr;exports.getGlobalValidateCheckEvents=Ma;exports.getGlobalValidateResetEvents=_a;exports.getPageContentAreaHeight=Qt;exports.getPageContentAreaWidth=en;exports.getPageFooterAreaHeight=Ot;exports.getPageHeaderAreaHeight=Pt;exports.getRootDomain=vt;exports.hasSymbol=Ea;exports.includeProps=Rt;exports.indexOf=Ur;exports.installRules=Ka;exports.integerLength=Fa;exports.isArray=Mr;exports.isArrayLike=Ia;exports.isBrowser=lt;exports.isDate=tt;exports.isESModule=zr;exports.isEmptyString=fe;exports.isEqual=Le;exports.isFunction=Qn;exports.isHidden=an;exports.isInnerPage=ui;exports.isMap=Lr;exports.isNil=dl;exports.isNumberString=Aa;exports.isObject=Me;exports.isPlainObject=el;exports.isPromise=Xt;exports.isRegExp=Oa;exports.isSet=_r;exports.isString=Da;exports.isSubPage=ci;exports.isSymbol=qr;exports.isTouch=Dn;exports.isWindow=Va;exports.lastIndexOf=Gr;exports.makeArray=Wr;exports.merge=Pa;exports.multiply=Ta;exports.negate=$a;exports.nextTick=Hr;exports.numberFormat=ln;exports.objectToString=Na;exports.once=ii;exports.overrideGlobalValidateHandler=ei;exports.picker=Lt;exports.property=Ne;exports.raf=fl;exports.readonlyProperty=Ee;exports.setGlobalValidateCheckEvents=li;exports.setGlobalValidateHandler=Qr;exports.setGlobalValidateMessages=ai;exports.setGlobalValidateResetEvents=oi;exports.setGlobalValidator=ti;exports.throttle=ja;exports.toBoolean=ue;exports.toNumber=me;exports.toPadding=Ke;exports.toPx=pe;exports.toPxDesc=Pe;exports.toTypeString=on;exports.toValue=he;exports.tryTimes=un;exports.typeOf=Zt;exports.unNumberFormat=ka;exports.updatePageState=nl;exports.useBroadcast=Nt;exports.useDomain=Xe;exports.useExpose=ve;exports.useInnerSize=vl;exports.usePageState=fn;exports.usePosition=Sl;exports.useRawTouch=Nn;exports.useRect=Ul;exports.useSize=dn;exports.useTouch=Nr;exports.valueLength=Ye;
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var ii=Object.create,Xr=Object.defineProperty,si=Object.getOwnPropertyDescriptor,ui=Object.getOwnPropertyNames,ci=Object.getPrototypeOf,di=Object.prototype.hasOwnProperty,it=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),fi=(t,a,n,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(var i=ui(a),o=0,s=i.length,u;o<s;o++)u=i[o],!di.call(t,u)&&u!==n&&Xr(t,u,{get:(e=>a[e]).bind(null,u),enumerable:!(r=si(a,u))||r.enumerable});return t},st=(t,a,n)=>(n=t!=null?ii(ci(t)):{},fi(a||!t||!t.__esModule?Xr(n,"default",{value:t,enumerable:!0}):n,t));let l=require("vue"),vt=require("@fox-js/validator"),B=require("element-plus"),$e=require("@element-plus/icons-vue"),Se=require("@fox-js/i18n");var nl=window,mi=typeof window<"u";function hi(){return typeof nl<"u"?nl.requestAnimationFrame||nl.webkitRequestAnimationFrame||function(t){nl.setTimeout(t,1e3/60)}:function(t){setTimeout(t,1e3/60)}}function pi(t){mi?cancelAnimationFrame(t):clearTimeout(t)}var $n=hi();function ml(t,a="0"){let n=0,r=-1;t[0]=="-"&&(n++,r=1,t=t.substring(1),t.length),a[0]=="-"&&(n++,r=2,a=a.substring(1),a.length),t=He(t),a=He(a),[t,a]=Vn(He(t),He(a)),n==1&&(r==1?t=Jl(t):a=Jl(a));let i=Zr(t,a);return n?n==2?"-"+He(i):t.length<i.length?He(i.substring(1)):"-"+He(Jl(i)):He(i)}function Jl(t){let a="",n=t.length,r=t.split(".")[1],i=r?r.length:0;for(let s=0;s<n;s++)t[s]>="0"&&t[s]<="9"?a+=9-parseInt(t[s]):a+=t[s];let o=i>0?"0."+new Array(i).join("0")+"1":"1";return Zr(a,o)}function He(t){let a=t.split(".");for(a[0]||(a[0]="0");a[0][0]=="0"&&a[0].length>1;)a[0]=a[0].substring(1);return a[0]+(a[1]?"."+a[1]:"")}function Vn(t,a){let n=t.split("."),r=a.split("."),i=n[0].length,o=r[0].length;return i>o?r[0]=new Array(Math.abs(i-o)+1).join("0")+(r[0]?r[0]:""):n[0]=new Array(Math.abs(i-o)+1).join("0")+(n[0]?n[0]:""),i=n[1]?n[1].length:0,o=r[1]?r[1].length:0,(i||o)&&(i>o?r[1]=(r[1]?r[1]:"")+new Array(Math.abs(i-o)+1).join("0"):n[1]=(n[1]?n[1]:"")+new Array(Math.abs(i-o)+1).join("0")),t=n[0]+(n[1]?"."+n[1]:""),a=r[0]+(r[1]?"."+r[1]:""),[t,a]}function Zr(t,a){[t,a]=Vn(t,a);let n="",r=0;for(let i=t.length-1;i>=0;i--){if(t[i]==="."){n="."+n;continue}let o=parseInt(t[i])+parseInt(a[i])+r;n=o%10+n,r=Math.floor(o/10)}return r?r.toString()+n:n}var Be=(function(t){return t[t.CEILING=0]="CEILING",t[t.DOWN=1]="DOWN",t[t.FLOOR=2]="FLOOR",t[t.HALF_DOWN=3]="HALF_DOWN",t[t.HALF_EVEN=4]="HALF_EVEN",t[t.HALF_UP=5]="HALF_UP",t[t.UNNECESSARY=6]="UNNECESSARY",t[t.UP=7]="UP",t})({});function jt(t,a=0,n=Be.HALF_EVEN){if(n===Be.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof t=="number"&&(t=t.toString());let r=!1;t[0]==="-"&&(r=!0,t=t.substring(1));let i=t.split("."),o=i[0],s=i[1];if(a<0){if(a=-a,o.length<=a)return"0";{let e=o.substr(0,o.length-a);return t=e+"."+o.substr(o.length-a)+s,e=jt(t,0,n),(r?"-":"")+e+new Array(a+1).join("0")}}if(a==0)return o.length,Oa(i[1],o,r,n)?(r?"-":"")+Ql(o):(r?"-":"")+o;if(i[1]){if(i[1].length<a)return(r?"-":"")+o+"."+i[1]+new Array(a-i[1].length+1).join("0")}else return(r?"-":"")+o+"."+new Array(a+1).join("0");s=i[1].substring(0,a);let u=i[1].substring(a);return u&&Oa(u,s,r,n)&&(s=Ql(s),s.length>a)?(r?"-":"")+Ql(o,parseInt(s[0]))+"."+s.substring(1):(r?"-":"")+o+"."+s}function Oa(t,a,n,r){if(!t||t===new Array(t.length+1).join("0")||r===Be.DOWN||!n&&r===Be.FLOOR||n&&r===Be.CEILING)return!1;if(r===Be.UP||n&&r===Be.FLOOR||!n&&r===Be.CEILING)return!0;let i="5"+new Array(t.length).join("0");if(t>i)return!0;if(t<i)return!1;switch(r){case Be.HALF_DOWN:return!1;case Be.HALF_UP:return!0;case Be.HALF_EVEN:default:return parseInt(a[a.length-1])%2==1}}function Ql(t,a=0){a||(a=1),typeof t=="number"&&t.toString();let n=t.length-1,r="";for(let i=n;i>=0;i--){let o=parseInt(t[i])+a;o==10?(a=1,o=0):a=0,r+=o}return a&&(r+=a),r.split("").reverse().join("")}function fn(t,a){t=t.toString(),a=a.toString();let n=0;t[0]=="-"&&(n++,t=t.substr(1)),a[0]=="-"&&(n++,a=a.substr(1)),t=It(t),a=It(a);let r=0,i=0;t.indexOf(".")!=-1&&(r=t.length-t.indexOf(".")-1),a.indexOf(".")!=-1&&(i=a.length-a.indexOf(".")-1);let o=r+i;if(t=It(t.replace(".","")),a=It(a.replace(".","")),t.length<a.length){let f=t;t=a,a=f}if(a=="0")return"0";let s=a.length,u=0,e=[],c=s-1,m="";for(let f=0;f<s;f++)e[f]=t.length-1;for(let f=0;f<2*t.length;f++){let p=0;for(let b=a.length-1;b>=c&&b>=0;b--)e[b]>-1&&e[b]<t.length&&(p+=parseInt(t[e[b]--])*parseInt(a[b]));p+=u,u=Math.floor(p/10),m=p%10+m,c--}return m=It(gi(m,o)),n==1&&(m="-"+m),m}function gi(t,a){return a==0?t:(t=a>=t.length?new Array(a-t.length+1).join("0")+t:t,t.substr(0,t.length-a)+"."+t.substr(t.length-a,a))}function It(t){for(;t[0]=="0";)t=t.substr(1);if(t.indexOf(".")!=-1)for(;t[t.length-1]=="0";)t=t.substr(0,t.length-1);return t==""||t=="."?t="0":t[t.length-1]=="."&&(t=t.substr(0,t.length-1)),t[0]=="."&&(t="0"+t),t}function mn(t,a,n=8){if(a==0)throw new Error("Cannot divide by 0");if(t=t.toString(),a=a.toString(),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),a=a.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t==0)return"0";let r=0;a[0]=="-"&&(a=a.substring(1),r++),t[0]=="-"&&(t=t.substring(1),r++);var i=a.indexOf(".")>0?a.length-a.indexOf(".")-1:-1;if(a=He(a.replace(".","")),i>=0){let c=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(c==-1)t=He(t+new Array(i+1).join("0"));else if(i>c)t=t.replace(".",""),t=He(t+new Array(i-c+1).join("0"));else if(i<c){t=t.replace(".","");let m=t.length-c+i;t=He(t.substring(0,m)+"."+t.substring(m))}else i==c&&(t=He(t.replace(".","")))}let o=0,s=a.length,u="",e=t.indexOf(".")>-1&&t.indexOf(".")<s?t.substring(0,s+1):t.substring(0,s);if(t=t.indexOf(".")>-1&&t.indexOf(".")<s?t.substring(s+1):t.substring(s),e.indexOf(".")>-1){let c=e.length-e.indexOf(".")-1;e=e.replace(".",""),s>e.length&&(c+=s-e.length,e=e+new Array(s-e.length+1).join("0")),o=c,u="0."+new Array(c).join("0")}for(n=n+2;o<=n;){let c=0;for(;parseInt(e)>=parseInt(a);)e=ml(e,"-"+a),c++;u+=c,t?(t[0]=="."&&(u+=".",o++,t=t.substring(1)),e=e+t.substring(0,1),t=t.substring(1)):(o||(u+="."),o++,e=e+"0")}return(r==1?"-":"")+He(jt(u,n-2))}function hn(t,a){return t=t.toString(),a=a.toString(),a=pn(a),ml(t,a)}function pn(t){return t[0]=="-"?t=t.substr(1):t="-"+t,t}function Ha(t,a){if(a==0)throw new Error("Cannot divide by 0");t=t.toString(),a=a.toString(),qa(t),qa(a);let n="";t[0]=="-"&&(n="-",t=t.substr(1)),a[0]=="-"&&(a=a.substr(1));let r=hn(t,fn(a,jt(mn(t,a),0,Be.FLOOR)));return n+r}function qa(t){if(t.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function ja(t,a){let n=!1;if(t[0]=="-"&&a[0]!="-")return-1;if(t[0]!="-"&&a[0]=="-")return 1;if(t[0]=="-"&&a[0]=="-"&&(t=t.substr(1),a=a.substr(1),n=!0),[t,a]=Vn(t,a),t.localeCompare(a)==0)return 0;for(let r=0;r<t.length;r++)if(t[r]!=a[r])return t[r]>a[r]?n?-1:1:n?1:-1;return 0}var Ut=class pe{value;static RoundingModes=Be;static validate(a){if(a){if(a=a.toString(),isNaN(a))throw Error("Parameter is not a number: "+a);a[0]=="+"&&(a=a.substring(1))}else a="0";if(a.startsWith(".")?a="0"+a:a.startsWith("-.")&&(a="-0"+a.substr(1)),/e/i.test(a)){let[n,r]=a.split(/[eE]/);n=He(n);let i="";n[0]=="-"&&(i="-",n=n.substring(1)),n.indexOf(".")>=0?(r=parseInt(r)+n.indexOf("."),n=n.replace(".","")):r=parseInt(r)+n.length,n.length<r?a=i+n+new Array(r-n.length+1).join("0"):n.length>=r&&r>0?a=i+He(n.substring(0,r))+(n.length>r?"."+n.substring(r):""):a=i+"0."+new Array(-r+1).join("0")+n}return a}constructor(a="0"){this.value=pe.validate(a)}getValue(){return this.value}static getPrettyValue(a,n,r){if(!(n||r))n=3,r=",";else if(!(n&&r))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");a=pe.validate(a);let i=a.charAt(0)=="-";i&&(a=a.substring(1));var o=a.indexOf(".");o=o>0?o:a.length;for(var s="",u=o;u>0;)u<n?(n=u,u=0):u-=n,s=a.substring(u,u+n)+(u<o-n&&u>=0?r:"")+s;return(i?"-":"")+s+a.substring(o)}getPrettyValue(a,n){return pe.getPrettyValue(this.value,a,n)}static round(a,n=0,r=Be.HALF_EVEN){if(a=pe.validate(a),isNaN(n))throw Error("Precision is not a number: "+n);return jt(a,n,r)}round(a=0,n=Be.HALF_EVEN){if(isNaN(a))throw Error("Precision is not a number: "+a);return new pe(jt(this.value,a,n))}static floor(a){return a=pe.validate(a),a.indexOf(".")===-1?a:pe.round(a,0,Be.FLOOR)}floor(){return this.value.indexOf(".")===-1?new pe(this.value):new pe(this.value).round(0,Be.FLOOR)}static ceil(a){return a=pe.validate(a),a.indexOf(".")===-1?a:pe.round(a,0,Be.CEILING)}ceil(){return this.value.indexOf(".")===-1?new pe(this.value):new pe(this.value).round(0,Be.CEILING)}static add(a,n){return a=pe.validate(a),n=pe.validate(n),ml(a,n)}add(a){return new pe(ml(this.value,a.getValue()))}static subtract(a,n){return a=pe.validate(a),n=pe.validate(n),hn(a,n)}subtract(a){return new pe(hn(this.value,a.getValue()))}static multiply(a,n){return a=pe.validate(a),n=pe.validate(n),fn(a,n)}multiply(a){return new pe(fn(this.value,a.getValue()))}static divide(a,n,r){return a=pe.validate(a),n=pe.validate(n),mn(a,n,r)}divide(a,n){return new pe(mn(this.value,a.getValue(),n))}static modulus(a,n){return a=pe.validate(a),n=pe.validate(n),Ha(a,n)}modulus(a){return new pe(Ha(this.value,a.getValue()))}static compareTo(a,n){return a=pe.validate(a),n=pe.validate(n),ja(a,n)}compareTo(a){return ja(this.value,a.getValue())}static negate(a){return a=pe.validate(a),pn(a)}negate(){return new pe(pn(this.value))}};function Jr(t,a){return Ut.multiply(`${t}`,`${a}`)}function Bn(t,a,n=8){return Ut.divide(`${t}`,`${a}`,n)}var Ip=Ut.RoundingModes;function gn(t,a){return t=`${t}`,a=`${a}`,Ut.compareTo(t,a)}function Qr(t){return Ut.negate(t)}function Sl(t,a=-1,n=!1,r=3,i=","){let o=`${t}`;if(o.length==0||o==="-")return"";let s=o.charAt(0);s=="-"?o=o.substring(1):s="";let u=o,e="",c=o.indexOf(".");c!=-1&&(u=o.substring(0,c),e=o.substring(c+1)),a!=-1&&(a<e.length?e=e.substring(0,a):n&&a>e.length&&(e=e.padEnd(a,"0")));let m;if(r>0){let f="",p=u.split("").reverse();for(let b=0;b<p.length;b++)f+=p[b]+((b+1)%r==0&&b+1!=p.length?i:"");e.length==0?m=`${s}${f.split("").reverse().join("")}`:m=`${s}${f.split("").reverse().join("")}.${e}`}else e.length==0?m=`${s}${u}`:m=`${s}${u}.${e}`;return m}function eo(t){let a=`${t}`,n=a.charAt(0);n=="-"?a=a.substring(1):n="";let r=a.replace(/[^\d\.-]/g,"");return`${n}${r}`}var Dn=$n,vi=Array.isArray,yi=t=>xl(t)==="[object Map]",bi=t=>xl(t)==="[object Set]",ft=t=>t instanceof Date,vn=t=>typeof t=="function",to=t=>typeof t=="string",wi=t=>typeof t=="symbol",Ke=t=>t!==null&&typeof t=="object",hl=t=>Ke(t)&&vn(t.then)&&vn(t.catch),lo=Object.prototype.toString,xl=t=>lo.call(t),Si=t=>xl(t)==="[object Object]",no=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function xi(t){return t.__esModule||no&&t[Symbol.toStringTag]==="Module"}var Ci=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function _t(...t){let a=t[0]!==void 0&&t[0]!==null?t[0]:{},n=1,r=t.length,i=!1;for(typeof a=="boolean"&&(i=a,a=t[n]??{},n++),typeof a!="object"&&(a={});n<r;n++)if(t[n]!==null&&t[n]!==void 0){let o=t[n];for(let s in o){let u=a[s],e=o[s];if(u!==e)if(i===!0&&e&&typeof e=="object"){let c;Array.isArray(e)?c=u&&Array.isArray(u)?u:[]:c=u&&typeof u=="object"?u:{},a[s]=_t(i,c,e)}else e!==void 0&&(a[s]=e)}}return a}var en=Ci?Promise.resolve():null;function Ni(t,...a){en!==null?a&&a.length>0?en.then(()=>{t(a)}):en.then(t):a&&a.length>0?setTimeout(()=>{t(a)}):setTimeout(t)}function de(t){return t==null?!1:typeof t=="boolean"?t:typeof t=="string"?t.toLocaleLowerCase()==="true":!!t}function ve(t){return typeof t=="number"?t:Number(t)}var ki={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function pl(t){let a=Object.prototype.toString.call(t);return t==null?String(t):ki[a]||"object"}function ao(t){if(!t||t.nodeType!==1)return!0;let a=t;for(;a;){if(a.hidden)return!0;const n=window.getComputedStyle(a);if(n.display==="none"||n.visibility==="hidden"||n.visibility==="collapse")return!0;a=a.parentElement}return!1}function Mn(t){if(!t)return!0;if(t.offsetParent!==null)return!1;if(getComputedStyle(t).position!=="fixed")return!0;let a=t.parentElement;for(;a;){if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function ro(t){return t&&typeof t=="object"&&"setInterval"in t}function oo(t){let a=!!t&&"length"in t&&t.length,n=pl(t);return n==="function"||ro(t)?!1:n==="array"||a===0||typeof a=="number"&&a>0&&a-1 in t}function io(t,a){let n=+a.length,r=0,i=t.length;for(;r<n;r++)t[i++]=a[r];return t.length=i,t}function zi(t,a=[]){let n=a;return t!=null&&(oo(Object(t))?io(n,typeof t=="string"?[t]:t):n.push(t)),n}function Ue(t,a){if(t==a)return!0;if(t===void 0||a===void 0)return!1;let n=pl(t);if(n!==pl(a))return!1;if(n==="object"){let r=Object.keys(t),i=Object.keys(a);if(r.length!==i.length)return!1;for(let o=0;o<r.length;o++){let s=r[o],u=t[s],e=a[s];if(!Ue(u,e))return!1}return!0}else if(n==="array"){if(t.length!==a.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=a[r];if(!Ue(i,o))return!1}return!0}return!1}var ht=typeof window<"u";function We(t){return t==null}function yn(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var fe=t=>t==null||typeof t!="string"?!1:t.length===0;function In(t){return fe(t)?!0:(t.charAt(0)=="-"&&(t=t.substring(1)),fe(t)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(t))}function so(t){if(t==null)return 0;let a=`${t}`;if(a.length==0)return 0;a.charAt(0)=="-"&&(a=a.substring(1)),a=a.replace(/[^\d\.-]/g,"");const n=a.indexOf(".");return n==-1?a.length:n}function uo(t){if(t==null)return 0;const a=`${t}`;if(a.length==0)return 0;const n=a.indexOf(".");return n==-1?0:a.length-(n+1)}function Ka(t,a,n){const r=t.indexOf(a);return r===-1?t:a==="-"&&r!==0?t.slice(0,r):t.slice(0,r+1)+t.slice(r).replace(n,"")}function Ei(t,a=!0,n=!0){a?t=Ka(t,".",/\./g):t=t.replace(/\./g,""),n?t=Ka(t,"-",/-/g):t=t.replace(/-/,"");const r=a?/[^-0-9.]/g:/[^-0-9]/g;return t.replace(r,"")}function Ti(t,a){return typeof t=="object"||Array.isArray(t)?a.findIndex(n=>{if(Ue(t,n))return!0}):a.indexOf(t)}function _i(t,a){if(typeof t=="object"||Array.isArray(t)){let n=a.reverse().findIndex(r=>{if(Ue(t,r))return!0});return n!==-1&&(n=a.length-1-n),n}return a.lastIndexOf(t)}function Je(t){return t==null||t==null?0:typeof t=="string"?t.length:`${t}`.length}function lt(t,...a){const n={};return a.forEach(r=>{for(const i in r)n[i]=t[i]}),n}function Me(t,...a){const n=[];a.forEach(i=>{Reflect.apply([].push,n,Reflect.ownKeys(i))});const r={};for(const i in t)n.includes(i)||(r[i]=t[i]);return r}var $i=(t,a,n)=>{const r=Object.assign({},t),i=Object.assign({},n);return Object.keys(a).length>0?(Object.keys(r).forEach(o=>{i.hasOwnProperty(o)?typeof i[o]=="string"&&(r[o]=a[i[o]]):a[o]&&(r[o]=a[o])}),r):t},_e=Symbol.for("BroadcastKey"),An=class{parent;children=[];callbacks=new Map;proxy=null;name;persistantMessages=new Map;constructor(t,a,n){this.parent=t,this.proxy=a,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const a=this.children.findIndex(n=>t===n);a!==-1&&this.children.splice(a,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.proxy=null}setPersistantMessage(t,a,n){if(!t.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const r=t.uniqueId,i={matched:t,action:a,args:n};return this.persistantMessages.set(r,i),!0}deletePersistantMessage(t){this.persistantMessages.delete(t)}getPersistantMessages(){const t=[];return this.persistantMessages.forEach(a=>{t.push(a)}),t}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(t,a){if(!a||a.messagingPolicy==="Once"&&a.resolved===!0)return!1;let n=!1;return!a.name||a.name==="*"||a.name==="+"||yn(a.name)&&t&&a.name.test(t)?n=!0:typeof a.name=="function"?n=Reflect.apply(a.name,null,[t]):a.name===t&&(n=!0),n}trigger(t,a,n){let r=null;const i=this.callbacks.get(a);typeof i=="function"&&(r=Reflect.apply(i,this.proxy,[...n]));const o=this.proxy??{};typeof o[a]=="function"&&(r=Reflect.apply(o[a],o,[...n])),t.resolved=!0,typeof t.resolve=="function"&&t.resolve(r)}pull(){let t=this.parent;for(;t;){const a=t.getPersistantMessages();Array.isArray(a)&&a.length>0&&a.forEach(n=>{if(this.isMatched(this.name,n.matched))try{this.trigger(n.matched,n.action,n.args)}catch(r){console.error(r)}}),t=t.parent}}emit(t,a,...n){if(t.messagingPolicy==="Once"&&t.resolved===!0)return[];if(t.cachePolicy==="Persistant")this.setPersistantMessage(t,a,n),t.cachePolicy="None";else if(t.cachePolicy==="Unresolved"){if(this.setPersistantMessage(t,a,n)){const o=t.resolve,s=t.uniqueId??"",u=(...e)=>{this.deletePersistantMessage(s),typeof o=="function"&&o(...e)};t.resolve=u}t.cachePolicy="None"}let r=!1;!t.name||t.name==="*"?r=!0:t.name==="+"?(r=!1,t.name="*"):yn(t.name)&&this.name&&t.name.test(this.name)?r=!0:typeof t.name=="function"?r=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(r=!0);const i=[];if(r){const o=this.callbacks.get(a);if(typeof o=="function"){const u=Reflect.apply(o,this.proxy,[...n]);u!=null&&i.push(u)}const s=this.proxy??{};if(typeof s[a]=="function"){const u=Reflect.apply(s[a],s,[...n]);u!=null&&i.push(u)}if(t.resolved=!0,typeof t.resolve=="function"&&t.resolve(...i),t.messagingPolicy==="Once")return i}return this.children.forEach(o=>{const s=Reflect.apply(o.emit,o,[{...t},a,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,i,[...s])}),i}emitToChildren(t,a,...n){if(t.cachePolicy==="Persistant")this.setPersistantMessage(t,a,n),t.cachePolicy="None";else if(t.cachePolicy==="Unresolved"){if(this.setPersistantMessage(t,a,n)){const i=t.resolve,o=t.uniqueId??"",s=(...u)=>{this.deletePersistantMessage(o),typeof i=="function"&&i(...u)};t.resolve=s}t.cachePolicy="None"}const r=[];return this.children.forEach(i=>{const o=Reflect.apply(i.emit,i,[{...t},a,...n]);o!=null&&Array.isArray(o)&&Reflect.apply([].push,r,[...o])}),r}on(t,a){this.callbacks.set(t,a)}};function Cl(t,a,n,r){const i=new An(a,t,n);if(r&&typeof r=="object")for(const o in r)i.on(o,r[o]);return i}function Vi(t,a,n){const r=n;if(r[_e])return r[_e];const i=new An((0,l.inject)(_e,null),n,t);if(a&&typeof a=="object")for(const o in a)i.on(o,a[o]);return r[_e]=i,(0,l.provide)(_e,i),(0,l.onUnmounted)(()=>{i.destroy(),r[_e]=void 0}),i}function Rt(t=null){return t||(t=(0,l.getCurrentInstance)()?.proxy??null),t?t[_e]??(0,l.inject)(_e,null):(0,l.inject)(_e,null)}var Bi=class{error(t,a){const n=a,r=a||(0,l.hasInjectionContext)()?Rt(a):null;r?r.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const a=t,n=t||(0,l.hasInjectionContext)()?Rt(t):null;n?n.emit({name:"*"},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}success(t){const a=t,n=t||(0,l.hasInjectionContext)()?Rt(t):null;n?n.emit({name:"*"},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}decorate(t,a,n){Array.isArray(t)||(t=[t]);const r=n,i=n||(0,l.hasInjectionContext)()?Rt(n):null,o=a.find(u=>u.required===!0||u.type==="required"&&u.required!==!1),s=t.find(u=>u.required===!0||u.type==="required"&&u.required!==!1);!o&&s?i?i.emit({name:"*"},"setRequired",!0):typeof r.setRequired=="function"&&r.setRequired(!0):o&&!s&&(i?i.emit({name:"*"},"setRequired",!1):typeof r.setRequired=="function"&&r.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}},Ot=new Bi;function Di(t){Ot=t}function Mi(t){Ot?Object.assign(Ot,t):Ot=t}function Ii(t,a){vt.Schema.setValidator(t,a)}function Ai(t){vt.Schema.deleteValidator(t)}var co=["blur","clear"];function Li(t){co=t}function fo(){return co}var mo=["focus","change","setValue"];function Pi(t){mo=t}function ho(){return mo}function Fi(t){vt.Schema.messages(t)}function At(...t){const a=[];return t.forEach(n=>{n.forEach(r=>{const i=a.findIndex(o=>o.type===r.type);i!==-1&&a.splice(i,1),a.push(r)})}),a}function al(t){return t.forEach(a=>{a.type==="required"&&(a.required===null||a.required===void 0)&&(a.required=!0),!a.type&&(a.required===!0||a.required===!1)&&(a.type="required")}),t}var Ze=Symbol("ValidateSchemaKey"),po=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,a,n){this.parent=t,this.descriptor=a,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;t&&(this.scope=(0,l.effectScope)(!0),this.scope.run(()=>{(0,l.watchEffect)(()=>{const a=al(At(this.attrRules,this.rules)),n=[];for(let i in t){let o=t[i];if(this.hasValidator(i,!0)){if(o===!1)continue;let u={type:i};o!==null&&typeof o=="object"&&Object.assign(u,o),n.push(u);continue}let s=this.getValidator(i);if(s!==null){let u={type:i,validator:s};n.push(u)}}this.attrRules=al(n);const r=At(this.attrRules,this.rules);(0,l.nextTick)(()=>{this.decorate(r,a)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(t,...a){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...a]);const r=Ot;return r&&typeof r[t]=="function"?Reflect.apply(r[t],r,[...a]):null}decorate(t,a){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,a,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,a,n=!1){n?vt.Schema.setValidator(t,a):this.validators[t]=a}getValidator(t){let a=this.validators[t]??null;return a||(a=this.parent?.getValidator(t)??null),a}deleteValidator(t,a=!1){a?vt.Schema.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,a=!1){if(a)return vt.Schema.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const a=At(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=al(t):this.rules=al([t]);const n=At(this.attrRules,this.rules);(0,l.nextTick)(()=>{this.decorate(n,a)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let t=At(this.attrRules,this.rules);const a=this.descriptor.fieldName??"value";if(t.length>0){const n={[`${a}`]:t},r=this.getValue(),i={[`${a}`]:r},o=new vt.Schema(n),s=this.proxy??i;return o.validate(i,{context:s}).then(u=>{if(u.pass)this.success();else{let e="error";Array.isArray(u.errors)&&u.errors.length>0&&(e=u.errors[0].message??e,u.errors=[u.errors[0]],u.errors[0].ref=s),this.error(e)}return u}).catch(u=>{const e=u.message??`${u}`;return this.error(e),u})}}return Promise.resolve({pass:!0})}};function Nl(t,a,n){if(n.valueName=n.valueName??"modelValue",n.valueType=n.valueType??"string",!n.validateHandler&&n.valueName!=="modelValue"){const r=n.valueName;n.validateHandler={getValue(i){return i[r]}}}return new po(a,n,t)}var gl=Symbol.for("EventEmitterKey"),go=class{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,a){let n=this.register.get(t);if(n&&Array.isArray(n)){let r=n.findIndex(i=>i===a);r!==-1&&n.splice(r,1)}}on(t,a){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(a)}emit(t,...a){const n=this.register.get(t);n&&n.forEach(r=>{try{Reflect.apply(r,null,[t,...a])}catch(i){console.error(i.message,i)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...a])}};function Ge(t,a){let n=null;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,Reflect.apply(t,null,[...r])},a)}}function vo(t,a){let n=0;return function(...r){const i=new Date().getTime();i-n<a||(n=i,Reflect.apply(t,null,[...r]))}}function Ri(t,a){const n=Ge((r,i)=>{t=r,i()},a);return(0,l.customRef)((r,i)=>({get(){return r(),t},set(o){n(o,i)}}))}function Oi(t){let a=!1;return function(...n){a||(a=!0,Reflect.apply(t,null,[...n]))}}function kl(t,a,n,r=0,i=!0,o){let s=a,u=0;if(i){const c=t();if(u++,c){typeof o=="function"&&o(!0);return}if(u>n){typeof o=="function"&&o(!1);return}}const e=()=>{const c=t();if(u++,c){typeof o=="function"&&o(!0);return}if(u>n){typeof o=="function"&&o(!1);return}s+=r,setTimeout(e,s)};setTimeout(e,s)}var Ye=Symbol("DomainKey"),Ct=Symbol("DataItemsKey"),zl=class{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}_props=(0,l.reactive)({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,a=[]){for(const n in t){const r=t[n];a.length>0&&a.indexOf(r)!==-1||(this._props[n]=r)}}has(t){if(Reflect.has(this._props,t)){const a=this._props[t];if(a!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,a){this._props[t]=a}get(t,a){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?a:this.parent.get(t,a)}getForParent(t,a){return this.parent==null?a:this.parent.get(t,a)}getForSelf(t){return this._props[t]}getAll(t){const a=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const r=n._props[t];a.push(r)}n=n._parent}return a}},Hi=new zl;function zt(){return Hi}function pt(t=null){return t||(t=(0,l.getCurrentInstance)()?.proxy??null),t?t[Ye]??(0,l.inject)(Ye,null):(0,l.inject)(Ye,null)}var tn=Symbol("OriginalDateKey");function Ln(t,a,n=[],r){const i=(0,l.getCurrentInstance)();let o=i?.proxy,s=(0,l.inject)(Ye,null);s===null&&(s=zt());const u=t||a.prop||a.name;let e=new zl(u);e.parent=s;const c=v=>{o[tn]||p(v),e?.set("modelValue",v)},m=()=>e?.getForSelf("modelValue")??null,f=()=>o[tn]??null,p=v=>{const h={};_t(!0,h,(0,l.toRaw)(v)),o[tn]=h};(0,l.isReactive)(a)||typeof a=="function"?(0,l.watch)(a,v=>{e?.merge(v,n)},{immediate:!0}):e.merge(a,n),a.modelValue&&p(a.modelValue);const b=(v,h)=>{e?.set(v,h)},k=v=>e?.getForSelf(v)??null;if(o[Ye]=e,(0,l.provide)(Ye,e),i!==null){const v=(0,l.inject)(_e,null),h=Cl(o,v,u,r);e.broadcast=h,o[_e]=h,(0,l.provide)(_e,h),o.broadcast=(d,z,...M)=>Reflect.apply(h.emit,h,[d,z,...M]);const $=(0,l.inject)(Ze,null),g=Nl(o,$,{componentName:""});e.validateSchema=g,o[Ze]=g,(0,l.provide)(Ze,g),o[Ct]=new Map,o.validate=(d=!0)=>{const z=[];let M=null;const _={deep:!1};if(d===!0)M={name:"*"};else if(Array.isArray(d)&&d.length>0){const S=d;M={name:V=>V?S.indexOf(V)!==-1:!1}}else if(d!=null&&typeof d=="object"){const S=d;if(Object.assign(_,S),Array.isArray(S.include)&&S.include.length>0){const V=S.include;M={name:w=>w?V.indexOf(w)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const V=S.exclude;M={name:w=>w?V.indexOf(w)===-1:!1}}else M={name:"*"}}if(M){const S=h?.emitToChildren(M,"validate",_);S&&Reflect.apply([].push,z,S)}return z.length==1?z[0]:z.length>1?Promise.all(z).then(S=>{let V=[];return S.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(V=[...V,...w.errors])}),V.length>0?{pass:!1,errors:V}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=(d,z=!0,M=!1)=>{if(M===!0){Reflect.ownKeys(d).forEach(_=>{let S=String(_);const V={componentName:"",fieldName:S,pureDataValidate:!0};if(e){const w=bo(e,S,V,h,g);o[Ct].set(S,w);const O=d[S];O&&w.validateSchema.setRule(O)}});return}if(z){const _=Reflect.ownKeys(d);h?.emitToChildren({name:S=>_.includes(S),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",d,!1)}},o.clearValidate=(d=!0)=>{let z=null;if(d===!0)z={name:"*"};else if(Array.isArray(d)&&d.length>0){const M=d;z={name:_=>_?M.indexOf(_)!==-1:!1}}else if(d!=null&&typeof d=="object"){const M=d;if(Array.isArray(M.include)&&M.include.length>0){const _=M.include;z={name:S=>S?_.indexOf(S)!==-1:!1}}else if(Array.isArray(M.exclude)&&M.exclude.length>0){const _=M.exclude;z={name:S=>S?_.indexOf(S)===-1:!1}}else z={name:"*"}}z&&h?.emitToChildren(z,"clearValidate",!1)},o.resetFields=d=>{const z=m();if(!z)return;const M={};if(_t(!0,M,f()??{}),Array.isArray(d))d.forEach(_=>{z[_]=M[_]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(_=>{z[_]=M[_]});else if(d&&Array.isArray(d.exclude)){let _=d.exclude??[];Reflect.ownKeys(M).forEach(S=>{_.includes(S)||(z[S]=M[S])})}else Object.assign(z,M);o.clearValidate(d)},o.setModelValue=(d,z)=>{if(!z||z===u)c(d);else{const M={name:z,messagingPolicy:"Once"};h?.emitToChildren(M,"setModelValue",d)}},o.getModelValue=()=>m(),o.setDomainProperty=(d,z)=>{b(d,z)},o.getDomainProperty=d=>k(d),setTimeout(function(){h?.pull()},0)}return(0,l.onUnmounted)(function(){e?.validateSchema&&(e.validateSchema.destroy(),o[Ze]=void 0,(0,l.provide)(Ze,null)),e?.broadcast&&(e?.broadcast?.destroy(),o[_e]=void 0,(0,l.provide)(_e,null)),e?.destroy(),o[Ye]=void 0,(0,l.provide)(Ye,null),o[Ct]&&(o[Ct].clear(),o[Ct]=void 0),o.broadcast=null,o.validate=null,o.setNameValidateRules=null,o.clearValidate=null,o.resetFields=null,o.setModelValue=null,o.getModelValue=null,o.setDomainProperty=null,o.getDomainProperty=null,e=null,o=null}),e}function yo(t,a,n=[]){let r=(0,l.getCurrentInstance)()?.proxy,i=(0,l.inject)(Ye,null);i===null&&(i=zt());let o=new zl(t||a.prop||a.name);return o.parent=i,(0,l.isReactive)(a)||typeof a=="function"?(0,l.watch)(a,s=>{o?.merge(s,n)},{immediate:!0}):o.merge(a,n),r[Ye]=o,(0,l.provide)(Ye,o),(0,l.onUnmounted)(()=>{o?.destroy(),r[Ye]=void 0,(0,l.provide)(Ye,null),o=null,r=null}),o}function Ee(t,a,n){const r=(0,l.getCurrentInstance)()?.proxy,i=a??"";let o=Cl(r,(0,l.inject)(_e,null),i,n);r[_e]=o,(0,l.provide)(_e,o),r.broadcast=(m,f,...p)=>o?Reflect.apply(o.emit,o,[m,f,...p]):null;const s=(0,l.inject)(Ze,null);t.fieldName=t.fieldName??i;let u=Nl(r,s,t);r[Ze]=u,(0,l.provide)(Ze,u),r.validate=(m=null)=>{if(!u)return Promise.resolve({pass:!0});const f=[];let p=!1,b=!1;if(Array.isArray(m)&&m.indexOf(i)!==-1)b=!0,p=!0;else if(m&&typeof m=="object"){const k=m,v=k.ignoreDisabled??!0,h=k.ignoreReadonly??!0,$=k.ignoreHidden??!0;v===!0&&t.disabled===!0||h===!0&&t.readonly===!0||$===!0&&ao(r.$el)?b=!1:(Array.isArray(k.include)&&k.include.indexOf(i)!==-1||Array.isArray(k.exclude)&&k.exclude.indexOf(i),b=!0),p=k.deep??!1}else typeof m=="boolean"&&(p=m),b=!0;if(b){const k=u?.validate();f.push(k)}if(p){let k=null;const v={deep:!1};if(m===!0)k={name:"*"};else if(Array.isArray(m)&&m.length>0){const h=m;k={name:$=>$?h.indexOf($)!==-1:!1}}else if(m!=null&&typeof m=="object"){const h=m;if(Object.assign(v,h),Array.isArray(h.include)&&h.include.length>0){const $=h.include;k={name:g=>g?$.indexOf(g)!==-1:!1}}else if(Array.isArray(h.exclude)&&h.exclude.length>0){const $=h.exclude;k={name:g=>g?$.indexOf(g)===-1:!1}}else k={name:"*"}}if(k&&o){const h=o.emitToChildren(k,"validate",v);Reflect.apply([].push,f,h)}}return f.length==1?f[0]:f.length>1?Promise.all(f).then(k=>{let v=[];return k.forEach(h=>{h.pass===!1&&Array.isArray(h.errors)&&(v=[...v,...h.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=m=>u?.setRule(m),r.setNameValidateRules=(m,f=!1)=>{const p=m[i];p&&u?.setRule(p),f&&o&&o.emitToChildren({name:b=>Reflect.ownKeys(m).includes(b)},"setNameValidateRules",m,!1)},r.clearValidate=(m=null)=>{(!Array.isArray(m)||m.indexOf(a??"")!==-1)&&u?.clear();let f=null;if(m===!0)f={name:"*"};else if(Array.isArray(m)&&m.length>0){const p=m;f={name:b=>b?p.indexOf(b)!==-1:!1}}else if(m!=null&&typeof m=="object"){const p=m;if(Array.isArray(p.include)&&p.include.length>0){const b=p.include;f={name:k=>k?b.indexOf(k)!==-1:!1}}else if(Array.isArray(p.exclude)&&p.exclude.length>0){const b=p.exclude;f={name:k=>k?b.indexOf(k)===-1:!1}}else f={name:"*"}}f&&o&&o.emitToChildren(f,"clearValidate",!1)};let e=new go(r);r[gl]=e;const c=Ge((m="validate")=>{u&&(m==="reset"?u.clear():u.validate())},60);return(Array.isArray(t.validateCheckEvents)?t.validateCheckEvents:fo()).forEach(m=>{e&&e.on(m,f=>{c("validate")})}),(Array.isArray(t.validateResetEvents)?t.validateResetEvents:ho()).forEach(m=>{e&&e.on(m,f=>{c("reset")})}),setTimeout(function(){o?.pull()},0),(0,l.onUnmounted)(()=>{o?.destroy(),r[_e]=void 0,(0,l.provide)(_e,null),o=null,u?.destroy(),r[Ze]=void 0,(0,l.provide)(Ze,null),u=null,e?.destroy(),r[gl]=void 0,e=null,r.broadcast=null,r.validate=null,r.setValidateRule=null,r.setNameValidateRules=null,r.clearValidate=null}),{broadcast:o,validateSchema:u,emitEvent:(m,...f)=>{e&&Reflect.apply(e.emit,e,[m,...f])},onEvent:(m,f)=>{e&&Reflect.apply(e.on,e,[f])},offEvent:(m,f)=>{e&&Reflect.apply(e.off,e,[f])}}}function bo(t,a,n,r,i){const o={},s=a??"",u={getValue(){const m=t.getForSelf("modelValue");return m?m[s]:null},isExist(){const m=t.getForSelf("modelValue");return m?Reflect.has(m,s):!1}};n.fieldName=s,n.validateHandler={getValue(m){return u.getValue()}};let e=Nl({},i,n);o.validate=(m=null)=>{if(!u.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const f=[];let p=!1,b=!1;if(Array.isArray(m)&&m.indexOf(s)!==-1)b=!0,p=!0;else if(m&&typeof m=="object"){const k=m;Array.isArray(k.include)&&k.include.indexOf(s)!==-1||Array.isArray(k.exclude)&&k.exclude.indexOf(s),b=!0,p=k.deep??!1}else typeof m=="boolean"&&(p=m),b=!0;if(b&&e){const k=e.validate();f.push(k)}if(p){let k=null;const v={deep:!1};if(m===!0)k={name:"*"};else if(Array.isArray(m)&&m.length>0){const h=m;k={name:$=>$?h.indexOf($)!==-1:!1}}else if(m!=null&&typeof m=="object"){const h=m;if(Object.assign(v,h),Array.isArray(h.include)&&h.include.length>0){const $=h.include;k={name:g=>g?$.indexOf(g)!==-1:!1}}else if(Array.isArray(h.exclude)&&h.exclude.length>0){const $=h.exclude;k={name:g=>g?$.indexOf(g)===-1:!1}}else k={name:"*"}}if(k&&c){const h=c.emitToChildren(k,"validate",v);Reflect.apply([].push,f,h)}}return f.length==1?f[0]:f.length>1?Promise.all(f).then(k=>{let v=[];return k.forEach(h=>{h.pass===!1&&Array.isArray(h.errors)&&(v=[...v,...h.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=m=>e?.setRule(m),o.setNameValidateRules=m=>{const f=m[s];f&&e?.setRule(f)};let c=Cl(null,r,s,o);return(0,l.onUnmounted)(()=>{e=null,c=null}),{broadcast:c,validateSchema:e}}function Pn(){let t=(0,l.getCurrentInstance)()?.proxy,a=new go(t);return t[gl]=a,(0,l.onUnmounted)(()=>{a?.destroy(),t[gl]=void 0,a=null,t=null}),{emitEvent:(n,...r)=>{a&&Reflect.apply(a.emit,a,[n,...r])},onEvent:(n,r)=>{a&&Reflect.apply(a.on,a,[r])},offEvent:(n,r)=>{a&&Reflect.apply(a.off,a,[r])}}}var we=(t,a=-1)=>t?typeof t=="string"&&(t.endsWith("%")&&a<=0||t.endsWith("vh")||t.endsWith("vw"))?t:`${me(t,a)}px`:"",qi=we;function me(t,a=-1){if(t==null)return 0;if(typeof t=="number")return t>0&&t<1&&a>0?t*a:t;if(t=t.trim().toLocaleLowerCase(),t.length===0)return 0;let n=t.indexOf("px");if(n!==-1)return Number(t.substring(0,n));if(n=t.indexOf("rem"),n!==-1){let i=Number(t.substring(0,n)),o=1;if(ht){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),u=s.indexOf("px");u>0&&(o=Number(s.substring(0,u)))}return i*=o,i}if(n=t.indexOf("%"),n!==-1)return Number(t.substring(0,n))/100*a;const r=Number(t);return isNaN(r)?0:r}var mt="PageStateKey";function tt(t){const a={top:null,left:null,bottom:null,right:null};return t&&(t.top!==null&&t.top!==void 0&&(a.top=me(t.top)),t.left!==null&&t.left!==void 0&&(a.left=me(t.left)),t.bottom!==null&&t.bottom!==void 0&&(a.bottom=me(t.bottom)),t.right!==null&&t.right!==void 0&&(a.right=me(t.right))),a}function bn(t,a,n={},r=!0,i=-1,o=-1,s=0,u=0){if(t.headerHeight=me(n.headerHeight??a.headerHeight??-1),t.headerPadding=tt(n.headerPadding??a.headerPadding),t.footerHeight=me(n.footerHeight??a.footerHeight??-1),t.footerPadding=tt(n.footerPadding??a.footerPadding),t.contentPadding=tt(n.contentPadding??a.contentPadding),r){const e=n.height??a.height;e?t.height=me(e,o):t.height=me(o)-me(s,o)-me(u,o),t.width=me(n.width??a.width??0,i)}}function wo(t,a={}){const n={top:null,bottom:null,right:null,left:null},r={width:0,height:0,headerHeight:0,headerPadding:{...n},footerHeight:0,footerPadding:{...n},contentPadding:{...n},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},i=Object.assign(t.get("safeAreaInset")??{},a.safeAreaInset??{});i&&(r.safeAreaTop=me(i.top),r.safeAreaBottom=me(i.bottom),r.safeAreaLeft=me(i.left),r.safeAreaRight=me(i.right));const o=t.get("pageLayout");if(!o)return null;bn(r,o,a,!0,t.get("rootWidth")??-1,t.get("rootHeight")??-1,t.get("headerBarHeight")??0,t.get("footerBarHeight")??0);const s=(0,l.reactive)(r),u=t.getForParent(mt);u&&(r.height=vl(t,u),r.width=yl(t,u),(0,l.watch)([()=>vl(t,u),()=>yl(t,u)],([c,m])=>{s.height=c,s.width=m}));const e=!u;return(0,l.watch)([()=>a.height,()=>t.get("pageLayout"),()=>t.get("rootWidth"),()=>t.get("rootHeight"),()=>t.get("headerBarHeight"),()=>t.get("footerBarHeight")],([c,m,f=-1,p=-1,b=0,k=0])=>{bn(s,m,a,e,f,p,b,k)}),t.set(mt,s),s}function El(t){return t.get(mt)}function Tl(t,a){if(a=a??t.get(mt),a&&a.headerMounted){const n=a.safeAreaTop==-1?0:a.safeAreaTop;return a.headerAllHeight??a.headerHeight+n}return 0}function _l(t,a){if(a=a??t.get(mt),a&&a.footerMounted){const n=a.safeAreaBottom==-1?0:a.safeAreaBottom;return a.footerAllHeight??a.footerHeight+n}return 0}function vl(t,a){if(a=a??t.get(mt),a){if(a.contentInnerHeight)return a.contentInnerHeight;const n=Tl(t,a),r=_l(t,a),i=me(a.contentPadding.top??0),o=me(a.contentPadding.bottom??0);return a.height-n-r-i-o}return 0}function yl(t,a){if(a=a??t.get(mt),a){const n=me(a.contentPadding.left??0),r=me(a.contentPadding.right??0);return a.contentInnerWidth??a.width-n-r}return 0}function ji(t){return!!t.getForParent(mt)}var Fn=Symbol.for("InnerPageScopeKey");function Rn(t){(0,l.provide)(Fn,t)}function Gt(t=!1){return(0,l.inject)(Fn,t)}var On=Symbol.for("AbstractPageScopeKey");function So(t){(0,l.provide)(On,t)}function Xt(t=!1){return(0,l.inject)(On,t)}var qe=(function(t){return t[t.Parent=0]="Parent",t[t.Near=1]="Near",t})({});function rl(t,a){return t==null?!1:typeof a=="function"?a(t):!0}function De(t,a,n=qe.Near,r){const i=pt();return i==null?t:n===qe.Parent?(0,l.computed)(()=>{const o=i.getAll(a);for(let u=o.length-1;u>=0;u--){const e=o[u];if(rl(e,r))return e}const s=t.value;return rl(s,r)?s:null}):(0,l.computed)(()=>{const o=t.value;if(rl(o,r))return o;const s=i.getAll(a);for(let u=0;u<s.length;u++){const e=s[u];if(rl(e,r))return e}return null})}function Ie(t){return De(t,"readonly",qe.Near)}function Ae(t){return De(t,"disabled",qe.Near)}function ge(t,a="modelValue",n=null,r){const i=(0,l.toRef)(t,a);let o=i.value;typeof n=="function"&&(o=n(i.value));const s=(0,l.ref)(o);return(0,l.watch)(i,u=>{if(typeof n=="function"){const e=n(u);e!==s.value&&(s.value=e,r&&r("setValue",e))}else u!==s.value&&(s.value=u,r&&r("setValue",u))}),s}var xo=new Map,bl=new Map,wn=null;function Ki(t){wn=t}function Co(t,a,n){if(n){let r=bl.get(n);r||(r=new Map,bl.set(n,r)),r.set(t,a)}else xo.set(t,a)}function Pe(t,a,n){!n&&wn&&(n=wn(t)??void 0);let r=null;if(n){let i=bl.get(n);i&&(r=i.get(a))}return r||(r=xo.get(a)),r}function Yi(t,a){for(let n in t){const r=t[n];Co(n,r,a)}}function Wi(t){bl.delete(t)}function Ui(){return{top:0,left:0,bottom:0,right:0}}function Gi(){return ht?{rootWidth:document.documentElement.clientWidth||document.body.clientWidth,rootHeight:document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function Xi(t,a){if(a.componentPrefix){const n=t.indexOf("-");return`${a.componentPrefix}${t.slice(n)}`}return t}var Zi=class{packages;installers;_version;get version(){return this._version}constructor(t,a,n){this.packages=t,this.installers=a,this._version=n}install(t,a={}){a?.install!==!1&&(this.packages.forEach(r=>{if(r.install)t.use(r);else if(r.name){const i=Xi(r.name,a);t.component(i,r)}}),this.installers.forEach(r=>{r(t,a)}));const n=zt();if(a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r={...a},i=Ge(()=>{const o={...r};this.updateLayout(o,n)},120);new window.ResizeObserver(i).observe(window.document.body)}this.updateLayout(a,n)}updateLayout(t,a){const n=t.headerBarHeight??0,r=t.footerBarHeight??0,i=_t({},Ui(),t.safeAreaInset),o=Gi(),s=_t({},o.pageLayout,t.pageLayout);a=a??zt(),a.set("safeAreaInset",i),a.set("headerBarHeight",n),a.set("footerBarHeight",r),a.set("pageLayout",s),a.set("rootWidth",o.rootWidth),a.set("rootHeight",o.rootHeight);const u=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const e in t)u.indexOf(e)===-1&&a.set(e,t[e])}setScopeGetter(t){Ki(t)}setAPI(t,a,n){Co(t,a,n)}getAPI(t,a,n){return Pe(t,a,n)}batchSetAPI(t,a){Yi(t,a)}clearScopeAPI(t){Wi(t)}getRootDomain(){return zt()}},Ji=[B.ElAffix,B.ElAlert,B.ElAutocomplete,B.ElAutoResizer,B.ElAvatar,B.ElBacktop,B.ElBadge,B.ElBreadcrumb,B.ElBreadcrumbItem,B.ElButton,B.ElButtonGroup,B.ElCalendar,B.ElCard,B.ElCarousel,B.ElCarouselItem,B.ElCascader,B.ElCascaderPanel,B.ElCheckTag,B.ElCheckbox,B.ElCheckboxButton,B.ElCheckboxGroup,B.ElCol,B.ElCollapse,B.ElCollapseItem,B.ElCollapseTransition,B.ElColorPicker,B.ElConfigProvider,B.ElContainer,B.ElAside,B.ElFooter,B.ElHeader,B.ElMain,B.ElDatePicker,B.ElDescriptions,B.ElDescriptionsItem,B.ElDialog,B.ElDivider,B.ElDrawer,B.ElDropdown,B.ElDropdownItem,B.ElDropdownMenu,B.ElEmpty,B.ElForm,B.ElFormItem,B.ElIcon,B.ElImage,B.ElImageViewer,B.ElInput,B.ElInputNumber,B.ElLink,B.ElMenu,B.ElSubMenu,B.ElMenuItem,B.ElMenuItemGroup,B.ElPageHeader,B.ElPagination,B.ElPopconfirm,B.ElPopover,B.ElPopper,B.ElProgress,B.ElRadio,B.ElRadioButton,B.ElRadioGroup,B.ElRate,B.ElResult,B.ElRow,B.ElScrollbar,B.ElSelect,B.ElOption,B.ElOptionGroup,B.ElSelectV2,B.ElSkeleton,B.ElSkeletonItem,B.ElSlider,B.ElSpace,B.ElSteps,B.ElStep,B.ElSwitch,B.ElTable,B.ElTableColumn,B.ElTableV2,B.ElTabs,B.ElTabPane,B.ElTag,B.ElTimePicker,B.ElTimeSelect,B.ElTimeline,B.ElTimelineItem,B.ElTooltip,B.ElTransfer,B.ElTree,B.ElTreeSelect,B.ElTreeV2,B.ElUpload,B.ElStatistic,B.ElCountdown,B.ElSegmented,B.ElAnchor,B.ElAnchorLink,B.ElWatermark,B.ElMessageBox,B.ElMessage,B.ElNotification,B.ElSplitter],Qi=[B.ElInfiniteScroll,B.ElLoading,B.ElMessage,B.ElMessageBox,B.ElNotification,B.ElPopoverDirective],es=(t,a={})=>{const n=a.componentPrefix??"fox",r=n[0].toUpperCase()+n.slice(1);Ji.forEach(i=>{let o=i.name;typeof o=="string"?(o=`${r}${o.slice(2)}`,t.component(o,i)):t.use(i)}),Qi.forEach(i=>{t.use(i)})};function ie(t){const a="fox-"+t;return{componentName:a,scope:t.replace("-",""),create(n){return n.baseName=t,n.name=a,n.install=r=>{r.component(n.name,n)},(0,l.defineComponent)(n)},createDemo(n){return n.baseName=t,n.name="demo-"+t,(0,l.defineComponent)(n)}}}function be(t,a=null){if(a||(a=(0,l.getCurrentInstance)()),a&&a.proxy){let n=a.proxy;Object.assign(n,t)}}var Ce={disabled:{type:[Boolean,String],required:!1,default:()=>null},readonly:{type:[Boolean,String],required:!1,default:()=>null},labelPosition:{type:String,required:!1,default:()=>null},labelWidth:{type:[String,Number],required:!1,default:()=>null},textAlign:{type:[String],required:!1,default:()=>null},hasBorder:{type:Boolean,required:!1,default:()=>!0}},ze={prop:{type:String,required:!1},label:{type:String,required:!1},isRequired:{type:[String,Boolean],required:!1,default:()=>!1},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number,String],default:()=>0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:()=>"is-info"},warnMarkClass:{type:String,required:!1,default:()=>"is-warn"},errorMarkClass:{type:String,required:!1,default:()=>"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:()=>"content--default"},contentStyle:{type:Object,required:!1,default:()=>{}},hintType:{type:String,required:!1,default:()=>"text"},hintText:{type:[String,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},No={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},ko={name:{type:String,required:!1},prop:{type:String,required:!1},tag:{type:String,required:!1,default:()=>"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1},type:{type:[String],required:!1},justify:{type:[String],required:!1,default:()=>"stretch"},align:{type:[String],required:!1,default:()=>"start"},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number],default:()=>0},autoLayout:{type:[Boolean],required:!1,default:()=>!0},isWrap:{type:[Boolean,String],required:!1,default:()=>!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:()=>!0},markColor:{type:[String],required:!1},title:{type:String,default:()=>""},titleColor:{type:[String],required:!1},collapse:{type:[String,Boolean],requried:!1},showCollapse:{type:[String,Boolean],required:!1,default:()=>!1},collapsePosition:{type:[String],requried:!1,default:()=>"right"},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1},rollingDisplay:{type:[Boolean],requried:!1,default:()=>!0}},zo=[];for(const t in ko)zo.push(t);var ts={name:{type:String,required:!1,default:()=>""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1}},ls=(t,a)=>({inheritAttrs:!0,props:{...Ce,...No,...ts},setup(n,{slots:r}){const i=Xt(!1),o=Gt(!1),s=Ln(n.name,n);if(s){const f=wo(s,n);be({getPageContentHeight:()=>vl(s,f),getPageContentWidth:()=>yl(s,f),getPageHeaderHeight:()=>Tl(s,f),getPageFooterHeight:()=>_l(s,f)}),f&&o&&(f.contentHeight="100%")}const u=(0,l.computed)(()=>({[t]:!0,"is-inner":o})),e=(0,l.computed)(()=>({})),c=(0,l.getCurrentInstance)(),m=(f,p=!1)=>{const b=c?.proxy;b&&typeof b.setNameValidateRules=="function"&&b.setNameValidateRules(f,!0,p)};return(0,l.watch)([()=>n.rules,()=>n.pureDataRules],([f,p],[b,k])=>{if(f&&b){const v=(0,l.toRaw)(b),h=(0,l.toRaw)(f),$=h?Reflect.ownKeys(h):[];(v?Reflect.ownKeys(v):[]).forEach(g=>{$.includes(g)||(h[g]=[])}),m(h)}if(p&&k){const v=(0,l.toRaw)(k),h=(0,l.toRaw)(p),$=h?Reflect.ownKeys(h):[];(v?Reflect.ownKeys(v):[]).forEach(g=>{$.includes(g)||(h[g]=[])}),m(h,!0)}},{deep:!0}),(0,l.onMounted)(()=>{n.rules&&m((0,l.toRaw)(n.rules)),n.pureDataRules&&m((0,l.toRaw)(n.pureDataRules),!0)}),()=>i?r?.default?.():(0,l.h)("div",{class:u.value,style:e.value},[r?.default?.()])}}),{componentName:ns,create:as,scope:rs}=ie("page"),os=as(ls(ns,rs)),Hn=os;function qn(t){const a=(0,l.unref)(t);return{width:a.offsetWidth,height:a.offsetHeight}}function $l(t){const a=(0,l.unref)(t),n=window.getComputedStyle(a,null),r=parseFloat(n.getPropertyValue("padding-left")),i=parseFloat(n.getPropertyValue("padding-right")),o=parseFloat(n.getPropertyValue("padding-top")),s=parseFloat(n.getPropertyValue("padding-bottom"));return{width:a.clientWidth-r-i,height:a.clientHeight-o-s}}var Eo={headerbar:{},radio:{},checkbox:{}};function is(t){Object.assign(Eo,t)}function To(){return Eo}var ss=(t,a,n,r=!1)=>({props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1,default:n},leftText:{type:String,required:!1},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(i,o){const s=Xt(!1),u=Gt(!1),e=s?null:pt(),c=e?El(e):null;c&&(c.headerMounted=!0);const m=To(),f=t,p=(0,l.computed)(()=>{const N={[f]:!0,[`${f}--border`]:i.border,[`${f}--fixed`]:i.fixed};return u||(N[`${f}--safe-area-inset-top`]=i.safeAreaInsetTop),N}),b=(0,l.computed)(()=>({[`${f}__inner`]:!0,[`${f}__inner--${i.align}`]:!0})),k=We(i.height)?null:me(i.height),v=(0,l.computed)(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s)return N;if(e&&c){const E=tt(i.padding??c.headerPadding);if(Object.assign(N,E),We(k)||(c.headerHeight=k),N.height=c.headerHeight,N.safeAreaTop=c.safeAreaTop===-1?0:c.safeAreaTop,N.safeAreaTop>0){const L=me(E.top??0);N.top=N.safeAreaTop+L,N.height&&N.height>0&&(N.height=N.height+N.safeAreaTop)}return N}if(We(k)||(N.height=k),i.padding){const E=tt(i.padding);Object.assign(N,E)}return N}),h=(0,l.ref)(null),$=()=>c&&h.value&&!Mn(h.value)?(r||(c.headerAllHeight=qn(h.value).height),c.headerMounted=!0,!0):!1,g=Ge($,120);let d=null;(0,l.onMounted)(()=>{s||c&&(kl($,50,5,50,!0),window.ResizeObserver&&h.value&&(d=new window.ResizeObserver(g),d.observe(h.value)))}),(0,l.onUnmounted)(()=>{s||c&&(c.headerMounted=!1,d&&(d.disconnect(),d=null))});const z=(0,l.computed)(()=>{const N={};return s||(v.value.height!==null&&v.value.height!==void 0&&(N.height=`${v.value.height}px`),v.value.top!==null&&v.value.top!==void 0&&(N.paddingTop=`${v.value.top}px`),v.value.left!==null&&v.value.left!==void 0&&(N.paddingLeft=`${v.value.left}px`),v.value.right!==null&&v.value.right!==void 0&&(N.paddingRight=`${v.value.right}px`),v.value.bottom!==null&&v.value.bottom!==void 0&&(N.paddingBottom=`${v.value.bottom}px`)),N}),M=(0,l.computed)(()=>{const N=v.value?.height;return We(N)||N<0?!0:N>0});function _(){o.emit("back")}function S(){o.emit("click-title")}function V(){o.emit("click-right")}function w(){o.emit("click-right-text")}const O=()=>{if(!i.leftShow)return null;const N=[];if(o.slots.left)N.push(o.slots.left());else{if(o.slots.leftIcon){const E=(0,l.h)("view",{class:"left-icon",onClick:_},[o.slots.leftIcon()]);N.push(E)}else{const E=i.leftIcon??m.headerbar.Left??n,L=(0,l.h)("view",{class:"left-icon",onClick:_},[(0,l.h)(E)]);N.push(L)}if(i.leftText){const E=(0,l.h)("view",{class:"left-text",onClick:_},[i.leftText]);N.push(E)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__left"},N)},C=()=>{if(!i.rightShow)return null;const N=[];if(o.slots.right)N.push(o.slots.right());else{if(i.rightText){const E=(0,l.h)("view",{class:"right-text",onClick:w},[i.rightText]);N.push(E)}if(o.slots.rightIcon){const E=(0,l.h)("view",{class:"right-icon",onClick:V},[o.slots.rightIcon()]);N.push(E)}else if(i.rightIcon){const E=(0,l.h)("view",{class:"right-icon",onClick:V},[(0,l.h)(i.rightIcon)]);N.push(E)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__right"},N)},I=()=>{if(!i.titleShow)return null;const N=[],E=o.slots.default?o.slots.default():null;if(E)N.push(E);else{if(i.title){const L=(0,l.h)("view",{class:"title-text"},[i.title]);N.push(L)}if(o.slots.titleIcon){const L=(0,l.h)("view",{class:"title-icon",onClick:S},[o.slots.titleIcon()]);N.push(L)}else if(i.titleIcon){const L=(0,l.h)("view",{class:"title-icon",onClick:S},[(0,l.h)(i.titleIcon)]);N.push(L)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__title"},N)},Z=()=>{const N=[],E=o.slots.bottom?o.slots.bottom():null;return E&&N.push(E),N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__bottom"},N)};return()=>{if(s||!M.value)return null;const N=[];if(o.slots.all)N.push(o.slots.all());else{const E=[],L=O();L&&E.push(L);const q=I();q&&E.push(q);const G=C();if(G&&E.push(G),E.length>0){const F=(0,l.h)("view",{class:b.value},E);N.push(F)}const X=Z();X&&N.push(X)}return N.length===0?null:(0,l.h)("view",{class:p.value,style:z.value,ref:h},N)}}}),{componentName:us,create:cs,scope:ds}=ie("header-bar"),fs=cs(ss(us,ds,$e.ArrowLeft)),jn=fs;function ms(t,a,n=!1){return{props:{fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,i){const o=Xt(!1),s=Gt(!1),u=o?null:pt(),e=u?El(u):null,c=(0,l.computed)(()=>{const g=t,d={[g]:!0,[`${g}--${r.align}`]:!0,[`${g}--border`]:r.border,[`${g}--fixed`]:r.fixed};return s||(d[`${g}--safe-area-inset-bottom`]=r.safeAreaInsetBottom),d}),m=We(r.height)?null:me(r.height),f=(0,l.computed)(()=>{const g={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(o)return g;if(u&&e){const d=tt(r.padding??e.footerPadding);if(Object.assign(g,d),We(m)||(e.footerHeight=m),g.height=e.footerHeight,g.safeAreaBottom=e.safeAreaBottom===-1?0:e.safeAreaBottom,g.safeAreaBottom>0){const z=me(d.bottom??0);g.bottom=g.safeAreaBottom+z,g.height&&g.height>0&&(g.height=g.height+g.safeAreaBottom)}return g}if(We(m)||(g.height=m),r.padding){const d=tt(r.padding);Object.assign(g,d)}return g}),p=(0,l.computed)(()=>{const g=f.value?.height;return We(g)||g<0?!0:g>0}),b=(0,l.ref)(null),k=()=>e&&b.value&&!Mn(b.value)?(n||(e.footerAllHeight=qn(b.value).height),e.footerMounted=!0,!0):!1,v=Ge(k,120);let h=null;(0,l.onMounted)(()=>{o||e&&(kl(k,50,5,50,!0),window.ResizeObserver&&b.value&&(h=new window.ResizeObserver(v),h.observe(b.value)))}),(0,l.onUnmounted)(()=>{o||e&&(e.footerMounted=!1,h&&(h.disconnect(),h=null))});const $=(0,l.computed)(()=>{const g={};return o||(f.value.height!==null&&f.value.height!==void 0&&(g.height=we(f.value.height)),f.value.top!==null&&f.value.top!==void 0&&(g.paddingTop=we(f.value.top)),f.value.left!==null&&f.value.left!==void 0&&(g.paddingLeft=we(f.value.left)),f.value.right!==null&&f.value.right!==void 0&&(g.paddingRight=we(f.value.right)),f.value.bottom!==null&&f.value.bottom!==void 0&&(g.paddingBottom=we(f.value.bottom))),g});return()=>{if(o||!p.value)return null;const g=i.slots.default?i.slots.default():[];return(0,l.h)("view",{ref:b,class:c.value,style:$.value},g)}}}}var{componentName:hs,create:ps,scope:gs}=ie("footer-bar"),vs=ps(ms(hs,gs)),Kn=vs;function ys(t,a){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(n,{slots:r,attrs:i}){const o=Xt(!1),s=Gt(!1),u=o?null:pt(),e=(0,l.computed)(()=>({[t]:!0})),c=u?El(u):null,m=(0,l.computed)(()=>{const v={};if(o)return v;if(u&&c){if(n.padding){const S=tt(n.padding);Object.assign(c.contentPadding,S)}const h=Tl(u,c),$=_l(u,c);let g="";c.contentHeight?g=`${c.contentHeight}`:g=`${c.height}px`,v.height=g;let d=me((c&&c.contentPadding&&c.contentPadding.top)??-1);(d>=0||h>0)&&(d=d<0?0:d,v.paddingTop=`${h+d}px`);let z=me((c&&c.contentPadding&&c.contentPadding.bottom)??-1);(z>=0||$>0)&&(z=z<0?0:z,v.paddingBottom=`${$+z}px`);const M=me((c&&c.contentPadding&&c.contentPadding.left)??-1);M>=0&&(v.paddingLeft=`${M}px`);const _=me((c&&c.contentPadding&&c.contentPadding.right)??-1);return _>=0&&(v.paddingRight=`${_}px`),v}if(n.padding){const h=tt(n.padding);h.left&&(v.paddingLeft=`${h.left}px`),h.top&&(v.paddingTop=`${h.top}px`),h.right&&(v.paddingRight=`${h.right}px`),h.bottom&&(v.paddingBottom=`${h.bottom}px`)}return v}),f=(0,l.ref)(null),p=()=>{if(c&&f.value){const v=$l(f.value);c.contentInnerHeight=v.height,c.contentInnerWidth=v.width}},b=Ge(p,120);let k=null;return(0,l.onMounted)(()=>{s||o||(requestAnimationFrame(p),window.ResizeObserver&&f.value&&(k=new window.ResizeObserver(b),k.observe(f.value)))}),(0,l.onUnmounted)(()=>{s||o||k&&(k.disconnect(),k=null)}),()=>o?r.default?.():(0,l.h)(n.tag??"view",{...i,ref:f,class:e.value,style:m.value},r)}}}var{componentName:bs,create:ws,scope:Ss}=ie("content"),xs=ws(ys(bs,Ss)),Yn=xs,$t="GroupStateKey",_o=Symbol.for("GroupScopeKey");function Vl(){return(0,l.inject)(_o,!1)}function Bl(t=!0){(0,l.provide)(_o,t)}function Cs(t,a={}){Reflect.ownKeys(a).forEach(n=>{if(typeof n!="string")return;const r=a[n];We(r)||(t[n]=r)})}function Ns(t,a={}){const n={type:"grid",width:t.get("width",-1),column:-1,gutter:-1};Cs(n,a);const r=(0,l.markRaw)({layout:(0,l.shallowRef)(n),passport:0,order:{index:0}});return t.set($t,r),r}function ln(t,a,n=-1,r=-1,i=!1,o,s,u){const e=t.get($t);if(!e)return;const c=t.get("groupLayout")??{};n===-1&&(n=c.column??1),r===-1&&(r=c.gutter??0),o||(o=c.minItemWidth??-1),s||(s=c.maxItemWidth??-1);const m=me(o),f=me(s);u||(u=c.type??"grid");const p=()=>{const b=a===""||a===-1,k=me(a);let v=ve(n);const h=me(r);if(!b){let d=(k-(v-1)*h)/v;for(;f!==-1&&d>f;)v++,d=(k-(v-1)*h)/v;for(;m!==-1&&v>1&&d<m;)v--,d=(k-(v-1)*h)/v}let $=!1;const g=e.layout;g.value.width=a,g.value.column!==v&&(g.value.column=v,$=!0),g.value.gutter!==h&&(g.value.gutter=h,$=!0),g.value.type!==u&&(g.value.type=u,$=!0),$&&(0,l.triggerRef)(g)};if(i)p();else{const b=++e.passport;setTimeout(()=>{b===e.passport&&p()},50)}}function Dl(t,a=!1){let n;return a?n=t.getForParent($t):n=t.get($t),n.layout}function Ml(t,a=!1){let n;return a?n=t.getForParent($t):n=t.get($t),n.order}function Ya(t,a=1){if(a==="stretch")return-1;const n=ve(a);return n===-1?100:100*n/t}function Il(t,a,n=1,r=0,i){const o={};let s=0;i?s=me(i):s=Ya(a.column,n),s>0&&(o.width=`${s}%`);const u=Ya(a.column,r);u>0&&(o["margin-left"]=`${u}%`);const e=me(a.gutter)/2;return e>0&&(o["padding-left"]=`${e}px`,o["padding-right"]=`${e}px`),o}function Al(t,a,n=1,r=0){if(n==="stretch"){const e=t.index%a.column,c=e+(a.column-e);return t.index=t.index+(c-e),{"grid-column":`${e+1} / -1`}}let i=ve(n);if(i===-1){const e=t.index%a.column;return a.column,e==0?t.index=t.index+a.column:t.index=t.index+(a.column-e)+a.column,{"grid-column":"1 / -1"}}if(i>a.column){const e=t.index%a.column;return a.column,e==0?t.index=t.index+a.column:t.index=t.index+(a.column-e)+a.column,{"grid-column":"1 / -1"}}const o=ve(r)%a.column;let s=(t.index+o)%a.column,u=s+i;return u>a.column?(s=0,u=s+i,t.index=t.index+(a.column-s)+i):t.index=t.index+o+i,o>0?{"grid-column":`${s+1} / span ${i}`}:{"grid-column-start":`span ${i}`}}var $o=Symbol("RollingStateKey");function ks(t){(0,l.provide)($o,t)}function zs(){return(0,l.inject)($o,null)}function Sn(t){let a=0;const n=window.getComputedStyle(t,null);if(n.getPropertyValue("box-sizing")==="content-box"){const r=parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("padding-bottom"));a=t.clientHeight-r-i}else a=t.offsetHeight;return a}function Es(t){let a=Sn(t);if(a<=0){const n=t.cloneNode(!0);n.style=`width: ${t.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(n),a=Sn(n),document.body.removeChild(n)}return a}function Ts(t,a,n){const r=typeof t=="number"?t:parseInt(t),i=typeof a=="number"?a:parseInt(a),o=typeof n=="number"?n:parseInt(n);if(r<=0)return"1fr";const s=(r-(i-1)*o)/i;return s>0?`${s}px`:"1fr"}function Vo(t){const a=[];return t.forEach(n=>{n.type===l.Fragment&&Array.isArray(n.children)?a.push(...Vo(n.children)):a.push(n)}),a}function _s(t){return!(t.type===l.Comment||t.type===l.Text&&typeof t.children=="string"&&t.children.trim()==="")}function Wn(t){function a(){return Vo(t?.()??[]).filter(_s)}return{getChildren:a}}var $s={...Ce,...No,...ko};function Vs(t,a,n){return{props:$s,emits:["update:collapse","header-click"],setup(r,i){const o=Ln(r.prop??r.name,r,zo),s=Ns(o,{type:r.type}),u=Vl();Bl(!0);const e=r.rollingDisplay?zs():null,c=(0,l.ref)(null),m=(0,l.computed)(()=>r.rollingDisplay?e&&!e.disabled:!1),f=(0,l.computed)(()=>u&&o?Dl(o,!0).value:null),p=(0,l.getCurrentInstance)(),b=(x,W=!1)=>{const D=p?.proxy;D&&typeof D.setNameValidateRules=="function"&&D.setNameValidateRules(x,!0,W)};(0,l.watch)([()=>r.rules,()=>r.pureDataRules],([x,W],[D,y])=>{if(x&&D){const R=(0,l.toRaw)(D),j=(0,l.toRaw)(x),te=j?Reflect.ownKeys(j):[];(R?Reflect.ownKeys(R):[]).forEach(ae=>{te.includes(ae)||(j[ae]=[])}),b(j)}if(W&&y){const R=(0,l.toRaw)(y),j=(0,l.toRaw)(W),te=j?Reflect.ownKeys(j):[];(R?Reflect.ownKeys(R):[]).forEach(ae=>{te.includes(ae)||(j[ae]=[])}),b(j,!0)}},{deep:!0});const k=t,v=(0,l.computed)(()=>{const x={};x.height=E.value;const W=u?Ml(o,!0):null;if(f.value&&W){if(f.value.type==="grid"){const D=Al(W,f.value,r.span,r.offset);Object.assign(x,D)}else if(f.value.type==="flow"){const D=Il(W,f.value,r.span,r.offset,r.width);Object.assign(x,D)}}else r.width&&(x.width=we(r.width));return x}),h=(0,l.computed)(()=>{const x=s.layout.value.type;return x==="grid"||x==="flow"?{[`${k}--${x}`]:!0,[`${k}--${x}-justify-${r.justify}`]:!0,[`${k}--${x}-align-${r.align}`]:!0,[`${k}--gutter`]:!0}:{[`${k}--${x}`]:!0,[`${k}--gutter`]:!0}}),$=(0,l.computed)(()=>{if(s.layout.value.type==="grid"){let x="";if(r.columnWidth)x=`repeat(auto-fill, ${r.columnWidth})`;else{const W=Ts(V.value,s.layout.value.column,s.layout.value.gutter);x=`repeat(${s.layout.value.column}, ${W})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":x}}}),g=(0,l.toRef)(r,"gutter"),d=(0,l.toRef)(r,"column"),z=(0,l.computed)(()=>u||m.value?!0:de(r.isWrap)),M=[],_=x=>{M.push(x)},S=()=>{let x=M.length;M.splice(0,x)},V=(0,l.ref)(-1),w=x=>{const W=$l(x).width;W>0&&W!==V.value&&(V.value=W)};ln(o,V.value,d.value,g.value,!0,r.minItemWidth,r.maxItemWidth,r.type),r.autoLayout&&(0,l.watch)([V,d,g],([x,W,D])=>{s.order.index=0,ln(o,x,W,D,!1,r.minItemWidth,r.maxItemWidth,r.type)});const O=(0,l.computed)(()=>L.value?r.expandText??"":r.collapseText??""),C=(0,l.computed)(()=>({[`${t}__header-collapse-text`]:!0})),I=(0,l.computed)(()=>({[`${t}__header-collapse-icon`]:!0,"is-expand":!L.value,"is-collapse":L.value})),Z=(0,l.ref)(),N=(0,l.ref)(),E=(0,l.computed)(()=>q.value||we(r.height)||""),L=(0,l.ref)(!1),q=(0,l.ref)(""),G=(0,l.ref)(!1);let X=-1;const F=(x,W=!0)=>{const D=Z.value;if(D&&L.value!==x){if(X=X===-1?Es(D):X,G.value=!0,W)if(D.style["will-change"]="height",D.ontransitionend=function(){D.ontransitionend=null,this.style["will-change"]="auto",x||(q.value="",G.value=!1)},x){let y=0;r.collapseHeight?y=r.collapseHeight:N.value&&N.value.classList.contains(`${t}__header`)&&(y=N.value.offsetHeight),q.value=`${X}px`,(0,l.nextTick)(()=>{q.value=`${y}px`})}else q.value=`${X}px`;else if(x){let y=0;r.collapseHeight?y=r.collapseHeight:N.value&&N.value.classList.contains(`${t}__header`)&&(y=N.value.offsetHeight),q.value=`${y}px`}else G.value=!1,q.value=`${X}px`;L.value=x,i.emit("update:collapse",x)}};(0,l.watch)(()=>r.collapse,x=>{F(x)});const ee=x=>{i.emit("header-click",x)},K=()=>{H()},H=x=>{x=x??!L.value,F(x)};be({toggleCollapse:H,doLayout:()=>{M[0]&&(w(M[0]),ln(o,V.value,d.value,g.value,!0,r.minItemWidth,r.maxItemWidth,r.type))}});let J=null,P=!0;const Q=x=>{if(r.rules&&b((0,l.toRaw)(r.rules)),r.pureDataRules&&b((0,l.toRaw)(r.pureDataRules),!0),!!ht&&(x&&F(de(r.collapse),!1),r.autoLayout&&Array.isArray(M)&&M.length>0)){const W=M[0];if(w(W),window.ResizeObserver){const D=Ge(()=>w(W),120);J=new window.ResizeObserver(D),J.observe(W)}}},le=()=>{J?.disconnect(),J=null},U=!m.value||e?.acquire();U&&(c.value=m.value?!0:null),(0,l.onMounted)(()=>{if(U&&(Q(P),P=!1),m.value&&e){let x=null,W=e.initialHeight;e.observe(Z.value,D=>{if(D!==c.value)if(D)c.value=!0,L.value||(q.value=""),x=setTimeout(()=>{x=null,c.value!==!1&&(Q(P),P=!1)},100);else{if(x!==null&&clearTimeout(x),c.value=!1,!L.value)if(P)q.value=e.initialHeight;else{let y=Sn(Z.value);y<=0?q.value=W:(q.value=`${y}px`,W=q.value)}P||le()}})}}),(0,l.onUnmounted)(()=>{J?.disconnect(),e&&e.unobserve(Z.value)});const T=(x="right")=>{const W=[];if(O.value){const R=(0,l.h)("span",{class:C.value},[O.value]);W.push(R)}const D={class:I.value},y=n(r.collapseIcon,D);return y&&W.push(y),W.length>0?(0,l.h)("div",{class:{[`${k}__header-collapse`]:!0,[`is-${x}`]:!0},onClick:K},W):null},A=(x,W,D,y)=>{const R={...h.value};if(W===0&&(R[`${k}__first`]=!0),D>=y-1&&(R[`${k}__last`]=!0),z.value===!1){const j=i.attrs.class;j&&(R[`${j}`]=!0)}return(0,l.h)("div",{ref:_,key:`${W}`,class:R,style:$.value},x)};return()=>{const x=r.prop??r.name;if(m.value&&c.value!==!0)return(0,l.h)(r.tag||"div",{ref:Z,prop:x,class:{[`${k}`]:!0,"is-collapse":G.value},style:v.value},[]);s.order.index=0;const W=[];let D=0;if(i.slots.header){const te=(0,l.h)("div",{key:`${D++}`,ref:N,class:{[`${k}__header`]:!0,[`${k}__first`]:!0},onClick:ee},[i.slots.header()]);W.push(te)}else{const te=[],ae=r.collapsePosition==="left";if(ae&&r.showCollapse){const oe=T("left");oe&&te.push(oe)}if(r.title||i.slots.title){if(r.showMark){const oe={class:{[`${k}__header-mark`]:!0}};r.markColor&&(oe.style={background:r.markColor});const he=(0,l.h)("div",oe);te.push(he)}if(i.slots.title){const oe=(0,l.h)("div",{class:{[`${k}__header-title`]:!0}},[i.slots.title()]);te.push(oe)}else if(r.title){const oe=(0,l.h)("div",{class:{[`${k}__header-title`]:!0}},[r.title]);te.push(oe)}}if(i.slots.toolbar&&te.push(i.slots.toolbar()),!ae&&r.showCollapse){const oe=T("right");oe&&te.push(oe)}if(te.length>0){const oe=(0,l.h)("div",{key:`${D++}`,ref:N,class:{[`${k}__header`]:!0,[`${k}__first`]:!0},onClick:ee},te);W.push(oe)}}S();const{getChildren:y}=Wn(i.slots.default),R=y(),j=s.layout.value.type;if(j==="grid"){const te=A(R,D++,0,R.length);W.push(te)}else if(j==="flow"){const te=A(R,D++,0,R.length);W.push(te)}else for(let te=0;te<R.length;te++){const ae=R[te],oe=A([ae],D++,te,R.length);W.push(oe)}return z.value?(0,l.h)(r.tag||"div",{ref:Z,prop:x,class:{[`${k}`]:!0,"is-collapse":G.value},style:v.value},[W]):W}}}}var{componentName:Bs,create:Ds,scope:Ms}=ie("group"),Is=(t,a)=>(t=t??$e.ArrowUp,(0,l.h)(B.ElIcon,a,{default:()=>[(0,l.h)(t)]})),As=Ds(Vs(Bs,Ms,Is)),Un=As;function Ls(t){return t===window}var Ps=/matrix\((.+)\)/,Gn=t=>{const a=(0,l.unref)(t);if(!a)return{x:0,y:0};if(Ls(a))return{x:0,y:0};let n=0,r=0,i=a;for(;i!==null;)n+=i.offsetLeft,r+=i.offsetTop,i=i.offsetParent;let o=0,s=0,u=0,e=0;for(i=a;i!==document;){s+=i.scrollTop,o+=i.scrollLeft;const{transform:c}=window.getComputedStyle(i);if(c){const m=Ps.exec(c);if(m){let f=m[1].split(/\s*,\s*/);f.length==6&&(u+=Number(f[4]),e+=Number(f[5]))}}i=i.parentNode}return n-=o,r-=s,n+=u,r+=e,{x:n,y:r}},Fs=class{watchedListeners=[];add(t){this.watchedListeners.push(t)}remove(t){const a=this.watchedListeners.indexOf(t);a!==-1&&this.watchedListeners.splice(a,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(t=>{try{t()}catch{}})}},Rs=class{monitorRegister=new WeakMap;watch(t,a){let n=t.parentNode;const r=document.body.parentNode;for(;n&&n!==r;){let i=this.monitorRegister.get(n);i||(i=new Fs,n.addEventListener("scroll",i.listen),n===document.body&&n.addEventListener("resize",i.listen),this.monitorRegister.set(n,i)),i.add(a),n=n.parentNode}}unwatch(t,a){let n=t.parentNode;const r=document.body.parentNode;for(;n&&n!==r;){let i=this.monitorRegister.get(n);i&&(i.remove(a),i.size()===0&&(this.monitorRegister.delete(n),n.removeEventListener("scroll",i.listen),n===document.body&&n.removeEventListener("resize",i.listen))),n=n.parentNode}}},Ht=new Rs,Bo={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:Os,create:Hs}=ie("price"),qs=Hs({props:{...Bo},setup(t){const a=(0,l.computed)(()=>({[Os]:!0})),n=(0,l.computed)(()=>t.needSymbol?t.symbol:""),r=(0,l.computed)(()=>Je(t.price)==0?"":Sl(t.price,t.decimalLength,!0,ve(t.digits),t.separator));return{classes:a,showSymbol:n,intText:(0,l.computed)(()=>{let i=r.value;if(i.length==0)return"";let o=i.indexOf(".");return i.substring(0,o)}),decimalText:(0,l.computed)(()=>{let i=r.value;if(i.length==0)return"";let o=i.indexOf(".");return i.substring(o+1)})}}}),Fe=(t,a)=>{const n=t.__vccOpts||t;for(const[r,i]of a)n[r]=i;return n},js=["innerHTML"],Ks=["innerHTML"];function Ys(t,a,n,r,i,o){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes)},[t.needSymbol&&t.position=="before"?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${t.size}`]),innerHTML:t.showSymbol},null,10,js)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(`fox-price--${t.size}`)},(0,l.toDisplayString)(t.intText),3),t.decimalText.length!=0?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:1,class:(0,l.normalizeClass)(`fox-price--decimal-${t.size}`)},".",2)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(`fox-price--decimal-${t.size}`)},(0,l.toDisplayString)(t.decimalText),3),t.needSymbol&&t.position=="after"?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:2,class:(0,l.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${t.size}`]),innerHTML:t.showSymbol},null,10,Ks)):(0,l.createCommentVNode)("",!0)],2)}var Ll=Fe(qs,[["render",Ys]]),{componentName:nn,create:Ws}=ie("hint-text"),Us=Ws({components:{Price:Ll},props:{...Bo,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function},customClass:{type:String},customStyle:{type:Object},customTextClass:{type:String},customTextStyle:{type:Object},closeOnClick:{type:Boolean},zIndex:{type:[String,Number]}},emits:["update:visible"],setup(t,a){const n=(0,l.ref)({top:null,right:null,bottom:null,left:null}),r=(0,l.ref)({x:0,y:0}),i=(0,l.ref)(0),o=(0,l.ref)(0),s=(0,l.ref)(t.placement),u=(0,l.ref)(!1),e=(0,l.ref)(null),c=(C,I,Z,N,E,L)=>{const q=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight,X=C.split("-");let F=[];X[0]==="top"?F=["top","bottom","right","left"]:X[0]==="bottom"?F=["bottom","top","right","left"]:X[0]==="left"?F=["left","top","bottom","right"]:X[0]==="right"&&(F=["right","top","bottom","left"]);const ee={top:null,right:null,bottom:null,left:null},K=[];for(let H=0;H<F.length;H++){const Y=F[H];if(K[0]=Y,X[1]&&(K[1]=X[1]),Y==="top"){const J=I.y-L-t.arrowSize-t.offset;if(J>=0){ee.top=J;let P=0;X[1]==="start"?P=I.x:X[1]==="end"?P=I.x+Z-E:P=I.x+Z/2-E/2;const Q=q-P-E;Q<0?(P+=Q,f.value=-Q):f.value=0,ee.left=P<0?0:P;break}}else if(Y==="bottom"){const J=I.y+N+t.arrowSize+t.offset;if(J+L<=G){ee.top=J;let P=0;X[1]==="start"?P=I.x:X[1]==="end"?P=I.x+Z-E:P=I.x+Z/2-E/2;const Q=q-P-E;Q<0?(P+=Q,f.value=-Q):f.value=0,ee.left=P<0?0:P;break}}else if(Y==="left"){const J=I.x-E-t.arrowSize-t.offset;if(J>=0){ee.left=J;let P=0;X[1]==="start"?P=I.y:X[1]==="end"?P=I.y+N-L:P=I.y+N/2-L/2,ee.top=P<0?0:P;break}}else if(Y==="right"){const J=I.x+Z+t.arrowSize+t.offset;if(J+E<=q){ee.left=J;let P=0;X[1]==="start"?P=I.y:X[1]==="end"?P=I.y+N-L:P=I.y+N/2-L/2,ee.top=P<0?0:P;break}}}return{bestPlacement:K.join("-"),bestInsetRect:ee}},m=(C,I,Z=10)=>{if(!ht||I===!1||!C)return;r.value=Gn(t.reference),i.value=t.reference.offsetWidth,o.value=t.reference.offsetHeight;const N=e.value.offsetHeight,E=e.value.offsetWidth,{bestPlacement:L,bestInsetRect:q}=c(t.placement,r.value,i.value,o.value,E,N);s.value=L,n.value=q,u.value=!0},f=(0,l.ref)(0),p=Ge(()=>{m(t.message,t.visible)},10),b=(0,l.ref)(t.visible);(0,l.watch)(()=>t.visible,C=>{b.value=C});const k=(0,l.computed)(()=>b.value&&v.value),v=(0,l.ref)(!0),h=Ge(C=>{const I=C[0];I&&(v.value=I.isIntersecting)},10),$=new IntersectionObserver(h);(0,l.watch)([()=>t.message,()=>t.visible],([C,I])=>{setTimeout(()=>{m(t.message,t.visible)},0)}),(0,l.onMounted)(()=>{setTimeout(()=>{m(t.message,t.visible)},0),Ht.watch(t.reference,p),$.observe(t.reference)}),(0,l.onBeforeUnmount)(()=>{Ht.unwatch(t.reference,p),$.unobserve(t.reference),$.disconnect()});const g=(0,l.computed)(()=>{const C={[nn]:!0};return s.value.startsWith("top")?C["is-top"]=!0:s.value.startsWith("right")?C["is-right"]=!0:s.value.startsWith("bottom")?C["is-bottom"]=!0:s.value.startsWith("right")&&(C["is-right"]=!0),t.size==="small"?C["is-small"]=!0:t.size==="large"&&(C["is-large"]=!0),t.customClass&&typeof t.customClass=="string"&&(C[`${t.customClass}`]=!0),C}),d=(0,l.computed)(()=>{const C={};return n.value.top!==null&&(C.top=`${n.value.top}px`),n.value.right!==null&&(C.right=`${n.value.right}px`),n.value.bottom!==null&&(C.bottom=`${n.value.bottom}px`),n.value.left!==null&&(C.left=`${n.value.left}px`),t.autoFit&&(C["min-width"]=`${i.value}px`),C["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,u.value&&(C.opacity="1"),t.transition||(C.transition="none"),t.zIndex&&(C["z-index"]=`${t.zIndex}`),t.customStyle&&typeof t.customStyle=="object"&&Object.assign(C,t.customStyle),C}),z=(0,l.computed)(()=>{const C=[`${nn}__content`];return t.customTextClass&&C.push(t.customTextClass),C}),M=(0,l.computed)(()=>{const C={};return t.customTextStyle&&typeof t.customTextStyle=="object"&&Object.assign(C,t.customTextStyle),C}),_=(0,l.computed)(()=>({[`${nn}__arrow`]:!0})),S=(0,l.computed)(()=>{const C={};return t.showArrow?(C.width=`${t.arrowSize}px`,C.height=`${t.arrowSize}px`,s.value==="top"?(C.left="50%",C.bottom=`-${t.arrowSize}px`,C.transform=" translate(-50%, 0%)"):s.value==="top-start"?(C.left=`${t.arrowOffset+f.value}px`,C.bottom=`-${t.arrowSize}px`):s.value==="top-end"?(C.right=`${t.arrowOffset-f.value}px`,C.bottom=`-${t.arrowSize}px`):s.value==="right"?(C.left=`-${t.arrowSize}px`,C.top="50%",C.transform=" translate(0%, -50%)"):s.value==="right-start"?(C.left=`-${t.arrowSize}px`,C.top=`${t.arrowOffset}px`):s.value==="right-end"?(C.left=`-${t.arrowSize}px`,C.bottom=`-${t.arrowOffset}px`):s.value==="bottom"?(C.left="50%",C.top=`-${t.arrowSize}px`,C.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(C.left=`${t.arrowOffset+f.value}px`,C.top=`-${t.arrowSize}px`):s.value==="bottom-end"?(C.right=`${t.arrowOffset-f.value}px`,C.top=`-${t.arrowSize}px`):s.value==="left"?(C.right=`-${t.arrowSize}px`,C.top="50%",C.transform=" translate(0%, -50%)"):s.value==="left-start"?(C.right=`-${t.arrowSize}px`,C.top=`${t.arrowOffset}px`):s.value==="left-end"&&(C.right=`-${t.arrowSize}px`,C.bottom=`-${t.arrowOffset}px`),C):{display:"none"}}),V=(0,l.computed)(()=>k.value&&t.closeOnClick),w=(0,l.computed)(()=>{const C={};return t.zIndex&&(C["z-index"]=`${t.zIndex}`),C});return{show:k,tipRef:e,classes:g,styles:d,textClasses:z,textStyles:M,arrowClasses:_,arrowStyles:S,overlayShow:V,overlayStyle:w,onClickOverlay:()=>{b.value=!1,a.emit("update:visible",!1)}}}}),Gs=["innerHTML"];function Xs(t,a,n,r,i,o){const s=(0,l.resolveComponent)("Price");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[t.overlayShow?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,l.normalizeStyle)(t.overlayStyle),onClick:a[0]||(a[0]=(...u)=>t.onClickOverlay&&t.onClickOverlay(...u))},null,4)):(0,l.createCommentVNode)("",!0),(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"tipRef",class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles)},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(t.textClasses),style:(0,l.normalizeStyle)(t.textStyles)},[t.type=="number"?((0,l.openBlock)(),(0,l.createBlock)(s,{key:0,price:t.message,position:"before",size:t.size},null,8,["price","size"])):((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,innerHTML:t.message},null,8,Gs))],6),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(t.arrowClasses),style:(0,l.normalizeStyle)(t.arrowStyles)},null,6)],6),[[l.vShow,t.show]])],64)}var Do=Fe(Us,[["render",Xs]]),Mo=class{seed=new Date().getTime();constructor(t){this.seed=t??new Date().getTime()}get(){let t=this.seed++;return this.seed<0&&(this.seed=0),t}},xn={},Zs=new Mo,Et=new Map,wl=t=>{if(t){const a=document.getElementById(t);Et.delete(t),a&&a.parentNode?.removeChild(a)}else{for(const a of Et.keys()){const n=document.getElementById(a);n&&n.parentNode?.removeChild(n)}Et.clear()}},Js=t=>{t.unmount=wl;const a=document.getElementById(t.id);if(a){const n=Et.get(t.id);n?t={...xn,...n,...t}:t={...xn,...t},t.transition=!1,(0,l.render)((0,l.createVNode)(Do,t),a)}return t.id},Qs=t=>{t.unmount=wl;let a=t.id??`hinttext_${Zs.get()}`;t={...xn,...t},t.id=a,Et.set(a,t);const n=document.createElement("div");return n.id=t.id,(0,l.render)((0,l.createVNode)(Do,t),n),document.body.appendChild(n),a},eu=t=>{if(!t){console.warn("[FoxUI HintText]: msg不能为空");return}},Le={show(t,a,n={},r=!0){eu(a);const i=n.id;return i&&Et.has(i)?Js({...n,message:a,reference:t}):(r&&wl(),Qs({...n,message:a,reference:t}))},hide(t){wl(t)},install(t){t.config.globalProperties.$hintText=Le}};function tu(t,a,n,r=!1){return{inheritAttrs:!0,props:{...Ce,...ze},emits:["appear","disappear"],setup(i,o){const s=i.prop??o.attrs.name;Ee({componentName:t,validate:!1},s);const u=pt(),e=Vl();Bl(!1);const c=(0,l.computed)(()=>e&&u?Dl(u,!1).value:null),m=t,f=(0,l.ref)(null),p=(0,l.computed)(()=>{const y={[m]:!0,[`${m}__gutter`]:c.value&&c.value.type!=="flow",[`${m}__stretch`]:i.span==="stretch",[`${m}__input--border`]:de(i.hasBorder)};if(y[i.errorMarkClass]=!!L.value,y[i.warnMarkClass]=!!N.value,y[i.infoMarkClass]=!!I.value,typeof f.value=="function"){const R=f.value(s);y[R]=!0}else if(typeof f.value=="string"){const R=f.value;y[R]=!0}return y}),b=(0,l.ref)(null),k=(0,l.computed)(()=>{const y={};if(i.width)i.width!=="auto"&&(y.width=we(i.width));else{const R=e&&u?Ml(u,!1):null;if(c.value&&R){if(c.value.type==="grid"){const j=Al(R,c.value,i.span,i.offset);Object.assign(y,j)}else if(c.value.type==="flow"){const j=Il(R,c.value,i.span,i.offset,i.width);Object.assign(y,j)}}}if(typeof b.value=="function"){const R=b.value(s);R&&Object.assign(y,R)}else if(b.value&&typeof b.value=="object"){const R=b.value;Object.assign(y,R)}return y}),v=(0,l.ref)(null),h=(0,l.computed)({get:()=>v.value??de(i.isRequired),set:y=>{v.value=y}}),$=()=>typeof i.label=="string"&&i.label.length>0||typeof o.slots.label=="function",g=De((0,l.toRef)(i,"labelPosition"),"labelPosition",qe.Near),d=(0,l.computed)(()=>g&&g.value==="top"?"top":g&&g.value==="right"?"right":"left"),z=(0,l.computed)(()=>({[`${m}__main`]:!0,[`${m}__main--${d.value}`]:!0})),M=(0,l.computed)(()=>({label:!0,[`label--${d.value}`]:!0})),_=De((0,l.toRef)(i,"labelWidth"),"labelWidth",qe.Near),S=(0,l.computed)(()=>_&&_.value?{width:we(_.value)}:{}),V=(0,l.computed)(()=>({"label--string":!0,"label--required":h.value})),w=(0,l.computed)(()=>({content:!0,[i.contentClass]:!0})),O=(0,l.computed)(()=>({...i.contentStyle})),C=(0,l.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});be({setRequired(y){h.value=y},setErrorTip(y){C.errorTip=y},setErrorIcon(y){C.errorIcon=y},setWarnTip(y){C.warnTip=y},setWarnIcon(y){C.warnIcon=y},setInfoTip(y){C.infoTip=y},setInfoIcon(y){C.infoIcon=y},setCustomClassName(y){f.value=y},setCustomStyle(y){b.value=y}});const I=(0,l.computed)(()=>i.infoTip||C.infoTip),Z=(0,l.computed)(()=>i.infoIcon||C.infoIcon),N=(0,l.computed)(()=>i.warnTip||C.warnTip),E=(0,l.computed)(()=>i.warnIcon||C.warnIcon),L=(0,l.computed)(()=>i.errorTip||C.errorTip),q=(0,l.computed)(()=>i.errorIcon||C.errorIcon),G=(0,l.computed)(()=>L.value?"error":N.value?"warn":I.value?"info":""),X=()=>G.value.length>0,F=(0,l.computed)(()=>G.value==="error"?L.value:G.value==="warn"?N.value:G.value==="info"?I.value:""),ee=(0,l.computed)(()=>G.value==="error"?q.value:G.value==="warn"?E.value:G.value==="info"?Z.value:null),K=(0,l.computed)(()=>{const y={[`${m}__tip`]:!0,[`${m}__tip--${G.value}`]:!0,[`${m}--animate`]:!0};return G.value==="error"&&i.errorClass?y[`${i.errorClass}`]=!0:G.value==="warn"&&i.warnClass?y[`${i.warnClass}`]=!0:G.value==="info"&&i.infoClass&&(y[`${i.infoClass}`]=!0),y}),H=(0,l.computed)(()=>{const y={};return g&&g.value==="top"||!$()?y["padding-left"]="0px":_&&_.value&&(y["padding-left"]=we(_.value)),y}),Y=(0,l.ref)();let J="";(0,l.watch)([()=>i.hintVisible,()=>i.hintText,()=>i.hintType,()=>i.hintProps],([y,R,j,te])=>{Y.value&&(y&&!fe(R)?J?n.show(Y.value,R,{...te,id:J,type:j},!0):J=n.show(Y.value,R,{...te,type:j},!0):n.hide(J))});let P=null;const Q=()=>{P||!Y.value||(P=new IntersectionObserver(y=>{let R=!1;for(let j of y)if(j.intersectionRatio>0){R=!0,R&&o.emit("appear",j);break}R||o.emit("disappear")}),P.observe(Y.value))},le=()=>{!P||!Y.value||(P.unobserve(Y.value),P=null)};(0,l.watch)(()=>de(i.appearListen),y=>{y?Q():le()}),(0,l.onMounted)(()=>{de(i.appearListen)&&Q()}),(0,l.onUnmounted)(le);const U=()=>{if(!$())return null;const y=[],R=o.slots?.label?.()??i.label,j=(0,l.h)("div",{class:V.value},[R]);if(y.push(j),o.slots.fixedPreTip){const te=o.slots.fixedPreTip();y.push(te)}return(0,l.h)("div",{class:M.value,style:S.value},y)},T=()=>{const y=[];if(o.slots.prepend){const R=o.slots.prepend();y.push(R)}if(o.slots.default){const R=o.slots.default();y.push(R)}if(o.slots.append){const R=o.slots.append();y.push(R)}if(o.slots.fixedTip){const R=(0,l.h)("div",{class:[`${m}__fixed-tip`]},[o.slots.fixedTip()]);y.push(R)}return(0,l.h)("div",{ref:Y,class:w.value,style:O.value},y)},A=()=>{const y=ee.value;return y?typeof y=="function"?(0,l.h)("div",{class:"fox-item__tip--icon"},[y()]):(0,l.h)("div",{class:"fox-item__tip--icon"},[(0,l.h)(y)]):null},x=()=>{const y=F.value;return y?typeof y=="function"?(0,l.h)("div",{class:"fox-item__tip--text"},[y()]):(0,l.h)("div",{class:"fox-item__tip--text"},[y]):null},W=()=>{if(!X())return null;const y=[],R=A();R&&y.push(R);const j=x();return j&&y.push(j),(0,l.h)("div",{class:K.value,style:H.value},y)},D=()=>o.slots?.hide?.()??null;return()=>{const y=[],R=[],j=U();j&&R.push(j);const te=T();te&&R.push(te);const ae=(0,l.h)("div",{class:z.value},R);y.push(ae);const oe=W();oe&&y.push(oe);const he=D();return he&&y.push(he),(0,l.h)("div",{class:p.value,style:k.value,prop:i.prop},y)}}}}var{componentName:lu,create:nu,scope:au}=ie("item"),ru=nu(tu(lu,au,Le,!1)),ke=ru,Cn={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function ou(t,a){return{props:{...Cn},setup(n,r){const i=pt(),o=Vl();Bl(!1);const s=(0,l.computed)(()=>o&&i?Dl(i,!1).value:null),u=t,e=(0,l.computed)(()=>({[u]:!0,[`${u}__gutter`]:s.value&&s.value.type!=="flow",[`${u}__stretch`]:n.span==="stretch"})),c=(0,l.computed)(()=>{const m={};if(n.width)n.width!=="auto"&&(m.width=we(n.width));else{const f=o&&i?Ml(i,!1):null;if(s.value&&f)if(s.value.type==="grid"){const p=Al(f,s.value,n.span,n.offset);Object.assign(m,p)}else if(s.value.type==="flow"){const p=Il(f,s.value,n.span,n.offset,n.width);Object.assign(m,p)}else return n.width&&(m.width=we(n.width)),m}return m});return()=>{const m={class:e.value,style:c.value};return r.slots&&typeof r.slots.default=="function"?(0,l.h)("div",m,r.slots.default()):(0,l.h)("div",m)}}}}var{componentName:iu,create:su,scope:uu}=ie("slot-item"),cu=su(ou(iu,uu)),Pl=cu,Nn={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1}};function du(t,a){return{props:{...Nn},setup(n,r){const i=t,o=(0,l.computed)(()=>({[i]:!0,[`${i}__stretch`]:n.span==="stretch",[`${i}__${n.align}`]:!0})),s=pt(),u=Vl();Bl(!1);const e=(0,l.computed)(()=>{const c={};if(n.width)n.width!=="auto"&&(c.width=we(n.width));else if(u&&s){const m=Dl(s,!1),f=Ml(s,!1);if(m.value&&f)if(m.value.type==="grid"){const p=Al(f,m.value,n.span,n.offset);Object.assign(c,p)}else if(m.value.type==="flow"){const p=Il(f,m.value,n.span,n.offset,n.width);Object.assign(c,p)}else n.width&&(c.width=we(n.width))}return n.gutter&&(c.gap=we(n.gutter)),c});return()=>{const c=[];if(r.slots.default){const m=r.slots.default();if(n.divide)for(let f=0;f<m.length;f++){if(f>0){const p=(0,l.h)("div",{class:{[`${i}__divide`]:!0}});c.push(p)}c.push(m[f])}else Reflect.apply([].push,c,m)}return(0,l.h)("div",{class:o.value,style:e.value},c)}}}}var{componentName:fu,create:mu,scope:hu}=ie("row-item"),pu=mu(du(fu,hu)),Fl=pu;function gu(t,a){const n=document.createRange();n.setStart(t,0),n.setEnd(t,t.childNodes.length);const r=n.getBoundingClientRect().width;if(r>0){a(r);return}t.classList.add("is-selectable"),setTimeout(()=>{n.setStart(t,0),n.setEnd(t,t.childNodes.length);const i=n.getBoundingClientRect().width;t.classList.remove("is-selectable"),a(i)},500)}var vu={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1,default:!0},showArrow:{type:[Boolean],required:!1,default:!0},showAfter:{type:[Number],required:!1,default:300},hideAfter:{type:[Number],required:!1,default:0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String},divide:{type:[Boolean],required:!1}};function yu(t,a,n,r=!1){return{props:{...vu},emits:["click"],setup(i,o){const s=(0,l.ref)(null),u=(0,l.computed)(()=>{const d={[`${t}`]:!0,"is-truncated":i.truncated};return i.type&&(d[`${t}--${i.type??"default"}`]=!0),i.size&&(d[`${t}--${i.size}`]=!0),d}),e=(0,l.computed)(()=>{const d={},z=i.textColor??i.color;return z&&(d.color=z),d}),c=(d,z)=>{let M=null;if(typeof i.highlightFilter=="string"&&i.highlightFilter.length>0){const _=i.highlightFilter;d.indexOf(_)!==-1&&(z.innerHTML=d.replace(new RegExp(_,"g"),`<span>${_}</span>`),z.class["is-highlight"]=!0,M=(0,l.h)(i.tag,z))}else if(typeof i.highlightFilter=="function"){const _=i.highlightFilter(d);_&&(z.innerHTML=_,z.class["is-highlight"]=!0,M=(0,l.h)(i.tag,z))}return M},m=d=>{o.emit("click",d)};let f="";const p=()=>{const d=s.value;if(!d)return;const z=d.clientWidth;gu(d,M=>{const _=d.innerHTML??"";fe(_)||M<z||(f?n?.show(d,_,{type:"text",id:f,showArrow:i.showArrow},!0):f=n?.show(d,_,{type:"text",showArrow:i.showArrow},!0)??"")})},b=()=>{f&&n?.hide(f)};let k=null;const v=d=>{k||(k=setTimeout(()=>{p(),k=null},i.showAfter??0))},h=d=>{k&&(clearTimeout(k),k=null),setTimeout(()=>{b()},i.hideAfter??0)},$=()=>{const d=s.value;d&&(d.addEventListener("mouseover",v),d.addEventListener("mouseleave",h))},g=()=>{const d=s.value;d&&(d.removeEventListener("mouseover",v),d.removeEventListener("mouseleave",h))};return(0,l.onMounted)(()=>{!de(i.showOverflowTooltip)||!n||$()}),(0,l.onBeforeUnmount)(()=>{!de(i.showOverflowTooltip)||!n||g()}),()=>{const d={onClick:m,class:u.value,style:e.value,ref:s};let z=null;if(de(i.numberFormat)&&typeof o.slots.default=="function"){const _=o.slots.default();if(Array.isArray(_)&&_.length===1){const S=_[0].type.toString();if(S==="Symbol(Text)"||S==="Symbol(v-txt)"){const V=ve(i.digits),w=ve(i.decimalLength),O=de(i.autoPadding);let C=`${_[0].children}`,I=C.split("").reverse().join("");I=Sl(I,w,O,V,i.separator),C=I.split("").reverse().join(""),i.highlightFilter!==void 0&&(z=c(C,d)),z||(d.innerHTML=C,z=(0,l.h)(i.tag,d))}}}else{if(i.highlightFilter!==void 0&&typeof o.slots.default=="function"){const _=o.slots.default();if(Array.isArray(_)&&_.length===1){const S=_[0].type.toString();if(S==="Symbol(Text)"||S==="Symbol(v-txt)"){const V=`${_[0].children}`;z=c(V,d),z||(d.innerHTML=V,z=(0,l.h)(i.tag,d))}}}z||(z=(0,l.h)(i.tag,d,{default:o.slots.default}))}if(!i.mark&&!o.slots.mark)return z;const M=[];if(o.slots.mark){const _={[`${t}__mark-wrap`]:!0};i.type&&(_[`${t}__mark-wrap--${i.type}`]=!0);const S={},V=i.color;V&&(S.color=V);const w=(0,l.h)("view",{onClick:m,class:_,style:S},{default:o.slots.mark});M.push(w)}else{const _={[`${t}__mark`]:!0};i.type&&(_[`${t}__mark--${i.type??"default"}`]=!0);const S={},V=i.color;V&&(S["background-color"]=V);const w=(0,l.h)("view",{onClick:m,class:_,style:S});M.push(w)}if(i.divide){const _=(0,l.h)("div",{class:{[`${t}__divide`]:!0}});M.push(_)}return M.push(z),(0,l.h)("view",{class:{"fox-text__wrap":!0,"text-left":i.textPosition==="left","text-right":i.textPosition==="right"}},M)}}}}var{componentName:bu,create:wu,scope:Su}=ie("text"),xu=wu(yu(bu,Su,Le,!1)),Rl=xu,Cu={visible:{type:Boolean},reference:{type:Object},referenceInset:{type:Object},width:{type:String},offset:{type:Number,default:()=>6},placement:{type:String,default:()=>"top-start"},autoFit:{type:Boolean,default:()=>!0},title:{type:String},effect:{type:String,default:()=>"light"},showArrow:{type:Boolean,default:()=>!0},arrowSize:{type:Number,default:()=>14},arrowOffset:{type:Number,default:()=>20},showOverlay:{type:Boolean,default:()=>!0},closeOnClick:{type:Boolean,default:()=>!0},zIndex:{type:[String,Number]},customClass:{type:[String]},customStyle:{type:[Object]},leaveHide:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},teleportDisable:{type:Boolean,default:()=>!1}};function Nu(t,a,n=!1){return{props:{...Cu},emits:["update:visible"],setup(r,{emit:i,slots:o,expose:s}){const u=(0,l.ref)({top:null,right:null,bottom:null,left:null}),e=(0,l.ref)(0),c=(0,l.ref)(0),m=(0,l.ref)(0),f=(0,l.ref)(0),p=(0,l.ref)(r.placement),b=(0,l.ref)(!1),k=(0,l.ref)(!1),v=(0,l.ref)(null),h=()=>typeof r.reference=="string"?document.querySelector(r.reference):r.reference,$=(F,ee,K,H,Y,J,P,Q=!0)=>{const le=document.documentElement.clientWidth||document.body.clientWidth,U=document.documentElement.clientHeight||document.body.clientHeight,T=F.split("-");let A=[];Q?T[0]==="top"?A=["top","bottom","right","left"]:T[0]==="bottom"?A=["bottom","top","right","left"]:T[0]==="left"?A=["left","top","bottom","right"]:T[0]==="right"&&(A=["right","top","bottom","left"]):A=[F[0]];const x={top:null,right:null,bottom:null,left:null},W=[];for(let D=0;D<A.length;D++){const y=A[D];if(W[0]=y,T[1]&&(W[1]=T[1]),y==="top"){const R=K-P-r.arrowSize/2-r.offset;if(R>=0){x.top=R;let j=0;T[1]==="start"?j=ee:T[1]==="end"?j=ee+H-J:j=ee+H/2-J/2;const te=le-j-J;te<0?(j+=te,d.value=-te):d.value=0,x.left=j<0?0:j;break}}else if(y==="bottom"){const R=K+Y+r.arrowSize/2+r.offset;if(R+P<=U){x.top=R;let j=0;T[1]==="start"?j=ee:T[1]==="end"?j=ee+H-J:j=ee+H/2-J/2;const te=le-j-J;te<0?(j+=te,d.value=-te):d.value=0,x.left=j<0?0:j;break}}else if(y==="left"){const R=ee-J-r.arrowSize/2-r.offset;if(R>=0){x.left=R;let j=0;T[1]==="start"?j=K:T[1]==="end"?j=K+Y-P:j=K+Y/2-P/2,x.top=j<0?0:j;break}}else if(y==="right"){const R=ee+H+r.arrowSize/2+r.offset;if(R+J<=le){x.left=R;let j=0;T[1]==="start"?j=K:T[1]==="end"?j=K+Y-P:j=K+Y/2-P/2,x.top=j<0?0:j;break}}}return{bestPlacement:W.join("-"),bestInsetRect:x}},g=()=>{const F=r.visible,ee=r.autoFit;if(!ht||F===!1)return;if(r.reference){const P=h(),Q=Gn(P);e.value=Q.x,c.value=Q.y,m.value=P.offsetWidth,f.value=P.offsetHeight}else r.referenceInset&&(e.value=r.referenceInset.left,c.value=r.referenceInset.top,m.value=r.referenceInset.right-r.referenceInset.left,f.value=r.referenceInset.bottom-r.referenceInset.top);const K=v.value.offsetWidth,H=v.value.offsetHeight,{bestPlacement:Y,bestInsetRect:J}=$(r.placement,e.value,c.value,m.value,f.value,K,H,ee);p.value=Y,u.value=J},d=(0,l.ref)(0),z=Ge(()=>{g()},10),M=(0,l.ref)(r.visible);(0,l.watch)([()=>r.visible],([F])=>{M.value=F,F?(b.value=F,setTimeout(()=>{g(),k.value=!0},0)):k.value=!1});const _=(0,l.computed)(()=>M.value&&S.value),S=(0,l.ref)(!0),V=Ge(F=>{const ee=F[0];ee&&(S.value=ee.isIntersecting)},10),w=new IntersectionObserver(V);(0,l.watch)([()=>r.reference,()=>r.referenceInset],([F,ee],[K,H])=>{!F&&!ee||(setTimeout(()=>{g()},0),r.autoFit&&(K&&(Ht.unwatch(K,z),w.unobserve(K)),F&&(Ht.watch(F,z),w.observe(F))))},{immediate:!0}),(0,l.onBeforeUnmount)(()=>{r.reference&&(Ht.unwatch(r.reference,z),w.unobserve(r.reference),w.disconnect())});const O=(0,l.computed)(()=>{const F={[t]:!0};return p.value.startsWith("top")?F["is-top"]=!0:p.value.startsWith("right")?F["is-right"]=!0:p.value.startsWith("bottom")?F["is-bottom"]=!0:p.value.startsWith("left")&&(F["is-left"]=!0),F[`is-${r.effect}`]=!0,!k.value&&_.value&&(F["is-opacity"]=!0),k.value&&_.value&&(F["is-show"]=!0),_.value||(F["is-hide"]=!0),r.customClass&&typeof r.customClass=="string"&&(F[`${r.customClass}`]=!0),F}),C=(0,l.computed)(()=>{const F={};return u.value.top!==null&&(F.top=`${u.value.top}px`),u.value.right!==null&&(F.right=`${u.value.right}px`),u.value.bottom!==null&&(F.bottom=`${u.value.bottom}px`),u.value.left!==null&&(F.left=`${u.value.left}px`),r.width&&(F.width=r.width),r.zIndex&&(F["z-index"]=`${r.zIndex}`),r.customStyle&&typeof r.customStyle=="object"&&Object.assign(F,r.customStyle),F}),I=()=>{M.value=!1,i("update:visible",!1)},Z=()=>r.showOverlay?(0,l.h)("div",{class:`${t}__overlay`,onClick:I}):null,N=()=>{let F=null;return o.title?F=(0,l.h)("div",{class:`${t}__title`},{default:o.title}):r.title&&(F=(0,l.h)("div",{class:`${t}__title`},[r.title])),F},E=(0,l.computed)(()=>({[`${t}__arrow`]:!0})),L=(0,l.computed)(()=>{const F={};return r.showArrow?(F.width=`${r.arrowSize}px`,F.height=`${r.arrowSize}px`,p.value==="top"?(F.left="50%",F.bottom="0",F.transform="translate(-50%, 50%)"):p.value==="top-start"?(F.left=`${r.arrowOffset+d.value}px`,F.bottom="0",F.transform="translate(-50%, 50%)"):p.value==="top-end"?(F.right=`${r.arrowOffset-d.value}px`,F.bottom="0",F.transform="translate(-50%, 50%)"):p.value==="right"?(F.left="0",F.top="50%",F.transform="translate(-50%, -50%)"):p.value==="right-start"?(F.left="0",F.top=`${r.arrowOffset}px`,F.transform="translate(-50%, 50%)"):p.value==="right-end"?(F.left="0",F.bottom=`-${r.arrowOffset}px`,F.transform="translate(-50%, 50%)"):p.value==="bottom"?(F.left="50%",F.top="0",F.transform="translate(-50%, -50%)"):p.value==="bottom-start"?(F.left=`${r.arrowOffset+d.value}px`,F.top="0",F.transform="translate(-50%, -50%)"):p.value==="bottom-end"?(F.right=`${r.arrowOffset-d.value}px`,F.top="0",F.transform="translate(-50%, -50%)"):p.value==="left"?(F.right="0",F.top="50%",F.transform="translate(50%, -50%)"):p.value==="left-start"?(F.right="0",F.top=`${r.arrowOffset}px`,F.transform="translate(50%, -50%)"):p.value==="left-end"&&(F.right="0",F.bottom=`-${r.arrowOffset}px`,F.transform="translate(50%, -50%)"),F):{display:"none"}}),q=()=>(0,l.h)("div",{class:E.value,style:L.value}),G=()=>{M.value===!1&&(b.value=!1)},X=F=>{if(!v.value||M.value===!1)return;const{relatedTarget:ee}=F;v.value.contains(ee)||(M.value=!1,i("update:visible",!1))};return s({doLayout:g}),()=>{if(!b.value)return null;const F=[],ee=Z();ee&&F.push(ee);const K=[],H=N();if(H&&K.push(H),o.default){const Q=o.default();K.push(Q)}const Y=q();Y&&K.push(Y);const J={ref:v,class:O.value,style:C.value,onAnimationend:G};r.leaveHide&&(J.onMouseleave=X);const P=(0,l.h)("div",J,{default:()=>K});return F.push(P),(0,l.h)(l.Teleport,{to:r.teleport,disabled:r.teleportDisable},{default:()=>F})}}}}var{componentName:ku,create:zu,scope:Eu}=ie("popover-dialog"),Tu=zu(Nu(ku,Eu,!1)),Ol=Tu,_u={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1}};function $u(t,a,n){return{props:{...Nn,..._u},emits:["click"],setup(r,{slots:i,attrs:o}){const{toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["moreText"]),e=t,c=(0,l.computed)(()=>({[e]:!0}));function m(_){return _.props||{}}function f(_){return!!m(_).disabled}function p(_){return _.children??[]}const b=(0,l.ref)(),k=(0,l.computed)(()=>b.value?.$el??null),v=(0,l.ref)(!1),h=_=>{v.value=_},$=()=>{v.value=!v.value};function g(_,S){return()=>{S||(v.value=!1,m(_)?.onClick?.())}}function d(_,S){const V=p(_),w=f(_),O=g(_,w),C=[`${e}__dropdown-item`];return w&&C.push("is-disabled"),(0,l.h)("span",{class:C,onClick:O},V)}const z=_=>{const S=r.maxDisplayCount??_.length;if(S>=_.length)return _;const V=[],w=S-1;for(let N=0;N<w;N++)V.push(_[N]);const O=(i.moreIcon&&i.moreIcon())??(r.moreIcon&&(0,l.h)(r.moreIcon))??(0,l.h)(n),C=(0,l.h)(Rl,{ref:N=>b.value=N,class:`${e}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:r.type,onClick:$},{default:()=>u.moreText.value,mark:()=>O});V.push(C);const I=[];for(let N=w;N<_.length;N++){const E=d(_[N],N);I.push(E)}const Z=(0,l.h)(Ol,{placement:r.dropdownPlacement,"onUpdate:visible":h,visible:v.value,reference:k.value,"custom-class":`${e}__popover`},{default:()=>I});return V.push(Z),V},M=()=>(i.default?.()||[]).filter(_=>_.type!==Comment);return()=>{const _=z(M()),S=lt(r,Nn);return Object.assign(S,o??{}),S.class=c.value,(0,l.h)(Fl,S,{default:()=>_})}}}}var{componentName:Vu,create:Bu,scope:Du}=ie("buttons-item"),Mu=Bu($u(Vu,Du,$e.ArrowDown)),Xn=Mu,Qe=(t={})=>{if(!t)return{};const a={};return Reflect.ownKeys(t).forEach(n=>{typeof n=="string"&&n.indexOf("data-fox")!==0&&(a[n]=t[n])}),a},Wa={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1}};function Iu(t,a,n){return{props:{...Ce,...ze,...Wa},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=t,v=(0,l.computed)(()=>({[k]:!0,[`${k}__disabled`]:s.value,[`${k}__readonly`]:e.value})),h=E=>{b.value=E,c("update:modelValue",E),c("input",E)},$=E=>{c("change",E)};let g=ge(r,"hintText"),d=(0,l.ref)(!1);const z=E=>{let L=E.target.value;p.value=!0,fe(g.value)||(d.value=!0),c("focus",L,E)},M=E=>{setTimeout(()=>{d.value&&(d.value=!1),p.value=!1},0);let L=E.target.value;r.maxLength&&L.length>Number(r.maxLength)&&(L=L.slice(0,Number(r.maxLength))),c("blur",L,E)},_=()=>{c("clear","")},S=(0,l.ref)(!1);let V=null;const w=()=>{r.showTooltip&&S.value===!1&&(V&&clearTimeout(V),V=setTimeout(()=>{S.value=!0},150))},O=()=>{V&&(clearTimeout(V),S.value=!1,V=null)},C=(0,l.computed)(()=>S.value||d.value),I=(0,l.computed)(()=>S.value?b.value:g.value),Z=(0,l.computed)(()=>Je(r.unit)>0),N=(0,l.ref)();return be({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},select:()=>{N?.value.select()},setDisabled:E=>{o.value=E},setReadonly:E=>{u.value=E}}),()=>{const E={...Qe(i.attrs),ref:N,class:v.value,placeholder:f.placeholder.value,clearable:r.clearable,disabled:s.value,readonly:e.value,modelValue:b.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:_,onChange:$,onInput:h,onFocus:z,onBlur:M,onMouseover:w,onMouseleave:O},L={};i.slots.prepend&&(L.prepend=i.slots.prepend),i.slots.append&&(L.append=i.slots.append),i.slots.prefix&&(L.prefix=i.slots.prefix),i.slots.suffix?L.suffix=i.slots.suffix:Z.value&&(L.suffix=()=>[r.unit]);const q=[],G=(0,l.h)(B.ElInput,E,L);q.push(G);const X={default:()=>q};X.label=i.slots.default,X.fixedPreTip=i.slots.fixedPreTip,X.fixedTip=i.slots.fixedTip;const F={...Me(r,Wa),hintText:I.value,hintVisible:C.value};return r.prop&&(F.prop=`${r.prop}_item`),(0,l.h)(n,F,X)}}}}var{componentName:Au,create:Lu,scope:Pu}=ie("input-item"),Fu=Lu(Iu(Au,Pu,ke)),Zn=Fu;function dt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Kt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function Io(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]||null:a.children??null}function Ru(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var Ou=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n))}};function Hu(){return new Ou((0,l.getCurrentInstance)().proxy)}function Ao(t,a,n){return!(dt(t,a)!==dt(t,n)||Kt(t,a)!==Kt(t,n))}function Lo(t,a,n,r){if(r.length===0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const i=[];return a.forEach(o=>{for(let s of r){const u=Io(t,s);if(Array.isArray(u)&&u.length>0){const e=Lo(t,o,n,u)??[];Reflect.apply([].push,i,e)}else{let e=!1;if(n==="text")e=dt(t,s)===o;else if(n==="item")e=Ao(t,s,o);else{let c=Kt(t,s);c==null&&(c=dt(t,s)),e=c===o}if(e){i.push(s);break}}}}),i}function qu(t){return{text:t,value:t}}var Ua={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},disabledKey:{type:[String],required:!1,default:"disabled"},remoteMethod:{type:[Function],required:!1},filterMethod:{type:[Function],required:!1},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},appearLoad:{type:[Boolean,String],default:!1},showTooltip:{type:Boolean,default:!1}};function ju(t,a,n){return{props:{...Ce,...ze,...Ua},emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(null),b=(0,l.ref)([]),k=(0,l.computed)(()=>b.value?b.value.map(x=>dt(r,x)).join(" "):""),v=(x,W,D,y=!0)=>{if(!D||D.length==0){p.value=x,y&&(c("update:modelValue",x),c("change",x));return}const R=Lo(r,x,W,D);if(R===null){if(b.value===null||b.value.length===0)return;p.value=null,b.value=[],y&&(c("update:modelValue",null),c("update:text",null),c("change",null));return}let j=!0;if(R.length!==b.value.length)j=!1;else for(let te=0;te<R.length;te++){const ae=R[te],oe=b.value[te];if(!Ao(r,ae,oe)){j=!1;break}}if(!j){b.value=R;let te=[],ae=[],oe=[];R.forEach(Xe=>{const ut=Kt(r,Xe),at=dt(r,Xe);te.push(ut),oe.push(at),r.valueType==="text"?ae.push(at):r.valueType==="item"?ae.push(Xe):ae.push(ut)});let he,xe,Te;de(r.multiple)?(p.value=te,he=(0,l.toRaw)(ae),xe=oe,Te=(0,l.toRaw)(R)):(p.value=te[0]??"",he=(0,l.toRaw)(ae[0]??""),xe=oe[0]??"",Te=(0,l.toRaw)(R[0])),y&&(c("update:modelValue",he),c("change",he,Te)),c("update:text",xe)}},h=(0,l.ref)(null),$=(0,l.ref)(null),g=(0,l.computed)(()=>$.value??h.value??[]),d=De((0,l.computed)(()=>r.appearLoad),"appearLoad",qe.Near,x=>de(x)),z=Hu(),M=async(x,W)=>{if(x){const D=await z.load("select",x,W);D.length>0?typeof D[0]=="string"?h.value=D.map(y=>qu(y)):h.value=D:h.value=null}};(0,l.watch)([()=>r.source,()=>r.params],([x,W])=>{$.value=null,M(x,W)},{immediate:!d.value});let _=!1;const S=()=>{_||(_=!0,M(r.source,r.params))};(0,l.watch)([()=>h.value,()=>r.modelValue],([x,W])=>{if(C()&&de(r.multiple)){Ue(W,p.value)||(p.value=W);return}v(W,r.valueType,g.value,!1),c("setValue",W)}),r.source||(p.value=r.modelValue);let V=null,w=(0,l.ref)(!1);typeof r.remoteMethod=="function"&&(V=async x=>{if(x==null){$.value=null;return}w.value=!0;try{const W=await r.remoteMethod(x);W&&($.value=W)}catch(W){$.value=null,console.error(W)}w.value=!1});let O=null;typeof r.filterMethod=="function"&&(O=async x=>{if(x==null){$.value=null;return}w.value=!0;try{const W=await r.filterMethod(x,h.value);W&&($.value=W)}catch(W){$.value=null,console.error(W)}w.value=!1});const C=()=>typeof r.remoteMethod=="function"||typeof r.filterMethod=="function",I=(0,l.ref)(!1),Z=t,N=(0,l.computed)(()=>({[Z]:!0})),E=x=>{r.allowCreate||C()&&de(r.multiple)?(c("update:modelValue",x),c("change",x),c("update:text",x),p.value=x):v(x,"value",g.value,!0)};let L=ge(r,"hintText"),q=(0,l.ref)(!1);const G=x=>{let W=x.target.value;I.value=!0,fe(L.value)||(q.value=!0),c("focus",W,x)},X=x=>{setTimeout(()=>{q.value&&(q.value=!1),I.value=!1},0);let W=x.target.value;r.maxLength&&W.length>Number(r.maxLength)&&(W=W.slice(0,Number(r.maxLength))),Q.value||c("blur",W,x)},F=()=>{c("clear","")},ee=(0,l.ref)(!1);let K=null;const H=()=>{r.showTooltip&&ee.value===!1&&(K&&clearTimeout(K),K=setTimeout(()=>{ee.value=!0},150))},Y=()=>{K&&(clearTimeout(K),ee.value=!1,K=null)},J=(0,l.computed)(()=>ee.value||q.value),P=(0,l.computed)(()=>ee.value?k.value:L.value),Q=(0,l.ref)(!1),le=x=>{Q.value=x,c("visible-change",x),x||c("selected")},U=x=>{c("remove-tag",x)},T=(x,W)=>{const D=[];return x.forEach((y,R)=>{const j=Io(r,y);if(Array.isArray(j)&&j.length>0){const te=T(j,W),ae=dt(r,y),oe={key:`${ae}_${R}`,label:ae};D.push((0,l.h)(B.ElOptionGroup,oe,{default:()=>te}))}else{const te=Kt(r,y),ae=dt(r,y),oe=Ru(r,y),he={key:`${te}_${R}`,label:ae,disabled:oe,value:te};if(typeof W=="function")D.push((0,l.h)(B.ElOption,he,{default:()=>W(y)}));else if(r.optionType==="item"){const xe=(0,l.h)("span",{class:{"fox-select-item__option-left":!0}},[te]),Te=(0,l.h)("span",{class:{"fox-select-item__option-right":!0}},[ae]),Xe=(0,l.h)("div",{class:{"fox-select-item__option":!0}},[xe,Te]);D.push((0,l.h)(B.ElOption,he,{default:()=>Xe}))}else r.optionType==="value"?D.push((0,l.h)(B.ElOption,he,{default:()=>[te]})):D.push((0,l.h)(B.ElOption,he))}}),D},A=(0,l.ref)();return be({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},setDisabled:x=>{o.value=x},setReadonly:x=>{u.value=x}}),()=>{const x={...Qe(i.attrs),ref:A,class:N.value,clearable:r.clearable,multiple:r.multiple,placeholder:f.placeholder.value,disabled:s.value||e.value,modelValue:p.value,"value-key":r.valueKey,"allow-create":r.allowCreate,onClear:F,onChange:E,onFocus:G,onBlur:X,onVisibleChange:le,onRemoveTag:U};typeof V=="function"&&(x["remote-method"]=V,x.loading=w.value),typeof O=="function"&&(x["filter-method"]=O,x.loading=w.value);const W={};i.slots.prefix&&(W.prefix=i.slots.prefix),i.slots.empty&&(W.empty=i.slots.empty),i.slots.options?W.default=i.slots.options:W.default=()=>T(g.value,i.slots.option);const D=[],y=(0,l.h)(B.ElSelect,x,W);D.push(y);const R={default:()=>D};R.label=i.slots.default,R.fixedPreTip=i.slots.fixedPreTip,R.fixedTip=i.slots.fixedTip;const j={...Me(r,Ua),hintText:P.value,hintVisible:J.value,onMouseover:H,onMouseleave:Y};return r.prop&&(j.prop=`${r.prop}_item`),d.value&&(j["appear-listen"]=!0,j.onAppear=S),(0,l.h)(n,j,R)}}}}var{componentName:Ku,create:Yu,scope:Wu}=ie("select-item"),Uu=Yu(ju(Ku,Wu,ke)),Jn=Uu,Gu=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=r()})(t,(function(){"use strict";var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",u="minute",e="hour",c="day",m="week",f="month",p="quarter",b="year",k="date",v="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var E=["th","st","nd","rd"],L=N%100;return"["+N+(E[(L-20)%10]||E[L]||E[0])+"]"}},d=function(N,E,L){var q=String(N);return!q||q.length>=E?N:""+Array(E+1-q.length).join(L)+N},z={s:d,z:function(N){var E=-N.utcOffset(),L=Math.abs(E),q=Math.floor(L/60),G=L%60;return(E<=0?"+":"-")+d(q,2,"0")+":"+d(G,2,"0")},m:function N(E,L){if(E.date()<L.date())return-N(L,E);var q=12*(L.year()-E.year())+(L.month()-E.month()),G=E.clone().add(q,f),X=L-G<0,F=E.clone().add(q+(X?-1:1),f);return+(-(q+(L-G)/(X?G-F:F-G))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:f,y:b,w:m,d:c,D:k,h:e,m:u,s,ms:o,Q:p}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},M="en",_={};_[M]=g;var S="$isDayjsObject",V=function(N){return N instanceof I||!(!N||!N[S])},w=function N(E,L,q){var G;if(!E)return M;if(typeof E=="string"){var X=E.toLowerCase();_[X]&&(G=X),L&&(_[X]=L,G=X);var F=E.split("-");if(!G&&F.length>1)return N(F[0])}else{var ee=E.name;_[ee]=E,G=ee}return!q&&G&&(M=G),G||!q&&M},O=function(N,E){if(V(N))return N.clone();var L=typeof E=="object"?E:{};return L.date=N,L.args=arguments,new I(L)},C=z;C.l=w,C.i=V,C.w=function(N,E){return O(N,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var I=(function(){function N(L){this.$L=w(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[S]=!0}var E=N.prototype;return E.parse=function(L){this.$d=(function(q){var G=q.date,X=q.utc;if(G===null)return new Date(NaN);if(C.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var F=G.match(h);if(F){var ee=F[2]-1||0,K=(F[7]||"0").substring(0,3);return X?new Date(Date.UTC(F[1],ee,F[3]||1,F[4]||0,F[5]||0,F[6]||0,K)):new Date(F[1],ee,F[3]||1,F[4]||0,F[5]||0,F[6]||0,K)}}return new Date(G)})(L),this.init()},E.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},E.$utils=function(){return C},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(L,q){var G=O(L);return this.startOf(q)<=G&&G<=this.endOf(q)},E.isAfter=function(L,q){return O(L)<this.startOf(q)},E.isBefore=function(L,q){return this.endOf(q)<O(L)},E.$g=function(L,q,G){return C.u(L)?this[q]:this.set(G,L)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(L,q){var G=this,X=!!C.u(q)||q,F=C.p(L),ee=function(U,T){var A=C.w(G.$u?Date.UTC(G.$y,T,U):new Date(G.$y,T,U),G);return X?A:A.endOf(c)},K=function(U,T){return C.w(G.toDate()[U].apply(G.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(T)),G)},H=this.$W,Y=this.$M,J=this.$D,P="set"+(this.$u?"UTC":"");switch(F){case b:return X?ee(1,0):ee(31,11);case f:return X?ee(1,Y):ee(0,Y+1);case m:var Q=this.$locale().weekStart||0,le=(H<Q?H+7:H)-Q;return ee(X?J-le:J+(6-le),Y);case c:case k:return K(P+"Hours",0);case e:return K(P+"Minutes",1);case u:return K(P+"Seconds",2);case s:return K(P+"Milliseconds",3);default:return this.clone()}},E.endOf=function(L){return this.startOf(L,!1)},E.$set=function(L,q){var G,X=C.p(L),F="set"+(this.$u?"UTC":""),ee=(G={},G[c]=F+"Date",G[k]=F+"Date",G[f]=F+"Month",G[b]=F+"FullYear",G[e]=F+"Hours",G[u]=F+"Minutes",G[s]=F+"Seconds",G[o]=F+"Milliseconds",G)[X],K=X===c?this.$D+(q-this.$W):q;if(X===f||X===b){var H=this.clone().set(k,1);H.$d[ee](K),H.init(),this.$d=H.set(k,Math.min(this.$D,H.daysInMonth())).$d}else ee&&this.$d[ee](K);return this.init(),this},E.set=function(L,q){return this.clone().$set(L,q)},E.get=function(L){return this[C.p(L)]()},E.add=function(L,q){var G,X=this;L=Number(L);var F=C.p(q),ee=function(Y){var J=O(X);return C.w(J.date(J.date()+Math.round(Y*L)),X)};if(F===f)return this.set(f,this.$M+L);if(F===b)return this.set(b,this.$y+L);if(F===c)return ee(1);if(F===m)return ee(7);var K=(G={},G[u]=r,G[e]=i,G[s]=n,G)[F]||1,H=this.$d.getTime()+L*K;return C.w(H,this)},E.subtract=function(L,q){return this.add(-1*L,q)},E.format=function(L){var q=this,G=this.$locale();if(!this.isValid())return G.invalidDate||v;var X=L||"YYYY-MM-DDTHH:mm:ssZ",F=C.z(this),ee=this.$H,K=this.$m,H=this.$M,Y=G.weekdays,J=G.months,P=G.meridiem,Q=function(T,A,x,W){return T&&(T[A]||T(q,X))||x[A].slice(0,W)},le=function(T){return C.s(ee%12||12,T,"0")},U=P||function(T,A,x){var W=T<12?"AM":"PM";return x?W.toLowerCase():W};return X.replace($,(function(T,A){return A||(function(x){switch(x){case"YY":return String(q.$y).slice(-2);case"YYYY":return C.s(q.$y,4,"0");case"M":return H+1;case"MM":return C.s(H+1,2,"0");case"MMM":return Q(G.monthsShort,H,J,3);case"MMMM":return Q(J,H);case"D":return q.$D;case"DD":return C.s(q.$D,2,"0");case"d":return String(q.$W);case"dd":return Q(G.weekdaysMin,q.$W,Y,2);case"ddd":return Q(G.weekdaysShort,q.$W,Y,3);case"dddd":return Y[q.$W];case"H":return String(ee);case"HH":return C.s(ee,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return U(ee,K,!0);case"A":return U(ee,K,!1);case"m":return String(K);case"mm":return C.s(K,2,"0");case"s":return String(q.$s);case"ss":return C.s(q.$s,2,"0");case"SSS":return C.s(q.$ms,3,"0");case"Z":return F}return null})(T)||F.replace(":","")}))},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(L,q,G){var X,F=this,ee=C.p(q),K=O(L),H=(K.utcOffset()-this.utcOffset())*r,Y=this-K,J=function(){return C.m(F,K)};switch(ee){case b:X=J()/12;break;case f:X=J();break;case p:X=J()/3;break;case m:X=(Y-H)/6048e5;break;case c:X=(Y-H)/864e5;break;case e:X=Y/i;break;case u:X=Y/r;break;case s:X=Y/n;break;default:X=Y}return G?X:C.a(X)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return _[this.$L]},E.locale=function(L,q){if(!L)return this.$L;var G=this.clone(),X=w(L,q,!0);return X&&(G.$L=X),G},E.clone=function(){return C.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},N})(),Z=I.prototype;return O.prototype=Z,[["$ms",o],["$s",s],["$m",u],["$H",e],["$W",c],["$M",f],["$y",b],["$D",k]].forEach((function(N){Z[N[1]]=function(E){return this.$g(E,N[0],N[1])}})),O.extend=function(N,E){return N.$i||(N(E,I,O),N.$i=!0),O},O.locale=w,O.isDayjs=V,O.unix=function(N){return O(1e3*N)},O.en=_[M],O.Ls=_,O.p={},O}))})),Xu=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(t,(function(){"use strict";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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,s=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,e={},c=function(h){return(h=+h)+(h>68?1900:2e3)},m=function(h){return function($){this[h]=+$}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=(function($){if(!$||$==="Z")return 0;var g=$.match(/([+-]|\d\d)/g),d=60*g[1]+(+g[2]||0);return d===0?0:g[0]==="+"?-d:d})(h)}],p=function(h){var $=e[h];return $&&($.indexOf?$:$.s.concat($.f))},b=function(h,$){var g,d=e.meridiem;if(d){for(var z=1;z<=24;z+=1)if(h.indexOf(d(z,0,$))>-1){g=z>12;break}}else g=h===($?"pm":"PM");return g},k={A:[u,function(h){this.afternoon=b(h,!1)}],a:[u,function(h){this.afternoon=b(h,!0)}],Q:[i,function(h){this.month=3*(h-1)+1}],S:[i,function(h){this.milliseconds=100*+h}],SS:[o,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[s,m("seconds")],ss:[s,m("seconds")],m:[s,m("minutes")],mm:[s,m("minutes")],H:[s,m("hours")],h:[s,m("hours")],HH:[s,m("hours")],hh:[s,m("hours")],D:[s,m("day")],DD:[o,m("day")],Do:[u,function(h){var $=e.ordinal;if(this.day=h.match(/\d+/)[0],$)for(var g=1;g<=31;g+=1)$(g).replace(/\[|\]/g,"")===h&&(this.day=g)}],w:[s,m("week")],ww:[o,m("week")],M:[s,m("month")],MM:[o,m("month")],MMM:[u,function(h){var $=p("months"),g=(p("monthsShort")||$.map((function(d){return d.slice(0,3)}))).indexOf(h)+1;if(g<1)throw new Error;this.month=g%12||g}],MMMM:[u,function(h){var $=p("months").indexOf(h)+1;if($<1)throw new Error;this.month=$%12||$}],Y:[/[+-]?\d+/,m("year")],YY:[o,function(h){this.year=c(h)}],YYYY:[/\d{4}/,m("year")],Z:f,ZZ:f};function v(h){for(var $=h,g=e&&e.formats,d=(h=$.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(O,C,I){var Z=I&&I.toUpperCase();return C||g[I]||n[I]||g[Z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,E,L){return E||L.slice(1)}))}))).match(r),z=d.length,M=0;M<z;M+=1){var _=d[M],S=k[_],V=S&&S[0],w=S&&S[1];d[M]=w?{regex:V,parser:w}:_.replace(/^\[|\]$/g,"")}return function(O){for(var C={},I=0,Z=0;I<z;I+=1){var N=d[I];if(typeof N=="string")Z+=N.length;else{var E=N.regex,L=N.parser,q=O.slice(Z),G=E.exec(q)[0];L.call(C,G),O=O.replace(G,"")}}return(function(X){var F=X.afternoon;if(F!==void 0){var ee=X.hours;F?ee<12&&(X.hours+=12):ee===12&&(X.hours=0),delete X.afternoon}})(C),C}}return function(h,$,g){g.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(c=h.parseTwoDigitYear);var d=$.prototype,z=d.parse;d.parse=function(M){var _=M.date,S=M.utc,V=M.args;this.$u=S;var w=V[1];if(typeof w=="string"){var O=V[2]===!0,C=V[3]===!0,I=O||C,Z=V[2];C&&(Z=V[2]),e=this.$locale(),!O&&Z&&(e=g.Ls[Z]),this.$d=(function(q,G,X,F){try{if(["x","X"].indexOf(G)>-1)return new Date((G==="X"?1e3:1)*q);var ee=v(G)(q),K=ee.year,H=ee.month,Y=ee.day,J=ee.hours,P=ee.minutes,Q=ee.seconds,le=ee.milliseconds,U=ee.zone,T=ee.week,A=new Date,x=Y||(K||H?1:A.getDate()),W=K||A.getFullYear(),D=0;K&&!H||(D=H>0?H-1:A.getMonth());var y,R=J||0,j=P||0,te=Q||0,ae=le||0;return U?new Date(Date.UTC(W,D,x,R,j,te,ae+60*U.offset*1e3)):X?new Date(Date.UTC(W,D,x,R,j,te,ae)):(y=new Date(W,D,x,R,j,te,ae),T&&(y=F(y).week(T).toDate()),y)}catch{return new Date("")}})(_,w,S,g),this.init(),Z&&Z!==!0&&(this.$L=this.locale(Z).$L),I&&_!=this.format(w)&&(this.$d=new Date("")),e={}}else if(w instanceof Array)for(var N=w.length,E=1;E<=N;E+=1){V[1]=w[E-1];var L=g.apply(this,V);if(L.isValid()){this.$d=L.$d,this.$L=L.$L,this.init();break}E===N&&(this.$d=new Date(""))}else z.call(this,M)}}}))})),Zu=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(t,(function(){"use strict";return function(n,r){var i=r.prototype,o=i.format;i.format=function(s){var u=this,e=this.$locale();if(!this.isValid())return o.bind(this)(s);var c=this.$utils(),m=(s||"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(f){switch(f){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return e.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return e.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(u.$H===0?24:u.$H),f==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return f}}));return o.bind(this)(m)}}}))})),Ju=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localeData=r()})(t,(function(){"use strict";return function(n,r,i){var o=r.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},u=function(f,p,b,k,v){var h=f.name?f:f.$locale(),$=s(h[p]),g=s(h[b]),d=$||g.map((function(M){return M.slice(0,k)}));if(!v)return d;var z=h.weekStart;return d.map((function(M,_){return d[(_+(z||0))%7]}))},e=function(){return i.Ls[i.locale()]},c=function(f,p){return f.formats[p]||(function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(k,v,h){return v||h.slice(1)}))})(f.formats[p.toUpperCase()])},m=function(){var f=this;return{months:function(p){return p?p.format("MMMM"):u(f,"months")},monthsShort:function(p){return p?p.format("MMM"):u(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):u(f,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):u(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):u(f,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return c(f.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return m.bind(this)()},i.localeData=function(){var f=e();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(p){return c(f,p)},meridiem:f.meridiem,ordinal:f.ordinal}},i.months=function(){return u(e(),"months")},i.monthsShort=function(){return u(e(),"monthsShort","months",3)},i.weekdays=function(f){return u(e(),"weekdays",null,null,f)},i.weekdaysShort=function(f){return u(e(),"weekdaysShort","weekdays",3,f)},i.weekdaysMin=function(f){return u(e(),"weekdaysMin","weekdays",2,f)}}}))})),Qu=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(t,(function(){"use strict";var n="week",r="year";return function(i,o,s){var u=o.prototype;u.week=function(e){if(e===void 0&&(e=null),e!==null)return this.add(7*(e-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=s(this).startOf(r).add(1,r).date(c),f=s(this).endOf(n);if(m.isBefore(f))return 1}var p=s(this).startOf(r).date(c).startOf(n).subtract(1,"millisecond"),b=this.diff(p,n,!0);return b<0?s(this).startOf("week").week():Math.ceil(b)},u.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),ec=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_weekYear=r()})(t,(function(){"use strict";return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),s=this.year();return o===1&&i===11?s+1:i===0&&o>=52?s-1:s}}}))})),tc=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_dayOfYear=r()})(t,(function(){"use strict";return function(n,r,i){r.prototype.dayOfYear=function(o){var s=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}}))})),lc=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(t,(function(){"use strict";return function(n,r){r.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}}))})),nc=it(((t,a)=>{(function(n,r){typeof t=="object"&&typeof a<"u"?a.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(t,(function(){"use strict";return function(n,r){r.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}}))})),nt=st(Gu(),1),ac=st(Xu(),1),rc=st(Zu(),1),oc=st(Ju(),1),ic=st(Qu(),1),sc=st(ec(),1),uc=st(tc(),1),cc=st(lc(),1),dc=st(nc(),1);nt.default.extend(oc.default);nt.default.extend(rc.default);nt.default.extend(ac.default);nt.default.extend(ic.default);nt.default.extend(sc.default);nt.default.extend(uc.default);nt.default.extend(cc.default);nt.default.extend(dc.default);var Oe={format(t,a="YYYY-MM-DD"){return(0,nt.default)(t).format(a)},parser(t,a){return(0,nt.default)(t,a).toDate()},getDay(t,a,n){let r=a??new Date;const i=t*(1e3*60*60*24);return r=new Date(r.getTime()+i),n=n??"YYYY-MM-DD",this.format(r,n)},isLeapYear(t){return t%4==0&&t%100!=0||t%400==0},getWhatDay(t,a,n){let r=new Date(t+"/"+a+"/"+n).getDay();return r==0&&(r=7),r},getMonthDays(t,a){return/^0/.test(a)&&(a=a.split("")[1]),[0,31,this.isLeapYear(Number(t))?29:28,31,30,31,30,31,31,30,31,30,31][a]},getNumTwoBit(t){return t=Number(t),(t>9?"":"0")+t},date2Str:function(t,a){return a=a||"-",[t.getFullYear(),this.getNumTwoBit(t.getMonth()+1),this.getNumTwoBit(t.getDate())].join(a)},compare(t,a,n){const r=typeof t=="string"?this.parser(t,n):t,i=typeof a=="string"?this.parser(a,n):a,o=r.getTime(),s=i.getTime();return o==s?0:o>s?1:-1},between(t,a,n,r){let i;r==="year"?i=new Date(new Date(a).setFullYear(a.getFullYear()+n)):r==="month"?i=new Date(new Date(a).setMonth(a.getMonth()+n)):i=new Date(new Date(a).setDate(a.getDate()+n));const o=t.getTime(),s=i.getTime(),u=a.getTime();return s>u?o>=u&&o<=s:o>=s&&o<=u},inScope4Day(t,a,n){return this.between(t,a,n,"day")},inScope4Month(t,a,n){return this.between(t,a,n,"month")},inScope4Year(t,a,n){return this.between(t,a,n,"year")}},Ga={type:{type:[String],required:!1},modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},valueFormat:{type:[String],required:!1},format:{type:[String],required:!1,default:"YYYY-MM-DD"},flashFill:{type:[Boolean],required:!1,default:!0},flashFillThreshold:{type:[Function,Number],required:!1,default:8},flashFillFormat:{type:[Function,String],required:!1,default:"YYYYMMDD"}},Xa={isLongTerm:{type:[Boolean,String],required:!1,default:!1},longTermText:{type:[String],required:!1},longTermActionLabel:{type:[String],required:!1},longTerm:{type:[Boolean],required:!1,default:!1},longTermValue:{type:[Date,Number,String,Array],required:!1},compatibleLongTermValue:{type:[Date,Number,String,Array],required:!1}};function fc(t,a,n){return{props:{...Ce,...ze,...Ga,...Xa},emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=(0,l.computed)(()=>q.value&&Array.isArray(b.value)&&b.value.length==2?b.value[0]:b.value),v=(0,l.computed)(()=>q.value?"longTermKey":"normalKey"),h=A=>{if(q.value&&r.type==="daterange"){const x=[...b.value];x[0]=A,b.value=x}else b.value=A;c("update:modelValue",b.value),c("change",b.value)},$=(0,l.computed)(()=>q.value&&r.type==="daterange"?"date":r.type),g=t,d=(0,l.computed)(()=>({[`${g}`]:!0,"is-long":q.value,"is-readonly":e.value,"is-disabled":s.value}));let z=ge(r,"hintText"),M=(0,l.ref)(!1);const _=A=>{let x=A.target.value;p.value=!0,fe(z.value)||(M.value=!0),c("focus",x,A)},S=A=>{setTimeout(()=>{M.value&&(M.value=!1),p.value=!1},0);let x=A.target.value;r.maxLength&&x.length>Number(r.maxLength)&&(x=x.slice(0,Number(r.maxLength))),c("blur",x,A)},V=()=>{c("clear","")},w=A=>{c("calendar-change",A)},O=(A,x,W)=>{c("panel-change",A,x,W)},C=A=>{c("visible-change",A)},I=De((0,l.computed)(()=>r.longTermText),"longTermText",qe.Near),Z=De((0,l.computed)(()=>r.longTermActionLabel),"longTermActionLabel",qe.Near),N=De((0,l.computed)(()=>r.longTermValue),"longTermValue",qe.Near),E=De((0,l.computed)(()=>r.compatibleLongTermValue),"compatibleLongTermValue",qe.Near);let L=null;const q=(0,l.ref)(de(r.longTerm)),G=A=>{if(q.value=A,c("update:longTerm",A),A){if(L=b.value,r.type==="daterange"){const x=[];Array.isArray(N.value)?(x[0]=b.value?b.value[0]??N.value[0]:null,x[1]=N.value[1]??N.value[0]):(x[0]=b.value?b.value[0]??N.value:null,x[1]=q.value),x[0]||(x[0]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),x[1]||(x[1]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),b.value=x}else Array.isArray(N.value)?b.value=N.value[1]??N.value[0]:b.value=N.value,b.value||(b.value=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date);c("update:modelValue",b.value)}else{if(r.type==="daterange"){const x=[];x[0]=Array.isArray(b.value)?b.value[0]:b.value,Array.isArray(L)?x[1]=L[1]:x[1]=L,x[0]||(x[0]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),x[1]||(x[1]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),b.value=x}else b.value=L;c("update:modelValue",b.value),setTimeout(()=>{U()},100)}},X=de(r.isLongTerm);if(X){const A=()=>{if(q.value===!0){if(L=b.value,r.type==="daterange"){const x=[b.value[0]];Array.isArray(N.value)?x[1]=N.value[1]??N.value[0]:x[1]=q.value,x[0]||(x[0]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),x[1]||(x[1]=r.valueFormat?Oe.format(new Date,r.valueFormat):new Date),b.value=x}else b.value=N.value;c("update:modelValue",b.value)}else Ue(N.value,b.value)&&(q.value=!0)};A(),(0,l.watch)([()=>r.longTerm],([x])=>{q.value!==x&&A()}),(0,l.watch)([()=>b.value],([x])=>{let W=!1;if(r.type==="daterange"&&Array.isArray(x))try{let D=x[1];if(!D)return;if(x[0]==null){c("update:modelValue",[]);return}typeof D!="string"&&r.valueFormat&&(D=Oe.format(D,r.valueFormat));let y=Array.isArray(N.value)?N.value[1]:N.value;(D===y||Array.isArray(E.value)&&E.value.findIndex(R=>D==R)!==-1)&&(W=!0)}catch(D){console.error(D)}q.value!==W&&(q.value=W)},{immediate:!0})}const F=(0,l.computed)(()=>({"fox-date-item__long":!0,"is-active":p.value})),ee=(0,l.ref)(),K=(0,l.ref)(),H=/^\d+$/,Y=(A,x)=>typeof r.flashFillThreshold=="function"?r.flashFillThreshold(A,x):H.test(A)&&A.length===r.flashFillThreshold,J=(A,x)=>{let W;if(typeof r.flashFillFormat=="function")W=r.flashFillFormat(A,x);else{const y=r.flashFillFormat??"YYYYMMDD";W=Oe.parser(A,y)}const D=r.valueFormat??"YYYY-MM-DD";return Oe.format(W,D)},P=A=>A?A.endsWith("range"):!1,Q=A=>{if(!A.target)return;const x=A.target.value??"";if(Y(x,r.type)){const W=J(x,r.type);if(P(r.type)){const D=Array.isArray(b.value)?[...b.value]:[];D[0]=W,h(D)}else h(W)}},le=A=>{if(!A.target)return;const x=A.target.value??"";if(Y(x,r.type)){const W=J(x,r.type);if(P(r.type)){const D=Array.isArray(b.value)?[...b.value]:[];D[1]=W,h(D)}else h(W)}},U=()=>{if(r.flashFill&&ee.value&&ee.value.$el)if(P(r.type)){const A=ee.value.$el.querySelectorAll("input.el-range-input");A[0]&&A[0].addEventListener("input",Q),A[1]&&A[1].addEventListener("input",le)}else{const A=ee.value.$el.querySelector("input.el-input__inner");A&&A.addEventListener("input",Q)}},T=()=>{if(r.flashFill&&ee.value&&ee.value.$el)if(P(r.type)){const A=ee.value.$el.querySelectorAll("input.el-range-input");A[0]&&A[0].removeEventListener("input",Q),A[1]&&A[1].removeEventListener("input",le)}else{const A=ee.value.$el.querySelector("input.el-input__inner");A&&A.removeEventListener("input",Q)}};return(0,l.onMounted)(U),(0,l.onBeforeUnmount)(T),be({focus:()=>{K?.value.focus()},blur:()=>{K?.value.blur()},handleOpen:()=>{K?.value.handleOpen()},handleClose:()=>{K?.value.handleClose()},setDisabled:A=>{o.value=A},setReadonly:A=>{u.value=A}}),()=>{const A={...i.attrs,key:v.value,type:$.value,ref:K,class:d.value,placeholder:f.placeholder.value,disabled:s.value,readonly:e.value,modelValue:k.value,valueFormat:r.valueFormat,format:r.format,"onUpdate:modelValue":h,onClear:V,onFocus:_,onBlur:S,onCalendarChange:w,onPanelChange:O,onVisibleChange:C},x={};i.slots["range-separator"]&&(x["range-separator"]=i.slots["range-separator"]),i.slots.cell&&(x.default=i.slots.cell);const W=[],D=(0,l.h)(B.ElDatePicker,A,x);W.push(D);const y={default:()=>W};if(y.label=i.slots.default,y.fixedPreTip=i.slots.fixedPreTip,y.fixedTip=i.slots.fixedTip,X){if(q.value){const j=(0,l.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),te=(0,l.h)("input",{class:["fox-date-item__long-text"],value:I.value,readonly:!0}),ae=(0,l.h)("div",{class:F.value},{default:()=>[j,te]});W.push(ae)}if(!e.value&&!s.value){const j=(0,l.h)(B.ElCheckbox,{label:Z.value||I.value,disabled:e.value||s.value,modelValue:q.value,"onUpdate:modelValue":G}),te=(0,l.h)("div",{class:{[`${g}__append`]:!0}},[j]);y.append=()=>te}}const R={...Me(r,Ga,Xa),ref:ee,class:{[`${g}__wrapper`]:!0,"has-append":X},hintText:z.value,hintVisible:M.value};return r.prop&&(R.prop=`${r.prop}_item`),(0,l.h)(n,R,y)}}}}var{componentName:mc,create:hc,scope:pc}=ie("date-item"),gc=hc(fc(mc,pc,ke)),Qn=gc,ue={format(t,a="YYYY-MM-DD"){return Oe.format(t,a)},parser(t,a){return Oe.parser(t,a)},isLeapYear:function(t){return Oe.isLeapYear(t)},getWhatDay:function(t,a,n){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(t+"/"+a+"/"+n).getDay()]},getMonthPreDay:function(t,a){let n=new Date(t+"/"+a+"/01").getDay();return n==0&&(n=7),n},getMonthDays:function(t,a){return/^0/.test(a)&&(a=a.split("")[1]),[0,31,this.isLeapYear(Number(t))?29:28,31,30,31,30,31,31,30,31,30,31][a]},getNumTwoBit:function(t){return t=Number(t),(t>9?"":"0")+t},date2Str:function(t,a){return a=a||"-",[t.getFullYear(),this.getNumTwoBit(t.getMonth()+1),this.getNumTwoBit(t.getDate())].join(a)},getDay:function(t){t=t||0;let a=new Date;const n=t*(1e3*60*60*24);return a=new Date(a.getTime()+n),this.date2Str(a)},compareDate:function(t,a){return!(new Date(t.replace("-","/").replace("-","/"))>=new Date(a.replace("-","/").replace("-","/")))},isEqual:function(t,a){return new Date(t).getTime()==new Date(a).getTime()},getMonthWeek:function(t,a,n,r=0){const i=new Date(Number(t),parseInt(a)-1,Number(n));let o=i.getDay();const s=i.getDate();let u=6-o;return r!==0&&(o=o==0?7:o,u=7-o),Math.ceil((s+u)/7)},getYearWeek:function(t,a,n,r=0){const i=new Date(Number(t),parseInt(a)-1,Number(n)),o=new Date(Number(t),0,1),s=Math.round((i.valueOf()-o.valueOf())/864e5);return Math.ceil((s+(o.getDay()+1-1))/7)},getWeekDate:function(t,a,n,r=0){const i=new Date(Number(t),parseInt(a)-1,Number(n)),o=i.getTime();let s=i.getDay();if(r===0){const e=o-s*864e5,c=o+(6-s)*864e5;return[this.date2Str(new Date(e)),this.date2Str(new Date(c))]}else{s=s==0?7:s;const u=1440*60*1e3,e=o-(s-1)*u,c=o+(7-s)*u;return[this.date2Str(new Date(e)),this.date2Str(new Date(c))]}},formatResultDate:function(t){const a=[...t.split("-")];return a[2]=ue.getNumTwoBit(Number(a[2])),a[3]=`${a[0]}-${a[1]}-${a[2]}`,a[4]=ue.getWhatDay(+a[0],+a[1],+a[2]),a}},vc=t=>!!(!t||typeof t=="string"&&t.length==0||Array.isArray(t)&&t.length==0),ea={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:t=>t>=0&&t<=6},popClass:{type:String},popStyle:{type:Object}},ta={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},Po=2e3,Za=Po,yc=(t,a)=>({components:a,props:{...ta},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(n,{emit:r}){const i=(0,l.reactive)({zIndex:n.zIndex,showSlot:!0,closed:n.closeable}),o=(0,l.computed)(()=>({[t]:!0,round:n.round,[`fox-popup--${n.position}`]:!0,[`fox-popup--${n.position}--safebottom`]:n.position==="bottom"&&n.safeAreaInsetBottom,[n.popClass]:!0})),s=(0,l.computed)(()=>({zIndex:i.zIndex,transitionDuration:`${n.duration}s`,...n.style})),u=(0,l.computed)(()=>n.transition?n.transition:`fox-popup-slide-${n.position}`),e=()=>{n.zIndex!==Po&&(Za=Number(n.zIndex)),r("update:visible",!0),i.zIndex=++Za,n.destroyOnClose&&(i.showSlot=!0),r("open")},c=()=>{r("update:visible",!1),r("close"),n.destroyOnClose&&setTimeout(()=>{i.showSlot=!1},+n.duration*1e3)},m=v=>{r("click-pop",v)},f=v=>{v.stopPropagation(),r("click-close-icon",v),r("update:visible",!1)},p=v=>{r("click-overlay",v),n.closeOnClickOverlay&&r("update:visible",!1)},b=v=>{r("opend",v)},k=v=>{r("closed",v)};return(0,l.watch)(()=>n.visible,v=>{n.visible?e():c()}),(0,l.watch)(()=>n.closeable,v=>{i.closed=v}),{...(0,l.toRefs)(i),popStyle:s,transitionName:u,classes:o,onClick:m,onClickCloseIcon:f,onClickOverlay:p,onOpened:b,onClosed:k}}}),Lt=0,Ja="fox-overflow-hidden",Qa=()=>ht?document.body:{classList:[]},bc=t=>[()=>{if(t())try{!Lt&&Qa().classList.add(Ja),Lt++}catch{}},()=>{if(t()&&Lt)try{Lt--,!Lt&&Qa().classList.remove(Ja)}catch{}}],wc={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:Sc,create:xc}=ie("overlay"),Cc=xc({props:{...wc},emits:["click","update:visible"],setup(t,{emit:a}){const[n,r]=bc(()=>t.lockScroll),i=(0,l.computed)(()=>({[Sc]:!0,[t.overlayClass]:!0})),o=(0,l.computed)(()=>({transitionDuration:`${t.duration}s`,zIndex:t.zIndex,...t.overlayStyle}));return(0,l.watch)(()=>t.visible,u=>{u?n():r()}),{classes:i,style:o,onClick:u=>{a("click",u),t.closeOnClickOverlay&&a("update:visible",!1)}}}});function Nc(t,a,n,r,i,o){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{name:"overlay-fade"},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.classes),onClick:a[0]||(a[0]=(0,l.withModifiers)((...s)=>t.onClick&&t.onClick(...s),["stop"])),style:(0,l.normalizeStyle)(t.style)},[(0,l.renderSlot)(t.$slots,"default")],6),[[l.vShow,t.visible]])]),_:3})}var Hl=Fe(Cc,[["render",Nc]]),er="fox-icon",Ap=(0,l.defineComponent)({__name:"IconFont",props:{name:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(t,{emit:a}){var n;const r=t,i=a,o=p=>{i("click",p)},s=(0,l.useSlots)();(0,l.useAttrs)();const u=()=>r.name?r.name.indexOf("/")!==-1:!1,e=p=>{if(p)return isNaN(Number(p))?String(p):p+"px"},c=u();let m=(0,l.h)(c?"img":r.tag,{class:c?`${er}__img`:`${r.fontClassName} ${er} ${r.classPrefix}-${r.name}`,style:{color:r.color,fontSize:e(r.size),width:e(r.width||r.size),height:e(r.height||r.size)},onClick:o,src:c?r.name:""},(n=s.default)==null?void 0:n.call(s));const f=()=>m;return(p,b)=>((0,l.openBlock)(),(0,l.createBlock)(f))}});var kc=["aria-labelledby"],zc=[(0,l.createElementVNode)("path",{d:"m636.165 957.44-70.804-70.81c107.591-92.062 176.03-228.587 176.03-381.317 0-145.495-62.284-276.121-161.177-367.774l70.978-70.979c117.013 109.83 190.51 265.477 190.51 438.61 0 180.444-79.78 341.908-205.537 452.27zM445.087 766.356l-72.94-72.929c66.284-36.644 111.191-107.167 111.191-188.257 0-73.615-37.048-138.522-93.47-177.29l71.623-71.614c74.23 57.708 122.189 147.615 122.189 248.904 0 108.657-54.958 204.447-138.593 261.186zm-191.12-175.17c-39.577 0-71.67-32.082-71.67-71.675 0-39.598 32.088-71.675 71.67-71.675 39.609 0 71.68 32.077 71.68 71.675 0 39.593-32.071 71.675-71.68 71.675z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Lp=(0,l.defineComponent)({__name:"Voice",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},zc,14,kc))}}),Ec=["aria-labelledby"],Tc=[(0,l.createElementVNode)("path",{d:"M960 572.8H64c-25.6 0-48-22.4-48-48s22.4-48 48-48h896c25.6 0 48 22.4 48 48s-22.4 48-48 48zm-448 448c-25.6 0-48-22.4-48-48v-896c0-25.6 22.4-48 48-48s48 22.4 48 48v896c0 25.6-22.4 48-48 48z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_c=(0,l.defineComponent)({__name:"Uploader",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Tc,14,Ec))}}),$c=["aria-labelledby"],Vc=[(0,l.createElementVNode)("path",{d:"M512 138.667a288 288 0 0 1 287.403 269.269 245.333 245.333 0 1 1-146.774 468.139 32 32 0 1 1 17.408-61.611 181.333 181.333 0 0 0 91.734-350.89 32 32 0 0 1-24.406-27.52 33.152 33.152 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.659 31.659 0 0 1-16.384 9.728 181.419 181.419 0 1 0 91.733 350.891 32 32 0 1 1 17.451 61.61 245.333 245.333 0 0 1-140.97-470.058A288 288 0 0 1 512 138.666zm18.944 281.898 3.584 3.072 152.15 150.998a32 32 0 0 1-41.473 48.512l-3.584-3.115L544 523.222v287.445a32 32 0 0 1-63.701 4.352l-.299-4.352V523.69l-93.27 93.696a32 32 0 0 1-41.685 3.157l-3.584-3.072a32 32 0 0 1-3.157-41.685l3.072-3.584 147.968-148.438a32 32 0 0 1 41.6-3.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Pp=(0,l.defineComponent)({__name:"UploadCloud",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Vc,14,$c))}}),Bc=["aria-labelledby"],Dc=[(0,l.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312.064-51.584-44.224-93.376-98.816-93.376zm527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Fp=(0,l.defineComponent)({__name:"Tuozhuai",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Dc,14,Bc))}}),Mc=["aria-labelledby"],Ic=[(0,l.createElementVNode)("path",{d:"m573.056 272 308.8 404.608A76.8 76.8 0 0 1 820.736 800H203.232a76.8 76.8 0 0 1-61.056-123.392L450.976 272a76.8 76.8 0 0 1 122.08 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Rp=(0,l.defineComponent)({__name:"TriangleUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Ic,14,Mc))}}),Ac=["aria-labelledby"],Lc=[(0,l.createElementVNode)("path",{d:"m573.056 752 308.8-404.608A76.8 76.8 0 0 0 820.736 224H203.232a76.8 76.8 0 0 0-61.056 123.392L450.976 752a76.8 76.8 0 0 0 122.08 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Op=(0,l.defineComponent)({__name:"TriangleDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Lc,14,Ac))}}),Pc=["aria-labelledby"],Fc=[(0,l.createElementVNode)("path",{d:"M946.693 149.193a73.767 73.767 0 0 0-73.633-16.078L91.58 393.627c-28.662 9.554-47.944 34.196-50.216 64.371-2.272 30.118 12.99 57.439 39.846 71.187L303.974 643.48v228.997c0 16.078 13.05 29.127 29.127 29.127s29.127-13.049 29.127-29.127V673.364L711.812 852.73c10.602 5.418 22.137 8.156 33.613 8.156a73.398 73.398 0 0 0 30.234-6.525 73.342 73.342 0 0 0 41.185-48.817l150.82-583.999c6.875-26.214-1.223-53.885-20.971-72.351zm-35.36 57.788-150.82 583.998c-1.632 6.292-6.117 9.146-8.68 10.253s-7.632 2.622-13.399-.35L389.783 621.985l396.361-272.863a29.057 29.057 0 0 0 7.457-40.486 29.098 29.098 0 0 0-40.487-7.457L330.946 591.867l-223.114-114.47c-8.272-4.253-8.621-11.884-8.388-14.971.233-3.088 1.747-10.603 10.544-13.515L891.41 188.456c1.806-.582 3.495-.874 5.068-.874 5.184 0 8.855 2.796 10.427 4.253 2.04 1.806 6.525 7.107 4.428 15.146z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Hp=(0,l.defineComponent)({__name:"Transmit",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Fc,14,Pc))}}),Rc=["aria-labelledby"],Oc=[(0,l.createElementVNode)("path",{d:"M136.533 540.444c-11.377 0-25.6-5.688-34.133-17.066-14.222-19.911-11.378-45.511 8.533-59.734L477.867 179.2c19.91-14.222 45.51-11.378 59.733 8.533s11.378 45.511-8.533 59.734L162.133 531.91c-5.689 5.689-14.222 8.533-25.6 8.533zm745.245 0c-8.534 0-17.067-2.844-25.6-8.533L489.244 247.467c-19.91-14.223-22.755-42.667-8.533-59.734 14.222-19.91 42.667-22.755 59.733-8.533l366.934 284.444c19.91 14.223 22.755 42.667 8.533 59.734-8.533 11.378-19.911 17.066-34.133 17.066zM512 1024c-22.756 0-42.667-19.911-42.667-42.667v-768c0-22.755 19.911-42.666 42.667-42.666s42.667 19.91 42.667 42.666v768c0 22.756-19.911 42.667-42.667 42.667zM884.622 85.333h-742.4c-22.755 0-42.666-19.91-42.666-42.666S119.466 0 142.222 0h742.4c22.756 0 42.667 19.911 42.667 42.667s-19.911 42.666-42.667 42.666z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],qp=(0,l.defineComponent)({__name:"Top",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Oc,14,Rc))}}),Hc=["aria-labelledby"],qc=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-938.667c-234.667 0-426.667 192-426.667 426.667s192 426.667 426.667 426.667 426.667-192 426.667-426.667S746.667 85.333 512 85.333zM448 320a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm-17.067 149.333h51.2c12.8 0 21.334 8.534 21.334 21.334v8.533c0 12.8-8.534 21.333-21.334 21.333h-51.2c-12.8 0-25.6-12.8-25.6-25.6s12.8-25.6 25.6-25.6zm51.2 0H524.8c25.6 0 51.2 21.334 51.2 51.2v8.534L537.6 755.2c0 8.533-8.533 17.067-21.333 17.067H473.6c-25.6 0-51.2-21.334-51.2-51.2v-8.534L460.8 486.4c4.267-8.533 12.8-17.067 21.333-17.067zm8.534 251.734h76.8c12.8 0 25.6 12.8 25.6 25.6s-12.8 25.6-25.6 25.6h-76.8c-12.8 0-21.334-8.534-21.334-21.334v-12.8c4.267-12.8 12.8-17.066 21.334-17.066z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jc=(0,l.defineComponent)({__name:"Tips",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},qc,14,Hc))}}),Kc=["aria-labelledby"],Yc=[(0,l.createElementVNode)("path",{d:"M507.52 4.48A251.52 251.52 0 0 1 759.04 256l-.064 123.52H832c46.656 0 84.48 37.824 84.48 84.48v473.6A84.48 84.48 0 0 1 832 1024H192a84.48 84.48 0 0 1-84.48-84.48V464c0-46.656 37.824-84.48 84.48-84.48h63.936L256 256A251.52 251.52 0 0 1 507.52 4.48zM832 444.16H192A19.84 19.84 0 0 0 172.16 464v473.6A19.84 19.84 0 0 0 192 960h640a19.84 19.84 0 0 0 19.84-19.84V464A19.84 19.84 0 0 0 832 444.16zm-320.64 128A90.24 90.24 0 0 1 544 746.56v79.04a32 32 0 0 1-32 32.64 32.64 32.64 0 0 1-32.64-32.64l-.064-78.848A90.24 90.24 0 0 1 511.36 572.16zm-3.52-493.824A197.12 197.12 0 0 0 311.68 256l-.064 123.52h392.32L704 256A197.12 197.12 0 0 0 507.84 78.336z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jp=(0,l.defineComponent)({__name:"Suoding",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Yc,14,Kc))}}),Wc=["aria-labelledby"],Uc=[(0,l.createElementVNode)("path",{d:"M762.311 391.396C655.36 466.489 566.613 552.96 491.52 659.91c-20.48 27.307-61.44 27.307-79.644-2.275-34.134-52.338-72.818-91.023-125.156-125.156-25.031-15.929-9.102-54.613 20.48-50.062 56.889 11.378 100.124 34.133 143.36 72.818 77.369-93.298 175.218-166.116 286.72-213.903 27.307-9.102 50.062 31.858 25.031 50.063M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512zm0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Gc=(0,l.defineComponent)({__name:"Success",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Uc,14,Wc))}}),Xc=["aria-labelledby"],Zc=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-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.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 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.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Kp=(0,l.defineComponent)({__name:"Star2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Zc,14,Xc))}}),Jc=["aria-labelledby"],Qc=[(0,l.createElementVNode)("path",{d:"m211.145 1024 63.016-370.215L3.72 391.22l375.466-55.139L547.227 0l168.041 336.082 375.467 55.139-270.441 262.564L883.309 1024 547.227 848.082 211.145 1024zm336.082-265.19 231.057 120.78-44.636-254.687 186.42-178.544L662.756 409.6 547.227 178.544 431.7 409.6l-257.313 36.759 186.42 178.544-44.635 254.687 231.056-120.78z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Yp=(0,l.defineComponent)({__name:"Star11",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":t.name,role:"presentation"},Qc,14,Jc))}}),e1=["aria-labelledby"],t1=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-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.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 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.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Wp=(0,l.defineComponent)({__name:"Star1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},t1,14,e1))}}),l1=["aria-labelledby"],n1=[(0,l.createElementVNode)("path",{d:"M280.598 1008.246c-19.692 0-39.385-3.938-59.077-11.815-31.508-15.754-59.077-43.323-70.892-78.77-3.939-15.753-7.877-31.507-7.877-51.2l3.938-196.923-118.153-153.6C4.906 488.37-2.971 448.985.967 413.538s23.631-70.892 51.2-90.584c11.816-11.816 27.57-19.692 43.323-23.63l189.047-55.14L394.813 82.709c43.324-63.016 129.97-78.77 192.985-35.446 15.754 7.876 27.57 23.63 35.446 35.446l110.277 161.477 189.046 55.138c35.446 11.815 63.016 35.446 82.708 66.954 15.754 31.508 19.692 70.892 11.815 106.338-3.938 15.754-11.815 31.508-23.63 43.323l-118.154 153.6 3.938 196.924c0 35.446-11.815 70.892-39.384 98.461-23.631 27.57-59.077 43.323-94.523 43.323-15.754 0-35.447-3.938-51.2-7.877l-181.17-66.954-185.107 66.954c-15.754 3.939-31.508 7.877-47.262 7.877zm232.37-870.4c-7.878 0-11.816 3.939-15.755 7.877L379.06 319.015c-11.816 15.754-23.631 27.57-43.323 31.508L134.875 409.6c-3.938 0-3.938 0-7.877 3.938s-7.877 11.816-7.877 15.754c0 3.939 0 7.877 3.939 15.754l126.03 165.416c11.816 15.753 15.754 31.507 15.754 51.2l-3.938 204.8v7.876c3.938 7.877 7.877 11.816 11.815 11.816s7.877 3.938 15.754 0l196.923-70.892c15.754-7.877 35.446-7.877 51.2 0l196.923 70.892h7.877c7.877 0 11.815-3.939 15.754-7.877 3.938-3.939 3.938-7.877 3.938-15.754l-3.938-208.738c0-19.693 3.938-35.447 15.754-51.2l129.969-165.416s3.938-3.938 3.938-7.877c3.939-7.877 0-11.815 0-15.754s-3.938-7.876-11.815-7.876l-200.861-59.077c-15.754-3.939-31.508-15.754-43.324-31.508L532.66 141.785c0-3.939-3.939-3.939-3.939-3.939-7.877 3.939-11.815 0-15.754 0zM158.505 681.354zm-7.877-27.57zM300.29 240.247zm425.354 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Up=(0,l.defineComponent)({__name:"Star",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},n1,14,l1))}}),a1=["aria-labelledby"],r1=[(0,l.createElementVNode)("path",{d:"m211.145 1024 63.016-370.215L3.72 391.22l375.466-55.139L547.227 0l168.041 336.082 375.467 55.139-270.441 262.564L883.309 1024 547.227 848.082 211.145 1024zm336.082-265.19 231.057 120.78-44.636-254.687 186.42-178.544L662.756 409.6 547.227 178.544 431.7 409.6l-257.313 36.759 186.42 178.544-44.635 254.687 231.056-120.78z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Gp=(0,l.defineComponent)({__name:"StarN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":t.name,role:"presentation"},r1,14,a1))}}),o1=["aria-labelledby"],i1=[(0,l.createElementVNode)("path",{d:"M1047.135 361.244 722.87 312.89 577.802 22.756c-2.844-8.534-11.378-14.223-19.911-17.067-19.911-8.533-45.511-2.845-54.045 17.067L358.78 312.889 34.513 358.4c-8.533 0-17.067 5.689-22.755 11.378-17.067 17.066-14.223 42.666 0 56.889l233.244 227.555-54.044 321.422c-2.845 8.534 0 17.067 2.844 25.6 11.378 19.912 34.133 28.445 54.044 17.067L537.98 867.556l290.133 150.755c8.533 2.845 17.067 5.689 25.6 2.845 22.756-2.845 36.978-25.6 34.133-45.512l-54.044-321.422 233.244-227.555c5.69-5.69 11.378-14.223 11.378-22.756 5.69-19.911-8.533-39.822-31.289-42.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Xp=(0,l.defineComponent)({__name:"StarFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":t.name,role:"presentation"},i1,14,o1))}}),s1=["aria-labelledby"],u1=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-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.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 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",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Zp=(0,l.defineComponent)({__name:"StarFill1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},u1,14,s1))}}),c1=["aria-labelledby"],d1=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-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.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 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",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Jp=(0,l.defineComponent)({__name:"StarFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},d1,14,c1))}}),f1=["aria-labelledby"],m1=[(0,l.createElementVNode)("path",{d:"M1047.135 361.244 722.87 312.89 577.802 22.756c-2.844-8.534-11.378-14.223-19.911-17.067-19.911-8.533-45.511-2.845-54.045 17.067L358.78 312.889 34.513 358.4c-8.533 0-17.067 5.689-22.755 11.378-17.067 17.066-14.223 42.666 0 56.889l233.244 227.555-54.044 321.422c-2.845 8.534 0 17.067 2.844 25.6 11.378 19.912 34.133 28.445 54.044 17.067L537.98 867.556l290.133 150.755c8.533 2.845 17.067 5.689 25.6 2.845 22.756-2.845 36.978-25.6 34.133-45.512l-54.044-321.422 233.244-227.555c5.69-5.69 11.378-14.223 11.378-22.756 5.69-19.911-8.533-39.822-31.289-42.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Qp=(0,l.defineComponent)({__name:"StarFillN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":t.name,role:"presentation"},m1,14,f1))}}),h1=["aria-labelledby"],p1=[(0,l.createElementVNode)("path",{d:"M512 960C264.96 960 64 759.04 64 512S264.981 64 512 64c246.997 0 448 200.96 448 448S759.04 960 512 960zm0-832c-211.733 0-384 172.267-384 384s172.267 384 384 384 384-172.267 384-384-172.267-384-384-384zm1.067 645.333c-89.195 0-171.926-40.32-226.923-110.613a31.979 31.979 0 1 1 50.39-39.424 222.763 222.763 0 0 0 176.511 86.059c70.123 0 134.891-31.915 177.664-87.552a31.979 31.979 0 1 1 50.774 38.976 286.123 286.123 0 0 1-228.416 112.554zm-144-258.133a47.979 47.979 0 0 1-48-48v-64a47.979 47.979 0 0 1 48-48 47.979 47.979 0 0 1 48 48v64a48 48 0 0 1-48 48zm288 0a48 48 0 0 1-48-48v-64a48 48 0 1 1 96 0v64a48 48 0 0 1-48 48z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],e9=(0,l.defineComponent)({__name:"SmileFace",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},p1,14,h1))}}),g1=["aria-labelledby"],v1=[(0,l.createElementVNode)("path",{d:"M525.474 635.958c-64.674 0-134.737-24.253-185.937-64.674-18.863-13.473-21.558-40.42-8.084-56.59 13.473-18.862 40.42-21.557 56.59-8.083 37.725 29.642 88.925 48.505 137.43 48.505 48.506 0 102.4-18.863 137.432-45.81 16.169-13.474 43.116-10.78 56.59 5.389 13.473 16.168 10.779 43.116-5.39 56.59-48.505 40.42-121.263 64.673-188.631 64.673zm353.01 10.779h-18.863c-70.063 0-150.905-32.337-199.41-78.148-16.169-16.168-16.169-40.42-2.695-56.589 16.168-16.168 40.42-16.168 56.59-2.695 35.03 32.337 97.01 56.59 145.515 56.59h21.558c21.558-2.695 43.116 13.473 45.81 35.031s-13.473 43.116-35.031 45.81h-13.474zm-708.716 0h-13.473c-21.558-2.695-37.727-21.558-35.032-45.81 2.695-21.559 21.558-37.727 45.81-35.032h21.559c51.2 0 115.873-24.253 148.21-56.59 16.169-16.168 40.421-16.168 56.59 0 16.168 16.169 16.168 40.421 0 56.59-48.506 48.505-129.348 78.147-204.8 78.147h-8.085c-2.694 2.695-5.39 2.695-10.779 2.695zm800.337-156.295-53.894-261.39c-18.864-86.23-97.011-148.21-183.243-148.21H326.063c-97.01 0-183.242 67.369-199.41 153.6l-45.81 253.305L0 474.274l45.81-253.306C70.064 97.011 191.327 0 323.369 0h406.906C856.926 0 967.41 88.926 994.358 212.884l53.895 261.39-78.148 16.168zm-808.42 156.295C75.452 646.737 0 571.284 0 479.663c0-21.558 18.863-40.42 40.421-40.42s40.421 18.862 40.421 40.42c0 45.81 37.726 86.232 80.842 86.232 21.558 0 40.421 18.863 40.421 40.42s-18.863 40.422-40.42 40.422zm727.578 0c-21.558 0-40.42-18.863-40.42-40.421s18.862-40.421 40.42-40.421c45.81 0 80.842-35.032 80.842-80.842 0-21.558 18.863-40.421 40.421-40.421s40.421 18.863 40.421 40.42c0 88.927-72.758 161.685-161.684 161.685zM781.473 1024h-512c-105.094 0-188.63-83.537-188.63-188.632V592.842h80.841v242.526c0 59.285 48.505 107.79 107.79 107.79h512c59.284 0 107.79-48.505 107.79-107.79v-256h80.841v256c0 105.095-83.537 188.632-188.631 188.632z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],t9=(0,l.defineComponent)({__name:"Shop3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1050 1024","aria-labelledby":t.name,role:"presentation"},v1,14,g1))}}),y1=["aria-labelledby"],b1=[(0,l.createElementVNode)("path",{d:"M512 658.286c-58.514 0-124.343-25.6-175.543-65.829-21.943-18.286-25.6-54.857-7.314-76.8 18.286-21.943 54.857-25.6 76.8-7.314 32.914 25.6 73.143 43.886 109.714 43.886S596.114 537.6 625.371 512c21.943-18.286 58.515-18.286 76.8 7.314s18.286 58.515-7.314 76.8c-51.2 36.572-120.686 62.172-182.857 62.172zm303.543-3.657c-65.829 0-135.314-29.258-186.514-73.143-21.943-21.943-21.943-54.857-3.658-76.8 21.943-21.943 54.858-21.943 76.8-3.657 36.572 32.914 87.772 51.2 138.972 40.228 29.257-7.314 58.514 14.629 65.828 43.886 7.315 29.257-14.628 58.514-43.885 65.828-14.629 3.658-29.257 3.658-47.543 3.658zm-610.743 0c-14.629 0-32.914 0-47.543-3.658-29.257-7.314-51.2-32.914-43.886-65.828 3.658-29.257 32.915-51.2 62.172-43.886 51.2 10.972 106.057-10.971 138.971-43.886 21.943-21.942 54.857-21.942 76.8 0 21.943 21.943 21.943 54.858 0 76.8-47.543 51.2-117.028 80.458-186.514 80.458zm709.486-160.915-51.2-230.4c-14.629-69.485-76.8-117.028-153.6-117.028H318.17c-80.457 0-153.6 54.857-168.228 124.343l-43.886 223.085L0 471.771l43.886-223.085C65.829 128 182.857 36.57 318.17 36.57h391.315c128 0 234.057 84.115 263.314 204.8l51.2 230.4-109.714 21.943zM168.229 650.971C76.8 650.971 0 574.171 0 482.743c0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857c0 32.914 25.6 58.514 58.515 58.514 29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857zm687.542 0c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857c32.915 0 58.515-25.6 58.515-58.514 0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857c0 91.428-76.8 168.228-168.229 168.228zm-588.8 336.458c-106.057 0-193.828-87.772-193.828-193.829V585.143h109.714V793.6c0 47.543 36.572 84.114 84.114 84.114h493.715c47.543 0 84.114-36.571 84.114-84.114V585.143h109.714V793.6c0 106.057-87.771 193.829-193.828 193.829H266.97z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],l9=(0,l.defineComponent)({__name:"Shop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},b1,14,y1))}}),w1=["aria-labelledby"],S1=[(0,l.createElementVNode)("path",{d:"M714.24 942.08H286.72c-140.8 0-256-115.2-256-256v-371.2c0-140.8 115.2-256 256-256H384c23.04 0 43.52 17.92 43.52 43.52s-17.92 43.52-40.96 43.52h-97.28c-94.72 0-171.52 76.8-171.52 171.52v368.64c0 94.72 76.8 171.52 171.52 171.52H716.8c94.72 0 171.52-76.8 171.52-171.52V317.44c0-23.04 17.92-43.52 43.52-43.52s43.52 17.92 43.52 43.52v368.64c-5.12 140.8-120.32 256-261.12 256zM870.4 145.92H642.56c-23.04 0-43.52-17.92-43.52-43.52s17.92-43.52 43.52-43.52H870.4c23.04 0 43.52 17.92 43.52 43.52s-20.48 43.52-43.52 43.52zM501.76 599.04h-7.68c-23.04-5.12-38.4-25.6-33.28-51.2 40.96-212.48 184.32-389.12 391.68-486.4 20.48-10.24 46.08 0 56.32 20.48 10.24 20.48 0 46.08-20.48 56.32-181.76 84.48-307.2 238.08-343.04 424.96-5.12 23.04-23.04 35.84-43.52 35.84z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],n9=(0,l.defineComponent)({__name:"Share1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S1,14,w1))}}),x1=["aria-labelledby"],C1=[(0,l.createElementVNode)("path",{d:"M744.727 992.97H279.273C124.12 992.97 0 868.848 0 713.697V310.303C0 155.152 124.121 31.03 279.273 31.03h108.606c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545H279.273c-102.4 0-186.182 83.782-186.182 186.182v403.394c0 102.4 83.782 186.182 186.182 186.182h465.454c102.4 0 186.182-83.782 186.182-186.182v-400.29c0-24.825 21.721-46.546 46.546-46.546S1024 288.58 1024 313.406v400.291c0 155.151-124.121 279.273-279.273 279.273zm170.667-868.85H667.152c-24.825 0-46.546-21.721-46.546-46.545s21.721-46.546 46.546-46.546h248.242c24.824 0 46.545 21.722 46.545 46.546s-21.72 46.545-46.545 46.545zM515.103 620.606h-9.31c-24.823-6.206-40.338-27.927-37.235-55.854C512 332.024 670.255 139.636 896.776 34.133c24.824-9.309 49.648 0 62.06 21.722 9.31 24.824 0 49.648-21.72 62.06-201.698 93.091-338.231 260.655-378.57 465.455-3.104 21.72-21.722 37.236-43.443 37.236z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],a9=(0,l.defineComponent)({__name:"Share",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":t.name,role:"presentation"},C1,14,x1))}}),N1=["aria-labelledby"],k1=[(0,l.createElementVNode)("path",{d:"M744.727 992.97H279.273C124.12 992.97 0 868.848 0 713.697V310.303C0 155.152 124.121 31.03 279.273 31.03h108.606c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545H279.273c-102.4 0-186.182 83.782-186.182 186.182v403.394c0 102.4 83.782 186.182 186.182 186.182h465.454c102.4 0 186.182-83.782 186.182-186.182v-400.29c0-24.825 21.721-46.546 46.546-46.546S1024 288.58 1024 313.406v400.291c0 155.151-124.121 279.273-279.273 279.273zm170.667-868.85H667.152c-24.825 0-46.546-21.721-46.546-46.545s21.721-46.546 46.546-46.546h248.242c24.824 0 46.545 21.722 46.545 46.546s-21.72 46.545-46.545 46.545zM515.103 620.606h-9.31c-24.823-6.206-40.338-27.927-37.235-55.854C512 332.024 670.255 139.636 896.776 34.133c24.824-9.309 49.648 0 62.06 21.722 9.31 24.824 0 49.648-21.72 62.06-201.698 93.091-338.231 260.655-378.57 465.455-3.104 21.72-21.722 37.236-43.443 37.236z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],r9=(0,l.defineComponent)({__name:"ShareN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},k1,14,N1))}}),z1=["aria-labelledby"],E1=[(0,l.createElementVNode)("path",{d:"M512 1021.305c-24.253 0-51.2-5.39-75.453-18.863l-309.894-158.99c-53.895-26.947-86.232-83.536-86.232-142.82V323.368c0-61.979 32.337-115.873 86.232-142.82l309.894-158.99c45.81-24.253 102.4-24.253 148.21 0l309.896 158.99c53.894 26.947 86.231 83.536 86.231 142.82v377.264c0 61.979-32.337 115.873-86.231 142.82l-309.895 158.99c-21.558 13.474-48.505 18.863-72.758 18.863zm0-937.768c-13.474 0-24.253 2.695-37.726 8.084l-309.895 158.99c-26.947 13.473-43.116 43.115-43.116 72.757v377.264c0 29.642 16.169 56.59 43.116 72.757l309.895 158.99c24.252 10.779 51.2 10.779 75.452 0l309.895-158.99c26.947-13.473 43.116-40.42 43.116-72.757V323.368c0-29.642-16.169-56.59-43.116-72.757L549.726 91.62c-13.473-5.39-24.252-8.084-37.726-8.084zm0 644.042c-110.484 0-202.105-91.621-202.105-202.105S401.515 323.368 512 323.368s202.105 91.621 202.105 202.106S622.485 727.579 512 727.579zm0-323.368c-67.368 0-121.263 53.894-121.263 121.263S444.632 646.737 512 646.737s121.263-53.895 121.263-121.263S579.368 404.21 512 404.21z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],o9=(0,l.defineComponent)({__name:"Setting",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},E1,14,z1))}}),T1=["aria-labelledby"],_1=[(0,l.createElementVNode)("path",{d:"M838.267 354.657h55.459C865.31 283.212 817.72 222.89 758.072 178.935 690.285 128.98 606.855 100.15 518.25 100.15c-88.607 0-172.034 28.829-239.822 78.784-59.652 43.956-107.238 104.277-135.653 175.722h41.699c15.728 0 30.12 6.474 40.599 16.901l.056.065.062.054c10.444 10.478 16.904 24.864 16.904 40.6V710.31c0 15.745-6.474 30.12-16.904 40.6l-.062.05-.056.067c-10.479 10.443-24.865 16.9-40.6 16.9h-67.161c-34.262 0-65.428-14.03-88.029-36.622l-.116-.117C6.58 708.59-7.456 677.424-7.456 643.168V479.43c0-34.345 14.03-65.544 36.63-88.145l.06.06c13.72-13.712 30.568-24.272 49.33-30.47 30.643-93.997 89.48-173.074 165.365-229 77.62-57.2 173.047-90.206 274.32-90.206 101.266 0 196.7 33.005 274.32 90.205 77.625 57.207 137.421 138.64 167.438 235.475a126.222 126.222 0 0 1 33.497 23.995l.06-.06c22.601 22.601 36.632 53.8 36.632 88.145v163.736c0 34.257-14.035 65.422-36.622 88.022l-.117.116c-22.6 22.591-53.77 36.623-88.03 36.623h-18.638l7.586 5.402c-43.45 60.724-100.182 109.081-164.665 142.223-64.61 33.21-136.954 51.242-211.462 51.242l-2.32-.005c-9.561 9.976-23.032 16.19-37.949 16.19-29.041 0-52.578-23.541-52.578-52.58s23.537-52.576 52.578-52.576c21.12 0 39.333 12.457 47.694 30.424 62.64-1.143 123.187-16.736 177.317-44.558a404.036 404.036 0 0 0 122.747-97.156c-10.768-2.43-20.449-7.916-28.073-15.508l-.056-.065-.06-.05c-10.444-10.482-16.906-24.847-16.906-40.601V412.276c0-15.735 6.464-30.12 16.906-40.6l.06-.053.056-.065c10.484-10.443 24.848-16.901 40.603-16.901zm-654.652 58.48h-66.303c-18.272 0-34.838 7.427-46.791 19.38v.116c-12.028 12.026-19.497 28.6-19.497 46.798v163.737c0 18.238 7.451 34.826 19.436 46.844 12.019 11.984 28.607 19.438 46.852 19.438h66.303V413.136zm721.814 0h-66.302V709.45h66.302c18.243 0 34.835-7.454 46.853-19.438 11.985-12.018 19.434-28.606 19.434-46.844V479.43c0-18.199-7.471-34.772-19.495-46.798v-.116c-11.952-11.952-28.52-19.38-46.792-19.38z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],i9=(0,l.defineComponent)({__name:"Service2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},_1,14,T1))}}),$1=["aria-labelledby"],V1=[(0,l.createElementVNode)("path",{d:"M1024 657.723H905.846v-126.03c0-228.431-177.23-413.54-393.846-413.54s-393.846 185.109-393.846 413.54v126.03H0v-126.03C0 236.307 228.43 0 512 0s512 236.308 512 531.692v126.031zM196.923 866.462C86.646 866.462 0 779.815 0 669.538s86.646-196.923 196.923-196.923 196.923 86.647 196.923 196.923S307.2 866.462 196.923 866.462zm0-275.693c-43.323 0-78.77 35.446-78.77 78.77s35.447 78.769 78.77 78.769 78.77-35.446 78.77-78.77-35.447-78.769-78.77-78.769zm630.154 275.693c-110.277 0-196.923-86.647-196.923-196.924S716.8 472.615 827.077 472.615 1024 559.262 1024 669.538s-86.646 196.924-196.923 196.924zm0-275.693c-43.323 0-78.77 35.446-78.77 78.77s35.447 78.769 78.77 78.769 78.77-35.446 78.77-78.77-35.447-78.769-78.77-78.769zm-149.662 429.293c-23.63 0-47.261-15.754-55.138-43.324-7.877-31.507 7.877-63.015 39.385-74.83 102.4-31.508 189.046-102.4 236.307-196.923 15.754-27.57 51.2-39.385 78.77-23.631s39.384 51.2 23.63 78.77c-63.015 122.091-177.23 216.614-307.2 256-3.938 3.938-11.815 3.938-15.754 3.938z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],s9=(0,l.defineComponent)({__name:"Service",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},V1,14,$1))}}),B1=["aria-labelledby"],D1=[(0,l.createElementVNode)("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512zm0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77zM984.615 1024c-10.502 0-21.005-2.626-28.882-10.503L824.451 882.215c-15.754-15.753-15.754-39.384 0-55.138s39.385-15.754 55.139 0l131.282 131.282c15.754 15.754 15.754 39.385 0 55.138-5.251 7.877-15.754 10.503-26.257 10.503z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],M1=(0,l.defineComponent)({__name:"Search2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},D1,14,B1))}}),I1=["aria-labelledby"],A1=[(0,l.createElementVNode)("path",{d:"M512 1023.999c-280.87 0-512-231.13-512-512S231.13 0 512 0s511.999 231.13 511.999 512-231.13 511.999-512 511.999zm0-936.228c-234.057 0-424.23 190.172-424.23 424.228S277.944 936.23 512 936.23s424.228-190.173 424.228-424.23S746.056 87.772 512 87.772zm468.113 936.228c-11.703 0-23.405-2.926-32.183-11.703L830.902 895.269c-17.554-17.555-17.554-43.886 0-61.44s43.886-17.555 61.44 0l117.028 117.028c17.555 17.554 17.555 43.886 0 61.44-5.851 8.777-17.554 11.703-29.257 11.703z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],u9=(0,l.defineComponent)({__name:"Search",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},A1,14,I1))}}),L1=["aria-labelledby"],P1=[(0,l.createElementVNode)("path",{d:"M257.471 275.98a56.884 56.884 0 1 1-59.785-96.702c89.82-55.632 179.639-110.923 269.515-166.555a85.325 85.325 0 0 1 89.649 0l269.458 166.441a56.884 56.884 0 1 1-59.785 96.76L511.969 118.81 257.47 275.98m0 472.133a56.884 56.884 0 1 0-59.785 96.703L467.2 1011.257a85.325 85.325 0 0 0 89.649 0l269.458-166.441a56.884 56.884 0 1 0-59.785-96.703L511.969 905.17C427.099 852.837 342.285 800.39 257.414 748",fill:"currentColor","fill-opacity":"0.9"},null,-1)],c9=(0,l.defineComponent)({__name:"ScreenLittle",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},P1,14,L1))}}),F1=["aria-labelledby"],R1=[(0,l.createElementVNode)("path",{d:"M802.595 1024H276.757C154.984 1024 55.35 924.368 55.35 802.595v-69.19c0-22.14 19.373-41.513 41.514-41.513s41.513 19.373 41.513 41.513v69.19c0 77.491 60.887 138.378 138.379 138.378h525.838c77.491 0 138.378-60.887 138.378-138.378v-66.422c0-22.14 19.373-41.514 41.513-41.514S1024 714.032 1024 736.173v66.422C1024 924.368 924.368 1024 802.595 1024zM96.865 332.108c-22.14 0-41.514-16.605-41.514-41.513v-69.19C55.351 99.632 154.984 0 276.757 0h525.838C924.368 0 1024 99.632 1024 221.405v69.19c0 22.14-19.373 41.513-41.514 41.513s-41.513-16.605-41.513-41.513v-69.19c0-77.491-60.887-138.378-138.378-138.378H276.757c-77.492 0-138.379 60.887-138.379 138.378v69.19c0 24.908-19.373 41.513-41.513 41.513zm940.973 221.406H41.514C19.373 553.514 0 534.14 0 512s19.373-41.514 41.514-41.514h996.324c22.14 0 41.513 19.373 41.513 41.514s-19.373 41.514-41.513 41.514z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],d9=(0,l.defineComponent)({__name:"Scan2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":t.name,role:"presentation"},R1,14,F1))}}),O1=["aria-labelledby"],H1=[(0,l.createElementVNode)("path",{d:"M307.2 468.114H160.914C73.143 468.114 0 394.971 0 307.2V160.914C0 73.143 73.143 0 160.914 0H307.2c87.771 0 160.914 73.143 160.914 160.914V307.2c0 87.771-73.143 160.914-160.914 160.914zM160.914 87.771c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143H160.914zm702.172 380.343H716.8c-87.771 0-160.914-73.143-160.914-160.914V160.914C555.886 73.143 629.029 0 716.8 0h146.286C950.857 0 1024 73.143 1024 160.914V307.2c0 87.771-73.143 160.914-160.914 160.914zM716.8 87.771c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143h146.286c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143H716.8zM307.2 1024H160.914C73.143 1024 0 950.857 0 863.086V716.8c0-87.771 73.143-160.914 160.914-160.914H307.2c87.771 0 160.914 73.143 160.914 160.914v146.286c0 87.771-73.143 160.914-160.914 160.914zM160.914 643.657c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143H160.914zM204.8 175.543h58.514c17.555 0 29.257 11.703 29.257 29.257v58.514c0 17.555-11.702 29.257-29.257 29.257H204.8c-17.554 0-29.257-11.702-29.257-29.257V204.8c0-17.554 11.703-29.257 29.257-29.257zm482.743 833.828c-23.406 0-43.886-20.48-43.886-43.885V643.657c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886v321.829c0 23.405-20.48 43.885-43.886 43.885zm234.057 0c-23.406 0-43.886-20.48-43.886-43.885V643.657c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886v321.829c0 23.405-20.48 43.885-43.886 43.885z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],f9=(0,l.defineComponent)({__name:"Scan",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},H1,14,O1))}}),q1=["aria-labelledby"],j1=[(0,l.createElementVNode)("path",{d:"M1113.6 349.867h-128c0-119.467-98.133-217.6-217.6-217.6-55.467 0-106.667 21.333-149.333 59.733l-4.267 4.267c-34.133 34.133-85.333 34.133-119.467 0-42.666-42.667-93.866-64-149.333-64-119.467 0-217.6 98.133-217.6 217.6H0c0-192 153.6-345.6 345.6-345.6 76.8 0 149.333 25.6 209.067 72.533C614.4 29.867 686.933 4.267 763.733 4.267c196.267 0 349.867 153.6 349.867 345.6zM588.8 102.4zM93.867 631.467c-4.267-4.267-8.534-12.8-12.8-17.067-51.2-76.8-76.8-170.667-76.8-260.267h128c0 68.267 21.333 136.534 55.466 192 4.267 0 4.267 4.267 8.534 8.534l-102.4 76.8zm934.4-8.534L921.6 550.4c38.4-59.733 64-128 64-200.533h128c0 98.133-29.867 192-85.333 273.066zM558.933 989.867c-12.8 0-29.866-4.267-42.666-8.534-4.267-4.266-8.534-4.266-12.8-4.266C332.8 900.267 192 776.533 85.333 622.933L192 554.667c89.6 136.533 217.6 243.2 362.667 307.2l4.266-4.267C704 789.333 832 682.667 921.6 550.4l106.667 72.533c-102.4 153.6-247.467 277.334-418.134 354.134l-8.533 4.266c-12.8 8.534-29.867 8.534-42.667 8.534zM550.4 866.133zm17.067 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],m9=(0,l.defineComponent)({__name:"SFollow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1113 1024","aria-labelledby":t.name,role:"presentation"},j1,14,q1))}}),K1=["aria-labelledby"],Y1=[(0,l.createElementVNode)("path",{d:"M381.262 1005.563c-16.132 21.51-45.708 24.198-67.216 8.066-21.51-16.132-24.198-45.708-8.066-67.217C413.526 806.602 518.384 666.79 625.932 529.67c8.066-10.755 8.066-24.198 0-34.953C518.384 354.905 413.526 215.093 305.98 77.972c-16.132-21.51-10.755-51.085 8.066-67.217C335.556-5.377 365.13 0 381.262 18.82c107.547 142.5 212.405 282.31 319.952 419.433 34.952 43.019 34.952 104.858 0 150.565C593.667 728.63 488.81 868.44 381.262 1005.562",fill:"currentColor","fill-opacity":"0.9"},null,-1)],W1=(0,l.defineComponent)({__name:"Right",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Y1,14,K1))}}),U1=["aria-labelledby"],G1=[(0,l.createElementVNode)("path",{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2 2.9 3.6 8.1 4.3 11.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8c-1.5-1.2-3.3-1.8-5.2-1.8-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2-2.9-3.6-8.1-4.3-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],h9=(0,l.defineComponent)({__name:"Retweet",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},G1,14,U1))}}),X1=["aria-labelledby"],Z1=[(0,l.createElementVNode)("path",{d:"M771.938 315.077h199.55l-13.13 154.913L758.81 364.964c-13.128-7.877-18.38-23.63-10.502-36.759 2.625-7.877 13.128-13.128 23.63-13.128zm-535.63 393.846H44.636L57.764 554.01l191.672 105.026c13.128 7.877 18.38 23.63 10.502 36.759-5.25 7.877-15.753 13.128-23.63 13.128zM509.374 1024C257.313 1024 44.636 845.456 5.251 596.02 0 575.016 15.754 556.637 36.76 551.386c21.005-2.626 42.01 10.502 44.636 31.507 34.133 210.052 215.302 362.339 427.98 362.339 191.671 0 362.338-128.657 417.476-312.452 5.252-21.005 28.882-34.133 49.887-26.256 21.006 5.251 34.134 28.882 26.257 49.887C937.354 871.713 735.179 1024 509.375 1024zm467.364-551.385c-18.379 0-36.759-13.128-39.384-34.133C903.22 231.056 722.05 78.77 509.374 78.77c-191.671 0-362.338 128.657-414.85 312.452-5.252 21.005-28.883 34.133-49.888 26.256-21.005-5.251-34.133-28.882-26.257-49.887C81.395 152.287 283.57 0 509.374 0c252.062 0 464.739 178.544 504.123 427.98 2.626 21.005-10.502 42.01-31.507 44.635h-5.252z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],p9=(0,l.defineComponent)({__name:"Refresh2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z1,14,X1))}}),J1=["aria-labelledby"],Q1=[(0,l.createElementVNode)("path",{d:"M776.374 334.77h181.17l-27.57 149.66-169.354-90.584c-15.754-7.877-19.692-27.57-11.815-43.323 3.938-7.877 15.754-15.754 27.569-15.754zM256.497 689.23H59.574l27.57-149.66 181.168 90.584c15.754 7.877 23.631 27.57 15.754 43.323-3.938 7.877-15.754 15.754-27.569 15.754zm256 334.77c-252.062 0-464.738-177.23-512-421.415-3.938-31.508 15.754-63.016 51.2-70.893 31.508-3.938 63.015 15.754 66.954 47.262C154.097 768 319.512 901.908 512.497 901.908c189.046 0 346.585-126.031 389.908-307.2 7.877-31.508 39.384-51.2 70.892-43.323 31.508 7.877 51.2 39.384 43.323 70.892C961.482 858.585 756.682 1024 512.497 1024zM965.42 500.185c-27.57 0-55.138-19.693-59.077-51.2C874.835 256 709.42 118.154 512.497 118.154c-185.108 0-350.523 129.97-389.908 307.2-7.877 31.508-39.384 51.2-70.892 43.323-31.508-7.877-51.2-39.385-43.323-70.892C59.574 169.354 272.251 0 512.497 0c256 0 472.615 181.17 512 429.292 3.938 31.508-15.754 63.016-47.262 66.954-3.938 3.939-7.876 3.939-11.815 3.939z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],g9=(0,l.defineComponent)({__name:"Refresh",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Q1,14,J1))}}),e0=["aria-labelledby"],t0=[(0,l.createElementVNode)("path",{d:"M920.576 778.24c-14.336 0-28.672-5.632-39.936-16.384L515.072 395.264 148.48 760.832c-22.016 22.016-57.856 22.016-79.872 0s-22.016-57.856 0-79.872l406.528-405.504c22.016-22.016 57.856-22.016 79.872 0l405.504 406.528c22.016 22.016 22.016 57.856 0 79.872-11.264 11.264-25.6 16.384-39.936 16.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],v9=(0,l.defineComponent)({__name:"RectUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},t0,14,e0))}}),l0=["aria-labelledby"],n0=[(0,l.createElementVNode)("path",{d:"M349.184 983.04c-14.336 0-28.672-5.632-39.936-16.384-22.016-22.016-22.016-57.856 0-79.872l366.08-366.08L309.76 155.136c-22.016-22.016-22.016-57.856 0-79.872s57.856-22.016 79.872 0L795.136 481.28c10.752 10.752 16.384 25.088 16.384 39.936 0 14.848-6.144 29.184-16.384 39.936L389.12 966.656c-10.752 11.264-25.6 16.384-39.936 16.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],y9=(0,l.defineComponent)({__name:"RectRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},n0,14,l0))}}),a0=["aria-labelledby"],r0=[(0,l.createElementVNode)("path",{d:"M657.92 983.04c-14.336 0-28.672-5.632-39.936-16.384L211.968 560.64c-10.752-10.752-16.384-25.088-16.384-39.936 0-14.848 6.144-29.184 16.384-39.936L617.984 74.752c22.016-22.016 57.856-22.016 79.872 0s22.016 57.856 0 79.872l-366.08 366.08 366.08 366.08c22.016 22.016 22.016 57.856 0 79.872-11.264 11.264-25.6 16.384-39.936 16.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],b9=(0,l.defineComponent)({__name:"RectLeft",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},r0,14,a0))}}),o0=["aria-labelledby"],i0=[(0,l.createElementVNode)("path",{d:"M515.072 778.24c-14.336 0-28.672-5.632-39.936-16.384L69.12 356.864c-22.016-22.016-22.016-57.856 0-79.872s57.856-22.016 79.872 0L515.584 642.56 880.64 275.968c22.016-22.016 57.856-22.016 79.872 0s22.016 57.856 0 79.872L555.008 762.368c-10.752 10.752-25.6 15.872-39.936 15.872z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],w9=(0,l.defineComponent)({__name:"RectDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},i0,14,o0))}}),s0=["aria-labelledby"],u0=[(0,l.createElementVNode)("path",{d:"M487.3 722.914c35.885 0 52.529-24.967 52.529-58.255v-17.687c1.043-68.662 26.009-97.268 109.23-154.457 88.945-60.362 145.624-130.045 145.624-230.442 0-156.033-126.895-245.49-284.503-245.49-117.551 0-221.055 55.659-265.262 156.033-10.918 24.456-15.6 48.38-15.6 68.13 0 29.649 17.154 50.465 48.888 50.465 26.52 0 44.207-15.601 52.019-41.1 27.03-98.821 92.052-136.26 176.316-136.26 101.418 0 180.488 57.212 180.488 147.711 0 74.366-46.293 115.976-112.869 162.801-81.667 56.701-141.475 117.552-141.475 209.094v32.756c0 33.288 18.198 56.7 54.593 56.7zm0 284.502c41.078 0 73.855-33.288 73.855-73.855a73.456 73.456 0 0 0-73.855-73.855c-40.567 0-74.388 32.777-74.388 73.855 0 40.567 33.821 73.855 74.388 73.855z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],S9=(0,l.defineComponent)({__name:"Question",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},u0,14,s0))}}),c0=["aria-labelledby"],d0=[(0,l.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],x9=(0,l.defineComponent)({__name:"PoweroffCircleFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},d0,14,c0))}}),f0=["aria-labelledby"],m0=[(0,l.createElementVNode)("path",{d:"M345.6 460.8h409.6q51.2 0 51.2 51.2t-51.2 51.2H345.6q-51.2 0-51.2-51.2t51.2-51.2zM550.4 256q51.2 0 51.2 51.2v409.6q0 51.2-51.2 51.2t-51.2-51.2V307.2q0-51.2 51.2-51.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],C9=(0,l.defineComponent)({__name:"Plus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},m0,14,f0))}}),h0=["aria-labelledby"],p0=[(0,l.createElementVNode)("path",{d:"M500.864 952.64c-239.648 0-434.656-194.976-434.656-434.624 0-239.68 195.008-434.624 434.656-434.624 239.68 0 434.656 194.944 434.656 434.624 0 239.68-195.008 434.624-434.656 434.624m0-933.28C225.92 19.36 2.24 243.104 2.24 518.016c0 274.944 223.68 498.624 498.624 498.624S999.52 792.96 999.52 518.016c0-274.912-223.68-498.624-498.656-498.624m-96 306.624a32 32 0 0 0-32 32v320a32 32 0 0 0 64 0v-320a32 32 0 0 0-32-32m192 0a32 32 0 0 0-32 32v320a32 32 0 0 0 64 0v-320a32 32 0 0 0-32-32",fill:"currentColor","fill-opacity":"0.9"},null,-1)],N9=(0,l.defineComponent)({__name:"PlayStop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},p0,14,h0))}}),g0=["aria-labelledby"],v0=[(0,l.createElementVNode)("path",{d:"M772.7 217.7a32.2 32.1 0 1 0 64.4 0 32.2 32.1 0 1 0-64.4 0zM415.8 679.9c5.9 0 11.5-1.6 16.2-4.5l231.1-134.6c10.9-5.2 18.5-16.3 18.5-29.2 0-11.9-6.4-22.3-16-27.8L439.7 352.2c-5.8-6.7-14.4-10.9-23.9-10.9-17.6 0-31.8 14.4-31.8 32.1 0 .6 0 1.2.1 1.8l-.4.2.5 269c-.1 1.1-.2 2.2-.2 3.4 0 17.7 14.3 32.1 31.8 32.1zm494-373.3c-5.4-10.5-16.3-17.8-28.9-17.8-17.8 0-32.2 14.4-32.2 32.1 0 6 1.7 11.7 4.6 16.5l-.1.1c26.9 52.4 42.1 111.8 42.1 174.7 0 211.6-171.6 383.2-383.2 383.2S128.8 723.8 128.8 512.2 300.4 129.1 512 129.1c62.5 0 121.5 15 173.6 41.5l.2-.4c4.6 2.6 10 4.1 15.7 4.1 17.8 0 32.2-14.4 32.2-32.1 0-13.1-7.9-24.4-19.3-29.4C653.6 81.9 584.9 64.5 512 64.5 264.7 64.5 64.3 265 64.3 512.2S264.7 959.9 512 959.9s447.7-200.4 447.7-447.7c0-74.1-18-144-49.9-205.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],k9=(0,l.defineComponent)({__name:"PlayStart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},v0,14,g0))}}),y0=["aria-labelledby"],b0=[(0,l.createElementVNode)("path",{d:"M917 248.2c11 0 20 9 20 20v487.6c0 11-9 20-20 20s-20-9-20-20V268.2c0-11 9-20 20-20zm-7.2 262.9L486.4 266.7c-.7-.4-1.5.1-1.5.9v488.9c0 .8.8 1.3 1.5.9l423.4-244.5c.7-.4.7-1.4 0-1.8zm-417.9 0L68.5 266.7c-.7-.4-1.5.1-1.5.9v488.9c0 .8.8 1.3 1.5.9l423.4-244.5c.7-.4.7-1.4 0-1.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],z9=(0,l.defineComponent)({__name:"PlayDoubleForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},b0,14,y0))}}),w0=["aria-labelledby"],S0=[(0,l.createElementVNode)("path",{d:"M87 775.8c-11 0-20-9-20-20V268.2c0-11 9-20 20-20s20 9 20 20v487.6c0 11-9 20-20 20zm7.2-262.9 423.4 244.5c.7.4 1.5-.1 1.5-.9v-489c0-.8-.8-1.3-1.5-.9L94.2 511.1c-.7.4-.7 1.4 0 1.8zm417.9 0 423.4 244.5c.7.4 1.5-.1 1.5-.9v-489c0-.8-.8-1.3-1.5-.9L512.1 511.1c-.7.4-.7 1.4 0 1.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],E9=(0,l.defineComponent)({__name:"PlayDoubleBack",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S0,14,w0))}}),x0=["aria-labelledby"],C0=[(0,l.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8c-1.4 1-3 1.5-4.7 1.5-4.4 0-8-3.6-8-8V353.7c0-1.7.5-3.3 1.5-4.7 2.6-3.6 7.6-4.4 11.2-1.8L656.1 506c.7.5 1.3 1.1 1.8 1.8 2.6 3.5 1.8 8.5-1.8 11.1z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],T9=(0,l.defineComponent)({__name:"PlayCircleFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},C0,14,x0))}}),N0=["aria-labelledby"],k0=(0,l.createElementVNode)("path",{d:"M853.333 887.467H170.667c-54.614 0-102.4-47.787-102.4-102.4V238.933c0-54.613 47.786-102.4 102.4-102.4h682.666c54.614 0 102.4 47.787 102.4 102.4v546.134c0 54.613-47.786 102.4-102.4 102.4zM170.667 204.8c-20.48 0-34.134 13.653-34.134 34.133v546.134c0 20.48 13.654 34.133 34.134 34.133h682.666c20.48 0 34.134-13.653 34.134-34.133V238.933c0-20.48-13.654-34.133-34.134-34.133H170.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1),z0=(0,l.createElementVNode)("path",{d:"M614.4000000000001 402.773a1.067 1.067 0 1 0 136.533 0 1.067 1.067 0 1 0-136.533 0ZM785.067 689.493c-61.44-47.786-88.747-34.133-129.707-13.653-27.307 13.653-68.267 27.307-122.88 20.48-68.267-13.653-95.573-61.44-116.053-102.4-13.654-27.307-27.307-54.613-54.614-68.267-68.266-34.133-129.706 6.827-129.706 6.827-20.48 13.653-47.787 6.827-54.614-6.827-6.826-13.653 0-40.96 13.654-47.786 6.826 0 95.573-61.44 197.973-13.654 47.787 27.307 68.267 61.44 88.747 95.574 20.48 34.133 34.133 61.44 75.093 68.266 27.307 6.827 47.787 0 75.093-13.653 47.787-20.48 102.4-47.787 197.974 27.307 20.48 13.653 20.48 40.96 13.653 47.786-13.653 6.827-27.307 20.48-54.613 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),_9=(0,l.defineComponent)({__name:"Picture",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[k0,(0,l.createTextVNode)(","),z0],14,N0))}}),E0=["aria-labelledby"],T0=[(0,l.createElementVNode)("path",{d:"M570.514 789.943c-119.954 0-219.428-99.474-219.428-219.429s99.474-219.428 219.428-219.428 219.429 99.474 219.429 219.428-99.474 219.429-219.429 219.429zm0-351.086c-73.143 0-131.657 58.514-131.657 131.657s58.514 131.657 131.657 131.657 131.657-58.514 131.657-131.657-58.514-131.657-131.657-131.657zM877.714 1024h-614.4C117.03 1024 0 906.971 0 760.686V380.343c0-146.286 117.029-263.314 263.314-263.314h32.183c0-2.926 2.926-8.778 2.926-11.703C315.977 43.886 374.49 0 438.857 0h263.314c70.218 0 128.732 49.737 143.36 117.029h32.183c146.286 0 263.315 117.028 263.315 263.314v380.343C1141.029 906.97 1024 1024 877.714 1024zm-614.4-819.2c-96.548 0-175.543 78.994-175.543 175.543v380.343c0 96.548 78.995 175.543 175.543 175.543h614.4c96.549 0 175.543-78.995 175.543-175.543V380.343c0-96.549-78.994-175.543-175.543-175.543H819.2c-32.183 0-58.514-26.331-58.514-58.514S734.354 87.77 702.17 87.77H438.857c-26.331 0-49.737 17.555-55.588 40.96-2.926 5.852-2.926 11.703-2.926 17.555 0 32.183-26.332 58.514-58.514 58.514h-58.515zm-87.771 160.914a73.143 73.143 0 1 0 146.286 0 73.143 73.143 0 1 0-146.286 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],$9=(0,l.defineComponent)({__name:"Photograph",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1141 1024","aria-labelledby":t.name,role:"presentation"},T0,14,E0))}}),_0=["aria-labelledby"],$0=(0,l.createElementVNode)("path",{d:"M939.198 230.438H84.802c-32.04 0-58.254 26.214-58.254 58.254v563.125c0 32.04 26.214 58.254 58.254 58.254h854.396c32.04 0 58.254-26.215 58.254-58.254V288.692c0-32.04-26.214-58.254-58.254-58.254zM512 812.98c-133.985 0-242.726-108.741-242.726-242.726S378.015 327.53 512 327.53s242.726 108.74 242.726 242.725S645.985 812.98 512 812.98zm330.107-368.943c-32.04 0-58.254-26.214-58.254-58.254s26.214-58.254 58.254-58.254 58.254 26.214 58.254 58.254-26.214 58.254-58.254 58.254z",fill:"currentColor","fill-opacity":"0.9"},null,-1),V0=(0,l.createElementVNode)("path",{d:"M512 405.2c-90.78 0-165.054 74.274-165.054 165.054S421.22 735.308 512 735.308s165.054-74.274 165.054-165.054S602.78 405.2 512 405.2zm242.726-174.762v-58.255c0-32.04-26.215-58.254-58.255-58.254H327.53c-32.04 0-58.255 26.215-58.255 58.254v58.255h485.452z",fill:"currentColor","fill-opacity":"0.9"},null,-1),V9=(0,l.defineComponent)({__name:"PhotographFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[$0,(0,l.createTextVNode)(","),V0],14,_0))}}),B0=["aria-labelledby"],D0=(0,l.createElementVNode)("path",{d:"M488.533 110.933c8.534 4.267 17.067 6.4 25.6 6.4 102.4-17.066 202.667 2.134 283.734 57.6 81.066 53.334 136.533 136.534 153.6 230.4C953.6 422.4 968.533 435.2 985.6 435.2h6.4c19.2-4.267 32-21.333 27.733-40.533-19.2-113.067-85.333-213.334-183.466-277.334s-217.6-89.6-334.934-68.266c-19.2 4.266-32 21.333-27.733 40.533 0 6.4 6.4 14.933 14.933 21.333zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),M0=(0,l.createElementVNode)("path",{d:"M780.8 420.267c2.133 17.066 17.067 29.866 34.133 29.866h6.4c8.534-2.133 17.067-6.4 23.467-14.933 4.267-8.533 6.4-17.067 6.4-25.6-12.8-72.533-55.467-136.533-117.333-177.067-64-40.533-138.667-57.6-215.467-42.666-19.2 4.266-32 21.333-27.733 40.533 2.133 8.533 6.4 17.067 14.933 23.467 8.533 4.266 17.067 6.4 25.6 6.4 57.6-10.667 115.2 2.133 164.267 32 44.8 27.733 74.666 74.666 85.333 128zm102.4 247.466c-32-21.333-64-42.666-89.6-55.466-46.933-25.6-68.267-27.734-78.933-27.734-25.6 0-49.067 12.8-66.134 38.4-10.666 14.934-19.2 32-25.6 49.067 0 2.133-2.133 4.267-4.266 8.533s-4.267 10.667-6.4 17.067c-10.667-4.267-29.867-14.933-59.734-34.133-38.4-25.6-78.933-57.6-108.8-87.467-29.866-29.867-61.866-70.4-87.466-108.8-21.334-32-29.867-49.067-34.134-59.733 4.267-2.134 10.667-6.4 17.067-8.534l8.533-4.266c17.067-6.4 34.134-14.934 49.067-25.6 25.6-17.067 38.4-40.534 38.4-66.134 0-12.8-4.267-32-27.733-78.933-14.934-27.733-34.134-59.733-55.467-89.6-19.2-25.6-40.533-57.6-66.133-81.067-32-32-55.467-46.933-78.934-46.933C160 6.4 108.8 59.733 74.667 104.533 27.733 170.667 2.133 230.4 2.133 281.6c0 68.267 42.667 151.467 78.934 211.2 49.066 78.933 115.2 164.267 187.733 236.8l23.467 23.467c74.666 72.533 157.866 138.666 236.8 187.733 59.733 36.267 142.933 78.933 211.2 78.933 72.533 0 147.2-51.2 177.066-72.533 29.867-21.333 98.134-78.933 98.134-134.4 0-23.467-14.934-49.067-46.934-78.933-23.466-19.2-51.2-42.667-85.333-66.134zM185.6 106.667c6.4-6.4 12.8-10.667 17.067-12.8 8.533 6.4 36.266 32 81.066 93.866 17.067 23.467 32 51.2 46.934 76.8 8.533 17.067 12.8 27.734 14.933 34.134 0 0-2.133 0-2.133 2.133-6.4 4.267-17.067 8.533-32 14.933-12.8 4.267-29.867 12.8-44.8 21.334-23.467 17.066-36.267 36.266-34.134 59.733 0 25.6 17.067 66.133 53.334 117.333C315.733 556.8 352 601.6 384 635.733c36.267 34.134 81.067 70.4 119.467 98.134C582.4 787.2 612.267 787.2 622.933 787.2c23.467 0 42.667-12.8 59.734-36.267 8.533-14.933 17.066-32 21.333-44.8 6.4-12.8 10.667-23.466 14.933-29.866l2.134-2.134c6.4 2.134 14.933 6.4 34.133 14.934C780.8 704 808.533 718.933 832 736c61.867 42.667 87.467 70.4 93.867 81.067-2.134 4.266-6.4 10.666-12.8 17.066-10.667 12.8-29.867 29.867-51.2 46.934-44.8 32-91.734 53.333-121.6 53.333-36.267 0-96-23.467-164.267-66.133-72.533-44.8-151.467-106.667-221.867-174.934l-23.466-23.466C262.4 599.467 200.533 520.533 155.733 448 113.067 377.6 89.6 317.867 89.6 281.6c0-32 19.2-76.8 53.333-121.6 8.534-21.333 25.6-40.533 42.667-53.333zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),I0=(0,l.createElementVNode)("path",{d:"M646.4 354.133c-38.4-25.6-85.333-36.266-132.267-25.6-19.2 4.267-32 21.334-27.733 42.667 4.267 8.533 8.533 17.067 14.933 21.333 6.4 4.267 17.067 6.4 25.6 6.4 27.734-4.266 57.6 0 81.067 14.934 23.467 14.933 38.4 36.266 42.667 64 2.133 17.066 17.066 29.866 34.133 29.866h6.4c19.2-4.266 32-21.333 27.733-40.533-6.4-49.067-32-89.6-72.533-113.067zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),B9=(0,l.defineComponent)({__name:"Phonering",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[D0,(0,l.createTextVNode)(","),M0,(0,l.createTextVNode)(","),I0],14,B0))}}),A0=["aria-labelledby"],L0=[(0,l.createElementVNode)("path",{d:"M592.341 76.019a39.304 39.304 0 0 1-.394.039h-.788a38.202 38.202 0 0 1-39.776-36.43A38.202 38.202 0 0 1 587.497.168c1.024 0 101.647-5.553 205.893 46.944a387.646 387.646 0 0 1 148.08 129.53c46.157 68.054 73.922 153.672 82.35 254.728a38.084 38.084 0 0 1-35.05 40.96c-1.143.275-2.127.275-3.151.275a38.24 38.24 0 0 1-38.241-34.776c-13.076-156.743-75.733-264.888-186.242-321.679C679.613 74.247 599.35 75.823 592.38 76.06zm-208.926 564.75c89.674 89.557 193.448 175.175 234.564 134.295 58.72-58.837 94.952-109.957 224.404-5.947 129.49 104.09 30.01 173.482-26.899 230.39-65.611 65.69-310.455 3.387-552.502-238.503C21.054 519.077-41.093 274.311 24.48 208.621c56.869-57.027 126.418-156.469 230.39-26.9 104.01 129.57 52.85 165.803-5.869 224.484-40.958 41.115 44.66 144.888 134.374 234.564zm287.102-128.782c-20.283 0-37.178-16.54-38.202-37.65-4.608-93.81-63.29-115.195-88.336-119.96l-.906-.119c-20.873-4.214-34.381-24.969-30.325-46.471 4.096-21.582 24.182-35.563 45.015-31.35h.276c27.49 5.278 55.136 18.117 77.742 36.076 31.073 24.692 68.92 72.109 73.133 157.728 1.024 21.779-15.24 40.407-36.31 41.628-.788.118-1.418.118-2.048.118zM628.179 36.87c0 .395 0 .395 0 0 0 .395 0 .395 0 0zM831 511.987c-17.959 0-33.318-14.887-35.208-34.775-13.744-145.48-85.264-226.965-212.746-242.205-19.493-2.363-33.593-21.503-31.466-42.85 2.127-21.305 19.651-36.703 39.146-34.379 22.45 2.717 90.581 10.869 153.042 58.207a280.484 280.484 0 0 1 78.963 94.756c23.196 44.226 37.847 97.472 43.518 158.398 2.009 21.345-12.21 40.367-31.703 42.533-1.064.276-2.363.276-3.545.276z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],D9=(0,l.defineComponent)({__name:"PhoneringFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},L0,14,A0))}}),P0=["aria-labelledby"],F0=[(0,l.createElementVNode)("path",{d:"M743.3 980h-4.6c-114.5-5.9-264.9-109.7-403.5-277.5l-49.8-60C144.4 471.8 73.6 309.9 91.2 198.4 105.2 110.3 225.6 44 296.7 44c45.3 0 62 26.8 67.1 38.3 33 59.5 80.3 173.4 80.3 219.5l-1.8 11.5c-11.5 30.4-35.4 44-51.2 53-19.9 10.9-20.7 13.3-21.3 21.6.3 0 6.2 27.5 88.9 129.6l37.9 45.5c84.2 99.7 109.5 109.3 110.6 109.6 7.1.8 9.9-.1 25.4-16.6 13.2-14.3 30.6-33.3 60.6-38.1l4.1-.7 6.7.3c49.4 10.4 155.4 81.2 207.9 125.6 7.1 4.8 35 28.9 18.3 81.8C910.6 886.7 825.9 980 743.3 980zM296.7 90.6c-53.1 0-150 55.7-159.5 115.1-15.3 96.8 53.6 249 184.1 407.1l49.8 60c130.4 157.9 268.2 255.4 368.7 260.6l3.4 23.3v-23.3c57.1 0 127.1-74.2 142.5-122.6 4.7-15 3.9-26.5-2.1-30.6C824.9 730.6 733 673 699.5 664.3c-14.4 3.7-22.6 12.6-32 22.8-16.4 17.5-34.1 36.2-68.3 31.3-9.2-1.4-36.7-5.6-138.1-125.5L422.8 547c-102.2-126.2-100.2-152.7-99.5-162.6 2.6-35.5 26.2-48.5 45.2-58.9 13.7-7.8 24.1-14.4 28.9-25.4-2.7-37-39.3-132.2-75.2-197.1-4.9-10.6-16.4-12.4-25.5-12.4z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],M9=(0,l.defineComponent)({__name:"Phone",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},F0,14,P0))}}),R0=["aria-labelledby"],O0=[(0,l.createElementVNode)("path",{d:"M759.922 989.082h-.02l-4.927-.11c-114.638-5.864-269.451-113.762-414.171-288.636l-53.457-64.567c-144.72-174.886-220.54-345.69-202.81-456.91C97.052 100.395 213.71 34.176 280.367 34.176c32.832 0 44.727 16.34 48.885 26.096 37.734 67.059 84.424 183.678 84.64 225.506l.014 2.976-1.068 2.78c-8.322 21.986-26.943 32.52-43.372 41.81-21.643 12.23-33.942 20.261-35.444 43.382-.446 7.016 5.605 38.935 101.083 156.63l40.82 49.29C571.667 695.637 601.79 707.8 608.842 708.806c23.088 3.21 33.96-6.912 50.565-25.114 12.641-13.86 26.982-29.59 50.644-33.055l2.996-.427 2.946.626C757.687 659.627 864.411 728.407 925 779.47c8.747 5.806 24.013 23.042 11.925 61.119-18.963 59.8-101.633 148.492-177.002 148.492z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],I9=(0,l.defineComponent)({__name:"PhoneFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},O0,14,R0))}}),H0=["aria-labelledby"],q0=[(0,l.createElementVNode)("path",{d:"M427.07 634.525a287.15 287.15 0 0 1-288.614-252.848A291.54 291.54 0 0 1 462.689 60.37a286.42 286.42 0 0 1 255.115 285.98A299 299 0 0 1 427.069 634.38zm0-507.963a219.934 219.934 0 1 0 221.908 219.861 224.689 224.689 0 0 0-221.909-219.86zM34.083 1024A36.57 36.57 0 0 1 0 990.209a426.338 426.338 0 0 1 427.07-423.193h8.703a36.57 36.57 0 0 1 34.084 33.718 37.01 37.01 0 0 1-34.084 33.791A360.95 360.95 0 0 0 68.826 990.21 38.253 38.253 0 0 1 34.084 1024zm0 0 388.963-407.687a16.822 16.822 0 0 1-27.94 7.826 34.01 34.01 0 0 1-10.825-23.405 37.01 37.01 0 0 1 34.083-33.718h8.704a36.57 36.57 0 0 1 34.084 33.718 26.258 26.258 0 0 1-2.633 11.337 16.822 16.822 0 0 1-31.45-11.337zm777.267 0a36.57 36.57 0 0 1-34.084-33.791A370.093 370.093 0 0 0 668.141 729.68a15.14 15.14 0 0 0-3.218-2.486 31.377 31.377 0 0 1 0-49.151 12.434 12.434 0 0 0 1.902-2.487 32.328 32.328 0 0 1 50.686 1.39A425.68 425.68 0 0 1 853.846 985.82a16.384 16.384 0 0 1-2.267 8.485 55.806 55.806 0 0 1-40.52 29.695zm-76.798-456.984a36.57 36.57 0 0 1-34.083-33.79 37.01 37.01 0 0 1 34.083-33.792 219.934 219.934 0 1 0 0-439.796 173.929 173.929 0 0 0-109.711 32.84 16.53 16.53 0 0 1-2.706 1.61 36.57 36.57 0 0 1-38.033-6.364 15.872 15.872 0 0 1-5.12-7.314 36.57 36.57 0 0 1 8.557-35.985 16.237 16.237 0 0 1 4.096-3.291A292.563 292.563 0 0 1 734.553-.045 286.639 286.639 0 0 1 1025.288 287.4a280.495 280.495 0 0 1-290.735 279.544zm392.986 389.402a36.57 36.57 0 0 1-34.084-33.791 369.873 369.873 0 0 0-109.199-260.455 13.092 13.092 0 0 0-3.145-2.56 31.67 31.67 0 0 1 1.39-50.247 32.109 32.109 0 0 1 51.198 0 425.826 425.826 0 0 1 136.554 308.873 15.725 15.725 0 0 1-2.267 8.485 55.733 55.733 0 0 1-40.447 29.695zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)],A9=(0,l.defineComponent)({__name:"Persons2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1170 1024","aria-labelledby":t.name,role:"presentation"},q0,14,H0))}}),j0=["aria-labelledby"],K0=(0,l.createElementVNode)("path",{d:"M557.056 512c61.44-48.128 103.424-123.904 103.424-212.992C659.456 147.456 542.72 30.72 398.336 30.72s-261.12 123.904-261.12 268.288c0 82.944 40.96 157.696 103.424 212.992C157.696 525.312 20.48 601.088 0 786.432V993.28h803.84V786.432C783.36 601.088 646.144 532.48 557.056 512zM199.68 306.176c0-109.568 89.088-199.68 199.68-199.68s199.68 89.088 199.68 199.68-89.088 199.68-199.68 199.68-199.68-90.112-199.68-199.68zm535.552 618.496H55.296V793.6c20.48-185.344 185.344-212.992 192.512-212.992h288.768c7.168 0 172.032 27.648 192.512 212.992v131.072h6.144z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Y0=(0,l.createElementVNode)("path",{d:"M824.32 512c34.816-55.296 55.296-109.568 48.128-164.864-7.168-61.44-34.816-109.568-55.296-151.552h-89.088s75.776 61.44 82.944 151.552c0 55.296-20.48 103.424-61.44 151.552l-34.816 40.96 48.128 13.312c7.168 0 185.344 61.44 192.512 288.768H1024C1024 643.072 892.928 552.96 824.32 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1),L9=(0,l.defineComponent)({__name:"Persons",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[K0,(0,l.createTextVNode)(","),Y0],14,j0))}}),W0=["aria-labelledby"],U0=[(0,l.createElementVNode)("path",{d:"M798.293 294.482c0-160.751-130.304-291.069-291.061-291.069a288.932 288.932 0 0 0-206.176 85.402 291.181 291.181 0 0 0-40.755 51.917c-84.409 137.014-41.762 316.501 95.252 400.91l15.05 9.352-16.688 6.106C174.5 622.513 55.08 793.115 55.02 984.081v.41c.122 14.94 12.315 26.958 27.238 26.835l.014-.007c14.926-.092 26.948-12.305 26.835-27.245.546-219.706 178.401-397.738 398.125-398.513 160.75 0 291.061-130.328 291.061-291.08zm-292.898 225.18c-123.515-.78-223.013-101.556-222.228-225.078.781-123.532 101.56-223.023 225.085-222.238 122.965.785 222.232 100.693 222.229 223.665v1.413c-.782 123.525-101.56 223.024-225.086 222.239zm225.697 61.01c-17.285-9.604-39.093-3.358-48.702 13.93-9.591 17.296-3.355 39.097 13.937 48.692C820.292 712.195 897.2 842.868 897.215 984.699c0 19.814 16.07 35.888 35.902 35.888 19.824 0 35.877-16.074 35.877-35.888-.116-167.858-91.156-322.478-237.902-404.026z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],P9=(0,l.defineComponent)({__name:"Person2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},U0,14,W0))}}),G0=["aria-labelledby"],X0=[(0,l.createElementVNode)("path",{d:"M258.938 272.34c0-138.107 113.308-250.08 253.062-250.08 139.776 0 253.062 111.973 253.062 250.08a246.873 246.873 0 0 1-44.834 142.18c-8.103 11.575-43.141 47.682-51.8 54.405 10.729 2.404 54.672 16.073 72.28 24.532 102.4 47.638 171.988 141.2 171.988 248.876v171.209c0 48.706-39.736 88.197-89.222 88.197H200.526c-49.286 0-89.222-39.402-89.222-88.197V742.31c0-107.631 69.566-201.194 171.988-248.877 11.665-5.431 61.551-22.105 72.28-24.487-8.68-6.745-38.4-35.884-51.8-54.427a246.873 246.873 0 0 1-44.834-142.18zm111.438 261.053c-113.775 25.51-192.178 111.994-192.178 208.918v171.23c0 12.244 9.95 22.106 22.328 22.106h622.948a22.083 22.083 0 0 0 22.328-22.105V742.31c0-96.902-78.425-183.407-192.178-208.918l-136.727-30.676 110.147-85.704a182.74 182.74 0 0 0 71.146-144.674c0-101.62-83.367-183.986-186.19-183.986-102.845 0-186.19 82.366-186.19 183.986a182.74 182.74 0 0 0 71.124 144.674l110.169 85.704-136.727 30.676z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],F9=(0,l.defineComponent)({__name:"Person",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},X0,14,G0))}}),Z0=["aria-labelledby"],J0=[(0,l.createElementVNode)("path",{d:"M731.453 612.522c-27.877 14.516-52.222 34.88-71.41 59.466C616.142 647.778 565.68 634 512 634c-169.551 0-307 137.449-307 307 0 24.3-19.7 44-44 44s-44-19.7-44-44c0-162.692 98.359-302.412 238.856-362.938C279.408 527.394 229 440.584 229 342c0-156.297 126.703-283 283-283s283 126.703 283 283c0 98.584-50.408 185.394-126.856 236.062a394.134 394.134 0 0 1 63.31 34.46zM512 537c107.696 0 195-87.304 195-195s-87.304-195-195-195-195 87.304-195 195 87.304 195 195 195zm179.225 312.8c-24.3 0-44-19.699-44-44 0-24.3 19.7-44 44-44H963c24.3 0 44 19.7 44 44 0 24.301-19.7 44-44 44H691.225z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],R9=(0,l.defineComponent)({__name:"PersonMinus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},J0,14,Z0))}}),Q0=["aria-labelledby"],e2=[(0,l.createElementVNode)("path",{d:"M730.614 612.961c-27.79 14.626-52.036 35.076-71.115 59.728C615.725 648.664 565.459 635 512 635c-169.551 0-307 137.449-307 307 0 24.3-19.7 44-44 44s-44-19.7-44-44c0-163.047 98.787-303.02 239.774-363.332C279.812 528.088 229 440.978 229 342c0-156.297 126.703-283 283-283s283 126.703 283 283c0 98.978-50.812 186.088-127.774 236.668a394.09 394.09 0 0 1 63.388 34.293zM512 537c107.696 0 195-87.304 195-195s-87.304-195-195-195-195 87.304-195 195 87.304 195 195 195zm271.113 312.8h-91.888c-24.3 0-44-19.699-44-44 0-24.3 19.7-44 44-44h91.888v-91.887c0-24.3 19.7-44 44-44s44 19.7 44 44v91.888H963c24.3 0 44 19.7 44 44s-19.7 44-44 44h-91.887v91.887c0 24.3-19.7 44-44 44s-44-19.7-44-44v-91.887z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],O9=(0,l.defineComponent)({__name:"PersonAdd",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},e2,14,Q0))}}),t2=["aria-labelledby"],l2=[(0,l.createElementVNode)("path",{d:"M263.314 1023.999h-3.657c-29.257-3.657-51.2-29.257-51.2-58.514 14.63-149.943 142.63-270.629 292.572-270.629 29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857c-95.086 0-175.543 73.143-186.515 168.229 0 29.257-25.6 51.2-51.2 51.2zM526.63 585.142c-43.886 0-87.772-21.943-117.029-54.857-18.286-21.942-14.629-58.514 7.314-76.8 21.943-18.285 58.515-14.628 76.8 7.315 14.629 18.286 43.886 18.286 58.515 0 18.285-21.943 54.857-29.257 76.8-7.314 21.942 18.285 29.257 54.857 7.314 76.8-21.943 32.913-62.172 54.856-109.714 54.856zM508.344 373.03c-142.629 0-277.943-29.258-409.6-84.115-29.257-10.971-40.229-43.885-29.257-73.143 10.971-29.257 43.885-40.228 73.143-29.257 117.028 51.2 237.714 73.143 365.714 73.143 95.086 0 190.17-14.628 281.6-43.886 29.257-10.971 58.514 7.315 69.486 36.572 10.97 29.257-7.315 58.514-36.572 69.486-102.4 36.57-208.457 51.2-314.514 51.2zm314.513 650.97h-73.143c-80.457 0-146.285-65.829-146.285-146.286S669.257 731.43 749.714 731.43h73.143c80.457 0 146.286 65.828 146.286 146.285S903.313 1024 822.857 1024zm-73.143-182.857c-21.943 0-36.571 14.628-36.571 36.571s14.628 36.572 36.57 36.572h73.144c21.943 0 36.572-14.629 36.572-36.572s-14.63-36.57-36.572-36.57h-73.143zM512 804.57c-18.286 0-29.257-3.657-43.886-3.657C274.286 771.656 128 599.77 128 402.286 128 179.2 307.2 0 530.286 0S932.57 179.2 932.57 402.286c0 65.828-18.285 131.656-47.542 190.17-7.315 14.63-18.286 32.914-29.258 43.886-18.285 25.6-51.2 29.257-76.8 10.971-25.6-18.285-29.257-51.2-10.971-76.8l21.943-32.914c21.943-43.885 36.57-91.428 36.57-138.97 0-160.915-131.656-292.572-292.57-292.572S241.37 237.714 241.37 398.63c0 142.627 106.058 266.97 248.686 288.913 10.972 0 18.286 3.657 29.257 3.657 29.257 0 54.857 25.6 51.2 58.514-3.657 32.915-29.257 54.857-58.514 54.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],H9=(0,l.defineComponent)({__name:"People",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},l2,14,t2))}}),n2=["aria-labelledby"],a2=[(0,l.createElementVNode)("path",{d:"M751.543 1024H268.8c-128 0-234.057-109.714-234.057-241.371V362.057c0-135.314 106.057-241.371 234.057-241.371V230.4c-69.486-3.657-124.343 58.514-124.343 131.657V782.63c0 73.142 54.857 131.657 124.343 131.657h486.4c65.829 0 124.343-58.515 124.343-131.657V362.057c0-73.143-54.857-131.657-124.343-131.657V120.686c128 0 234.057 109.714 234.057 241.371V782.63C985.6 914.286 883.2 1024 751.543 1024zM601.6 329.143H418.743c-91.429 0-164.572-73.143-164.572-164.572S327.314 0 418.743 0H601.6c91.429 0 164.571 73.143 164.571 164.571S693.03 329.143 601.6 329.143zM418.743 109.714c-29.257 0-54.857 25.6-54.857 54.857s25.6 54.858 54.857 54.858H601.6c29.257 0 54.857-25.6 54.857-54.858s-25.6-54.857-54.857-54.857H418.743zM601.6 768H418.743c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857H601.6c29.257 0 54.857 25.6 54.857 54.857S630.857 768 601.6 768zm0-182.857H418.743c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857H601.6c29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],q9=(0,l.defineComponent)({__name:"Order",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},a2,14,n2))}}),r2=["aria-labelledby"],o2=[(0,l.createElementVNode)("path",{d:"M940.875 819.2h-85.334V430.933c0-192-153.6-345.6-341.333-345.6s-341.333 153.6-341.333 345.6V819.2H87.541V430.933C87.542 192 279.542 0 514.208 0s426.667 192 426.667 430.933V819.2zM514.635 1024c-68.267 0-132.267-29.867-174.934-85.333-17.066-17.067-12.8-42.667 4.267-59.734 17.067-12.8 46.933-12.8 59.733 8.534 29.867 34.133 68.267 51.2 110.934 51.2s81.066-17.067 106.666-51.2c12.8-17.067 42.667-21.334 59.734-8.534 17.066 12.8 21.333 42.667 8.533 59.734C646.901 994.133 582.901 1024 514.635 1024zm469.333-162.133h-12.8c-294.4-89.6-618.667-89.6-913.067 0-21.333 4.266-46.933-8.534-55.466-29.867-8.534-21.333 4.266-46.933 29.866-51.2 311.467-93.867 652.8-89.6 964.267 0 21.333 8.533 34.133 29.867 29.867 51.2-8.534 21.333-25.6 29.867-42.667 29.867z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],j9=(0,l.defineComponent)({__name:"Notice",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1027 1024","aria-labelledby":t.name,role:"presentation"},o2,14,r2))}}),i2=["aria-labelledby"],s2=[(0,l.createElementVNode)("path",{d:"M511.863 804.296c-223.01 0-402.148-179.139-402.148-402.148S288.855 0 511.863 0s402.146 179.139 402.146 402.148-179.137 402.148-402.146 402.148zm0-694.62c-160.86 0-292.472 131.613-292.472 292.472s131.612 292.47 292.472 292.47 292.472-131.61 292.472-292.469-131.613-292.472-292.472-292.472zm237.633 913.973c-29.247 0-51.182-21.936-54.838-51.183-7.312-95.052-87.742-168.17-182.795-168.17s-175.483 73.118-182.795 168.17c-3.656 29.247-29.247 54.84-58.494 51.183-29.247 0-51.183-29.247-51.183-58.494 10.97-153.547 138.924-270.536 292.472-270.536s281.504 120.645 292.472 270.536c3.655 29.247-21.936 54.838-51.183 58.494h-3.656zM511.863 548.383c-47.527 0-91.398-21.935-120.645-58.494-18.28-25.59-14.623-58.494 7.312-76.774 25.591-18.28 58.494-14.623 76.774 7.312s51.182 21.935 69.462 0 54.838-29.247 76.774-7.312c21.935 18.28 29.247 54.84 7.312 76.774-25.592 40.215-69.463 58.494-116.99 58.494z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],K9=(0,l.defineComponent)({__name:"My2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},s2,14,i2))}}),u2=["aria-labelledby"],c2=[(0,l.createElementVNode)("path",{d:"M512 813.949c-225.805 0-406.974-183.795-406.974-406.975S286.195 0 512 0s406.974 181.17 406.974 406.974S735.18 813.95 512 813.95zm0-735.18c-181.17 0-328.205 147.036-328.205 328.205S330.83 735.18 512 735.18s328.205-147.035 328.205-328.205S693.17 78.77 512 78.77zm202.174 939.98c-21.005 0-39.384-18.38-39.384-39.385 0-89.272-73.518-162.79-162.79-162.79-89.272 0-162.79 73.518-162.79 162.79 0 21.005-18.38 39.385-39.384 39.385s-39.385-18.38-39.385-39.385c0-133.908 107.651-241.559 241.559-241.559s241.559 107.651 241.559 241.56c0 21.004-15.754 39.384-39.385 39.384zM512 525.129c-39.385 0-78.77-13.129-105.026-36.76-15.753-13.128-18.38-39.384-2.625-55.138 13.128-15.754 39.384-18.38 55.138-2.626 23.63 21.005 81.395 21.005 105.026 0 15.754-13.128 42.01-13.128 55.138 5.251 13.128 15.754 13.128 42.01-5.251 55.139C590.77 512 551.385 525.128 512 525.128z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Y9=(0,l.defineComponent)({__name:"My",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},c2,14,u2))}}),d2=["aria-labelledby"],f2=[(0,l.createElementVNode)("path",{d:"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],W9=(0,l.defineComponent)({__name:"More",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3891 1024","aria-labelledby":t.name,role:"presentation"},f2,14,d2))}}),m2=["aria-labelledby"],h2=[(0,l.createElementVNode)("path",{d:"M937.115 428.218c-43.442 0-80.679 37.237-80.679 80.679s37.237 80.679 80.68 80.679c43.442 0 80.678-37.237 80.678-80.679s-34.133-80.679-80.679-80.679m-428.218-52.751c-74.473 0-133.43 58.957-133.43 133.43s58.957 133.43 133.43 133.43 133.43-58.957 133.43-133.43-58.957-133.43-133.43-133.43M83.782 428.218c-43.443 0-80.679 37.237-80.679 80.679s34.133 80.679 80.679 80.679 80.679-37.237 80.679-80.679-37.237-80.679-80.68-80.679",fill:"currentColor","fill-opacity":"0.9"},null,-1)],U9=(0,l.defineComponent)({__name:"MoreX",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},h2,14,m2))}}),p2=["aria-labelledby"],g2=[(0,l.createElementVNode)("path",{d:"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],G9=(0,l.defineComponent)({__name:"MoreS",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},g2,14,p2))}}),v2=["aria-labelledby"],y2=[(0,l.createElementVNode)("path",{d:"M834.7 920.1h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43zm0-729.2h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43s-19.3 43-43 43zm0 354.6h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],b2=(0,l.defineComponent)({__name:"MoreH",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},y2,14,v2))}}),w2=["aria-labelledby"],S2=[(0,l.createElementVNode)("path",{d:"M299.52 460.8h409.6c28.16 0 51.2 23.04 51.2 51.2s-23.04 51.2-51.2 51.2h-409.6c-28.16 0-51.2-23.04-51.2-51.2s23.04-51.2 51.2-51.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],X9=(0,l.defineComponent)({__name:"Minus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S2,14,w2))}}),x2=["aria-labelledby"],C2=[(0,l.createElementVNode)("path",{d:"M207.637 533.355a8.533 8.533 0 0 1 8.448 7.36 320 320 0 0 0 2.283 14.57c25.259 133.27 142.379 234.048 282.965 234.048 140.843 0 258.07-101.098 283.072-234.666.64-3.392 1.366-8.022 2.176-13.952a8.533 8.533 0 0 1 8.448-7.36h47.339a8.533 8.533 0 0 1 8.47 9.514c-.598 5.163-1.131 9.302-1.6 12.395-24.385 158.464-154.411 282.09-315.905 296.64v99.563A8.533 8.533 0 0 1 524.8 960h-46.933a8.533 8.533 0 0 1-8.534-8.533l-.021-99.563c-161.493-14.57-291.563-138.24-315.883-296.747a355.477 355.477 0 0 1-1.6-12.288 8.533 8.533 0 0 1 7.467-9.45l.512-.043h47.83zM501.333 64A202.667 202.667 0 0 1 704 266.667v234.666a202.667 202.667 0 0 1-405.333 0V266.667A202.667 202.667 0 0 1 501.333 64zm0 64a138.667 138.667 0 0 0-138.581 133.696l-.085 4.97v234.667a138.667 138.667 0 0 0 277.248 4.971l.085-4.97V266.666A138.667 138.667 0 0 0 501.333 128z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Z9=(0,l.defineComponent)({__name:"Mike",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},C2,14,x2))}}),N2=["aria-labelledby"],k2=(0,l.createElementVNode)("path",{d:"M725.333 213.333H640c0-12.8 0-21.333-4.267-29.866-12.8-59.734-64-98.134-123.733-98.134s-110.933 38.4-123.733 93.867C384 192 384 200.533 384 213.333h-85.333c0-21.333 4.266-38.4 8.533-55.466C328.533 64 413.867 0 512 0s183.467 64 204.8 162.133c4.267 12.8 8.533 29.867 8.533 51.2zM512 682.667c-119.467 0-213.333-93.867-213.333-213.334H384c0 72.534 55.467 128 128 128s128-55.466 128-128h85.333c0 119.467-93.866 213.334-213.333 213.334z",fill:"currentColor","fill-opacity":"0.9"},null,-1),z2=(0,l.createElementVNode)("path",{d:"M384 213.333h-85.333c0-21.333 4.266-38.4 8.533-55.466l81.067 21.333C384 192 384 200.533 384 213.333zM512 853.333c-213.333 0-384-170.666-384-384 0-25.6 17.067-42.666 42.667-42.666s42.666 17.066 42.666 42.666C213.333 635.733 345.6 768 512 768s298.667-132.267 298.667-298.667c0-25.6 17.066-42.666 42.666-42.666S896 443.733 896 469.333c0 213.334-170.667 384-384 384zM682.667 1024H341.333c-25.6 0-42.666-17.067-42.666-42.667s17.066-42.666 42.666-42.666h341.334c25.6 0 42.666 17.066 42.666 42.666S708.267 1024 682.667 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1),E2=(0,l.createElementVNode)("path",{d:"M512 1024c-25.6 0-42.667-17.067-42.667-42.667V810.667C469.333 785.067 486.4 768 512 768s42.667 17.067 42.667 42.667v170.666c0 25.6-17.067 42.667-42.667 42.667zM341.333 512c-25.6 0-42.666-17.067-42.666-42.667v-256c0-25.6 17.066-42.666 42.666-42.666S384 187.733 384 213.333v256c0 25.6-17.067 42.667-42.667 42.667zM682.667 512c-25.6 0-42.667-17.067-42.667-42.667v-256c0-25.6 17.067-42.666 42.667-42.666s42.666 17.066 42.666 42.666v256c0 25.6-17.066 42.667-42.666 42.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1),J9=(0,l.defineComponent)({__name:"Microphone2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[k2,(0,l.createTextVNode)(","),z2,(0,l.createTextVNode)(","),E2],14,N2))}}),T2=["aria-labelledby"],_2=[(0,l.createElementVNode)("path",{d:"M512 658.286c-142.628 0-256-113.372-256-256V256C256 113.371 369.372 0 512 0s256 113.371 256 256v146.286c0 142.628-113.371 256-256 256zm0-548.572c-80.457 0-146.286 65.829-146.286 146.286v146.286c0 80.457 65.829 146.285 146.286 146.285s146.286-65.828 146.286-146.285V256c0-80.457-65.829-146.286-146.286-146.286zm0 731.429c-146.286 0-285.257-76.8-358.4-197.486-14.628-25.6-7.314-58.514 18.286-76.8 25.6-14.628 58.514-7.314 76.8 18.286 51.2 91.428 153.6 146.286 263.314 146.286s212.114-54.858 263.314-146.286c14.629-25.6 47.543-32.914 76.8-18.286 25.6 14.629 32.915 47.543 18.286 76.8C797.257 764.343 661.943 841.143 512 841.143zM603.43 1024H420.572c-29.258 0-54.858-25.6-54.858-54.857s25.6-54.857 54.858-54.857h182.857c29.257 0 54.857 25.6 54.857 54.857S632.686 1024 603.429 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Q9=(0,l.defineComponent)({__name:"Microphone",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},_2,14,T2))}}),$2=["aria-labelledby"],V2=[(0,l.createElementVNode)("path",{d:"M879.59 1024c-5.252 0-13.128 0-18.38-2.626L706.297 981.99c-13.128 5.251-21.005 7.877-28.882 10.502-52.512 18.38-107.65 26.257-165.415 26.257C228.43 1021.374 0 792.944 0 509.374S228.43 0 512 0s512 228.43 512 509.374c0 84.02-21.005 170.667-63.015 244.185-2.626 7.877-10.503 15.754-18.38 28.882l15.754 152.287c2.626 21.005-5.251 42.01-18.38 57.764-13.128 15.754-31.507 26.257-55.138 28.882 0 2.626-2.626 2.626-5.251 2.626zm-165.416-44.636zm-10.502-76.143c5.251 0 7.877 0 13.128 2.625l162.79 39.385-13.128-162.79c0-10.503 2.625-23.63 7.876-34.133 7.877-13.129 15.754-23.631 18.38-31.508 34.133-63.015 52.513-133.908 52.513-207.426C945.23 273.067 750.933 78.77 512 78.77S78.77 273.067 78.77 509.374C78.77 748.308 273.066 939.98 512 939.98c47.262 0 94.523-7.876 139.159-23.63 7.877-2.626 18.38-7.877 31.508-13.128 7.877 2.625 13.128 0 21.005 0zM512 735.179c-39.385 0-78.77-13.128-105.026-36.758-15.753-13.129-18.38-39.385-2.625-55.139 13.128-15.754 39.384-18.38 55.138-2.626 23.63 21.006 81.395 21.006 105.026 0 15.754-13.128 42.01-13.128 55.138 5.252 13.128 15.754 13.128 42.01-5.251 55.138-23.63 21.005-63.015 34.133-102.4 34.133z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],eg=(0,l.defineComponent)({__name:"Message",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},V2,14,$2))}}),B2=["aria-labelledby"],D2=[(0,l.createElementVNode)("path",{d:"M472 122a30 30 0 1 1 0 60H112a10 10 0 0 0-10 10v720c0 5.52 4.48 10 10 10h720a10 10 0 0 0 10-10V552a30 30 0 1 1 60 0v360a70 70 0 0 1-70 70H112a70 70 0 0 1-70-70V192c0-38.64 31.36-70 70-70zm213.2-23.4a30 30 0 0 1 40.2-13.44l135.2 67.6a50 50 0 0 1 13 80.08l-100.4 100.4a30 30 0 0 1-42.4-42.44l67.4-67.48C565.64 241.72 382 449.4 382 752a30 30 0 1 1-60 0c0-317.84 188.36-545.48 434.68-584.16l-58.08-29a30 30 0 0 1-13.44-40.24z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],tg=(0,l.defineComponent)({__name:"MergeForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},D2,14,B2))}}),M2=["aria-labelledby"],I2=[(0,l.createElementVNode)("path",{d:"M512 14.897C238.594 14.897 14.897 238.594 14.897 512S238.594 1009.103 512 1009.103 1009.103 785.406 1009.103 512 785.406 14.897 512 14.897zm207.126 646.234c16.57 16.57 16.57 41.425 0 57.995s-41.425 16.57-57.995 0L512 569.996l-149.13 149.13c-16.57 16.57-41.426 16.57-57.996 0s-16.57-41.425 0-57.995L454.004 512l-149.13-149.13c-16.57-16.57-16.57-41.426 0-57.996s41.425-16.57 57.995 0L512 454.004l149.13-149.13c16.57-16.57 41.426-16.57 57.996 0s16.57 41.425 0 57.995L569.996 512l149.13 149.13z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],lg=(0,l.defineComponent)({__name:"MaskClose",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},I2,14,M2))}}),A2=["aria-labelledby"],L2=[(0,l.createElementVNode)("path",{d:"M1007.96 698.56c-274.012 0-483.005-208.993-534.092-408.697-9.288-37.154 9.289-74.308 46.443-83.597 37.154-9.289 74.309 9.289 83.597 46.443 41.799 148.617 199.704 306.522 404.053 306.522 199.704 0 362.254-157.905 404.052-311.167 9.289-37.154 46.443-60.375 83.597-51.087 37.155 9.289 60.376 46.443 51.087 83.597-51.087 204.349-260.08 417.986-538.736 417.986zm404.053 18.577c-23.221 0-46.443-13.933-60.375-37.154l-46.443-78.953c-18.577-32.51-4.644-74.309 27.865-92.886 32.51-18.577 74.309-4.644 92.886 27.866l46.443 78.953c18.577 32.51 4.644 74.308-27.866 92.885-9.288 4.645-23.221 9.289-32.51 9.289zm171.839-320.455c-13.933 0-27.866-4.645-41.799-13.933l-102.174-69.665c-32.51-23.221-37.154-65.02-18.577-97.53 23.221-32.51 65.02-37.154 97.53-18.577l102.174 69.665c32.51 23.221 37.154 65.02 18.577 97.53-9.288 23.221-32.51 32.51-55.731 32.51zM603.908 717.137c-9.288 0-23.221-4.644-32.51-9.289-32.51-18.577-46.443-60.375-27.866-92.885l46.443-78.953c18.577-32.51 60.376-46.443 92.886-27.866s46.443 60.376 27.866 92.886l-46.443 78.953c-9.289 23.221-32.51 37.154-60.376 37.154zM432.07 396.682c-23.222 0-41.799-9.289-55.732-27.866-23.221-32.51-13.933-74.309 18.577-97.53l102.175-69.664c27.865-23.222 69.664-13.933 92.885 13.932 23.222 32.51 13.933 74.309-18.577 97.53l-97.53 69.665c-13.933 9.288-27.866 13.933-41.798 13.933zm575.89 417.985c-37.154 0-69.664-32.51-69.664-69.664v-92.886c0-37.154 32.51-69.664 69.665-69.664s69.664 32.51 69.664 69.664v92.886c0 37.154-32.51 69.664-69.664 69.664z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ng=(0,l.defineComponent)({__name:"Marshalling",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2043 1024","aria-labelledby":t.name,role:"presentation"},L2,14,A2))}}),P2=["aria-labelledby"],F2=[(0,l.createElementVNode)("path",{d:"M877.319 1024c-5.535 0-13.838 0-19.373-2.768L705.73 982.486c-11.07 5.536-22.14 8.303-27.676 11.07-52.584 16.606-107.935 27.676-166.054 27.676C229.708 1021.232 0 791.524 0 512 0 229.708 229.708 0 512 0s512 229.708 512 509.232c0 85.795-22.14 168.822-60.886 243.546-2.768 8.303-8.303 16.606-16.606 27.676l13.838 152.216c2.768 22.14-5.535 44.281-19.373 60.887-13.838 16.605-33.21 27.675-55.351 30.443h-8.303zM702.962 899.46c5.535 0 8.303 0 13.838 2.767l163.286 41.514-16.605-160.52c0-11.07 2.768-24.907 8.303-35.978 8.302-13.838 13.838-24.908 19.373-30.443 33.21-60.886 52.584-132.843 52.584-204.8 0-235.243-193.73-426.205-428.973-426.205S83.027 273.989 83.027 509.232 276.757 935.438 512 935.438c47.049 0 94.097-8.303 138.378-22.14 8.303-2.768 16.606-5.536 30.444-11.071 8.302-2.768 13.837-2.768 22.14-2.768zM514.768 678.053c-22.141 0-41.514-19.373-41.514-41.513V384.69c0-22.14 19.373-41.513 41.514-41.513s41.513 19.373 41.513 41.514V636.54c0 24.908-19.373 41.513-41.513 41.513zM512 675.286c-8.303 0-16.605-2.767-24.908-8.302l-119.006-88.562c-19.372-13.838-22.14-38.746-8.302-58.12 13.838-19.372 38.746-22.14 58.119-8.302l119.005 88.562c19.373 13.838 22.14 38.746 8.303 58.12-8.303 11.07-22.14 16.604-33.211 16.604zm5.535 0c-13.838 0-24.908-5.535-33.21-16.605-13.839-19.373-8.303-44.281 8.302-58.119L611.632 512c19.373-13.838 44.282-8.303 58.12 8.303 13.837 19.373 8.302 44.28-8.303 58.119l-119.006 88.562c-8.302 5.535-16.605 8.302-24.908 8.302z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ag=(0,l.defineComponent)({__name:"Lower",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},F2,14,P2))}}),R2=["aria-labelledby"],O2=[(0,l.createElementVNode)("path",{d:"M507.52 4.48A251.52 251.52 0 0 1 759.04 256l-.064 123.52H832c46.656 0 84.48 37.824 84.48 84.48v473.6A84.48 84.48 0 0 1 832 1024H192a84.48 84.48 0 0 1-84.48-84.48V464c0-46.656 37.824-84.48 84.48-84.48h63.936L256 256A251.52 251.52 0 0 1 507.52 4.48zM832 444.16H192A19.84 19.84 0 0 0 172.16 464v473.6A19.84 19.84 0 0 0 192 960h640a19.84 19.84 0 0 0 19.84-19.84V464A19.84 19.84 0 0 0 832 444.16zm-320.64 128A90.24 90.24 0 0 1 544 746.56v79.04a32 32 0 0 1-32 32.64 32.64 32.64 0 0 1-32.64-32.64l-.064-78.848A90.24 90.24 0 0 1 511.36 572.16zm-3.52-493.824A197.12 197.12 0 0 0 311.68 256l-.064 123.52h392.32L704 256A197.12 197.12 0 0 0 507.84 78.336z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],rg=(0,l.defineComponent)({__name:"Locked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},O2,14,R2))}}),H2=["aria-labelledby"],q2=[(0,l.createElementVNode)("path",{d:"m499.512 1001.522-9.99-7.493c-34.966-22.478-52.449-34.966-59.942-39.96-102.4-82.42-164.839-137.367-194.81-169.835-44.955-49.951-77.424-92.41-107.394-142.36-32.469-62.44-52.45-134.87-52.45-209.796 0-114.888 44.957-224.78 127.376-304.702C284.722 44.956 394.615 0 512 0s227.278 44.956 309.698 127.376c82.42 82.42 127.375 189.814 127.375 304.702 0 74.927-19.98 147.356-54.946 209.795-24.976 44.956-59.942 89.912-104.898 142.361-27.473 32.468-89.912 84.917-197.307 172.332-2.498 2.497-9.99 7.493-47.454 32.468-9.99 7.493-22.478 9.99-32.468 12.488h-12.488zM512 74.927c-97.405 0-187.317 37.463-257.249 104.897-67.434 67.435-104.897 157.347-104.897 252.254 0 59.942 14.985 122.38 44.956 174.83 24.975 44.955 57.444 84.916 97.405 129.872 24.975 29.971 87.414 82.42 184.82 159.844 2.497 2.498 12.487 9.99 34.965 22.478 17.483-12.487 29.97-19.98 32.468-22.478 99.903-79.922 164.84-134.868 187.317-162.341 42.459-49.951 72.43-89.912 94.908-132.37 29.97-52.45 44.956-112.391 44.956-174.83 0-94.907-37.464-184.82-104.898-252.254C699.317 112.39 609.405 74.927 512 74.927zm0 549.463c-102.4 0-187.317-84.917-187.317-187.317S409.6 249.756 512 249.756s187.317 84.917 187.317 187.317S614.4 624.39 512 624.39zm0-299.707c-62.439 0-112.39 49.951-112.39 112.39s49.95 112.39 112.39 112.39 112.39-49.95 112.39-112.39-49.95-112.39-112.39-112.39z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],og=(0,l.defineComponent)({__name:"Locationg3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},q2,14,H2))}}),j2=["aria-labelledby"],K2=[(0,l.createElementVNode)("path",{d:"m530.286 1005.714-25.6-10.971c-36.572-14.629-58.515-25.6-73.143-36.572-102.4-84.114-164.572-135.314-193.829-171.885-43.885-51.2-76.8-91.429-106.057-142.629C95.086 577.83 76.8 504.686 76.8 431.543c0-117.029 43.886-226.743 128-307.2C285.257 43.886 394.971 0 512 0s226.743 43.886 310.857 128c84.114 80.457 128 190.171 128 307.2 0 73.143-18.286 146.286-54.857 212.114-25.6 43.886-58.514 91.429-106.057 142.629-29.257 32.914-87.772 84.114-197.486 171.886 0 0-7.314 7.314-18.286 10.971l-43.885 32.914zM497.37 874.057s3.658 3.657 14.629 7.314c3.657-3.657 7.314-3.657 10.971-7.314 98.744-76.8 160.916-131.657 182.86-157.257 40.228-47.543 69.485-87.771 91.428-128 25.6-47.543 40.229-102.4 40.229-157.257 0-87.772-32.915-168.229-95.086-230.4-58.514-58.514-142.629-91.429-230.4-91.429S340.114 142.63 277.943 204.8c-62.172 62.171-95.086 142.629-95.086 230.4 0 54.857 14.629 109.714 40.229 157.257 25.6 43.886 54.857 80.457 95.085 124.343 25.6 29.257 84.115 80.457 179.2 157.257zm18.286-248.686c-102.4 0-182.857-80.457-182.857-182.857s80.457-182.857 182.857-182.857 182.857 80.457 182.857 182.857-80.457 182.857-182.857 182.857zm0-256c-40.228 0-73.143 32.915-73.143 73.143s32.915 73.143 73.143 73.143 73.143-32.914 73.143-73.143-32.914-73.143-73.143-73.143z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ig=(0,l.defineComponent)({__name:"Location2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},K2,14,j2))}}),Y2=["aria-labelledby"],W2=[(0,l.createElementVNode)("path",{d:"M512 971.487C259.938 971.487 52.513 764.062 52.513 512S259.938 52.513 512 52.513 971.487 259.938 971.487 512 764.062 971.487 512 971.487zm0-840.205c-210.051 0-380.718 170.667-380.718 380.718S301.95 892.718 512 892.718 892.718 722.05 892.718 512 722.05 131.282 512 131.282zm0 577.641c-107.651 0-196.923-89.272-196.923-196.923S404.349 315.077 512 315.077 708.923 404.349 708.923 512 619.651 708.923 512 708.923zm0-315.077c-65.641 0-118.154 52.513-118.154 118.154S446.36 630.154 512 630.154 630.154 577.64 630.154 512 577.64 393.846 512 393.846zm0-210.051c-21.005 0-39.385-18.38-39.385-39.385V39.385C472.615 18.379 490.995 0 512 0s39.385 18.38 39.385 39.385V144.41c0 21.005-18.38 39.385-39.385 39.385zM512 1024c-21.005 0-39.385-18.38-39.385-39.385V879.59c0-21.005 18.38-39.385 39.385-39.385s39.385 18.38 39.385 39.385v105.025c0 21.006-18.38 39.385-39.385 39.385zm472.615-472.615H879.59c-21.005 0-39.385-18.38-39.385-39.385s18.38-39.385 39.385-39.385h105.025c21.006 0 39.385 18.38 39.385 39.385s-18.38 39.385-39.385 39.385zm-840.205 0H39.385C18.379 551.385 0 533.005 0 512s18.38-39.385 39.385-39.385H144.41c21.005 0 39.385 18.38 39.385 39.385s-18.38 39.385-39.385 39.385z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],sg=(0,l.defineComponent)({__name:"Location",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W2,14,Y2))}}),U2=["aria-labelledby"],G2=[(0,l.createElementVNode)("path",{d:"M520.665 64.564a29.244 29.244 0 0 0-7.071-.894c-16.211 0-29.35 13.14-29.35 29.35 0 15.83 12.538 28.696 28.223 29.293v.073c.375 0 .751-.014 1.127-.014 216.493 0 389.629 173.942 389.629 390.433 0 216.496-173.136 388.827-389.63 388.827s-389.63-172.333-389.63-388.829c0-.27.01-.536.01-.804h-.01c0-16.209-13.141-29.35-29.35-29.35s-29.35 13.139-29.35 29.35c0 .055.007.11.007.164-.001.214-.007.425-.007.64 0 247.609 200.722 448.331 448.33 448.331 247.607 0 448.33-200.722 448.33-448.33-.002-245.242-196.917-444.456-441.258-448.24z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ug=(0,l.defineComponent)({__name:"Loading1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},G2,14,U2))}}),X2=["aria-labelledby"],Z2=[(0,l.createElementVNode)("path",{d:"M784 902.4c9.6 19.2 6.4 41.6-12.8 54.4-19.2 9.6-41.6 3.2-51.2-12.8-9.6-19.2-6.4-41.6 12.8-54.4 16-12.8 38.4-8 51.2 12.8zM550.4 984c0 22.4-16 38.4-38.4 38.4s-38.4-16-38.4-38.4v-24c0-22.4 19.2-38.4 41.6-38.4 19.2 0 35.2 16 38.4 38.4v25.6h-3.2zm-240-43.2c-9.6 19.2-35.2 25.6-54.4 16-19.2-9.6-25.6-35.2-16-51.2l28.8-51.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 12.8 54.4l-25.6 48zM121.6 784c-19.2 9.6-41.6 3.2-54.4-16-9.6-19.2-6.4-41.6 12.8-54.4l76.8-44.8c19.2-9.6 41.6-3.2 54.4 16 9.6 19.2 3.2 41.6-16 54.4L121.6 784zM38.4 552C16 552 0 536 0 513.6s16-38.4 38.4-38.4H160c22.4 0 38.4 19.2 38.4 38.4 0 22.4-16 38.4-38.4 38.4H38.4zm44.8-241.6c-19.2-9.6-25.6-35.2-16-51.2 9.6-19.2 35.2-25.6 54.4-16L256 320c19.2 9.6 25.6 35.2 16 54.4s-35.2 25.6-54.4 16l-134.4-80zm160-185.6 92.8 160c9.6 19.2 35.2 25.6 54.4 12.8s25.6-35.2 12.8-54.4l-92.8-160C297.6 64 275.2 60.8 256 70.4c-16 12.8-22.4 33.6-12.8 54.4zM473.6 40c0-22.4 16-38.4 38.4-38.4s38.4 19.2 38.4 38.4v184c0 22.4-19.2 38.4-38.4 38.4-22.4 0-38.4-19.2-38.4-38.4V40zm240 43.2c9.6-19.2 35.2-25.6 54.4-16 19.2 9.6 25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16-19.2-9.6-25.6-35.2-12.8-54.4l89.6-156.8zm188.8 160-160 92.8c-19.2 9.6-25.6 35.2-16 54.4 12.8 19.2 35.2 25.6 54.4 12.8l160-92.8c19.2-9.6 25.6-35.2 12.8-54.4-9.6-16-32-25.6-51.2-12.8zM985.6 472c22.4 0 38.4 16 38.4 38.4s-16 38.4-38.4 38.4H800c-22.4 0-38.4-19.2-38.4-38.4 0-22.4 19.2-38.4 38.4-38.4h185.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Zt=(0,l.defineComponent)({__name:"Loading",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z2,14,X2))}}),J2=["aria-labelledby"],Q2=[(0,l.createElementVNode)("path",{d:"M313.034 1004.045c-66.848 0-124.402-24.156-170.798-70.577l-40.854-40.829C54.96 846.218 28.966 783.097 30.83 714.411c3.702-66.85 31.56-131.808 79.819-180.12l137.4-137.373c14.86-14.861 40.855-14.861 55.69 0 14.86 14.861 16.725 38.99 0 55.69l-137.348 137.4a187.47 187.47 0 0 0-55.69 126.24c-1.864 46.422 14.835 89.115 46.396 120.675l40.855 40.855c31.56 31.56 74.253 48.286 120.674 46.421 46.421-1.838 92.843-22.291 126.24-55.69l137.4-137.4c14.862-14.86 40.856-14.86 55.69 0 14.862 14.862 14.862 40.856 0 55.69l-137.4 137.427c-48.285 48.259-113.27 76.117-180.118 79.82a5.645 5.645 0 0 0-7.405 0zm475.294-382.477c-11.133 0-18.563-3.702-27.832-12.997-14.86-14.861-14.86-40.855 0-55.69l115.082-115.108a187.47 187.47 0 0 0 55.716-126.267c1.838-46.395-14.861-89.114-46.421-120.674l-40.855-40.855c-64.985-64.959-176.364-61.257-246.915 9.294L478.266 278.108c-14.835 14.835-40.829 14.835-55.69 0-14.86-14.861-14.86-40.855 0-55.716l118.81-118.81C643.524 1.444 803.163-2.232 899.734 94.287l40.829 40.855c46.421 46.421 72.415 109.541 70.55 178.228-3.702 66.85-31.56 131.807-79.819 180.093L816.186 608.571c-7.43 7.43-18.563 11.133-27.858 12.997zm-332.327-1.864c-11.16 0-18.564-3.702-27.832-12.997-14.888-14.835-14.888-40.829 0-55.69l148.506-148.532c14.861-14.862 40.855-14.862 55.69 0 14.861 14.86 14.861 40.854 0 55.69L483.832 606.706c-7.404 7.43-18.563 11.159-27.831 12.997z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],cg=(0,l.defineComponent)({__name:"Link",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Q2,14,J2))}}),e3=["aria-labelledby"],t3=[(0,l.createElementVNode)("path",{d:"M642.973 1005.542 321.912 587.098a123.278 123.278 0 0 1 0-150.17l321.06-418.443a47.182 47.182 0 0 1 74.83 57.422l-321.088 418.47a28.994 28.994 0 0 0 0 35.3l321.088 418.47a47.155 47.155 0 0 1-74.83 57.395",fill:"currentColor","fill-opacity":"0.9"},null,-1)],l3=(0,l.defineComponent)({__name:"Left",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},t3,14,e3))}}),n3=["aria-labelledby"],a3=[(0,l.createElementVNode)("path",{d:"M2185.74 479.429a117.992 117.992 0 1 0-162.829-170.852c-284.772 271.204-732.314 271.204-1017.087 0A118.05 118.05 0 0 0 842.996 479.43c375.98 358.045 966.705 358.045 1342.744 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)],dg=(0,l.defineComponent)({__name:"JoySmile",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3072 1024","aria-labelledby":t.name,role:"presentation"},a3,14,n3))}}),r3=["aria-labelledby"],o3=[(0,l.createElementVNode)("path",{d:"M964.923 1024c-98.461 0-181.17-66.954-208.738-157.538H543.508C515.938 957.046 433.23 1024 334.769 1024s-185.107-66.954-208.738-161.477C59.077 846.77 7.877 787.693 0 716.8V448.985c0-27.57 11.815-51.2 27.57-70.893l153.6-153.6c15.753-15.754 39.384-23.63 63.015-23.63h70.892v-15.754C315.077 82.708 401.723 0 504.123 0h405.662c149.661 0 271.753 122.092 271.753 271.754v535.63c0 118.154-98.461 216.616-216.615 216.616zM496.246 748.308h307.2c35.446 0 63.016 27.569 63.016 59.077v7.877c3.938 47.261 47.261 86.646 98.461 86.646 55.139 0 98.462-43.323 98.462-98.462V271.754c0-82.708-70.893-153.6-153.6-153.6H504.123c-39.385 0-66.954 31.508-66.954 66.954v59.077c0 39.384-31.507 70.892-74.83 70.892h-102.4L118.153 456.862v256c0 19.692 19.692 35.446 39.384 35.446h11.816c35.446 0 63.015 27.569 63.015 59.077V819.2c11.816 51.2 51.2 86.646 102.4 86.646s90.585-35.446 98.462-82.708V819.2c0-43.323 27.569-70.892 63.015-70.892zm-378.092 66.954zm129.97-496.247zm19.691-7.877zm47.262-66.953zm43.323-43.323zm15.754 271.753c-31.508 0-59.077-27.569-59.077-59.077V256c0-31.508 27.57-59.077 59.077-59.077S433.23 224.493 433.23 256v157.538c0 31.508-27.57 59.077-59.077 59.077z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],fg=(0,l.defineComponent)({__name:"Jdl",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1181 1024","aria-labelledby":t.name,role:"presentation"},o3,14,r3))}}),i3=["aria-labelledby"],s3=[(0,l.createElementVNode)("path",{d:"M921.6 666.829a34.133 34.133 0 0 1 33.894 30.14l.24 3.993V871.63a102.4 102.4 0 0 1-96.393 102.23l-6.008.17H170.667a102.4 102.4 0 0 1-102.23-96.393l-.17-6.007V700.962a34.133 34.133 0 0 1 68.027-3.993l.24 3.993V871.63a34.133 34.133 0 0 0 30.14 33.894l3.993.24h682.666a34.133 34.133 0 0 0 33.895-30.175l.239-3.96V700.963A34.133 34.133 0 0 1 921.6 666.83zM772.096 39.049l2.97 2.662 193.092 193.092a34.133 34.133 0 0 1 2.662 45.295l-2.662 2.97L775.066 476.16a34.133 34.133 0 0 1-50.927-45.295l2.662-2.97 134.144-134.212H341.333a34.133 34.133 0 0 0-33.894 30.174l-.239 3.96V739.19a34.133 34.133 0 0 1-68.028 3.994l-.239-3.994V327.817a102.4 102.4 0 0 1 96.393-102.23l6.007-.17h520.91L726.8 89.975a34.133 34.133 0 0 1-2.662-45.294l2.662-2.97a34.133 34.133 0 0 1 45.295-2.662z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],mg=(0,l.defineComponent)({__name:"ItemsForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},s3,14,i3))}}),u3=["aria-labelledby"],c3=[(0,l.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512zm0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267zm31.858 377.742c18.204 0 34.133 15.929 34.133 34.133 0 2.276 0 15.93-2.275 18.205l-34.134 195.697h29.582c18.205 0 34.134 15.93 34.134 34.134s-15.93 34.133-34.134 34.133h-91.022c-18.204 0-34.133-15.929-34.133-34.133v-20.48L480.142 512H450.56c-18.204 0-34.133-15.929-34.133-34.133s15.929-34.134 34.133-34.134h93.298zm-34.134-207.076c38.685 0 68.267 29.583 68.267 68.267s-29.582 68.267-68.267 68.267-68.266-29.583-68.266-68.267 29.582-68.267 68.266-68.267z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],hg=(0,l.defineComponent)({__name:"Issue",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},c3,14,u3))}}),d3=["aria-labelledby"],f3=[(0,l.createElementVNode)("path",{d:"M184.32 147.911a36.409 36.409 0 0 0-36.409 36.409v655.36a36.409 36.409 0 0 0 36.409 36.409h655.36a36.409 36.409 0 0 0 36.409-36.409V445.226a36.409 36.409 0 0 1 72.818 0V839.68A109.227 109.227 0 0 1 839.68 948.907H184.32A109.227 109.227 0 0 1 75.093 839.68V184.32A109.227 109.227 0 0 1 184.32 75.093h194.205a36.409 36.409 0 0 1 0 72.818H184.32zm291.271 327.68A364.089 364.089 0 0 1 839.68 111.502h36.409a36.409 36.409 0 0 1 0 72.818H839.68a291.271 291.271 0 0 0-291.271 291.271v57.745l47.04-47.113a36.409 36.409 0 1 1 51.555 51.554L537.777 647.004a36.409 36.409 0 0 1-51.554 0L376.996 537.777a36.409 36.409 0 1 1 51.555-51.554l47.04 47.113V475.59z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],pg=(0,l.defineComponent)({__name:"Introduce",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},f3,14,d3))}}),m3=["aria-labelledby"],h3=[(0,l.createElementVNode)("path",{d:"M853.161 892.55H362.595l-209.433-.414a18.5 18.5 0 0 1-1.813-.092c-24.849-2.485-47.825-14.06-64.696-32.595-16.991-18.665-26.35-42.855-26.35-68.112V264.626c0-55.808 45.404-101.211 101.212-101.211H853.16c55.808 0 101.21 45.403 101.21 101.211v225.513c0 .275-.006.552-.018.826-.022.494-1.972 51.723 15.481 85.462 4.717 9.119 1.148 20.335-7.97 25.053-9.117 4.714-20.335 1.15-25.053-7.97-21.3-41.177-19.845-97.643-19.619-103.74V264.627c0-35.307-28.724-64.031-64.03-64.031H161.515c-35.308 0-64.032 28.724-64.032 64.031v526.711c0 32.755 24.321 59.958 56.718 63.62l208.431.412h490.53c35.306 0 64.03-28.725 64.03-64.032l-.382-93.677c-.105-1.75-1.587-19.548-19.55-42.5a9.548 9.548 0 0 1-.147-.19l-21.712-28.489-117.227-155.119c-.416-.55-38.995-50.852-86.272-45.534-38.335 4.315-75.955 45.164-108.79 118.132-17.615 39.141-34.65 68.269-52.082 89.046-17.607 20.986-35.68 33.52-55.251 38.317-43.423 10.638-81.05-18.995-120.887-50.373l-5.057-3.98c-46.555-36.578-68.75-28.224-158.33 59.602-7.33 7.188-19.1 7.071-26.289-.26-7.187-7.33-7.07-19.1.26-26.287 46.659-45.746 77.544-72.727 107.086-84.283 33.358-13.048 64.275-6.267 100.242 21.994l5.093 4.008c33.923 26.72 63.22 49.795 89.029 43.467 25.618-6.279 53.3-42.114 82.28-106.509 39.14-86.976 85.838-134.027 138.797-139.849 68.454-7.515 117.824 57.405 119.892 60.172l117.122 154.98 21.6 28.344c26.277 33.631 27.334 61.639 27.367 64.725l.001.128.384 94.06c.001 55.884-45.4 101.287-101.209 101.287zM312.328 446.968c-42.325 0-76.759-34.434-76.759-76.76s34.434-76.759 76.76-76.759 76.759 34.435 76.759 76.76-34.434 76.759-76.76 76.759zm0-116.34c-21.824 0-39.579 17.756-39.579 39.58s17.755 39.58 39.58 39.58 39.579-17.756 39.579-39.58-17.755-39.58-39.58-39.58z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],gg=(0,l.defineComponent)({__name:"Image",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},h3,14,m3))}}),p3=["aria-labelledby"],g3=[(0,l.createElementVNode)("path",{d:"M696.43 465.25c40.61 0 73.53-32.72 73.53-73.09s-32.96-73.08-73.53-73.08-73.54 32.72-73.54 73.08 32.92 73.09 73.54 73.09zM535.74 650.62l-273.61-259.4a56.19 56.19 0 0 0-15.36 11.58l-114 119.63-6-222.77c-.73-26.82 20.84-49.41 47.67-50.14l201.77-5.44 47.34-50-250.43 6.75C119 202.33 76.33 247.17 77.78 301l7.32 271.4 4.5 166.78C91.06 793 136.05 835.47 190.2 834l176-4.75 12-.32 47.34-50 116.18-122.64zM861.71 214.8l-242.83-33.86-55.09 41.46L855 263a49.05 49.05 0 0 1 41.79 55.13l-54.33 389.59-120.87-159.05A59.86 59.86 0 0 0 638.06 537l-44 33.08 65.07 86.15L603.84 698l-79.57 60.1-54.92 41.48 34.17 4.76 270.73 37.76a97.55 97.55 0 0 0 109.88-79.6 22.37 22.37 0 0 0 .65-3.44l60.53-434.16c7.44-53.32-29.95-102.62-83.6-110.1z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],vg=(0,l.defineComponent)({__name:"ImageError",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},g3,14,p3))}}),v3=["aria-labelledby"],y3=(0,l.createElementVNode)("path",{d:"M922.514 789.611h.07v-.42ZM776.028 148.82c-5.478-3.288-10.925-5.975-17.57-5.975-16.229 0-29.308 13.152-29.308 29.361 0 11.703 6.927 21.072 16.72 26.391 107.724 62.86 180.16 179.528 180.16 313.235 0 133.603-72.368 250.233-179.95 313.094-9.437 5.164-17.57 14.849-17.57 26.833 0 16.227 13.152 29.377 29.345 29.377 6.504 0 11.666-2.505 17.323-5.76 125.009-72.97 209.083-208.377 209.083-363.544.002-154.814-83.715-289.953-208.233-363.012z",fill:"currentColor","fill-opacity":"0.9"},null,-1),b3=(0,l.createElementVNode)("path",{d:"M810.037 511.85c0-90.983-49.316-170.37-122.677-213.094-3.323-1.733-11.134-5.144-16.616-5.144-16.299 0-29.485 13.187-29.485 29.468 0 10.941 5.799 20.682 14.638 25.79 56.706 32.207 94.959 93.103 94.959 162.98 0 71.08-39.597 132.912-97.93 164.694-8.485 5.164-14.105 14.568-14.105 25.245 0 16.3 13.186 29.519 29.449 29.519 6.93.036 15.167-4.031 15.167-4.031 75.516-42.14 126.6-122.782 126.6-215.427zM545.416 71.307c-12.34-5.939-27.012-4.312-37.792 4.224-.496.408-52.82 42.001-110.587 84.533-100.475 74.048-129.748 86.386-135.688 88.348h-125.86c-.726 0-1.415.07-2.14.106H69.06c-16.191 0-29.326 13.134-29.326 29.326v468.42c0 16.227 13.099 29.311 29.327 29.311l215.621.032c5.798 2.122 33.446 14.882 122.609 87.608 51.898 42.283 98.423 83.61 98.918 84.002 6.646 5.938 15.131 9.012 23.689 9.012 4.948 0 9.933-1.059 14.635-3.146a35.666 35.666 0 0 0 21.07-32.563s.035-110.657.035-150.428c.92-2.827 1.381-5.835 1.381-8.947 0-3.177-1.417-657.666-1.417-657.666 0-13.716-7.846-26.197-20.185-32.172zM507.8 756.02c0 1.7-.532 107.654-.532 107.654-15.803-13.364-33.374-28.035-51.474-42.675-119-96.372-148.486-104.466-168.426-104.466-.423 0-.777.103-1.166.103s-.743-.103-1.167-.103H123.33c-20.523 0-25.314-5.836-25.314-26.45v-359.49c0-14.02 1.662-22.822 18.543-22.822h145.71c19.445 0 49.284-7.954 179.528-103.356 23.192-16.97 45.887-34.063 65.473-49.054 0 0 .425 506.548.532 593.202-.603 2.403-.001 4.913-.001 7.457z",fill:"currentColor","fill-opacity":"0.9"},null,-1),yg=(0,l.defineComponent)({__name:"Horn2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[y3,(0,l.createTextVNode)(","),b3],14,v3))}}),w3=["aria-labelledby"],S3=[(0,l.createElementVNode)("path",{d:"M646.169 56.055c-10.146-4.516-22.022-2.697-30.32 4.78L342.443 306.97h-158.11c-82.587 0-112.6 67.326-112.6 112.6v168.872c0 82.601 67.34 112.6 112.6 112.6h158.14l273.435 246.078a27.955 27.955 0 0 0 18.826 7.272c3.87 0 7.83-.79 11.494-2.405 10.175-4.515 16.655-14.662 16.655-25.746V81.771c0-11.084-6.48-21.142-16.714-25.716zm-39.586 806.967L372.03 652.015a27.936 27.936 0 0 0-18.797-7.273h-168.9c-9.398 0-56.299-2.756-56.299-56.3V419.57c0-9.411 2.698-56.3 56.3-56.3h168.9c6.978 0 13.665-2.609 18.855-7.271l234.496-211.007v718.03zm168.9-527.902c7.272 0 14.427-2.755 19.881-8.239l112.6-112.572c10.968-10.996 10.968-28.824 0-39.79-10.965-10.997-28.853-10.997-39.819 0L755.543 287.09c-10.966 10.996-10.966 28.824 0 39.792a28.305 28.305 0 0 0 19.94 8.238zm168.9 140.722h-168.9c-15.482 0-28.15 12.638-28.15 28.178 0 15.512 12.668 28.12 28.15 28.12h168.901c15.6 0 28.15-12.608 28.15-28.12 0-15.54-12.551-28.178-28.151-28.178zm-149.02 205.319c-10.965-10.966-28.853-10.966-39.82 0-10.966 10.996-10.966 28.854 0 39.82l112.601 112.6a28.396 28.396 0 0 0 19.94 8.211c7.27 0 14.426-2.756 19.88-8.21 10.967-10.967 10.967-28.825 0-39.82l-112.6-112.601z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],bg=(0,l.defineComponent)({__name:"Horn",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S3,14,w3))}}),x3=["aria-labelledby"],C3=[(0,l.createElementVNode)("path",{d:"M977.455 124.121H46.545C21.721 124.121 0 102.4 0 77.576S21.721 31.03 46.545 31.03h930.91c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545zm0 868.849H46.545C21.721 992.97 0 971.248 0 946.424s21.721-46.545 46.545-46.545h930.91c24.824 0 46.545 21.721 46.545 46.545s-21.721 46.546-46.545 46.546zm0-434.425H356.848c-24.824 0-46.545-21.72-46.545-46.545s21.721-46.545 46.545-46.545h620.607c24.824 0 46.545 21.72 46.545 46.545s-21.721 46.545-46.545 46.545z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],wg=(0,l.defineComponent)({__name:"Horizontal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":t.name,role:"presentation"},C3,14,x3))}}),N3=["aria-labelledby"],k3=[(0,l.createElementVNode)("path",{d:"M977.455 124.121H46.545C21.721 124.121 0 102.4 0 77.576S21.721 31.03 46.545 31.03h930.91c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545zm0 868.849H46.545C21.721 992.97 0 971.248 0 946.424s21.721-46.545 46.545-46.545h930.91c24.824 0 46.545 21.721 46.545 46.545s-21.721 46.546-46.545 46.546zm0-434.425H356.848c-24.824 0-46.545-21.72-46.545-46.545s21.721-46.545 46.545-46.545h620.607c24.824 0 46.545 21.72 46.545 46.545s-21.721 46.545-46.545 46.545z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Sg=(0,l.defineComponent)({__name:"HorizontalN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},k3,14,N3))}}),z3=["aria-labelledby"],E3=[(0,l.createElementVNode)("path",{d:"M761.436 1024H262.564c-131.282 0-236.308-105.026-236.308-236.308V404.35c0-52.513 26.257-102.4 68.267-131.282L467.364 21.005c26.257-18.38 60.39-18.38 89.272 0l372.84 252.062c42.011 28.882 68.268 78.769 68.268 131.282v383.343c0 131.282-105.026 236.308-236.308 236.308zM139.159 338.708c-21.005 15.754-34.133 39.384-34.133 65.64v383.344c0 86.646 70.892 157.539 157.538 157.539h498.872c86.646 0 157.538-70.893 157.538-157.539V404.35c0-26.257-13.128-49.887-34.133-65.641L512 86.646 139.159 338.708zm451.61 396.471H433.231c-21.005 0-39.385-18.379-39.385-39.384s18.38-39.385 39.385-39.385h157.538c21.005 0 39.385 18.38 39.385 39.385s-18.38 39.384-39.385 39.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],xg=(0,l.defineComponent)({__name:"Home",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},E3,14,z3))}}),T3=["aria-labelledby"],_3=[(0,l.createElementVNode)("path",{d:"M703.84 479.936H511.968v-255.84c0-17.728-14.24-32.096-31.968-32.096-17.76 0-32 14.4-32 32.096v287.808c0 17.76 14.272 32 32 32h223.872c17.76 0 32.096-14.24 32.096-32 0-17.728-14.368-31.968-32.128-31.968zM224 320h-96v-96c0-17.664-14.336-32-32-32s-32 14.336-32 32v128c0 17.664 14.336 32 32 32h128c17.664 0 32-14.336 32-32s-14.336-32-32-32zm-84.992 283.488C136 584 123.264 573.344 105.6 573.344s-30.112 13.984-30.112 31.68c0 5.536 1.984 9.984 2.336 15.328C126.336 815.296 302.016 960 512 960c247.424 0 448-200.576 448-448S759.424 64 512 64C321.024 64 158.4 183.712 93.952 352h69.312C223.968 219.904 357.088 128 512 128c212.064 0 384 171.936 384 384S724.064 896 512 896c-178.88 0-328.736-122.464-371.424-288",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Cg=(0,l.defineComponent)({__name:"History",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1029 1024","aria-labelledby":t.name,role:"presentation"},_3,14,T3))}}),$3=["aria-labelledby"],V3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ng=(0,l.defineComponent)({__name:"Heart2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},V3,14,$3))}}),B3=["aria-labelledby"],D3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],kg=(0,l.defineComponent)({__name:"Heart1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},D3,14,B3))}}),M3=["aria-labelledby"],I3=[(0,l.createElementVNode)("path",{d:"M1104.113 216.425a336.535 336.535 0 0 0-73.638-107.158 342.167 342.167 0 0 0-108.724-71.83 343.371 343.371 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a335.694 335.694 0 0 0-36.894 26.021 337.348 337.348 0 0 0-36.894-26.021 345.63 345.63 0 0 0-180.103-50.507c-45.96 0-90.474 8.794-132.518 26.262a341.444 341.444 0 0 0-108.725 71.83A334.456 334.456 0 0 0 13.161 348.25c0 43.099 8.825 88.004 26.293 133.723 14.607 38.159 35.57 77.763 62.344 117.76 42.466 63.247 100.834 129.265 173.297 196.156 120.109 110.923 239.043 187.543 244.073 190.645l30.69 19.666a41.562 41.562 0 0 0 44.634 0l30.66-19.666c5.06-3.253 123.874-79.722 244.073-190.645 72.494-66.891 130.831-132.91 173.297-196.186 26.805-39.967 47.887-79.571 62.344-117.76 17.498-45.689 26.293-90.594 26.293-133.693a329.487 329.487 0 0 0-27.046-131.855zM572.235 903.831s-460.71-295.153-460.71-555.55c0-131.856 109.087-238.743 243.683-238.743 94.6 0 176.64 52.796 217.027 129.927 40.358-77.13 122.429-129.927 217.028-129.927 134.596 0 243.652 106.887 243.652 238.742.03 260.398-460.68 555.58-460.68 555.58z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],zg=(0,l.defineComponent)({__name:"Heart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},I3,14,M3))}}),A3=["aria-labelledby"],L3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Eg=(0,l.defineComponent)({__name:"HeartN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},L3,14,A3))}}),P3=["aria-labelledby"],F3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Tg=(0,l.defineComponent)({__name:"HeartFill3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},F3,14,P3))}}),R3=["aria-labelledby"],O3=[(0,l.createElementVNode)("path",{d:"m572.235 1020.988-54.211-33.13s-120.471-78.305-243.953-189.74C201.788 731.858 144.565 665.6 99.388 602.353 72.282 563.2 51.2 524.047 36.141 484.894c-18.07-45.176-27.106-90.353-27.106-132.518 0-45.176 9.036-90.352 27.106-132.517 18.07-39.153 42.165-75.294 72.283-108.424 30.117-30.117 69.27-54.211 108.423-72.282 99.388-42.165 219.859-33.13 313.224 24.094l36.14 27.106 36.142-27.106C695.718 6.024 816.188-3.012 915.576 39.153c42.165 18.07 78.306 42.165 108.424 72.282 33.13 30.118 57.224 66.26 72.282 108.424 18.07 42.165 27.106 87.341 27.106 132.517 0 42.165-9.035 87.342-27.106 132.518-15.058 36.141-36.14 78.306-63.247 117.459-42.164 63.247-99.388 129.506-174.682 195.765C740.894 906.54 626.447 981.835 614.4 987.858l-42.165 33.13zM355.388 102.4c-33.13 0-66.259 6.024-96.376 18.07-30.118 12.048-57.224 30.118-81.318 54.212-24.094 24.094-42.165 48.189-54.212 78.306-12.047 30.118-21.082 63.247-21.082 96.377s6.024 66.259 21.082 102.4c12.047 33.13 30.118 66.259 54.212 99.388 39.153 57.223 93.365 117.459 159.624 180.706C451.765 837.27 566.212 912.565 569.224 912.565l6.023 3.011 3.012-3.011c6.023-3.012 117.459-75.294 231.906-180.706 66.259-63.247 120.47-123.483 159.623-180.706 24.094-36.141 42.165-69.27 54.212-99.388 15.059-36.141 21.082-69.27 21.082-102.4s-6.023-66.26-21.082-96.377c-12.047-30.117-30.118-54.212-54.212-78.306-27.106-24.094-51.2-42.164-81.317-54.211-72.283-30.118-162.636-24.095-231.906 18.07l-27.106 18.07c-9.035 6.024-15.059 15.06-24.094 21.083l-33.13 36.141-33.13-33.13c-9.034-9.034-15.058-15.058-24.093-21.081l-27.106-18.071c-39.153-27.106-84.33-39.153-132.518-39.153z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_g=(0,l.defineComponent)({__name:"HeartFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},O3,14,R3))}}),H3=["aria-labelledby"],q3=[(0,l.createElementVNode)("path",{d:"M1104.113 216.425a336.535 336.535 0 0 0-73.638-107.158 342.167 342.167 0 0 0-108.724-71.83 343.371 343.371 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a335.694 335.694 0 0 0-36.894 26.021 337.348 337.348 0 0 0-36.894-26.021 345.63 345.63 0 0 0-180.103-50.507c-45.96 0-90.474 8.794-132.518 26.262a341.444 341.444 0 0 0-108.725 71.83A334.456 334.456 0 0 0 13.161 348.25c0 43.099 8.825 88.004 26.293 133.723 14.607 38.159 35.57 77.763 62.344 117.76 42.466 63.247 100.834 129.265 173.297 196.156 120.109 110.923 239.043 187.543 244.073 190.645l30.69 19.666a41.562 41.562 0 0 0 44.634 0l30.66-19.666c5.06-3.253 123.874-79.722 244.073-190.645 72.494-66.891 130.831-132.91 173.297-196.186 26.805-39.967 47.887-79.571 62.344-117.76 17.498-45.689 26.293-90.594 26.293-133.693a329.487 329.487 0 0 0-27.046-131.855z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],$g=(0,l.defineComponent)({__name:"HeartFill1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},q3,14,H3))}}),j3=["aria-labelledby"],K3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Vg=(0,l.defineComponent)({__name:"HeartFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},K3,14,j3))}}),Y3=["aria-labelledby"],W3=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Bg=(0,l.defineComponent)({__name:"HeartFillN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W3,14,Y3))}}),U3=["aria-labelledby"],G3=[(0,l.createElementVNode)("path",{d:"M512 12.672c-282.88 0-512 229.248-512 512 0 226.261 146.688 418.133 350.08 485.76 25.6 4.821 34.987-11.008 34.987-24.619 0-12.16-.427-44.373-.64-87.04-142.422 30.891-172.459-68.693-172.459-68.693-23.296-59.093-56.96-74.88-56.96-74.88-46.379-31.744 3.584-31.104 3.584-31.104 51.413 3.584 78.421 52.736 78.421 52.736 45.654 78.293 119.851 55.68 149.12 42.581 4.608-33.109 17.792-55.68 32.427-68.48-113.707-12.8-233.216-56.832-233.216-253.013 0-55.893 19.84-101.547 52.693-137.387-5.76-12.928-23.04-64.981 4.48-135.509 0 0 42.88-13.739 140.8 52.48 40.96-11.392 84.48-17.024 128-17.28 43.52.256 87.04 5.888 128 17.28 97.28-66.219 140.16-52.48 140.16-52.48 27.52 70.528 10.24 122.581 5.12 135.51 32.64 35.84 52.48 81.493 52.48 137.386 0 196.693-119.68 240-233.6 252.587 17.92 15.36 34.56 46.762 34.56 94.72 0 68.522-.64 123.562-.64 140.202 0 13.44 8.96 29.44 35.2 24.32C877.44 942.592 1024 750.592 1024 524.672c0-282.752-229.248-512-512-512",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Dg=(0,l.defineComponent)({__name:"Github",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},G3,14,U3))}}),X3=["aria-labelledby"],Z3=(0,l.createElementVNode)("path",{d:"M944 192H755.2v-44.8c0-54.4-44.8-99.2-99.2-99.2H361.6c-54.4 0-99.2 44.8-99.2 99.2V192H83.2c-12.8 0-25.6 9.6-25.6 25.6 0 12.8 9.6 25.6 25.6 25.6H144v633.6c0 54.4 44.8 99.2 99.2 99.2h550.4c54.4 0 99.2-44.8 99.2-99.2V243.2H944c12.8 0 25.6-9.6 25.6-25.6-3.2-12.8-9.6-25.6-25.6-25.6zm-627.2-44.8c0-25.6 22.4-48 48-48h294.4c25.6 0 48 22.4 48 48V192H316.8v-44.8zm524.8 720c0 28.8-16 57.6-41.6 57.6H249.6c-25.6 0-54.4-19.2-54.4-44.8l3.2-636.8h643.2v624z",fill:"currentColor","fill-opacity":"0.9"},null,-1),J3=(0,l.createElementVNode)("path",{d:"M368 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6zM528 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6zM688 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Mg=(0,l.defineComponent)({__name:"GarbageBin",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[Z3,(0,l.createTextVNode)(","),J3],14,X3))}}),Q3=["aria-labelledby"],e4=[(0,l.createElementVNode)("path",{d:"M960.385 91.477a42.667 42.667 0 1 1-44.09 73.046c-95.09-57.401-176.497-79.19-315.989-79.19-54.044 0-118.698 10.07-158.492 25.543a42.667 42.667 0 0 1-30.92-79.53C461.498 11.662 536.393 0 600.335 0c154.71 0 251.393 25.884 360.05 91.477zm-454.03 581.604a42.752 42.752 0 0 1 17.038-57.885 42.44 42.44 0 0 1 57.656 17.096c4.21 7.793 60.189 147.342 64.854 160.426 1.706 4.779 3.413 9.927 5.29 15.56 2.93 8.817 11.122 34.815 12.09 37.717 18.545 55.808 64.198 92.672 117.333 92.672 67.868 0 116.081-49.494 115.37-122.539-.17-15.701-3.3-34.304-16.782-104.277l-2.901-15.36c-10.81-57.174-15.758-92.132-15.36-120.434.313-22.244 2.076-30.151 17.436-90.311 5.831-22.841 9.245-38.03 11.662-53.078a218.453 218.453 0 0 0 3.13-34.446C893.17 307.4 777.457 256 595.584 256c-179.058 0-297.558 65.508-297.558 160 0 93.64 132.694 181.333 297.558 181.333 23.466 0 42.496 19.115 42.496 42.667s-19.03 42.667-42.496 42.667c-206.166 0-382.578-116.594-382.578-266.667 0-155.364 162.816-245.333 382.578-245.333 223.658 0 382.577 70.599 382.577 227.555 0 15.218-1.45 31.062-4.181 48.071-2.93 18.148-6.827 35.47-13.255 60.644-12.715 49.778-14.592 58.311-14.763 70.315-.284 20.48 4.153 52.024 13.853 103.338l2.901 15.076c15.132 78.734 18.034 96.028 18.29 119.609C982.145 935.538 896.015 1024 780.616 1024c-91.677 0-168.391-61.924-197.974-151.04-1.251-3.67-9.472-29.753-12.145-37.86a643.527 643.527 0 0 0-4.694-13.71 11056.384 11056.384 0 0 0-59.449-148.31zM310.4 65.934a42.667 42.667 0 1 1-52.566 67.243c-14.108-11.037-38.855-19.4-59.05-19.4-42.098 0-71.112 29.156-71.112 68.552 0 17.18 13.853 38.343 35.613 50.972a42.667 42.667 0 1 1-42.78 73.842C73.8 280.064 42.34 231.936 42.34 182.33c0-86.471 67.186-153.885 156.445-153.885 39.054 0 82.346 14.62 111.616 37.49z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ig=(0,l.defineComponent)({__name:"Footprint",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},e4,14,Q3))}}),t4=["aria-labelledby"],l4=[(0,l.createElementVNode)("path",{d:"M1120.194 366.158h-93.091c0-136.534-111.71-245.14-245.14-245.14-65.163 0-124.12 24.824-170.666 68.267l-3.103 3.103c-24.824 24.824-65.164 24.824-89.988 0L512 186.182c-46.545-43.443-105.503-68.267-170.667-68.267-136.533 0-245.14 111.71-245.14 245.14H3.104c0-186.182 152.049-338.23 338.23-338.23 80.68 0 158.255 27.927 220.315 80.678 62.061-52.751 139.637-80.679 220.316-80.679 186.181 3.103 338.23 155.152 338.23 341.334zM89.988 645.43c-3.103-6.206-9.31-12.412-12.412-18.618C27.927 549.236 0 459.248 0 366.158h93.09c0 74.472 21.722 148.945 62.062 211.006 3.103 6.206 6.206 9.309 9.309 12.412L89.988 645.43zm946.424-6.206-77.576-52.751c43.443-65.164 68.267-142.74 68.267-220.315h93.09c0 99.297-27.926 192.387-83.78 273.066zm-474.764 375.467c-9.309 0-21.72-3.103-31.03-6.206-9.309-3.103-15.515-6.206-18.618-9.31C338.23 921.6 192.388 797.48 86.885 639.226l77.576-52.752c96.194 142.74 229.624 257.551 387.878 325.818l3.103 3.103s3.103 3.103 6.206 3.103l12.413-6.206c155.151-71.37 288.581-183.079 384.775-328.921l77.576 52.751C930.91 794.376 785.067 918.497 611.297 999.176l-18.618 9.309c-9.31 3.103-21.721 6.206-31.03 6.206z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ag=(0,l.defineComponent)({__name:"Follow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1120 1024","aria-labelledby":t.name,role:"presentation"},l4,14,t4))}}),n4=["aria-labelledby"],a4=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-930.91C281.6 93.09 93.09 281.6 93.09 512S281.6 930.91 512 930.91 930.91 742.4 930.91 512 742.4 93.09 512 93.09zM377.018 695.856c-20.945 0-39.563-11.637-46.545-32.582l-6.982-16.291 6.982-18.618 69.818-186.182c11.636-32.582 37.236-55.855 67.49-67.491l204.8-76.8L691.2 307.2c11.636 4.655 20.945 16.29 25.6 27.927l4.655 16.291-4.655 18.618-69.818 186.182c-11.637 32.582-37.237 55.855-67.491 67.491l-186.182 69.818c-4.654 2.328-11.636 2.328-16.29 2.328zm218.764-267.637-95.418 34.91c-6.982 2.327-11.637 6.981-13.964 13.963l-34.91 95.418 95.42-34.909c6.98-2.327 11.635-6.982 13.963-13.964l34.909-95.418z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Lg=(0,l.defineComponent)({__name:"Find",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},a4,14,n4))}}),r4=["aria-labelledby"],o4=(0,l.createElementVNode)("path",{d:"M547.84 969.547a32.286 32.286 0 0 1-31.744-32.707V376.952c0-7.83 2.71-15.36 7.71-21.323l240.58-288.768H111.917L332.8 356.774a33.551 33.551 0 0 1 6.807 20.239v334.306l95.473 98.545c5.903 6.144 9.155 14.456 9.095 23.13a33.13 33.13 0 0 1-9.457 23.07 31.021 31.021 0 0 1-44.514 0L285.515 747.881a33.07 33.07 0 0 1-9.276-23.13V388.277L21.745 54.332a33.49 33.49 0 0 1 5.3-45.96 31.202 31.202 0 0 1 19.577-7.047h786.794c8.432 0 16.504 3.434 22.407 9.638a33.37 33.37 0 0 1 1.626 44.453L579.524 389.12v547.72c0 18.07-14.216 32.707-31.684 32.707",fill:"currentColor","fill-opacity":"0.9"},null,-1),i4=(0,l.createElementVNode)("path",{d:"M701.68 475.016a32.286 32.286 0 0 1-31.2-33.13A32.045 32.045 0 0 1 701.8 409.54H946.96c17.529 0 31.744 14.697 31.744 32.768 0 18.07-14.215 32.708-31.684 32.708H701.681zm0 202.51a32.286 32.286 0 0 1-31.683-32.767c0-18.071 14.216-32.648 31.684-32.708h245.338c17.469.06 31.624 14.697 31.684 32.768-.06 18.07-14.215 32.647-31.684 32.708H701.681zm0 204.8a31.021 31.021 0 0 1-22.407-9.517 33.07 33.07 0 0 1-9.276-23.19c0-18.07 14.216-32.648 31.684-32.708h245.338c17.469 0 31.624 14.697 31.684 32.768-.06 18.07-14.215 32.648-31.684 32.708H701.681z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Pg=(0,l.defineComponent)({__name:"Filter",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[o4,(0,l.createTextVNode)(","),i4],14,r4))}}),s4=["aria-labelledby"],u4=(0,l.createElementVNode)("path",{d:"M512 394.688a31.872 31.872 0 0 1 22.592 9.344l128 127.68a32 32 0 0 1-45.184 45.312L544 503.808v221.504a32 32 0 1 1-64 0v-221.44l-73.344 73.408a32 32 0 1 1-45.312-45.248l128-128 .192-.128A31.872 31.872 0 0 1 512 394.688z",fill:"currentColor","fill-opacity":"0.9"},null,-1),c4=(0,l.createElementVNode)("path",{d:"M149.312 96c-41.216 0-74.624 33.408-74.624 74.688v682.624c0 41.28 33.408 74.688 74.624 74.688h725.376c41.216 0 74.624-33.408 74.624-74.688V298.688c0-41.28-33.408-74.688-74.624-74.688H526.976l-97.088-116.48A32 32 0 0 0 405.312 96h-256zm-10.624 74.688c0-5.888 4.736-10.688 10.624-10.688H390.4l97.088 116.48A32 32 0 0 0 512 288h362.688c5.888 0 10.624 4.8 10.624 10.688v554.624A10.688 10.688 0 0 1 874.688 864H149.312a10.688 10.688 0 0 1-10.624-10.688V170.688z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Fg=(0,l.defineComponent)({__name:"FileUpload",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[u4,(0,l.createTextVNode)(","),c4],14,s4))}}),d4=["aria-labelledby"],f4=[(0,l.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512zm0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267zm111.502 282.169c13.654-13.654 34.134-13.654 47.787 0 11.378 11.377 13.653 31.857 2.275 45.51l-2.275 2.276-111.502 111.502 111.502 111.503c13.653 13.653 13.653 34.133 0 47.786-13.653 13.654-34.133 13.654-47.787 0L512 557.511 400.498 669.013c-11.378 11.378-31.858 13.654-45.511 2.276l-2.276-2.276c-11.378-11.377-13.653-31.857-2.275-45.51l2.275-2.276 111.502-111.503-111.502-111.502c-13.653-13.653-13.653-34.133 0-47.786s34.133-13.654 47.787 0L512 461.938l111.502-111.502z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],m4=(0,l.defineComponent)({__name:"Failure",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},f4,14,d4))}}),h4=["aria-labelledby"],p4=[(0,l.createElementVNode)("path",{d:"M584.06 1024H318.577C144.118 1024 0 883.674 0 705.422s140.326-318.578 318.578-318.578v113.778c-113.778 0-204.8 91.022-204.8 204.8s91.022 204.8 204.8 204.8h265.481V1024zm56.888 0h-53.096c-208.593 0-379.26-170.667-379.26-383.052 0-83.437 26.549-163.081 75.852-231.348l3.793-3.793c15.17-22.755 30.34-60.681 45.511-121.363l7.585-34.133c7.586-18.963 15.17-41.718 18.963-68.267C386.844 22.756 470.281 0 519.586 0c117.57 0 178.251 106.193 178.251 212.385v7.585c0 7.586-3.793 18.963-3.793 37.926C876.09 257.896 1024 405.807 1024 587.852v53.096C1024 853.333 853.333 1024 640.948 1024zM519.585 113.778c-30.34 0-41.718 53.096-49.304 87.23-3.792 34.133-11.377 60.68-15.17 83.436l-7.585 34.134c-11.378 45.51-34.133 113.778-60.682 155.496l-7.585 3.793A269.274 269.274 0 0 0 322.37 644.74c0 147.91 121.363 269.274 269.274 269.274h53.097c147.91 0 269.274-121.363 269.274-269.274v-53.097c0-117.57-98.608-216.177-216.178-216.177h-56.889c-18.963-3.793-37.926-15.17-49.304-30.341-11.377-15.17-15.17-37.926-15.17-56.889 7.585-41.718 11.378-64.474 11.378-75.852v-3.792c-3.793 0-3.793-94.815-68.267-94.815z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Rg=(0,l.defineComponent)({__name:"Fabulous",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":t.name,role:"presentation"},p4,14,h4))}}),g4=["aria-labelledby"],v4=[(0,l.createElementVNode)("path",{d:"M605.09 1024C260.656 1024 0 684.218 0 512S260.655 0 605.09 0c321.165 0 605.092 321.164 605.092 512s-283.927 512-605.091 512zm0-884.364c-256 0-465.454 269.964-465.454 372.364s209.455 372.364 465.455 372.364c260.654 0 465.454-265.31 465.454-372.364s-204.8-372.364-465.454-372.364zm0 139.637c51.2 0 97.746 18.618 139.637 46.545h4.655c-51.2 0-93.091 41.891-93.091 93.091S698.18 512 749.38 512c37.237 0 69.819-23.273 83.783-55.855 4.654 18.619 9.309 37.237 9.309 55.855 0 130.327-102.4 232.727-232.728 232.727S377.018 642.327 377.018 512s97.746-232.727 228.073-232.727z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Og=(0,l.defineComponent)({__name:"Eye",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1210 1024","aria-labelledby":t.name,role:"presentation"},v4,14,g4))}}),y4=["aria-labelledby"],b4=[(0,l.createElementVNode)("path",{d:"M822.095 933.055H192.393c-57.961 0-104.95-47.02-104.95-105.016V197.92c0-58.003 47.678-109.99 105.642-109.99H615.65v52.822H193.085c-28.98 0-53.166 28.17-53.166 57.17v630.119c0 28.997 23.494 52.51 52.474 52.51h629.702c28.98 0 57.653-24.132 57.653-53.131V404.857h52.822v422.56c-.003 57.996-52.512 105.638-110.475 105.638zm-313.636-254.47c-7.672 7.678-17.28 11.517-27.185 13.447L251.517 805.68c-25.858 12.007-46.57-11.183-37.04-37.065L328.05 538.704c1.925-9.911 5.764-19.523 13.437-27.201l408.162-408.431c20.492-20.509 53.717-20.509 74.208 0l92.763 92.825c20.495 20.503 20.495 53.754 0 74.259L508.46 678.585zM264.727 736.86c-6.003 12.106 5.592 24.54 18.521 18.532l141.877-85.937-74.518-74.567-85.88 141.973zm132.414-169.664 55.661 55.697c10.243 10.253-16.237-16.249 18.55 18.562l296.846-297.04-93.425-92.163L378.592 548.63c9.856 9.86 8.304 8.314 18.551 18.565zM860.96 214.463l-55.658-55.698c-10.244-10.253-26.858-10.253-37.104 0l-54.33 54.362 91.431 94.155 55.661-55.697c10.247-10.25 10.247-26.87 0-37.122z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Hg=(0,l.defineComponent)({__name:"Edit2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},b4,14,y4))}}),w4=["aria-labelledby"],S4=[(0,l.createElementVNode)("path",{d:"M285.479 992.97H108.606c-27.927 0-55.854-12.412-77.576-31.03C9.31 940.217 0 915.393 0 884.363l3.103-155.152c0-24.824 9.31-46.545 27.927-65.164L626.812 65.164c83.782-83.782 220.315-83.782 307.2 0 83.782 83.781 83.782 223.418 0 307.2l-605.09 601.988c-12.413 12.412-27.928 18.618-43.443 18.618zM781.964 93.09c-31.03 0-65.164 12.413-89.988 37.237L96.194 729.212 93.09 884.364c0 9.309 6.206 15.515 15.515 15.515h161.358l598.884-595.782c49.649-49.649 49.649-127.224 0-173.77l-3.103-3.103c-21.72-21.721-52.751-34.133-83.781-34.133zm-201.946 78.508 65.816-65.847L882.812 342.73l-65.846 65.784zM946.424 992.97H217.212c-24.824 0-46.545-21.722-46.545-46.546s21.72-46.545 46.545-46.545h729.212c24.824 0 46.546 21.721 46.546 46.545s-21.722 46.546-46.546 46.546z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],qg=(0,l.defineComponent)({__name:"Edit",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S4,14,w4))}}),x4=["aria-labelledby"],C4=[(0,l.createElementVNode)("path",{d:"M512 663.704c-60.681 0-117.57-22.756-174.46-68.267-22.755-18.963-26.547-56.889-7.584-79.644 18.963-22.756 56.888-26.549 79.644-7.586 75.852 64.474 136.533 56.89 204.8 0 22.756-18.963 60.681-18.963 79.644 7.586 18.963 22.755 18.963 60.681-7.585 79.644-53.096 45.511-113.778 68.267-174.459 68.267zm295.822-3.793c-68.266 0-128.948-26.548-182.044-79.644-22.756-22.756-22.756-56.89-3.793-79.645 22.756-22.755 56.89-22.755 79.645-3.792 41.718 41.718 87.23 53.096 136.533 45.51 30.34-7.584 60.681 15.171 68.267 45.512 7.585 30.34-15.17 60.681-45.511 68.267-18.963 3.792-34.134 3.792-53.097 3.792zm-595.437 0c-15.17 0-34.133 0-49.304-3.792-30.34-3.793-53.096-34.134-45.51-64.475 3.792-30.34 34.133-53.096 64.473-45.51 49.304 7.585 94.815-7.586 136.534-45.512 22.755-22.755 56.889-22.755 79.644 0 22.756 22.756 22.756 56.89 0 79.645-53.096 53.096-117.57 79.644-185.837 79.644zM910.222 496.83l-53.096-219.97c-18.963-79.645-75.852-125.156-151.704-125.156H318.578c-79.645 0-147.911 53.096-163.082 128.948l-41.718 212.385L3.793 470.281l45.51-212.385c18.964-128.948 132.741-219.97 269.275-219.97h390.637c128.948 0 235.14 87.23 261.689 212.385L1024 470.281 910.222 496.83zM174.46 656.119C79.644 656.119 0 576.474 0 481.659c0-30.34 26.548-56.889 56.889-56.889s56.889 26.549 56.889 56.89c0 34.133 26.548 60.68 60.681 60.68 30.341 0 56.89 26.549 56.89 56.89s-26.549 56.889-56.89 56.889zm675.082 0c-30.341 0-56.89-26.549-56.89-56.89s26.549-56.888 56.89-56.888c34.133 0 60.681-26.548 60.681-60.682 0-30.34 26.548-56.889 56.89-56.889S1024 451.32 1024 481.66c0 94.814-79.644 174.459-174.46 174.459zm257.896-15.17c-68.267 0-128.948-26.549-182.044-79.645-22.756-22.756-22.756-56.89-3.793-79.645 22.756-22.755 56.889-22.755 79.644-3.792 34.134 30.34 68.267 45.51 106.193 45.51 11.378 0 30.34 0 37.926-3.792 30.34-7.585 60.681 15.17 68.267 45.511 7.585 30.341-15.17 60.682-45.511 68.267-18.963 7.585-45.512 7.585-60.682 7.585zm49.304-3.793c-30.341 0-56.89-26.549-56.89-56.89s26.549-56.888 56.89-56.888c37.926 0 53.096-30.341 53.096-60.682s26.548-56.889 56.889-56.889 56.889 26.549 56.889 56.89c-3.793 98.607-72.06 174.459-166.874 174.459zm-409.6 348.918H276.859c-109.985 0-201.007-91.022-201.007-201.007V587.852H189.63v197.215c0 49.303 37.926 87.23 87.23 87.23h474.073c49.304 0 87.23-37.927 87.23-87.23V587.852h113.778v197.215c-3.793 109.985-94.815 201.007-204.8 201.007zm462.696-508.207-49.304-201.008c-15.17-75.852-79.644-125.155-159.289-125.155H671.29V37.926h329.955c132.741 0 242.726 87.23 273.067 212.385l45.511 201.008-109.985 26.548zM686.459 986.074c-30.34 0-56.889-26.548-56.889-56.889s26.549-56.889 56.89-56.889h364.088c49.304 0 87.23-37.926 87.23-87.23v-178.25c0-30.34 26.548-56.89 56.889-56.89s56.889 26.55 56.889 56.89v178.252c0 109.985-91.023 201.007-201.008 201.007H686.46z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jg=(0,l.defineComponent)({__name:"Dshop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1327 1024","aria-labelledby":t.name,role:"presentation"},C4,14,x4))}}),N4=["aria-labelledby"],k4=[(0,l.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312.064-51.584-44.224-93.376-98.816-93.376zm527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312zm0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Kg=(0,l.defineComponent)({__name:"Drag",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},k4,14,N4))}}),z4=["aria-labelledby"],E4=[(0,l.createElementVNode)("path",{d:"M512 891.958c-35.032 0-70.063-13.474-99.705-37.726L123.958 590.147c-24.253-21.558-37.726-51.2-40.421-83.536-2.695-32.337 10.779-64.674 32.337-86.232 24.252-24.253 56.59-40.421 88.926-40.421H256V188.632c0-88.927 72.758-161.685 161.684-161.685h185.937c88.926 0 161.684 72.758 161.684 161.685v191.326h51.2c67.369 0 121.263 53.895 121.263 121.263 0 35.032-13.473 67.368-40.42 88.926L609.01 851.537c-24.253 26.947-59.285 40.42-97.011 40.42zM204.8 460.8c-10.779 0-21.558 5.39-29.642 13.474s-10.78 18.863-10.78 29.642 5.39 21.558 13.475 26.947l291.031 261.39c26.948 24.252 64.674 24.252 91.621 0l288.337-261.39c8.084-8.084 13.474-18.863 13.474-29.642 0-21.558-18.863-40.421-40.421-40.421H687.158V188.632c0-45.81-35.032-80.843-80.842-80.843H417.684c-45.81 0-80.842 35.032-80.842 80.843V460.8H204.8zM808.421 1024H215.58c-21.558 0-40.421-18.863-40.421-40.421s18.863-40.421 40.42-40.421h592.843c21.558 0 40.421 18.863 40.421 40.42S829.98 1024 808.422 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Yg=(0,l.defineComponent)({__name:"Download",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},E4,14,z4))}}),T4=["aria-labelledby"],_4=[(0,l.createElementVNode)("path",{d:"M512 138.667a288 288 0 0 1 287.403 269.269 245.333 245.333 0 1 1-146.774 468.139 32 32 0 1 1 17.408-61.611 181.333 181.333 0 0 0 91.734-350.89 32 32 0 0 1-24.406-27.52 33.152 33.152 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.659 31.659 0 0 1-16.384 9.728 181.419 181.419 0 1 0 91.733 350.891 32 32 0 1 1 17.451 61.61 245.333 245.333 0 0 1-140.97-470.058A288 288 0 0 1 512 138.666zm0 275.712a32 32 0 0 1 32 32V733.78l97.621-96.81 3.584-3.072a32 32 0 0 1 44.587 44.928l-3.115 3.584-152.149 150.954-3.584 3.115a32 32 0 0 1-37.632.17l-3.968-3.413-148.01-148.394-3.073-3.584a32 32 0 0 1-.256-37.675l3.414-4.01 3.584-3.073a32 32 0 0 1 37.674-.256l4.011 3.414 93.27 93.568V446.379l.298-4.352A32 32 0 0 1 512 414.379z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Wg=(0,l.defineComponent)({__name:"DownloadCloud",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},_4,14,T4))}}),$4=["aria-labelledby"],V4=[(0,l.createElementVNode)("path",{d:"M128 349.867C93.867 332.8 34.133 341.333 8.533 384-8.533 418.133 0 477.867 42.667 503.467 179.2 588.8 315.733 665.6 443.733 750.933c42.667 25.6 93.867 25.6 136.534 0C716.8 665.6 853.333 588.8 981.333 503.467c42.667-25.6 51.2-76.8 25.6-119.467s-76.8-51.2-119.466-25.6C768 435.2 640 512 512 588.8 384 512 256 435.2 128 349.867",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ug=(0,l.defineComponent)({__name:"DownArrow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},V4,14,$4))}}),B4=["aria-labelledby"],D4=(0,l.createElementVNode)("path",{d:"M556.8 535.893 170.667 149.76c-13.227-13.227-13.227-34.987 0-48.213 13.226-13.227 34.986-13.227 48.213 0L605.013 487.68c13.227 13.227 13.227 34.987 0 48.213-13.226 13.227-34.986 13.227-48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),M4=(0,l.createElementVNode)("path",{d:"M170.667 873.813 556.8 487.68c13.227-13.227 34.987-13.227 48.213 0 13.227 13.227 13.227 34.987 0 48.213L218.88 922.027c-13.227 13.226-34.987 13.226-48.213 0a33.493 33.493 0 0 1 0-48.214zM825.173 536.32 439.04 150.187c-13.227-13.227-13.227-34.987 0-48.214 13.227-13.226 34.987-13.226 48.213 0l386.134 386.134c13.226 13.226 13.226 34.986 0 48.213a33.493 33.493 0 0 1-48.214 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),I4=(0,l.createElementVNode)("path",{d:"m439.04 874.24 386.133-386.133c13.227-13.227 34.987-13.227 48.214 0 13.226 13.226 13.226 34.986 0 48.213L487.253 922.453c-13.226 13.227-34.986 13.227-48.213 0-13.227-13.226-13.227-34.56 0-48.213z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Gg=(0,l.defineComponent)({__name:"DoubleArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[D4,(0,l.createTextVNode)(","),M4,(0,l.createTextVNode)(","),I4],14,B4))}}),A4=["aria-labelledby"],L4=(0,l.createElementVNode)("path",{d:"M487.253 535.893 873.387 149.76c13.226-13.227 13.226-34.987 0-48.213-13.227-13.227-34.987-13.227-48.214 0L439.04 487.68c-13.227 13.227-13.227 34.987 0 48.213 13.227 13.227 34.987 13.227 48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),P4=(0,l.createElementVNode)("path",{d:"M873.387 873.813 487.253 487.68c-13.226-13.227-34.986-13.227-48.213 0-13.227 13.227-13.227 34.987 0 48.213l386.133 386.134c13.227 13.226 34.987 13.226 48.214 0 13.226-13.227 13.226-34.987 0-48.214zM218.88 536.32l386.133-386.133c13.227-13.227 13.227-34.987 0-48.214-13.226-13.226-34.986-13.226-48.213 0L170.667 488.107c-13.227 13.226-13.227 34.986 0 48.213 13.226 13.653 34.986 13.653 48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),F4=(0,l.createElementVNode)("path",{d:"M605.013 874.24 218.88 488.107c-13.227-13.227-34.987-13.227-48.213 0-13.227 13.226-13.227 34.986 0 48.213L556.8 922.453c13.227 13.227 34.987 13.227 48.213 0 13.227-13.226 13.227-34.56 0-48.213z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Xg=(0,l.defineComponent)({__name:"DoubleArrowLeft",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[L4,(0,l.createTextVNode)(","),P4,(0,l.createTextVNode)(","),F4],14,A4))}}),R4=["aria-labelledby"],O4=[(0,l.createElementVNode)("path",{d:"M199.36 572.768a31.904 31.904 0 0 0 22.624-9.376l294.144-294.144 285.728 285.728a31.968 31.968 0 1 0 45.248-45.248L538.752 201.376a32 32 0 0 0-45.28 0L176.704 518.144a31.968 31.968 0 0 0 22.656 54.624zm339.424-115.392a32 32 0 0 0-45.28 0L176.736 774.144a31.968 31.968 0 1 0 45.248 45.248l294.144-294.144 285.728 285.728a31.968 31.968 0 1 0 45.248-45.248l-308.32-308.352z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Zg=(0,l.defineComponent)({__name:"DouArrowUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},O4,14,R4))}}),H4=["aria-labelledby"],q4=[(0,l.createElementVNode)("path",{d:"M802.595 1018.465h-11.07c-58.12-8.303-119.006-22.14-182.66-47.049l-11.07-5.535h-11.07c-16.606 0-30.444 2.768-47.05 2.768C240.779 968.649 0 750.01 0 484.324S240.778 0 539.676 0s539.675 218.638 539.675 484.324c0 152.217-80.26 298.898-218.637 390.227l-2.768 2.768v88.562c0 27.676-24.908 52.584-55.351 52.584zm-202.033-135.61c5.535 0 13.838 0 19.373 2.767l19.373 8.302c47.049 16.606 94.097 30.444 135.61 38.746v-71.956c0-19.373 11.071-35.979 27.677-47.05 5.535-2.767 11.07-5.534 13.837-8.302 116.238-77.492 179.892-193.73 179.892-321.038 0-221.405-204.8-401.297-456.648-401.297S83.027 262.919 83.027 484.324s204.8 401.298 456.649 401.298c13.838 0 27.675 0 41.513-2.768h19.373zm243.546 0zm-304.432-398.53c77.492 0 138.378-24.909 138.378-55.352s-60.886-41.514-138.378-41.514-138.379 11.07-138.379 41.514 60.887 55.351 138.379 55.351zm-226.94-185.428c19.372 11.07 27.675 35.979 13.837 55.352l-27.676 47.048c-11.07 19.373-35.978 27.676-55.351 13.838-19.373-11.07-27.676-35.978-13.838-55.351l27.676-47.049c11.07-19.373 35.978-27.676 55.351-13.838zm456.648 0c-19.373 11.07-27.676 35.979-13.838 55.352l27.676 47.048c11.07 19.373 35.978 27.676 55.351 13.838 19.373-11.07 27.676-35.978 13.838-55.351l-27.676-47.049c-11.07-19.373-35.978-27.676-55.351-13.838zM539.676 705.73c-138.379 0-268.454-58.12-351.481-157.752-11.07-11.07-8.303-30.443 2.767-38.746 11.07-11.07 30.443-8.302 38.746 2.768 74.724 88.562 188.195 138.378 309.968 138.378 121.773 0 240.778-52.583 312.735-141.146 11.07-11.07 27.675-13.837 38.746-2.767 11.07 11.07 13.838 27.676 2.767 38.746-83.027 99.632-215.87 160.519-354.248 160.519z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Jg=(0,l.defineComponent)({__name:"Dongdong",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":t.name,role:"presentation"},q4,14,H4))}}),j4=["aria-labelledby"],K4=[(0,l.createElementVNode)("path",{d:"M683.886 991.086H336.457c-124.343 0-226.743-102.4-226.743-226.743V182.857h804.572v577.829c0 128-102.4 230.4-230.4 230.4zM219.429 292.57v468.115c0 65.828 54.857 117.028 117.028 117.028h347.429c65.828 0 117.028-54.857 117.028-117.028V292.57H219.43zm694.857 0H109.714c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857h804.572c29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857zM640 109.714H387.657c-29.257 0-54.857-25.6-54.857-54.857S358.4 0 387.657 0H640c32.914 0 54.857 25.6 54.857 54.857S672.914 109.714 640 109.714z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Qg=(0,l.defineComponent)({__name:"Del2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},K4,14,j4))}}),Y4=["aria-labelledby"],W4=[(0,l.createElementVNode)("path",{d:"M668.444 1024H355.556c-142.223 0-256-113.778-256-256V170.667h824.888V768c0 142.222-113.777 256-256 256zM184.89 256v512c0 93.867 76.8 170.667 170.667 170.667h312.888c93.867 0 170.667-76.8 170.667-170.667V256H184.89zm753.778 0H85.333c-22.755 0-42.666-19.911-42.666-42.667s19.91-42.666 42.666-42.666h853.334c22.755 0 42.666 19.91 42.666 42.666S961.423 256 938.667 256zM625.777 85.333H398.223c-22.755 0-42.666-19.91-42.666-42.666S375.466 0 398.222 0h227.556c22.755 0 42.666 19.911 42.666 42.667s-19.91 42.666-42.666 42.666z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ev=(0,l.defineComponent)({__name:"Del",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W4,14,Y4))}}),U4=["aria-labelledby"],G4=[(0,l.createElementVNode)("path",{d:"M774.919 1024H249.08C110.703 1024 0 913.297 0 774.919V304.432c0-138.378 110.703-249.08 249.081-249.08H774.92c138.378 0 249.081 110.702 249.081 249.08V774.92C1024 913.297 913.297 1024 774.919 1024zM249.08 138.378c-91.33 0-166.054 74.725-166.054 166.054V774.92c0 91.33 74.724 166.054 166.054 166.054h525.84c91.33 0 166.054-74.724 166.054-166.054V304.432c0-91.33-74.724-166.054-166.054-166.054H249.08zm719.57 304.433H41.514C19.373 442.81 0 423.438 0 401.297s19.373-41.513 41.514-41.513h927.135c22.14 0 41.513 19.373 41.513 41.513s-19.373 41.514-41.513 41.514zM595.027 719.568H428.973c-22.14 0-41.514-19.373-41.514-41.514s19.373-41.513 41.514-41.513h166.054c22.14 0 41.514 19.373 41.514 41.513s-19.373 41.514-41.514 41.514zM332.108 193.73c-22.14 0-41.513-19.373-41.513-41.514V41.514C290.595 19.373 309.968 0 332.108 0s41.514 19.373 41.514 41.514v110.702c0 22.14-19.373 41.514-41.514 41.514zm332.108 0c-22.14 0-41.513-19.373-41.513-41.514V41.514C622.703 19.373 642.076 0 664.216 0s41.514 19.373 41.514 41.514v110.702c0 22.14-19.373 41.514-41.514 41.514z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],tv=(0,l.defineComponent)({__name:"Date",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},G4,14,U4))}}),X4=["aria-labelledby"],Z4=[(0,l.createElementVNode)("path",{d:"M760.415 876.089H259.793c-132.741 0-242.726-109.985-242.726-242.726V242.726C17.067 109.986 127.052 0 259.793 0h504.414c132.741 0 242.726 109.985 242.726 242.726v394.43c-3.792 132.74-109.985 238.933-246.518 238.933zM259.793 113.778c-72.06 0-128.949 56.889-128.949 128.948v394.43c0 72.059 56.89 128.948 128.949 128.948h504.414c68.267 0 128.949-56.89 128.949-128.948v-394.43c0-72.06-56.89-128.948-128.949-128.948H259.793zm56.888 887.466c-15.17 0-30.34-3.792-41.718-15.17-22.756-22.755-22.756-56.889 0-79.644l109.985-109.986c22.756-22.755 56.889-22.755 79.645 0s22.755 56.89 0 79.645L354.607 986.074c-7.585 7.585-22.755 15.17-37.926 15.17zm193.423-398.222c-45.511 0-91.023-22.755-117.57-56.889-18.964-26.548-15.171-60.681 7.585-79.644 26.548-18.963 60.681-15.17 79.644 7.585 15.17 18.963 45.511 18.963 56.889 0 18.963-22.755 56.889-30.34 79.644-7.585s30.341 56.889 7.585 79.644c-22.755 37.926-68.266 56.89-113.777 56.89z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],lv=(0,l.defineComponent)({__name:"Comment",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z4,14,X4))}}),J4=["aria-labelledby"],Q4=[(0,l.createElementVNode)("path",{d:"M924.714 962c-10.286 0-20.572-2.572-28.286-10.286L73.572 128.858c-12.858-15.429-12.858-41.143 0-56.571 15.428-12.858 41.142-12.858 56.57 0L953 895.142c15.428 15.429 15.428 38.571 0 54-7.714 10.285-18 12.857-28.286 12.857zm-822.856 0c-10.286 0-20.572-2.572-28.286-10.286-15.43-15.428-15.43-38.572 0-54L896.428 74.858c15.43-15.429 38.572-15.429 54 0 15.43 15.429 15.43 38.571 0 54L127.572 951.714c-5.144 7.714-15.43 10.286-25.714 10.286z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],nv=(0,l.defineComponent)({__name:"Close2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},Q4,14,J4))}}),ed=["aria-labelledby"],td=[(0,l.createElementVNode)("path",{d:"M981.577 1024c-11.703 0-23.406-2.926-32.183-11.703L13.166 76.07c-14.629-17.555-14.629-46.812 0-64.366 17.554-14.629 46.811-14.629 64.365 0L1013.76 947.93c17.554 17.555 17.554 43.886 0 61.44-8.777 11.703-20.48 14.629-32.183 14.629zm-936.228 0c-11.703 0-23.406-2.926-32.183-11.703-17.555-17.554-17.555-43.886 0-61.44L949.394 14.63c17.555-17.555 43.886-17.555 61.44 0 17.555 17.554 17.555 43.885 0 61.44L74.606 1012.297C68.754 1021.074 57.05 1024 45.349 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Fo=(0,l.defineComponent)({__name:"Close",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},td,14,ed))}}),ld=["aria-labelledby"],nd=[(0,l.createElementVNode)("path",{d:"M998.002 26a85.073 85.073 0 0 0-120.415 0L451.795 451.792a85.073 85.073 0 1 0 120.414 120.415l425.793-425.793a85.073 85.073 0 0 0 0-120.414zM877.587 998a85.073 85.073 0 1 0 120.415-120.415L146.416 26A85.073 85.073 0 1 0 26.002 146.414L391.588 512 26.002 877.585A85.073 85.073 0 1 0 146.416 998l365.586-365.585L877.587 998z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],av=(0,l.defineComponent)({__name:"CloseLittle",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},nd,14,ld))}}),ad=["aria-labelledby"],rd=[(0,l.createElementVNode)("path",{d:"M512 45.966C255.682 45.966 45.966 255.682 45.966 512S255.682 978.034 512 978.034 978.034 768.318 978.034 512 768.318 45.966 512 45.966zM706.18 651.81c15.535 15.535 15.535 38.836 0 54.37s-38.835 15.535-54.37 0L512 566.372l-139.81 139.81c-15.534 15.534-38.836 15.534-54.37 0s-15.535-38.836 0-54.37L457.628 512l-139.81-139.81c-15.534-15.534-15.534-38.836 0-54.37s38.836-15.535 54.37 0L512 457.628l139.81-139.81c15.534-15.534 38.836-15.534 54.37 0s15.535 38.836 0 54.37L566.372 512l139.81 139.81z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],rv=(0,l.defineComponent)({__name:"CloseFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},rd,14,ad))}}),od=["aria-labelledby"],id=[(0,l.createElementVNode)("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512zm0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77zm183.795 498.87H485.744c-21.006 0-39.385-18.38-39.385-39.385s18.38-39.384 39.385-39.384h210.05c21.006 0 39.385 18.38 39.385 39.384S716.8 577.64 695.795 577.64zm-210.051 0c-21.006 0-39.385-18.38-39.385-39.385v-210.05c0-21.006 18.38-39.385 39.385-39.385s39.384 18.379 39.384 39.384v210.051c0 21.006-18.38 39.385-39.384 39.385z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ov=(0,l.defineComponent)({__name:"Clock",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},id,14,od))}}),sd=["aria-labelledby"],ud=[(0,l.createElementVNode)("path",{d:"M511.492 73.079a438.418 438.418 0 0 1 310.54 748.94 439.153 439.153 0 1 1-621.08-621.062 435.688 435.688 0 0 1 310.54-127.895m0-73.062C267.494.035 57.476 172.422 9.878 411.727-37.704 651.048 90.397 890.66 315.826 984.031c225.447 93.353 485.436 14.471 620.995-188.413 135.54-202.903 108.883-473.285-63.658-645.81A509.637 509.637 0 0 0 511.492.02zM335.795 635.484l299.668-299.669c12.049-12.048 24.115-12.048 36.163 0l15.496 15.497c12.05 12.066 12.05 24.115 0 36.18l-299.65 299.636c-12.066 12.05-24.115 12.05-36.18 0l-15.497-15.496c-12.049-12.066-12.049-24.115 0-36.182zm0-284.172 15.496-15.497c12.065-12.048 24.114-12.048 36.18 0l299.634 299.67c12.05 12.048 12.05 24.097 0 36.163l-15.496 15.496c-12.05 12.05-24.114 12.05-36.181 0L335.811 387.476c-12.049-12.05-12.049-24.098 0-36.164z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],iv=(0,l.defineComponent)({__name:"CircleClose",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ud,14,sd))}}),cd=["aria-labelledby"],dd=[(0,l.createElementVNode)("path",{d:"M159.289 500.622c62.578 0 125.155 17.067 221.867 102.4 8.533 5.69 19.91 5.69 25.6 0 48.355-54.044 238.933-261.689 455.11-329.955 0 0 28.445-5.69 42.667 19.91 8.534 17.067 19.911 34.134-5.689 54.045-22.755 17.067-264.533 179.2-440.888 440.89l-2.845 2.844c-11.378 8.533-68.267 51.2-119.467-14.223-56.888-71.11-85.333-139.377-196.266-196.266-2.845 0-2.845-2.845-5.69-5.69-11.377-11.377-54.044-73.955 25.6-73.955z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ro=(0,l.defineComponent)({__name:"Checklist",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},dd,14,cd))}}),fd=["aria-labelledby"],md=[(0,l.createElementVNode)("path",{d:"M451.243 802.133a101.717 101.717 0 0 1-73.046-30.72L116.736 552.277a47.787 47.787 0 0 1 62.123-74.41l263.509 221.866c4.779 4.779 7.51 5.462 9.557 5.462a13.653 13.653 0 0 0 6.144 0L854.7 204.8a47.787 47.787 0 0 1 75.093 59.392l-396.63 498.347a105.13 105.13 0 0 1-75.775 38.912z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],sv=(0,l.defineComponent)({__name:"Checked2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},md,14,fd))}}),hd=["aria-labelledby"],pd=[(0,l.createElementVNode)("path",{d:"M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512S793.6 0 512 0zm281.6 369.778C779.378 381.156 600.178 500.622 472.178 691.2c0 0 0 2.844-2.845 2.844-8.533 5.69-48.355 36.978-88.177-8.533-39.823-51.2-62.578-99.555-142.223-142.222-2.844 0-2.844-2.845-2.844-2.845-8.533-11.377-39.822-56.888 19.911-56.888 45.511 0 91.022 11.377 162.133 73.955 5.69 5.689 14.223 5.689 17.067 0C469.333 517.69 608.711 366.933 768 318.578c0 0 19.911-2.845 31.289 14.222 5.689 11.378 11.378 22.756-5.689 36.978z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],gd=(0,l.defineComponent)({__name:"Checked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},pd,14,hd))}}),vd=["aria-labelledby"],yd=[(0,l.createElementVNode)("path",{d:"M512 992C246.904 992 32 777.096 32 512S246.904 32 512 32s480 214.904 480 480-214.904 480-480 480zM270.243 527.725l161.622 163.812a.57.57 0 0 0 .81.015l321.132-321.908a.292.292 0 0 0-.003-.412l-35.025-34.956a.3.3 0 0 0-.415-.019L432.917 594.642c-.35.32-.934.335-1.295.026l-123.19-105.65a.319.319 0 0 0-.424.02l-37.762 38.274a.288.288 0 0 0-.004.413z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],uv=(0,l.defineComponent)({__name:"CheckedFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},yd,14,vd))}}),bd=["aria-labelledby"],wd=[(0,l.createElementVNode)("path",{d:"M512 1024c-136.533 0-264.533-54.044-361.244-150.756C54.044 776.534 0 648.534 0 512c0-136.533 54.044-264.533 150.756-361.244C247.466 54.044 375.466 0 512 0c136.533 0 264.533 54.044 361.244 150.756C969.956 247.466 1024 375.466 1024 512s-54.044 264.533-150.756 361.244C776.534 969.956 648.534 1024 512 1024zm0-938.667c-113.778 0-221.867 45.511-301.511 125.156S85.333 398.222 85.333 512s45.511 221.867 125.156 301.511S398.222 938.667 512 938.667s221.867-45.511 301.511-125.156S938.667 625.778 938.667 512 893.156 290.133 813.51 210.489 625.778 85.333 512 85.333z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Sd=(0,l.defineComponent)({__name:"CheckNormal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},wd,14,bd))}}),xd=["aria-labelledby"],Cd=[(0,l.createElementVNode)("path",{d:"M506.467 0C227.962 0 .094 227.868.094 506.374s227.868 506.373 506.373 506.373 506.374-227.868 506.374-506.373S787.786 0 506.467 0zm202.55 571.077H306.73c-45.01 0-67.516-22.506-67.516-67.517 0-45.01 22.505-67.516 67.516-67.516h402.286c45.01 0 67.516 22.505 67.516 67.516 0 45.011-22.505 67.517-67.516 67.517z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],cv=(0,l.defineComponent)({__name:"CheckDisabled",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Cd,14,xd))}}),Nd=["aria-labelledby"],kd=[(0,l.createElementVNode)("path",{d:"M510.613 2.837C229.793 2.837.032 232.598.032 513.418S229.793 1024 510.613 1024s510.582-229.762 510.582-510.582S794.27 2.837 510.613 2.837zm0 794.238c-156.01 0-283.656-127.646-283.656-283.657s127.645-283.656 283.656-283.656S794.27 357.407 794.27 513.418 666.624 797.075 510.613 797.075zM382.968 513.418a127.645 127.645 0 1 0 255.29 0 127.645 127.645 0 1 0-255.29 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],dv=(0,l.defineComponent)({__name:"CheckChecked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1032 1024","aria-labelledby":t.name,role:"presentation"},kd,14,Nd))}}),zd=["aria-labelledby"],Ed=[(0,l.createElementVNode)("path",{d:"M307.2 468.114H160.914C73.143 468.114 0 394.97 0 307.2V160.914C0 73.143 73.143 0 160.914 0H307.2c87.77 0 160.914 73.143 160.914 160.914V307.2c0 87.77-73.143 160.914-160.914 160.914zM160.914 87.77c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143H160.914zM307.2 1023.999H160.914C73.143 1023.999 0 950.856 0 863.085V716.8c0-87.77 73.143-160.914 160.914-160.914H307.2c87.77 0 160.914 73.143 160.914 160.914v146.286C468.114 950.856 394.97 1024 307.2 1024zM160.914 643.656c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143H160.914zm629.028-175.542c-128.732 0-234.057-105.325-234.057-234.057S661.21 0 789.942 0 1024 105.326 1024 234.057 918.673 468.114 789.942 468.114zm0-380.343c-81.92 0-146.286 64.366-146.286 146.286s64.366 146.286 146.286 146.286 146.286-64.366 146.286-146.286S871.862 87.77 789.942 87.77zm73.143 936.228H716.8c-87.77 0-160.914-73.143-160.914-160.914V716.8c0-87.77 73.143-160.914 160.914-160.914h146.286c87.771 0 160.914 73.143 160.914 160.914v146.286c0 87.771-73.143 160.914-160.914 160.914zM716.8 643.656c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143h146.286c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143H716.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],fv=(0,l.defineComponent)({__name:"Category",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Ed,14,zd))}}),Td=["aria-labelledby"],_d=[(0,l.createElementVNode)("path",{d:"M948.148 1024c41.719 0 75.852-34.133 75.852-75.852s-34.133-75.852-75.852-75.852-75.852 34.134-75.852 75.852S906.43 1024 948.148 1024zM754.726 872.296H402.015V758.52h352.71c68.268 0 128.95-49.304 136.534-117.57l37.926-261.69v-7.585c0-34.133-26.548-68.267-56.889-68.267H250.311l37.926 352.712-113.778 11.377-49.303-477.866h747.14c94.815 0 174.46 83.437 174.46 182.044v22.756l-41.719 261.689c-18.963 121.36-128.948 216.176-250.311 216.176zM246.519 1024c-56.89 0-106.193-22.756-147.912-60.681-37.926-37.926-60.681-91.023-60.681-147.912s22.755-106.192 60.681-147.91c37.926-37.927 91.023-60.682 147.912-60.682s109.985 22.755 147.91 60.681 60.682 91.023 60.682 147.911-22.755 109.986-60.681 147.912C352.71 1001.244 303.407 1024 246.519 1024zm0-303.407c-26.549 0-49.304 11.377-68.267 26.548-15.17 18.963-26.548 41.718-26.548 68.266s11.377 49.304 26.548 68.267c34.133 34.133 98.607 34.133 132.74 0 18.964-18.963 30.341-41.718 30.341-68.267s-11.377-49.303-26.548-68.266c-18.963-15.17-41.718-26.548-68.266-26.548zm-49.304-364.09c-26.548 0-53.096-18.962-56.89-49.303l-18.962-113.778c-3.793-26.548-22.756-45.51-53.096-45.51s-56.89-26.549-56.89-56.89 26.549-56.889 56.89-56.889c87.23 0 155.496 64.474 166.874 147.911l18.963 109.986c3.792 30.34-15.17 60.681-45.511 64.474h-11.378z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],mv=(0,l.defineComponent)({__name:"Cart2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":t.name,role:"presentation"},_d,14,Td))}}),$d=["aria-labelledby"],Vd=[(0,l.createElementVNode)("path",{d:"M932.978 1024c38.684 0 68.266-29.582 68.266-68.267s-29.582-68.266-68.266-68.266-68.267 29.582-68.267 68.266S894.293 1024 932.978 1024zM826.027 864.711H350.436V773.69h475.59c56.89 0 104.676-43.236 113.778-100.125l47.787-373.19v-6.827c0-25.031-20.48-45.511-45.511-45.511H209.351l40.96 430.08-91.022 9.102-50.062-527.93H942.08c75.093 0 136.533 61.44 136.533 136.534v18.205l-47.786 373.19c-13.654 100.125-100.125 177.494-204.8 177.494zM250.31 1024c-47.787 0-93.298-18.204-129.707-52.338-34.133-36.409-52.337-81.92-52.337-129.706s18.204-93.298 52.337-129.707c36.41-34.133 81.92-52.338 129.707-52.338s93.298 18.205 129.707 52.338c34.133 34.133 52.338 79.644 52.338 129.707s-18.205 93.297-52.338 129.706c-36.41 34.134-81.92 52.338-129.707 52.338zm0-273.067c-25.031 0-47.787 9.103-63.715 27.307-18.205 15.929-27.307 38.684-27.307 63.716s9.102 47.786 27.307 63.715c34.133 34.133 93.297 34.133 129.706 0 18.205-18.204 27.307-40.96 27.307-63.715s-9.102-47.787-27.307-63.716c-18.204-18.204-40.96-27.307-65.99-27.307zm-91.022-455.11c-22.756 0-40.96-15.93-45.511-38.685l-15.93-111.502c-2.275-31.858-25.03-54.614-52.337-54.614C20.48 91.022 0 70.542 0 45.512S20.48 0 45.511 0c75.093 0 134.258 59.164 143.36 136.533L204.8 243.484c4.551 25.032-13.653 47.787-38.684 52.338h-6.827z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],hv=(0,l.defineComponent)({__name:"Cart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1092 1024","aria-labelledby":t.name,role:"presentation"},Vd,14,$d))}}),Bd=["aria-labelledby"],Dd=[(0,l.createElementVNode)("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512zm0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77zm0 525.127c-21.005 0-39.385-18.38-39.385-39.384v-44.636c0-26.256 18.38-49.887 44.636-52.513 13.128-2.626 18.38-2.626 18.38-2.626 23.63-10.502 39.384-34.133 39.384-57.764 0-34.133-28.882-63.015-65.64-63.015s-65.642 28.882-65.642 63.015c0 21.005-18.38 39.385-39.384 39.385s-36.76-18.38-36.76-42.01c0-78.77 65.642-141.785 144.411-141.785S656.41 325.58 656.41 404.35c0 57.764-34.133 110.277-89.272 131.282-5.25 2.625-10.502 2.625-15.753 5.251v23.63c0 21.006-18.38 39.385-39.385 39.385zm-65.641 118.154a65.641 65.641 0 1 0 131.282 0 65.641 65.641 0 1 0-131.282 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],pv=(0,l.defineComponent)({__name:"Ask2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Dd,14,Bd))}}),Md=["aria-labelledby"],Id=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-938.667c-234.667 0-426.667 192-426.667 426.667s192 426.667 426.667 426.667 426.667-192 426.667-426.667S746.667 85.333 512 85.333zm0 529.067c-25.6 0-42.667-17.067-42.667-42.667v-38.4c0-29.866 21.334-59.733 55.467-64 8.533 0 12.8-4.266 12.8-4.266 25.6-8.534 38.4-34.134 38.4-59.734 0-34.133-29.867-64-64-64s-64 29.867-64 64c0 25.6-17.067 42.667-42.667 42.667s-42.666-17.067-42.666-42.667C362.667 324.267 430.933 256 512 256s149.333 68.267 149.333 149.333c0 59.734-38.4 115.2-93.866 136.534-4.267 0-8.534 4.266-12.8 4.266v21.334c0 25.6-17.067 46.933-42.667 46.933zm-64 110.933a64 64 0 1 0 128 0 64 64 0 1 0-128 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],gv=(0,l.defineComponent)({__name:"Ask",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Id,14,Md))}}),Ad=["aria-labelledby"],Ld=[(0,l.createElementVNode)("path",{d:"M623.406 815.479A129.722 129.722 0 1 1 487.068 594.95C691.9 468.083 896.73 341.993 1101.691 215.125a194.583 194.583 0 0 1 204.442 0l614.494 379.567a129.722 129.722 0 1 1-136.338 220.657l-580.506-358.292-580.377 358.422",fill:"currentColor","fill-opacity":"0.9"},null,-1)],vv=(0,l.defineComponent)({__name:"ArrowUp2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":t.name,role:"presentation"},Ld,14,Ad))}}),Pd=["aria-labelledby"],Fd=[(0,l.createElementVNode)("path",{d:"M1489.611 733.18a92.288 92.288 0 1 0 97.021-157.036c-145.758-90.073-291.516-179.945-437.375-270.068a138.558 138.558 0 0 0-145.506 0C858.094 396.199 712.336 486.07 566.578 576.144a92.288 92.288 0 1 0 97.02 157.036l413.007-255.064 413.057 255.064",fill:"currentColor","fill-opacity":"0.9"},null,-1)],yv=(0,l.defineComponent)({__name:"ArrowUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":t.name,role:"presentation"},Fd,14,Pd))}}),Rd=["aria-labelledby"],Od=[(0,l.createElementVNode)("path",{d:"M312.38 132.53a84.855 84.855 0 1 1 144.254-89.183L704.92 445.389a127.282 127.282 0 0 1 0 133.73L456.634 981.076a84.855 84.855 0 1 1-144.253-89.182l234.284-379.724c-77.982-126.52-156.218-253.037-234.285-379.64",fill:"currentColor","fill-opacity":"0.9"},null,-1)],bv=(0,l.defineComponent)({__name:"ArrowRight2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Od,14,Rd))}}),Hd=["aria-labelledby"],qd=[(0,l.createElementVNode)("path",{d:"m387.547 980.846 305.006-397.532a117.102 117.102 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.538 27.538 0 0 1 0 33.572L316.489 926.318a44.8 44.8 0 0 0 71.058 54.564",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jd=(0,l.defineComponent)({__name:"ArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},qd,14,Hd))}}),Kd=["aria-labelledby"],Yd=[(0,l.createElementVNode)("path",{d:"M1741.19 227.497a121.654 121.654 0 1 1 127.858 206.812L1292.65 790.27a182.482 182.482 0 0 1-191.727 0L524.646 434.31a121.654 121.654 0 1 1 127.859-206.812l544.403 335.887c181.387-111.8 362.773-223.965 544.282-335.887",fill:"currentColor","fill-opacity":"0.9"},null,-1)],wv=(0,l.defineComponent)({__name:"ArrowDown2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":t.name,role:"presentation"},Yd,14,Kd))}}),Wd=["aria-labelledby"],Ud=[(0,l.createElementVNode)("path",{d:"M1517.651 260.347a105.004 105.004 0 1 1 110.389 178.672c-165.84 102.483-331.68 204.737-497.636 307.277a157.649 157.649 0 0 1-165.554 0c-165.725-102.54-331.566-204.794-497.406-307.277a105.004 105.004 0 1 1 110.331-178.672l469.967 290.206 469.91-290.206",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Sv=(0,l.defineComponent)({__name:"ArrowDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":t.name,role:"presentation"},Ud,14,Wd))}}),Gd=["aria-labelledby"],Xd=[(0,l.createElementVNode)("path",{d:"M1111.771 365.714H1024c0-137.508-111.177-251.611-248.686-251.611-64.365 0-125.805 26.331-172.617 70.217l-5.851 5.851c-23.406 23.406-61.44 23.406-84.846 0-2.926-2.925-2.926-5.851-5.851-5.851-46.812-43.886-108.252-70.217-172.618-70.217-134.582 0-245.76 114.103-245.76 251.611H0C0 178.47 152.137 26.331 336.457 26.331c81.92 0 157.989 29.258 219.429 81.92 61.44-52.662 137.508-81.92 219.428-81.92 184.32 0 336.457 152.138 336.457 339.383zM122.88 664.137c-14.629 0-26.331-5.851-35.109-17.554-2.925-5.852-8.777-11.703-11.702-17.554C26.33 550.034 0 459.337 0 365.714c0-23.405 20.48-43.885 43.886-43.885s43.885 20.48 43.885 43.885c0 76.069 20.48 149.212 61.44 213.577 2.926 5.852 5.852 8.778 8.778 14.629 14.628 20.48 8.777 46.811-11.703 61.44-5.852 5.851-14.629 8.777-23.406 8.777zm915.749-93.623c-5.852 0-11.703 0-14.629-2.925-23.406-8.778-35.109-35.109-23.406-55.589 17.555-46.811 26.332-96.549 26.332-146.286-2.926-23.405 17.554-43.885 40.96-43.885s43.885 20.48 43.885 43.885c0 61.44-11.702 122.88-35.108 178.469-5.852 17.554-20.48 26.331-38.034 26.331zm-482.743 441.783c-8.777 0-20.48-2.926-29.257-5.851-11.703-5.852-17.555-5.852-20.48-8.777C333.53 918.674 187.246 795.794 81.92 637.806c-14.629-20.48-8.777-46.812 11.703-61.44s46.811-8.777 61.44 11.703c96.548 143.36 231.131 257.462 389.12 330.605l2.926 2.926c2.925 0 2.925 2.926 8.777 2.926l14.628-5.852 52.663-26.331c20.48-11.703 46.812-2.926 58.514 17.554 11.703 20.48 2.926 46.812-17.554 58.514-20.48 11.703-40.96 20.48-58.514 29.258l-20.48 8.777c-8.777 5.851-20.48 5.851-29.257 5.851zm-5.852-84.846zm11.703 0zM1038.63 819.2H746.057c-23.406 0-43.886-20.48-43.886-43.886s20.48-43.885 43.886-43.885h292.572c23.405 0 43.885 20.48 43.885 43.885s-20.48 43.886-43.885 43.886zM892.343 965.486c-23.406 0-43.886-20.48-43.886-43.886V629.029c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886V921.6c0 23.406-20.48 43.886-43.886 43.886z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],xv=(0,l.defineComponent)({__name:"Addfollow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1111 1024","aria-labelledby":t.name,role:"presentation"},Xd,14,Gd))}}),Zd=["aria-labelledby"],Jd=[(0,l.createElementVNode)("path",{d:"M888.686 917.942h-204.8c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857h201.143c29.257 0 54.857 25.6 54.857 54.857s-21.943 54.857-51.2 54.857zm-102.4 98.743c-29.257 0-54.857-21.943-54.857-54.857V760.685c0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857v201.143c0 32.914-25.6 54.857-54.857 54.857zm-577.829 7.314H204.8c-29.257-3.657-51.2-29.257-51.2-58.514 14.63-149.943 142.63-270.629 292.571-270.629 29.258 0 54.858 25.6 54.858 54.857s-25.6 54.857-54.858 54.857c-95.085 0-175.542 73.143-186.514 168.229 0 29.257-25.6 51.2-51.2 51.2zM475.43 548.57c-43.886 0-87.772-21.942-117.029-54.856-18.286-21.943-14.629-58.514 7.314-76.8 21.943-18.285 58.515-14.628 76.8 7.315 14.63 18.285 43.886 18.285 58.515 0 18.285-21.943 54.857-29.258 76.8-7.315 21.942 18.286 29.257 54.857 7.314 76.8-21.943 32.914-65.829 54.856-109.714 54.856zm0 256c-223.086 0-402.286-179.2-402.286-402.284S252.344 0 475.43 0s402.285 179.2 402.285 402.286c0 58.514-14.628 117.027-36.571 171.884-14.63 25.6-43.886 40.23-73.143 25.6-25.6-14.628-40.23-43.885-25.6-73.142 18.286-40.228 29.257-80.457 29.257-124.342 0-160.915-131.657-292.572-292.571-292.572S186.514 241.37 186.514 402.286s131.657 292.57 292.572 292.57c14.628 0 32.914 0 47.543-3.657 29.257-3.657 58.514 14.63 62.17 43.886 3.658 29.257-14.628 58.514-43.885 62.171-25.6 7.314-47.543 7.314-69.485 7.314z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Cv=(0,l.defineComponent)({__name:"Add",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Jd,14,Zd))}}),Qd=["aria-labelledby"],ef=[(0,l.createElementVNode)("path",{d:"M512.496 1024c-302.08 0-499.2-161.28-499.2-409.6 0-168.96 89.6-332.8 232.96-430.08 0 0 2.56 0 2.56-2.56l-2.56-7.68c-10.24-61.44 25.6-117.76 81.92-133.12 30.72-7.68 61.44-2.56 87.04 10.24 20.48-28.16 56.32-51.2 99.84-51.2 40.96 0 76.8 23.04 97.28 53.76 25.6-12.8 56.32-17.92 87.04-10.24 56.32 15.36 92.16 71.68 81.92 130.56l-2.56 10.24c143.36 97.28 232.96 261.12 232.96 430.08 0 248.32-197.12 409.6-499.2 409.6zm-153.6-906.24c-2.56 0-7.68 0-10.24 2.56-17.92 5.12-30.72 23.04-28.16 43.52l5.12 20.48c5.12 23.04-2.56 46.08-23.04 56.32-7.68 5.12-12.8 7.68-15.36 10.24-120.32 79.36-197.12 220.16-197.12 363.52 0 245.76 217.6 332.8 422.4 332.8s422.4-87.04 422.4-332.8c0-143.36-76.8-284.16-199.68-366.08-2.56-2.56-7.68-5.12-12.8-7.68-17.92-12.8-28.16-35.84-23.04-56.32l5.12-25.6c2.56-17.92-7.68-35.84-28.16-40.96-20.48-5.12-40.96 7.68-46.08 25.6v2.56c-10.24 33.28-38.4 33.28-43.52 33.28h-30.72l-5.12-33.28v-38.4c0-15.36-17.92-30.72-35.84-30.72-20.48 0-38.4 17.92-38.4 38.4 0 30.72 0 46.08-12.8 58.88l-10.24 10.24h-15.36c-7.68 0-38.4-2.56-40.96-43.52-7.68-15.36-23.04-23.04-38.4-23.04zm404.48 56.32zm-207.36-48.64V128l35.84 7.68-35.84-10.24zm-94.72 460.8c0-38.4 38.4-51.2 51.2-51.2s51.2 12.8 51.2 51.2c0 79.36-12.8 148.48-35.84 207.36-2.56 12.8-7.68 25.6-15.36 25.6s-12.8-12.8-15.36-25.6c-23.04-58.88-35.84-128-35.84-207.36zm243.2 15.36a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm-512 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm629.76 192c-107.52 0-194.56-87.04-194.56-192s87.04-192 194.56-192c51.2 0 99.84 17.92 135.68 53.76 20.48 17.92 35.84 40.96 46.08 66.56 7.68 20.48 0 40.96-20.48 51.2-20.48 7.68-40.96 0-51.2-20.48-5.12-15.36-15.36-28.16-28.16-38.4-23.04-20.48-51.2-33.28-81.92-33.28-64 0-117.76 51.2-117.76 115.2s53.76 115.2 117.76 115.2c51.2 0 94.72-30.72 112.64-79.36 7.68-20.48 28.16-30.72 48.64-23.04s30.72 28.16 23.04 48.64c-25.6 76.8-99.84 128-184.32 128zm-619.52 0c-92.16 0-174.08-66.56-189.44-156.16-5.12-20.48 10.24-40.96 30.72-43.52 20.48-5.12 40.96 7.68 46.08 28.16 10.24 56.32 58.88 94.72 112.64 94.72 64 0 117.76-51.2 117.76-115.2s-51.2-115.2-117.76-115.2c-48.64 0-89.6 28.16-107.52 71.68-7.68 20.48-30.72 30.72-48.64 23.04-20.48-7.68-28.16-30.72-20.48-48.64 28.16-74.24 99.84-120.32 179.2-120.32 107.52 0 194.56 87.04 194.56 192s-89.6 189.44-197.12 189.44z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Nv=(0,l.defineComponent)({__name:"Jimi40",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ef,14,Qd))}}),tf=["aria-labelledby"],lf=[(0,l.createElementVNode)("path",{d:"M998.4 245.029c-219.429 153.6-398.629 332.8-552.229 552.228-40.228 58.514-128 54.857-164.571-3.657-69.486-106.057-149.943-186.514-256-256-51.2-32.914-18.286-113.371 40.229-98.743C182.857 460.8 274.286 508.343 358.4 585.143c157.257-190.172 358.4-340.114 588.8-435.2 62.171-25.6 106.057 58.514 51.2 95.086",fill:"currentColor","fill-opacity":"0.9"},null,-1)],kv=(0,l.defineComponent)({__name:"Check",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,r=a,i=e=>{r("click",e)},o=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),u=(0,l.computed)(()=>{const e={};return e.height=o(n.height)??o(n.size),e.width=o(n.width)??o(n.size),e.color=n.color,e});return(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(u.value),onClick:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},lf,14,tf))}}),{componentName:nf,create:af}=ie("popup"),rf=af(yc(nf,{FoxOverLay:Hl,Close:Fo}));function of(t,a,n,r,i,o){const s=(0,l.resolveComponent)("FoxOverLay"),u=(0,l.resolveComponent)("Close");return(0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.teleport,disabled:t.teleportDisable},[t.overlay?((0,l.openBlock)(),(0,l.createBlock)(s,(0,l.mergeProps)({key:0,visible:t.visible,"close-on-click-overlay":t.closeOnClickOverlay,"z-index":t.zIndex,"lock-scroll":t.lockScroll,duration:t.duration,"overlay-class":t.overlayClass,"overlay-style":t.overlayStyle,onClick:t.onClickOverlay},t.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(l.Transition,{name:t.transitionName,onAfterEnter:t.onOpened,onAfterLeave:t.onClosed},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.popStyle),onClick:a[1]||(a[1]=(...e)=>t.onClick&&t.onClick(...e))},[t.showSlot?(0,l.renderSlot)(t.$slots,"default",{key:0}):(0,l.createCommentVNode)("",!0),t.closed?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:1,onClick:a[0]||(a[0]=(...e)=>t.onClickCloseIcon&&t.onClickCloseIcon(...e)),class:(0,l.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+t.closeIconPosition])},[(0,l.renderSlot)(t.$slots,"close-icon",{},()=>[(0,l.createVNode)(u)])],2)):(0,l.createCommentVNode)("",!0)],6),[[l.vShow,t.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var wt=Fe(rf,[["render",of]]),{create:sf,scope:uf}=ie("calendar-pane"),cf=sf({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:ue.getDay(0)},endDate:{type:String,default:ue.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(t,{emit:a,slots:n}){const{toLocaleRefs:r,t:i}=(0,Se.useFoxI18n)(uf),o=r(t,["title","confirmText","startText","endText","today"]),s=(0,l.computed)(()=>({height:"39px"})),u=(0,l.computed)(()=>({height:"64px"})),e=JSON.parse(i("weekdays")),c=(0,l.ref)([...e.slice(t.firstDayOfWeek,7),...e.slice(0,t.firstDayOfWeek)]),m=(0,l.ref)(null),f=(0,l.ref)(null),p=(0,l.ref)(null),b=(0,l.ref)(null),k=(0,l.ref)(0),v=(0,l.computed)(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),h=(0,l.computed)(()=>n.btn),$=(0,l.computed)(()=>n["top-info"]),g=(0,l.computed)(()=>n["bottom-info"]),d=(0,l.reactive)({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"fox-calendar__day",startData:"",endData:"",isRange:t.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),z=U=>U.split("-"),M=U=>ue.isEqual(d.currDate[0],U),_=U=>ue.isEqual(d.currDate[1],U),S=U=>d.currDate?.length>0?d.currDate?.some(T=>ue.isEqual(T,U)):!1,V=(U,T)=>T.curData[0]+"-"+T.curData[1]+"-"+ue.getNumTwoBit(+U.day),w=(U,T)=>{const A=V(U,T),{type:x}=t;return U.type=="curr"?ue.isEqual(d.currDate,A)||(x=="range"||x=="week")&&(M(A)||_(A))||x=="multiple"&&S(A)?`${d.dayPrefix}--active`:d.propStartDate&&ue.compareDate(A,d.propStartDate)||d.propEndDate&&ue.compareDate(d.propEndDate,A)?`${d.dayPrefix}--disabled`:(x=="range"||x=="week")&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&ue.compareDate(d.currDate[0],A)&&ue.compareDate(A,d.currDate[1])?`${d.dayPrefix}--choose`:null:`${d.dayPrefix}--disabled`},O=()=>{const{type:U}=t;if(U=="range"&&d.chooseData.length==2||U!="range"){let T=d.chooseData.slice(0);U=="week"&&(T={weekDate:[I(d.chooseData[0]),I(d.chooseData[1])]}),a("choose",T),t.poppable&&a("update")}},C=(U,T,A=!1)=>{if(w(U,T)!=`${d.dayPrefix}--disabled`){const{type:x}=t;let[W,D]=T.curData,y=[...T.curData];if(y[2]=ue.getNumTwoBit(Number(U.day)),y[3]=`${y[0]}-${y[1]}-${y[2]}`,y[4]=ue.getWhatDay(+y[0],+y[1],+y[2]),x=="multiple")if(d.currDate?.length>0){let R;d.currDate?.forEach((j,te)=>{j==y[3]&&(R=te)}),A?d.chooseData.push([...y]):R!==void 0?(d.currDate.splice(R,1),d.chooseData.splice(R,1)):(d.currDate.push(y[3]),d.chooseData.push([...y]))}else d.currDate=[y[3]],d.chooseData=[[...y]];else if(x=="range"){let R=Object.values(d.currDate).length;R==2||R==0?d.currDate=[y[3]]:ue.compareDate(d.currDate[0],y[3])?Array.isArray(d.currDate)&&d.currDate.push(y[3]):Array.isArray(d.currDate)&&d.currDate.unshift(y[3]),d.chooseData.length==2||!d.chooseData.length?d.chooseData=[[...y]]:ue.compareDate(d.chooseData[0][3],y[3])?d.chooseData=[...d.chooseData,[...y]]:d.chooseData=[[...y],...d.chooseData]}else if(x=="week"){let R=ue.getWeekDate(W,D,U.day,t.firstDayOfWeek);d.propStartDate&&ue.compareDate(R[0],d.propStartDate)&&R.splice(0,1,d.propStartDate),d.propEndDate&&ue.compareDate(d.propEndDate,R[1])&&R.splice(1,1,d.propEndDate),d.currDate=R,d.chooseData=[ue.formatResultDate(R[0]),ue.formatResultDate(R[1])]}else d.currDate=y[3],d.chooseData=[...y];if(!A){let R=d.chooseData;x=="week"&&(R={weekDate:[I(d.chooseData[0]),I(d.chooseData[1])]}),a("select",R),(t.isAutoBackFill||!t.poppable)&&O()}}},I=U=>{let[T,A,x]=U;return{date:U,monthWeekNum:ue.getMonthWeek(T,A,x,t.firstDayOfWeek),yearWeekNum:ue.getYearWeek(T,A,x,t.firstDayOfWeek)}},Z=U=>{const T=U=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let A=parseInt(T.curData[0]),x=parseInt(T.curData[1].toString().replace(/^0/,""));switch(U){case"prev":x==1&&(A-=1),x=x==1?12:--x;break;case"next":x==12&&(A+=1),x=x==12?1:++x;break}return[A+"",ue.getNumTwoBit(x),ue.getMonthDays(String(A),String(x))+""]},N=(U,T,A)=>{let{year:x,month:W}=A;return T=="prev"&&U>=7&&(U-=7),Array.from(Array(U),(D,y)=>({day:String(y+1),type:T,year:x,month:W}))},E=(U,T,A,x)=>{U=U-t.firstDayOfWeek;let{year:W,month:D}=A;return T=="prev"&&U>=7&&(U-=7),Array.from(Array(x),(y,R)=>({day:String(R+1),type:T,year:W,month:D})).slice(x-U)},L=(U,T)=>{const A=ue.getMonthPreDay(+U[0],+U[1]);let x=Number(U[1])-1,W=Number(U[0]);x<=0&&(x=12,W+=1);const D=ue.getMonthDays(String(U[0]),String(U[1])),y=ue.getMonthDays(W+"",x+""),R={year:U[0],month:U[1]},j={curData:U,title:i("monthTitle",{year:R.year,month:R.month}),monthData:[...E(A,"prev",{month:String(x),year:String(W)},y),...N(D,"curr",R)],cssHeight:0,cssScrollHeight:0};j.cssHeight=39+64*(j.monthData.length>35?6:5);let te=0;d.monthsData.length>0&&(te=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),j.cssScrollHeight=te,T=="next"?(!d.endData||!ue.compareDate(`${d.endData[0]}-${d.endData[1]}-${ue.getMonthDays(d.endData[0],d.endData[1])}`,`${U[0]}-${U[1]}-${U[2]}`))&&d.monthsData.push(j):!d.startData||!ue.compareDate(`${U[0]}-${U[1]}-${U[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(j):d.unLoadPrev=!0},q=()=>{let U=t.startDate?t.startDate:ue.getDay(0),T=t.endDate?t.endDate:ue.getDay(365);d.propStartDate=U,d.propEndDate=T,d.startData=z(U),d.endData=z(T),(t.defaultValue||Array.isArray(t.defaultValue)&&t.defaultValue.length>0)&&(d.currDate=t.type!=="one"?[...t.defaultValue]:t.defaultValue);const A={year:Number(d.startData[0]),month:Number(d.startData[1])},x={year:Number(d.endData[0]),month:Number(d.endData[1])};let W=x.month-A.month;x.year-A.year>0&&(W=W+12*(x.year-A.year)),W<=0&&(W=1),L(d.startData,"next");let D=1;do L(Z("next"),"next");while(D++<W);if(d.monthsNum=W,t.type=="range"&&Array.isArray(d.currDate))d.currDate.length>0&&(U&&ue.compareDate(d.currDate[0],U)&&d.currDate.splice(0,1,U),T&&ue.compareDate(T,d.currDate[1])&&d.currDate.splice(1,1,T),d.defaultData=[...z(d.currDate[0]),...z(d.currDate[1])]);else if(t.type=="multiple"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let y=[],R={};d.currDate.forEach(j=>{U&&!ue.compareDate(j,U)&&T&&!ue.compareDate(T,j)&&(Object.hasOwnProperty.call(R,j)||(y.push(j),R[j]=j))}),d.currDate=[...y],d.defaultData=[...z(y[0])]}}else if(t.type=="week"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let[y,R,j]=z(d.currDate[0]);d.currDate=ue.getWeekDate(y,R,j,t.firstDayOfWeek),U&&ue.compareDate(d.currDate[0],U)&&d.currDate.splice(0,1,U),T&&ue.compareDate(T,d.currDate[1])&&d.currDate.splice(1,1,T),d.defaultData=[...z(d.currDate[0]),...z(d.currDate[1])]}}else d.currDate&&(U&&ue.compareDate(d.currDate,U)?d.currDate=U:T&&!ue.compareDate(d.currDate,T)&&(d.currDate=T),d.defaultData=[...z(d.currDate)])};be({scrollToDate:U=>{ue.compareDate(U,d.propStartDate)?U=d.propStartDate:ue.compareDate(U,d.propEndDate)||(U=d.propEndDate);let T=z(U);d.monthsData.forEach((A,x)=>{if(A.title==i("monthTitle",{year:T[0],month:T[1]})&&m.value){let W=d.monthsData[x].cssScrollHeight-m.value.scrollTop;if(t.toDateAnimation){let D=0,y=setInterval(()=>{if(D++,m.value){let R=W/10;m.value.scrollTop=m.value.scrollTop+R}D>=10&&(clearInterval(y),m.value&&(m.value.scrollTop=d.monthsData[x].cssScrollHeight))},40)}else m.value.scrollTop=d.monthsData[x].cssScrollHeight}})},initPosition:()=>{m?.value&&(m.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)},doLayout:()=>{let U=0,T=0;d.defaultData.length>0&&d.monthsData.forEach((W,D)=>{W.title==i("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]})&&(U=D),(t.type=="range"||t.type=="week")&&W.title==i("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]})&&(T=D)}),ee(d.monthsNum,U),d.currentIndex=U,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.defaultData.length>0&&(d.isRange?(C({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),C({day:d.defaultData[5],type:"curr"},d.monthsData[T],!0)):t.type=="week"?C({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0):t.type=="multiple"?[...d.currDate].forEach(W=>{let D=z(W),y=d.currentIndex;d.monthsData.forEach((R,j)=>{R.title==i("monthTitle",{year:D[0],month:D[1]})&&(y=j)}),C({day:D[2],type:"curr"},d.monthsData[y],!0)}):C({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0));let A=d.monthsData[d.monthsData.length-1],x=A.cssHeight+A.cssScrollHeight;$n(()=>{m?.value&&f?.value&&b?.value&&(k.value=m.value.clientHeight,f.value.style.height=`${x}px`,m.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(x/(d.monthsNum+1))}});const ee=(U,T)=>{U>=3?T>0&&T<U?d.defaultRange=[T-1,T+3]:T==0?d.defaultRange=[T,T+4]:T==U&&(d.defaultRange=[T-2,T+2]):d.defaultRange=[0,U+2],d.translateY=d.monthsData[d.defaultRange[0]].cssScrollHeight},K=(U,T)=>(t.type=="range"||t.type=="week")&&U.type=="curr"&&w(U,T)=="fox-calendar__day--active",H=(U,T)=>K(U,T)&&M(V(U,T)),Y=(U,T)=>d.currDate.length>=2&&_(V(U,T))?K(U,T):!1,J=()=>{if(d.currDate.length>=2)return ue.isEqual(d.currDate[0],d.currDate[1])},P=U=>{const T=`${U.year}-${U.month}-${Number(U.day)<10?"0"+U.day:U.day}`;return ue.isEqual(T,ue.date2Str(new Date))},Q=U=>{if(d.monthsData.length<=1)return;const T=U.target.scrollTop;let A=Math.floor(T/d.avgHeight);if(A==0)T>=d.monthsData[A+1].cssScrollHeight&&(A+=1);else if(A>0&&A<d.monthsNum-1)T>=d.monthsData[A+1].cssScrollHeight&&(A+=1),T<d.monthsData[A].cssScrollHeight&&(A-=1);else{const x=Math.round(T+k.value);x<d.monthsData[A].cssScrollHeight+d.monthsData[A].cssHeight&&T>d.monthsData[A-1].cssScrollHeight&&(A-=1),A+1<=d.monthsNum&&x>=d.monthsData[A+1].cssScrollHeight+d.monthsData[A+1].cssHeight&&(A+=1),A>=1&&T<d.monthsData[A-1].cssScrollHeight&&(A-=1)}d.currentIndex!==A&&(d.currentIndex=A,ee(d.monthsNum,A)),d.yearMonthTitle=d.monthsData[A].title},le=()=>{d.chooseData.splice(0),d.monthsData.splice(0),q()};return q(),(0,l.watch)(()=>t.defaultValue,U=>{U&&t.poppable&&le()}),{dayTitleStyle:s,dayCellStyle:u,weeks:c,compConthsData:v,showTopBtn:h,topInfo:$,bottomInfo:g,rangeTip:J,mothsViewScroll:Q,getClass:w,isStartTip:H,isEndTip:Y,chooseDay:C,isCurrDay:P,confirm:O,months:m,...(0,l.toRefs)(d),...(0,l.toRefs)(t),...o,monthsPanel:f,weeksPanel:p,viewArea:b}}}),df={class:"fox-calendar__header"},ff={key:0,class:"fox-calendar__header-title"},mf={key:1,class:"fox-calendar__header-slot"},hf={key:2,class:"fox-calendar__header-subtitle"},pf={class:"fox-calendar__weekdays",ref:"weeksPanel"},gf={class:"fox-calendar__panel",ref:"monthsPanel"},vf={class:"fox-calendar__days"},yf=["onClick"],bf={class:"fox-calendar__day-value"},wf={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Sf={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},xf={key:2,class:"fox-calendar__day-tips--curr"},Cf={key:4,class:"fox-calendar__day-tip"},Nf={key:0,class:"fox-calendar__footer"};function kf(t,a,n,r,i,o){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(["fox-calendar",{"fox-calendar--nopop":!t.poppable,"fox-calendar--nofooter":t.isAutoBackFill}])},[(0,l.createElementVNode)("view",df,[t.showTitle?((0,l.openBlock)(),(0,l.createElementBlock)("view",ff,(0,l.toDisplayString)(t.title),1)):(0,l.createCommentVNode)("",!0),t.showTopBtn?((0,l.openBlock)(),(0,l.createElementBlock)("view",mf,[(0,l.renderSlot)(t.$slots,"btn")])):(0,l.createCommentVNode)("",!0),t.showSubTitle?((0,l.openBlock)(),(0,l.createElementBlock)("view",hf,(0,l.toDisplayString)(t.yearMonthTitle),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",pf,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.weeks,(s,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{class:"fox-calendar__weekday",key:u},(0,l.toDisplayString)(s),1))),128))],512)]),(0,l.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:a[0]||(a[0]=(...s)=>t.mothsViewScroll&&t.mothsViewScroll(...s))},[(0,l.createElementVNode)("view",gf,[(0,l.createElementVNode)("view",{class:"fox-calendar__body",ref:"viewArea",style:(0,l.normalizeStyle)({transform:`translateY(${t.translateY}px)`})},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.compConthsData,(s,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{class:"fox-calendar__month",key:u},[(0,l.createElementVNode)("view",{class:"fox-calendar__month-title",style:(0,l.normalizeStyle)(t.dayTitleStyle)},(0,l.toDisplayString)(s.title),5),(0,l.createElementVNode)("view",vf,[(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(["fox-calendar__days-item",t.type==="range"?"fox-calendar__days-item--range":""])},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(s.monthData,(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:c,class:(0,l.normalizeClass)(["fox-calendar__day",t.getClass(e,s)]),style:(0,l.normalizeStyle)(t.dayCellStyle),onClick:m=>t.chooseDay(e,s)},[(0,l.createElementVNode)("view",bf,[(0,l.renderSlot)(t.$slots,"day",{date:e.type=="curr"?e:""},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.type=="curr"?e.day:""),1)])]),t.topInfo?((0,l.openBlock)(),(0,l.createElementBlock)("view",wf,[(0,l.renderSlot)(t.$slots,"top-info",{date:e.type=="curr"?e:""})])):(0,l.createCommentVNode)("",!0),t.bottomInfo?((0,l.openBlock)(),(0,l.createElementBlock)("view",Sf,[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.type=="curr"?e:""})])):(0,l.createCommentVNode)("",!0),!t.bottomInfo&&t.showToday&&t.isCurrDay(e)?((0,l.openBlock)(),(0,l.createElementBlock)("view",xf,(0,l.toDisplayString)(t.today),1)):(0,l.createCommentVNode)("",!0),t.isStartTip(e,s)?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:3,class:(0,l.normalizeClass)(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":t.rangeTip()}])},(0,l.toDisplayString)(t.startText),3)):(0,l.createCommentVNode)("",!0),t.isEndTip(e,s)?((0,l.openBlock)(),(0,l.createElementBlock)("view",Cf,(0,l.toDisplayString)(t.endText),1)):(0,l.createCommentVNode)("",!0)],14,yf))),128))],2)])]))),128))],4)],512)],544),t.poppable&&!t.isAutoBackFill?((0,l.openBlock)(),(0,l.createElementBlock)("view",Nf,[(0,l.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:a[1]||(a[1]=(...s)=>t.confirm&&t.confirm(...s))},(0,l.toDisplayString)(t.confirmText),1)])):(0,l.createCommentVNode)("",!0)],2)}var zf=Fe(cf,[["render",kf]]),{create:Ef}=ie("calendar-picker"),Tf=Ef({components:{CalendarPane:zf,Popup:wt},props:{...ea},emits:["choose","close","update:visible","select"],setup(t,{emit:a,slots:n}){const r=(0,l.computed)(()=>n.btn),i=(0,l.computed)(()=>n["top-info"]),o=(0,l.computed)(()=>n.day),s=(0,l.computed)(()=>n["bottom-info"]),u=(0,l.ref)(null),e=h=>{u.value?.scrollToDate(h)},c=()=>{u.value?.initPosition()},m=(0,l.computed)(()=>{const h=["fox-calendar__popup"];return t.popClass&&h.push(t.popClass),h});(0,l.watch)(()=>t.visible,h=>{h&&(0,l.nextTick)(()=>{u.value?u.value.doLayout():setTimeout(()=>{u.value&&u.value.doLayout()},250)})}),be({scrollToDate:e,initPosition:c});const f=()=>{a("update:visible",!1)},p=()=>{a("close"),a("update:visible",!1)};return{popClasses:m,closePopup:()=>{p()},update:f,close:p,select:h=>{a("select",h)},choose:h=>{p(),a("choose",h)},calendarRef:u,showTopBtn:r,topInfo:i,dayInfo:o,bottomInfo:s}}});function _f(t,a,n,r,i,o){const s=(0,l.resolveComponent)("CalendarPane"),u=(0,l.resolveComponent)("Popup");return t.poppable?((0,l.openBlock)(),(0,l.createBlock)(u,(0,l.mergeProps)({key:0,visible:t.visible,position:"bottom",round:"",closeable:""},t.$attrs,{onClickOverlay:t.closePopup,onClickCloseIcon:t.closePopup,"pop-class":t.popClasses,style:t.popStyle}),{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{ref:"calendarRef",type:t.type,"is-auto-back-fill":t.isAutoBackFill,poppable:t.poppable,title:t.title,"default-value":t.defaultValue,"start-date":t.startDate,"end-date":t.endDate,onUpdate:t.update,onClose:t.close,onChoose:t.choose,onSelect:t.select,"confirm-text":t.confirmText,"start-text":t.startText,"end-text":t.endText,"show-today":t.showToday,"show-title":t.showTitle,"show-sub-title":t.showSubTitle,"to-date-animation":t.toDateAnimation,"first-day-of-week":t.firstDayOfWeek},(0,l.createSlots)({_:2},[t.showTopBtn?{name:"btn",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"btn")]),key:"0"}:void 0,t.dayInfo?{name:"day",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"day",{date:e.date})]),key:"1"}:void 0,t.topInfo?{name:"top-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"top-info",{date:e.date})]),key:"2"}:void 0,t.bottomInfo?{name:"bottom-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon","pop-class","style"])):((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,type:t.type,"is-auto-back-fill":t.isAutoBackFill,poppable:t.poppable,title:t.title,ref:"calendarRef","confirm-text":t.confirmText,"start-text":t.startText,"end-text":t.endText,"default-value":t.defaultValue,"start-date":t.startDate,"end-date":t.endDate,onUpdate:t.update,onClose:t.close,onChoose:t.choose,onSelect:t.select,"show-title":t.showTitle,"show-sub-title":t.showSubTitle,"to-date-animation":t.toDateAnimation,"show-today":t.showToday,"first-day-of-week":t.firstDayOfWeek},(0,l.createSlots)({_:2},[t.showTopBtn?{name:"btn",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"btn")]),key:"0"}:void 0,t.dayInfo?{name:"day",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"day",{date:e.date})]),key:"1"}:void 0,t.topInfo?{name:"top-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"top-info",{date:e.date})]),key:"2"}:void 0,t.bottomInfo?{name:"bottom-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}var ql=Fe(Tf,[["render",_f]]),an=(t,a)=>{let n;return ft(t)?n=t:typeof t=="string"&&Je(t)>0?n=ue.parser(t,a):n=new Date,n},St=(t,a,n)=>(ft(a)||(a=new Date),ue.format(a,n)),xt=t=>[`${t.getFullYear()}`,`${t.getMonth()+1}`,`${t.getDate()}`,ue.date2Str(t),ue.getWhatDay(t.getFullYear(),t.getMonth()+1,t.getDate())],tr={...ea,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:String,default:"-"},valueFormat:{type:String,default:"YYYY-MM-DD"},format:{type:String,default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:String},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function $f(t,a,n){return{props:{...Ce,...ze,...tr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]);let p=ge(r,"hintText"),b=(0,l.ref)(!1);const k=(0,l.ref)(!1),v=(0,l.computed)(()=>r.type==="range"),h=(0,l.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),$=()=>{h.startDate!==null&&(h.startDate=null,h.endDate=null,h.startArray=[],h.endArray=[])},g=(X,F="one",ee="YYYY-MM-DD")=>{if(vc(X)){$();return}if(v.value&&Array.isArray(X)&&X.length==2){let K,H;typeof X[0]=="string"?(K=an(X[0],ee),H=an(X[1],ee)):(K=X[0],H=X[1]);let Y=xt(K),J=xt(H);(h.startDate===null||h.startDate.getTime()!==K.getTime()||h.endDate?.getTime()!==H.getTime())&&(h.startDate=K,h.startArray=Y,h.endDate=H,h.endArray=J)}else{let K;typeof X=="string"?K=an(X,ee):K=X;let H=xt(K);(h.startDate===null||h.startDate.getTime()!==K.getTime())&&(h.startDate=K,h.startArray=H)}};g(r.modelValue,r.type,r.valueFormat),(0,l.watch)(()=>r.modelValue,X=>{g(X,r.type,r.valueFormat),c("setValue",X)});const d=(0,l.computed)(()=>{if(h.startDate===null)return"";if(v.value){let X=St(r,h.startDate,r.format),F=St(r,h.endDate,r.format);return`${X} ${r.rangeSeparator} ${F}`}else{let X=St(r,h.startDate,r.format);return r.showWeek&&(X=`${X} ${h.startArray[4]}`),X}}),z=(0,l.computed)(()=>h.startDate===null?null:v.value?[ue.date2Str(h.startDate),ue.date2Str(h.endDate??new Date)]:ue.date2Str(h.startDate)),M="fox-input-item",_=(0,l.computed)(()=>({[M]:!0,[`${M}__disabled`]:s.value})),S=De((0,l.computed)(()=>r.textAlign),"textAlign"),V=(0,l.computed)(()=>({textAlign:S.value??"right"})),w=(0,l.ref)(!1),O=()=>{e.value||s.value||(w.value=!0)},C=()=>{w.value=!1},I=X=>{w.value=X},Z=X=>{if(X){if(v.value&&Array.isArray(X)){let F=X[0],ee=ve(F[0]),K=ve(F[1]),H=ve(F[2]),Y=new Date(ee,K-1,H),J=X[1];ee=ve(J[0]),K=ve(J[1]),H=ve(J[2]);let P=new Date(ee,K-1,H);h.startDate=Y,h.startArray=xt(Y),h.endDate=P,h.endArray=xt(P),r.valueFormat?c("update:modelValue",[St(r,Y,r.valueFormat),St(r,P,r.valueFormat)],{}):c("update:modelValue",[Y,P],{})}else{let F=X,ee=ve(F[0]),K=ve(F[1]),H=ve(F[2]),Y=new Date(ee,K-1,H);h.startDate=Y,h.startArray=xt(Y),r.valueFormat?c("update:modelValue",St(r,Y,r.valueFormat),{}):c("update:modelValue",Y,{})}c("change",X,{})}},N=X=>{let F=X.target.value;k.value=!0,c("focus",F,X)},E=X=>{setTimeout(()=>{k.value=!1},0);let F=X.target.value;r.maxLength&&F.length>Number(r.maxLength)&&(F=F.slice(0,Number(r.maxLength))),c("blur",F,X)},L=(0,l.computed)(()=>Je(r.unit)>0),q=X=>{$(),c("update:modelValue",null,X),c("change","",X),c("clear","")},G=(0,l.ref)();return be({showPicker:O,hidePicker:C,focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},select:()=>{G?.value.select()},setDisabled:X=>{o.value=X},setReadonly:X=>{u.value=X}}),()=>{const X={class:_.value,style:V.value,type:"text",maxlength:r.maxLength,placeholder:f.placeholder.value,readonly:!0,clearable:r.clearable,value:d.value,onClick:O,onFocus:N,onBlur:E,onClear:q},F={};i.slots.prepend&&(F.prepend=i.slots.prepend),i.slots.append&&(F.append=i.slots.append),i.slots.prefix?F.prefix=i.slots.prefix:F.prefix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)($e.Calendar)}),i.slots.suffix?F.suffix=i.slots.suffix:L.value&&(F.suffix=()=>[r.unit]);const ee=[],K=(0,l.h)(B.ElInput,X,F);ee.push(K);const H={default:()=>ee};H.label=i.slots.default,H.fixedPreTip=i.slots.fixedPreTip,H.fixedTip=i.slots.fixedTip;const Y=lt(r,ea);Y.visible=w.value,Y["onUpdate:visible"]=I,Y["default-value"]=z.value,Y.onChoose=Z;const J={};if(i.slots.btn){const le=i.slots.btn();J.btn=()=>le}i.slots.day&&(J.day=i.slots.day),i.slots.topInfo&&(J.topInfo=i.slots.topInfo),i.slots.bottomInfo&&(J.bottomInfo=i.slots.bottomInfo);const P=(0,l.h)(ql,Y,J);H.hide=()=>[P];const Q={...Me(r,tr),hintText:p.value,hintVisible:b.value};return r.prop&&(Q.prop=`${r.prop}_item`),(0,l.h)(n,Q,H)}}}}var{componentName:Vf,create:Bf,scope:Df}=ie("calendar-item"),Mf=Bf($f(Vf,Df,ke)),la=Mf,lr={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function If(t,a,n){return{props:{...Ce,...ze,...lr},emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=t,v=(0,l.computed)(()=>({[k]:!0})),h=V=>{b.value=V,c("update:modelValue",V),c("change",V)};let $=ge(r,"hintText"),g=(0,l.ref)(!1);const d=V=>{let w=V.target.value;p.value=!0,fe($.value)||(g.value=!0),c("focus",w,V)},z=V=>{setTimeout(()=>{g.value&&(g.value=!1),p.value=!1},0);let w=V.target.value;r.maxLength&&w.length>Number(r.maxLength)&&(w=w.slice(0,Number(r.maxLength))),c("blur",w,V)},M=()=>{c("clear","")},_=V=>{c("visible-change",V)},S=(0,l.ref)();return be({focus:()=>{S?.value.focus()},blur:()=>{S?.value.blur()},handleOpen:()=>{S?.value.handleOpen()},handleClose:()=>{S?.value.handleClose()},setDisabled:V=>{o.value=V},setReadonly:V=>{u.value=V}}),()=>{const V={...i.attrs,ref:S,class:v.value,placeholder:f.placeholder.value,disabled:s.value,readonly:e.value,modelValue:b.value,"onUpdate:modelValue":h,onClear:M,onFocus:d,onBlur:z,onVisibleChange:_},w={},O=[],C=(0,l.h)(B.ElTimePicker,V,w);O.push(C);const I={default:()=>O};I.label=i.slots.default,I.fixedPreTip=i.slots.fixedPreTip,I.fixedTip=i.slots.fixedTip;const Z={...Me(r,lr),hintText:$.value,hintVisible:g.value};return r.prop&&(Z.prop=`${r.prop}_item`),(0,l.h)(n,Z,I)}}}}var{componentName:Af,create:Lf,scope:Pf}=ie("time-item"),Ff=Lf(If(Af,Pf,ke)),na=Ff,nr={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Rf(t,a,n){return{props:{...Ce,...ze,...nr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=t,v=(0,l.computed)(()=>({[k]:!0})),h=S=>{b.value=S,c("update:modelValue",S),c("change",S)};let $=ge(r,"hintText"),g=(0,l.ref)(!1);const d=S=>{let V=S.target.value;p.value=!0,fe($.value)||(g.value=!0),c("focus",V,S)},z=S=>{setTimeout(()=>{g.value&&(g.value=!1),p.value=!1},0);let V=S.target.value;r.maxLength&&V.length>Number(r.maxLength)&&(V=V.slice(0,Number(r.maxLength))),c("blur",V,S)},M=()=>{c("clear","")},_=(0,l.ref)();return be({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},handleOpen:()=>{_?.value.handleOpen()},handleClose:()=>{_?.value.handleClose()},setDisabled:S=>{o.value=S},setReadonly:S=>{u.value=S}}),()=>{const S={...i.attrs,ref:_,class:v.value,placeholder:f.placeholder.value,disabled:s.value,readonly:e.value,modelValue:b.value,"onUpdate:modelValue":h,onClear:M,onFocus:d,onBlur:z},V={},w=[],O=(0,l.h)(B.ElTimeSelect,S,V);w.push(O);const C={default:()=>w};C.label=i.slots.default,C.fixedPreTip=i.slots.fixedPreTip,C.fixedTip=i.slots.fixedTip;const I={...Me(r,nr),hintText:$.value,hintVisible:g.value};return r.prop&&(I.prop=`${r.prop}_item`),(0,l.h)(n,I,C)}}}}var{componentName:Of,create:Hf,scope:qf}=ie("time-select-item"),jf=Hf(Rf(Of,qf,ke)),aa=jf;function ar(t,a=0){let n=`${t}`,r=n.indexOf(".");if(r==-1)return n;let i=r;for(let o=n.length-1;o>=r;o--)if(n.charAt(o)!="0"){i=o;break}return i-r<a?i=r+a+1:i!=r&&(i+=1),i>n.length?n=n.padEnd(i,"0"):n=n.substring(0,i),n}function rr(t,a,n=20){return typeof a=="string"&&(a=ve(a)),a==1||a==-1?`${t}`:a==0?"0":a>0?ar(Jr(`${t}`,`${a}`)):ar(Bn(`${t}`,Qr(`${a}`),20))}function Kf(t,a=-1,n=!1,r=3,i=","){return Sl(t,a,n,r,i)}function or(t,a,n,r,i=!0){if(t==="")return"";if(t=eo(t),a=ve(a),a==1)return t;if(r)t=rr(t,a),n&&(t=="0"&&i?t=`${t}.`.padEnd(ve(n)+2,"0"):t=Bn(t,1,ve(n)));else{let o=-1*a;t=rr(t,o)}return t}function ir(t,a){let n={maxValid:!0,minValid:!0,message:""};if(a.min!==void 0){let r=de(a.minInclude),i=gn(t,a.min);(r&&i==-1||!r&&(i==0||i==-1))&&(n.message="请输入不小于 {0} 的数值".replace("{0}",a.min),n.minValid=!1)}if(a.max!=null){let r=de(a.maxInclude),i=gn(t,a.max);(r&&i==1||!r&&(i==0||i==1))&&(n.maxValid=!1)}return n}var sr={modelValue:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Yf(t,a,n){return{props:{...Ce,...ze,...sr},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),m=(0,l.ref)(!1),f=ge(r,"modelValue",null,c),p=(0,l.ref)("");(0,l.watch)([()=>f.value,()=>r.rates,()=>r.precision],([E,L,q])=>{if(fe(E)){p.value="";return}const G=or(E,L,q,!1);p.value!==G&&(p.value=G)},{immediate:!0});const b=(0,l.computed)(()=>{let E="";return m.value&&(E=p.value),E}),{t:k}=(0,Se.useFoxI18n)(a),v=(0,l.computed)(()=>{let E=r.placeholder??"";return!m.value&&!fe(p.value)?E=Kf(p.value,r.decimalLength,r.autoPadding,r.digits,r.separator):E=k(["placeholder",E]),E}),h=t,$=(0,l.computed)(()=>({[h]:!0,[`${h}__disabled`]:s.value,[`${h}__placeholder`]:p.value.length>0})),g=De((0,l.computed)(()=>r.textAlign),"textAlign");(0,l.computed)(()=>m.value?{textAlign:"left"}:{textAlign:g.value??"right"});const d=(0,l.ref)(""),z=(0,l.computed)(()=>{let E=d.value;return fe(E)&&(E=r.errorTip??""),E}),M=(0,l.ref)(""),_=(0,l.ref)(!1),S=(E,L)=>{if(E=`${E}`,fe(E)){p.value="",f.value="",L.forEach(q=>{c(q,"")}),de(r.showTip)&&_.value&&(_.value=!1);return}if(E.length>=2){let q=E;if(q.charAt(0)=="-"&&(q=q.substring(1)),q.length>=2&&q.charAt(0)=="0"&&q.charAt(1)!="."){(0,l.triggerRef)(p);return}}if(E!="-"){if(!In(E)){(0,l.triggerRef)(p);return}if(r.integerLength!=-1&&so(E)>Number(r.integerLength)){(0,l.triggerRef)(p);return}if(r.decimalLength&&r.decimalLength!=-1&&uo(E)>Number(r.decimalLength)){(0,l.triggerRef)(p);return}let q=ir(E,r);if(q.maxValid===!1){d.value=q.message,(0,l.triggerRef)(p);return}}else if(r.min!=null&&ve(r.min)>=0){(0,l.triggerRef)(p);return}M.value=E,de(r.showTip)&&(_.value=E.length>0),p.value=E,f.value=or(E,r.rates,r.precision,!0),L.forEach(q=>{c(q,f.value)})},V=E=>{S(E,["update:modelValue","input"])},w=E=>{S(E,["update:modelValue","change"])},O=E=>{if(m.value=!0,de(r.showTip)){let L=p.value;fe(L)&&(L=r.hintText),fe(L)||(M.value=L,_.value=!0)}d.value="",c("focus",f.value,E)},C=E=>{if(setTimeout(()=>{m.value=!1,de(r.showTip)&&_.value===!0&&(_.value=!1)},0),!fe(p.value)){let L=ir(p.value,r);if(L.minValid===!1||L.maxValid===!1){d.value=L.message;return}}c("update:modelValue",f.value,E),c("blur",f.value,E)},I=()=>{c("clear","")},Z=(0,l.computed)(()=>Je(r.unit)>0),N=(0,l.ref)();return be({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},select:()=>{N?.value.select()},setDisabled:E=>{o.value=E},setReadonly:E=>{u.value=E}}),()=>{const E={...Qe(i.attrs),ref:N,class:$.value,type:"digit",maxlength:r.maxLength,placeholder:v.value,clearable:r.clearable,disabled:s.value,readonly:e.value,modelValue:b.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:I,onInput:V,onChange:w,onFocus:O,onBlur:C},L={};i.slots.prepend&&(L.prepend=i.slots.prepend),i.slots.append&&(L.append=i.slots.append),i.slots.prefix&&(L.prefix=i.slots.prefix),i.slots.suffix?L.suffix=i.slots.suffix:Z.value&&(L.suffix=()=>[r.unit]);const q=[],G=(0,l.h)(B.ElInput,E,L);q.push(G);const X={default:()=>q};X.label=i.slots.default,X.fixedPreTip=i.slots.fixedPreTip,X.fixedTip=i.slots.fixedTip;const F={...Me(r,sr),errorTip:z.value,hintText:M.value,hintVisible:_.value,hintType:"number"};return r.prop&&(F.prop=`${r.prop}_item`),(0,l.h)(n,F,X)}}}}var{componentName:Wf,create:Uf,scope:Gf}=ie("money-item"),Xf=Uf(Yf(Wf,Gf,ke)),ra=Xf,ur={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Zf(t,a,n){return{props:{...Ce,...ze,...ur},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=t,v=(0,l.computed)(()=>({[k]:!0,[`${k}__append`]:V.value})),h=(0,l.computed)(()=>({[`${k}__unit`]:!0})),$=O=>{b.value=O,c("update:modelValue",O),c("input",O)},g=O=>{c("change",O)};let d=ge(r,"hintText"),z=(0,l.ref)(!1);const M=O=>{let C=O.target.value;p.value=!0,fe(d.value)||(z.value=!0),c("focus",C,O)},_=O=>{setTimeout(()=>{z.value&&(z.value=!1),p.value=!1},0);let C=O.target.value;r.maxLength&&C.length>Number(r.maxLength)&&(C=C.slice(0,Number(r.maxLength))),c("blur",C,O)},S=()=>{c("clear","")},V=(0,l.computed)(()=>Je(r.unit)>0),w=(0,l.ref)();return be({focus:()=>{w?.value.focus()},blur:()=>{w?.value.blur()},setDisabled:O=>{o.value=O},setReadonly:O=>{u.value=O}}),()=>{const O={...Qe(i.attrs),ref:w,class:v.value,placeholder:f.placeholder.value,clearable:r.clearable,disabled:s.value,readonly:e.value,modelValue:b.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:S,onChange:g,onInput:$,onFocus:M,onBlur:_},C={},I=[],Z=(0,l.h)(B.ElInputNumber,O,C);I.push(Z);const N={default:()=>I};N.label=i.slots.default,N.fixedPreTip=i.slots.fixedPreTip,N.fixedTip=i.slots.fixedTip;const E={...Me(r,ur),hintText:d.value,hintVisible:z.value};if(r.prop&&(E.prop=`${r.prop}_item`),i.slots.append)N.append=i.slots.append;else if(V.value){const L=(0,l.h)("div",{class:h.value},[r.unit]);N.append=()=>L}return(0,l.h)(n,E,N)}}}}var{componentName:Jf,create:Qf,scope:e5}=ie("input-number-item"),t5=Qf(Zf(Jf,e5,ke)),oa=t5;function ot(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function yt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function l5(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]||null:a.children??null}var n5=class{proxy;constructor(t){this.proxy=t}async load(t,a,n,r){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,r);const i=Pe(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n,r))}};function a5(){return new n5((0,l.getCurrentInstance)().proxy)}function kn(t,a,n){return!(ot(t,a)!==ot(t,n)||yt(t,a)!==yt(t,n))}function Oo(t,a,n,r){if(r.length==0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const i=[];let o=r;for(let s=0;Array.isArray(o)&&s<a.length;s++){const u=a[s];if(Array.isArray(u)){const e=Oo(t,u,n,r);i.push(e)}else{let e=!1;for(let c of o){if(n==="text")e=ot(t,c)===u;else if(n==="item")e=kn(t,c,u);else{let m=yt(t,c);m==null&&(m=ot(t,c)),e=m===u}if(e){i.push(c),o=l5(t,c);break}}if(!e)break}}return i}function r5(t){return{text:t,value:t}}var cr={modelValue:{type:[Array,String],required:!1},pathNodes:{type:[Array],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},props:{type:[Object],required:!1},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},appearLoad:{type:[Boolean],default:!1},lazy:{type:[Boolean],default:!1},lazyLoad:{type:[Function]},leafKey:{type:[String],default:"leaf"},showTooltip:{type:Boolean,default:!1},separator:{type:[String],default:" / "},placeholder:{type:[String],required:!1}};function o5(t,a,n){return{props:{...Ce,...ze,...cr},emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(null),b=(0,l.ref)([]),k=(0,l.computed)(()=>b.value?b.value.map(T=>Array.isArray(T)?T.map(A=>ot(r,A)).join(" "):ot(r,T)).join(" "):""),v=(T,A,x,W=!0)=>{if(r.props&&r.props.lazy===!0||r.lazy===!0){if(p.value===T)return;p.value=T;const j=(0,l.toRaw)(T);if(W){const te=U?.value.getCheckedNodes();if(te)if(r.multiple){const ae=[];te.forEach(oe=>{const he=(oe.pathNodes??[]).map(xe=>xe.data);ae.push(he)}),c("update:pathNodes",ae)}else c("update:pathNodes",(te[0]?.pathNodes??[]).map(ae=>ae.data));c("update:modelValue",j),c("change",j)}return}const D=Oo(r,T,A,x);if(D===null){if(b.value.length===0||b.value===null)return;b.value=[],p.value=null,W&&(c("update:pathNodes",[]),c("update:modelValue",null),c("change",null));return}const y=D[D.length-1];if(I.value.checkStrictly!==!0&&y&&!Array.isArray(y)&&Array.isArray(y.children)&&y.children.length>0){const j=[];D.forEach(te=>{const ae=`${ot(r,te)}`;j.push(ae)}),j.length>0&&(O.value=j.join(r.separator))}else O.value=null;let R=!0;if(D.length!==b.value.length)R=!1;else for(let j=0;j<D.length;j++){const te=D[j],ae=b.value[j];if(Array.isArray(te)){if(!Array.isArray(ae)||te.length!==ae.length)R=!1;else for(let oe=0;oe<te.length;oe++)if(!kn(r,te[oe],ae[oe])){R=!1;break}}else kn(r,te,ae)||(R=!1);if(!R)break}if(!R){b.value=D;let j=[],te=[];D.forEach(oe=>{if(Array.isArray(oe)){let he=[],xe=[];for(let Te of oe)he.push(yt(r,Te)),r.valueType==="text"?xe.push(ot(r,Te)):r.valueType==="item"?xe.push(Te):xe.push(yt(r,Te));j.push(he),te.push(xe)}else j.push(yt(r,oe)),r.valueType==="text"?te.push(ot(r,oe)):r.valueType==="item"?te.push(oe):te.push(yt(r,oe))}),p.value=j;const ae=(0,l.toRaw)(te);W&&(c("update:pathNodes",D),c("update:modelValue",ae),c("change",ae))}},h=(0,l.ref)([]),$=De((0,l.computed)(()=>r.appearLoad),"appearLoad",qe.Near,T=>de(T)),g=a5(),d=async(T,A)=>{if(T){const x=await g.load("cascader",T,A);x.length>0&&(typeof x[0]=="string"?h.value=x.map(W=>r5(W)):h.value=x)}};(0,l.watch)([()=>r.source,()=>r.params],async([T,A])=>{d(T,A)},{immediate:!($.value||r.lazy)});let z=!1;const M=()=>{z||(z=!0,d(r.source,r.params))};(0,l.watch)([()=>h.value,()=>r.modelValue],([T,A])=>{v(A,r.valueType,T,!1),c("setValue",A)}),r.lazy&&v(r.modelValue,"value",[],!1);let _=null,S=(0,l.ref)(!1);typeof r.remoteMethod=="function"&&(_=async T=>{if(T!=null){S.value=!0;try{h.value=await r.remoteMethod(T)}catch(A){console.error(A)}S.value=!1}});const V=(0,l.ref)(!1),w=t,O=(0,l.ref)(null),C=(0,l.computed)(()=>({[w]:!0,"is-incomplete":O.value&&O.value.length>0})),I=(0,l.computed)(()=>{let T={label:r.textKey,value:r.valueKey,children:r.childrenKey};return r.multiple===!0&&(T.multiple=!0),r.props&&Object.assign(T,r.props),r.lazy&&(T.lazy=!0,typeof r.lazyLoad=="function"?T.lazyLoad=r.lazyLoad:T.lazyLoad=async(A,x)=>{let W={};r.params&&Object.assign(W,r.params),A&&Object.assign(W,A);const D=await g.load("cascader",r.source,W,!0);if(A?.config?.checkStrictly!==!0&&Array.isArray(p.value)&&p.value.length===A.level){const y=A.pathLabels??[];let R=[];y.forEach(j=>{j&&R.push(j)}),R.length>0&&(O.value=R.join(r.separator))}else O.value=null;x(D)}),T}),Z=T=>{r.allowCreate?(c("update:modelValue",T),c("change",T),p.value=T):v(T,"value",h.value,!0)};let N=ge(r,"hintText"),E=(0,l.ref)(!1);const L=T=>{let A=T.target.value;V.value=!0,fe(N.value)||(E.value=!0),c("focus",A,T)},q=T=>{setTimeout(()=>{E.value&&(E.value=!1),V.value=!1},0);let A=T.target.value;r.maxLength&&A.length>Number(r.maxLength)&&(A=A.slice(0,Number(r.maxLength))),J.value||c("blur",A,T)},G=()=>{c("clear","")},X=(0,l.ref)(!1);let F=null;const ee=()=>{r.showTooltip&&X.value===!1&&(F&&clearTimeout(F),F=setTimeout(()=>{X.value=!0},150))},K=()=>{F&&(clearTimeout(F),X.value=!1,F=null)},H=(0,l.computed)(()=>X.value||E.value),Y=(0,l.computed)(()=>X.value?k.value:N.value),J=(0,l.ref)(!1),P=T=>{J.value=T,c("visible-change",T),T||c("selected")},Q=T=>{c("remove-tag",T)},le=T=>{c("expand-change",T)},U=(0,l.ref)();return be({focus:()=>{U?.value.focus()},blur:()=>{U?.value.blur()},getCheckedNodes:()=>U?.value.getCheckedNodes(),setDisabled:T=>{o.value=T},setReadonly:T=>{u.value=T}}),()=>{const T={...i.attrs,ref:U,class:C.value,props:I.value,clearable:r.clearable,placeholder:O.value||f.placeholder.value,disabled:s.value||e.value,options:h.value,modelValue:p.value,separator:r.separator,onClear:G,onChange:Z,onFocus:L,onBlur:q,onVisibleChange:P,onRemoveTag:Q,expandChange:le};typeof _=="function"&&(T["remote-method"]=_,T.loading=S.value);const A={};i.slots.option&&(A.default=i.slots.option),i.slots.empty&&(A.empty=i.slots.empty);const x=[],W=(0,l.h)(B.ElCascader,T,A);x.push(W);const D={default:()=>x};D.label=i.slots.default,D.fixedPreTip=i.slots.fixedPreTip,D.fixedTip=i.slots.fixedTip;const y={...Me(r,cr),hintText:Y.value,hintVisible:H.value,onMouseover:ee,onMouseleave:K};return r.prop&&(y.prop=`${r.prop}_item`),$.value&&!r.lazy&&(y["appear-listen"]=!0,y.onAppear=M),(0,l.h)(n,y,D)}}}}var{componentName:i5,create:s5,scope:u5}=ie("cascader-item"),c5=s5(o5(i5,u5,ke)),ia=c5,dr={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function d5(t,a,n){return{props:{...Ce,...ze,...dr},emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=ge(r,"modelValue",null,c),k=t,v=(0,l.computed)(()=>({[k]:!0})),h=w=>{b.value=w,c("update:modelValue",w),c("input",w)},$=w=>{c("change",w)},g=w=>{c("select",w)};let d=ge(r,"hintText"),z=(0,l.ref)(!1);const M=w=>{let O=w.target.value;p.value=!0,fe(d.value)||(z.value=!0),c("focus",O,w)},_=w=>{setTimeout(()=>{z.value&&(z.value=!1),p.value=!1},0);let O=w.target.value;r.maxLength&&O.length>Number(r.maxLength)&&(O=O.slice(0,Number(r.maxLength))),c("blur",O,w)},S=()=>{c("clear","")},V=(0,l.ref)();return be({focus:()=>{V?.value.focus()},blur:()=>{V?.value.blur()},select:()=>{V?.value.select()},setDisabled:w=>{o.value=w},setReadonly:w=>{u.value=w}}),()=>{const w={...i.attrs,ref:V,class:v.value,placeholder:f.placeholder.value,clearable:r.clearable,disabled:s.value,readonly:e.value,modelValue:b.value,onClear:S,onChange:$,onInput:h,onFocus:M,onBlur:_,onSelect:g},O={};i.slots.prepend&&(O.prepend=i.slots.prepend),i.slots.append&&(O.append=i.slots.append),i.slots.prefix&&(O.prefix=i.slots.prefix),i.slots.suffix&&(O.suffix=i.slots.suffix),i.slots.option&&(O.default=i.slots.option);const C=[],I=(0,l.h)(B.ElAutocomplete,w,O);C.push(I);const Z={default:()=>C};Z.label=i.slots.default,Z.fixedPreTip=i.slots.fixedPreTip,Z.fixedTip=i.slots.fixedTip;const N={...Me(r,dr),hintText:d.value,hintVisible:z.value};return r.prop&&(N.prop=`${r.prop}_item`),(0,l.h)(n,N,Z)}}}}var{componentName:f5,create:m5,scope:h5}=ie("autocomplete-item"),p5=m5(d5(f5,h5,ke)),sa=p5;function g5(t,a,n,r,i){let o=[];Array.isArray(t)?o=t:o=[t];const s=[],u=a[0];if(Array.isArray(t)&&!Array.isArray(u)&&!u[i]){let e=a;for(let c=0;e&&c<o.length;c++){let m=o[c],f=e.find(p=>p[r]===m);if(!f)break;s.push(f[n])}return s}if(Array.isArray(u))for(let e=0;e<a.length&&e<o.length;e++){let c=a[e],m=o[e];const f=c.find(p=>p[r]===m);if(!f)break;s.push(f[n])}else{let e=a;for(let c=0;e&&c<o.length;c++){let m=o[c],f=e.find(p=>p[r]===m);if(!f)break;s.push(f[n]),e=f[i]}}return s}var v5=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n))}};function y5(){return new v5((0,l.getCurrentInstance)().proxy)}var Ho={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1}};function b5(t,a){return{props:{...Ho},setup(n,{attrs:r,slots:i}){const o=y5(),s=(0,l.ref)([]);(0,l.watch)([()=>n.source,()=>n.params],async([e,c])=>{s.value=await o.load(n.sourceType,e,c)},{immediate:!0});const u=(0,l.computed)(()=>{if(!Array.isArray(s.value)||s.value.length===0)return n.emptyText;let e=g5(n.modelValue,s.value,n.textKey,n.valueKey,n.childrenKey);return e.length==0?n.emptyText??"":e.length===1?n.optionType=="item"?`${n.modelValue}${n.separator}${e[0]}`:e[0]:e.join(n.separator)});return()=>{const e={...r};if(i.default)return i.default({text:u.value,value:n.modelValue});const c=n.tag??"span";return typeof c=="object"?(0,l.h)(c,e,{default:()=>u.value}):(0,l.h)(c,e,[u.value])}}}}var{componentName:w5,create:S5,scope:x5}=ie("mapping"),C5=S5(b5(w5,x5)),Yt=C5;function N5(t,a){let n=a.split("."),r=t;for(let i=0;i<n.length;i++){let o=n[i],s=0,u=o.indexOf("["),e=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&e!==-1;){let c=o.substring(u+1,e);if(/^\d+$/.test(c)){let m=parseInt(c);if(s==0){let f=o.substring(0,u);r=r[f][m]}else r=r[m];s++}u=o.indexOf("[",e),e=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function k5(t,a){return{props:{...Ho},setup(n,{attrs:r,slots:i}){return()=>{const o={default:s=>{const u=N5(s.row,s.column.property);return i.default?(0,l.h)(Yt,{...n,modelValue:u},{default:i.default}):(0,l.h)(Yt,{...n,modelValue:u})}};for(let s in i)s!=="default"&&(o[s]=i[s]);return(0,l.h)(B.ElTableColumn,{...r},o)}}}}var{componentName:z5,create:E5,scope:T5}=ie("table-mapping-column"),_5=E5(k5(z5,T5)),ua=_5,$5=Symbol.for("TableStateKey");function fr(t,a){let n=a.split("."),r=t;for(let i=0;i<n.length;i++){let o=n[i],s=0,u=o.indexOf("["),e=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&e!==-1;){let c=o.substring(u+1,e);if(/^\d+$/.test(c)){let m=parseInt(c);if(s==0){let f=o.substring(0,u);r=r[f][m]}else r=r[m];s++}u=o.indexOf("[",e),e=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function V5(t,a){return{props:{prop:{type:[String],require:!1}},setup(n,{attrs:r}){const i=(0,l.inject)($5,{});let o=null;return()=>{const s={default:u=>{const e=i.currentRow?i.currentRow.value:null;u.$index!==-1&&(o=u.row);const c=u.$index!==-1?u.row:o;let m=!1;if(c){const p=n.prop??u.column.property;p?m=fr(c,p)===(e?fr(e,p):null):m=Ue(c,e)}const f=(0,l.h)("span",{class:{"el-radio__input":!0,"is-checked":m}},[(0,l.h)("span",{class:{"el-radio__inner":!0}})]);return(0,l.h)("label",{class:{"el-radio":!0,"is-checked":m}},[f])}};return(0,l.h)(B.ElTableColumn,{...r},s)}}}}var{componentName:B5,create:D5,scope:M5}=ie("table-radio-column"),I5=D5(V5(B5,M5)),ca=I5,A5={},L5={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function P5(t,a){return(0,l.openBlock)(),(0,l.createElementBlock)("svg",L5,[...a[0]||(a[0]=[(0,l.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var F5=Fe(A5,[["render",P5]]),{componentName:zv,create:R5,scope:Ev}=ie("table-setting"),O5={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},H5=R5({components:{FoxPopover:B.ElPopover,FoxCheckbox:B.ElCheckbox,FoxCheckboxGroup:B.ElCheckboxGroup,FoxButton:B.ElButton,FoxIcon:B.ElIcon,DragIcon:F5,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...O5},setup(t,{emit:a,attrs:n}){let r=[];const i=(0,l.ref)([]),o=(0,l.computed)(()=>i.value.filter(P=>P.label===""||P.type?!1:P.fixed===""||P.fixed===!0||P.fixed==="left")),s=(0,l.computed)(()=>i.value.filter(P=>P.label===""||P.type?!1:P.fixed==="right")),u=(0,l.computed)(()=>i.value.filter(P=>!(P.label===""||P.type||P.fixed!==void 0))),e=(0,l.computed)(()=>(o.value.length>0||s.value.length>0)&&u.value.length>0),c=(0,l.computed)(()=>o.value.length>0),m=(0,l.computed)(()=>s.value.length>0),f=P=>P.length>1,p=(P,Q)=>{Array.isArray(P)&&Array.isArray(Q)&&P.forEach(U=>{Q.some(T=>T.prop===U.prop?(U.label=T.label,!0):!1)});const le=[];i.value=P.map((U,T)=>(!(U.label===""||U.type)&&U.visible!==!1&&le.push(U.prop),{...U,sortIndex:T})),u.value.length+o.value.length+s.value.length===le.length?g.value=!0:le.length>0&&(d.value=!0),_.value=le},b=P=>P?P.type?P.type:P.label?P.prop:"":"",k=(P,Q)=>{if(P.length!==Q.length)return!1;const le=P.map(U=>b(U));for(let U of Q){const T=b(U);if(le.indexOf(T)===-1)return!1}return!0},v=P=>{if(!P){const Q=t.tableRef.getColumnSetting(),le=Q.srcColumnPropertyList;r=le.map((U,T)=>({...U,sortIndex:T})),P=Q.columnPropertyList,P&&P.length>0&&k(le,P)||(P=le)}p(P,r)},h=()=>{t.tableRef.setColumnSetting(i.value)},$=(0,l.computed)(()=>({"max-width":`${t.popoverWidth-125}px`})),g=(0,l.ref)(!1),d=(0,l.ref)(!1),z=P=>{const Q=[];i.value.forEach(le=>{P&&!(le.label===""||le.type)&&Q.push(le.prop),le.visible=P}),g.value=!1,d.value=!1,u.value.length+o.value.length+s.value.length===Q.length?g.value=!0:Q.length>0&&(d.value=!0),_.value=Q,h()},M=()=>{v(r),h()},_=(0,l.ref)([]),S=P=>{i.value.forEach(le=>{le.label===""||le.type||(le.visible=P.indexOf(le.prop)!==-1)}),g.value=!1,d.value=!1;const Q=u.value.length+o.value.length+s.value.length;P.length===Q?g.value=!0:P.length>0&&(d.value=!0),h()},V=()=>{v()};(0,l.onMounted)(()=>{setTimeout(()=>{v()},50)});const w={currentRow:null,index:null,roleType:null},O=P=>P?P.dataset&&P.dataset.role==="row"?P:P.tagName.toLowerCase()!=="body"?(P=P.parentElement,O(P)):null:null,C=P=>{const Q=P.currentTarget;Q&&Q.dataset&&(w.roleType=Q.dataset.roleType,w.index=Q.dataset.index)},I=P=>{w.currentRow&&(w.currentRow.classList.remove("is-dragover"),w.currentRow=null),w.index=null,w.roleType=null},Z=P=>{const Q=P.currentTarget;P.relatedTarget;const le=O(Q);if(!le)return;const U=le.dataset&&le.dataset.roleType;w.roleType===U&&(P.preventDefault(),w.currentRow&&w.currentRow!==le&&w.currentRow.classList.remove("is-dragover"),le.classList.add("is-dragover"),w.currentRow=le)},N=P=>{P.preventDefault(),w.currentRow&&(w.currentRow.classList.remove("is-dragover"),w.currentRow=null)},E=P=>{const Q=P.currentTarget,le=O(Q);if(!le)return;const U=le.dataset&&le.dataset.roleType;if(w.roleType!==U)return;P.preventDefault();const T=Number(w.index),A=Number(le.dataset.index);if(T!==A){if(T<A){const x=i.value[T];i.value.splice(T,1),i.value.splice(A,0,x)}else{const x=i.value[T];i.value.splice(T,1),i.value.splice(A+1,0,x)}p(i.value,r),h()}},L=P=>{const Q=i.value[P];Q.fixed="left",h()},q=P=>{const Q=i.value[P];Q.fixed="right",h()},G=P=>{const Q=i.value[P];Q.fixed=void 0,h()},X=new Map;let F=null;function ee(P){const Q=document.createRange();return Q.setStart(P,0),Q.setEnd(P,P.childNodes.length),Q.getBoundingClientRect().width}return{attrs:n,leftFixedColumns:o,rightFixedColumns:s,unFixedColumns:u,isShowNotFixedTitle:e,isShowLeftFixedTitle:c,isShowRightFixedTitle:m,isDraggble:f,isCheckAll:g,isIndeterminate:d,handleCheckAllChange:z,handleReset:M,checkedValue:_,handleCheckChange:S,onShow:V,onDragStart:C,onDragEnd:I,onDragOver:Z,onDragLeave:N,onDrop:E,toLeftFixed:L,toRightFixed:q,toUnFixed:G,checkboxLabelStyle:$,onMouseOverForOverflowText:(P,Q,le)=>{const U=P.currentTarget;if(U){const T=Math.floor(U.offsetWidth);if(Math.floor(ee(U))>T){let A=X.get(Q);if(A){if(A===F)return;Le.hide(A)}A=Le.show(U,le,{type:"text",placement:"top",closeOnClick:!1}),A&&(X.set(Q,A),F=A)}}},onMouseLeaveForOverflowText:(P,Q)=>{const le=X.get(Q);le&&(Le.hide(le),le===F&&(F=null))},onMouseOverForTip:(P,Q)=>{const le=P.currentTarget;le&&(F&&Le.hide(F),F=Le.show(le,Q,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:P=>{F&&(Le.hide(F),F=null)}}}}),q5={class:"fox-table-setting"},j5={class:"fox-table-setting__header"},K5={class:"fox-table-setting__body"},Y5={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},W5={key:0,class:"fox-table-setting__body-title"},U5=["data-index","draggable"],G5=["onMouseover","onMouseleave"],X5={class:"tools-item"},Z5={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},J5={key:0,class:"fox-table-setting__body-title"},Q5=["data-index","draggable"],e6=["onMouseover","onMouseleave"],t6={class:"tools-item"},l6={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},n6={key:0,class:"fox-table-setting__body-title"},a6=["data-index","draggable"],r6=["onMouseover","onMouseleave"],o6={class:"tools-item"};function i6(t,a,n,r,i,o){const s=(0,l.resolveComponent)("FoxCheckbox"),u=(0,l.resolveComponent)("FoxButton"),e=(0,l.resolveComponent)("DragIcon"),c=(0,l.resolveComponent)("RefreshLeft"),m=(0,l.resolveComponent)("FoxIcon"),f=(0,l.resolveComponent)("Download"),p=(0,l.resolveComponent)("fox-checkbox"),b=(0,l.resolveComponent)("FoxCheckboxGroup"),k=(0,l.resolveComponent)("FoxPopover");return(0,l.openBlock)(),(0,l.createBlock)(k,(0,l.mergeProps)(t.attrs,{placement:t.popoverPlacement,width:t.popoverWidth,onShow:t.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default")]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",q5,[(0,l.createElementVNode)("div",j5,[(0,l.createVNode)(s,{modelValue:t.isCheckAll,"onUpdate:modelValue":a[0]||(a[0]=v=>t.isCheckAll=v),indeterminate:t.isIndeterminate,onChange:t.handleCheckAllChange},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,l.createVNode)(u,{onClick:t.handleReset,link:"",type:"primary"},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.resetText),1)]),_:1},8,["onClick"])]),(0,l.createElementVNode)("div",K5,[(0,l.createVNode)(b,{modelValue:t.checkedValue,"onUpdate:modelValue":a[28]||(a[28]=v=>t.checkedValue=v),onChange:t.handleCheckChange},{default:(0,l.withCtx)(()=>[t.leftFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",Y5,[t.isShowLeftFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",W5,(0,l.toDisplayString)(t.leftFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.leftFixedColumns,v=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":v.sortIndex,draggable:t.isDraggble(t.leftFixedColumns),onDragstart:a[5]||(a[5]=(...h)=>t.onDragStart&&t.onDragStart(...h)),onDragend:a[6]||(a[6]=(...h)=>t.onDragEnd&&t.onDragEnd(...h)),onDrop:a[7]||(a[7]=(...h)=>t.onDrop&&t.onDrop(...h)),onDragover:a[8]||(a[8]=(...h)=>t.onDragOver&&t.onDragOver(...h)),onDragleave:a[9]||(a[9]=(...h)=>t.onDragLeave&&t.onDragLeave(...h))},[t.isDraggble(t.leftFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",value:v.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:h=>t.onMouseOverForOverflowText(h,v.prop,v.label),onMouseleave:h=>t.onMouseLeaveForOverflowText(h,v.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(v.label),45,G5)]),_:2},1032,["value"]),(0,l.createElementVNode)("div",X5,[(0,l.createVNode)(m,{onClick:h=>t.toUnFixed(v.sortIndex),onMouseover:a[1]||(a[1]=h=>t.onMouseOverForTip(h,t.unFixedText)),onMouseleave:a[2]||(a[2]=h=>t.onMouseLeaveForTip(h))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c)]),_:1},8,["onClick"]),(0,l.createVNode)(m,{onClick:h=>t.toRightFixed(v.sortIndex),onMouseover:a[3]||(a[3]=h=>t.onMouseOverForTip(h,t.fixedRightText)),onMouseleave:a[4]||(a[4]=h=>t.onMouseLeaveForTip(h))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f)]),_:1},8,["onClick"])])],40,U5))),128))])):(0,l.createCommentVNode)("",!0),t.unFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",Z5,[t.isShowNotFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",J5,(0,l.toDisplayString)(t.unFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.unFixedColumns,v=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":v.sortIndex,draggable:t.isDraggble(t.unFixedColumns),onDragstart:a[14]||(a[14]=(...h)=>t.onDragStart&&t.onDragStart(...h)),onDragend:a[15]||(a[15]=(...h)=>t.onDragEnd&&t.onDragEnd(...h)),onDrop:a[16]||(a[16]=(...h)=>t.onDrop&&t.onDrop(...h)),onDragover:a[17]||(a[17]=(...h)=>t.onDragOver&&t.onDragOver(...h)),onDragleave:a[18]||(a[18]=(...h)=>t.onDragLeave&&t.onDragLeave(...h))},[t.isDraggble(t.unFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",value:v.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:h=>t.onMouseOverForOverflowText(h,v.prop,v.label),onMouseleave:h=>t.onMouseLeaveForOverflowText(h,v.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(v.label),45,e6)]),_:2},1032,["value"]),(0,l.createElementVNode)("div",t6,[(0,l.createVNode)(m,{onClick:h=>t.toLeftFixed(v.sortIndex),onMouseover:a[10]||(a[10]=h=>t.onMouseOverForTip(h,t.fixedLeftText)),onMouseleave:a[11]||(a[11]=h=>t.onMouseLeaveForTip(h)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f)]),_:1},8,["onClick"]),(0,l.createVNode)(m,{onClick:h=>t.toRightFixed(v.sortIndex),onMouseover:a[12]||(a[12]=h=>t.onMouseOverForTip(h,t.fixedRightText)),onMouseleave:a[13]||(a[13]=h=>t.onMouseLeaveForTip(h))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f)]),_:1},8,["onClick"])])],40,Q5))),128))])):(0,l.createCommentVNode)("",!0),t.rightFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",l6,[t.isShowRightFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",n6,(0,l.toDisplayString)(t.rightFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.rightFixedColumns,v=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":v.sortIndex,draggable:t.isDraggble(t.rightFixedColumns),onDragstart:a[23]||(a[23]=(...h)=>t.onDragStart&&t.onDragStart(...h)),onDragend:a[24]||(a[24]=(...h)=>t.onDragEnd&&t.onDragEnd(...h)),onDrop:a[25]||(a[25]=(...h)=>t.onDrop&&t.onDrop(...h)),onDragover:a[26]||(a[26]=(...h)=>t.onDragOver&&t.onDragOver(...h)),onDragleave:a[27]||(a[27]=(...h)=>t.onDragLeave&&t.onDragLeave(...h))},[t.isDraggble(t.rightFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(p,{class:"checkbox-item",label:v.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:h=>t.onMouseOverForOverflowText(h,v.prop,v.label),onMouseleave:h=>t.onMouseLeaveForOverflowText(h,v.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(v.label),45,r6)]),_:2},1032,["label"]),(0,l.createElementVNode)("div",o6,[(0,l.createVNode)(m,{onClick:h=>t.toUnFixed(v.sortIndex),onMouseover:a[19]||(a[19]=h=>t.onMouseOverForTip(h,t.unFixedText)),onMouseleave:a[20]||(a[20]=h=>t.onMouseLeaveForTip(h))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c)]),_:1},8,["onClick"]),(0,l.createVNode)(m,{onClick:h=>t.toLeftFixed(v.sortIndex),onMouseover:a[21]||(a[21]=h=>t.onMouseOverForTip(h,t.fixedLeftText)),onMouseleave:a[22]||(a[22]=h=>t.onMouseLeaveForTip(h)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(f)]),_:1},8,["onClick"])])],40,a6))),128))])):(0,l.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var jl=Fe(H5,[["render",i6]]),s6=class{proxy;constructor(t){this.proxy=t}async load(t,a,n,r,i,o,s){if(Array.isArray(a)){let e=(n-1)*r,c=e+r;c>a.length&&(c=a.length);const m=a.slice(e,c);return{totalSize:a.length,page:m}}if(typeof a=="function")return await Reflect.apply(a,null,[n,r,i,o,s]);const u=Pe(this.proxy,t);return u===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(Ke(i)&&(0,l.isReactive)(i)&&(i=(0,l.toRaw)(i)),await Reflect.apply(u,null,[a,n,r,i,o,s]))}};function u6(){return new s6((0,l.getCurrentInstance)().proxy)}var c6=class{proxy;constructor(t){this.proxy=t}async load(t){let a=null;const n=Pe(this.proxy,"tableSetting");return typeof n=="function"&&(a=await Reflect.apply(n,null,["load",t])),a}save(t,a){const n=Pe(this.proxy,"tableSetting");typeof n=="function"&&Reflect.apply(n,null,["save",t,a])}remove(t){const a=Pe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",t])}};function d6(){return new c6((0,l.getCurrentInstance)().proxy)}var f6=Symbol.for("TableStateKey"),mr={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:()=>!1},lazyLoad:{type:[String,Boolean],required:!1,default:()=>!1},baseParams:{type:[Object]},params:{type:[Object]},rowClassName:{type:[Function,String]},cellClassName:{type:[Function,String]},rowClickSelectable:{type:[String,Boolean],required:!1,default:!1},uniqueExpansion:{type:[String,Boolean],required:!1,default:!1},showSetting:{type:[Boolean],required:!1,default:!1},footerAlign:{type:[String],required:!1,default:()=>"right"}},hr={showPagination:{type:[Boolean],required:!1,default:()=>!0},pageIndex:{type:[Number],required:!1,default:()=>1},hideOnSinglePage:{type:[Boolean],required:!1,default:()=>!0},pageSize:{type:[Number],required:!1,default:()=>10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:()=>"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:()=>"right"},paginationBackground:{type:[Boolean],required:!1,default:()=>!1},paginationSize:{type:[String],required:!1,default:()=>"large"},paginationAppendSizeTo:{type:[String],required:!1},paginationTeleported:{type:[Boolean],required:!1,default:()=>!0},paginationPopperClass:{type:[String],required:!1},paginationpPrevText:{type:[String],required:!1},paginationPrevIcon:{type:[Object,String],required:!1},paginationNextText:{type:[String],required:!1},paginationNextIcon:{type:[Object,String],required:!1},paginationDisabled:{type:[Boolean],required:!1}},rn={popoverWidth:{type:[String,Number],required:!1,default:280},popoverPlacement:{type:[String],required:!1,default:"top-start"},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},m6={infiniteLoad:{type:Boolean,default:!0},loadText:{type:String,default:"加载中..."},noMoreText:{type:String,default:"无更多数据"}};function h6(t,a){let n=a.split("."),r=t;for(let i=0;i<n.length;i++){let o=n[i],s=0,u=o.indexOf("["),e=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&e!==-1;){let c=o.substring(u+1,e);if(/^\d+$/.test(c)){let m=parseInt(c);if(s==0){let f=o.substring(0,u);r=r[f][m]}else r=r[m];s++}u=o.indexOf("[",e),e=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function on(t,a){return t.filter(n=>{for(let r in a)if(a[r]!==h6(n,r))return!1;return!0})}function p6(t,a,n){return{props:{...Ce,...ze,...mr,...hr,...rn,...m6},emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(r,i){const{locale:o,toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["loadText","noMoreText"]),{emitEvent:e,broadcast:c}=Ee({componentName:t,validateHandler:{getValue(...ne){return w.value}}},r.prop??i.attrs.name),m=t,f=(0,l.computed)(()=>({[m]:!0})),p=(0,l.computed)(()=>({[`${m}__setting`]:!0})),b=(0,l.computed)(()=>({[`${m}__footer`]:!0,[`${m}__footer__${r.footerAlign}`]:!0})),k=(0,l.computed)(()=>({[`${m}__pagination`]:!0,[`${m}__pagination__${r.paginationAlign}`]:!0})),v=(0,l.shallowRef)({}),h=(0,l.computed)(()=>({...v.value,...r.params??{},...r.baseParams??{}})),$=(0,l.ref)(r.infiniteLoad===!0?0:r.pageIndex),g=(0,l.ref)(r.pageSize),d=de(r.infiniteLoad);d||((0,l.watch)(()=>r.pageIndex,ne=>{$.value=ne}),(0,l.watch)(()=>r.pageSize,ne=>{g.value=ne}),(0,l.watch)([$,g],([ne,re],[se,ce])=>{re!==ce&&($.value=1,ne=1),Z(r.data,ne,re,h.value)}));const z=()=>Array.isArray(r.data)?!0:de(r.autoLoad);z()&&(0,l.watch)([()=>r.data,h],async([ne,re],[se,ce])=>{z()&&(ne!==se&&(C.value=!0),!(!Array.isArray(ne)&&Ue(ne,se)&&Ue(re,ce))&&(d?($.value=0,S.value=!0,w.value=[],E()):$.value===1?Z(ne,$.value,g.value,re):$.value=1))},{deep:!0});const M=ne=>{$.value=ne,e("page-index-change",ne)},_=ne=>{g.value=ne,e("page-size-change",ne)},S=(0,l.ref)(!0),V=(0,l.ref)(0),w=(0,l.ref)([]),O=u6();let C=(0,l.ref)(!0);const I=De((0,l.computed)(()=>r.lazyLoad),"lazyLoad",qe.Near,ne=>de(ne)),Z=async(ne,re,se,ce,Re)=>{try{if(Re===!0){if(!S.value)return!1;const ye=await O.load("table",ne,re,se,ce,C.value,o.value);return V.value=ye.totalSize,!ye.page||!Array.isArray(ye.page)||(Reflect.apply([].push,w.value,ye.page),setTimeout(()=>{e("loaded-data")},250),(w.value?.length??0)>=V.value)||ye.page.length<se?(S.value=!1,!1):!0}else{const ye=await O.load("table",ne,re,se,ce,C.value,o.value);return V.value=ye.totalSize,w.value=ye.page??[],setTimeout(()=>{e("loaded-data")},250),!0}}catch(ye){console.error("[FoxUI] Load Table Data Fail",ye),V.value=0,w.value=[]}finally{C.value=!1}return!1};let N=!1;const E=async()=>{if(!N){if(N=!0,!S.value){N=!1;return}$.value+=1,await Z(r.data,$.value,g.value,h.value,!0),N=!1}},L=(ne={},re=!1)=>new Promise(async se=>{v.value={...(0,l.toRaw)(ne??{})},re||($.value=r.pageIndex??1),d===!0?($.value=0,w.value=[],S.value=!0,await E()):await Z(r.data,$.value,g.value,h.value),se()}),q=()=>{V.value=0,w.value=[],d===!0&&($.value=0,S.value=!0)};let G=!1;const X=()=>{G||(G=!0,L())},F=(0,l.ref)(null);if(d===!0){let ne=null;const re=()=>{F.value&&(ne=new IntersectionObserver(ce=>{let Re=!1;for(let ye of ce)if(ye.intersectionRatio>0){Re=!0;break}Re&&C.value===!1&&E()}),ne.observe(F.value))},se=()=>{!ne||!F.value||(ne.unobserve(F.value),ne=null)};(0,l.onMounted)(re),(0,l.onBeforeUnmount)(se)}z()&&!I.value&&L();const ee=(0,l.ref)(null);(0,l.provide)(f6,{currentRow:ee});const K=(ne,re)=>{ee.value=ne,e("current-change",ne,re)},H=(ne,re,se)=>{e("row-click",ne,re,se),de(r.rowClickSelectable)===!0&&Ve?.value.toggleRowSelection(ne)},Y=[],J=(ne,re)=>{if(e("expand-change",ne,re),de(r.uniqueExpansion))if(Array.isArray(re)&&re.length==0){const se=Y.length;Y.splice(0,se)}else{Y.forEach(ce=>{ce!==ne&&Ve?.value.toggleRowExpansion(ce,!1)});const se=Y.length;Y.splice(0,se,ne)}},P=i.attrs.id??r.prop??i.attrs.name,Q=d6(),le=(0,l.ref)([]);let U=[];const T=()=>({srcColumnPropertyList:U.map(ne=>({...ne})),columnPropertyList:le.value}),A=ne=>{le.value=[...ne],W()},x=async()=>{const ne=await Q.load(P);ne&&(le.value=ne)},W=()=>{Q.save(P,le.value)},D=()=>{Q.remove(P)};x();const y=ne=>ne?ne.type?ne.type:ne.label?ne.prop:"":"",R=(ne,re={})=>{for(let se in re){const ce=re[se];typeof ce!="function"&&(ne[se]=ce)}},j=ne=>{const re=ne?ne():[],se=new Map;if(U=[],re.forEach(ce=>{const Re=ce;if(!Re.props)return;const ye=y(Re.props);se.set(ye,Re);const Ne={label:"",prop:""};R(Ne,Re.props),U.push(Ne)}),le.value.length===U.length){const ce=[];for(let Re of le.value){const ye=y(Re),Ne=se.get(ye);if(!Ne)return re;if(Re.visible===!1)continue;const rt=Ne;rt.props.fixed=Re.fixed,ce.push(rt)}return ce}return re},te=(0,l.shallowRef)(new Map),ae=({row:ne,column:re,rowIndex:se,columnIndex:ce})=>{const Re=`${se}_${re.property}`,ye=`${se}_${ce}`;let Ne=te.value.get(Re);return Ne||(Ne=te.value.get(ye)),typeof Ne=="string"?Ne:""},oe=ne=>ne?re=>{const se=[];let ce=ae(re);return ce&&se.push(ce),ce=typeof ne=="function"?ne(re):ne,ce&&se.push(ce),se.length===0?"":se.join(" ")}:ae,he=(ne=!1)=>{te.value.forEach((re,se)=>{xe(se,re,ne)})},xe=(ne,re,se=!1)=>{const ce=`${ne}_item`;se?(c.clearPersistantMessage(),Array.isArray(re)?c.emitToChildren({name:ne},"setCellClassNames",[]):c.emitToChildren({name:ce},"setCustomClassName","")):Array.isArray(re)?c.emitToChildren({name:ne,cachePolicy:"Persistant",uniqueId:ce},"setCellClassNames",re):c.emitToChildren({name:ce,cachePolicy:"Persistant",uniqueId:ce},"setCustomClassName",re)},Te=(ne,re,se)=>{const ce=`${ne}_${re}`;se?(te.value.set(ce,se),xe(ce,se)):(te.value.delete(ce),xe(ce,"",!0)),(0,l.triggerRef)(te)},Xe=ne=>{he(!0),te.value.clear(),ne.forEach(re=>{const se=`${re.rowIndex}_${re.column}`;Array.isArray(re.children)?te.value.set(se,re.children):typeof re.cellClassName=="string"&&te.value.set(se,re.cellClassName)}),he(),(0,l.triggerRef)(te)},ut=()=>{he(),te.value.clear(),(0,l.triggerRef)(te)},at=(0,l.shallowRef)(new Map),Ra=({rowIndex:ne})=>{const re=`${ne}`;return at.value.get(re)??""},ai=ne=>ne?re=>{const se=[];let ce=Ra(re);return ce&&se.push(ce),ce=typeof ne=="function"?ne(re):ne,ce&&se.push(ce),se.length===0?"":se.join(" ")}:Ra,ri=(ne,re)=>{const se=`${ne}`;re?at.value.set(se,re):at.value.delete(se),(0,l.triggerRef)(at)},oi=()=>{at.value.clear(),(0,l.triggerRef)(at)},Ve=(0,l.ref)();return be({clearSelection:()=>Ve?.value.clearSelection(),getSelectionRows:()=>Ve?.value.getSelectionRows(),toggleRowSelection:(ne,re)=>{Ve?.value.toggleRowSelection(ne,re)},toggleRowSelectionByProp:(ne,re)=>{if(!w.value)return;const se=on(w.value,ne);se.length!==0&&se.forEach(ce=>{Ve?.value.toggleRowSelection(ce,re)})},toggleAllSelection:()=>{Ve?.value.toggleAllSelection()},toggleRowExpansion:(ne,re)=>{Ve?.value.toggleRowExpansion(ne,re)},toggleRowExpansionByProp:(ne,re)=>{if(!w.value)return;const se=on(w.value,ne);se.length!==0&&se.forEach(ce=>{Ve?.value.toggleRowExpansion(ce,re)})},setCurrentRow:ne=>{Ve?.value.setCurrentRow(ne)},setCurrentRowByProp:ne=>{if(!w.value)return;const re=on(w.value,ne);re.length!==0&&Ve?.value.setCurrentRow(re[0])},getCurrentRow:()=>ee.value,clearSort:()=>{Ve?.value.clearSort()},clearFilter:ne=>{Ve?.value.clearFilter(ne)},doLayout:()=>{Ve?.value.doLayout()},sort:(ne,re)=>{Ve?.value.sort(ne,re)},scrollTo:(ne,re)=>{Ve?.value.scrollTo(ne,re)},setScrollTop:ne=>{Ve?.value.setScrollTop(ne)},setScrollLeft:ne=>{Ve?.value.setScrollLeft(ne)},loadData:L,clearData:q,getData(){return w.value},getTotalSize(){return V.value},getPageIndex(){return $.value},getPageSize(){return g.value},getColumnSetting:T,setColumnSetting:A,removeColumnSetting:D,setCellClassName:Te,setCellClassNames:Xe,clearCellClassName:ut,setRowClassName:ri,clearRowClassName:oi}),()=>{const ne={...Qe(i.attrs),onCurrentChange:K,onRowClick:H,onExpandChange:J,data:w.value,ref:Ve,class:f.value,"cell-class-name":oe(r.cellClassName),"row-class-name":ai(r.rowClassName)},re={};if(i.slots.default&&(re.default=()=>j(i.slots.default)),i.slots.append&&(re.append=i.slots.append),i.slots.empty&&(re.empty=i.slots.empty),d===!0){const Ne=[];if(S.value){const Mt=(0,l.h)($e.Loading,{class:`${m}__infinite-icon`});Ne.push(Mt);const Zl=(0,l.h)("span",{class:`${m}__infinite-text`},[u.loadText.value]);Ne.push(Zl)}else{const Mt=(0,l.h)("span",{class:`${m}__infinite-text`},[u.noMoreText.value]);Ne.push(Mt)}const rt=[`${m}__infinite`];C.value&&rt.push("is-hide");const Xl=(0,l.h)("div",{ref:F,class:rt},Ne);re.append=()=>Xl}const se=(0,l.h)(B.ElTable,ne,re),ce=[];if(ce.push(se),!d){let Ne=null;if(typeof i.slots.pagination=="function"?Ne=i.slots.pagination():r.showPagination&&(Ne=(0,l.h)(B.ElPagination,{class:k.value,total:V.value,pageSize:g.value,"onUpdate:pageSize":_,pageSizes:r.pageSizes,currentPage:$.value,"onUpdate:currentPage":M,hideOnSinglePage:r.hideOnSinglePage,layout:r.paginationLayout,size:r.paginationSize,background:r.paginationBackground,appendSizeTo:r.paginationAppendSizeTo,teleported:r.paginationTeleported,popperClass:r.paginationPopperClass,prevText:r.paginationpPrevText,prevIcos:r.paginationPrevIcon,nextText:r.paginationNextText,pnextIcon:r.paginationNextIcon,disabled:r.paginationDisabled})),r.showSetting){const rt=[];Ne&&rt.push(Ne);const Xl=(0,l.h)(B.ElIcon,{class:p.value},{default:()=>(0,l.h)($e.Setting)}),Mt=(0,l.h)(jl,{...lt(r,rn),tableRef:{getColumnSetting:T,setColumnSetting:A,removeColumnSetting:D}},{default:()=>Xl});rt.push(Mt);const Zl=(0,l.h)("div",{class:b.value},rt);ce.push(Zl)}else Ne&&ce.push(Ne)}const Re={default:()=>ce},ye={...Me(r,mr,hr,rn)};return r.prop&&(ye.prop=`${r.prop}_item`),ye.contentClass=`${m}__wrap`,ye.errorMarkClass="is-table-error",I.value&&z()&&(ye["appear-listen"]=!0,ye.onAppear=X),(0,l.h)(n,ye,Re)}}}}var{componentName:g6,create:v6,scope:y6}=ie("table-item"),b6=v6(p6(g6,y6,ke)),da=b6;function Vt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Wt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function w6(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var S6=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n))}};function x6(){return new S6((0,l.getCurrentInstance)().proxy)}function qo(t,a,n){return a===n?!0:!(a===null||n===null||Vt(t,a)!==Vt(t,n)||Wt(t,a)!==Wt(t,n))}function C6(t,a,n,r){if(r.length==0||a===""||a===null||a===void 0)return null;let i=null;for(let o of r){let s=!1;if(n==="text")s=Vt(t,o)===a;else if(n==="item")s=qo(t,o,a);else{let u=Wt(t,o);u==null&&(u=Vt(t,o)),s=u===a}if(s){i=o;break}}return i}function N6(t){return{text:t,value:t}}function k6(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var pr={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}};function z6(t,a,n){return{inheritAttrs:!0,props:{...Ce,...ze,...pr},emits:["change","update:modelValue","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),m=(0,l.ref)(null),f=(0,l.ref)(null),p=(w,O,C,I=!0)=>{const Z=C6(r,w,O,C);if(Z===null){if(f.value===null)return;f.value=null,m.value=null,I&&(c("update:modelValue",null),c("change",null));return}if(!qo(r,Z,f.value)){m.value=w;const N=(0,l.toRaw)(Z);f.value=N;let E=null;r.valueType==="text"?E=Vt(r,N):r.valueType==="item"?E=N:E=Wt(r,N),I&&(c("update:modelValue",E),c("change",E))}},b=(0,l.ref)([]),k=De((0,l.computed)(()=>r.appearLoad),"appearLoad",qe.Near,w=>de(w)),v=x6(),h=async(w,O)=>{if(w){const C=await v.load("radio",w,O);C.length>0&&(typeof C[0]=="string"?b.value=C.map(I=>N6(I)):b.value=C)}};(0,l.watch)([()=>r.source,()=>r.params],async([w,O])=>{h(w,O)},{immediate:!k.value});let $=!1;const g=()=>{$||($=!0,h(r.source,r.params))};(0,l.watch)([()=>b.value,()=>r.modelValue],([w,O])=>{p(O,r.valueType,w,!1),c("setValue",O)});const d=t,z=(0,l.computed)(()=>({[d]:!0,[`is-${r.direction}`]:!0})),M=w=>{p(w,"value",b.value,!0)};let _=ge(r,"hintText"),S=ge(r,"hintVisible");const V=(w,O)=>{const C=[];return w.forEach((I,Z)=>{const N=Wt(r,I),E=Vt(r,I);let L=w6(r,I);s.value===!0&&(L=s.value),e.value===!0&&(L=e.value);const q=k6(r,I,Z)??{},G=`${N}_${Z}`,X={...q,key:G,value:N,size:r.size,border:de(r.border)};L&&(X.disabled=L),r.itemType==="button"?C.push((0,l.h)(B.ElRadioButton,X,{default:()=>[E]})):typeof O=="function"?C.push((0,l.h)(B.ElRadio,X,{default:()=>O(I)})):C.push((0,l.h)(B.ElRadio,X,{default:()=>[E]}))}),C};return be({setDisabled:w=>{o.value=w},setReadonly:w=>{u.value=w}}),()=>{const w={...Qe(i.attrs),class:z.value,disabled:s.value||e.value,modelValue:m.value,"text-color":r.textColor,fill:r.fill,onChange:M},O=[],C={};i.slots.options?C.default=i.slots.options:C.default=()=>V(b.value,i.slots.text);const I=(0,l.h)(B.ElRadioGroup,w,C);O.push(I);const Z={default:()=>O};Z.label=i.slots.default,Z.fixedPreTip=i.slots.fixedPreTip,Z.fixedTip=i.slots.fixedTip;const N={...Me(r,pr),hintText:_.value,hintVisible:S.value};return r.prop&&(N.prop=`${r.prop}_item`),k.value&&(N["appear-listen"]=!0,N.onAppear=g),(0,l.h)(n,N,Z)}}}}var{componentName:E6,create:T6,scope:_6}=ie("radio-item"),$6=T6(z6(E6,_6,ke)),fa=$6;function Bt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Tt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function V6(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var B6=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n))}};function D6(){return new B6((0,l.getCurrentInstance)().proxy)}function jo(t,a,n){return a===n?!0:!(a===null||n===null||Bt(t,a)!==Bt(t,n)||Tt(t,a)!==Tt(t,n))}function M6(t,a,n,r){if(r.length==0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const i=[];return a.forEach(o=>{for(let s of r){let u=!1;if(n==="text")u=Bt(t,s)===o;else if(n==="item")u=jo(t,s,o);else{let e=Tt(t,s);e==null&&(e=Bt(t,s)),u=e===o}if(u){i.push(s);break}}}),i}function I6(t){return{text:t,value:t}}function A6(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var gr={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}};function L6(t,a,n){return{inheritAttrs:!0,props:{...Ce,...ze,...gr},emits:["change","update:modelValue","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),m=(0,l.ref)([]),f=(0,l.ref)([]),p=(w,O,C,I=!0)=>{const Z=M6(r,w,O,C);if(Z===null){if(f.value===null||f.value.length===0)return;m.value=[],f.value=[],I&&(c("update:modelValue",[]),c("change",[]));return}let N=!0;if(Z.length!==f.value.length)N=!1;else for(let E=0;E<Z.length;E++){const L=Z[E],q=f.value[E];if(!jo(r,L,q)){N=!1;break}}if(!N){f.value=Z;let E=[],L=[];Z.forEach(G=>{E.push(Tt(r,G)),r.valueType==="text"?L.push(Bt(r,G)):r.valueType==="item"?L.push(G):L.push(Tt(r,G))}),m.value=E;const q=(0,l.toRaw)(L);I&&(c("update:modelValue",q),c("change",q))}},b=(0,l.ref)([]),k=De((0,l.computed)(()=>r.appearLoad),"appearLoad",qe.Near,w=>de(w)),v=D6(),h=async(w,O)=>{if(w){const C=await v.load("checkbox",w,O);C.length>0&&(typeof C[0]=="string"?b.value=C.map(I=>I6(I)):b.value=C)}};(0,l.watch)([()=>r.source,()=>r.params],async([w,O])=>{h(w,O)},{immediate:!k.value});let $=!1;const g=()=>{$||($=!0,h(r.source,r.params))};(0,l.watch)([()=>b.value,()=>r.modelValue],([w,O])=>{p(O,r.valueType,w,!1),c("setValue",O)});const d=t,z=(0,l.computed)(()=>({[d]:!0,[`is-${r.direction}`]:!0})),M=w=>{p(w,"value",b.value,!0)};let _=ge(r,"hintText"),S=ge(r,"hintVisible");const V=(w,O)=>{const C=[];return w.forEach((I,Z)=>{const N=Tt(r,I),E=Bt(r,I);let L=V6(r,I);s.value===!0&&(L=s.value),e.value===!0&&(L=e.value);const q=A6(r,I,Z)??{},G=`${N}_${Z}`,X={...q,key:G,class:r.itemClass,value:N,size:r.size,border:de(r.border)};L&&(X.disabled=L),r.itemType==="button"?C.push((0,l.h)(B.ElCheckboxButton,X,{default:()=>[E]})):typeof O=="function"?C.push((0,l.h)(B.ElCheckbox,X,{default:()=>O(I)})):C.push((0,l.h)(B.ElCheckbox,X,{default:()=>[E]}))}),C};return be({setDisabled:w=>{o.value=w},setReadonly:w=>{u.value=w}}),()=>{const w={...Qe(i.attrs),class:z.value,disabled:s.value||e.value,modelValue:m.value,"text-color":r.textColor,fill:r.fill,max:ve(r.max),min:ve(r.min),onChange:M},O=[],C={};i.slots.options?C.default=i.slots.options:C.default=()=>V(b.value,i.slots.text);const I=(0,l.h)(B.ElCheckboxGroup,w,C);O.push(I);const Z={default:()=>O};Z.label=i.slots.default,Z.fixedPreTip=i.slots.fixedPreTip,Z.fixedTip=i.slots.fixedTip;const N={...Me(r,gr),hintText:_.value,hintVisible:S.value};return r.prop&&(N.prop=`${r.prop}_item`),k.value&&(N["appear-listen"]=!0,N.onAppear=g),(0,l.h)(n,N,Z)}}}}var{componentName:P6,create:F6,scope:R6}=ie("checkbox-item"),O6=F6(L6(P6,R6,ke)),ma=O6,vr={modelValue:{type:[Number,String],required:!1}};function H6(t,a,n){return{props:{...Ce,...ze,...vr},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),m=ge(r,"modelValue",$=>ve($),c),f=t,p=(0,l.computed)(()=>({[f]:!0})),b=$=>{c("update:modelValue",$),c("change",$)};let k=ge(r,"hintText"),v=(0,l.ref)(!1);const h=(0,l.ref)();return be({setDisabled:$=>{o.value=$},setReadonly:$=>{u.value=$}}),()=>{const $={...Qe(i.attrs),ref:h,class:p.value,readonly:e.value||s.value,modelValue:m.value,onChange:b},g={},d=[],z=(0,l.h)(B.ElRate,$,g);d.push(z);const M={default:()=>d};M.label=i.slots.default,M.fixedPreTip=i.slots.fixedPreTip,M.fixedTip=i.slots.fixedTip;const _={...Me(r,vr),hintText:k.value,hintVisible:v.value};return r.prop&&(_.prop=`${r.prop}_item`),(0,l.h)(n,_,M)}}}}var{componentName:q6,create:j6,scope:K6}=ie("rate-item"),Y6=j6(H6(q6,K6,ke)),ha=Y6,yr={modelValue:{type:[Boolean,String,Number],required:!1}};function W6(t,a,n){return{props:{...Ce,...ze,...yr},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),m=ge(r,"modelValue",null,c),f=t,p=(0,l.computed)(()=>({[f]:!0})),b=$=>{c("update:modelValue",$),c("change",$)};let k=ge(r,"hintText"),v=ge(r,"hintVisible");const h=(0,l.ref)();return be({setDisabled:$=>{o.value=$},setReadonly:$=>{u.value=$}}),()=>{const $={...Qe(i.attrs),ref:h,class:p.value,readonly:e.value,disabled:s.value,modelValue:m.value,onChange:b},g={},d=[],z=(0,l.h)(B.ElSwitch,$,g);d.push(z);const M={default:()=>d};M.label=i.slots.default,M.fixedPreTip=i.slots.fixedPreTip,M.fixedTip=i.slots.fixedTip;const _={...Me(r,yr),hintText:k.value,hintVisible:v.value};return r.prop&&(_.prop=`${r.prop}_item`),(0,l.h)(n,_,M)}}}}var{componentName:U6,create:G6,scope:X6}=ie("switch-item"),Z6=G6(W6(U6,X6,ke)),pa=Z6,br={modelValue:{type:[String,Number,Boolean,Object]},data:{type:[String,Function,Array],required:!0},params:{type:[Object],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},classKey:{type:[String],required:!1,default:"class"},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},J6=class{proxy;constructor(t){this.proxy=t}async load(t,a,n,r,i){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,r);const o=Pe(this.proxy,t);return o===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await o(a,n,r))}};function Q6(){return new J6((0,l.getCurrentInstance)().proxy)}var wr={modelValue:{type:[String,Number,Boolean,Array],required:!1}};function e8(t,a,n){return{props:{...Ce,...ze,...wr,...br},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),c=(0,l.ref)(!1),{emitEvent:m}=Ee({componentName:t,get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),f=ge(r,"modelValue",null,m),p=t,b=(0,l.computed)(()=>({[p]:!0})),k=I=>{f.value=I,m("update:modelValue",I),m("change",I)};let v=ge(r,"hintText"),h=(0,l.ref)(!1);const $=I=>{let Z=I.target.value;c.value=!0,fe(v.value)||(h.value=!0),m("focus",Z,I)},g=I=>{setTimeout(()=>{h.value&&(h.value=!1),c.value=!1},0);let Z=I.target.value;r.maxLength&&Z.length>Number(r.maxLength)&&(Z=Z.slice(0,Number(r.maxLength))),z.value||m("blur",Z,I)},d=()=>{m("clear","")},z=(0,l.ref)(!1),M=I=>{z.value=I,m("visible-change",I),I||m("selected")},_=(0,l.ref)([]),S=Q6(),V=async(I,Z)=>{try{_.value=await S.load("treeselect",I,Z)}catch(N){console.error(N)}};(0,l.watch)([()=>r.data,()=>r.params,()=>r.lazy],([I,Z,N])=>{!I||N||V(I,Z)},{immediate:!0});let w=null;r.lazy&&(typeof r.load=="function"?w=r.load:w=async(I,Z)=>{debugger;let N={};r.params&&Object.assign(N,r.params),I&&Object.assign(N,I),Z(await S.load("treeselect",r.data,N,!0))});let O={label:r.textKey,value:r.valueKey,children:r.childrenKey,isLeaf:r.leafKey,class:r.classKey};const C=(0,l.ref)();return be({focus:()=>{C?.value.focus()},blur:()=>{C?.value.blur()},setDisabled:I=>{o.value=I},setReadonly:I=>{u.value=I}}),()=>{const I={...Qe(i.attrs),ref:C,class:b.value,disabled:s.value||e.value,modelValue:f.value,"onUpdate:modelValue":k,lazy:r.lazy,props:O,onClear:d,onFocus:$,onBlur:g,onVisibleChange:M};w?I.load=w:I.data=_.value;const Z={};i.slots.option&&(Z.default=i.slots.option);const N=[],E=(0,l.h)(B.ElTreeSelect,I,Z);N.push(E);const L={default:()=>N};L.label=i.slots.default,L.fixedPreTip=i.slots.fixedPreTip,L.fixedTip=i.slots.fixedTip;const q={...Me(r,wr,br),hintText:v.value,hintVisible:h.value};return r.prop&&(q.prop=`${r.prop}_item`),(0,l.h)(n,q,L)}}}}var{componentName:t8,create:l8,scope:n8}=ie("tree-select-item"),a8=l8(e8(t8,n8,ke)),ga=a8,r8=class{proxy;constructor(t){this.proxy=t}async load(t){let a=null;const n=Pe(this.proxy,"tableSetting");return typeof n=="function"&&(a=await Reflect.apply(n,null,["load",t])),a}save(t,a){const n=Pe(this.proxy,"tableSetting");typeof n=="function"&&Reflect.apply(n,null,["save",t,a])}remove(t){const a=Pe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",t])}};function o8(){return new r8((0,l.getCurrentInstance)().proxy)}var i8={},s8={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function u8(t,a){return(0,l.openBlock)(),(0,l.createElementBlock)("svg",s8,[...a[0]||(a[0]=[(0,l.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var c8=Fe(i8,[["render",u8]]),{componentName:Tv,create:d8,scope:_v}=ie("group-setting"),f8={groupProp:{type:[String]},groupRef:{type:[Object]},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1,default:"条件筛选"},resetText:{type:[String],required:!1,default:"重置"},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1,default:"到顶部"},toBottomText:{type:[String],required:!1,default:"到底部"}},m8=d8({components:{FoxPopover:B.ElPopover,FoxCheckbox:B.ElCheckbox,FoxCheckboxGroup:B.ElCheckboxGroup,FoxButton:B.ElButton,FoxIcon:B.ElIcon,DragIcon:c8,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...f8},emits:["change"],setup(t,{emit:a,attrs:n,expose:r}){let i=null;const o=(0,l.ref)([]),s=o8(),u=K=>K.length>1,e=()=>{const K=[];o.value=[...o.value].map((H,Y)=>(H.visible!==!1&&K.push(H.prop),{...H,sortIndex:Y})),o.value.length===K.length?v.value=!0:K.length>0&&(h.value=!0),d.value=K},c=K=>{let H=null;if(typeof K=="string")H=document.querySelectorAll(`.fox-group[prop="${K}"] > div > .fox-item[prop]`);else if(K&&typeof K=="object"){const J=K.$el??K;typeof J.querySelectorAll=="function"&&(H=J.querySelectorAll(".fox-item[prop]"))}if(!H)return[];const Y=[];return H.forEach(J=>{const P=J.querySelector(".label--string");let Q="";P&&(Q=P.textContent??"");const le=J.getAttribute("prop")??"",U=window.getComputedStyle(J,null).getPropertyValue("display");Y.push({label:Q,prop:le,sortIndex:0,visible:U!=="none"})}),Y},m=()=>{if(!i){const K=c(t.groupRef??t.groupProp);if(K.length===0)return!1;i=K}return!0},f=async(K=!1)=>{const H=await s.load(t.groupProp),Y=J=>{if(!J||!i)return;const P=i.map(Q=>({...Q}));Array.isArray(H)&&H.forEach(Q=>{P.some(le=>{if(le.prop===Q.prop){const U=le.label;return Object.assign(le,Q),le.label=U,!0}return!1})}),o.value=P.sort((Q,le)=>Q.sortIndex-le.sortIndex),e(),K&&b(!1)};i?Y(!0):kl(m,t.initDelay,5,50,!1,Y)},p=()=>{o.value=(i??[]).map(K=>({...K})),e(),b()},b=(K=!0)=>{K&&s.save(t.groupProp,o.value),a("change",o.value.map(H=>({...H})))},k=(0,l.computed)(()=>({"max-width":`${t.popoverWidth-125}px`})),v=(0,l.ref)(!1),h=(0,l.ref)(!1),$=K=>{const H=[];o.value.forEach(Y=>{K&&H.push(Y.prop),Y.visible=K}),v.value=!1,h.value=!1,o.value.length===H.length?v.value=!0:H.length>0&&(h.value=!0),d.value=H,b()},g=()=>{p()},d=(0,l.ref)([]),z=K=>{o.value.forEach(Y=>{Y.visible=K.indexOf(Y.prop)!==-1}),v.value=!1,h.value=!1;const H=o.value.length;K.length===H?v.value=!0:K.length>0&&(h.value=!0),b()},M=()=>{f()};(0,l.onMounted)(()=>{f(!0)});const _={currentRow:null,index:null},S=K=>K?K.dataset&&K.dataset.role==="row"?K:K.tagName.toLowerCase()!=="body"?(K=K.parentElement,S(K)):null:null,V=K=>{const H=K.currentTarget;H&&H.dataset&&(_.index=H.dataset.index)},w=K=>{_.currentRow&&(_.currentRow.classList.remove("is-dragover"),_.currentRow=null),_.index=null},O=K=>{const H=K.currentTarget;K.relatedTarget;const Y=S(H);Y&&(K.preventDefault(),_.currentRow&&_.currentRow!==Y&&_.currentRow.classList.remove("is-dragover"),Y.classList.add("is-dragover"),_.currentRow=Y)},C=K=>{K.preventDefault(),_.currentRow&&(_.currentRow.classList.remove("is-dragover"),_.currentRow=null)},I=K=>{const H=K.currentTarget,Y=S(H);if(!Y)return;K.preventDefault();const J=Number(_.index),P=Number(Y.dataset.index);if(J!==P){if(J<P){const Q=o.value[J];o.value.splice(J,1),o.value.splice(P,0,Q)}else{const Q=o.value[J];o.value.splice(J,1),o.value.splice(P+1,0,Q)}e(),b()}},Z=K=>{const H=o.value[K];o.value.splice(K,1),o.value.splice(0,0,H),e(),b()},N=K=>{const H=o.value[K];o.value.splice(K,1),o.value.push(H),e(),b()};r({refresh:()=>{i=null,f(!1)}});const E=new Map;let L=null;function q(K){const H=document.createRange();return H.setStart(K,0),H.setEnd(K,K.childNodes.length),H.getBoundingClientRect().width}return{attrs:n,itemPropertyList:o,isDraggble:u,isCheckAll:v,isIndeterminate:h,handleCheckAllChange:$,handleReset:g,checkedValue:d,handleCheckChange:z,onShow:M,onDragStart:V,onDragEnd:w,onDragOver:O,onDragLeave:C,onDrop:I,checkboxLabelStyle:k,toTop:Z,toBottom:N,onMouseOverForOverflowText:(K,H,Y)=>{const J=K.currentTarget;if(J){const P=Math.floor(J.offsetWidth);if(Math.floor(q(J))>P){let Q=E.get(H);if(Q){if(Q===L)return;Le.hide(Q)}Q=Le.show(J,Y,{type:"text",placement:"top",closeOnClick:!1}),E.set(H,Q),L=Q}}},onMouseLeaveForOverflowText:(K,H)=>{const Y=E.get(H);Y&&(Le.hide(Y),Y===L&&(L=null))},onMouseOverForTip:(K,H)=>{const Y=K.currentTarget;Y&&(L&&Le.hide(L),L=Le.show(Y,H,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:K=>{L&&(Le.hide(L),L=null)}}}}),h8={class:"fox-group-setting"},p8={class:"fox-group-setting__header"},g8={class:"fox-group-setting__body"},v8={class:"fox-group-setting__body-list","data-role":"container"},y8=["data-index","draggable"],b8=["onMouseover","onMouseleave"],w8={class:"tools-item"};function S8(t,a,n,r,i,o){const s=(0,l.resolveComponent)("FoxCheckbox"),u=(0,l.resolveComponent)("FoxButton"),e=(0,l.resolveComponent)("DragIcon"),c=(0,l.resolveComponent)("Download"),m=(0,l.resolveComponent)("FoxIcon"),f=(0,l.resolveComponent)("FoxCheckboxGroup"),p=(0,l.resolveComponent)("FoxPopover");return(0,l.openBlock)(),(0,l.createBlock)(p,(0,l.mergeProps)(t.attrs,{placement:t.popoverPlacement,width:t.popoverWidth,onShow:t.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default")]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",h8,[(0,l.createElementVNode)("div",p8,[(0,l.createVNode)(s,{modelValue:t.isCheckAll,"onUpdate:modelValue":a[0]||(a[0]=b=>t.isCheckAll=b),indeterminate:t.isIndeterminate,onChange:t.handleCheckAllChange},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,l.createVNode)(u,{onClick:t.handleReset,link:"",type:"primary"},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.resetText),1)]),_:1},8,["onClick"])]),(0,l.createElementVNode)("div",g8,[(0,l.createVNode)(f,{modelValue:t.checkedValue,"onUpdate:modelValue":a[10]||(a[10]=b=>t.checkedValue=b),onChange:t.handleCheckChange},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",v8,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.itemPropertyList,b=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:b.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":b.sortIndex,draggable:t.isDraggble(t.itemPropertyList),onDragstart:a[5]||(a[5]=(...k)=>t.onDragStart&&t.onDragStart(...k)),onDragend:a[6]||(a[6]=(...k)=>t.onDragEnd&&t.onDragEnd(...k)),onDrop:a[7]||(a[7]=(...k)=>t.onDrop&&t.onDrop(...k)),onDragover:a[8]||(a[8]=(...k)=>t.onDragOver&&t.onDragOver(...k)),onDragleave:a[9]||(a[9]=(...k)=>t.onDragLeave&&t.onDragLeave(...k))},[t.isDraggble(t.itemPropertyList)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",label:b.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:k=>t.onMouseOverForOverflowText(k,b.prop,b.label),onMouseleave:k=>t.onMouseLeaveForOverflowText(k,b.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(b.label),45,b8)]),_:2},1032,["label"]),(0,l.createElementVNode)("div",w8,[(0,l.createVNode)(m,{onClick:k=>t.toTop(b.sortIndex),onMouseover:a[1]||(a[1]=k=>t.onMouseOverForTip(k,t.toTopText)),onMouseleave:a[2]||(a[2]=k=>t.onMouseLeaveForTip(k)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c)]),_:1},8,["onClick"]),(0,l.createVNode)(m,{onClick:k=>t.toBottom(b.sortIndex),onMouseover:a[3]||(a[3]=k=>t.onMouseOverForTip(k,t.toBottomText)),onMouseleave:a[4]||(a[4]=k=>t.onMouseLeaveForTip(k))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(c)]),_:1},8,["onClick"])])],40,y8))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var va=Fe(m8,[["render",S8]]),x8={data:{type:[String,Function,Array],required:!1},params:{type:[Object],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},disabledKey:{type:[String],required:!1,default:"disabled"},classKey:{type:[String],required:!1,default:"class"},autoLoad:{type:[Boolean],required:!1,default:()=>!0},props:{type:[Object],required:!1},filterKeyword:{type:[String,Boolean,Number,Object],required:!1},filterNodeMethod:{type:[Function],required:!1},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},C8=class{proxy;constructor(t){this.proxy=t}async load(t,a,n,r,i){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,r);const o=Pe(this.proxy,t);return o===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await o(a,n,r))}};function N8(){return new C8((0,l.getCurrentInstance)().proxy)}function k8(t,a,n){return{props:{...Cn,...x8},setup(r,i){const o=t,s=(0,l.computed)(()=>({[o]:!0})),u=(0,l.ref)([]),e=N8(),c=async(d,z)=>{try{u.value=await e.load("tree",d,z)}catch(M){console.error(M)}},m=(0,l.shallowRef)({}),f=(0,l.computed)(()=>({...m.value,...r.params??{}}));(Array.isArray(r.data)?!0:r.lazy?!1:de(r.autoLoad))&&(0,l.watch)([()=>r.data,()=>f.value],([d,z])=>{d&&c(d,z)},{immediate:!0,deep:!0});let b=null;r.lazy&&(typeof r.load=="function"?b=r.load:b=async(d,z)=>{let M={};r.params&&Object.assign(M,r.params),d&&Object.assign(M,d),z(await e.load("treeselect",r.data,M,!0))});const k={label:r.textKey,value:r.valueKey,children:r.childrenKey,isLeaf:r.leafKey,class:r.classKey,disabled:r.disabedKey,...r.props??{}},v=(d={})=>new Promise(async z=>{m.value={...(0,l.toRaw)(d??{})},await c(r.data,f.value),z()}),h=function(d,z){if(typeof r.filterNodeMethod=="function")return r.filterNodeMethod(d,z);if(!r.filterKeyword)return!0;const M=`${z[k.label]}`,_=`${d}`;return M.includes(_)},$=(0,l.ref)();(0,l.watch)(()=>r.filterKeyword,d=>{$.value.filter(d)});const g=d=>(...z)=>{const M=$.value[d];return Reflect.apply(M,$.value,[...z])};return i.expose({loadData:v,filter:g("filter"),updateKeyChildren:g("updateKeyChildren"),getCheckedNodes:g("getCheckedNodes"),setCheckedNodes:g("setCheckedNodes"),getCheckedKeys:g("getCheckedKeys"),setCheckedKeys:g("setCheckedKeys"),setChecked:g("setChecked"),getHalfCheckedNodes:g("getHalfCheckedNodes"),getHalfCheckedKeys:g("getHalfCheckedKeys"),getCurrentKey:g("getCurrentKey"),getCurrentNode:g("getCurrentNode"),setCurrentKey:g("setCurrentKey"),setCurrentNode:g("setCurrentNode"),getNode:g("getNode"),remove:g("remove"),append:g("append"),insertBefore:g("insertBefore"),insertAfter:g("insertAfter")}),()=>{const d={...Qe(i.attrs),class:s.value,lazy:r.lazy,props:k,ref:S=>$.value=S};b?d.load=b:d.data=u.value,d["filter-node-method"]=h;const z=[],M=(0,l.h)(B.ElTree,d,i.slots);z.push(M);const _={default:()=>z};return(0,l.h)(n,{...lt(r,Cn)},_)}}}}var{componentName:z8,create:E8,scope:T8}=ie("tree-item"),_8=E8(k8(z8,T8,Pl)),ya=_8,cl={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,Boolean,String,Object],default:[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String]},confirmText:{type:[String]},loadText:{type:[String]},noMoreText:{type:[String]},isAutoBackFill:{type:[Boolean]},showHeader:{type:[Boolean],default:!0},showFooter:{type:[Boolean],default:!0},showSearchbar:{type:[Boolean],default:!0},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},popClass:{type:String,required:!1},popStyle:{type:Object,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function $8(t,a,n,r="value"){for(let i=0;i<a.length;i++){let o=a[i];if(r==="text"){if(dl(t,o)===n)return i}else if(r==="item"){if(Ue(n,o))return i}else if(Ko(t,o)===n)return i}return-1}function dl(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Sr(t,a){return typeof t.subTextKey=="string"&&t.subTextKey.length>0?a[t.subTextKey]:a.text}function Ko(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function V8(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}function B8(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var D8=class{proxy;constructor(t){this.proxy=t}async load(t,a,n,r,i,o,s){if(Array.isArray(a)){let e=a;typeof s=="function"&&(e=e.filter(s));let c=(n-1)*r,m=c+r;m>e.length&&(m=e.length);const f=e.slice(c,m);return{totalSize:e.length,page:f}}if(typeof a=="function")return await Reflect.apply(a,null,[n,r,i,o]);const u=Pe(this.proxy,t);return u===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(Ke(i)&&(0,l.isReactive)(i)&&(i=(0,l.toRaw)(i)),await Reflect.apply(u,null,[a,n,r,i]))}};function M8(){return new D8((0,l.getCurrentInstance)().proxy)}function I8(t,a,n,r,i,o,s,u,e,c,m){return{props:{...cl},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(f,{slots:p}){const{emitEvent:b}=Pn(),{toLocaleRefs:k}=(0,Se.useFoxI18n)(a),v=k(f,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),h=M8(),$=(0,l.ref)([]),g=(0,l.ref)(0),d=(0,l.ref)(""),z=(0,l.shallowRef)(null),M=(0,l.computed)(()=>{const T={};return f.params&&Object.assign(T,f.params),fe(d.value)||(T[`${f.searchKey}`]=d.value),z.value&&Object.assign(T,z.value),T});let _=!0;const S=async(T,A,x)=>{try{if(w.value===!1)return;let W=null;fe(d.value)||(W=y=>{const R=dl(f,y);if(typeof R=="string"&&R.includes(d.value))return!0;const j=Sr(f,y);return!!(typeof j=="string"&&j.includes(d.value))});const D=await h.load("actionsheet",T,A,x,M.value,_,W??void 0);_=!1,Array.isArray(D)?($.value=D,g.value=1,w.value=!1):!Array.isArray(D.page)||D.page.length===0?(console.warn("[FoxUI] can not load more data"),w.value=!1):(Reflect.apply([].push,$.value,D.page),g.value=Math.ceil($.value.length/f.pageSize),(D.totalSize&&$.value.length>=D.totalSize||x<D.page.length)&&(w.value=!1)),V.value=!1}catch(W){console.error("[FoxUI] ActionSheet load more data fail",W),w.value=!0,g.value=0,$.value=[]}setTimeout(()=>{b("loaded-data")},250)},V=(0,l.ref)(!1),w=(0,l.ref)(!0),O=async()=>{if(!f.source){V.value=!1;return}await S(f.source,g.value+1,f.pageSize)};(0,l.watch)(()=>d.value,(T,A)=>{fe(T)&&!fe(A)&&O()}),(0,l.watch)([()=>f.source,()=>f.pageSize,()=>f.params],async([T,A,x])=>{f.source&&O()},{immediate:!0});const C=(0,l.computed)(()=>!f.multiple&&f.isAutoBackFill),I=(0,l.ref)([]);let Z=null;const N=(0,l.ref)(f.visible);(0,l.watch)(()=>f.visible,T=>{N.value!==T&&(N.value=T),T?Z=[...I.value]:Z=null});const E=(T,A)=>{const x=[];return Array.isArray(T)||(T=[T]),T.forEach(W=>{let D=$8(f,A,W,f.valueType);D!==-1&&x.push(D)}),Ue(x,I.value)?!1:(I.value=x,!0)};(0,l.watch)([()=>f.modelValue,()=>$.value],([T,A],[x,W])=>{E(T,A)&&q(L())},{deep:!0});const L=()=>{const T=[],A=[],x=[];for(let R of I.value){const j=$.value[R];A.push(j);const te=dl(f,j);if(x.push(te),f.valueType==="item")T.push(j);else if(f.valueType==="text")T.push(te);else{const ae=Ko(f,j);T.push(ae)}}let W=null,D=null,y=null;return f.multiple?(W=T,D=x,y=A):(W=T[0]??null,D=x[0]??null,y=A[0]??null),{value:W,text:D,item:y}},q=T=>{b("update:modelValue",T.value),b("update:text",T.text),b("change",T.value,T.item,T.text)},G=()=>{Z&&(I.value=Z)},X=T=>{const A=I.value.indexOf(T);f.multiple?A===-1?I.value.push(T):I.value.splice(A,1):A===-1?I.value=[T]:I.value=[],(C.value||!f.poppable&&!f.showFooter)&&K()},F=T=>{N.value=T,b("update:visible",T)},ee=()=>{const T=()=>{G(),F(!1)},A=f.beforeMethod??f.beforeClose;if(typeof A=="function"){const x=A("close");hl(x)?x.then(W=>{W!==!1&&T()}).catch(()=>{T()}):x!==!1&&T()}else T()},K=()=>{const T=L(),A=()=>{q(T),F(!1)},x=f.beforeMethod??f.beforeClose;if(typeof x=="function"){const W=x("confirm",T.value,T.item,T.text);hl(W)?W.then(D=>{D!==!1&&A()}).catch(()=>{A()}):W!==!1&&A()}else A()},H=()=>{w.value=!0,g.value=0,$.value=[],f.source&&O()},Y=()=>{let T=v.title.value??"";return p.title&&(T=p.title()),(0,l.h)("view",{class:["fox-actionsheet__header"]},[(0,l.h)("view",{class:["fox-actionsheet__header-title"]},[T]),(0,l.h)(e,{class:["fox-actionsheet__header-icon"],onClick:ee})])},J=()=>{let T=null;return p.search?T=p.search():T=(0,l.h)(o,{onSearch:H,placeholder:v.seachPlaceholder.value,disabled:f.disabled,modelValue:d.value,"onUpdate:modelValue":A=>{d.value=A}},{leftin:()=>(0,l.h)(c)}),(0,l.h)("view",{class:["fox-actionsheet__searchbar"]},[T])},P=(T,A,x,W,D)=>{if(p.optionLabel)return p.optionLabel({text:T,checked:A,disabled:x,subText:W,item:D});const y=[],R=(0,l.h)("view",{class:"fox-actionsheet__list-item-text"},[T]);if(y.push(R),W){const j=(0,l.h)("view",{class:"fox-actionsheet__list-item-subtext"},[W]);y.push(j)}return(0,l.h)("view",{class:["fox-actionsheet__list-item-label"]},y)},Q=(T,A,x,W)=>p.optionIcon?p.optionIcon({checked:T,disabled:A,iconSize:x,item:W}):T?p.checkedIcon?p.checkedIcon({disabled:A,item:W}):(0,l.h)(f.checkedIcon??u,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}):p.icon?p.icon({disabled:A,item:W}):(0,l.h)(f.icon??s,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}),le=()=>{const T=[];for(let A=0;A<$.value.length;A++){const x=$.value[A],W=dl(f,x),D=Sr(f,x),y=["fox-actionsheet__list-item"],R={};let j=V8(f,x),te=f.iconSize?me(f.iconSize):null;const ae=B8(f,x,A);ae&&(j=j||ae.disabled,ae.class&&y.push(ae.class),ae.style&&Object.assign(R,ae.style)),j=!!(f.disabled||j);const oe=I.value.includes(A);j&&y.push("is-disabled"),oe&&y.push("is-checked");const he={class:y,style:R,key:`${A}`,onClick:()=>{j||X(A)}};let xe=[];if(p.option)xe.push(p.option({item:x,checked:oe,disabled:j}));else{const Xe=P(W,oe,j,D,x);xe.push(Xe);const ut=Q(oe,j,te,x);xe.push(ut)}const Te=(0,l.h)("view",he,xe);T.push(Te)}return T},U=()=>{let T=[];if(p.buttons)T=p.buttons();else{const A=(0,l.h)(i,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:K,disabled:f.disabled},{default:()=>v.confirmText.value});T.push(A)}return(0,l.h)("view",{class:"fox-actionsheet__footer"},[T])};return be({search:async(T=null,A=!0)=>{z.value=T&&(0,l.toRaw)(T),(0,l.triggerRef)(z),A&&(w.value=!0,g.value=0,$.value=[]),(0,l.nextTick)(()=>{O()})},clear:()=>{w.value=!0,g.value=0,$.value=[]},confirm:()=>{K()},cancel:()=>{ee()}}),()=>{const T=[];if(f.showHeader){const j=Y();T.push(j)}if(f.showSearchbar){const j=J();T.push(j)}let A=null;if(p.content)A=p.content();else{const j=le();A=(0,l.h)(r,{hasMore:w.value,loadText:v.loadText.value,noMoreText:v.noMoreText.value,modelValue:V.value,"onUpdate:modelValue":te=>{V.value=te},onLoadMore:O},{default:()=>j})}const x={};f.optionsHeight&&(x.height=f.optionsHeight);const W={"fox-actionsheet__list":!0};f.poppable||(W["fox-actionsheet__list--inner"]=!0);const D=(0,l.h)("view",{class:W,style:x},[A]);if(T.push(D),f.showFooter&&!C.value){const j=U();T.push(j)}const y=(0,l.h)("view",{class:"fox-actionsheet"},T);if(!f.poppable)return y;const R=["fox-actionsheet__popup"];return f.popClass&&R.push(f.popClass),(0,l.h)(n,{popClass:R.join(" "),visible:N.value,closeable:!1,"onUpdate:visible":F,position:f.position,round:"round",onClickOverlay:ee,closeOnClickOverlay:f.closeOnClickOverlay},{default:()=>y})}}}}var A8=/scroll|auto|overlay/i,Yo=window;function L8(t){return t.tagName!=="HTML"&&t.tagName!=="BODY"&&t.nodeType===1}function P8(t,a=Yo){let n=t;for(;n&&n!==a&&L8(n);){const{overflowY:r}=window.getComputedStyle(n);if(A8.test(r))return n;n=n.parentNode}return a}function Wo(t,a=Yo){const n=(0,l.ref)();return(0,l.onMounted)(()=>{t.value&&(n.value=P8(t.value,a))}),n}var Uo=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,F8={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},noMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1}};function R8(t,a,n){return{props:{...F8},emits:["scroll-change","load-more","update:modelValue"],setup(r,{emit:i,slots:o}){const{toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["pullText","loadText","noMoreText"]),e=(0,l.ref)(),c=Wo(e),m=(0,l.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),f=(0,l.computed)(()=>({[t]:!0})),p=g=>g?g.offsetTop+p(g.offsetParent):0,b=()=>{let g=0,d=0,z="down";if(c.value==window){const M=Uo();e.value&&(g=p(e.value)+e.value.offsetHeight-M-window.innerHeight),d=M}else{const{scrollHeight:M,clientHeight:_,scrollTop:S}=c.value;g=M-_-S,d=S}return m.beforeScrollTop>d?z="up":z="down",m.beforeScrollTop=d,i("scroll-change",d),g<=r.threshold&&z=="down"},k=()=>{$n(()=>{if(!b()||!r.hasMore||m.isInfiniting)return!1;m.isInfiniting=!0,i("update:modelValue",!0),(0,l.nextTick)(()=>i("load-more"))})},v=()=>{c.value&&c.value.addEventListener("scroll",k,r.useCapture)},h=()=>{c.value&&c.value.removeEventListener("scroll",k,r.useCapture)};(0,l.onMounted)(()=>{v(),r.immediate&&k()}),(0,l.onUnmounted)(()=>{h()});const $=(0,l.ref)(!1);return(0,l.onActivated)(()=>{$.value&&($.value=!1,v())}),(0,l.onDeactivated)(()=>{$.value=!0,h()}),(0,l.watch)(()=>r.modelValue,g=>{g||(m.isInfiniting=!1)}),()=>{const g=(0,l.h)("view",{class:"fox-infinite__container"},[o?.default?.()]),d=[];if(m.isInfiniting){let M=o?.loading?.()??null;if(!M){let S=o?.loadingIcon?.()??null;S||(S=(0,l.h)(n,{class:["fox-infinite__bottom-box__img"]}));const V=(0,l.h)("view",{class:"fox-infinite__bottom-box__text"},[u.loadText.value]);M=[S,V]}const _=(0,l.h)("view",{class:"fox-infinite__bottom-box"},M);d.push(_)}else if(!r.hasMore){let M=o?.finished?.()??null;M||(M=(0,l.h)("view",{class:"fox-infinite__bottom-tips"},[u.noMoreText.value]),d.push(M))}const z=(0,l.h)("view",{class:"fox-infinite__bottom"},d);return(0,l.h)("view",{class:f.value,ref:e},[g,z])}}}}var{componentName:O8,create:H8,scope:q8}=ie("infinite-loading"),j8=H8(R8(O8,q8,Zt)),Kl=j8,K8={modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String},clearable:{type:Boolean,default:!0},clearIcon:{type:Object},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},Y8=(t,a,n)=>({props:{...K8},emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(r,{slots:i}){const{emitEvent:o}=Pn(),{toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["placeholder"]),e=(0,l.reactive)({active:!1}),c=(0,l.computed)(()=>({background:r.background})),m=(0,l.computed)(()=>({background:r.inputBackground})),f=w=>{let O=w.target.value;r.maxLength&&O.length>Number(r.maxLength)&&(O=O.slice(0,Number(r.maxLength))),o("update:modelValue",O,w),o("change",O,w)},p=(0,l.ref)({}),b=w=>{let O=w.target.value;e.active=!0,p.value=r.focusStyle,o("focus",O,w)},k=w=>{setTimeout(()=>{e.active=!1},0);let O=w.target.value;r.maxLength&&O.length>Number(r.maxLength)&&(O=O.slice(0,Number(r.maxLength))),p.value={},o("blur",O,w)},v=w=>{o("update:modelValue","",w),o("change","",w),o("clear","")},h=(0,l.computed)(()=>String(r.modelValue).length>0),$=(0,l.computed)(()=>{const w={};return h.value||(w.display="none"),w}),g=()=>{o("search",r.modelValue)},d=w=>{o("keyup-input",w),w.key.toLocaleUpperCase()==="ENTER"&&g()},z=w=>{o("click-input",w)},M=w=>{o("click-left-icon",r.modelValue,w)},_=(0,l.computed)(()=>({textAlign:r.inputAlign})),S=(0,l.ref)(null);(0,l.onMounted)(()=>{r.autofocus&&S.value.focus()});const V=()=>{const w=[];if(i.leftin){const I=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-left-search-icon`],onClick:M},[i.leftin()]);w.push(I)}const O=(0,l.h)("input",{ref:S,class:[`${t}__input-inner`],style:_.value,type:r.inputType,maxlengt:r.maxLength,placeholder:u.placeholder.value,value:r.modelValue,disabled:r.disabled,readonly:r.readonly,onClick:z,onInput:f,onFocus:b,onBlur:k,onkeyup:d});w.push(O);const C=[];if(r.clearable){const I=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-clear-icon`],style:$.value,onClick:v},[(0,l.h)(i?.clear?.()??r.clearIcon??n)]);C.push(I)}if(i.rightin){const I=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-right-search-icon`]},[i.rightin()]);C.push(I)}if(C.length>0){const I=(0,l.h)("view",{class:`${t}__input-inner-right`},C);w.push(I)}return(0,l.h)("view",{class:[`${t}__search-input`,`${r.shape}`],style:{...m.value,...p.value}},w)};return()=>{const w=[];if(r.label){const C=(0,l.h)("span",{class:`${t}__search-label`},[r.label]);w.push(C)}if(i.leftout){const C=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__left-search-icon`]},[i.leftout()]);w.push(C)}const O=V();if(w.push(O),i.rightout){const C=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__right-search-icon`]},[i.rightout()]);w.push(C)}return(0,l.h)("view",{class:`${t}`,style:c.value},w)}}}),{componentName:W8,create:U8,scope:G8}=ie("searchbar"),X8=U8(Y8(W8,G8,$e.CircleClose)),Yl=X8,{componentName:Z8,create:J8,scope:Q8}=ie("actionsheet-pane"),e7=J8(I8(Z8,Q8,wt,Kl,B.ElButton,Yl,Sd,gd,Fo,M1,!1)),Wl=e7,xr={type:{type:String,default:"text"},placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function t7(t,a,n,r,i){return{props:{...Ce,...ze,...xr,...cl},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(o,s){const u=(0,l.ref)(null),e=Ae((0,l.computed)(()=>u.value??o.disabled)),c=(0,l.ref)(null),m=Ie((0,l.computed)(()=>c.value??o.readonly)),{emitEvent:f}=Ee({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return m.value},get disabled(){return e.value}},o.prop??s.attrs.name),{toLocaleRefs:p}=(0,Se.useFoxI18n)(a),b=p(o,["placeholder"]),k=(0,l.ref)(!1),v=ge(o,"modelValue",null,f),h=(0,l.ref)(""),$=(0,l.computed)(()=>Array.isArray(h.value)?h.value.join(o.separator):h.value),g="fox-input-item",d=(0,l.computed)(()=>({[g]:!0,[`${g}__disabled`]:e.value})),z=De((0,l.computed)(()=>o.textAlign),"textAlign"),M=(0,l.computed)(()=>{const q={};return z.value&&(q["text-align"]=z.value),q}),_=(0,l.ref)(!1),S=()=>{_.value=!0},V=q=>{_.value=q},w=q=>{v.value=q,f("update:modelValue",q)},O=(q,G)=>{f("change",q,G)},C=q=>{let G=q.target.value;k.value=!0,f("focus",G,q)},I=q=>{setTimeout(()=>{k.value=!1},0);let G=q.target.value;o.maxLength&&G.length>Number(o.maxLength)&&(G=G.slice(0,Number(o.maxLength))),f("blur",G,q)},Z=q=>{h.value=q,f("update:text",q)},N=(0,l.computed)(()=>Je(o.unit)>0),E=(0,l.ref)(),L=(0,l.ref)(null);return be({focus:()=>{E?.value.focus()},blur:()=>{E?.value.blur()},select:()=>{E?.value.select()},search:q=>{L.value&&L.value.search(q)},clear:()=>{L.value&&L.value.clear},confirm:q=>{L.value&&L.value.confirm()},cancel:()=>{L.value&&L.value.cancel()},setDisabled:q=>{u.value=q},setReadonly:q=>{c.value=q}}),()=>{const q={ref:E,class:d.value,style:M.value,type:"text",maxlength:o.maxLength,placeholder:b.placeholder.value,readonly:!0,value:$.value,onClick:S,onFocus:C,onBlur:I},G={};s.slots.prepend&&(G.prepend=s.slots.prepend),s.slots.append&&(G.append=s.slots.append),s.slots.prefix&&(G.prefix=s.slots.prefix),s.slots.suffix?G.suffix=s.slots.suffix:N.value?G.suffix=()=>[o.unit]:G.suffix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)($e.ArrowDown)});const X=[],F=(0,l.h)(B.ElInput,q,G);X.push(F);const ee={default:()=>X};ee.label=s.slots.default,ee.prepend=s.slots.prepend,ee.append=s.slots.append,ee.fixedPreTip=s.slots.fixedPreTip,ee.fixedTip=s.slots.fixedTip;const K=lt(o,cl);K.ref=L,K.class=o.actionsheetProps,K.disabled=e.value||m.value,K.visible=_.value,K["onUpdate:visible"]=V,K.modelValue=v.value,K["onUpdate:modelValue"]=w,K.text=h.value,K["onUpdate:text"]=Z,K.onChange=O,K.poppable=!0;const H=(0,l.h)(r,K,{title:s.slots.title,search:s.slots.search,option:s.slots.option,optionLabel:s.slots.optionLabel,optionIcon:s.slots.optionIcon,buttons:s.slots.buttons});ee.hide=()=>[H];const Y={...Me(o,xr,cl)};return o.prop&&(Y.prop=`${o.prop}_item`),(0,l.h)(n,Y,ee)}}}}var{componentName:l7,create:n7,scope:a7}=ie("actionsheet-item"),r7=n7(t7(l7,a7,ke,Wl)),ba=r7,Go={readonly:{type:Boolean,default:!1},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:360}},wa={...ta,...Go,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:!0}};function o7(t){return t===window}var Sa=t=>{const a=(0,l.unref)(t);if(o7(a)){const n=a.innerWidth,r=a.innerHeight;return{top:0,left:0,right:n,bottom:r,width:n,height:r}}return a&&a.getBoundingClientRect?a.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Cr=10;function Xo(t,a){return t>a&&t>Cr?"horizontal":a>t&&a>Cr?"vertical":""}function Jt(){const t=window.navigator.userAgent;return"ontouchstart"in window||t.indexOf("touch")!==-1||t.indexOf("mobile")!==-1}function Qt(){const t={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},a=()=>t.direction==="vertical",n=()=>t.direction==="horizontal",r=()=>{t.deltaX=0,t.deltaY=0,t.offsetX=0,t.offsetY=0,t.direction="",t.startTime=0};return{move:(s=>{if(s.touches){const u=s.touches[0];t.deltaX=u.clientX-t.startX,t.deltaY=u.clientY-t.startY,t.moveX=u.clientX,t.moveY=u.clientY}else{const u=s;t.deltaX=u.clientX-t.startX,t.deltaY=u.clientY-t.startY,t.moveX=u.clientX,t.moveY=u.clientY}t.offsetX=Math.abs(t.deltaX),t.offsetY=Math.abs(t.deltaY),t.duration=Date.now()-t.startTime,t.direction||(t.direction=Xo(t.offsetX,t.offsetY))}),start:(s=>{if(r(),s.touches){const u=s.touches[0];t.startX=u.clientX,t.startY=u.clientY}else{const u=s;t.startX=u.clientX,t.startY=u.clientY}t.startTime=Date.now()}),reset:r,isVertical:a,isHorizontal:n,state:t}}function Zo(){const t=(0,l.ref)(0),a=(0,l.ref)(0),n=(0,l.ref)(0),r=(0,l.ref)(0),i=(0,l.ref)(0),o=(0,l.ref)(0),s=(0,l.ref)(0),u=(0,l.ref)(0),e=(0,l.ref)(0),c=(0,l.ref)(0),m=(0,l.ref)(""),f=()=>m.value==="vertical",p=()=>m.value==="horizontal",b=()=>{s.value=0,u.value=0,e.value=0,c.value=0,m.value="",n.value=0};return{move:(h=>{if(h.touches){const $=h.touches[0];s.value=$.clientX-t.value,u.value=$.clientY-a.value,i.value=$.clientX,o.value=$.clientY}else{const $=h;s.value=$.clientX-t.value,u.value=$.clientY-a.value,i.value=$.clientX,o.value=$.clientY}e.value=Math.abs(s.value),c.value=Math.abs(u.value),r.value=Date.now()-n.value,m.value||(m.value=Xo(e.value,c.value))}),start:(h=>{if(b(),h.touches){const $=h.touches[0];t.value=$.clientX,a.value=$.clientY}else{const $=h;t.value=$.clientX,a.value=$.clientY}n.value=Date.now()}),reset:b,startX:t,startY:a,startTime:n,duration:r,moveX:i,moveY:o,deltaX:s,deltaY:u,offsetX:e,offsetY:c,direction:m,isVertical:f,isHorizontal:p}}var Jo=36;function i7(){return Jo}function s7(t){Jo=t}function et(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function zn(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]:a.children??null}function u7(t,a,n){typeof t.childrenKey=="string"&&t.childrenKey.length>0&&(a[t.childrenKey]=n),a.children=n}function bt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function Nr(t,a){return typeof t.itemOptions=="function"?t.columnOptions(a):t.columnOptions}var c7=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n))}};function d7(){return new c7((0,l.getCurrentInstance)().proxy)}function kr(t,a,n){return!(et(t,a)!==et(t,n)||bt(t,a)!==bt(t,n))}function f7(t,a,n,r){if(n.length==0)return[];Array.isArray(a)||(a=[a]);const i=[],o=t.valueType??"value";if(r==="singleColumn"||r==="multipleColumn")for(let s=0;s<a.length&&s<n.length;s++){const u=a[s];let e=n[s].findIndex(c=>{if(o==="text")return et(t,c)===u;if(o==="value"){let m=bt(t,c);return m==null&&(m=et(t,c)),m===u}else if(o==="item")return kr(t,c,u)});if(e==-1)break;i.push(e)}else{let s=n[0];for(let u=0;u<a.length;u++){const e=a[u];let c=s.findIndex(f=>{if(o==="text")return et(t,f)===e;if(o==="value"){let p=bt(t,f);return p==null&&(p=et(t,f)),p===e}else if(o==="item")return kr(t,f,e)});if(c==-1)break;i.push(c);const m=zn(t,s[c]);if(!Array.isArray(m))break;s=m}}return i}function zr(t,a,n,r){if(n.length==0)return null;const i={texts:[],values:[],items:[]},o=t.valueType??"value";if(r==="singleColumn"||r==="multipleColumn")for(let s=0;s<a.length&&s<n.length;s++){const u=n[s];let e=a[s];e<0&&e>=u.length&&(e=0);const c=u[e],m=et(t,c);if(i.texts.push(m),i.items.push(c),o==="text")i.values.push(m);else if(o==="value"){let f=bt(t,c);f==null&&(f=m),i.values.push(f)}else i.values.push(c)}else{let s=n[0];for(let u=0;u<a.length;u++){let e=a[u];e<0&&e>=s.length&&(e=0);const c=s[e],m=et(t,c),f=Object.assign({},c);if(f.children=null,i.texts.push(m),i.items.push(f),o==="text")i.values.push(m);else if(o==="value"){let p=bt(t,c);p==null&&(p=m),i.values.push(p)}else i.values.push(f);if(!Array.isArray(c.children))break;s=c.children}}return i}function Er(t){return{text:t,value:t}}var m7=15,h7=300,p7=200,{create:g7}=ie("picker-column");function v7(t){t.stopPropagation()}function y7(t,a){(typeof t.cancelable!="boolean"||t.cancelable)&&t.preventDefault(),a&&v7(t)}var b7=g7({props:{source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},visible:{type:Boolean,default:!1},...Go},emits:["click","change","update:modelValue"],setup(t,{emit:a}){const n=(0,l.computed)(()=>({"fox-picker__list":!0})),r=(0,l.computed)(()=>({height:`${ve(t.visibleItemCount)*+t.itemHeight}px`})),i=(0,l.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!t.threeDimensional,"fox-picker__content-roller":t.threeDimensional})),o=(0,l.computed)(()=>t.itemHeight*Math.floor(+t.visibleItemCount/2)),s=S=>S>=f.currIndex+8||S<=f.currIndex-8,u=(0,l.computed)(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${f.deg})`,top:`${o.value}px`})),e=S=>`transform: rotate3d(1, 0, 0, ${-f.rotation*S}deg) translate3d(0px, 0px, 104px)`,c=(0,l.computed)(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${f.scrollDistance+o.value}px, 0)`})),m=(0,l.ref)(null),f=(0,l.reactive)({currIndex:t.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),p=S=>et(t,S),b=S=>bt(t,S),k=Zo(),v=()=>{f.transitionEndTrigger&&(f.transitionEndTrigger(),f.transitionEndTrigger=null)},h=(S,V=!1,w=!1)=>{if(f.currIndex=S,V){const O=()=>{f.moving=!1,a("update:modelValue",S),a("change",S)};w?f.transitionEndTrigger=O:O()}},$=(S,V,w)=>{let O=S+f.startDistance;if(V==="end"){const C=-(t.source.length-1)*t.itemHeight;O<C&&(O=C),O>0&&(O=0);let I=Math.abs(Math.round(-O/t.itemHeight));const Z=-I*t.itemHeight,N=`${(I+1)*f.rotation}deg`;h(I,!0,w?w>0:!1),g(Z,V,w,N)}else{let C=(-O/t.itemHeight+1)*f.rotation;const I=(t.source.length+1)*f.rotation,Z=0;if(C=Math.min(Math.max(C,Z),I),t.threeDimensional&&(C<Z||C>I))return;g(O,null,void 0,`${C}deg`)}},g=(S=0,V,w=p7,O)=>{V==="end"?f.scrollTime=w:f.scrollTime=0,f.deg=O,f.scrollDistance=S},d=(S,V)=>(S=Math.abs(S/V)/.003*(S<0?-1:1),S),z=S=>{t.readonly||(f.startDistance=f.scrollDistance,k.start(S),f.transitionEndTrigger=null)},M=S=>{t.readonly||(f.moving=!0,k.move(S),k.isVertical()&&(f.moving=!0,y7(S,!0)),$(k.deltaY.value,"",0))},_=()=>{if(t.readonly)return;const S=k.deltaY.value,V=k.duration.value;V<h7&&Math.abs(S)>m7?$(d(S,V),"end",t.swipeDuration):$(S,"end",0)};return(0,l.watch)(()=>t.modelValue,S=>{const V=f.currIndex-S;V!==0&&(f.currIndex=S,f.startDistance=f.scrollDistance,$(V*t.itemHeight,"",0))}),(0,l.watch)(()=>t.source,S=>{if(f.currIndex>=S.length){const V=(S.length-1-f.currIndex)*t.itemHeight;f.startDistance=f.scrollDistance,$(V,"end",0)}}),(0,l.watch)(()=>t.visible,S=>{S===!1&&v()}),(0,l.onMounted)(()=>{$(-t.modelValue*t.itemHeight)}),{classes:n,styles:r,contentClasses:i,itemText:p,itemValue:b,...(0,l.toRefs)(f),roller:m,getItemText:et,onTouchStart:z,onTouchMove:M,onTouchEnd:_,isHidden:s,setRollerStyle:e,touchRollerStyle:u,touchTileStyle:c,stopMomentum:v}}}),w7={key:1,class:"fox-picker__item-tile"};function S7(t,a,n,r,i,o){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles),onTouchstart:a[0]||(a[0]=(...s)=>t.onTouchStart&&t.onTouchStart(...s)),onTouchmove:a[1]||(a[1]=(...s)=>t.onTouchMove&&t.onTouchMove(...s)),onTouchend:a[2]||(a[2]=(...s)=>t.onTouchEnd&&t.onTouchEnd(...s)),onTouchcancel:a[3]||(a[3]=(...s)=>t.onTouchEnd&&t.onTouchEnd(...s)),onTransitionend:a[4]||(a[4]=(...s)=>t.stopMomentum&&t.stopMomentum(...s))},[(0,l.createElementVNode)("view",{ref:"roller",class:(0,l.normalizeClass)(t.contentClasses),style:(0,l.normalizeStyle)(t.threeDimensional?t.touchRollerStyle:t.touchTileStyle)},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.source,(s,u)=>((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:`${t.columnIndex}_${u}`},[t.threeDimensional?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":t.isHidden(u+1)}]),style:(0,l.normalizeStyle)(t.setRollerStyle(u+1))},(0,l.toDisplayString)(t.itemText(s)),7)):((0,l.openBlock)(),(0,l.createElementBlock)("view",w7,(0,l.toDisplayString)(t.itemText(s)),1))],64))),128))],6)],38)}var x7=Fe(b7,[["render",S7]]),{create:C7,componentName:N7,scope:k7}=ie("picker"),z7=C7({components:{PickerColumn:x7,Popup:wt},props:{...wa},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(t,{emit:a}){const{toLocaleRefs:n,t:r}=(0,Se.useFoxI18n)(k7),i=n(t,["title","cancelText","clearText","confirmText"]),o=(0,l.ref)(null),s=(0,l.ref)(i7());(0,l.watch)(()=>t.visible,C=>{C&&s.value<=0&&setTimeout(()=>{o.value&&(s.value=Sa(o.value).height,s7(s.value))},50)});const u=(0,l.computed)(()=>({[N7]:!0})),e=d7(),c=(0,l.ref)("singleColumn");let m=(0,l.ref)([]);(0,l.watch)([()=>t.source,()=>t.params],async([C,I])=>{if(C){let Z=await e.load("select",C,I);if(Z.length>0){let N=Z[0];if(Array.isArray(N)){if(typeof N[0]=="string"){let E=Z,L=[];E.forEach(q=>{let G=q.map(X=>Er(X));L.push(G)}),m.value=L}else m.value=Z;c.value="multipleColumn"}else if(typeof N=="string"){let E=Z,L=[],q=E.map(G=>Er(G));L.push(q),m.value=L,c.value="singleColumn"}else{const E=zn(t,N);Array.isArray(E)?(c.value="cascade",m.value=[Z]):(c.value="singleColumn",m.value=[Z])}}else m.value=[]}},{immediate:!0});const f=(0,l.ref)([]),p=(0,l.ref)(t.modelValue),b=(0,l.ref)([]),k=(0,l.ref)([]);(0,l.watch)([()=>t.modelValue,()=>m.value],([C,I])=>{let Z=f7(t,C,I,c.value);if(!Ue(Z,k.value)){k.value=Z;let N=zr(t,Z,I,c.value);N&&(f.value=N.texts,a("update:text",f.value))}});const v=(0,l.ref)(t.visible);(0,l.watch)(()=>t.visible,C=>{v.value=C});const h=C=>{let I=Nr(t,C);return Ke(I)?I.defaultIndex??0:0},$=C=>{if(t.readonly===!0)return!0;let I=Nr(t,C);return Ke(I)?I.readonly??!1:!1},g=(C,I)=>{let Z=k.value;Z[C]=I;for(let E=0;E<C;E++)Z[E]==null&&(Z[E]=h(E));if(c.value==="cascade")for(let E=C+1;E<z.value.length;E++){let L=h(E);E<Z.length?Z[E]=L:Z.push(L)}else for(let E=Z.length;E<z.value.length;E++){let L=h(E);Z.push(L)}k.value=Z;let N=zr(t,Z,m.value,c.value);N&&(f.value=N.texts,p.value=N.values,b.value=N.items)},d=C=>C<k.value.length?k.value[C]:h(C),z=(0,l.computed)(()=>{if(m.value.length==0)return[];if(c.value=="singleColumn"||c.value=="multipleColumn")return m.value;let C=[],I=0,Z=m.value[0],N=0;for(;;){let E=Z.map(G=>{let X=Object.assign({},G);return u7(t,X,null),X});C.push(E),I>=k.value.length?N=0:N=k.value[I],(N<0||N>=Z.length)&&(N=0);let L=Z[N];const q=zn(t,L);if(!Array.isArray(q))break;Z=q,I++}return C}),M=(0,l.computed)(()=>ve(+t.visibleItemCount-1)/2*s.value),_=(C=!1)=>{if(t.readonly===!0){C&&a("update:visible",!1);return}let I=m.value.length-1;for(;I>=0&&!(k.value[I]===null||k.value[I]===void 0);I--);if(I>=0&&g(I,0),c.value==="singleColumn"){let Z=p.value.length>0?p.value[0]:"",N=b.value.length>0?b.value[0]:null;a("update:modelValue",Z),a("update:text",f.value),a("change",Z,N),C&&(a("confirm",Z),a("update:visible",!1))}else a("update:modelValue",p.value),a("update:text",f.value),a("change",p.value,b.value),C&&(a("confirm",p.value),a("update:visible",!1))};return{...i,pickerLineRef:o,classes:u,columns:z,dataType:c,show:v,itemHeight:s,top:M,isReadonly:$,getIndex:d,change:(C,I)=>{g(C,I),t.isAutoBackFill&&_(!v.value)},close:()=>{a("close"),a("update:visible",!1)},confirm:()=>{_(!0)},clear:()=>{if(t.readonly===!0){a("update:visible",!1);return}c.value==="singleColumn"?(a("update:modelValue",""),a("change","")):(a("update:modelValue",[]),a("change",[])),a("clear",""),a("update:visible",!1)}}}}),E7={class:"fox-picker__bar"},T7={class:"fox-picker__title"},_7={class:"fox-picker__bar__action"},$7={class:"fox-picker__column"};function V7(t,a,n,r,i,o){const s=(0,l.resolveComponent)("PickerColumn"),u=(0,l.resolveComponent)("Popup");return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes)},[(0,l.createVNode)(u,{position:"bottom",visible:t.show,"onUpdate:visible":a[3]||(a[3]=e=>t.show=e),teleport:t.teleport,"lock-scroll":t.lockScroll,"close-on-click-overlay":t.closeOnClickOverlay,onClose:t.close,round:!0,"teleport-disable":t.teleportDisable},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("view",E7,[(0,l.createElementVNode)("view",T7,(0,l.toDisplayString)(t.title),1),(0,l.createElementVNode)("view",_7,[(0,l.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:a[0]||(a[0]=(...e)=>t.close&&t.close(...e))},(0,l.toDisplayString)(t.cancelText),1),(0,l.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:a[1]||(a[1]=(...e)=>t.confirm&&t.confirm(...e))},(0,l.toDisplayString)(t.confirmText),1),t.clearText?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:a[2]||(a[2]=(...e)=>t.clear&&t.clear(...e))},(0,l.toDisplayString)(t.clearText),1)):(0,l.createCommentVNode)("",!0)])]),(0,l.renderSlot)(t.$slots,"top"),(0,l.createElementVNode)("view",$7,[(0,l.createElementVNode)("view",{class:"fox-picker__mask",style:(0,l.normalizeStyle)({backgroundSize:`100% ${t.top}px`})},null,4),(0,l.createElementVNode)("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:(0,l.normalizeStyle)({top:` ${t.top}px`})},null,4),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.columns,(e,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:c,class:"fox-picker__columnitem"},[(0,l.createVNode)(s,{visible:t.show,source:e,readonly:t.isReadonly(c),"column-index":c,modelValue:t.getIndex(c),"onUpdate:modelValue":m=>t.change(c,m),"visible-item-count":t.visibleItemCount,"three-dimensional":t.threeDimensional,"swipe-duration":t.swipeDuration,"item-height":t.itemHeight,"text-key":t.textKey,"value-key":t.valueKey},null,8,["visible","source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),(0,l.renderSlot)(t.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}var el=Fe(z7,[["render",V7]]),Tr={...wa,placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String}};function B7(t,a,n){return{props:{...Ce,...ze,...Tr},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,i){const o=(0,l.ref)(null),s=Ae((0,l.computed)(()=>o.value??r.disabled)),u=(0,l.ref)(null),e=Ie((0,l.computed)(()=>u.value??r.readonly)),{emitEvent:c}=Ee({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return e.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:m}=(0,Se.useFoxI18n)(a),f=m(r,["placeholder"]),p=(0,l.ref)(!1),b=t,k=(0,l.computed)(()=>({[b]:!0})),v=De((0,l.computed)(()=>r.textAlign),"textAlign"),h=(0,l.computed)(()=>({textAlign:v.value??"right"})),$=ge(r,"modelValue",null,c),g=(0,l.ref)([]),d=(0,l.computed)(()=>Array.isArray(g.value)?g.value.join(" "):g.value),z=(0,l.ref)(!1),M=()=>{z.value=!0},_=q=>{z.value=q},S=q=>{$.value=q,c("update:modelValue",q)},V=q=>{g.value=q,Array.isArray(q)&&q.length===0?c("update:text",q[0]):c("update:text",q)},w=(q,G)=>{c("change",q,G)};let O=ge(r,"hintText"),C=(0,l.ref)(!1);const I=q=>{let G=q.target.value;p.value=!0,fe(O.value)||(C.value=!0),c("focus",G,q)},Z=q=>{setTimeout(()=>{C.value&&(C.value=!1),p.value=!1},0);let G=q.target.value;r.maxLength&&G.length>Number(r.maxLength)&&(G=G.slice(0,Number(r.maxLength))),z.value?setTimeout(()=>{c("blur",G,q)},50):c("blur",G,q)},N=()=>{c("clear","")},E=(0,l.computed)(()=>Je(r.unit)>0),L=(0,l.ref)();return be({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:q=>{o.value=q},setReadonly:q=>{u.value=q}}),()=>{const q={class:k.value,style:h.value,type:"text",maxlength:r.maxLength,placeholder:f.placeholder.value,clearable:de(r.clearable),readonly:!0,value:d.value,onClick:M,onFocus:I,onBlur:Z},G={};i.slots.prepend&&(G.prepend=i.slots.prepend),i.slots.append&&(G.append=i.slots.append),i.slots.prefix&&(G.prefix=i.slots.prefix),i.slots.suffix?G.suffix=i.slots.suffix:E.value?G.suffix=()=>[r.unit]:G.suffix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)($e.ArrowDown)});const X=[],F=(0,l.h)(B.ElInput,q,G);X.push(F);const ee={default:()=>X};ee.label=i.slots.default,ee.fixedPreTip=i.slots.fixedPreTip,ee.fixedTip=i.slots.fixedTip;const K=lt(r,wa);K.disabled=!1,K.readonly=s.value||e.value,K.visible=z.value,K["onUpdate:visible"]=_,K.modelValue=$.value,K["onUpdate:modelValue"]=S,K.text=g.value,K["onUpdate:text"]=V,K.onClear=N,K.onChange=w;const H=(0,l.h)(el,K);ee.hide=()=>[H];const Y={...Me(r,Tr),hintText:O.value,hintVisible:C.value};return r.prop&&(Y.prop=`${r.prop}_item`),(0,l.h)(n,Y,ee)}}}}var{componentName:D7,create:M7,scope:I7}=ie("picker-item"),A7=M7(B7(D7,I7,ke)),xa=A7;function L7(t,a,n,r){return{props:{...Ce,...ze,placeholder:{type:String},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur","change"],setup(i,o){const s=Ae((0,l.computed)(()=>i.disabled)),u=Ie((0,l.computed)(()=>i.readonly)),{emitEvent:e}=Ee({componentName:t,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return u.value},get disabled(){return s.value}},i.prop??o.attrs.name),{toLocaleRefs:c}=(0,Se.useFoxI18n)(a),m=c(i,["placeholder"]),f=(0,l.ref)(i.modelValue);(0,l.watch)(()=>i.modelValue,I=>{f.value=I,e("change",I)});const p=(0,l.computed)(()=>({[`${t}`]:!0})),b=(0,l.computed)(()=>({[`${t}__main`]:!0,[`${t}__placeholder`]:!s.value&&fe(f.value),"is-disabled":s.value,"is-readonly":u.value})),k=De((0,l.computed)(()=>i.textAlign),"textAlign"),v=(0,l.computed)(()=>{const I={};return k.value&&(I["text-align"]=k.value),I}),h=(0,l.computed)(()=>!fe(i.modelValue)||o.slots.main?!0:!!fe(i.desc)),$=(0,l.computed)(()=>fe(f.value)?m.placeholder.value:f.value),g=(0,l.computed)(()=>!fe(i.desc)||o.slots.sub),d=(0,l.computed)(()=>({[`${t}__sub`]:!0})),z=(0,l.computed)(()=>{const I={};return k.value&&(I["text-align"]=k.value),I}),M=()=>{e("focus",f.value)},_=()=>{e("blur",f.value)},S=(0,l.computed)(()=>({[`${t}__append`]:!0,"is-disabled":s.value,"is-readonly":u.value})),V=(0,l.computed)(()=>Je(i.unit)>0),w=I=>{s.value==!0||u.value==!0||e("click")},O=(0,l.computed)(()=>i.icon??n),C=(0,l.computed)(()=>({action:!0}));return()=>{const I=[];if(typeof o.slots.content=="function"){const F=o.slots.content();I.push(F)}else{const F=[];if(h.value){const K={tabIndex:0,class:b.value,style:v.value,onFocus:M,onBlur:_};let H=null;o.slots.main?H=(0,l.h)("view",K,[o.slots.main($.value)]):H=(0,l.h)("view",K,[$.value]),F.push(H)}if(g.value){const K={tabIndex:0,class:d.value,style:z.value,onFocus:M,onBlur:_};let H=null;o.slots.sub?H=(0,l.h)("view",K,[o.slots.sub(i.desc)]):H=(0,l.h)("view",K,[i.desc]),F.push(H)}const ee=(0,l.h)("view",{class:p.value,onClick:w},F);I.push(ee)}const Z=[],N=me(i.iconSize);let E=o.slots.icon;if(!E){const F={width:N,height:N,class:["action-icon"]};E=(0,l.h)(O.value,F)}const L=(0,l.h)("view",{class:C.value,onClick:w},{default:()=>[E]});if(Z.push(L),V.value){const F=(0,l.h)("view",{},[i.unit]);Z.push(F)}const q=(0,l.h)("view",{class:S.value},{default:()=>Z});I.push(q);const G={default:()=>I};G.label=o.slots.default,G.prepend=o.slots.prepend,G.append=o.slots.append,G.fixedPreTip=o.slots.fixedPreTip,G.fixedTip=o.slots.fixedTip;const X={...lt(i,ze,Ce)};return i.prop&&(X.prop=`${i.prop}_item`),(0,l.h)(r,X,G)}}}}var{componentName:P7,create:F7,scope:R7}=ie("link-item"),O7=F7(L7(P7,R7,$e.ArrowRight,ke)),Ca=O7,En={modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},showScrollArrow:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:[Object,Function]},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},_r=(t,a)=>a[t.textKey],Pt=(t,a)=>a[t.valueKey],H7=(t,a)=>a[t.visibleKey],$r=(t,a)=>a[t.disabledKey],q7=(t,a)=>{const n=a[t.doitKey];return de(n)},j7=(t,a)=>{const n=a[t.numKey];return n==null?null:ve(a[n])},Vr=(t,a,n)=>{const r=t.itemOptions;return typeof r=="function"?r(a,n):r||null};function K7(t,a,n,r,i,o=!1){return{props:{...En},emits:["update:modelValue","change","click"],setup(s,{slots:u,emit:e}){const c=(0,l.computed)(()=>{const D={};return D[`${t}`]=!0,D}),m=(0,l.computed)(()=>{const D={};return D[`${t}__titles`]=!0,D[`${s.direction}`]=!0,s.align&&(D[`${s.align}`]=!0),s.scroll===!0&&(D.scrollable=!0),s.shape&&(D[`${s.shape}`]=!0),s.showScrollArrow?(P.value===!0&&(D["has-left-scroll-arrow "]=!0),Q.value===!0&&(D["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(D["has-navigation"]=!0),D}),f=(0,l.computed)(()=>({})),p=(0,l.computed)(()=>{if(!s.gutter)return 0;const D=me(s.gutter);return D<=0?0:D}),b=(0,l.ref)(s.modelValue);(0,l.watch)(()=>s.modelValue,D=>{b.value!==D&&(b.value=D,X(!1))});const k=(0,l.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),v=(0,l.computed)(()=>{const D={};return $.value||(D.display="none"),D}),h=(0,l.ref)(),$=(0,l.ref)(!1),g=()=>{d(!$.value)},d=D=>{const y=D;y?($.value=y,setTimeout(()=>{k.value["fox-tabs-bar__popup--show"]=!0,k.value["fox-tabs-bar__popup--hide"]=!1},0)):(k.value["fox-tabs-bar__popup--show"]=!1,k.value["fox-tabs-bar__popup--hide"]=!0,h.value?h.value.addEventListener("transitionend",()=>{$.value=!1},{once:!0}):setTimeout(()=>{$.value=!1},0))},z=(0,l.ref)(),M=(0,l.ref)([]),_=(D,y)=>{M.value[y]=D},S=D=>y=>{_(y,D)},V=(D,y)=>{const R=z.value,j=M.value;if(!R||!j||!j[D])return;const te=j[D];let ae=0;s.direction==="vertical"?ae=te.offsetTop-(R.offsetHeight-te.offsetHeight)/2:ae=te.offsetLeft-(R.offsetWidth-te.offsetWidth)/2,w(R,ae,y?0:.3,s.direction)},w=(D,y,R,j)=>{let te=0;const ae=j==="horizontal"?D.scrollLeft:D.scrollTop,oe=R===0?1:Math.round(R*1e3/16);function he(){j==="horizontal"?D.scrollLeft+=(y-ae)/oe:D.scrollTop+=(y-ae)/oe,++te<oe&&Dn(he)}he()},O=(D,y)=>{const R=Pt(s,D),j={};return j[`${t}__titles-item`]=!0,j.disabled=$r(s,D),j.active=R===b.value,s.shape&&(j[`${s.shape}`]=!0),s.ellipsis&&(j.ellipsis=!0),y&&(y.class&&(j[`${y.class}`]=!0),y.disabled===!0&&(j.disabled=y.disabled)),j},C=(D,y)=>{const R={};if(p.value>0){const j=Math.abs(p.value/2);s.direction==="vertical"?(R["margin-top"]=`${j}px`,R["margin-bottom"]=`${j}px`):(R["margin-left"]=`${j}px`,R["margin-right"]=`${j}px`)}return y&&y.style&&Object.assign(R,y.style),R},I=(D,y)=>`${Pt(s,D)??y}`,Z=(D,y)=>{const R=Pt(s,D),j={};j[`${t}__popup-item`]=!0,j.disabled=$r(s,D),j.active=R===b.value,s.shape&&(j[`${s.shape}`]=!0);const te=Vr(s,D,y);return te&&te.disabled===!0&&(j.disabled=te.disabled),j},N=(0,l.computed)(()=>(s.data??[]).filter(D=>H7(s,D)!==!1)),E=(D,y)=>{const R=Pt(s,D);if(e("click",D,y),b.value==R)return;const j=()=>{b.value=R,s.scroll&&V(y,!1),e("update:modelValue",R),e("change",D,y)};if(typeof s.beforeChange=="function"){const te=s.beforeChange(D,y);hl(te)?te.then(ae=>{ae!==!1&&j()}).catch(()=>{j()}):te!==!1&&j()}else j()},L=(D,y)=>function(){E(D,y)},q=(D,y)=>{E(D,y),d(!1)},G=(D,y)=>function(){q(D,y)},X=D=>{if(!Array.isArray(s.data)||!s.scroll)return;J()&&A();const y=s.data.findIndex(R=>Pt(s,R)===b.value);y!==-1&&V(y,D)},F=()=>{J()||x()};(0,l.watch)(()=>s.data,()=>{setTimeout(X,0)}),(0,l.onMounted)(()=>{X(!0)}),(0,l.onBeforeUnmount)(()=>{F()});const ee=(D,y)=>{if(u.item)return u.item({item:D,index:y});const R=Vr(s,D,y),j=[];if(u.text){const ae=u.text({item:D,index:y});j.push(ae)}else{const ae=[];if(R?.doit===!0||q7(s,D)){const Te=(0,l.h)("view",{class:[`${t}__titles-item-tip`,"doit"]});ae.push(Te)}const oe=R?.num??j7(s,D);if(oe){let Te="";const Xe=ve(oe);Xe>=100?Te="99+":Te=`${Xe}`;const ut=(0,l.h)("view",{class:[`${t}__titles-item-tip`,"num"]},[Te]);ae.push(ut)}const he={class:`${t}__titles-item-text`};ae.push(_r(s,D));const xe=(0,l.h)("view",he,ae);j.push(xe)}const te=(0,l.h)("view",{class:`${t}__titles-item-line`});return j.push(te),(0,l.h)("view",{ref:S(y),class:O(D,R),style:C(D,R),key:I(D,y),onClick:L(D,y)},j)},K=()=>{const D=u.default?u.default():[];if(D.length===0)for(let y=0;y<N.value.length;y++){const R=N.value[y],j=ee(R,y);D.push(j)}return(0,l.h)("view",{ref:z,class:m.value,style:f.value},D)},H=()=>{let D=null;return u.navigation?D=u.navigation():D=(0,l.h)(n),(0,l.h)("view",{class:`${t}__navigation`,onClick:g},[D])},Y=()=>{const D=[];for(let y=0;y<N.value.length;y++){const R=N.value[y];let j=null;u.popupItem?j=u.popupItem({item:R,index:y}):j=_r(s,R);const te=(0,l.h)("view",{class:Z(R,y),key:I(R,y),onClick:G(R,y)},[j]);D.push(te)}return(0,l.h)("view",{class:k.value,style:v.value},D)},J=()=>s.showScrollArrow&&s.direction=="horizontal",P=(0,l.ref)(!1),Q=(0,l.ref)(!1),le=D=>{const y=z.value,R=M.value;if(!(!y||!R))if(D==="left"){const j=y.scrollLeft;let te=j;for(let ae=0;ae<R.length;ae++){const oe=R[ae].offsetLeft;if(j-oe<0)break;te=oe}w(y,te,.3,"horizontal")}else{const j=y.scrollLeft;let te=j,ae=y.offsetWidth;for(let oe=R.length-1;oe>=0;oe--){const he=R[oe].offsetLeft+R[oe].offsetWidth;if(he-j<y.offsetWidth){te+=ae-he;break}ae=he}w(y,te,.3,"horizontal")}},U=Ge(()=>{const D=z.value;if(!D)return;let y=D.scrollLeft>0;y!==P.value&&(P.value=y);let R=D.scrollWidth-D.scrollLeft>D.offsetWidth;R!==Q.value&&(Q.value=R)},50),T=D=>{U()},A=()=>{const D=z.value;D&&(U(),D.addEventListener("scroll",T))},x=()=>{const D=z.value;D&&D.removeEventListener("scroll",T)},W=D=>{if(D==="left"&&P.value!==!0||D==="right"&&Q.value!==!0)return null;let y=null;return D==="left"?u.leftArrow?y=u.leftArrow():y=(0,l.h)(r):u.rightArrow?y=u.rightArrow():y=(0,l.h)(i),(0,l.h)("view",{class:[`${t}__scroll-arrow`,D],onClick:()=>{le(D)}},[y])};return()=>{const D=[],y=K();if(D.push(y),J()){const R=W("left");R&&D.push(R);const j=W("right");j&&D.push(j)}else if(s.showQuickNavigation){const R=H();D.push(R);const j=Y();D.push(j)}return(0,l.h)("view",{class:c.value},D)}}}}var{create:Y7,componentName:W7,scope:U7}=ie("tabs-bar"),G7=Y7(K7(W7,U7,b2,l3,W1,!1)),tl=G7,Qo=Symbol("TabsStatesKey"),Tn={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},height:{type:[String,Number]},width:{type:[String,Number]}},X7=15,Z7=300,J7=200;function Q7(t,a,n=1){return t=Math.abs(t/a)/.003*(t<0?-1:1),t*n}function Br(t,a=0,n,r,i=J7){n==="end"?t.style.transition=`transform ${i}ms linear`:t.style.transition="transform 0ms linear",r==="horizontal"?t.style.transform=`translate3d(${a}px, 0, 0)`:t.style.transform=`translate3d(0, ${a}px, 0)`}var em=class{el=null;direction="horizontal";transitionEndTrigger=null;moving=!1;isTouch=!1;triggerAutoMoveRatio=.3;momentumReduceRatio=1;transitionend=null;touchstart=null;touchmove=null;touchend=null;touchcancel=null;onStart;onMove;onEnd;constructor(t,a,n,r=1){this.onStart=t,this.onMove=a,this.onEnd=n,this.momentumReduceRatio=r,this.isTouch=Jt()}open(t){this.el=t;const a=Qt(),n=(r,i,o)=>{const s={delta:r,direction:i,type:o};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=r=>{if(this.moving)return;a.start(r),this.transitionEndTrigger=()=>{t.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,t.removeEventListener("transitionend",this.transitionend),t.addEventListener("transitionend",this.transitionend),t.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),t.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&t.addEventListener("touchcancel",this.touchend);const i={delta:0,type:"start",direction:this.direction};this.onStart(i)},this.touchmove=r=>{if(!this.moving)return;a.move(r);let i=0;if(this.direction==="horizontal"){if(a.isVertical())return;i=a.state.deltaX}else{if(a.isHorizontal())return;i=a.state.deltaY}n(i,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;t.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),t.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&t.removeEventListener("touchcancel",this.touchend);let r=0;if(this.direction==="horizontal"){if(a.isVertical()){this.moving=!1;return}r=a.state.deltaX}else{if(a.isHorizontal()){this.moving=!1;return}r=a.state.deltaY}const i=a.state.duration;i<Z7&&Math.abs(r)>X7?(r=Q7(r,i,this.momentumReduceRatio),n(r,this.direction,"end")):n(r,this.direction,"end")},t.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const t=this.el;this.transitionend&&t.addEventListener("transitionend",this.transitionend),this.touchstart&&t.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&t.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&t.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&t.addEventListener("touchcancel",this.touchcancel),this.el=null}};function tm(t,a,n,r=1){return new em(t,a,n,r)}function lm(t,a,n=!1){return{props:{...Tn},emits:["update:modelValue","change"],setup(r,{emit:i,slots:o}){const s=(0,l.shallowRef)([]),u={current:(0,l.ref)(r.modelValue??""),direction:(0,l.ref)(r.direction),tabWidth:(0,l.ref)(-1),tabHeight:(0,l.ref)(-1),add:S=>{const V={name:S};u.current.value===S&&(V.loaded=!0),s.value.push(V),(0,l.triggerRef)(s)},remove:S=>{const V=s.value.findIndex(w=>w.name===S);V!==-1&&s.value.splice(V,1)},isLoaded:S=>{if(!r.lazy)return!0;const V=s.value.findIndex(w=>w.name===S);return V!==-1?u.current.value?s.value[V].loaded??!1:V===0:!1}};(0,l.provide)(Qo,u);const e=S=>{const V=s.value.findIndex(w=>w.name===S);V!==-1&&(s.value[V].loaded=!0,(0,l.triggerRef)(s))};(0,l.watch)([()=>r.modelValue,()=>r.direction],([S,V])=>{u.current.value!==S&&(u.current.value=S??"",e(S??"")),u.direction.value!==V&&(u.direction.value=V)});const c=(0,l.ref)(null),m=(0,l.ref)(null),f=(0,l.computed)(()=>({[t]:!0,[`${r.direction}`]:!0})),p=(0,l.computed)(()=>{const S={};if(r.width){const V=we(r.width);V&&(S.width=V)}if(r.height){const V=we(r.height);V&&(S.height=V)}return S});let b=!0;const k=(0,l.computed)(()=>{const S={},V=s.value.length;if(V<=0)return S;const w=s.value.findIndex(O=>O.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(S.height=`${V*u.tabHeight.value}px`,w!==-1&&(S.transform=`translate(0, -${w*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(S.width=`${V*u.tabWidth.value}px`,w!==-1&&(S.transform=`translate(-${w*u.tabWidth.value}px, 0)`)),b&&(b=!1,S.transition="transform 0s ease"),S}),v={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},h=S=>{const V=s.value.length,w=s.value.findIndex(O=>O.name===u.current.value);v.moved=0,S.direction==="vertical"?(v.min=-1*(u.tabHeight.value*(V-1)+u.tabHeight.value/4),v.max=u.tabHeight.value/4,v.start=-w*u.tabHeight.value,v.itemDistance=u.tabHeight.value):(v.min=-1*(u.tabWidth.value*(V-1)+u.tabWidth.value/4),v.max=u.tabWidth.value/4,v.start=-w*u.tabWidth.value,v.itemDistance=u.tabWidth.value)},$=S=>{const V=m.value;if(!V)return;let w=v.start+S.delta;if(w>v.max?w=v.max:w<v.min&&(w=v.min),S.type==="move")Br(V,w,"move",S.direction,300);else if(S.type==="end"){let O=Math.floor(Math.abs(w)*1/v.itemDistance);const C=Math.abs(w)%v.itemDistance;v.start>w?C>=v.itemDistance*v.triggerAutoMoveRatio&&(O+=1):C>v.itemDistance-v.itemDistance*v.triggerAutoMoveRatio&&(O+=1),w=-1*O*v.itemDistance,Br(V,w,"end",S.direction,300),v.moved=w;const I=s.value[O].name;u.current.value=I??"",e(I??""),i("update:modelValue",I)}},g=()=>{},d=()=>{if(!c.value)return;const S=$l(c.value);u.tabWidth.value=S.width,u.tabHeight.value=S.height},z=vo(d,250);let M=null,_=null;return(0,l.onMounted)(()=>{c.value&&(d(),window.ResizeObserver&&(_=new window.ResizeObserver(z),_.observe(c.value)),r.draggle&&(M=tm(h,$,g),M.open(m.value)))}),(0,l.onBeforeUnmount)(()=>{_&&(_.disconnect(),_=null),M&&M.close()}),()=>{const S=(0,l.h)("view",{class:`${t}__panes`,style:k.value,ref:m},[o?.default?.()]);return(0,l.h)("view",{class:f.value,style:p.value,ref:c},[S])}}}}var{create:nm,componentName:am,scope:rm}=ie("tabs-container"),om=nm(lm(am,rm,!1)),ll=om,im={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1},label:{type:[String],required:!1}};function sm(t,a,n){return{props:{...im},setup(r,{emit:i,slots:o}){const s=(0,l.inject)(Qo);(0,l.onMounted)(()=>{s.add(r.paneKey)}),(0,l.onBeforeUnmount)(()=>{s.remove(r.paneKey)});const u=(0,l.computed)(()=>{const c={};return s.direction.value==="vertical"&&s.tabHeight.value>0?c.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(c.width=`${s.tabWidth.value}px`),c}),e=(0,l.computed)(()=>r.loaded!=null?de(r.loaded):s.isLoaded(r.paneKey));return()=>{let c=[];if(e.value)c=o?.default?.()??[];else if(o.empty)c=o.empty();else{const m={class:`${t}__empty-icon`},f=(0,l.h)(r.emptyIcon??n,m),p=(0,l.h)("view",{class:`${t}__empty-text`},[r.emptyText??"Loading"]),b=(0,l.h)("view",{class:`${t}__empty`},[f,p]);c.push(b)}return(0,l.h)("view",{class:`${t}`,style:u.value,prop:r.paneKey},c)}}}}var{create:um,componentName:cm,scope:dm}=ie("tabs-pane"),fm=um(sm(cm,dm,Zt)),Ul=fm;function mm(t,a,n,r){return{props:{...En,...Tn,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}},emits:["update:modelValue","change"],setup(i,{emit:o,slots:s}){const u=t,e=(0,l.computed)(()=>{const v=[`${u}`];return i.direction==="vertical"?v.push("vertical-tabbar"):v.push("horizontal-tabbar"),v}),c=(0,l.computed)(()=>{const v={};if(i.width){const h=we(i.width);h&&(v.width=h)}if(i.height){const h=we(i.height);h&&(v.height=h)}return v}),m=(0,l.computed)(()=>[`${u}__bar`]),f=(0,l.computed)(()=>[`${u}__container`]),p=(0,l.ref)(i.modelValue);(0,l.watch)(()=>i.modelValue,v=>{p.value!==v&&(p.value=v)});const b=v=>{o("change",v)},k=v=>{p.value!==v&&(p.value=v,o("update:modelValue",v))};return()=>{const{getChildren:v}=Wn(s.default),h=v(),$=[];if(Array.isArray(i.data))$.push(...i.data);else for(let V=0;V<h.length;V++){const w=h[V].props??{},O={text:w.label??"",value:w["pane-key"]??w.paneKey??""};$.push(O)}const g={};for(let V in s)V!=="default"&&(g[V]=s[V]);const d=lt(i,En);Object.assign(d,{data:$,class:m.value,modelValue:p.value,direction:i.direction,onChange:b,"onUpdate:modelValue":k});const z=(0,l.h)(n,d,g),M={default:()=>h},_=lt(i,Tn);Object.assign(_,{class:f.value,modelValue:p.value,onChange:b,"onUpdate:modelValue":k});const S=(0,l.h)(r,_,M);return(0,l.h)("view",{class:e.value,style:c.value},[z,S])}}}}var{create:hm,componentName:pm,scope:gm}=ie("tabs-frame"),vm=hm(mm(pm,gm,tl,ll)),Na=vm,ym={direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[String,Number]},clickNavigatePolicy:{type:[String]},icon:{type:[Object]},iconSize:{type:[String,Number]},markIcon:{type:[Object]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function bm(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Dr(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function Mr(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}function wm(t,a){return typeof t.visibleKey=="string"&&t.visibleKey.length>0?a[t.visibleKey]:a.visible??null}function sn(t,a){return typeof t.statusKey=="string"&&t.statusKey.length>0?a[t.statusKey]:a.statusKey??null}function Ir(t,a){return typeof t.doitKey=="string"&&t.doitKey.length>0?a[t.doitKey]:a.doitKey??null}function Ar(t,a){return typeof t.labelKey=="string"&&t.labelKey.length>0?a[t.labelKey]:a.labelKey??null}function un(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var Sm=class{proxy;constructor(t){this.proxy=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await Reflect.apply(a,null,[n]);const r=Pe(this.proxy,t);return r===null?(console.error(`${t} component not found api function`),[]):(Ke(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await Reflect.apply(r,null,[a,n]))}};function xm(){return new Sm((0,l.getCurrentInstance)().proxy)}function Cm(t,a,n,r){return{props:{...ym},emits:["update:modelValue","change","loaded-data"],setup(i,{slots:o,emit:s}){const u=t,e=xm(),c=(0,l.ref)([]),m=(0,l.computed)(()=>c.value.filter(H=>wm(i,H)!==!1)),f=(0,l.ref)(-1),p=()=>{const H=i.modelValue,Y=m.value.findIndex(J=>Dr(i,J)===H);f.value!==Y&&(f.value=Y,i.scroll&&ee(Y,!1))};(0,l.watch)([()=>i.modelValue,m],()=>{p()});const b=H=>f.value===H,k=H=>{if(H<0&&H>=m.value.length)return!1;const Y=m.value[H],J=(un(i,Y,H)??{}).status??sn(i,Y);return b(H)||J},v=(0,l.computed)(()=>{const H={[u]:!0};return i.mode?H[`is-${i.mode}`]=!0:i.direction&&(H[`is-${i.direction}`]=!0),i.scroll&&(H["is-scroll"]=!0),H}),h=(0,l.computed)(()=>({})),$=(H,Y,J,P,Q)=>{const le={[`${u}__step`]:!0};return Q&&(le[`${Q}`]=!0),le[`${g.value}`]=!0,P&&(le["is-doit"]=!0),H===f.value?le["is-active"]=!0:Y==="done"?le["is-done"]=!0:Y==="error"?le["is-error"]=!0:Y==="half"?le["is-half"]=!0:J?le["is-disabled"]=!0:le["is-normal"]=!0,le},g=(0,l.computed)(()=>{let H=i.align;if(!H){if(i.mode==="simple")return"start";i.direction==="vertical"?H="start":H="center"}return H}),d=(H,Y={})=>{const J={...Y};if(g.value==="start"&&H===m.value.length-1)J.flex="0 0 auto";else if(i.step){const P=typeof i.step=="number"||In(i.step)?we(i.step):i.step;i.direction==="vertical"?J.height=P:J.width=P}else J.flex="1 1 100%";return J},z=(H,Y)=>{let J={};if(Y<m.value.length-1){const P=Y+1;k(Y)&&k(P)?i.direction==="vertical"?J.height="100%":J.width="100%":J.opacity="0"}return J},M=H=>m.value.length-1===H,_=(H,Y)=>{if(i.clickNavigatePolicy==="disabled"||(i.clickNavigatePolicy==="only-back"||i.clickNavigatePolicy==="only-back-reset")&&Y>f.value||f.value===Y)return;const J=f.value,P=Y;f.value=Y,i.scroll&&ee(Y,!1);const Q=Dr(i,H);s("update:modelValue",Q),s("change",Q,{fromIndex:J,currentIndex:P,item:H,items:m.value,clickNavigatePolicy:i.clickNavigatePolicy})},S=(0,l.ref)(!0),V=async(H,Y)=>{try{const J=await e.load("stesbar",H,Y);Array.isArray(J)&&(c.value=J),S.value=!1}catch(J){console.error("[FoxUI] Load StepsBar Data Fail",J),c.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,l.watch)([()=>i.data,()=>i.params],async([H,Y])=>{H&&V(H,Y)},{immediate:!0});const w=(H,Y,J,P,Q)=>{let le=null;if(o.icon)le=o.icon({item:H,index:Y,status:P});else if(P==="done"){const U={};i.iconSize&&(U.width=i.iconSize,U.height=i.iconSize),le=(0,l.h)(i.icon??n,U)}else le=(0,l.h)("span",{},[J??`${Y+1}`]);return(0,l.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{Q||_(H,Y)}},[le])},O=(H,Y,J)=>(0,l.h)("view",{class:"fox-steps-bar__line"},[(0,l.h)("i",{class:"fox-steps-bar__line-inner",style:z(H,Y)})]),C=()=>{let H=null;if(o.markIcon)H=o.markIcon();else{const Y={};i.iconSize&&(Y.width=i.markIconSize,Y.height=i.markIconSize),H=(0,l.h)(i.markIcon??r,Y)}return(0,l.h)("view",{class:"fox-steps-bar__mark"},[H])},I=(H,Y,J,P,Q)=>{const le=[];if(!M(Y)){const T=O(H,Y,P);le.push(T)}const U=w(H,Y,J,P,Q);return le.push(U),(0,l.h)("view",{class:"fox-steps-bar__head"},le)},Z=(H,Y,J,P)=>{let Q=null;return o.main?Q=o.main({item:H,index:Y,status:J}):Q=bm(i,H),(0,l.h)("view",{class:"fox-steps-bar__main",onClick:()=>{P||_(H,Y)}},[Q])},N=(H,Y,J)=>{let P=null;return o.sub?(P=o.sub({item:H,index:Y,status:J}),(0,l.h)("view",{class:"fox-steps-bar__sub"},[P])):null},E=(H,Y)=>{const J=un(i,H,Y)??{},P=J.status??sn(i,H);let Q=Mr(i,H);J.disabled===!0&&(Q=!0),i.disabled===!0&&(Q=!0);const le=J.label??Ar(i,H),U=[],T=w(H,Y,le,P,Q);T&&U.push(T);const A=Z(H,Y,P,Q);if(A&&U.push(A),!M(Y)){const R=O(H,Y,P);R&&U.push(R)}const x=(0,l.h)("view",{class:"fox-steps-bar__head"},U),W=J.class,D=J.style??{};let y=Ir(i,H);return J.doit===!0&&(y=!0),(0,l.h)("view",{ref:F(Y),class:$(Y,P,Q,y,W),style:d(Y,D)},[x])},L=(H,Y)=>{const J=un(i,H,Y)??{},P=J.status??sn(i,H);let Q=Mr(i,H);J.disabled===!0&&(Q=!0),i.disabled===!0&&(Q=!0);const le=J.label??Ar(i,H),U=[],T=i.layout;for(let D of T)if(D==="head"){const y=I(H,Y,le,P,Q);U.push(y)}else if(D==="main"){const y=Z(H,Y,P,Q);U.push(y)}else if(D==="sub"){const y=N(H,Y,P);U.push(y)}else if(D==="mark"){const y=C();U.push(y)}const A=J.class,x=J.style??{};let W=Ir(i,H);return J.doit===!0&&(W=!0),(0,l.h)("view",{ref:F(Y),class:$(Y,P,Q,W,A),style:d(Y,x)},U)},q=(0,l.ref)(),G=(0,l.ref)([]),X=(H,Y)=>{G.value[Y]=H},F=H=>Y=>{X(Y,H)},ee=(H,Y)=>{const J=q.value,P=G.value;if(!J||!P||!P[H])return;const Q=P[H];let le=0;i.direction==="vertical"?le=Q.offsetTop-(J.offsetHeight-Q.offsetHeight)/2:le=Q.offsetLeft-(J.offsetWidth-Q.offsetWidth)/2,K(J,le,Y?0:.3,i.direction)},K=(H,Y,J,P)=>{let Q=0;const le=P==="horizontal"?H.scrollLeft:H.scrollTop,U=J===0?1:Math.round(J*1e3/16);function T(){P==="horizontal"?H.scrollLeft+=(Y-le)/U:H.scrollTop+=(Y-le)/U,++Q<U&&Dn(T)}T()};return()=>{let H=[];if(i.mode==="simple")for(let J=0;J<m.value.length;J++){const P=m.value[J],Q=E(P,J);H.push(Q)}else for(let J=0;J<m.value.length;J++){const P=m.value[J],Q=L(P,J);H.push(Q)}const Y={ref:q,class:v.value,style:h.value};return H.length===0&&typeof o.default=="function"&&(H=o.default()),(0,l.h)("view",Y,H)}}}}var{componentName:Nm,create:km,scope:zm}=ie("steps-bar"),Em=km(Cm(Nm,zm,Ro,jd)),ka=Em,je=t=>typeof t=="number"?`${t}px`:/^d+(\.?d+)$/.test(t)?`${t}px`:t,gt=t=>t==null,Tm=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(t,a){this.startMove=t,this.updateMove=a,this.isTouch=Jt()}open(t){Array.isArray(t)||(t=[t]),this.els=t;const a=Qt(),n=(r,i,o,s)=>{this.updateMove({x:r,y:i})};this.touchstart=r=>{this.moving||(a.start(r),this.startMove({x:a.state.startX,y:a.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=r=>{this.moving&&(a.move(r),n(a.state.deltaX,a.state.deltaY,"",0))},this.touchend=()=>{n(a.state.deltaX,a.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),a.reset(),this.moving=!1},this.els.forEach(r=>{this.touchstart&&r.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(t=>{this.touchstart&&t.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function Lr(t,a){return new Tm(t,a)}var Pr=typeof window<"u"&&typeof document<"u",$v=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function ei(t){const a=Object.create(null);return(n=>a[n]||(a[n]=t(n)))}var _m=/\B([A-Z])/g,Vv=ei(t=>t.replace(_m,"-$1").toLowerCase()),$m=/-(\w)/g,Bv=ei(t=>t.replace($m,(a,n)=>n?n.toUpperCase():"")),Nt=[],Fr=t=>{const a=t;a.key==="Escape"&&Nt.forEach(n=>n(a))},Vm=t=>{(0,l.onMounted)(()=>{Nt.length===0&&document.addEventListener("keydown",Fr),Pr&&Nt.push(t)}),(0,l.onBeforeUnmount)(()=>{Nt=Nt.filter(a=>a!==t),Nt.length===0&&Pr&&document.removeEventListener("keydown",Fr)})},cn="fox-focus-trap.focus-after-trapped",dn="fox-focus-trap.focus-after-released",Bm="fox-focus-trap.focusout-prevented",Rr={cancelable:!0,bubbles:!1},Dm={cancelable:!0,bubbles:!1},Or="foxFocusAfterTrapped",Hr="foxFocusAfterReleased",Mm=Symbol("foxFocusTrap"),za=(0,l.ref)(),Gl=(0,l.ref)(0),Ea=(0,l.ref)(0),ol=0,ti=t=>{const a=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)a.push(n.currentNode);return a},Im=(t,a)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(a&&t===a)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},qr=(t,a)=>{for(const n of t)if(!Im(n,a))return n},Am=t=>{const a=ti(t);return[qr(a,t),qr(a.reverse(),t)]},Lm=t=>t instanceof HTMLInputElement&&"select"in t,ct=(t,a)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),Ea.value=window.performance.now(),t!==n&&Lm(t)&&a&&t.select()}};function jr(t,a){const n=[...t],r=t.indexOf(a);return r!==-1&&n.splice(r,1),n}var Pm=()=>{let t=[];return{push:r=>{const i=t[0];i&&r!==i&&i.pause(),t=jr(t,r),t.unshift(r)},remove:r=>{t=jr(t,r),t[0]?.resume?.()}}},Fm=(t,a=!1)=>{const n=document.activeElement;for(const r of t)if(ct(r,a),document.activeElement!==n)return},Kr=Pm(),Rm=()=>Gl.value>Ea.value,il=()=>{za.value="pointer",Gl.value=window.performance.now()},Yr=()=>{za.value="keyboard",Gl.value=window.performance.now()},Om=()=>((0,l.onMounted)(()=>{ol===0&&(document.addEventListener("mousedown",il),document.addEventListener("touchstart",il),document.addEventListener("keydown",Yr)),ol++}),(0,l.onBeforeUnmount)(()=>{ol--,ol<=0&&(document.removeEventListener("mousedown",il),document.removeEventListener("touchstart",il),document.removeEventListener("keydown",Yr))}),{focusReason:za,lastUserFocusTimestamp:Gl,lastAutomatedFocusTimestamp:Ea}),sl=t=>new CustomEvent(Bm,{...Dm,detail:t}),{componentName:Dv,create:Hm,scope:Mv}=ie("focus-trap"),qm={loop:{type:[Boolean]},trapped:{type:[Boolean,String],required:!1,default:!1},escape:{type:[Boolean],required:!1,default:!1},focusTrapEl:{type:Object},focusStartEl:{type:[Object,String],default:"first"}},jm=Hm({props:qm,emits:[Or,Hr,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{slots:a,emit:n}){const r=(0,l.ref)();let i,o;const{focusReason:s}=Om();Vm(v=>{de(t.trapped)&&!u.paused&&n("release-requested",v)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},e=v=>{if(!t.loop&&!de(t.trapped)||u.paused)return;const{key:h,altKey:$,ctrlKey:g,metaKey:d,currentTarget:z,shiftKey:M}=v,{loop:_}=t,S=h==="Tab"&&!$&&!g&&!d,V=document.activeElement;if(S&&V){const w=z,[O,C]=Am(w);if(O&&C){if(!M&&V===C){const I=sl({focusReason:s.value});n("focusout-prevented",I),I.defaultPrevented||(v.preventDefault(),_&&ct(O,!0))}else if(M&&[O,w].includes(V)){const I=sl({focusReason:s.value});n("focusout-prevented",I),I.defaultPrevented||(v.preventDefault(),_&&ct(C,!0))}}else if(V===w){const I=sl({focusReason:s.value});n("focusout-prevented",I),I.defaultPrevented||v.preventDefault()}}};(0,l.provide)(Mm,{focusTrapRef:r,onKeydown:e}),(0,l.watch)(()=>t.focusTrapEl,v=>{v&&(r.value=v)},{immediate:!0}),(0,l.watch)([r],([v],[h])=>{v&&(v.addEventListener("keydown",e),v.addEventListener("focusin",f),v.addEventListener("focusout",p)),h&&(h.removeEventListener("keydown",e),h.removeEventListener("focusin",f),h.removeEventListener("focusout",p))});const c=v=>{n(Or,v)},m=v=>n(Hr,v),f=v=>{const h=(0,l.unref)(r);if(!h)return;const $=v.target,g=v.relatedTarget,d=$&&h.contains($);de(t.trapped)||g&&h.contains(g)||(i=g),d&&n("focusin",v),!u.paused&&de(t.trapped)&&(d?o=$:ct(o,!0))},p=v=>{const h=(0,l.unref)(r);if(!(u.paused||!h))if(!t.escape&&de(t.trapped)){const $=v.relatedTarget;!We($)&&!h.contains($)&&setTimeout(()=>{if(!u.paused&&de(t.trapped)){const g=sl({focusReason:s.value});n("focusout-prevented",g),g.defaultPrevented||ct(o,!0)}},0)}else{const $=v.target;$&&h.contains($)||n("focusout",v)}};async function b(){await(0,l.nextTick)();const v=(0,l.unref)(r);if(v){Kr.push(u);const h=v.contains(document.activeElement)?i:document.activeElement;if(i=h,!v.contains(h)){const $=new Event(cn,Rr);v.addEventListener(cn,c),v.dispatchEvent($),$.defaultPrevented||(0,l.nextTick)(()=>{let g=t.focusStartEl;to(g)||(ct(g),document.activeElement!==g&&(g="first")),g==="first"&&Fm(ti(v),!0),(document.activeElement===h||g==="container")&&ct(v)})}}}function k(){const v=(0,l.unref)(r);if(v){v.removeEventListener(cn,c);const h=new CustomEvent(dn,{...Rr,detail:{focusReason:s.value}});v.addEventListener(dn,m),v.dispatchEvent(h),!h.defaultPrevented&&(s.value=="keyboard"||!Rm())&&ct(i??document.body,!0),v.removeEventListener(dn,c),Kr.remove(u)}}return(0,l.onMounted)(()=>{de(t.trapped)&&b(),(0,l.watch)(()=>t.trapped,v=>{de(v)?b():k()})}),(0,l.onBeforeUnmount)(()=>{de(t.trapped)&&k()}),()=>typeof a.default=="function"?a.default({"handle-keydown":e}):null}}),Km=jm,{componentName:Ym,create:Wm,scope:Iv}=ie("floating-window"),Um=Symbol.for("InnerPageScopeKey"),Gm=Symbol.for("PageWrapperKey"),Xm={modelValue:{type:[Boolean,String],required:!1,default:!0},title:{type:[String],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},origin:{type:[String],required:!1,default:"right-top"},top:{type:[String,Number],required:!1},left:{type:[String,Number],required:!1},bottom:{type:[String,Number],required:!1},right:{type:[String,Number],required:!1},teleport:{type:[String,Element],default:"body"},fixedNavTeleport:{type:[String,Element]},zIndex:{type:[String,Number],required:!1},collapse:{type:[Boolean],requried:!1},showCollapse:{type:[Boolean],required:!1,default:!0},collapseText:{type:[String],requried:!1,default:"收起"},collapseIcon:{type:[Object],requried:!1},collapsePosition:{type:[String],requried:!1,default:"right"},collapseTop:{type:[String],requried:!1,default:"30vh"},expandText:{type:[String],requried:!1},expandIcon:{type:[Object],requried:!1},expandClass:{type:[String],requried:!1},showClose:{type:[Boolean],required:!1,default:!0},closeIcon:{type:[Object],requried:!1},draggable:{type:[Boolean],required:!1,default:!0},footerDraggable:{type:[Boolean],required:!1,default:!0},customClass:{type:[String],required:!1}},Zm=Wm({inheritAttrs:!1,components:{FoxIcon:B.ElIcon,FocusTrap:Km},props:{...Xm},emits:["update:modelValue","update:collapse"],setup(t,{emit:a}){const n=Ym,r=(0,l.ref)(t.modelValue),i=(0,l.computed)(()=>!t.teleport);(0,l.watch)(()=>t.modelValue,y=>{r.value=y});const o=(0,l.computed)(()=>r.value===!1?!1:!V.value),s=(0,l.ref)(t.left),u=(0,l.ref)(t.top),e=(0,l.ref)(t.right),c=(0,l.ref)(t.bottom),m=(0,l.computed)(()=>{const y=["fox-floating-window"];return t.customClass&&y.push(t.customClass),y}),f=(0,l.computed)(()=>{const y={};return gt(s.value)?y.left="auto":y.left=je(s.value),gt(u.value)?y.top="auto":y.top=je(u.value),gt(e.value)?y.right="auto":y.right=je(e.value),gt(c.value)?y.bottom="auto":y.bottom=je(c.value),gt(t.zIndex)||(y["z-index"]=je(t.zIndex)),gt(_.value)||(y.height=_.value),gt(S.value)||(y.width=S.value),y}),p=(0,l.computed)(()=>t.closeIcon??$e.Close),b=(0,l.computed)(()=>t.collapseIcon??$e.ArrowUp),k=(0,l.computed)(()=>t.collapseText??""),v=(0,l.computed)(()=>t.collapsePosition==="left"?t.expandIcon??$e.ArrowRight:t.expandIcon??$e.ArrowLeft),h=(0,l.computed)(()=>t.expandText??t.title??"展开"),$=(0,l.computed)(()=>({[`${n}__collapse-text`]:!0})),g=(0,l.computed)(()=>({[`${n}__collapse-icon`]:!0,"is-expand":!V.value,"is-collapse":V.value})),d=(0,l.ref)(),z=(0,l.ref)(null),M=(0,l.ref)(null),_=(0,l.computed)(()=>je(t.height)||""),S=(0,l.computed)(()=>je(t.width)||""),V=(0,l.ref)(de(t.collapse)),w=(y,R=!0)=>{V.value!==y&&(V.value=y,y?H():Y(),a("update:collapse",y),y&&typeof I.onHide=="function"?I.onHide():!y&&typeof I.onShow=="function"&&I.onShow())};(0,l.watch)(()=>t.collapse,y=>{w(y)});const O=()=>{C()},C=y=>{y=y??!V.value,w(y)};(0,l.provide)(Um,!0);const I={setCollapse:w,setFixedNavVisible:y=>{F.value=y}};(0,l.provide)(Gm,I);const Z=()=>{typeof I.beforeClose=="function"?I.beforeClose(()=>{r.value=!1}):r.value=!1},N=(0,l.ref)(null),E=(0,l.computed)(()=>!t.fixedNavTeleport),L=(0,l.computed)(()=>{const y=["fox-floating-window__fixednav"];return t.expandClass&&y.push(t.expandClass),t.collapsePosition==="left"?y.push("is-left"):t.collapsePosition==="right"&&y.push("is-right"),y}),q=(0,l.ref)(""),G=(0,l.computed)(()=>{const y={};return q.value?y.top=q.value:t.collapseTop&&(y.top=t.collapseTop),y}),X=(0,l.ref)(V.value),F=(0,l.computed)({set:y=>{X.value=y},get:()=>r.value===!1?!1:X.value});let ee=null;const K=()=>{typeof ee=="function"&&(ee(),ee=null)},H=()=>{N.value&&N.value.classList.add("slide-in"),F.value=!0,ee=()=>{N.value&&N.value.classList.remove("slide-in")}},Y=()=>{N.value&&N.value.classList.add("slide-out"),ee=()=>{N.value&&N.value.classList.remove("slide-out"),F.value=!1}},J=()=>{s.value=null,u.value=null,e.value=null,c.value=null},P={x:0,y:0},U=Lr(y=>{if(!d.value)return;const R=d.value;if(J(),t.origin==="left-top")s.value=R.offsetLeft,u.value=R.offsetTop,P.x=s.value,P.y=u.value;else if(t.origin==="left-bottom"){const j=document.documentElement.clientHeight||document.body.clientHeight;s.value=R.offsetLeft,c.value=j-(R.offsetTop+R.offsetHeight),P.x=s.value,P.y=c.value}else if(t.origin==="right-bottom"){const j=document.documentElement.clientWidth||document.body.clientWidth,te=document.documentElement.clientHeight||document.body.clientHeight;e.value=j-(R.offsetLeft+R.offsetWidth),c.value=te-(R.offsetTop+R.offsetHeight),P.x=e.value,P.y=c.value}else e.value=(document.documentElement.clientWidth||document.body.clientWidth)-(R.offsetLeft+R.offsetWidth),u.value=R.offsetTop,P.x=e.value,P.y=u.value},y=>{if(!d.value)return;const R=d.value;J(),t.origin==="left-top"?(s.value=P.x+y.x,u.value=P.y+y.y,R.style.left=je(s.value),R.style.top=je(u.value)):t.origin==="left-bottom"?(s.value=P.x+y.x,c.value=P.y-y.y,R.style.left=je(s.value),R.style.bottom=je(c.value)):t.origin==="right-bottom"?(e.value=P.x-y.x,c.value=P.y-y.y,R.style.right=je(e.value),R.style.bottom=je(c.value)):(e.value=P.x-y.x,u.value=P.y+y.y,R.style.right=je(e.value),R.style.top=je(u.value))}),T={x:0,y:0},W=Lr(y=>{N.value&&(T.x=N.value.offsetLeft,T.y=N.value.offsetTop)},y=>{N.value&&(q.value=`${T.y+y.y}px`)}),D=()=>{d.value&&(M.value=d.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar"))};return(0,l.onMounted)(()=>{if(t.draggable&&d.value){const y=[];z.value&&y.push(z.value),t.footerDraggable&&(D(),M.value&&y.push(M.value)),U.open(y)}t.collapse===!0&&w(t.collapse,!1),N.value&&W.open(N.value)}),(0,l.onBeforeUnmount)(()=>{t.draggable&&z.value&&U.close(),N.value&&W.close()}),{classes:m,styles:f,isShow:o,closeIcon:p,onClose:Z,dialogRef:d,headerRef:z,onClickToggle:O,collapseIcon:b,collapseText:k,collapseTextClasses:$,collapseIconClasses:g,expandIcon:v,expandText:h,isShowFixedNav:F,fixedNavRef:N,fixedNavClasses:L,fixedNavStyles:G,onAnimationEnd:K,teleportDisabled:i,fixedNavTeleportDisabled:E}}}),Jm={ref:"headerRef",class:"fox-floating-window__header"},Qm={class:"fox-floating-window__title"},eh={class:"fox-floating-window__tools"},th={class:"fox-floating-window__body"},lh={class:"fox-floating-window__fixednav__text"};function nh(t,a,n,r,i,o){const s=(0,l.resolveComponent)("FoxIcon"),u=(0,l.resolveComponent)("FocusTrap");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.teleport,disabled:t.teleportDisabled},[(0,l.createVNode)(l.Transition,{name:"fox-floating-window-fade"},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"dialogRef",class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles),tabindex:"-1"},[(0,l.createVNode)(u,{loop:!0,escape:!0,trapped:t.isShow,"focus-trap-el":t.dialogRef,"focus-start-el":"container"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Jm,[(0,l.renderSlot)(t.$slots,"header",{},()=>[(0,l.createElementVNode)("span",Qm,(0,l.toDisplayString)(t.title),1),(0,l.createElementVNode)("div",eh,[t.showCollapse?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"fox-floating-window__collapse",onClick:a[0]||(a[0]=(...e)=>t.onClickToggle&&t.onClickToggle(...e))},[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)(t.collapseTextClasses)},(0,l.toDisplayString)(t.collapseText),3),(0,l.createVNode)(s,{class:(0,l.normalizeClass)(t.collapseIconClasses)},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.collapseIcon)))]),_:1},8,["class"])])):(0,l.createCommentVNode)("",!0),t.showClose?((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,class:"fox-floating-window__close",onClick:t.onClose},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.closeIcon)))]),_:1},8,["onClick"])):(0,l.createCommentVNode)("",!0)])])],512),(0,l.createElementVNode)("div",th,[(0,l.renderSlot)(t.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[l.vShow,t.isShow]])]),_:3})],8,["to","disabled"])),((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.fixedNavTeleport,disabled:t.fixedNavTeleportDisabled},[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"fixedNavRef",class:(0,l.normalizeClass)(t.fixedNavClasses),style:(0,l.normalizeStyle)(t.fixedNavStyles),onAnimationend:a[2]||(a[2]=(...e)=>t.onAnimationEnd&&t.onAnimationEnd(...e))},[(0,l.createElementVNode)("div",{class:"fox-floating-window__fixednav__inner",onClick:a[1]||(a[1]=(...e)=>t.onClickToggle&&t.onClickToggle(...e))},[(0,l.createVNode)(s,{class:"fox-floating-window__fixednav__icon"},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.expandIcon)))]),_:1}),(0,l.createElementVNode)("div",lh,(0,l.toDisplayString)(t.expandText),1)])],38),[[l.vShow,t.isShowFixedNav]])],8,["to","disabled"]))],64)}var Ta=Fe(Zm,[["render",nh]]),Wr=new Date().getFullYear(),ah={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss","year-month":"YYYY-MM","month-day":"MM-DD",datehour:"YYYY-MM-DD HH","hour-minute":"HH:mm"},Ur=(t,a,n)=>{let r;if(ft(a)?r=a:typeof a=="string"&&Je(a)>0?r=Oe.parser(a,n):r=new Date,r.toString()==="Invalid Date")return null;let i=Math.max(r.getTime(),t.minDate.getTime());return i=Math.min(i,t.maxDate.getTime()),new Date(i)},rh=(t,a,n)=>{ft(a)||(a=t.minDate);let r=Math.max(a.getTime(),t.minDate.getTime());return r=Math.min(r,t.maxDate.getTime()),Oe.format(new Date(r),n)},oh={modelValue:{type:[String,Date]},confirmText:{type:String},cancelText:{type:String},type:{type:String,default:()=>"date"},valueFormat:{type:String},visible:{type:Boolean,default:()=>!1},title:{type:String,default:()=>""},isShowChinese:{type:Boolean,default:()=>!0},minuteStep:{type:Number,default:()=>1},minDate:{type:Date,default:()=>new Date(Wr-10,0,1),validator:ft},maxDate:{type:Date,default:()=>new Date(Wr+10,11,31),validator:ft},visibleItemCount:{type:[Number,String],default:()=>7},threeDimensional:{type:Boolean,default:()=>!0},swipeDuration:{type:[Number,String],default:()=>1e3},itemFormatter:{type:Function},itemFilter:{type:Function},teleportDisable:{type:Boolean}},{create:ih,scope:sh}=ie("date-picker"),uh=ih({components:{Picker:el},props:{...oh},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(t,{emit:a}){const{t:n}=(0,Se.useFoxI18n)(sh),r={day:n("day"),year:n("year"),month:n("month"),hour:n("hour"),minute:n("minute"),seconds:n("seconds"),today:n("today"),fullWeekdays:JSON.parse(n("fullWeekdays"))},i=(0,l.ref)(!1);(0,l.watch)(()=>t.visible,d=>{i.value=d});function o(d,z){return new Date(d,z,0).getDate()}const s=(d,z)=>{const M=t[`${d}Date`],_=M.getFullYear();let S=1,V=1,w=0,O=0;d==="max"&&(S=12,V=o(z.getFullYear(),z.getMonth()+1),w=23,O=59);const C=O;return z.getFullYear()===_&&(S=M.getMonth()+1,z.getMonth()+1===S&&(V=M.getDate(),z.getDate()===V&&(w=M.getHours(),z.getHours()===w&&(O=M.getMinutes())))),{[`${d}Year`]:_,[`${d}Month`]:S,[`${d}Date`]:V,[`${d}Hour`]:w,[`${d}Minute`]:O,[`${d}Seconds`]:C}},u=(0,l.computed)(()=>{if(!p.value)return[];const{maxYear:d,maxDate:z,maxMonth:M,maxHour:_,maxMinute:S,maxSeconds:V}=s("max",p.value),{minYear:w,minDate:O,minMonth:C,minHour:I,minMinute:Z,minSeconds:N}=s("min",p.value);let E=[{type:"year",range:[w,d]},{type:"month",range:[C,M]},{type:"day",range:[O,z]},{type:"hour",range:[I,_]},{type:"minute",range:[Z,S]},{type:"seconds",range:[N,V]}];switch(t.type){case"date":E=E.slice(0,3);break;case"datetime":E=E.slice(0,5);break;case"time":E=E.slice(3,6);break;case"year-month":E=E.slice(0,2);break;case"month-day":E=E.slice(1,3);break;case"datehour":E=E.slice(0,4);break;case"hour-minute":E=E.slice(3,5);break}return E}),e=(d,z,M,_,S)=>{const V=[];for(;d<=z;){let w=!0;if(typeof t.itemFilter=="function"){const O={text:`${d}`,value:d,type:M,currentYearMonth:_};w=t.itemFilter(O)}if(w)if(typeof t.itemFormatter=="function"){const O={text:`${d}`,value:d,type:M,currentYearMonth:_};t.itemFormatter(O),V.push({text:O.text,value:O.value})}else if(t.isShowChinese){let O=`${d}${r[M]}`;if(M==="day"){if(_[0]===S[0]&&_[1]===S[1]&&d===S[2])O=r.today;else{const C=new Date(_[0],_[1],d).getDay();O=`${O} ${r.fullWeekdays[C]}`}V.push({text:O,value:d})}else V.push({text:d+r[M],value:d})}else V.push({text:`${d}`,value:d});M==="minute"?d+=t.minuteStep:d++}return V},c=(0,l.computed)(()=>{const d=new Date,z=[d.getFullYear(),d.getMonth(),d.getDate()],M=[];p.value&&(M[0]=p.value.getFullYear(),M[1]=p.value.getMonth());let _=[];return u.value.forEach(S=>{let V=e(S.range[0],S.range[1],S.type,M,z);V&&_.push(V)}),_}),m=(d,z)=>d==="year"?z.getFullYear():d==="month"?z.getMonth()+1:d==="day"?z.getDate():d==="hour"?z.getHours():d==="minute"?z.getMinutes():d==="seconds"?z.getSeconds():0,f=(0,l.ref)(),p=(0,l.ref)(null);(0,l.watch)(()=>t.modelValue,d=>{let z;if(typeof d=="string"?d.length==0||d==="Invalid Date"?z=new Date:t.valueFormat?z=Ur(t,t.modelValue,t.valueFormat):z=Ur(t,d,ah[t.type]):ft(d)?z=d:z=new Date,!!z&&(!p.value||z.getTime()!==p.value.getTime())){p.value=z;let M=[];u.value.forEach(_=>{let S=m(_.type,z);M.push(S)}),f.value=M}},{immediate:!0});const b=d=>{if(!d||d.length===0){p.value=new Date;let z=[];u.value.forEach(M=>{let _=m(M.type,p.value);z.push(_)}),f.value=z;return}if(t.type==="date"){const z=d[0],M=d[1]-1,_=Math.min(d[2],o(z,M+1));_!==d[2]&&(d[2]=_),p.value=new Date(z,M,_)}else if(t.type==="datetime"){const z=d[0],M=d[1]-1,_=Math.min(d[2],o(z,M+1)),S=d[3],V=d[4];_!==d[2]&&(d[2]=_),p.value=new Date(z,M,_,S,V)}else if(t.type==="time"){const z=d[0],M=d[1],_=d[2],S=p.value??new Date;p.value=new Date(S.getFullYear(),S.getMonth(),S.getDate(),z,M,_)}else if(t.type==="year-month"){const z=d[0],M=d[1]-1;p.value=new Date(z,M)}else if(t.type==="month-day"){const z=(p.value??new Date).getFullYear(),M=d[0]-1,_=Math.min(d[1],o(z,M+1));_!==d[1]&&(d[1]=_),p.value=new Date(z,M,_)}else if(t.type==="datehour"){const z=d[0],M=d[1]-1,_=Math.min(d[2],o(z,M+1)),S=d[3];_!==d[2]&&(d[2]=_),p.value=new Date(z,M,_,S)}else if(t.type==="hour-minute"){const z=d[0],M=d[1],_=p.value??new Date;p.value=new Date(_.getFullYear(),_.getMonth(),_.getDate(),z,M)}f.value=d};return{columns:c,dateIndexs:f,show:i,onChange:d=>{b(d)},onClose:()=>{a("update:close",!1)},onConfirm:d=>{b(d);const z=p.value??new Date;t.valueFormat?a("update:modelValue",rh(t,z,t.valueFormat)):a("update:modelValue",z),a("confirm",d)},onClear:()=>{a("clear")},onUpdateVisible:d=>{i.value=d,a("update:visible",d)}}}});function ch(t,a,n,r,i,o){const s=(0,l.resolveComponent)("Picker");return(0,l.openBlock)(),(0,l.createBlock)(s,{visible:t.show,"model-value":t.dateIndexs,source:t.columns,"value-type":"value","confirm-text":t.confirmText,"cancel-text":t.cancelText,title:t.title,onChange:t.onChange,onConfirm:t.onConfirm,onClose:t.onClose,onClear:t.onClear,"onUpdate:visible":t.onUpdateVisible,"visible-item-count":t.visibleItemCount,"three-dimensional":t.threeDimensional,"swipe-duration":t.swipeDuration,"teleport-disable":t.teleportDisable},{top:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"top")]),default:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onChange","onConfirm","onClose","onClear","onUpdate:visible","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}var _a=Fe(uh,[["render",ch]]),fl=(t,a,n)=>t.map(r=>{const{value:i="value",text:o="text",children:s="children"}=n??{},{[i]:u,[o]:e,[s]:c,...m}=r,f={loading:!1,...m,level:a?(a&&a.level||0)+1:0,value:u,text:e,children:c,_parent:a};return f.children&&f.children.length&&(f.children=fl(f.children,f,n)),f}),li=(t,a)=>{let n=0,r;for(;(r=t[n++])&&a(r)!==!0;)r.children&&r.children.length&&li(r.children,a)},dh={topId:null,idKey:"id",pidKey:"pid",sortKey:""},fh=(t,a)=>{const{topId:n,idKey:r,pidKey:i,sortKey:o}={...dh,...a||{}};let s=[],u={};return t.forEach(e=>{e={...e};const{[r]:c,[i]:m}=e,f=u[m]=u[m]||[];!s.length&&m===n&&(s=f),f.push(e),e.children=u[c]||(u[c]=[])}),o&&Object.keys(u).forEach(e=>{u[e].length>1&&u[e].sort((c,m)=>c[o]-m[o])}),u=null,s},Gr=class{nodes;config;constructor(t,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=fl(t,null,this.config)}updateChildren(t,a){a?a.children=fl(t,a,this.config):this.nodes=fl(t,null,this.config)}getNodeByValue(t){let a;return li(this.nodes,n=>{if(n.value===t)return a=n,!0}),a}getPathNodesByValue(t){if(!t.length)return[];const a=[];let n=this.nodes;for(;n&&n.length;){const r=n.find(i=>i.value===t[i.level]);if(!r)break;a.push(r),n=r.children}return a}isLeaf(t,a){const{leaf:n,children:r}=t,i=Array.isArray(r)&&!!r.length;return n||!i&&!a}hasChildren(t,a){if(this.isLeaf(t,a))return!1;const{children:n}=t;return Array.isArray(n)&&!!n.length}},{create:mh,scope:hh}=ie("cascader-pane"),ph=mh({components:{Loading:Zt,Checklist:Ro,TabsBar:tl,TabsContainer:ll,TabsPane:Ul},props:{visible:{type:Boolean,required:!0},modelValue:{type:Array,required:!0},options:{type:Array,default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(t,{emit:a}){const{t:n}=(0,Se.useFoxI18n)(hh),r=(0,l.computed)(()=>({lazy:t.lazy,lazyLoad:t.lazyLoad,valueKey:t.valueKey,textKey:t.textKey,childrenKey:t.childrenKey,convertConfig:t.convertConfig})),i=(0,l.ref)(0),o=(0,l.ref)(!1),s=(0,l.ref)(t.modelValue),u=(0,l.ref)(new Gr([],{})),e=(0,l.ref)([]),c=(0,l.computed)(()=>r.value.lazy&&!!r.value.lazyLoad),m=(0,l.computed)(()=>o.value==!0||e.value.length==0?[{text:"Loading",value:0}]:e.value.map((g,d)=>({text:g.selectedNode?g.selectedNode.text:n("select"),value:d}))),f=new Map;let p;const b=async()=>{f.clear(),e.value=[],i.value=0,o.value=!1,p=null;let{options:g}=t;r.value.convertConfig&&(g=fh(g,r.value.convertConfig)),u.value=new Gr(g,{value:r.value.valueKey,text:r.value.textKey,children:r.value.childrenKey}),c.value&&!u.value.nodes.length&&await v({root:!0,loading:!0,text:"",value:""}),e.value=[{nodes:u.value.nodes,selectedNode:null}],k()},k=async()=>{const g=s.value;if(g===void 0||!u.value.nodes.length)return;if(g.length===0){i.value=0,e.value=[{nodes:u.value.nodes,selectedNode:null}];return}let d=g;if(c.value&&Array.isArray(g)&&g.length){d=[];let z=u.value.nodes.find(M=>M.value===g[0]);z&&(d=[z.value],o.value=!0,await v(await g.slice(1).reduce(async(M,_)=>{const S=await M;await v(S);const V=S&&S?.children?.find(w=>w.value===_);return V&&d.push(_),Promise.resolve(V)},Promise.resolve(z))),o.value=!1)}d.length&&g===t.modelValue&&u.value.getPathNodesByValue(d).map((z,M)=>{i.value=M,$.handleNode(z,!0)})},v=async g=>{if(!g)return;if(!r.value.lazyLoad){g.leaf=!0;return}if(u.value.isLeaf(g,c.value)||u.value.hasChildren(g,c.value))return;g.loading=!0;const d=g.root?null:g;let z=f.get(g);z||(z=new Promise(_=>{r.value.lazyLoad?.(g,_)}),f.set(g,z));const M=await z;Array.isArray(M)&&M.length>0?u.value.updateChildren(M,d):g.leaf=!0,g.loading=!1,f.delete(g)},h=g=>{const d=g.map(z=>z.value);s.value=d,a("change",d,g),a("update:modelValue",d,g)},$={async handleNode(g,d){const{disabled:z,loading:M}=g;if(!(!d&&z||!e.value[i.value])){if(u.value.isLeaf(g,c.value)){if(g.leaf=!0,e.value[i.value].selectedNode=g,e.value=e.value.slice(0,g.level+1),!d){const _=e.value.map(S=>S.selectedNode);h(_),a("pathChange",_)}return}if(u.value.hasChildren(g,c.value)){const _=g.level+1;e.value[i.value].selectedNode=g,e.value=e.value.slice(0,_),e.value.push({nodes:g.children||[],selectedNode:null}),i.value=_,d||a("pathChange",e.value.map(S=>S.selectedNode));return}p=g,!M&&(await v(g),p===g&&(e.value[i.value].selectedNode=g,$.handleNode(g,d)))}},handleTabChange(g,d){p=null},formatTabTitle(g){return g.selectedNode?g.selectedNode.text:n("select")},isSelected(g,d){return g.selectedNode&&g.selectedNode.value===d.value}};return(0,l.watch)([r,()=>t.options],()=>{b()},{deep:!0,immediate:!0}),(0,l.watch)(()=>t.modelValue,g=>{g!==s.value&&(s.value=g,k())}),(0,l.watch)(()=>t.visible,g=>{g&&Array.isArray(s.value)&&s.value.length>0&&k()}),{panes:e,panesTitles:m,initLoading:o,tabsCursor:i,...$}}}),gh={class:"fox-cascader"},vh={role:"menu",class:"fox-cascader__pane"},yh=["aria-checked","aria-disabled","onClick"],bh={class:"fox-cascader__item__title"};function wh(t,a,n,r,i,o){const s=(0,l.resolveComponent)("TabsBar"),u=(0,l.resolveComponent)("Loading"),e=(0,l.resolveComponent)("Checklist"),c=(0,l.resolveComponent)("TabsPane"),m=(0,l.resolveComponent)("TabsContainer");return(0,l.openBlock)(),(0,l.createElementBlock)("view",gh,[(0,l.createVNode)(s,{modelValue:t.tabsCursor,"onUpdate:modelValue":a[0]||(a[0]=f=>t.tabsCursor=f),data:t.panesTitles,onChange:t.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,l.createVNode)(m,{modelValue:t.tabsCursor,"onUpdate:modelValue":a[1]||(a[1]=f=>t.tabsCursor=f)},{default:(0,l.withCtx)(()=>[!t.initLoading&&t.panes.length?((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,{key:0},(0,l.renderList)(t.panes,(f,p)=>((0,l.openBlock)(),(0,l.createBlock)(c,{"pane-key":p,key:p},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("view",vh,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(f.nodes,b=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:b.value,class:(0,l.normalizeClass)(["fox-cascader__item",{active:t.isSelected(f,b),disabled:b.disabled}]),"aria-checked":t.isSelected(f,b),"aria-disabled":b.disabled||void 0,role:"menuitemradio",onClick:k=>t.handleNode(b,!1)},[(0,l.createElementVNode)("view",bh,(0,l.toDisplayString)(b.text),1),b.loading?((0,l.openBlock)(),(0,l.createBlock)(u,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,l.openBlock)(),(0,l.createBlock)(e,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,yh))),128))])]),_:2},1032,["pane-key"]))),128)):((0,l.openBlock)(),(0,l.createBlock)(c,{key:1,"pane-key":0},{default:(0,l.withCtx)(()=>[...a[2]||(a[2]=[(0,l.createElementVNode)("view",{class:"fox-cascader__pane"},null,-1)])]),_:1}))]),_:1},8,["modelValue"])])}var Sh=Fe(ph,[["render",wh]]),{create:xh}=ie("cascader-picker"),Ch=xh({components:{FoxCascaderPane:Sh,FoxPopup:wt},props:{...ta,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(t,{emit:a}){const n=(0,l.ref)(t.modelValue),r=(0,l.computed)({get(){return t.visible},set(s){a("update:visible",s)}}),i=(s,u)=>{n.value=s,r.value=!1,a("change",s,u),a("update:modelValue",s)},o=s=>{a("pathChange",s)};return(0,l.watch)(()=>t.modelValue,s=>{s!==n.value&&(n.value=s)}),{onChange:i,onPathChange:o,innerValue:n,innerVisible:r}}}),Nh=["innerHTML"];function kh(t,a,n,r,i,o){const s=(0,l.resolveComponent)("FoxCascaderPane"),u=(0,l.resolveComponent)("FoxPopup");return t.poppable?((0,l.openBlock)(),(0,l.createBlock)(u,{key:0,visible:t.innerVisible,"onUpdate:visible":a[0]||(a[0]=e=>t.innerVisible=e),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:t.closeable,"destroy-on-close":!1,"close-icon-position":t.closeIconPosition},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"header",{},()=>[t.title?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:"fox-cascader__bar",innerHTML:t.title},null,8,Nh)):(0,l.createCommentVNode)("",!0)]),(0,l.createVNode)(s,{onChange:t.onChange,onPathChange:t.onPathChange,modelValue:t.innerValue,options:t.options,lazy:t.lazy,"lazy-load":t.lazyLoad,"value-key":t.valueKey,"text-key":t.textKey,"children-key":t.childrenKey,"convert-config":t.convertConfig,visible:t.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:3},8,["visible","closeable","close-icon-position"])):((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,onChange:t.onChange,onPathChange:t.onPathChange,modelValue:t.innerValue,options:t.options,lazy:t.lazy,"lazy-load":t.lazyLoad,"value-key":t.valueKey,"text-key":t.textKey,"children-key":t.childrenKey,"convert-config":t.convertConfig,visible:t.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}var $a=Fe(Ch,[["render",kh]]),zh=Symbol.for("PageWrapperKey");function Eh(t,a){return{props:{class:{type:[String]},title:{type:[String]},height:{type:[String,Number]},hideHeader:{type:[Boolean]},draggable:{type:[Boolean],default:()=>!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:()=>!1},closeOnPressEscape:{type:[Boolean],default:()=>!0}},setup(n,r){Rn(!0);const i={};(0,l.provide)(zh,i);const o=c=>{typeof i.beforeClose=="function"&&i.beforeClose()},s=(0,l.ref)(!0),u=c=>{s.value=c},e=(0,l.computed)(()=>{const c={};return n.height&&(c["--fox-dialog-item-body-height"]=we(n.height)),c});return()=>{const c={...r.attrs,style:e.value,title:n.title,draggable:n.draggable,modelValue:s.value,"onUpdate:modelValue":u,"append-to-body":n.appendToBody,"close-on-click-modal":n.closeOnClickModal,"close-on-press-escape":n.closeOnPressEscape,"before-close":o},m=["fox-dialog-item "];n.hideHeader&&m.push("hide-header"),n.class&&m.push(n.class),c.class=m.join(" ");const f={};return typeof r.slots.default=="function"&&(f.default=r.slots.default),(0,l.h)(B.ElDialog,c,f)}}}}var{componentName:Th,create:_h,scope:$h}=ie("dialog-item"),Vh=_h(Eh(Th,$h)),Va=Vh,{create:Bh}=ie("toast"),Dh=Bh({props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:[String,Number],default:20},icon:{type:[Object],required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(t,{emit:a}){let n=null;const r=(0,l.reactive)({mounted:!1});(0,l.onMounted)(()=>{r.mounted=!0});const i=()=>{n&&(clearTimeout(n),n=null)},o=()=>{r.mounted=!1},s=()=>{i(),t.duration&&(n=setTimeout(()=>{o()},t.duration))},u=()=>{t.closeOnClickOverlay&&(o(),a("close"))};t.duration&&s(),(0,l.watch)(()=>t.duration,b=>{b&&s()});const e=(0,l.computed)(()=>t.type!=="text"?!0:!!t.icon),c=()=>{const b=me(t.iconSize);return(0,l.h)(t.icon,{width:b,height:b,color:t.iconColor})},m=(0,l.computed)(()=>["fox-toast",{"fox-toast-center":t.center},{"fox-toast-has-icon":e.value},{"fox-toast-cover":t.cover},{"fox-toast-loading":t.type==="loading"},t.customClass,"fox-toast-"+t.size]),f=(0,l.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!t.loadingRotate}]);return{state:r,hide:o,clickCover:u,renderIcon:c,hasIcon:e,toastBodyClass:m,toastIconWrapperClass:f,onAfterLeave:()=>{i(),t.unmount(t.id),t.onClose&&t.onClose()}}}}),Mh={key:1,class:"fox-toast-title"},Ih=["innerHTML"];function Ah(t,a,n,r,i,o){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{name:"toast-fade",onAfterLeave:t.onAfterLeave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.toastBodyClass),style:(0,l.normalizeStyle)({bottom:t.center?"auto":t.bottom,"background-color":t.coverColor}),onClick:a[0]||(a[0]=(...s)=>t.clickCover&&t.clickCover(...s))},[(0,l.createElementVNode)("view",{class:"fox-toast-inner",style:(0,l.normalizeStyle)({"text-align":t.textAlignCenter?"center":"left","background-color":t.bgColor})},[t.hasIcon?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(t.toastIconWrapperClass)},[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.renderIcon())))],2)):(0,l.createCommentVNode)("",!0),t.title?((0,l.openBlock)(),(0,l.createElementBlock)("div",Mh,(0,l.toDisplayString)(t.title),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:"fox-toast-text",innerHTML:t.msg},null,8,Ih)],4)],6),[[l.vShow,t.state.mounted]])]),_:1},8,["onAfterLeave"])}var Ba=Fe(Dh,[["render",Ah]]),_n={msg:"",id:"",duration:2e3,center:!0,type:"text",title:"",customClass:"",bottom:"30px",size:"base",iconSize:"20",icon:null,textAlignCenter:!0,loadingRotate:!0,bgColor:"",onClose:null,unmount:null,cover:!1,coverColor:"",closeOnClickOverlay:!1},kt=[],qt=[],ni=t=>{if(t){const a=document.getElementById(t);qt=qt.filter(n=>n.id!==t),kt=kt.filter(n=>n!==t),a&&document.body.removeChild(a)}else kt.forEach(a=>{const n=document.getElementById(a);n&&document.body.removeChild(n)}),qt=[],kt=[]},Lh=t=>{const a=document.getElementById(t.id);if(a){const n=qt.find(r=>r.id===t.id);return n?t={..._n,...n,...t}:t={..._n,...t},(0,l.render)((0,l.createVNode)(Ba,t),a),Dt}},Ft=t=>{t.unmount=ni;let a;if(t.id){if(a=t.id,kt.find(r=>r===t.id))return Lh(t)}else a=new Date().getTime()+"";t={..._n,...t},t.id=a,kt.push(t.id),qt.push(t);const n=document.createElement("div");return n.id=t.id,(0,l.render)((0,l.createVNode)(Ba,t),n),document.body.appendChild(n),Dt},ul=t=>{if(!t){console.warn("[FoxUI Toast]: msg不能为空");return}},Dt={text(t,a={}){return ul(t),Ft({...a,type:"text",msg:t})},success(t,a={}){return ul(t),Ft({icon:Gc,...a,msg:t,type:"success"})},fail(t,a={}){return ul(t),Ft({icon:m4,...a,msg:t,type:"fail"})},warn(t,a={}){return ul(t),Ft({icon:jc,...a,msg:t,type:"warn"})},loading(t,a={}){return Ft({icon:Zt,...a,msg:t,type:"loading"})},hide(t){ni(t)},install(t){t.use(Ba),t.config.globalProperties.$toast=Dt}},Ph={modelValue:{type:[Boolean],default:!1},pullingText:{type:[String]},loosingText:{type:[String]},loadingText:{type:[String]},headHeight:{type:[String,Number],default:50},pullDistance:{type:[String,Number],default:50},duration:{type:[String,Number],default:.3}},Fh=(t,a,n)=>({props:{...Ph},emits:["change","refresh","update:modelValue"],setup(r,{emit:i,slots:o}){const{toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["pullingText","loosingText","loadingText"]),e=Qt(),c=(0,l.ref)(),m=Wo(c),f=(0,l.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),p=(0,l.computed)(()=>({[t]:!0})),b=(0,l.computed)(()=>{switch(f.status){case"pulling":return o.pulling?"":u.pullingText.value;case"loosing":return o.loosing?"":u.loosingText.value;case"loading":return o.loading?"":u.loadingText.value;default:return""}}),k=(0,l.computed)(()=>({transitionDuration:`${r.duration}s`,transform:f.distance?`translate3d(0,${f.distance}px, 0)`:""})),v=(0,l.computed)(()=>{const S={};return r.headHeight!=50&&(S.height=we(r.headHeight)),S}),h=S=>{const V=+(r.pullDistance||r.headHeight);let w=S;return S>V&&(S<V*2?w=(S+V)/2:w=V+S/4),Math.round(w)},$=(S,V)=>{const w=+(r.pullDistance||r.headHeight);f.distance=S,V?f.status="loading":S===0?f.status="normal":S<w?f.status="pulling":f.status="loosing",i("change",{status:f.status,distance:S})},g=()=>f.status!=="loading"&&f.status!=="complete",d=()=>m.value==window?Uo()==0:m.value&&m.value.scrollTop==0,z=S=>{g()&&(d()?(e.start(S),f.isPullRefresh=!0,f.moving=!0):(f.distance=0,f.isPullRefresh=!1))},M=S=>{g()&&f.moving&&(e.move(S),e.isVertical()&&e.state.deltaY>0&&f.isPullRefresh&&(S.cancelable&&S.preventDefault(),$(h(e.state.deltaY))))},_=()=>{f.moving=!1,f.isPullRefresh&&g()&&e.state.deltaY&&(f.status==="loosing"?($(+r.headHeight,!0),i("update:modelValue",!0),(0,l.nextTick)(()=>i("refresh"))):$(0)),setTimeout(()=>{e.reset()},0)};return(0,l.watch)(()=>r.modelValue,S=>{S?$(+r.headHeight,!0):$(0)}),()=>{const S=[];let V=null;f.status==="loading"?(V=o?.loading?.()??null,V||(V=(0,l.h)(n,{class:["fox-pull-refresh-container-topbox-icon"]}))):f.status==="pulling"?V=o?.pulling?.()??null:f.status==="loosing"&&(V=o?.loosing?.()??null),V&&S.push(V);const w=(0,l.h)("dive",{class:["fox-pull-refresh-container-topbox-text"]},[b.value]);S.push(w);const O=(0,l.h)("div",{class:["fox-pull-refresh-container-topbox"],style:v.value},S),C=(0,l.h)("div",{class:"fox-pull-refresh-container",style:k.value},[O,o?.default?.()]),I={ref:c,class:p.value};return Jt()?Object.assign(I,{onTouchstart:z,onTouchmove:M,onTouchend:_}):Object.assign(I,{onMousedown:z,onMousemove:M,onMouseup:_}),(0,l.h)("div",I,[C])}}}),{componentName:Rh,create:Oh,scope:Hh}=ie("pull-refresh"),qh=Oh(Fh(Rh,Hh,Zt)),Da=qh,jh={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},textPosition:{type:[String],requried:!1},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},icon:{type:[Object],requried:!1}};function Kh(t,a,n){return{props:{...jh},emits:["click","update:modelValue"],setup(r,{emit:i,slots:o}){const{toLocaleRefs:s}=(0,Se.useFoxI18n)(a),u=s(r,["collapseText","expandText"]),e=(0,l.computed)(()=>{const k={[`${t}`]:!0};return r.disabled?k[`${t}--disabled`]=!0:k[`${t}--${r.type}`]=!0,k}),c=ge(r,"modelValue"),m=(0,l.computed)(()=>c.value?u.expandText.value??"":u.collapseText.value??""),f=(0,l.computed)(()=>({[`${t}__text`]:!0})),p=(0,l.computed)(()=>({[`${t}__icon`]:!0,"is-expand":!c.value,"is-collapse":c.value})),b=()=>{i("update:modelValue",!c.value)};return()=>{const k=[];if(m.value){const $=(0,l.h)("span",{class:f.value},[m.value]);k.push($)}const v={class:p.value},h=(o.icon&&o.icon())??(r.icon&&(0,l.h)(r.icon))??(0,l.h)(n);if(h){const $=(0,l.h)("div",v,[h]);k.push($)}return r.textPosition==="right"&&k.reverse(),(0,l.h)("div",{class:e.value,onClick:b},k)}}}}var{componentName:Yh,create:Wh,scope:Uh}=ie("more-button"),Gh=Wh(Kh(Yh,Uh,$e.ArrowUp)),Ma=Gh;function Xh(t){t.stopPropagation()}var Zh=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(t,a){this.startMove=t,this.updateMove=a,this.isTouch=Jt()}open(t){Array.isArray(t)||(t=[t]),this.els=t;const a=Qt(),n=(r,i,o,s)=>{this.updateMove({x:r,y:i})};this.touchstart=r=>{this.moving||(a.start(r),this.startMove({x:a.state.startX,y:a.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=r=>{this.moving&&(a.move(r),Xh(r),n(a.state.deltaX,a.state.deltaY,"",0))},this.touchend=()=>{n(a.state.deltaX,a.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),a.reset(),this.moving=!1},this.els.forEach(r=>{this.touchstart&&r.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(t=>{this.touchstart&&t.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function Jh(t,a){return new Zh(t,a)}var Qh={customClass:{type:[String]},top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},borderRadius:{type:[String]},draggable:{type:[Boolean]},zIndex:{type:[String]}},ep=(t,a,n,r=!1)=>({props:{...Qh},emits:["click"],setup(i,{slots:o,emit:s}){const u=(0,l.reactive)({top:i.top,right:i.right,bottom:i.bottom,left:i.left}),e=(0,l.computed)(()=>{const g=[`${t}`];return i.customClass&&g.push(i.customClass),g}),c=(0,l.computed)(()=>{const g={};return fe(u.top)||(g.top=u.top),fe(u.right)||(g.right=u.right),fe(u.bottom)||(g.bottom=u.bottom),fe(u.left)||(g.left=u.left),fe(i.width)||(g.width=i.width),fe(i.height)||(g.height=i.height),fe(i.color)||(g.color=i.color),fe(i.background)||(g.background=i.background),fe(i.borderRadius)||(g["border-radius"]=i.borderRadius),fe(i.zIndex)||(g["z-index"]=i.zIndex),g}),m=(0,l.computed)(()=>({[`${t}__icon`]:!0})),f=()=>{s("click")},p=(0,l.ref)(null),b=()=>{u.top=null,u.right=null,u.bottom=null,u.left=null},k={x:0,y:0},$=Jh(g=>{if(!p.value)return;const d=p.value;b(),u.left=d.offsetLeft,u.top=d.offsetTop,d.style.left=`${u.left}px`,d.style.top=`${u.top}px`,d.style.right=null,d.style.bottom=null,k.x=u.left,k.y=u.top},g=>{if(!p.value)return;const d=p.value;b(),u.left=k.x+g.x,u.top=k.y+g.y,d.style.left=`${u.left}px`,d.style.top=`${u.top}px`});return(0,l.onMounted)(()=>{if(i.draggable&&p.value){const g=[p.value];$.open(g)}}),(0,l.onBeforeUnmount)(()=>{i.draggable&&p.value&&$.close()}),()=>{let g=[];const d=typeof o.default=="function"?o.default():[];if(d&&d.length>0)g=d;else{const z=(0,l.h)(n,{class:m.value});g.push(z)}return(0,l.h)("view",{ref:z=>{p.value=z},class:e.value,style:c.value,onClick:f},g)}}}),{componentName:tp,create:lp,scope:np}=ie("floating-button"),ap=lp(ep(tp,np,_c,!1)),Ia=ap;function rp(t,a){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"}},setup(n,{slots:r}){const i=t,o=(0,l.computed)(()=>({[i]:!0})),s=(0,l.computed)(()=>n.icon?{[`${i}__icon`]:!0,[`${i}__icon-${n.type}`]:!0}:{[`${i}__mark`]:!0,[`${i}__mark-${n.type}`]:!0}),u=(0,l.computed)(()=>n.color?n.icon?{color:n.color}:{background:n.color}:null),e=(0,l.computed)(()=>{const m={[`${i}__text`]:!0,[`${i}__text-${n.type}`]:!0};return n.textPosition==="left"?m["is-left"]=!0:m["is-right"]=!0,m}),c=(0,l.computed)(()=>n.color?{color:n.color}:null);return()=>{let m=null;if(r.mark)m=r.mark()[0];else{const b={class:s.value,style:u.value};m=(0,l.h)(n.icon??"div",b)}const f=(0,l.h)("div",{class:e.value,style:c.value},r.default?r.default():[]),p={class:o.value};return n.textPosition==="right"?(0,l.h)("div",p,[m,f]):(0,l.h)("div",p,[f,m])}}}}var{componentName:op,create:ip,scope:sp}=ie("indicator"),up=ip(rp(op,sp)),Aa=up,{componentName:cp,create:dp,scope:Av}=ie("tour"),fp=dp({components:{Close:$e.Close,ElPopover:B.ElPopover},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},width:{type:String,default:"300px"},popperClass:{type:String,default:""},current:{type:Number,default:0},nextStepText:{type:String,default:"下一步"},prevStepText:{type:String,default:"上一步"},completeText:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Object,default:{left:8,top:10,right:8,botttom:10}},maskWidth:{type:[Number,String],default:""},maskHeight:{type:[Number,String],default:""},closeOnClickOverlay:{type:Boolean,default:!0},showPrevStep:{type:Boolean,default:!0},showTitleBar:{type:Boolean,default:!0}},emits:["update:modelValue","change","close"],setup(t,{emit:a}){const n=cp,r=(0,l.reactive)({showTour:t.modelValue,showPopup:!1,active:0}),i=(0,l.ref)({}),o=(0,l.computed)(()=>`${n}`),s=(0,l.computed)(()=>{const{offset:k,maskWidth:v,maskHeight:h}=t,{width:$,height:g,left:d,top:z}=i.value,M=t.steps[r.active].offset??k,_=[d+$/2,z+g/2],S=Number(v||$),V=Number(h||g);return{width:`${S+ +M.left+M.right}px`,height:`${V+M.top+M.bottom}px`,top:`${_[1]-V/2-+M.top}px`,left:`${_[0]-S/2-+M.left}px`}}),u=k=>{k=="next"?r.active=r.active+1:r.active=r.active-1,r.showPopup=!1,(0,l.nextTick)(()=>{r.showPopup=!0,m()}),a("change",r.active)},e=k=>k.popoverWidth??t.width,c=k=>k.location??t.location,m=()=>{const k=Sa(document.querySelector(`${t.steps[r.active].target}`));i.value={x:k.left,y:k.top,top:k.top,left:k.left,width:k.width,height:k.height}},f=()=>{r.showTour=!1,r.showPopup=!1,a("close",r.active),a("update:modelValue",!1)},p=()=>{t.closeOnClickOverlay&&f()},b=(k,v=0)=>{k&&m(),t.steps,r.active=v,r.showTour=k,r.showPopup=k};return(0,l.onMounted)(()=>{b(t.modelValue,t.current)}),(0,l.watch)(()=>t.modelValue,k=>{b(k)}),{...(0,l.toRefs)(r),classes:o,maskStyle:s,changeStep:u,popoverWidth:e,popoverLocation:c,close:f,handleClickMask:p}}}),mp={key:0,class:"fox-tour__content"},hp={key:0,class:"fox-tour__content-top"},pp={class:"fox-tour__content-inner"},gp={class:"fox-tour__content-bottom"},vp={class:"fox-tour__content-bottom-init"},yp={class:"fox-tour__content-bottom-operate"},bp={key:1,class:"fox-tour__content fox-tour__content-tile"},wp={class:"fox-tour__content-inner"};function Sp(t,a,n,r,i,o){const s=(0,l.resolveComponent)("Close"),u=(0,l.resolveComponent)("fox-button"),e=(0,l.resolveComponent)("ElPopover");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(t.classes)},[(0,l.withDirectives)((0,l.createElementVNode)("div",{class:"fox-tour__masked",onClick:a[0]||(a[0]=(...c)=>t.handleClickMask&&t.handleClickMask(...c))},null,512),[[l.vShow,t.showTour]]),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.steps,(c,m)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:m,style:{height:"0"}},[m==t.active?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,"popper-class":"popperClass",visible:t.showPopup,placement:t.popoverLocation(c),width:t.popoverWidth(c)},{reference:(0,l.withCtx)(()=>[t.showTour?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(["fox-tour__mask",[t.mask?"":"fox-tour__mask-none"]]),style:(0,l.normalizeStyle)(t.maskStyle),id:"fox-tour-popid"},null,6)):(0,l.createCommentVNode)("",!0)]),default:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default",{},()=>[t.type=="step"?((0,l.openBlock)(),(0,l.createElementBlock)("div",mp,[t.showTitleBar?((0,l.openBlock)(),(0,l.createElementBlock)("div",hp,[(0,l.createElementVNode)("div",{onClick:a[1]||(a[1]=(...f)=>t.close&&t.close(...f))},[(0,l.createVNode)(s,{class:"fox-tour__content-top-close"})])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",pp,(0,l.toDisplayString)(c.content),1),(0,l.createElementVNode)("div",gp,[(0,l.createElementVNode)("div",vp,(0,l.toDisplayString)(t.active+1)+"/"+(0,l.toDisplayString)(t.steps.length),1),(0,l.createElementVNode)("div",yp,[(0,l.renderSlot)(t.$slots,"prev-step",{},()=>[t.active!=0&&t.showPrevStep?((0,l.openBlock)(),(0,l.createBlock)(u,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:a[2]||(a[2]=f=>t.changeStep("prev"))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.prevStepText),1)]),_:1})):(0,l.createCommentVNode)("",!0)]),t.steps.length-1==t.active?((0,l.openBlock)(),(0,l.createBlock)(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:t.close},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.completeText),1)]),_:1},8,["onClick"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"next-step",{},()=>[t.steps.length-1!=t.active?((0,l.openBlock)(),(0,l.createBlock)(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:a[3]||(a[3]=f=>t.changeStep("next"))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.nextStepText),1)]),_:1})):(0,l.createCommentVNode)("",!0)])])])])):(0,l.createCommentVNode)("",!0),t.type=="tile"?((0,l.openBlock)(),(0,l.createElementBlock)("div",bp,[(0,l.createElementVNode)("div",wp,(0,l.toDisplayString)(c.content),1)])):(0,l.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","width"])):(0,l.createCommentVNode)("",!0)]))),128))],2)}var La=Fe(fp,[["render",Sp]]);function xp(t,a){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean],required:!1}},setup(n,{slots:r}){return yo(n.name,()=>n.config),We(n.innerPageScope)||Rn(n.innerPageScope),We(n.abstractPageScope)||So(n.abstractPageScope),()=>typeof r.default=="function"?r.default():null}}}var{componentName:Cp,create:Np,scope:kp}=ie("domain-provider"),zp=Np(xp(Cp,kp)),Pa=zp,Ep={initialVisibleObserverSize:{type:[Number],required:!1},initialInvisibleObserverHeight:{type:[String],required:!1,default:()=>"250px"},disabled:{type:[Boolean],required:!1},loadPolicy:{type:[String],required:!1,default:()=>"rolling"},rootMargin:{type:[String],required:!1,default:()=>"250px 0px 250px 0px"},threshold:{type:[Array],required:!1,default:()=>[0,.25]},root:{type:[Object,String]}};function Tp(t,a){return{inheritAttrs:!1,props:Ep,emits:["change"],setup(n,{slots:r,emit:i}){if(ht&&window.IntersectionObserver){const o=new WeakMap;let s=new Map;const u=(p,b)=>{if(m===null){s.set(p,{visible:null,callback:b});return}o.has(p)&&m.unobserve(p),o.set(p,{visible:null,callback:b}),m.observe(p)},e=p=>{if(m===null){s.delete(p);return}o.has(p)&&(o.delete(p),m.unobserve(p))};let c=n.initialVisibleObserverSize;ks({acquire:()=>{if(n.loadPolicy==="always")return!0;const p=c>0;return c--,p},get disabled(){return n.disabled},get initialHeight(){return n.initialInvisibleObserverHeight},observe:u,unobserve:e});let m=null;const f=(p,b,k)=>{m=new IntersectionObserver(v=>{if(i("change",v),n.loadPolicy!=="always")for(let h of v){let $=!1;h.intersectionRatio>0&&($=!0);const g=o.get(h.target);if(g)try{if(n.loadPolicy==="lazy"&&!$&&g.visible!==null)return;g.visible=$,g.callback($)}catch(d){console.error(d)}}},{root:p,rootMargin:b,threshold:k}),s.forEach((v,h)=>{o.set(h,v),m?.observe(h)}),s.clear()};(0,l.watch)([()=>n.root,()=>n.disabled],([p,b])=>{if(b||!p||m)return;let k=null;typeof p=="string"?k=document.querySelector(p):k=p,k&&f(k,n.rootMargin,n.threshold)},{immediate:!0}),(0,l.onUnmounted)(()=>{m&&(m.disconnect(),m=null)})}return()=>typeof r.default=="function"?r.default():null}}}var{componentName:_p,create:$p,scope:Vp}=ie("rolling-provider"),Bp=$p(Tp(_p,Vp)),Fa=Bp,Dp=[Hn,jn,Kn,Yn,Un,ke,Pl,Fl,Xn,Le,Zn,Jn,Qn,la,na,aa,ra,oa,ia,sa,ua,ca,jl,da,fa,ma,ha,pa,ga,va,ya,Wl,ba,xa,Ca,tl,ll,Ul,Na,ka,Ta,Ol,el,_a,ql,$a,Va,Hl,wt,Dt,Yl,Kl,Da,Ma,Ia,Yt,Ll,Aa,Rl,La,Pa,Fa],Mp=new Zi(Dp,[es],"4.0.0");exports.AbstractPageScopeKey=On;exports.ActionsheetItem=ba;exports.FoxActionsheetItem=ba;exports.ActionsheetPane=Wl;exports.FoxActionsheetPane=Wl;exports.AutocompleteItem=sa;exports.FoxAutocompleteItem=sa;exports.Broadcast=An;exports.BroadcastKey=_e;exports.ButtonsItem=Xn;exports.FoxButtonsItem=Xn;exports.CalendarItem=la;exports.FoxCalendarItem=la;exports.CascaderItem=ia;exports.FoxCascaderItem=ia;exports.CheckboxItem=ma;exports.FoxCheckboxItem=ma;exports.Content=Yn;exports.FoxContent=Yn;exports.DataItemsKey=Ct;exports.DateItem=Qn;exports.FoxDateItem=Qn;exports.DateUtils=Oe;exports.DialogItem=Va;exports.FoxDialogItem=Va;exports.Domain=zl;exports.DomainKey=Ye;exports.DomainProvider=Pa;exports.FoxDomainProvider=Pa;exports.FloatingButton=Ia;exports.FoxFloatingButton=Ia;exports.FloatingWindow=Ta;exports.FoxFloatingWindow=Ta;exports.FooterBar=Kn;exports.FoxFooterBar=Kn;exports.FoxAffix=B.ElAffix;exports.FoxAlert=B.ElAlert;exports.FoxAnchor=B.ElAnchor;exports.FoxAnchorLink=B.ElAnchorLink;exports.FoxAside=B.ElAside;exports.FoxAutoResizer=B.ElAutoResizer;exports.FoxAutocomplete=B.ElAutocomplete;exports.FoxAvatar=B.ElAvatar;exports.FoxBacktop=B.ElBacktop;exports.FoxBadge=B.ElBadge;exports.FoxBreadcrumb=B.ElBreadcrumb;exports.FoxBreadcrumbItem=B.ElBreadcrumbItem;exports.FoxButton=B.ElButton;exports.FoxButtonGroup=B.ElButtonGroup;exports.FoxCalendar=B.ElCalendar;exports.FoxCard=B.ElCard;exports.FoxCarousel=B.ElCarousel;exports.FoxCarouselItem=B.ElCarouselItem;exports.FoxCascader=B.ElCascader;exports.FoxCascaderPanel=B.ElCascaderPanel;exports.FoxCheckTag=B.ElCheckTag;exports.FoxCheckbox=B.ElCheckbox;exports.FoxCheckboxButton=B.ElCheckboxButton;exports.FoxCheckboxGroup=B.ElCheckboxGroup;exports.FoxCol=B.ElCol;exports.FoxCollapse=B.ElCollapse;exports.FoxCollapseItem=B.ElCollapseItem;exports.FoxCollapseTransition=B.ElCollapseTransition;exports.FoxColorPicker=B.ElColorPicker;exports.FoxConfigProvider=B.ElConfigProvider;exports.FoxContainer=B.ElContainer;exports.FoxCountdown=B.ElCountdown;exports.FoxDatePicker=B.ElDatePicker;exports.FoxDescriptions=B.ElDescriptions;exports.FoxDescriptionsItem=B.ElDescriptionsItem;exports.FoxDialog=B.ElDialog;exports.FoxDivider=B.ElDivider;exports.FoxDrawer=B.ElDrawer;exports.FoxDropdown=B.ElDropdown;exports.FoxDropdownItem=B.ElDropdownItem;exports.FoxDropdownMenu=B.ElDropdownMenu;exports.FoxEmpty=B.ElEmpty;exports.FoxFooter=B.ElFooter;exports.FoxForm=B.ElForm;exports.FoxFormItem=B.ElFormItem;exports.FoxGroup=Un;exports.Group=Un;exports.FoxGroupSetting=va;exports.GroupSetting=va;exports.FoxHeader=B.ElHeader;exports.FoxHeaderBar=jn;exports.HeaderBar=jn;exports.FoxHintText=Le;exports.HintText=Le;exports.FoxIcon=B.ElIcon;exports.FoxImage=B.ElImage;exports.FoxImageViewer=B.ElImageViewer;exports.FoxIndicator=Aa;exports.Indicator=Aa;exports.FoxInfiniteLoading=Kl;exports.InfiniteLoading=Kl;exports.FoxInput=B.ElInput;exports.FoxInputItem=Zn;exports.InputItem=Zn;exports.FoxInputNumber=B.ElInputNumber;exports.FoxInputNumberItem=oa;exports.InputNumberItem=oa;exports.FoxInputTag=B.ElInputTag;exports.FoxItem=ke;exports.Item=ke;exports.FoxLink=B.ElLink;exports.FoxLinkItem=Ca;exports.LinkItem=Ca;exports.FoxMain=B.ElMain;exports.FoxMapping=Yt;exports.Mapping=Yt;exports.FoxMention=B.ElMention;exports.FoxMenu=B.ElMenu;exports.FoxMenuItem=B.ElMenuItem;exports.FoxMenuItemGroup=B.ElMenuItemGroup;exports.FoxMessage=B.ElMessage;exports.FoxMessageBox=B.ElMessageBox;exports.FoxMoneyItem=ra;exports.MoneyItem=ra;exports.FoxMoreButton=Ma;exports.MoreButton=Ma;exports.FoxNotification=B.ElNotification;exports.FoxOption=B.ElOption;exports.FoxOptionGroup=B.ElOptionGroup;exports.FoxOverLay=Hl;exports.OverLay=Hl;exports.FoxPage=Hn;exports.Page=Hn;exports.FoxPageHeader=B.ElPageHeader;exports.FoxPagination=B.ElPagination;exports.FoxPickerItem=xa;exports.PickerItem=xa;exports.FoxPopconfirm=B.ElPopconfirm;exports.FoxPopover=B.ElPopover;exports.FoxPopoverDialog=Ol;exports.PopoverDialog=Ol;exports.FoxPopper=B.ElPopper;exports.FoxPopup=wt;exports.Popup=wt;exports.FoxPrice=Ll;exports.Price=Ll;exports.FoxProgress=B.ElProgress;exports.FoxPullRefresh=Da;exports.PullRefresh=Da;exports.FoxRadio=B.ElRadio;exports.FoxRadioButton=B.ElRadioButton;exports.FoxRadioGroup=B.ElRadioGroup;exports.FoxRadioItem=fa;exports.RadioItem=fa;exports.FoxRate=B.ElRate;exports.FoxRateItem=ha;exports.RateItem=ha;exports.FoxResult=B.ElResult;exports.FoxRollingProvider=Fa;exports.RollingProvider=Fa;exports.FoxRow=B.ElRow;exports.FoxRowItem=Fl;exports.RowItem=Fl;exports.FoxScrollbar=B.ElScrollbar;exports.FoxSearchBar=Yl;exports.SearchBar=Yl;exports.FoxSegmented=B.ElSegmented;exports.FoxSelect=B.ElSelect;exports.FoxSelectItem=Jn;exports.SelectItem=Jn;exports.FoxSelectV2=B.ElSelectV2;exports.FoxSkeleton=B.ElSkeleton;exports.FoxSkeletonItem=B.ElSkeletonItem;exports.FoxSlider=B.ElSlider;exports.FoxSlotItem=Pl;exports.SlotItem=Pl;exports.FoxSpace=B.ElSpace;exports.FoxStatistic=B.ElStatistic;exports.FoxStep=B.ElStep;exports.FoxSteps=B.ElSteps;exports.FoxStepsBar=ka;exports.StepsBar=ka;exports.FoxSubMenu=B.ElSubMenu;exports.FoxSwitch=B.ElSwitch;exports.FoxSwitchItem=pa;exports.SwitchItem=pa;exports.FoxTabPane=B.ElTabPane;exports.FoxTable=B.ElTable;exports.FoxTableColumn=B.ElTableColumn;exports.FoxTableItem=da;exports.TableItem=da;exports.FoxTableMappingColumn=ua;exports.TableMappingColumn=ua;exports.FoxTableRadioColumn=ca;exports.TableRadioColumn=ca;exports.FoxTableSetting=jl;exports.TableSetting=jl;exports.FoxTableV2=B.ElTableV2;exports.FoxTabs=B.ElTabs;exports.FoxTabsBar=tl;exports.TabsBar=tl;exports.FoxTabsContainer=ll;exports.TabsContainer=ll;exports.FoxTabsFrame=Na;exports.TabsFrame=Na;exports.FoxTabsPane=Ul;exports.TabsPane=Ul;exports.FoxTag=B.ElTag;exports.FoxText=Rl;exports.Text=Rl;exports.FoxTimeItem=na;exports.TimeItem=na;exports.FoxTimePicker=B.ElTimePicker;exports.FoxTimeSelect=B.ElTimeSelect;exports.FoxTimeSelectItem=aa;exports.TimeSelectItem=aa;exports.FoxTimeline=B.ElTimeline;exports.FoxTimelineItem=B.ElTimelineItem;exports.FoxToast=Dt;exports.Toast=Dt;exports.FoxTooltip=B.ElTooltip;exports.FoxTour=La;exports.Tour=La;exports.FoxTransfer=B.ElTransfer;exports.FoxTree=B.ElTree;exports.FoxTreeItem=ya;exports.TreeItem=ya;exports.FoxTreeSelect=B.ElTreeSelect;exports.FoxTreeSelectItem=ga;exports.TreeSelectItem=ga;exports.FoxTreeV2=B.ElTreeV2;exports.FoxUpload=B.ElUpload;exports.FoxWatermark=B.ElWatermark;exports.Foxcalendarpicker=ql;exports.calendarpicker=ql;exports.Foxcascaderpicker=$a;exports.cascaderpicker=$a;exports.Foxdatepicker=_a;exports.datepicker=_a;exports.Foxpicker=el;exports.picker=el;exports.InnerPageScopeKey=Fn;exports.PriorityPolicy=qe;exports.UniqueID=Mo;exports.ValidateSchema=po;exports.ValidateSchemaKey=Ze;exports.cancelRaf=pi;exports.clearNonNumber=Ei;exports.compareTo=gn;exports.createBroadcast=Cl;exports.createValidateSchema=Nl;exports.debounce=Ge;exports.debounceRef=Ri;exports.decimalLength=uo;exports.default=Mp;exports.defineBroadcast=Vi;exports.defineConfigDomain=yo;exports.defineDataItem=bo;exports.defineDomain=Ln;exports.defineItem=Ee;exports.definePageState=wo;exports.defineSimpleItem=Pn;exports.deleteGlobalValidator=Ai;exports.disabledProperty=Ae;exports.divide=Bn;exports.excludeProps=Me;exports.extend=_t;exports.floatData=$i;exports.getGlobalIcons=To;exports.getGlobalValidateCheckEvents=fo;exports.getGlobalValidateResetEvents=ho;exports.getPageContentAreaHeight=vl;exports.getPageContentAreaWidth=yl;exports.getPageFooterAreaHeight=_l;exports.getPageHeaderAreaHeight=Tl;exports.getRootDomain=zt;exports.hasSymbol=no;exports.includeProps=lt;exports.indexOf=Ti;exports.injectAbstractPageScope=Xt;exports.injectInnerPageScope=Gt;exports.integerLength=so;exports.isArray=vi;exports.isArrayLike=oo;exports.isBrowser=ht;exports.isDate=ft;exports.isDisplayNone=Mn;exports.isESModule=xi;exports.isEmptyString=fe;exports.isEqual=Ue;exports.isFunction=vn;exports.isHidden=ao;exports.isMap=yi;exports.isNil=We;exports.isNumberString=In;exports.isObject=Ke;exports.isPlainObject=Si;exports.isPromise=hl;exports.isRegExp=yn;exports.isSet=bi;exports.isString=to;exports.isSubPage=ji;exports.isSymbol=wi;exports.isTouch=Jt;exports.isWindow=ro;exports.lastIndexOf=_i;exports.makeArray=zi;exports.merge=io;exports.multiply=Jr;exports.negate=Qr;exports.nextTick=Ni;exports.numberFormat=Sl;exports.objectToString=lo;exports.once=Oi;exports.overrideGlobalIcons=is;exports.overrideGlobalValidateHandler=Mi;exports.property=De;exports.provideAbstractPageScope=So;exports.provideInnerPageScope=Rn;exports.raf=Dn;exports.readonlyProperty=Ie;exports.setGlobalValidateCheckEvents=Li;exports.setGlobalValidateHandler=Di;exports.setGlobalValidateMessages=Fi;exports.setGlobalValidateResetEvents=Pi;exports.setGlobalValidator=Ii;exports.throttle=vo;exports.toBoolean=de;exports.toNumber=ve;exports.toPadding=tt;exports.toPx=me;exports.toPxDesc=qi;exports.toPxString=we;exports.toTypeString=xl;exports.toValue=ge;exports.tryTimes=kl;exports.typeOf=pl;exports.unNumberFormat=eo;exports.updatePageState=bn;exports.useBroadcast=Rt;exports.useDomain=pt;exports.useExpose=be;exports.useInnerSize=$l;exports.usePageState=El;exports.usePosition=Gn;exports.useRawTouch=Qt;exports.useRect=Sa;exports.useSize=qn;exports.useSlotChildren=Wn;exports.useTouch=Zo;exports.valueLength=Je;
|