@fox-js/foxui-pad 4.1.1-4 → 4.1.1-40

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.umd.js CHANGED
@@ -1,5 +1 @@
1
- (function(v,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("element-plus"),require("@element-plus/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","element-plus","@element-plus/icons-vue","@fox-js/i18n"],t):(v=typeof globalThis<"u"?globalThis:v||self,t(v.FoxUI={},v.Vue,v.FoxValidator,v.ElementPlus,v.ElementPlusIconsVue,v.FoxI18n))})(this,function(v,t,ot,O,$e,ve){"use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Fri Dec 13 2024 12:06:20 GMT+0800 (中国标准时间)
3
- */const jt=window,Br=typeof window<"u";function Mr(){return typeof jt<"u"?jt.requestAnimationFrame||jt.webkitRequestAnimationFrame||function(e){jt.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Rr(e){Br?cancelAnimationFrame(e):clearTimeout(e)}const Fn=Mr();/*!
4
- * @fox-js/big-decimal v4.0.1-6 Sat Aug 24 2024 07:04:11 GMT+0800 (中国标准时间)
5
- */function Ht(e,n="0"){let a=0,l=-1;e[0]=="-"&&(a++,l=1,e=e.substring(1),e.length),n[0]=="-"&&(a++,l=2,n=n.substring(1),n.length),e=Oe(e),n=Oe(n),[e,n]=Mn(Oe(e),Oe(n)),a==1&&(l==1?e=Bn(e):n=Bn(n));let o=ma(e,n);return a?a==2?"-"+Oe(o):e.length<o.length?Oe(o.substring(1)):"-"+Oe(Bn(o)):Oe(o)}function Bn(e){let n="",a=e.length,l=e.split(".")[1],o=l?l.length:0;for(let i=0;i<a;i++)e[i]>="0"&&e[i]<="9"?n+=9-parseInt(e[i]):n+=e[i];let r=o>0?"0."+new Array(o).join("0")+"1":"1";return ma(n,r)}function Oe(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 Mn(e,n){let a=e.split("."),l=n.split("."),o=a[0].length,r=l[0].length;return o>r?l[0]=new Array(Math.abs(o-r)+1).join("0")+(l[0]?l[0]:""):a[0]=new Array(Math.abs(o-r)+1).join("0")+(a[0]?a[0]:""),o=a[1]?a[1].length:0,r=l[1]?l[1].length:0,(o||r)&&(o>r?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(o-r)+1).join("0"):a[1]=(a[1]?a[1]:"")+new Array(Math.abs(o-r)+1).join("0")),e=a[0]+(a[1]?"."+a[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function ma(e,n){[e,n]=Mn(e,n);let a="",l=0;for(let o=e.length-1;o>=0;o--){if(e[o]==="."){a="."+a;continue}let r=parseInt(e[o])+parseInt(n[o])+l;a=r%10+a,l=Math.floor(r/10)}return l?l.toString()+a:a}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 Ct(e,n=0,a=xe.HALF_EVEN){if(a===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 o=e.split("."),r=o[0],i=o[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=Ct(e,0,a),(l?"-":"")+s+new Array(n+1).join("0")}}if(n==0)return r.length,ga(o[1],r,l,a)?(l?"-":"")+Rn(r):(l?"-":"")+r;if(o[1]){if(o[1].length<n)return(l?"-":"")+r+"."+o[1]+new Array(n-o[1].length+1).join("0")}else return(l?"-":"")+r+"."+new Array(n+1).join("0");i=o[1].substring(0,n);let u=o[1].substring(n);return u&&ga(u,i,l,a)&&(i=Rn(i),i.length>n)?(l?"-":"")+Rn(r,parseInt(i[0]))+"."+i.substring(1):(l?"-":"")+r+"."+i}function ga(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===xe.DOWN||!a&&l===xe.FLOOR||a&&l===xe.CEILING)return!1;if(l===xe.UP||a&&l===xe.FLOOR||!a&&l===xe.CEILING)return!0;let o="5"+new Array(e.length).join("0");if(e>o)return!0;if(e<o)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 Rn(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let a=e.length-1,l="";for(let o=a;o>=0;o--){let r=parseInt(e[o])+n;r==10?(n=1,r=0):n=0,l+=r}return n&&(l+=n),l.split("").reverse().join("")}function Ln(e,n){e=e.toString(),n=n.toString();let a=0;e[0]=="-"&&(a++,e=e.substr(1)),n[0]=="-"&&(a++,n=n.substr(1)),e=$t(e),n=$t(n);let l=0,o=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(o=n.length-n.indexOf(".")-1);let r=l+o;if(e=$t(e.replace(".","")),n=$t(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 y=0;for(let x=n.length-1;x>=c&&x>=0;x--)s[x]>-1&&s[x]<e.length&&(y+=parseInt(e[s[x]--])*parseInt(n[x]));y+=u,u=Math.floor(y/10),h=y%10+h,c--}return h=$t(Lr(h,r)),a==1&&(h="-"+h),h}function Lr(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 $t(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 _n(e,n,a=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 o=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Oe(n.replace(".","")),o>=0){let c=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(c==-1)e=Oe(e+new Array(o+1).join("0"));else if(o>c)e=e.replace(".",""),e=Oe(e+new Array(o-c+1).join("0"));else if(o<c){e=e.replace(".","");let h=e.length-c+o;e=Oe(e.substring(0,h)+"."+e.substring(h))}else o==c&&(e=Oe(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(a=a+2;r<=a;){let c=0;for(;parseInt(s)>=parseInt(n);)s=Ht(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?"-":"")+Oe(Ct(u,a-2))}function Pn(e,n){return e=e.toString(),n=n.toString(),n=qn(n),Ht(e,n)}function qn(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ya(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),pa(e),pa(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=Pn(e,Ln(n,Ct(_n(e,n),0,xe.FLOOR)));return a+l}function pa(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function ba(e,n){let a=!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),a=!0),[e,n]=Mn(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]?a?-1:1:a?1:-1;return 0}class fe{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[a,l]=n.split(/[eE]/);a=Oe(a);let o="";a[0]=="-"&&(o="-",a=a.substring(1)),a.indexOf(".")>=0?(l=parseInt(l)+a.indexOf("."),a=a.replace(".","")):l=parseInt(l)+a.length,a.length<l?n=o+a+new Array(l-a.length+1).join("0"):a.length>=l&&l>0?n=o+Oe(a.substring(0,l))+(a.length>l?"."+a.substring(l):""):n=o+"0."+new Array(-l+1).join("0")+a}return n}constructor(n="0"){this.value=fe.validate(n)}getValue(){return this.value}static getPrettyValue(n,a,l){if(!(a||l))a=3,l=",";else if(!(a&&l))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=fe.validate(n);let o=n.charAt(0)=="-";o&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var i="",u=r;u>0;)u<a?(a=u,u=0):u-=a,i=n.substring(u,u+a)+(u<r-a&&u>=0?l:"")+i;return(o?"-":"")+i+n.substring(r)}getPrettyValue(n,a){return fe.getPrettyValue(this.value,n,a)}static round(n,a=0,l=xe.HALF_EVEN){if(n=fe.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return Ct(n,a,l)}round(n=0,a=xe.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new fe(Ct(this.value,n,a))}static floor(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,xe.FLOOR)}floor(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,xe.FLOOR)}static ceil(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,xe.CEILING)}ceil(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,xe.CEILING)}static add(n,a){return n=fe.validate(n),a=fe.validate(a),Ht(n,a)}add(n){return new fe(Ht(this.value,n.getValue()))}static subtract(n,a){return n=fe.validate(n),a=fe.validate(a),Pn(n,a)}subtract(n){return new fe(Pn(this.value,n.getValue()))}static multiply(n,a){return n=fe.validate(n),a=fe.validate(a),Ln(n,a)}multiply(n){return new fe(Ln(this.value,n.getValue()))}static divide(n,a,l){return n=fe.validate(n),a=fe.validate(a),_n(n,a,l)}divide(n,a){return new fe(_n(this.value,n.getValue(),a))}static modulus(n,a){return n=fe.validate(n),a=fe.validate(a),ya(n,a)}modulus(n){return new fe(ya(this.value,n.getValue()))}static compareTo(n,a){return n=fe.validate(n),a=fe.validate(a),ba(n,a)}compareTo(n){return ba(this.value,n.getValue())}static negate(n){return n=fe.validate(n),qn(n)}negate(){return new fe(qn(this.value))}}function va(e,n){return fe.multiply(`${e}`,`${n}`)}function zn(e,n,a=8){return fe.divide(`${e}`,`${n}`,a)}function jn(e,n){return e=`${e}`,n=`${n}`,fe.compareTo(e,n)}function wa(e){return fe.negate(e)}function Kt(e,n=-1,a=!1,l=3,o=","){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):a&&n>s.length&&(s=s.padEnd(n,"0")));let h;if(l>0){let d="",y=u.split("").reverse();for(let x=0;x<y.length;x++)d+=y[x]+((x+1)%l==0&&x+1!=y.length?o:"");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 Sa(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}const Hn=Fn,_r=Array.isArray,Pr=e=>Yt(e)==="[object Map]",qr=e=>Yt(e)==="[object Set]",et=e=>e instanceof Date,Kn=e=>typeof e=="function",xa=e=>typeof e=="string",zr=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Wt=e=>Le(e)&&Kn(e.then)&&Kn(e.catch),Ta=Object.prototype.toString,Yt=e=>Ta.call(e),Wn=e=>Yt(e)==="[object Object]",Ca=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function jr(e){return e.__esModule||Ca&&e[Symbol.toStringTag]==="Module"}const Hr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function rt(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},a=1,l=e.length,o=!1;for(typeof n=="boolean"&&(o=n,n=e[a]??{},a++),typeof n!="object"&&(n={});a<l;a++)if(e[a]!==null&&e[a]!==void 0){let r=e[a];for(let i in r){let u=n[i],s=r[i];if(u!==s)if(o===!0&&s&&typeof s=="object"){let c;Array.isArray(s)?c=u&&Array.isArray(u)?u:[]:c=u&&typeof u=="object"?u:{},n[i]=rt(o,c,s)}else s!==void 0&&(n[i]=s)}}return n}function Yn(e,n,a=!1){if(!a)rt(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let o in n){let r=e[o],i=n[o];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Wn(i))continue;r=Yn(r,i,a),e[o]=r}else{if(typeof i=="function")continue;e[o]=i}}const l=Object.getOwnPropertySymbols(n);for(let o of l){let r=e[o],i=n[o];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!Wn(i))continue;r=Yn(r,i,a),e[o]=r}else{if(typeof i=="function")continue;e[o]=i}}}return e}const Un=Hr?Promise.resolve():null;function Kr(e,...n){Un!==null?n&&n.length>0?Un.then(()=>{e(n)}):Un.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ce(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function ge(e){return typeof e=="number"?e:Number(e)}const Wr={"[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 Ut(e){let a=Object.prototype.toString.call(e);return e==null?String(e):Wr[a]||"object"}function $a(e){return e&&typeof e=="object"&&"setInterval"in e}function Gt(e){if(!e)return!0;const{display:n}=window.getComputedStyle(e);return n==="none"}function ka(e){let n=!!e&&"length"in e&&e.length,a=Ut(e);return a==="function"||$a(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function Da(e,n){let a=+n.length,l=0,o=e.length;for(;l<a;l++)e[o++]=n[l];return e.length=o,e}function Yr(e,n=[]){let a=n;return e!=null&&(ka(Object(e))?Da(a,typeof e=="string"?[e]:e):a.push(e)),a}function Pe(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=Ut(e),l=Ut(n);if(a!==l)return!1;if(a==="object"){let o=Object.keys(e),r=Object.keys(n);if(o.length!==r.length)return!1;for(let i=0;i<o.length;i++){let u=o[i],s=e[u],c=n[u];if(!Pe(s,c))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let o=0;o<e.length;o++){let r=e[o],i=n[o];if(!Pe(r,i))return!1}return!0}return!1}const tt=typeof window<"u";function Gn(e){return e==null}function Na(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const de=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Ea(e){return de(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),de(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Va(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 a=n.indexOf(".");return a==-1?n.length:a}function Ia(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const a=n.indexOf(".");return a==-1?0:n.length-(a+1)}function Oa(e,n,a){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(a,"")}function Ur(e,n=!0,a=!0){n?e=Oa(e,".",/\./g):e=e.replace(/\./g,""),a?e=Oa(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function Gr(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Pe(e,a))return!0}):n.indexOf(e)}function Xr(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(Pe(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function Ke(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function kt(e,...n){const a={};return n.forEach(l=>{for(const o in l)a[o]=e[o]}),a}function ke(e,...n){const a=[];n.forEach(o=>{Reflect.apply([].push,a,Reflect.ownKeys(o))});const l={};for(const o in e)a.includes(o)||(l[o]=e[o]);return l}const Zr=(e,n,a)=>{const l=Object.assign({},e),o=Object.assign({},a);return Object.keys(n).length>0?(Object.keys(l).forEach(r=>{o.hasOwnProperty(r)?typeof o[r]=="string"&&(l[r]=n[o[r]]):n[r]&&(l[r]=n[r])}),l):e},Te=Symbol.for("BroadcastKey");class Xn{parent;children=[];callbacks=new Map;proxy=null;name;constructor(n,a,l){this.parent=n,this.proxy=a,this.name=l,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const a=this.children.findIndex(l=>n===l);a!==-1&&this.children.splice(a,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(n,a,...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 o=!1;!n.name||n.name==="*"?o=!0:!n.name||n.name==="+"?(o=!1,n.name="*"):Na(n.name)&&this.name&&n.name.test(this.name)?o=!0:typeof n.name=="function"?o=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(o=!0);const r=[];if(o){const i=this.callbacks.get(a);if(typeof i=="function"){const s=Reflect.apply(i,this.proxy,[...l]);s!=null&&r.push(s)}const u=this.proxy??{};if(typeof u[a]=="function"){const s=Reflect.apply(u[a],u,[...l]);s!=null&&r.push(s)}}return this.children.forEach(i=>{const u=Reflect.apply(i.emit,i,[{...n},a,...l]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,r,[...u])}),r}emitToChildren(n,a,...l){const o=[];return this.children.forEach(r=>{const i=Reflect.apply(r.emit,r,[{...n},a,...l]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,o,[...i])}),o}on(n,a){this.callbacks.set(n,a)}}function Xt(e,n,a,l){const o=new Xn(n,e,a);if(l&&typeof l=="object")for(const r in l)o.on(r,l[r]);return o}function Jr(e,n,a){const l=a;if(l[Te])return l[Te];const o=t.inject(Te,null),r=new Xn(o,a,e);if(n&&typeof n=="object")for(const i in n)r.on(i,n[i]);return l[Te]=r,t.provide(Te,r),t.onUnmounted(()=>{r.destroy(),l[Te]=void 0}),r}function Dt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Te]??t.inject(Te,null):t.inject(Te,null)}const it=e=>e.default??e;class Qr{error(n,a){const l=a,o=a||t.hasInjectionContext()?Dt(a):null;o?o.emit({name:"*",maxLevel:1},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const a=n,l=n||t.hasInjectionContext()?Dt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}success(n){const a=n,l=n||t.hasInjectionContext()?Dt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}decorate(n,a,l){Array.isArray(n)||(n=[n]);const o=l,r=l||t.hasInjectionContext()?Dt(l):null,i=a.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 o.setRequired=="function"&&o.setRequired(!0):i&&!u&&(r?r.emit({name:"*"},"setRequired",!1):typeof o.setRequired=="function"&&o.setRequired(!1),this.reset(l))}getValue(n){return n.modelValue}}let Nt=new Qr;function ei(e){Nt=e}function ti(e){Nt?Object.assign(Nt,e):Nt=e}function ni(e,n){it(ot).setValidator(e,n)}function li(e){it(ot).deleteValidator(e)}let Aa=["blur","clear"];function ai(e){Aa=e}function Fa(){return Aa}let Ba=["focus","change","setValue"];function oi(e){Ba=e}function Ma(){return Ba}function ri(e){it(ot).messages(e)}function Et(...e){const n=[];return e.forEach(a=>{a.forEach(l=>{const o=n.findIndex(r=>r.type===l.type);o!==-1&&n.splice(o,1),n.push(l)})}),n}function Zt(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 qe=Symbol("ValidateSchemaKey");class Ra{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,a,l){this.parent=n,this.descriptor=a,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 a=Zt(Et(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=Zt(l);const o=Et(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(o,a)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(n,...a){const l=this.descriptor.validateHandler;if(l&&typeof l[n]=="function")return Reflect.apply(l[n],l,[...a]);const o=Nt;return o&&typeof o[n]=="function"?Reflect.apply(o[n],o,[...a]):null}decorate(n,a){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,a,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,a,l=!1){l?it(ot).setValidator(n,a):this.validators[n]=a}getValidator(n){let a=this.validators[n]??null;return a||(a=this.parent?.getValidator(n)??null),a}deleteValidator(n,a=!1){a?it(ot).deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,a=!1){if(a)return it(ot).hasValidator(n);{let l=Reflect.has(this.validators,n);return!l&&this.parent!==null&&(l=this.parent.hasValidator(n,!1)),l}}setRule(n){const a=Et(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=Zt(n):this.rules=Zt([n]);const l=Et(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,a)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let a=Et(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(a.length>0){const o={[`${l}`]:a},r=this.getValue(),i={[`${l}`]:r},u=it(ot),s=new u(o),c=this.proxy??i;return s.validate(i,{context:c}).then(d=>{if(d.pass)this.success();else{let y="error";Array.isArray(d.errors)&&d.errors.length>0&&(y=d.errors[0].message??y,d.errors=[d.errors[0]],d.errors[0].ref=c),this.error(y)}return d}).catch(d=>{const y=d.message??`${d}`;return this.error(y),d})}}return Promise.resolve({pass:!0})}}function Jt(e,n,a){if(a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string",!a.validateHandler&&a.valueName!=="modelValue"){const o=a.valueName;a.validateHandler={getValue(r){return r[o]}}}return new Ra(n,a,e)}const Qt=Symbol.for("EventEmitterKey");class La{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,a){let l=this.register.get(n);if(l&&Array.isArray(l)){let o=l.findIndex(r=>r===a);o!==-1&&l.splice(o,1)}}on(n,a){let l=this.register.get(n);l||(l=new Array,this.register.set(n,l)),l.push(a)}emit(n,...a){const l=this.register.get(n);l&&l.forEach(o=>{try{Reflect.apply(o,null,[n,...a])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...a])}}function st(e,n){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...l])},n)}}function _a(e,n){let a=0;return function(...l){const o=new Date().getTime();o-a<n||(a=o,Reflect.apply(e,null,[...l]))}}function ii(e,n){const a=st((l,o)=>{e=l,o()},n);return t.customRef((l,o)=>({get(){return l(),e},set(r){a(r,o)}}))}function si(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function en(e,n,a,l=0,o=!0,r){let i=n,u=0;if(o){const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}}const s=()=>{const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}i+=l,setTimeout(s,i)};setTimeout(s,i)}const Re=Symbol("DomainKey"),mt=Symbol("DataItemsKey");class tn{_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,a=[]){for(const l in n){const o=n[l];a.length>0&&a.indexOf(o)!==-1||(this._props[l]=o)}}has(n){if(Reflect.has(this._props,n)){const a=this._props[n];if(a!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,a){this._props[n]=a}get(n,a){if(Reflect.has(this._props,n)){const l=this._props[n];if(l!=null)return l}return this.parent==null?a:this.parent.get(n,a)}getForParent(n,a){return this.parent==null?a:this.parent.get(n,a)}getForSelf(n){return this._props[n]}getAll(n){const a=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,n)){const o=l._props[n];a.push(o)}l=l._parent}return a}}const ui=new tn;function gt(){return ui}function Xe(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Re]??t.inject(Re,null):t.inject(Re,null)}const Zn=Symbol("OriginalDateKey");function Jn(e,n,a=[],l){const o=t.getCurrentInstance();let r=o?.proxy,i=t.inject(Re,null);i===null&&(i=gt());const u=e||n.prop||n.name;let s=new tn(u);s.parent=i;const c=p=>{r[Zn]||y(p),s?.set("modelValue",p)},h=()=>s?.getForSelf("modelValue")??null,d=()=>r[Zn]??null,y=p=>{const g={};rt(!0,g,t.toRaw(p)),r[Zn]=g};t.isReactive(n)||typeof n=="function"?t.watch(n,p=>{s?.merge(p,a)},{immediate:!0}):s.merge(n,a),n.modelValue&&y(n.modelValue);const x=(p,g)=>{s?.set(p,g)},b=p=>s?.getForSelf(p)??null;if(r[Re]=s,t.provide(Re,s),o!==null){const p=t.inject(Te,null),g=Xt(r,p,u,l);s.broadcast=g,r[Te]=g,t.provide(Te,g),r.broadcast=(f,T,...M)=>Reflect.apply(g.emit,g,[f,T,...M]);const H=t.inject(qe,null),m=Jt(r,H,{componentName:""});s.validateSchema=m,r[qe]=m,t.provide(qe,m),r[mt]=new Map,r.validate=(f=!0)=>{const T=[];let M=null;const A={deep:!1};if(f===!0)M={name:"*"};else if(Array.isArray(f)&&f.length>0){const F=f;M={name:z=>z?F.indexOf(z)!==-1:!1}}else if(f!=null&&typeof f=="object"){const F=f;if(Object.assign(A,F),Array.isArray(F.include)&&F.include.length>0){const z=F.include;M={name:$=>$?z.indexOf($)!==-1:!1}}else if(Array.isArray(F.exclude)&&F.exclude.length>0){const z=F.exclude;M={name:$=>$?z.indexOf($)===-1:!1}}else M={name:"*"}}if(M){const F=g?.emitToChildren(M,"validate",A);F&&Reflect.apply([].push,T,F)}return T.length==1?T[0]:T.length>1?Promise.all(T).then(F=>{let z=[];return F.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(z=[...z,...$.errors])}),z.length>0?{pass:!1,errors:z}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(f,T=!0,M=!1)=>{if(M===!0){Reflect.ownKeys(f).forEach(F=>{let z=String(F);const $={componentName:"",fieldName:z,pureDataValidate:!0};if(s){const I=za(s,z,$,g,m);r[mt].set(z,I);const w=f[z];w&&I.validateSchema.setRule(w)}});return}if(T){const A=Reflect.ownKeys(f),F={name:z=>A.includes(z)};g?.emitToChildren(F,"setNameValidateRules",f,!1)}},r.clearValidate=(f=!0)=>{let T=null;if(f===!0)T={name:"*"};else if(Array.isArray(f)&&f.length>0){const M=f;T={name:A=>A?M.indexOf(A)!==-1:!1}}else if(f!=null&&typeof f=="object"){const M=f;if(Array.isArray(M.include)&&M.include.length>0){const A=M.include;T={name:F=>F?A.indexOf(F)!==-1:!1}}else if(Array.isArray(M.exclude)&&M.exclude.length>0){const A=M.exclude;T={name:F=>F?A.indexOf(F)===-1:!1}}else T={name:"*"}}T&&g?.emitToChildren(T,"clearValidate",!1)},r.resetFields=f=>{const T=h();if(!T)return;const M={};if(rt(!0,M,d()??{}),Array.isArray(f))f.forEach(A=>{T[A]=M[A]});else if(f&&Array.isArray(f.include))(f.include??[]).forEach(F=>{T[F]=M[F]});else if(f&&Array.isArray(f.exclude)){let A=f.exclude??[];Reflect.ownKeys(M).forEach(F=>{A.includes(F)||(T[F]=M[F])})}else Object.assign(T,M);r.clearValidate(f)},r.setModelValue=(f,T)=>{!T||T===u?c(f):g?.emitToChildren({name:T},"setModelValue",f)},r.getModelValue=()=>h(),r.setDomainProperty=(f,T)=>{x(f,T)},r.getDomainProperty=f=>b(f)}return t.onUnmounted(function(){s?.validateSchema&&(s.validateSchema.destroy(),r[qe]=void 0,t.provide(qe,null)),s?.broadcast&&(s?.broadcast?.destroy(),r[Te]=void 0,t.provide(Te,null)),s?.destroy(),r[Re]=void 0,t.provide(Re,null),r[mt]&&(r[mt].clear(),r[mt]=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 Pa(e,n,a=[]){let o=t.getCurrentInstance()?.proxy,r=t.inject(Re,null);r===null&&(r=gt());const i=e||n.prop||n.name;let u=new tn(i);return u.parent=r,t.isReactive(n)||typeof n=="function"?t.watch(n,s=>{u?.merge(s,a)},{immediate:!0}):u.merge(n,a),o[Re]=u,t.provide(Re,u),t.onUnmounted(()=>{u?.destroy(),o[Re]=void 0,t.provide(Re,null),u=null,o=null}),u}function qa(e,n,a){const o=Xe(e)?.get("rules");if(!o)return;let r=o[a];r&&(Array.isArray(r)||(r=[r]),n.setRule(r))}function Ce(e,n,a){const o=t.getCurrentInstance()?.proxy,r=n??"",i=t.inject(Te,null);let u=Xt(o,i,r,a);o[Te]=u,t.provide(Te,u),o.broadcast=(b,p,...g)=>u?Reflect.apply(u.emit,u,[b,p,...g]):null;const s=t.inject(qe,null);e.fieldName=e.fieldName??r;let c=Jt(o,s,e);o[qe]=c,t.provide(qe,c),qa(o,c,r),o.validate=(b=null)=>{if(!c)return Promise.resolve({pass:!0});const p=[];let g=!1,H=!1;if(Array.isArray(b)&&b.indexOf(r)!==-1)H=!0,g=!0;else if(b&&typeof b=="object"){const m=b,f=m.ignoreDisabled??!0,T=m.ignoreReadonly??!0,M=m.ignoreHidden??!0;f===!0&&e.disabled===!0||T===!0&&e.readonly===!0||M===!0&&Gt(o.$el)?H=!1:(Array.isArray(m.include)&&m.include.indexOf(r)!==-1||Array.isArray(m.exclude)&&m.exclude.indexOf(r),H=!0),g=m.deep??!1}else typeof b=="boolean"&&(g=b),H=!0;if(H){const m=c?.validate();p.push(m)}if(g){let m=null;const f={deep:!1};if(b===!0)m={name:"*"};else if(Array.isArray(b)&&b.length>0){const T=b;m={name:M=>M?T.indexOf(M)!==-1:!1}}else if(b!=null&&typeof b=="object"){const T=b;if(Object.assign(f,T),Array.isArray(T.include)&&T.include.length>0){const M=T.include;m={name:A=>A?M.indexOf(A)!==-1:!1}}else if(Array.isArray(T.exclude)&&T.exclude.length>0){const M=T.exclude;m={name:A=>A?M.indexOf(A)===-1:!1}}else m={name:"*"}}if(m&&u){const T=u.emitToChildren(m,"validate",f);Reflect.apply([].push,p,T)}}return p.length==1?p[0]:p.length>1?Promise.all(p).then(m=>{let f=[];return m.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(f=[...f,...T.errors])}),f.length>0?{pass:!1,errors:f}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=b=>c?.setRule(b),o.setNameValidateRules=(b,p=!1)=>{const g=b[r];if(g&&c?.setRule(g),p&&u){const H={name:m=>Reflect.ownKeys(b).includes(m)};u.emitToChildren(H,"setNameValidateRules",b,!1)}},o.clearValidate=(b=null)=>{(!Array.isArray(b)||b.indexOf(n??"")!==-1)&&c?.clear();let p=null;if(b===!0)p={name:"*"};else if(Array.isArray(b)&&b.length>0){const g=b;p={name:H=>H?g.indexOf(H)!==-1:!1}}else if(b!=null&&typeof b=="object"){const g=b;if(Array.isArray(g.include)&&g.include.length>0){const H=g.include;p={name:m=>m?H.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const H=g.exclude;p={name:m=>m?H.indexOf(m)===-1:!1}}else p={name:"*"}}p&&u&&u.emitToChildren(p,"clearValidate",!1)};let h=new La(o);o[Qt]=h;const d=st((b="validate")=>{c&&(b==="reset"?c.clear():c.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Fa()).forEach(b=>{h&&h.on(b,p=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Ma()).forEach(b=>{h&&h.on(b,p=>{d("reset")})}),t.onUnmounted(()=>{u?.destroy(),o[Te]=void 0,t.provide(Te,null),u=null,c?.destroy(),o[qe]=void 0,t.provide(qe,null),c=null,h?.destroy(),o[Qt]=void 0,h=null,o.broadcast=null,o.validate=null,o.setValidateRule=null,o.setNameValidateRules=null,o.clearValidate=null}),{broadcast:u,validateSchema:c,emitEvent:(b,...p)=>{h&&Reflect.apply(h.emit,h,[b,...p])},onEvent:(b,p)=>{h&&Reflect.apply(h.on,h,[p])},offEvent:(b,p)=>{h&&Reflect.apply(h.off,h,[p])}}}function za(e,n,a,l,o){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}};a.fieldName=i,a.validateHandler={getValue(h){return u.getValue()}};let s=Jt({},o,a);r.validate=(h=null)=>{if(!u.isExist())return console.warn(`validate error: field [${i}] not exist`),Promise.resolve({pass:!0});const d=[];let y=!1,x=!1;if(Array.isArray(h)&&h.indexOf(i)!==-1)x=!0,y=!0;else if(h&&typeof h=="object"){const b=h;Array.isArray(b.include)&&b.include.indexOf(i)!==-1||Array.isArray(b.exclude)&&b.exclude.indexOf(i),x=!0,y=b.deep??!1}else typeof h=="boolean"&&(y=h),x=!0;if(x&&s){const b=s.validate();d.push(b)}if(y){let b=null;const p={deep:!1};if(h===!0)b={name:"*"};else if(Array.isArray(h)&&h.length>0){const g=h;b={name:H=>H?g.indexOf(H)!==-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 H=g.include;b={name:m=>m?H.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const H=g.exclude;b={name:m=>m?H.indexOf(m)===-1:!1}}else b={name:"*"}}if(b&&c){const g=c.emitToChildren(b,"validate",p);Reflect.apply([].push,d,g)}}return d.length==1?d[0]:d.length>1?Promise.all(d).then(b=>{let p=[];return b.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=Xt(null,l,i,r);return t.onUnmounted(()=>{s=null,c=null}),{broadcast:c,validateSchema:s}}function Qn(){let n=t.getCurrentInstance()?.proxy,a=new La(n);return n[Qt]=a,t.onUnmounted(()=>{a?.destroy(),n[Qt]=void 0,a=null,n=null}),{emitEvent:(l,...o)=>{a&&Reflect.apply(a.emit,a,[l,...o])},onEvent:(l,o)=>{a&&Reflect.apply(a.on,a,[o])},offEvent:(l,o)=>{a&&Reflect.apply(a.off,a,[o])}}}const Ae=(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 a=e.indexOf("px");if(a!==-1)return Number(e.substring(0,a));if(a=e.indexOf("rem"),a!==-1){let o=Number(e.substring(0,a)),r=1;if(tt){const{fontSize:i}=window.getComputedStyle(document.documentElement,null),u=i.indexOf("px");u>0&&(r=Number(i.substring(0,u)))}return o*=r,o}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))/100*n;const l=Number(e);return isNaN(l)?0:l}const nt="PageStateKey";function We(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 el(e,n,a={},l=!0,o=-1,r=-1,i=0,u=0){if(e.headerHeight=pe(a.headerHeight??n.headerHeight??-1),e.headerPadding=We(a.headerPadding??n.headerPadding),e.footerHeight=pe(a.footerHeight??n.footerHeight??-1),e.footerPadding=We(a.footerPadding??n.footerPadding),e.contentPadding=We(a.contentPadding??n.contentPadding),l){const s=a.height??n.height;s?e.height=pe(s,r):e.height=pe(r)-pe(i,r)-pe(u,r),e.width=pe(a.width??n.width??0,o)}}function ja(e,n={}){const a={top:null,left:null,bottom:null,right:null},l={width:0,height:0,headerHeight:0,headerPadding:{...a},footerHeight:0,footerPadding:{...a},contentPadding:{...a},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},o=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});o&&(l.safeAreaTop=pe(o.top),l.safeAreaBottom=pe(o.bottom),l.safeAreaLeft=pe(o.left),l.safeAreaRight=pe(o.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;el(l,r,n,!0,i,u,s,c);const h=t.reactive(l),d=e.getForParent(nt);d&&(l.height=ln(e,d),l.width=an(e,d),t.watch([()=>ln(e,d),()=>an(e,d)],([x,b])=>{h.height=x,h.width=b}));const y=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([x,b,p=-1,g=-1,H=0,m=0])=>{el(h,b,n,y,p,g,H,m)}),e.set(nt,h),h}function nn(e){return e.get(nt)}function Vt(e,n){if(n=n??e.get(nt),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function It(e,n){if(n=n??e.get(nt),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function ln(e,n){if(n=n??e.get(nt),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=Vt(e,n),l=It(e,n);return n.height-a-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function an(e,n){return n=n??e.get(nt),n?n.contentInnerWidth??n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}function ci(e,n){const a=e.get("isInnerPage");return typeof a=="function"?Reflect.apply(a,{},[n,e]):!1}function fi(e){return!!e.getForParent(nt)}var _e=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(_e||{});function on(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ee(e,n,a=1,l){const o=Xe();return o==null?e:a===0?t.computed(()=>{const r=o.getAll(n);for(let u=r.length-1;u>=0;u--){const s=r[u];if(on(s,l))return s}const i=e.value;return on(i,l)?i:null}):t.computed(()=>{const r=e.value;if(on(r,l))return r;const i=o.getAll(n);for(let u=0;u<i.length;u++){const s=i[u];if(on(s,l))return s}return null})}function Ve(e){return Ee(e,"readonly",1)}function Ie(e){return Ee(e,"disabled",1)}function he(e,n="modelValue",a=null,l){const o=t.toRef(e,n);let r=o.value;typeof a=="function"&&(r=a(o.value));const i=t.ref(r);return t.watch(o,u=>{if(typeof a=="function"){const s=a(u);s!==i.value&&(i.value=s,l&&l("setValue",s))}else u!==i.value&&(i.value=u,l&&l("setValue",u))}),i}const Ha=new Map,rn=new Map;let tl=null;function di(e){tl=e}function Ka(e,n,a){if(a){let l=rn.get(a);l||(l=new Map,rn.set(a,l)),l.set(e,n)}else Ha.set(e,n)}function Fe(e,n,a){!a&&tl&&(a=tl(e)??void 0);let l=null;if(a){let o=rn.get(a);o&&(l=o.get(n))}return l||(l=Ha.get(n)),l}function hi(e,n){for(let a in e){const l=e[a];Ka(a,l,n)}}function mi(e){rn.delete(e)}function gi(){return{top:0,left:0,bottom:0,right:0}}function yi(){if(tt){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 a=e.indexOf("-");return`${n.componentPrefix}${e.slice(a)}`}return e}class bi{packages;installers;_version;get version(){return this._version}constructor(n,a,l){this.packages=n,this.installers=a,this._version=l}install(n,a={}){a?.install!==!1&&(this.packages.forEach(r=>{if(r.install)n.use(r);else if(r.name){const i=pi(r.name,a);n.component(i,r)}}),this.installers.forEach(r=>{r(n,a)}));const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],o=gt();if(this.initPageLayout(a,o),a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=_a(()=>{const u={...a},s=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=c,this.initPageLayout(u,o)},150);new window.ResizeObserver(r).observe(window.document.body)}for(const r in a)l.indexOf(r)===-1&&o.set(r,a[r])}initPageLayout(n,a){const l=n.headerBarHeight??0,o=n.footerBarHeight??0,r=rt({},gi(),n.safeAreaInset),i=yi(),u=rt({},i.pageLayout,n.pageLayout);a=a??gt(),a.set("safeAreaInset",r),a.set("headerBarHeight",l),a.set("footerBarHeight",o),a.set("pageLayout",u),a.set("rootWidth",i.rootWidth),a.set("rootHeight",i.rootHeight)}setScopeGetter(n){di(n)}setAPI(n,a,l){Ka(n,a,l)}getAPI(n,a,l){return Fe(n,a,l)}batchSetAPI(n,a){hi(n,a)}clearScopeAPI(n){mi(n)}getRootDomain(){return gt()}}const vi=[O.ElAffix,O.ElAlert,O.ElAutocomplete,O.ElAutoResizer,O.ElAvatar,O.ElBacktop,O.ElBadge,O.ElBreadcrumb,O.ElBreadcrumbItem,O.ElButton,O.ElButtonGroup,O.ElCalendar,O.ElCard,O.ElCarousel,O.ElCarouselItem,O.ElCascader,O.ElCascaderPanel,O.ElCheckTag,O.ElCheckbox,O.ElCheckboxButton,O.ElCheckboxGroup,O.ElCol,O.ElCollapse,O.ElCollapseItem,O.ElCollapseTransition,O.ElColorPicker,O.ElConfigProvider,O.ElContainer,O.ElAside,O.ElFooter,O.ElHeader,O.ElMain,O.ElDatePicker,O.ElDescriptions,O.ElDescriptionsItem,O.ElDialog,O.ElDivider,O.ElDrawer,O.ElDropdown,O.ElDropdownItem,O.ElDropdownMenu,O.ElEmpty,O.ElForm,O.ElFormItem,O.ElIcon,O.ElImage,O.ElImageViewer,O.ElInput,O.ElInputNumber,O.ElLink,O.ElMenu,O.ElSubMenu,O.ElMenuItem,O.ElMenuItemGroup,O.ElPageHeader,O.ElPagination,O.ElPopconfirm,O.ElPopover,O.ElPopper,O.ElProgress,O.ElRadio,O.ElRadioButton,O.ElRadioGroup,O.ElRate,O.ElResult,O.ElRow,O.ElScrollbar,O.ElSelect,O.ElOption,O.ElOptionGroup,O.ElSelectV2,O.ElSkeleton,O.ElSkeletonItem,O.ElSlider,O.ElSpace,O.ElSteps,O.ElStep,O.ElSwitch,O.ElTable,O.ElTableColumn,O.ElTableV2,O.ElTabs,O.ElTabPane,O.ElTag,O.ElTimePicker,O.ElTimeSelect,O.ElTimeline,O.ElTimelineItem,O.ElTooltip,O.ElTransfer,O.ElTree,O.ElTreeSelect,O.ElTreeV2,O.ElUpload,O.ElStatistic,O.ElCountdown,O.ElSegmented,O.ElAnchor,O.ElAnchorLink,O.ElWatermark,O.ElMessageBox,O.ElMessage,O.ElNotification],wi=[O.ElInfiniteScroll,O.ElLoading,O.ElMessage,O.ElMessageBox,O.ElNotification,O.ElPopoverDirective],Si=(e,n={})=>{const a=n.componentPrefix??"fox",l=a[0].toUpperCase()+a.slice(1);vi.forEach(o=>{let r=o.name;typeof r=="string"?(r=`${l}${r.slice(2)}`,e.component(r,o)):e.use(o)}),wi.forEach(o=>{e.use(o)})};function ue(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(a){return a.baseName=e,a.name=n,a.install=l=>{l.component(a.name,a)},t.defineComponent(a)},createDemo(a){return a.baseName=e,a.name="demo-"+e,t.defineComponent(a)}}}function be(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}const we={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}},De={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}},Wa={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}},Ya={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}},Ua=[];for(const e in Ya)Ua.push(e);const xi=Symbol.for("InnerPageScopeKey"),Ti={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:{...we,...Wa,...Ti},setup(a,{slots:l}){const o=Jn(a.name,a),r=t.inject(xi,!1);if(o){const h=ja(o,a);be({getPageContentHeight:()=>ln(o,h),getPageContentWidth:()=>an(o,h),getPageHeaderHeight:()=>Vt(o,h),getPageFooterHeight:()=>It(o,h)}),h&&r&&(h.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),u=t.computed(()=>({})),s=t.getCurrentInstance(),c=(h,d=!1)=>{const y=s?.proxy;y&&typeof y.setNameValidateRules=="function"&&y.setNameValidateRules(h,!0,d)};return t.watch([()=>a.rules,()=>a.pureDataRules],([h,d],[y,x])=>{if(h&&y){const b=t.toRaw(y),p=t.toRaw(h),g=p?Reflect.ownKeys(p):[];(b?Reflect.ownKeys(b):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p)}if(d&&x){const b=t.toRaw(x),p=t.toRaw(d),g=p?Reflect.ownKeys(p):[];(b?Reflect.ownKeys(b):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p,!0)}},{deep:!0}),t.onMounted(()=>{if(a.rules){const h=t.toRaw(a.rules);c(h)}if(a.pureDataRules){const h=t.toRaw(a.pureDataRules);c(h,!0)}}),()=>{const h={class:i.value,style:u.value};return t.h("div",h,[l?.default?.()])}}}),{componentName:$i,create:ki,scope:Sy}=ue("page"),nl=ki(Ci($i));function ll(e){const n=t.unref(e);return{width:n.offsetWidth,height:n.offsetHeight}}function sn(e){const n=t.unref(e),a=window.getComputedStyle(n,null),l=parseFloat(a.getPropertyValue("padding-left")),o=parseFloat(a.getPropertyValue("padding-right")),r=parseFloat(a.getPropertyValue("padding-top")),i=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-o,height:n.clientHeight-r-i}}const Di=(e,n,a,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:a},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(o,r){const i=Xe(),u=i?nn(i):null;u&&(u.headerMounted=!0);const s=e,c=t.computed(()=>({[s]:!0,[`${s}--border`]:o.border,[`${s}--fixed`]:o.fixed,[`${s}--safe-area-inset-top`]:o.safeAreaInsetTop})),h=t.computed(()=>({[`${s}__inner`]:!0,[`${s}__inner--${o.align}`]:!0})),d=o.height!==null&&o.height!==void 0?pe(o.height):null,y=t.computed(()=>{const I={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&u){const w=We(o.padding??u.headerPadding);return Object.assign(I,w),d&&(u.headerHeight=d),u.headerHeight>0&&(I.height=u.headerHeight),I.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,I.safeAreaTop>0&&(I.top=I.safeAreaTop+(w.top??0),I.height&&I.height>0&&(I.height=I.height+I.safeAreaTop)),I}if(d&&(I.height=d),o.padding){const w=We(o.padding);Object.assign(I,w)}return I}),x=t.ref(null),b=()=>{if(u&&x.value&&!Gt(x.value)){if(!l){const I=ll(x.value);u.headerAllHeight=I.height}return u.headerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{u&&(en(b,50,5,50,!0),window.ResizeObserver&&x.value&&(p=new window.ResizeObserver(()=>{b()}),p.observe(x.value)))}),t.onUnmounted(()=>{u&&(u.headerMounted=!1,p&&(p.disconnect(),p=null))});const g=t.computed(()=>{const I={};return y.value.height!==null&&y.value.height!==void 0&&(I.height=`${y.value.height}px`),y.value.top!==null&&y.value.top!==void 0&&(I.paddingTop=`${y.value.top}px`),y.value.left!==null&&y.value.left!==void 0&&(I.paddingLeft=`${y.value.left}px`),y.value.right!==null&&y.value.right!==void 0&&(I.paddingRight=`${y.value.right}px`),y.value.bottom!==null&&y.value.bottom!==void 0&&(I.paddingBottom=`${y.value.bottom}px`),I}),H=t.computed(()=>!(y.value.height!==null&&y.value.height!==void 0&&y.value.height<=0));function m(){r.emit("back")}function f(){r.emit("click-title")}function T(){r.emit("click-right")}function M(){r.emit("click-right-text")}const A=()=>{if(!o.leftShow)return null;const I=[];if(r.slots.left)I.push(r.slots.left());else{if(r.slots.leftIcon){const w=t.h("view",{class:"left-icon",onClick:m},[r.slots.leftIcon()]);I.push(w)}else if(o.leftIcon){const w=t.h("view",{class:"left-icon",onClick:m},[t.h(o.leftIcon)]);I.push(w)}if(o.leftText){const w=t.h("view",{class:"left-text",onClick:m},[o.leftText]);I.push(w)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__left"},I)},F=()=>{if(!o.rightShow)return null;const I=[];if(r.slots.right)I.push(r.slots.right());else{if(o.rightText){const w=t.h("view",{class:"right-text",onClick:M},[o.rightText]);I.push(w)}if(r.slots.rightIcon){const w=t.h("view",{class:"right-icon",onClick:T},[r.slots.rightIcon()]);I.push(w)}else if(o.rightIcon){const w=t.h("view",{class:"right-icon",onClick:T},[t.h(o.rightIcon)]);I.push(w)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__right"},I)},z=()=>{if(!o.titleShow)return null;const I=[],w=r.slots.default?r.slots.default():null;if(w)I.push(w);else{if(o.title){const K=t.h("view",{class:"title-text"},[o.title]);I.push(K)}if(r.slots.titleIcon){const K=t.h("view",{class:"title-icon",onClick:f},[r.slots.titleIcon()]);I.push(K)}else if(o.titleIcon){const K=t.h("view",{class:"title-icon",onClick:f},[t.h(o.titleIcon)]);I.push(K)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__title"},I)},$=()=>{const I=[],w=r.slots.bottom?r.slots.bottom():null;return w&&I.push(w),I.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},I)};return()=>{if(!H.value)return null;const I=[];if(r.slots.all)I.push(r.slots.all());else{const K=[],J=A();J&&K.push(J);const L=z();L&&K.push(L);const V=F();if(V&&K.push(V),K.length>0){const R=t.h("view",{class:h.value},K);I.push(R)}const P=$();P&&I.push(P)}if(I.length===0)return null;const w={class:c.value,style:g.value,ref:x};return t.h("view",w,I)}}}),{componentName:Ni,create:Ei,scope:Vi}=ue("header-bar"),al=Ei(Di(Ni,Vi,$e.ArrowLeft));function Ii(e,n,a=!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,o){const r=Xe(),i=r?nn(r):null,u=t.computed(()=>{const b=e;return{[b]:!0,[`${b}--${l.align}`]:!0,[`${b}--border`]:l.border,[`${b}--fixed`]:l.fixed,[`${b}--safe-area-inset-bottom`]:l.safeAreaInsetBottom}}),s=l.height!==null&&l.height!==void 0?pe(l.height):null,c=t.computed(()=>{const b={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const p=We(l.padding??i.footerPadding);return Object.assign(b,p),s&&(i.footerHeight=s),i.footerHeight>0&&(b.height=i.footerHeight),b.safeAreaBottom=i.safeAreaBottom===-1?0:i.safeAreaBottom,b.safeAreaBottom>0&&(b.bottom=b.safeAreaBottom+(p.bottom??0),b.height&&b.height>0&&(b.height=b.height+b.safeAreaBottom)),b}if(s&&(b.height=s),l.padding){const p=We(l.padding);Object.assign(b,p)}return b}),h=t.ref(null),d=()=>{if(i&&h.value&&!Gt(h.value)){if(!a){const b=ll(h.value);i.footerAllHeight=b.height}return i.footerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{i&&(en(d,50,5,50,!0),window.ResizeObserver&&(y=new window.ResizeObserver(()=>{d()}),y.observe(h.value)))}),t.onUnmounted(()=>{i&&(i.footerMounted=!1,y&&(y.disconnect(),y=null))});const x=t.computed(()=>{const b={};return c.value.height!==null&&c.value.height!==void 0&&(b.height=Ae(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(b.paddingTop=Ae(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(b.paddingLeft=Ae(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(b.paddingRight=Ae(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(b.paddingBottom=Ae(c.value.bottom)),b});return()=>{const b=o.slots.default?o.slots.default():[],p={ref:h,class:u.value,style:x.value};return t.h("view",p,b)}}}}const{componentName:Oi,create:Ai,scope:xy}=ue("footer-bar"),ol=Ai(Ii(Oi));function Fi(e,n){return{props:{padding:{type:[Object],required:!1}},setup(a){const l=Xe(),o=t.computed(()=>({[e]:!0})),r=l?nn(l):null,i=t.computed(()=>{const c={};if(l&&r){if(a.padding){const x=We(a.padding);Object.assign(r.contentPadding,x)}const h=Vt(l,r),d=It(l,r);let y="";if(r.contentHeight?y=`${r.contentHeight}`:y=`${r.height}px`,r.contentPadding,c.height=y,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(a.padding){const h=We(a.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=sn(u.value);r.contentInnerHeight=c.height,r.contentInnerWidth=c.width}};return t.onMounted(()=>{s()}),l&&r&&t.watch([()=>Vt(l),()=>It(l)],([])=>{s()}),{contentRef:u,classes:o,styles:i}}}}const{componentName:Bi,create:Mi,scope:Ty}=ue("content"),Ri=Mi(Fi(Bi));function Li(e,n,a,l,o,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 Ne=(e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a},rl=Ne(Ri,[["render",Li]]),yt="GroupStateKey",Ga=Symbol.for("GroupScopeKey");function un(){return t.inject(Ga,!1)}function cn(e=!0){t.provide(Ga,e)}function _i(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const o=n[l];Gn(o)||(e[l]=o)})}function Pi(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};_i(l,n);const o=t.shallowRef(l),r=t.markRaw({layout:o,passport:0,order:{index:0}});return e.set(yt,r),r}function il(e,n,a=-1,l=-1,o=!1,r,i,u){const s=e.get(yt);if(!s)return;const c=e.get("groupLayout")??{};a===-1&&(a=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 y=()=>{const x=n===""||n===-1,b=pe(n);let p=ge(a);const g=pe(l);if(!x){let f=(b-(p-1)*g)/p;for(;d!==-1&&f>d;)p++,f=(b-(p-1)*g)/p;for(;h!==-1&&p>1&&f<h;)p--,f=(b-(p-1)*g)/p}let H=!1;const m=s.layout;m.value.width=n,m.value.column!==p&&(m.value.column=p,H=!0),m.value.gutter!==g&&(m.value.gutter=g,H=!0),m.value.type!==u&&(m.value.type=u,H=!0),H&&t.triggerRef(m)};if(o)y();else{const x=++s.passport;setTimeout(()=>{x===s.passport&&y()},50)}}function fn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.layout}function dn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.order}function Xa(e,n=1){if(n==="stretch")return-1;const a=ge(n);return a===-1?100:100*a/e}function hn(e,n,a=1,l=0,o){const r={};let i=0;o?i=pe(o):i=Xa(n.column,a),i>0&&(r.width=`${i}%`);const u=Xa(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 mn(e,n,a=1,l=0){if(a==="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 o=ge(a);if(o===-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(o>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=ge(l)%n.column;let i=(e.index+r)%n.column,u=i+o;return u>n.column?(i=0,u=i+o,e.index=e.index+(n.column-i)+o):e.index=e.index+r+o,r>0?{"grid-column":`${i+1} / span ${o}`}:{"grid-column-start":`span ${o}`}}const Za=Symbol("RollingStateKey");function qi(e){t.provide(Za,e)}function zi(){return t.inject(Za,null)}function sl(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const o=parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-o-r}else n=e.offsetHeight;return n}function ji(e){let n=sl(e);if(n<=0){const a=e.cloneNode(!0),l=e.offsetWidth;a.style=`width: ${l}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(a),n=sl(a),document.body.removeChild(a)}return n}function Hi(e,n,a){if(e<=0)return"1fr";const l=(e-(n-1)*a)/n;return l>0?`${l}px`:"1fr"}const Ki={...we,...Wa,...Ya};function Wi(e,n,a){return{props:Ki,emits:["update:collapse","header-click"],setup(l,o){const r=Jn(l.prop??l.name,l,Ua),i=Pi(r,{type:l.type}),u=un();cn(!0);const s=l.rollingDisplay?zi():null,c=t.ref(null),h=t.computed(()=>l.rollingDisplay?s&&!s.disabled:!1),d=t.computed(()=>u&&r?fn(r,!0).value:null),y=t.getCurrentInstance(),x=(S,W=!1)=>{const X=y?.proxy;X&&typeof X.setNameValidateRules=="function"&&X.setNameValidateRules(S,!0,W)};t.watch([()=>l.rules,()=>l.pureDataRules],([S,W],[X,k])=>{if(S&&X){const Y=t.toRaw(X),ee=t.toRaw(S),ae=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(oe=>{ae.includes(oe)||(ee[oe]=[])}),x(ee)}if(W&&k){const Y=t.toRaw(k),ee=t.toRaw(W),ae=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(oe=>{ae.includes(oe)||(ee[oe]=[])}),x(ee,!0)}},{deep:!0});const b=e,p=t.computed(()=>{const S={};S.height=V.value;const W=u?dn(r,!0):null;if(d.value&&W){if(d.value.type==="grid"){const X=mn(W,d.value,l.span,l.offset);Object.assign(S,X)}else if(d.value.type==="flow"){const X=hn(W,d.value,l.span,l.offset,l.width);Object.assign(S,X)}}else if(l.width){const X=Ae(l.width);S.width=X}return S}),g=t.computed(()=>{const S=i.layout.value.type;return S==="grid"||S==="flow"?{[`${b}--${S}`]:!0,[`${b}--${S}-justify-${l.justify}`]:!0,[`${b}--${S}-align-${l.align}`]:!0,[`${b}--gutter`]:!0}:{[`${b}--${S}`]:!0,[`${b}--gutter`]:!0}}),H=t.computed(()=>{if(i.layout.value.type==="grid"){let W="";if(l.columnWidth)W=`repeat(auto-fill, ${l.columnWidth})`;else{const X=Hi(z.value,i.layout.value.column,i.layout.value.gutter);W=`repeat(${i.layout.value.column}, ${X})`}return{"column-gap":`${i.layout.value.gutter}px`,"grid-template-columns":W}}}),m=t.toRef(l,"gutter"),f=t.toRef(l,"column"),T=t.computed(()=>u||h.value?!0:ce(l.isWrap)),M=[],A=S=>{M.push(S)},F=()=>{let S=M.length;M.splice(0,S)},z=t.ref(-1),$=S=>{const W=sn(S).width;W>0&&W!==z.value&&(z.value=W)};il(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&t.watch([z,f,m],([S,W,X])=>{i.order.index=0,il(r,S,W,X,!1,l.minItemWidth,l.maxItemWidth,l.type)});const I=t.computed(()=>P.value?l.expandText??"":l.collapseText??""),w=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),K=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!P.value,"is-collapse":P.value})),J=t.ref(),L=t.ref(),V=t.computed(()=>R.value||Ae(l.height)||""),P=t.ref(!1),R=t.ref(""),Z=t.ref(!1);let U=-1;const j=(S,W=!0)=>{const X=J.value;if(X&&P.value!==S){if(U=U===-1?ji(X):U,Z.value=!0,W)if(X.style["will-change"]="height",X.ontransitionend=function(){X.ontransitionend=null,this.style["will-change"]="auto",S||(R.value="",Z.value=!1)},S){let k=0;l.collapseHeight?k=l.collapseHeight:L.value&&L.value.classList.contains(`${e}__header`)&&(k=L.value.offsetHeight),R.value=`${U}px`,t.nextTick(()=>{R.value=`${k}px`})}else R.value=`${U}px`;else if(S){let k=0;l.collapseHeight?k=l.collapseHeight:L.value&&L.value.classList.contains(`${e}__header`)&&(k=L.value.offsetHeight),R.value=`${k}px`}else Z.value=!1,R.value=`${U}px`;P.value=S,o.emit("update:collapse",S)}};t.watch(()=>l.collapse,S=>{j(S)});const te=S=>{o.emit("header-click",S)},D=()=>{E()},E=S=>{S=S??!P.value,j(S)};be({toggleCollapse:E,doLayout:()=>{M[0]&&($(M[0]),il(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let _=null,N=!0;const Q=S=>{if(l.rules){const W=t.toRaw(l.rules);x(W)}if(l.pureDataRules){const W=t.toRaw(l.pureDataRules);x(W,!0)}if(tt&&(S&&j(ce(l.collapse),!1),l.autoLayout&&Array.isArray(M)&&M.length>0)){const W=M[0];$(W),window.ResizeObserver&&(_=new window.ResizeObserver(()=>{$(W)}),_.observe(W))}},le=()=>{_?.disconnect(),_=null},G=!h.value||s?.acquire();G&&(c.value=h.value?!0:null),t.onMounted(()=>{if(G&&(Q(N),N=!1),h.value&&s){let S=null,W=s.initialHeight;s.observe(J.value,X=>{if(X!==c.value)if(X)c.value=!0,P.value||(R.value=""),S=setTimeout(()=>{S=null,c.value!==!1&&(Q(N),N=!1)},100);else{if(S!==null&&clearTimeout(S),c.value=!1,!P.value)if(N)R.value=s.initialHeight;else{let k=sl(J.value);k<=0?R.value=W:(R.value=`${k}px`,W=R.value)}N||le()}})}}),t.onUnmounted(()=>{_?.disconnect(),s&&s.unobserve(J.value)});const C=(S="right")=>{const W=[];if(I.value){const Y={class:w.value},ee=t.h("span",Y,[I.value]);W.push(ee)}const X={class:K.value},k=a(l.collapseIcon,X);return k&&W.push(k),W.length>0?t.h("div",{class:{[`${b}__header-collapse`]:!0,[`is-${S}`]:!0},onClick:D},W):null},B=(S,W,X,k)=>{const Y={...g.value};return W===0&&(Y[`${b}__first`]=!0),X>=k-1&&(Y[`${b}__last`]=!0),t.h("div",{ref:A,key:`${W}`,class:Y,style:H.value},S)};return()=>{if(h.value&&c.value!==!0){const Y=l.tag||"div";return t.h(Y,{ref:J,prop:l.name,class:{[`${b}`]:!0,"is-collapse":Z.value},style:p.value},[])}i.order.index=0;const S=[];let W=0;if(o.slots.header){const Y={key:`${W++}`,ref:L,class:{[`${b}__header`]:!0,[`${b}__first`]:!0},onClick:te},ee=t.h("div",Y,[o.slots.header()]);S.push(ee)}else{const Y=[],ee=l.collapsePosition==="left";if(ee&&l.showCollapse){const ae=C("left");ae&&Y.push(ae)}if(l.title||o.slots.title){if(l.showMark){const ae={class:{[`${b}__header-mark`]:!0}};l.markColor&&(ae.style={background:l.markColor});const ne=t.h("div",ae);Y.push(ne)}if(o.slots.title){const ae=t.h("div",{class:{[`${b}__header-title`]:!0}},[o.slots.title()]);Y.push(ae)}else if(l.title){const ae=t.h("div",{class:{[`${b}__header-title`]:!0}},[l.title]);Y.push(ae)}}if(o.slots.toolbar&&Y.push(o.slots.toolbar()),!ee&&l.showCollapse){const ae=C("right");ae&&Y.push(ae)}if(Y.length>0){const ae={key:`${W++}`,ref:L,class:{[`${b}__header`]:!0,[`${b}__first`]:!0},onClick:te},ne=t.h("div",ae,Y);S.push(ne)}}F();const X=o.slots.default?o.slots.default():[],k=i.layout.value.type;if(k==="grid"){const Y=B(X,W++,0,X.length);S.push(Y)}else if(k==="flow"){const Y=B(X,W++,0,X.length);S.push(Y)}else for(let Y=0;Y<X.length;Y++){const ee=X[Y],ae=B([ee],W++,Y,X.length);S.push(ae)}if(T.value){const Y=l.tag||"div";return t.h(Y,{ref:J,prop:l.name,class:{[`${b}`]:!0,"is-collapse":Z.value},style:p.value},[S])}else return S}}}}const{componentName:Yi,create:Ui,scope:Gi}=ue("group"),ul=Ui(Wi(Yi,Gi,(e,n)=>(e=e??$e.ArrowUp,t.h(O.ElIcon,n,{default:()=>[t.h(e)]}))));function Xi(e){return e===window}const Zi=/matrix\((.+)\)/,cl=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(Xi(n))return{x:0,y:0};let a=0,l=0,o=n;for(;o!==null;)a+=o.offsetLeft,l+=o.offsetTop,o=o.offsetParent;let r=0,i=0,u=0,s=0;for(o=n;o!==document;){i+=o.scrollTop,r+=o.scrollLeft;const{transform:c}=window.getComputedStyle(o);if(c){const h=Zi.exec(c);if(h){let y=h[1].split(/\s*,\s*/);y.length==6&&(u+=Number(y[4]),s+=Number(y[5]))}}o=o.parentNode}return a-=r,l-=i,a+=u,l+=s,{x:a,y:l}};class Ji{watchedListeners=[];add(n){this.watchedListeners.push(n)}remove(n){const a=this.watchedListeners.indexOf(n);a!==-1&&this.watchedListeners.splice(a,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(n=>{try{n()}catch{}})}}class Qi{monitorRegister=new WeakMap;watch(n,a){let l=n.parentNode;const o=document.body.parentNode;for(;l&&l!==o;){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(a),l=l.parentNode}}unwatch(n,a){let l=n.parentNode;const o=document.body.parentNode;for(;l&&l!==o;){let r=this.monitorRegister.get(l);r&&(r.remove(a),r.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",r.listen),l===document.body&&l.removeEventListener("resize",r.listen))),l=l.parentNode}}}const Ot=new Qi,Ja={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},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}=ue("price"),ns=ts({props:{...Ja},setup(e){const n=t.computed(()=>({[es]:!0})),a=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>Ke(e.price)==0?"":Kt(e.price,e.decimalLength,!0,ge(e.digits),e.separator)),o=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:a,intText:o,decimalText:r}}}),ls=["innerHTML"],as=["innerHTML"];function os(e,n,a,l,o,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,as)):t.createCommentVNode("",!0)],2)}const gn=Ne(ns,[["render",os]]),{componentName:fl,create:rs}=ue("hint-text"),is=rs({components:{Price:gn},props:{...Ja,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 a=t.ref({top:null,right:null,bottom:null,left:null}),l=t.ref({x:0,y:0}),o=t.ref(0),r=t.ref(0),i=t.ref(e.placement),u=t.ref(!1),s=t.ref(null),c=(w,K,J,L,V,P)=>{const R=document.documentElement.clientWidth||document.body.clientWidth,Z=document.documentElement.clientHeight||document.body.clientHeight,U=w.split("-");let j=[];U[0]==="top"?j=["top","bottom","right","left"]:U[0]==="bottom"?j=["bottom","top","right","left"]:U[0]==="left"?j=["left","top","bottom","right"]:U[0]==="right"&&(j=["right","top","bottom","left"]);const te={top:null,right:null,bottom:null,left:null},D=[];for(let E=0;E<j.length;E++){const q=j[E];if(D[0]=q,U[1]&&(D[1]=U[1]),q==="top"){const _=K.y-P-e.arrowSize-e.offset;if(_>=0){te.top=_;let N=0;U[1]==="start"?N=K.x:U[1]==="end"?N=K.x+J-V:N=K.x+J/2-V/2;const Q=R-N-V;Q<0?(N+=Q,d.value=-Q):d.value=0,te.left=N<0?0:N;break}}else if(q==="bottom"){const _=K.y+L+e.arrowSize+e.offset;if(_+P<=Z){te.top=_;let N=0;U[1]==="start"?N=K.x:U[1]==="end"?N=K.x+J-V:N=K.x+J/2-V/2;const Q=R-N-V;Q<0?(N+=Q,d.value=-Q):d.value=0,te.left=N<0?0:N;break}}else if(q==="left"){const _=K.x-V-e.arrowSize-e.offset;if(_>=0){te.left=_;let N=0;U[1]==="start"?N=K.y:U[1]==="end"?N=K.y+L-P:N=K.y+L/2-P/2,te.top=N<0?0:N;break}}else if(q==="right"){const _=K.x+J+e.arrowSize+e.offset;if(_+V<=R){te.left=_;let N=0;U[1]==="start"?N=K.y:U[1]==="end"?N=K.y+L-P:N=K.y+L/2-P/2,te.top=N<0?0:N;break}}}return{bestPlacement:D.join("-"),bestInsetRect:te}},h=(w,K,J=10)=>{if(!tt||K===!1||!w)return;l.value=cl(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const L=s.value.offsetHeight,V=s.value.offsetWidth,{bestPlacement:P,bestInsetRect:R}=c(e.placement,l.value,o.value,r.value,V,L);i.value=P,a.value=R,u.value=!0},d=t.ref(0),y=st(()=>{h(e.message,e.visible)},10),x=t.ref(e.visible);t.watch(()=>e.visible,w=>{x.value=w});const b=t.computed(()=>x.value&&p.value),p=t.ref(!0),g=st(w=>{const K=w[0];K&&(p.value=K.isIntersecting)},10),H=new IntersectionObserver(g);t.watch([()=>e.message,()=>e.visible],([w,K])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Ot.watch(e.reference,y),H.observe(e.reference)}),t.onBeforeUnmount(()=>{Ot.unwatch(e.reference,y),H.unobserve(e.reference),H.disconnect()});const m=t.computed(()=>{const w={[fl]:!0};return i.value.startsWith("top")?w["is-top"]=!0:i.value.startsWith("right")?w["is-right"]=!0:i.value.startsWith("bottom")?w["is-bottom"]=!0:i.value.startsWith("right")&&(w["is-right"]=!0),e.size==="small"?w["is-small"]=!0:e.size==="large"&&(w["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(w[`${e.customClass}`]=!0),w}),f=t.computed(()=>{const w={};a.value.top!==null&&(w.top=`${a.value.top}px`),a.value.right!==null&&(w.right=`${a.value.right}px`),a.value.bottom!==null&&(w.bottom=`${a.value.bottom}px`),a.value.left!==null&&(w.left=`${a.value.left}px`),e.autoFit&&(w["min-width"]=`${o.value}px`);const K=document.documentElement.clientWidth||document.body.clientWidth;return w["max-width"]=`${K}px`,u.value&&(w.opacity="1"),e.transition||(w.transition="none"),e.zIndex&&(w["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(w,e.customStyle),w}),T=t.computed(()=>{const w=[`${fl}__content`];return e.customTextClass&&w.push(e.customTextClass),w}),M=t.computed(()=>{const w={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(w,e.customTextStyle),w}),A=t.computed(()=>({[`${fl}__arrow`]:!0})),F=t.computed(()=>{const w={};return e.showArrow?(w.width=`${e.arrowSize}px`,w.height=`${e.arrowSize}px`,i.value==="top"?(w.left="50%",w.bottom=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):i.value==="top-start"?(w.left=`${e.arrowOffset+d.value}px`,w.bottom=`-${e.arrowSize}px`):i.value==="top-end"?(w.right=`${e.arrowOffset-d.value}px`,w.bottom=`-${e.arrowSize}px`):i.value==="right"?(w.left=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):i.value==="right-start"?(w.left=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):i.value==="right-end"?(w.left=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`):i.value==="bottom"?(w.left="50%",w.top=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):i.value==="bottom-start"?(w.left=`${e.arrowOffset+d.value}px`,w.top=`-${e.arrowSize}px`):i.value==="bottom-end"?(w.right=`${e.arrowOffset-d.value}px`,w.top=`-${e.arrowSize}px`):i.value==="left"?(w.right=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):i.value==="left-start"?(w.right=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):i.value==="left-end"&&(w.right=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`),w):{display:"none"}}),z=t.computed(()=>b.value&&e.closeOnClick),$=t.computed(()=>{const w={};return e.zIndex&&(w["z-index"]=`${e.zIndex}`),w});return{show:b,tipRef:s,classes:m,styles:f,textClasses:T,textStyles:M,arrowClasses:A,arrowStyles:F,overlayShow:z,overlayStyle:$,onClickOverlay:()=>{x.value=!1,n.emit("update:visible",!1)}}}}),ss=["innerHTML"];function us(e,n,a,l,o,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 At=Ne(is,[["render",us]]);class Qa{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 dl={},cs=new Qa,pt=new Map,yn=e=>{if(e){const n=document.getElementById(e);pt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of pt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}pt.clear()}},fs=e=>{e.unmount=yn;const n=document.getElementById(e.id);if(n){const a=pt.get(e.id);a?e={...dl,...a,...e}:e={...dl,...e},e.transition=!1;const l=t.createVNode(At,e);t.render(l,n)}return e.id},ds=e=>{e.unmount=yn;let n=e.id??`hinttext_${cs.get()}`;e={...dl,...e},e.id=n,pt.set(n,e);const a=document.createElement("div");a.id=e.id;const l=t.createVNode(At,e);return t.render(l,a),document.body.appendChild(a),n},hs=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},Be={show(e,n,a={},l=!0){hs(n);const o=a.id;return o&&pt.has(o)?fs({...a,message:n,reference:e}):(l&&yn(),ds({...a,message:n,reference:e}))},hide(e){yn(e)},install(e){e.config.globalProperties.$hintText=Be}};function ms(e,n,a,l=!1){return{inheritAttrs:!0,props:{...we,...De},emits:["appear","disappear"],setup(o,r){const i=o.prop??r.attrs.name;Ce({componentName:e,validate:!1},i);const u=Xe(),s=un();cn(!1);const c=t.computed(()=>s&&u?fn(u,!1).value:null),h=e,d=t.ref(null),y=t.computed(()=>{const k={[h]:!0,[`${h}__gutter`]:c.value&&c.value.type!=="flow",[`${h}__stretch`]:o.span==="stretch",[`${h}__input--border`]:ce(o.hasBorder)};if(k[o.errorMarkClass]=!!P.value,k[o.warnMarkClass]=!!L.value,k[o.infoMarkClass]=!!K.value,typeof d.value=="function"){const Y=d.value(i);k[Y]=!0}else if(typeof d.value=="string"){const Y=d.value;k[Y]=!0}return k}),x=t.ref(null),b=t.computed(()=>{const k={};if(o.width)o.width!=="auto"&&(k.width=Ae(o.width));else{const Y=s&&u?dn(u,!1):null;if(c.value&&Y){if(c.value.type==="grid"){const ee=mn(Y,c.value,o.span,o.offset);Object.assign(k,ee)}else if(c.value.type==="flow"){const ee=hn(Y,c.value,o.span,o.offset,o.width);Object.assign(k,ee)}}}if(typeof x.value=="function"){const Y=x.value(i);Y&&Object.assign(k,Y)}else if(x.value&&typeof x.value=="object"){const Y=x.value;Object.assign(k,Y)}return k}),p=t.ref(null),g=t.computed({get:()=>p.value??ce(o.isRequired),set:k=>{p.value=k}}),H=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",m=Ee(t.toRef(o,"labelPosition"),"labelPosition",_e.Near),f=t.computed(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),T=t.computed(()=>({[`${h}__main`]:!0,[`${h}__main--${f.value}`]:!0})),M=t.computed(()=>({label:!0,[`label--${f.value}`]:!0})),A=Ee(t.toRef(o,"labelWidth"),"labelWidth",_e.Near),F=t.computed(()=>A&&A.value?{width:Ae(A.value)}:{}),z=t.computed(()=>({"label--string":!0,"label--required":g.value})),$=t.computed(()=>({content:!0,[o.contentClass]:!0})),I=t.computed(()=>({...o.contentStyle})),w=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});be({setRequired(k){g.value=k},setErrorTip(k){w.errorTip=k},setErrorIcon(k){w.errorIcon=k},setWarnTip(k){w.warnTip=k},setWarnIcon(k){w.warnIcon=k},setInfoTip(k){w.infoTip=k},setInfoIcon(k){w.infoIcon=k},setCustomClassName(k){d.value=k},setCustomStyle(k){x.value=k}});const K=t.computed(()=>o.infoTip||w.infoTip),J=t.computed(()=>o.infoIcon||w.infoIcon),L=t.computed(()=>o.warnTip||w.warnTip),V=t.computed(()=>o.warnIcon||w.warnIcon),P=t.computed(()=>o.errorTip||w.errorTip),R=t.computed(()=>o.errorIcon||w.errorIcon),Z=t.computed(()=>P.value?"error":L.value?"warn":K.value?"info":""),U=()=>Z.value.length>0,j=t.computed(()=>Z.value==="error"?P.value:Z.value==="warn"?L.value:Z.value==="info"?K.value:""),te=t.computed(()=>Z.value==="error"?R.value:Z.value==="warn"?V.value:Z.value==="info"?J.value:null),D=t.computed(()=>{const k={[`${h}__tip`]:!0,[`${h}__tip--${Z.value}`]:!0,[`${h}--animate`]:!0};return Z.value==="error"&&o.errorClass?k[`${o.errorClass}`]=!0:Z.value==="warn"&&o.warnClass?k[`${o.warnClass}`]=!0:Z.value==="info"&&o.infoClass&&(k[`${o.infoClass}`]=!0),k}),E=t.computed(()=>{const k={};return m&&m.value==="top"||!H()?k["padding-left"]="0px":A&&A.value&&(k["padding-left"]=Ae(A.value)),k}),q=t.ref();let _="";t.watch([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([k,Y,ee,ae])=>{q.value&&(k&&!de(Y)?_?a.show(q.value,Y,{...ae,id:_,type:ee},!0):_=a.show(q.value,Y,{...ae,type:ee},!0):a.hide(_))});let N=null;const Q=()=>{N||!q.value||(N=new IntersectionObserver(k=>{let Y=!1;for(let ee of k)if(ee.intersectionRatio>0){Y=!0,Y&&r.emit("appear",ee);break}Y||r.emit("disappear")}),N.observe(q.value))},le=()=>{!N||!q.value||(N.unobserve(q.value),N=null)};t.watch(()=>ce(o.appearListen),k=>{k?Q():le()}),t.onMounted(()=>{ce(o.appearListen)&&Q()}),t.onUnmounted(le);const G=()=>{if(!H())return null;const k=[],Y=r.slots?.label?.()??o.label,ee={class:z.value},ae=t.h("div",ee,[Y]);if(k.push(ae),r.slots.fixedPreTip){const oe=r.slots.fixedPreTip();k.push(oe)}const ne={class:M.value,style:F.value};return t.h("div",ne,k)},C=()=>{const k=[];if(r.slots.prepend){const ee=r.slots.prepend();k.push(ee)}if(r.slots.default){const ee=r.slots.default();k.push(ee)}if(r.slots.append){const ee=r.slots.append();k.push(ee)}if(r.slots.fixedTip){const ee={class:[`${h}__fixed-tip`]},ae=t.h("div",ee,[r.slots.fixedTip()]);k.push(ae)}const Y={ref:q,class:$.value,style:I.value};return t.h("div",Y,k)},B=()=>{const k=te.value;return k?typeof k=="function"?t.h("div",{class:"fox-item__tip--icon"},[k()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(k)]):null},S=()=>{const k=j.value;return k?typeof k=="function"?t.h("div",{class:"fox-item__tip--text"},[k()]):t.h("div",{class:"fox-item__tip--text"},[k]):null},W=()=>{if(!U())return null;const k=[],Y=B();Y&&k.push(Y);const ee=S();ee&&k.push(ee);const ae={class:D.value,style:E.value};return t.h("div",ae,k)},X=()=>r.slots?.hide?.()??null;return()=>{const k=[],Y=[],ee=G();ee&&Y.push(ee);const ae=C();ae&&Y.push(ae);const ne={class:T.value},oe=t.h("div",ne,Y);k.push(oe);const re=W();re&&k.push(re);const se=X();se&&k.push(se);const me={class:y.value,style:b.value,prop:o.prop};return t.h("div",me,k)}}}}const{componentName:gs,create:ys,scope:ps}=ue("item"),Se=ys(ms(gs,ps,Be,!1));function bs(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(a,l){const o=Xe(),r=un();cn(!1);const i=t.computed(()=>r&&o?fn(o,!1).value:null),u=e,s=t.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:a.span==="stretch"})),c=t.computed(()=>{const h={};if(a.width)a.width!=="auto"&&(h.width=Ae(a.width));else{const d=r&&o?dn(o,!1):null;if(i.value&&d)if(i.value.type==="grid"){const y=mn(d,i.value,a.span,a.offset);Object.assign(h,y)}else if(i.value.type==="flow"){const y=hn(d,i.value,a.span,a.offset,a.width);Object.assign(h,y)}else return a.width&&(h.width=Ae(a.width)),h}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:vs,create:ws,scope:$y}=ue("slot-item"),hl=ws(bs(vs));function Ss(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(a,l){const o=e,r=t.computed(()=>({[o]:!0,[`${o}__stretch`]:a.span==="stretch",[`${o}__${a.align}`]:!0})),i=Xe(),u=un();cn(!1);const s=t.computed(()=>{const c={};if(u&&i){const h=fn(i,!1),d=dn(i,!1);if(h.value&&d)if(h.value.type==="grid"){const y=mn(d,h.value,a.span,a.offset);Object.assign(c,y)}else if(h.value.type==="flow"){const y=hn(d,h.value,a.span,a.offset,a.width);Object.assign(c,y)}else a.width&&(c.width=Ae(a.width))}else a.width&&(c.width=Ae(a.width));return c});return()=>{const c=[];if(l.slots.default){const d=l.slots.default();if(a.divide)for(let y=0;y<d.length;y++){if(y>0){const x=t.h("div",{class:{[`${o}__divide`]:!0}});c.push(x)}c.push(d[y])}else Reflect.apply([].push,c,d)}const h={class:r.value,style:s.value};return t.h("div",h,c)}}}}const{componentName:xs,create:Ts,scope:ky}=ue("row-item"),ml=Ts(Ss(xs)),Ye=(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},eo={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 Cs(e,n,a){return{props:{...we,...De,...eo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0,[`${b}__disabled`]:i.value,[`${b}__readonly`]:s.value})),g=V=>{x.value=V,c("update:modelValue",V),c("input",V)},H=V=>{c("change",V)};let m=he(l,"hintText"),f=t.ref(!1);const T=V=>{let R=V.target.value;y.value=!0,de(m.value)||(f.value=!0),c("focus",R,V)},M=V=>{setTimeout(()=>{f.value&&(f.value=!1),y.value=!1},0);let R=V.target.value;l.maxLength&&R.length>Number(l.maxLength)&&(R=R.slice(0,Number(l.maxLength))),c("blur",R,V)},A=()=>{c("clear","")},F=t.ref(!1);let z=null;const $=()=>{l.showTooltip&&F.value===!1&&(z&&clearTimeout(z),z=setTimeout(()=>{F.value=!0},150))},I=()=>{z&&(clearTimeout(z),F.value=!1,z=null)},w=t.computed(()=>F.value||f.value),K=t.computed(()=>F.value?x.value:m.value),J=t.computed(()=>Ke(l.unit)>0),L=t.ref();return be({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:V=>{r.value=V},setReadonly:V=>{u.value=V}}),()=>{const P={...Ye(o.attrs),ref:L,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:H,onInput:g,onFocus:T,onBlur:M,onMouseover:$,onMouseleave:I},R={};o.slots.prepend&&(R.prepend=o.slots.prepend),o.slots.append&&(R.append=o.slots.append),o.slots.prefix&&(R.prefix=o.slots.prefix),o.slots.suffix?R.suffix=o.slots.suffix:J.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(O.ElInput,P,R);Z.push(U);const j={default:()=>Z};o.slots.default&&(j.label=o.slots.default),o.slots.default&&(j.fixedTip=o.slots.fixedTip);const D={...ke(l,eo),hintText:K.value,hintVisible:w.value};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,j)}}}}const{componentName:$s,create:ks,scope:Ds}=ue("input-item"),gl=ks(Cs($s,Ds,Se));function lt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Ft(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function to(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,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Vs(){const e=t.getCurrentInstance();return new Es(e.proxy)}function no(e,n,a){const l=lt(e,n),o=lt(e,a);if(l!==o)return!1;const r=Ft(e,n),i=Ft(e,a);return r===i}function lo(e,n,a,l){if(l.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let i of l){const u=to(e,i);if(Array.isArray(u)&&u.length>0){const s=lo(e,r,a,u)??[];Reflect.apply([].push,o,s)}else{let s=!1;if(a==="text")s=lt(e,i)===r;else if(a==="item")s=no(e,i,r);else{let c=Ft(e,i);c==null&&(c=lt(e,i)),s=c===r}if(s){o.push(i);break}}}}),o}function Is(e){return{text:e,value:e}}const ao={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 Os(e,n,a){return{props:{...we,...De,...ao},emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),b=t.computed(()=>x.value?x.value.map(W=>lt(l,W)).join(" "):""),p=(S,W,X,k=!0)=>{const Y=lo(l,S,W,X);if(Y===null){if(x.value===null||x.value.length===0)return;y.value=null,x.value=[],k&&(c("update:modelValue",null),c("update:text",null),c("change",null));return}let ee=!0;if(Y.length!==x.value.length)ee=!1;else for(let ae=0;ae<Y.length;ae++){const ne=Y[ae],oe=x.value[ae];if(!no(l,ne,oe)){ee=!1;break}}if(!ee){x.value=Y;let ae=[],ne=[],oe=[];Y.forEach(ye=>{const ze=Ft(l,ye),je=lt(l,ye);ae.push(ze),oe.push(je),l.valueType==="text"?ne.push(je):l.valueType==="item"?ne.push(ye):ne.push(ze)});let re,se,me;ce(l.multiple)?(y.value=ae,re=t.toRaw(ne),se=oe,me=t.toRaw(Y)):(y.value=ae[0]??"",re=t.toRaw(ne[0]??""),se=oe[0]??"",me=t.toRaw(Y[0])),k&&(c("update:modelValue",re),c("change",re,me)),c("update:text",se)}},g=t.ref(null),H=t.ref(null),m=t.computed(()=>H.value??g.value??[]),f=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,S=>ce(S)),T=Vs(),M=async(S,W)=>{if(S){const X=await T.load("select",S,W);if(X.length>0)if(typeof X[0]=="string"){let ee=X.map(ae=>Is(ae));g.value=ee}else g.value=X;else g.value=null}};t.watch([()=>l.source,()=>l.params],([S,W])=>{H.value=null,M(S,W)},{immediate:!f.value});let A=!1;const F=()=>{A||(A=!0,M(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([S,W])=>{if(w()&&ce(l.multiple)){Pe(W,y.value)||(y.value=W);return}p(W,l.valueType,m.value,!1),c("setValue",W)});let z=null,$=t.ref(!1);typeof l.remoteMethod=="function"&&(z=async S=>{if(S==null){H.value=null;return}$.value=!0;try{const W=await l.remoteMethod(S);W&&(H.value=W)}catch(W){H.value=null,console.error(W)}$.value=!1});let I=null;typeof l.filterMethod=="function"&&(I=async S=>{if(S==null){H.value=null;return}$.value=!0;try{const W=await l.filterMethod(S,g.value);W&&(H.value=W)}catch(W){H.value=null,console.error(W)}$.value=!1});const w=()=>typeof l.remoteMethod=="function"||typeof l.filterMethod=="function",K=t.ref(!1),J=e,L=t.computed(()=>({[J]:!0})),V=S=>{l.allowCreate||w()&&ce(l.multiple)?(c("update:modelValue",S),c("change",S),c("update:text",S),y.value=S):p(S,"value",m.value,!0)};let P=he(l,"hintText"),R=t.ref(!1);const Z=S=>{let X=S.target.value;K.value=!0,de(P.value)||(R.value=!0),c("focus",X,S)},U=S=>{setTimeout(()=>{R.value&&(R.value=!1),K.value=!1},0);let X=S.target.value;l.maxLength&&X.length>Number(l.maxLength)&&(X=X.slice(0,Number(l.maxLength))),Q.value||c("blur",X,S)},j=()=>{c("clear","")},te=t.ref(!1);let D=null;const E=()=>{l.showTooltip&&te.value===!1&&(D&&clearTimeout(D),D=setTimeout(()=>{te.value=!0},150))},q=()=>{D&&(clearTimeout(D),te.value=!1,D=null)},_=t.computed(()=>te.value||R.value),N=t.computed(()=>te.value?b.value:P.value),Q=t.ref(!1),le=S=>{Q.value=S,c("visible-change",S),S||c("selected")},G=S=>{c("remove-tag",S)},C=(S,W)=>{const X=[];return S.forEach((k,Y)=>{const ee=to(l,k);if(Array.isArray(ee)&&ee.length>0){const ae=C(ee,W),ne=lt(l,k),re={key:`${ne}_${Y}`,label:ne};X.push(t.h(O.ElOptionGroup,re,{default:()=>ae}))}else{const ae=Ft(l,k),ne=lt(l,k),oe=Ns(l,k),se={key:`${ae}_${Y}`,label:ne,disabled:oe,value:ae};if(typeof W=="function")X.push(t.h(O.ElOption,se,{default:()=>W(k)}));else if(l.optionType==="item"){const me={class:{"fox-select-item__option-left":!0}},ye=t.h("span",me,[ae]),ze={class:{"fox-select-item__option-right":!0}},je=t.h("span",ze,[ne]),Fr=t.h("div",{class:{"fox-select-item__option":!0}},[ye,je]);X.push(t.h(O.ElOption,se,{default:()=>Fr}))}else l.optionType==="value"?X.push(t.h(O.ElOption,se,{default:()=>[ae]})):X.push(t.h(O.ElOption,se))}}),X},B=t.ref();return be({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const W={...Ye(o.attrs),ref:B,class:L.value,clearable:l.clearable,multiple:l.multiple,placeholder:d.placeholder.value,disabled:i.value||s.value,modelValue:y.value,"value-key":l.valueKey,"allow-create":l.allowCreate,onClear:j,onChange:V,onFocus:Z,onBlur:U,onVisibleChange:le,onRemoveTag:G};typeof z=="function"&&(W["remote-method"]=z,W.loading=$.value),typeof I=="function"&&(W["filter-method"]=I,W.loading=$.value);const X={};o.slots.prefix&&(X.prefix=o.slots.prefix),o.slots.empty&&(X.empty=o.slots.empty),o.slots.options?X.default=o.slots.options:X.default=()=>C(m.value,o.slots.option);const k=[],Y=t.h(O.ElSelect,W,X);k.push(Y);const ee={default:()=>k};o.slots.default&&(ee.label=o.slots.default),o.slots.fixedTip&&(ee.fixedTip=o.slots.fixedTip);const ne={...ke(l,ao),hintText:N.value,hintVisible:_.value,onMouseover:E,onMouseleave:q};return l.prop&&(ne.prop=`${l.prop}_item`),f.value&&(ne["appear-listen"]=!0,ne.onAppear=F),t.h(a,ne,ee)}}}}const{componentName:As,create:Fs,scope:Bs}=ue("select-item"),yl=Fs(Os(As,Bs,Se));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 oo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){var a=1e3,l=6e4,o=36e5,r="millisecond",i="second",u="minute",s="hour",c="day",h="week",d="month",y="quarter",x="year",b="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+)?$/,H=/\[([^\]]+)]|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(L){var V=["th","st","nd","rd"],P=L%100;return"["+L+(V[(P-20)%10]||V[P]||V[0])+"]"}},f=function(L,V,P){var R=String(L);return!R||R.length>=V?L:""+Array(V+1-R.length).join(P)+L},T={s:f,z:function(L){var V=-L.utcOffset(),P=Math.abs(V),R=Math.floor(P/60),Z=P%60;return(V<=0?"+":"-")+f(R,2,"0")+":"+f(Z,2,"0")},m:function L(V,P){if(V.date()<P.date())return-L(P,V);var R=12*(P.year()-V.year())+(P.month()-V.month()),Z=V.clone().add(R,d),U=P-Z<0,j=V.clone().add(R+(U?-1:1),d);return+(-(R+(P-Z)/(U?Z-j:j-Z))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:d,y:x,w:h,d:c,D:b,h:s,m:u,s:i,ms:r,Q:y}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},M="en",A={};A[M]=m;var F="$isDayjsObject",z=function(L){return L instanceof K||!(!L||!L[F])},$=function L(V,P,R){var Z;if(!V)return M;if(typeof V=="string"){var U=V.toLowerCase();A[U]&&(Z=U),P&&(A[U]=P,Z=U);var j=V.split("-");if(!Z&&j.length>1)return L(j[0])}else{var te=V.name;A[te]=V,Z=te}return!R&&Z&&(M=Z),Z||!R&&M},I=function(L,V){if(z(L))return L.clone();var P=typeof V=="object"?V:{};return P.date=L,P.args=arguments,new K(P)},w=T;w.l=$,w.i=z,w.w=function(L,V){return I(L,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var K=function(){function L(P){this.$L=$(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[F]=!0}var V=L.prototype;return V.parse=function(P){this.$d=function(R){var Z=R.date,U=R.utc;if(Z===null)return new Date(NaN);if(w.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var j=Z.match(g);if(j){var te=j[2]-1||0,D=(j[7]||"0").substring(0,3);return U?new Date(Date.UTC(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,D)):new Date(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,D)}}return new Date(Z)}(P),this.init()},V.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},V.$utils=function(){return w},V.isValid=function(){return this.$d.toString()!==p},V.isSame=function(P,R){var Z=I(P);return this.startOf(R)<=Z&&Z<=this.endOf(R)},V.isAfter=function(P,R){return I(P)<this.startOf(R)},V.isBefore=function(P,R){return this.endOf(R)<I(P)},V.$g=function(P,R,Z){return w.u(P)?this[R]:this.set(Z,P)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(P,R){var Z=this,U=!!w.u(R)||R,j=w.p(P),te=function(G,C){var B=w.w(Z.$u?Date.UTC(Z.$y,C,G):new Date(Z.$y,C,G),Z);return U?B:B.endOf(c)},D=function(G,C){return w.w(Z.toDate()[G].apply(Z.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(C)),Z)},E=this.$W,q=this.$M,_=this.$D,N="set"+(this.$u?"UTC":"");switch(j){case x:return U?te(1,0):te(31,11);case d:return U?te(1,q):te(0,q+1);case h:var Q=this.$locale().weekStart||0,le=(E<Q?E+7:E)-Q;return te(U?_-le:_+(6-le),q);case c:case b:return D(N+"Hours",0);case s:return D(N+"Minutes",1);case u:return D(N+"Seconds",2);case i:return D(N+"Milliseconds",3);default:return this.clone()}},V.endOf=function(P){return this.startOf(P,!1)},V.$set=function(P,R){var Z,U=w.p(P),j="set"+(this.$u?"UTC":""),te=(Z={},Z[c]=j+"Date",Z[b]=j+"Date",Z[d]=j+"Month",Z[x]=j+"FullYear",Z[s]=j+"Hours",Z[u]=j+"Minutes",Z[i]=j+"Seconds",Z[r]=j+"Milliseconds",Z)[U],D=U===c?this.$D+(R-this.$W):R;if(U===d||U===x){var E=this.clone().set(b,1);E.$d[te](D),E.init(),this.$d=E.set(b,Math.min(this.$D,E.daysInMonth())).$d}else te&&this.$d[te](D);return this.init(),this},V.set=function(P,R){return this.clone().$set(P,R)},V.get=function(P){return this[w.p(P)]()},V.add=function(P,R){var Z,U=this;P=Number(P);var j=w.p(R),te=function(q){var _=I(U);return w.w(_.date(_.date()+Math.round(q*P)),U)};if(j===d)return this.set(d,this.$M+P);if(j===x)return this.set(x,this.$y+P);if(j===c)return te(1);if(j===h)return te(7);var D=(Z={},Z[u]=l,Z[s]=o,Z[i]=a,Z)[j]||1,E=this.$d.getTime()+P*D;return w.w(E,this)},V.subtract=function(P,R){return this.add(-1*P,R)},V.format=function(P){var R=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||p;var U=P||"YYYY-MM-DDTHH:mm:ssZ",j=w.z(this),te=this.$H,D=this.$m,E=this.$M,q=Z.weekdays,_=Z.months,N=Z.meridiem,Q=function(C,B,S,W){return C&&(C[B]||C(R,U))||S[B].slice(0,W)},le=function(C){return w.s(te%12||12,C,"0")},G=N||function(C,B,S){var W=C<12?"AM":"PM";return S?W.toLowerCase():W};return U.replace(H,function(C,B){return B||function(S){switch(S){case"YY":return String(R.$y).slice(-2);case"YYYY":return w.s(R.$y,4,"0");case"M":return E+1;case"MM":return w.s(E+1,2,"0");case"MMM":return Q(Z.monthsShort,E,_,3);case"MMMM":return Q(_,E);case"D":return R.$D;case"DD":return w.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Q(Z.weekdaysMin,R.$W,q,2);case"ddd":return Q(Z.weekdaysShort,R.$W,q,3);case"dddd":return q[R.$W];case"H":return String(te);case"HH":return w.s(te,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return G(te,D,!0);case"A":return G(te,D,!1);case"m":return String(D);case"mm":return w.s(D,2,"0");case"s":return String(R.$s);case"ss":return w.s(R.$s,2,"0");case"SSS":return w.s(R.$ms,3,"0");case"Z":return j}return null}(C)||j.replace(":","")})},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(P,R,Z){var U,j=this,te=w.p(R),D=I(P),E=(D.utcOffset()-this.utcOffset())*l,q=this-D,_=function(){return w.m(j,D)};switch(te){case x:U=_()/12;break;case d:U=_();break;case y:U=_()/3;break;case h:U=(q-E)/6048e5;break;case c:U=(q-E)/864e5;break;case s:U=q/o;break;case u:U=q/l;break;case i:U=q/a;break;default:U=q}return Z?U:w.a(U)},V.daysInMonth=function(){return this.endOf(d).$D},V.$locale=function(){return A[this.$L]},V.locale=function(P,R){if(!P)return this.$L;var Z=this.clone(),U=$(P,R,!0);return U&&(Z.$L=U),Z},V.clone=function(){return w.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},L}(),J=K.prototype;return I.prototype=J,[["$ms",r],["$s",i],["$m",u],["$H",s],["$W",c],["$M",d],["$y",x],["$D",b]].forEach(function(L){J[L[1]]=function(V){return this.$g(V,L[0],L[1])}}),I.extend=function(L,V){return L.$i||(L(V,K,I),L.$i=!0),I},I.locale=$,I.isDayjs=z,I.unix=function(L){return I(1e3*L)},I.en=A[M],I.Ls=A,I.p={},I})})(oo);var Ms=oo.exports;const Ue=Je(Ms);var ro={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){var a={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,o=/\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 H=g.match(/([+-]|\d\d)/g),m=60*H[1]+(+H[2]||0);return m===0?0:H[0]==="+"?-m:m}(p)}],d=function(p){var g=u[p];return g&&(g.indexOf?g:g.s.concat(g.f))},y=function(p,g){var H,m=u.meridiem;if(m){for(var f=1;f<=24;f+=1)if(p.indexOf(m(f,0,g))>-1){H=f>12;break}}else H=p===(g?"pm":"PM");return H},x={A:[i,function(p){this.afternoon=y(p,!1)}],a:[i,function(p){this.afternoon=y(p,!0)}],S:[/\d/,function(p){this.milliseconds=100*+p}],SS:[o,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:[o,c("day")],Do:[i,function(p){var g=u.ordinal,H=p.match(/\d+/);if(this.day=H[0],g)for(var m=1;m<=31;m+=1)g(m).replace(/\[|\]/g,"")===p&&(this.day=m)}],M:[r,c("month")],MM:[o,c("month")],MMM:[i,function(p){var g=d("months"),H=(d("monthsShort")||g.map(function(m){return m.slice(0,3)})).indexOf(p)+1;if(H<1)throw new Error;this.month=H%12||H}],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:[o,function(p){this.year=s(p)}],YYYY:[/\d{4}/,c("year")],Z:h,ZZ:h};function b(p){var g,H;g=p,H=u&&u.formats;for(var m=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,I,w){var K=w&&w.toUpperCase();return I||H[w]||a[w]||H[K].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(J,L,V){return L||V.slice(1)})})).match(l),f=m.length,T=0;T<f;T+=1){var M=m[T],A=x[M],F=A&&A[0],z=A&&A[1];m[T]=z?{regex:F,parser:z}:M.replace(/^\[|\]$/g,"")}return function($){for(var I={},w=0,K=0;w<f;w+=1){var J=m[w];if(typeof J=="string")K+=J.length;else{var L=J.regex,V=J.parser,P=$.slice(K),R=L.exec(P)[0];V.call(I,R),$=$.replace(R,"")}}return function(Z){var U=Z.afternoon;if(U!==void 0){var j=Z.hours;U?j<12&&(Z.hours+=12):j===12&&(Z.hours=0),delete Z.afternoon}}(I),I}}return function(p,g,H){H.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var m=g.prototype,f=m.parse;m.parse=function(T){var M=T.date,A=T.utc,F=T.args;this.$u=A;var z=F[1];if(typeof z=="string"){var $=F[2]===!0,I=F[3]===!0,w=$||I,K=F[2];I&&(K=F[2]),u=this.$locale(),!$&&K&&(u=H.Ls[K]),this.$d=function(P,R,Z){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*P);var U=b(R)(P),j=U.year,te=U.month,D=U.day,E=U.hours,q=U.minutes,_=U.seconds,N=U.milliseconds,Q=U.zone,le=new Date,G=D||(j||te?1:le.getDate()),C=j||le.getFullYear(),B=0;j&&!te||(B=te>0?te-1:le.getMonth());var S=E||0,W=q||0,X=_||0,k=N||0;return Q?new Date(Date.UTC(C,B,G,S,W,X,k+60*Q.offset*1e3)):Z?new Date(Date.UTC(C,B,G,S,W,X,k)):new Date(C,B,G,S,W,X,k)}catch{return new Date("")}}(M,z,A),this.init(),K&&K!==!0&&(this.$L=this.locale(K).$L),w&&M!=this.format(z)&&(this.$d=new Date("")),u={}}else if(z instanceof Array)for(var J=z.length,L=1;L<=J;L+=1){F[1]=z[L-1];var V=H.apply(this,F);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}L===J&&(this.$d=new Date(""))}else f.call(this,T)}}})})(ro);var Rs=ro.exports;const Ls=Je(Rs);var io={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){var o=l.prototype,r=o.format;o.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)}}})})(io);var _s=io.exports;const Ps=Je(_s);var so={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l,o){var r=l.prototype,i=function(d){return d&&(d.indexOf?d:d.s)},u=function(d,y,x,b,p){var g=d.name?d:d.$locale(),H=i(g[y]),m=i(g[x]),f=H||m.map(function(M){return M.slice(0,b)});if(!p)return f;var T=g.weekStart;return f.map(function(M,A){return f[(A+(T||0))%7]})},s=function(){return o.Ls[o.locale()]},c=function(d,y){return d.formats[y]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,p,g){return p||g.slice(1)})}(d.formats[y.toUpperCase()])},h=function(){var d=this;return{months:function(y){return y?y.format("MMMM"):u(d,"months")},monthsShort:function(y){return y?y.format("MMM"):u(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(y){return y?y.format("dddd"):u(d,"weekdays")},weekdaysMin:function(y){return y?y.format("dd"):u(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(y){return y?y.format("ddd"):u(d,"weekdaysShort","weekdays",3)},longDateFormat:function(y){return c(d.$locale(),y)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},o.localeData=function(){var d=s();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(y){return c(d,y)},meridiem:d.meridiem,ordinal:d.ordinal}},o.months=function(){return u(s(),"months")},o.monthsShort=function(){return u(s(),"monthsShort","months",3)},o.weekdays=function(d){return u(s(),"weekdays",null,null,d)},o.weekdaysShort=function(d){return u(s(),"weekdaysShort","weekdays",3,d)},o.weekdaysMin=function(d){return u(s(),"weekdaysMin","weekdays",2,d)}}})})(so);var qs=so.exports;const zs=Je(qs);var uo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){var a="week",l="year";return function(o,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(a);if(h.isBefore(d))return 1}var y=i(this).startOf(l).date(c).startOf(a).subtract(1,"millisecond"),x=this.diff(y,a,!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)}}})})(uo);var js=uo.exports;const Hs=Je(js);var co={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){l.prototype.weekYear=function(){var o=this.month(),r=this.week(),i=this.year();return r===1&&o===11?i+1:o===0&&r>=52?i-1:i}}})})(co);var Ks=co.exports;const Ws=Je(Ks);var fo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l,o){l.prototype.dayOfYear=function(r){var i=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return r==null?i:this.add(r-i,"day")}}})})(fo);var Ys=fo.exports;const Us=Je(Ys);var ho={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){l.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}})})(ho);var Gs=ho.exports;const Xs=Je(Gs);var mo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){l.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}})})(mo);var Zs=mo.exports;const Js=Je(Zs);Ue.extend(zs),Ue.extend(Ps),Ue.extend(Ls),Ue.extend(Hs),Ue.extend(Ws),Ue.extend(Us),Ue.extend(Xs),Ue.extend(Js);const ie={format(e,n){return Ue(e).format(n)},parser(e,n){return Ue(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,a){const o=new Date(e+"/"+n+"/"+a).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][o]},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 a=e.getFullYear(),l=this.getNumTwoBit(e.getMonth()+1),o=this.getNumTwoBit(e.getDate());return[a,l,o].join(n)},getDay(e,n,a){e=e||0;let l=n??new Date;const o=e*(1e3*60*60*24);return l=new Date(l.getTime()+o),a=a??"YYYY-MM-DD",this.format(l,a)},compareDate(e,n){let a;typeof e=="string"?a=new Date(e.replace("-","/").replace("-","/")):a=e;let l;return typeof n=="string"?l=new Date(n.replace("-","/").replace("-","/")):l=n,!(a>=l)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let a;typeof e=="string"?a=new Date(e).getTime():a=e;let l;return typeof n=="string"?l=new Date(n).getTime():l=n,a==l},getMonthWeek:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a));let r=o.getDay(),i=o.getDate(),u=6-r;return l!==0&&(r=r==0?7:r,u=7-r),Math.ceil((i+u)/7)},getYearWeek:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=new Date(Number(e),0,1),i=Math.round((o.valueOf()-r.valueOf())/864e5);let u=o.getDay(),s=6-u;return l!==0&&(u=u==0?7:u,s=7-u),Math.ceil((i+s)/7)},getWeekDate:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=o.getTime();let i=o.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]=ie.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=ie.getWhatDay(+n[0],+n[1],+n[2]),n},inScope4Day(e,n,a){const l=new Date(new Date(n).setDate(n.getDate()+a)),o=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?o>=i&&o<=r:o>=r&&o<=i},inScope4Month(e,n,a){const l=new Date(new Date(n).setMonth(n.getMonth()+a)),o=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?o>=i&&o<=r:o>=r&&o<=i}},go={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"}},yo={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,a){return{props:{...we,...De,...go,...yo},emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=t.computed(()=>R.value&&Array.isArray(x.value)&&x.value.length==2?x.value[0]:x.value),p=t.computed(()=>R.value?"longTermKey":"normalKey"),g=B=>{if(R.value&&l.type==="daterange"){const S=[...x.value];S[0]=B,x.value=S}else x.value=B;c("update:modelValue",x.value),c("change",x.value)},H=t.computed(()=>R.value&&l.type==="daterange"?"date":l.type),m=e,f=t.computed(()=>({[`${m}`]:!0,"is-long":R.value,"is-readonly":s.value,"is-disabled":i.value}));let T=he(l,"hintText"),M=t.ref(!1);const A=B=>{let W=B.target.value;y.value=!0,de(T.value)||(M.value=!0),c("focus",W,B)},F=B=>{setTimeout(()=>{M.value&&(M.value=!1),y.value=!1},0);let W=B.target.value;l.maxLength&&W.length>Number(l.maxLength)&&(W=W.slice(0,Number(l.maxLength))),c("blur",W,B)},z=()=>{c("clear","")},$=B=>{c("calendar-change",B)},I=(B,S,W)=>{c("panel-change",B,S,W)},w=B=>{c("visible-change",B)},K=Ee(t.computed(()=>l.longTermText),"longTermText",_e.Near),J=Ee(t.computed(()=>l.longTermActionLabel),"longTermActionLabel",_e.Near),L=Ee(t.computed(()=>l.longTermValue),"longTermValue",_e.Near),V=Ee(t.computed(()=>l.compatibleLongTermValue),"compatibleLongTermValue",_e.Near);let P=null;const R=t.ref(ce(l.longTerm)),Z=B=>{if(R.value=B,c("update:longTerm",B),B){if(P=x.value,l.type==="daterange"){const S=[];Array.isArray(L.value)?(S[0]=x.value?x.value[0]??L.value[0]:null,S[1]=L.value[1]??L.value[0]):(S[0]=x.value?x.value[0]??L.value:null,S[1]=R.value),S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else Array.isArray(L.value)?x.value=L.value[1]??L.value[0]:x.value=L.value,x.value||(x.value=l.valueFormat?ie.format(new Date,l.valueFormat):new Date);c("update:modelValue",x.value)}else{if(l.type==="daterange"){const S=[];S[0]=Array.isArray(x.value)?x.value[0]:x.value,Array.isArray(P)?S[1]=P[1]:S[1]=P,S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=P;c("update:modelValue",x.value),setTimeout(()=>{G()},100)}},U=ce(l.isLongTerm);if(U){const B=()=>{if(R.value===!0){if(P=x.value,l.type==="daterange"){const S=[x.value[0]];Array.isArray(L.value)?S[1]=L.value[1]??L.value[0]:S[1]=R.value,S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=L.value;c("update:modelValue",x.value)}else Pe(L.value,x.value)&&(R.value=!0)};B(),t.watch([()=>l.longTerm],([S])=>{R.value!==S&&B()}),t.watch([()=>x.value],([S])=>{let W=!1;if(l.type==="daterange"&&Array.isArray(S))try{let X=S[1];if(!X)return;if(S[0]==null){c("update:modelValue",[]);return}typeof X!="string"&&l.valueFormat&&(X=ie.format(X,l.valueFormat));let k=Array.isArray(L.value)?L.value[1]:L.value;(X===k||Array.isArray(V.value)&&V.value.findIndex(ee=>X==ee)!==-1)&&(W=!0)}catch(X){console.error(X)}R.value!==W&&(R.value=W)},{immediate:!0})}const j=t.computed(()=>({"fox-date-item__long":!0,"is-active":y.value})),te=t.ref(),D=t.ref(),E=/^\d+$/,q=(B,S)=>typeof l.flashFillThreshold=="function"?l.flashFillThreshold(B,S):E.test(B)&&B.length===l.flashFillThreshold,_=(B,S)=>{let W;if(typeof l.flashFillFormat=="function")W=l.flashFillFormat(B,S);else{const k=l.flashFillFormat??"YYYYMMDD";W=ie.parser(B,k)}const X=l.valueFormat??"YYYY-MM-DD";return ie.format(W,X)},N=B=>B?B.endsWith("range"):!1,Q=B=>{if(!B.target)return;const S=B.target.value??"";if(q(S,l.type)){const W=_(S,l.type);if(N(l.type)){const X=Array.isArray(x.value)?[...x.value]:[];X[0]=W,g(X)}else g(W)}},le=B=>{if(!B.target)return;const S=B.target.value??"";if(q(S,l.type)){const W=_(S,l.type);if(N(l.type)){const X=Array.isArray(x.value)?[...x.value]:[];X[1]=W,g(X)}else g(W)}},G=()=>{if(l.flashFill&&te.value&&te.value.$el)if(N(l.type)){const B=te.value.$el.querySelectorAll("input.el-range-input");B[0]&&B[0].addEventListener("input",Q),B[1]&&B[1].addEventListener("input",le)}else{const B=te.value.$el.querySelector("input.el-input__inner");B&&B.addEventListener("input",Q)}},C=()=>{if(l.flashFill&&te.value&&te.value.$el)if(N(l.type)){const B=te.value.$el.querySelectorAll("input.el-range-input");B[0]&&B[0].removeEventListener("input",Q),B[1]&&B[1].removeEventListener("input",le)}else{const B=te.value.$el.querySelector("input.el-input__inner");B&&B.removeEventListener("input",Q)}};return t.onMounted(G),t.onBeforeUnmount(C),be({focus:()=>{D?.value.focus()},blur:()=>{D?.value.blur()},handleOpen:()=>{D?.value.handleOpen()},handleClose:()=>{D?.value.handleClose()},setDisabled:B=>{r.value=B},setReadonly:B=>{u.value=B}}),()=>{const S={...o.attrs,key:p.value,type:H.value,ref:D,class:f.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:b.value,valueFormat:l.valueFormat,format:l.format,"onUpdate:modelValue":g,onClear:z,onFocus:A,onBlur:F,onCalendarChange:$,onPanelChange:I,onVisibleChange:w},W={};o.slots["range-separator"]&&(W["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(W.default=o.slots.cell);const X=[],k=t.h(O.ElDatePicker,S,W);X.push(k);const Y={default:()=>X};if(o.slots.default&&(Y.label=o.slots.default),o.slots.fixedTip&&(Y.fixedTip=o.slots.fixedTip),U){if(R.value){const oe=t.h("span",{class:["fox-date-item__long-splitor"]},["-"]),re=t.h("input",{class:["fox-date-item__long-text"],value:K.value,readonly:!0}),se={class:j.value},me=t.h("div",se,{default:()=>[oe,re]});X.push(me)}if(!s.value&&!i.value){const oe={label:J.value||K.value,disabled:s.value||i.value,modelValue:R.value,"onUpdate:modelValue":Z},re=t.h(O.ElCheckbox,oe),se=t.h("div",{class:{[`${m}__append`]:!0}},[re]);Y.append=()=>se}}const ae={...ke(l,go,yo),ref:te,class:{[`${m}__wrapper`]:!0,"has-append":U},hintText:T.value,hintVisible:M.value};return l.prop&&(ae.prop=`${l.prop}_item`),t.h(a,ae,Y)}}}}const{componentName:eu,create:tu,scope:nu}=ue("date-item"),pl=tu(Qs(eu,nu,Se)),lu=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),bl={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}},vl={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;let bo=po;const au=(e,n)=>({components:n,props:{...vl},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:l}){const o=t.reactive({zIndex:a.zIndex,showSlot:!0,closed:a.closeable}),r=t.computed(()=>({[e]:!0,round:a.round,[`fox-popup--${a.position}`]:!0,[`fox-popup--${a.position}--safebottom`]:a.position==="bottom"&&a.safeAreaInsetBottom,[a.popClass]:!0})),i=t.computed(()=>({zIndex:o.zIndex,transitionDuration:`${a.duration}s`,...a.style})),u=t.computed(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),s=()=>{a.zIndex!==po&&(bo=Number(a.zIndex)),l("update:visible",!0),o.zIndex=++bo,a.destroyOnClose&&(o.showSlot=!0),l("open")},c=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+a.duration*1e3)},h=p=>{l("click-pop",p)},d=p=>{p.stopPropagation(),l("click-close-icon",p),l("update:visible",!1)},y=p=>{l("click-overlay",p),a.closeOnClickOverlay&&l("update:visible",!1)},x=p=>{l("opend",p)},b=p=>{l("closed",p)};return t.watch(()=>a.visible,p=>{a.visible?s():c()}),t.watch(()=>a.closeable,p=>{o.closed=p}),{...t.toRefs(o),popStyle:i,transitionName:u,classes:r,onClick:h,onClickCloseIcon:d,onClickOverlay:y,onOpened:x,onClosed:b}}});let Bt=0;const vo="fox-overflow-hidden",wo=()=>tt?document.body:{classList:[]},ou=e=>[()=>{if(e())try{!Bt&&wo().classList.add(vo),Bt++}catch{}},()=>{if(e()&&Bt)try{Bt--,!Bt&&wo().classList.remove(vo)}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}=ue("overlay"),uu=su({props:{...ru},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=ou(()=>e.lockScroll),o=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?a():l()}),{classes:o,style:r,onClick:u=>{n("click",u),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function cu(e,n,a,l,o,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 pn=Ne(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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},hu,14,fu))}}),gu=["aria-labelledby"],yu=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),pu=[yu],bu=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},pu,14,gu))}}),vu=["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),Su=[wu],xu=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Su,14,vu))}}),Tu=["aria-labelledby"],Cu=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=[Cu],bn=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},$u,14,Tu))}}),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],So=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,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],xo=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Iu,14,Eu))}}),Ou=["aria-labelledby"],Au=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),Fu=[Au],Bu=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Fu,14,Ou))}}),Mu=["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),Lu=[Ru],_u=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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Lu,14,Mu))}}),Pu=["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 a=e,l=n,o=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+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,c)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},zu,14,Pu))}}),{componentName:Hu,create:Ku}=ue("popup"),Wu=Ku(au(Hu,{FoxOverLay:pn,Close:So}));function Yu(e,n,a,l,o,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 ut=Ne(Wu,[["render",Yu]]),To=39,Co=64,{create:Uu,scope:Gu}=ue("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:ie.getDay(0)},endDate:{type:String,default:ie.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:a}){const{toLocaleRefs:l,t:o}=ve.useFoxI18n(Gu),r=l(e,["title","confirmText","startText","endText","today"]),i=t.computed(()=>({height:`${To}px`})),u=t.computed(()=>({height:`${Co}px`})),s=JSON.parse(o("weekdays")),c=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),h=t.ref(null),d=t.ref(null),y=t.ref(null),x=t.ref(null),b=t.ref(0),p=t.computed(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),g=t.computed(()=>a.btn),H=t.computed(()=>a["top-info"]),m=t.computed(()=>a["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}),T=G=>G.split("-"),M=G=>ie.isEqual(f.currDate[0],G),A=G=>ie.isEqual(f.currDate[1],G),F=G=>f.currDate?.length>0?f.currDate?.some(C=>ie.isEqual(C,G)):!1,z=(G,C)=>C.curData[0]+"-"+C.curData[1]+"-"+ie.getNumTwoBit(+G.day),$=(G,C)=>{const B=z(G,C),{type:S}=e;return G.type=="curr"?ie.isEqual(f.currDate,B)||(S=="range"||S=="week")&&(M(B)||A(B))||S=="multiple"&&F(B)?`${f.dayPrefix}--active`:f.propStartDate&&ie.compareDate(B,f.propStartDate)||f.propEndDate&&ie.compareDate(f.propEndDate,B)?`${f.dayPrefix}--disabled`:(S=="range"||S=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&ie.compareDate(f.currDate[0],B)&&ie.compareDate(B,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},I=()=>{const{type:G}=e;if(G=="range"&&f.chooseData.length==2||G!="range"){let C=f.chooseData.slice(0);G=="week"&&(C={weekDate:[K(f.chooseData[0]),K(f.chooseData[1])]}),n("choose",C),e.poppable&&n("update")}},w=(G,C,B=!1)=>{if($(G,C)!=`${f.dayPrefix}--disabled`){const{type:S}=e;let[W,X]=C.curData,k=[...C.curData];if(k[2]=ie.getNumTwoBit(Number(G.day)),k[3]=`${k[0]}-${k[1]}-${k[2]}`,k[4]=ie.getWhatDay(+k[0],+k[1],+k[2]),S=="multiple")if(f.currDate?.length>0){let Y;f.currDate?.forEach((ee,ae)=>{ee==k[3]&&(Y=ae)}),B?f.chooseData.push([...k]):Y!==void 0?(f.currDate.splice(Y,1),f.chooseData.splice(Y,1)):(f.currDate.push(k[3]),f.chooseData.push([...k]))}else f.currDate=[k[3]],f.chooseData=[[...k]];else if(S=="range"){let Y=Object.values(f.currDate).length;Y==2||Y==0?f.currDate=[k[3]]:ie.compareDate(f.currDate[0],k[3])?Array.isArray(f.currDate)&&f.currDate.push(k[3]):Array.isArray(f.currDate)&&f.currDate.unshift(k[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...k]]:ie.compareDate(f.chooseData[0][3],k[3])?f.chooseData=[...f.chooseData,[...k]]:f.chooseData=[[...k],...f.chooseData]}else if(S=="week"){let Y=ie.getWeekDate(W,X,G.day,e.firstDayOfWeek);f.propStartDate&&ie.compareDate(Y[0],f.propStartDate)&&Y.splice(0,1,f.propStartDate),f.propEndDate&&ie.compareDate(f.propEndDate,Y[1])&&Y.splice(1,1,f.propEndDate),f.currDate=Y,f.chooseData=[ie.formatResultDate(Y[0]),ie.formatResultDate(Y[1])]}else f.currDate=k[3],f.chooseData=[...k];if(!B){let Y=f.chooseData;S=="week"&&(Y={weekDate:[K(f.chooseData[0]),K(f.chooseData[1])]}),n("select",Y),(e.isAutoBackFill||!e.poppable)&&I()}}},K=G=>{let[C,B,S]=G;return{date:G,monthWeekNum:ie.getMonthWeek(C,B,S,e.firstDayOfWeek),yearWeekNum:ie.getYearWeek(C,B,S,e.firstDayOfWeek)}},J=G=>{const C=f.monthsData[f.monthsData.length-1];let B=parseInt(C.curData[0]),S=parseInt(C.curData[1].toString().replace(/^0/,""));switch(G){case"prev":S==1&&(B-=1),S=S==1?12:--S;break;case"next":S==12&&(B+=1),S=S==12?1:++S;break}return[B+"",ie.getNumTwoBit(S),ie.getMonthDays(String(B),String(S))+""]},L=(G,C,B)=>{let{year:S,month:W}=B;return Array.from(Array(G),(X,k)=>({day:String(k+1),type:C,year:S,month:W}))},V=(G,C,B,S)=>{G=G-e.firstDayOfWeek;let{year:W,month:X}=B;return G>=7&&(G-=7),Array.from(Array(S),(Y,ee)=>({day:String(ee+1),type:C,year:W,month:X})).slice(S-G)},P=(G,C)=>{const B=ie.getMonthPreDay(+G[0],+G[1]);let S=Number(G[1])-1,W=Number(G[0]);S<=0&&(S=12,W+=1);const X=ie.getMonthDays(String(G[0]),String(G[1])),k=ie.getMonthDays(W+"",S+""),Y={year:G[0],month:G[1]},ee={curData:G,title:o("monthTitle",{year:Y.year,month:Y.month}),monthData:[...V(B,"prev",{month:String(S),year:String(W)},k),...L(X,"curr",Y)],cssHeight:0,cssScrollHeight:0},ae=ee.monthData.length>35?6:5;ee.cssHeight=To+Co*ae;let ne=0;f.monthsData.length>0&&(ne=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),ee.cssScrollHeight=ne,(!f.endData||!ie.compareDate(`${f.endData[0]}-${f.endData[1]}-${ie.getMonthDays(f.endData[0],f.endData[1])}`,`${G[0]}-${G[1]}-${G[2]}`))&&f.monthsData.push(ee)},R=()=>{let G=e.startDate?e.startDate:ie.getDay(0),C=e.endDate?e.endDate:ie.getDay(365);f.propStartDate=G,f.propEndDate=C,f.startData=T(G),f.endData=T(C),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const B={year:Number(f.startData[0]),month:Number(f.startData[1])},S={year:Number(f.endData[0]),month:Number(f.endData[1])};let W=S.month-B.month;S.year-B.year>0&&(W=W+12*(S.year-B.year)),W<=0&&(W=1),P(f.startData);let X=1;do P(J("next"));while(X++<W);if(f.monthsNum=W,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(G&&ie.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),C&&ie.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...T(f.currDate[0]),...T(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let k=[],Y={};f.currDate.forEach(ee=>{G&&!ie.compareDate(ee,G)&&C&&!ie.compareDate(C,ee)&&(Object.hasOwnProperty.call(Y,ee)||(k.push(ee),Y[ee]=ee))}),f.currDate=[...k],f.defaultData=[...T(k[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[k,Y,ee]=T(f.currDate[0]),ae=ie.getWeekDate(k,Y,ee,e.firstDayOfWeek);f.currDate=ae,G&&ie.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),C&&ie.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...T(f.currDate[0]),...T(f.currDate[1])]}}else f.currDate&&(G&&ie.compareDate(f.currDate,G)?f.currDate=G:C&&!ie.compareDate(f.currDate,C)&&(f.currDate=C),f.defaultData=[...T(f.currDate)])};be({scrollToDate:G=>{ie.compareDate(G,f.propStartDate)?G=f.propStartDate:ie.compareDate(G,f.propEndDate)||(G=f.propEndDate);let C=T(G);f.monthsData.forEach((B,S)=>{if(B.title==o("monthTitle",{year:C[0],month:C[1]})&&h.value){let W=f.monthsData[S].cssScrollHeight-h.value.scrollTop;if(e.toDateAnimation){let X=0,k=setInterval(()=>{if(X++,h.value){let Y=W/10;h.value.scrollTop=h.value.scrollTop+Y}X>=10&&(clearInterval(k),h.value&&(h.value.scrollTop=f.monthsData[S].cssScrollHeight))},40)}else h.value.scrollTop=f.monthsData[S].cssScrollHeight}})},initPosition:()=>{h?.value&&(h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let G=0,C=0;f.defaultData.length>0&&f.monthsData.forEach((W,X)=>{W.title==o("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(G=X),(e.type=="range"||e.type=="week")&&W.title==o("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(C=X)}),te(f.monthsNum,G),f.currentIndex=G,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),w({day:f.defaultData[5],type:"curr"},f.monthsData[C],!0)):e.type=="week"?w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(W=>{let X=T(W),k=f.currentIndex;f.monthsData.forEach((Y,ee)=>{Y.title==o("monthTitle",{year:X[0],month:X[1]})&&(k=ee)}),w({day:X[2],type:"curr"},f.monthsData[k],!0)}):w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let B=f.monthsData[f.monthsData.length-1],S=B.cssHeight+B.cssScrollHeight;Fn(()=>{h?.value&&d?.value&&x?.value&&(b.value=h.value.clientHeight,d.value.style.height=`${S}px`,h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(S/(f.monthsNum+1))}});const te=(G,C)=>{G>=3?C>0&&C<G?f.defaultRange=[C-1,C+3]:C==0?f.defaultRange=[C,C+4]:C==G&&(f.defaultRange=[C-2,C+2]):f.defaultRange=[0,G+2];let B=f.monthsData[f.defaultRange[0]].cssScrollHeight;f.translateY=B},D=(G,C)=>(e.type=="range"||e.type=="week")&&G.type=="curr"&&$(G,C)=="fox-calendar__day--active",E=(G,C)=>D(G,C)&&M(z(G,C)),q=(G,C)=>f.currDate.length>=2&&A(z(G,C))?D(G,C):!1,_=()=>{if(f.currDate.length>=2)return ie.isEqual(f.currDate[0],f.currDate[1])},N=G=>{const C=`${G.year}-${G.month}-${Number(G.day)<10?"0"+G.day:G.day}`;return ie.isEqual(C,ie.date2Str(new Date))},Q=G=>{if(f.monthsData.length<=1)return;const C=G.target.scrollTop;let B=Math.floor(C/f.avgHeight);if(B==0)C>=f.monthsData[B+1].cssScrollHeight&&(B+=1);else if(B>0&&B<f.monthsNum-1)C>=f.monthsData[B+1].cssScrollHeight&&(B+=1),C<f.monthsData[B].cssScrollHeight&&(B-=1);else{const S=Math.round(C+b.value);S<f.monthsData[B].cssScrollHeight+f.monthsData[B].cssHeight&&C>f.monthsData[B-1].cssScrollHeight&&(B-=1),B+1<=f.monthsNum&&S>=f.monthsData[B+1].cssScrollHeight+f.monthsData[B+1].cssHeight&&(B+=1),B>=1&&C<f.monthsData[B-1].cssScrollHeight&&(B-=1)}f.currentIndex!==B&&(f.currentIndex=B,te(f.monthsNum,B)),f.yearMonthTitle=f.monthsData[B].title},le=()=>{f.chooseData.splice(0),f.monthsData.splice(0),R()};return R(),t.watch(()=>e.defaultValue,G=>{G&&e.poppable&&le()}),{dayTitleStyle:i,dayCellStyle:u,weeks:c,compConthsData:p,showTopBtn:g,topInfo:H,bottomInfo:m,rangeTip:_,mothsViewScroll:Q,getClass:$,isStartTip:E,isEndTip:q,chooseDay:w,isCurrDay:N,confirm:I,months:h,...t.toRefs(f),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:y,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"},ac=["onClick"],oc={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,a,l,o,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",oc,[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,ac))),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=Ne(Xu,[["render",fc]]),{create:hc}=ue("calendar-picker"),mc=hc({components:{CalendarPane:dc,Popup:ut},props:{...bl},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a}){const l=t.computed(()=>a.btn),o=t.computed(()=>a["top-info"]),r=t.computed(()=>a.day),i=t.computed(()=>a["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)})}),be({scrollToDate:s,initPosition:c});const d=()=>{n("update:visible",!1)},y=()=>{n("close"),n("update:visible",!1)};return{popClasses:h,closePopup:()=>{y()},update:d,close:y,select:g=>{n("select",g)},choose:g=>{y(),n("choose",g)},calendarRef:u,showTopBtn:l,topInfo:o,dayInfo:r,bottomInfo:i}}});function gc(e,n,a,l,o,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 vn=Ne(mc,[["render",gc]]),wl=(e,n)=>{let a;return et(e)?a=e:typeof e=="string"&&Ke(e)>0?a=ie.parser(e,n):a=new Date,a},bt=(e,n,a)=>(et(n)||(n=new Date),ie.format(n,a)),vt=e=>{let n=`${e.getFullYear()}`,a=`${e.getMonth()+1}`,l=`${e.getDate()}`,o=ie.date2Str(e),r=ie.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,a,l,o,r]},$o={...bl,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 yc(e,n,a){return{props:{...we,...De,...$o},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]);let y=he(l,"hintText"),x=t.ref(!1);const b=t.ref(!1),p=t.computed(()=>l.type==="range"),g=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),H=()=>{g.startDate!==null&&(g.startDate=null,g.endDate=null,g.startArray=[],g.endArray=[])},m=(U,j="one",te="YYYY-MM-DD")=>{if(lu(U)){H();return}if(p.value&&Array.isArray(U)&&U.length==2){let D,E;typeof U[0]=="string"?(D=wl(U[0],te),E=wl(U[1],te)):(D=U[0],E=U[1]);let q=vt(D),_=vt(E);(g.startDate===null||g.startDate.getTime()!==D.getTime()||g.endDate?.getTime()!==E.getTime())&&(g.startDate=D,g.startArray=q,g.endDate=E,g.endArray=_)}else{let D;typeof U=="string"?D=wl(U,te):D=U;let E=vt(D);(g.startDate===null||g.startDate.getTime()!==D.getTime())&&(g.startDate=D,g.startArray=E)}};m(l.modelValue,l.type,l.valueFormat),t.watch(()=>l.modelValue,U=>{m(U,l.type,l.valueFormat),c("setValue",U)});const f=t.computed(()=>{if(g.startDate===null)return"";if(p.value){let U=bt(l,g.startDate,l.format),j=bt(l,g.endDate,l.format);return`${U} ${l.rangeSeparator} ${j}`}else{let U=bt(l,g.startDate,l.format);return l.showWeek&&(U=`${U} ${g.startArray[4]}`),U}}),T=t.computed(()=>{if(g.startDate===null)return null;if(p.value){let U=ie.date2Str(g.startDate),j=ie.date2Str(g.endDate??new Date);return[U,j]}else return ie.date2Str(g.startDate)}),M="fox-input-item",A=t.computed(()=>({[M]:!0,[`${M}__disabled`]:i.value})),F=Ee(t.computed(()=>l.textAlign),"textAlign"),z=t.computed(()=>({textAlign:F.value??"right"})),$=t.ref(!1),I=()=>{s.value||i.value||($.value=!0)},w=()=>{$.value=!1},K=U=>{$.value=U},J=U=>{if(U){if(p.value&&Array.isArray(U)){let j=U[0],te=ge(j[0]),D=ge(j[1]),E=ge(j[2]),q=new Date(te,D-1,E),_=U[1];te=ge(_[0]),D=ge(_[1]),E=ge(_[2]);let N=new Date(te,D-1,E);if(g.startDate=q,g.startArray=vt(q),g.endDate=N,g.endArray=vt(N),l.valueFormat){let Q=bt(l,q,l.valueFormat),le=bt(l,N,l.valueFormat);c("update:modelValue",[Q,le],{})}else c("update:modelValue",[q,N],{})}else{let j=U,te=ge(j[0]),D=ge(j[1]),E=ge(j[2]),q=new Date(te,D-1,E);if(g.startDate=q,g.startArray=vt(q),l.valueFormat){let _=bt(l,q,l.valueFormat);c("update:modelValue",_,{})}else c("update:modelValue",q,{})}c("change",U,{})}},L=U=>{let te=U.target.value;b.value=!0,c("focus",te,U)},V=U=>{setTimeout(()=>{b.value=!1},0);let te=U.target.value;l.maxLength&&te.length>Number(l.maxLength)&&(te=te.slice(0,Number(l.maxLength))),c("blur",te,U)},P=t.computed(()=>Ke(l.unit)>0),R=U=>{H(),c("update:modelValue",null,U),c("change","",U),c("clear","")},Z=t.ref();return be({showPicker:I,hidePicker:w,focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},setDisabled:U=>{r.value=U},setReadonly:U=>{u.value=U}}),()=>{const U={class:A.value,style:z.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,readonly:!0,clearable:l.clearable,value:f.value,onClick:I,onFocus:L,onBlur:V,onClear:R},j={};o.slots.prepend&&(j.prepend=o.slots.prepend),o.slots.append&&(j.append=o.slots.append),o.slots.prefix?j.prefix=o.slots.prefix:j.prefix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.Calendar)}),o.slots.suffix?j.suffix=o.slots.suffix:P.value&&(j.suffix=()=>[l.unit]);const te=[],D=t.h(O.ElInput,U,j);te.push(D);const E={default:()=>te};o.slots.default&&(E.label=o.slots.default),o.slots.fixedTip&&(E.fixedTip=o.slots.fixedTip);const q=kt(l,bl);q.visible=$.value,q["onUpdate:visible"]=K,q["default-value"]=T.value,q.onChoose=J;const _={};if(o.slots.btn){const C=o.slots.btn();_.btn=()=>C}o.slots.day&&(_.day=o.slots.day),o.slots.topInfo&&(_.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(_.bottomInfo=o.slots.bottomInfo);const N=t.h(vn,q,_);E.hide=()=>[N];const le={...ke(l,$o),hintText:y.value,hintVisible:x.value};return l.prop&&(le.prop=`${l.prop}_item`),t.h(a,le,E)}}}}const{componentName:pc,create:bc,scope:vc}=ue("calendar-item"),Sl=bc(yc(pc,vc,Se)),ko={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function wc(e,n,a){return{props:{...we,...De,...ko},emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=z=>{x.value=z,c("update:modelValue",z),c("change",z)};let H=he(l,"hintText"),m=t.ref(!1);const f=z=>{let I=z.target.value;y.value=!0,de(H.value)||(m.value=!0),c("focus",I,z)},T=z=>{setTimeout(()=>{m.value&&(m.value=!1),y.value=!1},0);let I=z.target.value;l.maxLength&&I.length>Number(l.maxLength)&&(I=I.slice(0,Number(l.maxLength))),c("blur",I,z)},M=()=>{c("clear","")},A=z=>{c("visible-change",z)},F=t.ref();return be({focus:()=>{F?.value.focus()},blur:()=>{F?.value.blur()},handleOpen:()=>{F?.value.handleOpen()},handleClose:()=>{F?.value.handleClose()},setDisabled:z=>{r.value=z},setReadonly:z=>{u.value=z}}),()=>{const $={...o.attrs,ref:F,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:M,onFocus:f,onBlur:T,onVisibleChange:A},I={},w=[],K=t.h(O.ElTimePicker,$,I);w.push(K);const J={default:()=>w};o.slots.default&&(J.label=o.slots.default),o.slots.fixedTip&&(J.fixedTip=o.slots.fixedTip);const V={...ke(l,ko),hintText:H.value,hintVisible:m.value};return l.prop&&(V.prop=`${l.prop}_item`),t.h(a,V,J)}}}}const{componentName:Sc,create:xc,scope:Tc}=ue("time-item"),xl=xc(wc(Sc,Tc,Se)),Do={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Cc(e,n,a){return{props:{...we,...De,...Do},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=F=>{x.value=F,c("update:modelValue",F),c("change",F)};let H=he(l,"hintText"),m=t.ref(!1);const f=F=>{let $=F.target.value;y.value=!0,de(H.value)||(m.value=!0),c("focus",$,F)},T=F=>{setTimeout(()=>{m.value&&(m.value=!1),y.value=!1},0);let $=F.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),c("blur",$,F)},M=()=>{c("clear","")},A=t.ref();return be({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},handleOpen:()=>{A?.value.handleOpen()},handleClose:()=>{A?.value.handleClose()},setDisabled:F=>{r.value=F},setReadonly:F=>{u.value=F}}),()=>{const z={...o.attrs,ref:A,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:M,onFocus:f,onBlur:T},$={},I=[],w=t.h(O.ElTimeSelect,z,$);I.push(w);const K={default:()=>I};o.slots.default&&(K.label=o.slots.default),o.slots.fixedTip&&(K.fixedTip=o.slots.fixedTip);const L={...ke(l,Do),hintText:H.value,hintVisible:m.value};return l.prop&&(L.prop=`${l.prop}_item`),t.h(a,L,K)}}}}const{componentName:$c,create:kc,scope:Dc}=ue("time-select-item"),Tl=kc(Cc($c,Dc,Se));function No(e,n=0){let a=`${e}`,l=a.indexOf(".");if(l==-1)return a;let o=l;for(let r=a.length-1;r>=l;r--)if(a.charAt(r)!="0"){o=r;break}return o-l<n?o=l+n+1:o!=l&&(o+=1),o>a.length?a=a.padEnd(o,"0"):a=a.substring(0,o),a}function Eo(e,n,a=20){if(typeof n=="string"&&(n=ge(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=va(`${e}`,`${n}`);return No(l)}else{let l=zn(`${e}`,wa(`${n}`),20);return No(l)}}function Nc(e,n=-1,a=!1,l=3,o=","){return Kt(e,n,a,l,o)}function Vo(e,n,a,l,o=!0){if(e==="")return"";if(e=Sa(e),n=ge(n),n==1)return e;if(l)e=Eo(e,n),a&&(e=="0"&&o?e=`${e}.`.padEnd(ge(a)+2,"0"):e=zn(e,1,ge(a)));else{let r=-1*n;e=Eo(e,r)}return e}function Io(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ce(n.minInclude),o=jn(e,n.min);if(l&&o==-1||!l&&(o==0||o==-1)){let r="请输入不小于 {0} 的数值";a.message=r.replace("{0}",n.min),a.minValid=!1}}if(n.max!=null){let l=ce(n.maxInclude),o=jn(e,n.max);(l&&o==1||!l&&(o==0||o==1))&&(a.maxValid=!1)}return a}const Oo={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,a){return{props:{...we,...De,...Oo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=t.ref(!1),d=he(l,"modelValue",null,c),y=t.ref("");t.watch([()=>d.value,()=>l.rates,()=>l.precision],([V,P,R])=>{if(de(V)){y.value="";return}const Z=Vo(V,P,R,!1);y.value!==Z&&(y.value=Z)},{immediate:!0});const x=t.computed(()=>{let V="";return h.value&&(V=y.value),V}),{t:b}=ve.useFoxI18n(n),p=t.computed(()=>{let V=l.placeholder??"";return!h.value&&!de(y.value)?V=Nc(y.value,l.decimalLength,l.autoPadding,l.digits,l.separator):V=b(["placeholder",V]),V}),g=e,H=t.computed(()=>({[g]:!0,[`${g}__disabled`]:i.value,[`${g}__placeholder`]:y.value.length>0})),m=Ee(t.computed(()=>l.textAlign),"textAlign");t.computed(()=>h.value?{textAlign:"left"}:{textAlign:m.value??"right"});const f=t.ref(""),T=t.computed(()=>{let V=f.value;return de(V)&&(V=l.errorTip??""),V}),M=t.ref(""),A=t.ref(!1),F=(V,P)=>{if(V=`${V}`,de(V)){y.value="",d.value="",P.forEach(R=>{c(R,"")}),ce(l.showTip)&&A.value&&(A.value=!1);return}if(V.length>=2){let R=V;if(R.charAt(0)=="-"&&(R=R.substring(1)),R.length>=2&&R.charAt(0)=="0"&&R.charAt(1)!="."){t.triggerRef(y);return}}if(V!="-"){if(!Ea(V)){t.triggerRef(y);return}if(l.integerLength!=-1&&Va(V)>Number(l.integerLength)){t.triggerRef(y);return}if(l.decimalLength&&l.decimalLength!=-1&&Ia(V)>Number(l.decimalLength)){t.triggerRef(y);return}let R=Io(V,l);if(R.maxValid===!1){f.value=R.message,t.triggerRef(y);return}}else if(l.min!=null&&ge(l.min)>=0){t.triggerRef(y);return}M.value=V,ce(l.showTip)&&(A.value=V.length>0),y.value=V,d.value=Vo(V,l.rates,l.precision,!0),P.forEach(R=>{c(R,d.value)})},z=V=>{F(V,["update:modelValue","input"])},$=V=>{F(V,["update:modelValue","change"])},I=V=>{if(h.value=!0,ce(l.showTip)){let P=y.value;de(P)&&(P=l.hintText),de(P)||(M.value=P,A.value=!0)}f.value="",c("focus",d.value,V)},w=V=>{if(setTimeout(()=>{h.value=!1,ce(l.showTip)&&A.value===!0&&(A.value=!1)},0),!de(y.value)){let P=Io(y.value,l);if(P.minValid===!1||P.maxValid===!1){f.value=P.message;return}}c("update:modelValue",d.value,V),c("blur",d.value,V)},K=()=>{c("clear","")},J=t.computed(()=>Ke(l.unit)>0),L=t.ref();return be({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:V=>{r.value=V},setReadonly:V=>{u.value=V}}),()=>{const P={...Ye(o.attrs),ref:L,class:H.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:K,onInput:z,onChange:$,onFocus:I,onBlur:w},R={};o.slots.prepend&&(R.prepend=o.slots.prepend),o.slots.append&&(R.append=o.slots.append),o.slots.prefix&&(R.prefix=o.slots.prefix),o.slots.suffix?R.suffix=o.slots.suffix:J.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(O.ElInput,P,R);Z.push(U);const j={default:()=>Z};o.slots.default&&(j.label=o.slots.default),o.slots.fixedTip&&(j.fixedTip=o.slots.fixedTip);const D={...ke(l,Oo),errorTip:T.value,hintText:M.value,hintVisible:A.value,hintType:"number"};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,j)}}}}const{componentName:Vc,create:Ic,scope:Oc}=ue("money-item"),Cl=Ic(Ec(Vc,Oc,Se)),Ao={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 Ac(e,n,a){return{props:{...we,...De,...Ao},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0,[`${b}__append`]:z.value})),g=t.computed(()=>({[`${b}__unit`]:!0})),H=I=>{x.value=I,c("update:modelValue",I),c("input",I)},m=I=>{c("change",I)};let f=he(l,"hintText"),T=t.ref(!1);const M=I=>{let K=I.target.value;y.value=!0,de(f.value)||(T.value=!0),c("focus",K,I)},A=I=>{setTimeout(()=>{T.value&&(T.value=!1),y.value=!1},0);let K=I.target.value;l.maxLength&&K.length>Number(l.maxLength)&&(K=K.slice(0,Number(l.maxLength))),c("blur",K,I)},F=()=>{c("clear","")},z=t.computed(()=>Ke(l.unit)>0),$=t.ref();return be({focus:()=>{$?.value.focus()},blur:()=>{$?.value.blur()},setDisabled:I=>{r.value=I},setReadonly:I=>{u.value=I}}),()=>{const w={...Ye(o.attrs),ref:$,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:F,onChange:m,onInput:H,onFocus:M,onBlur:A},K={},J=[],L=t.h(O.ElInputNumber,w,K);J.push(L);const V={default:()=>J};o.slots.default&&(V.label=o.slots.default),o.slots.fixedTip&&(V.fixedTip=o.slots.fixedTip);const R={...ke(l,Ao),hintText:f.value,hintVisible:T.value};if(l.prop&&(R.prop=`${l.prop}_item`),o.slots.append)V.append=o.slots.append;else if(z.value){const U={class:g.value},j=t.h("div",U,[l.unit]);V.append=()=>j}return t.h(a,R,V)}}}}const{componentName:Fc,create:Bc,scope:Mc}=ue("input-number-item"),$l=Bc(Ac(Fc,Mc,Se));function Qe(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ct(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 Lc=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l,o);const r=Fe(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(a,l,o))}};function _c(){const e=t.getCurrentInstance();return new Lc(e.proxy)}function kl(e,n,a){const l=Qe(e,n),o=Qe(e,a);if(l!==o)return!1;const r=ct(e,n),i=ct(e,a);return r===i}function Fo(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];let r=l;for(let i=0;Array.isArray(r)&&i<n.length;i++){const u=n[i];if(Array.isArray(u)){const s=Fo(e,u,a,l);o.push(s)}else{let s=!1;for(let c of r){if(a==="text")s=Qe(e,c)===u;else if(a==="item")s=kl(e,c,u);else{let h=ct(e,c);h==null&&(h=Qe(e,c)),s=h===u}if(s){o.push(c),r=Rc(e,c);break}}if(!s)break}}return o}function Pc(e){return{text:e,value:e}}const Bo={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,a){return{props:{...we,...De,...Bo},emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),b=t.computed(()=>x.value?x.value.map(B=>Array.isArray(B)?B.map(W=>Qe(l,W)).join(" "):Qe(l,B)).join(" "):""),p=(C,B,S,W=!0)=>{if(l.props&&l.props.lazy===!0||l.lazy===!0){if(y.value===C)return;y.value=C;const ee=t.toRaw(C);if(W){const ae=G?.value.getCheckedNodes();if(ae)if(l.multiple){const ne=[];ae.forEach(oe=>{const se=(oe.pathNodes??[]).map(me=>me.data);ne.push(se)}),c("update:pathNodes",ne)}else{const oe=(ae[0]?.pathNodes??[]).map(re=>re.data);c("update:pathNodes",oe)}c("update:modelValue",ee),c("change",ee)}return}const X=Fo(l,C,B,S);if(X===null){if(x.value.length===0||x.value===null)return;x.value=[],y.value=null,W&&(c("update:pathNodes",[]),c("update:modelValue",null),c("change",null));return}const k=X[X.length-1];if(K.value.checkStrictly!==!0&&k&&!Array.isArray(k)&&Array.isArray(k.children)&&k.children.length>0){const ee=[];X.forEach(ae=>{const ne=`${Qe(l,ae)}`;ee.push(ne)}),ee.length>0&&(I.value=ee.join(l.separator))}else I.value=null;let Y=!0;if(X.length!==x.value.length)Y=!1;else for(let ee=0;ee<X.length;ee++){const ae=X[ee],ne=x.value[ee];if(Array.isArray(ae)){if(!Array.isArray(ne)||ae.length!==ne.length)Y=!1;else for(let oe=0;oe<ae.length;oe++)if(!kl(l,ae[oe],ne[oe])){Y=!1;break}}else kl(l,ae,ne)||(Y=!1);if(!Y)break}if(!Y){x.value=X;let ee=[],ae=[];X.forEach(oe=>{if(Array.isArray(oe)){let re=[],se=[];for(let me of oe)re.push(ct(l,me)),l.valueType==="text"?se.push(Qe(l,me)):l.valueType==="item"?se.push(me):se.push(ct(l,me));ee.push(re),ae.push(se)}else ee.push(ct(l,oe)),l.valueType==="text"?ae.push(Qe(l,oe)):l.valueType==="item"?ae.push(oe):ae.push(ct(l,oe))}),y.value=ee;const ne=t.toRaw(ae);W&&(c("update:pathNodes",X),c("update:modelValue",ne),c("change",ne))}},g=t.ref([]),H=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,C=>ce(C)),m=_c(),f=async(C,B)=>{if(C){const S=await m.load("cascader",C,B);if(S.length>0)if(typeof S[0]=="string"){let k=S.map(Y=>Pc(Y));g.value=k}else g.value=S}};t.watch([()=>l.source,()=>l.params],async([C,B])=>{f(C,B)},{immediate:!(H.value||l.lazy)});let T=!1;const M=()=>{T||(T=!0,f(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([C,B])=>{p(B,l.valueType,C,!1),c("setValue",B)}),l.lazy&&p(l.modelValue,"value",[],!1);let A=null,F=t.ref(!1);typeof l.remoteMethod=="function"&&(A=async C=>{if(C!=null){F.value=!0;try{const B=await l.remoteMethod(C);g.value=B}catch(B){console.error(B)}F.value=!1}});const z=t.ref(!1),$=e,I=t.ref(null),w=t.computed(()=>({[$]:!0,"is-incomplete":I.value&&I.value.length>0})),K=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(B,S)=>{const W=await m.load("cascader",l.source,B,!0);if(B?.config?.checkStrictly!==!0&&Array.isArray(y.value)&&y.value.length===B.level){const X=B.pathLabels??[];let k=[];X.forEach(Y=>{Y&&k.push(Y)}),k.length>0&&(I.value=k.join(l.separator))}else I.value=null;S(W)}),C}),J=C=>{l.allowCreate?(c("update:modelValue",C),c("change",C),y.value=C):p(C,"value",g.value,!0)};let L=he(l,"hintText"),V=t.ref(!1);const P=C=>{let S=C.target.value;z.value=!0,de(L.value)||(V.value=!0),c("focus",S,C)},R=C=>{setTimeout(()=>{V.value&&(V.value=!1),z.value=!1},0);let S=C.target.value;l.maxLength&&S.length>Number(l.maxLength)&&(S=S.slice(0,Number(l.maxLength))),_.value||c("blur",S,C)},Z=()=>{c("clear","")},U=t.ref(!1);let j=null;const te=()=>{l.showTooltip&&U.value===!1&&(j&&clearTimeout(j),j=setTimeout(()=>{U.value=!0},150))},D=()=>{j&&(clearTimeout(j),U.value=!1,j=null)},E=t.computed(()=>U.value||V.value),q=t.computed(()=>U.value?b.value:L.value),_=t.ref(!1),N=C=>{_.value=C,c("visible-change",C),C||c("selected")},Q=C=>{c("remove-tag",C)},le=C=>{c("expand-change",C)},G=t.ref();return be({focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},getCheckedNodes:()=>G?.value.getCheckedNodes(),setDisabled:C=>{r.value=C},setReadonly:C=>{u.value=C}}),()=>{const B={...o.attrs,ref:G,class:w.value,props:K.value,clearable:l.clearable,placeholder:I.value||d.placeholder.value,disabled:i.value||s.value,options:g.value,modelValue:y.value,separator:l.separator,onClear:Z,onChange:J,onFocus:P,onBlur:R,onVisibleChange:N,onRemoveTag:Q,expandChange:le};typeof A=="function"&&(B["remote-method"]=A,B.loading=F.value);const S={};o.slots.option&&(S.default=o.slots.option),o.slots.empty&&(S.empty=o.slots.empty);const W=[],X=t.h(O.ElCascader,B,S);W.push(X);const k={default:()=>W};o.slots.default&&(k.label=o.slots.default),o.slots.fixedTip&&(k.fixedTip=o.slots.fixedTip);const ee={...ke(l,Bo),hintText:q.value,hintVisible:E.value,onMouseover:te,onMouseleave:D};return l.prop&&(ee.prop=`${l.prop}_item`),H.value&&!l.lazy&&(ee["appear-listen"]=!0,ee.onAppear=M),t.h(a,ee,k)}}}}const{componentName:zc,create:jc,scope:Hc}=ue("cascader-item"),Dl=jc(qc(zc,Hc,Se)),Mo={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,a){return{props:{...we,...De,...Mo},emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=$=>{x.value=$,c("update:modelValue",$),c("input",$)},H=$=>{c("change",$)},m=$=>{c("select",$)};let f=he(l,"hintText"),T=t.ref(!1);const M=$=>{let w=$.target.value;y.value=!0,de(f.value)||(T.value=!0),c("focus",w,$)},A=$=>{setTimeout(()=>{T.value&&(T.value=!1),y.value=!1},0);let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),c("blur",w,$)},F=()=>{c("clear","")},z=t.ref();return be({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},select:()=>{z?.value.select()},setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...o.attrs,ref:z,class:p.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,onClear:F,onChange:H,onInput:g,onFocus:M,onBlur:A,onSelect:m},w={};o.slots.prepend&&(w.prepend=o.slots.prepend),o.slots.append&&(w.append=o.slots.append),o.slots.prefix&&(w.prefix=o.slots.prefix),o.slots.suffix&&(w.suffix=o.slots.suffix),o.slots.option&&(w.default=o.slots.option);const K=[],J=t.h(O.ElAutocomplete,I,w);K.push(J);const L={default:()=>K};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,Mo),hintText:f.value,hintVisible:T.value};return l.prop&&(P.prop=`${l.prop}_item`),t.h(a,P,L)}}}}const{componentName:Wc,create:Yc,scope:Uc}=ue("autocomplete-item"),Nl=Yc(Kc(Wc,Uc,Se));function Gc(e,n,a,l,o){let r=[];Array.isArray(e)?r=e:r=[e];const i=[],u=n[0];if(Array.isArray(e)&&!Array.isArray(u)&&!u[o]){let s=n;for(let c=0;s&&c<r.length;c++){let h=r[c],d=s.find(y=>y[l]===h);if(!d)break;i.push(d[a])}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(y=>y[l]===h);if(!d)break;i.push(d[a])}else{let s=n;for(let c=0;s&&c<r.length;c++){let h=r[c],d=s.find(y=>y[l]===h);if(!d)break;i.push(d[a]),s=d[o]}}return i}let Xc=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Zc(){const e=t.getCurrentInstance();return new Xc(e.proxy)}const Ro={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:{...Ro},setup(a,{attrs:l,slots:o}){const r=Zc(),i=t.ref([]);t.watch([()=>a.source,()=>a.params],async([c,h])=>{i.value=await r.load(a.sourceType,c,h)},{immediate:!0});const u=t.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let c=Gc(a.modelValue,i.value,a.textKey,a.valueKey,a.childrenKey);return c.length==0?a.emptyText??"":c.length===1?a.optionType=="item"?`${a.modelValue}${a.separator}${c[0]}`:c[0]:c.join(a.separator)}),s=a.resolveTag?t.resolveComponent(a.tag):a.tag;return()=>{const c={...l};return o.default?o.default({text:u.value,value:a.modelValue}):a.resolveTag?a.emptyText!==void 0&&a.emptyText===u.value?t.h(a.emptyTag??"span",{...l,class:a.emptyClass},u.value):t.h(s,c,{default:()=>u.value}):t.h(s,c,u.value)}}}}const{componentName:Dy,create:Qc,scope:Ny}=ue("mapping"),Mt=Qc(Jc());function ef(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],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:{...Ro},setup(a,{attrs:l,slots:o}){return()=>{const r={default:i=>{const u=ef(i.row,i.column.property);return o.default?t.h(Mt,{...a,modelValue:u},{default:o.default}):t.h(Mt,{...a,modelValue:u})}};for(let i in o)i!=="default"&&(r[i]=o[i]);return t.h(O.ElTableColumn,{...l},r)}}}}const{componentName:Ey,create:nf,scope:Vy}=ue("table-mapping-column"),El=nf(tf()),lf=Symbol.for("TableStateKey");function Lo(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],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 af(e,n){return{props:{},setup(a,{attrs:l}){const o=t.inject(lf,{});return()=>{const r=o.currentRow?o.currentRow.value:null,i={default:u=>{const s=Lo(u.row,u.column.property),c=r?Lo(r,u.column.property):null,h=s===c,d={class:{"el-radio__input":!0,"is-checked":h}},y=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,[y])}};return t.h(O.ElTableColumn,{...l},i)}}}}const{componentName:Iy,create:of,scope:Oy}=ue("table-radio-column"),Vl=of(af()),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=Ne(rf,[["render",uf]]),{componentName:Ay,create:ff,scope:Fy}=ue("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:O.ElPopover,FoxCheckbox:O.ElCheckbox,FoxCheckboxGroup:O.ElCheckboxGroup,FoxButton:O.ElButton,FoxIcon:O.ElIcon,DragIcon:cf,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...df},setup(e,{emit:n,attrs:a}){let l=[];const o=t.ref([]),r=t.computed(()=>o.value.filter(N=>N.label===""||N.type?!1:N.fixed===""||N.fixed===!0||N.fixed==="left")),i=t.computed(()=>o.value.filter(N=>N.label===""||N.type?!1:N.fixed==="right")),u=t.computed(()=>o.value.filter(N=>!(N.label===""||N.type||N.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=N=>N.length>1,y=(N,Q)=>{Array.isArray(N)&&Array.isArray(Q)&&N.forEach(C=>{Q.some(B=>B.prop===C.prop?(C.label=B.label,!0):!1)});const le=[];o.value=N.map((C,B)=>(!(C.label===""||C.type)&&C.visible!==!1&&le.push(C.prop),{...C,sortIndex:B})),u.value.length+r.value.length+i.value.length===le.length?m.value=!0:le.length>0&&(f.value=!0),A.value=le},x=N=>N?N.type?N.type:N.label?N.prop:"":"",b=(N,Q)=>{if(N.length!==Q.length)return!1;const le=N.map(G=>x(G));for(let G of Q){const C=x(G);if(le.indexOf(C)===-1)return!1}return!0},p=N=>{if(!N){const Q=e.tableRef.getColumnSetting(),le=Q.srcColumnPropertyList;l=le.map((G,C)=>({...G,sortIndex:C})),N=Q.columnPropertyList,N&&N.length>0&&b(le,N)||(N=le)}y(N,l)},g=()=>{e.tableRef.setColumnSetting(o.value)},H=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),m=t.ref(!1),f=t.ref(!1),T=N=>{const Q=[];o.value.forEach(G=>{N&&!(G.label===""||G.type)&&Q.push(G.prop),G.visible=N}),m.value=!1,f.value=!1,u.value.length+r.value.length+i.value.length===Q.length?m.value=!0:Q.length>0&&(f.value=!0),A.value=Q,g()},M=()=>{p(l),g()},A=t.ref([]),F=N=>{o.value.forEach(le=>{if(le.label===""||le.type)return;const G=N.indexOf(le.prop)!==-1;le.visible=G}),m.value=!1,f.value=!1;const Q=u.value.length+r.value.length+i.value.length;N.length===Q?m.value=!0:N.length>0&&(f.value=!0),g()},z=()=>{p()};t.onMounted(()=>{setTimeout(()=>{p()},50)});const $={currentRow:null,index:null,roleType:null},I=N=>N?N.dataset&&N.dataset.role==="row"?N:N.tagName.toLowerCase()!=="body"?(N=N.parentElement,I(N)):null:null,w=N=>{const Q=N.currentTarget;Q&&Q.dataset&&($.roleType=Q.dataset.roleType,$.index=Q.dataset.index)},K=N=>{$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null),$.index=null,$.roleType=null},J=N=>{const Q=N.currentTarget;N.relatedTarget;const le=I(Q);if(!le)return;const G=le.dataset&&le.dataset.roleType;$.roleType===G&&(N.preventDefault(),$.currentRow&&$.currentRow!==le&&$.currentRow.classList.remove("is-dragover"),le.classList.add("is-dragover"),$.currentRow=le)},L=N=>{N.preventDefault(),$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null)},V=N=>{const Q=N.currentTarget,le=I(Q);if(!le)return;const G=le.dataset&&le.dataset.roleType;if($.roleType!==G)return;N.preventDefault();const C=Number($.index),B=Number(le.dataset.index);if(C!==B){if(C<B){const S=o.value[C];o.value.splice(C,1),o.value.splice(B,0,S)}else{const S=o.value[C];o.value.splice(C,1),o.value.splice(B+1,0,S)}y(o.value,l),g()}},P=N=>{const Q=o.value[N];Q.fixed="left",g()},R=N=>{const Q=o.value[N];Q.fixed="right",g()},Z=N=>{const Q=o.value[N];Q.fixed=void 0,g()},U=new Map;let j=null;function te(N){const Q=document.createRange();return Q.setStart(N,0),Q.setEnd(N,N.childNodes.length),Q.getBoundingClientRect().width}return{attrs:a,leftFixedColumns:r,rightFixedColumns:i,unFixedColumns:u,isShowNotFixedTitle:s,isShowLeftFixedTitle:c,isShowRightFixedTitle:h,isDraggble:d,isCheckAll:m,isIndeterminate:f,handleCheckAllChange:T,handleReset:M,checkedValue:A,handleCheckChange:F,onShow:z,onDragStart:w,onDragEnd:K,onDragOver:J,onDragLeave:L,onDrop:V,toLeftFixed:P,toRightFixed:R,toUnFixed:Z,checkboxLabelStyle:H,onMouseOverForOverflowText:(N,Q,le)=>{const G=N.currentTarget;if(G){const C=Math.floor(G.offsetWidth);if(Math.floor(te(G))>C){let S=U.get(Q);if(S){if(S===j)return;Be.hide(S)}S=Be.show(G,le,{type:"text",placement:"top",closeOnClick:!1}),S&&(U.set(Q,S),j=S)}}},onMouseLeaveForOverflowText:(N,Q)=>{const le=U.get(Q);le&&(Be.hide(le),le===j&&(j=null))},onMouseOverForTip:(N,Q)=>{const le=N.currentTarget;le&&(j&&Be.hide(j),j=Be.show(le,Q,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:N=>{j&&(Be.hide(j),j=null)}}}}),mf={class:"fox-table-setting"},gf={class:"fox-table-setting__header"},yf={class:"fox-table-setting__body"},pf={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},bf={key:0,class:"fox-table-setting__body-title"},vf=["data-index","draggable"],wf=["onMouseover","onMouseleave"],Sf={class:"tools-item"},xf={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},Tf={key:0,class:"fox-table-setting__body-title"},Cf=["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 Of(e,n,a,l,o,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"),y=t.resolveComponent("fox-checkbox"),x=t.resolveComponent("FoxCheckboxGroup"),b=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(b,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",yf,[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",pf,[e.isShowLeftFixedTitle?(t.openBlock(),t.createElementBlock("div",bf,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",Sf,[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,vf))),128))])):t.createCommentVNode("",!0),e.unFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",xf,[e.isShowNotFixedTitle?(t.openBlock(),t.createElementBlock("div",Tf,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,Cf))),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(y,{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 wn=Ne(hf,[["render",Of]]);let Af=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let c=(l-1)*o,h=c+o;h>a.length&&(h=a.length);const d=a.slice(c,h);return{totalSize:a.length,page:d}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i,u]);const s=Fe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Le(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r,i,u]))}};function Ff(){const e=t.getCurrentInstance();return new Af(e.proxy)}let Bf=class{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Fe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Fe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Fe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}};function Mf(){const e=t.getCurrentInstance();return new Bf(e.proxy)}const Rf=Symbol.for("TableStateKey"),_o={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"}},Po={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}},Il={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:"不固定"}},Lf={infiniteLoad:{type:Boolean,default:!1},loadText:{type:String,default:"加载中..."},loadMoreText:{type:String,default:"无更多数据"}};function _f(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],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 Ol(e,n){return e.filter(l=>{for(let o in n){const r=n[o],i=_f(l,o);if(r!==i)return!1}return!0})}function Pf(e,n,a){return{inheritAttrs:!1,props:{...we,...De,..._o,...Po,...Il,...Lf},emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(l,o){const{locale:r}=ve.useFoxI18n(n),{emitEvent:i}=Ce({componentName:e,validateHandler:{getValue(...ne){return A.value}}},l.prop??o.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})),y=t.shallowRef({}),x=t.computed(()=>({...y.value,...l.params??{},...l.baseParams??{}})),b=t.ref(l.infiniteLoad===!0?0:l.pageIndex),p=t.ref(l.pageSize),g=ce(l.infiniteLoad);g||(t.watch(()=>l.pageIndex,ne=>{b.value=ne}),t.watch(()=>l.pageSize,ne=>{p.value=ne}),t.watch([b,p],([ne,oe],[re,se])=>{oe!==se&&(b.value=1,ne=1),I(l.data,ne,oe,x.value)}));const H=()=>Array.isArray(l.data)?!0:ce(l.autoLoad);H()&&t.watch([()=>l.data,x],async([ne,oe],[re,se])=>{H()&&(ne!==re&&(z=!0),!(!Array.isArray(ne)&&Pe(ne,re)&&Pe(oe,se))&&(g?(b.value=0,T.value=!0,A.value=[],K()):b.value===1?I(ne,b.value,p.value,oe):b.value=1))},{deep:!0});const m=ne=>{b.value=ne,i("page-index-change",ne)},f=ne=>{p.value=ne,i("page-size-change",ne)},T=t.ref(!0),M=t.ref(0),A=t.ref(),F=Ff();let z=!0;const $=Ee(t.computed(()=>l.lazyLoad),"lazyLoad",_e.Near,ne=>ce(ne)),I=async(ne,oe,re,se,me)=>{z=!1;try{if(me===!0){if(!T.value)return!1;const ye=await F.load("table",ne,oe,re,se,z,r.value);return M.value=ye.totalSize,!ye.page||!Array.isArray(ye.page)||(Reflect.apply([].push,A.value,ye.page),setTimeout(()=>{i("loaded-data")},250),(A.value?.length??0)>=M.value)||ye.page.length<re?(T.value=!1,!1):!0}else{const ye=await F.load("table",ne,oe,re,se,z,r.value);return M.value=ye.totalSize,A.value=ye.page??[],setTimeout(()=>{i("loaded-data")},250),!0}}catch(ye){console.error("[FoxUI] Load Table Data Fail",ye),M.value=0,A.value=[]}return!1};let w=!1;const K=async()=>{if(!w){if(w=!0,!T.value){w=!1;return}b.value+=1,await I(l.data,b.value,p.value,x.value,!0),w=!1}},J=(ne={},oe=!1)=>new Promise(async re=>{y.value=t.toRaw(ne??{}),oe||(b.value=l.pageIndex??1),g===!0?(b.value=0,A.value=[],T.value=!0,await K()):await I(l.data,b.value,p.value,x.value),re()}),L=()=>{M.value=0,A.value=[],g===!0&&(b.value=0,T.value=!0)};let V=!1;const P=()=>{V||(V=!0,J())},R=t.ref(null);if(g===!0){let ne=null;const oe=()=>{R.value&&(ne=new IntersectionObserver(se=>{let me=!1;for(let ye of se)if(ye.intersectionRatio>0){me=!0;break}me&&K()}),ne.observe(R.value))},re=()=>{!ne||!R.value||(ne.unobserve(R.value),ne=null)};t.onMounted(oe),t.onBeforeUnmount(re)}H()&&!$.value&&J();const Z=t.ref(null);t.provide(Rf,{currentRow:Z});const U=(ne,oe)=>{Z.value=ne,i("current-change",ne,oe)},j=(ne,oe,re)=>{i("row-click",ne,oe,re),ce(l.rowClickSelectable)===!0&&ae?.value.toggleRowSelection(ne)},te=[],D=(ne,oe)=>{if(i("expand-change",ne,oe),ce(l.uniqueExpansion))if(Array.isArray(oe)&&oe.length==0){const re=te.length;te.splice(0,re)}else{te.forEach(se=>{se!==ne&&ae?.value.toggleRowExpansion(se,!1)});const re=te.length;te.splice(0,re,ne)}},E=o.attrs.id??l.prop??o.attrs.name,q=Mf(),_=t.ref([]);let N=[];const Q=()=>({srcColumnPropertyList:N.map(oe=>({...oe})),columnPropertyList:_.value}),le=ne=>{_.value=[...ne],C()},G=async()=>{const ne=await q.load(E);ne&&(_.value=ne)},C=()=>{q.save(E,_.value)},B=()=>{q.remove(E)};G();const S=ne=>ne?ne.type?ne.type:ne.label?ne.prop:"":"",W=t.computed(()=>{if(typeof o.slots.default=="function"){const ne=o.slots.default(),oe=new Map;if(N=[],ne.forEach(re=>{const se=re;if(!se.props)return;const me=S(se.props);oe.set(me,re);const ye={label:"",prop:""};Object.assign(ye,se.props),N.push(ye)}),_.value.length===N.length){const re=[];for(let se of _.value){const me=S(se),ye=oe.get(me);if(!ye)return ne;if(se.visible===!1)continue;const ze=ye;ze.props.fixed=se.fixed,re.push(ze)}return re}return ne}return[]}),X=t.shallowRef(new Map),k=({column:ne,rowIndex:oe})=>{const re=`${oe}_${ne.property}`;return X.value.get(re)??""},Y=ne=>typeof ne=="function"?oe=>{const re=[];let se=k(oe);return se&&re.push(se),se=ne(oe),se&&re.push(se),re.length===0?"":re.join(" ")}:k,ee=(ne,oe,re)=>{const se=`${ne}_${oe}`;re?X.value.set(se,re):X.value.delete(se),t.triggerRef(X)},ae=t.ref();return be({clearSelection:()=>ae?.value.clearSelection(),getSelectionRows:()=>ae?.value.getSelectionRows(),toggleRowSelection:(ne,oe)=>{ae?.value.toggleRowSelection(ne,oe)},toggleRowSelectionByProp:(ne,oe)=>{if(!A.value)return;const re=Ol(A.value,ne);re.length!==0&&re.forEach(se=>{ae?.value.toggleRowSelection(se,oe)})},toggleAllSelection:()=>{ae?.value.toggleAllSelection()},toggleRowExpansion:(ne,oe)=>{ae?.value.toggleRowExpansion(ne,oe)},toggleRowExpansionByProp:(ne,oe)=>{if(!A.value)return;const re=Ol(A.value,ne);re.length!==0&&re.forEach(se=>{ae?.value.toggleRowExpansion(se,oe)})},setCurrentRow:ne=>{ae?.value.setCurrentRow(ne)},setCurrentRowByProp:ne=>{if(!A.value)return;const oe=Ol(A.value,ne);oe.length!==0&&ae?.value.setCurrentRow(oe[0])},getCurrentRow:()=>Z.value,clearSort:()=>{ae?.value.clearSort()},clearFilter:ne=>{ae?.value.clearFilter(ne)},doLayout:()=>{ae?.value.doLayout()},sort:(ne,oe)=>{ae?.value.sort(ne,oe)},scrollTo:(ne,oe)=>{ae?.value.scrollTo(ne,oe)},setScrollTop:ne=>{ae?.value.setScrollTop(ne)},setScrollLeft:ne=>{ae?.value.setScrollLeft(ne)},loadData:J,clearData:L,getData(){return A.value},getTotalSize(){return M.value},getPageIndex(){return b.value},getPageSize(){return p.value},getColumnSetting:Q,setColumnSetting:le,removeColumnSetting:B,setCellClassName:ee}),()=>{const oe={...Ye(o.attrs),onCurrentChange:U,onRowClick:j,onExpandChange:D,data:A.value,ref:ae,class:s.value,"cell-class-name":Y(l.cellClassName)},re={};if(o.slots.default&&(re.default=()=>W.value),o.slots.append&&(re.append=()=>o.slots.append),o.slots.empty&&(re.empty=()=>o.slots.empty),g===!0){const He=[];if(T.value){const zt=t.h($e.Loading,{class:`${u}__infinite-icon`});He.push(zt);const ha=t.h("span",{class:`${u}__infinite-text`},[l.loadText]);He.push(ha)}else{const zt=t.h("span",{class:`${u}__infinite-text`},[l.loadMoreText]);He.push(zt)}const ht={ref:R,class:`${u}__infinite`},da=t.h("div",ht,He);re.append=()=>da}const se=t.h(O.ElTable,oe,re),me=[];if(me.push(se),!g){let He=null;if(typeof o.slots.pagination=="function")He=o.slots.pagination();else if(l.showPagination){const ht={class:d.value,total:M.value,pageSize:p.value,"onUpdate:pageSize":f,pageSizes:l.pageSizes,currentPage:b.value,"onUpdate:currentPage":m,hideOnSinglePage:l.hideOnSinglePage,layout:l.paginationLayout,samll:l.paginationSmall,background:l.paginationBackground};He=t.h(O.ElPagination,ht)}if(l.showSetting){const ht=[];He&&ht.push(He);const da=t.h(O.ElIcon,{class:c.value},{default:()=>t.h($e.Setting)}),zt=kt(l,Il),ha=t.h(wn,{...zt,tableRef:{getColumnSetting:Q,setColumnSetting:le,removeColumnSetting:B}},{default:()=>da});ht.push(ha);const wy=t.h("div",{class:h.value},ht);me.push(wy)}else He&&me.push(He)}const ye={default:()=>me},je={...ke(l,_o,Po,Il)};return l.prop&&(je.prop=`${l.prop}_item`),je.contentClass=`${u}__wrap`,je.errorMarkClass="is-table-error",$.value&&H()&&(je["appear-listen"]=!0,je.onAppear=P),t.h(a,je,ye)}}}}const{componentName:qf,create:zf,scope:jf}=ue("table-item"),Al=zf(Pf(qf,jf,Se));function wt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Rt(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,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Wf(){const e=t.getCurrentInstance();return new Kf(e.proxy)}function qo(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=wt(e,n),o=wt(e,a);if(l!==o)return!1;const r=Rt(e,n),i=Rt(e,a);return r===i}function Yf(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;let o=null;for(let r of l){let i=!1;if(a==="text")i=wt(e,r)===n;else if(a==="item")i=qo(e,r,n);else{let u=Rt(e,r);u==null&&(u=wt(e,r)),i=u===n}if(i){o=r;break}}return o}function Uf(e){return{text:e,value:e}}function Gf(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const zo={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,a){return{inheritAttrs:!0,props:{...we,...De,...zo},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),h=t.ref(null),d=t.ref(null),y=($,I,w,K=!0)=>{const J=Yf(l,$,I,w);if(J===null){if(d.value===null)return;d.value=null,h.value=null,K&&(c("update:modelValue",null),c("change",null));return}if(!qo(l,J,d.value)){h.value=$;const V=t.toRaw(J);d.value=V;let P=null;l.valueType==="text"?P=wt(l,V):l.valueType==="item"?P=V:P=Rt(l,V),K&&(c("update:modelValue",P),c("change",P))}},x=t.ref([]),b=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,$=>ce($)),p=Wf(),g=async($,I)=>{if($){const w=await p.load("radio",$,I);if(w.length>0)if(typeof w[0]=="string"){let L=w.map(V=>Uf(V));x.value=L}else x.value=w}};t.watch([()=>l.source,()=>l.params],async([$,I])=>{g($,I)},{immediate:!b.value});let H=!1;const m=()=>{H||(H=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([$,I])=>{y(I,l.valueType,$,!1),c("setValue",I)});const f=e,T=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),M=$=>{y($,"value",x.value,!0)};let A=he(l,"hintText"),F=he(l,"hintVisible");const z=($,I)=>{const w=[];return $.forEach((K,J)=>{const L=Rt(l,K),V=wt(l,K);let P=Hf(l,K);i.value===!0&&(P=i.value),s.value===!0&&(P=s.value);const R=Gf(l,K,J)??{},Z=`${L}_${J}`,U={...R,key:Z,value:L,size:l.size,border:ce(l.border)};P&&(U.disabled=P),l.itemType==="button"?w.push(t.h(O.ElRadioButton,U,{default:()=>[V]})):typeof I=="function"?w.push(t.h(O.ElRadio,U,{default:()=>I(K)})):w.push(t.h(O.ElRadio,U,{default:()=>[V]}))}),w};return be({setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...Ye(o.attrs),class:T.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,onChange:M},w=[],K={};o.slots.options?K.default=o.slots.options:K.default=()=>z(x.value,o.slots.text);const J=t.h(O.ElRadioGroup,I,K);w.push(J);const L={default:()=>w};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,zo),hintText:A.value,hintVisible:F.value};return l.prop&&(P.prop=`${l.prop}_item`),b.value&&(P["appear-listen"]=!0,P.onAppear=m),t.h(a,P,L)}}}}const{componentName:Zf,create:Jf,scope:Qf}=ue("radio-item"),Fl=Jf(Xf(Zf,Qf,Se));function St(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function xt(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,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function nd(){const e=t.getCurrentInstance();return new td(e.proxy)}function jo(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=St(e,n),o=St(e,a);if(l!==o)return!1;const r=xt(e,n),i=xt(e,a);return r===i}function ld(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let i of l){let u=!1;if(a==="text")u=St(e,i)===r;else if(a==="item")u=jo(e,i,r);else{let s=xt(e,i);s==null&&(s=St(e,i)),u=s===r}if(u){o.push(i);break}}}),o}function ad(e){return{text:e,value:e}}function od(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const Ho={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,a){return{inheritAttrs:!0,props:{...we,...De,...Ho},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),h=t.ref([]),d=t.ref([]),y=($,I,w,K=!0)=>{const J=ld(l,$,I,w);if(J===null){if(d.value===null||d.value.length===0)return;h.value=[],d.value=[],K&&(c("update:modelValue",[]),c("change",[]));return}let L=!0;if(J.length!==d.value.length)L=!1;else for(let V=0;V<J.length;V++){const P=J[V],R=d.value[V];if(!jo(l,P,R)){L=!1;break}}if(!L){d.value=J;let V=[],P=[];J.forEach(Z=>{V.push(xt(l,Z)),l.valueType==="text"?P.push(St(l,Z)):l.valueType==="item"?P.push(Z):P.push(xt(l,Z))}),h.value=V;const R=t.toRaw(P);K&&(c("update:modelValue",R),c("change",R))}},x=t.ref([]),b=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,$=>ce($)),p=nd(),g=async($,I)=>{if($){const w=await p.load("checkbox",$,I);if(w.length>0)if(typeof w[0]=="string"){let L=w.map(V=>ad(V));x.value=L}else x.value=w}};t.watch([()=>l.source,()=>l.params],async([$,I])=>{g($,I)},{immediate:!b.value});let H=!1;const m=()=>{H||(H=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([$,I])=>{y(I,l.valueType,$,!1),c("setValue",I)});const f=e,T=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),M=$=>{y($,"value",x.value,!0)};let A=he(l,"hintText"),F=he(l,"hintVisible");const z=($,I)=>{const w=[];return $.forEach((K,J)=>{const L=xt(l,K),V=St(l,K);let P=ed(l,K);i.value===!0&&(P=i.value),s.value===!0&&(P=s.value);const R=od(l,K,J)??{},Z=`${L}_${J}`,U={...R,key:Z,class:l.itemClass,value:L,size:l.size,border:ce(l.border)};P&&(U.disabled=P),l.itemType==="button"?w.push(t.h(O.ElCheckboxButton,U,{default:()=>[V]})):typeof I=="function"?w.push(t.h(O.ElCheckbox,U,{default:()=>I(K)})):w.push(t.h(O.ElCheckbox,U,{default:()=>[V]}))}),w};return be({setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...Ye(o.attrs),class:T.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,max:ge(l.max),min:ge(l.min),onChange:M},w=[],K={};o.slots.options?K.default=o.slots.options:K.default=()=>z(x.value,o.slots.text);const J=t.h(O.ElCheckboxGroup,I,K);w.push(J);const L={default:()=>w};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,Ho),hintText:A.value,hintVisible:F.value};return l.prop&&(P.prop=`${l.prop}_item`),b.value&&(P["appear-listen"]=!0,P.onAppear=m),t.h(a,P,L)}}}}const{componentName:id,create:sd,scope:ud}=ue("checkbox-item"),Bl=sd(rd(id,ud,Se)),Ko={modelValue:{type:[Number,String],required:!1}};function cd(e,n,a){return{props:{...we,...De,...Ko},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),h=he(l,"modelValue",H=>ge(H),c),d=e,y=t.computed(()=>({[d]:!0})),x=H=>{c("update:modelValue",H),c("change",H)};let b=he(l,"hintText"),p=t.ref(!1);const g=t.ref();return be({setDisabled:H=>{r.value=H},setReadonly:H=>{u.value=H}}),()=>{const m={...Ye(o.attrs),ref:g,class:y.value,readonly:s.value||i.value,modelValue:h.value,onChange:x},f={},T=[],M=t.h(O.ElRate,m,f);T.push(M);const A={default:()=>T};o.slots.default&&(A.label=o.slots.default),o.slots.fixedTip&&(A.fixedTip=o.slots.fixedTip);const z={...ke(l,Ko),hintText:b.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(a,z,A)}}}}const{componentName:fd,create:dd,scope:hd}=ue("rate-item"),Ml=dd(cd(fd,hd,Se)),Wo={modelValue:{type:[Boolean,String,Number],required:!1}};function md(e,n,a){return{props:{...we,...De,...Wo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),h=he(l,"modelValue",null,c),d=e,y=t.computed(()=>({[d]:!0})),x=H=>{c("update:modelValue",H),c("change",H)};let b=he(l,"hintText"),p=he(l,"hintVisible");const g=t.ref();return be({setDisabled:H=>{r.value=H},setReadonly:H=>{u.value=H}}),()=>{const m={...Ye(o.attrs),ref:g,class:y.value,readonly:s.value,disabled:i.value,modelValue:h.value,onChange:x},f={},T=[],M=t.h(O.ElSwitch,m,f);T.push(M);const A={default:()=>T};o.slots.default&&(A.label=o.slots.default),o.slots.fixedTip&&(A.fixedTip=o.slots.fixedTip);const z={...ke(l,Wo),hintText:b.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(a,z,A)}}}}const{componentName:gd,create:yd,scope:pd}=ue("switch-item"),Rl=yd(md(gd,pd,Se)),Yo={modelValue:{type:[String,Number,Boolean,Array],required:!1}};function bd(e,n,a){return{props:{...we,...De,...Yo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),d=he(l,"modelValue",null,h),y=e,x=t.computed(()=>({[y]:!0})),b=F=>{h("update:modelValue",F),h("change",F)};let p=he(l,"hintText"),g=t.ref(!1);const H=F=>{let $=F.target.value;c.value=!0,de(p.value)||(g.value=!0),h("focus",$,F)},m=F=>{setTimeout(()=>{g.value&&(g.value=!1),c.value=!1},0);let $=F.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),T.value||h("blur",$,F)},f=()=>{h("clear","")},T=t.ref(!1),M=F=>{T.value=F,h("visible-change",F),F||h("selected")},A=t.ref();return be({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},setDisabled:F=>{r.value=F},setReadonly:F=>{u.value=F}}),()=>{const z={...Ye(o.attrs),ref:A,class:x.value,disabled:i.value||s.value,modelValue:d.value,"onUpdate:modelValue":b,onClear:f,onFocus:H,onBlur:m,onVisibleChange:M},$={};o.slots.option&&($.default=o.slots.option);const I=[],w=t.h(O.ElTreeSelect,z,$);I.push(w);const K={default:()=>I};o.slots.default&&(K.label=o.slots.default),o.slots.fixedTip&&(K.fixedTip=o.slots.fixedTip);const L={...ke(l,Yo),hintText:p.value,hintVisible:g.value};return l.prop&&(L.prop=`${l.prop}_item`),t.h(a,L,K)}}}}const{componentName:vd,create:wd,scope:Sd}=ue("tree-select-item"),Ll=wd(bd(vd,Sd,Se));class xd{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Fe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Fe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Fe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}}function Td(){const e=t.getCurrentInstance();return new xd(e.proxy)}const Cd={},$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=Ne(Cd,[["render",kd]]),{componentName:By,create:Nd,scope:My}=ue("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:O.ElPopover,FoxCheckbox:O.ElCheckbox,FoxCheckboxGroup:O.ElCheckboxGroup,FoxButton:O.ElButton,FoxIcon:O.ElIcon,DragIcon:Dd,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...Ed},emits:["change"],setup(e,{emit:n,attrs:a,expose:l}){let o=null;const r=t.ref([]),i=Td(),u=D=>D.length>1,s=()=>{const D=[],E=[...r.value];r.value=E.map((_,N)=>(_.visible!==!1&&D.push(_.prop),{..._,sortIndex:N})),r.value.length===D.length?p.value=!0:D.length>0&&(g.value=!0),f.value=D},c=D=>{let E=null;if(typeof D=="string")E=document.querySelectorAll(`.fox-group[prop="${D}"] > div > .fox-item[prop]`);else if(D&&typeof D=="object"){const _=D.$el??D;typeof _.querySelectorAll=="function"&&(E=_.querySelectorAll(".fox-item[prop]"))}if(!E)return[];const q=[];return E.forEach(_=>{const N=_.querySelector(".label--string");let Q="";N&&(Q=N.textContent??"");const le=_.getAttribute("prop")??"",C=window.getComputedStyle(_,null).getPropertyValue("display");q.push({label:Q,prop:le,sortIndex:0,visible:C!=="none"})}),q},h=()=>{if(!o){const D=c(e.groupRef??e.groupProp);if(D.length===0)return!1;o=D}return!0},d=async(D=!1)=>{const E=await i.load(e.groupProp),q=_=>{if(!_||!o)return;const N=o.map(Q=>({...Q}));Array.isArray(E)&&E.forEach(Q=>{N.some(le=>{if(le.prop===Q.prop){const G=le.label;return Object.assign(le,Q),le.label=G,!0}return!1})}),r.value=N.sort((Q,le)=>Q.sortIndex-le.sortIndex),s(),D&&x(!1)};o?q(!0):en(h,e.initDelay,5,50,!1,q)},y=()=>{const D=o??[];r.value=D.map(E=>({...E})),s(),x()},x=(D=!0)=>{D&&i.save(e.groupProp,r.value);const E=r.value.map(q=>({...q}));n("change",E)},b=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),p=t.ref(!1),g=t.ref(!1),H=D=>{const E=[];r.value.forEach(_=>{D&&E.push(_.prop),_.visible=D}),p.value=!1,g.value=!1,r.value.length===E.length?p.value=!0:E.length>0&&(g.value=!0),f.value=E,x()},m=()=>{y()},f=t.ref([]),T=D=>{r.value.forEach(q=>{const _=D.indexOf(q.prop)!==-1;q.visible=_}),p.value=!1,g.value=!1;const E=r.value.length;D.length===E?p.value=!0:D.length>0&&(g.value=!0),x()},M=()=>{d()};t.onMounted(()=>{d(!0)});const A={currentRow:null,index:null},F=D=>D?D.dataset&&D.dataset.role==="row"?D:D.tagName.toLowerCase()!=="body"?(D=D.parentElement,F(D)):null:null,z=D=>{const E=D.currentTarget;E&&E.dataset&&(A.index=E.dataset.index)},$=D=>{A.currentRow&&(A.currentRow.classList.remove("is-dragover"),A.currentRow=null),A.index=null},I=D=>{const E=D.currentTarget;D.relatedTarget;const q=F(E);q&&(D.preventDefault(),A.currentRow&&A.currentRow!==q&&A.currentRow.classList.remove("is-dragover"),q.classList.add("is-dragover"),A.currentRow=q)},w=D=>{D.preventDefault(),A.currentRow&&(A.currentRow.classList.remove("is-dragover"),A.currentRow=null)},K=D=>{const E=D.currentTarget,q=F(E);if(!q)return;D.preventDefault();const _=Number(A.index),N=Number(q.dataset.index);if(_!==N){if(_<N){const Q=r.value[_];r.value.splice(_,1),r.value.splice(N,0,Q)}else{const Q=r.value[_];r.value.splice(_,1),r.value.splice(N+1,0,Q)}s(),x()}},J=D=>{const E=r.value[D];r.value.splice(D,1),r.value.splice(0,0,E),s(),x()},L=D=>{const E=r.value[D];r.value.splice(D,1),r.value.push(E),s(),x()};l({refresh:()=>{o=null,d(!1)}});const V=new Map;let P=null;function R(D){const E=document.createRange();return E.setStart(D,0),E.setEnd(D,D.childNodes.length),E.getBoundingClientRect().width}return{attrs:a,itemPropertyList:r,isDraggble:u,isCheckAll:p,isIndeterminate:g,handleCheckAllChange:H,handleReset:m,checkedValue:f,handleCheckChange:T,onShow:M,onDragStart:z,onDragEnd:$,onDragOver:I,onDragLeave:w,onDrop:K,checkboxLabelStyle:b,toTop:J,toBottom:L,onMouseOverForOverflowText:(D,E,q)=>{const _=D.currentTarget;if(_){const N=Math.floor(_.offsetWidth);if(Math.floor(R(_))>N){let le=V.get(E);if(le){if(le===P)return;Be.hide(le)}le=Be.show(_,q,{type:"text",placement:"top",closeOnClick:!1}),V.set(E,le),P=le}}},onMouseLeaveForOverflowText:(D,E)=>{const q=V.get(E);q&&(Be.hide(q),q===P&&(P=null))},onMouseOverForTip:(D,E)=>{const q=D.currentTarget;q&&(P&&Be.hide(P),P=Be.show(q,E,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:D=>{P&&(Be.hide(P),P=null)}}}}),Id={class:"fox-group-setting"},Od={class:"fox-group-setting__header"},Ad={class:"fox-group-setting__body"},Fd={class:"fox-group-setting__body-list","data-role":"container"},Bd=["data-index","draggable"],Md=["onMouseover","onMouseleave"],Rd={class:"tools-item"};function Ld(e,n,a,l,o,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"),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-group-setting__popper"}),{reference:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),default:t.withCtx(()=>[t.createElementVNode("div",Id,[t.createElementVNode("div",Od,[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",Ad,[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",Fd,[(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]=(...b)=>e.onDragStart&&e.onDragStart(...b)),onDragend:n[6]||(n[6]=(...b)=>e.onDragEnd&&e.onDragEnd(...b)),onDrop:n[7]||(n[7]=(...b)=>e.onDrop&&e.onDrop(...b)),onDragover:n[8]||(n[8]=(...b)=>e.onDragOver&&e.onDragOver(...b)),onDragleave:n[9]||(n[9]=(...b)=>e.onDragLeave&&e.onDragLeave(...b))},[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:b=>e.onMouseOverForOverflowText(b,x.prop,x.label),onMouseleave:b=>e.onMouseLeaveForOverflowText(b,x.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(x.label),45,Md)]),_:2},1032,["label"]),t.createElementVNode("div",Rd,[t.createVNode(h,{onClick:b=>e.toTop(x.sortIndex),onMouseover:n[1]||(n[1]=b=>e.onMouseOverForTip(b,e.toTopText)),onMouseleave:n[2]||(n[2]=b=>e.onMouseLeaveForTip(b)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:b=>e.toBottom(x.sortIndex),onMouseover:n[3]||(n[3]=b=>e.onMouseOverForTip(b,e.toBottomText)),onMouseleave:n[4]||(n[4]=b=>e.onMouseLeaveForTip(b))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"])])],40,Bd))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const _l=Ne(Vd,[["render",Ld]]),Sn={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 _d(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(xn(e,r)===a)return o}else if(l==="item"){if(Pe(a,r))return o}else if(Go(e,r)===a)return o}return-1}function xn(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Uo(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Go(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Pd(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function qd(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let zd=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let c=a;typeof u=="function"&&(c=c.filter(u));let h=(l-1)*o,d=h+o;d>c.length&&(d=c.length);const y=c.slice(h,d);return{totalSize:c.length,page:y}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i]);const s=Fe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Le(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r]))}};function jd(){const e=t.getCurrentInstance();return new zd(e.proxy)}function Hd(e,n,a,l,o,r,i,u,s,c,h){return{props:{...Sn},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,{slots:y}){const{emitEvent:x}=Qn(),{toLocaleRefs:b}=ve.useFoxI18n(n),p=b(d,["title","loadText","loadMoreText","seachPlaceholder","confirmText"]),g=jd(),H=t.ref([]),m=t.ref(0),f=t.ref(""),T=t.shallowRef(null),M=t.computed(()=>{const C={};return d.params&&Object.assign(C,d.params),de(f.value)||(C[`${d.searchKey}`]=f.value),T.value&&Object.assign(C,T.value),C});let A=!0;const F=async(C,B,S)=>{try{if($.value===!1)return;let W=null;de(f.value)||(W=k=>{const Y=xn(d,k);if(typeof Y=="string"&&Y.includes(f.value))return!0;const ee=Uo(d,k);return!!(typeof ee=="string"&&ee.includes(f.value))});const X=await g.load("actionsheet",C,B,S,M.value,A,W??void 0);A=!1,Array.isArray(X)?(H.value=X,m.value=1,$.value=!1):!Array.isArray(X.page)||X.page.length===0?(console.warn("[FoxUI] can not load more data"),$.value=!1):(Reflect.apply([].push,H.value,X.page),m.value=Math.ceil(H.value.length/d.pageSize),(X.totalSize&&H.value.length>=X.totalSize||S<X.page.length)&&($.value=!1)),z.value=!1}catch(W){console.error("[FoxUI] ActionSheet load more data fail",W),$.value=!0,m.value=0,H.value=[]}setTimeout(()=>{x("loaded-data")},250)},z=t.ref(!1),$=t.ref(!0),I=async()=>{if(!d.source){z.value=!1;return}await F(d.source,m.value+1,d.pageSize)};t.watch(()=>f.value,(C,B)=>{de(C)&&!de(B)&&I()}),t.watch([()=>d.source,()=>d.pageSize,()=>d.params],async([C,B,S])=>{d.source&&I()},{immediate:!0});const w=t.computed(()=>!d.multiple&&d.isAutoBackFill),K=t.ref([]);let J=null;const L=t.ref(d.visible);t.watch(()=>d.visible,C=>{L.value!==C&&(L.value=C),C?J=[...K.value]:J=null});const V=(C,B)=>{const S=[];return Array.isArray(C)||(C=[C]),C.forEach(W=>{let X=_d(d,B,W,d.valueType);X!==-1&&S.push(X)}),Pe(S,K.value)?!1:(K.value=S,!0)};t.watch([()=>d.modelValue,()=>H.value],([C,B],[S,W])=>{if(V(C,B)){const k=P();R(k)}},{deep:!0});const P=()=>{const C=[],B=[],S=[];for(let Y of K.value){const ee=H.value[Y];B.push(ee);const ae=xn(d,ee);if(S.push(ae),d.valueType==="item")C.push(ee);else if(d.valueType==="text")C.push(ae);else{const ne=Go(d,ee);C.push(ne)}}let W=null,X=null,k=null;return d.multiple?(W=C,X=S,k=B):(W=C[0]??null,X=S[0]??null,k=B[0]??null),{value:W,text:X,item:k}},R=C=>{x("update:modelValue",C.value),x("update:text",C.text),x("change",C.value,C.item,C.text)},Z=()=>{J&&(K.value=J)},U=C=>{const B=K.value.indexOf(C);d.multiple?B===-1?K.value.push(C):K.value.splice(B,1):B===-1?K.value=[C]:K.value=[],(w.value||!d.poppable&&!d.showFooter)&&D()},j=C=>{L.value=C,x("update:visible",C)},te=()=>{const C=()=>{Z(),j(!1)},B=d.beforeMethod??d.beforeClose;if(typeof B=="function"){const S=B("close");Wt(S)?S.then(W=>{W!==!1&&C()}).catch(()=>{C()}):S!==!1&&C()}else C()},D=()=>{const C=P(),B=()=>{R(C),j(!1)},S=d.beforeMethod??d.beforeClose;if(typeof S=="function"){const W=S("confirm",C.value,C.item,C.text);Wt(W)?W.then(X=>{X!==!1&&B()}).catch(()=>{B()}):W!==!1&&B()}else B()},E=()=>{$.value=!0,m.value=0,H.value=[],d.source&&I()},q=()=>{let C=p.title.value??"";y.title&&(C=y.title());const B=t.h("view",{class:["fox-actionsheet__header-title"]},[C]),S=t.h(s,{class:["fox-actionsheet__header-icon"],onClick:te});return t.h("view",{class:["fox-actionsheet__header"]},[B,S])},_=()=>{let C=null;if(y.search)C=y.search();else{const B={onSearch:E,placeholder:p.seachPlaceholder.value,disabled:d.disabled,modelValue:f.value,"onUpdate:modelValue":S=>{f.value=S}};C=t.h(r,B,{leftin:()=>t.h(c)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[C])},N=(C,B,S,W,X)=>{if(y.optionLabel)return y.optionLabel({text:C,checked:B,disabled:S,subText:W,item:X});const k=[],Y=t.h("view",{class:"fox-actionsheet__list-item-text"},[C]);if(k.push(Y),W){const ee=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[W]);k.push(ee)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},k)},Q=(C,B,S,W)=>{if(y.optionIcon)return y.optionIcon({checked:C,disabled:B,iconSize:S,item:W});if(C){if(y.checkedIcon)return y.checkedIcon({disabled:B,item:W});{const X=d.checkedIcon??u;return t.h(X,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}else{if(y.icon)return y.icon({disabled:B,item:W});{const X=d.icon??i;return t.h(X,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}},le=()=>{const C=[];for(let B=0;B<H.value.length;B++){const S=H.value[B],W=xn(d,S),X=Uo(d,S),k=["fox-actionsheet__list-item"],Y={};let ee=Pd(d,S),ae=d.iconSize?pe(d.iconSize):null;const ne=qd(d,S,B);ne&&(ee=ee||ne.disabled,ne.class&&k.push(ne.class),ne.style&&Object.assign(Y,ne.style)),ee=!!(d.disabled||ee);const oe=K.value.includes(B);ee&&k.push("is-disabled"),oe&&k.push("is-checked");const re={class:k,style:Y,key:`${B}`,onClick:()=>{ee||U(B)}};let se=[];if(y.option)se.push(y.option({item:S,checked:oe,disabled:ee}));else{const ye=N(W,oe,ee,X,S);se.push(ye);const ze=Q(oe,ee,ae,S);se.push(ze)}const me=t.h("view",re,se);C.push(me)}return C},G=()=>{let C=[];if(y.buttons)C=y.buttons();else{const S=t.h(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:D,disabled:d.disabled},{default:()=>p.confirmText.value});C.push(S)}return t.h("view",{class:"fox-actionsheet__footer"},[C])};return be({search:async(C=null,B=!0)=>{T.value=C&&t.toRaw(C),t.triggerRef(T),B&&($.value=!0,m.value=0,H.value=[]),t.nextTick(()=>{I()})},clear:()=>{$.value=!0,m.value=0,H.value=[]},confirm:()=>{D()},cancel:()=>{te()}}),()=>{const C=[];if(d.showHeader){const ae=q();C.push(ae)}if(d.showSearchbar){const ae=_();C.push(ae)}let B=null;if(y.content)B=y.content();else{const ae=le(),ne={hasMore:$.value,loadText:p.loadText.value,loadMoreText:p.loadMoreText.value,modelValue:z.value,"onUpdate:modelValue":oe=>{z.value=oe},onLoadMore:I};B=t.h(l,ne,{default:()=>ae})}const S={};d.optionsHeight&&(S.height=d.optionsHeight);const W={"fox-actionsheet__list":!0};d.poppable||(W["fox-actionsheet__list--inner"]=!0);const X=t.h("view",{class:W,style:S},[B]);if(C.push(X),d.showFooter&&!w.value){const ae=G();C.push(ae)}const k=t.h("view",{class:"fox-actionsheet"},C);if(!d.poppable)return k;const Y=["fox-actionsheet__popup"];d.popClass&&Y.push(d.popClass);const ee={popClass:Y.join(" "),visible:L.value,closeable:!1,"onUpdate:visible":j,position:d.position,round:"round",onClickOverlay:te,closeOnClickOverlay:d.closeOnClickOverlay};return t.h(a,ee,{default:()=>k})}}}}const Kd=/scroll|auto|overlay/i,Xo=window;function Wd(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Yd(e,n=Xo){let a=e;for(;a&&a!==n&&Wd(a);){const{overflowY:l}=window.getComputedStyle(a);if(Kd.test(l))return a;a=a.parentNode}return n}function Zo(e,n=Xo){const a=t.ref();return t.onMounted(()=>{e.value&&(a.value=Yd(e.value,n))}),a}const Jo=()=>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,a){return{props:{...Ud},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["pullText","loadText","loadMoreText"]),s=t.ref(),c=Zo(s),h=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=t.computed(()=>({[e]:!0})),y=m=>m?m.offsetTop+y(m.offsetParent):0,x=()=>{let m=0,f=0,T="down";if(c.value==window){const M=Jo();s.value&&(m=y(s.value)+s.value.offsetHeight-M-window.innerHeight),f=M}else{const{scrollHeight:M,clientHeight:A,scrollTop:F}=c.value;m=M-A-F,f=F}return h.beforeScrollTop>f?T="up":T="down",h.beforeScrollTop=f,o("scroll-change",f),m<=l.threshold&&T=="down"},b=()=>{Fn(()=>{if(!x()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},p=()=>{c.value&&c.value.addEventListener("scroll",b,l.useCapture)},g=()=>{c.value&&c.value.removeEventListener("scroll",b,l.useCapture)};t.onMounted(()=>{p(),l.immediate&&b()}),t.onUnmounted(()=>{g()});const H=t.ref(!1);return t.onActivated(()=>{H.value&&(H.value=!1,p())}),t.onDeactivated(()=>{H.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?.()]),T=[];if(h.isInfiniting){let z=r?.loading?.()??null;if(!z){let w=r?.loadingIcon?.()??null;if(!w){const L={class:["fox-infinite__bottom-box__img"]};w=t.h(a,L)}const K={class:"fox-infinite__bottom-box__text"},J=t.h("view",K,[u.loadText.value]);z=[w,J]}const $={class:"fox-infinite__bottom-box"},I=t.h("view",$,z);T.push(I)}else if(!l.hasMore){let z=r?.finished?.()??null;if(!z){const $={class:"fox-infinite__bottom-tips"};z=t.h("view",$,[u.loadMoreText.value]),T.push(z)}}const M={class:"fox-infinite__bottom"},A=t.h("view",M,T),F={class:d.value,ref:s};return t.h("view",F,[f,A])}}}}const{componentName:Xd,create:Zd,scope:Jd}=ue("infinite-loading"),Tn=Zd(Gd(Xd,Jd,bn)),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,a)=>({props:{...Qd},emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(l,{slots:o}){const{emitEvent:r}=Qn(),{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["placeholder"]),s=t.reactive({active:!1}),c=t.computed(()=>({background:l.background})),h=t.computed(()=>({background:l.inputBackground})),d=$=>{let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),r("update:modelValue",w,$),r("change",w,$)},y=t.ref({}),x=$=>{let w=$.target.value;s.active=!0,y.value=l.focusStyle,r("focus",w,$)},b=$=>{setTimeout(()=>{s.active=!1},0);let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),y.value={},r("blur",w,$)},p=$=>{r("update:modelValue","",$),r("change","",$),r("clear","")},g=t.computed(()=>String(l.modelValue).length>0),H=t.computed(()=>{const $={};return g.value||($.display="none"),$}),m=()=>{r("search",l.modelValue)},f=$=>{r("keyup-input",$),$.key.toLocaleUpperCase()==="ENTER"&&m()},T=$=>{r("click-input",$)},M=$=>{r("click-left-icon",l.modelValue,$)},A=t.computed(()=>({textAlign:l.inputAlign})),F=t.ref(null);t.onMounted(()=>{l.autofocus&&F.value.focus()});const z=()=>{const $=[];if(o.leftin){const L={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:M},V=t.h("view",L,[o.leftin()]);$.push(V)}const I={ref:F,class:[`${e}__input-inner`],style:A.value,type:l.inputType,maxlengt:l.maxLength,placeholder:u.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:T,onInput:d,onFocus:x,onBlur:b,onkeyup:f},w=t.h("input",I);$.push(w);const K=[];if(l.clearable){const L={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:H.value,onClick:p},V=o?.clear?.()??l.clearIcon??a,P=t.h("view",L,[t.h(V)]);K.push(P)}if(o.rightin){const L={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},V=t.h("view",L,[o.rightin()]);K.push(V)}if(K.length>0){const L={class:`${e}__input-inner-right`},V=t.h("view",L,K);$.push(V)}const J={class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...y.value}};return t.h("view",J,$)};return()=>{const $=[];if(l.label){const K={class:`${e}__search-label`},J=t.h("span",K,[l.label]);$.push(J)}if(o.leftout){const K={class:[`${e}__search-icon`,`${e}__left-search-icon`]},J=t.h("view",K,[o.leftout()]);$.push(J)}const I=z();if($.push(I),o.rightout){const K={class:[`${e}__search-icon`,`${e}__right-search-icon`]},J=t.h("view",K,[o.rightout()]);$.push(J)}const w={class:`${e}`,style:c.value};return t.h("view",w,$)}}}),{componentName:th,create:nh,scope:lh}=ue("searchbar"),Cn=nh(eh(th,lh,$e.CircleClose)),{componentName:ah,create:oh,scope:rh}=ue("actionsheet-pane"),$n=oh(Hd(ah,rh,ut,Tn,O.ElButton,Cn,_u,Bu,So,bu)),Qo={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,a,l,o){return{props:{...we,...De,...Qo,...Sn},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,i){const u=t.ref(null),s=Ie(t.computed(()=>u.value??r.disabled)),c=t.ref(null),h=Ve(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:y}=ve.useFoxI18n(n),x=y(r,["placeholder"]),b=t.ref(!1),p=he(r,"modelValue",null,d),g=t.ref(""),H=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})),T=Ee(t.computed(()=>r.textAlign),"textAlign"),M=t.computed(()=>{const R={};return T.value&&(R["text-align"]=T.value),R}),A=t.ref(!1),F=()=>{A.value=!0},z=R=>{A.value=R},$=R=>{p.value=R,d("update:modelValue",R)},I=(R,Z)=>{d("change",R,Z)},w=R=>{let U=R.target.value;b.value=!0,d("focus",U,R)},K=R=>{setTimeout(()=>{b.value=!1},0);let U=R.target.value;r.maxLength&&U.length>Number(r.maxLength)&&(U=U.slice(0,Number(r.maxLength))),d("blur",U,R)},J=R=>{g.value=R,d("update:text",R)},L=t.computed(()=>Ke(r.unit)>0),V=t.ref(),P=t.ref(null);return be({focus:()=>{V?.value.focus()},blur:()=>{V?.value.blur()},select:()=>{V?.value.select()},search:R=>{P.value&&P.value.search(R)},clear:()=>{P.value&&P.value.clear},confirm:R=>{P.value&&P.value.confirm()},cancel:()=>{P.value&&P.value.cancel()},setDisabled:R=>{u.value=R},setReadonly:R=>{c.value=R}}),()=>{const R={ref:V,class:f.value,style:M.value,type:"text",maxlength:r.maxLength,placeholder:x.placeholder.value,readonly:!0,value:H.value,onClick:F,onFocus:w,onBlur:K},Z={};i.slots.prepend&&(Z.prepend=i.slots.prepend),i.slots.append&&(Z.append=i.slots.append),i.slots.prefix&&(Z.prefix=i.slots.prefix),i.slots.suffix?Z.suffix=i.slots.suffix:L.value?Z.suffix=()=>[r.unit]:Z.suffix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.ArrowDown)});const U=[],j=t.h(O.ElInput,R,Z);U.push(j);const te={default:()=>U};te.label=i.slots.default,te.prepend=i.slots.prepend,te.append=i.slots.append,te.fixedPreTip=i.slots.fixedPreTip,te.fixedTip=i.slots.fixedTip;const D=kt(r,Sn);D.ref=P,D.class=r.actionsheetProps,D.disabled=s.value||h.value,D.visible=A.value,D["onUpdate:visible"]=z,D.modelValue=p.value,D["onUpdate:modelValue"]=$,D.text=g.value,D["onUpdate:text"]=J,D.onChange=I,D.poppable=!0;const E={title:i.slots.title,search:i.slots.search,option:i.slots.option,optionLabel:i.slots.optionLabel,optionIcon:i.slots.optionIcon,buttons:i.slots.buttons},q=t.h(l,D,E);te.hide=()=>[q];const N={...ke(r,Qo,Sn)};return r.prop&&(N.prop=`${r.prop}_item`),t.h(a,N,te)}}}}const{componentName:sh,create:uh,scope:ch}=ue("actionsheet-item"),Pl=uh(ih(sh,ch,Se,$n)),er={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}},ql={...vl,...er,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 zl=e=>{const n=t.unref(e);if(fh(n)){const a=n.innerWidth,l=n.innerHeight;return{top:0,left:0,right:a,bottom:l,width:a,height:l}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},tr=10;function nr(e,n){return e>n&&e>tr?"horizontal":n>e&&n>tr?"vertical":""}function Lt(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function _t(){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",a=()=>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=nr(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:a,state:e}}function lr(){const e=t.ref(0),n=t.ref(0),a=t.ref(0),l=t.ref(0),o=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",y=()=>h.value==="horizontal",x=()=>{i.value=0,u.value=0,s.value=0,c.value=0,h.value="",a.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,o.value=f.clientX,r.value=f.clientY}else{const m=g;i.value=m.clientX-e.value,u.value=m.clientY-n.value,o.value=m.clientX,r.value=m.clientY}s.value=Math.abs(i.value),c.value=Math.abs(u.value),l.value=Date.now()-a.value,h.value||(h.value=nr(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}a.value=Date.now()},reset:x,startX:e,startY:n,startTime:a,duration:l,moveX:o,moveY:r,deltaX:i,deltaY:u,offsetX:s,offsetY:c,direction:h,isVertical:d,isHorizontal:y}}let ar=36;function dh(){return ar}function hh(e){ar=e}function Ge(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function jl(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function mh(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function ft(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function or(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let gh=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function yh(){const e=t.getCurrentInstance();return new gh(e.proxy)}function rr(e,n,a){const l=Ge(e,n),o=Ge(e,a);if(l!==o)return!1;const r=ft(e,n),i=ft(e,a);return r===i}function ph(e,n,a,l){if(a.length==0)return[];Array.isArray(n)||(n=[n]);const o=[],r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<a.length;i++){const u=n[i];let c=a[i].findIndex(h=>{if(r==="text")return Ge(e,h)===u;if(r==="value"){let d=ft(e,h);return d==null&&(d=Ge(e,h)),d===u}else if(r==="item")return rr(e,h,u)});if(c==-1)break;o.push(c)}else{let i=a[0];for(let u=0;u<n.length;u++){const s=n[u];let c=i.findIndex(d=>{if(r==="text")return Ge(e,d)===s;if(r==="value"){let y=ft(e,d);return y==null&&(y=Ge(e,d)),y===s}else if(r==="item")return rr(e,d,s)});if(c==-1)break;o.push(c);const h=jl(e,i[c]);if(!Array.isArray(h))break;i=h}}return o}function ir(e,n,a,l){if(a.length==0)return null;const o={texts:[],values:[],items:[]},r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<a.length;i++){const u=a[i];let s=n[i];s<0&&s>=u.length&&(s=0);const c=u[s],h=Ge(e,c);if(o.texts.push(h),o.items.push(c),r==="text")o.values.push(h);else if(r==="value"){let d=ft(e,c);d==null&&(d=h),o.values.push(d)}else o.values.push(c)}else{let i=a[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=Ge(e,c),d=Object.assign({},c);if(d.children=null,o.texts.push(h),o.items.push(d),r==="text")o.values.push(h);else if(r==="value"){let y=ft(e,c);y==null&&(y=h),o.values.push(y)}else o.values.push(d);if(!Array.isArray(c.children))break;i=c.children}}return o}function sr(e){return{text:e,value:e}}const bh=15,vh=300,wh=200,{create:Sh}=ue("picker-column");function xh(e){e.stopPropagation()}function Th(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),xh(e)}const Ch=Sh({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},...er},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${ge(e.visibleItemCount)*+e.itemHeight}px`})),o=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=F=>F>=d.currIndex+8||F<=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=F=>`transform: rotate3d(1, 0, 0, ${-d.rotation*F}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}),y=F=>Ge(e,F),x=F=>ft(e,F),b=lr(),p=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},g=(F,z=!1,$=!1)=>{if(d.currIndex=F,z){const I=()=>{d.moving=!1,n("update:modelValue",F),n("change",F)};$?d.transitionEndTrigger=I:I()}},H=(F,z,$)=>{let I=F+d.startDistance;if(z==="end"){const w=-(e.source.length-1)*e.itemHeight;I<w&&(I=w),I>0&&(I=0);let K=Math.abs(Math.round(-I/e.itemHeight));const J=-K*e.itemHeight,L=`${(K+1)*d.rotation}deg`,V=$?$>0:!1;g(K,!0,V),m(J,z,$,L)}else{let w=(-I/e.itemHeight+1)*d.rotation;const K=(e.source.length+1)*d.rotation,J=0;if(w=Math.min(Math.max(w,J),K),e.threeDimensional&&(w<J||w>K))return;m(I,null,void 0,`${w}deg`)}},m=(F=0,z,$=wh,I)=>{z==="end"?d.scrollTime=$:d.scrollTime=0,d.deg=I,d.scrollDistance=F},f=(F,z)=>(F=Math.abs(F/z)/.003*(F<0?-1:1),F),T=F=>{e.readonly||(d.startDistance=d.scrollDistance,b.start(F),d.transitionEndTrigger=null)},M=F=>{e.readonly||(d.moving=!0,b.move(F),b.isVertical()&&(d.moving=!0,Th(F)),H(b.deltaY.value,"",0))},A=()=>{if(e.readonly)return;const F=b.deltaY.value,z=b.duration.value;if(z<vh&&Math.abs(F)>bh){const I=f(F,z);H(I,"end",e.swipeDuration)}else H(F,"end",0)};return t.watch(()=>e.modelValue,F=>{const z=d.currIndex-F;if(z!==0){d.currIndex=F,d.startDistance=d.scrollDistance;const $=z*e.itemHeight;H($,"",0)}}),t.watch(()=>e.source,F=>{if(d.currIndex>=F.length){const I=(F.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,H(I,"end",0)}}),t.watch(()=>e.visible,F=>{F===!1&&p()}),t.onMounted(()=>{const F=-e.modelValue*e.itemHeight;H(F)}),{classes:a,styles:l,contentClasses:o,itemText:y,itemValue:x,...t.toRefs(d),roller:h,getItemText:Ge,onTouchStart:T,onTouchMove:M,onTouchEnd:A,isHidden:i,setRollerStyle:s,touchRollerStyle:u,touchTileStyle:c,stopMomentum:p}}}),$h={key:1,class:"fox-picker__item-tile"};function kh(e,n,a,l,o,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=Ne(Ch,[["render",kh]]),{create:Nh,componentName:Eh,scope:Vh}=ue("picker"),Ih=Nh({components:{PickerColumn:Dh,Popup:ut},props:{...ql},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=ve.useFoxI18n(Vh),o=a(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),i=t.ref(dh());t.watch(()=>e.visible,w=>{w&&i.value<=0&&setTimeout(()=>{if(r.value){const K=zl(r.value);i.value=K.height,hh(i.value)}},50)});const u=t.computed(()=>({[Eh]:!0})),s=yh(),c=t.ref("singleColumn");let h=t.ref([]);t.watch([()=>e.source,()=>e.params],async([w,K])=>{if(w){let J=await s.load("select",w,K);if(J.length>0){let L=J[0];if(Array.isArray(L)){if(typeof L[0]=="string"){let V=J,P=[];V.forEach(R=>{let Z=R.map(U=>sr(U));P.push(Z)}),h.value=P}else h.value=J;c.value="multipleColumn"}else if(typeof L=="string"){let V=J,P=[],R=V.map(Z=>sr(Z));P.push(R),h.value=P,c.value="singleColumn"}else{const V=jl(e,L);Array.isArray(V)?(c.value="cascade",h.value=[J]):(c.value="singleColumn",h.value=[J])}}else h.value=[]}},{immediate:!0});const d=t.ref([]),y=t.ref(e.modelValue),x=t.ref([]),b=t.ref([]);t.watch([()=>e.modelValue,()=>h.value],([w,K])=>{let J=ph(e,w,K,c.value);if(!Pe(J,b.value)){b.value=J;let L=ir(e,J,K,c.value);L&&(d.value=L.texts,n("update:text",d.value))}});const p=t.ref(e.visible);t.watch(()=>e.visible,w=>{p.value=w});const g=w=>{let K=or(e,w);return Le(K)?K.defaultIndex??0:0},H=w=>{if(e.readonly===!0)return!0;let K=or(e,w);return Le(K)?K.readonly??!1:!1},m=(w,K)=>{let J=b.value;J[w]=K;for(let V=0;V<w;V++)J[V]==null&&(J[V]=g(V));if(c.value==="cascade")for(let V=w+1;V<T.value.length;V++){let P=g(V);V<J.length?J[V]=P:J.push(P)}else for(let V=J.length;V<T.value.length;V++){let P=g(V);J.push(P)}b.value=J;let L=ir(e,J,h.value,c.value);L&&(d.value=L.texts,y.value=L.values,x.value=L.items)},f=w=>w<b.value.length?b.value[w]:g(w),T=t.computed(()=>{if(h.value.length==0)return[];if(c.value=="singleColumn"||c.value=="multipleColumn")return h.value;let w=[],K=0,J=h.value[0],L=0;for(;;){let V=J.map(Z=>{let U=Object.assign({},Z);return mh(e,U,null),U});w.push(V),K>=b.value.length?L=0:L=b.value[K],(L<0||L>=J.length)&&(L=0);let P=J[L];const R=jl(e,P);if(!Array.isArray(R))break;J=R,K++}return w}),M=t.computed(()=>ge(+e.visibleItemCount-1)/2*i.value),A=(w=!1)=>{if(e.readonly===!0){w&&n("update:visible",!1);return}let K=h.value.length-1;for(;K>=0&&!(b.value[K]===null||b.value[K]===void 0);K--);if(K>=0&&m(K,0),c.value==="singleColumn"){let J=y.value.length>0?y.value[0]:"",L=x.value.length>0?x.value[0]:null;n("update:modelValue",J),n("update:text",d.value),n("change",J,L),w&&(n("confirm",J),n("update:visible",!1))}else n("update:modelValue",y.value),n("update:text",d.value),n("change",y.value,x.value),w&&(n("confirm",y.value),n("update:visible",!1))};return{...o,pickerLineRef:r,classes:u,columns:T,dataType:c,show:p,itemHeight:i,top:M,isReadonly:H,getIndex:f,change:(w,K)=>{if(m(w,K),e.isAutoBackFill){const J=!p.value;A(J)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{A(!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)}}}}),Oh={class:"fox-picker__bar"},Ah={class:"fox-picker__title"},Fh={class:"fox-picker__bar__action"},Bh={class:"fox-picker__column"};function Mh(e,n,a,l,o,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",Oh,[t.createElementVNode("view",Ah,t.toDisplayString(e.title),1),t.createElementVNode("view",Fh,[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",Bh,[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 Pt=Ne(Ih,[["render",Mh]]),ur={...ql,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,a){return{props:{...we,...De,...ur},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(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??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=e,b=t.computed(()=>({[x]:!0})),p=Ee(t.computed(()=>l.textAlign),"textAlign"),g=t.computed(()=>({textAlign:p.value??"right"})),H=he(l,"modelValue",null,c),m=t.ref([]),f=t.computed(()=>Array.isArray(m.value)?m.value.join(" "):m.value),T=t.ref(!1),M=()=>{T.value=!0},A=R=>{T.value=R},F=R=>{H.value=R,c("update:modelValue",R)},z=R=>{m.value=R,Array.isArray(R)&&R.length===0?c("update:text",R[0]):c("update:text",R)},$=(R,Z)=>{c("change",R,Z)};let I=he(l,"hintText"),w=t.ref(!1);const K=R=>{let U=R.target.value;y.value=!0,de(I.value)||(w.value=!0),c("focus",U,R)},J=R=>{setTimeout(()=>{w.value&&(w.value=!1),y.value=!1},0);let U=R.target.value;l.maxLength&&U.length>Number(l.maxLength)&&(U=U.slice(0,Number(l.maxLength))),T.value?setTimeout(()=>{c("blur",U,R)},50):c("blur",U,R)},L=()=>{c("clear","")},V=t.computed(()=>Ke(l.unit)>0),P=t.ref();return be({focus:()=>{P?.value.focus()},blur:()=>{P?.value.blur()},select:()=>{P?.value.select()},setDisabled:R=>{r.value=R},setReadonly:R=>{u.value=R}}),()=>{const R={class:b.value,style:g.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,clearable:ce(l.clearable),readonly:!0,value:f.value,onClick:M,onFocus:K,onBlur:J},Z={};o.slots.prepend&&(Z.prepend=o.slots.prepend),o.slots.append&&(Z.append=o.slots.append),o.slots.prefix&&(Z.prefix=o.slots.prefix),o.slots.suffix?Z.suffix=o.slots.suffix:V.value?Z.suffix=()=>[l.unit]:Z.suffix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.ArrowDown)});const U=[],j=t.h(O.ElInput,R,Z);U.push(j);const te={default:()=>U};o.slots.default&&(te.label=o.slots.default),o.slots.fixedTip&&(te.fixedTip=o.slots.fixedTip);const D=kt(l,ql);D.disabled=!1,D.readonly=i.value||s.value,D.visible=T.value,D["onUpdate:visible"]=A,D.modelValue=H.value,D["onUpdate:modelValue"]=F,D.text=m.value,D["onUpdate:text"]=z,D.onClear=L,D.onChange=$;const E=t.h(Pt,D);te.hide=()=>[E];const _={...ke(l,ur),hintText:I.value,hintVisible:w.value};return l.prop&&(_.prop=`${l.prop}_item`),t.h(a,_,te)}}}}const{componentName:Lh,create:_h,scope:Ph}=ue("picker-item"),Hl=_h(Rh(Lh,Ph,Se)),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,Function]},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},cr=(e,n)=>n[e.textKey],qt=(e,n)=>n[e.valueKey],zh=(e,n)=>n[e.visibleKey],fr=(e,n)=>n[e.disabledKey],jh=(e,n)=>{const a=n[e.doitKey];return ce(a)},Hh=(e,n)=>{const a=n[e.numKey];return a==null?null:ge(n[a])},dr=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function Kh(e,n,a,l=!1){return{props:{...qh},emits:["update:modelValue","change"],setup(o,{slots:r,emit:i}){const u=t.computed(()=>{const D={};return D[`${e}`]=!0,D}),s=t.computed(()=>{const D={};return D[`${e}__titles`]=!0,D[`${o.direction}`]=!0,o.align==="left"&&(D.left=!0),o.scroll===!0&&(D.scrollable=!0),o.shape&&(D[`${o.shape}`]=!0),D}),c=t.computed(()=>({})),h=t.computed(()=>{if(!o.gutter)return 0;const D=pe(o.gutter);return D<=0?0:D}),d=t.ref(o.modelValue);t.watch(()=>o.modelValue,D=>{d.value!==D&&(d.value=D,R(!1))});const y=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),x=t.computed(()=>{const D={};return p.value||(D.display="none"),D}),b=t.ref(),p=t.ref(!1),g=()=>{const D=!p.value;H(D)},H=D=>{const E=D;E?(p.value=E,setTimeout(()=>{y.value["fox-tabs-bar__popup--show"]=!0,y.value["fox-tabs-bar__popup--hide"]=!1},0)):(y.value["fox-tabs-bar__popup--show"]=!1,y.value["fox-tabs-bar__popup--hide"]=!0,b.value?b.value.addEventListener("transitionend",()=>{p.value=!1},{once:!0}):setTimeout(()=>{p.value=!1},0))},m=t.ref(),f=t.ref([]),T=(D,E)=>{f.value[E]=D},M=D=>E=>{T(E,D)},A=(D,E)=>{const q=m.value,_=f.value;if(!q||!_||!_[D])return;const N=_[D];let Q=0;o.direction==="vertical"?Q=N.offsetTop-(q.offsetHeight-N.offsetHeight)/2:Q=N.offsetLeft-(q.offsetWidth-N.offsetWidth)/2,F(q,Q,E?0:.3,o.direction)},F=(D,E,q,_)=>{let N=0;const Q=_==="horizontal"?D.scrollLeft:D.scrollTop,le=q===0?1:Math.round(q*1e3/16);function G(){_==="horizontal"?D.scrollLeft+=(E-Q)/le:D.scrollTop+=(E-Q)/le,++N<le&&Hn(G)}G()},z=(D,E)=>{const q=qt(o,D),_={};return _[`${e}__titles-item`]=!0,_.disabled=fr(o,D),_.active=q===d.value,o.shape&&(_[`${o.shape}`]=!0),o.ellipsis&&(_.ellipsis=!0),E&&(E.class&&(_[`${E.class}`]=!0),E.disabled===!0&&(_.disabled=E.disabled)),_},$=(D,E)=>{const q={};if(h.value>0){const _=Math.abs(h.value/2);o.direction==="vertical"?(q["margin-top"]=`${_}px`,q["margin-bottom"]=`${_}px`):(q["margin-left"]=`${_}px`,q["margin-right"]=`${_}px`)}return E&&E.style&&Object.assign(q,E.style),q},I=(D,E)=>`${qt(o,D)??E}`,w=(D,E)=>{const q=qt(o,D),_={};_[`${e}__popup-item`]=!0,_.disabled=fr(o,D),_.active=q===d.value,o.shape&&(_[`${o.shape}`]=!0);const N=dr(o,D,E);return N&&N.disabled===!0&&(_.disabled=N.disabled),_},K=t.computed(()=>(o.data??[]).filter(E=>zh(o,E)!==!1)),J=(D,E)=>{const q=qt(o,D);if(d.value==q)return;const _=()=>{d.value=q,o.scroll&&A(E,!1),i("update:modelValue",q),i("change",D,E)};if(typeof o.beforeChange=="function"){const N=o.beforeChange(D,E);Wt(N)?N.then(Q=>{Q!==!1&&_()}).catch(()=>{_()}):N!==!1&&_()}else _()},L=(D,E)=>function(){J(D,E)},V=(D,E)=>{J(D,E),H(!1)},P=(D,E)=>function(){V(D,E)},R=D=>{if(!Array.isArray(o.data)||!o.scroll)return;const E=o.data.findIndex(q=>qt(o,q)===d.value);E!==-1&&A(E,D)};t.watch(()=>o.data,()=>{setTimeout(R,0)}),t.onMounted(()=>{R(!0)});const Z=(D,E)=>{if(r.item)return r.item({item:D,index:E});const q=dr(o,D,E),_=[];if(r.text){const G=r.text({item:D,index:E});_.push(G)}else{const G=[];if(q?.doit===!0||jh(o,D)){const W={class:[`${e}__titles-item-tip`,"doit"]},X=t.h("view",W);G.push(X)}const C=q?.num??Hh(o,D);if(C){let W="";const X=ge(C);X>=100?W="99+":W=`${X}`;const k={class:[`${e}__titles-item-tip`,"num"]},Y=t.h("view",k,[W]);G.push(Y)}const B={class:`${e}__titles-item-text`};G.push(cr(o,D));const S=t.h("view",B,G);_.push(S)}const N={class:`${e}__titles-item-line`},Q=t.h("view",N);_.push(Q);const le={ref:M(E),class:z(D,q),style:$(D,q),key:I(D,E),onClick:L(D,E)};return t.h("view",le,_)},U=()=>{const D=r.default?r.default():[];if(D.length===0)for(let q=0;q<K.value.length;q++){const _=K.value[q],N=Z(_,q);D.push(N)}const E={ref:m,class:s.value,style:c.value};return t.h("view",E,D)},j=()=>{let D=null;r.navigation?D=r.navigation():D=t.h(a);const E={class:`${e}__navigation`,onClick:g};return t.h("view",E,[D])},te=()=>{const D=[];for(let q=0;q<K.value.length;q++){const _=K.value[q];let N=null;r.popupItem?N=r.popupItem({item:_,index:q}):N=cr(o,_);const Q={class:w(_,q),key:I(_,q),onClick:P(_,q)},le=t.h("view",Q,[N]);D.push(le)}const E={class:y.value,style:x.value};return t.h("view",E,D)};return()=>{const D=[],E=U();if(D.push(E),o.showQuickNavigation){const _=j();D.push(_);const N=te();D.push(N)}const q={class:u.value};return t.h("view",q,D)}}}}const{create:Wh,componentName:Yh,scope:Uh}=ue("tabs-bar"),kn=Wh(Kh(Yh,Uh,xu,!1)),hr=Symbol("TabsStatesKey"),Gh={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1}},Xh=15,Zh=300,Jh=200;function Qh(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function mr(e,n=0,a,l,o=Jh){a==="end"?e.style.transition=`transform ${o}ms linear`:e.style.transition="transform 0ms linear",l==="horizontal"?e.style.transform=`translate3d(${n}px, 0, 0)`:e.style.transform=`translate3d(0, ${n}px, 0)`}let 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(n,a,l,o=1){this.onStart=n,this.onMove=a,this.onEnd=l,this.momentumReduceRatio=o,this.isTouch=Lt()}open(n){this.el=n;const a=_t(),l=(o,r,i)=>{const u={delta:o,direction:r,type:i};this.onMove(u)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=o=>{if(this.moving)return;a.start(o),this.transitionEndTrigger=()=>{n.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,n.removeEventListener("transitionend",this.transitionend),n.addEventListener("transitionend",this.transitionend),n.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),n.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&n.addEventListener("touchcancel",this.touchend);const r={delta:0,type:"start",direction:this.direction};this.onStart(r)},this.touchmove=o=>{if(!this.moving)return;a.move(o);let r=0;if(this.direction==="horizontal"){if(a.isVertical())return;r=a.state.deltaX}else{if(a.isHorizontal())return;r=a.state.deltaY}l(r,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;n.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),n.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&n.removeEventListener("touchcancel",this.touchend);let o=0;if(this.direction==="horizontal"){if(a.isVertical()){this.moving=!1;return}o=a.state.deltaX}else{if(a.isHorizontal()){this.moving=!1;return}o=a.state.deltaY}const r=a.state.duration;r<Zh&&Math.abs(o)>Xh?(o=Qh(o,r,this.momentumReduceRatio),l(o,this.direction,"end")):l(o,this.direction,"end")},n.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const n=this.el;this.transitionend&&n.addEventListener("transitionend",this.transitionend),this.touchstart&&n.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&n.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&n.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&n.addEventListener("touchcancel",this.touchcancel),this.el=null}};function tm(e,n,a,l=1){return new em(e,n,a,l)}function nm(e,n,a=!1){return{props:{...Gh},emits:["update:modelValue","change"],setup(l,{emit:o,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:T=>{const M={name:T};u.current.value===T&&(M.loaded=!0),i.value.push(M),t.triggerRef(i)},remove:T=>{const M=i.value.findIndex(A=>A.name===T);M!==-1&&i.value.splice(M,1)},isLoaded:T=>{if(!l.lazy)return!0;const M=i.value.findIndex(A=>A.name===T);return M!==-1?u.current.value?i.value[M].loaded??!1:M===0:!1}};t.provide(hr,u);const s=T=>{const M=i.value.findIndex(A=>A.name===T);M!==-1&&(i.value[M].loaded=!0,t.triggerRef(i))};t.watch([()=>l.modelValue,()=>l.direction],([T,M])=>{u.current.value!==T&&(u.current.value=T??"",s(T??"")),u.direction.value!==M&&(u.direction.value=M)});const c=t.ref(null),h=t.ref(null),d=t.computed(()=>({[e]:!0,[`${l.direction}`]:!0}));let y=!0;const x=t.computed(()=>{const T={},M=i.value.length;if(M<=0)return T;const A=i.value.findIndex(F=>F.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(T.height=`${M*u.tabHeight.value}px`,A!==-1&&(T.transform=`translate(0, -${A*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(T.width=`${M*u.tabWidth.value}px`,A!==-1&&(T.transform=`translate(-${A*u.tabWidth.value}px, 0)`)),y&&(y=!1,T.transition="transform 0s ease"),T}),b={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},p=T=>{const M=i.value.length,A=i.value.findIndex(F=>F.name===u.current.value);b.moved=0,T.direction==="vertical"?(b.min=-1*(u.tabHeight.value*(M-1)+u.tabHeight.value/4),b.max=u.tabHeight.value/4,b.start=-A*u.tabHeight.value,b.itemDistance=u.tabHeight.value):(b.min=-1*(u.tabWidth.value*(M-1)+u.tabWidth.value/4),b.max=u.tabWidth.value/4,b.start=-A*u.tabWidth.value,b.itemDistance=u.tabWidth.value)},g=T=>{const M=h.value;if(!M)return;let A=b.start+T.delta;if(A>b.max?A=b.max:A<b.min&&(A=b.min),T.type==="move")mr(M,A,"move",T.direction,300);else if(T.type==="end"){let F=Math.floor(Math.abs(A)*1/b.itemDistance);const z=Math.abs(A)%b.itemDistance;b.start>A?z>=b.itemDistance*b.triggerAutoMoveRatio&&(F+=1):z>b.itemDistance-b.itemDistance*b.triggerAutoMoveRatio&&(F+=1),A=-1*F*b.itemDistance,mr(M,A,"end",T.direction,300),b.moved=A;const $=i.value[F].name;u.current.value=$??"",s($??""),o("update:modelValue",$)}},H=()=>{};let m=null,f=null;return t.onMounted(()=>{if(!c.value)return;const T=()=>{const M=sn(c.value);u.tabWidth.value=M.width,u.tabHeight.value=M.height};window.ResizeObserver&&(f=new window.ResizeObserver(T),f.observe(c.value)),T(),l.draggle&&(m=tm(p,g,H),m.open(h.value))}),t.onBeforeUnmount(()=>{f&&(f.disconnect(),f=null),m&&m.close()}),()=>{const T={class:`${e}__panes`,style:x.value,ref:h},M=t.h("view",T,[r?.default?.()]),A={class:d.value,ref:c};return t.h("view",A,[M])}}}}const{create:lm,componentName:am,scope:om}=ue("tabs-container"),Dn=lm(nm(am,om,!1)),rm={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1}};function im(e,n,a){return{props:{...rm},setup(l,{emit:o,slots:r}){const i=t.inject(hr);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?ce(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`},y=l.emptyIcon??a,x=t.h(y,d),b={class:`${e}__empty-text`},p=l.emptyText??"Loading",g=t.h("view",b,[p]),H={class:`${e}__empty`},m=t.h("view",H,[x,g]);c.push(m)}const h={class:`${e}`,style:u.value};return t.h("view",h,c)}}}}const{create:sm,componentName:um,scope:cm}=ue("tabs-pane"),Nn=sm(im(um,cm,bn)),fm={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 dm(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function gr(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function yr(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function hm(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Kl(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function pr(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function br(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Wl(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}class mm{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await Reflect.apply(a,null,[l]);const o=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await Reflect.apply(o,null,[a,l]))}}function gm(){const e=t.getCurrentInstance();return new mm(e.proxy)}function ym(e,n,a,l){return{props:{...fm},emits:["update:modelValue","change","loaded-data"],setup(o,{slots:r,emit:i}){const u=e,s=gm(),c=t.ref([]),h=t.computed(()=>c.value.filter(E=>hm(o,E)!==!1)),d=t.ref(-1),y=()=>{const E=o.modelValue,q=h.value.findIndex(_=>gr(o,_)===E);d.value!==q&&(d.value=q,o.scroll&&te(q))};t.watch([()=>o.modelValue,h],()=>{y()});const x=E=>d.value===E,b=E=>{if(E<0&&E>=h.value.length)return!1;const q=h.value[E],N=(Wl(o,q,E)??{}).status??Kl(o,q);return x(E)||N},p=t.computed(()=>{const E={[u]:!0};return o.mode?E[`is-${o.mode}`]=!0:o.direction&&(E[`is-${o.direction}`]=!0),o.scroll&&(E["is-scroll"]=!0),E}),g=t.computed(()=>({})),H=(E,q,_,N,Q)=>{const le={[`${u}__step`]:!0};return Q&&(le[`${Q}`]=!0),le[`${m.value}`]=!0,N&&(le["is-doit"]=!0),E===d.value?le["is-active"]=!0:q==="done"?le["is-done"]=!0:q==="error"?le["is-error"]=!0:q==="half"?le["is-half"]=!0:_?le["is-disabled"]=!0:le["is-normal"]=!0,le},m=t.computed(()=>{if(o.mode==="simple")return"start";let E=o.align;return E||(o.direction==="vertical"?E="start":E="center"),E}),f=(E,q={})=>{const _={...q};return m.value==="start"&&E===h.value.length-1?_.flex="0 0 auto":o.step?o.direction==="vertical"?_.height=o.step:_.width=o.step:_.flex="1 1 100%",_},T=(E,q)=>{let _={};if(q<h.value.length-1){const N=q+1;b(q)&&b(N)?o.direction==="vertical"?_.height="100%":_.width="100%":_.opacity="0"}return _},M=E=>h.value.length-1===E,A=(E,q)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&q>d.value||d.value===q)return;const _=d.value,N=q;d.value=q,o.scroll&&te(q);const Q=gr(o,E);i("update:modelValue",Q);const le={fromIndex:_,currentIndex:N,item:E,items:h.value,clickNavigatePolicy:o.clickNavigatePolicy};i("change",Q,le)},F=t.ref(!0),z=async(E,q)=>{try{const _=await s.load("stesbar",E,q);Array.isArray(_)&&(c.value=_),F.value=!1}catch(_){console.error("[FoxUI] Load StepsBar Data Fail",_),c.value=[]}setTimeout(()=>{i("loaded-data")},250)};t.watch([()=>o.data,()=>o.params],async([E,q])=>{E&&z(E,q)},{immediate:!0});const $=(E,q,_,N,Q)=>{let le=null;if(r.icon)le=r.icon({item:E,index:q,status:N});else if(N==="done"){const C={};o.iconSize&&(C.width=o.iconSize,C.height=o.iconSize);const B=o.icon??a;le=t.h(B,C)}else{const C=_??`${q+1}`;le=t.h("span",{},[C])}const G={class:"fox-steps-bar__icon",onClick:()=>{Q||A(E,q)}};return t.h("view",G,[le])},I=(E,q,_)=>{const N=t.h("i",{class:"fox-steps-bar__line-inner",style:T(E,q)});return t.h("view",{class:"fox-steps-bar__line"},[N])},w=()=>{let E=null;if(r.markIcon)E=r.markIcon();else{const _={};o.iconSize&&(_.width=o.markIconSize,_.height=o.markIconSize);const N=o.markIcon??l;E=t.h(N,_)}return t.h("view",{class:"fox-steps-bar__mark"},[E])},K=(E,q,_,N,Q)=>{const le=[];if(!M(q)){const B=I(E,q);le.push(B)}const G=$(E,q,_,N,Q);le.push(G);const C={class:"fox-steps-bar__head"};return t.h("view",C,le)},J=(E,q,_,N)=>{let Q=null;r.main?Q=r.main({item:E,index:q,status:_}):Q=dm(o,E);const le={class:"fox-steps-bar__main",onClick:()=>{N||A(E,q)}};return t.h("view",le,[Q])},L=(E,q,_)=>{let N=null;if(r.sub){N=r.sub({item:E,index:q,status:_});const Q={class:"fox-steps-bar__sub"};return t.h("view",Q,[N])}return null},V=(E,q)=>{const _=Wl(o,E,q)??{},N=_.status??Kl(o,E);let Q=yr(o,E);_.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const le=_.label??br(o,E),G=[],C=$(E,q,le,N,Q);C&&G.push(C);const B=J(E,q,N,Q);if(B&&G.push(B),!M(q)){const ee=I(E,q);ee&&G.push(ee)}const S=t.h("view",{class:"fox-steps-bar__head"},G),W=_.class,X=_.style??{};let k=pr(o,E);_.doit===!0&&(k=!0);const Y={ref:j(q),class:H(q,N,Q,k,W),style:f(q,X)};return t.h("view",Y,[S])},P=(E,q)=>{const _=Wl(o,E,q)??{},N=_.status??Kl(o,E);let Q=yr(o,E);_.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const le=_.label??br(o,E),G=[],C=o.layout;for(let k of C)if(k==="head"){const Y=K(E,q,le,N,Q);G.push(Y)}else if(k==="main"){const Y=J(E,q,N,Q);G.push(Y)}else if(k==="sub"){const Y=L(E,q,N);G.push(Y)}else if(k==="mark"){const Y=w();G.push(Y)}const B=_.class,S=_.style??{};let W=pr(o,E);_.doit===!0&&(W=!0);const X={ref:j(q),class:H(q,N,Q,W,B),style:f(q,S)};return t.h("view",X,G)},R=t.ref(),Z=t.ref([]),U=(E,q)=>{Z.value[q]=E},j=E=>q=>{U(q,E)},te=(E,q)=>{const _=R.value,N=Z.value;if(!_||!N||!N[E])return;const Q=N[E];let le=0;o.direction==="vertical"?le=Q.offsetTop-(_.offsetHeight-Q.offsetHeight)/2:le=Q.offsetLeft-(_.offsetWidth-Q.offsetWidth)/2,D(_,le,.3,o.direction)},D=(E,q,_,N)=>{let Q=0;const le=N==="horizontal"?E.scrollLeft:E.scrollTop,G=Math.round(_*1e3/16);function C(){N==="horizontal"?E.scrollLeft+=(q-le)/G:E.scrollTop+=(q-le)/G,++Q<G&&Hn(C)}C()};return()=>{const E=[];if(o.mode==="simple")for(let _=0;_<h.value.length;_++){const N=h.value[_],Q=V(N,_);E.push(Q)}else for(let _=0;_<h.value.length;_++){const N=h.value[_],Q=P(N,_);E.push(Q)}const q={ref:R,class:p.value,style:g.value};return t.h("view",q,E)}}}}const{componentName:pm,create:bm,scope:vm}=ue("steps-bar"),Yl=bm(ym(pm,vm,xo,ju)),vr=new Date().getFullYear(),wm={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"},wr=(e,n,a)=>{let l;if(et(n)?l=n:typeof n=="string"&&Ke(n)>0?l=ie.parser(n,a):l=new Date,l.toString()==="Invalid Date")return null;let o=Math.max(l.getTime(),e.minDate.getTime());return o=Math.min(o,e.maxDate.getTime()),new Date(o)},Sm=(e,n,a)=>{et(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),ie.format(new Date(l),a)};let xm={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(vr-10,0,1),validator:et},maxDate:{type:Date,default:()=>new Date(vr+10,11,31),validator:et},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:Tm,scope:Cm}=ue("date-picker"),$m=Tm({components:{Picker:Pt},props:{...xm},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=ve.useFoxI18n(Cm),l={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds")},o=t.ref(!1);t.watch(()=>e.visible,m=>{o.value=m});function r(m,f){return new Date(m,f,0).getDate()}const i=(m,f)=>{const T=e[`${m}Date`],M=T.getFullYear();let A=1,F=1,z=0,$=0;m==="max"&&(A=12,F=r(f.getFullYear(),f.getMonth()+1),z=23,$=59);const I=$;return f.getFullYear()===M&&(A=T.getMonth()+1,f.getMonth()+1===A&&(F=T.getDate(),f.getDate()===F&&(z=T.getHours(),f.getHours()===z&&($=T.getMinutes())))),{[`${m}Year`]:M,[`${m}Month`]:A,[`${m}Date`]:F,[`${m}Hour`]:z,[`${m}Minute`]:$,[`${m}Seconds`]:I}},u=t.computed(()=>{if(!y.value)return[];const{maxYear:m,maxDate:f,maxMonth:T,maxHour:M,maxMinute:A,maxSeconds:F}=i("max",y.value),{minYear:z,minDate:$,minMonth:I,minHour:w,minMinute:K,minSeconds:J}=i("min",y.value);let L=[{type:"year",range:[z,m]},{type:"month",range:[I,T]},{type:"day",range:[$,f]},{type:"hour",range:[w,M]},{type:"minute",range:[K,A]},{type:"seconds",range:[J,F]}];switch(e.type){case"date":L=L.slice(0,3);break;case"datetime":L=L.slice(0,5);break;case"time":L=L.slice(3,6);break;case"year-month":L=L.slice(0,2);break;case"month-day":L=L.slice(1,3);break;case"datehour":L=L.slice(0,4);break;case"hour-minute":L=L.slice(3,5);break}return L}),s=(m,f,T)=>{if(!(f>m))return null;const M=[];for(;m<=f;)e.isShowChinese?M.push({text:m+l[T],value:m}):M.push({text:`${m}`,value:m}),T==="minute"?m+=e.minuteStep:m++;return M},c=t.computed(()=>{let m=[];return u.value.forEach(f=>{let T=s(f.range[0],f.range[1],f.type);T&&m.push(T)}),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(),y=t.ref(null);t.watch(()=>e.modelValue,m=>{let f;if(typeof m=="string"?m.length==0?f=new Date:e.valueFormat?f=wr(e,e.modelValue,e.valueFormat):f=wr(e,m,wm[e.type]):et(m)?f=m:f=new Date,!!f&&(!y.value||f.getTime()!==y.value.getTime())){y.value=f;let T=[];u.value.forEach(M=>{let A=h(M.type,f);T.push(A)}),d.value=T}},{immediate:!0});const x=m=>{if(e.type==="date"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1));M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M)}else if(e.type==="datetime"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1)),A=m[3],F=m[4];M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M,A,F)}else if(e.type==="time"){const f=m[0],T=m[1],M=m[2],A=y.value??new Date,F=new Date(A.getFullYear(),A.getMonth(),A.getDate(),f,T,M);y.value=F}else if(e.type==="year-month"){const f=m[0],T=m[1]-1;y.value=new Date(f,T)}else if(e.type==="month-day"){const T=(y.value??new Date).getFullYear(),M=m[0]-1,A=Math.min(m[1],r(T,M+1));A!==m[1]&&(m[1]=A);const F=new Date(T,M,A);y.value=F}else if(e.type==="datehour"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1)),A=m[3];M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M,A)}else if(e.type==="hour-minute"){const f=m[0],T=m[1],M=y.value??new Date,A=new Date(M.getFullYear(),M.getMonth(),M.getDate(),f,T);y.value=A}d.value=m};return{columns:c,dateIndexs:d,show:o,onChange:m=>{x(m)},onClose:()=>{o.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:m=>{x(m),o.value=!1;let f=y.value??new Date;if(e.valueFormat){let T=Sm(e,f,e.valueFormat);n("update:modelValue",T)}else n("update:modelValue",f);n("update:visible",!1),n("confirm",m)},onClear:()=>{n("clear")}}}});function km(e,n,a,l,o,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 Ul=Ne($m,[["render",km]]),En=(e,n,a)=>e.map(l=>{const{value:o="value",text:r="text",children:i="children"}=a??{},{[o]: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=En(d.children,d,a)),d}),Sr=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&Sr(l.children,n)},Dm={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Nm=(e,n)=>{const a={...Dm,...n||{}},{topId:l,idKey:o,pidKey:r,sortKey:i}=a;let u=[],s={};return e.forEach(c=>{c={...c};const{[o]:h,[r]:d}=c,y=s[d]=s[d]||[];!u.length&&d===l&&(u=y),y.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 xr{nodes;config;constructor(n,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=En(n,null,this.config)}updateChildren(n,a){a?a.children=En(n,a,this.config):this.nodes=En(n,null,this.config)}getNodeByValue(n){let a;return Sr(this.nodes,l=>{if(l.value===n)return a=l,!0}),a}getPathNodesByValue(n){if(!n.length)return[];const a=[];let l=this.nodes;for(;l&&l.length;){const o=l.find(r=>r.value===n[r.level]);if(!o)break;a.push(o),l=o.children}return a}isLeaf(n,a){const{leaf:l,children:o}=n,r=Array.isArray(o)&&!!o.length;return l||!r&&!a}hasChildren(n,a){if(this.isLeaf(n,a))return!1;const{children:o}=n;return Array.isArray(o)&&!!o.length}}const{create:Em,scope:Vm}=ue("cascader-pane"),Im=Em({components:{Loading:bn,Checklist:xo,TabsBar:kn,TabsContainer:Dn,TabsPane:Nn},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:a}=ve.useFoxI18n(Vm),l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),o=t.ref(0),r=t.ref(!1),i=t.ref(e.modelValue),u=t.ref(new xr([],{})),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:a("select"),value:f}))),d=new Map;let y;const x=async()=>{d.clear(),s.value=[],o.value=0,r.value=!1,y=null;let{options:m}=e;l.value.convertConfig&&(m=Nm(m,l.value.convertConfig)),u.value=new xr(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}],b()},b=async()=>{const m=i.value;if(m===void 0||!u.value.nodes.length)return;if(m.length===0){o.value=0,s.value=[{nodes:u.value.nodes,selectedNode:null}];return}let f=m;if(c.value&&Array.isArray(m)&&m.length){f=[];let T=u.value.nodes.find(M=>M.value===m[0]);if(T){f=[T.value],r.value=!0;const M=await m.slice(1).reduce(async(A,F)=>{const z=await A;await p(z);const $=z?.children?.find(I=>I.value===F);return $&&f.push(F),Promise.resolve($)},Promise.resolve(T));await p(M),r.value=!1}}f.length&&m===e.modelValue&&u.value.getPathNodesByValue(f).map((M,A)=>{o.value=A,H.handleNode(M,!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 T=d.get(m);T||(T=new Promise(A=>{l.value.lazyLoad?.(m,A)}),d.set(m,T));const M=await T;Array.isArray(M)&&M.length>0?u.value.updateChildren(M,f):m.leaf=!0,m.loading=!1,d.delete(m)},g=m=>{const f=m.map(T=>T.value);i.value=f,n("change",f,m),n("update:modelValue",f,m)},H={async handleNode(m,f){const{disabled:T,loading:M}=m;if(!(!f&&T||!s.value[o.value])){if(u.value.isLeaf(m,c.value)){if(m.leaf=!0,s.value[o.value].selectedNode=m,s.value=s.value.slice(0,m.level+1),!f){const A=s.value.map(F=>F.selectedNode);g(A),n("pathChange",A)}return}if(u.value.hasChildren(m,c.value)){const A=m.level+1;if(s.value[o.value].selectedNode=m,s.value=s.value.slice(0,A),s.value.push({nodes:m.children||[],selectedNode:null}),o.value=A,!f){const F=s.value.map(z=>z.selectedNode);n("pathChange",F)}return}y=m,!M&&(await p(m),y===m&&(s.value[o.value].selectedNode=m,H.handleNode(m,f)))}},handleTabChange(m,f){y=null},formatTabTitle(m){return m.selectedNode?m.selectedNode.text:a("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,b())}),t.watch(()=>e.visible,m=>{m&&Array.isArray(i.value)&&i.value.length>0&&b()}),{panes:s,panesTitles:h,initLoading:r,tabsCursor:o,...H}}}),Om={class:"fox-cascader"},Am={role:"menu",class:"fox-cascader__pane"},Fm=["aria-checked","aria-disabled","onClick"],Bm={class:"fox-cascader__item__title"};function Mm(e,n,a,l,o,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",Om,[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,y)=>(t.openBlock(),t.createBlock(c,{"pane-key":y,key:y},{default:t.withCtx(()=>[t.createElementVNode("view",Am,[(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:b=>e.handleNode(x,!1)},[t.createElementVNode("view",Bm,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,Fm))),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 Rm=Ne(Im,[["render",Mm]]),{create:Lm}=ue("cascader-picker"),_m=Lm({components:{FoxCascaderPane:Rm,FoxPopup:ut},props:{...vl,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 a=t.ref(e.modelValue),l=t.computed({get(){return e.visible},set(i){n("update:visible",i)}}),o=(i,u)=>{a.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!==a.value&&(a.value=i)}),{onChange:o,onPathChange:r,innerValue:a,innerVisible:l}}}),Pm=["innerHTML"];function qm(e,n,a,l,o,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,Pm)):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 Gl=Ne(_m,[["render",qm]]),zm=Symbol.for("InnerPageScopeKey"),jm=Symbol.for("PageWrapperKey");function Hm(e,n){return{props:{class:{type:[String]},title:{type:[String]},hideHeader:{type:[Boolean]},draggable:{type:[Boolean],default:()=>!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:()=>!1},closeOnPressEscape:{type:[Boolean],default:()=>!0}},setup(a,l){t.provide(zm,!0);const o={};t.provide(jm,o);const r=s=>{typeof o.beforeClose=="function"&&o.beforeClose()},i=t.ref(!0),u=s=>{i.value=s};return()=>{const c={...l.attrs,title:a.title,draggable:a.draggable,modelValue:i.value,"onUpdate:modelValue":u,"append-to-body":a.appendToBody,"close-on-click-modal":a.closeOnClickModal,"close-on-press-escape":a.closeOnPressEscape,"before-close":r},h=["fox-dialog-item "];a.hideHeader&&h.push("hide-header"),a.class&&h.push(a.class),c.class=h.join(" ");const d={};return typeof l.slots.default=="function"&&(d.default=l.slots.default),t.h(O.ElDialog,c,d)}}}}const{componentName:Ry,create:Km,scope:Ly}=ue("dialog-item"),Xl=Km(Hm()),{create:Wm}=ue("toast"),Ym=Wm({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 a=null;const l=t.reactive({mounted:!1});t.onMounted(()=>{l.mounted=!0});const o=()=>{a&&(clearTimeout(a),a=null)},r=()=>{l.mounted=!1},i=()=>{o(),e.duration&&(a=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:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Um={key:1,class:"fox-toast-title"},Gm=["innerHTML"];function Xm(e,n,a,l,o,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",Um,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Gm)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Zl=Ne(Ym,[["render",Xm]]),Zm={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}},Jm=(e,n,a)=>({props:{...Zm},emits:["change","refresh","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["pullingText","loosingText","loadingText"]),s=_t(),c=t.ref(),h=Zo(c),d=t.reactive({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),y=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""}}),b=t.computed(()=>({transitionDuration:`${l.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),p=t.computed(()=>{const F={};return l.headHeight!=50&&(F.height=Ae(l.headHeight)),F}),g=F=>{const z=+(l.pullDistance||l.headHeight);let $=F;return F>z&&(F<z*2?$=(F+z)/2:$=z+F/4),Math.round($)},H=(F,z)=>{const $=+(l.pullDistance||l.headHeight);d.distance=F,z?d.status="loading":F===0?d.status="normal":F<$?d.status="pulling":d.status="loosing",o("change",{status:d.status,distance:F})},m=()=>d.status!=="loading"&&d.status!=="complete",f=()=>h.value==window?Jo()==0:h.value&&h.value.scrollTop==0,T=F=>{m()&&(f()?(s.start(F),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},M=F=>{m()&&d.moving&&(s.move(F),s.isVertical()&&s.state.deltaY>0&&d.isPullRefresh&&(F.cancelable&&F.preventDefault(),H(g(s.state.deltaY))))},A=()=>{d.moving=!1,d.isPullRefresh&&m()&&s.state.deltaY&&(d.status==="loosing"?(H(+l.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):H(0)),setTimeout(()=>{s.reset()},0)};return t.watch(()=>l.modelValue,F=>{F?H(+l.headHeight,!0):H(0)}),()=>{const F=[];let z=null;if(d.status==="loading"){if(z=r?.loading?.()??null,!z){const P={class:["fox-pull-refresh-container-topbox-icon"]};z=t.h(a,P)}}else d.status==="pulling"?z=r?.pulling?.()??null:d.status==="loosing"&&(z=r?.loosing?.()??null);z&&F.push(z);const $={class:["fox-pull-refresh-container-topbox-text"]},I=t.h("dive",$,[x.value]);F.push(I);const w={class:["fox-pull-refresh-container-topbox"],style:p.value},K=t.h("div",w,F),J={class:"fox-pull-refresh-container",style:b.value},L=t.h("div",J,[K,r?.default?.()]),V={ref:c,class:y.value};return Lt()?Object.assign(V,{onTouchstart:T,onTouchmove:M,onTouchend:A}):Object.assign(V,{onMousedown:T,onMousemove:M,onMouseup:A}),t.h("div",V,[L])}}}),{componentName:Qm,create:eg,scope:tg}=ue("pull-refresh"),Jl=eg(Jm(Qm,tg,bn));function ng(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(a,{slots:l}){const o=e,r=t.computed(()=>({[o]:!0})),i=t.computed(()=>a.icon?{[`${o}__icon`]:!0,[`${o}__icon-${a.type}`]:!0}:{[`${o}__mark`]:!0,[`${o}__mark-${a.type}`]:!0}),u=t.computed(()=>a.color?a.icon?{color:a.color}:{background:a.color}:null),s=t.computed(()=>{const h={[`${o}__text`]:!0,[`${o}__text-${a.type}`]:!0};return a.textPosition==="left"?h["is-left"]=!0:h["is-right"]=!0,h}),c=t.computed(()=>a.color?{color:a.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(a.icon??"div",p)}const d={class:s.value,style:c.value},y=l.default?l.default():[],x=t.h("div",d,y),b={class:r.value};return a.textPosition==="right"?t.h("div",b,[h,x]):t.h("div",b,[x,h])}}}}const{componentName:lg,create:ag,scope:_y}=ue("indicator"),Ql=ag(ng(lg));function og(e,n){const a=document.createRange();a.setStart(e,0),a.setEnd(e,e.childNodes.length);const l=a.getBoundingClientRect().width;if(l>0){n(l);return}e.classList.add("is-selectable"),setTimeout(()=>{a.setStart(e,0),a.setEnd(e,e.childNodes.length);const o=a.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(o)},500)}const rg={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 ig(e,n,a,l=!1){return{props:{...rg},emits:["click"],setup(o,r){const i=t.ref(null),u=t.computed(()=>{const f={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(f[`${e}--${o.type??"default"}`]=!0),o.size&&(f[`${e}--${o.size}`]=!0),f}),s=t.computed(()=>{const f={},T=o.textColor??o.color;return T&&(f.color=T),f}),c=(f,T)=>{let M=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const A=o.highlightFilter;if(f.indexOf(A)!==-1){const z=f.replace(new RegExp(A,"g"),`<span>${A}</span>`);T.innerHTML=z,T.class["is-highlight"]=!0,M=t.h(o.tag,T)}}else if(typeof o.highlightFilter=="function"){const A=o.highlightFilter(f);A&&(T.innerHTML=A,T.class["is-highlight"]=!0,M=t.h(o.tag,T))}return M},h=f=>{r.emit("click",f)};let d="";const y=()=>{const f=i.value;if(!f)return;const T=f.clientWidth;og(f,M=>{const A=f.innerHTML??"";de(A)||M<T||(d?a?.show(f,A,{type:"text",id:d,showArrow:o.showArrow},!0):d=a?.show(f,A,{type:"text",showArrow:o.showArrow},!0)??"")})},x=()=>{d&&a?.hide(d)};let b=null;const p=f=>{b||(b=setTimeout(()=>{y(),b=null},o.showAfter??0))},g=f=>{b&&(clearTimeout(b),b=null),setTimeout(()=>{x()},o.hideAfter??0)},H=()=>{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(()=>{!ce(o.showOverflowTooltip)||!a||H()}),t.onBeforeUnmount(()=>{!ce(o.showOverflowTooltip)||!a||m()}),()=>{const f={onClick:h,class:u.value,style:s.value,ref:i};let T=null;if(ce(o.numberFormat)&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const $=z[0].type.toString();if($==="Symbol(Text)"||$==="Symbol(v-txt)"){const I=ge(o.digits),w=ge(o.decimalLength),K=ce(o.autoPadding);let J=`${z[0].children}`,L=J.split("").reverse().join("");L=Kt(L,w,K,I,o.separator),J=L.split("").reverse().join(""),o.highlightFilter!==void 0&&(T=c(J,f)),T||(f.innerHTML=J,T=t.h(o.tag,f))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const $=z[0].type.toString();if($==="Symbol(Text)"||$==="Symbol(v-txt)"){const I=`${z[0].children}`;T=c(I,f),T||(f.innerHTML=I,T=t.h(o.tag,f))}}}T||(T=t.h(o.tag,f,{default:r.slots.default}))}if(!o.mark&&!o.icon&&!r.slots.mark)return T;let A=null;if(o.icon){const z={[`${e}__mark-wrap`]:!0};o.type&&(z[`${e}__mark-wrap--${o.type}`]=!0);const $={},I=o.color;I&&($.color=I);const w={class:z,style:$};A=t.h("view",w,t.h(o.icon))}else if(r.slots.mark){const z={[`${e}__mark-wrap`]:!0};o.type&&(z[`${e}__mark-wrap--${o.type}`]=!0);const $={},I=o.color;I&&($.color=I);const w={class:z,style:$};A=t.h("view",w,{default:r.slots.mark})}else{const z={[`${e}__mark`]:!0};o.type&&(z[`${e}__mark--${o.type??"default"}`]=!0);const $={},I=o.color;I&&($["background-color"]=I);const w={class:z,style:$};A=t.h("view",w)}const F={class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}};return t.h("view",F,[A,T])}}}}const{componentName:sg,create:ug,scope:cg}=ue("text"),ea=ug(ig(sg,cg,Be,!1)),fg={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:$e.ArrowUp}};function dg(e,n,a){return{props:{...fg},emits:["click","update:modelValue"],setup(l,{emit:o}){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=()=>{o("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 y={class:c.value},x=a(l.icon,y);return x&&d.push(x),t.h("div",{class:r.value,onClick:h},d)}}}}const{componentName:hg,create:mg,scope:gg}=ue("more-button"),ta=mg(dg(hg,gg,(e,n)=>(e=e??$e.ArrowUp,t.h(O.ElIcon,n,{default:()=>[t.h(e)]}))));function yg(e){e.stopPropagation()}let pg=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,a){this.startMove=n,this.updateMove=a,this.isTouch=Lt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=_t(),l=(o,r,i,u)=>{this.updateMove({x:o,y:r})};this.touchstart=o=>{this.moving||(a.start(o),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=o=>{this.moving&&(a.move(o),yg(o),l(a.state.deltaX,a.state.deltaY))},this.touchend=()=>{l(a.state.deltaX,a.state.deltaY),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(o=>{this.touchstart&&o.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 bg(e,n){return new pg(e,n)}const vg={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]}},wg=(e,n,a,l=!1)=>({props:{...vg},emits:["click"],setup(o,{slots:r,emit:i}){const u=t.reactive({top:o.top,right:o.right,bottom:o.bottom,left:o.left}),s=t.computed(()=>{const m=[`${e}`];return o.customClass&&m.push(o.customClass),m}),c=t.computed(()=>{const m={};return de(u.top)||(m.top=u.top),de(u.right)||(m.right=u.right),de(u.bottom)||(m.bottom=u.bottom),de(u.left)||(m.left=u.left),de(o.width)||(m.width=o.width),de(o.height)||(m.height=o.height),de(o.color)||(m.color=o.color),de(o.background)||(m.background=o.background),de(o.borderRadius)||(m["border-radius"]=o.borderRadius),m}),h=t.computed(()=>({[`${e}__icon`]:!0})),d=()=>{i("click")},y=t.ref(null),x=()=>{u.top=null,u.right=null,u.bottom=null,u.left=null},b={x:0,y:0},H=bg(m=>{if(!y.value)return;const f=y.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,b.x=u.left,b.y=u.top},m=>{if(!y.value)return;const f=y.value;x(),u.left=b.x+m.x,u.top=b.y+m.y,f.style.left=`${u.left}px`,f.style.top=`${u.top}px`});return t.onMounted(()=>{if(o.draggable&&y.value){const m=[y.value];H.open(m)}}),t.onBeforeUnmount(()=>{o.draggable&&y.value&&H.close()}),()=>{let m=[];const f=typeof r.default=="function"?r.default():[];if(f&&f.length>0)m=f;else{const M=t.h(a,{class:h.value});m.push(M)}const T={ref:M=>{y.value=M},class:s.value,style:c.value,onClick:d};return t.h("view",T,m)}}}),{componentName:Sg,create:xg,scope:Tg}=ue("floating-button"),na=xg(wg(Sg,Tg,mu,!1)),{componentName:Cg,create:$g,scope:qy}=ue("tour"),kg=$g({components:{Close:$e.Close,ElPopover:O.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 a=Cg,l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),o=t.ref({}),r=t.computed(()=>`${a}`),i=t.computed(()=>{const{offset:b,maskWidth:p,maskHeight:g}=e,{width:H,height:m,left:f,top:T}=o.value,M=e.steps[l.active].offset??b,A=[f+H/2,T+m/2],F=Number(p||H),z=Number(g||m);return{width:`${F+ +M.left+M.right}px`,height:`${z+M.top+M.bottom}px`,top:`${A[1]-z/2-+M.top}px`,left:`${A[0]-F/2-+M.left}px`}}),u=b=>{b=="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=b=>b.popoverWidth??e.width,c=b=>b.location??e.location,h=()=>{const b=document.querySelector(`${e.steps[l.active].target}`),p=zl(b);o.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)},y=()=>{e.closeOnClickOverlay&&d()},x=(b,p=0)=>{b&&h(),e.steps,l.active=p,l.showTour=b,l.showPopup=b};return t.onMounted(()=>{x(e.modelValue,e.current)}),t.watch(()=>e.modelValue,b=>{x(b)}),{...t.toRefs(l),classes:r,maskStyle:i,changeStep:u,popoverWidth:s,popoverLocation:c,close:d,handleClickMask:y}}}),Dg={key:0,class:"fox-tour__content"},Ng={key:0,class:"fox-tour__content-top"},Eg={class:"fox-tour__content-inner"},Vg={class:"fox-tour__content-bottom"},Ig={class:"fox-tour__content-bottom-init"},Og={class:"fox-tour__content-bottom-operate"},Ag={key:1,class:"fox-tour__content fox-tour__content-tile"},Fg={class:"fox-tour__content-inner"};function Bg(e,n,a,l,o,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",Dg,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",Ng,[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",Eg,t.toDisplayString(c.content),1),t.createElementVNode("div",Vg,[t.createElementVNode("div",Ig,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",Og,[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",Ag,[t.createElementVNode("div",Fg,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","placement","width"])):t.createCommentVNode("",!0)]))),128))],2)}const la=Ne(kg,[["render",Bg]]),Me=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,dt=e=>e==null;class Mg{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,a){this.startMove=n,this.updateMove=a,this.isTouch=Lt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=_t(),l=(o,r,i,u)=>{this.updateMove({x:o,y:r})};this.touchstart=o=>{this.moving||(a.start(o),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=o=>{this.moving&&(a.move(o),l(a.state.deltaX,a.state.deltaY))},this.touchend=()=>{l(a.state.deltaX,a.state.deltaY),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(o=>{this.touchstart&&o.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 Tr(e,n){return new Mg(e,n)}const Cr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;let Tt=[];const $r=e=>{const n=e;n.key==="Escape"&&Tt.forEach(a=>a(n))},Rg=e=>{t.onMounted(()=>{Tt.length===0&&document.addEventListener("keydown",$r),Cr&&Tt.push(e)}),t.onBeforeUnmount(()=>{Tt=Tt.filter(n=>n!==e),Tt.length===0&&Cr&&document.removeEventListener("keydown",$r)})},aa="fox-focus-trap.focus-after-trapped",oa="fox-focus-trap.focus-after-released",Lg="fox-focus-trap.focusout-prevented",kr={cancelable:!0,bubbles:!1},_g={cancelable:!0,bubbles:!1},Dr="foxFocusAfterTrapped",Nr="foxFocusAfterReleased",Pg=Symbol("foxFocusTrap"),ra=t.ref(),Vn=t.ref(0),ia=t.ref(0);let In=0;const Er=e=>{const n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const o=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||o?NodeFilter.FILTER_SKIP:l.tabIndex>=0||l===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)n.push(a.currentNode);return n},qg=(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},Vr=(e,n)=>{for(const a of e)if(!qg(a,n))return a},zg=e=>{const n=Er(e),a=Vr(n,e),l=Vr(n.reverse(),e);return[a,l]},jg=e=>e instanceof HTMLInputElement&&"select"in e,at=(e,n)=>{if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),ia.value=window.performance.now(),e!==a&&jg(e)&&n&&e.select()}};function Ir(e,n){const a=[...e],l=e.indexOf(n);return l!==-1&&a.splice(l,1),a}const Hg=()=>{let e=[];return{push:l=>{const o=e[0];o&&l!==o&&o.pause(),e=Ir(e,l),e.unshift(l)},remove:l=>{e=Ir(e,l),e[0]?.resume?.()}}},Kg=(e,n=!1)=>{const a=document.activeElement;for(const l of e)if(at(l,n),document.activeElement!==a)return},Or=Hg(),Wg=()=>Vn.value>ia.value,On=()=>{ra.value="pointer",Vn.value=window.performance.now()},Ar=()=>{ra.value="keyboard",Vn.value=window.performance.now()},Yg=()=>(t.onMounted(()=>{In===0&&(document.addEventListener("mousedown",On),document.addEventListener("touchstart",On),document.addEventListener("keydown",Ar)),In++}),t.onBeforeUnmount(()=>{In--,In<=0&&(document.removeEventListener("mousedown",On),document.removeEventListener("touchstart",On),document.removeEventListener("keydown",Ar))}),{focusReason:ra,lastUserFocusTimestamp:Vn,lastAutomatedFocusTimestamp:ia}),An=e=>new CustomEvent(Lg,{..._g,detail:e}),{componentName:zy,create:Ug,scope:jy}=ue("focus-trap"),Gg=Ug({props:{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"}},emits:[Dr,Nr,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:a}){const l=t.ref();let o,r;const{focusReason:i}=Yg();Rg(p=>{ce(e.trapped)&&!u.paused&&a("release-requested",p)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=p=>{if(!e.loop&&!ce(e.trapped)||u.paused)return;const{key:g,altKey:H,ctrlKey:m,metaKey:f,currentTarget:T,shiftKey:M}=p,{loop:A}=e,F=g==="Tab"&&!H&&!m&&!f,z=document.activeElement;if(F&&z){const $=T,[I,w]=zg($);if(I&&w){if(!M&&z===w){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||(p.preventDefault(),A&&at(I,!0))}else if(M&&[I,$].includes(z)){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||(p.preventDefault(),A&&at(w,!0))}}else if(z===$){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||p.preventDefault()}}};t.provide(Pg,{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",y)),g&&(g.removeEventListener("keydown",s),g.removeEventListener("focusin",d),g.removeEventListener("focusout",y))});const c=p=>{a(Dr,p)},h=p=>a(Nr,p),d=p=>{const g=t.unref(l);if(!g)return;const H=p.target,m=p.relatedTarget,f=H&&g.contains(H);ce(e.trapped)||m&&g.contains(m)||(o=m),f&&a("focusin",p),!u.paused&&ce(e.trapped)&&(f?r=H:at(r,!0))},y=p=>{const g=t.unref(l);if(!(u.paused||!g))if(!e.escape&&ce(e.trapped)){const H=p.relatedTarget;!Gn(H)&&!g.contains(H)&&setTimeout(()=>{if(!u.paused&&ce(e.trapped)){const m=An({focusReason:i.value});a("focusout-prevented",m),m.defaultPrevented||at(r,!0)}},0)}else{const H=p.target;H&&g.contains(H)||a("focusout",p)}};async function x(){await t.nextTick();const p=t.unref(l);if(p){Or.push(u);const g=p.contains(document.activeElement)?o:document.activeElement;if(o=g,!p.contains(g)){const m=new Event(aa,kr);p.addEventListener(aa,c),p.dispatchEvent(m),m.defaultPrevented||t.nextTick(()=>{let f=e.focusStartEl;xa(f)||(at(f),document.activeElement!==f&&(f="first")),f==="first"&&Kg(Er(p),!0),(document.activeElement===g||f==="container")&&at(p)})}}}function b(){const p=t.unref(l);if(p){p.removeEventListener(aa,c);const g=new CustomEvent(oa,{...kr,detail:{focusReason:i.value}});p.addEventListener(oa,h),p.dispatchEvent(g),!g.defaultPrevented&&(i.value=="keyboard"||!Wg())&&at(o??document.body,!0),p.removeEventListener(oa,c),Or.remove(u)}}return t.onMounted(()=>{ce(e.trapped)&&x(),t.watch(()=>e.trapped,p=>{ce(p)?x():b()})}),t.onBeforeUnmount(()=>{ce(e.trapped)&&b()}),()=>typeof n.default=="function"?n.default({"handle-keydown":s}):null}}),{componentName:Xg,create:Zg,scope:Ky}=ue("floating-window"),Jg=Symbol.for("InnerPageScopeKey"),Qg=Symbol.for("PageWrapperKey"),ey={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}},ty=Zg({inheritAttrs:!1,components:{FoxIcon:O.ElIcon,FocusTrap:Gg},props:{...ey},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const a=Xg,l=t.ref(e.modelValue),o=t.computed(()=>!e.teleport);t.watch(()=>e.modelValue,k=>{l.value=k});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 k=["fox-floating-window"];return e.customClass&&k.push(e.customClass),k}),d=t.computed(()=>{const k={};return dt(i.value)?k.left="auto":k.left=Me(i.value),dt(u.value)?k.top="auto":k.top=Me(u.value),dt(s.value)?k.right="auto":k.right=Me(s.value),dt(c.value)?k.bottom="auto":k.bottom=Me(c.value),dt(e.zIndex)||(k["z-index"]=Me(e.zIndex)),dt(A.value)||(k.height=A.value),dt(F.value)||(k.width=F.value),k}),y=t.computed(()=>e.closeIcon??$e.Close),x=t.computed(()=>e.collapseIcon??$e.ArrowUp),b=t.computed(()=>e.collapseText??""),p=t.computed(()=>e.collapsePosition==="left"?e.expandIcon??$e.ArrowRight:e.expandIcon??$e.ArrowLeft),g=t.computed(()=>e.expandText??e.title??"展开"),H=t.computed(()=>({[`${a}__collapse-text`]:!0})),m=t.computed(()=>({[`${a}__collapse-icon`]:!0,"is-expand":!z.value,"is-collapse":z.value})),f=t.ref(),T=t.ref(null),M=t.ref(null),A=t.computed(()=>Me(e.height)||""),F=t.computed(()=>Me(e.width)||""),z=t.ref(ce(e.collapse)),$=(k,Y=!0)=>{z.value!==k&&(z.value=k,k?E():q(),n("update:collapse",k),k&&typeof K.onHide=="function"?K.onHide():!k&&typeof K.onShow=="function"&&K.onShow())};t.watch(()=>e.collapse,k=>{$(k)});const I=()=>{w()},w=k=>{k=k??!z.value,$(k)};t.provide(Jg,!0);const K={setCollapse:$,setFixedNavVisible:k=>{j.value=k}};t.provide(Qg,K);const J=()=>{typeof K.beforeClose=="function"?K.beforeClose(()=>{l.value=!1}):l.value=!1},L=t.ref(null),V=t.computed(()=>!e.fixedNavTeleport),P=t.computed(()=>{const k=["fox-floating-window__fixednav"];return e.expandClass&&k.push(e.expandClass),e.collapsePosition==="left"?k.push("is-left"):e.collapsePosition==="right"&&k.push("is-right"),k}),R=t.ref(""),Z=t.computed(()=>{const k={};return R.value?k.top=R.value:e.collapseTop&&(k.top=e.collapseTop),k}),U=t.ref(z.value),j=t.computed({set:k=>{U.value=k},get:()=>l.value===!1?!1:U.value});let te=null;const D=()=>{typeof te=="function"&&(te(),te=null)},E=()=>{L.value&&L.value.classList.add("slide-in"),j.value=!0,te=()=>{L.value&&L.value.classList.remove("slide-in")}},q=()=>{L.value&&L.value.classList.add("slide-out"),te=()=>{L.value&&L.value.classList.remove("slide-out"),j.value=!1}},_=()=>{i.value=null,u.value=null,s.value=null,c.value=null},N={x:0,y:0},G=Tr(k=>{if(!f.value)return;const Y=f.value;if(_(),e.origin==="left-top")i.value=Y.offsetLeft,u.value=Y.offsetTop,N.x=i.value,N.y=u.value;else if(e.origin==="left-bottom"){const ee=document.documentElement.clientHeight||document.body.clientHeight;i.value=Y.offsetLeft,c.value=ee-(Y.offsetTop+Y.offsetHeight),N.x=i.value,N.y=c.value}else if(e.origin==="right-bottom"){const ee=document.documentElement.clientWidth||document.body.clientWidth,ae=document.documentElement.clientHeight||document.body.clientHeight;s.value=ee-(Y.offsetLeft+Y.offsetWidth),c.value=ae-(Y.offsetTop+Y.offsetHeight),N.x=s.value,N.y=c.value}else{const ee=document.documentElement.clientWidth||document.body.clientWidth;s.value=ee-(Y.offsetLeft+Y.offsetWidth),u.value=Y.offsetTop,N.x=s.value,N.y=u.value}},k=>{if(!f.value)return;const Y=f.value;_(),e.origin==="left-top"?(i.value=N.x+k.x,u.value=N.y+k.y,Y.style.left=Me(i.value),Y.style.top=Me(u.value)):e.origin==="left-bottom"?(i.value=N.x+k.x,c.value=N.y-k.y,Y.style.left=Me(i.value),Y.style.bottom=Me(c.value)):e.origin==="right-bottom"?(s.value=N.x-k.x,c.value=N.y-k.y,Y.style.right=Me(s.value),Y.style.bottom=Me(c.value)):(s.value=N.x-k.x,u.value=N.y+k.y,Y.style.right=Me(s.value),Y.style.top=Me(u.value))}),C={x:0,y:0},W=Tr(k=>{L.value&&(C.x=L.value.offsetLeft,C.y=L.value.offsetTop)},k=>{if(!L.value)return;const Y=C.y+k.y;R.value=`${Y}px`}),X=()=>{if(f.value){const k=f.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");M.value=k}};return t.onMounted(()=>{if(e.draggable&&f.value){const k=[];T.value&&k.push(T.value),e.footerDraggable&&(X(),M.value&&k.push(M.value)),G.open(k)}e.collapse===!0&&$(e.collapse,!1),L.value&&W.open(L.value)}),t.onBeforeUnmount(()=>{e.draggable&&T.value&&G.close(),L.value&&W.close()}),{classes:h,styles:d,isShow:r,closeIcon:y,onClose:J,dialogRef:f,headerRef:T,onClickToggle:I,collapseIcon:x,collapseText:b,collapseTextClasses:H,collapseIconClasses:m,expandIcon:p,expandText:g,isShowFixedNav:j,fixedNavRef:L,fixedNavClasses:P,fixedNavStyles:Z,onAnimationEnd:D,teleportDisabled:o,fixedNavTeleportDisabled:V}}}),ny={ref:"headerRef",class:"fox-floating-window__header"},ly={class:"fox-floating-window__title"},ay={class:"fox-floating-window__tools"},oy={class:"fox-floating-window__body"},ry={class:"fox-floating-window__fixednav__text"};function iy(e,n,a,l,o,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",ny,[t.renderSlot(e.$slots,"header",{},()=>[t.createElementVNode("span",ly,t.toDisplayString(e.title),1),t.createElementVNode("div",ay,[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",oy,[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",ry,t.toDisplayString(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}const sa=Ne(ty,[["render",iy]]),sy={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]}};function uy(e,n,a=!1){return{props:{...sy},emits:["update:visible"],setup(l,{emit:o,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),y=t.ref(l.placement),x=t.ref(!1),b=t.ref(!1),p=t.ref(null),g=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,H=(j,te,D,E,q,_,N,Q=!0)=>{const le=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight,C=j.split("-");let B=[];Q?C[0]==="top"?B=["top","bottom","right","left"]:C[0]==="bottom"?B=["bottom","top","right","left"]:C[0]==="left"?B=["left","top","bottom","right"]:C[0]==="right"&&(B=["right","top","bottom","left"]):B=[j[0]];const S={top:null,right:null,bottom:null,left:null},W=[];for(let X=0;X<B.length;X++){const k=B[X];if(W[0]=k,C[1]&&(W[1]=C[1]),k==="top"){const Y=D-N-l.arrowSize/2-l.offset;if(Y>=0){S.top=Y;let ee=0;C[1]==="start"?ee=te:C[1]==="end"?ee=te+E-_:ee=te+E/2-_/2;const ae=le-ee-_;ae<0?(ee+=ae,f.value=-ae):f.value=0,S.left=ee<0?0:ee;break}}else if(k==="bottom"){const Y=D+q+l.arrowSize/2+l.offset;if(Y+N<=G){S.top=Y;let ee=0;C[1]==="start"?ee=te:C[1]==="end"?ee=te+E-_:ee=te+E/2-_/2;const ae=le-ee-_;ae<0?(ee+=ae,f.value=-ae):f.value=0,S.left=ee<0?0:ee;break}}else if(k==="left"){const Y=te-_-l.arrowSize/2-l.offset;if(Y>=0){S.left=Y;let ee=0;C[1]==="start"?ee=D:C[1]==="end"?ee=D+q-N:ee=D+q/2-N/2,S.top=ee<0?0:ee;break}}else if(k==="right"){const Y=te+E+l.arrowSize/2+l.offset;if(Y+_<=le){S.left=Y;let ee=0;C[1]==="start"?ee=D:C[1]==="end"?ee=D+q-N:ee=D+q/2-N/2,S.top=ee<0?0:ee;break}}}return{bestPlacement:W.join("-"),bestInsetRect:S}},m=()=>{const j=l.visible,te=l.autoFit;if(!tt||j===!1)return;if(l.reference){const N=g(),Q=cl(N);s.value=Q.x,c.value=Q.y,h.value=N.offsetWidth,d.value=N.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 D=p.value.offsetWidth,E=p.value.offsetHeight,{bestPlacement:q,bestInsetRect:_}=H(l.placement,s.value,c.value,h.value,d.value,D,E,te);y.value=q,u.value=_},f=t.ref(0),T=st(()=>{m()},10),M=t.ref(l.visible);t.watch([()=>l.visible],([j])=>{M.value=j,j?(x.value=j,setTimeout(()=>{m(),b.value=!0},0)):b.value=!1});const A=t.computed(()=>M.value&&F.value),F=t.ref(!0),z=st(j=>{const te=j[0];te&&(F.value=te.isIntersecting)},10),$=new IntersectionObserver(z);t.watch([()=>l.reference,()=>l.referenceInset],([j,te],[D,E])=>{!j&&!te||(setTimeout(()=>{m()},0),l.autoFit&&(D&&(Ot.unwatch(D,T),$.unobserve(D)),j&&(Ot.watch(j,T),$.observe(j))))},{immediate:!0}),t.onBeforeUnmount(()=>{l.reference&&(Ot.unwatch(l.reference,T),$.unobserve(l.reference),$.disconnect())});const I=t.computed(()=>{const j={[e]:!0};return y.value.startsWith("top")?j["is-top"]=!0:y.value.startsWith("right")?j["is-right"]=!0:y.value.startsWith("bottom")?j["is-bottom"]=!0:y.value.startsWith("left")&&(j["is-left"]=!0),j[`is-${l.effect}`]=!0,!b.value&&A.value&&(j["is-opacity"]=!0),b.value&&A.value&&(j["is-show"]=!0),A.value||(j["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(j[`${l.customClass}`]=!0),j}),w=t.computed(()=>{const j={};return u.value.top!==null&&(j.top=`${u.value.top}px`),u.value.right!==null&&(j.right=`${u.value.right}px`),u.value.bottom!==null&&(j.bottom=`${u.value.bottom}px`),u.value.left!==null&&(j.left=`${u.value.left}px`),l.width&&(j.width=l.width),l.zIndex&&(j["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(j,l.customStyle),j}),K=()=>{M.value=!1,o("update:visible",!1)},J=()=>{if(!l.showOverlay)return null;const j={class:`${e}__overlay`,onClick:K};return t.h("div",j)},L=()=>{let j=null;return r.title?j=t.h("div",{class:`${e}__title`},{default:r.title}):l.title&&(j=t.h("div",{class:`${e}__title`},[l.title])),j},V=t.computed(()=>({[`${e}__arrow`]:!0})),P=t.computed(()=>{const j={};return l.showArrow?(j.width=`${l.arrowSize}px`,j.height=`${l.arrowSize}px`,y.value==="top"?(j.left="50%",j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="top-start"?(j.left=`${l.arrowOffset+f.value}px`,j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="top-end"?(j.right=`${l.arrowOffset-f.value}px`,j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="right"?(j.left="0",j.top="50%",j.transform="translate(-50%, -50%)"):y.value==="right-start"?(j.left="0",j.top=`${l.arrowOffset}px`,j.transform="translate(-50%, 50%)"):y.value==="right-end"?(j.left="0",j.bottom=`-${l.arrowOffset}px`,j.transform="translate(-50%, 50%)"):y.value==="bottom"?(j.left="50%",j.top="0",j.transform="translate(-50%, -50%)"):y.value==="bottom-start"?(j.left=`${l.arrowOffset+f.value}px`,j.top="0",j.transform="translate(-50%, -50%)"):y.value==="bottom-end"?(j.right=`${l.arrowOffset-f.value}px`,j.top="0",j.transform="translate(-50%, -50%)"):y.value==="left"?(j.right="0",j.top="50%",j.transform="translate(50%, -50%)"):y.value==="left-start"?(j.right="0",j.top=`${l.arrowOffset}px`,j.transform="translate(50%, -50%)"):y.value==="left-end"&&(j.right="0",j.bottom=`-${l.arrowOffset}px`,j.transform="translate(50%, -50%)"),j):{display:"none"}}),R=()=>{const j={class:V.value,style:P.value};return t.h("div",j)},Z=()=>{M.value===!1&&(x.value=!1)},U=j=>{if(!p.value||M.value===!1)return;const{relatedTarget:te}=j;p.value.contains(te)||(M.value=!1,o("update:visible",!1))};return i({doLayout:m}),()=>{if(!x.value)return null;const j=[],te=J();te&&j.push(te);const D=[],E=L();if(E&&D.push(E),r.default){const Q=r.default();D.push(Q)}const q=R();q&&D.push(q);const _={ref:p,class:I.value,style:w.value,onAnimationend:Z};l.leaveHide&&(_.onMouseleave=U);const N=t.h("div",_,{default:()=>D});return j.push(N),j}}}}const{componentName:cy,create:fy,scope:dy}=ue("popover-dialog"),ua=fy(uy(cy,dy,!1));function hy(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(a,{slots:l}){return Pa(a.name,()=>a.config),()=>typeof l.default=="function"?l.default():null}}}const{componentName:Wy,create:my,scope:Yy}=ue("domain-provider"),ca=my(hy()),gy={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 yy(e,n){return{inheritAttrs:!1,props:gy,setup(a,{slots:l}){if(tt&&window.IntersectionObserver){const o=new WeakMap;let r=new Map;const i=(y,x)=>{if(h===null){r.set(y,{visible:null,callback:x});return}o.has(y)&&h.unobserve(y),o.set(y,{visible:null,callback:x}),h.observe(y)},u=y=>{if(h===null){r.delete(y);return}o.has(y)&&(o.delete(y),h.unobserve(y))};let s=a.initialVisibleObserverSize;qi({acquire:()=>{const y=s>0;return s--,y},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:i,unobserve:u});let h=null;const d=(y,x,b)=>{h=new IntersectionObserver(p=>{for(let g of p){let H=!1;g.intersectionRatio>0&&(H=!0);const m=o.get(g.target);if(m)try{if(a.loadPolicy==="lazy"&&!H&&m.visible!==null)return;m.visible=H,m.callback(H)}catch(f){console.error(f)}}},{root:y,rootMargin:x,threshold:b}),r.forEach((p,g)=>{o.set(g,p),h?.observe(g)}),r.clear()};t.watch([()=>a.root,()=>a.disabled],([y,x])=>{if(x||!y||h)return;let b=null;typeof y=="string"?b=document.querySelector(y):b=y,b&&d(b,a.rootMargin,a.threshold)},{immediate:!0}),t.onUnmounted(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}const{componentName:Uy,create:py,scope:Gy}=ue("rolling-provider"),fa=py(yy()),by=[nl,al,ol,rl,ul,Se,hl,ml,At,gl,yl,pl,Sl,xl,Tl,Cl,$l,Dl,Nl,El,Vl,wn,Al,Fl,Bl,Ml,Rl,Ll,_l,$n,Pl,Hl,kn,Dn,Nn,Yl,Pt,Ul,vn,Gl,Xl,pn,ut,Zl,Cn,Tn,Jl,Mt,gn,Ql,ea,ta,na,la,sa,ua,ca,fa],vy=new bi(by,[Si],"4.0.0");Object.defineProperty(v,"FoxAffix",{enumerable:!0,get:()=>O.ElAffix}),Object.defineProperty(v,"FoxAlert",{enumerable:!0,get:()=>O.ElAlert}),Object.defineProperty(v,"FoxAnchor",{enumerable:!0,get:()=>O.ElAnchor}),Object.defineProperty(v,"FoxAnchorLink",{enumerable:!0,get:()=>O.ElAnchorLink}),Object.defineProperty(v,"FoxAside",{enumerable:!0,get:()=>O.ElAside}),Object.defineProperty(v,"FoxAutoResizer",{enumerable:!0,get:()=>O.ElAutoResizer}),Object.defineProperty(v,"FoxAutocomplete",{enumerable:!0,get:()=>O.ElAutocomplete}),Object.defineProperty(v,"FoxAvatar",{enumerable:!0,get:()=>O.ElAvatar}),Object.defineProperty(v,"FoxBacktop",{enumerable:!0,get:()=>O.ElBacktop}),Object.defineProperty(v,"FoxBadge",{enumerable:!0,get:()=>O.ElBadge}),Object.defineProperty(v,"FoxBreadcrumb",{enumerable:!0,get:()=>O.ElBreadcrumb}),Object.defineProperty(v,"FoxBreadcrumbItem",{enumerable:!0,get:()=>O.ElBreadcrumbItem}),Object.defineProperty(v,"FoxButton",{enumerable:!0,get:()=>O.ElButton}),Object.defineProperty(v,"FoxButtonGroup",{enumerable:!0,get:()=>O.ElButtonGroup}),Object.defineProperty(v,"FoxCalendar",{enumerable:!0,get:()=>O.ElCalendar}),Object.defineProperty(v,"FoxCard",{enumerable:!0,get:()=>O.ElCard}),Object.defineProperty(v,"FoxCarousel",{enumerable:!0,get:()=>O.ElCarousel}),Object.defineProperty(v,"FoxCarouselItem",{enumerable:!0,get:()=>O.ElCarouselItem}),Object.defineProperty(v,"FoxCascader",{enumerable:!0,get:()=>O.ElCascader}),Object.defineProperty(v,"FoxCascaderPanel",{enumerable:!0,get:()=>O.ElCascaderPanel}),Object.defineProperty(v,"FoxCheckTag",{enumerable:!0,get:()=>O.ElCheckTag}),Object.defineProperty(v,"FoxCheckbox",{enumerable:!0,get:()=>O.ElCheckbox}),Object.defineProperty(v,"FoxCheckboxButton",{enumerable:!0,get:()=>O.ElCheckboxButton}),Object.defineProperty(v,"FoxCheckboxGroup",{enumerable:!0,get:()=>O.ElCheckboxGroup}),Object.defineProperty(v,"FoxCol",{enumerable:!0,get:()=>O.ElCol}),Object.defineProperty(v,"FoxCollapse",{enumerable:!0,get:()=>O.ElCollapse}),Object.defineProperty(v,"FoxCollapseItem",{enumerable:!0,get:()=>O.ElCollapseItem}),Object.defineProperty(v,"FoxCollapseTransition",{enumerable:!0,get:()=>O.ElCollapseTransition}),Object.defineProperty(v,"FoxColorPicker",{enumerable:!0,get:()=>O.ElColorPicker}),Object.defineProperty(v,"FoxConfigProvider",{enumerable:!0,get:()=>O.ElConfigProvider}),Object.defineProperty(v,"FoxContainer",{enumerable:!0,get:()=>O.ElContainer}),Object.defineProperty(v,"FoxCountdown",{enumerable:!0,get:()=>O.ElCountdown}),Object.defineProperty(v,"FoxDatePicker",{enumerable:!0,get:()=>O.ElDatePicker}),Object.defineProperty(v,"FoxDescriptions",{enumerable:!0,get:()=>O.ElDescriptions}),Object.defineProperty(v,"FoxDescriptionsItem",{enumerable:!0,get:()=>O.ElDescriptionsItem}),Object.defineProperty(v,"FoxDialog",{enumerable:!0,get:()=>O.ElDialog}),Object.defineProperty(v,"FoxDivider",{enumerable:!0,get:()=>O.ElDivider}),Object.defineProperty(v,"FoxDrawer",{enumerable:!0,get:()=>O.ElDrawer}),Object.defineProperty(v,"FoxDropdown",{enumerable:!0,get:()=>O.ElDropdown}),Object.defineProperty(v,"FoxDropdownItem",{enumerable:!0,get:()=>O.ElDropdownItem}),Object.defineProperty(v,"FoxDropdownMenu",{enumerable:!0,get:()=>O.ElDropdownMenu}),Object.defineProperty(v,"FoxEmpty",{enumerable:!0,get:()=>O.ElEmpty}),Object.defineProperty(v,"FoxFooter",{enumerable:!0,get:()=>O.ElFooter}),Object.defineProperty(v,"FoxForm",{enumerable:!0,get:()=>O.ElForm}),Object.defineProperty(v,"FoxFormItem",{enumerable:!0,get:()=>O.ElFormItem}),Object.defineProperty(v,"FoxHeader",{enumerable:!0,get:()=>O.ElHeader}),Object.defineProperty(v,"FoxIcon",{enumerable:!0,get:()=>O.ElIcon}),Object.defineProperty(v,"FoxImage",{enumerable:!0,get:()=>O.ElImage}),Object.defineProperty(v,"FoxImageViewer",{enumerable:!0,get:()=>O.ElImageViewer}),Object.defineProperty(v,"FoxInput",{enumerable:!0,get:()=>O.ElInput}),Object.defineProperty(v,"FoxInputNumber",{enumerable:!0,get:()=>O.ElInputNumber}),Object.defineProperty(v,"FoxLink",{enumerable:!0,get:()=>O.ElLink}),Object.defineProperty(v,"FoxMain",{enumerable:!0,get:()=>O.ElMain}),Object.defineProperty(v,"FoxMenu",{enumerable:!0,get:()=>O.ElMenu}),Object.defineProperty(v,"FoxMenuItem",{enumerable:!0,get:()=>O.ElMenuItem}),Object.defineProperty(v,"FoxMenuItemGroup",{enumerable:!0,get:()=>O.ElMenuItemGroup}),Object.defineProperty(v,"FoxMessage",{enumerable:!0,get:()=>O.ElMessage}),Object.defineProperty(v,"FoxMessageBox",{enumerable:!0,get:()=>O.ElMessageBox}),Object.defineProperty(v,"FoxNotification",{enumerable:!0,get:()=>O.ElNotification}),Object.defineProperty(v,"FoxOption",{enumerable:!0,get:()=>O.ElOption}),Object.defineProperty(v,"FoxOptionGroup",{enumerable:!0,get:()=>O.ElOptionGroup}),Object.defineProperty(v,"FoxPageHeader",{enumerable:!0,get:()=>O.ElPageHeader}),Object.defineProperty(v,"FoxPagination",{enumerable:!0,get:()=>O.ElPagination}),Object.defineProperty(v,"FoxPopconfirm",{enumerable:!0,get:()=>O.ElPopconfirm}),Object.defineProperty(v,"FoxPopover",{enumerable:!0,get:()=>O.ElPopover}),Object.defineProperty(v,"FoxPopper",{enumerable:!0,get:()=>O.ElPopper}),Object.defineProperty(v,"FoxProgress",{enumerable:!0,get:()=>O.ElProgress}),Object.defineProperty(v,"FoxRadio",{enumerable:!0,get:()=>O.ElRadio}),Object.defineProperty(v,"FoxRadioButton",{enumerable:!0,get:()=>O.ElRadioButton}),Object.defineProperty(v,"FoxRadioGroup",{enumerable:!0,get:()=>O.ElRadioGroup}),Object.defineProperty(v,"FoxRate",{enumerable:!0,get:()=>O.ElRate}),Object.defineProperty(v,"FoxResult",{enumerable:!0,get:()=>O.ElResult}),Object.defineProperty(v,"FoxRow",{enumerable:!0,get:()=>O.ElRow}),Object.defineProperty(v,"FoxScrollbar",{enumerable:!0,get:()=>O.ElScrollbar}),Object.defineProperty(v,"FoxSegmented",{enumerable:!0,get:()=>O.ElSegmented}),Object.defineProperty(v,"FoxSelect",{enumerable:!0,get:()=>O.ElSelect}),Object.defineProperty(v,"FoxSelectV2",{enumerable:!0,get:()=>O.ElSelectV2}),Object.defineProperty(v,"FoxSkeleton",{enumerable:!0,get:()=>O.ElSkeleton}),Object.defineProperty(v,"FoxSkeletonItem",{enumerable:!0,get:()=>O.ElSkeletonItem}),Object.defineProperty(v,"FoxSlider",{enumerable:!0,get:()=>O.ElSlider}),Object.defineProperty(v,"FoxSpace",{enumerable:!0,get:()=>O.ElSpace}),Object.defineProperty(v,"FoxStatistic",{enumerable:!0,get:()=>O.ElStatistic}),Object.defineProperty(v,"FoxStep",{enumerable:!0,get:()=>O.ElStep}),Object.defineProperty(v,"FoxSteps",{enumerable:!0,get:()=>O.ElSteps}),Object.defineProperty(v,"FoxSubMenu",{enumerable:!0,get:()=>O.ElSubMenu}),Object.defineProperty(v,"FoxSwitch",{enumerable:!0,get:()=>O.ElSwitch}),Object.defineProperty(v,"FoxTabPane",{enumerable:!0,get:()=>O.ElTabPane}),Object.defineProperty(v,"FoxTable",{enumerable:!0,get:()=>O.ElTable}),Object.defineProperty(v,"FoxTableColumn",{enumerable:!0,get:()=>O.ElTableColumn}),Object.defineProperty(v,"FoxTableV2",{enumerable:!0,get:()=>O.ElTableV2}),Object.defineProperty(v,"FoxTabs",{enumerable:!0,get:()=>O.ElTabs}),Object.defineProperty(v,"FoxTag",{enumerable:!0,get:()=>O.ElTag}),Object.defineProperty(v,"FoxTimePicker",{enumerable:!0,get:()=>O.ElTimePicker}),Object.defineProperty(v,"FoxTimeSelect",{enumerable:!0,get:()=>O.ElTimeSelect}),Object.defineProperty(v,"FoxTimeline",{enumerable:!0,get:()=>O.ElTimeline}),Object.defineProperty(v,"FoxTimelineItem",{enumerable:!0,get:()=>O.ElTimelineItem}),Object.defineProperty(v,"FoxTooltip",{enumerable:!0,get:()=>O.ElTooltip}),Object.defineProperty(v,"FoxTransfer",{enumerable:!0,get:()=>O.ElTransfer}),Object.defineProperty(v,"FoxTree",{enumerable:!0,get:()=>O.ElTree}),Object.defineProperty(v,"FoxTreeSelect",{enumerable:!0,get:()=>O.ElTreeSelect}),Object.defineProperty(v,"FoxTreeV2",{enumerable:!0,get:()=>O.ElTreeV2}),Object.defineProperty(v,"FoxUpload",{enumerable:!0,get:()=>O.ElUpload}),Object.defineProperty(v,"FoxWatermark",{enumerable:!0,get:()=>O.ElWatermark}),v.ActionsheetItem=Pl,v.ActionsheetPane=$n,v.AutocompleteItem=Nl,v.Broadcast=Xn,v.BroadcastKey=Te,v.CalendarItem=Sl,v.CascaderItem=Dl,v.CheckboxItem=Bl,v.Content=rl,v.DataItemsKey=mt,v.DateItem=pl,v.DateUtils=ie,v.DialogItem=Xl,v.Domain=tn,v.DomainKey=Re,v.DomainProvider=ca,v.FloatingButton=na,v.FloatingWindow=sa,v.FooterBar=ol,v.FoxActionsheetItem=Pl,v.FoxActionsheetPane=$n,v.FoxAutocompleteItem=Nl,v.FoxCalendarItem=Sl,v.FoxCascaderItem=Dl,v.FoxCheckboxItem=Bl,v.FoxContent=rl,v.FoxDateItem=pl,v.FoxDialogItem=Xl,v.FoxDomainProvider=ca,v.FoxFloatingButton=na,v.FoxFloatingWindow=sa,v.FoxFooterBar=ol,v.FoxGroup=ul,v.FoxGroupSetting=_l,v.FoxHeaderBar=al,v.FoxHintText=At,v.FoxIndicator=Ql,v.FoxInfiniteLoading=Tn,v.FoxInputItem=gl,v.FoxInputNumberItem=$l,v.FoxItem=Se,v.FoxMapping=Mt,v.FoxMoneyItem=Cl,v.FoxMoreButton=ta,v.FoxOverLay=pn,v.FoxPage=nl,v.FoxPickerItem=Hl,v.FoxPopoverDialog=ua,v.FoxPopup=ut,v.FoxPrice=gn,v.FoxPullRefresh=Jl,v.FoxRadioItem=Fl,v.FoxRateItem=Ml,v.FoxRollingProvider=fa,v.FoxRowItem=ml,v.FoxSearchBar=Cn,v.FoxSelectItem=yl,v.FoxSlotItem=hl,v.FoxStepsBar=Yl,v.FoxSwitchItem=Rl,v.FoxTableItem=Al,v.FoxTableMappingColumn=El,v.FoxTableRadioColumn=Vl,v.FoxTableSetting=wn,v.FoxTabsBar=kn,v.FoxTabsContainer=Dn,v.FoxTabsPane=Nn,v.FoxText=ea,v.FoxTimeItem=xl,v.FoxTimeSelectItem=Tl,v.FoxToast=Zl,v.FoxTour=la,v.FoxTreeSelectItem=Ll,v.Foxcalendarpicker=vn,v.Foxcascaderpicker=Gl,v.Foxdatepicker=Ul,v.Foxpicker=Pt,v.Group=ul,v.GroupSetting=_l,v.HeaderBar=al,v.HintText=At,v.Indicator=Ql,v.InfiniteLoading=Tn,v.InputItem=gl,v.InputNumberItem=$l,v.Item=Se,v.Mapping=Mt,v.MoneyItem=Cl,v.MoreButton=ta,v.OverLay=pn,v.Page=nl,v.PickerItem=Hl,v.PopoverDialog=ua,v.Popup=ut,v.Price=gn,v.PriorityPolicy=_e,v.PullRefresh=Jl,v.RadioItem=Fl,v.RateItem=Ml,v.RollingProvider=fa,v.RowItem=ml,v.SearchBar=Cn,v.SelectItem=yl,v.SlotItem=hl,v.StepsBar=Yl,v.SwitchItem=Rl,v.TableItem=Al,v.TableMappingColumn=El,v.TableRadioColumn=Vl,v.TableSetting=wn,v.TabsBar=kn,v.TabsContainer=Dn,v.TabsPane=Nn,v.Text=ea,v.TimeItem=xl,v.TimeSelectItem=Tl,v.Toast=Zl,v.Tour=la,v.TreeSelectItem=Ll,v.UniqueID=Qa,v.ValidateSchema=Ra,v.ValidateSchemaKey=qe,v.calendarpicker=vn,v.cancelRaf=Rr,v.cascaderpicker=Gl,v.clearNonNumber=Ur,v.clone=Yn,v.compareTo=jn,v.createBroadcast=Xt,v.createValidateSchema=Jt,v.datepicker=Ul,v.debounce=st,v.debounceRef=ii,v.decimalLength=Ia,v.default=vy,v.defineBroadcast=Jr,v.defineConfigDomain=Pa,v.defineDataItem=za,v.defineDomain=Jn,v.defineItem=Ce,v.definePageState=ja,v.defineSimpleItem=Qn,v.deleteGlobalValidator=li,v.disabledProperty=Ie,v.divide=zn,v.excludeProps=ke,v.extend=rt,v.floatData=Zr,v.getGlobalValidateCheckEvents=Fa,v.getGlobalValidateResetEvents=Ma,v.getPageContentAreaHeight=ln,v.getPageContentAreaWidth=an,v.getPageFooterAreaHeight=It,v.getPageHeaderAreaHeight=Vt,v.getRootDomain=gt,v.hasSymbol=Ca,v.includeProps=kt,v.indexOf=Gr,v.installRules=qa,v.integerLength=Va,v.isArray=_r,v.isArrayLike=ka,v.isBrowser=tt,v.isDate=et,v.isESModule=jr,v.isEmptyString=de,v.isEqual=Pe,v.isFunction=Kn,v.isHidden=Gt,v.isInnerPage=ci,v.isMap=Pr,v.isNil=Gn,v.isNumberString=Ea,v.isObject=Le,v.isPlainObject=Wn,v.isPromise=Wt,v.isRegExp=Na,v.isSet=qr,v.isString=xa,v.isSubPage=fi,v.isSymbol=zr,v.isTouch=Lt,v.isWindow=$a,v.lastIndexOf=Xr,v.makeArray=Yr,v.merge=Da,v.multiply=va,v.negate=wa,v.nextTick=Kr,v.numberFormat=Kt,v.objectToString=Ta,v.once=si,v.overrideGlobalValidateHandler=ti,v.picker=Pt,v.property=Ee,v.raf=Hn,v.readonlyProperty=Ve,v.setGlobalValidateCheckEvents=ai,v.setGlobalValidateHandler=ei,v.setGlobalValidateMessages=ri,v.setGlobalValidateResetEvents=oi,v.setGlobalValidator=ni,v.throttle=_a,v.toBoolean=ce,v.toNumber=ge,v.toPadding=We,v.toPx=pe,v.toPxDesc=Ae,v.toTypeString=Yt,v.toValue=he,v.tryTimes=en,v.typeOf=Ut,v.unNumberFormat=Sa,v.updatePageState=el,v.useBroadcast=Dt,v.useDomain=Xe,v.useExpose=be,v.useInnerSize=sn,v.usePageState=nn,v.usePosition=cl,v.useRawTouch=_t,v.useRect=zl,v.useSize=ll,v.useTouch=lr,v.valueLength=Ke,Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(S,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("element-plus"),require("@element-plus/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","element-plus","@element-plus/icons-vue","@fox-js/i18n"],t):(S=typeof globalThis<"u"?globalThis:S||self,t(S.FoxUI={},S.Vue,S.FoxValidator,S.ElementPlus,S.ElementPlusIconsVue,S.FoxI18n))})(this,function(S,t,bt,T,Be,Ce){Object.defineProperties(S,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Ci=Object.create,Xn=Object.defineProperty,ki=Object.getOwnPropertyDescriptor,xi=Object.getOwnPropertyNames,zi=Object.getPrototypeOf,Ei=Object.prototype.hasOwnProperty,rt=(e,n)=>()=>(n||(e((n={exports:{}}).exports,n),e=null),n.exports),Ti=(e,n,l,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(var o=xi(n),r=0,s=o.length,c;r<s;r++)c=o[r],!Ei.call(e,c)&&c!==l&&Xn(e,c,{get:(a=>n[a]).bind(null,c),enumerable:!(i=ki(n,c))||i.enumerable});return e},ot=(e,n,l)=>(l=e!=null?Ci(zi(e)):{},Ti(n||!e||!e.__esModule?Xn(l,"default",{value:e,enumerable:!0}):l,e)),fl=window,$i=typeof window<"u";function Bi(){return typeof fl<"u"?fl.requestAnimationFrame||fl.webkitRequestAnimationFrame||function(e){fl.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Vi(e){$i?cancelAnimationFrame(e):clearTimeout(e)}var oa=Bi();function ml(e,n="0"){let l=0,i=-1;e[0]=="-"&&(l++,i=1,e=e.substring(1),e.length),n[0]=="-"&&(l++,i=2,n=n.substring(1),n.length),e=He(e),n=He(n),[e,n]=sa(He(e),He(n)),l==1&&(i==1?e=ia(e):n=ia(n));let o=Qn(e,n);return l?l==2?"-"+He(o):e.length<o.length?He(o.substring(1)):"-"+He(ia(o)):He(o)}function ia(e){let n="",l=e.length,i=e.split(".")[1],o=i?i.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?n+=9-parseInt(e[s]):n+=e[s];let r=o>0?"0."+new Array(o).join("0")+"1":"1";return Qn(n,r)}function He(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 sa(e,n){let l=e.split("."),i=n.split("."),o=l[0].length,r=i[0].length;return o>r?i[0]=new Array(Math.abs(o-r)+1).join("0")+(i[0]?i[0]:""):l[0]=new Array(Math.abs(o-r)+1).join("0")+(l[0]?l[0]:""),o=l[1]?l[1].length:0,r=i[1]?i[1].length:0,(o||r)&&(o>r?i[1]=(i[1]?i[1]:"")+new Array(Math.abs(o-r)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(o-r)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),n=i[0]+(i[1]?"."+i[1]:""),[e,n]}function Qn(e,n){[e,n]=sa(e,n);let l="",i=0;for(let o=e.length-1;o>=0;o--){if(e[o]==="."){l="."+l;continue}let r=parseInt(e[o])+parseInt(n[o])+i;l=r%10+l,i=Math.floor(r/10)}return i?i.toString()+l:l}var Ie=(function(e){return 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})({});function Ot(e,n=0,l=Ie.HALF_EVEN){if(l===Ie.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let i=!1;e[0]==="-"&&(i=!0,e=e.substring(1));let o=e.split("."),r=o[0],s=o[1];if(n<0){if(n=-n,r.length<=n)return"0";{let a=r.substr(0,r.length-n);return e=a+"."+r.substr(r.length-n)+s,a=Ot(e,0,l),(i?"-":"")+a+new Array(n+1).join("0")}}if(n==0)return r.length,Zn(o[1],r,i,l)?(i?"-":"")+ca(r):(i?"-":"")+r;if(o[1]){if(o[1].length<n)return(i?"-":"")+r+"."+o[1]+new Array(n-o[1].length+1).join("0")}else return(i?"-":"")+r+"."+new Array(n+1).join("0");s=o[1].substring(0,n);let c=o[1].substring(n);return c&&Zn(c,s,i,l)&&(s=ca(s),s.length>n)?(i?"-":"")+ca(r,parseInt(s[0]))+"."+s.substring(1):(i?"-":"")+r+"."+s}function Zn(e,n,l,i){if(!e||e===new Array(e.length+1).join("0")||i===Ie.DOWN||!l&&i===Ie.FLOOR||l&&i===Ie.CEILING)return!1;if(i===Ie.UP||l&&i===Ie.FLOOR||!l&&i===Ie.CEILING)return!0;let o="5"+new Array(e.length).join("0");if(e>o)return!0;if(e<o)return!1;switch(i){case Ie.HALF_DOWN:return!1;case Ie.HALF_UP:return!0;case Ie.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function ca(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let l=e.length-1,i="";for(let o=l;o>=0;o--){let r=parseInt(e[o])+n;r==10?(n=1,r=0):n=0,i+=r}return n&&(i+=n),i.split("").reverse().join("")}function ua(e,n){e=e.toString(),n=n.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),n[0]=="-"&&(l++,n=n.substr(1)),e=qt(e),n=qt(n);let i=0,o=0;e.indexOf(".")!=-1&&(i=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(o=n.length-n.indexOf(".")-1);let r=i+o;if(e=qt(e.replace(".","")),n=qt(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let s=n.length,c=0,a=[],u=s-1,p="";for(let d=0;d<s;d++)a[d]=e.length-1;for(let d=0;d<2*e.length;d++){let m=0;for(let $=n.length-1;$>=u&&$>=0;$--)a[$]>-1&&a[$]<e.length&&(m+=parseInt(e[a[$]--])*parseInt(n[$]));m+=c,c=Math.floor(m/10),p=m%10+p,u--}return p=qt(Di(p,r)),l==1&&(p="-"+p),p}function Di(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 qt(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 da(e,n,l=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 i=0;n[0]=="-"&&(n=n.substring(1),i++),e[0]=="-"&&(e=e.substring(1),i++);var o=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=He(n.replace(".","")),o>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=He(e+new Array(o+1).join("0"));else if(o>u)e=e.replace(".",""),e=He(e+new Array(o-u+1).join("0"));else if(o<u){e=e.replace(".","");let p=e.length-u+o;e=He(e.substring(0,p)+"."+e.substring(p))}else o==u&&(e=He(e.replace(".","")))}let r=0,s=n.length,c="",a=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),a.indexOf(".")>-1){let u=a.length-a.indexOf(".")-1;a=a.replace(".",""),s>a.length&&(u+=s-a.length,a=a+new Array(s-a.length+1).join("0")),r=u,c="0."+new Array(u).join("0")}for(l=l+2;r<=l;){let u=0;for(;parseInt(a)>=parseInt(n);)a=ml(a,"-"+n),u++;c+=u,e?(e[0]=="."&&(c+=".",r++,e=e.substring(1)),a=a+e.substring(0,1),e=e.substring(1)):(r||(c+="."),r++,a=a+"0")}return(i==1?"-":"")+He(Ot(c,l-2))}function fa(e,n){return e=e.toString(),n=n.toString(),n=ma(n),ml(e,n)}function ma(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Jn(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),er(e),er(n);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let i=fa(e,ua(n,Ot(da(e,n),0,Ie.FLOOR)));return l+i}function er(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function tr(e,n){let l=!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),l=!0),[e,n]=sa(e,n),e.localeCompare(n)==0)return 0;for(let i=0;i<e.length;i++)if(e[i]!=n[i])return e[i]>n[i]?l?-1:1:l?1:-1;return 0}var Ht=class we{value;static RoundingModes=Ie;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[l,i]=n.split(/[eE]/);l=He(l);let o="";l[0]=="-"&&(o="-",l=l.substring(1)),l.indexOf(".")>=0?(i=parseInt(i)+l.indexOf("."),l=l.replace(".","")):i=parseInt(i)+l.length,l.length<i?n=o+l+new Array(i-l.length+1).join("0"):l.length>=i&&i>0?n=o+He(l.substring(0,i))+(l.length>i?"."+l.substring(i):""):n=o+"0."+new Array(-i+1).join("0")+l}return n}constructor(n="0"){this.value=we.validate(n)}getValue(){return this.value}static getPrettyValue(n,l,i){if(!(l||i))l=3,i=",";else if(!(l&&i))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=we.validate(n);let o=n.charAt(0)=="-";o&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var s="",c=r;c>0;)c<l?(l=c,c=0):c-=l,s=n.substring(c,c+l)+(c<r-l&&c>=0?i:"")+s;return(o?"-":"")+s+n.substring(r)}getPrettyValue(n,l){return we.getPrettyValue(this.value,n,l)}static round(n,l=0,i=Ie.HALF_EVEN){if(n=we.validate(n),isNaN(l))throw Error("Precision is not a number: "+l);return Ot(n,l,i)}round(n=0,l=Ie.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new we(Ot(this.value,n,l))}static floor(n){return n=we.validate(n),n.indexOf(".")===-1?n:we.round(n,0,Ie.FLOOR)}floor(){return this.value.indexOf(".")===-1?new we(this.value):new we(this.value).round(0,Ie.FLOOR)}static ceil(n){return n=we.validate(n),n.indexOf(".")===-1?n:we.round(n,0,Ie.CEILING)}ceil(){return this.value.indexOf(".")===-1?new we(this.value):new we(this.value).round(0,Ie.CEILING)}static add(n,l){return n=we.validate(n),l=we.validate(l),ml(n,l)}add(n){return new we(ml(this.value,n.getValue()))}static subtract(n,l){return n=we.validate(n),l=we.validate(l),fa(n,l)}subtract(n){return new we(fa(this.value,n.getValue()))}static multiply(n,l){return n=we.validate(n),l=we.validate(l),ua(n,l)}multiply(n){return new we(ua(this.value,n.getValue()))}static divide(n,l,i){return n=we.validate(n),l=we.validate(l),da(n,l,i)}divide(n,l){return new we(da(this.value,n.getValue(),l))}static modulus(n,l){return n=we.validate(n),l=we.validate(l),Jn(n,l)}modulus(n){return new we(Jn(this.value,n.getValue()))}static compareTo(n,l){return n=we.validate(n),l=we.validate(l),tr(n,l)}compareTo(n){return tr(this.value,n.getValue())}static negate(n){return n=we.validate(n),ma(n)}negate(){return new we(ma(this.value))}};function lr(e,n){return Ht.multiply(`${e}`,`${n}`)}function pa(e,n,l=8){return Ht.divide(`${e}`,`${n}`,l)}var Fm=Ht.RoundingModes;function ha(e,n){return e=`${e}`,n=`${n}`,Ht.compareTo(e,n)}function ar(e){return Ht.negate(e)}function pl(e,n=-1,l=!1,i=3,o=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let c=r,a="",u=r.indexOf(".");u!=-1&&(c=r.substring(0,u),a=r.substring(u+1)),n!=-1&&(n<a.length?a=a.substring(0,n):l&&n>a.length&&(a=a.padEnd(n,"0")));let p;if(i>0){let d="",m=c.split("").reverse();for(let $=0;$<m.length;$++)d+=m[$]+(($+1)%i==0&&$+1!=m.length?o:"");a.length==0?p=`${s}${d.split("").reverse().join("")}`:p=`${s}${d.split("").reverse().join("")}.${a}`}else a.length==0?p=`${s}${c}`:p=`${s}${c}.${a}`;return p}function nr(e){let n=`${e}`,l=n.charAt(0);l=="-"?n=n.substring(1):l="";let i=n.replace(/[^\d\.-]/g,"");return`${l}${i}`}var ga=oa,Mi=Array.isArray,Ai=e=>gl(e)==="[object Map]",Ii=e=>gl(e)==="[object Set]",ya=e=>e instanceof Date,ba=e=>typeof e=="function",rr=e=>typeof e=="string",Pi=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",hl=e=>je(e)&&ba(e.then)&&ba(e.catch),or=Object.prototype.toString,gl=e=>or.call(e),Li=e=>gl(e)==="[object Object]",ir=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function _i(e){return e.__esModule||ir&&e[Symbol.toStringTag]==="Module"}var Ri=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function kt(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,i=e.length,o=!1;for(typeof n=="boolean"&&(o=n,n=e[l]??{},l++),typeof n!="object"&&(n={});l<i;l++)if(e[l]!==null&&e[l]!==void 0){let r=e[l];for(let s in r){let c=n[s],a=r[s];if(c!==a)if(o===!0&&a&&typeof a=="object"){let u;Array.isArray(a)?u=c&&Array.isArray(c)?c:[]:u=c&&typeof c=="object"?c:{},n[s]=kt(o,u,a)}else a!==void 0&&(n[s]=a)}}return n}var Sa=Ri?Promise.resolve():null;function Fi(e,...n){Sa!==null?n&&n.length>0?Sa.then(()=>{e(n)}):Sa.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function pe(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function ve(e){return typeof e=="number"?e:Number(e)}var Oi={"[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 yl(e){let n=Object.prototype.toString.call(e);return e==null?String(e):Oi[n]||"object"}function wa(e){if(!e||e.nodeType!==1)return!0;let n=e;for(;n;){if(n.hidden)return!0;const l=window.getComputedStyle(n);if(l.display==="none"||l.visibility==="hidden"||l.visibility==="collapse")return!0;n=n.parentElement}return!1}function va(e){if(!e)return!0;if(e.offsetParent!==null)return!1;if(getComputedStyle(e).position!=="fixed")return!0;let n=e.parentElement;for(;n;){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function sr(e){return e&&typeof e=="object"&&"setInterval"in e}function cr(e){let n=!!e&&"length"in e&&e.length,l=yl(e);return l==="function"||sr(e)?!1:l==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ur(e,n){let l=+n.length,i=0,o=e.length;for(;i<l;i++)e[o++]=n[i];return e.length=o,e}function qi(e,n=[]){let l=n;return e!=null&&(cr(Object(e))?ur(l,typeof e=="string"?[e]:e):l.push(e)),l}function Ge(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let l=yl(e);if(l!==yl(n))return!1;if(l==="object"){let i=Object.keys(e),o=Object.keys(n);if(i.length!==o.length)return!1;for(let r=0;r<i.length;r++){let s=i[r],c=e[s],a=n[s];if(!Ge(c,a))return!1}return!0}else if(l==="array"){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=n[i];if(!Ge(o,r))return!1}return!0}return!1}var ut=typeof window<"u";function Fe(e){return e==null}function Na(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ye=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Ca(e){return ye(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ye(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function dr(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 l=n.indexOf(".");return l==-1?n.length:l}function fr(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const l=n.indexOf(".");return l==-1?0:n.length-(l+1)}function mr(e,n,l){const i=e.indexOf(n);return i===-1?e:n==="-"&&i!==0?e.slice(0,i):e.slice(0,i+1)+e.slice(i).replace(l,"")}function Hi(e,n=!0,l=!0){n?e=mr(e,".",/\./g):e=e.replace(/\./g,""),l?e=mr(e,"-",/-/g):e=e.replace(/-/,"");const i=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(i,"")}function ji(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(l=>{if(Ge(e,l))return!0}):n.indexOf(e)}function Ki(e,n){if(typeof e=="object"||Array.isArray(e)){let l=n.reverse().findIndex(i=>{if(Ge(e,i))return!0});return l!==-1&&(l=n.length-1-l),l}return n.lastIndexOf(e)}function dt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function it(e,...n){const l={};return n.forEach(i=>{for(const o in i)l[o]=e[o]}),l}function Ve(e,...n){const l=[];n.forEach(o=>{Reflect.apply([].push,l,Reflect.ownKeys(o))});const i={};for(const o in e)l.includes(o)||(i[o]=e[o]);return i}var Wi=(e,n,l)=>{const i=Object.assign({},e),o=Object.assign({},l);return Object.keys(n).length>0?(Object.keys(i).forEach(r=>{o.hasOwnProperty(r)?typeof o[r]=="string"&&(i[r]=n[o[r]]):n[r]&&(i[r]=n[r])}),i):e};function Yi(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var Ui=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},Gi=(e,n,l)=>Math.min(Math.max(e,n),l);function jt(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function pr(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var Xe=Symbol.for("BroadcastKey"),hr=class{parent;children=[];callbacks=new Map;exposed=null;name;persistantMessages=new Map;constructor(e,n,l){this.parent=e,this.exposed=n,this.name=l,e!==null&&e.addChild(this)}addChild(e){this.children.push(e)}removeChild(e){const n=this.children.findIndex(l=>e===l);n!==-1&&this.children.splice(n,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.callbacks=null,this.exposed=null}setPersistantMessage(e,n,l){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const i=e.uniqueId,o={matched:e,action:n,args:l};return this.persistantMessages.set(i,o),!0}deletePersistantMessage(e){this.persistantMessages.delete(e)}getPersistantMessages(){const e=[];return this.persistantMessages.forEach(n=>{e.push(n)}),e}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(e,n){if(!n||n.messagingPolicy==="Once"&&n.resolved===!0)return!1;let l=!1;return!n.name||n.name==="*"||n.name==="+"||Na(n.name)&&e&&n.name.test(e)?l=!0:typeof n.name=="function"?l=Reflect.apply(n.name,null,[e]):n.name===e&&(l=!0),l}trigger(e,n,l){let i=null;const o=this.callbacks.get(n);typeof o=="function"&&(i=Reflect.apply(o,null,[...l])),this.exposed&&typeof this.exposed[n]=="function"&&(i=Reflect.apply(this.exposed[n],this.exposed,[...l])),e.resolved=!0,typeof e.resolve=="function"&&e.resolve(i)}pull(){let e=this.parent;for(;e;){const n=e.getPersistantMessages();Array.isArray(n)&&n.length>0&&n.forEach(l=>{if(this.isMatched(this.name,l.matched))try{this.trigger(l.matched,l.action,l.args)}catch(i){console.error(i)}}),e=e.parent}}emit(e,n,...l){if(e.messagingPolicy==="Once"&&e.resolved===!0)return[];if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const r=e.resolve,s=e.uniqueId??"",c=(...a)=>{this.deletePersistantMessage(s),typeof r=="function"&&r(...a)};e.resolve=c}e.cachePolicy="None"}let i=!1;!e.name||e.name==="*"?i=!0:e.name==="+"?(i=!1,e.name="*"):Na(e.name)&&this.name&&e.name.test(this.name)?i=!0:typeof e.name=="function"?i=Reflect.apply(e.name,null,[this.name]):e.name===this.name&&(i=!0);const o=[];if(i){const r=this.callbacks.get(n);if(typeof r=="function"){const s=Reflect.apply(r,null,[...l]);Fe(s)||o.push(s)}if(this.exposed&&typeof this.exposed[n]=="function"){const s=Reflect.apply(this.exposed[n],this.exposed,[...l]);Fe(s)||o.push(s)}if(e.resolved=!0,typeof e.resolve=="function"&&e.resolve(...o),e.messagingPolicy==="Once")return o}return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...e},n,...l]);Array.isArray(s)&&s.length>0&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(e,n,...l){if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const o=e.resolve,r=e.uniqueId??"",s=(...c)=>{this.deletePersistantMessage(r),typeof o=="function"&&o(...c)};e.resolve=s}e.cachePolicy="None"}const i=[];return this.children.forEach(o=>{const r=Reflect.apply(o.emit,o,[{...e},n,...l]);Array.isArray(r)&&Reflect.apply([].push,i,[...r])}),i}on(e,n){this.callbacks.set(e,n)}};function Kt(e,n,l,i){const o=new hr(n,e,l);if(i&&typeof i=="object")for(const r in i)o.on(r,i[r]);return o}function Wt(e){let n=e?.[Xe];return!n&&(0,t.hasInjectionContext)()&&(n=(0,t.inject)(Xe,null)),n}var Xi=class{error(e,n){const l=Wt(n.exposed);l?l.emit({name:"*"},"setErrorTip",e):n.exposed&&typeof n.exposed.setErrorTip=="function"&&n.exposed.setErrorTip(e)}reset(e){const n=Wt(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}success(e){const n=Wt(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}decorate(e,n,l){Array.isArray(e)||(e=[e]);const i=Wt(l.exposed),o=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),r=e.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!o&&r?i?i.emit({name:"*"},"setRequired",!0):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!0):o&&!r&&(i?i.emit({name:"*"},"setRequired",!1):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!1),this.reset(l))}getValue(e){return e.props.modelValue??e.exposed.modelValue}},Yt=new Xi;function Qi(e){Yt=e}function Zi(e){Yt?Object.assign(Yt,e):Yt=e}function Ji(e,n){bt.Schema.setValidator(e,n)}function es(e){bt.Schema.deleteValidator(e)}var gr=["blur","clear"];function ts(e){gr=e}function yr(){return gr}var br=["focus","change","setValue"];function ls(e){br=e}function Sr(){return br}function as(e){bt.Schema.messages(e)}function Ut(...e){const n=[];return e.forEach(l=>{l.forEach(i=>{const o=n.findIndex(r=>r.type===i.type);o!==-1&&n.splice(o,1),n.push(i)})}),n}function bl(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}var ft=Symbol("ValidateSchemaKey"),wr=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(e,n,l){this.parent=e,this.descriptor=n,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){this.descriptor.pureDataValidate!==!0&&this.descriptor.valueName&&this.descriptor.context?.attrs&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const e=bl(Ut(this.attrRules,this.rules)),n=[],l=this.descriptor.context?.attrs??{};for(let o in l){let r=l[o];if(this.hasValidator(o,!0)){if(r===!1)continue;let c={type:o};r!==null&&typeof r=="object"&&Object.assign(c,r),n.push(c);continue}let s=this.getValidator(o);if(s!==null){let c={type:o,validator:s};n.push(c)}}this.attrRules=bl(n);const i=Ut(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(i,e)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(e,...n){const l=this.descriptor.validateHandler;if(l&&typeof l[e]=="function")return Reflect.apply(l[e],l,[...n]);const i=Yt;return i&&typeof i[e]=="function"?Reflect.apply(i[e],i,[...n]):null}decorate(e,n){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",e,n,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(e){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",e,this.proxy)}getValue(){return this.execHandler("getValue",this.proxy)}setValidator(e,n,l=!1){l?bt.Schema.setValidator(e,n):this.validators[e]=n}getValidator(e){let n=this.validators[e]??null;return n||(n=this.parent?.getValidator(e)??null),n}deleteValidator(e,n=!1){n?bt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return bt.Schema.hasValidator(e);{let l=Reflect.has(this.validators,e);return!l&&this.parent!==null&&(l=this.parent.hasValidator(e,!1)),l}}setRule(e){const n=Ut(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=bl(e):this.rules=bl([e]);const l=Ut(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,n)})}clear(){this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=Ut(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const l={[`${n}`]:e},i=this.getValue(),o={[`${n}`]:i},r=new bt.Schema(l),s=this.proxy??o;return r.validate(o,{context:s}).then(c=>{if(c.pass)this.success();else{let a="error";Array.isArray(c.errors)&&c.errors.length>0&&(a=c.errors[0].message??a,c.errors=[c.errors[0]],c.errors[0].ref=s),this.error(a)}return c}).catch(c=>{const a=c.message??`${c}`;return this.error(a),c})}}return Promise.resolve({pass:!0})}};function Sl(e,n,l){l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string";const i={exposed:e,get $el(){return l.templateRefProxy?.$el},get props(){return l.props},get attrs(){return l.context?.attrs}};if(!l.validateHandler&&l.valueName!=="modelValue"){const o=l.valueName;l.validateHandler={getValue(r){return r.props?.[o]??r.exposed[o]}}}return new wr(n,l,i)}var wl=Symbol.for("EventEmitterKey"),vr=class{register=new Map;emitFn;constructor(e){this.emitFn=e??null}destroy(){this.emitFn=null,this.register.clear()}off(e,n){let l=this.register.get(e);if(l&&Array.isArray(l)){let i=l.findIndex(o=>o===n);i!==-1&&l.splice(i,1)}}on(e,n){let l=this.register.get(e);l||(l=new Array,this.register.set(e,l)),l.push(n)}emit(e,...n){const l=this.register.get(e);l&&l.forEach(i=>{try{Reflect.apply(i,null,[e,...n])}catch(o){console.error(o.message,o)}}),this.emitFn&&Reflect.apply(this.emitFn,null,[e,...n])}};function Ue(e,n){let l=null;return function(...i){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...i])},n)}}function Nr(e,n){let l=0;return function(...i){const o=new Date().getTime();o-l<n||(l=o,Reflect.apply(e,null,[...i]))}}function ns(e,n){const l=Ue((i,o)=>{e=i,o()},n);return(0,t.customRef)((i,o)=>({get(){return i(),e},set(r){l(r,o)}}))}function rs(e){let n=!1;return function(...l){n||(n=!0,Reflect.apply(e,null,[...l]))}}function vl(e,n,l,i=0,o=!0,r){let s=n,c=0;if(o){const u=e();if(c++,u){typeof r=="function"&&r(!0);return}if(c>l){typeof r=="function"&&r(!1);return}}const a=()=>{const u=e();if(c++,u){typeof r=="function"&&r(!0);return}if(c>l){typeof r=="function"&&r(!1);return}s+=i,setTimeout(a,s)};setTimeout(a,s)}var mt=Symbol("DomainKey"),Gt=Symbol("DataItemsKey"),Nl=class{_parent=null;get parent(){return this._parent}set parent(e){this._parent=e}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(e){this._broadcast=e}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(e){this._validateSchema=e}componentPublicExposed={};_props=(0,t.reactive)({});_datas={};constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={},this._datas={},this.componentPublicExposed={}}setData(e,n){this._datas[e]=n}getData(e){return this._datas[e]}hasData(e){return Reflect.has(this._datas,e)}deleteData(e){return Reflect.deleteProperty(this._datas,e)}merge(e,n=[]){for(const l in e){const i=e[l];n.length>0&&n.indexOf(i)!==-1||(this._props[l]=i)}}has(e){if(Reflect.has(this._props,e)){const n=this._props[e];if(n!=null)return!0}return this.parent==null?!1:this.parent.has(e)}delete(e){Reflect.deleteProperty(this._props,e)}set(e,n){this._props[e]=n}get(e,n){if(Reflect.has(this._props,e)){const l=this._props[e];if(l!=null)return l}return this.parent==null?n:this.parent.get(e,n)}getForParent(e,n){return this.parent==null?n:this.parent.get(e,n)}getForSelf(e){return this._props[e]}getAll(e){const n=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,e)){const i=l._props[e];n.push(i)}l=l._parent}return n}},os=new Nl;function xt(){return os}function pt(){return(0,t.inject)(mt,null)}var ka=Symbol("OriginalDateKey");function xa(e,n,l){const i=(0,t.hasInjectionContext)(),o=i?(0,t.getCurrentScope)():null;let r=i?(0,t.inject)(mt,null):null;r===null&&(r=xt());const s=n;let c=new Nl(s);c.parent=r;const a=y=>{c?.hasData(ka)||d(y),c?.set("modelValue",y)},u=()=>c?.getForSelf("modelValue")??null,p=()=>c?.getData(ka)??null,d=y=>{const h={};kt(!0,h,(0,t.toRaw)(y)),c.setData(ka,h)},m=e.props,$=e.ignorePropKeys;(0,t.isReactive)(m)||typeof m=="function"?(0,t.watch)(m,y=>{c?.merge(y,$),y.modelValue&&d(y.modelValue)},{immediate:!0}):(c.merge(m,$),m.modelValue&&d(m.modelValue));const x=(y,h)=>{c?.set(y,h)},v=y=>c?.getForSelf(y)??null;if(c.componentPublicExposed[mt]=c,(0,t.provide)(mt,c),o!==null){const y=(0,t.inject)(Xe,null),h=Kt(c.componentPublicExposed,y,s,l);c.broadcast=h,c.componentPublicExposed[Xe]=h,(0,t.provide)(Xe,h),c.componentPublicExposed.broadcast=(L,H,...W)=>{if(h)return Reflect.apply(h.emit,h,[L,H,...W])};const w=(0,t.inject)(ft,null),f=Sl(c.componentPublicExposed,w,{componentName:"",context:e.context});c.validateSchema=f,c.componentPublicExposed[ft]=f,(0,t.provide)(ft,f),c.componentPublicExposed[Gt]=new Map,c.componentPublicExposed.validate=async(L=!0)=>{const H=[];let W=null;const F={};let B=!1;if(L===!0)W={name:"*"},B=!0;else if(Array.isArray(L)&&L.length>0){const k=L;W={name:I=>I?k.indexOf(I)!==-1:!1},B=!0}else if(L!=null&&typeof L=="object"){const k=L;if(k.deep!==!1){if(Object.assign(F,k),Array.isArray(k.include)&&k.include.length>0){const I=k.include;W={name:z=>z?I.indexOf(z)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const I=k.exclude;W={name:z=>z?I.indexOf(z)===-1:!1}}else W={name:"*"};B=!0}}if(B&&W){F.deep=!1;const k=h?.emitToChildren(W,"validate",F);k&&Reflect.apply([].push,H,k)}return H.length==1?H[0]:H.length>1?Promise.all(H).then(k=>{let I=[];return k.forEach(z=>{z.pass===!1&&Array.isArray(z.errors)&&(I=[...I,...z.errors])}),I.length>0?{pass:!1,errors:I}:{pass:!0}}):Promise.resolve({pass:!0})};const R=e.context;c.componentPublicExposed.setNameValidateRules=(L,H=!0,W=!1)=>{if(W===!0){Reflect.ownKeys(L).forEach(F=>{let B=String(F);const k={componentName:"",fieldName:B,pureDataValidate:!0,context:R};if(c){const I=kr(c,B,k,h,f);c.componentPublicExposed[Gt].set(B,I);const z=L[B];z&&I.validateSchema.setRule(z)}});return}if(H){const F=Reflect.ownKeys(L);h?.emitToChildren({name:B=>F.includes(B),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",L,!1)}},c.componentPublicExposed.clearValidate=(L=!0)=>{let H=null;const W={};let F=!1;if(L===!0)H={name:"*"},F=!0;else if(Array.isArray(L)&&L.length>0){const B=L;H={name:k=>k?B.indexOf(k)!==-1:!1},F=!0}else if(L!=null&&typeof L=="object"){const B=L;if(B.deep!==!1){if(Array.isArray(B.include)&&B.include.length>0){const k=B.include;H={name:I=>I?k.indexOf(I)!==-1:!1}}else if(Array.isArray(B.exclude)&&B.exclude.length>0){const k=B.exclude;H={name:I=>I?k.indexOf(I)===-1:!1}}else H={name:"*"};Object.assign(W,B),F=!0}}F&&H&&(W.deep=!1,h?.emitToChildren(H,"clearValidate",W))},c.componentPublicExposed.resetFields=L=>{const H=u();if(!H)return;const W={};if(kt(!0,W,p()??{}),Array.isArray(L))L.forEach(F=>{H[F]=W[F]});else if(L&&Array.isArray(L.include))(L.include??[]).forEach(F=>{H[F]=W[F]});else if(L&&Array.isArray(L.exclude)){let F=L.exclude??[];Reflect.ownKeys(W).forEach(B=>{F.includes(B)||(H[B]=W[B])})}else Object.assign(H,W);c?.componentPublicExposed?.clearValidate(L)},c.componentPublicExposed.setModelValue=(L,H)=>{if(!H||H===s)a(L);else{const W={name:H,messagingPolicy:"Once"};h?.emitToChildren(W,"setModelValue",L)}},c.componentPublicExposed.getModelValue=()=>u(),c.componentPublicExposed.setDomainProperty=(L,H)=>{x(L,H)},c.componentPublicExposed.getDomainProperty=L=>v(L),setTimeout(function(){h?.pull()},0)}(0,t.onScopeDispose)(function(){c?.validateSchema&&c.validateSchema.destroy(),c?.broadcast&&c?.broadcast?.destroy(),c.componentPublicExposed[Gt]&&c.componentPublicExposed[Gt].clear(),c?.destroy(),c=null});const g=e.context?.expose;return{domain:c,exposeApi:(y={})=>{Object.assign(c.componentPublicExposed,y),g?.(c.componentPublicExposed)}}}function Cr(e,n){let l=(0,t.inject)(mt,null);l===null&&(l=xt());let i=new Nl(n);i.parent=l;const o=e.props,r=e.ignorePropKeys;(0,t.isReactive)(o)||typeof o=="function"?(0,t.watch)(o,c=>{i?.merge(c,r)},{immediate:!0}):i.merge(o,r),i.componentPublicExposed[mt]=i,(0,t.provide)(mt,i),(0,t.onScopeDispose)(()=>{i?.destroy(),i=null});const s=e.context?.expose;return{domain:i,exposeApi:(c={})=>{Object.assign(i.componentPublicExposed,c),s?.(i.componentPublicExposed)}}}function Ee(e,n,l){const i={},o=n??e.componentName??"";let r=Kt(i,(0,t.inject)(Xe,null),o,l);i[Xe]=r,(0,t.provide)(Xe,r),i.broadcast=(d,m,...$)=>r?Reflect.apply(r.emit,r,[d,m,...$]):null;const s=(0,t.inject)(ft,null);e.fieldName=e.fieldName??o;let c=Sl(i,s,e);i[ft]=c,(0,t.provide)(ft,c),i.validate=async(d=null)=>{if(!c)return Promise.resolve({pass:!0});const m=[];let $=null;const x={};let v=!1,g=!1;if(d===!0)$={name:"*"},g=!0,v=!0;else if(Array.isArray(d)&&d.indexOf(o)!==-1){const y=d;$={name:h=>h?y.indexOf(h)!==-1:!1},g=!0,v=!0}else if(d&&typeof d=="object"){const y=d,h=y.ignoreDisabled??!0,w=y.ignoreReadonly??!0,f=y.ignoreHidden??!0;h===!0&&e.disabled===!0||w===!0&&e.readonly===!0||f===!0&&wa(e.templateRefProxy?.$el??e.templateRefProxy)?g=!1:(Array.isArray(y.include)&&y.include.indexOf(o)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(o),g=!0),Object.assign(x,y),v=y.deep??!1}if(g){const y=c?.validate();m.push(y)}if(v&&$){x.deep=!1;const y=r?.emitToChildren($,"validate",x);y&&Reflect.apply([].push,m,y)}return m.length==1?m[0]:m.length>1?Promise.all(m).then(y=>{let h=[];return y.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(h=[...h,...w.errors])}),h.length>0?{pass:!1,errors:h}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=d=>c?.setRule(d),i.setNameValidateRules=(d,m=!1)=>{const $=d[o];$&&c?.setRule($),m&&r&&r.emitToChildren({name:x=>Reflect.ownKeys(d).includes(x)},"setNameValidateRules",d,!1)},i.clearValidate=(d=!0)=>{if(!c)return;let m=null;const $={};let x=!1,v=!1;if(d===!0)m={name:"*"},v=!0,x=!0;else if(Array.isArray(d)&&d.indexOf(o)!==-1){const g=d;m={name:y=>y?g.indexOf(y)!==-1:!1},v=!0,x=!0}else if(d&&typeof d=="object"){const g=d;(g.ignoreHidden??!0)===!0&&wa(e.templateRefProxy?.$el??e.templateRefProxy)?v=!1:(Array.isArray(g.include)&&g.include.indexOf(o)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(o),v=!0),Object.assign($,g),x=g.deep??!1}v&&c?.clear(),x&&m&&($.deep=!1,r?.emitToChildren(m,"clearValidate",$))};let a=new vr(e.context?.emit);i[wl]=a,i.triggerEvent=(d,...m)=>{a.emit(d,...m)};const u=Ue((d="validate")=>{c&&(d==="reset"?c.clear():c.validate())},60);(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:yr()).forEach(d=>{a&&a.on(d,m=>{u("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Sr()).forEach(d=>{a&&a.on(d,m=>{u("reset")})}),setTimeout(function(){r?.pull()},0),(0,t.onScopeDispose)(()=>{r?.destroy(),r=null,c?.destroy(),i[ft]=null,c=null,a?.destroy(),i[wl]=null,a=null,i.broadcast=null,i.validate=null,i.setValidateRule=null,i.setNameValidateRules=null,i.clearValidate=null});const p=e.context?.expose;return{broadcast:r,validateSchema:c,emitEvent:(d,...m)=>{a&&Reflect.apply(a.emit,a,[d,...m])},onEvent:(d,m)=>{a&&Reflect.apply(a.on,a,[m])},offEvent:(d,m)=>{a&&Reflect.apply(a.off,a,[m])},componentPublicExposed:i,exposeApi:(d={})=>{Object.assign(i,d),p?.(i)}}}function kr(e,n,l,i,o){const r={},s=n??"",c={getValue(){const d=e.getForSelf("modelValue");return d?d[s]:null},isExist(){const d=e.getForSelf("modelValue");return d?Reflect.has(d,s):!1}};l.fieldName=s,l.validateHandler={getValue(d){return c.getValue()}};let a=Sl({},o,l);r.validate=async(d=null)=>{if(!c.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const m=[];let $=!1,x=!1;if(Array.isArray(d)&&d.indexOf(s)!==-1)x=!0,$=!0;else if(d&&typeof d=="object"){const v=d;Array.isArray(v.include)&&v.include.indexOf(s)!==-1||Array.isArray(v.exclude)&&v.exclude.indexOf(s),x=!0,$=v.deep??!1}else typeof d=="boolean"&&($=d),x=!0;if(x&&a){const v=a.validate();m.push(v)}if($){let v=null;const g={};if(d===!0)v={name:"*"};else if(Array.isArray(d)&&d.length>0){const y=d;v={name:h=>h?y.indexOf(h)!==-1:!1}}else if(d!=null&&typeof d=="object"){const y=d;if(Object.assign(g,y),Array.isArray(y.include)&&y.include.length>0){const h=y.include;v={name:w=>w?h.indexOf(w)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const h=y.exclude;v={name:w=>w?h.indexOf(w)===-1:!1}}else v={name:"*"}}if(v&&u){g.deep=!1;const y=u.emitToChildren(v,"validate",g);Reflect.apply([].push,m,y)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(v=>{let g=[];return v.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(g=[...g,...y.errors])}),g.length>0?{pass:!1,errors:g}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=d=>a?.setRule(d),r.setNameValidateRules=d=>{const m=d[s];m&&a?.setRule(m)};let u=Kt(r,i,s);(0,t.onScopeDispose)(()=>{a=null,u=null});const p=l.context?.expose;return{broadcast:u,validateSchema:a,componentPublicExposed:r,exposeApi:(d={})=>{Object.assign(r,d),p?.(r)}}}function St(e,n){let l={};if(n){const r=(0,t.inject)(Xe,null),s=Kt(l,r,n,{});l[Xe]=s,(0,t.provide)(Xe,s)}let i=new vr(e.context?.emit);l[wl]=i,l.triggerEvent=(r,...s)=>{i.emit(r,...s)},(0,t.onScopeDispose)(()=>{i?.destroy(),Reflect.deleteProperty(l,wl),l=null,i=null});const o=e.context?.expose;return{emitEvent:(r,...s)=>{i&&Reflect.apply(i.emit,i,[r,...s])},onEvent:(r,s)=>{i&&Reflect.apply(i.on,i,[s])},offEvent:(r,s)=>{i&&Reflect.apply(i.off,i,[s])},componentPublicExposed:l,exposeApi:(r={})=>{Object.assign(l,r),o?.(l)}}}var xe=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${ge(e,n)}px`:"",is=xe;function ge(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 l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let o=Number(e.substring(0,l)),r=1;if(ut){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),c=s.indexOf("px");c>0&&(r=Number(s.substring(0,c)))}return o*=r,o}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))/100*n;const i=Number(e);return isNaN(i)?0:i}var ht="PageStateKey";function lt(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=ge(e.top)),e.left!==null&&e.left!==void 0&&(n.left=ge(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=ge(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=ge(e.right))),n}function za(e,n,l={},i=!0,o=-1,r=-1,s=0,c=0){if(e.headerHeight=ge(l.headerHeight??n.headerHeight??-1),e.headerPadding=lt(l.headerPadding??n.headerPadding),e.footerHeight=ge(l.footerHeight??n.footerHeight??-1),e.footerPadding=lt(l.footerPadding??n.footerPadding),e.contentPadding=lt(l.contentPadding??n.contentPadding),i){const a=l.height??n.height;a?e.height=ge(a,r):e.height=ge(r)-ge(s,r)-ge(c,r),e.width=ge(l.width??n.width??0,o)}}function xr(e,n={}){const l={top:null,bottom:null,right:null,left:null},i={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},o=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});o&&(i.safeAreaTop=ge(o.top),i.safeAreaBottom=ge(o.bottom),i.safeAreaLeft=ge(o.left),i.safeAreaRight=ge(o.right));const r=e.get("pageLayout");if(!r)return null;za(i,r,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const s=(0,t.reactive)(i),c=e.getForParent(ht);c&&(i.height=zl(e,c),i.width=El(e,c),(0,t.watch)([()=>zl(e,c),()=>El(e,c)],([u,p])=>{s.height=u,s.width=p}));const a=!c;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([u,p,d=-1,m=-1,$=0,x=0])=>{za(s,p,n,a,d,m,$,x)}),e.set(ht,s),s}function Cl(e){return e.get(ht)}function kl(e,n){if(n=n??e.get(ht),n&&n.headerMounted){const l=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+l}return 0}function xl(e,n){if(n=n??e.get(ht),n&&n.footerMounted){const l=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+l}return 0}function zl(e,n){if(n=n??e.get(ht),n){if(n.contentInnerHeight)return n.contentInnerHeight;const l=kl(e,n),i=xl(e,n),o=ge(n.contentPadding.top??0),r=ge(n.contentPadding.bottom??0);return n.height-l-i-o-r}return 0}function El(e,n){if(n=n??e.get(ht),n){const l=ge(n.contentPadding.left??0),i=ge(n.contentPadding.right??0);return n.contentInnerWidth??n.width-l-i}return 0}function ss(e){return!!e.getForParent(ht)}var Ea=Symbol.for("InnerPageScopeKey");function Ta(e){(0,t.provide)(Ea,e)}function Xt(e=!1){return(0,t.inject)(Ea,e)}var $a=Symbol.for("AbstractPageScopeKey");function zr(e){(0,t.provide)($a,e)}function Qt(e=!1){return(0,t.inject)($a,e)}function Er(e=!1){const n=Qt(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.headerBar??e:e}function Tr(e=!1){const n=Qt(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.footerBar??e:e}function $r(e=!1){const n=Qt(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.content??e:e}var Qe=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Tl(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function De(e,n,l=1,i){const o=pt();return o==null?e:l===0?(0,t.computed)(()=>{const r=o.getAll(n);for(let c=r.length-1;c>=0;c--){const a=r[c];if(Tl(a,i))return a}const s=e.value;return Tl(s,i)?s:null}):(0,t.computed)(()=>{const r=e.value;if(Tl(r,i))return r;const s=o.getAll(n);for(let c=0;c<s.length;c++){const a=s[c];if(Tl(a,i))return a}return null})}function Br(e){return De(e,"readonly",1)}function Vr(e){return De(e,"disabled",1)}function Dr(e){return De(e,"browse",1)}function Pe(e){const n=(0,t.ref)(null),l=(0,t.ref)(null),i=Vr((0,t.computed)(()=>l.value??e.disabled)),o=(0,t.ref)(null);return{itemTemplateRef:n,innerDisabled:l,disabled:i,innerReadonly:o,readonly:Br((0,t.computed)(()=>o.value??e.readonly)),browse:Dr((0,t.computed)(()=>e.browse))}}function Ne(e,n="modelValue",l=null,i){const o=(0,t.toRef)(e,n);let r=o.value;typeof l=="function"&&(r=l(o.value));const s=(0,t.ref)(r);return(0,t.watch)(o,c=>{if(typeof l=="function"){const a=l(c);a!==s.value&&(s.value=a,i&&i("setValue",a))}else c!==s.value&&(s.value=c,i&&i("setValue",c))}),s}var Mr=new Map,$l=new Map,Ba=null;function cs(e){Ba=e}function us(){return Ba}function Ze(){return Ba?.()??null}function Ar(e,n,l){if(l){let i=$l.get(l);i||(i=new Map,$l.set(l,i)),i.set(e,n)}else Mr.set(e,n)}function Ke(e,n){let l=null;if(n){let i=$l.get(n);i&&(l=i.get(e))}return l||(l=Mr.get(e)),l}function ds(e,n){for(let l in e){const i=e[l];Ar(l,i,n)}}function fs(e){$l.delete(e)}function ms(){return{top:0,left:0,bottom:0,right:0}}function ps(){return ut?{rootWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,rootHeight:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function hs(e,n){let l=e;if(n.componentPrefix){const i=l.indexOf("-");i!==-1?l=`${n.componentPrefix}${l.slice(i)}`:l=`${n.componentPrefix}-${l}`}return jt(l)}var gs=class{packages;installers;resizeListener=null;resizeObserver=null;_version;get version(){return this._version}constructor(e,n,l){this.packages=e,this.installers=n,this._version=l}install(e,n={}){n?.install!==!1&&(this.packages.forEach(i=>{if(i.install)e.use(i,n);else if(i.name){const o=hs(i.name,n);e.component(o,i)}}),this.installers.forEach(i=>{i(e,n)}));const l=xt();if(n.autoAdjustPageLayout!==!1){const i={...n},o=this.resizeListener;typeof n.resizeDebounceDelay=="number"?this.resizeListener=Ue(()=>{const r={...i};this.updateLayout(r,l)},n.resizeDebounceDelay):this.resizeListener=()=>{const r={...i};this.updateLayout(r,l)},window.visualViewport?(o&&window.visualViewport.removeEventListener("resize",o),window.visualViewport.addEventListener("resize",this.resizeListener)):window.ResizeObserver&&(this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new window.ResizeObserver(this.resizeListener),this.resizeObserver.observe(window.document.body))}this.updateLayout(n,l)}unInstall(){window.visualViewport?this.resizeListener&&window.visualViewport.removeEventListener("resize",this.resizeListener):window.ResizeObserver&&this.resizeObserver&&this.resizeObserver.disconnect()}updateLayout(e,n){const l=e.headerBarHeight??0,i=e.footerBarHeight??0,o=kt({},ms(),e.safeAreaInset),r=ps(),s=kt({},r.pageLayout,e.pageLayout);n=n??xt(),n.set("safeAreaInset",o),n.set("headerBarHeight",l),n.set("footerBarHeight",i),n.set("pageLayout",s),n.set("rootWidth",r.rootWidth),n.set("rootHeight",r.rootHeight);const c=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const a in e)c.indexOf(a)===-1&&n.set(a,e[a])}setScopeGetter(e){cs(e)}getScopeGetter(){return us()}setAPI(e,n,l){Ar(e,n,l)}getAPI(e,n){return Ke(e,n)}batchSetAPI(e,n){ds(e,n)}clearScopeAPI(e){fs(e)}getRootDomain(){return xt()}},ys=[T.ElAffix,T.ElAlert,T.ElAutocomplete,T.ElAutoResizer,T.ElAvatar,T.ElBacktop,T.ElBadge,T.ElBreadcrumb,T.ElBreadcrumbItem,T.ElButton,T.ElButtonGroup,T.ElCalendar,T.ElCard,T.ElCarousel,T.ElCarouselItem,T.ElCascader,T.ElCascaderPanel,T.ElCheckTag,T.ElCheckbox,T.ElCheckboxButton,T.ElCheckboxGroup,T.ElCol,T.ElCollapse,T.ElCollapseItem,T.ElCollapseTransition,T.ElColorPicker,T.ElConfigProvider,T.ElContainer,T.ElAside,T.ElFooter,T.ElHeader,T.ElMain,T.ElDatePicker,T.ElDescriptions,T.ElDescriptionsItem,T.ElDialog,T.ElDivider,T.ElDrawer,T.ElDropdown,T.ElDropdownItem,T.ElDropdownMenu,T.ElEmpty,T.ElForm,T.ElFormItem,T.ElIcon,T.ElImage,T.ElImageViewer,T.ElInput,T.ElInputNumber,T.ElLink,T.ElMenu,T.ElSubMenu,T.ElMenuItem,T.ElMenuItemGroup,T.ElPageHeader,T.ElPagination,T.ElPopconfirm,T.ElPopover,T.ElPopper,T.ElProgress,T.ElRadio,T.ElRadioButton,T.ElRadioGroup,T.ElRate,T.ElResult,T.ElRow,T.ElScrollbar,T.ElSelect,T.ElOption,T.ElOptionGroup,T.ElSelectV2,T.ElSkeleton,T.ElSkeletonItem,T.ElSlider,T.ElSpace,T.ElSteps,T.ElStep,T.ElSwitch,T.ElTable,T.ElTableColumn,T.ElTableV2,T.ElTabs,T.ElTabPane,T.ElTag,T.ElTimePicker,T.ElTimeSelect,T.ElTimeline,T.ElTimelineItem,T.ElTooltip,T.ElTransfer,T.ElTree,T.ElTreeSelect,T.ElTreeV2,T.ElUpload,T.ElStatistic,T.ElCountdown,T.ElSegmented,T.ElAnchor,T.ElAnchorLink,T.ElWatermark,T.ElMessageBox,T.ElMessage,T.ElNotification,T.ElSplitter],bs=[T.ElInfiniteScroll,T.ElLoading,T.ElMessage,T.ElMessageBox,T.ElNotification,T.ElPopoverDirective],Ss=(e,n={})=>{const l=n.componentPrefix??"fox";ys.forEach(i=>{if(typeof i.name=="string"){let o="";const r=pr(i.name),s=r.indexOf("-");s!==-1?o=`${l}${r.slice(s)}`:o=`${l}-${r}`,o=jt(o),e.component(o,i)}else e.use(i)}),bs.forEach(i=>{e.use(i)})};function ce(e){const n=`fox-${e}`,l=jt(n);return{componentName:n,scope:e.replace("-",""),create(i){return i.baseName=e,i.name=l,i.install=(o,r)=>{let s=i.name;r?.componentPrefix&&(s=`${r.componentPrefix}-${i.baseName}`,s=jt(s)),o.component(s,i)},(0,t.defineComponent)(i)},createDemo(i){return i.baseName=e,i.name="demo-"+e,(0,t.defineComponent)(i)}}}var ze={browse:{type:[String],required:!1,default:()=>null},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}},Te={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],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},Ir={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}},Pr={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}},Lr=[];for(const e in Pr)Lr.push(e);var ws={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}},vs={...ze,...Ir,...ws},Ns=(e,n)=>({inheritAttrs:!0,props:vs,setup(l,i){const o=!!Qt(!1),r=Xt(!1),{domain:s,exposeApi:c}=xa({props:l,context:i},l.name);if(s){const d=xr(s,l);c({getPageContentHeight:()=>zl(s,d),getPageContentWidth:()=>El(s,d),getPageHeaderHeight:()=>kl(s,d),getPageFooterHeight:()=>xl(s,d)}),d&&r&&(d.contentHeight="100%")}const a=(0,t.computed)(()=>({[e]:!0,"is-inner":r})),u=(0,t.computed)(()=>({})),p=(d,m=!1)=>{const $=s.componentPublicExposed;$&&typeof $.setNameValidateRules=="function"&&$.setNameValidateRules(d,!0,m)};return(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([d,m],[$,x])=>{if(d&&$){const v=(0,t.toRaw)($),g=(0,t.toRaw)(d),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(h=>{y.includes(h)||(g[h]=[])}),p(g)}if(m&&x){const v=(0,t.toRaw)(x),g=(0,t.toRaw)(m),y=g?Reflect.ownKeys(g):[];(v?Reflect.ownKeys(v):[]).forEach(h=>{y.includes(h)||(g[h]=[])}),p(g,!0)}},{deep:!0}),(0,t.onMounted)(()=>{l.rules&&p((0,t.toRaw)(l.rules)),l.pureDataRules&&p((0,t.toRaw)(l.pureDataRules),!0)}),()=>o?i.slots?.default?.():(0,t.h)("div",{class:a.value,style:u.value},[i.slots?.default?.()])}}),{componentName:Cs,create:ks,scope:xs}=ce("page"),zs=ks(Ns(Cs,xs)),Va=zs;function Da(e){const n=(0,t.unref)(e);return{width:n.offsetWidth,height:n.offsetHeight}}function Bl(e){const n=(0,t.unref)(e),l=window.getComputedStyle(n,null),i=parseFloat(l.getPropertyValue("padding-left")),o=parseFloat(l.getPropertyValue("padding-right")),r=parseFloat(l.getPropertyValue("padding-top")),s=parseFloat(l.getPropertyValue("padding-bottom"));return{width:n.clientWidth-i-o,height:n.clientHeight-r-s}}var _r={headerbar:{},radio:{},checkbox:{}};function Es(e){Object.assign(_r,e)}function Rr(){return _r}var Ts=(e,n,l,i=!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:l},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(o,r){const s=Er(!1),c=Xt(!1),a=s?null:pt(),u=a?Cl(a):null;u&&(u.headerMounted=!0);const p=Rr(),d=e,m=(0,t.computed)(()=>{const N={[d]:!0,[`${d}--border`]:o.border,[`${d}--fixed`]:o.fixed};return c||(N[`${d}--safe-area-inset-top`]=o.safeAreaInsetTop),N}),$=(0,t.computed)(()=>({[`${d}__inner`]:!0,[`${d}__inner--${o.align}`]:!0})),x=Fe(o.height)?null:ge(o.height),v=(0,t.computed)(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s)return N;if(a&&u){const _=lt(o.padding??u.headerPadding);if(Object.assign(N,_),Fe(x)||(u.headerHeight=x),N.height=u.headerHeight,N.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,N.safeAreaTop>0){const V=ge(_.top??0);N.top=N.safeAreaTop+V,N.height&&N.height>0&&(N.height=N.height+N.safeAreaTop)}return N}if(Fe(x)||(N.height=x),o.padding){const _=lt(o.padding);Object.assign(N,_)}return N}),g=(0,t.ref)(null),y=()=>u&&g.value&&!va(g.value)?(i||(u.headerAllHeight=Da(g.value).height),u.headerMounted=!0,!0):!1,h=Ue(y,120);let w=null;(0,t.onMounted)(()=>{s||u&&(vl(y,50,5,50,!0),window.ResizeObserver&&g.value&&(w=new window.ResizeObserver(h),w.observe(g.value)))}),(0,t.onUnmounted)(()=>{s||u&&(u.headerMounted=!1,w&&(w.disconnect(),w=null))});const f=(0,t.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}),R=(0,t.computed)(()=>{const N=v.value?.height;return Fe(N)||N<0?!0:N>0});function L(){r.emit("back")}function H(){r.emit("click-title")}function W(){r.emit("click-right")}function F(){r.emit("click-right-text")}const B=()=>{if(!o.leftShow)return null;const N=[];if(r.slots.left)N.push(r.slots.left());else{if(r.slots.leftIcon){const _=(0,t.h)("view",{class:"left-icon",onClick:L},[r.slots.leftIcon()]);N.push(_)}else{const _=o.leftIcon??p.headerbar.Left??l,V=(0,t.h)("view",{class:"left-icon",onClick:L},[(0,t.h)(_)]);N.push(V)}if(o.leftText){const _=(0,t.h)("view",{class:"left-text",onClick:L},[o.leftText]);N.push(_)}}return N.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},N)},k=()=>{if(!o.rightShow)return null;const N=[];if(r.slots.right)N.push(r.slots.right());else{if(o.rightText){const _=(0,t.h)("view",{class:"right-text",onClick:F},[o.rightText]);N.push(_)}if(r.slots.rightIcon){const _=(0,t.h)("view",{class:"right-icon",onClick:W},[r.slots.rightIcon()]);N.push(_)}else if(o.rightIcon){const _=(0,t.h)("view",{class:"right-icon",onClick:W},[(0,t.h)(o.rightIcon)]);N.push(_)}}return N.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},N)},I=()=>{if(!o.titleShow)return null;const N=[],_=r.slots.default?r.slots.default():null;if(_)N.push(_);else{if(o.title){const V=(0,t.h)("view",{class:"title-text"},[o.title]);N.push(V)}if(r.slots.titleIcon){const V=(0,t.h)("view",{class:"title-icon",onClick:H},[r.slots.titleIcon()]);N.push(V)}else if(o.titleIcon){const V=(0,t.h)("view",{class:"title-icon",onClick:H},[(0,t.h)(o.titleIcon)]);N.push(V)}}return N.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},N)},z=()=>{const N=[],_=r.slots.bottom?r.slots.bottom():null;return _&&N.push(_),N.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},N)};return()=>{if(s||!R.value)return null;const N=[];if(r.slots.all)N.push(r.slots.all());else{const _=[],V=B();V&&_.push(V);const K=I();K&&_.push(K);const U=k();if(U&&_.push(U),_.length>0){const A=(0,t.h)("view",{class:$.value},_);N.push(A)}const J=z();J&&N.push(J)}return N.length===0?null:(0,t.h)("view",{class:m.value,style:f.value,ref:g},N)}}}),{componentName:$s,create:Bs,scope:Vs}=ce("header-bar"),Ds=Bs(Ts($s,Vs,Be.ArrowLeft)),Ma=Ds;function Ms(e,n,l=!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(i,o){const r=Tr(!1),s=Xt(!1),c=r?null:pt(),a=c?Cl(c):null,u=(0,t.computed)(()=>{const h=e,w={[h]:!0,[`${h}--${i.align}`]:!0,[`${h}--border`]:i.border,[`${h}--fixed`]:i.fixed};return s||(w[`${h}--safe-area-inset-bottom`]=i.safeAreaInsetBottom),w}),p=Fe(i.height)?null:ge(i.height),d=(0,t.computed)(()=>{const h={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r)return h;if(c&&a){const w=lt(i.padding??a.footerPadding);if(Object.assign(h,w),Fe(p)||(a.footerHeight=p),h.height=a.footerHeight,h.safeAreaBottom=a.safeAreaBottom===-1?0:a.safeAreaBottom,h.safeAreaBottom>0){const f=ge(w.bottom??0);h.bottom=h.safeAreaBottom+f,h.height&&h.height>0&&(h.height=h.height+h.safeAreaBottom)}return h}if(Fe(p)||(h.height=p),i.padding){const w=lt(i.padding);Object.assign(h,w)}return h}),m=(0,t.computed)(()=>{const h=d.value?.height;return Fe(h)||h<0?!0:h>0}),$=(0,t.ref)(null),x=()=>a&&$.value&&!va($.value)?(l||(a.footerAllHeight=Da($.value).height),a.footerMounted=!0,!0):!1,v=Ue(x,120);let g=null;(0,t.onMounted)(()=>{r||a&&(vl(x,50,5,50,!0),window.ResizeObserver&&$.value&&(g=new window.ResizeObserver(v),g.observe($.value)))}),(0,t.onUnmounted)(()=>{r||a&&(a.footerMounted=!1,g&&(g.disconnect(),g=null))});const y=(0,t.computed)(()=>{const h={};return r||(d.value.height!==null&&d.value.height!==void 0&&(h.height=xe(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(h.paddingTop=xe(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(h.paddingLeft=xe(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(h.paddingRight=xe(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(h.paddingBottom=xe(d.value.bottom))),h});return()=>{if(r||!m.value)return null;const h=o.slots.default?o.slots.default():[];return(0,t.h)("view",{ref:$,class:u.value,style:y.value},h)}}}}var{componentName:As,create:Is,scope:Ps}=ce("footer-bar"),Ls=Is(Ms(As,Ps)),Aa=Ls;function _s(e,n){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(l,{slots:i,attrs:o}){const r=$r(!1),s=Xt(!1),c=r?null:pt(),a=(0,t.computed)(()=>({[e]:!0})),u=c?Cl(c):null,p=(0,t.computed)(()=>{const v={};if(r)return v;if(c&&u){if(l.padding){const H=lt(l.padding);Object.assign(u.contentPadding,H)}const g=kl(c,u),y=xl(c,u);let h="";u.contentHeight?h=`${u.contentHeight}`:h=`${u.height}px`,v.height=h;let w=ge((u&&u.contentPadding&&u.contentPadding.top)??-1);(w>=0||g>0)&&(w=w<0?0:w,v.paddingTop=`${g+w}px`);let f=ge((u&&u.contentPadding&&u.contentPadding.bottom)??-1);(f>=0||y>0)&&(f=f<0?0:f,v.paddingBottom=`${y+f}px`);const R=ge((u&&u.contentPadding&&u.contentPadding.left)??-1);R>=0&&(v.paddingLeft=`${R}px`);const L=ge((u&&u.contentPadding&&u.contentPadding.right)??-1);return L>=0&&(v.paddingRight=`${L}px`),v}if(l.padding){const g=lt(l.padding);g.left&&(v.paddingLeft=`${g.left}px`),g.top&&(v.paddingTop=`${g.top}px`),g.right&&(v.paddingRight=`${g.right}px`),g.bottom&&(v.paddingBottom=`${g.bottom}px`)}return v}),d=(0,t.ref)(null),m=()=>{if(u&&d.value){const v=Bl(d.value);u.contentInnerHeight=v.height,u.contentInnerWidth=v.width}},$=Ue(m,120);let x=null;return(0,t.onMounted)(()=>{s||r||(requestAnimationFrame(m),window.ResizeObserver&&d.value&&(x=new window.ResizeObserver($),x.observe(d.value)))}),(0,t.onUnmounted)(()=>{s||r||x&&(x.disconnect(),x=null)}),()=>r?i.default?.():(0,t.h)(l.tag??"view",{...o,ref:d,class:a.value,style:p.value},i)}}}var{componentName:Rs,create:Fs,scope:Os}=ce("content"),qs=Fs(_s(Rs,Os)),Ia=qs,zt="GroupStateKey",Fr=Symbol.for("GroupScopeKey");function Vl(){return(0,t.inject)(Fr,!1)}function Dl(e=!0){(0,t.provide)(Fr,e)}function Hs(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const i=n[l];Fe(i)||(e[l]=i)})}function js(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Hs(l,n);const i=(0,t.markRaw)({layout:(0,t.shallowRef)(l),passport:0,order:{index:0}});return e.set(zt,i),i}function Pa(e,n,l=-1,i=-1,o=!1,r,s,c){const a=e.get(zt);if(!a)return;const u=e.get("groupLayout")??{};l===-1&&(l=u.column??1),i===-1&&(i=u.gutter??0),r||(r=u.minItemWidth??-1),s||(s=u.maxItemWidth??-1);const p=ge(r),d=ge(s);c||(c=u.type??"grid");const m=()=>{const $=n===""||n===-1,x=ge(n);let v=ve(l);const g=ge(i);if(!$){let w=(x-(v-1)*g)/v;for(;d!==-1&&w>d;)v++,w=(x-(v-1)*g)/v;for(;p!==-1&&v>1&&w<p;)v--,w=(x-(v-1)*g)/v}let y=!1;const h=a.layout;h.value.width=n,h.value.column!==v&&(h.value.column=v,y=!0),h.value.gutter!==g&&(h.value.gutter=g,y=!0),h.value.type!==c&&(h.value.type=c,y=!0),y&&(0,t.triggerRef)(h)};if(o)m();else{const $=++a.passport;setTimeout(()=>{$===a.passport&&m()},50)}}function Ml(e,n=!1){let l;return n?l=e.getForParent(zt):l=e.get(zt),l.layout}function Al(e,n=!1){let l;return n?l=e.getForParent(zt):l=e.get(zt),l.order}function Or(e,n=1){if(n==="stretch")return-1;const l=ve(n);return l===-1?100:100*l/e}function Il(e,n,l=1,i=0,o){const r={};let s=0;o?s=ge(o):s=Or(n.column,l),s>0&&(r.width=`${s}%`);const c=Or(n.column,i);c>0&&(r["margin-left"]=`${c}%`);const a=ge(n.gutter)/2;return a>0&&(r["padding-left"]=`${a}px`,r["padding-right"]=`${a}px`),r}function Pl(e,n,l=1,i=0){if(l==="stretch"){const a=e.index%n.column,u=a+(n.column-a);return e.index=e.index+(u-a),{"grid-column":`${a+1} / -1`}}let o=ve(l);if(o===-1){const a=e.index%n.column;return n.column,a==0?e.index=e.index+n.column:e.index=e.index+(n.column-a)+n.column,{"grid-column":"1 / -1"}}if(o>n.column){const a=e.index%n.column;return n.column,a==0?e.index=e.index+n.column:e.index=e.index+(n.column-a)+n.column,{"grid-column":"1 / -1"}}const r=ve(i)%n.column;let s=(e.index+r)%n.column,c=s+o;return c>n.column?(s=0,c=s+o,e.index=e.index+(n.column-s)+o):e.index=e.index+r+o,r>0?{"grid-column":`${s+1} / span ${o}`}:{"grid-column-start":`span ${o}`}}var qr=Symbol("RollingStateKey");function Ks(e){(0,t.provide)(qr,e)}function Ws(){return(0,t.inject)(qr,null)}function La(e){let n=0;const l=window.getComputedStyle(e,null);if(l.getPropertyValue("box-sizing")==="content-box"){const i=parseFloat(l.getPropertyValue("padding-top")),o=parseFloat(l.getPropertyValue("padding-bottom"));n=e.clientHeight-i-o}else n=e.offsetHeight;return n}function Ys(e){let n=La(e);if(n<=0){const l=e.cloneNode(!0);l.style=`width: ${e.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),n=La(l),document.body.removeChild(l)}return n}function Us(e,n,l){const i=typeof e=="number"?e:parseInt(e),o=typeof n=="number"?n:parseInt(n),r=typeof l=="number"?l:parseInt(l);if(i<=0)return"1fr";const s=(i-(o-1)*r)/o;return s>0?`${s}px`:"1fr"}function Hr(e){const n=[];return e.forEach(l=>{l.type===t.Fragment&&Array.isArray(l.children)?n.push(...Hr(l.children)):n.push(l)}),n}function Gs(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function Zt(e){function n(){return Hr(e?.()??[]).filter(Gs)}return{getChildren:n}}var Xs={...ze,...Ir,...Pr};function Qs(e,n,l){return{props:Xs,emits:["update:collapse","header-click"],setup(i,o){const{domain:r,exposeApi:s}=xa({props:i,ignorePropKeys:Lr,context:o},i.prop??i.name),c=js(r,{type:i.type}),a=Vl();Dl(!0);const u=i.rollingDisplay?Ws():null,p=(0,t.ref)(null),d=(0,t.computed)(()=>i.rollingDisplay?u&&!u.disabled:!1),m=(0,t.computed)(()=>a&&r?Ml(r,!0).value:null),$=(E,G=!1)=>{const X=r?.componentPublicExposed;X&&typeof X.setNameValidateRules=="function"&&X.setNameValidateRules(E,!0,G)};(0,t.watch)([()=>i.rules,()=>i.pureDataRules],([E,G],[X,D])=>{if(E&&X){const b=(0,t.toRaw)(X),C=(0,t.toRaw)(E),j=C?Reflect.ownKeys(C):[];(b?Reflect.ownKeys(b):[]).forEach(te=>{j.includes(te)||(C[te]=[])}),$(C)}if(G&&D){const b=(0,t.toRaw)(D),C=(0,t.toRaw)(G),j=C?Reflect.ownKeys(C):[];(b?Reflect.ownKeys(b):[]).forEach(te=>{j.includes(te)||(C[te]=[])}),$(C,!0)}},{deep:!0});const x=e,v=(0,t.computed)(()=>{const E={};E.height=_.value;const G=a?Al(r,!0):null;if(m.value&&G){if(m.value.type==="grid"){const X=Pl(G,m.value,i.span,i.offset);Object.assign(E,X)}else if(m.value.type==="flow"){const X=Il(G,m.value,i.span,i.offset,i.width);Object.assign(E,X)}}else i.width&&(E.width=xe(i.width));return E}),g=(0,t.computed)(()=>{const E=c.layout.value.type;return E==="grid"||E==="flow"?{[`${x}--${E}`]:!0,[`${x}--${E}-justify-${i.justify}`]:!0,[`${x}--${E}-align-${i.align}`]:!0,[`${x}--gutter`]:!0}:{[`${x}--${E}`]:!0,[`${x}--gutter`]:!0}}),y=(0,t.computed)(()=>{if(c.layout.value.type==="grid"){let E="";if(i.columnWidth)E=`repeat(auto-fill, ${i.columnWidth})`;else{const G=Us(W.value,c.layout.value.column,c.layout.value.gutter);E=`repeat(${c.layout.value.column}, ${G})`}return{"column-gap":`${c.layout.value.gutter}px`,"grid-template-columns":E}}}),h=(0,t.toRef)(i,"gutter"),w=(0,t.toRef)(i,"column"),f=(0,t.computed)(()=>a||d.value?!0:pe(i.isWrap)),R=[],L=E=>{R.push(E)},H=()=>{let E=R.length;R.splice(0,E)},W=(0,t.ref)(-1),F=E=>{const G=Bl(E).width;G>0&&G!==W.value&&(W.value=G)};Pa(r,W.value,w.value,h.value,!0,i.minItemWidth,i.maxItemWidth,i.type),i.autoLayout&&(0,t.watch)([W,w,h],([E,G,X])=>{c.order.index=0,Pa(r,E,G,X,!1,i.minItemWidth,i.maxItemWidth,i.type)});const B=(0,t.computed)(()=>V.value?i.expandText??"":i.collapseText??""),k=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),I=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!V.value,"is-collapse":V.value})),z=(0,t.ref)(),N=(0,t.ref)(),_=(0,t.computed)(()=>K.value||xe(i.height)||""),V=(0,t.ref)(!1),K=(0,t.ref)(""),U=(0,t.ref)(!1);let J=-1;const A=(E,G=!0)=>{const X=z.value;if(X&&V.value!==E){if(J=J===-1?Ys(X):J,U.value=!0,G)if(X.style["will-change"]="height",X.ontransitionend=function(){X.ontransitionend=null,this.style["will-change"]="auto",E||(K.value="",U.value=!1)},E){let D=0;i.collapseHeight?D=ge(i.collapseHeight):N.value&&N.value.classList.contains(`${e}__header`)&&(D=N.value.offsetHeight),K.value=`${J}px`,(0,t.nextTick)(()=>{K.value=`${D}px`})}else K.value=`${J}px`;else if(E){let D=0;i.collapseHeight?D=ge(i.collapseHeight):N.value&&N.value.classList.contains(`${e}__header`)&&(D=N.value.offsetHeight),K.value=`${D}px`}else U.value=!1,K.value=`${J}px`;V.value=E,o.emit("update:collapse",E)}};(0,t.watch)(()=>i.collapse,E=>{A(pe(E))});const q=E=>{o.emit("header-click",E)},Q=()=>{le()},le=E=>{E=E??!V.value,A(E)};s({toggleCollapse:le,doLayout:()=>{R[0]&&(F(R[0]),Pa(r,W.value,w.value,h.value,!0,i.minItemWidth,i.maxItemWidth,i.type))}});let P=null,M=!0;const ae=E=>{if(i.rules&&$((0,t.toRaw)(i.rules)),i.pureDataRules&&$((0,t.toRaw)(i.pureDataRules),!0),!!ut&&(E&&A(pe(i.collapse),!1),i.autoLayout&&Array.isArray(R)&&R.length>0)){const G=R[0];if(G&&(F(G),window.ResizeObserver)){const X=Ue(()=>F(G),120);P=new window.ResizeObserver(X),P.observe(G)}}},ne=()=>{const E=R[0];E&&P?.observe(E),P?.disconnect(),P=null},ee=!d.value||u?.acquire();ee&&(p.value=d.value?!0:null),(0,t.onMounted)(()=>{if(ee&&(ae(M),M=!1),d.value&&u){let E=null,G=u.initialHeight;u.observe(z.value,X=>{if(X!==p.value)if(X)p.value=!0,V.value||(K.value=""),E=setTimeout(()=>{E=null,p.value!==!1&&(ae(M),M=!1)},100);else{if(E!==null&&clearTimeout(E),p.value=!1,!V.value)if(M)K.value=u.initialHeight;else{let D=La(z.value);D<=0?K.value=G:(K.value=`${D}px`,G=K.value)}M||ne()}})}}),(0,t.onUnmounted)(()=>{ne(),u&&u.unobserve(z.value)});const O=(E="right")=>{const G=[];if(B.value){const b=(0,t.h)("span",{class:k.value},[B.value]);G.push(b)}const X={class:I.value},D=l(i.collapseIcon,X);return D&&G.push(D),G.length>0?(0,t.h)("div",{class:{[`${x}__header-collapse`]:!0,[`is-${E}`]:!0},onClick:Q},G):null},Y=(E,G,X,D)=>{const b={...g.value};if(G===0&&(b[`${x}__first`]=!0),X>=D-1&&(b[`${x}__last`]=!0),f.value===!1){const C=o.attrs.class;C&&(b[`${C}`]=!0)}return(0,t.h)("div",{ref:L,key:`${G}`,class:b,style:y.value},E)};return()=>{const E=i.prop??i.name;if(d.value&&p.value!==!0)return(0,t.h)(i.tag||"div",{ref:z,prop:E,class:{[`${x}`]:!0,"is-collapse":U.value},style:v.value},[]);c.order.index=0;const G=[];let X=0;if(o.slots.header){const j=(0,t.h)("div",{key:`${X++}`,ref:N,class:{[`${x}__header`]:!0,[`${x}__first`]:!0},onClick:q},[o.slots.header()]);G.push(j)}else{const j=[],te=i.collapsePosition==="left";if(te&&i.showCollapse){const oe=O("left");oe&&j.push(oe)}if(i.title||o.slots.title){if(i.showMark){const oe={class:{[`${x}__header-mark`]:!0}};i.markColor&&(oe.style={background:i.markColor});const se=(0,t.h)("div",oe);j.push(se)}if(o.slots.title){const oe=(0,t.h)("div",{class:{[`${x}__header-title`]:!0}},[o.slots.title()]);j.push(oe)}else if(i.title){const oe=(0,t.h)("div",{class:{[`${x}__header-title`]:!0}},[i.title]);j.push(oe)}}if(o.slots.toolbar&&j.push(o.slots.toolbar()),!te&&i.showCollapse){const oe=O("right");oe&&j.push(oe)}if(j.length>0){const oe=(0,t.h)("div",{key:`${X++}`,ref:N,class:{[`${x}__header`]:!0,[`${x}__first`]:!0},onClick:q},j);G.push(oe)}}H();const{getChildren:D}=Zt(o.slots.default),b=D(),C=c.layout.value.type;if(C==="grid"){const j=Y(b,X++,0,b.length);G.push(j)}else if(C==="flow"){const j=Y(b,X++,0,b.length);G.push(j)}else for(let j=0;j<b.length;j++){const te=b[j],oe=Y([te],X++,j,b.length);G.push(oe)}return f.value?(0,t.h)(i.tag||"div",{ref:z,prop:E,class:{[`${x}`]:!0,"is-collapse":U.value},style:v.value},[G]):G}}}}var{componentName:Zs,create:Js,scope:ec}=ce("group"),tc=(e,n)=>(e=e??Be.ArrowUp,(0,t.h)(T.ElIcon,n,{default:()=>[(0,t.h)(e)]})),lc=Js(Qs(Zs,ec,tc)),_a=lc;function ac(e){return e===window}var nc=/matrix\((.+)\)/,Ra=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(ac(n))return{x:0,y:0};let l=0,i=0,o=n;for(;o!==null;)l+=o.offsetLeft,i+=o.offsetTop,o=o.offsetParent;let r=0,s=0,c=0,a=0;for(o=n;o!==document;){s+=o.scrollTop,r+=o.scrollLeft;const{transform:u}=window.getComputedStyle(o);if(u){const p=nc.exec(u);if(p){let d=p[1].split(/\s*,\s*/);d.length==6&&(c+=Number(d[4]),a+=Number(d[5]))}}o=o.parentNode}return l-=r,i-=s,l+=c,i+=a,{x:l,y:i}},rc=class{watchedListeners=[];add(e){this.watchedListeners.push(e)}remove(e){const n=this.watchedListeners.indexOf(e);n!==-1&&this.watchedListeners.splice(n,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(e=>{try{e()}catch{}})}},oc=class{monitorRegister=new WeakMap;watch(e,n){let l=e.parentNode;const i=document.body.parentNode;for(;l&&l!==i;){let o=this.monitorRegister.get(l);o||(o=new rc,l.addEventListener("scroll",o.listen),l===document.body&&l.addEventListener("resize",o.listen),this.monitorRegister.set(l,o)),o.add(n),l=l.parentNode}}unwatch(e,n){let l=e.parentNode;const i=document.body.parentNode;for(;l&&l!==i;){let o=this.monitorRegister.get(l);o&&(o.remove(n),o.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",o.listen),l===document.body&&l.removeEventListener("resize",o.listen))),l=l.parentNode}}},Jt=new oc,jr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},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:ic,create:sc}=ce("price"),cc=sc({props:{...jr},setup(e){const n=(0,t.computed)(()=>({[ic]:!0})),l=(0,t.computed)(()=>e.needSymbol?e.symbol:""),i=(0,t.computed)(()=>dt(e.price)==0?"":pl(e.price,e.decimalLength,!0,ve(e.digits),e.separator));return{classes:n,showSymbol:l,intText:(0,t.computed)(()=>{let o=i.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(0,r)}),decimalText:(0,t.computed)(()=>{let o=i.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(r+1)})}}}),Me=(e,n)=>{const l=e.__vccOpts||e;for(const[i,o]of n)l[i]=o;return l},uc=["innerHTML"],dc=["innerHTML"];function fc(e,n,l,i,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.needSymbol&&e.position=="before"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,uc)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--${e.size}`)},(0,t.toDisplayString)(e.intText),3),e.decimalText.length!=0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},".",2)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},(0,t.toDisplayString)(e.decimalText),3),e.needSymbol&&e.position=="after"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,dc)):(0,t.createCommentVNode)("",!0)],2)}var Ll=Me(cc,[["render",fc]]),{componentName:Fa,create:mc}=ce("hint-text"),pc=mc({components:{Price:Ll},props:{...jr,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 l=(0,t.ref)({top:null,right:null,bottom:null,left:null}),i=(0,t.ref)({x:0,y:0}),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(e.placement),c=(0,t.ref)(!1),a=(0,t.ref)(null),u=(k,I,z,N,_,V)=>{const K=document.documentElement.clientWidth||document.body.clientWidth,U=document.documentElement.clientHeight||document.body.clientHeight,J=k.split("-");let A=[];J[0]==="top"?A=["top","bottom","right","left"]:J[0]==="bottom"?A=["bottom","top","right","left"]:J[0]==="left"?A=["left","top","bottom","right"]:J[0]==="right"&&(A=["right","top","bottom","left"]);const q={top:null,right:null,bottom:null,left:null},Q=[];for(let le=0;le<A.length;le++){const Z=A[le];if(Q[0]=Z,J[1]&&(Q[1]=J[1]),Z==="top"){const P=I.y-V-e.arrowSize-e.offset;if(P>=0){q.top=P;let M=0;J[1]==="start"?M=I.x:J[1]==="end"?M=I.x+z-_:M=I.x+z/2-_/2;const ae=K-M-_;ae<0?(M+=ae,d.value=-ae):d.value=0,q.left=M<0?0:M;break}}else if(Z==="bottom"){const P=I.y+N+e.arrowSize+e.offset;if(P+V<=U){q.top=P;let M=0;J[1]==="start"?M=I.x:J[1]==="end"?M=I.x+z-_:M=I.x+z/2-_/2;const ae=K-M-_;ae<0?(M+=ae,d.value=-ae):d.value=0,q.left=M<0?0:M;break}}else if(Z==="left"){const P=I.x-_-e.arrowSize-e.offset;if(P>=0){q.left=P;let M=0;J[1]==="start"?M=I.y:J[1]==="end"?M=I.y+N-V:M=I.y+N/2-V/2,q.top=M<0?0:M;break}}else if(Z==="right"){const P=I.x+z+e.arrowSize+e.offset;if(P+_<=K){q.left=P;let M=0;J[1]==="start"?M=I.y:J[1]==="end"?M=I.y+N-V:M=I.y+N/2-V/2,q.top=M<0?0:M;break}}}return{bestPlacement:Q.join("-"),bestInsetRect:q}},p=(k,I,z=10)=>{if(!ut||I===!1||!k)return;i.value=Ra(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const N=a.value.offsetHeight,_=a.value.offsetWidth,{bestPlacement:V,bestInsetRect:K}=u(e.placement,i.value,o.value,r.value,_,N);s.value=V,l.value=K,c.value=!0},d=(0,t.ref)(0),m=Ue(()=>{p(e.message,e.visible)},10),$=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,k=>{$.value=k});const x=(0,t.computed)(()=>$.value&&v.value),v=(0,t.ref)(!0),g=Ue(k=>{const I=k[0];I&&(v.value=I.isIntersecting)},10),y=new IntersectionObserver(g);(0,t.watch)([()=>e.message,()=>e.visible],([k,I])=>{setTimeout(()=>{p(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{p(e.message,e.visible)},0),Jt.watch(e.reference,m),y.observe(e.reference)}),(0,t.onBeforeUnmount)(()=>{Jt.unwatch(e.reference,m),y.unobserve(e.reference),y.disconnect()});const h=(0,t.computed)(()=>{const k={[Fa]:!0};return s.value.startsWith("top")?k["is-top"]=!0:s.value.startsWith("right")?k["is-right"]=!0:s.value.startsWith("bottom")?k["is-bottom"]=!0:s.value.startsWith("right")&&(k["is-right"]=!0),e.size==="small"?k["is-small"]=!0:e.size==="large"&&(k["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(k[`${e.customClass}`]=!0),k}),w=(0,t.computed)(()=>{const k={};return l.value.top!==null&&(k.top=`${l.value.top}px`),l.value.right!==null&&(k.right=`${l.value.right}px`),l.value.bottom!==null&&(k.bottom=`${l.value.bottom}px`),l.value.left!==null&&(k.left=`${l.value.left}px`),e.autoFit&&(k["min-width"]=`${o.value}px`),k["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,c.value&&(k.opacity="1"),e.transition||(k.transition="none"),e.zIndex&&(k["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(k,e.customStyle),k}),f=(0,t.computed)(()=>{const k=[`${Fa}__content`];return e.customTextClass&&k.push(e.customTextClass),k}),R=(0,t.computed)(()=>{const k={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(k,e.customTextStyle),k}),L=(0,t.computed)(()=>({[`${Fa}__arrow`]:!0})),H=(0,t.computed)(()=>{const k={};return e.showArrow?(k.width=`${e.arrowSize}px`,k.height=`${e.arrowSize}px`,s.value==="top"?(k.left="50%",k.bottom=`-${e.arrowSize}px`,k.transform=" translate(-50%, 0%)"):s.value==="top-start"?(k.left=`${e.arrowOffset+d.value}px`,k.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(k.right=`${e.arrowOffset-d.value}px`,k.bottom=`-${e.arrowSize}px`):s.value==="right"?(k.left=`-${e.arrowSize}px`,k.top="50%",k.transform=" translate(0%, -50%)"):s.value==="right-start"?(k.left=`-${e.arrowSize}px`,k.top=`${e.arrowOffset}px`):s.value==="right-end"?(k.left=`-${e.arrowSize}px`,k.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(k.left="50%",k.top=`-${e.arrowSize}px`,k.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(k.left=`${e.arrowOffset+d.value}px`,k.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(k.right=`${e.arrowOffset-d.value}px`,k.top=`-${e.arrowSize}px`):s.value==="left"?(k.right=`-${e.arrowSize}px`,k.top="50%",k.transform=" translate(0%, -50%)"):s.value==="left-start"?(k.right=`-${e.arrowSize}px`,k.top=`${e.arrowOffset}px`):s.value==="left-end"&&(k.right=`-${e.arrowSize}px`,k.bottom=`-${e.arrowOffset}px`),k):{display:"none"}}),W=(0,t.computed)(()=>x.value&&e.closeOnClick),F=(0,t.computed)(()=>{const k={};return e.zIndex&&(k["z-index"]=`${e.zIndex}`),k});return{show:x,tipRef:a,classes:h,styles:w,textClasses:f,textStyles:R,arrowClasses:L,arrowStyles:H,overlayShow:W,overlayStyle:F,onClickOverlay:()=>{$.value=!1,n.emit("update:visible",!1)}}}}),hc=["innerHTML"];function gc(e,n,l,i,o,r){const s=(0,t.resolveComponent)("Price");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.overlayShow?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,t.normalizeStyle)(e.overlayStyle),onClick:n[0]||(n[0]=(...c)=>e.onClickOverlay&&e.onClickOverlay(...c))},null,4)):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"tipRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.textClasses),style:(0,t.normalizeStyle)(e.textStyles)},[e.type=="number"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:1,innerHTML:e.message},null,8,hc))],6),(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.arrowClasses),style:(0,t.normalizeStyle)(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}var Kr=Me(pc,[["render",gc]]),Wr=class{seed=new Date().getTime();constructor(e){this.seed=e??new Date().getTime()}get(){let e=this.seed++;return this.seed<0&&(this.seed=0),e}},Oa={},yc=new Wr,Et=new Map,_l=e=>{if(e){const n=document.getElementById(e);Et.delete(e),n&&((0,t.render)(null,n),n.parentNode?.removeChild(n))}else{for(const n of Et.keys()){const l=document.getElementById(n);l&&((0,t.render)(null,l),l.parentNode?.removeChild(l))}Et.clear()}},bc=e=>{e.unmount=_l;const n=document.getElementById(e.id);if(n){const l=Et.get(e.id);l?e={...Oa,...l,...e}:e={...Oa,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(Kr,e),n)}return e.id},Sc=e=>{e.unmount=_l;let n=e.id??`hinttext_${yc.get()}`;e={...Oa,...e},e.id=n,Et.set(n,e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(Kr,e),l),document.body.appendChild(l),n},wc=e=>e?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),Oe={show(e,n,l={},i=!0){if(!wc(n))return;const o=l.id;return o&&Et.has(o)?bc({...l,message:n,reference:e}):(i&&_l(),Sc({...l,message:n,reference:e}))},hide(e){_l(e)},install(e){e.config.globalProperties.$hintText=Oe}};function vc(e,n,l,i=!1){return{inheritAttrs:!0,props:{...ze,...Te},emits:["appear","disappear"],setup(o,r){const s=o.prop??r.attrs.name,c=(0,t.ref)(),{exposeApi:a}=Ee({componentName:e,validate:!1,get props(){return o},context:r,get templateRefProxy(){return c.value}},s),u=pt(),p=Vl();Dl(!1);const d=(0,t.computed)(()=>p&&u?Ml(u,!1).value:null),m=e,$=(0,t.ref)(null),x=(0,t.computed)(()=>{const C={[m]:!0,[`${m}__gutter`]:d.value&&d.value.type!=="flow",[`${m}__stretch`]:o.span==="stretch",[`${m}__input--border`]:pe(o.hasBorder)};if(C[o.errorMarkClass]=!!U.value,C[o.warnMarkClass]=!!V.value,C[o.infoMarkClass]=!!N.value,typeof $.value=="function"){const j=$.value(s);C[j]=!0}else if(typeof $.value=="string"){const j=$.value;C[j]=!0}return C}),v=(0,t.ref)(null),g=(0,t.computed)(()=>{const C={};if(o.width)o.width!=="auto"&&(C.width=xe(o.width));else{const j=p&&u?Al(u,!1):null;if(d.value&&j){if(d.value.type==="grid"){const te=Pl(j,d.value,o.span,o.offset);Object.assign(C,te)}else if(d.value.type==="flow"){const te=Il(j,d.value,o.span,o.offset,o.width);Object.assign(C,te)}}}if(typeof v.value=="function"){const j=v.value(s);j&&Object.assign(C,j)}else if(v.value&&typeof v.value=="object"){const j=v.value;Object.assign(C,j)}return C}),y=(0,t.ref)(null),h=(0,t.computed)({get:()=>y.value??pe(o.isRequired),set:C=>{y.value=C}}),w=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",f=De((0,t.toRef)(o,"labelPosition"),"labelPosition",Qe.Near),R=(0,t.computed)(()=>f&&f.value==="top"?"top":f&&f.value==="right"?"right":"left"),L=(0,t.computed)(()=>({[`${m}__main`]:!0,[`${m}__main--${R.value}`]:!0})),H=(0,t.computed)(()=>({label:!0,[`label--${R.value}`]:!0})),W=De((0,t.toRef)(o,"labelWidth"),"labelWidth",Qe.Near),F=(0,t.computed)(()=>W&&W.value?{width:xe(W.value)}:{}),B=(0,t.computed)(()=>({"label--string":!0,"label--required":h.value})),k=(0,t.computed)(()=>({content:!0,[o.contentClass]:!0})),I=(0,t.computed)(()=>({...o.contentStyle})),z=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});a({setRequired(C){h.value=C},setErrorTip(C){z.errorTip=C},setErrorIcon(C){z.errorIcon=C},setWarnTip(C){z.warnTip=C},setWarnIcon(C){z.warnIcon=C},setInfoTip(C){z.infoTip=C},setInfoIcon(C){z.infoIcon=C},setCustomClassName(C){$.value=C},setCustomStyle(C){v.value=C}});const N=(0,t.computed)(()=>o.infoTip||z.infoTip),_=(0,t.computed)(()=>o.infoIcon||z.infoIcon),V=(0,t.computed)(()=>o.warnTip||z.warnTip),K=(0,t.computed)(()=>o.warnIcon||z.warnIcon),U=(0,t.computed)(()=>o.errorTip||z.errorTip),J=(0,t.computed)(()=>o.errorIcon||z.errorIcon),A=(0,t.computed)(()=>U.value?"error":V.value?"warn":N.value?"info":""),q=()=>A.value.length>0,Q=(0,t.computed)(()=>A.value==="error"?U.value:A.value==="warn"?V.value:A.value==="info"?N.value:""),le=(0,t.computed)(()=>A.value==="error"?J.value:A.value==="warn"?K.value:A.value==="info"?_.value:null),Z=(0,t.computed)(()=>{const C={[`${m}__tip`]:!0,[`${m}__tip--${A.value}`]:!0,[`${m}--animate`]:!0};return A.value==="error"&&o.errorClass?C[`${o.errorClass}`]=!0:A.value==="warn"&&o.warnClass?C[`${o.warnClass}`]=!0:A.value==="info"&&o.infoClass&&(C[`${o.infoClass}`]=!0),C}),P=(0,t.computed)(()=>{const C={};return f&&f.value==="top"||!w()?C["padding-left"]="0px":W&&W.value&&(C["padding-left"]=xe(W.value)),C}),M=(0,t.ref)();let ae="";(0,t.watch)([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([C,j,te,oe])=>{M.value&&(C&&!ye(j)?ae?l.show(M.value,j,{...oe,id:ae,type:te},!0):ae=l.show(M.value,j,{...oe,type:te},!0):l.hide(ae))});let ne=null;const ee=()=>{ne||!M.value||(ne=new IntersectionObserver(C=>{let j=!1;for(let te of C)if(te.intersectionRatio>0){j=!0,j&&r.emit("appear",te);break}j||r.emit("disappear")}),ne.observe(M.value))},O=()=>{!ne||!M.value||(ne.unobserve(M.value),ne=null)};(0,t.watch)(()=>pe(o.appearListen),C=>{C?ee():O()}),(0,t.onMounted)(()=>{pe(o.appearListen)&&ee()}),(0,t.onUnmounted)(O);const Y=()=>{if(!w())return null;const C=[],j=r.slots?.label?.()??o.label,te=(0,t.h)("div",{class:B.value},[j]);if(C.push(te),r.slots.fixedPreTip){const oe=r.slots.fixedPreTip();C.push(oe)}return(0,t.h)("div",{class:H.value,style:F.value},C)},E=()=>{const C=[];if(r.slots.prepend){const j=r.slots.prepend();C.push(j)}if(r.slots.default){const j=r.slots.default();C.push(j)}if(r.slots.append){const j=r.slots.append();C.push(j)}if(r.slots.fixedTip){const j=(0,t.h)("div",{class:[`${m}__fixed-tip`]},[r.slots.fixedTip()]);C.push(j)}return(0,t.h)("div",{ref:M,class:k.value,style:I.value},C)},G=()=>{const C=le.value;return C?typeof C=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[C()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(C)]):null},X=()=>{const C=Q.value;return C?typeof C=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[C()]):(0,t.h)("div",{class:"fox-item__tip--text"},[C]):null},D=()=>{if(!q())return null;const C=[],j=G();j&&C.push(j);const te=X();return te&&C.push(te),(0,t.h)("div",{class:Z.value,style:P.value},C)},b=()=>r.slots?.hide?.()??null;return()=>{const C=[],j=[],te=Y();te&&j.push(te);const oe=E();oe&&j.push(oe);const se=(0,t.h)("div",{class:L.value},j);C.push(se);const ue=D();ue&&C.push(ue);const he=b();return he&&C.push(he),(0,t.h)("div",{class:x.value,style:g.value,prop:o.prop,ref:c},C)}}}}var{componentName:Nc,create:Cc,scope:kc}=ce("item"),xc=Cc(vc(Nc,kc,Oe,!1)),el=xc,qa={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function zc(e,n){return{props:qa,setup(l,i){const o=pt(),r=Vl();Dl(!1);const s=(0,t.computed)(()=>r&&o?Ml(o,!1).value:null),c=e,a=(0,t.computed)(()=>({[c]:!0,[`${c}__gutter`]:s.value&&s.value.type!=="flow",[`${c}__stretch`]:l.span==="stretch"})),u=(0,t.computed)(()=>{const p={};if(l.width)l.width!=="auto"&&(p.width=xe(l.width));else{const d=r&&o?Al(o,!1):null;if(s.value&&d)if(s.value.type==="grid"){const m=Pl(d,s.value,l.span,l.offset);Object.assign(p,m)}else if(s.value.type==="flow"){const m=Il(d,s.value,l.span,l.offset,l.width);Object.assign(p,m)}else return l.width&&(p.width=xe(l.width)),p}return p});return()=>{const p={class:a.value,style:u.value};return i.slots&&typeof i.slots.default=="function"?(0,t.h)("div",p,i.slots.default()):(0,t.h)("div",p)}}}}var{componentName:Ec,create:Tc,scope:$c}=ce("slot-item"),Bc=Tc(zc(Ec,$c)),Rl=Bc,Yr={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},wrap:{type:[String],required:!1,default:"nowrap"}};function Vc(e,n){return{props:Yr,setup(l,i){const o=e,r=(0,t.computed)(()=>({[o]:!0,[`${o}__stretch`]:l.span==="stretch",[`${o}__${l.align}`]:!0})),s=pt(),c=Vl();Dl(!1);const a=(0,t.computed)(()=>{const u={};if(l.width)l.width!=="auto"&&(u.width=xe(l.width));else if(c&&s){const p=Ml(s,!1),d=Al(s,!1);if(p.value&&d)if(p.value.type==="grid"){const m=Pl(d,p.value,l.span,l.offset);Object.assign(u,m)}else if(p.value.type==="flow"){const m=Il(d,p.value,l.span,l.offset,l.width);Object.assign(u,m)}else l.width&&(u.width=xe(l.width))}return l.gutter&&(u["column-gap"]=xe(l.gutter)),l.wrap&&(u["flex-wrap"]=l.wrap),u});return()=>{const u=[];if(i.slots.default){const{getChildren:p}=Zt(i.slots.default),d=p();if(l.divide)for(let m=0;m<d.length;m++){if(m>0){const $=(0,t.h)("div",{class:{[`${o}__divide`]:!0}});u.push($)}u.push(d[m])}else Reflect.apply([].push,u,d)}return(0,t.h)("div",{class:r.value,style:a.value},u)}}}}var{componentName:Dc,create:Mc,scope:Ac}=ce("row-item"),Ic=Mc(Vc(Dc,Ac)),Fl=Ic;function Pc(e,n){const l=document.createRange();l.setStart(e,0),l.setEnd(e,e.childNodes.length);const i=l.getBoundingClientRect().width;if(i>0){n(i);return}e.classList.add("is-selectable"),setTimeout(()=>{l.setStart(e,0),l.setEnd(e,e.childNodes.length);const o=l.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(o)},500)}var Lc={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1},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 _c(e,n,l,i=!1){return{props:Lc,emits:["click"],setup(o,r){const s=(0,t.ref)(null),c=(0,t.computed)(()=>{const w={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(w[`${e}--${o.type??"default"}`]=!0),o.size&&(w[`${e}--${o.size}`]=!0),w}),a=(0,t.computed)(()=>{const w={},f=o.textColor??o.color;return f&&(w.color=f),w}),u=(w,f)=>{let R=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const L=o.highlightFilter;w.indexOf(L)!==-1&&(f.innerHTML=w.replace(new RegExp(L,"g"),`<span>${L}</span>`),f.class["is-highlight"]=!0,R=(0,t.h)(o.tag,f))}else if(typeof o.highlightFilter=="function"){const L=o.highlightFilter(w);L&&(f.innerHTML=L,f.class["is-highlight"]=!0,R=(0,t.h)(o.tag,f))}return R},p=w=>{r.emit("click",w)};let d="";const m=()=>{const w=s.value;if(!w)return;const f=w.clientWidth;Pc(w,R=>{const L=w.innerHTML??"";ye(L)||R<f||(d?l?.show(w,L,{type:"text",id:d,showArrow:o.showArrow},!0):d=l?.show(w,L,{type:"text",showArrow:o.showArrow},!0)??"")})},$=()=>{d&&l?.hide(d)};let x=null;const v=w=>{x||(x=setTimeout(()=>{m(),x=null},o.showAfter??0))},g=w=>{x&&(clearTimeout(x),x=null),setTimeout(()=>{$()},o.hideAfter??0)},y=()=>{const w=s.value;w&&(w.addEventListener("mouseover",v),w.addEventListener("mouseleave",g))},h=()=>{const w=s.value;w&&(w.removeEventListener("mouseover",v),w.removeEventListener("mouseleave",g))};return(0,t.onMounted)(()=>{!pe(o.showOverflowTooltip)||!l||y()}),(0,t.onBeforeUnmount)(()=>{!pe(o.showOverflowTooltip)||!l||h()}),()=>{const w={class:c.value,style:a.value,ref:s,onClick:p};let f=null;if(pe(o.numberFormat)&&typeof r.slots.default=="function"){const L=r.slots.default();if(Array.isArray(L)&&L.length===1){const H=L[0].type.toString();if(H==="Symbol(Text)"||H==="Symbol(v-txt)"){const W=ve(o.digits),F=ve(o.decimalLength),B=pe(o.autoPadding);let k=`${L[0].children}`,I=k.split("").reverse().join("");I=pl(I,F,B,W,o.separator),k=I.split("").reverse().join(""),o.highlightFilter!==void 0&&(f=u(k,w)),f||(w.innerHTML=k,f=(0,t.h)(o.tag,w))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const L=r.slots.default();if(Array.isArray(L)&&L.length===1){const H=L[0].type.toString();if(H==="Symbol(Text)"||H==="Symbol(v-txt)"){const W=`${L[0].children}`;f=u(W,w),f||(w.innerHTML=W,f=(0,t.h)(o.tag,w))}}}f||(f=(0,t.h)(o.tag,w,{default:r.slots.default}))}if(!o.mark&&!r.slots.mark)return f;const R=[];if(r.slots.mark){const L={[`${e}__mark-wrap`]:!0};o.type&&(L[`${e}__mark-wrap--${o.type}`]=!0);const H={},W=o.color;W&&(H.color=W);const F=(0,t.h)("view",{class:L,style:H,onClick:p},{default:r.slots.mark});R.push(F)}else{const L={[`${e}__mark`]:!0};o.type&&(L[`${e}__mark--${o.type??"default"}`]=!0);const H={},W=o.color;W&&(H["background-color"]=W);const F=(0,t.h)("view",{class:L,style:H,onClick:p});R.push(F)}if(o.divide){const L=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});R.push(L)}return R.push(f),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}},R)}}}}var{componentName:Rc,create:Fc,scope:Oc}=ce("text"),qc=Fc(_c(Rc,Oc,Oe,!1)),Tt=qc,Hc={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 jc(e,n,l=!1){return{props:{...Hc},emits:["update:visible"],setup(i,{emit:o,slots:r,expose:s}){const c=(0,t.ref)({top:null,right:null,bottom:null,left:null}),a=(0,t.ref)(0),u=(0,t.ref)(0),p=(0,t.ref)(0),d=(0,t.ref)(0),m=(0,t.ref)(i.placement),$=(0,t.ref)(!1),x=(0,t.ref)(!1),v=(0,t.ref)(null),g=()=>typeof i.reference=="string"?document.querySelector(i.reference):i.reference,y=(A,q,Q,le,Z,P,M,ae=!0)=>{const ne=document.documentElement.clientWidth||document.body.clientWidth,ee=document.documentElement.clientHeight||document.body.clientHeight,O=A.split("-");let Y=[];ae?O[0]==="top"?Y=["top","bottom","right","left"]:O[0]==="bottom"?Y=["bottom","top","right","left"]:O[0]==="left"?Y=["left","top","bottom","right"]:O[0]==="right"&&(Y=["right","top","bottom","left"]):Y=[A[0]];const E={top:null,right:null,bottom:null,left:null},G=[];for(let X=0;X<Y.length;X++){const D=Y[X];if(G[0]=D,O[1]&&(G[1]=O[1]),D==="top"){const b=Q-M-i.arrowSize/2-i.offset;if(b>=0){E.top=b;let C=0;O[1]==="start"?C=q:O[1]==="end"?C=q+le-P:C=q+le/2-P/2;const j=ne-C-P;j<0?(C+=j,w.value=-j):w.value=0,E.left=C<0?0:C;break}}else if(D==="bottom"){const b=Q+Z+i.arrowSize/2+i.offset;if(b+M<=ee){E.top=b;let C=0;O[1]==="start"?C=q:O[1]==="end"?C=q+le-P:C=q+le/2-P/2;const j=ne-C-P;j<0?(C+=j,w.value=-j):w.value=0,E.left=C<0?0:C;break}}else if(D==="left"){const b=q-P-i.arrowSize/2-i.offset;if(b>=0){E.left=b;let C=0;O[1]==="start"?C=Q:O[1]==="end"?C=Q+Z-M:C=Q+Z/2-M/2,E.top=C<0?0:C;break}}else if(D==="right"){const b=q+le+i.arrowSize/2+i.offset;if(b+P<=ne){E.left=b;let C=0;O[1]==="start"?C=Q:O[1]==="end"?C=Q+Z-M:C=Q+Z/2-M/2,E.top=C<0?0:C;break}}}return{bestPlacement:G.join("-"),bestInsetRect:E}},h=()=>{const A=i.visible,q=i.autoFit;if(!ut||A===!1)return;if(i.reference){const M=g(),ae=Ra(M);a.value=ae.x,u.value=ae.y,p.value=M.offsetWidth,d.value=M.offsetHeight}else i.referenceInset&&(a.value=i.referenceInset.left,u.value=i.referenceInset.top,p.value=i.referenceInset.right-i.referenceInset.left,d.value=i.referenceInset.bottom-i.referenceInset.top);const Q=v.value.offsetWidth,le=v.value.offsetHeight,{bestPlacement:Z,bestInsetRect:P}=y(i.placement,a.value,u.value,p.value,d.value,Q,le,q);m.value=Z,c.value=P},w=(0,t.ref)(0),f=Ue(()=>{h()},10),R=(0,t.ref)(i.visible);(0,t.watch)([()=>i.visible],([A])=>{R.value=A,A?($.value=A,setTimeout(()=>{h(),x.value=!0},0)):x.value=!1});const L=(0,t.computed)(()=>R.value&&H.value),H=(0,t.ref)(!0),W=Ue(A=>{const q=A[0];q&&(H.value=q.isIntersecting)},10),F=new IntersectionObserver(W);(0,t.watch)([()=>i.reference,()=>i.referenceInset],([A,q],[Q,le])=>{!A&&!q||(setTimeout(()=>{h()},0),i.autoFit&&(Q&&(Jt.unwatch(Q,f),F.unobserve(Q)),A&&(Jt.watch(A,f),F.observe(A))))},{immediate:!0}),(0,t.onBeforeUnmount)(()=>{i.reference&&(Jt.unwatch(i.reference,f),F.unobserve(i.reference),F.disconnect())});const B=(0,t.computed)(()=>{const A={[e]:!0};return m.value.startsWith("top")?A["is-top"]=!0:m.value.startsWith("right")?A["is-right"]=!0:m.value.startsWith("bottom")?A["is-bottom"]=!0:m.value.startsWith("left")&&(A["is-left"]=!0),A[`is-${i.effect}`]=!0,!x.value&&L.value&&(A["is-opacity"]=!0),x.value&&L.value&&(A["is-show"]=!0),L.value||(A["is-hide"]=!0),i.customClass&&typeof i.customClass=="string"&&(A[`${i.customClass}`]=!0),A}),k=(0,t.computed)(()=>{const A={};return c.value.top!==null&&(A.top=`${c.value.top}px`),c.value.right!==null&&(A.right=`${c.value.right}px`),c.value.bottom!==null&&(A.bottom=`${c.value.bottom}px`),c.value.left!==null&&(A.left=`${c.value.left}px`),i.width&&(A.width=i.width),i.zIndex&&(A["z-index"]=`${i.zIndex}`),i.customStyle&&typeof i.customStyle=="object"&&Object.assign(A,i.customStyle),A}),I=()=>{R.value=!1,o("update:visible",!1)},z=()=>i.showOverlay?(0,t.h)("div",{class:`${e}__overlay`,onClick:I}):null,N=()=>{let A=null;return r.title?A=(0,t.h)("div",{class:`${e}__title`},{default:r.title}):i.title&&(A=(0,t.h)("div",{class:`${e}__title`},[i.title])),A},_=(0,t.computed)(()=>({[`${e}__arrow`]:!0})),V=(0,t.computed)(()=>{const A={};return i.showArrow?(A.width=`${i.arrowSize}px`,A.height=`${i.arrowSize}px`,m.value==="top"?(A.left="50%",A.bottom="0",A.transform="translate(-50%, 50%)"):m.value==="top-start"?(A.left=`${i.arrowOffset+w.value}px`,A.bottom="0",A.transform="translate(-50%, 50%)"):m.value==="top-end"?(A.right=`${i.arrowOffset-w.value}px`,A.bottom="0",A.transform="translate(-50%, 50%)"):m.value==="right"?(A.left="0",A.top="50%",A.transform="translate(-50%, -50%)"):m.value==="right-start"?(A.left="0",A.top=`${i.arrowOffset}px`,A.transform="translate(-50%, 50%)"):m.value==="right-end"?(A.left="0",A.bottom=`-${i.arrowOffset}px`,A.transform="translate(-50%, 50%)"):m.value==="bottom"?(A.left="50%",A.top="0",A.transform="translate(-50%, -50%)"):m.value==="bottom-start"?(A.left=`${i.arrowOffset+w.value}px`,A.top="0",A.transform="translate(-50%, -50%)"):m.value==="bottom-end"?(A.right=`${i.arrowOffset-w.value}px`,A.top="0",A.transform="translate(-50%, -50%)"):m.value==="left"?(A.right="0",A.top="50%",A.transform="translate(50%, -50%)"):m.value==="left-start"?(A.right="0",A.top=`${i.arrowOffset}px`,A.transform="translate(50%, -50%)"):m.value==="left-end"&&(A.right="0",A.bottom=`-${i.arrowOffset}px`,A.transform="translate(50%, -50%)"),A):{display:"none"}}),K=()=>(0,t.h)("div",{class:_.value,style:V.value}),U=()=>{R.value===!1&&($.value=!1)},J=A=>{if(!v.value||R.value===!1)return;const{relatedTarget:q}=A;v.value.contains(q)||(R.value=!1,o("update:visible",!1))};return s({doLayout:h}),()=>{if(!$.value)return null;const A=[],q=z();q&&A.push(q);const Q=[],le=N();if(le&&Q.push(le),r.default){const ae=r.default();Q.push(ae)}const Z=K();Z&&Q.push(Z);const P={ref:v,class:B.value,style:k.value,onAnimationend:U};i.leaveHide&&(P.onMouseleave=J);const M=(0,t.h)("div",P,{default:()=>Q});return A.push(M),(0,t.h)(t.Teleport,{to:i.teleport,disabled:i.teleportDisable},{default:()=>A})}}}}var{componentName:Kc,create:Wc,scope:Yc}=ce("popover-dialog"),Uc=Wc(jc(Kc,Yc,!1)),Ol=Uc,Ur={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},morePosition:{type:[String],required:!1,default:()=>"right"}};function Gc(e,n,l){return{props:{...Yr,...Ur},emits:["click"],setup(i,{slots:o}){const{toLocaleRefs:r}=(0,Ce.useFoxI18n)(n),s=r(i,["moreText"]),c=e,a=(0,t.computed)(()=>({[c]:!0}));function u(f){return f.props||{}}function p(f){return!!u(f).disabled}function d(f){return f.children??[]}const m=(0,t.ref)(),$=(0,t.computed)(()=>m.value?.$el??null),x=(0,t.ref)(!1),v=f=>{x.value=f},g=()=>{x.value=!x.value};function y(f,R){return()=>{R||(x.value=!1,u(f)?.onClick?.())}}function h(f,R){const L=d(f),H=p(f),W=y(f,H),F=[`${c}__dropdown-item`];return H&&F.push("is-disabled"),(0,t.h)("span",{class:F,onClick:W},L)}const w=f=>{const R=i.maxDisplayCount??f.length;if(R>=f.length)return f;const L=[],H=R;for(let I=0;I<H;I++)L.push(f[I]);const W=(o.moreIcon&&o.moreIcon())??(i.moreIcon&&(0,t.h)(i.moreIcon))??(0,t.h)(l),F=(0,t.h)(Tt,{ref:I=>m.value=I,class:`${c}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:i.type,onClick:g},{default:()=>s.moreText.value,mark:()=>W});i.morePosition==="left"?L.splice(0,0,F):L.push(F);const B=[];for(let I=H;I<f.length;I++){const z=h(f[I],I);B.push(z)}const k=(0,t.h)(Ol,{placement:i.dropdownPlacement,"onUpdate:visible":v,visible:x.value,reference:$.value,"custom-class":`${c}__popover`},{default:()=>B});return L.push(k),L};return()=>{const{getChildren:f}=Zt(o?.default),R=w(f());return(0,t.h)(Fl,{...Ve(i,Ur),class:a.value},{default:()=>R})}}}}var{componentName:Xc,create:Qc,scope:Zc}=ce("buttons-item"),Jc=Qc(Gc(Xc,Zc,Be.ArrowDown)),Ha=Jc;function Le(e,n={}){return(0,t.h)(el,e,n)}function e0(e,n,l,i,o){let r=[];Array.isArray(e)?r=e:r=[e];const s=[],c=n[0];if(Array.isArray(e)&&!Array.isArray(c)&&!c[o]){let a=n;for(let u=0;a&&u<r.length;u++){let p=r[u],d=a.find(m=>m[i]===p);if(!d)break;s.push(d[l])}return s}if(Array.isArray(c))for(let a=0;a<n.length&&a<r.length;a++){let u=n[a],p=r[a];const d=u.find(m=>m[i]===p);if(!d)break;s.push(d[l])}else{let a=n;for(let u=0;a&&u<r.length;u++){let p=r[u],d=a.find(m=>m[i]===p);if(!d)break;s.push(d[l]),a=d[o]}}return s}var t0=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function l0(){return new t0(Ze())}function a0(e){return e&&e.startsWith("fox-")}var Gr={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],required:!1,default:"/"},unit:{type:[String],required:!1},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 n0(e,n){return{props:Gr,setup(l,{attrs:i,slots:o}){const r=l0(),s=(0,t.ref)([]);(0,t.watch)([()=>l.source,()=>l.params],async([a,u])=>{s.value=await r.load(l.sourceType,a,u)},{immediate:!0});const c=(0,t.computed)(()=>{let a="";if(!Array.isArray(s.value)||s.value.length===0)a=l.emptyText;else{let u=e0(l.modelValue,s.value,l.textKey,l.valueKey,l.childrenKey);u.length==0?a=l.emptyText??"":u.length===1?l.optionType=="item"?a=`${l.modelValue}${l.separator}${u[0]}`:a=u[0]:a=u.join(l.separator)}return l.unit&&(a=`${a}${l.unit}`),a});return()=>{const a={...i};if(o.default)return o.default({text:c.value,value:l.modelValue});const u=l.tag??"span";return typeof u=="object"?(0,t.h)(u,a,{default:()=>c.value}):a0(u)?(0,t.h)((0,t.resolveComponent)(u),a,[c.value]):(0,t.h)(u,a,[c.value])}}}}var{componentName:r0,create:o0,scope:i0}=ce("mapping"),s0=o0(n0(r0,i0)),$t=s0;function qe(e,n){const l="fox-browse-item";let i=null;if(e.source)i=(0,t.h)($t,{class:[`${l}__mapping`],source:e.source,modelValue:e.modelValue,separator:e.separator,emptyText:e.emptyText,unit:e.unit},{default:r=>(0,t.h)(Tt,{class:[`${l}__text`]},{default:()=>r.text})});else{const r=e.unit?`${e.modelValue??""}${e.unit}`:`${e.modelValue??""}`;i=(0,t.h)(Tt,{class:[`${l}__text`]},{default:()=>r})}const o={label:n.default,default:()=>i};return(0,t.h)(el,{class:[l]},o)}var Je=(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},Xr={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},maxLength:{type:[String,Number]}},c0={...ze,...Te,...Xr};function u0(e,n,l,i){return{props:c0,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=e,w=(0,t.computed)(()=>({[h]:!0,[`${h}__disabled`]:a.value,[`${h}__readonly`]:p.value})),f=J=>{y.value=J,m("update:modelValue",J),m("input",J)},R=J=>{m("change",J)};let L=Ne(o,"hintText"),H=(0,t.ref)(!1);const W=J=>{let A=J.target.value;g.value=!0,ye(L.value)||(H.value=!0),m("focus",A,J)},F=J=>{setTimeout(()=>{H.value&&(H.value=!1),g.value=!1},0);let A=J.target.value;o.maxLength&&A.length>Number(o.maxLength)&&(A=A.slice(0,Number(o.maxLength))),m("blur",A,J)},B=()=>{m("clear","")},k=(0,t.ref)(!1);let I=null;const z=()=>{o.showTooltip&&k.value===!1&&(I&&clearTimeout(I),I=setTimeout(()=>{k.value=!0},150))},N=()=>{I&&(clearTimeout(I),k.value=!1,I=null)},_=(0,t.computed)(()=>k.value||H.value),V=(0,t.computed)(()=>k.value?y.value:L.value),K=(0,t.computed)(()=>dt(o.unit)>0),U=(0,t.ref)();return $({focus:()=>{U?.value.focus()},blur:()=>{U?.value.blur()},select:()=>{U?.value.select()},setDisabled:J=>{c.value=J},setReadonly:J=>{u.value=J}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:y.value,unit:o.unit},r.slots);const J={...Je(r.attrs),ref:U,class:w.value,placeholder:v.placeholder.value,clearable:o.clearable,disabled:a.value,readonly:p.value,modelValue:y.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:B,onChange:R,onInput:f,onFocus:W,onBlur:F,onMouseover:z,onMouseleave:N},A={};r.slots.prepend&&(A.prepend=r.slots.prepend),r.slots.append&&(A.append=r.slots.append),r.slots.prefix&&(A.prefix=r.slots.prefix),r.slots.suffix?A.suffix=r.slots.suffix:K.value&&(A.suffix=()=>[o.unit]);const q=[],Q=(0,t.h)(T.ElInput,J,A);q.push(Q);const le={default:()=>q};le.label=r.slots.default,le.fixedPreTip=r.slots.fixedPreTip,le.fixedTip=r.slots.fixedTip;const Z={...Ve(o,Xr),ref:s,hintText:V.value,hintVisible:_.value};return o.prop&&(Z.prop=`${o.prop}_item`),l(Z,le)}}}}var{componentName:d0,create:f0,scope:m0}=ce("input-item"),p0=f0(u0(d0,m0,Le,qe)),ja=p0;function gt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function tl(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Qr(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function h0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var g0=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function y0(){return new g0(Ze())}function Zr(e,n,l){return!(gt(e,n)!==gt(e,l)||tl(e,n)!==tl(e,l))}function Jr(e,n,l,i){if(i.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let s of i){const c=Qr(e,s);if(Array.isArray(c)&&c.length>0){const a=Jr(e,r,l,c)??[];Reflect.apply([].push,o,a)}else{let a=!1;if(l==="text")a=gt(e,s)===r;else if(l==="item")a=Zr(e,s,r);else{let u=tl(e,s);u==null&&(u=gt(e,s)),a=u===r}if(a){o.push(s);break}}}}),o}function b0(e){return{text:e,value:e}}var eo={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String]},sourceFilter:{type:[Function]},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}},S0={...ze,...Te,...eo};function w0(e,n,l,i){return{props:S0,emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(null),y=(0,t.ref)([]),h=(0,t.computed)(()=>y.value?y.value.map(b=>gt(o,b)).join(" "):""),w=(b,C,j,te=!0)=>{if(!j||j.length==0){g.value=b,te&&(m("update:modelValue",b),m("change",b));return}const oe=Jr(o,b,C,j);if(oe===null){if(y.value===null||y.value.length===0)return;g.value=null,y.value=[],te&&(m("update:modelValue",null),m("update:text",null),m("change",null));return}let se=!0;if(oe.length!==y.value.length)se=!1;else for(let ue=0;ue<oe.length;ue++){const he=oe[ue],Se=y.value[ue];if(!Zr(o,he,Se)){se=!1;break}}if(!se){y.value=oe;let ue=[],he=[],Se=[];oe.forEach(Ct=>{const _t=tl(o,Ct),na=gt(o,Ct);ue.push(_t),Se.push(na),o.valueType==="text"?he.push(na):o.valueType==="item"?he.push(Ct):he.push(_t)});let be,Ae,Ye;pe(o.multiple)?(g.value=ue,be=(0,t.toRaw)(he),Ae=Se,Ye=(0,t.toRaw)(oe)):(g.value=ue[0]??"",be=(0,t.toRaw)(he[0]??""),Ae=Se[0]??"",Ye=(0,t.toRaw)(oe[0])),te&&(m("update:modelValue",be),m("change",be,Ye)),m("update:text",Ae)}},f=(0,t.ref)(null),R=(0,t.ref)(null),L=(0,t.computed)(()=>{let b=R.value??f.value??[];return Array.isArray(b)&&typeof o.sourceFilter=="function"&&(b=b.filter(o.sourceFilter)),b}),H=De((0,t.computed)(()=>o.appearLoad),"appearLoad",Qe.Near,b=>pe(b)),W=y0(),F=async(b,C)=>{if(b){const j=await W.load("select",b,C);j.length>0?typeof j[0]=="string"?f.value=j.map(te=>b0(te)):f.value=j:f.value=null}};(0,t.watch)([()=>o.source,()=>o.params],([b,C])=>{R.value=null,F(b,C)},{immediate:!H.value});let B=!1;const k=()=>{B||(B=!0,F(o.source,o.params))};(0,t.watch)([()=>f.value,()=>o.modelValue],([b,C])=>{if(_()&&pe(o.multiple)){Ge(C,g.value)||(g.value=C);return}w(C,o.valueType,L.value,!1),m("setValue",C)}),o.source||(g.value=o.modelValue);let I=null,z=(0,t.ref)(!1);typeof o.remoteMethod=="function"&&(I=async b=>{if(b==null){R.value=null;return}z.value=!0;try{const C=await o.remoteMethod(b);C&&(R.value=C)}catch(C){R.value=null,console.error(C)}z.value=!1});let N=null;typeof o.filterMethod=="function"&&(N=async b=>{if(b==null){R.value=null;return}z.value=!0;try{const C=await o.filterMethod(b,f.value);C&&(R.value=C)}catch(C){R.value=null,console.error(C)}z.value=!1});const _=()=>typeof o.remoteMethod=="function"||typeof o.filterMethod=="function",V=(0,t.ref)(!1),K=e,U=(0,t.computed)(()=>({[K]:!0,disabled:a.value,readonly:p.value})),J=b=>{o.allowCreate||_()&&pe(o.multiple)?(m("update:modelValue",b),m("change",b),m("update:text",b),g.value=b):w(b,"value",L.value,!0)};let A=Ne(o,"hintText"),q=(0,t.ref)(!1);const Q=b=>{let C=b.target.value;V.value=!0,ye(A.value)||(q.value=!0),m("focus",C,b)},le=b=>{setTimeout(()=>{q.value&&(q.value=!1),V.value=!1},0);const C=b.target.value;Y.value||m("blur",C,b)},Z=()=>{m("clear","")},P=(0,t.ref)(!1);let M=null;const ae=()=>{o.showTooltip&&P.value===!1&&(M&&clearTimeout(M),M=setTimeout(()=>{P.value=!0},150))},ne=()=>{M&&(clearTimeout(M),P.value=!1,M=null)},ee=(0,t.computed)(()=>P.value||q.value),O=(0,t.computed)(()=>P.value?h.value:A.value),Y=(0,t.ref)(!1),E=b=>{Y.value=b,m("visible-change",b),b||m("selected")},G=b=>{m("remove-tag",b)},X=(b,C)=>{const j=[];return b.forEach((te,oe)=>{const se=Qr(o,te);if(Array.isArray(se)&&se.length>0){const ue=X(se,C),he=gt(o,te),Se={key:`${he}_${oe}`,label:he};j.push((0,t.h)(T.ElOptionGroup,Se,{default:()=>ue}))}else{const ue=tl(o,te),he=gt(o,te),Se=h0(o,te),be={key:`${ue}_${oe}`,label:he,disabled:Se,value:ue};if(typeof C=="function")j.push((0,t.h)(T.ElOption,be,{default:()=>C(te)}));else if(o.optionType==="item"){const Ae=(0,t.h)("div",{class:{"fox-select-item__option":!0}},[(0,t.h)("span",{class:{"fox-select-item__option-left":!0}},[ue]),(0,t.h)("span",{class:{"fox-select-item__option-right":!0}},[he])]);j.push((0,t.h)(T.ElOption,be,{default:()=>Ae}))}else o.optionType==="value"?j.push((0,t.h)(T.ElOption,be,{default:()=>[ue]})):j.push((0,t.h)(T.ElOption,be))}}),j},D=(0,t.ref)();return $({focus:()=>{D?.value.focus()},blur:()=>{D?.value.blur()},setDisabled:b=>{c.value=b},setReadonly:b=>{u.value=b}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:g.value,source:L.value,unit:o.unit},r.slots);const b={...Je(r.attrs),ref:D,class:U.value,clearable:o.clearable,multiple:o.multiple,placeholder:v.placeholder.value,disabled:a.value||p.value,modelValue:g.value,"value-key":o.valueKey,"allow-create":o.allowCreate,onClear:Z,onChange:J,onFocus:Q,onBlur:le,onVisibleChange:E,onRemoveTag:G};typeof I=="function"&&(b["remote-method"]=I,b.loading=z.value),typeof N=="function"&&(b["filter-method"]=N,b.loading=z.value);const C={};r.slots.prefix&&(C.prefix=r.slots.prefix),r.slots.empty&&(C.empty=r.slots.empty),r.slots.options?C.default=r.slots.options:C.default=()=>X(L.value,r.slots.option);const j=[],te=(0,t.h)(T.ElSelect,b,C);j.push(te);const oe={default:()=>j};oe.label=r.slots.default,oe.fixedPreTip=r.slots.fixedPreTip,oe.fixedTip=r.slots.fixedTip;const se={...Ve(o,eo),ref:s,hintText:O.value,hintVisible:ee.value,onMouseover:ae,onMouseleave:ne};return o.prop&&(se.prop=`${o.prop}_item`),H.value&&(se["appear-listen"]=!0,se.onAppear=k),l(se,oe)}}}}var{componentName:v0,create:N0,scope:C0}=ce("select-item"),k0=N0(w0(v0,C0,Le,qe)),Ka=k0,x0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs=i()})(e,(function(){"use strict";var l=1e3,i=6e4,o=36e5,r="millisecond",s="second",c="minute",a="hour",u="day",p="week",d="month",m="quarter",$="year",x="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={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 _=["th","st","nd","rd"],V=N%100;return"["+N+(_[(V-20)%10]||_[V]||_[0])+"]"}},w=function(N,_,V){var K=String(N);return!K||K.length>=_?N:""+Array(_+1-K.length).join(V)+N},f={s:w,z:function(N){var _=-N.utcOffset(),V=Math.abs(_),K=Math.floor(V/60),U=V%60;return(_<=0?"+":"-")+w(K,2,"0")+":"+w(U,2,"0")},m:function N(_,V){if(_.date()<V.date())return-N(V,_);var K=12*(V.year()-_.year())+(V.month()-_.month()),U=_.clone().add(K,d),J=V-U<0,A=_.clone().add(K+(J?-1:1),d);return+(-(K+(V-U)/(J?U-A:A-U))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:d,y:$,w:p,d:u,D:x,h:a,m:c,s,ms:r,Q:m}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},R="en",L={};L[R]=h;var H="$isDayjsObject",W=function(N){return N instanceof I||!(!N||!N[H])},F=function N(_,V,K){var U;if(!_)return R;if(typeof _=="string"){var J=_.toLowerCase();L[J]&&(U=J),V&&(L[J]=V,U=J);var A=_.split("-");if(!U&&A.length>1)return N(A[0])}else{var q=_.name;L[q]=_,U=q}return!K&&U&&(R=U),U||!K&&R},B=function(N,_){if(W(N))return N.clone();var V=typeof _=="object"?_:{};return V.date=N,V.args=arguments,new I(V)},k=f;k.l=F,k.i=W,k.w=function(N,_){return B(N,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var I=(function(){function N(V){this.$L=F(V.locale,null,!0),this.parse(V),this.$x=this.$x||V.x||{},this[H]=!0}var _=N.prototype;return _.parse=function(V){this.$d=(function(K){var U=K.date,J=K.utc;if(U===null)return new Date(NaN);if(k.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var A=U.match(g);if(A){var q=A[2]-1||0,Q=(A[7]||"0").substring(0,3);return J?new Date(Date.UTC(A[1],q,A[3]||1,A[4]||0,A[5]||0,A[6]||0,Q)):new Date(A[1],q,A[3]||1,A[4]||0,A[5]||0,A[6]||0,Q)}}return new Date(U)})(V),this.init()},_.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},_.$utils=function(){return k},_.isValid=function(){return this.$d.toString()!==v},_.isSame=function(V,K){var U=B(V);return this.startOf(K)<=U&&U<=this.endOf(K)},_.isAfter=function(V,K){return B(V)<this.startOf(K)},_.isBefore=function(V,K){return this.endOf(K)<B(V)},_.$g=function(V,K,U){return k.u(V)?this[K]:this.set(U,V)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(V,K){var U=this,J=!!k.u(K)||K,A=k.p(V),q=function(ee,O){var Y=k.w(U.$u?Date.UTC(U.$y,O,ee):new Date(U.$y,O,ee),U);return J?Y:Y.endOf(u)},Q=function(ee,O){return k.w(U.toDate()[ee].apply(U.toDate("s"),(J?[0,0,0,0]:[23,59,59,999]).slice(O)),U)},le=this.$W,Z=this.$M,P=this.$D,M="set"+(this.$u?"UTC":"");switch(A){case $:return J?q(1,0):q(31,11);case d:return J?q(1,Z):q(0,Z+1);case p:var ae=this.$locale().weekStart||0,ne=(le<ae?le+7:le)-ae;return q(J?P-ne:P+(6-ne),Z);case u:case x:return Q(M+"Hours",0);case a:return Q(M+"Minutes",1);case c:return Q(M+"Seconds",2);case s:return Q(M+"Milliseconds",3);default:return this.clone()}},_.endOf=function(V){return this.startOf(V,!1)},_.$set=function(V,K){var U,J=k.p(V),A="set"+(this.$u?"UTC":""),q=(U={},U[u]=A+"Date",U[x]=A+"Date",U[d]=A+"Month",U[$]=A+"FullYear",U[a]=A+"Hours",U[c]=A+"Minutes",U[s]=A+"Seconds",U[r]=A+"Milliseconds",U)[J],Q=J===u?this.$D+(K-this.$W):K;if(J===d||J===$){var le=this.clone().set(x,1);le.$d[q](Q),le.init(),this.$d=le.set(x,Math.min(this.$D,le.daysInMonth())).$d}else q&&this.$d[q](Q);return this.init(),this},_.set=function(V,K){return this.clone().$set(V,K)},_.get=function(V){return this[k.p(V)]()},_.add=function(V,K){var U,J=this;V=Number(V);var A=k.p(K),q=function(Z){var P=B(J);return k.w(P.date(P.date()+Math.round(Z*V)),J)};if(A===d)return this.set(d,this.$M+V);if(A===$)return this.set($,this.$y+V);if(A===u)return q(1);if(A===p)return q(7);var Q=(U={},U[c]=i,U[a]=o,U[s]=l,U)[A]||1,le=this.$d.getTime()+V*Q;return k.w(le,this)},_.subtract=function(V,K){return this.add(-1*V,K)},_.format=function(V){var K=this,U=this.$locale();if(!this.isValid())return U.invalidDate||v;var J=V||"YYYY-MM-DDTHH:mm:ssZ",A=k.z(this),q=this.$H,Q=this.$m,le=this.$M,Z=U.weekdays,P=U.months,M=U.meridiem,ae=function(O,Y,E,G){return O&&(O[Y]||O(K,J))||E[Y].slice(0,G)},ne=function(O){return k.s(q%12||12,O,"0")},ee=M||function(O,Y,E){var G=O<12?"AM":"PM";return E?G.toLowerCase():G};return J.replace(y,(function(O,Y){return Y||(function(E){switch(E){case"YY":return String(K.$y).slice(-2);case"YYYY":return k.s(K.$y,4,"0");case"M":return le+1;case"MM":return k.s(le+1,2,"0");case"MMM":return ae(U.monthsShort,le,P,3);case"MMMM":return ae(P,le);case"D":return K.$D;case"DD":return k.s(K.$D,2,"0");case"d":return String(K.$W);case"dd":return ae(U.weekdaysMin,K.$W,Z,2);case"ddd":return ae(U.weekdaysShort,K.$W,Z,3);case"dddd":return Z[K.$W];case"H":return String(q);case"HH":return k.s(q,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return ee(q,Q,!0);case"A":return ee(q,Q,!1);case"m":return String(Q);case"mm":return k.s(Q,2,"0");case"s":return String(K.$s);case"ss":return k.s(K.$s,2,"0");case"SSS":return k.s(K.$ms,3,"0");case"Z":return A}return null})(O)||A.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(V,K,U){var J,A=this,q=k.p(K),Q=B(V),le=(Q.utcOffset()-this.utcOffset())*i,Z=this-Q,P=function(){return k.m(A,Q)};switch(q){case $:J=P()/12;break;case d:J=P();break;case m:J=P()/3;break;case p:J=(Z-le)/6048e5;break;case u:J=(Z-le)/864e5;break;case a:J=Z/o;break;case c:J=Z/i;break;case s:J=Z/l;break;default:J=Z}return U?J:k.a(J)},_.daysInMonth=function(){return this.endOf(d).$D},_.$locale=function(){return L[this.$L]},_.locale=function(V,K){if(!V)return this.$L;var U=this.clone(),J=F(V,K,!0);return J&&(U.$L=J),U},_.clone=function(){return k.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},N})(),z=I.prototype;return B.prototype=z,[["$ms",r],["$s",s],["$m",c],["$H",a],["$W",u],["$M",d],["$y",$],["$D",x]].forEach((function(N){z[N[1]]=function(_){return this.$g(_,N[0],N[1])}})),B.extend=function(N,_){return N.$i||(N(_,I,B),N.$i=!0),B},B.locale=F,B.isDayjs=W,B.unix=function(N){return B(1e3*N)},B.en=L[R],B.Ls=L,B.p={},B}))})),z0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_customParseFormat=i()})(e,(function(){"use strict";var l={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"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,r=/\d\d/,s=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,a={},u=function(g){return(g=+g)+(g>68?1900:2e3)},p=function(g){return function(y){this[g]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var h=y.match(/([+-]|\d\d)/g),w=60*h[1]+(+h[2]||0);return w===0?0:h[0]==="+"?-w:w})(g)}],m=function(g){var y=a[g];return y&&(y.indexOf?y:y.s.concat(y.f))},$=function(g,y){var h,w=a.meridiem;if(w){for(var f=1;f<=24;f+=1)if(g.indexOf(w(f,0,y))>-1){h=f>12;break}}else h=g===(y?"pm":"PM");return h},x={A:[c,function(g){this.afternoon=$(g,!1)}],a:[c,function(g){this.afternoon=$(g,!0)}],Q:[o,function(g){this.month=3*(g-1)+1}],S:[o,function(g){this.milliseconds=100*+g}],SS:[r,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,p("seconds")],ss:[s,p("seconds")],m:[s,p("minutes")],mm:[s,p("minutes")],H:[s,p("hours")],h:[s,p("hours")],HH:[s,p("hours")],hh:[s,p("hours")],D:[s,p("day")],DD:[r,p("day")],Do:[c,function(g){var y=a.ordinal,h=g.match(/\d+/);if(this.day=h[0],y)for(var w=1;w<=31;w+=1)y(w).replace(/\[|\]/g,"")===g&&(this.day=w)}],w:[s,p("week")],ww:[r,p("week")],M:[s,p("month")],MM:[r,p("month")],MMM:[c,function(g){var y=m("months"),h=(m("monthsShort")||y.map((function(w){return w.slice(0,3)}))).indexOf(g)+1;if(h<1)throw new Error;this.month=h%12||h}],MMMM:[c,function(g){var y=m("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,p("year")],YY:[r,function(g){this.year=u(g)}],YYYY:[/\d{4}/,p("year")],Z:d,ZZ:d};function v(g){for(var y=g,h=a&&a.formats,w=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(B,k,I){var z=I&&I.toUpperCase();return k||h[I]||l[I]||h[z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,_,V){return _||V.slice(1)}))}))).match(i),f=w.length,R=0;R<f;R+=1){var L=w[R],H=x[L],W=H&&H[0],F=H&&H[1];w[R]=F?{regex:W,parser:F}:L.replace(/^\[|\]$/g,"")}return function(B){for(var k={},I=0,z=0;I<f;I+=1){var N=w[I];if(typeof N=="string")z+=N.length;else{var _=N.regex,V=N.parser,K=B.slice(z),U=_.exec(K)[0];V.call(k,U),B=B.replace(U,"")}}return(function(J){var A=J.afternoon;if(A!==void 0){var q=J.hours;A?q<12&&(J.hours+=12):q===12&&(J.hours=0),delete J.afternoon}})(k),k}}return function(g,y,h){h.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(u=g.parseTwoDigitYear);var w=y.prototype,f=w.parse;w.parse=function(R){var L=R.date,H=R.utc,W=R.args;this.$u=H;var F=W[1];if(typeof F=="string"){var B=W[2]===!0,k=W[3]===!0,I=B||k,z=W[2];k&&(z=W[2]),a=this.$locale(),!B&&z&&(a=h.Ls[z]),this.$d=(function(K,U,J,A){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*K);var q=v(U)(K),Q=q.year,le=q.month,Z=q.day,P=q.hours,M=q.minutes,ae=q.seconds,ne=q.milliseconds,ee=q.zone,O=q.week,Y=new Date,E=Z||(Q||le?1:Y.getDate()),G=Q||Y.getFullYear(),X=0;Q&&!le||(X=le>0?le-1:Y.getMonth());var D,b=P||0,C=M||0,j=ae||0,te=ne||0;return ee?new Date(Date.UTC(G,X,E,b,C,j,te+60*ee.offset*1e3)):J?new Date(Date.UTC(G,X,E,b,C,j,te)):(D=new Date(G,X,E,b,C,j,te),O&&(D=A(D).week(O).toDate()),D)}catch{return new Date("")}})(L,F,H,h),this.init(),z&&z!==!0&&(this.$L=this.locale(z).$L),I&&L!=this.format(F)&&(this.$d=new Date("")),a={}}else if(F instanceof Array)for(var N=F.length,_=1;_<=N;_+=1){W[1]=F[_-1];var V=h.apply(this,W);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}_===N&&(this.$d=new Date(""))}else f.call(this,R)}}}))})),E0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_advancedFormat=i()})(e,(function(){"use strict";return function(l,i){var o=i.prototype,r=o.format;o.format=function(s){var c=this,a=this.$locale();if(!this.isValid())return r.bind(this)(s);var u=this.$utils(),p=(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(d){switch(d){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return a.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return a.ordinal(c.week(),"W");case"w":case"ww":return u.s(c.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(c.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(c.$H===0?24:c.$H),d==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return d}}));return r.bind(this)(p)}}}))})),T0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_localeData=i()})(e,(function(){"use strict";return function(l,i,o){var r=i.prototype,s=function(d){return d&&(d.indexOf?d:d.s)},c=function(d,m,$,x,v){var g=d.name?d:d.$locale(),y=s(g[m]),h=s(g[$]),w=y||h.map((function(R){return R.slice(0,x)}));if(!v)return w;var f=g.weekStart;return w.map((function(R,L){return w[(L+(f||0))%7]}))},a=function(){return o.Ls[o.locale()]},u=function(d,m){return d.formats[m]||(function($){return $.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(x,v,g){return v||g.slice(1)}))})(d.formats[m.toUpperCase()])},p=function(){var d=this;return{months:function(m){return m?m.format("MMMM"):c(d,"months")},monthsShort:function(m){return m?m.format("MMM"):c(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):c(d,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):c(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):c(d,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return u(d.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return p.bind(this)()},o.localeData=function(){var d=a();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(m){return u(d,m)},meridiem:d.meridiem,ordinal:d.ordinal}},o.months=function(){return c(a(),"months")},o.monthsShort=function(){return c(a(),"monthsShort","months",3)},o.weekdays=function(d){return c(a(),"weekdays",null,null,d)},o.weekdaysShort=function(d){return c(a(),"weekdaysShort","weekdays",3,d)},o.weekdaysMin=function(d){return c(a(),"weekdaysMin","weekdays",2,d)}}}))})),$0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekOfYear=i()})(e,(function(){"use strict";var l="week",i="year";return function(o,r,s){var c=r.prototype;c.week=function(a){if(a===void 0&&(a=null),a!==null)return this.add(7*(a-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var p=s(this).startOf(i).add(1,i).date(u),d=s(this).endOf(l);if(p.isBefore(d))return 1}var m=s(this).startOf(i).date(u).startOf(l).subtract(1,"millisecond"),$=this.diff(m,l,!0);return $<0?s(this).startOf("week").week():Math.ceil($)},c.weeks=function(a){return a===void 0&&(a=null),this.week(a)}}}))})),B0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekYear=i()})(e,(function(){"use strict";return function(l,i){i.prototype.weekYear=function(){var o=this.month(),r=this.week(),s=this.year();return r===1&&o===11?s+1:o===0&&r>=52?s-1:s}}}))})),V0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_dayOfYear=i()})(e,(function(){"use strict";return function(l,i,o){i.prototype.dayOfYear=function(r){var s=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}}))})),D0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrAfter=i()})(e,(function(){"use strict";return function(l,i){i.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}}))})),M0=rt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrBefore=i()})(e,(function(){"use strict";return function(l,i){i.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}}))})),at=ot(x0(),1),A0=ot(z0(),1),I0=ot(E0(),1),P0=ot(T0(),1),L0=ot($0(),1),_0=ot(B0(),1),R0=ot(V0(),1),F0=ot(D0(),1),O0=ot(M0(),1);at.default.extend(P0.default),at.default.extend(I0.default),at.default.extend(A0.default),at.default.extend(L0.default),at.default.extend(_0.default),at.default.extend(R0.default),at.default.extend(F0.default),at.default.extend(O0.default);var et={format(e,n="YYYY-MM-DD"){return(0,at.default)(e).format(n)},parser(e,n){return(0,at.default)(e,n).toDate()},getDay(e,n,l){let i=n??new Date;const o=e*(1e3*60*60*24);return i=new Date(i.getTime()+o),l=l??"YYYY-MM-DD",this.format(i,l)},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,l){let i=new Date(e+"/"+n+"/"+l).getDay();return i==0&&(i=7),i},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){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},compare(e,n,l){const i=typeof e=="string"?this.parser(e,l):e,o=typeof n=="string"?this.parser(n,l):n,r=i.getTime(),s=o.getTime();return r==s?0:r>s?1:-1},between(e,n,l,i){let o;i==="year"?o=new Date(new Date(n).setFullYear(n.getFullYear()+l)):i==="month"?o=new Date(new Date(n).setMonth(n.getMonth()+l)):o=new Date(new Date(n).setDate(n.getDate()+l));const r=e.getTime(),s=o.getTime(),c=n.getTime();return s>c?r>=c&&r<=s:r>=s&&r<=c},inScope4Day(e,n,l){return this.between(e,n,l,"day")},inScope4Month(e,n,l){return this.between(e,n,l,"month")},inScope4Year(e,n,l){return this.between(e,n,l,"year")}},to={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"},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]},editable:{type:[String,Boolean],default:()=>!1}},lo={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}},q0={...ze,...Te,...to,...lo};function H0(e,n,l,i){return{props:q0,emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=(0,t.computed)(()=>A.value&&Array.isArray(y.value)&&y.value.length==2?y.value[0]:y.value),w=(0,t.computed)(()=>A.value?"longTermKey":"normalKey"),f=D=>{if(A.value&&o.type==="daterange"){const b=[...y.value];b[0]=D,y.value=b}else y.value=D;m("update:modelValue",y.value),m("change",y.value)},R=(0,t.computed)(()=>A.value&&o.type==="daterange"?"date":o.type),L=e,H=(0,t.computed)(()=>({[`${L}`]:!0,"is-long":A.value,"is-readonly":p.value,"is-disabled":a.value}));let W=Ne(o,"hintText"),F=(0,t.ref)(!1);const B=D=>{let b=D.target.value;g.value=!0,ye(W.value)||(F.value=!0),m("focus",b,D)},k=D=>{setTimeout(()=>{F.value&&(F.value=!1),g.value=!1},0);let b=D.target.value;o.maxLength&&b.length>Number(o.maxLength)&&(b=b.slice(0,Number(o.maxLength))),m("blur",b,D)},I=()=>{m("clear","")},z=D=>{m("calendar-change",D)},N=(D,b,C)=>{m("panel-change",D,b,C)},_=D=>{m("visible-change",D)},V=De((0,t.computed)(()=>o.longTermText),"longTermText",Qe.Near),K=De((0,t.computed)(()=>o.longTermActionLabel),"longTermActionLabel",Qe.Near),U=De((0,t.computed)(()=>o.longTermValue),"longTermValue",Qe.Near);De((0,t.computed)(()=>o.compatibleLongTermValue),"compatibleLongTermValue",Qe.Near);let J=null;const A=(0,t.ref)(pe(o.longTerm)),q=D=>{const b=[Array.isArray(D)?D[0]:D];return Array.isArray(U.value)?b[1]=U.value[1]??U.value[0]:b[1]=A.value,b[0]||(b[0]=o.valueFormat?et.format(new Date,o.valueFormat):new Date),b[1]||(b[1]=o.valueFormat?et.format(new Date,o.valueFormat):new Date),b},Q=D=>{if(A.value=D,m("update:longTerm",D),D){J=y.value;const b=q(y.value);o.type==="daterange"?y.value=b:y.value=b[1],m("update:modelValue",y.value)}else y.value=J,m("update:modelValue",y.value),setTimeout(()=>{E()},100)},le=pe(o.isLongTerm);if(le){const D=()=>{if(A.value===!0){J=y.value;const b=q(y.value);o.type==="daterange"?y.value=b:y.value=b[1],m("update:modelValue",y.value)}else Ge(U.value,y.value)&&(A.value=!0)};D(),(0,t.watch)([()=>o.longTerm],([b])=>{A.value!==b&&D()})}const Z=(0,t.computed)(()=>({"fox-date-item__long":!0,"is-active":g.value})),P=(0,t.ref)(),M=/^\d+$/,ae=(D,b)=>typeof o.flashFillThreshold=="function"?o.flashFillThreshold(D,b):M.test(D)&&D.length===o.flashFillThreshold,ne=(D,b)=>{let C;if(typeof o.flashFillFormat=="function")C=o.flashFillFormat(D,b);else{const te=o.flashFillFormat??"YYYYMMDD";C=et.parser(D,te)}const j=o.valueFormat??"YYYY-MM-DD";return et.format(C,j)},ee=D=>D?D.endsWith("range"):!1,O=D=>{if(!D.target)return;const b=D.target.value??"";if(ae(b,o.type)){const C=ne(b,o.type);if(ee(o.type)){const j=Array.isArray(y.value)?[...y.value]:[];j[0]=C,f(j)}else f(C)}},Y=D=>{if(!D.target)return;const b=D.target.value??"";if(ae(b,o.type)){const C=ne(b,o.type);if(ee(o.type)){const j=Array.isArray(y.value)?[...y.value]:[];j[1]=C,f(j)}else f(C)}},E=()=>{if(o.flashFill&&s.value&&s.value.$el)if(ee(o.type)){const D=s.value.$el.querySelectorAll("input.el-range-input");D[0]&&D[0].addEventListener("input",O),D[1]&&D[1].addEventListener("input",Y)}else{const D=s.value.$el.querySelector("input.el-input__inner");D&&D.addEventListener("input",O)}},G=()=>{if(o.flashFill&&s.value&&s.value.$el)if(ee(o.type)){const D=s.value.$el.querySelectorAll("input.el-range-input");D[0]&&D[0].removeEventListener("input",O),D[1]&&D[1].removeEventListener("input",Y)}else{const D=s.value.$el.querySelector("input.el-input__inner");D&&D.removeEventListener("input",O)}};(0,t.onMounted)(E),(0,t.onBeforeUnmount)(G),$({focus:()=>{P?.value.focus()},blur:()=>{P?.value.blur()},handleOpen:()=>{P?.value.handleOpen()},handleClose:()=>{P?.value.handleClose()},setDisabled:D=>{c.value=D},setReadonly:D=>{u.value=D}});const X=(0,t.computed)(()=>{if(Fe(h.value))return"";const D=o.rangeSeparator??" - ",b=Array.isArray(h.value)?h.value:[h.value];le&&A.value&&(b[1]=V.value);const C=[];for(let te=0;te<b.length;te++){const oe=b[te];if(typeof oe=="string"&&C.push(oe),oe instanceof Date){const se=et.format(oe,o.format);C.push(se)}}const j=` ${D} `;return C.join(j)});return()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:X.value},r.slots);const D={...r.attrs,key:w.value,type:R.value,ref:P,class:H.value,placeholder:v.placeholder.value,rangeSeparator:o.rangeSeparator,disabled:a.value,readonly:p.value,modelValue:h.value,valueFormat:o.valueFormat,format:o.format,editable:o.editable,"onUpdate:modelValue":f,onClear:I,onFocus:B,onBlur:k,onCalendarChange:z,onPanelChange:N,onVisibleChange:_},b={};r.slots["range-separator"]&&(b["range-separator"]=r.slots["range-separator"]),r.slots.cell&&(b.default=r.slots.cell);const C=[],j=(0,t.h)(T.ElDatePicker,D,b);C.push(j);const te={default:()=>C};if(te.label=r.slots.default,te.fixedPreTip=r.slots.fixedPreTip,te.fixedTip=r.slots.fixedTip,r.slots.prepend&&(te.prepend=r.slots.prepend),r.slots.append&&(te.append=r.slots.append),le){if(A.value){const se=(0,t.h)("input",{class:["fox-date-item__long-text"],value:V.value,readonly:!0}),ue={class:Z.value};if(o.type==="daterange"){const he=(0,t.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),Se=(0,t.h)("div",ue,{default:()=>[he,se]});C.push(Se)}else{C.splice(0,C.length);const he=(0,t.h)("div",ue,{default:()=>[se]});C.push(he)}}if(!p.value&&!a.value){const se=(0,t.h)(T.ElCheckbox,{label:K.value||V.value,disabled:p.value||a.value,modelValue:A.value,"onUpdate:modelValue":Q}),ue=(0,t.h)("div",{class:{[`${L}__append`]:!0}},[se]);te.append=()=>ue}}const oe={...Ve(o,to,lo),ref:s,class:{[`${L}__wrapper`]:!0,"has-append":le},hintText:W.value,hintVisible:F.value};return o.prop&&(oe.prop=`${o.prop}_item`),l(oe,te)}}}}var{componentName:j0,create:K0,scope:W0}=ce("date-item"),Y0=K0(H0(j0,W0,Le,qe)),Wa=Y0,me={format(e,n="YYYY-MM-DD"){return et.format(e,n)},parser(e,n){return et.parser(e,n)},isLeapYear:function(e){return et.isLeapYear(e)},getWhatDay:function(e,n,l){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(e+"/"+n+"/"+l).getDay()]},getMonthPreDay:function(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays:function(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:function(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},getDay:function(e){e=e||0;let n=new Date;const l=e*(1e3*60*60*24);return n=new Date(n.getTime()+l),this.date2Str(n)},compareDate:function(e,n){return!(new Date(e.replace("-","/").replace("-","/"))>=new Date(n.replace("-","/").replace("-","/")))},isEqual:function(e,n){return new Date(e).getTime()==new Date(n).getTime()},getMonthWeek:function(e,n,l,i=0){const o=new Date(Number(e),parseInt(n)-1,Number(l));let r=o.getDay();const s=o.getDate();let c=6-r;return i!==0&&(r=r==0?7:r,c=7-r),Math.ceil((s+c)/7)},getYearWeek:function(e,n,l,i=0){const o=new Date(Number(e),parseInt(n)-1,Number(l)),r=new Date(Number(e),0,1),s=Math.round((o.valueOf()-r.valueOf())/864e5);return Math.ceil((s+(r.getDay()+1-1))/7)},getWeekDate:function(e,n,l,i=0){const o=new Date(Number(e),parseInt(n)-1,Number(l)),r=o.getTime();let s=o.getDay();if(i===0){const a=r-s*864e5,u=r+(6-s)*864e5;return[this.date2Str(new Date(a)),this.date2Str(new Date(u))]}else{s=s==0?7:s;const c=1440*60*1e3,a=r-(s-1)*c,u=r+(7-s)*c;return[this.date2Str(new Date(a)),this.date2Str(new Date(u))]}},formatResultDate:function(e){const n=[...e.split("-")];return n[2]=me.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=me.getWhatDay(+n[0],+n[1],+n[2]),n}},U0=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Ya={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:e=>e>=0&&e<=6},popClass:{type:String},popStyle:{type:Object}},Ua={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:{}}},ao=2e3,no=ao,G0=(e,n)=>({components:n,props:{...Ua},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:i}){const o=(0,t.reactive)({zIndex:l.zIndex,showSlot:!0,closed:l.closeable}),r=(0,t.computed)(()=>({[e]:!0,round:l.round,[`fox-popup--${l.position}`]:!0,[`fox-popup--${l.position}--safebottom`]:l.position==="bottom"&&l.safeAreaInsetBottom,[l.popClass]:!0})),s=(0,t.computed)(()=>({zIndex:o.zIndex,transitionDuration:`${l.duration}s`,...l.style})),c=(0,t.computed)(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),a=()=>{l.zIndex!==ao&&(no=Number(l.zIndex)),i("update:visible",!0),o.zIndex=++no,l.destroyOnClose&&(o.showSlot=!0),i("open")},u=()=>{i("update:visible",!1),i("close"),l.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+l.duration*1e3)},p=v=>{i("click-pop",v)},d=v=>{v.stopPropagation(),i("click-close-icon",v),i("update:visible",!1)},m=v=>{i("click-overlay",v),l.closeOnClickOverlay&&i("update:visible",!1)},$=v=>{i("opend",v)},x=v=>{i("closed",v)};return(0,t.watch)(()=>l.visible,v=>{l.visible?a():u()}),(0,t.watch)(()=>l.closeable,v=>{o.closed=v}),{...(0,t.toRefs)(o),popStyle:s,transitionName:c,classes:r,onClick:p,onClickCloseIcon:d,onClickOverlay:m,onOpened:$,onClosed:x}}}),ll=0,ro="fox-overflow-hidden",oo=()=>ut?document.body:{classList:[]},X0=e=>[()=>{if(e())try{!ll&&oo().classList.add(ro),ll++}catch{}},()=>{if(e()&&ll)try{ll--,!ll&&oo().classList.remove(ro)}catch{}}],Q0={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:Z0,create:J0}=ce("overlay"),e1=J0({props:{...Q0},emits:["click","update:visible"],setup(e,{emit:n}){const[l,i]=X0(()=>e.lockScroll),o=(0,t.computed)(()=>({[Z0]:!0,[e.overlayClass]:!0})),r=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,c=>{c?l():i()}),{classes:o,style:r,onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function t1(e,n,l,i,o,r){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"overlay-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}var ql=Me(e1,[["render",t1]]),io="fox-icon",Om=(0,t.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(e,{emit:n}){let l=e,i=n,o=d=>{i("click",d)},r=(0,t.useSlots)();(0,t.useAttrs)();let s=()=>l.name?l.name.indexOf("/")!==-1:!1,c=d=>{if(d)return isNaN(Number(d))?String(d):d+"px"},a=s(),u=(0,t.h)(a?"img":l.tag,{class:a?`${io}__img`:`${l.fontClassName} ${io} ${l.classPrefix}-${l.name}`,style:{color:l.color,fontSize:c(l.size),width:c(l.width||l.size),height:c(l.height||l.size)},onClick:o,src:a?l.name:""},r.default?.()),p=()=>u;return(d,m)=>((0,t.openBlock)(),(0,t.createBlock)(p))}}),qm={name:"foxui-icon",data:[{name:"粗体 Icon",nameEn:"Bold Icon",icons:["order","refresh","add","eye","dshop","my2","star","del2","more-x","comment","microphone","people","service","cart2","location2","marshalling","fabulous","s-follow","shop","jdl"]},{name:"细体 Icon",nameEn:"Thin Icon",icons:"ask.microphone2.tips.notice.lower.top.download.dongdong.JIMI40.location.scan.addfollow.search.share.follow.del.edit.cart.home.find.category.my.footprint.link.scan2.service2.left.close.locationg3.share.shop3.message.ask2.search2.clock.setting.refresh2.horizontal.date.photograph.more-s.more-h.play-stop.play-start.play-double-back.play-double-forward.voice.image.image-error".split(".")},{name:"应用图标",nameEn:"Application Icon",icons:["arrow-up","arrow-down","arrow-up2","arrow-down2","down-arrow","joy-smile","close-little","horizontal-n","share-n","heart1","heart-fill","star-n","star-fill-n","triangle-down","triangle-up"]},{name:"基础图标",nameEn:"Basic Icon",icons:"rect-up.rect-down.rect-left.rect-right.uploader.mask-close.circle-close.right.arrow-right.github.screen-little.plus.minus.Check.issue.failure.success.retweet.poweroff-circle-fill.play-circle-fill.checked.checklist.check-disabled.check-normal.check-checked.loading.loading1.more.more-filled".split(".")},{name:"扩展图标",nameEn:"Ext Icon",icons:"locked.drag.filter.introduce.question.person-minus.person-add.horn.horn2.edit2.photograph-fill.phone.phone-fill.phonering.phonering-fill.upload-cloud.download-cloud.garbage-bin.checked2.checked-fill2.close2.close-fill2.history.smile-face.file-upload.picture.mike.person.persons.person2.persons2.merge-forward.items-forward.double-arrow-left.double-arrow-right.transmit".split(".")}],style:[{name:"通用动态样式",nameEn:"Universal Dynamic Style",icons:[{name:"dou-arrow-up","animation-name":"am-jump","animation-time":"am-infinite"},{name:"star","animation-name":"am-blink","animation-time":"am-infinite"},{name:"refresh2","animation-name":"am-rotate","animation-time":"am-infinite"},{name:"heart-fill","animation-name":"am-breathe","animation-time":"am-infinite"},{name:"microphone","animation-name":"am-flash","animation-time":"am-infinite"},{name:"download","animation-name":"am-bounce","animation-time":"am-infinite"},{name:"message","animation-name":"am-shake","animation-time":"am-infinite"}]}]},Hm="Voice.Uploader.UploadCloud.Tuozhuai.TriangleUp.TriangleDown.Transmit.Top.Tips.Suoding.Success.Star2.Star11.Star1.Star.StarN.StarFill2.StarFill1.StarFill.StarFillN.SmileFace.Shop3.Shop.Share1.Share.ShareN.Setting.Service2.Service.Search2.Search.ScreenLittle.Scan2.Scan.SFollow.Right.Retweet.Refresh2.Refresh.RectUp.RectRight.RectLeft.RectDown.Question.PoweroffCircleFill.Plus.PlayStop.PlayStart.PlayDoubleForward.PlayDoubleBack.PlayCircleFill.Picture.Photograph.PhotographFill.Phonering.PhoneringFill.Phone.PhoneFill.Persons2.Persons.Person2.Person.PersonMinus.PersonAdd.People.Order.Notice.My2.My.More.MoreX.MoreS.MoreH.MoreFilled.Minus.Mike.Microphone2.Microphone.Message.MergeForward.MaskClose.Marshalling.Lower.Locked.Locationg3.Location2.Location.Loading1.Loading.Link.Left.JoySmile.Jdl.ItemsForward.Issue.Introduce.Image.ImageError.Horn2.Horn.Horizontal.HorizontalN.Home.History.Heart2.Heart1.Heart.HeartN.HeartFill3.HeartFill2.HeartFill1.HeartFill.HeartFillN.Github.GarbageBin.Footprint.Follow.Find.Filter.FileUpload.Failure.Fabulous.Eye.Edit2.Edit.Dshop.Drag.Download.DownloadCloud.DownArrow.DoubleArrowRight.DoubleArrowLeft.DouArrowUp.Dongdong.Del2.Del.Date.Comment.Close2.Close.CloseLittle.CloseFill2.Clock.CircleClose.Checklist.Checked2.Checked.CheckedFill2.CheckNormal.CheckDisabled.CheckChecked.Category.Cart2.Cart.Ask2.Ask.ArrowUp2.ArrowUp.ArrowRight2.ArrowRight.ArrowDown2.ArrowDown.Addfollow.Add.Jimi40.Check".split("."),l1=["aria-labelledby"],jm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.27M445.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.186m-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.675",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,l1))}}),a1=["aria-labelledby"],n1=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 48m-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 48",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,a1))}}),r1=["aria-labelledby"],Km=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2 33.2 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.66 31.66 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.666m18.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.2",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,r1))}}),o1=["aria-labelledby"],Wm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(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.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44c54.592 0 98.816-41.92 98.816-93.44S290.432 412.8 235.84 412.8m0-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.376m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312s98.816-41.728 98.816-93.312c0-51.52-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44 98.816-41.92 98.816-93.44-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248s98.816-41.728 98.816-93.312-44.288-93.376-98.816-93.376",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,o1))}}),i1=["aria-labelledby"],Ym=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,i1))}}),s1=["aria-labelledby"],Um=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,s1))}}),c1=["aria-labelledby"],Gm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M946.693 149.193a73.77 73.77 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.4 73.4 0 0 0 30.234-6.525 73.34 73.34 0 0 0 41.185-48.817l150.82-583.999c6.875-26.214-1.223-53.885-20.971-72.351m-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.1 29.1 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.456q2.709-.873 5.068-.874c5.184 0 8.855 2.796 10.427 4.253 2.04 1.806 6.525 7.107 4.428 15.146",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,c1))}}),u1=["aria-labelledby"],Xm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.91q-8.533 8.533-25.6 8.533zm745.245 0q-12.8 0-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.734q-12.8 17.067-34.133 17.066M512 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.667M884.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.666",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,u1))}}),d1=["aria-labelledby"],so=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-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.333M448 320a64 64 0 1 0 128 0 64 64 0 1 0-128 0m-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.6m51.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.067m8.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.066",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,d1))}}),f1=["aria-labelledby"],Qm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.48M832 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.16m-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.16m-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.336",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,f1))}}),m1=["aria-labelledby"],p1=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 512m0-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.267",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,m1))}}),h1=["aria-labelledby"],Zm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.3M664.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.7z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,h1))}}),g1=["aria-labelledby"],Jm=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.082zm336.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)]],14,g1))}}),y1=["aria-labelledby"],ep=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.3M664.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.7z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,y1))}}),b1=["aria-labelledby"],tp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M280.598 1008.246q-29.538 0-59.077-11.815c-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.876q5.907 11.816 11.815 11.816c5.908 0 7.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 0zm212.676 102.401",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,b1))}}),S1=["aria-labelledby"],lp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.082zm336.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)]],14,S1))}}),w1=["aria-labelledby"],ap=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.667",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,w1))}}),v1=["aria-labelledby"],np=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.3",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,v1))}}),N1=["aria-labelledby"],rp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.3",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,N1))}}),C1=["aria-labelledby"],op=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.667",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,C1))}}),k1=["aria-labelledby"],ip=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 960m0-832c-211.733 0-384 172.267-384 384s172.267 384 384 384 384-172.267 384-384-172.267-384-384-384m1.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.76 222.76 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.12 286.12 0 0 1-228.416 112.554m-144-258.133a47.98 47.98 0 0 1-48-48v-64a47.98 47.98 0 0 1 48-48 47.98 47.98 0 0 1 48 48v64a48 48 0 0 1-48 48m288 0a48 48 0 0 1-48-48v-64a48 48 0 1 1 96 0v64a48 48 0 0 1-48 48",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,k1))}}),x1=["aria-labelledby"],sp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1050 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.505s102.4-18.863 137.432-45.81c16.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.673m353.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.695m800.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.39zm-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.422m727.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.685M781.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)]],14,x1))}}),z1=["aria-labelledby"],cp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.8s54.857-25.6 76.8-7.314c32.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.172m303.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.658m-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.458m709.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.857m687.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.228m-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.829z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,z1))}}),E1=["aria-labelledby"],up=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 256M870.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.52M501.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.48s0 46.08-20.48 56.32c-181.76 84.48-307.2 238.08-343.04 424.96-5.12 23.04-23.04 35.84-43.52 35.84",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,E1))}}),T1=["aria-labelledby"],dp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.273m170.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.545M515.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.236",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,T1))}}),$1=["aria-labelledby"],fp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.273m170.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.545M515.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.236",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$1))}}),B1=["aria-labelledby"],mp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.863m0-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.579m0-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)]],14,B1))}}),V1=["aria-labelledby"],pp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2 126.2 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 404 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.901m-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.303zm721.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.38",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,V1))}}),D1=["aria-labelledby"],hp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.692zM196.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.462m0-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.769m630.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.924m0-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.769m-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.938",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,D1))}}),M1=["aria-labelledby"],A1=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 512m0-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.77M984.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.503",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,M1))}}),I1=["aria-labelledby"],gp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.999m0-936.228C277.943 87.77 87.77 277.943 87.77 512S277.944 936.228 512 936.228 936.228 746.056 936.228 512 746.056 87.77 512 87.77m468.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)]],14,I1))}}),P1=["aria-labelledby"],yp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.33 85.33 0 0 1 89.649 0l269.458 166.441a56.884 56.884 0 1 1-59.785 96.76L511.969 118.81zm0 472.133a56.884 56.884 0 1 0-59.785 96.703L467.2 1011.257a85.33 85.33 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)]],14,P1))}}),L1=["aria-labelledby"],bp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 1024M96.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.513m940.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.514",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,L1))}}),_1=["aria-labelledby"],Sp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.914M160.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.143zm702.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.914M716.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.143zM307.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.914M160.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.143zM204.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.257m482.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.885m234.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.885",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,_1))}}),R1=["aria-labelledby"],wp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1113 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.6M93.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.534zm934.4-8.534L921.6 550.4c38.4-59.733 64-128 64-200.533h128c0 98.133-29.867 192-85.333 273.066M558.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.534m8.534-123.734",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,R1))}}),F1=["aria-labelledby"],O1=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,F1))}}),q1=["aria-labelledby"],vp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 8m752-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-8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,q1))}}),H1=["aria-labelledby"],Np=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.128m-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.128M509.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.635z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,H1))}}),j1=["aria-labelledby"],Cp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.323s51.2 39.384 43.323 70.892C961.482 858.585 756.682 1024 512.497 1024M965.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.323s-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.939",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,j1))}}),K1=["aria-labelledby"],kp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,K1))}}),W1=["aria-labelledby"],xp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.936s-6.144 29.184-16.384 39.936L389.12 966.656c-10.752 11.264-25.6 16.384-39.936 16.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,W1))}}),Y1=["aria-labelledby"],zp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.936s6.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.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Y1))}}),U1=["aria-labelledby"],Ep=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.872",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,U1))}}),G1=["aria-labelledby"],Tp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.855",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,G1))}}),X1=["aria-labelledby"],$p=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64m-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 8zm224 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 8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,X1))}}),Q1=["aria-labelledby"],Bp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2M550.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.2",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Q1))}}),Z1=["aria-labelledby"],Vp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.624S740.512 952.64 500.864 952.64m0-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)]],14,Z1))}}),J1=["aria-labelledby"],Dp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0M415.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.1m494-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.6",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,J1))}}),eu=["aria-labelledby"],Mp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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-20m-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.8m-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.8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,eu))}}),tu=["aria-labelledby"],Ap=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 20m7.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.8m417.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.8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,tu))}}),lu=["aria-labelledby"],Ip=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64m144.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 506q1.05.75 1.8 1.8c2.6 3.5 1.8 8.5-1.8 11.1",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,lu))}}),au=["aria-labelledby"],Pp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.4M170.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.133z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M614.4 402.773a1.067 1.067 0 1 0 136.533 0 1.067 1.067 0 1 0-136.533 0M785.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.827s0-40.96 13.654-47.786c6.826 0 95.573-61.44 197.973-13.654 47.787 27.307 68.267 61.44 88.747 95.574s34.133 61.44 75.093 68.266c27.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,au))}}),nu=["aria-labelledby"],Lp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1141 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.429m0-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.657M877.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 1024m-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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,nu))}}),ru=["aria-labelledby"],_p=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.254M512 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.98m330.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.254",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.2m242.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.255z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ru))}}),ou=["aria-labelledby"],Rp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M488.533 110.933q12.8 6.4 25.6 6.4c102.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.333m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.933q6.4-12.8 6.4-25.6c-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.467q12.8 6.4 25.6 6.4c57.6-10.667 115.2 2.133 164.267 32 44.8 27.733 74.666 74.666 85.333 128m102.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.467s-61.866-70.4-87.466-108.8c-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.533s98.134-78.933 98.134-134.4c0-23.467-14.934-49.067-46.934-78.933-23.466-19.2-51.2-42.667-85.333-66.134M185.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.333m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.934s38.4 36.266 42.667 64c2.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.067m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ou))}}),iu=["aria-labelledby"],Fp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m592.341 76.019-.394.039h-.788a38.2 38.2 0 0 1-39.776-36.43A38.2 38.2 0 0 1 587.497.168c1.024 0 101.647-5.553 205.893 46.944a387.65 387.65 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.87q0 .593 0 0 0 .593 0 0M831 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.5 280.5 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)]],14,iu))}}),su=["aria-labelledby"],Op=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 980M296.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.4",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,su))}}),cu=["aria-labelledby"],qp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.492",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,cu))}}),uu=["aria-labelledby"],Hp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1170 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.69 224.69 0 0 0-221.909-219.86M34.083 1024A36.57 36.57 0 0 1 0 990.209a426.34 426.34 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.25 38.25 0 0 1 34.084 1024m0 0 388.963-407.687a16.822 16.822 0 0 1-27.94 7.826 34 34 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.26 26.26 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.1 370.1 0 0 0 668.141 729.68a15.1 15.1 0 0 0-3.218-2.486 31.377 31.377 0 0 1 0-49.151 12.4 12.4 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.4 16.4 0 0 1-2.267 8.485 55.8 55.8 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.93 173.93 0 0 0-109.711 32.84 16.5 16.5 0 0 1-2.706 1.61 36.57 36.57 0 0 1-38.033-6.364 15.87 15.87 0 0 1-5.12-7.314 36.57 36.57 0 0 1 8.557-35.985 16.2 16.2 0 0 1 4.096-3.291A292.56 292.56 0 0 1 734.553-.045 286.64 286.64 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.87 369.87 0 0 0-109.199-260.455 13.1 13.1 0 0 0-3.145-2.56 31.67 31.67 0 0 1 1.39-50.247 32.11 32.11 0 0 1 51.198 0 425.83 425.83 0 0 1 136.554 308.873 15.73 15.73 0 0 1-2.267 8.485 55.73 55.73 0 0 1-40.447 29.695m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,uu))}}),du=["aria-labelledby"],jp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 512M199.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.68m535.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.072z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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 512",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,du))}}),fu=["aria-labelledby"],Kp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M798.293 294.482c0-160.751-130.304-291.069-291.061-291.069a288.93 288.93 0 0 0-206.176 85.402 291.2 291.2 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.08m-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.239m225.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.026",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,fu))}}),mu=["aria-labelledby"],Wp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.87 246.87 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.87 246.87 0 0 1-44.834-142.18m111.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.704z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,mu))}}),pu=["aria-labelledby"],Yp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 394 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 195m179.225 312.8c-24.3 0-44-19.699-44-44s19.7-44 44-44H963c24.3 0 44 19.7 44 44s-19.7 44-44 44z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,pu))}}),hu=["aria-labelledby"],Up=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 394 0 0 1 63.388 34.293M512 537c107.696 0 195-87.304 195-195s-87.304-195-195-195-195 87.304-195 195 87.304 195 195 195m271.113 312.8h-91.888c-24.3 0-44-19.699-44-44s19.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)]],14,hu))}}),gu=["aria-labelledby"],Gp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2M526.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.8s58.515-14.628 76.8 7.315c14.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.856M508.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.2m314.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 1024m-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.57zM512 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.514s-29.257 54.857-58.514 54.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,gu))}}),yu=["aria-labelledby"],Xp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 1024M601.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.143M418.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.857zM601.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 768m0-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.857",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,yu))}}),bu=["aria-labelledby"],Qp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1027 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.933zM514.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 1024m469.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.867s4.266-46.933 29.866-51.2c311.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.867",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,bu))}}),Su=["aria-labelledby"],Zp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.148m0-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.472m237.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.494zM511.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)]],14,Su))}}),wu=["aria-labelledby"],Jp=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.79s-162.79 73.518-162.79 162.79c0 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.384M512 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)]],14,wu))}}),vu=["aria-labelledby"],eh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M510.862 894.293a63.716 63.716 0 1 0 0-127.43 63.716 63.716 0 1 0 0 127.43m0-318.577a63.716 63.716 0 1 0 0-127.432 63.716 63.716 0 1 0 0 127.432m0-318.578a63.716 63.716 0 1 0 0-127.431 63.716 63.716 0 1 0 0 127.43",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,vu))}}),Nu=["aria-labelledby"],th=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,Nu))}}),Cu=["aria-labelledby"],lh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0m280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0m280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Cu))}}),ku=["aria-labelledby"],xu=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 43m0-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 43m0 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 43",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ku))}}),zu=["aria-labelledby"],ah=(0,t.defineComponent)({__name:"MoreFilled",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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M617.469 195.594a105.469 105.469 0 1 1-210.938 0 105.469 105.469 0 0 1 210.938 0m0 632.812a105.469 105.469 0 1 1-210.938 0 105.469 105.469 0 0 1 210.938 0m0-306.872a105.469 105.469 0 1 1-210.938 0 105.469 105.469 0 0 1 210.938 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,zu))}}),Eu=["aria-labelledby"],nh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Eu))}}),Tu=["aria-labelledby"],rh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M207.637 533.355a8.53 8.53 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.53 8.53 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.747a356 356 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 64m0 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 128",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Tu))}}),$u=["aria-labelledby"],oh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2M512 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.334",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.333M512 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 384M682.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 1024",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.667M341.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.667M682.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.667",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$u))}}),Bu=["aria-labelledby"],ih=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 256m0-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.286m0 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.143M603.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)]],14,Bu))}}),Vu=["aria-labelledby"],sh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.764s-31.507 26.257-55.138 28.882c0 2.626-2.626 2.626-5.251 2.626M703.672 903.221c5.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.133",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Vu))}}),Du=["aria-labelledby"],ch=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,Du))}}),Mu=["aria-labelledby"],uh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.897m207.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 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Mu))}}),Au=["aria-labelledby"],dh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2043 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.597s74.309 9.289 83.597 46.443c41.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.886s74.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.289m171.839-320.455q-20.9 0-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.51M603.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.154M432.07 396.682q-34.833 0-55.732-27.866c-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.665q-20.9 13.933-41.798 13.933m575.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)]],14,Au))}}),Iu=["aria-labelledby"],fh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.443zM702.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.513M512 675.286q-12.454 0-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.604m5.535 0q-20.757 0-33.21-16.605c-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.562q-12.453 8.302-24.908 8.302",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Iu))}}),Pu=["aria-labelledby"],mh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.48M832 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.16m-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.16m-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.336",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Pu))}}),Lu=["aria-labelledby"],ph=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.376S949.073 317.19 949.073 432.078c0 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.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.927m0 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.39m0-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.39",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Lu))}}),_u=["aria-labelledby"],hh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.971zM497.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.857m0-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.143",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,_u))}}),Ru=["aria-labelledby"],gh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.487m0-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.282m0 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.923m0-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.846m0-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.385M512 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.385m472.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.385m-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.385",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ru))}}),Fu=["aria-labelledby"],yh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M520.665 64.564a29.2 29.2 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.331s448.33-200.722 448.33-448.33c-.002-245.242-196.917-444.456-441.258-448.24",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Fu))}}),Ou=["aria-labelledby"],al=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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.8M550.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 16s-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.4zM121.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.4zM38.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.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 16zm160-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.4M473.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.4zm240 43.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16S611.2 259.2 624 240zm188.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.8M985.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.4z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ou))}}),qu=["aria-labelledby"],bh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.997m-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)]],14,qu))}}),Hu=["aria-labelledby"],ju=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M642.973 1005.542 321.912 587.098a123.28 123.28 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)]],14,Hu))}}),Ku=["aria-labelledby"],Sh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3072 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,Ku))}}),Wu=["aria-labelledby"],wh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1181 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.616M496.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.892zM374.154 472.615c-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)]],14,Wu))}}),Yu=["aria-labelledby"],vh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.83M772.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.662",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Yu))}}),Uu=["aria-labelledby"],Nh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-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.267m31.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.267",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Uu))}}),Gu=["aria-labelledby"],Ch=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M184.32 147.911a36.41 36.41 0 0 0-36.409 36.409v655.36a36.41 36.41 0 0 0 36.409 36.409h655.36a36.41 36.41 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.818zm291.271 327.68A364.09 364.09 0 0 1 839.68 111.502h36.409a36.409 36.409 0 0 1 0 72.818H839.68a291.27 291.27 0 0 0-291.271 291.271v57.745l47.04-47.113a36.409 36.409 0 1 1 51.555 51.554L537.777 647.004a36.41 36.41 0 0 1-51.554 0L376.996 537.777a36.409 36.409 0 1 1 51.555-51.554l47.04 47.113z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Gu))}}),Xu=["aria-labelledby"],kh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M853.161 892.55H362.595l-209.433-.414a19 19 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.513q0 .414-.018.826c-.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.5l-.147-.19-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.759m0-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.58",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Xu))}}),Qu=["aria-labelledby"],xh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.09M535.74 650.62l-273.61-259.4a56.2 56.2 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.4 22.4 0 0 0 .65-3.44l60.53-434.16c7.44-53.32-29.95-102.62-83.6-110.1",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Qu))}}),Zu=["aria-labelledby"],zh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.012",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.427M545.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.67 35.67 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.172M507.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.457",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Zu))}}),Ju=["aria-labelledby"],Eh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.96 27.96 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.716m-39.586 806.967L372.03 652.015a27.94 27.94 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.3 28.3 0 0 0 19.94 8.238m168.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.178m-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.4 28.4 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.82z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ju))}}),e2=["aria-labelledby"],Th=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.545m0 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.546m0-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.545",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,e2))}}),t2=["aria-labelledby"],$h=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.545m0 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.546m0-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.545",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,t2))}}),l2=["aria-labelledby"],Bh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.308M139.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.646zm451.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.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,l2))}}),a2=["aria-labelledby"],Vh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1029 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.968M224 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-32m-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)]],14,a2))}}),n2=["aria-labelledby"],Dh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9M512 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.3",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,n2))}}),r2=["aria-labelledby"],Mh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9M512 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.3",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,r2))}}),o2=["aria-labelledby"],Ah=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1104.113 216.425a336.5 336.5 0 0 0-73.638-107.158 342.2 342.2 0 0 0-108.724-71.83 343.4 343.4 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a336 336 0 0 0-36.894 26.021 337 337 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.4 341.4 0 0 0-108.725 71.83A334.46 334.46 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.56 41.56 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.5 329.5 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)]],14,o2))}}),i2=["aria-labelledby"],Ih=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9M512 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.3",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,i2))}}),s2=["aria-labelledby"],Ph=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,s2))}}),c2=["aria-labelledby"],Lh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.353q-40.659-58.73-63.247-117.459c-18.07-45.176-27.106-90.353-27.106-132.518 0-45.176 9.036-90.352 27.106-132.517q27.106-58.73 72.283-108.424c30.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.153Q978.823 66.259 1024 111.435q49.695 45.178 72.282 108.424c18.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.858zM355.388 102.4c-33.13 0-66.259 6.024-96.376 18.07q-45.177 18.072-81.318 54.212c-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.4q18.07 49.695 54.212 99.388c39.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.706q36.141-54.211 54.212-99.388c15.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.153",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,c2))}}),u2=["aria-labelledby"],_h=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1104.113 216.425a336.5 336.5 0 0 0-73.638-107.158 342.2 342.2 0 0 0-108.724-71.83 343.4 343.4 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a336 336 0 0 0-36.894 26.021 337 337 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.4 341.4 0 0 0-108.725 71.83A334.46 334.46 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.56 41.56 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.5 329.5 0 0 0-27.046-131.855z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,u2))}}),d2=["aria-labelledby"],Rh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,d2))}}),f2=["aria-labelledby"],Fh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 39q-15 9.15-28.5 20.1-13.5-10.95-28.5-20.1c-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.9",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,f2))}}),m2=["aria-labelledby"],Oh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,m2))}}),p2=["aria-labelledby"],qh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.6m-627.2-44.8c0-25.6 22.4-48 48-48h294.4c25.6 0 48 22.4 48 48V192H316.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.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.6M528 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.6M688 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.6",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,p2))}}),h2=["aria-labelledby"],Hh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.477m-454.03 581.604a42.75 42.75 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.5 218.5 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.86a644 644 0 0 0-4.694-13.71 11056 11056 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)]],14,h2))}}),g2=["aria-labelledby"],jh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1120 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.412zm946.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.206q-13.963-4.654-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)]],14,g2))}}),y2=["aria-labelledby"],Kh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-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.09M377.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.91q-10.473 3.49-13.964 13.963l-34.91 95.418 95.42-34.909q10.47-3.49 13.963-13.964z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,y2))}}),b2=["aria-labelledby"],Wh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M541.531 889.007a26.603 26.603 0 0 1-26.156-26.95V400.724c0-6.452 2.233-12.656 6.353-17.57L719.96 145.217H182.342l182.002 238.88a27.65 27.65 0 0 1 5.608 16.677v275.46l78.667 81.198c4.864 5.062 7.545 11.912 7.495 19.059a27.3 27.3 0 0 1-7.792 19.009 25.56 25.56 0 0 1-36.679 0l-86.26-89.14a27.25 27.25 0 0 1-7.644-19.059V410.055L108.042 134.893a27.596 27.596 0 0 1 4.368-37.87 25.7 25.7 0 0 1 16.13-5.806h648.298c6.949 0 13.6 2.829 18.463 7.941a27.496 27.496 0 0 1 1.34 36.629L567.639 410.75v451.307c0 14.89-11.713 26.95-26.107 26.95",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M668.292 481.526a26.603 26.603 0 0 1-25.71-27.298 26.404 26.404 0 0 1 25.81-26.653h202.003c14.443 0 26.156 12.11 26.156 27s-11.713 26.95-26.106 26.95zm0 166.864a26.603 26.603 0 0 1-26.106-27c0-14.89 11.713-26.901 26.106-26.95h202.153c14.393.049 26.057 12.11 26.106 27-.05 14.889-11.713 26.9-26.106 26.95zm0 168.75a25.56 25.56 0 0 1-18.463-7.842 27.25 27.25 0 0 1-7.643-19.109c0-14.89 11.713-26.9 26.106-26.95h202.153c14.393 0 26.057 12.11 26.106 27-.05 14.89-11.713 26.9-26.106 26.95H668.292z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,b2))}}),S2=["aria-labelledby"],Yh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 394.688a31.87 31.87 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.87 31.87 0 0 1 512 394.688",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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 96zm-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.69 10.69 0 0 1 874.688 864H149.312a10.69 10.69 0 0 1-10.624-10.688z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,S2))}}),w2=["aria-labelledby"],v2=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-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.267m111.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.938z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,w2))}}),N2=["aria-labelledby"],Uh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.481zm56.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 1024M519.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.27 269.27 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)]],14,N2))}}),C2=["aria-labelledby"],Gh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1210 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,C2))}}),k2=["aria-labelledby"],Xh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.638m-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.259zM264.727 736.86c-6.003 12.106 5.592 24.54 18.521 18.532l141.877-85.937-74.518-74.567zm132.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.122",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,k2))}}),x2=["aria-labelledby"],Qh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.152q0-37.236 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.618M781.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.546",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,x2))}}),z2=["aria-labelledby"],Zh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1327 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.644s56.888-26.549 79.644-7.586c75.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.267m295.822-3.793q-102.4 0-182.044-79.644c-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.792m-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.51Q256 557.511 318.578 500.622c22.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.644M910.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.281zM174.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.17q-102.4 0-182.044-79.645c-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.511s-15.17 60.682-45.511 68.267c-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.459m-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.008zM686.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)]],14,z2))}}),E2=["aria-labelledby"],Jh=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(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.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44c54.592 0 98.816-41.92 98.816-93.44S290.432 412.8 235.84 412.8m0-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.376m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312s98.816-41.728 98.816-93.312c0-51.52-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44 98.816-41.92 98.816-93.44-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248s98.816-41.728 98.816-93.312-44.288-93.376-98.816-93.376",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,E2))}}),T2=["aria-labelledby"],e9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.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)]],14,T2))}}),$2=["aria-labelledby"],t9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.2 33.2 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.66 31.66 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.666m0 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.379",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$2))}}),B2=["aria-labelledby"],l9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,B2))}}),V2=["aria-labelledby"],a9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.214M825.173 536.32 439.04 150.187c-13.227-13.227-13.227-34.987 0-48.214s34.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"m439.04 874.24 386.133-386.133c13.227-13.227 34.987-13.227 48.214 0s13.226 34.986 0 48.213L487.253 922.453c-13.226 13.227-34.986 13.227-48.213 0s-13.227-34.56 0-48.213",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,V2))}}),D2=["aria-labelledby"],n9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M873.387 873.813 487.253 487.68c-13.226-13.227-34.986-13.227-48.213 0s-13.227 34.987 0 48.213l386.133 386.134c13.227 13.226 34.987 13.226 48.214 0s13.226-34.987 0-48.214M218.88 536.32l386.133-386.133c13.227-13.227 13.227-34.987 0-48.214s-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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.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.213",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,D2))}}),M2=["aria-labelledby"],r9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M199.36 572.768a31.9 31.9 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.624m339.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.248z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,M2))}}),A2=["aria-labelledby"],o9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.584m-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.768zm-60.886-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.838M539.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.378s240.778-52.583 312.735-141.146c11.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.519",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,A2))}}),I2=["aria-labelledby"],i9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.4M219.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.857M640 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.714",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,I2))}}),P2=["aria-labelledby"],s9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M668.444 1024H355.556c-142.223 0-256-113.778-256-256V170.667h824.888V768c0 142.222-113.777 256-256 256M184.89 256v512c0 93.867 76.8 170.667 170.667 170.667h312.888c93.867 0 170.667-76.8 170.667-170.667V256zm753.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)]],14,P2))}}),L2=["aria-labelledby"],c9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 1024M249.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.054zm719.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.514M332.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.514m332.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.514",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,L2))}}),_2=["aria-labelledby"],u9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.933M259.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.948zm56.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.17m193.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)]],14,_2))}}),R2=["aria-labelledby"],d9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.286",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,R2))}}),F2=["aria-labelledby"],co=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 1024",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,F2))}}),O2=["aria-labelledby"],f9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.414M877.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.585z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,O2))}}),q2=["aria-labelledby"],m9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.966M706.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 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,q2))}}),H2=["aria-labelledby"],p9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 512m0-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.77m183.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.64m-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.385",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,H2))}}),j2=["aria-labelledby"],h9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.69 435.69 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.64 509.64 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)]],14,j2))}}),K2=["aria-labelledby"],uo=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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)]],14,K2))}}),W2=["aria-labelledby"],g9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M451.243 802.133a101.72 101.72 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.65 13.65 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)]],14,W2))}}),Y2=["aria-labelledby"],U2=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 0m281.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.978",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Y2))}}),G2=["aria-labelledby"],y9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 992C246.904 992 32 777.096 32 512S246.904 32 512 32s480 214.904 480 480-214.904 480-480 480M270.243 527.725l161.622 163.812a.57.57 0 0 0 .81.015l321.132-321.908a.29.29 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.32.32 0 0 0-.424.02l-37.762 38.274a.29.29 0 0 0-.004.413z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,G2))}}),X2=["aria-labelledby"],Q2=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 1024m0-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.333",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,X2))}}),Z2=["aria-labelledby"],b9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 0m202.55 571.077H306.73q-67.515 0-67.516-67.517 0-67.515 67.516-67.516h402.286q67.515 0 67.516 67.516 0 67.517-67.516 67.517z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Z2))}}),J2=["aria-labelledby"],S9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1032 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.837m0 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.075M382.968 513.418a127.645 127.645 0 1 0 255.29 0 127.645 127.645 0 1 0-255.29 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,J2))}}),ed=["aria-labelledby"],w9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.914M160.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.143zM307.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 1024M160.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.143zm629.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.114m0-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.77m73.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.914M716.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.143z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ed))}}),td=["aria-labelledby"],v9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 1024M754.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.176M246.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 1024m0-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.548m-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)]],14,td))}}),ld=["aria-labelledby"],N9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1092 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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 1024M826.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.338m0-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)]],14,ld))}}),ad=["aria-labelledby"],C9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,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 512m0-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.77m0 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 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ad))}}),nd=["aria-labelledby"],k9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-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.333m0 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.933m-64 110.933a64 64 0 1 0 128 0 64 64 0 1 0-128 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,nd))}}),rd=["aria-labelledby"],x9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.58 194.58 0 0 1 204.442 0l614.494 379.567a129.722 129.722 0 1 1-136.338 220.657l-580.506-358.292z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,rd))}}),od=["aria-labelledby"],z9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.56 138.56 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)]],14,od))}}),id=["aria-labelledby"],E9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M312.38 132.53a84.855 84.855 0 1 1 144.254-89.183L704.92 445.389a127.28 127.28 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)]],14,id))}}),sd=["aria-labelledby"],cd=(0,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}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m387.547 980.846 305.006-397.532a117.1 117.1 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.54 27.54 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)]],14,sd))}}),ud=["aria-labelledby"],T9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1741.19 227.497a121.654 121.654 0 1 1 127.858 206.812L1292.65 790.27a182.48 182.48 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)]],14,ud))}}),dd=["aria-labelledby"],$9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.65 157.65 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.206z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,dd))}}),fd=["aria-labelledby"],B9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1111 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.383M122.88 664.137q-21.943 0-35.109-17.554c-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.777m915.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.331m-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.554s2.926 46.812-17.554 58.514-40.96 20.48-58.514 29.258l-20.48 8.777c-8.777 5.851-20.48 5.851-29.257 5.851M1038.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.886",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,fd))}}),md=["aria-labelledby"],V9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.857m-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.857m-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.2M475.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.8s58.515-14.628 76.8 7.315c14.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.856m0 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)]],14,md))}}),pd=["aria-labelledby"],D9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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.6m-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.96s-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.04m197.12 7.68V128l35.84 7.68zm-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.36m243.2 15.36a64 64 0 1 0 128 0 64 64 0 1 0-128 0m-512 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0m629.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 128m-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.44",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,pd))}}),hd=["aria-labelledby"],M9=(0,t.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(e,{emit:n}){let l=e,i=n,o=a=>{i("click",a)},r=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=r(l.height)??r(l.size),a.width=r(l.width)??r(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.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)]],14,hd))}}),{componentName:gd,create:yd}=ce("popup"),bd=yd(G0(gd,{FoxOverLay:ql,Close:co}));function Sd(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxOverLay"),c=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(s,(0,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"])):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.popStyle),onClick:n[1]||(n[1]=(...a)=>e.onClick&&e.onClick(...a))},[e.showSlot?(0,t.renderSlot)(e.$slots,"default",{key:0}):(0,t.createCommentVNode)("",!0),e.closed?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,onClick:n[0]||(n[0]=(...a)=>e.onClickCloseIcon&&e.onClickCloseIcon(...a)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(c)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var st=Me(bd,[["render",Sd]]),{create:wd,scope:vd}=ce("calendar-pane"),Nd=wd({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:me.getDay(0)},endDate:{type:String,default:me.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:l,expose:i}){const{toLocaleRefs:o,t:r}=(0,Ce.useFoxI18n)(vd),s=o(e,["title","confirmText","startText","endText","today"]),c=(0,t.computed)(()=>({height:"39px"})),a=(0,t.computed)(()=>({height:"64px"})),u=JSON.parse(r("weekdays")),p=(0,t.ref)([...u.slice(e.firstDayOfWeek,7),...u.slice(0,e.firstDayOfWeek)]),d=(0,t.ref)(null),m=(0,t.ref)(null),$=(0,t.ref)(null),x=(0,t.ref)(null),v=(0,t.ref)(0),g=(0,t.computed)(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),y=(0,t.computed)(()=>l.btn),h=(0,t.computed)(()=>l["top-info"]),w=(0,t.computed)(()=>l["bottom-info"]),f=(0,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}),R=O=>O.split("-"),L=O=>me.isEqual(f.currDate[0],O),H=O=>me.isEqual(f.currDate[1],O),W=O=>f.currDate?.length>0?f.currDate?.some(Y=>me.isEqual(Y,O)):!1,F=(O,Y)=>Y.curData[0]+"-"+Y.curData[1]+"-"+me.getNumTwoBit(+O.day),B=(O,Y)=>{const E=F(O,Y),{type:G}=e;return O.type=="curr"?me.isEqual(f.currDate,E)||(G=="range"||G=="week")&&(L(E)||H(E))||G=="multiple"&&W(E)?`${f.dayPrefix}--active`:f.propStartDate&&me.compareDate(E,f.propStartDate)||f.propEndDate&&me.compareDate(f.propEndDate,E)?`${f.dayPrefix}--disabled`:(G=="range"||G=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&me.compareDate(f.currDate[0],E)&&me.compareDate(E,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},k=()=>{const{type:O}=e;if(O=="range"&&f.chooseData.length==2||O!="range"){let Y=f.chooseData.slice(0);O=="week"&&(Y={weekDate:[z(f.chooseData[0]),z(f.chooseData[1])]}),n("choose",Y),e.poppable&&n("update")}},I=(O,Y,E=!1)=>{if(B(O,Y)!=`${f.dayPrefix}--disabled`){const{type:G}=e;let[X,D]=Y.curData,b=[...Y.curData];if(b[2]=me.getNumTwoBit(Number(O.day)),b[3]=`${b[0]}-${b[1]}-${b[2]}`,b[4]=me.getWhatDay(+b[0],+b[1],+b[2]),G=="multiple")if(f.currDate?.length>0){let C;f.currDate?.forEach((j,te)=>{j==b[3]&&(C=te)}),E?f.chooseData.push([...b]):C!==void 0?(f.currDate.splice(C,1),f.chooseData.splice(C,1)):(f.currDate.push(b[3]),f.chooseData.push([...b]))}else f.currDate=[b[3]],f.chooseData=[[...b]];else if(G=="range"){let C=Object.values(f.currDate).length;C==2||C==0?f.currDate=[b[3]]:me.compareDate(f.currDate[0],b[3])?Array.isArray(f.currDate)&&f.currDate.push(b[3]):Array.isArray(f.currDate)&&f.currDate.unshift(b[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...b]]:me.compareDate(f.chooseData[0][3],b[3])?f.chooseData=[...f.chooseData,[...b]]:f.chooseData=[[...b],...f.chooseData]}else if(G=="week"){let C=me.getWeekDate(X,D,O.day,e.firstDayOfWeek);f.propStartDate&&me.compareDate(C[0],f.propStartDate)&&C.splice(0,1,f.propStartDate),f.propEndDate&&me.compareDate(f.propEndDate,C[1])&&C.splice(1,1,f.propEndDate),f.currDate=C,f.chooseData=[me.formatResultDate(C[0]),me.formatResultDate(C[1])]}else f.currDate=b[3],f.chooseData=[...b];if(!E){let C=f.chooseData;G=="week"&&(C={weekDate:[z(f.chooseData[0]),z(f.chooseData[1])]}),n("select",C),(e.isAutoBackFill||!e.poppable)&&k()}}},z=O=>{let[Y,E,G]=O;return{date:O,monthWeekNum:me.getMonthWeek(Y,E,G,e.firstDayOfWeek),yearWeekNum:me.getYearWeek(Y,E,G,e.firstDayOfWeek)}},N=O=>{const Y=O=="prev"?f.monthsData[0]:f.monthsData[f.monthsData.length-1];let E=parseInt(Y.curData[0]),G=parseInt(Y.curData[1].toString().replace(/^0/,""));switch(O){case"prev":G==1&&(E-=1),G=G==1?12:--G;break;case"next":G==12&&(E+=1),G=G==12?1:++G;break}return[E+"",me.getNumTwoBit(G),me.getMonthDays(String(E),String(G))+""]},_=(O,Y,E)=>{let{year:G,month:X}=E;return Y=="prev"&&O>=7&&(O-=7),Array.from(Array(O),(D,b)=>({day:String(b+1),type:Y,year:G,month:X}))},V=(O,Y,E,G)=>{O=O-e.firstDayOfWeek;let{year:X,month:D}=E;return Y=="prev"&&O>=7&&(O-=7),Array.from(Array(G),(b,C)=>({day:String(C+1),type:Y,year:X,month:D})).slice(G-O)},K=(O,Y)=>{const E=me.getMonthPreDay(+O[0],+O[1]);let G=Number(O[1])-1,X=Number(O[0]);G<=0&&(G=12,X+=1);const D=me.getMonthDays(String(O[0]),String(O[1])),b=me.getMonthDays(X+"",G+""),C={year:O[0],month:O[1]},j={curData:O,title:r("monthTitle",{year:C.year,month:C.month}),monthData:[...V(E,"prev",{month:String(G),year:String(X)},b),..._(D,"curr",C)],cssHeight:0,cssScrollHeight:0};j.cssHeight=39+64*(j.monthData.length>35?6:5);let te=0;f.monthsData.length>0&&(te=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),j.cssScrollHeight=te,Y=="next"?(!f.endData||!me.compareDate(`${f.endData[0]}-${f.endData[1]}-${me.getMonthDays(f.endData[0],f.endData[1])}`,`${O[0]}-${O[1]}-${O[2]}`))&&f.monthsData.push(j):!f.startData||!me.compareDate(`${O[0]}-${O[1]}-${O[2]}`,`${f.startData[0]}-${f.startData[1]}-01`)?f.monthsData.unshift(j):f.unLoadPrev=!0},U=()=>{let O=e.startDate?e.startDate:me.getDay(0),Y=e.endDate?e.endDate:me.getDay(365);f.propStartDate=O,f.propEndDate=Y,f.startData=R(O),f.endData=R(Y),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const E={year:Number(f.startData[0]),month:Number(f.startData[1])},G={year:Number(f.endData[0]),month:Number(f.endData[1])};let X=G.month-E.month;G.year-E.year>0&&(X=X+12*(G.year-E.year)),X<=0&&(X=1),K(f.startData,"next");let D=1;do K(N("next"),"next");while(D++<X);if(f.monthsNum=X,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(O&&me.compareDate(f.currDate[0],O)&&f.currDate.splice(0,1,O),Y&&me.compareDate(Y,f.currDate[1])&&f.currDate.splice(1,1,Y),f.defaultData=[...R(f.currDate[0]),...R(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let b=[],C={};f.currDate.forEach(j=>{O&&!me.compareDate(j,O)&&Y&&!me.compareDate(Y,j)&&(Object.hasOwnProperty.call(C,j)||(b.push(j),C[j]=j))}),f.currDate=[...b],f.defaultData=[...R(b[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[b,C,j]=R(f.currDate[0]);f.currDate=me.getWeekDate(b,C,j,e.firstDayOfWeek),O&&me.compareDate(f.currDate[0],O)&&f.currDate.splice(0,1,O),Y&&me.compareDate(Y,f.currDate[1])&&f.currDate.splice(1,1,Y),f.defaultData=[...R(f.currDate[0]),...R(f.currDate[1])]}}else f.currDate&&(O&&me.compareDate(f.currDate,O)?f.currDate=O:Y&&!me.compareDate(f.currDate,Y)&&(f.currDate=Y),f.defaultData=[...R(f.currDate)])};i({scrollToDate:O=>{me.compareDate(O,f.propStartDate)?O=f.propStartDate:me.compareDate(O,f.propEndDate)||(O=f.propEndDate);let Y=R(O);f.monthsData.forEach((E,G)=>{if(E.title==r("monthTitle",{year:Y[0],month:Y[1]})&&d.value){let X=f.monthsData[G].cssScrollHeight-d.value.scrollTop;if(e.toDateAnimation){let D=0,b=setInterval(()=>{if(D++,d.value){let C=X/10;d.value.scrollTop=d.value.scrollTop+C}D>=10&&(clearInterval(b),d.value&&(d.value.scrollTop=f.monthsData[G].cssScrollHeight))},40)}else d.value.scrollTop=f.monthsData[G].cssScrollHeight}})},initPosition:()=>{d?.value&&(d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let O=0,Y=0;f.defaultData.length>0&&f.monthsData.forEach((X,D)=>{X.title==r("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(O=D),(e.type=="range"||e.type=="week")&&X.title==r("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(Y=D)}),Q(f.monthsNum,O),f.currentIndex=O,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(I({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),I({day:f.defaultData[5],type:"curr"},f.monthsData[Y],!0)):e.type=="week"?I({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(X=>{let D=R(X),b=f.currentIndex;f.monthsData.forEach((C,j)=>{C.title==r("monthTitle",{year:D[0],month:D[1]})&&(b=j)}),I({day:D[2],type:"curr"},f.monthsData[b],!0)}):I({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let E=f.monthsData[f.monthsData.length-1],G=E.cssHeight+E.cssScrollHeight;oa(()=>{d?.value&&m?.value&&x?.value&&(v.value=d.value.clientHeight,m.value.style.height=`${G}px`,d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(G/(f.monthsNum+1))}});const Q=(O,Y)=>{O>=3?Y>0&&Y<O?f.defaultRange=[Y-1,Y+3]:Y==0?f.defaultRange=[Y,Y+4]:Y==O&&(f.defaultRange=[Y-2,Y+2]):f.defaultRange=[0,O+2],f.translateY=f.monthsData[f.defaultRange[0]].cssScrollHeight},le=(O,Y)=>(e.type=="range"||e.type=="week")&&O.type=="curr"&&B(O,Y)=="fox-calendar__day--active",Z=(O,Y)=>le(O,Y)&&L(F(O,Y)),P=(O,Y)=>f.currDate.length>=2&&H(F(O,Y))?le(O,Y):!1,M=()=>{if(f.currDate.length>=2)return me.isEqual(f.currDate[0],f.currDate[1])},ae=O=>{const Y=`${O.year}-${O.month}-${Number(O.day)<10?"0"+O.day:O.day}`;return me.isEqual(Y,me.date2Str(new Date))},ne=O=>{if(f.monthsData.length<=1)return;const Y=O.target.scrollTop;let E=Math.floor(Y/f.avgHeight);if(E==0)Y>=f.monthsData[E+1].cssScrollHeight&&(E+=1);else if(E>0&&E<f.monthsNum-1)Y>=f.monthsData[E+1].cssScrollHeight&&(E+=1),Y<f.monthsData[E].cssScrollHeight&&(E-=1);else{const G=Math.round(Y+v.value);G<f.monthsData[E].cssScrollHeight+f.monthsData[E].cssHeight&&Y>f.monthsData[E-1].cssScrollHeight&&(E-=1),E+1<=f.monthsNum&&G>=f.monthsData[E+1].cssScrollHeight+f.monthsData[E+1].cssHeight&&(E+=1),E>=1&&Y<f.monthsData[E-1].cssScrollHeight&&(E-=1)}f.currentIndex!==E&&(f.currentIndex=E,Q(f.monthsNum,E)),f.yearMonthTitle=f.monthsData[E].title},ee=()=>{f.chooseData.splice(0),f.monthsData.splice(0),U()};return U(),(0,t.watch)(()=>e.defaultValue,O=>{O&&e.poppable&&ee()}),{dayTitleStyle:c,dayCellStyle:a,weeks:p,compConthsData:g,showTopBtn:y,topInfo:h,bottomInfo:w,rangeTip:M,mothsViewScroll:ne,getClass:B,isStartTip:Z,isEndTip:P,chooseDay:I,isCurrDay:ae,confirm:k,months:d,...(0,t.toRefs)(f),...(0,t.toRefs)(e),...s,monthsPanel:m,weeksPanel:$,viewArea:x}}}),Cd={class:"fox-calendar__header"},kd={key:0,class:"fox-calendar__header-title"},xd={key:1,class:"fox-calendar__header-slot"},zd={key:2,class:"fox-calendar__header-subtitle"},Ed={class:"fox-calendar__weekdays",ref:"weeksPanel"},Td={class:"fox-calendar__panel",ref:"monthsPanel"},$d={class:"fox-calendar__days"},Bd=["onClick"],Vd={class:"fox-calendar__day-value"},Dd={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Md={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Ad={key:2,class:"fox-calendar__day-tips--curr"},Id={key:4,class:"fox-calendar__day-tip"},Pd={key:0,class:"fox-calendar__footer"};function Ld(e,n,l,i,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[(0,t.createElementVNode)("view",Cd,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",kd,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",xd,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",zd,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Ed,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:c},(0,t.toDisplayString)(s),1))),128))],512)]),(0,t.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[(0,t.createElementVNode)("view",Td,[(0,t.createElementVNode)("view",{class:"fox-calendar__body",ref:"viewArea",style:(0,t.normalizeStyle)({transform:`translateY(${e.translateY}px)`})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.compConthsData,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:c},[(0,t.createElementVNode)("view",{class:"fox-calendar__month-title",style:(0,t.normalizeStyle)(e.dayTitleStyle)},(0,t.toDisplayString)(s.title),5),(0,t.createElementVNode)("view",$d,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.monthData,(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:u,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(a,s)]),style:(0,t.normalizeStyle)(e.dayCellStyle),onClick:p=>e.chooseDay(a,s)},[(0,t.createElementVNode)("view",Vd,[(0,t.renderSlot)(e.$slots,"day",{date:a.type=="curr"?a:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.type=="curr"?a.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",Dd,[(0,t.renderSlot)(e.$slots,"top-info",{date:a.type=="curr"?a:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",Md,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.type=="curr"?a:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(a)?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ad,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(a,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:3,class:(0,t.normalizeClass)(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},(0,t.toDisplayString)(e.startText),3)):(0,t.createCommentVNode)("",!0),e.isEndTip(a,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",Id,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],14,Bd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",Pd,[(0,t.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},(0,t.toDisplayString)(e.confirmText),1)])):(0,t.createCommentVNode)("",!0)],2)}var _d=Me(Nd,[["render",Ld]]),{create:Rd}=ce("calendar-picker"),Fd=Rd({components:{CalendarPane:_d,Popup:st},props:{...Ya},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:l,expose:i}){const o=(0,t.computed)(()=>l.btn),r=(0,t.computed)(()=>l["top-info"]),s=(0,t.computed)(()=>l.day),c=(0,t.computed)(()=>l["bottom-info"]),a=(0,t.ref)(null),u=y=>{a.value?.scrollToDate(y)},p=()=>{a.value?.initPosition()},d=(0,t.computed)(()=>{const y=["fox-calendar__popup"];return e.popClass&&y.push(e.popClass),y});(0,t.watch)(()=>e.visible,y=>{y&&(0,t.nextTick)(()=>{a.value?a.value.doLayout():setTimeout(()=>{a.value&&a.value.doLayout()},250)})}),i({scrollToDate:u,initPosition:p});const m=()=>{n("update:visible",!1)},$=()=>{n("close"),n("update:visible",!1)};return{popClasses:d,closePopup:()=>{$()},update:m,close:$,select:y=>{n("select",y)},choose:y=>{$(),n("choose",y)},calendarRef:a,showTopBtn:o,topInfo:r,dayInfo:s,bottomInfo:c}}});function Od(e,n,l,i,o,r){const s=(0,t.resolveComponent)("CalendarPane"),c=(0,t.resolveComponent)("Popup");return e.poppable?((0,t.openBlock)(),(0,t.createBlock)(c,(0,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:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{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},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"day",{date:a.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"top-info",{date:a.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.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,t.openBlock)(),(0,t.createBlock)(s,{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},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"day",{date:a.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"top-info",{date:a.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.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 Hl=Me(Fd,[["render",Od]]),Ga=(e,n)=>{let l;return ya(e)?l=e:typeof e=="string"&&dt(e)>0?l=me.parser(e,n):l=new Date,l},Bt=(e,n,l)=>(ya(n)||(n=new Date),me.format(n,l)),Vt=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,me.date2Str(e),me.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())],fo={...Ya,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},maxLength:{type:[String,Number]}},qd={...ze,...Te,...fo};function Hd(e,n,l,i){return{props:qd,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]);let g=Ne(o,"hintText"),y=(0,t.ref)(!1);const h=(0,t.ref)(!1),w=(0,t.computed)(()=>o.type==="range"),f=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),R=()=>{f.startDate!==null&&(f.startDate=null,f.endDate=null,f.startArray=[],f.endArray=[])},L=(Q,le="one",Z="YYYY-MM-DD")=>{if(U0(Q)){R();return}if(w.value&&Array.isArray(Q)&&Q.length==2){let P,M;typeof Q[0]=="string"?(P=Ga(Q[0],Z),M=Ga(Q[1],Z)):(P=Q[0],M=Q[1]);let ae=Vt(P),ne=Vt(M);(f.startDate===null||f.startDate.getTime()!==P.getTime()||f.endDate?.getTime()!==M.getTime())&&(f.startDate=P,f.startArray=ae,f.endDate=M,f.endArray=ne)}else{let P;typeof Q=="string"?P=Ga(Q,Z):P=Q;let M=Vt(P);(f.startDate===null||f.startDate.getTime()!==P.getTime())&&(f.startDate=P,f.startArray=M)}};L(o.modelValue,o.type,o.valueFormat),(0,t.watch)(()=>o.modelValue,Q=>{L(Q,o.type,o.valueFormat),m("setValue",Q)});const H=(0,t.computed)(()=>{if(f.startDate===null)return"";if(w.value){let Q=Bt(o,f.startDate,o.format),le=Bt(o,f.endDate,o.format);return`${Q} ${o.rangeSeparator} ${le}`}else{let Q=Bt(o,f.startDate,o.format);return o.showWeek&&(Q=`${Q} ${f.startArray[4]}`),Q}}),W=(0,t.computed)(()=>f.startDate===null?null:w.value?[me.date2Str(f.startDate),me.date2Str(f.endDate??new Date)]:me.date2Str(f.startDate)),F="fox-input-item",B=(0,t.computed)(()=>({[F]:!0,[`${F}__disabled`]:a.value})),k=De((0,t.computed)(()=>o.textAlign),"textAlign"),I=(0,t.computed)(()=>({textAlign:k.value??"right"})),z=(0,t.ref)(!1),N=()=>{p.value||a.value||(z.value=!0)},_=()=>{z.value=!1},V=Q=>{z.value=Q},K=Q=>{if(Q){if(w.value&&Array.isArray(Q)){let le=Q[0],Z=ve(le[0]),P=ve(le[1]),M=ve(le[2]),ae=new Date(Z,P-1,M),ne=Q[1];Z=ve(ne[0]),P=ve(ne[1]),M=ve(ne[2]);let ee=new Date(Z,P-1,M);f.startDate=ae,f.startArray=Vt(ae),f.endDate=ee,f.endArray=Vt(ee),o.valueFormat?m("update:modelValue",[Bt(o,ae,o.valueFormat),Bt(o,ee,o.valueFormat)],{}):m("update:modelValue",[ae,ee],{})}else{let le=Q,Z=ve(le[0]),P=ve(le[1]),M=ve(le[2]),ae=new Date(Z,P-1,M);f.startDate=ae,f.startArray=Vt(ae),o.valueFormat?m("update:modelValue",Bt(o,ae,o.valueFormat),{}):m("update:modelValue",ae,{})}m("change",Q,{})}},U=Q=>{let le=Q.target.value;h.value=!0,m("focus",le,Q)},J=Q=>{setTimeout(()=>{h.value=!1},0);let le=Q.target.value;o.maxLength&&le.length>Number(o.maxLength)&&(le=le.slice(0,Number(o.maxLength))),m("blur",le,Q)},A=Q=>{R(),m("update:modelValue",null,Q),m("change","",Q),m("clear","")},q=(0,t.ref)();return $({showPicker:N,hidePicker:_,focus:()=>{q?.value.focus()},blur:()=>{q?.value.blur()},select:()=>{q?.value.select()},setDisabled:Q=>{c.value=Q},setReadonly:Q=>{u.value=Q}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:H.value},r.slots);const Q={class:B.value,style:I.value,type:"text",maxlength:o.maxLength,placeholder:v.placeholder.value,readonly:!0,clearable:o.clearable,value:H.value,onClick:N,onFocus:U,onBlur:J,onClear:A},le={};r.slots.prepend&&(le.prepend=r.slots.prepend),r.slots.append&&(le.append=r.slots.append),r.slots.prefix?le.prefix=r.slots.prefix:le.prefix=()=>(0,t.h)(T.ElIcon,{},{default:()=>(0,t.h)(Be.Calendar)}),r.slots.suffix&&(le.suffix=r.slots.suffix);const Z=[],P=(0,t.h)(T.ElInput,Q,le);Z.push(P);const M={default:()=>Z};M.label=r.slots.default,M.fixedPreTip=r.slots.fixedPreTip,M.fixedTip=r.slots.fixedTip;const ae=it(o,Ya);ae.visible=z.value,ae["onUpdate:visible"]=V,ae["default-value"]=W.value,ae.onChoose=K;const ne={};if(r.slots.btn){const Y=r.slots.btn();ne.btn=()=>Y}r.slots.day&&(ne.day=r.slots.day),r.slots.topInfo&&(ne.topInfo=r.slots.topInfo),r.slots.bottomInfo&&(ne.bottomInfo=r.slots.bottomInfo);const ee=(0,t.h)(Hl,ae,ne);M.hide=()=>[ee];const O={...Ve(o,fo),ref:s,hintText:g.value,hintVisible:y.value};return o.prop&&(O.prop=`${o.prop}_item`),l(O,M)}}}}var{componentName:jd,create:Kd,scope:Wd}=ce("calendar-item"),Yd=Kd(Hd(jd,Wd,Le,qe)),Xa=Yd,mo={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},format:{type:[String],required:!1},maxLength:{type:[String,Number]}},Ud={...ze,...Te,...mo};function Gd(e,n,l,i){return{props:Ud,emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=e,w=(0,t.computed)(()=>({[h]:!0})),f=z=>{y.value=z,m("update:modelValue",z),m("change",z)};let R=Ne(o,"hintText"),L=(0,t.ref)(!1);const H=z=>{let N=z.target.value;g.value=!0,ye(R.value)||(L.value=!0),m("focus",N,z)},W=z=>{setTimeout(()=>{L.value&&(L.value=!1),g.value=!1},0);let N=z.target.value;o.maxLength&&N.length>Number(o.maxLength)&&(N=N.slice(0,Number(o.maxLength))),m("blur",N,z)},F=()=>{m("clear","")},B=z=>{m("visible-change",z)},k=(0,t.ref)();$({focus:()=>{k?.value.focus()},blur:()=>{k?.value.blur()},handleOpen:()=>{k?.value.handleOpen()},handleClose:()=>{k?.value.handleClose()},setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}});const I=(0,t.computed)(()=>{if(Fe(y.value))return"";const z=o.rangeSeparator??" - ",N=Array.isArray(y.value)?y.value:[y.value],_=[];for(let K=0;K<N.length;K++){const U=N[K];if(U==="string"&&_.push(U),U instanceof Date){const J=et.format(U,o.format);_.push(J)}}const V=` ${z} `;return _.join(V)});return()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:I.value},r.slots);const z={...r.attrs,ref:k,class:w.value,placeholder:v.placeholder.value,rangeSeparator:o.rangeSeparator,format:o.format,disabled:a.value,readonly:p.value,modelValue:y.value,"onUpdate:modelValue":f,onClear:F,onFocus:H,onBlur:W,onVisibleChange:B},N={},_=[],V=(0,t.h)(T.ElTimePicker,z,N);_.push(V);const K={default:()=>_};K.label=r.slots.default,K.fixedPreTip=r.slots.fixedPreTip,K.fixedTip=r.slots.fixedTip;const U={...Ve(o,mo),ref:s,hintText:R.value,hintVisible:L.value};return o.prop&&(U.prop=`${o.prop}_item`),l(U,K)}}}}var{componentName:Xd,create:Qd,scope:Zd}=ce("time-item"),Jd=Qd(Gd(Xd,Zd,Le,qe)),Qa=Jd,po={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},format:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]}},e3={...ze,...Te,...po};function t3(e,n,l,i){return{props:e3,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=e,w=(0,t.computed)(()=>({[h]:!0})),f=I=>{y.value=I,m("update:modelValue",I),m("change",I)};let R=Ne(o,"hintText"),L=(0,t.ref)(!1);const H=I=>{let z=I.target.value;g.value=!0,ye(R.value)||(L.value=!0),m("focus",z,I)},W=I=>{setTimeout(()=>{L.value&&(L.value=!1),g.value=!1},0);let z=I.target.value;o.maxLength&&z.length>Number(o.maxLength)&&(z=z.slice(0,Number(o.maxLength))),m("blur",z,I)},F=()=>{m("clear","")},B=(0,t.ref)();$({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},handleOpen:()=>{B?.value.handleOpen()},handleClose:()=>{B?.value.handleClose()},setDisabled:I=>{c.value=I},setReadonly:I=>{u.value=I}});const k=(0,t.computed)(()=>{if(Fe(y.value))return"";const I=o.rangeSeparator??" - ",z=Array.isArray(y.value)?y.value:[y.value],N=[];for(let V=0;V<z.length;V++){const K=z[V];if(K==="string"&&N.push(K),K instanceof Date){const U=et.format(K,o.format);N.push(U)}}const _=` ${I} `;return N.join(_)});return()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:k.value},r.slots);const I={...r.attrs,ref:B,class:w.value,placeholder:v.placeholder.value,rangeSeparator:o.rangeSeparator,foramt:o.format,disabled:a.value,readonly:p.value,modelValue:y.value,"onUpdate:modelValue":f,onClear:F,onFocus:H,onBlur:W},z={},N=[],_=(0,t.h)(T.ElTimeSelect,I,z);N.push(_);const V={default:()=>N};V.label=r.slots.default,V.fixedPreTip=r.slots.fixedPreTip,V.fixedTip=r.slots.fixedTip;const K={...Ve(o,po),ref:s,hintText:R.value,hintVisible:L.value};return o.prop&&(K.prop=`${o.prop}_item`),l(K,V)}}}}var{componentName:l3,create:a3,scope:n3}=ce("time-select-item"),r3=a3(t3(l3,n3,Le,qe)),Za=r3;function ho(e,n=0){let l=`${e}`,i=l.indexOf(".");if(i==-1)return l;let o=i;for(let r=l.length-1;r>=i;r--)if(l.charAt(r)!="0"){o=r;break}return o-i<n?o=i+n+1:o!=i&&(o+=1),o>l.length?l=l.padEnd(o,"0"):l=l.substring(0,o),l}function go(e,n,l=20){return typeof n=="string"&&(n=ve(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?ho(lr(`${e}`,`${n}`)):ho(pa(`${e}`,ar(`${n}`),20))}function o3(e,n=-1,l=!1,i=3,o=","){return pl(e,ve(n),l,i,o)}function yo(e,n,l,i,o=!0){if(e==="")return"";if(e=nr(e),n=ve(n),n==1)return e;if(i)e=go(e,n),l&&(e=="0"&&o?e=`${e}.`.padEnd(ve(l)+2,"0"):e=pa(e,1,ve(l)));else{let r=-1*n;e=go(e,r)}return e}function bo(e,n){let l={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let i=pe(n.minInclude),o=ha(e,n.min);(i&&o==-1||!i&&(o==0||o==-1))&&(l.message="请输入不小于 {0} 的数值".replace("{0}",n.min),l.minValid=!1)}if(n.max!=null){let i=pe(n.maxInclude),o=ha(e,n.max);(i&&o==1||!i&&(o==0||o==1))&&(l.maxValid=!1)}return l}var So={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},maxLength:{type:[String,Number]}},i3={...ze,...Te,...So};function s3(e,n,l,i){return{props:i3,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),x=(0,t.ref)(!1),v=Ne(o,"modelValue",null,m),g=(0,t.ref)("");(0,t.watch)([()=>v.value,()=>o.rates,()=>o.precision],([q,Q,le])=>{if(ye(q)){g.value="";return}const Z=yo(q,Q,le,!1);g.value!==Z&&(g.value=Z)},{immediate:!0});const y=(0,t.computed)(()=>{let q="";return x.value&&(q=g.value),q}),{t:h}=(0,Ce.useFoxI18n)(n),w=(0,t.computed)(()=>{let q=o.placeholder??"";return!x.value&&!ye(g.value)?q=o3(g.value,o.decimalLength,o.autoPadding,o.digits,o.separator):q=h(["placeholder",q]),q}),f=e,R=(0,t.computed)(()=>({[f]:!0,[`${f}__disabled`]:a.value,[`${f}__placeholder`]:g.value.length>0})),L=De((0,t.computed)(()=>o.textAlign),"textAlign"),H=(0,t.computed)(()=>x.value?{textAlign:"left"}:{textAlign:L.value??"right"}),W=(0,t.ref)(""),F=(0,t.computed)(()=>{let q=W.value;return ye(q)&&(q=o.errorTip??""),q}),B=(0,t.ref)(""),k=(0,t.ref)(!1),I=(q,Q)=>{if(q=`${q}`,ye(q)){g.value="",v.value="",Q.forEach(le=>{m(le,"")}),pe(o.showTip)&&k.value&&(k.value=!1);return}if(q.length>=2){let le=q;if(le.charAt(0)=="-"&&(le=le.substring(1)),le.length>=2&&le.charAt(0)=="0"&&le.charAt(1)!="."){(0,t.triggerRef)(g);return}}if(q!="-"){if(!Ca(q)){(0,t.triggerRef)(g);return}if(o.integerLength!=-1&&dr(q)>Number(o.integerLength)){(0,t.triggerRef)(g);return}if(o.decimalLength&&o.decimalLength!=-1&&fr(q)>Number(o.decimalLength)){(0,t.triggerRef)(g);return}let le=bo(q,o);if(le.maxValid===!1){W.value=le.message,(0,t.triggerRef)(g);return}}else if(o.min!=null&&ve(o.min)>=0){(0,t.triggerRef)(g);return}B.value=q,pe(o.showTip)&&(k.value=q.length>0),g.value=q,v.value=yo(q,o.rates,o.precision,!0),Q.forEach(le=>{m(le,v.value)})},z=q=>{I(q,["update:modelValue","input"])},N=q=>{I(q,["update:modelValue","change"])},_=q=>{if(x.value=!0,pe(o.showTip)){let Q=g.value;ye(Q)&&(Q=o.hintText),ye(Q)||(B.value=Q,k.value=!0)}W.value="",m("focus",v.value,q)},V=q=>{if(setTimeout(()=>{x.value=!1,pe(o.showTip)&&k.value===!0&&(k.value=!1)},0),!ye(g.value)){let Q=bo(g.value,o);if(Q.minValid===!1||Q.maxValid===!1){W.value=Q.message;return}}m("update:modelValue",v.value,q),m("blur",v.value,q)},K=()=>{m("clear","")},U=(0,t.computed)(()=>dt(o.unit)>0),J=(0,t.ref)();$({focus:()=>{J?.value.focus()},blur:()=>{J?.value.blur()},select:()=>{J?.value.select()},setDisabled:q=>{c.value=q},setReadonly:q=>{u.value=q}});const A=()=>v.value?w.value:v.value;return()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:A(),unit:o.unit},r.slots);const q={...Je(r.attrs),ref:J,class:R.value,style:H.value,type:"digit",maxlength:o.maxLength,placeholder:w.value,clearable:o.clearable,disabled:a.value,readonly:p.value,modelValue:y.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:K,onInput:z,onChange:N,onFocus:_,onBlur:V},Q={};r.slots.prepend&&(Q.prepend=r.slots.prepend),r.slots.append&&(Q.append=r.slots.append),r.slots.prefix&&(Q.prefix=r.slots.prefix),r.slots.suffix?Q.suffix=r.slots.suffix:U.value&&(Q.suffix=()=>[o.unit]);const le=[],Z=(0,t.h)(T.ElInput,q,Q);le.push(Z);const P={default:()=>le};P.label=r.slots.default,P.fixedPreTip=r.slots.fixedPreTip,P.fixedTip=r.slots.fixedTip;const M={...Ve(o,So),ref:s,errorTip:F.value,hintText:B.value,hintVisible:k.value,hintType:"number"};return o.prop&&(M.prop=`${o.prop}_item`),l(M,P)}}}}var{componentName:c3,create:u3,scope:d3}=ce("money-item"),f3=u3(s3(c3,d3,Le,qe)),Ja=f3,wo={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},maxLength:{type:[String,Number]}},m3={...ze,...Te,...wo};function p3(e,n,l,i){return{props:m3,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=e,w=(0,t.computed)(()=>({[h]:!0,[`${h}__append`]:I.value})),f=(0,t.computed)(()=>({[`${h}__unit`]:!0})),R=N=>{y.value=N,m("update:modelValue",N),m("input",N)},L=N=>{m("change",N)};let H=Ne(o,"hintText"),W=(0,t.ref)(!1);const F=N=>{let _=N.target.value;g.value=!0,ye(H.value)||(W.value=!0),m("focus",_,N)},B=N=>{setTimeout(()=>{W.value&&(W.value=!1),g.value=!1},0);let _=N.target.value;o.maxLength&&_.length>Number(o.maxLength)&&(_=_.slice(0,Number(o.maxLength))),m("blur",_,N)},k=()=>{m("clear","")},I=(0,t.computed)(()=>dt(o.unit)>0),z=(0,t.ref)();return $({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},setDisabled:N=>{c.value=N},setReadonly:N=>{u.value=N}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:y.value,unit:o.unit},r.slots);const N={...Je(r.attrs),ref:z,class:w.value,placeholder:v.placeholder.value,clearable:o.clearable,disabled:a.value,readonly:p.value,modelValue:y.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:k,onChange:L,onInput:R,onFocus:F,onBlur:B},_={},V=[],K=(0,t.h)(T.ElInputNumber,N,_);V.push(K);const U={default:()=>V};U.label=r.slots.default,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const J={...Ve(o,wo),ref:s,hintText:H.value,hintVisible:W.value};if(o.prop&&(J.prop=`${o.prop}_item`),r.slots.append)U.append=r.slots.append;else if(I.value){const A=(0,t.h)("div",{class:f.value},[o.unit]);U.append=()=>A}return l(J,U)}}}}var{componentName:h3,create:g3,scope:y3}=ce("input-number-item"),b3=g3(p3(h3,y3,Le,qe)),en=b3;function ct(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function wt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function S3(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}var w3=class{scope;constructor(e){this.scope=e}async load(e,n,l,i){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const o=Ke(e,this.scope);return o===null?(console.error(`[FoxUI] ${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,i))}};function v3(){return new w3(Ze())}function tn(e,n,l){return!(ct(e,n)!==ct(e,l)||wt(e,n)!==wt(e,l))}function vo(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];let r=i;for(let s=0;Array.isArray(r)&&s<n.length;s++){const c=n[s];if(Array.isArray(c)){const a=vo(e,c,l,i);o.push(a)}else{let a=!1;for(let u of r){if(l==="text")a=ct(e,u)===c;else if(l==="item")a=tn(e,u,c);else{let p=wt(e,u);p==null&&(p=ct(e,u)),a=p===c}if(a){o.push(u),r=S3(e,u);break}}if(!a)break}}return o}function N3(e){return{text:e,value:e}}var No={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},allowCreate:{type:[Boolean]},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},maxLength:{type:[String,Number]},emptyText:{type:[String]}},C3={...ze,...Te,...No};function k3(e,n,l,i){return{props:C3,emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(null),y=(0,t.ref)([]),h=(0,t.computed)(()=>y.value?y.value.map(X=>Array.isArray(X)?X.map(D=>ct(o,D)).join(" "):ct(o,X)).join(" "):""),w=(X,D,b,C=!0)=>{if(o.props&&o.props.lazy===!0||o.lazy===!0){if(g.value===X)return;g.value=X;const se=(0,t.toRaw)(X);if(C){const ue=G?.value.getCheckedNodes();if(ue)if(o.multiple){const he=[];ue.forEach(Se=>{const be=(Se.pathNodes??[]).map(Ae=>Ae.data);he.push(be)}),m("update:pathNodes",he)}else m("update:pathNodes",(ue[0]?.pathNodes??[]).map(he=>he.data));m("update:modelValue",se),m("change",se)}return}const j=vo(o,X,D,b);if(j===null){if(y.value.length===0||y.value===null)return;y.value=[],g.value=null,C&&(m("update:pathNodes",[]),m("update:modelValue",null),m("change",null));return}const te=j[j.length-1];if(V.value.checkStrictly!==!0&&te&&!Array.isArray(te)&&Array.isArray(te.children)&&te.children.length>0){const se=[];j.forEach(ue=>{const he=`${ct(o,ue)}`;se.push(he)}),se.length>0&&(N.value=se.join(o.separator))}else N.value=null;let oe=!0;if(j.length!==y.value.length)oe=!1;else for(let se=0;se<j.length;se++){const ue=j[se],he=y.value[se];if(Array.isArray(ue)){if(!Array.isArray(he)||ue.length!==he.length)oe=!1;else for(let Se=0;Se<ue.length;Se++)if(!tn(o,ue[Se],he[Se])){oe=!1;break}}else tn(o,ue,he)||(oe=!1);if(!oe)break}if(!oe){y.value=j;let se=[],ue=[];j.forEach(Se=>{if(Array.isArray(Se)){let be=[],Ae=[];for(let Ye of Se)be.push(wt(o,Ye)),o.valueType==="text"?Ae.push(ct(o,Ye)):o.valueType==="item"?Ae.push(Ye):Ae.push(wt(o,Ye));se.push(be),ue.push(Ae)}else se.push(wt(o,Se)),o.valueType==="text"?ue.push(ct(o,Se)):o.valueType==="item"?ue.push(Se):ue.push(wt(o,Se))}),g.value=se;const he=(0,t.toRaw)(ue);C&&(m("update:pathNodes",j),m("update:modelValue",he),m("change",he))}},f=(0,t.ref)([]),R=De((0,t.computed)(()=>o.appearLoad),"appearLoad",Qe.Near,X=>pe(X)),L=v3(),H=async(X,D)=>{if(X){const b=await L.load("cascader",X,D);b.length>0&&(typeof b[0]=="string"?f.value=b.map(C=>N3(C)):f.value=b)}};(0,t.watch)([()=>o.source,()=>o.params],async([X,D])=>{H(X,D)},{immediate:!(R.value||o.lazy)});let W=!1;const F=()=>{W||(W=!0,H(o.source,o.params))};(0,t.watch)([()=>f.value,()=>o.modelValue],([X,D])=>{w(D,o.valueType,X,!1),m("setValue",D)}),o.lazy&&w(o.modelValue,"value",[],!1);let B=null,k=(0,t.ref)(!1);typeof o.remoteMethod=="function"&&(B=async X=>{if(X!=null){k.value=!0;try{f.value=await o.remoteMethod(X)}catch(D){console.error(D)}k.value=!1}});const I=(0,t.ref)(!1),z=e,N=(0,t.ref)(o.lazy?o.emptyText:null),_=(0,t.computed)(()=>({[z]:!0,"is-incomplete":N.value&&N.value.length>0,disabled:a.value,readonly:p.value})),V=(0,t.computed)(()=>{let X={label:o.textKey,value:o.valueKey,children:o.childrenKey};return o.multiple===!0&&(X.multiple=!0),o.props&&Object.assign(X,o.props),o.lazy&&(X.lazy=!0,typeof o.lazyLoad=="function"?X.lazyLoad=o.lazyLoad:X.lazyLoad=async(D,b)=>{let C={};o.params&&Object.assign(C,o.params),D&&Object.assign(C,D);const j=await L.load("cascader",o.source,C,!0);if(D?.config?.checkStrictly!==!0&&Array.isArray(g.value)&&g.value.length===D.level){const te=D.pathLabels??[];let oe=[];te.forEach(se=>{se&&oe.push(se)}),oe.length>0&&(N.value=oe.join(o.separator))}else N.value=o.emptyText??null;b(j)}),X}),K=X=>{o.allowCreate?(m("update:modelValue",X),m("change",X),g.value=X):w(X,"value",f.value,!0)};let U=Ne(o,"hintText"),J=(0,t.ref)(!1);const A=X=>{let D=X.target.value;I.value=!0,ye(U.value)||(J.value=!0),m("focus",D,X)},q=X=>{setTimeout(()=>{J.value&&(J.value=!1),I.value=!1},0);let D=X.target.value;o.maxLength&&D.length>Number(o.maxLength)&&(D=D.slice(0,Number(o.maxLength))),ee.value||m("blur",D,X)},Q=()=>{m("clear","")},le=(0,t.ref)(!1);let Z=null;const P=()=>{o.showTooltip&&le.value===!1&&(Z&&clearTimeout(Z),Z=setTimeout(()=>{le.value=!0},150))},M=()=>{Z&&(clearTimeout(Z),le.value=!1,Z=null)},ae=(0,t.computed)(()=>le.value||J.value),ne=(0,t.computed)(()=>le.value?h.value:U.value),ee=(0,t.ref)(!1),O=X=>{ee.value=X,m("visible-change",X),X||m("selected")},Y=X=>{m("remove-tag",X)},E=X=>{m("expand-change",X)},G=(0,t.ref)();return $({focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},getCheckedNodes:()=>G?.value.getCheckedNodes(),setDisabled:X=>{c.value=X},setReadonly:X=>{u.value=X}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:g.value,source:f.value,separator:o.separator,emptyText:o.emptyText},r.slots);const X={...r.attrs,ref:G,class:_.value,props:V.value,clearable:o.clearable,placeholder:N.value||v.placeholder.value,disabled:a.value||p.value,options:f.value,modelValue:g.value,separator:o.separator,onClear:Q,onChange:K,onFocus:A,onBlur:q,onVisibleChange:O,onRemoveTag:Y,expandChange:E};typeof B=="function"&&(X["remote-method"]=B,X.loading=k.value);const D={};r.slots.option&&(D.default=r.slots.option),r.slots.empty&&(D.empty=r.slots.empty);const b=[],C=(0,t.h)(T.ElCascader,X,D);b.push(C);const j={default:()=>b};j.label=r.slots.default,j.fixedPreTip=r.slots.fixedPreTip,j.fixedTip=r.slots.fixedTip;const te={...Ve(o,No),ref:s,hintText:ne.value,hintVisible:ae.value,onMouseover:P,onMouseleave:M};return o.prop&&(te.prop=`${o.prop}_item`),R.value&&!o.lazy&&(te["appear-listen"]=!0,te.onAppear=F),l(te,j)}}}}var{componentName:x3,create:z3,scope:E3}=ce("cascader-item"),T3=z3(k3(x3,E3,Le,qe)),ln=T3,Co={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},maxLength:{type:[String,Number]}},$3={...ze,...Te,...Co};function B3(e,n,l,i){return{props:$3,emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=Ne(o,"modelValue",null,m),h=e,w=(0,t.computed)(()=>({[h]:!0})),f=z=>{y.value=z,m("update:modelValue",z),m("input",z)},R=z=>{m("change",z)},L=z=>{m("select",z)};let H=Ne(o,"hintText"),W=(0,t.ref)(!1);const F=z=>{let N=z.target.value;g.value=!0,ye(H.value)||(W.value=!0),m("focus",N,z)},B=z=>{setTimeout(()=>{W.value&&(W.value=!1),g.value=!1},0);let N=z.target.value;o.maxLength&&N.length>Number(o.maxLength)&&(N=N.slice(0,Number(o.maxLength))),m("blur",N,z)},k=()=>{m("clear","")},I=(0,t.ref)();return $({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},select:()=>{I?.value.select()},setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:y.value,unit:o.unit},r.slots);const z={...r.attrs,ref:I,class:w.value,placeholder:v.placeholder.value,clearable:o.clearable,disabled:a.value,readonly:p.value,modelValue:y.value,onClear:k,onChange:R,onInput:f,onFocus:F,onBlur:B,onSelect:L},N={};r.slots.prepend&&(N.prepend=r.slots.prepend),r.slots.append&&(N.append=r.slots.append),r.slots.prefix&&(N.prefix=r.slots.prefix),r.slots.suffix&&(N.suffix=r.slots.suffix),r.slots.option&&(N.default=r.slots.option);const _=[],V=(0,t.h)(T.ElAutocomplete,z,N);_.push(V);const K={default:()=>_};K.label=r.slots.default,K.fixedPreTip=r.slots.fixedPreTip,K.fixedTip=r.slots.fixedTip;const U={...Ve(o,Co),ref:s,hintText:H.value,hintVisible:W.value};return o.prop&&(U.prop=`${o.prop}_item`),l(o,K)}}}}var{componentName:V3,create:D3,scope:M3}=ce("autocomplete-item"),A3=D3(B3(V3,M3,Le,qe)),an=A3;function I3(e,n){let l=n.split("."),i=e;for(let o=0;o<l.length;o++){let r=l[o],s=0,c=r.indexOf("["),a=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=r.substring(c+1,a);if(/^\d+$/.test(u)){let p=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][p]}else i=i[p];s++}c=r.indexOf("[",a),a=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function P3(e,n){return{props:{...Gr},setup(l,{attrs:i,slots:o}){return()=>{const r={default:s=>{const c=I3(s.row,s.column.property);return o.default?(0,t.h)($t,{...l,modelValue:c},{default:o.default}):(0,t.h)($t,{...l,modelValue:c})}};for(let s in o)s!=="default"&&(r[s]=o[s]);return(0,t.h)(T.ElTableColumn,{...i},r)}}}}var{componentName:L3,create:_3,scope:R3}=ce("table-mapping-column"),F3=_3(P3(L3,R3)),nn=F3,O3=Symbol.for("TableStateKey");function ko(e,n){let l=n.split("."),i=e;for(let o=0;o<l.length;o++){let r=l[o],s=0,c=r.indexOf("["),a=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=r.substring(c+1,a);if(/^\d+$/.test(u)){let p=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][p]}else i=i[p];s++}c=r.indexOf("[",a),a=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function q3(e,n){return{props:{prop:{type:[String],require:!1}},setup(l,{attrs:i}){const o=(0,t.inject)(O3,{});let r=null;return()=>{const s={default:c=>{const a=o.currentRow?o.currentRow.value:null;c.$index!==-1&&(r=c.row);const u=c.$index!==-1?c.row:r;let p=!1;if(u){const m=l.prop??c.column.property;m?p=ko(u,m)===(a?ko(a,m):null):p=Ge(u,a)}const d=(0,t.h)("span",{class:{"el-radio__input":!0,"is-checked":p}},[(0,t.h)("span",{class:{"el-radio__inner":!0}})]);return(0,t.h)("label",{class:{"el-radio":!0,"is-checked":p}},[d])}};return(0,t.h)(T.ElTableColumn,{...i},s)}}}}var{componentName:H3,create:j3,scope:K3}=ce("table-radio-column"),W3=j3(q3(H3,K3)),rn=W3,Y3={},U3={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 G3(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",U3,[...n[0]||(n[0]=[(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)])])}var X3=Me(Y3,[["render",G3]]),{componentName:A9,create:Q3,scope:Z3}=ce("table-setting"),J3={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},e4=Q3({components:{FoxPopover:T.ElPopover,FoxCheckbox:T.ElCheckbox,FoxCheckboxGroup:T.ElCheckboxGroup,FoxButton:T.ElButton,FoxIcon:T.ElIcon,DragIcon:X3,Download:Be.Download,RefreshLeft:Be.RefreshLeft},props:J3,setup(e,{emit:n,attrs:l}){const{locale:i,toLocaleRefs:o}=(0,Ce.useFoxI18n)(Z3),r=o(e,["title","resetText","leftFixedTitle","rightFixedTitle","unFixedTitle","fixedLeftText","fixedRightText","unFixedText"]);let s=[];const c=(0,t.ref)([]),a=(0,t.computed)(()=>c.value.filter(ee=>ee.label===""||ee.type?!1:ee.fixed===""||ee.fixed===!0||ee.fixed==="left")),u=(0,t.computed)(()=>c.value.filter(ee=>ee.label===""||ee.type?!1:ee.fixed==="right")),p=(0,t.computed)(()=>c.value.filter(ee=>!(ee.label===""||ee.type||ee.fixed!==void 0))),d=(0,t.computed)(()=>(a.value.length>0||u.value.length>0)&&p.value.length>0),m=(0,t.computed)(()=>a.value.length>0),$=(0,t.computed)(()=>u.value.length>0),x=ee=>ee.length>1,v=(ee,O)=>{Array.isArray(ee)&&Array.isArray(O)&&ee.forEach(E=>{O.some(G=>G.prop===E.prop?(E.label=G.label,!0):!1)});const Y=[];c.value=ee.map((E,G)=>(!(E.label===""||E.type)&&E.visible!==!1&&Y.push(E.prop),{...E,sortIndex:G})),p.value.length+a.value.length+u.value.length===Y.length?R.value=!0:Y.length>0&&(L.value=!0),F.value=Y},g=ee=>ee?ee.type?ee.type:ee.label?ee.prop:"":"",y=(ee,O)=>{if(ee.length!==O.length)return!1;const Y=ee.map(E=>g(E));for(let E of O){const G=g(E);if(Y.indexOf(G)===-1)return!1}return!0},h=ee=>{if(!ee){const O=e.tableRef.getColumnSetting(),Y=O.srcColumnPropertyList;s=Y.map((E,G)=>({...E,sortIndex:G})),ee=O.columnPropertyList,ee&&ee.length>0&&y(Y,ee)||(ee=Y)}v(ee,s)},w=()=>{e.tableRef.setColumnSetting(c.value)},f=(0,t.computed)(()=>({"max-width":`${ge(e.popoverWidth)-125}px`})),R=(0,t.ref)(!1),L=(0,t.ref)(!1),H=ee=>{const O=[];c.value.forEach(Y=>{ee&&!(Y.label===""||Y.type)&&O.push(Y.prop),Y.visible=ee}),R.value=!1,L.value=!1,p.value.length+a.value.length+u.value.length===O.length?R.value=!0:O.length>0&&(L.value=!0),F.value=O,w()},W=()=>{h(s),w()},F=(0,t.ref)([]),B=ee=>{c.value.forEach(Y=>{Y.label===""||Y.type||(Y.visible=ee.indexOf(Y.prop)!==-1)}),R.value=!1,L.value=!1;const O=p.value.length+a.value.length+u.value.length;ee.length===O?R.value=!0:ee.length>0&&(L.value=!0),w()},k=()=>{h()};(0,t.onMounted)(()=>{setTimeout(()=>{h()},50)});const I={currentRow:null,index:null,roleType:null},z=ee=>ee?ee.dataset&&ee.dataset.role==="row"?ee:ee.tagName.toLowerCase()!=="body"?(ee=ee.parentElement,z(ee)):null:null,N=ee=>{const O=ee.currentTarget;O&&O.dataset&&(I.roleType=O.dataset.roleType,I.index=O.dataset.index)},_=ee=>{I.currentRow&&(I.currentRow.classList.remove("is-dragover"),I.currentRow=null),I.index=null,I.roleType=null},V=ee=>{const O=ee.currentTarget;ee.relatedTarget;const Y=z(O);if(!Y)return;const E=Y.dataset&&Y.dataset.roleType;I.roleType===E&&(ee.preventDefault(),I.currentRow&&I.currentRow!==Y&&I.currentRow.classList.remove("is-dragover"),Y.classList.add("is-dragover"),I.currentRow=Y)},K=ee=>{ee.preventDefault(),I.currentRow&&(I.currentRow.classList.remove("is-dragover"),I.currentRow=null)},U=ee=>{const O=ee.currentTarget,Y=z(O);if(!Y)return;const E=Y.dataset&&Y.dataset.roleType;if(I.roleType!==E)return;ee.preventDefault();const G=Number(I.index),X=Number(Y.dataset.index);if(G!==X){if(G<X){const D=c.value[G];c.value.splice(G,1),c.value.splice(X,0,D)}else{const D=c.value[G];c.value.splice(G,1),c.value.splice(X+1,0,D)}v(c.value,s),w()}},J=ee=>{const O=c.value[ee];O.fixed="left",w()},A=ee=>{const O=c.value[ee];O.fixed="right",w()},q=ee=>{const O=c.value[ee];O.fixed=void 0,w()},Q=new Map;let le=null;function Z(ee){const O=document.createRange();return O.setStart(ee,0),O.setEnd(ee,ee.childNodes.length),O.getBoundingClientRect().width}return{...r,attrs:l,leftFixedColumns:a,rightFixedColumns:u,unFixedColumns:p,isShowNotFixedTitle:d,isShowLeftFixedTitle:m,isShowRightFixedTitle:$,isDraggble:x,isCheckAll:R,isIndeterminate:L,handleCheckAllChange:H,handleReset:W,checkedValue:F,handleCheckChange:B,onShow:k,onDragStart:N,onDragEnd:_,onDragOver:V,onDragLeave:K,onDrop:U,toLeftFixed:J,toRightFixed:A,toUnFixed:q,checkboxLabelStyle:f,onMouseOverForOverflowText:(ee,O,Y)=>{const E=ee.currentTarget;if(E){const G=Math.floor(E.offsetWidth);if(Math.floor(Z(E))>G){let X=Q.get(O);if(X){if(X===le)return;Oe.hide(X)}X=Oe.show(E,Y,{type:"text",placement:"top",closeOnClick:!1}),X&&(Q.set(O,X),le=X)}}},onMouseLeaveForOverflowText:(ee,O)=>{const Y=Q.get(O);Y&&(Oe.hide(Y),Y===le&&(le=null))},onMouseOverForTip:(ee,O)=>{const Y=ee.currentTarget;Y&&(le&&Oe.hide(le),le=Oe.show(Y,O,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:ee=>{le&&(Oe.hide(le),le=null)}}}}),t4={class:"fox-table-setting"},l4={class:"fox-table-setting__header"},a4={class:"fox-table-setting__body"},n4={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},r4={key:0,class:"fox-table-setting__body-title"},o4=["data-index","draggable"],i4=["onMouseover","onMouseleave"],s4={class:"tools-item"},c4={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},u4={key:0,class:"fox-table-setting__body-title"},d4=["data-index","draggable"],f4=["onMouseover","onMouseleave"],m4={class:"tools-item"},p4={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},h4={key:0,class:"fox-table-setting__body-title"},g4=["data-index","draggable"],y4=["onMouseover","onMouseleave"],b4={class:"tools-item"};function S4(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxCheckbox"),c=(0,t.resolveComponent)("FoxButton"),a=(0,t.resolveComponent)("DragIcon"),u=(0,t.resolveComponent)("RefreshLeft"),p=(0,t.resolveComponent)("FoxIcon"),d=(0,t.resolveComponent)("Download"),m=(0,t.resolveComponent)("fox-checkbox"),$=(0,t.resolveComponent)("FoxCheckboxGroup"),x=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(x,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",t4,[(0,t.createElementVNode)("div",l4,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=v=>e.isCheckAll=v),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(c,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",a4,[(0,t.createVNode)($,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=v=>e.checkedValue=v),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[e.leftFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",n4,[e.isShowLeftFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",r4,(0,t.toDisplayString)(e.leftFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.leftFixedColumns,v=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":v.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)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:v.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,v.prop,v.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,v.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(v.label),45,i4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",s4,[(0,t.createVNode)(p,{onClick:g=>e.toUnFixed(v.sortIndex),onMouseover:n[1]||(n[1]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[2]||(n[2]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(p,{onClick:g=>e.toRightFixed(v.sortIndex),onMouseover:n[3]||(n[3]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[4]||(n[4]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,o4))),128))])):(0,t.createCommentVNode)("",!0),e.unFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",c4,[e.isShowNotFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",u4,(0,t.toDisplayString)(e.unFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.unFixedColumns,v=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":v.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)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:v.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,v.prop,v.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,v.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(v.label),45,f4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",m4,[(0,t.createVNode)(p,{onClick:g=>e.toLeftFixed(v.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:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"]),(0,t.createVNode)(p,{onClick:g=>e.toRightFixed(v.sortIndex),onMouseover:n[12]||(n[12]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[13]||(n[13]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,d4))),128))])):(0,t.createCommentVNode)("",!0),e.rightFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",p4,[e.isShowRightFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",h4,(0,t.toDisplayString)(e.rightFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.rightFixedColumns,v=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:v.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":v.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)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(m,{class:"checkbox-item",label:v.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,v.prop,v.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,v.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(v.label),45,y4)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",b4,[(0,t.createVNode)(p,{onClick:g=>e.toUnFixed(v.sortIndex),onMouseover:n[19]||(n[19]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[20]||(n[20]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(p,{onClick:g=>e.toLeftFixed(v.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:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,g4))),128))])):(0,t.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var jl=Me(e4,[["render",S4]]),w4=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,o,r,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let a=(l-1)*i,u=a+i;u>n.length&&(u=n.length);const p=n.slice(a,u);return{totalSize:n.length,page:p}}if(typeof n=="function")return await Reflect.apply(n,null,[l,i,o,r,s]);const c=Ke(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(je(o)&&(0,t.isReactive)(o)&&(o=(0,t.toRaw)(o)),await Reflect.apply(c,null,[n,l,i,o,r,s]))}};function v4(){return new w4(Ze())}var N4=class{scope;constructor(e){this.scope=e}async load(e){let n=null;const l=Ke("tableSetting",this.scope);return typeof l=="function"&&(n=await Reflect.apply(l,null,["load",e])),n}save(e,n){const l=Ke("tableSetting",this.scope);typeof l=="function"&&Reflect.apply(l,null,["save",e,n])}remove(e){const n=Ke("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["remove",e])}};function xo(){return new N4(Ze())}var C4=Symbol.for("TableStateKey"),zo={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:()=>!1},appearLoad:{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"}},Eo={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:()=>"default"},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}},on={popoverWidth:{type:[String,Number],required:!1,default:()=>280},popoverPlacement:{type:[String],required:!1,default:()=>"top-start"},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},k4={infiniteLoad:{type:Boolean,default:()=>!0},loadText:{type:String},noMoreText:{type:String}};function x4(e,n){let l=n.split("."),i=e;for(let o=0;o<l.length;o++){let r=l[o],s=0,c=r.indexOf("["),a=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=r.substring(c+1,a);if(/^\d+$/.test(u)){let p=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][p]}else i=i[p];s++}c=r.indexOf("[",a),a=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function sn(e,n){return e.filter(l=>{for(let i in n)if(n[i]!==x4(l,i))return!1;return!0})}var z4={...ze,...Te,...zo,...Eo,...on,...k4};function E4(e,n,l){return{props:z4,emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(i,o){const{locale:r,toLocaleRefs:s}=(0,Ce.useFoxI18n)(n),c=s(i,["loadText","noMoreText"]),a=(0,t.ref)(),{emitEvent:u,broadcast:p,exposeApi:d}=Ee({componentName:e,validateHandler:{getValue(...re){return k.value}},get props(){return i},context:o,get templateRefProxy(){return a.value}},i.prop??o.attrs.name),m=e,$=(0,t.computed)(()=>({[m]:!0})),x=(0,t.computed)(()=>({[`${m}__setting`]:!0})),v=(0,t.computed)(()=>({[`${m}__footer`]:!0,[`${m}__footer__${i.footerAlign}`]:!0})),g=(0,t.computed)(()=>({[`${m}__pagination`]:!0,[`${m}__pagination__${i.paginationAlign}`]:!0})),y=(0,t.shallowRef)({}),h=(0,t.computed)(()=>({...y.value,...i.params??{},...i.baseParams??{}})),w=pe(i.infiniteLoad),f=(0,t.ref)(w?0:i.pageIndex??1),R=(0,t.ref)(i.pageSize);w||((0,t.watch)(()=>i.pageIndex,re=>{f.value=re}),(0,t.watch)(()=>i.pageSize,re=>{R.value=re}),(0,t.watch)([f,R],([re,ie],[de,fe])=>{ie!==fe&&(f.value=1,re=1),V(i.data,re,ie,h.value)}));const L=()=>Array.isArray(i.data)?!0:pe(i.autoLoad);L()&&((0,t.watch)(()=>h.value,async(re,ie)=>{Ge(re,ie)||(w?J():f.value===1?V(i.data,f.value,R.value,re):f.value=1)},{deep:!0}),(0,t.watch)(()=>i.data,re=>{w?J():f.value===1?V(re,f.value,R.value,h.value):f.value=1},{deep:!1}));const H=re=>{f.value=re,u("page-index-change",re)},W=re=>{R.value=re,u("page-size-change",re)},F=(0,t.ref)(!0),B=(0,t.ref)(0),k=(0,t.ref)([]),I=()=>Array.isArray(k.value)?k.value.length:0,z=v4();let N=!0;const _=De((0,t.computed)(()=>i.appearLoad),"appearLoad",Qe.Near,re=>pe(re)),V=async(re,ie,de,fe,$e)=>{try{if($e===!0){if(!F.value)return!1;const ke=await z.load("table",re,ie,de,fe,N,r.value);return B.value=ke?.totalSize??0,!ke.page||!Array.isArray(ke.page)?(F.value=!1,!1):(Reflect.apply([].push,k.value,ke.page),setTimeout(()=>{u("loaded-data")},250),((k.value?.length??0)>=B.value||ke.page.length<de)&&(F.value=!1),!0)}else{const ke=await z.load("table",re,ie,de,fe,N,r.value);return B.value=ke?.totalSize??0,k.value=ke?.page??[],setTimeout(()=>{u("loaded-data")},250),!0}}catch(ke){console.error("[FoxUI] Load Table Data Fail",ke),B.value=0,k.value=[]}finally{N=!1}return!1};let K=!1;const U=async()=>{try{if(K)return;K=!0;const re=f.value+1;await V(i.data,re,R.value,h.value,!0)&&(f.value=re)}finally{K=!1}},J=async(re=!1)=>{if(K!==!0){K=!0;try{if(re&&f.value>0){f.value=f.value-1;const de=f.value*R.value,fe=k.value.length-de;k.value.splice(de,fe)}else f.value=0,k.value=[];F.value=!0;const ie=f.value+1;await V(i.data,ie,R.value,h.value,!0)&&(f.value=ie)}finally{K=!1}}},A=async(re={},ie=!1)=>{if(y.value={...(0,t.toRaw)(re??{})},w)return J();try{if(K===!0)return;K=!0,ie||(f.value=i.pageIndex??1),await V(i.data,f.value,R.value,h.value)}finally{K=!1}},q=async(re={},ie=100)=>new Promise((de,fe)=>{setTimeout(async()=>{try{await A(re),de()}catch($e){fe($e)}},ie)}),Q=()=>{B.value=0,k.value=[],w===!0&&(f.value=0,F.value=!0)};let le=!1;const Z=()=>{le||(le=!0,A())};let P=!1;const M=(0,t.ref)(null),ae=(0,t.ref)(!1);if(w===!0){let re=null;const ie=()=>{M.value&&(re=new IntersectionObserver(fe=>{let $e=!1;for(let ke of fe)if(ke.intersectionRatio>0){$e=!0;break}$e&&N===!1&&U()}),re.observe(M.value),P=!0)},de=()=>{!re||!M.value||(re.unobserve(M.value),re=null,P=!1)};(0,t.onMounted)(()=>{ae.value=!0}),(0,t.watch)([()=>M.value,()=>ae.value],([fe,$e])=>{fe&&$e&&!re&&ie()}),(0,t.onBeforeUnmount)(de)}L()&&!_.value&&A();const ne=(0,t.ref)(null);(0,t.provide)(C4,{currentRow:ne});const ee=(re,ie)=>{ne.value=re,u("current-change",re,ie)},O=(re,ie,de)=>{u("row-click",re,ie,de),pe(i.rowClickSelectable)===!0&&_e?.value.toggleRowSelection(re)},Y=[],E=(re,ie)=>{if(u("expand-change",re,ie),pe(i.uniqueExpansion))if(Array.isArray(ie)&&ie.length==0){const de=Y.length;Y.splice(0,de)}else{Y.forEach(fe=>{fe!==re&&_e?.value.toggleRowExpansion(fe,!1)});const de=Y.length;Y.splice(0,de,re)}},G=o.attrs.id??i.prop??o.attrs.name,X=xo(),D=(0,t.ref)([]);let b=[];const C=()=>({srcColumnPropertyList:b.map(re=>({...re})),columnPropertyList:D.value}),j=re=>{D.value=[...re],oe()},te=async()=>{const re=await X.load(G);re&&(D.value=re)},oe=()=>{X.save(G,D.value)},se=()=>{X.remove(G)};te();const ue=re=>re?re.type?re.type:re.label?re.prop:"":"",he=(re,ie={})=>{for(let de in ie){const fe=ie[de];typeof fe!="function"&&(re[de]=fe)}},Se=re=>{const ie=re?re():[],de=new Map;if(b=[],ie.forEach(fe=>{const $e=fe;if(!$e.props)return;const ke=ue($e.props);de.set(ke,$e);const Re={label:"",prop:""};he(Re,$e.props),b.push(Re)}),D.value.length===b.length){const fe=[];for(let $e of D.value){const ke=ue($e),Re=de.get(ke);if(!Re)return ie;if($e.visible===!1)continue;const tt=Re;tt.props.fixed=$e.fixed,fe.push(tt)}return fe}return ie},be=(0,t.shallowRef)(new Map),Ae=({row:re,column:ie,rowIndex:de,columnIndex:fe})=>{const $e=`${de}_${ie.property}`,ke=`${de}_${fe}`;let Re=be.value.get($e);return Re||(Re=be.value.get(ke)),typeof Re=="string"?Re:""},Ye=re=>re?ie=>{const de=[];let fe=Ae(ie);return fe&&de.push(fe),fe=typeof re=="function"?re(ie):re,fe&&de.push(fe),de.length===0?"":de.join(" ")}:Ae,Ct=(re=!1)=>{be.value.forEach((ie,de)=>{_t(de,ie,re)})},_t=(re,ie,de=!1)=>{const fe=`${re}_item`;de?(p.clearPersistantMessage(),Array.isArray(ie)?p.emitToChildren({name:re},"setCellClassNames",[]):p.emitToChildren({name:fe},"setCustomClassName","")):Array.isArray(ie)?p.emitToChildren({name:re,cachePolicy:"Persistant",uniqueId:fe},"setCellClassNames",ie):p.emitToChildren({name:fe,cachePolicy:"Persistant",uniqueId:fe},"setCustomClassName",ie)},na=(re,ie,de)=>{const fe=`${re}_${ie}`;de?(be.value.set(fe,de),_t(fe,de)):(be.value.delete(fe),_t(fe,"",!0)),(0,t.triggerRef)(be)},Im=re=>{Ct(!0),be.value.clear(),re.forEach(ie=>{const de=`${ie.rowIndex}_${ie.column}`;Array.isArray(ie.children)?be.value.set(de,ie.children):typeof ie.cellClassName=="string"&&be.value.set(de,ie.cellClassName)}),Ct(),(0,t.triggerRef)(be)},Pm=()=>{Ct(),be.value.clear(),(0,t.triggerRef)(be)},Rt=(0,t.shallowRef)(new Map),Ni=({rowIndex:re})=>{const ie=`${re}`;return Rt.value.get(ie)??""},Lm=re=>re?ie=>{const de=[];let fe=Ni(ie);return fe&&de.push(fe),fe=typeof re=="function"?re(ie):re,fe&&de.push(fe),de.length===0?"":de.join(" ")}:Ni,_m=(re,ie)=>{const de=`${re}`;ie?Rt.value.set(de,ie):Rt.value.delete(de),(0,t.triggerRef)(Rt)},Rm=()=>{Rt.value.clear(),(0,t.triggerRef)(Rt)},_e=(0,t.ref)();return d({clearSelection:()=>_e?.value.clearSelection(),getSelectionRows:()=>_e?.value.getSelectionRows(),toggleRowSelection:(re,ie)=>{_e?.value.toggleRowSelection(re,ie)},toggleRowSelectionByProp:(re,ie)=>{if(!k.value)return;const de=sn(k.value,re);de.length!==0&&de.forEach(fe=>{_e?.value.toggleRowSelection(fe,ie)})},toggleAllSelection:()=>{_e?.value.toggleAllSelection()},toggleRowExpansion:(re,ie)=>{_e?.value.toggleRowExpansion(re,ie)},toggleRowExpansionByProp:(re,ie)=>{if(!k.value)return;const de=sn(k.value,re);de.length!==0&&de.forEach(fe=>{_e?.value.toggleRowExpansion(fe,ie)})},setCurrentRow:re=>{_e?.value.setCurrentRow(re)},setCurrentRowByProp:re=>{if(!k.value)return;const ie=sn(k.value,re);ie.length!==0&&_e?.value.setCurrentRow(ie[0])},getCurrentRow:()=>ne.value,clearSort:()=>{_e?.value.clearSort()},clearFilter:re=>{_e?.value.clearFilter(re)},doLayout:()=>{_e?.value.doLayout()},sort:(re,ie)=>{_e?.value.sort(re,ie)},scrollTo:(re,ie)=>{_e?.value.scrollTo(re,ie)},setScrollTop:re=>{_e?.value.setScrollTop(re)},setScrollLeft:re=>{_e?.value.setScrollLeft(re)},loadData:A,delayLoadData:q,clearData:Q,getData(){return k.value},getTotalSize(){return B.value},getPageIndex(){return f.value},getPageSize(){return R.value},getColumnSetting:C,setColumnSetting:j,removeColumnSetting:se,setCellClassName:na,setCellClassNames:Im,clearCellClassName:Pm,setRowClassName:_m,clearRowClassName:Rm}),()=>{const re={...Je(o.attrs),onCurrentChange:ee,onRowClick:O,onExpandChange:E,data:k.value,ref:_e,class:$.value,"cell-class-name":Ye(i.cellClassName),"row-class-name":Lm(i.rowClassName)},ie={};if(o.slots.default&&(ie.default=()=>Se(o.slots.default)),o.slots.append&&(ie.append=o.slots.append),o.slots.empty&&(ie.empty=o.slots.empty),w===!0){const Re=I();if(P===!0||Re>0){const tt=[];if(F.value){const Ft=(0,t.h)(Be.Loading,{class:`${m}__infinite-icon`});tt.push(Ft);const Gn=(0,t.h)("span",{class:`${m}__infinite-text`},[c.loadText.value]);tt.push(Gn)}else{let Ft=c.noMoreText.value;(!k.value||k.value.length===0)&&(Ft="");const Gn=(0,t.h)("span",{class:`${m}__infinite-text`},[Ft]);tt.push(Gn)}const ra=[`${m}__infinite`];N&&ra.push("is-hide");const Un=(0,t.h)("div",{ref:M,class:ra},tt);ie.append=()=>Un}}const de=(0,t.h)(T.ElTable,re,ie),fe=[];if(fe.push(de),!w){let Re=null;if(typeof o.slots.pagination=="function"?Re=o.slots.pagination():i.showPagination&&(Re=(0,t.h)(T.ElPagination,{class:g.value,total:B.value,pageSize:R.value,"onUpdate:pageSize":W,pageSizes:i.pageSizes,currentPage:f.value,"onUpdate:currentPage":H,hideOnSinglePage:i.hideOnSinglePage,layout:i.paginationLayout,size:i.paginationSize,background:i.paginationBackground,appendSizeTo:i.paginationAppendSizeTo,teleported:i.paginationTeleported,popperClass:i.paginationPopperClass,prevText:i.paginationpPrevText,prevIcos:i.paginationPrevIcon,nextText:i.paginationNextText,pnextIcon:i.paginationNextIcon,disabled:i.paginationDisabled})),i.showSetting){const tt=[];Re&&tt.push(Re);const ra=(0,t.h)(T.ElIcon,{class:x.value},{default:()=>(0,t.h)(Be.Setting)}),Un=(0,t.h)(jl,{...it(i,on),tableRef:{getColumnSetting:C,setColumnSetting:j,removeColumnSetting:se}},{default:()=>ra});tt.push(Un);const Ft=(0,t.h)("div",{class:v.value},tt);fe.push(Ft)}else Re&&fe.push(Re)}const $e={default:()=>fe},ke={...Ve(i,zo,Eo,on),ref:a};return i.prop&&(ke.prop=`${i.prop}_item`),ke.contentClass=`${m}__wrap`,ke.errorMarkClass="is-table-error",_.value&&L()&&(ke["appear-listen"]=!0,ke.onAppear=Z),l(ke,$e)}}}}var{componentName:T4,create:$4,scope:B4}=ce("table-item"),V4=$4(E4(T4,B4,Le)),cn=V4;function Dt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function nl(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function D4(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var M4=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function A4(){return new M4(Ze())}function To(e,n,l){return n===l?!0:!(n===null||l===null||Dt(e,n)!==Dt(e,l)||nl(e,n)!==nl(e,l))}function I4(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;let o=null;for(let r of i){let s=!1;if(l==="text")s=Dt(e,r)===n;else if(l==="item")s=To(e,r,n);else{let c=nl(e,r);c==null&&(c=Dt(e,r)),s=c===n}if(s){o=r;break}}return o}function P4(e){return{text:e,value:e}}function L4(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var $o={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},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}},_4={...ze,...Te,...$o};function R4(e,n,l,i){return{inheritAttrs:!0,props:_4,emits:["change","update:modelValue","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),x=(0,t.ref)(null),v=(0,t.ref)(null),g=(z,N,_,V=!0)=>{const K=I4(o,z,N,_);if(K===null){if(v.value===null)return;v.value=null,x.value=null,V&&(m("update:modelValue",null),m("change",null));return}if(!To(o,K,v.value)){x.value=z;const U=(0,t.toRaw)(K);v.value=U;let J=null;o.valueType==="text"?J=Dt(o,U):o.valueType==="item"?J=U:J=nl(o,U),V&&(m("update:modelValue",J),m("change",J))}},y=(0,t.ref)([]),h=De((0,t.computed)(()=>o.appearLoad),"appearLoad",Qe.Near,z=>pe(z)),w=A4(),f=async(z,N)=>{if(z){const _=await w.load("radio",z,N);_.length>0&&(typeof _[0]=="string"?y.value=_.map(V=>P4(V)):y.value=_)}};(0,t.watch)([()=>o.source,()=>o.params],async([z,N])=>{f(z,N)},{immediate:!h.value});let R=!1;const L=()=>{R||(R=!0,f(o.source,o.params))};(0,t.watch)([()=>y.value,()=>o.modelValue],([z,N])=>{g(N,o.valueType,z,!1),m("setValue",N)});const H=e,W=(0,t.computed)(()=>({[H]:!0,[`is-${o.direction}`]:!0,disabled:a.value,readonly:p.value})),F=z=>{g(z,"value",y.value,!0)};let B=Ne(o,"hintText"),k=Ne(o,"hintVisible");const I=(z,N)=>{typeof o.sourceFilter=="function"&&(z=z.filter(o.sourceFilter));const _=[];return z.forEach((V,K)=>{const U=nl(o,V),J=Dt(o,V);let A=D4(o,V);a.value===!0&&(A=a.value),p.value===!0&&(A=p.value);const q=L4(o,V,K)??{},Q=`${U}_${K}`,le={...q,key:Q,value:U,size:o.size,border:pe(o.border)};A&&(le.disabled=A),o.itemType==="button"?_.push((0,t.h)(T.ElRadioButton,le,{default:()=>[J]})):typeof N=="function"?_.push((0,t.h)(T.ElRadio,le,{default:()=>N(V)})):_.push((0,t.h)(T.ElRadio,le,{default:()=>[J]}))}),_};return $({setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:x.value,source:y.value},r.slots);const z={...Je(r.attrs),class:W.value,disabled:a.value||p.value,modelValue:x.value,"text-color":o.textColor,fill:o.fill,onChange:F},N=[],_={};r.slots.options?_.default=r.slots.options:_.default=()=>I(y.value,r.slots.text);const V=(0,t.h)(T.ElRadioGroup,z,_);N.push(V);const K={default:()=>N};K.label=r.slots.default,K.fixedPreTip=r.slots.fixedPreTip,K.fixedTip=r.slots.fixedTip;const U={...Ve(o,$o),ref:s,hintText:B.value,hintVisible:k.value};return o.prop&&(U.prop=`${o.prop}_item`),h.value&&(U["appear-listen"]=!0,U.onAppear=L),l(U,K)}}}}var{componentName:F4,create:O4,scope:q4}=ce("radio-item"),H4=O4(R4(F4,q4,Le,qe)),un=H4;function Mt(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 j4(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var K4=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function W4(){return new K4(Ze())}function Bo(e,n,l){return n===l?!0:!(n===null||l===null||Mt(e,n)!==Mt(e,l)||At(e,n)!==At(e,l))}function Y4(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let s of i){let c=!1;if(l==="text")c=Mt(e,s)===r;else if(l==="item")c=Bo(e,s,r);else{let a=At(e,s);a==null&&(a=Mt(e,s)),c=a===r}if(c){o.push(s);break}}}),o}function U4(e){return{text:e,value:e}}function G4(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Vo={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},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},separator:{type:[String],required:!1,default:", "}},X4={...ze,...Te,...Vo};function Q4(e,n,l,i){return{inheritAttrs:!0,props:X4,emits:["change","update:modelValue","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),x=(0,t.ref)([]),v=(0,t.ref)([]),g=(z,N,_,V=!0)=>{const K=Y4(o,z,N,_);if(K===null){if(v.value===null||v.value.length===0)return;x.value=[],v.value=[],V&&(m("update:modelValue",[]),m("change",[]));return}let U=!0;if(K.length!==v.value.length)U=!1;else for(let J=0;J<K.length;J++){const A=K[J],q=v.value[J];if(!Bo(o,A,q)){U=!1;break}}if(!U){v.value=K;let J=[],A=[];K.forEach(Q=>{J.push(At(o,Q)),o.valueType==="text"?A.push(Mt(o,Q)):o.valueType==="item"?A.push(Q):A.push(At(o,Q))}),x.value=J;const q=(0,t.toRaw)(A);V&&(m("update:modelValue",q),m("change",q))}},y=(0,t.ref)([]),h=De((0,t.computed)(()=>o.appearLoad),"appearLoad",Qe.Near,z=>pe(z)),w=W4(),f=async(z,N)=>{if(z){const _=await w.load("checkbox",z,N);_.length>0&&(typeof _[0]=="string"?y.value=_.map(V=>U4(V)):y.value=_)}};(0,t.watch)([()=>o.source,()=>o.params],async([z,N])=>{f(z,N)},{immediate:!h.value});let R=!1;const L=()=>{R||(R=!0,f(o.source,o.params))};(0,t.watch)([()=>y.value,()=>o.modelValue],([z,N])=>{g(N,o.valueType,z,!1),m("setValue",N)});const H=e,W=(0,t.computed)(()=>({[H]:!0,[`is-${o.direction}`]:!0,disabled:a.value,readonly:p.value})),F=z=>{g(z,"value",y.value,!0)};let B=Ne(o,"hintText"),k=Ne(o,"hintVisible");const I=(z,N)=>{typeof o.sourceFilter=="function"&&(z=z.filter(o.sourceFilter));const _=[];return z.forEach((V,K)=>{const U=At(o,V),J=Mt(o,V);let A=j4(o,V);a.value===!0&&(A=a.value),p.value===!0&&(A=p.value);const q=G4(o,V,K)??{},Q=`${U}_${K}`,le={...q,key:Q,value:U,size:o.size,border:pe(o.border)};A&&(le.disabled=A),o.itemType==="button"?_.push((0,t.h)(T.ElCheckboxButton,le,{default:()=>[J]})):typeof N=="function"?_.push((0,t.h)(T.ElCheckbox,le,{default:()=>N(V)})):_.push((0,t.h)(T.ElCheckbox,le,{default:()=>[J]}))}),_};return $({setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:x.value,source:y.value,separator:o.separator},r.slots);const z={...Je(r.attrs),class:W.value,disabled:a.value||p.value,modelValue:x.value,"text-color":o.textColor,fill:o.fill,max:ve(o.max),min:ve(o.min),onChange:F},N=[],_={};r.slots.options?_.default=r.slots.options:_.default=()=>I(y.value,r.slots.text);const V=(0,t.h)(T.ElCheckboxGroup,z,_);N.push(V);const K={default:()=>N};K.label=r.slots.default,K.fixedPreTip=r.slots.fixedPreTip,K.fixedTip=r.slots.fixedTip;const U={...Ve(o,Vo),ref:s,hintText:B.value,hintVisible:k.value};return o.prop&&(U.prop=`${o.prop}_item`),h.value&&(U["appear-listen"]=!0,U.onAppear=L),l(U,K)}}}}var{componentName:Z4,create:J4,scope:ef}=ce("checkbox-item"),tf=J4(Q4(Z4,ef,Le,qe)),dn=tf,Do={modelValue:{type:[Number,String],required:!1}},lf={...ze,...Te,...Do};function af(e,n,l,i){return{props:lf,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),x=Ne(o,"modelValue",R=>ve(R),m),v=e,g=(0,t.computed)(()=>({[v]:!0})),y=R=>{m("update:modelValue",R),m("change",R)};let h=Ne(o,"hintText"),w=(0,t.ref)(!1);const f=(0,t.ref)();return $({setDisabled:R=>{c.value=R},setReadonly:R=>{u.value=R}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:x.value},r.slots);const R={...Je(r.attrs),ref:f,class:g.value,readonly:p.value||a.value,modelValue:x.value,onChange:y},L={},H=[],W=(0,t.h)(T.ElRate,R,L);H.push(W);const F={default:()=>H};F.label=r.slots.default,F.fixedPreTip=r.slots.fixedPreTip,F.fixedTip=r.slots.fixedTip;const B={...Ve(o,Do),ref:s,hintText:h.value,hintVisible:w.value};return o.prop&&(B.prop=`${o.prop}_item`),l(B,F)}}}}var{componentName:nf,create:rf,scope:of}=ce("rate-item"),sf=rf(af(nf,of,Le,qe)),fn=sf,Mo={modelValue:{type:[Boolean,String,Number],required:!1},activeValue:{type:[Boolean,String,Number],required:!1,default:()=>!0},inactiveValue:{type:[Boolean,String,Number],required:!1,default:()=>!1},activeText:{type:[String],required:!1},inactiveText:{type:[String],required:!1}},cf={...ze,...Te,...Mo};function uf(e,n,l,i){return{props:cf,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),x=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,L=>{x.value!==L&&(x.value=L)});const v=e,g=(0,t.computed)(()=>({[v]:!0,disabled:a.value,readonly:p.value})),y=L=>{x.value=L,m("update:modelValue",L),m("change",L)};let h=Ne(o,"hintText"),w=Ne(o,"hintVisible");const f=(0,t.ref)();$({setDisabled:L=>{c.value=L},setReadonly:L=>{u.value=L}});const R=(0,t.computed)(()=>{let L=`${x.value}`;return o.inactiveText&&x.value===o.inactiveValue?L=o.inactiveText:o.activeText&&x.value===o.activeValue&&(L=o.activeText),L});return()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:R.value},r.slots);const L={...Je(r.attrs),ref:f,class:g.value,disabled:a.value||p.value,"active-value":o.activeValue,"inactive-value":o.inactiveValue,"active-text":o.activeText,"inactive-text":o.inactiveText,"model-value":x.value,"onUpdate:modelValue":y},H={},W=[],F=(0,t.h)(T.ElSwitch,L,H);W.push(F);const B={default:()=>W};B.label=r.slots.default,B.fixedPreTip=r.slots.fixedPreTip,B.fixedTip=r.slots.fixedTip;const k={...Ve(o,Mo),ref:s,hintText:h.value,hintVisible:w.value};return o.prop&&(k.prop=`${o.prop}_item`),l(k,B)}}}}var{componentName:df,create:ff,scope:mf}=ce("switch-item"),pf=ff(uf(df,mf,Le,qe)),mn=pf,Ao={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}},hf=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,o){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const r=Ke(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l,i))}};function gf(){return new hf(Ze())}var Io={modelValue:{type:[String,Number,Boolean,Array],required:!1},maxLength:{type:[String,Number]}},yf={...ze,...Te,...Io,...Ao};function bf(e,n,l,i){return{props:yf,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),m=(0,t.ref)(!1),{emitEvent:$,exposeApi:x}=Ee({componentName:e,get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),v=Ne(o,"modelValue",null,$),g=e,y=(0,t.computed)(()=>({[g]:!0,disabled:a.value,readonly:p.value})),h=V=>{v.value=V,$("update:modelValue",V),$("change",V)};let w=Ne(o,"hintText"),f=(0,t.ref)(!1);const R=V=>{let K=V.target.value;m.value=!0,ye(w.value)||(f.value=!0),$("focus",K,V)},L=V=>{setTimeout(()=>{f.value&&(f.value=!1),m.value=!1},0);let K=V.target.value;o.maxLength&&K.length>Number(o.maxLength)&&(K=K.slice(0,Number(o.maxLength))),W.value||$("blur",K,V)},H=()=>{$("clear","")},W=(0,t.ref)(!1),F=V=>{W.value=V,$("visible-change",V),V||$("selected")},B=(0,t.ref)([]),k=gf(),I=async(V,K)=>{try{B.value=await k.load("treeselect",V,K)}catch(U){console.error(U)}};(0,t.watch)([()=>o.data,()=>o.params,()=>o.lazy],([V,K,U])=>{!V||U||I(V,K)},{immediate:!0});let z=null;o.lazy&&(typeof o.load=="function"?z=o.load:z=async(V,K)=>{let U={};o.params&&Object.assign(U,o.params),V&&Object.assign(U,V),K(await k.load("treeselect",o.data,U,!0))});let N={label:o.textKey,value:o.valueKey,children:o.childrenKey,isLeaf:o.leafKey,class:o.classKey};const _=(0,t.ref)();return x({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},setDisabled:V=>{c.value=V},setReadonly:V=>{u.value=V}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:v.value},r.slots);const V={...Je(r.attrs),ref:_,class:y.value,disabled:a.value||p.value,modelValue:v.value,"onUpdate:modelValue":h,lazy:o.lazy,props:N,onClear:H,onFocus:R,onBlur:L,onVisibleChange:F};z?V.load=z:V.data=B.value;const K={};r.slots.option&&(K.default=r.slots.option);const U=[],J=(0,t.h)(T.ElTreeSelect,V,K);U.push(J);const A={default:()=>U};A.label=r.slots.default,A.fixedPreTip=r.slots.fixedPreTip,A.fixedTip=r.slots.fixedTip;const q={...Ve(o,Io,Ao),ref:s,hintText:w.value,hintVisible:f.value};return o.prop&&(q.prop=`${o.prop}_item`),l(q,A)}}}}var{componentName:Sf,create:wf,scope:vf}=ce("tree-select-item"),Nf=wf(bf(Sf,vf,Le,qe)),pn=Nf,Cf={},kf={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 xf(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",kf,[...n[0]||(n[0]=[(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)])])}var zf=Me(Cf,[["render",xf]]),{componentName:I9,create:Ef,scope:Tf}=ce("group-setting"),$f={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},resetText:{type:[String],required:!1},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1},toBottomText:{type:[String],required:!1}},Bf=Ef({components:{FoxPopover:T.ElPopover,FoxCheckbox:T.ElCheckbox,FoxCheckboxGroup:T.ElCheckboxGroup,FoxButton:T.ElButton,FoxIcon:T.ElIcon,DragIcon:zf,Download:Be.Download,RefreshLeft:Be.RefreshLeft},props:$f,emits:["change"],setup(e,{emit:n,attrs:l,expose:i}){const{locale:o,toLocaleRefs:r}=(0,Ce.useFoxI18n)(Tf),s=r(e,["title","resetText","toTopText","toBottomText"]);let c=null;const a=(0,t.ref)([]),u=xo(),p=P=>P.length>1,d=()=>{const P=[];a.value=[...a.value].map((M,ae)=>(M.visible!==!1&&P.push(M.prop),{...M,sortIndex:ae})),a.value.length===P.length?h.value=!0:P.length>0&&(w.value=!0),L.value=P},m=P=>{let M=null;if(typeof P=="string")M=document.querySelectorAll(`.fox-group[prop="${P}"] > div > .fox-item[prop]`);else if(P&&typeof P=="object"){const ne=P.$el??P;typeof ne.querySelectorAll=="function"&&(M=ne.querySelectorAll(".fox-item[prop]"))}if(!M)return[];const ae=[];return M.forEach(ne=>{const ee=ne.querySelector(".label--string");let O="";ee&&(O=ee.textContent??"");const Y=ne.getAttribute("prop")??"",E=window.getComputedStyle(ne,null).getPropertyValue("display");ae.push({label:O,prop:Y,sortIndex:0,visible:E!=="none"})}),ae},$=()=>{if(!c){const P=m(e.groupRef??e.groupProp);if(P.length===0)return!1;c=P}return!0},x=async(P=!1)=>{const M=await u.load(e.groupProp),ae=ne=>{if(!ne||!c)return;const ee=c.map(O=>({...O}));Array.isArray(M)&&M.forEach(O=>{ee.some(Y=>{if(Y.prop===O.prop){const E=Y.label;return Object.assign(Y,O),Y.label=E,!0}return!1})}),a.value=ee.sort((O,Y)=>O.sortIndex-Y.sortIndex),d(),P&&g(!1)};c?ae(!0):vl($,e.initDelay,5,50,!1,ae)},v=()=>{a.value=(c??[]).map(P=>({...P})),d(),g()},g=(P=!0)=>{P&&u.save(e.groupProp,a.value),n("change",a.value.map(M=>({...M})))},y=(0,t.computed)(()=>({"max-width":`${ge(e.popoverWidth)-125}px`})),h=(0,t.ref)(!1),w=(0,t.ref)(!1),f=P=>{const M=[];a.value.forEach(ae=>{P&&M.push(ae.prop),ae.visible=P}),h.value=!1,w.value=!1,a.value.length===M.length?h.value=!0:M.length>0&&(w.value=!0),L.value=M,g()},R=()=>{v()},L=(0,t.ref)([]),H=P=>{a.value.forEach(ae=>{ae.visible=P.indexOf(ae.prop)!==-1}),h.value=!1,w.value=!1;const M=a.value.length;P.length===M?h.value=!0:P.length>0&&(w.value=!0),g()},W=()=>{x()};(0,t.onMounted)(()=>{x(!0)});const F={currentRow:null,index:null},B=P=>P?P.dataset&&P.dataset.role==="row"?P:P.tagName.toLowerCase()!=="body"?(P=P.parentElement,B(P)):null:null,k=P=>{const M=P.currentTarget;M&&M.dataset&&(F.index=M.dataset.index)},I=P=>{F.currentRow&&(F.currentRow.classList.remove("is-dragover"),F.currentRow=null),F.index=null},z=P=>{const M=P.currentTarget;P.relatedTarget;const ae=B(M);ae&&(P.preventDefault(),F.currentRow&&F.currentRow!==ae&&F.currentRow.classList.remove("is-dragover"),ae.classList.add("is-dragover"),F.currentRow=ae)},N=P=>{P.preventDefault(),F.currentRow&&(F.currentRow.classList.remove("is-dragover"),F.currentRow=null)},_=P=>{const M=P.currentTarget,ae=B(M);if(!ae)return;P.preventDefault();const ne=Number(F.index),ee=Number(ae.dataset.index);if(ne!==ee){if(ne<ee){const O=a.value[ne];a.value.splice(ne,1),a.value.splice(ee,0,O)}else{const O=a.value[ne];a.value.splice(ne,1),a.value.splice(ee+1,0,O)}d(),g()}},V=P=>{const M=a.value[P];a.value.splice(P,1),a.value.splice(0,0,M),d(),g()},K=P=>{const M=a.value[P];a.value.splice(P,1),a.value.push(M),d(),g()};i({refresh:()=>{c=null,x(!1)}});const U=new Map;let J=null;function A(P){const M=document.createRange();return M.setStart(P,0),M.setEnd(P,P.childNodes.length),M.getBoundingClientRect().width}return{...s,attrs:l,itemPropertyList:a,isDraggble:p,isCheckAll:h,isIndeterminate:w,handleCheckAllChange:f,handleReset:R,checkedValue:L,handleCheckChange:H,onShow:W,onDragStart:k,onDragEnd:I,onDragOver:z,onDragLeave:N,onDrop:_,checkboxLabelStyle:y,toTop:V,toBottom:K,onMouseOverForOverflowText:(P,M,ae)=>{const ne=P.currentTarget;if(ne){const ee=Math.floor(ne.offsetWidth);if(Math.floor(A(ne))>ee){let O=U.get(M);if(O){if(O===J)return;Oe.hide(O)}O=Oe.show(ne,ae,{type:"text",placement:"top",closeOnClick:!1}),U.set(M,O),J=O}}},onMouseLeaveForOverflowText:(P,M)=>{const ae=U.get(M);ae&&(Oe.hide(ae),ae===J&&(J=null))},onMouseOverForTip:(P,M)=>{const ae=P.currentTarget;ae&&(J&&Oe.hide(J),J=Oe.show(ae,M,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:P=>{J&&(Oe.hide(J),J=null)}}}}),Vf={class:"fox-group-setting"},Df={class:"fox-group-setting__header"},Mf={class:"fox-group-setting__body"},Af={class:"fox-group-setting__body-list","data-role":"container"},If=["data-index","draggable"],Pf=["onMouseover","onMouseleave"],Lf={class:"tools-item"};function _f(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxCheckbox"),c=(0,t.resolveComponent)("FoxButton"),a=(0,t.resolveComponent)("DragIcon"),u=(0,t.resolveComponent)("Download"),p=(0,t.resolveComponent)("FoxIcon"),d=(0,t.resolveComponent)("FoxCheckboxGroup"),m=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(m,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",Vf,[(0,t.createElementVNode)("div",Df,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=$=>e.isCheckAll=$),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(c,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",Mf,[(0,t.createVNode)(d,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=$=>e.checkedValue=$),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",Af,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.itemPropertyList,$=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:$.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":$.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...x)=>e.onDragStart&&e.onDragStart(...x)),onDragend:n[6]||(n[6]=(...x)=>e.onDragEnd&&e.onDragEnd(...x)),onDrop:n[7]||(n[7]=(...x)=>e.onDrop&&e.onDrop(...x)),onDragover:n[8]||(n[8]=(...x)=>e.onDragOver&&e.onDragOver(...x)),onDragleave:n[9]||(n[9]=(...x)=>e.onDragLeave&&e.onDragLeave(...x))},[e.isDraggble(e.itemPropertyList)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",label:$.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:x=>e.onMouseOverForOverflowText(x,$.prop,$.label),onMouseleave:x=>e.onMouseLeaveForOverflowText(x,$.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)($.label),45,Pf)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",Lf,[(0,t.createVNode)(p,{onClick:x=>e.toTop($.sortIndex),onMouseover:n[1]||(n[1]=x=>e.onMouseOverForTip(x,e.toTopText)),onMouseleave:n[2]||(n[2]=x=>e.onMouseLeaveForTip(x)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(p,{onClick:x=>e.toBottom($.sortIndex),onMouseover:n[3]||(n[3]=x=>e.onMouseOverForTip(x,e.toBottomText)),onMouseleave:n[4]||(n[4]=x=>e.onMouseLeaveForTip(x))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"])])],40,If))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var hn=Me(Bf,[["render",_f]]),Rf={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}},Ff=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,o){if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const r=Ke(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l,i))}};function Of(){return new Ff(Ze())}var qf={...qa,...Rf};function Hf(e,n,l){return{props:qf,setup(i,o){const r=e,s=(0,t.computed)(()=>({[r]:!0})),c=(0,t.ref)([]),a=Of(),u=async(w,f)=>{try{c.value=await a.load("tree",w,f)}catch(R){console.error(R)}},p=(0,t.shallowRef)({}),d=(0,t.computed)(()=>({...p.value,...i.params??{}}));(Array.isArray(i.data)?!0:i.lazy?!1:pe(i.autoLoad))&&(0,t.watch)([()=>i.data,()=>d.value],([w,f])=>{w&&u(w,f)},{immediate:!0,deep:!0});let $=null;i.lazy&&(typeof i.load=="function"?$=i.load:$=async(w,f)=>{let R={};i.params&&Object.assign(R,i.params),w&&Object.assign(R,w),f(await a.load("treeselect",i.data,R,!0))});const x={label:i.textKey,value:i.valueKey,children:i.childrenKey,isLeaf:i.leafKey,class:i.classKey,disabled:i.disabledKey,...i.props??{}},v=(w={})=>new Promise(async f=>{p.value={...(0,t.toRaw)(w??{})},await u(i.data,d.value),f()}),g=function(w,f){if(typeof i.filterNodeMethod=="function")return i.filterNodeMethod(w,f);if(!i.filterKeyword)return!0;const R=`${f[x.label]}`,L=`${w}`;return R.includes(L)},y=(0,t.ref)();(0,t.watch)(()=>i.filterKeyword,w=>{y.value.filter(w)});const h=w=>(...f)=>{const R=y.value[w];return Reflect.apply(R,y.value,[...f])};return o.expose({loadData:v,filter:h("filter"),updateKeyChildren:h("updateKeyChildren"),getCheckedNodes:h("getCheckedNodes"),setCheckedNodes:h("setCheckedNodes"),getCheckedKeys:h("getCheckedKeys"),setCheckedKeys:h("setCheckedKeys"),setChecked:h("setChecked"),getHalfCheckedNodes:h("getHalfCheckedNodes"),getHalfCheckedKeys:h("getHalfCheckedKeys"),getCurrentKey:h("getCurrentKey"),getCurrentNode:h("getCurrentNode"),setCurrentKey:h("setCurrentKey"),setCurrentNode:h("setCurrentNode"),getNode:h("getNode"),remove:h("remove"),append:h("append"),insertBefore:h("insertBefore"),insertAfter:h("insertAfter")}),()=>{const w={...Je(o.attrs),class:s.value,lazy:i.lazy,props:x,ref:H=>y.value=H};$?w.load=$:w.data=c.value,w["filter-node-method"]=g;const f=[],R=(0,t.h)(T.ElTree,w,o.slots);f.push(R);const L={default:()=>f};return(0,t.h)(l,{...it(i,qa)},L)}}}}var{componentName:jf,create:Kf,scope:Wf}=ce("tree-item"),Yf=Kf(Hf(jf,Wf,Rl)),gn=Yf,Kl={prop:{type:[String]},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 Uf(e,n,l,i="value"){for(let o=0;o<n.length;o++){let r=n[o];if(i==="text"){if(Wl(e,r)===l)return o}else if(i==="item"){if(Ge(l,r))return o}else if(Lo(e,r)===l)return o}return-1}function Wl(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Po(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Lo(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Gf(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Xf(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Qf=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,o,r,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let a=n;typeof s=="function"&&(a=a.filter(s));let u=(l-1)*i,p=u+i;p>a.length&&(p=a.length);const d=a.slice(u,p);return{totalSize:a.length,page:d}}if(typeof n=="function")return await Reflect.apply(n,null,[l,i,o,r]);const c=Ke(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(je(o)&&(0,t.isReactive)(o)&&(o=(0,t.toRaw)(o)),await Reflect.apply(c,null,[n,l,i,o]))}};function Zf(){return new Qf(Ze())}function Jf(e,n,l,i,o,r,s,c,a,u,p){return{props:Kl,emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,m){const{emitEvent:$,exposeApi:x}=St({context:m},d.prop),{slots:v}=m,{toLocaleRefs:g}=(0,Ce.useFoxI18n)(n),y=g(d,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),h=Zf(),w=(0,t.ref)([]),f=(0,t.ref)(0),R=(0,t.ref)(""),L=(0,t.shallowRef)(null),H=(0,t.computed)(()=>{const E={};return d.params&&Object.assign(E,d.params),ye(R.value)||(E[`${d.searchKey}`]=R.value),L.value&&Object.assign(E,L.value),E});let W=!0;const F=async(E,G,X)=>{try{if(k.value===!1)return;let D=null;ye(R.value)||(D=C=>{const j=Wl(d,C);if(typeof j=="string"&&j.includes(R.value))return!0;const te=Po(d,C);return!!(typeof te=="string"&&te.includes(R.value))});const b=await h.load("actionsheet",E,G,X,H.value,W,D??void 0);W=!1,Array.isArray(b)?(w.value=b,f.value=1,k.value=!1):!Array.isArray(b.page)||b.page.length===0?(console.warn("[FoxUI] can not load more data"),k.value=!1):(Reflect.apply([].push,w.value,b.page),f.value=Math.ceil(w.value.length/d.pageSize),(b.totalSize&&w.value.length>=b.totalSize||X<b.page.length)&&(k.value=!1)),B.value=!1}catch(D){console.error("[FoxUI] ActionSheet load more data fail",D),k.value=!0,f.value=0,w.value=[]}setTimeout(()=>{$("loaded-data")},250)},B=(0,t.ref)(!1),k=(0,t.ref)(!0),I=async()=>{if(!d.source){B.value=!1;return}await F(d.source,f.value+1,d.pageSize)};(0,t.watch)(()=>R.value,(E,G)=>{ye(E)&&!ye(G)&&I()}),(0,t.watch)([()=>d.source,()=>d.pageSize,()=>d.params],async([E,G,X])=>{d.source&&I()},{immediate:!0});const z=(0,t.computed)(()=>!d.multiple&&d.isAutoBackFill),N=(0,t.ref)([]);let _=null;const V=(0,t.ref)(d.visible);(0,t.watch)(()=>d.visible,E=>{V.value!==E&&(V.value=E),E?_=[...N.value]:_=null});const K=(E,G)=>{const X=[];return Array.isArray(E)||(E=[E]),E.forEach(D=>{let b=Uf(d,G,D,d.valueType);b!==-1&&X.push(b)}),Ge(X,N.value)?!1:(N.value=X,!0)};(0,t.watch)([()=>d.modelValue,()=>w.value],([E,G],[X,D])=>{K(E,G)&&J(U())},{deep:!0});const U=()=>{const E=[],G=[],X=[];for(let j of N.value){const te=w.value[j];G.push(te);const oe=Wl(d,te);if(X.push(oe),d.valueType==="item")E.push(te);else if(d.valueType==="text")E.push(oe);else{const se=Lo(d,te);E.push(se)}}let D=null,b=null,C=null;return d.multiple?(D=E,b=X,C=G):(D=E[0]??null,b=X[0]??null,C=G[0]??null),{value:D,text:b,item:C}},J=E=>{$("update:modelValue",E.value),$("update:text",E.text),$("change",E.value,E.item,E.text)},A=()=>{_&&(N.value=_)},q=E=>{const G=N.value.indexOf(E);d.multiple?G===-1?N.value.push(E):N.value.splice(G,1):G===-1?N.value=[E]:N.value=[],(z.value||!d.poppable&&!d.showFooter)&&Z()},Q=E=>{V.value=E,$("update:visible",E)},le=()=>{const E=()=>{A(),Q(!1)},G=d.beforeMethod??d.beforeClose;if(typeof G=="function"){const X=G("close");hl(X)?X.then(D=>{D!==!1&&E()}).catch(()=>{E()}):X!==!1&&E()}else E()},Z=()=>{const E=U(),G=()=>{J(E),Q(!1)},X=d.beforeMethod??d.beforeClose;if(typeof X=="function"){const D=X("confirm",E.value,E.item,E.text);hl(D)?D.then(b=>{b!==!1&&G()}).catch(()=>{G()}):D!==!1&&G()}else G()},P=()=>{k.value=!0,f.value=0,w.value=[],d.source&&I()},M=()=>{let E=y.title.value??"";return v.title&&(E=v.title()),(0,t.h)("view",{class:["fox-actionsheet__header"]},[(0,t.h)("view",{class:["fox-actionsheet__header-title"]},[E]),(0,t.h)(a,{class:["fox-actionsheet__header-icon"],onClick:le})])},ae=()=>{let E=null;return v.search?E=v.search():E=(0,t.h)(r,{onSearch:P,placeholder:y.seachPlaceholder.value,disabled:d.disabled,modelValue:R.value,"onUpdate:modelValue":G=>{R.value=G}},{leftin:()=>(0,t.h)(u)}),(0,t.h)("view",{class:["fox-actionsheet__searchbar"]},[E])},ne=(E,G,X,D,b)=>{if(v.optionLabel)return v.optionLabel({text:E,checked:G,disabled:X,subText:D,item:b});const C=[],j=(0,t.h)("view",{class:"fox-actionsheet__list-item-text"},[E]);if(C.push(j),D){const te=(0,t.h)("view",{class:"fox-actionsheet__list-item-subtext"},[D]);C.push(te)}return(0,t.h)("view",{class:["fox-actionsheet__list-item-label"]},C)},ee=(E,G,X,D)=>v.optionIcon?v.optionIcon({checked:E,disabled:G,iconSize:X,item:D}):E?v.checkedIcon?v.checkedIcon({disabled:G,item:D}):(0,t.h)(d.checkedIcon??c,{width:X,height:X,class:["fox-actionsheet__list-item-icon"]}):v.icon?v.icon({disabled:G,item:D}):(0,t.h)(d.icon??s,{width:X,height:X,class:["fox-actionsheet__list-item-icon"]}),O=()=>{const E=[];for(let G=0;G<w.value.length;G++){const X=w.value[G],D=Wl(d,X),b=Po(d,X),C=["fox-actionsheet__list-item"],j={};let te=Gf(d,X),oe=d.iconSize?ge(d.iconSize):null;const se=Xf(d,X,G);se&&(te=te||se.disabled,se.class&&C.push(se.class),se.style&&Object.assign(j,se.style)),te=!!(d.disabled||te);const ue=N.value.includes(G);te&&C.push("is-disabled"),ue&&C.push("is-checked");const he={class:C,style:j,key:`${G}`,onClick:()=>{te||q(G)}};let Se=[];if(v.option)Se.push(v.option({item:X,checked:ue,disabled:te}));else{const Ae=ne(D,ue,te,b,X);Se.push(Ae);const Ye=ee(ue,te,oe,X);Se.push(Ye)}const be=(0,t.h)("view",he,Se);E.push(be)}return E},Y=()=>{let E=[];if(v.buttons)E=v.buttons();else{const G=(0,t.h)(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:Z,disabled:d.disabled},{default:()=>y.confirmText.value});E.push(G)}return(0,t.h)("view",{class:"fox-actionsheet__footer"},[E])};return x({search:async(E=null,G=!0)=>{L.value=E&&(0,t.toRaw)(E),(0,t.triggerRef)(L),G&&(k.value=!0,f.value=0,w.value=[]),(0,t.nextTick)(()=>{I()})},clear:()=>{k.value=!0,f.value=0,w.value=[]},confirm:()=>{Z()},cancel:()=>{le()}}),()=>{const E=[];if(d.showHeader){const te=M();E.push(te)}if(d.showSearchbar){const te=ae();E.push(te)}let G=null;if(v.content)G=v.content();else{const te=O();G=(0,t.h)(i,{hasMore:k.value,loadText:y.loadText.value,noMoreText:y.noMoreText.value,modelValue:B.value,"onUpdate:modelValue":oe=>{B.value=oe},onLoadMore:I},{default:()=>te})}const X={};d.optionsHeight&&(X.height=d.optionsHeight);const D={"fox-actionsheet__list":!0};d.poppable||(D["fox-actionsheet__list--inner"]=!0);const b=(0,t.h)("view",{class:D,style:X},[G]);if(E.push(b),d.showFooter&&!z.value){const te=Y();E.push(te)}const C=(0,t.h)("view",{class:"fox-actionsheet"},E);if(!d.poppable)return C;const j=["fox-actionsheet__popup"];return d.popClass&&j.push(d.popClass),(0,t.h)(l,{popClass:j.join(" "),visible:V.value,closeable:!1,"onUpdate:visible":Q,position:d.position,round:"round",onClickOverlay:le,closeOnClickOverlay:d.closeOnClickOverlay},{default:()=>C})}}}}var e5=/scroll|auto|overlay/i,_o=window;function t5(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function l5(e,n=_o){let l=e;for(;l&&l!==n&&t5(l);){const{overflowY:i}=window.getComputedStyle(l);if(e5.test(i))return l;l=l.parentNode}return n}function Ro(e,n=_o){const l=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(l.value=l5(e.value,n))}),l}var Fo=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,a5={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},containerClass:{type:[String]}};function n5(e,n,l){return{props:a5,emits:["scroll-change","load-more","update:modelValue"],setup(i,{emit:o,slots:r}){const s=e,{toLocaleRefs:c}=(0,Ce.useFoxI18n)(n),a=c(i,["pullText","loadText","noMoreText"]),u=(0,t.ref)(),p=Ro(u),d=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),m=(0,t.computed)(()=>({[s]:!0})),$=(0,t.computed)(()=>{const f=[`${s}__container`];return i.containerClass&&f.push(i.containerClass),f}),x=f=>f?f.offsetTop+x(f.offsetParent):0,v=()=>{let f=0,R=0,L="down";if(p.value==window){const H=Fo();u.value&&(f=x(u.value)+u.value.offsetHeight-H-window.innerHeight),R=H}else{const{scrollHeight:H,clientHeight:W,scrollTop:F}=p.value;f=H-W-F,R=F}return d.beforeScrollTop>R?L="up":L="down",d.beforeScrollTop=R,o("scroll-change",R),f<=i.threshold&&L=="down"},g=()=>{oa(()=>{if(!v()||!i.hasMore||d.isInfiniting)return!1;d.isInfiniting=!0,o("update:modelValue",!0),(0,t.nextTick)(()=>o("load-more"))})},y=()=>{p.value&&p.value.addEventListener("scroll",g,i.useCapture)},h=()=>{p.value&&p.value.removeEventListener("scroll",g,i.useCapture)};(0,t.onMounted)(()=>{y(),i.immediate&&g()}),(0,t.onUnmounted)(()=>{h()});const w=(0,t.ref)(!1);return(0,t.onActivated)(()=>{w.value&&(w.value=!1,y())}),(0,t.onDeactivated)(()=>{w.value=!0,h()}),(0,t.watch)(()=>i.modelValue,f=>{f||(d.isInfiniting=!1)}),()=>{const f=(0,t.h)("view",{class:$.value},[r?.default?.()]),R=[];if(d.isInfiniting){let H=r?.loading?.()??null;if(!H){let F=r?.loadingIcon?.()??null;F||(F=(0,t.h)(l,{class:[`${s}__bottom-box__img`]}));const B=(0,t.h)("view",{class:`${s}__bottom-box__text`},[a.loadText.value]);H=[F,B]}const W=(0,t.h)("view",{class:`${s}__bottom-box`},H);R.push(W)}else if(!i.hasMore){let H=r?.finished?.()??null;H||(H=(0,t.h)("view",{class:`${s}__bottom-tips`},[a.noMoreText.value]),R.push(H))}const L=(0,t.h)("view",{class:`${s}__bottom`},R);return(0,t.h)("view",{class:m.value,ref:u},[f,L])}}}}var{componentName:r5,create:o5,scope:i5}=ce("infinite-loading"),s5=o5(n5(r5,i5,al)),Yl=s5,c5={prop:{type:[String]},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},autoblur:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},u5=(e,n,l)=>({props:c5,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(i,o){const{emitEvent:r}=St({context:o},i.prop),{toLocaleRefs:s}=(0,Ce.useFoxI18n)(n),c=s(i,["placeholder"]),{slots:a}=o,u=(0,t.reactive)({active:!1}),p=(0,t.computed)(()=>({background:i.background})),d=(0,t.computed)(()=>({background:i.inputBackground})),m=B=>{let k=B.target.value;i.maxLength&&k.length>Number(i.maxLength)&&(k=k.slice(0,Number(i.maxLength))),r("update:modelValue",k,B),r("change",k,B)},$=(0,t.ref)({}),x=B=>{let k=B.target.value;u.active=!0,$.value=i.focusStyle,r("focus",k,B)},v=B=>{setTimeout(()=>{u.active=!1},0);let k=B.target.value;i.maxLength&&k.length>Number(i.maxLength)&&(k=k.slice(0,Number(i.maxLength))),$.value={},r("blur",k,B)},g=B=>{r("update:modelValue","",B),r("change","",B),r("clear","")},y=(0,t.computed)(()=>String(i.modelValue).length>0),h=(0,t.computed)(()=>{const B={};return y.value||(B.display="none"),B}),w=B=>{i.autoblur&&W.value?.blur(),(typeof B.cancelable!="boolean"||B.cancelable)&&B.preventDefault(),r("search",i.modelValue)},f=B=>{r("keyup-input",B)},R=B=>{r("click-input",B)},L=B=>{r("click-left-icon",i.modelValue,B)},H=(0,t.computed)(()=>({textAlign:i.inputAlign})),W=(0,t.ref)(null);(0,t.onMounted)(()=>{i.autofocus&&W.value.focus()});const F=()=>{const B=[];if(a.leftin){const N=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:L},[a.leftin()]);B.push(N)}const k=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:W,style:H.value,type:i.inputType,maxlengt:i.maxLength,placeholder:c.placeholder.value,value:i.modelValue,disabled:i.disabled,readonly:i.readonly,onClick:R,onInput:m,onFocus:x,onBlur:v,onkeyup:f}),I=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:w},[k]);B.push(I);const z=[];if(i.clearable){const N=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:h.value,onClick:g},[(0,t.h)(a?.clear?.()??i.clearIcon??l)]);z.push(N)}if(a.rightin){const N=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[a.rightin()]);z.push(N)}if(z.length>0){const N=(0,t.h)("view",{class:`${e}__input-inner-right`},z);B.push(N)}return(0,t.h)("view",{class:[`${e}__search-input`,`${i.shape}`],style:{...d.value,...$.value}},B)};return()=>{const B=[];if(i.label){const I=(0,t.h)("span",{class:`${e}__search-label`},[i.label]);B.push(I)}if(a.leftout){const I=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[a.leftout()]);B.push(I)}const k=F();if(B.push(k),a.rightout){const I=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[a.rightout()]);B.push(I)}return(0,t.h)("view",{class:`${e}`,style:p.value},B)}}}),{componentName:d5,create:f5,scope:m5}=ce("searchbar"),p5=f5(u5(d5,m5,Be.CircleClose)),Ul=p5,{componentName:h5,create:g5,scope:y5}=ce("actionsheet-pane"),b5=g5(Jf(h5,y5,st,Yl,T.ElButton,Ul,Q2,U2,co,A1,!1)),Gl=b5,Oo={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:" "}},S5={...ze,...Te,...Oo,...Kl};function w5(e,n,l,i,o,r){return{props:S5,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(s,c){const{itemTemplateRef:a,innerDisabled:u,disabled:p,innerReadonly:d,readonly:m,browse:$}=Pe(s),{emitEvent:x,exposeApi:v}=Ee({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return m.value},get disabled(){return p.value},get props(){return s},context:c,get templateRefProxy(){return a.value}},s.prop??c.attrs.name),{toLocaleRefs:g}=(0,Ce.useFoxI18n)(n),y=g(s,["placeholder"]),h=(0,t.ref)(!1),w=Ne(s,"modelValue",null,x),f=(0,t.ref)(""),R=(0,t.computed)(()=>Array.isArray(f.value)?f.value.join(s.separator):f.value),L="fox-input-item",H=(0,t.computed)(()=>({[L]:!0,[`${L}__disabled`]:p.value})),W=De((0,t.computed)(()=>s.textAlign),"textAlign"),F=(0,t.computed)(()=>{const q={};return W.value&&(q["text-align"]=W.value),q}),B=(0,t.ref)(!1),k=()=>{B.value=!0},I=q=>{B.value=q},z=q=>{w.value=q,x("update:modelValue",q)},N=(q,Q)=>{x("change",q,Q)},_=q=>{let Q=q.target.value;h.value=!0,x("focus",Q,q)},V=q=>{setTimeout(()=>{h.value=!1},0);let Q=q.target.value;s.maxLength&&Q.length>Number(s.maxLength)&&(Q=Q.slice(0,Number(s.maxLength))),x("blur",Q,q)},K=q=>{f.value=q,x("update:text",q)},U=(0,t.computed)(()=>dt(s.unit)>0),J=(0,t.ref)(),A=(0,t.ref)(null);return v({focus:()=>{J?.value.focus()},blur:()=>{J?.value.blur()},select:()=>{J?.value.select()},search:q=>{A.value&&A.value.search(q)},clear:()=>{A.value&&A.value.clear},confirm:q=>{A.value&&A.value.confirm()},cancel:()=>{A.value&&A.value.cancel()},setDisabled:q=>{u.value=q},setReadonly:q=>{d.value=q}}),()=>{if($.value==="on"&&(m.value||p.value))return i({modelValue:R.value},c.slots);const q={ref:J,class:H.value,style:F.value,type:"text",maxlength:s.maxLength,placeholder:y.placeholder.value,readonly:!0,value:R.value,onClick:k,onFocus:_,onBlur:V},Q={};c.slots.prepend&&(Q.prepend=c.slots.prepend),c.slots.append&&(Q.append=c.slots.append),c.slots.prefix&&(Q.prefix=c.slots.prefix),c.slots.suffix?Q.suffix=c.slots.suffix:U.value?Q.suffix=()=>[s.unit]:Q.suffix=()=>(0,t.h)(T.ElIcon,{},{default:()=>(0,t.h)(Be.ArrowDown)});const le=[],Z=(0,t.h)(T.ElInput,q,Q);le.push(Z);const P={default:()=>le};P.label=c.slots.default,P.prepend=c.slots.prepend,P.append=c.slots.append,P.fixedPreTip=c.slots.fixedPreTip,P.fixedTip=c.slots.fixedTip;const M=it(s,Kl);M.ref=A,M.class=s.actionSheetClass,M.disabled=p.value||m.value,M.visible=B.value,M["onUpdate:visible"]=I,M.modelValue=w.value,M["onUpdate:modelValue"]=z,M.text=f.value,M["onUpdate:text"]=K,M.onChange=N,M.poppable=!0;const ae=(0,t.h)(o,M,{title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons});P.hide=()=>[ae];const ne={...Ve(s,Oo,Kl),ref:a};return s.prop&&(ne.prop=`${s.prop}_item`),l(ne,P)}}}}var{componentName:v5,create:N5,scope:C5}=ce("actionsheet-item"),k5=N5(w5(v5,C5,Le,qe,Gl)),yn=k5,qo={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}},bn={...Ua,...qo,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},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 x5(e){return e===window}var Sn=e=>{const n=(0,t.unref)(e);if(x5(n)){const l=n.innerWidth,i=n.innerHeight;return{top:0,left:0,right:l,bottom:i,width:l,height:i}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Ho=10;function jo(e,n){return e>n&&e>Ho?"horizontal":n>e&&n>Ho?"vertical":""}function rl(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function ol(){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",l=()=>e.direction==="horizontal",i=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:(s=>{if(s.touches){const c=s.touches[0];e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}else{const c=s;e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=jo(e.offsetX,e.offsetY))}),start:(s=>{if(i(),s.touches){const c=s.touches[0];e.startX=c.clientX,e.startY=c.clientY}else{const c=s;e.startX=c.clientX,e.startY=c.clientY}e.startTime=Date.now()}),reset:i,isVertical:n,isHorizontal:l,state:e}}function Ko(){const e=(0,t.ref)(0),n=(0,t.ref)(0),l=(0,t.ref)(0),i=(0,t.ref)(0),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(0),c=(0,t.ref)(0),a=(0,t.ref)(0),u=(0,t.ref)(0),p=(0,t.ref)(""),d=()=>p.value==="vertical",m=()=>p.value==="horizontal",$=()=>{s.value=0,c.value=0,a.value=0,u.value=0,p.value="",l.value=0};return{move:(g=>{if(g.touches){const y=g.touches[0];s.value=y.clientX-e.value,c.value=y.clientY-n.value,o.value=y.clientX,r.value=y.clientY}else{const y=g;s.value=y.clientX-e.value,c.value=y.clientY-n.value,o.value=y.clientX,r.value=y.clientY}a.value=Math.abs(s.value),u.value=Math.abs(c.value),i.value=Date.now()-l.value,p.value||(p.value=jo(a.value,u.value))}),start:(g=>{if($(),g.touches){const y=g.touches[0];e.value=y.clientX,n.value=y.clientY}else{const y=g;e.value=y.clientX,n.value=y.clientY}l.value=Date.now()}),reset:$,startX:e,startY:n,startTime:l,duration:i,moveX:o,moveY:r,deltaX:s,deltaY:c,offsetX:a,offsetY:u,direction:p,isVertical:d,isHorizontal:m}}var Wo=36;function z5(){return Wo}function E5(e){Wo=e}function nt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function wn(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function T5(e,n,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=l),n.children=l}function vt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Yo(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var $5=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function B5(){return new $5(Ze())}function Uo(e,n,l){return!(nt(e,n)!==nt(e,l)||vt(e,n)!==vt(e,l))}function V5(e,n,l,i){if(l.length==0)return[];Array.isArray(n)||(n=[n]);const o=[],r=e.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const c=n[s];let a=l[s].findIndex(u=>{if(r==="text")return nt(e,u)===c;if(r==="value"){let p=vt(e,u);return p==null&&(p=nt(e,u)),p===c}else if(r==="item")return Uo(e,u,c)});if(a==-1)break;o.push(a)}else{let s=l[0];for(let c=0;c<n.length;c++){const a=n[c];let u=s.findIndex(d=>{if(r==="text")return nt(e,d)===a;if(r==="value"){let m=vt(e,d);return m==null&&(m=nt(e,d)),m===a}else if(r==="item")return Uo(e,d,a)});if(u==-1)break;o.push(u);const p=wn(e,s[u]);if(!Array.isArray(p))break;s=p}}return o}function Go(e,n,l,i){if(l.length==0)return null;const o={texts:[],values:[],items:[]},r=e.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const c=l[s];let a=n[s];a<0&&a>=c.length&&(a=0);const u=c[a],p=nt(e,u);if(o.texts.push(p),o.items.push(u),r==="text")o.values.push(p);else if(r==="value"){let d=vt(e,u);d==null&&(d=p),o.values.push(d)}else o.values.push(u)}else{let s=l[0];for(let c=0;c<n.length;c++){let a=n[c];a<0&&a>=s.length&&(a=0);const u=s[a],p=nt(e,u),d=Object.assign({},u);if(d.children=null,o.texts.push(p),o.items.push(d),r==="text")o.values.push(p);else if(r==="value"){let m=vt(e,u);m==null&&(m=p),o.values.push(m)}else o.values.push(d);if(!Array.isArray(u.children))break;s=u.children}}return o}function Xo(e){return{text:e,value:e}}var D5=15,M5=300,A5=200,{create:I5}=ce("picker-column");function P5(e){e.stopPropagation()}function L5(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&P5(e)}var _5={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},...qo},R5=I5({props:_5,emits:["click","change","update:modelValue"],setup(e,{emit:n}){const l=(0,t.computed)(()=>({"fox-picker__list":!0})),i=(0,t.computed)(()=>({height:`${ve(e.visibleItemCount)*+e.itemHeight}px`})),o=(0,t.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=(0,t.computed)(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=H=>{const W=H+1;return W>=d.currIndex+8||W<=d.currIndex-8},c=(0,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`})),a=H=>{const W=H+1;return`transform: rotate3d(1, 0, 0, ${-d.rotation*W}deg) translate3d(0px, 0px, 104px)`},u=(0,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)`})),p=(0,t.ref)(null),d=(0,t.reactive)({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),m=H=>nt(e,H),$=H=>vt(e,H),x=Ko(),v=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},g=(H,W=!1,F=!1)=>{if(d.currIndex=H,W){const B=()=>{d.moving=!1,n("update:modelValue",H),n("change",H)};F?d.transitionEndTrigger=B:B()}},y=(H,W,F)=>{let B=H+d.startDistance;if(W==="end"){const k=-(e.source.length-1)*e.itemHeight;B<k&&(B=k),B>0&&(B=0);let I=Math.abs(Math.round(-B/e.itemHeight));const z=-I*e.itemHeight,N=`${(I+1)*d.rotation}deg`;g(I,!0,F?F>0:!1),h(z,W,F,N)}else{let k=(-B/e.itemHeight+1)*d.rotation;const I=(e.source.length+1)*d.rotation,z=0;if(k=Math.min(Math.max(k,z),I),e.threeDimensional&&(k<z||k>I))return;h(B,null,void 0,`${k}deg`)}},h=(H=0,W,F=A5,B)=>{W==="end"?d.scrollTime=F:d.scrollTime=0,d.deg=B,d.scrollDistance=H},w=(H,W)=>(H=Math.abs(H/W)/.003*(H<0?-1:1),H),f=H=>{e.readonly||(d.startDistance=d.scrollDistance,x.start(H),d.transitionEndTrigger=null)},R=H=>{e.readonly||(d.moving=!0,x.move(H),x.isVertical()&&(d.moving=!0,L5(H,!0)),y(x.deltaY.value,"",0))},L=()=>{if(e.readonly)return;const H=x.deltaY.value,W=x.duration.value;W<M5&&Math.abs(H)>D5?y(w(H,W),"end",ve(e.swipeDuration)):y(H,"end",0)};return(0,t.watch)(()=>e.modelValue,H=>{const W=d.currIndex-H;W!==0&&(d.currIndex=H,d.startDistance=d.scrollDistance,y(W*e.itemHeight,"",0))}),(0,t.watch)(()=>e.source,H=>{if(d.currIndex>=H.length){const W=(H.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,y(W,"end",0)}}),(0,t.watch)(()=>e.visible,H=>{H===!1&&v()}),(0,t.onMounted)(()=>{y(-e.modelValue*e.itemHeight)}),{classes:l,styles:i,contentClasses:o,itemText:m,itemValue:$,...(0,t.toRefs)(d),roller:p,getItemText:nt,onTouchStart:f,onTouchMove:R,onTouchEnd:L,isHidden:s,setRollerStyle:a,touchRollerStyle:c,touchTileStyle:u,stopMomentum:v}}}),F5={key:1,class:"fox-picker__item-tile"};function O5(e,n,l,i,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:n[4]||(n[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[(0,t.createElementVNode)("view",{ref:"roller",class:(0,t.normalizeClass)(e.contentClasses),style:(0,t.normalizeStyle)(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.source,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${c}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(c)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(c))},(0,t.toDisplayString)(e.itemText(s)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",F5,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var q5=Me(R5,[["render",O5]]),{create:H5,componentName:j5,scope:K5}=ce("picker"),W5=H5({components:{PickerColumn:q5,Popup:st},props:bn,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:l,t:i}=(0,Ce.useFoxI18n)(K5),o=l(e,["title","cancelText","clearText","confirmText"]),r=(0,t.ref)(null),s=(0,t.ref)(z5());(0,t.watch)(()=>e.visible,I=>{I&&s.value<=0&&setTimeout(()=>{r.value&&(s.value=Sn(r.value).height,E5(s.value))},50)});const c=(0,t.computed)(()=>({[j5]:!0})),a=B5(),u=(0,t.ref)("singleColumn"),p=(0,t.ref)([]),d=(0,t.computed)(()=>{if(typeof e.sourceFilter=="function"){const I=[];for(let z=0;z<p.value.length;z++){const N=p.value[z];if(Array.isArray(N)){const _=N.filter(e.sourceFilter);I.push(_)}}return I}return p.value});(0,t.watch)([()=>e.source,()=>e.params],async([I,z])=>{if(I){let N=await a.load("select",I,z);if(N.length>0){let _=N[0];if(Array.isArray(_)){if(typeof _[0]=="string"){let V=N,K=[];V.forEach(U=>{let J=U.map(A=>Xo(A));K.push(J)}),p.value=K}else p.value=N;u.value="multipleColumn"}else if(typeof _=="string"){let V=N,K=[],U=V.map(J=>Xo(J));K.push(U),p.value=K,u.value="singleColumn"}else{const V=wn(e,_);Array.isArray(V)?(u.value="cascade",p.value=[N]):(u.value="singleColumn",p.value=[N])}}else p.value=[]}},{immediate:!0});const m=(0,t.ref)([]),$=(0,t.ref)(e.modelValue),x=(0,t.ref)([]),v=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>d.value],([I,z])=>{let N=V5(e,I,z,u.value);if(!Ge(N,v.value)){v.value=N;let _=Go(e,N,z,u.value);_&&(m.value=_.texts,n("update:text",m.value))}});const g=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,I=>{g.value=I});const y=I=>{let z=Yo(e,I);return je(z)?z.defaultIndex??0:0},h=I=>{if(e.readonly===!0)return!0;let z=Yo(e,I);return je(z)?z.readonly??!1:!1},w=(I,z)=>{let N=v.value;N[I]=z;for(let V=0;V<I;V++)N[V]==null&&(N[V]=y(V));if(u.value==="cascade")for(let V=I+1;V<R.value.length;V++){let K=y(V);V<N.length?N[V]=K:N.push(K)}else for(let V=N.length;V<R.value.length;V++){let K=y(V);N.push(K)}v.value=N;let _=Go(e,N,d.value,u.value);_&&(m.value=_.texts,$.value=_.values,x.value=_.items)},f=I=>I<v.value.length?v.value[I]:y(I),R=(0,t.computed)(()=>{if(d.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return d.value;let I=[],z=0,N=d.value[0],_=0;for(;;){const V=N.map(J=>{let A=Object.assign({},J);return T5(e,A,null),A});I.push(V),z>=v.value.length?_=0:_=v.value[z],(_<0||_>=N.length)&&(_=0);let K=N[_];const U=wn(e,K);if(!Array.isArray(U))break;N=U,z++}return I}),L=(0,t.computed)(()=>ve(+e.visibleItemCount-1)/2*s.value),H=(I=!1)=>{if(e.readonly===!0){I&&n("update:visible",!1);return}let z=d.value.length-1;for(;z>=0&&!(v.value[z]===null||v.value[z]===void 0);z--);if(z>=0&&w(z,0),u.value==="singleColumn"){let N=$.value.length>0?$.value[0]:"",_=x.value.length>0?x.value[0]:null;n("update:modelValue",N),n("update:text",m.value),n("change",N,_),I&&(n("confirm",N),n("update:visible",!1))}else n("update:modelValue",$.value),n("update:text",m.value),n("change",$.value,x.value),I&&(n("confirm",$.value),n("update:visible",!1))};return{...o,pickerLineRef:r,classes:c,columns:R,dataType:u,show:g,itemHeight:s,top:L,isReadonly:h,getIndex:f,change:(I,z)=>{w(I,z),e.isAutoBackFill&&H(!g.value)},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{H(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}u.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Y5={class:"fox-picker__bar"},U5={class:"fox-picker__title"},G5={class:"fox-picker__bar__action"},X5={class:"fox-picker__column"};function Q5(e,n,l,i,o,r){const s=(0,t.resolveComponent)("PickerColumn"),c=(0,t.resolveComponent)("Popup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(c,{position:"bottom","pop-class":"fox-picker__popup",visible:e.show,"onUpdate:visible":n[3]||(n[3]=a=>e.show=a),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Y5,[(0,t.createElementVNode)("view",U5,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",G5,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...a)=>e.close&&e.close(...a))},(0,t.toDisplayString)(e.cancelText),1),(0,t.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...a)=>e.confirm&&e.confirm(...a))},(0,t.toDisplayString)(e.confirmText),1),e.clearText?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...a)=>e.clear&&e.clear(...a))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])]),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",X5,[(0,t.createElementVNode)("view",{class:"fox-picker__mask",style:(0,t.normalizeStyle)({backgroundSize:`100% ${e.top}px`})},null,4),(0,t.createElementVNode)("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:(0,t.normalizeStyle)({top:` ${e.top}px`})},null,4),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:u,class:"fox-picker__columnitem"},[(0,t.createVNode)(s,{visible:e.show,source:a,readonly:e.isReadonly(u),"column-index":u,modelValue:e.getIndex(u),"onUpdate:modelValue":p=>e.change(u,p),"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))]),(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}var Xl=Me(W5,[["render",Q5]]),Qo={...bn,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 Z5(e,n,l,i){return{props:{...ze,...Te,...Qo},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:p,browse:d}=Pe(o),{emitEvent:m,exposeApi:$}=Ee({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return a.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:x}=(0,Ce.useFoxI18n)(n),v=x(o,["placeholder"]),g=(0,t.ref)(!1),y=e,h=(0,t.computed)(()=>({[y]:!0})),w=De((0,t.computed)(()=>o.textAlign),"textAlign"),f=(0,t.computed)(()=>({textAlign:w.value??"right"})),R=Ne(o,"modelValue",null,m),L=(0,t.ref)([]),H=(0,t.computed)(()=>Array.isArray(L.value)?L.value.join(" "):L.value),W=(0,t.ref)(!1),F=()=>{W.value=!0},B=q=>{W.value=q},k=q=>{R.value=q,m("update:modelValue",q)},I=q=>{L.value=q,Array.isArray(q)&&q.length===0?m("update:text",q[0]):m("update:text",q)},z=(q,Q)=>{m("change",q,Q)};let N=Ne(o,"hintText"),_=(0,t.ref)(!1);const V=q=>{let Q=q.target.value;g.value=!0,ye(N.value)||(_.value=!0),m("focus",Q,q)},K=q=>{setTimeout(()=>{_.value&&(_.value=!1),g.value=!1},0);let Q=q.target.value;o.maxLength&&Q.length>Number(o.maxLength)&&(Q=Q.slice(0,Number(o.maxLength))),W.value?setTimeout(()=>{m("blur",Q,q)},50):m("blur",Q,q)},U=()=>{m("clear","")},J=(0,t.computed)(()=>dt(o.unit)>0),A=(0,t.ref)();return $({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},select:()=>{A?.value.select()},setDisabled:q=>{c.value=q},setReadonly:q=>{u.value=q}}),()=>{if(d.value==="on"&&(p.value||a.value))return i({modelValue:H.value},r.slots);const q={class:h.value,style:f.value,type:"text",maxlength:o.maxLength,placeholder:v.placeholder.value,clearable:pe(o.clearable),readonly:!0,value:H.value,onClick:F,onFocus:V,onBlur:K},Q={};r.slots.prepend&&(Q.prepend=r.slots.prepend),r.slots.append&&(Q.append=r.slots.append),r.slots.prefix&&(Q.prefix=r.slots.prefix),r.slots.suffix?Q.suffix=r.slots.suffix:J.value?Q.suffix=()=>[o.unit]:Q.suffix=()=>(0,t.h)(T.ElIcon,{},{default:()=>(0,t.h)(Be.ArrowDown)});const le=[],Z=(0,t.h)(T.ElInput,q,Q);le.push(Z);const P={default:()=>le};P.label=r.slots.default,P.fixedPreTip=r.slots.fixedPreTip,P.fixedTip=r.slots.fixedTip;const M=it(o,bn);M.disabled=!1,M.readonly=a.value||p.value,M.visible=W.value,M["onUpdate:visible"]=B,M.modelValue=R.value,M["onUpdate:modelValue"]=k,M.text=L.value,M["onUpdate:text"]=I,M.onClear=U,M.onChange=z;const ae=(0,t.h)(Xl,M);P.hide=()=>[ae];const ne={...Ve(o,Qo),ref:s,hintText:N.value,hintVisible:_.value};return o.prop&&(ne.prop=`${o.prop}_item`),l(ne,P)}}}}var{componentName:J5,create:e6,scope:t6}=ce("picker-item"),l6=e6(Z5(J5,t6,Le,qe)),vn=l6,a6={...ze,...Te,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}};function n6(e,n,l,i){return{props:a6,emits:["click","focus","blur","change"],setup(o,r){const{itemTemplateRef:s,disabled:c,readonly:a}=Pe(o),{emitEvent:u,exposeApi:p}=Ee({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return a.value},get disabled(){return c.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:d}=(0,Ce.useFoxI18n)(n),m=d(o,["placeholder"]),$=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,z=>{$.value=z,u("change",z)});const x=(0,t.computed)(()=>({[`${e}`]:!0})),v=(0,t.computed)(()=>({[`${e}__main`]:!0,[`${e}__placeholder`]:!c.value&&ye($.value),"is-disabled":c.value,"is-readonly":a.value})),g=De((0,t.computed)(()=>o.textAlign),"textAlign"),y=(0,t.computed)(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),h=(0,t.computed)(()=>!ye(o.modelValue)||r.slots.main?!0:!!ye(o.desc)),w=(0,t.computed)(()=>ye($.value)?m.placeholder.value:$.value),f=(0,t.computed)(()=>!ye(o.desc)||r.slots.sub),R=(0,t.computed)(()=>({[`${e}__sub`]:!0})),L=(0,t.computed)(()=>{const z={};return g.value&&(z["text-align"]=g.value),z}),H=()=>{u("focus",$.value)},W=()=>{u("blur",$.value)},F=(0,t.computed)(()=>({[`${e}__append`]:!0,"is-disabled":c.value,"is-readonly":a.value})),B=z=>{c.value==!0||a.value==!0||u("click")},k=(0,t.computed)(()=>o.icon??l),I=(0,t.computed)(()=>({action:!0}));return p(),()=>{const z=[];if(typeof r.slots.content=="function"){const q=r.slots.content();z.push(q)}else{const q=[];if(h.value){const le={tabIndex:0,class:v.value,style:y.value,onFocus:H,onBlur:W};let Z=null;r.slots.main?Z=(0,t.h)("view",le,[r.slots.main(w.value)]):Z=(0,t.h)("view",le,[w.value]),q.push(Z)}if(f.value){const le={tabIndex:0,class:R.value,style:L.value,onFocus:H,onBlur:W};let Z=null;r.slots.sub?Z=(0,t.h)("view",le,[r.slots.sub(o.desc)]):Z=(0,t.h)("view",le,[o.desc]),q.push(Z)}const Q=(0,t.h)("view",{class:x.value,onClick:B},q);z.push(Q)}const N=[],_=ge(o.iconSize);let V=r.slots.icon;if(!V){const q={width:_,height:_,class:["action-icon"]};V=(0,t.h)(k.value,q)}const K=(0,t.h)("view",{class:I.value,onClick:B},{default:()=>[V]});N.push(K);const U=(0,t.h)("view",{class:F.value},{default:()=>N});z.push(U);const J={default:()=>z};J.label=r.slots.default,J.prepend=r.slots.prepend,J.append=r.slots.append,J.fixedPreTip=r.slots.fixedPreTip,J.fixedTip=r.slots.fixedTip;const A={...it(o,Te,ze),ref:s};return o.prop&&(A.prop=`${o.prop}_item`),i(A,J)}}}}var{componentName:r6,create:o6,scope:i6}=ce("link-item"),s6=o6(n6(r6,i6,Be.ArrowRight,Le)),Nn=s6,Cn={prop:{type:[String]},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}},Zo=(e,n)=>n[e.textKey],il=(e,n)=>n[e.valueKey],c6=(e,n)=>n[e.visibleKey],Jo=(e,n)=>n[e.disabledKey],u6=(e,n)=>{const l=n[e.doitKey];return pe(l)},d6=(e,n)=>{const l=n[e.numKey];return l==null?null:ve(n[l])},ei=(e,n,l)=>{const i=e.itemOptions;return typeof i=="function"?i(n,l):i||null};function f6(e,n,l,i,o,r=!1){return{props:Cn,emits:["update:modelValue","change","click"],setup(s,c){const{emitEvent:a,exposeApi:u}=St({context:c},s.prop),{slots:p}=c,d=(0,t.computed)(()=>{const b={};return b[`${e}`]=!0,b}),m=(0,t.computed)(()=>{const b={};return b[`${e}__titles`]=!0,b[`${s.direction}`]=!0,s.align&&(b[`${s.align}`]=!0),s.scroll===!0&&(b.scrollable=!0),s.shape&&(b[`${s.shape}`]=!0),s.showScrollArrow?(ne.value===!0&&(b["has-left-scroll-arrow "]=!0),ee.value===!0&&(b["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(b["has-navigation"]=!0),b}),$=(0,t.computed)(()=>({})),x=(0,t.computed)(()=>{if(!s.gutter)return 0;const b=ge(s.gutter);return b<=0?0:b}),v=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,b=>{v.value!==b&&(v.value=b,q(!1))});const g=(0,t.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),y=(0,t.computed)(()=>{const b={};return w.value||(b.display="none"),b}),h=(0,t.ref)(),w=(0,t.ref)(!1),f=()=>{R(!w.value)},R=b=>{const C=b;C?(w.value=C,setTimeout(()=>{g.value["fox-tabs-bar__popup--show"]=!0,g.value["fox-tabs-bar__popup--hide"]=!1},0)):(g.value["fox-tabs-bar__popup--show"]=!1,g.value["fox-tabs-bar__popup--hide"]=!0,h.value?h.value.addEventListener("transitionend",()=>{w.value=!1},{once:!0}):setTimeout(()=>{w.value=!1},0))},L=(0,t.ref)(),H=(0,t.ref)([]),W=(b,C)=>{H.value[C]=b},F=b=>C=>{W(C,b)},B=(b,C)=>{const j=L.value,te=H.value;if(!j||!te||!te[b])return;const oe=te[b];let se=0;s.direction==="vertical"?se=oe.offsetTop-(j.offsetHeight-oe.offsetHeight)/2:se=oe.offsetLeft-(j.offsetWidth-oe.offsetWidth)/2,k(j,se,C?0:.3,s.direction)},k=(b,C,j,te)=>{let oe=0;const se=te==="horizontal"?b.scrollLeft:b.scrollTop,ue=j===0?1:Math.round(j*1e3/16);function he(){te==="horizontal"?b.scrollLeft+=(C-se)/ue:b.scrollTop+=(C-se)/ue,++oe<ue&&ga(he)}he()},I=(b,C)=>{const j=il(s,b),te={};return te[`${e}__titles-item`]=!0,te.disabled=Jo(s,b),te.active=j===v.value,s.shape&&(te[`${s.shape}`]=!0),s.ellipsis&&(te.ellipsis=!0),C&&(C.class&&(te[`${C.class}`]=!0),C.disabled===!0&&(te.disabled=C.disabled)),te},z=(b,C)=>{const j={};if(x.value>0){const te=Math.abs(x.value/2);s.direction==="vertical"?(j["margin-top"]=`${te}px`,j["margin-bottom"]=`${te}px`):(j["margin-left"]=`${te}px`,j["margin-right"]=`${te}px`)}return C&&C.style&&Object.assign(j,C.style),j},N=(b,C)=>`${il(s,b)??C}`,_=(b,C)=>{const j=il(s,b),te={};te[`${e}__popup-item`]=!0,te.disabled=Jo(s,b),te.active=j===v.value,s.shape&&(te[`${s.shape}`]=!0);const oe=ei(s,b,C);return oe&&oe.disabled===!0&&(te.disabled=oe.disabled),te},V=(0,t.computed)(()=>(s.data??[]).filter(b=>c6(s,b)!==!1)),K=(b,C)=>{const j=il(s,b);if(a("click",b,C),v.value==j)return;const te=()=>{v.value=j,s.scroll&&B(C,!1),a("update:modelValue",j),a("change",b,C)};if(typeof s.beforeChange=="function"){const oe=s.beforeChange(b,C);hl(oe)?oe.then(se=>{se!==!1&&te()}).catch(()=>{te()}):oe!==!1&&te()}else te()},U=(b,C)=>function(){K(b,C)},J=(b,C)=>{K(b,C),R(!1)},A=(b,C)=>function(){J(b,C)},q=b=>{if(!Array.isArray(s.data)||!s.scroll)return;ae()&&G();const C=s.data.findIndex(j=>il(s,j)===v.value);C!==-1&&B(C,b)},Q=()=>{ae()||X()};(0,t.watch)(()=>s.data,()=>{setTimeout(q,0)}),(0,t.onMounted)(()=>{q(!0)}),(0,t.onBeforeUnmount)(()=>{Q()}),u({});const le=(b,C)=>{if(p.item)return p.item({item:b,index:C});const j=ei(s,b,C),te=[];if(p.text){const se=p.text({item:b,index:C});te.push(se)}else{const se=[];if(j?.doit===!0||u6(s,b)){const be=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});se.push(be)}const ue=j?.num??d6(s,b);if(ue){let be="";const Ae=ve(ue);Ae>=100?be="99+":be=`${Ae}`;const Ye=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[be]);se.push(Ye)}const he={class:`${e}__titles-item-text`};se.push(Zo(s,b));const Se=(0,t.h)("view",he,se);te.push(Se)}const oe=(0,t.h)("view",{class:`${e}__titles-item-line`});return te.push(oe),(0,t.h)("view",{ref:F(C),class:I(b,j),style:z(b,j),key:N(b,C),onClick:U(b,C)},te)},Z=()=>{const b=p.default?p.default():[];if(b.length===0)for(let C=0;C<V.value.length;C++){const j=V.value[C],te=le(j,C);b.push(te)}return(0,t.h)("view",{ref:L,class:m.value,style:$.value},b)},P=()=>{let b=null;return p.navigation?b=p.navigation():b=(0,t.h)(l),(0,t.h)("view",{class:`${e}__navigation`,onClick:f},[b])},M=()=>{const b=[];for(let C=0;C<V.value.length;C++){const j=V.value[C];let te=null;p.popupItem?te=p.popupItem({item:j,index:C}):te=Zo(s,j);const oe=(0,t.h)("view",{class:_(j,C),key:N(j,C),onClick:A(j,C)},[te]);b.push(oe)}return(0,t.h)("view",{class:g.value,style:y.value},b)},ae=()=>s.showScrollArrow&&s.direction=="horizontal",ne=(0,t.ref)(!1),ee=(0,t.ref)(!1),O=b=>{const C=L.value,j=H.value;if(!(!C||!j))if(b==="left"){const te=C.scrollLeft;let oe=te;for(let se=0;se<j.length;se++){const ue=j[se].offsetLeft;if(te-ue<0)break;oe=ue}k(C,oe,.3,"horizontal")}else{const te=C.scrollLeft;let oe=te,se=C.offsetWidth;for(let ue=j.length-1;ue>=0;ue--){const he=j[ue].offsetLeft+j[ue].offsetWidth;if(he-te<C.offsetWidth){oe+=se-he;break}se=he}k(C,oe,.3,"horizontal")}},Y=Ue(()=>{const b=L.value;if(!b)return;let C=b.scrollLeft>0;C!==ne.value&&(ne.value=C);let j=b.scrollWidth-b.scrollLeft>b.offsetWidth;j!==ee.value&&(ee.value=j)},50),E=b=>{Y()},G=()=>{const b=L.value;b&&(Y(),b.addEventListener("scroll",E))},X=()=>{const b=L.value;b&&b.removeEventListener("scroll",E)},D=b=>{if(b==="left"&&ne.value!==!0||b==="right"&&ee.value!==!0)return null;let C=null;return b==="left"?p.leftArrow?C=p.leftArrow():C=(0,t.h)(i):p.rightArrow?C=p.rightArrow():C=(0,t.h)(o),(0,t.h)("view",{class:[`${e}__scroll-arrow`,b],onClick:()=>{O(b)}},[C])};return()=>{const b=[],C=Z();if(b.push(C),ae()){const j=D("left");j&&b.push(j);const te=D("right");te&&b.push(te)}else if(s.showQuickNavigation){const j=P();b.push(j);const te=M();b.push(te)}return(0,t.h)("view",{class:d.value},b)}}}}var{create:m6,componentName:p6,scope:h6}=ce("tabs-bar"),g6=m6(f6(p6,h6,xu,ju,O1,!1)),sl=g6,ti=Symbol("TabsStatesKey"),kn={prop:{type:[String]},modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},transition:{type:[Boolean],default:()=>!0},height:{type:[String,Number]},width:{type:[String,Number]}},y6=15,b6=300,S6=200;function w6(e,n,l=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*l}function li(e,n=0,l,i,o=S6){l==="end"?e.style.transition=`transform ${o}ms linear`:e.style.transition="transform 0ms linear",i==="horizontal"?e.style.transform=`translate3d(${n}px, 0, 0)`:e.style.transform=`translate3d(0, ${n}px, 0)`}var v6=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(e,n,l,i=1){this.onStart=e,this.onMove=n,this.onEnd=l,this.momentumReduceRatio=i,this.isTouch=rl()}open(e){this.el=e;const n=ol(),l=(i,o,r)=>{const s={delta:i,direction:o,type:r};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=i=>{if(this.moving)return;n.start(i),this.transitionEndTrigger=()=>{e.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,e.removeEventListener("transitionend",this.transitionend),e.addEventListener("transitionend",this.transitionend),e.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.addEventListener("touchcancel",this.touchend);const o={delta:0,type:"start",direction:this.direction};this.onStart(o)},this.touchmove=i=>{if(!this.moving)return;n.move(i);let o=0;if(this.direction==="horizontal"){if(n.isVertical())return;o=n.state.deltaX}else{if(n.isHorizontal())return;o=n.state.deltaY}l(o,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;e.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.removeEventListener("touchcancel",this.touchend);let i=0;if(this.direction==="horizontal"){if(n.isVertical()){this.moving=!1;return}i=n.state.deltaX}else{if(n.isHorizontal()){this.moving=!1;return}i=n.state.deltaY}const o=n.state.duration;o<b6&&Math.abs(i)>y6?(i=w6(i,o,this.momentumReduceRatio),l(i,this.direction,"end")):l(i,this.direction,"end")},e.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const e=this.el;this.transitionend&&e.addEventListener("transitionend",this.transitionend),this.touchstart&&e.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&e.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&e.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&e.addEventListener("touchcancel",this.touchcancel),this.el=null}};function N6(e,n,l,i=1){return new v6(e,n,l,i)}function C6(e,n,l=!1){return{props:kn,emits:["update:modelValue","change"],setup(i,o){const{emitEvent:r,exposeApi:s}=St({context:o},i.prop),{slots:c}=o,a=(0,t.shallowRef)([]),u={current:(0,t.ref)(i.modelValue??""),direction:(0,t.ref)(i.direction),transition:i.transition,tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:F=>{const B={name:F};u.current.value===F&&(B.loaded=!0),a.value.push(B),(0,t.triggerRef)(a)},remove:F=>{const B=a.value.findIndex(k=>k.name===F);B!==-1&&a.value.splice(B,1)},isLoaded:F=>{if(!i.lazy)return!0;const B=a.value.findIndex(k=>k.name===F);return B!==-1?u.current.value?a.value[B].loaded??!1:B===0:!1}};(0,t.provide)(ti,u);const p=F=>{const B=a.value.findIndex(k=>k.name===F);B!==-1&&(a.value[B].loaded=!0,(0,t.triggerRef)(a))};(0,t.watch)([()=>i.modelValue,()=>i.direction],([F,B])=>{u.current.value!==F&&(u.current.value=F??"",p(F??"")),u.direction.value!==B&&(u.direction.value=B)});const d=(0,t.ref)(null),m=(0,t.ref)(null),$=(0,t.computed)(()=>({[e]:!0,[`${i.direction}`]:!0})),x=(0,t.computed)(()=>{const F={};if(i.width){const B=xe(i.width);B&&(F.width=B)}if(i.height){const B=xe(i.height);B&&(F.height=B)}return F});let v=!0;const g=(0,t.computed)(()=>{const F={};if(i.transition===!1)return F;const B=a.value.length;if(B<=0)return F;const k=a.value.findIndex(I=>I.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(F.height=`${B*u.tabHeight.value}px`,k!==-1&&(F.transform=`translate(0, -${k*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(F.width=`${B*u.tabWidth.value}px`,k!==-1&&(F.transform=`translate(-${k*u.tabWidth.value}px, 0)`)),v&&(v=!1,F.transition="transform 0s ease"),F}),y={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},h=F=>{const B=a.value.length,k=a.value.findIndex(I=>I.name===u.current.value);y.moved=0,F.direction==="vertical"?(y.min=-1*(u.tabHeight.value*(B-1)+u.tabHeight.value/4),y.max=u.tabHeight.value/4,y.start=-k*u.tabHeight.value,y.itemDistance=u.tabHeight.value):(y.min=-1*(u.tabWidth.value*(B-1)+u.tabWidth.value/4),y.max=u.tabWidth.value/4,y.start=-k*u.tabWidth.value,y.itemDistance=u.tabWidth.value)},w=F=>{const B=m.value;if(!B)return;let k=y.start+F.delta;if(k>y.max?k=y.max:k<y.min&&(k=y.min),F.type==="move")li(B,k,"move",F.direction,300);else if(F.type==="end"){let I=Math.floor(Math.abs(k)*1/y.itemDistance);const z=Math.abs(k)%y.itemDistance;y.start>k?z>=y.itemDistance*y.triggerAutoMoveRatio&&(I+=1):z>y.itemDistance-y.itemDistance*y.triggerAutoMoveRatio&&(I+=1),k=-1*I*y.itemDistance,li(B,k,"end",F.direction,300),y.moved=k;const N=a.value[I].name;u.current.value=N??"",p(N??""),r("update:modelValue",N)}},f=()=>{},R=()=>{if(!d.value)return;const F=Bl(d.value);u.tabWidth.value=F.width,u.tabHeight.value=F.height},L=Nr(R,250);let H=null,W=null;return(0,t.onMounted)(()=>{i.transition!==!1&&d.value&&(R(),window.ResizeObserver&&(W=new window.ResizeObserver(L),W.observe(d.value)),i.draggle&&(H=N6(h,w,f),H.open(m.value)))}),(0,t.onBeforeUnmount)(()=>{W&&(W.disconnect(),W=null),H&&H.close()}),s({doLayout(){R()}}),()=>{const F=(0,t.h)("view",{class:`${e}__panes`,style:g.value,ref:m},[c?.default?.()]);return(0,t.h)("view",{class:$.value,style:x.value,ref:d},[F])}}}}var{create:k6,componentName:x6,scope:z6}=ce("tabs-container"),E6=k6(C6(x6,z6,!1)),cl=E6,T6={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 $6(e,n,l){return{props:T6,setup(i,{emit:o,slots:r}){const s=(0,t.inject)(ti);(0,t.onMounted)(()=>{s.add(i.paneKey)}),(0,t.onBeforeUnmount)(()=>{s.remove(i.paneKey)});const c=(0,t.computed)(()=>{const p=[e];return s.direction.value==="vertical"?p.push("is-vertical"):p.push("is-horizontal"),s.transition===!1?p.push("is-no-transition"):p.push("is-transition"),p}),a=(0,t.computed)(()=>{const p={};return s.transition===!1?(s.current.value!==i.paneKey&&(p.display="none"),p):(s.direction.value==="vertical"&&s.tabHeight.value>0?p.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(p.width=`${s.tabWidth.value}px`),p)}),u=(0,t.computed)(()=>i.loaded!=null?pe(i.loaded):s.isLoaded(i.paneKey));return()=>{let p=[];if(u.value)p=r?.default?.()??[];else if(r.empty)p=r.empty();else{const d={class:`${e}__empty-icon`},m=(0,t.h)(i.emptyIcon??l,d),$=(0,t.h)("view",{class:`${e}__empty-text`},[i.emptyText??"Loading"]),x=(0,t.h)("view",{class:`${e}__empty`},[m,$]);p.push(x)}return(0,t.h)("view",{class:c.value,style:a.value,prop:i.paneKey},p)}}}}var{create:B6,componentName:V6,scope:D6}=ce("tabs-pane"),M6=B6($6(V6,D6,al)),Ql=M6,A6={...Cn,...kn,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function I6(e,n,l,i){return{props:A6,emits:["update:modelValue","change"],setup(o,r){const{emitEvent:s,exposeApi:c}=St({context:r},o.prop),{slots:a}=r,u=e,p=(0,t.computed)(()=>{const y=[`${u}`];return o.direction==="vertical"?y.push("vertical-tabbar"):y.push("horizontal-tabbar"),y}),d=(0,t.computed)(()=>{const y={};if(o.width){const h=xe(o.width);h&&(y.width=h)}if(o.height){const h=xe(o.height);h&&(y.height=h)}return y}),m=(0,t.computed)(()=>[`${u}__bar`]),$=(0,t.computed)(()=>[`${u}__container`]),x=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,y=>{x.value!==y&&(x.value=y)});const v=y=>{s("change",y)},g=y=>{x.value!==y&&(x.value=y,s("update:modelValue",y))};return c({}),()=>{const{getChildren:y}=Zt(a.default),h=y(),w=[];if(Array.isArray(o.data))w.push(...o.data);else for(let B=0;B<h.length;B++){const k=h[B].props??{},I={text:k.label??"",value:k["pane-key"]??k.paneKey??""};w.push(I)}const f={};for(let B in a)B!=="default"&&(f[B]=a[B]);const R=it(o,Cn);Object.assign(R,{prop:null,data:w,class:m.value,modelValue:x.value,direction:o.direction,onChange:v,"onUpdate:modelValue":g});const L=(0,t.h)(l,R,f),H={default:()=>h},W=it(o,kn);Object.assign(W,{prop:null,class:$.value,modelValue:x.value,onChange:v,"onUpdate:modelValue":g});const F=(0,t.h)(i,W,H);return(0,t.h)("view",{class:p.value,style:d.value},[L,F])}}}}var{create:P6,componentName:L6,scope:_6}=ce("tabs-frame"),R6=P6(I6(L6,_6,sl,cl)),xn=R6,F6={prop:{type:[String]},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 O6(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ai(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ni(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function q6(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function zn(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function ri(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function oi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function En(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var H6=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(Array.isArray(n))return n;if(typeof n=="function")return await Reflect.apply(n,null,[l]);const i=Ke(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(je(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await Reflect.apply(i,null,[n,l]))}};function j6(){return new H6(Ze())}function K6(e,n,l,i){return{props:F6,emits:["update:modelValue","change","loaded-data","click"],setup(o,r){const{emitEvent:s,exposeApi:c}=St({context:r},o.prop),a=e,u=j6(),p=(0,t.ref)([]),d=(0,t.computed)(()=>p.value.filter(Z=>q6(o,Z)!==!1)),m=(0,t.ref)(-1),$=()=>{const Z=o.modelValue,P=d.value.findIndex(M=>ai(o,M)===Z);m.value!==P&&(m.value=P,o.scroll&&Q(P,!1))};(0,t.watch)([()=>o.modelValue,d],()=>{$()});const x=Z=>m.value===Z,v=Z=>{if(Z<0&&Z>=d.value.length)return!1;const P=d.value[Z],M=(En(o,P,Z)??{}).status??zn(o,P);return x(Z)||M},g=(0,t.computed)(()=>{const Z={[a]:!0};return o.mode?Z[`is-${o.mode}`]=!0:o.direction&&(Z[`is-${o.direction}`]=!0),o.scroll&&(Z["is-scroll"]=!0),Z}),y=(0,t.computed)(()=>({})),h=(Z,P,M,ae,ne)=>{const ee={[`${a}__step`]:!0};return ne&&(ee[`${ne}`]=!0),ee[`${w.value}`]=!0,ae&&(ee["is-doit"]=!0),Z===m.value?ee["is-active"]=!0:P==="done"?ee["is-done"]=!0:P==="error"?ee["is-error"]=!0:P==="half"?ee["is-half"]=!0:M?ee["is-disabled"]=!0:ee["is-normal"]=!0,ee},w=(0,t.computed)(()=>{let Z=o.align;if(!Z){if(o.mode==="simple")return"start";o.direction==="vertical"?Z="start":Z="center"}return Z}),f=(Z,P={})=>{const M={...P};if(w.value==="start"&&Z===d.value.length-1)M.flex="0 0 auto";else if(o.step){const ae=typeof o.step=="number"||Ca(o.step)?xe(o.step):o.step;o.direction==="vertical"?M.height=ae:M.width=ae}else M.flex="1 1 100%";return M},R=(Z,P)=>{let M={};if(P<d.value.length-1){const ae=P+1;v(P)&&v(ae)?o.direction==="vertical"?M.height="100%":M.width="100%":M.opacity="0"}return M},L=Z=>d.value.length-1===Z,H=(Z,P)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&P>m.value||m.value===P)return;const M=m.value,ae=P;m.value=P,o.scroll&&Q(P,!1);const ne=ai(o,Z);s("update:modelValue",ne),s("change",ne,{fromIndex:M,currentIndex:ae,item:Z,items:d.value,clickNavigatePolicy:o.clickNavigatePolicy})},W=(0,t.ref)(!0),F=async(Z,P)=>{try{const M=await u.load("stesbar",Z,P);Array.isArray(M)&&(p.value=M),W.value=!1}catch(M){console.error("[FoxUI] Load StepsBar Data Fail",M),p.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>o.data,()=>o.params],async([Z,P])=>{Z&&F(Z,P)},{immediate:!0}),c({});const B=(Z,P,M,ae,ne,ee)=>{const O=[];let Y=null;if(!ee)if(r.slots.icon)Y=r.slots.icon({item:Z,index:P,status:ae});else if(ae==="done"){const E={};o.iconSize&&(E.width=o.iconSize,E.height=o.iconSize),Y=(0,t.h)(o.icon??l,E)}else Y=(0,t.h)("span",{},[M??`${P+1}`]);return Y&&O.push(Y),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:Z,index:P}),!ne&&H(Z,P)}},O)},k=(Z,P,M)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:R(Z,P)})]),I=()=>{let Z=null;if(r.slots.markIcon)Z=r.slots.markIcon();else{const P={};o.iconSize&&(P.width=o.markIconSize,P.height=o.markIconSize),Z=(0,t.h)(o.markIcon??i,P)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[Z])},z=(Z,P,M,ae,ne,ee)=>{const O=[];if(!L(P)){const E=k(Z,P,ae);O.push(E)}const Y=B(Z,P,M,ae,ne,ee);return O.push(Y),(0,t.h)("view",{class:"fox-steps-bar__head"},O)},N=(Z,P,M,ae)=>{let ne=null;return r.slots.main?ne=r.slots.main({item:Z,index:P,status:M}):ne=O6(o,Z),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:Z,index:P}),!ae&&H(Z,P)}},[ne])},_=(Z,P,M)=>{let ae=null;return r.slots.sub?(ae=r.slots.sub({item:Z,index:P,status:M}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[ae])):null},V=(Z,P)=>{const M=En(o,Z,P)??{},ae=M.status??zn(o,Z);let ne=ni(o,Z);M.disabled===!0&&(ne=!0),o.disabled===!0&&(ne=!0);let ee=ri(o,Z);M.doit===!0&&(ee=!0);const O=M.label??oi(o,Z),Y=[],E=B(Z,P,O,ae,ne,ee);E&&Y.push(E);const G=N(Z,P,ae,ne);if(G&&Y.push(G),!L(P)){const te=k(Z,P,ae);te&&Y.push(te)}const X=[],D=(0,t.h)("view",{class:"fox-steps-bar__head"},Y);X.push(D);const b=_(Z,P,ae);b&&X.push(b);const C=M.class,j=M.style??{};return(0,t.h)("view",{ref:q(P),class:h(P,ae,ne,ee,C),style:f(P,j)},X)},K=(Z,P)=>{const M=En(o,Z,P)??{},ae=M.status??zn(o,Z);let ne=ni(o,Z);M.disabled===!0&&(ne=!0),o.disabled===!0&&(ne=!0);let ee=ri(o,Z);M.doit===!0&&(ee=!0);const O=M.label??oi(o,Z),Y=[],E=o.layout;for(let D of E)if(D==="head"){const b=z(Z,P,O,ae,ne,ee);Y.push(b)}else if(D==="main"){const b=N(Z,P,ae,ne);Y.push(b)}else if(D==="sub"){const b=_(Z,P,ae);Y.push(b)}else if(D==="mark"){const b=I();Y.push(b)}const G=M.class,X=M.style??{};return(0,t.h)("view",{ref:q(P),class:h(P,ae,ne,ee,G),style:f(P,X)},Y)},U=(0,t.ref)(),J=(0,t.ref)([]),A=(Z,P)=>{J.value[P]=Z},q=Z=>P=>{A(P,Z)},Q=(Z,P)=>{const M=U.value,ae=J.value;if(!M||!ae||!ae[Z])return;const ne=ae[Z];let ee=0;o.direction==="vertical"?ee=ne.offsetTop-(M.offsetHeight-ne.offsetHeight)/2:ee=ne.offsetLeft-(M.offsetWidth-ne.offsetWidth)/2,le(M,ee,P?0:.3,o.direction)},le=(Z,P,M,ae)=>{let ne=0;const ee=ae==="horizontal"?Z.scrollLeft:Z.scrollTop,O=M===0?1:Math.round(M*1e3/16);function Y(){ae==="horizontal"?Z.scrollLeft+=(P-ee)/O:Z.scrollTop+=(P-ee)/O,++ne<O&&ga(Y)}Y()};return()=>{let Z=[];if(o.mode==="simple")for(let M=0;M<d.value.length;M++){const ae=d.value[M],ne=V(ae,M);Z.push(ne)}else for(let M=0;M<d.value.length;M++){const ae=d.value[M],ne=K(ae,M);Z.push(ne)}const P={ref:U,class:g.value,style:y.value};return Z.length===0&&typeof r.slots.default=="function"&&(Z=r.slots.default()),(0,t.h)("view",P,Z)}}}}var{componentName:W6,create:Y6,scope:U6}=ce("steps-bar"),G6=Y6(K6(W6,U6,uo,cd)),Tn=G6,We=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,Nt=e=>e==null,X6=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=rl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=ol(),l=(i,o,r,s)=>{this.updateMove({x:i,y:o})};this.touchstart=i=>{this.moving||(n.start(i),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=i=>{this.moving&&(n.move(i),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function ii(e,n){return new X6(e,n)}var si=typeof window<"u"&&typeof document<"u",P9=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function ci(e){const n=Object.create(null);return(l=>n[l]||(n[l]=e(l)))}var Q6=/\B([A-Z])/g,L9=ci(e=>e.replace(Q6,"-$1").toLowerCase()),Z6=/-(\w)/g,_9=ci(e=>e.replace(Z6,(n,l)=>l?l.toUpperCase():"")),It=[],ui=e=>{const n=e;n.key==="Escape"&&It.forEach(l=>l(n))},J6=e=>{(0,t.onMounted)(()=>{It.length===0&&document.addEventListener("keydown",ui),si&&It.push(e)}),(0,t.onBeforeUnmount)(()=>{It=It.filter(n=>n!==e),It.length===0&&si&&document.removeEventListener("keydown",ui)})},$n="fox-focus-trap.focus-after-trapped",Bn="fox-focus-trap.focus-after-released",e8="fox-focus-trap.focusout-prevented",di={cancelable:!0,bubbles:!1},t8={cancelable:!0,bubbles:!1},fi="foxFocusAfterTrapped",mi="foxFocusAfterReleased",l8=Symbol("foxFocusTrap"),Vn=(0,t.ref)(),Zl=(0,t.ref)(0),Dn=(0,t.ref)(0),Jl=0,pi=e=>{const n=[],l=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)n.push(l.currentNode);return n},a8=(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},hi=(e,n)=>{for(const l of e)if(!a8(l,n))return l},n8=e=>{const n=pi(e);return[hi(n,e),hi(n.reverse(),e)]},r8=e=>e instanceof HTMLInputElement&&"select"in e,yt=(e,n)=>{if(e&&e.focus){const l=document.activeElement;e.focus({preventScroll:!0}),Dn.value=window.performance.now(),e!==l&&r8(e)&&n&&e.select()}};function gi(e,n){const l=[...e],i=e.indexOf(n);return i!==-1&&l.splice(i,1),l}var o8=()=>{let e=[];return{push:i=>{const o=e[0];o&&i!==o&&o.pause(),e=gi(e,i),e.unshift(i)},remove:i=>{e=gi(e,i),e[0]?.resume?.()}}},i8=(e,n=!1)=>{const l=document.activeElement;for(const i of e)if(yt(i,n),document.activeElement!==l)return},yi=o8(),s8=()=>Zl.value>Dn.value,ea=()=>{Vn.value="pointer",Zl.value=window.performance.now()},bi=()=>{Vn.value="keyboard",Zl.value=window.performance.now()},c8=()=>((0,t.onMounted)(()=>{Jl===0&&(document.addEventListener("mousedown",ea),document.addEventListener("touchstart",ea),document.addEventListener("keydown",bi)),Jl++}),(0,t.onBeforeUnmount)(()=>{Jl--,Jl<=0&&(document.removeEventListener("mousedown",ea),document.removeEventListener("touchstart",ea),document.removeEventListener("keydown",bi))}),{focusReason:Vn,lastUserFocusTimestamp:Zl,lastAutomatedFocusTimestamp:Dn}),ta=e=>new CustomEvent(e8,{...t8,detail:e}),{componentName:R9,create:u8,scope:F9}=ce("focus-trap"),d8={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"}},f8=u8({props:d8,emits:[fi,mi,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:l}){const i=(0,t.ref)();let o,r;const{focusReason:s}=c8();J6(v=>{pe(e.trapped)&&!c.paused&&l("release-requested",v)});const c={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=v=>{if(!e.loop&&!pe(e.trapped)||c.paused)return;const{key:g,altKey:y,ctrlKey:h,metaKey:w,currentTarget:f,shiftKey:R}=v,{loop:L}=e,H=g==="Tab"&&!y&&!h&&!w,W=document.activeElement;if(H&&W){const F=f,[B,k]=n8(F);if(B&&k){if(!R&&W===k){const I=ta({focusReason:s.value});l("focusout-prevented",I),I.defaultPrevented||(v.preventDefault(),L&&yt(B,!0))}else if(R&&[B,F].includes(W)){const I=ta({focusReason:s.value});l("focusout-prevented",I),I.defaultPrevented||(v.preventDefault(),L&&yt(k,!0))}}else if(W===F){const I=ta({focusReason:s.value});l("focusout-prevented",I),I.defaultPrevented||v.preventDefault()}}};(0,t.provide)(l8,{focusTrapRef:i,onKeydown:a}),(0,t.watch)(()=>e.focusTrapEl,v=>{v&&(i.value=v)},{immediate:!0}),(0,t.watch)([i],([v],[g])=>{v&&(v.addEventListener("keydown",a),v.addEventListener("focusin",d),v.addEventListener("focusout",m)),g&&(g.removeEventListener("keydown",a),g.removeEventListener("focusin",d),g.removeEventListener("focusout",m))});const u=v=>{l(fi,v)},p=v=>l(mi,v),d=v=>{const g=(0,t.unref)(i);if(!g)return;const y=v.target,h=v.relatedTarget,w=y&&g.contains(y);pe(e.trapped)||h&&g.contains(h)||(o=h),w&&l("focusin",v),!c.paused&&pe(e.trapped)&&(w?r=y:yt(r,!0))},m=v=>{const g=(0,t.unref)(i);if(!(c.paused||!g))if(!e.escape&&pe(e.trapped)){const y=v.relatedTarget;!Fe(y)&&!g.contains(y)&&setTimeout(()=>{if(!c.paused&&pe(e.trapped)){const h=ta({focusReason:s.value});l("focusout-prevented",h),h.defaultPrevented||yt(r,!0)}},0)}else{const y=v.target;y&&g.contains(y)||l("focusout",v)}};async function $(){await(0,t.nextTick)();const v=(0,t.unref)(i);if(v){yi.push(c);const g=v.contains(document.activeElement)?o:document.activeElement;if(o=g,!v.contains(g)){const y=new Event($n,di);v.addEventListener($n,u),v.dispatchEvent(y),y.defaultPrevented||(0,t.nextTick)(()=>{let h=e.focusStartEl;rr(h)||(yt(h),document.activeElement!==h&&(h="first")),h==="first"&&i8(pi(v),!0),(document.activeElement===g||h==="container")&&yt(v)})}}}function x(){const v=(0,t.unref)(i);if(v){v.removeEventListener($n,u);const g=new CustomEvent(Bn,{...di,detail:{focusReason:s.value}});v.addEventListener(Bn,p),v.dispatchEvent(g),!g.defaultPrevented&&(s.value=="keyboard"||!s8())&&yt(o??document.body,!0),v.removeEventListener(Bn,u),yi.remove(c)}}return(0,t.onMounted)(()=>{pe(e.trapped)&&$(),(0,t.watch)(()=>e.trapped,v=>{pe(v)?$():x()})}),(0,t.onBeforeUnmount)(()=>{pe(e.trapped)&&x()}),()=>typeof n.default=="function"?n.default({"handle-keydown":a}):null}}),m8=f8,{componentName:p8,create:h8,scope:O9}=ce("floating-window"),g8=Symbol.for("InnerPageScopeKey"),y8=Symbol.for("PageWrapperKey"),b8={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}},S8=h8({inheritAttrs:!1,components:{FoxIcon:T.ElIcon,FocusTrap:m8},props:{...b8},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const l=p8,i=(0,t.ref)(e.modelValue),o=(0,t.computed)(()=>!e.teleport);(0,t.watch)(()=>e.modelValue,D=>{i.value=D});const r=(0,t.computed)(()=>i.value===!1?!1:!W.value),s=(0,t.ref)(e.left),c=(0,t.ref)(e.top),a=(0,t.ref)(e.right),u=(0,t.ref)(e.bottom),p=(0,t.computed)(()=>{const D=["fox-floating-window"];return e.customClass&&D.push(e.customClass),D}),d=(0,t.computed)(()=>{const D={};return Nt(s.value)?D.left="auto":D.left=We(s.value),Nt(c.value)?D.top="auto":D.top=We(c.value),Nt(a.value)?D.right="auto":D.right=We(a.value),Nt(u.value)?D.bottom="auto":D.bottom=We(u.value),Nt(e.zIndex)||(D["z-index"]=We(e.zIndex)),Nt(L.value)||(D.height=L.value),Nt(H.value)||(D.width=H.value),D}),m=(0,t.computed)(()=>e.closeIcon??Be.Close),$=(0,t.computed)(()=>e.collapseIcon??Be.ArrowUp),x=(0,t.computed)(()=>e.collapseText??""),v=(0,t.computed)(()=>e.collapsePosition==="left"?e.expandIcon??Be.ArrowRight:e.expandIcon??Be.ArrowLeft),g=(0,t.computed)(()=>e.expandText??e.title??"展开"),y=(0,t.computed)(()=>({[`${l}__collapse-text`]:!0})),h=(0,t.computed)(()=>({[`${l}__collapse-icon`]:!0,"is-expand":!W.value,"is-collapse":W.value})),w=(0,t.ref)(),f=(0,t.ref)(null),R=(0,t.ref)(null),L=(0,t.computed)(()=>We(e.height)||""),H=(0,t.computed)(()=>We(e.width)||""),W=(0,t.ref)(pe(e.collapse)),F=(D,b=!0)=>{W.value!==D&&(W.value=D,D?le():Z(),n("update:collapse",D),D&&typeof I.onHide=="function"?I.onHide():!D&&typeof I.onShow=="function"&&I.onShow())};(0,t.watch)(()=>e.collapse,D=>{F(D)});const B=()=>{k()},k=D=>{D=D??!W.value,F(D)};(0,t.provide)(g8,!0);const I={setCollapse:F,setFixedNavVisible:D=>{A.value=D}};(0,t.provide)(y8,I);const z=()=>{typeof I.beforeClose=="function"?I.beforeClose(()=>{i.value=!1}):i.value=!1},N=(0,t.ref)(null),_=(0,t.computed)(()=>!e.fixedNavTeleport),V=(0,t.computed)(()=>{const D=["fox-floating-window__fixednav"];return e.expandClass&&D.push(e.expandClass),e.collapsePosition==="left"?D.push("is-left"):e.collapsePosition==="right"&&D.push("is-right"),D}),K=(0,t.ref)(""),U=(0,t.computed)(()=>{const D={};return K.value?D.top=K.value:e.collapseTop&&(D.top=e.collapseTop),D}),J=(0,t.ref)(W.value),A=(0,t.computed)({set:D=>{J.value=D},get:()=>i.value===!1?!1:J.value});let q=null;const Q=()=>{typeof q=="function"&&(q(),q=null)},le=()=>{N.value&&N.value.classList.add("slide-in"),A.value=!0,q=()=>{N.value&&N.value.classList.remove("slide-in")}},Z=()=>{N.value&&N.value.classList.add("slide-out"),q=()=>{N.value&&N.value.classList.remove("slide-out"),A.value=!1}},P=()=>{s.value=null,c.value=null,a.value=null,u.value=null},M={x:0,y:0},ee=ii(D=>{if(!w.value)return;const b=w.value;if(P(),e.origin==="left-top")s.value=b.offsetLeft,c.value=b.offsetTop,M.x=s.value,M.y=c.value;else if(e.origin==="left-bottom"){const C=document.documentElement.clientHeight||document.body.clientHeight;s.value=b.offsetLeft,u.value=C-(b.offsetTop+b.offsetHeight),M.x=s.value,M.y=u.value}else if(e.origin==="right-bottom"){const C=document.documentElement.clientWidth||document.body.clientWidth,j=document.documentElement.clientHeight||document.body.clientHeight;a.value=C-(b.offsetLeft+b.offsetWidth),u.value=j-(b.offsetTop+b.offsetHeight),M.x=a.value,M.y=u.value}else a.value=(document.documentElement.clientWidth||document.body.clientWidth)-(b.offsetLeft+b.offsetWidth),c.value=b.offsetTop,M.x=a.value,M.y=c.value},D=>{if(!w.value)return;const b=w.value;P(),e.origin==="left-top"?(s.value=M.x+D.x,c.value=M.y+D.y,b.style.left=We(s.value),b.style.top=We(c.value)):e.origin==="left-bottom"?(s.value=M.x+D.x,u.value=M.y-D.y,b.style.left=We(s.value),b.style.bottom=We(u.value)):e.origin==="right-bottom"?(a.value=M.x-D.x,u.value=M.y-D.y,b.style.right=We(a.value),b.style.bottom=We(u.value)):(a.value=M.x-D.x,c.value=M.y+D.y,b.style.right=We(a.value),b.style.top=We(c.value))}),O={x:0,y:0},G=ii(D=>{N.value&&(O.x=N.value.offsetLeft,O.y=N.value.offsetTop)},D=>{N.value&&(K.value=`${O.y+D.y}px`)}),X=()=>{w.value&&(R.value=w.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar"))};return(0,t.onMounted)(()=>{if(e.draggable&&w.value){const D=[];f.value&&D.push(f.value),e.footerDraggable&&(X(),R.value&&D.push(R.value)),ee.open(D)}e.collapse===!0&&F(e.collapse,!1),N.value&&G.open(N.value)}),(0,t.onBeforeUnmount)(()=>{e.draggable&&f.value&&ee.close(),N.value&&G.close()}),{classes:p,styles:d,isShow:r,closeIcon:m,onClose:z,dialogRef:w,headerRef:f,onClickToggle:B,collapseIcon:$,collapseText:x,collapseTextClasses:y,collapseIconClasses:h,expandIcon:v,expandText:g,isShowFixedNav:A,fixedNavRef:N,fixedNavClasses:V,fixedNavStyles:U,onAnimationEnd:Q,teleportDisabled:o,fixedNavTeleportDisabled:_}}}),w8={ref:"headerRef",class:"fox-floating-window__header"},v8={class:"fox-floating-window__title"},N8={class:"fox-floating-window__tools"},C8={class:"fox-floating-window__body"},k8={class:"fox-floating-window__fixednav__text"};function x8(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxIcon"),c=(0,t.resolveComponent)("FocusTrap");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisabled},[(0,t.createVNode)(t.Transition,{name:"fox-floating-window-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"dialogRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),tabindex:"-1"},[(0,t.createVNode)(c,{loop:!0,escape:!0,trapped:e.isShow,"focus-trap-el":e.dialogRef,"focus-start-el":"container"},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",w8,[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("span",v8,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("div",N8,[e.showCollapse?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-floating-window__collapse",onClick:n[0]||(n[0]=(...a)=>e.onClickToggle&&e.onClickToggle(...a))},[(0,t.createElementVNode)("span",{class:(0,t.normalizeClass)(e.collapseTextClasses)},(0,t.toDisplayString)(e.collapseText),3),(0,t.createVNode)(s,{class:(0,t.normalizeClass)(e.collapseIconClasses)},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.collapseIcon)))]),_:1},8,["class"])])):(0,t.createCommentVNode)("",!0),e.showClose?((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,class:"fox-floating-window__close",onClick:e.onClose},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.closeIcon)))]),_:1},8,["onClick"])):(0,t.createCommentVNode)("",!0)])])],512),(0,t.createElementVNode)("div",C8,[(0,t.renderSlot)(e.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[t.vShow,e.isShow]])]),_:3})],8,["to","disabled"])),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.fixedNavTeleport,disabled:e.fixedNavTeleportDisabled},[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"fixedNavRef",class:(0,t.normalizeClass)(e.fixedNavClasses),style:(0,t.normalizeStyle)(e.fixedNavStyles),onAnimationend:n[2]||(n[2]=(...a)=>e.onAnimationEnd&&e.onAnimationEnd(...a))},[(0,t.createElementVNode)("div",{class:"fox-floating-window__fixednav__inner",onClick:n[1]||(n[1]=(...a)=>e.onClickToggle&&e.onClickToggle(...a))},[(0,t.createVNode)(s,{class:"fox-floating-window__fixednav__icon"},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.expandIcon)))]),_:1}),(0,t.createElementVNode)("div",k8,(0,t.toDisplayString)(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}var Mn=Me(S8,[["render",x8]]),la=(e,n,l)=>e.map(i=>{const{value:o="value",text:r="text",children:s="children"}=l??{},{[o]:c,[r]:a,[s]:u,...p}=i,d={loading:!1,...p,level:n?(n&&n.level||0)+1:0,value:c,text:a,children:u,_parent:n};return d.children&&d.children.length&&(d.children=la(d.children,d,l)),d}),Si=(e,n)=>{let l=0,i;for(;(i=e[l++])&&n(i)!==!0;)i.children&&i.children.length&&Si(i.children,n)},z8={topId:null,idKey:"id",pidKey:"pid",sortKey:""},E8=(e,n)=>{const{topId:l,idKey:i,pidKey:o,sortKey:r}={...z8,...n||{}};let s=[],c={};return e.forEach(a=>{a={...a};const{[i]:u,[o]:p}=a,d=c[p]=c[p]||[];!s.length&&p===l&&(s=d),d.push(a),a.children=c[u]||(c[u]=[])}),r&&Object.keys(c).forEach(a=>{c[a].length>1&&c[a].sort((u,p)=>u[r]-p[r])}),c=null,s},wi=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=la(e,null,this.config)}updateChildren(e,n){n?n.children=la(e,n,this.config):this.nodes=la(e,null,this.config)}getNodeByValue(e){let n;return Si(this.nodes,l=>{if(l.value===e)return n=l,!0}),n}getPathNodesByValue(e){if(!e.length)return[];const n=[];let l=this.nodes;for(;l&&l.length;){const i=l.find(o=>o.value===e[o.level]);if(!i)break;n.push(i),l=i.children}return n}isLeaf(e,n){const{leaf:l,children:i}=e,o=Array.isArray(i)&&!!i.length;return l||!o&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:l}=e;return Array.isArray(l)&&!!l.length}},{create:T8,scope:$8}=ce("cascader-pane"),B8=T8({components:{Loading:al,Checklist:uo,TabsBar:sl,TabsContainer:cl,TabsPane:Ql},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:l}=(0,Ce.useFoxI18n)($8),i=(0,t.computed)(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),o=(0,t.ref)(0),r=(0,t.ref)(!1),s=(0,t.ref)(e.modelValue),c=(0,t.ref)(new wi([],{})),a=(0,t.ref)([]),u=(0,t.computed)(()=>i.value.lazy&&!!i.value.lazyLoad),p=(0,t.computed)(()=>r.value==!0||a.value.length==0?[{text:"Loading",value:0}]:a.value.map((h,w)=>({text:h.selectedNode?h.selectedNode.text:l("select"),value:w}))),d=new Map;let m;const $=async()=>{d.clear(),a.value=[],o.value=0,r.value=!1,m=null;let{options:h}=e;i.value.convertConfig&&(h=E8(h,i.value.convertConfig)),c.value=new wi(h,{value:i.value.valueKey,text:i.value.textKey,children:i.value.childrenKey}),u.value&&!c.value.nodes.length&&await v({root:!0,loading:!0,text:"",value:""}),a.value=[{nodes:c.value.nodes,selectedNode:null}],x()},x=async()=>{const h=s.value;if(h===void 0||!c.value.nodes.length)return;if(h.length===0){o.value=0,a.value=[{nodes:c.value.nodes,selectedNode:null}];return}let w=h;if(u.value&&Array.isArray(h)&&h.length){w=[];let f=c.value.nodes.find(R=>R.value===h[0]);f&&(w=[f.value],r.value=!0,await v(await h.slice(1).reduce(async(R,L)=>{const H=await R;await v(H);const W=H&&H?.children?.find(F=>F.value===L);return W&&w.push(L),Promise.resolve(W)},Promise.resolve(f))),r.value=!1)}w.length&&h===e.modelValue&&c.value.getPathNodesByValue(w).map((f,R)=>{o.value=R,y.handleNode(f,!0)})},v=async h=>{if(!h)return;if(!i.value.lazyLoad){h.leaf=!0;return}if(c.value.isLeaf(h,u.value)||c.value.hasChildren(h,u.value))return;h.loading=!0;const w=h.root?null:h;let f=d.get(h);f||(f=new Promise(L=>{i.value.lazyLoad?.(h,L)}),d.set(h,f));const R=await f;Array.isArray(R)&&R.length>0?c.value.updateChildren(R,w):h.leaf=!0,h.loading=!1,d.delete(h)},g=h=>{const w=h.map(f=>f.value);s.value=w,n("change",w,h),n("update:modelValue",w,h)},y={async handleNode(h,w){const{disabled:f,loading:R}=h;if(!(!w&&f||!a.value[o.value])){if(c.value.isLeaf(h,u.value)){if(h.leaf=!0,a.value[o.value].selectedNode=h,a.value=a.value.slice(0,h.level+1),!w){const L=a.value.map(H=>H.selectedNode);g(L),n("pathChange",L)}return}if(c.value.hasChildren(h,u.value)){const L=h.level+1;a.value[o.value].selectedNode=h,a.value=a.value.slice(0,L),a.value.push({nodes:h.children||[],selectedNode:null}),o.value=L,w||n("pathChange",a.value.map(H=>H.selectedNode));return}m=h,!R&&(await v(h),m===h&&(a.value[o.value].selectedNode=h,y.handleNode(h,w)))}},handleTabChange(h,w){m=null},formatTabTitle(h){return h.selectedNode?h.selectedNode.text:l("select")},isSelected(h,w){return h.selectedNode&&h.selectedNode.value===w.value}};return(0,t.watch)([i,()=>e.options],()=>{$()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,h=>{h!==s.value&&(s.value=h,x())}),(0,t.watch)(()=>e.visible,h=>{h&&Array.isArray(s.value)&&s.value.length>0&&x()}),{panes:a,panesTitles:p,initLoading:r,tabsCursor:o,...y}}}),V8={class:"fox-cascader"},D8={role:"menu",class:"fox-cascader__pane"},M8=["aria-checked","aria-disabled","onClick"],A8={class:"fox-cascader__item__title"};function I8(e,n,l,i,o,r){const s=(0,t.resolveComponent)("TabsBar"),c=(0,t.resolveComponent)("Loading"),a=(0,t.resolveComponent)("Checklist"),u=(0,t.resolveComponent)("TabsPane"),p=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",V8,[(0,t.createVNode)(s,{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"]),(0,t.createVNode)(p,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=d=>e.tabsCursor=d)},{default:(0,t.withCtx)(()=>[!e.initLoading&&e.panes.length?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(e.panes,(d,m)=>((0,t.openBlock)(),(0,t.createBlock)(u,{"pane-key":m,key:m},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",D8,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(d.nodes,$=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:$.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(d,$),disabled:$.disabled}]),"aria-checked":e.isSelected(d,$),"aria-disabled":$.disabled||void 0,role:"menuitemradio",onClick:x=>e.handleNode($,!1)},[(0,t.createElementVNode)("view",A8,(0,t.toDisplayString)($.text),1),$.loading?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(a,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,M8))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(u,{key:1,"pane-key":0},{default:(0,t.withCtx)(()=>[...n[2]||(n[2]=[(0,t.createElementVNode)("view",{class:"fox-cascader__pane"},null,-1)])]),_:1}))]),_:1},8,["modelValue"])])}var P8=Me(B8,[["render",I8]]),{create:L8}=ce("cascader-picker"),_8=L8({components:{FoxCascaderPane:P8,FoxPopup:st},props:{...Ua,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 l=(0,t.ref)(e.modelValue),i=(0,t.computed)({get(){return e.visible},set(s){n("update:visible",s)}}),o=(s,c)=>{l.value=s,i.value=!1,n("change",s,c),n("update:modelValue",s)},r=s=>{n("pathChange",s)};return(0,t.watch)(()=>e.modelValue,s=>{s!==l.value&&(l.value=s)}),{onChange:o,onPathChange:r,innerValue:l,innerVisible:i}}}),R8=["innerHTML"];function F8(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxCascaderPane"),c=(0,t.resolveComponent)("FoxPopup");return e.poppable?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=a=>e.innerVisible=a),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"header",{},()=>[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,R8)):(0,t.createCommentVNode)("",!0)]),(0,t.createVNode)(s,{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"])]),_:3},8,["visible","closeable","close-icon-position"])):((0,t.openBlock)(),(0,t.createBlock)(s,{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"]))}var An=Me(_8,[["render",F8]]),O8=Symbol.for("PageWrapperKey");function q8(e,n){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(l,i){Ta(!0);const o={};(0,t.provide)(O8,o);const r=u=>{typeof o.beforeClose=="function"&&o.beforeClose()},s=(0,t.ref)(!0),c=u=>{s.value=u},a=(0,t.computed)(()=>{const u={};return l.height&&(u["--fox-dialog-item-body-height"]=xe(l.height)),u});return()=>{const u={...i.attrs,style:a.value,title:l.title,draggable:l.draggable,modelValue:s.value,"onUpdate:modelValue":c,"append-to-body":l.appendToBody,"close-on-click-modal":l.closeOnClickModal,"close-on-press-escape":l.closeOnPressEscape,"before-close":r},p=["fox-dialog-item "];l.hideHeader&&p.push("hide-header"),l.class&&p.push(l.class),u.class=p.join(" ");const d={};return typeof i.slots.default=="function"&&(d.default=i.slots.default),(0,t.h)(T.ElDialog,u,d)}}}}var{componentName:H8,create:j8,scope:K8}=ce("dialog-item"),W8=j8(q8(H8,K8)),In=W8,{create:Y8}=ce("toast"),U8=Y8({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 l=null;const i=(0,t.reactive)({mounted:!1});(0,t.onMounted)(()=>{i.mounted=!0});const o=()=>{l&&(clearTimeout(l),l=null)},r=()=>{i.mounted=!1},s=()=>{o(),e.duration&&(l=setTimeout(()=>{r()},e.duration))},c=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&s(),(0,t.watch)(()=>e.duration,$=>{$&&s()});const a=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),u=()=>{const $=ge(e.iconSize);return(0,t.h)(e.icon,{width:$,height:$,color:e.iconColor})},p=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":a.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),d=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:i,hide:r,clickCover:c,renderIcon:u,hasIcon:a,toastBodyClass:p,toastIconWrapperClass:d,onAfterLeave:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),G8={key:1,class:"fox-toast-title"},X8=["innerHTML"];function Q8(e,n,l,i,o,r){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.toastBodyClass),style:(0,t.normalizeStyle)({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[(0,t.createElementVNode)("view",{class:"fox-toast-inner",style:(0,t.normalizeStyle)({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.toastIconWrapperClass)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon())))],2)):(0,t.createCommentVNode)("",!0),e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",G8,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,X8)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var Pn=Me(U8,[["render",Q8]]),Ln={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},Pt=[],ul=[],vi=e=>{if(e){const n=document.getElementById(e);ul=ul.filter(l=>l.id!==e),Pt=Pt.filter(l=>l!==e),n&&((0,t.render)(null,n),document.body.removeChild(n))}else Pt.forEach(n=>{const l=document.getElementById(n);l&&((0,t.render)(null,l),document.body.removeChild(l))}),ul=[],Pt=[]},Z8=e=>{const n=document.getElementById(e.id);if(n){const l=ul.find(o=>o.id===e.id);l?e={...Ln,...l,...e}:e={...Ln,...e};const i=(0,t.createVNode)(Pn,e);return(0,t.render)(null,n),(0,t.render)(i,n),Lt}},dl=e=>{e.unmount=vi;let n;if(e.id){if(n=e.id,Pt.find(i=>i===e.id))return Z8(e)}else n=new Date().getTime()+"";e={...Ln,...e},e.id=n,Pt.push(e.id),ul.push(e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(Pn,e),l),document.body.appendChild(l),Lt},aa=e=>e?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Lt={text(e,n={}){if(aa(e))return dl({...n,type:"text",msg:e})},success(e,n={}){if(aa(e))return dl({icon:p1,...n,msg:e,type:"success"})},fail(e,n={}){if(aa(e))return dl({icon:v2,...n,msg:e,type:"fail"})},warn(e,n={}){if(aa(e))return dl({icon:so,...n,msg:e,type:"warn"})},loading(e,n={}){return dl({icon:al,...n,msg:e,type:"loading"})},hide(e){vi(e)},install(e){e.use(Pn),e.config.globalProperties.$toast=Lt}},J8={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},containerClass:{type:[String]}},e7=(e,n,l)=>({props:J8,emits:["change","refresh","update:modelValue"],setup(i,{emit:o,slots:r}){const s=e,{toLocaleRefs:c}=(0,Ce.useFoxI18n)(n),a=c(i,["pullingText","loosingText","loadingText"]),u=ol(),p=(0,t.ref)(),d=Ro(p),m=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),$=(0,t.computed)(()=>({[s]:!0})),x=(0,t.computed)(()=>{const F=[`${s}__container`];return i.containerClass&&F.push(i.containerClass),F}),v=(0,t.computed)(()=>{switch(m.status){case"pulling":return r.pulling?"":a.pullingText.value;case"loosing":return r.loosing?"":a.loosingText.value;case"loading":return r.loading?"":a.loadingText.value;default:return""}}),g=(0,t.computed)(()=>({transitionDuration:`${i.duration}s`,transform:m.distance?`translate3d(0,${m.distance}px, 0)`:""})),y=(0,t.computed)(()=>{const F={};return i.headHeight!=50&&(F.height=xe(i.headHeight)),F}),h=F=>{const B=+(i.pullDistance||i.headHeight);let k=F;return F>B&&(F<B*2?k=(F+B)/2:k=B+F/4),Math.round(k)},w=(F,B)=>{const k=+(i.pullDistance||i.headHeight);m.distance=F,B?m.status="loading":F===0?m.status="normal":F<k?m.status="pulling":m.status="loosing",o("change",{status:m.status,distance:F})},f=()=>m.status!=="loading"&&m.status!=="complete",R=()=>d.value==window?Fo()==0:d.value&&d.value.scrollTop==0,L=F=>{f()&&(R()?(u.start(F),m.isPullRefresh=!0,m.moving=!0):(m.distance=0,m.isPullRefresh=!1))},H=F=>{f()&&m.moving&&(u.move(F),u.isVertical()&&u.state.deltaY>0&&m.isPullRefresh&&(F.cancelable&&F.preventDefault(),w(h(u.state.deltaY))))},W=()=>{m.moving=!1,m.isPullRefresh&&f()&&u.state.deltaY&&(m.status==="loosing"?(w(+i.headHeight,!0),o("update:modelValue",!0),(0,t.nextTick)(()=>o("refresh"))):w(0)),setTimeout(()=>{u.reset()},0)};return(0,t.watch)(()=>i.modelValue,F=>{F?w(+i.headHeight,!0):w(0)}),()=>{const F=[];let B=null;m.status==="loading"?(B=r?.loading?.()??null,B||(B=(0,t.h)(l,{class:[`${s}__container-topbox-icon`]}))):m.status==="pulling"?B=r?.pulling?.()??null:m.status==="loosing"&&(B=r?.loosing?.()??null),B&&F.push(B);const k=(0,t.h)("dive",{class:[`${s}__container-topbox-text`]},[v.value]);F.push(k);const I=(0,t.h)("div",{class:[`${s}__container-topbox`],style:y.value},F),z=(0,t.h)("div",{class:x.value,style:g.value},[I,r?.default?.()]),N={ref:p,class:$.value};return rl()?Object.assign(N,{onTouchstart:L,onTouchmove:H,onTouchend:W}):Object.assign(N,{onMousedown:L,onMousemove:H,onMouseup:W}),(0,t.h)("div",N,[z])}}}),{componentName:t7,create:l7,scope:a7}=ce("pull-refresh"),n7=l7(e7(t7,a7,al)),_n=n7,r7={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 o7(e,n,l){return{props:{...r7},emits:["click","update:modelValue"],setup(i,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,Ce.useFoxI18n)(n),c=s(i,["collapseText","expandText"]),a=(0,t.computed)(()=>{const x={[`${e}`]:!0};return i.disabled?x[`${e}--disabled`]=!0:x[`${e}--${i.type}`]=!0,x}),u=Ne(i,"modelValue"),p=(0,t.computed)(()=>u.value?c.expandText.value??"":c.collapseText.value??""),d=(0,t.computed)(()=>({[`${e}__text`]:!0})),m=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!u.value,"is-collapse":u.value})),$=()=>{o("update:modelValue",!u.value)};return()=>{const x=[];if(p.value){const y=(0,t.h)("span",{class:d.value},[p.value]);x.push(y)}const v={class:m.value},g=(r.icon&&r.icon())??(i.icon&&(0,t.h)(i.icon))??(0,t.h)(l);if(g){const y=(0,t.h)("div",v,[g]);x.push(y)}return i.textPosition==="right"&&x.reverse(),(0,t.h)("div",{class:a.value,onClick:$},x)}}}}var{componentName:i7,create:s7,scope:c7}=ce("more-button"),u7=s7(o7(i7,c7,Be.ArrowUp)),Rn=u7;function d7(e){e.stopPropagation()}var f7=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=rl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=ol(),l=(i,o,r,s)=>{this.updateMove({x:i,y:o})};this.touchstart=i=>{this.moving||(n.start(i),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=i=>{this.moving&&(n.move(i),d7(i),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function m7(e,n){return new f7(e,n)}var p7={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]}},h7=(e,n,l,i=!1)=>({props:{...p7},emits:["click"],setup(o,{slots:r,emit:s}){const c=(0,t.reactive)({top:o.top,right:o.right,bottom:o.bottom,left:o.left}),a=(0,t.computed)(()=>{const h=[`${e}`];return o.customClass&&h.push(o.customClass),h}),u=(0,t.computed)(()=>{const h={};return ye(c.top)||(h.top=c.top),ye(c.right)||(h.right=c.right),ye(c.bottom)||(h.bottom=c.bottom),ye(c.left)||(h.left=c.left),ye(o.width)||(h.width=o.width),ye(o.height)||(h.height=o.height),ye(o.color)||(h.color=o.color),ye(o.background)||(h.background=o.background),ye(o.borderRadius)||(h["border-radius"]=o.borderRadius),ye(o.zIndex)||(h["z-index"]=o.zIndex),h}),p=(0,t.computed)(()=>({[`${e}__icon`]:!0})),d=()=>{s("click")},m=(0,t.ref)(null),$=()=>{c.top=null,c.right=null,c.bottom=null,c.left=null},x={x:0,y:0},y=m7(h=>{if(!m.value)return;const w=m.value;$(),c.left=w.offsetLeft,c.top=w.offsetTop,w.style.left=`${c.left}px`,w.style.top=`${c.top}px`,w.style.right=null,w.style.bottom=null,x.x=c.left,x.y=c.top},h=>{if(!m.value)return;const w=m.value;$(),c.left=x.x+h.x,c.top=x.y+h.y,w.style.left=`${c.left}px`,w.style.top=`${c.top}px`});return(0,t.onMounted)(()=>{if(o.draggable&&m.value){const h=[m.value];y.open(h)}}),(0,t.onBeforeUnmount)(()=>{o.draggable&&m.value&&y.close()}),()=>{let h=[];const w=typeof r.default=="function"?r.default():[];if(w&&w.length>0)h=w;else{const f=(0,t.h)(l,{class:p.value});h.push(f)}return(0,t.h)("view",{ref:f=>{m.value=f},class:a.value,style:u.value,onClick:d},h)}}}),{componentName:g7,create:y7,scope:b7}=ce("floating-button"),S7=y7(h7(g7,b7,n1,!1)),Fn=S7;function w7(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(l,{slots:i}){const o=e,r=(0,t.computed)(()=>({[o]:!0})),s=(0,t.computed)(()=>l.icon?{[`${o}__icon`]:!0,[`${o}__icon-${l.type}`]:!0}:{[`${o}__mark`]:!0,[`${o}__mark-${l.type}`]:!0}),c=(0,t.computed)(()=>l.color?l.icon?{color:l.color}:{background:l.color}:null),a=(0,t.computed)(()=>{const p={[`${o}__text`]:!0,[`${o}__text-${l.type}`]:!0};return l.textPosition==="left"?p["is-left"]=!0:p["is-right"]=!0,p}),u=(0,t.computed)(()=>l.color?{color:l.color}:null);return()=>{let p=null;if(i.mark)p=i.mark()[0];else{const $={class:s.value,style:c.value};p=(0,t.h)(l.icon??"div",$)}const d=(0,t.h)("div",{class:a.value,style:u.value},i.default?i.default():[]),m={class:r.value};return l.textPosition==="right"?(0,t.h)("div",m,[p,d]):(0,t.h)("div",m,[d,p])}}}}var{componentName:v7,create:N7,scope:C7}=ce("indicator"),k7=N7(w7(v7,C7)),On=k7,{componentName:x7,create:z7,scope:q9}=ce("tour"),E7=z7({components:{Close:Be.Close,ElPopover:T.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 l=x7,i=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:0}),o=(0,t.ref)({}),r=(0,t.computed)(()=>`${l}`),s=(0,t.computed)(()=>{const{offset:x,maskWidth:v,maskHeight:g}=e,{width:y,height:h,left:w,top:f}=o.value,R=e.steps[i.active].offset??x,L=[w+y/2,f+h/2],H=Number(v||y),W=Number(g||h);return{width:`${H+ +R.left+R.right}px`,height:`${W+R.top+R.bottom}px`,top:`${L[1]-W/2-+R.top}px`,left:`${L[0]-H/2-+R.left}px`}}),c=x=>{x=="next"?i.active=i.active+1:i.active=i.active-1,i.showPopup=!1,(0,t.nextTick)(()=>{i.showPopup=!0,p()}),n("change",i.active)},a=x=>x.popoverWidth??e.width,u=x=>x.location??e.location,p=()=>{const x=Sn(document.querySelector(`${e.steps[i.active].target}`));o.value={x:x.left,y:x.top,top:x.top,left:x.left,width:x.width,height:x.height}},d=()=>{i.showTour=!1,i.showPopup=!1,n("close",i.active),n("update:modelValue",!1)},m=()=>{e.closeOnClickOverlay&&d()},$=(x,v=0)=>{x&&p(),e.steps,i.active=v,i.showTour=x,i.showPopup=x};return(0,t.onMounted)(()=>{$(e.modelValue,e.current)}),(0,t.watch)(()=>e.modelValue,x=>{$(x)}),{...(0,t.toRefs)(i),classes:r,maskStyle:s,changeStep:c,popoverWidth:a,popoverLocation:u,close:d,handleClickMask:m}}}),T7={key:0,class:"fox-tour__content"},$7={key:0,class:"fox-tour__content-top"},B7={class:"fox-tour__content-inner"},V7={class:"fox-tour__content-bottom"},D7={class:"fox-tour__content-bottom-init"},M7={class:"fox-tour__content-bottom-operate"},A7={key:1,class:"fox-tour__content fox-tour__content-tile"},I7={class:"fox-tour__content-inner"};function P7(e,n,l,i,o,r){const s=(0,t.resolveComponent)("Close"),c=(0,t.resolveComponent)("fox-button"),a=(0,t.resolveComponent)("ElPopover");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.withDirectives)((0,t.createElementVNode)("div",{class:"fox-tour__masked",onClick:n[0]||(n[0]=(...u)=>e.handleClickMask&&e.handleClickMask(...u))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(u,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:p,style:{height:"0"}},[p==e.active?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,"popper-class":"popperClass",visible:e.showPopup,placement:e.popoverLocation(u),width:e.popoverWidth(u)},{reference:(0,t.withCtx)(()=>[e.showTour?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:(0,t.normalizeClass)(["fox-tour__mask",[e.mask?"":"fox-tour__mask-none"]]),style:(0,t.normalizeStyle)(e.maskStyle),id:"fox-tour-popid"},null,6)):(0,t.createCommentVNode)("",!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",T7,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",$7,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...d)=>e.close&&e.close(...d))},[(0,t.createVNode)(s,{class:"fox-tour__content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",B7,(0,t.toDisplayString)(u.content),1),(0,t.createElementVNode)("div",V7,[(0,t.createElementVNode)("div",D7,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",M7,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[2]||(n[2]=d=>e.changeStep("prev"))},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.prevStepText),1)]),_:1})):(0,t.createCommentVNode)("",!0)]),e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:e.close},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.completeText),1)]),_:1},8,["onClick"])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[3]||(n[3]=d=>e.changeStep("next"))},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.nextStepText),1)]),_:1})):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",A7,[(0,t.createElementVNode)("div",I7,(0,t.toDisplayString)(u.content),1)])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","width"])):(0,t.createCommentVNode)("",!0)]))),128))],2)}var qn=Me(E7,[["render",P7]]),L7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozOUNBQTQ0MkY3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozOUNBQTQ0M0Y3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM5Q0FBNDQwRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM5Q0FBNDQxRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+T12ahwAABClJREFUeNrUWVtIFFEY3pkdrbaCiAINK81VW3d2102pjKLtoXoJrNAswoeEXoyilx7sJXvIh6CHAoMg6yEfSpdECIqE0jCMbMm9qCVYUmR5S8huXmZO39nWOI7mzsy6uzqgM/vvzNnv+y/n/84ZjhBiWMwHF+kA+fn5y0ZHRzNwuTomgDnui9/vfzMvBJxWa7bE87W4tMbY8S8MhNz0BQLVugnY7fZdGORZPNNHJmSPUSf47QD/PN75z3NcpqD1IVEU8wC+dZojDIajyMu6WAG322zBmQf/7LzGnHeAdRtjmuAIKYoleMWxQnUEHA6HVZLldsb0m3oehdQQzzQSVILPJLIcYEw/4HkK/kG86yAsAZvNtgng3059hte/Gf56/uFCaGR8mIJdj3m2hzGNGAkpRM4vCPBzErBYLMko2A//DIQMoQ0WtgcCjWFnCVGswEzxCecqLc0y9Nyww2ariYhAbm7umgRB6GNM/QTgfT7fEzWD4t7dOK0D4TKAcrtcLkENeNx/gUoSpOnx4Gc9BHJyclZNjI8PMqY+judp2jSr1iuENDPi5fDX4WG32WxeogL81NGRIEk3NBNAh10uS9IIY/oIbxR6vd4WLXmJAq9Ayl1kTAUmk8mNyJrUgDfK8hFPV9dnTQSCHiLkO/Ndb8jzrXqKawYJQg4gsu6srKyV4cC/7ujo1CqneRSPxNh74PligPdE3PYVIDHuY6PRWCxPTp7VC35KSvwjwBpwdPP4gXYc86ZdZnr6Pf7S9HqexUs9z0qBLprz8wn+PzWRFknaKGsgjwlvCdLGH42GQ0lg+dqkMP+Enj+lF/yMWYgnJD1qEhhphOWgS2E2yQZDJWa/lEgIvGIa0D2HKJZGA7yiBgaZqO9AermdFstGXQR8fn+BootW4wfPRBE8zXmXoia2SYLgpsJRVwqBBJ2N+pnueRVhPR8l8MGCnaWw8wDCDSWQoasGQCKJnpjGcwkkKqMBfo7ZyQklQCOxWVcRg4QDXmhkSJRjsGvRAD8HCTuNhNPpXKtLzHn9/n0orBqm052GvL2lcfepTMs8PwsJqyRJRbrlNFpBCUBcYWaKE2h4tampqUtV6pP60HNtapuUksTY2NidiLcWUQPnMOhlxvQoITGxxOPxDIVdR2dnb/V2dr7Umn50/Q31261JC4UhUQYSVUxdtPCCUAK10RuvZeQ0LRQ2tD7fddxdyuT3TijJehATF/yinqmJ2wB+jCGRA11TH9xiXAwEQpG4i0gcZHLPjHSqF0Vx76IgEIpEA9a7+3H5K2RK4jnuPvTToXgR0LW9Htpap71iAzPVNsUIMH0XMdXkfLrfD9BdanifksiKW/5w3Emj3mcHBgb6kpKTn6KYzfBCehzg10H6lHPzMdIWq9U8znEpsXE6N4rTO9TjSGgPanG/pfwjwABn1PZcM5XI0AAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTkwMjA5MzIyMjIxMzkzMzc2NzAwNjg0MC0tDQo=",_7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAACb0lEQVRYR+WY33HTMBzHvz/J72QD8tyzhJiAMAHdgDBBywQ0E5BuECYAJqCZAGPl+pxMQPoeSZwUy6ck7sUlBtziJ59P/urj33+ZlFIDa8wHAOcAhujftQYwY5xPSOb5FEQX/WPcI3LumqQQPwEMeg8LrD2sq0DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:R7,scope:F7}=ce("number-keyboard"),O7=R7({components:{FoxPopup:st},props:{confirmText:{type:String},title:{type:String},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},modelValue:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},popClass:{type:String,default:""}},emits:["input","delete","close","blur","update:modelValue","update:visible"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Ce.useFoxI18n)(F7),i=l(e,["confirmText"]),o=(0,t.computed)(()=>{const h=["fox-number-keyboard-popup"];return e.popClass&&h.push(e.popClass),h.join(" ")}),r=(0,t.ref)(void 0),s=(0,t.ref)(e.visible),c=(0,t.ref)();function a(){const{customKey:h}=e;let w={id:"lock",type:"lock"},f=Array.isArray(h)?h:[h];return f.length===1&&(w={id:f[0],type:"custom"}),[...u(),w,{id:0,type:"number"},{id:"delete",type:"delete"}]}function u(){const h=[];for(let w=1;w<=9;w++)h.push({id:w,type:"number"});return e.randomKeys?h.sort(()=>Math.random()>.5?1:-1):h}function p(){const h=u(),{customKey:w}=e;let f=Array.isArray(w)?w:[w];return f.length>2&&(f=[f[0],f[1]]),f.length==2&&e.title&&e.type!="rightColumn"&&(f=[f[0]]),f.length===1?e.title&&e.type!="rightColumn"?h.push({id:f[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):h.push({id:0,type:"number"},{id:f[0],type:"custom"}):f.length===2&&h.push({id:f[0],type:"custom"},{id:0,type:"number"},{id:f[1],type:"custom"}),h}const d=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?p():a()),m=()=>{e.visible&&n("blur")},$=h=>{const w=c.value;w&&!w.contains(h.target)&&m()};(0,t.watch)(()=>e.visible,h=>{s.value=h,h?window.addEventListener("touchstart",$,!1):window.removeEventListener("touchstart",$,!1)});function x(h,w){w.stopPropagation(),r.value=h.id,(h.type=="number"||h.type=="custom")&&(n("input",h.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+h.id)),h.type=="lock"&&y(),h.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function v(h){h.stopPropagation()}function g(h){h.preventDefault(),r.value=void 0}function y(){n("update:visible",!1),n("close")}return{...i,allPopClass:o,delImg:L7,lockImg:_7,clickKeyIndex:r,defaultKey:a,closeBoard:y,onTouchEnd:g,onTouchMove:v,onTouchstart:x,keysList:d,genCustomKeys:p,getBasicKeys:u,root:c,show:s}}}),q7={ref:"root"},H7={class:"fox-number-keyboard"},j7={key:0,class:"fox-number-keyboard__header"},K7={class:"fox-number-keyboard__title"},W7={class:"fox-number-keyboard__body"},Y7={class:"fox-number-keyboard__keys"},U7=["onTouchstart"],G7=["src"],X7=["src"],Q7={key:0,class:"fox-number-keyboard__sidebar"},Z7={class:"fox-key__wrapper"},J7=["src"];function em(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",q7,[(0,t.createVNode)(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=c=>e.show=c),position:"bottom",popClass:e.allPopClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",H7,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",j7,[(0,t.createElementVNode)("h3",K7,(0,t.toDisplayString)(e.title),1),e.type=="default"?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-number-keyboard__close",onClick:n[0]||(n[0]=c=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",W7,[(0,t.createElementVNode)("div",Y7,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,c=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+c.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":c.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{"fox-key--active":c.id==e.clickKeyIndex},{"fox-key--lock":c.type=="lock"},{"fox-key--delete":c.type=="delete"}]),onTouchstart:a=>e.onTouchstart(c,a),onTouchmove:n[1]||(n[1]=a=>e.onTouchMove(a)),onTouchend:n[2]||(n[2]=a=>e.onTouchEnd(a))},[c.type=="number"||c.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(c.id),1)],64)):(0,t.createCommentVNode)("",!0),c.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,G7)):(0,t.createCommentVNode)("",!0),c.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,X7)):(0,t.createCommentVNode)("",!0)],42,U7)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",Q7,[(0,t.createElementVNode)("div",Z7,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=c=>e.onTouchstart({id:"delete",type:"delete"},c)),onTouchmove:n[4]||(n[4]=c=>e.onTouchMove(c)),onTouchend:n[5]||(n[5]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,J7)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=c=>e.closeBoard())},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},(0,t.toDisplayString)(e.confirmText),3)])])):(0,t.createCommentVNode)("",!0)])])]),_:1},8,["visible","popClass"])],512)}var Hn=Me(O7,[["render",em]]),{create:tm,scope:lm}=ce("short-password"),am=tm({components:{FoxPopup:st,Tips:so},props:{title:{type:String},desc:{type:String},tips:{type:String},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Ce.useFoxI18n)(lm),i=l(e,["title","desc","tips"]),o=(0,t.ref)(e.modelValue),r=(0,t.computed)(()=>u(Number(e.length))),s=(0,t.ref)(e.visible),c=d=>{d.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,d=>{s.value=d}),(0,t.watch)(()=>e.modelValue,d=>{o.value=d,String(d).length===r.value&&n("complete",d)});const a=()=>{n("update:visible",!1),n("close")},u=d=>Math.min(Math.max(4,d),6);return{comLen:r,realInput:o,onTouchStart:c,range:u,close:a,onTips:()=>{n("tips")},show:s,...i}}}),nm={class:"fox-short-password-title"},rm={class:"fox-short-password-subtitle"},om={class:"fox-short-password-wrapper"},im={key:0,class:"fox-short-password__item-icon"},sm={class:"fox-short-password__message"},cm={class:"fox-short-password--error"},um={key:0,class:"fox-short-password--forget"};function dm(e,n,l,i,o,r){const s=(0,t.resolveComponent)("Tips"),c=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(c,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=a=>e.show=a),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",nm,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",rm,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",om,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:u},[String(e.realInput).length>u?((0,t.openBlock)(),(0,t.createElementBlock)("view",im)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",sm,[(0,t.createElementVNode)("view",cm,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",um,[(0,t.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...a)=>e.onTips&&e.onTips(...a))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var jn=Me(am,[["render",dm]]),{componentName:fm,create:mm,scope:pm}=ce("signature"),hm=mm({props:{customClass:{type:[String],default:""},lineWidth:{type:[Number],default:2},strokeStyle:{type:[String],default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:[String],default:"png"},unSupportTpl:{type:[String],default:""}},components:{FoxButton:T.ElButton},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n,expose:l}){const{toLocaleRefs:i}=(0,Ce.useFoxI18n)(pm),o=i(e,["unSupportTpl","reSign","confirmText"]),r=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.computed)(()=>({[fm]:!0,[`${e.customClass}`]:e.customClass})),a=(0,t.reactive)({canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"]}),u=()=>{let w=document.createElement("canvas");return!!(w.getContext&&w.getContext("2d"))},p=()=>{r.value.addEventListener(a.events[0],d,!1)},d=w=>{w.preventDefault(),a.ctx.beginPath(),a.ctx.lineWidth=e.lineWidth,a.ctx.strokeStyle=e.strokeStyle,n("start"),r.value.addEventListener(a.events[1],m,!1),r.value.addEventListener(a.events[2],$,!1),r.value.addEventListener(a.events[3],x,!1)},m=w=>{w.preventDefault();let f=a.isSupportTouch?w.touches[0]:w;n("signing",f);let R=r.value.getBoundingClientRect(),L=f.clientX-R.left,H=f.clientY-R.top;a.ctx.lineTo(L,H),a.ctx.stroke()},$=w=>{w.preventDefault(),n("end"),r.value.removeEventListener(a.events[1],m,!1),r.value.removeEventListener(a.events[2],$,!1)},x=w=>{w.preventDefault(),r.value.removeEventListener(a.events[1],m,!1),r.value.removeEventListener(a.events[2],$,!1)},v=()=>{r.value.addEventListener(a.events[2],$,!1),a.ctx.clearRect(0,0,a.canvasWidth,a.canvasHeight),a.ctx.closePath(),n("clear")},g=()=>{h(r.value)},y=w=>{if(!w)return!0;var f=document.createElement("canvas");return f.width=w.width,f.height=w.height,w?.toDataURL()==f.toDataURL()},h=w=>{let f;switch(e.type){case"png":f=w.toDataURL("image/png");break;case"jpg":f=w.toDataURL("image/jpeg",.8);break}n("confirm",y(w)?"请绘制签名":w,y(w)?"":f)};return(0,t.onMounted)(()=>{u()&&(a.ctx=r.value.getContext("2d"),a.canvasWidth=s.value.offsetWidth,a.canvasHeight=s.value.offsetHeight,p())}),l({confirm:g,clear:v}),{...o,...(0,t.toRefs)(a),canvas:r,wrap:s,isCanvasSupported:u,confirm:g,clear:v,classes:c}}}),gm={class:"fox-signature__inner",ref:"wrap"},ym=["height","width"],bm={key:0,class:"fox-signature-unsopport"},Sm={class:"fox-signature__toolbar"};function wm(e,n,l,i,o,r){const s=(0,t.resolveComponent)("FoxButton");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",gm,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,ym),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",bm,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createElementVNode)("div",Sm,[(0,t.renderSlot)(e.$slots,"toolbar",{},()=>[(0,t.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=c=>e.clear())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.reSign),1)]),_:1}),(0,t.createVNode)(s,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=c=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})])])],2)}var Kn=Me(hm,[["render",wm]]),vm={name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean,Object],required:!1}};function Nm(e,n){return{inheritAttrs:!1,props:vm,setup(l,i){const{exposeApi:o}=Cr({context:i,props:()=>l.config},l.name);return Fe(l.innerPageScope)||Ta(l.innerPageScope),Fe(l.abstractPageScope)||zr(l.abstractPageScope),o(),()=>typeof i.slots.default=="function"?i.slots.default():null}}}var{componentName:Cm,create:km,scope:xm}=ce("domain-provider"),zm=km(Nm(Cm,xm)),Wn=zm,Em={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 Tm(e,n){return{inheritAttrs:!1,props:Em,emits:["change"],setup(l,{slots:i,emit:o}){if(ut&&window.IntersectionObserver){const r=new WeakMap;let s=new Map;const c=(m,$)=>{if(p===null){s.set(m,{visible:null,callback:$});return}r.has(m)&&p.unobserve(m),r.set(m,{visible:null,callback:$}),p.observe(m)},a=m=>{if(p===null){s.delete(m);return}r.has(m)&&(r.delete(m),p.unobserve(m))};let u=l.initialVisibleObserverSize;Ks({acquire:()=>{if(l.loadPolicy==="always")return!0;const m=u>0;return u--,m},get disabled(){return l.disabled},get initialHeight(){return l.initialInvisibleObserverHeight},observe:c,unobserve:a});let p=null;const d=(m,$,x)=>{p=new IntersectionObserver(v=>{if(o("change",v),l.loadPolicy!=="always")for(let g of v){let y=!1;g.intersectionRatio>0&&(y=!0);const h=r.get(g.target);if(h)try{if(l.loadPolicy==="lazy"&&!y&&h.visible!==null)return;h.visible=y,h.callback(y)}catch(w){console.error(w)}}},{root:m,rootMargin:$,threshold:x}),s.forEach((v,g)=>{r.set(g,v),p?.observe(g)}),s.clear()};(0,t.watch)([()=>l.root,()=>l.disabled],([m,$])=>{if($||!m||p)return;let x=null;typeof m=="string"?x=document.querySelector(m):x=m,x&&d(x,l.rootMargin,l.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{p&&(p.disconnect(),p=null)})}return()=>typeof i.default=="function"?i.default():null}}}var{componentName:$m,create:Bm,scope:Vm}=ce("rolling-provider"),Dm=Bm(Tm($m,Vm)),Yn=Dm,Mm=[Va,Ma,Aa,Ia,_a,el,Rl,Fl,Ha,Oe,ja,Ka,Wa,Xa,Qa,Za,Ja,en,ln,an,nn,rn,jl,cn,un,dn,fn,mn,pn,hn,gn,Gl,yn,vn,Nn,sl,cl,Ql,xn,Tn,Mn,Ol,Xl,Hl,An,In,ql,st,Lt,Ul,Yl,_n,Rn,Fn,$t,Ll,On,Tt,qn,Hn,jn,Kn,Wn,Yn],Am=new gs(Mm,[Ss],"4.0.0");S.AbstractPageScopeKey=$a,S.ActionsheetItem=yn,S.FoxActionsheetItem=yn,S.ActionsheetPane=Gl,S.FoxActionsheetPane=Gl,S.AutocompleteItem=an,S.FoxAutocompleteItem=an,S.Broadcast=hr,S.BroadcastKey=Xe,S.ButtonsItem=Ha,S.FoxButtonsItem=Ha,S.CalendarItem=Xa,S.FoxCalendarItem=Xa,S.CascaderItem=ln,S.FoxCascaderItem=ln,S.CheckboxItem=dn,S.FoxCheckboxItem=dn,S.Content=Ia,S.FoxContent=Ia,S.DataItemsKey=Gt,S.DateItem=Wa,S.FoxDateItem=Wa,S.DateUtils=et,S.DialogItem=In,S.FoxDialogItem=In,S.Domain=Nl,S.DomainKey=mt,S.DomainProvider=Wn,S.FoxDomainProvider=Wn,S.FloatingButton=Fn,S.FoxFloatingButton=Fn,S.FloatingWindow=Mn,S.FoxFloatingWindow=Mn,S.FooterBar=Aa,S.FoxFooterBar=Aa,S.FoxAffix=T.ElAffix,S.FoxAlert=T.ElAlert,S.FoxAnchor=T.ElAnchor,S.FoxAnchorLink=T.ElAnchorLink,S.FoxAside=T.ElAside,S.FoxAutoResizer=T.ElAutoResizer,S.FoxAutocomplete=T.ElAutocomplete,S.FoxAvatar=T.ElAvatar,S.FoxBacktop=T.ElBacktop,S.FoxBadge=T.ElBadge,S.FoxBreadcrumb=T.ElBreadcrumb,S.FoxBreadcrumbItem=T.ElBreadcrumbItem,S.FoxButton=T.ElButton,S.FoxButtonGroup=T.ElButtonGroup,S.FoxCalendar=T.ElCalendar,S.FoxCard=T.ElCard,S.FoxCarousel=T.ElCarousel,S.FoxCarouselItem=T.ElCarouselItem,S.FoxCascader=T.ElCascader,S.FoxCascaderPanel=T.ElCascaderPanel,S.FoxCheckTag=T.ElCheckTag,S.FoxCheckbox=T.ElCheckbox,S.FoxCheckboxButton=T.ElCheckboxButton,S.FoxCheckboxGroup=T.ElCheckboxGroup,S.FoxCol=T.ElCol,S.FoxCollapse=T.ElCollapse,S.FoxCollapseItem=T.ElCollapseItem,S.FoxCollapseTransition=T.ElCollapseTransition,S.FoxColorPicker=T.ElColorPicker,S.FoxConfigProvider=T.ElConfigProvider,S.FoxContainer=T.ElContainer,S.FoxCountdown=T.ElCountdown,S.FoxDatePicker=T.ElDatePicker,S.FoxDescriptions=T.ElDescriptions,S.FoxDescriptionsItem=T.ElDescriptionsItem,S.FoxDialog=T.ElDialog,S.FoxDivider=T.ElDivider,S.FoxDrawer=T.ElDrawer,S.FoxDropdown=T.ElDropdown,S.FoxDropdownItem=T.ElDropdownItem,S.FoxDropdownMenu=T.ElDropdownMenu,S.FoxEmpty=T.ElEmpty,S.FoxFooter=T.ElFooter,S.FoxForm=T.ElForm,S.FoxFormItem=T.ElFormItem,S.FoxGroup=_a,S.Group=_a,S.FoxGroupSetting=hn,S.GroupSetting=hn,S.FoxHeader=T.ElHeader,S.FoxHeaderBar=Ma,S.HeaderBar=Ma,S.FoxHintText=Oe,S.HintText=Oe,S.FoxIcon=T.ElIcon,S.FoxImage=T.ElImage,S.FoxImageViewer=T.ElImageViewer,S.FoxIndicator=On,S.Indicator=On,S.FoxInfiniteLoading=Yl,S.InfiniteLoading=Yl,S.FoxInput=T.ElInput,S.FoxInputItem=ja,S.InputItem=ja,S.FoxInputNumber=T.ElInputNumber,S.FoxInputNumberItem=en,S.InputNumberItem=en,S.FoxInputTag=T.ElInputTag,S.FoxItem=el,S.Item=el,S.FoxLink=T.ElLink,S.FoxLinkItem=Nn,S.LinkItem=Nn,S.FoxMain=T.ElMain,S.FoxMapping=$t,S.Mapping=$t,S.FoxMention=T.ElMention,S.FoxMenu=T.ElMenu,S.FoxMenuItem=T.ElMenuItem,S.FoxMenuItemGroup=T.ElMenuItemGroup,S.FoxMessage=T.ElMessage,S.FoxMessageBox=T.ElMessageBox,S.FoxMoneyItem=Ja,S.MoneyItem=Ja,S.FoxMoreButton=Rn,S.MoreButton=Rn,S.FoxNotification=T.ElNotification,S.FoxNumberKeyboard=Hn,S.NumberKeyboard=Hn,S.FoxOption=T.ElOption,S.FoxOptionGroup=T.ElOptionGroup,S.FoxOverLay=ql,S.OverLay=ql,S.FoxPage=Va,S.Page=Va,S.FoxPageHeader=T.ElPageHeader,S.FoxPagination=T.ElPagination,S.FoxPickerItem=vn,S.PickerItem=vn,S.FoxPopconfirm=T.ElPopconfirm,S.FoxPopover=T.ElPopover,S.FoxPopoverDialog=Ol,S.PopoverDialog=Ol,S.FoxPopper=T.ElPopper,S.FoxPopup=st,S.Popup=st,S.FoxPrice=Ll,S.Price=Ll,S.FoxProgress=T.ElProgress,S.FoxPullRefresh=_n,S.PullRefresh=_n,S.FoxRadio=T.ElRadio,S.FoxRadioButton=T.ElRadioButton,S.FoxRadioGroup=T.ElRadioGroup,S.FoxRadioItem=un,S.RadioItem=un,S.FoxRate=T.ElRate,S.FoxRateItem=fn,S.RateItem=fn,S.FoxResult=T.ElResult,S.FoxRollingProvider=Yn,S.RollingProvider=Yn,S.FoxRow=T.ElRow,S.FoxRowItem=Fl,S.RowItem=Fl,S.FoxScrollbar=T.ElScrollbar,S.FoxSearchBar=Ul,S.SearchBar=Ul,S.FoxSegmented=T.ElSegmented,S.FoxSelect=T.ElSelect,S.FoxSelectItem=Ka,S.SelectItem=Ka,S.FoxSelectV2=T.ElSelectV2,S.FoxShortPassword=jn,S.ShortPassword=jn,S.FoxSignature=Kn,S.Signature=Kn,S.FoxSkeleton=T.ElSkeleton,S.FoxSkeletonItem=T.ElSkeletonItem,S.FoxSlider=T.ElSlider,S.FoxSlotItem=Rl,S.SlotItem=Rl,S.FoxSpace=T.ElSpace,S.FoxStatistic=T.ElStatistic,S.FoxStep=T.ElStep,S.FoxSteps=T.ElSteps,S.FoxStepsBar=Tn,S.StepsBar=Tn,S.FoxSubMenu=T.ElSubMenu,S.FoxSwitch=T.ElSwitch,S.FoxSwitchItem=mn,S.SwitchItem=mn,S.FoxTabPane=T.ElTabPane,S.FoxTable=T.ElTable,S.FoxTableColumn=T.ElTableColumn,S.FoxTableItem=cn,S.TableItem=cn,S.FoxTableMappingColumn=nn,S.TableMappingColumn=nn,S.FoxTableRadioColumn=rn,S.TableRadioColumn=rn,S.FoxTableSetting=jl,S.TableSetting=jl,S.FoxTableV2=T.ElTableV2,S.FoxTabs=T.ElTabs,S.FoxTabsBar=sl,S.TabsBar=sl,S.FoxTabsContainer=cl,S.TabsContainer=cl,S.FoxTabsFrame=xn,S.TabsFrame=xn,S.FoxTabsPane=Ql,S.TabsPane=Ql,S.FoxTag=T.ElTag,S.FoxText=Tt,S.Text=Tt,S.FoxTimeItem=Qa,S.TimeItem=Qa,S.FoxTimePicker=T.ElTimePicker,S.FoxTimeSelect=T.ElTimeSelect,S.FoxTimeSelectItem=Za,S.TimeSelectItem=Za,S.FoxTimeline=T.ElTimeline,S.FoxTimelineItem=T.ElTimelineItem,S.FoxToast=Lt,S.Toast=Lt,S.FoxTooltip=T.ElTooltip,S.FoxTour=qn,S.Tour=qn,S.FoxTransfer=T.ElTransfer,S.FoxTree=T.ElTree,S.FoxTreeItem=gn,S.TreeItem=gn,S.FoxTreeSelect=T.ElTreeSelect,S.FoxTreeSelectItem=pn,S.TreeSelectItem=pn,S.FoxTreeV2=T.ElTreeV2,S.FoxUpload=T.ElUpload,S.FoxWatermark=T.ElWatermark,S.Foxcalendarpicker=Hl,S.calendarpicker=Hl,S.Foxcascaderpicker=An,S.cascaderpicker=An,S.Foxpicker=Xl,S.picker=Xl,S.InnerPageScopeKey=Ea,S.PriorityPolicy=Qe,S.UniqueID=Wr,S.ValidateSchema=wr,S.ValidateSchemaKey=ft,S.browseProperty=Dr,S.cancelRaf=Vi,S.clamp=Gi,S.clearNonNumber=Hi,S.compareTo=ha,S.createBroadcast=Kt,S.createValidateSchema=Sl,S.debounce=Ue,S.debounceRef=ns,S.decimalLength=fr,S.default=Am,S.defineConfigDomain=Cr,S.defineDataItem=kr,S.defineDomain=xa,S.defineDomainItemProperty=Pe,S.defineItem=Ee,S.definePageState=xr,S.defineSimpleItem=St,S.deleteGlobalValidator=es,S.disabledProperty=Vr,S.divide=pa,S.excludeProps=Ve,S.extend=kt,S.floatData=Wi,S.getGlobalIcons=Rr,S.getGlobalValidateCheckEvents=yr,S.getGlobalValidateResetEvents=Sr,S.getPageContentAreaHeight=zl,S.getPageContentAreaWidth=El,S.getPageFooterAreaHeight=xl,S.getPageHeaderAreaHeight=kl,S.getRootDomain=xt,S.hasSymbol=ir,S.includeProps=it,S.indexOf=ji,S.injectAbstractPageScope=Qt,S.injectAbstractPageScopeForContent=$r,S.injectAbstractPageScopeForFooterBar=Tr,S.injectAbstractPageScopeForHeaderBar=Er,S.injectInnerPageScope=Xt,S.integerLength=dr,S.isArray=Mi,S.isArrayLike=cr,S.isBrowser=ut,S.isDate=ya,S.isDisplayNone=va,S.isESModule=_i,S.isEmptyString=ye,S.isEqual=Ge,S.isFunction=ba,S.isHidden=wa,S.isMap=Ai,S.isNil=Fe,S.isNumberString=Ca,S.isObject=je,S.isPlainObject=Li,S.isPromise=hl,S.isRegExp=Na,S.isSet=Ii,S.isString=rr,S.isSubPage=ss,S.isSymbol=Pi,S.isTouch=rl,S.isWindow=sr,S.kebabToPascal=jt,S.lastIndexOf=Ki,S.makeArray=qi,S.merge=ur,S.multiply=lr,S.negate=ar,S.nextTick=Fi,S.numberFormat=pl,S.objectToString=or,S.once=rs,S.overrideGlobalIcons=Es,S.overrideGlobalValidateHandler=Zi,S.padZero=Ui,S.pascalToKebab=pr,S.preventDefault=Yi,S.property=De,S.provideAbstractPageScope=zr,S.provideInnerPageScope=Ta,S.raf=ga,S.readonlyProperty=Br,S.setGlobalValidateCheckEvents=ts,S.setGlobalValidateHandler=Qi,S.setGlobalValidateMessages=as,S.setGlobalValidateResetEvents=ls,S.setGlobalValidator=Ji,S.throttle=Nr,S.toBoolean=pe,S.toNumber=ve,S.toPadding=lt,S.toPx=ge,S.toPxDesc=is,S.toPxString=xe,S.toTypeString=gl,S.toValue=Ne,S.tryTimes=vl,S.typeOf=yl,S.unNumberFormat=nr,S.updatePageState=za,S.useBroadcast=Wt,S.useDomain=pt,S.useInnerSize=Bl,S.usePageState=Cl,S.usePosition=Ra,S.useRawTouch=ol,S.useRect=Sn,S.useSize=Da,S.useSlotChildren=Zt,S.useTouch=Ko,S.valueLength=dt});