@fox-js/foxui 4.0.1-83 → 4.0.1-84

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,4 +1,4 @@
1
- (function(A,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("@fox-js/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","@fox-js/icons-vue","@fox-js/i18n"],t):(A=typeof globalThis<"u"?globalThis:A||self,t(A.FoxUI={},A.Vue,A.FoxValidator,A.FoxIconsVue,A.FoxI18n))})(this,function(A,t,nt,ae,he){Object.defineProperties(A,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Oi=Object.create,Ho=Object.defineProperty,Ri=Object.getOwnPropertyDescriptor,Fi=Object.getOwnPropertyNames,Ki=Object.getPrototypeOf,Ui=Object.prototype.hasOwnProperty,Ke=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),Hi=(e,n,a,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(var o=Fi(n),r=0,s=o.length,i;r<s;r++)i=o[r],!Ui.call(e,i)&&i!==a&&Ho(e,i,{get:(c=>n[c]).bind(null,i),enumerable:!(l=Ri(n,i))||l.enumerable});return e},Ue=(e,n,a)=>(a=e!=null?Oi(Ki(e)):{},Hi(n||!e||!e.__esModule?Ho(a,"default",{value:e,enumerable:!0}):a,e)),an=window,ji=typeof window<"u";function Wi(){return typeof an<"u"?an.requestAnimationFrame||an.webkitRequestAnimationFrame||function(e){an.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function jo(e){ji?cancelAnimationFrame(e):clearTimeout(e)}var Ye=Wi();function on(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=Ae(e),n=Ae(n),[e,n]=ml(Ae(e),Ae(n)),a==1&&(l==1?e=fl(e):n=fl(n));let o=Wo(e,n);return a?a==2?"-"+Ae(o):e.length<o.length?Ae(o.substring(1)):"-"+Ae(fl(o)):Ae(o)}function fl(e){let n="",a=e.length,l=e.split(".")[1],o=l?l.length:0;for(let s=0;s<a;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 Wo(n,r)}function Ae(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 ml(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 Wo(e,n){[e,n]=ml(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 Ce=(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 It(e,n=0,a=Ce.HALF_EVEN){if(a===Ce.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],s=o[1];if(n<0){if(n=-n,r.length<=n)return"0";{let c=r.substr(0,r.length-n);return e=c+"."+r.substr(r.length-n)+s,c=It(e,0,a),(l?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return r.length,Yo(o[1],r,l,a)?(l?"-":"")+hl(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");s=o[1].substring(0,n);let i=o[1].substring(n);return i&&Yo(i,s,l,a)&&(s=hl(s),s.length>n)?(l?"-":"")+hl(r,parseInt(s[0]))+"."+s.substring(1):(l?"-":"")+r+"."+s}function Yo(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===Ce.DOWN||!a&&l===Ce.FLOOR||a&&l===Ce.CEILING)return!1;if(l===Ce.UP||a&&l===Ce.FLOOR||!a&&l===Ce.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 Ce.HALF_DOWN:return!1;case Ce.HALF_UP:return!0;case Ce.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function hl(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 pl(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=qt(e),n=qt(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=qt(e.replace(".","")),n=qt(n.replace(".","")),e.length<n.length){let u=e;e=n,n=u}if(n=="0")return"0";let s=n.length,i=0,c=[],m=s-1,h="";for(let u=0;u<s;u++)c[u]=e.length-1;for(let u=0;u<2*e.length;u++){let p=0;for(let b=n.length-1;b>=m&&b>=0;b--)c[b]>-1&&c[b]<e.length&&(p+=parseInt(e[c[b]--])*parseInt(n[b]));p+=i,i=Math.floor(p/10),h=p%10+h,m--}return h=qt(Yi(h,r)),a==1&&(h="-"+h),h}function Yi(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 gl(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=Ae(n.replace(".","")),o>=0){let m=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(m==-1)e=Ae(e+new Array(o+1).join("0"));else if(o>m)e=e.replace(".",""),e=Ae(e+new Array(o-m+1).join("0"));else if(o<m){e=e.replace(".","");let h=e.length-m+o;e=Ae(e.substring(0,h)+"."+e.substring(h))}else o==m&&(e=Ae(e.replace(".","")))}let r=0,s=n.length,i="",c=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),c.indexOf(".")>-1){let m=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(m+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=m,i="0."+new Array(m).join("0")}for(a=a+2;r<=a;){let m=0;for(;parseInt(c)>=parseInt(n);)c=on(c,"-"+n),m++;i+=m,e?(e[0]=="."&&(i+=".",r++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(r||(i+="."),r++,c=c+"0")}return(l==1?"-":"")+Ae(It(i,a-2))}function yl(e,n){return e=e.toString(),n=n.toString(),n=bl(n),on(e,n)}function bl(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Xo(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),Qo(e),Qo(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=yl(e,pl(n,It(gl(e,n),0,Ce.FLOOR)));return a+l}function Qo(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Go(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]=ml(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}var xt=class fe{value;static RoundingModes=Ce;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=Ae(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+Ae(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 s="",i=r;i>0;)i<a?(a=i,i=0):i-=a,s=n.substring(i,i+a)+(i<r-a&&i>=0?l:"")+s;return(o?"-":"")+s+n.substring(r)}getPrettyValue(n,a){return fe.getPrettyValue(this.value,n,a)}static round(n,a=0,l=Ce.HALF_EVEN){if(n=fe.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return It(n,a,l)}round(n=0,a=Ce.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new fe(It(this.value,n,a))}static floor(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,Ce.FLOOR)}floor(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,Ce.FLOOR)}static ceil(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,Ce.CEILING)}ceil(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,Ce.CEILING)}static add(n,a){return n=fe.validate(n),a=fe.validate(a),on(n,a)}add(n){return new fe(on(this.value,n.getValue()))}static subtract(n,a){return n=fe.validate(n),a=fe.validate(a),yl(n,a)}subtract(n){return new fe(yl(this.value,n.getValue()))}static multiply(n,a){return n=fe.validate(n),a=fe.validate(a),pl(n,a)}multiply(n){return new fe(pl(this.value,n.getValue()))}static divide(n,a,l){return n=fe.validate(n),a=fe.validate(a),gl(n,a,l)}divide(n,a){return new fe(gl(this.value,n.getValue(),a))}static modulus(n,a){return n=fe.validate(n),a=fe.validate(a),Xo(n,a)}modulus(n){return new fe(Xo(this.value,n.getValue()))}static compareTo(n,a){return n=fe.validate(n),a=fe.validate(a),Go(n,a)}compareTo(n){return Go(this.value,n.getValue())}static negate(n){return n=fe.validate(n),bl(n)}negate(){return new fe(bl(this.value))}};function Zo(e,n){return xt.multiply(`${e}`,`${n}`)}function Sl(e,n,a=8){return xt.divide(`${e}`,`${n}`,a)}var d2=xt.RoundingModes;function vl(e,n){return e=`${e}`,n=`${n}`,xt.compareTo(e,n)}function _o(e){return xt.negate(e)}function rn(e,n=-1,a=!1,l=3,o=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",m=r.indexOf(".");m!=-1&&(i=r.substring(0,m),c=r.substring(m+1)),n!=-1&&(n<c.length?c=c.substring(0,n):a&&n>c.length&&(c=c.padEnd(n,"0")));let h;if(l>0){let u="",p=i.split("").reverse();for(let b=0;b<p.length;b++)u+=p[b]+((b+1)%l==0&&b+1!=p.length?o:"");c.length==0?h=`${s}${u.split("").reverse().join("")}`:h=`${s}${u.split("").reverse().join("")}.${c}`}else c.length==0?h=`${s}${i}`:h=`${s}${i}.${c}`;return h}function Jo(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}var Xe=typeof window<"u",He=Ye;function ze(e){return e==null}var sn=Array.isArray,Xi=e=>un(e)==="[object Map]",Qi=e=>un(e)==="[object Set]",je=e=>e instanceof Date,cn=e=>typeof e=="function",er=e=>typeof e=="string",Gi=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",ut=e=>De(e)&&cn(e.then)&&cn(e.catch),tr=Object.prototype.toString,un=e=>tr.call(e),Zi=e=>un(e)==="[object Object]",nr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function _i(e){return e.__esModule||nr&&e[Symbol.toStringTag]==="Module"}var Ji=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function dt(...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 s in r){let i=n[s],c=r[s];if(i!==c)if(o===!0&&c&&typeof c=="object"){let m;Array.isArray(c)?m=i&&Array.isArray(i)?i:[]:m=i&&typeof i=="object"?i:{},n[s]=dt(o,m,c)}else c!==void 0&&(n[s]=c)}}return n}var kl=Ji?Promise.resolve():null;function es(e,...n){kl!==null?n&&n.length>0?kl.then(()=>{e(n)}):kl.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function Se(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function me(e){return typeof e=="number"?e:Number(e)}var ts={"[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 ft(e){let n=Object.prototype.toString.call(e);return e==null?String(e):ts[n]||"object"}function lr(e){if(!e||e.nodeType!==1)return!0;let n=e;for(;n;){if(n.hidden)return!0;const a=window.getComputedStyle(n);if(a.display==="none"||a.visibility==="hidden"||a.visibility==="collapse")return!0;n=n.parentElement}return!1}function wl(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 ar(e){return e&&typeof e=="object"&&"setInterval"in e}function or(e){let n=!!e&&"length"in e&&e.length,a=ft(e);return a==="function"||ar(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function rr(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 ns(e,n=[]){let a=n;return e!=null&&(or(Object(e))?rr(a,typeof e=="string"?[e]:e):a.push(e)),a}function Ie(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=ft(e);if(a!==ft(n))return!1;if(a==="object"){let l=Object.keys(e),o=Object.keys(n);if(l.length!==o.length)return!1;for(let r=0;r<l.length;r++){let s=l[r],i=e[s],c=n[s];if(!Ie(i,c))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let l=0;l<e.length;l++){let o=e[l],r=n[l];if(!Ie(o,r))return!1}return!0}return!1}function Cl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ue=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function dn(e){return ue(e)?!1:(e.charAt(0)=="-"&&(e=e.substring(1)),ue(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function ir(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 sr(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 cr(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 Nl(e,n=!0,a=!0){n?e=cr(e,".",/\./g):e=e.replace(/\./g,""),a?e=cr(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function ls(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Ie(e,a))return!0}):n.indexOf(e)}function as(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(Ie(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function ve(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ge(e,...n){const a={};return n.forEach(l=>{for(const o in l)a[o]=e[o]}),a}function Qe(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}var os=(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};function Al(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var lt=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},We=(e,n,a)=>Math.min(Math.max(e,n),a),we=Symbol.for("BroadcastKey"),Bl=class{parent;children=[];callbacks=new Map;proxy=null;name;persistantMessages=new Map;constructor(e,n,a){this.parent=e,this.proxy=n,this.name=a,e!==null&&e.addChild(this)}addChild(e){this.children.push(e)}removeChild(e){const n=this.children.findIndex(a=>e===a);n!==-1&&this.children.splice(n,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.proxy=null}setPersistantMessage(e,n,a){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const l=e.uniqueId,o={matched:e,action:n,args:a};return this.persistantMessages.set(l,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 a=!1;return!n.name||n.name==="*"||n.name==="+"||Cl(n.name)&&e&&n.name.test(e)?a=!0:typeof n.name=="function"?a=Reflect.apply(n.name,null,[e]):n.name===e&&(a=!0),a}trigger(e,n,a){let l=null;const o=this.callbacks.get(n);typeof o=="function"&&(l=Reflect.apply(o,this.proxy,[...a]));const r=this.proxy??{};typeof r[n]=="function"&&(l=Reflect.apply(r[n],r,[...a])),e.resolved=!0,typeof e.resolve=="function"&&e.resolve(l)}pull(){let e=this.parent;for(;e;){const n=e.getPersistantMessages();Array.isArray(n)&&n.length>0&&n.forEach(a=>{if(this.isMatched(this.name,a.matched))try{this.trigger(a.matched,a.action,a.args)}catch(l){console.error(l)}}),e=e.parent}}emit(e,n,...a){if(e.messagingPolicy==="Once"&&e.resolved===!0)return[];if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,a),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,a)){const r=e.resolve,s=e.uniqueId??"",i=(...c)=>{this.deletePersistantMessage(s),typeof r=="function"&&r(...c)};e.resolve=i}e.cachePolicy="None"}let l=!1;!e.name||e.name==="*"?l=!0:e.name==="+"?(l=!1,e.name="*"):Cl(e.name)&&this.name&&e.name.test(this.name)?l=!0:typeof e.name=="function"?l=Reflect.apply(e.name,null,[this.name]):e.name===this.name&&(l=!0);const o=[];if(l){const r=this.callbacks.get(n);if(typeof r=="function"){const i=Reflect.apply(r,this.proxy,[...a]);i!=null&&o.push(i)}const s=this.proxy??{};if(typeof s[n]=="function"){const i=Reflect.apply(s[n],s,[...a]);i!=null&&o.push(i)}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,...a]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(e,n,...a){if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,a),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,a)){const o=e.resolve,r=e.uniqueId??"",s=(...i)=>{this.deletePersistantMessage(r),typeof o=="function"&&o(...i)};e.resolve=s}e.cachePolicy="None"}const l=[];return this.children.forEach(o=>{const r=Reflect.apply(o.emit,o,[{...e},n,...a]);r!=null&&Array.isArray(r)&&Reflect.apply([].push,l,[...r])}),l}on(e,n){this.callbacks.set(e,n)}};function fn(e,n,a,l){const o=new Bl(n,e,a);if(l&&typeof l=="object")for(const r in l)o.on(r,l[r]);return o}function rs(e,n,a){const l=a;if(l[we])return l[we];const o=new Bl((0,t.inject)(we,null),a,e);if(n&&typeof n=="object")for(const r in n)o.on(r,n[r]);return l[we]=o,(0,t.provide)(we,o),(0,t.onUnmounted)(()=>{o.destroy(),l[we]=void 0}),o}function Pt(e=null){return e||(e=(0,t.getCurrentInstance)()?.proxy??null),e?e[we]??(0,t.inject)(we,null):(0,t.inject)(we,null)}var is=class{error(e,n){const a=n,l=n||(0,t.hasInjectionContext)()?Pt(n):null;l?l.emit({name:"*"},"setErrorTip",e):typeof a.setErrorTip=="function"&&a.setErrorTip(e)}reset(e){const n=e,a=e||(0,t.hasInjectionContext)()?Pt(e):null;a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}success(e){const n=e,a=e||(0,t.hasInjectionContext)()?Pt(e):null;a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}decorate(e,n,a){Array.isArray(e)||(e=[e]);const l=a,o=a||(0,t.hasInjectionContext)()?Pt(a):null,r=n.find(i=>i.required===!0||i.type==="required"&&i.required!==!1),s=e.find(i=>i.required===!0||i.type==="required"&&i.required!==!1);!r&&s?o?o.emit({name:"*"},"setRequired",!0):typeof l.setRequired=="function"&&l.setRequired(!0):r&&!s&&(o?o.emit({name:"*"},"setRequired",!1):typeof l.setRequired=="function"&&l.setRequired(!1),this.reset(a))}getValue(e){return e.modelValue}},Mt=new is;function ss(e){Mt=e}function cs(e){Mt?Object.assign(Mt,e):Mt=e}function us(e,n){nt.Schema.setValidator(e,n)}function ds(e){nt.Schema.deleteValidator(e)}var ur=["blur","clear"];function fs(e){ur=e}function dr(){return ur}var fr=["focus","change","setValue"];function ms(e){fr=e}function mr(){return fr}function hs(e){nt.Schema.messages(e)}function zt(...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 mn(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 Le=Symbol("ValidateSchemaKey"),hr=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(e,n,a){this.parent=e,this.descriptor=n,this.proxy=a,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let e=this.proxy.$attrs;e&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const n=mn(zt(this.attrRules,this.rules)),a=[];for(let o in e){let r=e[o];if(this.hasValidator(o,!0)){if(r===!1)continue;let i={type:o};r!==null&&typeof r=="object"&&Object.assign(i,r),a.push(i);continue}let s=this.getValidator(o);if(s!==null){let i={type:o,validator:s};a.push(i)}}this.attrRules=mn(a);const l=zt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,n)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(e,...n){const a=this.descriptor.validateHandler;if(a&&typeof a[e]=="function")return Reflect.apply(a[e],a,[...n]);const l=Mt;return l&&typeof l[e]=="function"?Reflect.apply(l[e],l,[...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.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(e,n,a=!1){a?nt.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?nt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return nt.Schema.hasValidator(e);{let a=Reflect.has(this.validators,e);return!a&&this.parent!==null&&(a=this.parent.hasValidator(e,!1)),a}}setRule(e){const n=zt(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=mn(e):this.rules=mn([e]);const a=zt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(a,n)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=zt(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const a={[`${n}`]:e},l=this.getValue(),o={[`${n}`]:l},r=new nt.Schema(a),s=this.proxy??o;return r.validate(o,{context:s}).then(i=>{if(i.pass)this.success();else{let c="error";Array.isArray(i.errors)&&i.errors.length>0&&(c=i.errors[0].message??c,i.errors=[i.errors[0]],i.errors[0].ref=s),this.error(c)}return i}).catch(i=>{const c=i.message??`${i}`;return this.error(c),i})}}return Promise.resolve({pass:!0})}};function hn(e,n,a){if(a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string",!a.validateHandler&&a.valueName!=="modelValue"){const l=a.valueName;a.validateHandler={getValue(o){return o[l]}}}return new hr(n,a,e)}var pn=Symbol.for("EventEmitterKey"),pr=class{register=new Map;proxy;constructor(e){this.proxy=e}destroy(){this.proxy=null,this.register.clear()}off(e,n){let a=this.register.get(e);if(a&&Array.isArray(a)){let l=a.findIndex(o=>o===n);l!==-1&&a.splice(l,1)}}on(e,n){let a=this.register.get(e);a||(a=new Array,this.register.set(e,a)),a.push(n)}emit(e,...n){const a=this.register.get(e);a&&a.forEach(l=>{try{Reflect.apply(l,null,[e,...n])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[e,...n])}};function Pe(e,n){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...l])},n)}}function gn(e,n){let a=0;return function(...l){const o=new Date().getTime();o-a<n||(a=o,Reflect.apply(e,null,[...l]))}}function ps(e,n){const a=Pe((l,o)=>{e=l,o()},n);return(0,t.customRef)((l,o)=>({get(){return l(),e},set(r){a(r,o)}}))}function gs(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function Tl(e,n,a,l=0,o=!0){let r=n,s=0;if(o){const c=e();if(s++,c||s>a)return}const i=()=>{const c=e();s++,!(c||s>a)&&(r+=l,setTimeout(i,r))};setTimeout(i,r)}var qe=Symbol("DomainKey"),mt=Symbol("DataItemsKey"),yn=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}_props=(0,t.reactive)({});constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(e,n=[]){for(const a in e){const l=e[a];n.length>0&&n.indexOf(l)!==-1||(this._props[a]=l)}}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 a=this._props[e];if(a!=null)return a}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 a=this;for(;a!=null;){if(Reflect.has(a._props,e)){const l=a._props[e];n.push(l)}a=a._parent}return n}},ys=new yn;function ht(){return ys}function Ge(e=null){return e||(e=(0,t.getCurrentInstance)()?.proxy??null),e?e[qe]??(0,t.inject)(qe,null):(0,t.inject)(qe,null)}var Vl=Symbol("OriginalDateKey");function $l(e,n,a=[],l){const o=(0,t.getCurrentInstance)();let r=o?.proxy,s=(0,t.inject)(qe,null);s===null&&(s=ht());const i=e||n.prop||n.name;let c=new yn(i);c.parent=s;const m=v=>{r[Vl]||p(v),c?.set("modelValue",v)},h=()=>c?.getForSelf("modelValue")??null,u=()=>r[Vl]??null,p=v=>{const S={};dt(!0,S,(0,t.toRaw)(v)),r[Vl]=S};(0,t.isReactive)(n)||typeof n=="function"?(0,t.watch)(n,v=>{c?.merge(v,a)},{immediate:!0}):c.merge(n,a),n.modelValue&&p(n.modelValue);const b=(v,S)=>{c?.set(v,S)},w=v=>c?.getForSelf(v)??null;if(r[qe]=c,(0,t.provide)(qe,c),o!==null){const v=(0,t.inject)(we,null),S=fn(r,v,i,l);c.broadcast=S,r[we]=S,(0,t.provide)(we,S),r.broadcast=(d,C,...N)=>Reflect.apply(S.emit,S,[d,C,...N]);const f=(0,t.inject)(Le,null),k=hn(r,f,{componentName:""});c.validateSchema=k,r[Le]=k,(0,t.provide)(Le,k),r[mt]=new Map,r.validate=(d=!0)=>{const C=[];let N=null;const g={deep:!1};if(d===!0)N={name:"*"};else if(Array.isArray(d)&&d.length>0){const y=d;N={name:B=>B?y.indexOf(B)!==-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 B=y.include;N={name:T=>T?B.indexOf(T)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const B=y.exclude;N={name:T=>T?B.indexOf(T)===-1:!1}}else N={name:"*"}}if(N){const y=S?.emitToChildren(N,"validate",g);y&&Reflect.apply([].push,C,y)}return C.length==1?C[0]:C.length>1?Promise.all(C).then(y=>{let B=[];return y.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(B=[...B,...T.errors])}),B.length>0?{pass:!1,errors:B}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(d,C=!0,N=!1)=>{if(N===!0){Reflect.ownKeys(d).forEach(g=>{let y=String(g);const B={componentName:"",fieldName:y,pureDataValidate:!0};if(c){const T=yr(c,y,B,S,k);r[mt].set(y,T);const $=d[y];$&&T.validateSchema.setRule($)}});return}if(C){const g=Reflect.ownKeys(d);S?.emitToChildren({name:y=>g.includes(y),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",d,!1)}},r.clearValidate=(d=!0)=>{let C=null;if(d===!0)C={name:"*"};else if(Array.isArray(d)&&d.length>0){const N=d;C={name:g=>g?N.indexOf(g)!==-1:!1}}else if(d!=null&&typeof d=="object"){const N=d;if(Array.isArray(N.include)&&N.include.length>0){const g=N.include;C={name:y=>y?g.indexOf(y)!==-1:!1}}else if(Array.isArray(N.exclude)&&N.exclude.length>0){const g=N.exclude;C={name:y=>y?g.indexOf(y)===-1:!1}}else C={name:"*"}}C&&S?.emitToChildren(C,"clearValidate",!1)},r.resetFields=d=>{const C=h();if(!C)return;const N={};if(dt(!0,N,u()??{}),Array.isArray(d))d.forEach(g=>{C[g]=N[g]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(g=>{C[g]=N[g]});else if(d&&Array.isArray(d.exclude)){let g=d.exclude??[];Reflect.ownKeys(N).forEach(y=>{g.includes(y)||(C[y]=N[y])})}else Object.assign(C,N);r.clearValidate(d)},r.setModelValue=(d,C)=>{if(!C||C===i)m(d);else{const N={name:C,messagingPolicy:"Once"};S?.emitToChildren(N,"setModelValue",d)}},r.getModelValue=()=>h(),r.setDomainProperty=(d,C)=>{b(d,C)},r.getDomainProperty=d=>w(d),setTimeout(function(){S?.pull()},0)}return(0,t.onUnmounted)(function(){c?.validateSchema&&(c.validateSchema.destroy(),r[Le]=void 0,(0,t.provide)(Le,null)),c?.broadcast&&(c?.broadcast?.destroy(),r[we]=void 0,(0,t.provide)(we,null)),c?.destroy(),r[qe]=void 0,(0,t.provide)(qe,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,c=null,r=null}),c}function gr(e,n,a=[]){let l=(0,t.getCurrentInstance)()?.proxy,o=(0,t.inject)(qe,null);o===null&&(o=ht());let r=new yn(e||n.prop||n.name);return r.parent=o,(0,t.isReactive)(n)||typeof n=="function"?(0,t.watch)(n,s=>{r?.merge(s,a)},{immediate:!0}):r.merge(n,a),l[qe]=r,(0,t.provide)(qe,r),(0,t.onUnmounted)(()=>{r?.destroy(),l[qe]=void 0,(0,t.provide)(qe,null),r=null,l=null}),r}function Be(e,n,a){const l=(0,t.getCurrentInstance)()?.proxy,o=n??"";let r=fn(l,(0,t.inject)(we,null),o,a);l[we]=r,(0,t.provide)(we,r),l.broadcast=(h,u,...p)=>r?Reflect.apply(r.emit,r,[h,u,...p]):null;const s=(0,t.inject)(Le,null);e.fieldName=e.fieldName??o;let i=hn(l,s,e);l[Le]=i,(0,t.provide)(Le,i),l.validate=(h=null)=>{if(!i)return Promise.resolve({pass:!0});const u=[];let p=!1,b=!1;if(Array.isArray(h)&&h.indexOf(o)!==-1)b=!0,p=!0;else if(h&&typeof h=="object"){const w=h,v=w.ignoreDisabled??!0,S=w.ignoreReadonly??!0,f=w.ignoreHidden??!0;v===!0&&e.disabled===!0||S===!0&&e.readonly===!0||f===!0&&lr(l.$el)?b=!1:(Array.isArray(w.include)&&w.include.indexOf(o)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(o),b=!0),p=w.deep??!1}else typeof h=="boolean"&&(p=h),b=!0;if(b){const w=i?.validate();u.push(w)}if(p){let w=null;const v={deep:!1};if(h===!0)w={name:"*"};else if(Array.isArray(h)&&h.length>0){const S=h;w={name:f=>f?S.indexOf(f)!==-1:!1}}else if(h!=null&&typeof h=="object"){const S=h;if(Object.assign(v,S),Array.isArray(S.include)&&S.include.length>0){const f=S.include;w={name:k=>k?f.indexOf(k)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const f=S.exclude;w={name:k=>k?f.indexOf(k)===-1:!1}}else w={name:"*"}}if(w&&r){const S=r.emitToChildren(w,"validate",v);Reflect.apply([].push,u,S)}}return u.length==1?u[0]:u.length>1?Promise.all(u).then(w=>{let v=[];return w.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(v=[...v,...S.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=h=>i?.setRule(h),l.setNameValidateRules=(h,u=!1)=>{const p=h[o];p&&i?.setRule(p),u&&r&&r.emitToChildren({name:b=>Reflect.ownKeys(h).includes(b)},"setNameValidateRules",h,!1)},l.clearValidate=(h=null)=>{(!Array.isArray(h)||h.indexOf(n??"")!==-1)&&i?.clear();let u=null;if(h===!0)u={name:"*"};else if(Array.isArray(h)&&h.length>0){const p=h;u={name:b=>b?p.indexOf(b)!==-1:!1}}else if(h!=null&&typeof h=="object"){const p=h;if(Array.isArray(p.include)&&p.include.length>0){const b=p.include;u={name:w=>w?b.indexOf(w)!==-1:!1}}else if(Array.isArray(p.exclude)&&p.exclude.length>0){const b=p.exclude;u={name:w=>w?b.indexOf(w)===-1:!1}}else u={name:"*"}}u&&r&&r.emitToChildren(u,"clearValidate",!1)};let c=new pr(l);l[pn]=c;const m=Pe((h="validate")=>{i&&(h==="reset"?i.clear():i.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:dr()).forEach(h=>{c&&c.on(h,u=>{m("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:mr()).forEach(h=>{c&&c.on(h,u=>{m("reset")})}),setTimeout(function(){r?.pull()},0),(0,t.onUnmounted)(()=>{r?.destroy(),l[we]=void 0,(0,t.provide)(we,null),r=null,i?.destroy(),l[Le]=void 0,(0,t.provide)(Le,null),i=null,c?.destroy(),l[pn]=void 0,c=null,l.broadcast=null,l.validate=null,l.setValidateRule=null,l.setNameValidateRules=null,l.clearValidate=null}),{broadcast:r,validateSchema:i,emitEvent:(h,...u)=>{c&&Reflect.apply(c.emit,c,[h,...u])},onEvent:(h,u)=>{c&&Reflect.apply(c.on,c,[u])},offEvent:(h,u)=>{c&&Reflect.apply(c.off,c,[u])}}}function yr(e,n,a,l,o){const r={},s=n??"",i={getValue(){const h=e.getForSelf("modelValue");return h?h[s]:null},isExist(){const h=e.getForSelf("modelValue");return h?Reflect.has(h,s):!1}};a.fieldName=s,a.validateHandler={getValue(h){return i.getValue()}};let c=hn({},o,a);r.validate=(h=null)=>{if(!i.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const u=[];let p=!1,b=!1;if(Array.isArray(h)&&h.indexOf(s)!==-1)b=!0,p=!0;else if(h&&typeof h=="object"){const w=h;Array.isArray(w.include)&&w.include.indexOf(s)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(s),b=!0,p=w.deep??!1}else typeof h=="boolean"&&(p=h),b=!0;if(b&&c){const w=c.validate();u.push(w)}if(p){let w=null;const v={deep:!1};if(h===!0)w={name:"*"};else if(Array.isArray(h)&&h.length>0){const S=h;w={name:f=>f?S.indexOf(f)!==-1:!1}}else if(h!=null&&typeof h=="object"){const S=h;if(Object.assign(v,S),Array.isArray(S.include)&&S.include.length>0){const f=S.include;w={name:k=>k?f.indexOf(k)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const f=S.exclude;w={name:k=>k?f.indexOf(k)===-1:!1}}else w={name:"*"}}if(w&&m){const S=m.emitToChildren(w,"validate",v);Reflect.apply([].push,u,S)}}return u.length==1?u[0]:u.length>1?Promise.all(u).then(w=>{let v=[];return w.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(v=[...v,...S.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=h=>c?.setRule(h),r.setNameValidateRules=h=>{const u=h[s];u&&c?.setRule(u)};let m=fn(null,l,s,r);return(0,t.onUnmounted)(()=>{c=null,m=null}),{broadcast:m,validateSchema:c}}function pt(){let e=(0,t.getCurrentInstance)()?.proxy,n=new pr(e);return e[pn]=n,(0,t.onUnmounted)(()=>{n?.destroy(),e[pn]=void 0,n=null,e=null}),{emitEvent:(a,...l)=>{n&&Reflect.apply(n.emit,n,[a,...l])},onEvent:(a,l)=>{n&&Reflect.apply(n.on,n,[l])},offEvent:(a,l)=>{n&&Reflect.apply(n.off,n,[l])}}}var de=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${se(e)}px`:"",bs=de;function se(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(Xe){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return o*=r,o}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))*n;const l=Number(e);return isNaN(l)?0:l}function Ss(e){return e?(e.endsWith("px")&&(e=e.substring(0,e.length-2)),parseFloat(e)):0}var Ze="PageStateKey";function Oe(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=se(e.top)),e.left!==null&&e.left!==void 0&&(n.left=se(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=se(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=se(e.right))),n}function El(e,n,a={},l=!0,o=-1,r=-1,s=0,i=0){if(e.headerHeight=se(a.headerHeight??n.headerHeight??-1),e.headerPadding=Oe(a.headerPadding??n.headerPadding),e.footerHeight=se(a.footerHeight??n.footerHeight??-1),e.footerPadding=Oe(a.footerPadding??n.footerPadding),e.contentPadding=Oe(a.contentPadding??n.contentPadding),l){const c=a.height??n.height;c?e.height=se(c,r):e.height=se(r)-se(s,r)-se(i,r),e.width=se(a.width??n.width??0,o)}}function br(e,n={}){const a={top:null,bottom:null,right:null,left: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=se(o.top),l.safeAreaBottom=se(o.bottom),l.safeAreaLeft=se(o.left),l.safeAreaRight=se(o.right));const r=e.get("pageLayout");if(!r)return null;El(l,r,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const s=(0,t.reactive)(l),i=e.getForParent(Ze);i&&(l.height=kn(e,i),l.width=wn(e,i),(0,t.watch)([()=>kn(e,i),()=>wn(e,i)],([m,h])=>{s.height=m,s.width=h}));const c=!i;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([m,h,u=-1,p=-1,b=0,w=0])=>{El(s,h,n,c,u,p,b,w)}),e.set(Ze,s),s}function bn(e){return e.get(Ze)}function Sn(e,n){if(n=n??e.get(Ze),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function vn(e,n){if(n=n??e.get(Ze),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function kn(e,n){if(n=n??e.get(Ze),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=Sn(e,n),l=vn(e,n),o=se(n.contentPadding.top??0),r=se(n.contentPadding.bottom??0);return n.height-a-l-o-r}return 0}function wn(e,n){if(n=n??e.get(Ze),n){const a=se(n.contentPadding.left??0),l=se(n.contentPadding.right??0);return n.contentInnerWidth??n.width-a-l}return 0}function vs(e){return!!e.getForParent(Ze)}var Dl=Symbol.for("InnerPageScopeKey");function Sr(e){(0,t.provide)(Dl,e)}function Lt(e=!1){return(0,t.inject)(Dl,e)}var Il=Symbol.for("AbstractPageScopeKey");function vr(e){(0,t.provide)(Il,e)}function Ot(e=!1){return(0,t.inject)(Il,e)}var at=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Cn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ve(e,n,a=at.Near,l){const o=Ge();return o==null?e:a===at.Parent?(0,t.computed)(()=>{const r=o.getAll(n);for(let i=r.length-1;i>=0;i--){const c=r[i];if(Cn(c,l))return c}const s=e.value;return Cn(s,l)?s:null}):(0,t.computed)(()=>{const r=e.value;if(Cn(r,l))return r;const s=o.getAll(n);for(let i=0;i<s.length;i++){const c=s[i];if(Cn(c,l))return c}return null})}function $e(e){return Ve(e,"readonly",at.Near)}function Ee(e){return Ve(e,"disabled",at.Near)}function Me(e,n="modelValue",a=null,l){const o=(0,t.toRef)(e,n);let r=o.value;typeof a=="function"&&(r=a(o.value));const s=(0,t.ref)(r);return(0,t.watch)(o,i=>{if(typeof a=="function"){const c=a(i);c!==s.value&&(s.value=c,l&&l("setValue",c))}else i!==s.value&&(s.value=i,l&&l("setValue",i))}),s}var kr=new Map,Nn=new Map,ql=null;function ks(e){ql=e}function wr(e,n,a){if(a){let l=Nn.get(a);l||(l=new Map,Nn.set(a,l)),l.set(e,n)}else kr.set(e,n)}function _e(e,n,a){!a&&ql&&(a=ql(e)??void 0);let l=null;if(a){let o=Nn.get(a);o&&(l=o.get(n))}return l||(l=kr.get(n)),l}function ws(e,n){for(let a in e){const l=e[a];wr(a,l,n)}}function Cs(e){Nn.delete(e)}function Ns(){return{top:0,left:0,bottom:0,right:0}}function As(){return Xe?{rootWidth:document.documentElement.clientWidth||document.body.clientWidth,rootHeight:document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{headerHeight:-1,footerHeight:-1}}}function Bs(e,n){if(n.componentPrefix){const a=e.indexOf("-");return`${n.componentPrefix}${e.slice(a)}`}return e}var Ts=class{packages;_version;get version(){return this._version}constructor(e,n){this.packages=e,this._version=n}install(e,n){n?.install!==!1&&this.packages.forEach(l=>{if(l.install)e.use(l);else if(l.name){const o=Bs(l.name,n);e.component(o,l)}});const a=ht();if(n.autoAdjustPageLayout!==!1&&window.ResizeObserver){const l={...n},o=Pe(()=>{const r={...l};this.updateLayout(r,a)},120);new window.ResizeObserver(o).observe(window.document.body)}this.updateLayout(n,a)}updateLayout(e,n){const a=e.headerBarHeight??0,l=e.footerBarHeight??0,o=dt({},Ns(),e.safeAreaInset),r=As(),s=dt({},r.pageLayout,e.pageLayout);n=n??ht(),n.set("safeAreaInset",o),n.set("headerBarHeight",a),n.set("footerBarHeight",l),n.set("pageLayout",s),n.set("rootWidth",r.rootWidth),n.set("rootHeight",r.rootHeight);const i=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const c in e)i.indexOf(c)===-1&&n.set(c,e[c])}setScopeGetter(e){ks(e)}setAPI(e,n,a){wr(e,n,a)}getAPI(e,n,a){return _e(e,n,a)}batchSetAPI(e,n){ws(e,n)}clearScopeAPI(e){Cs(e)}getRootDomain(){return ht()}};function ee(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)},(0,t.defineComponent)(a)},createDemo(a){return a.baseName=e,a.name="demo-"+e,(0,t.defineComponent)(a)}}}var Vs=(e,n)=>{let a=document.body;const l=e.teleport||"body";l!="body"&&(er(l)?a=document.querySelector(l):a=e.teleport);const o=document.createElement("view");o.id=(n.name?n.name+"-":"")+(e.id||new Date().getTime());let r={};cn(n.wrapper)?r=n.wrapper(a,o):r=n.wrapper;const s=(0,t.createApp)(r,e),i=n.components;return i&&i.forEach(c=>{s.use(c)}),a.appendChild(o),{instance:s.mount(o),unmount:()=>{s.unmount(),a.removeChild(o)}}},Cr=(e,n)=>e?(0,t.h)(e,n):"";function Te(e,n=null){if(n||(n=(0,t.getCurrentInstance)()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}var pe={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}},ye={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}},Nr={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}},Ar={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:()=>!1},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}},Br=[];for(const e in Ar)Br.push(e);var $s={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}},Es=(e,n)=>({inheritAttrs:!0,props:{...pe,...Nr,...$s},setup(a,{slots:l}){const o=Ot(!1),r=Lt(!1),s=$l(a.name,a);if(s){const u=br(s,a);Te({getPageContentHeight:()=>kn(s,u),getPageContentWidth:()=>wn(s,u),getPageHeaderHeight:()=>Sn(s,u),getPageFooterHeight:()=>vn(s,u)}),u&&r&&(u.contentHeight="100%")}const i=(0,t.computed)(()=>({[e]:!0,"is-inner":r})),c=(0,t.computed)(()=>({})),m=(0,t.getCurrentInstance)(),h=(u,p=!1)=>{const b=m?.proxy;b&&typeof b.setNameValidateRules=="function"&&b.setNameValidateRules(u,!0,p)};return(0,t.watch)([()=>a.rules,()=>a.pureDataRules],([u,p],[b,w])=>{if(u&&b){const v=(0,t.toRaw)(b),S=(0,t.toRaw)(u),f=S?Reflect.ownKeys(S):[];(v?Reflect.ownKeys(v):[]).forEach(k=>{f.includes(k)||(S[k]=[])}),h(S)}if(p&&w){const v=(0,t.toRaw)(w),S=(0,t.toRaw)(p),f=S?Reflect.ownKeys(S):[];(v?Reflect.ownKeys(v):[]).forEach(k=>{f.includes(k)||(S[k]=[])}),h(S,!0)}},{deep:!0}),(0,t.onMounted)(()=>{a.rules&&h((0,t.toRaw)(a.rules)),a.pureDataRules&&h((0,t.toRaw)(a.pureDataRules),!0)}),()=>o?l?.default?.():(0,t.h)("div",{class:i.value,style:c.value},[l?.default?.()])}}),{componentName:Ds,create:Is,scope:qs}=ee("page"),xs=Is(Es(Ds,qs)),xl=xs;function Pl(e){const n=(0,t.unref)(e);return{width:n.offsetWidth,height:n.offsetHeight}}function An(e){const n=(0,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")),s=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-o,height:n.clientHeight-r-s}}var Tr={headerbar:{},radio:{},checkbox:{}};function Ps(e){Object.assign(Tr,e)}function Bn(){return Tr}var Ms=(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},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=Ot(!1),i=Lt(!1),c=s?null:Ge(),m=c?bn(c):null,h=Bn(),u=e,p=(0,t.computed)(()=>{const E={[u]:!0,[`${u}--border`]:o.border,[`${u}--fixed`]:o.fixed};return i||(E[`${u}--safe-area-inset-top`]=o.safeAreaInsetTop),E}),b=(0,t.computed)(()=>({[`${u}__inner`]:!0,[`${u}__inner--${o.align}`]:!0})),w=ze(o.height)?null:se(o.height),v=(0,t.computed)(()=>{const E={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s)return E;if(c&&m){const D=Oe(o.padding??m.headerPadding);if(Object.assign(E,D),ze(w)||(m.headerHeight=w),E.height=m.headerHeight,E.safeAreaTop=m.safeAreaTop===-1?0:m.safeAreaTop,E.safeAreaTop>0){const L=se(D.top??0);E.top=E.safeAreaTop+L,E.height&&E.height>0&&(E.height=E.height+E.safeAreaTop)}return E}if(ze(w)||(E.height=w),o.padding){const D=Oe(o.padding);Object.assign(E,D)}return E}),S=(0,t.ref)(null),f=()=>m&&S.value&&!wl(S.value)?(l||(m.headerAllHeight=Pl(S.value).height),m.headerMounted=!0,!0):!1,k=Pe(f,120);let d=null;(0,t.onMounted)(()=>{s||m&&(Tl(f,50,5,50,!0),window.ResizeObserver&&S.value&&(d=new window.ResizeObserver(k),d.observe(S.value)))}),(0,t.onUnmounted)(()=>{s||m&&(m.headerMounted=!1,d&&(d.disconnect(),d=null))});const C=(0,t.computed)(()=>{const E={};return s||(v.value.height!==null&&v.value.height!==void 0&&(E.height=`${v.value.height}px`),v.value.top!==null&&v.value.top!==void 0&&(E.paddingTop=`${v.value.top}px`),v.value.left!==null&&v.value.left!==void 0&&(E.paddingLeft=`${v.value.left}px`),v.value.right!==null&&v.value.right!==void 0&&(E.paddingRight=`${v.value.right}px`),v.value.bottom!==null&&v.value.bottom!==void 0&&(E.paddingBottom=`${v.value.bottom}px`)),E}),N=(0,t.computed)(()=>{const E=v.value?.height;return ze(E)||E<0?!0:E>0});function g(){r.emit("back")}function y(){r.emit("click-title")}function B(){r.emit("click-right")}function T(){r.emit("click-right-text")}const $=()=>{if(!o.leftShow)return null;const E=[];if(r.slots.left)E.push(r.slots.left());else{if(r.slots.leftIcon){const D=(0,t.h)("view",{class:"left-icon",onClick:g},[r.slots.leftIcon()]);E.push(D)}else{const D=o.leftIcon??h.headerbar.Left??a,L=(0,t.h)("view",{class:"left-icon",onClick:g},[(0,t.h)(D)]);E.push(L)}if(o.leftText){const D=(0,t.h)("view",{class:"left-text",onClick:g},[o.leftText]);E.push(D)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},E)},V=()=>{if(!o.rightShow)return null;const E=[];if(r.slots.right)E.push(r.slots.right());else{if(o.rightText){const D=(0,t.h)("view",{class:"right-text",onClick:T},[o.rightText]);E.push(D)}if(r.slots.rightIcon){const D=(0,t.h)("view",{class:"right-icon",onClick:B},[r.slots.rightIcon()]);E.push(D)}else if(o.rightIcon){const D=(0,t.h)("view",{class:"right-icon",onClick:B},[(0,t.h)(o.rightIcon)]);E.push(D)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},E)},W=()=>{if(!o.titleShow)return null;const E=[],D=r.slots.default?r.slots.default():null;if(D)E.push(D);else{if(o.title){const L=(0,t.h)("view",{class:"title-text"},[o.title]);E.push(L)}if(r.slots.titleIcon){const L=(0,t.h)("view",{class:"title-icon",onClick:y},[r.slots.titleIcon()]);E.push(L)}else if(o.titleIcon){const L=(0,t.h)("view",{class:"title-icon",onClick:y},[(0,t.h)(o.titleIcon)]);E.push(L)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},E)},_=()=>{const E=[],D=r.slots.bottom?r.slots.bottom():null;return D&&E.push(D),E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},E)};return()=>{if(s||!N.value)return null;const E=[];if(r.slots.all)E.push(r.slots.all());else{const D=[],L=$();L&&D.push(L);const M=W();M&&D.push(M);const R=V();if(R&&D.push(R),D.length>0){const q=(0,t.h)("view",{class:b.value},D);E.push(q)}const K=_();K&&E.push(K)}return E.length===0?null:(0,t.h)("view",{class:p.value,style:C.value,ref:S},E)}}}),{componentName:zs,create:Ls,scope:Os}=ee("header-bar"),Rs=Ls(Ms(zs,Os,ae.Left,!1)),Ml=Rs;function Fs(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=Ot(!1),s=Lt(!1),i=r?null:Ge(),c=i?bn(i):null,m=e,h=(0,t.computed)(()=>{const d={[m]:!0,[`${m}--${l.align}`]:!0,[`${m}--border`]:l.border,[`${m}--fixed`]:l.fixed};return s||(d[`${m}--safe-area-inset-bottom`]=l.safeAreaInsetBottom),d}),u=ze(l.height)?null:se(l.height),p=(0,t.computed)(()=>{const d={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r)return d;if(i&&c){const C=Oe(l.padding??c.footerPadding);if(Object.assign(d,C),ze(u)||(c.footerHeight=u),d.height=c.footerHeight,d.safeAreaBottom=c.safeAreaBottom===-1?0:c.safeAreaBottom,d.safeAreaBottom>0){const N=se(C.bottom??0);d.bottom=d.safeAreaBottom+N,d.height&&d.height>0&&(d.height=d.height+d.safeAreaBottom)}return d}if(ze(u)||(d.height=u),l.padding){const C=Oe(l.padding);Object.assign(d,C)}return d}),b=(0,t.computed)(()=>{const d=p.value?.height;return ze(d)||d<0?!0:d>0}),w=(0,t.ref)(null),v=()=>c&&w.value&&!wl(w.value)?(a||(c.footerAllHeight=Pl(w.value).height),c.footerMounted=!0,!0):!1,S=Pe(v,120);let f=null;(0,t.onMounted)(()=>{r||c&&(Tl(v,50,5,50,!0),window.ResizeObserver&&(f=new window.ResizeObserver(S),f.observe(w.value)))}),(0,t.onUnmounted)(()=>{r||c&&(c.footerMounted=!1,f&&(f.disconnect(),f=null))});const k=(0,t.computed)(()=>{const d={};return r||(p.value.height!==null&&p.value.height!==void 0&&(d.height=de(p.value.height)),p.value.top!==null&&p.value.top!==void 0&&(d.paddingTop=de(p.value.top)),p.value.left!==null&&p.value.left!==void 0&&(d.paddingLeft=de(p.value.left)),p.value.right!==null&&p.value.right!==void 0&&(d.paddingRight=de(p.value.right)),p.value.bottom!==null&&p.value.bottom!==void 0&&(d.paddingBottom=de(p.value.bottom))),d});return()=>{if(r||!b.value)return null;const d=o.slots.default?o.slots.default():[];return(0,t.h)("view",{ref:w,class:h.value,style:k.value},d)}}}}var{componentName:Ks,create:Us,scope:Hs}=ee("footer-bar"),js=Us(Fs(Ks,Hs,!1)),zl=js;function Ws(e,n){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(a,{slots:l,attrs:o}){const r=Ot(!1),s=Lt(!1),i=r?null:Ge(),c=(0,t.computed)(()=>({[e]:!0})),m=i?bn(i):null,h=(0,t.computed)(()=>{const v={};if(r)return v;if(i&&m){if(a.padding){const y=Oe(a.padding);Object.assign(m.contentPadding,y)}const S=Sn(i,m),f=vn(i,m);let k="";m.contentHeight?k=`${m.contentHeight}`:k=`${m.height}px`,console.debug("[content]page height:",k),console.debug("[content]header height:",S),console.debug("[content]footer height:",f),console.debug("[content]padding:",m.contentPadding),v.height=k;let d=se((m&&m.contentPadding&&m.contentPadding.top)??-1);(d>=0||S>0)&&(d=d<0?0:d,v.paddingTop=`${S+d}px`);let C=se((m&&m.contentPadding&&m.contentPadding.bottom)??-1);(C>=0||f>0)&&(C=C<0?0:C,v.paddingBottom=`${f+C}px`);const N=se((m&&m.contentPadding&&m.contentPadding.left)??-1);N>=0&&(v.paddingLeft=`${N}px`);const g=se((m&&m.contentPadding&&m.contentPadding.right)??-1);return g>=0&&(v.paddingRight=`${g}px`),v}if(a.padding){const S=Oe(a.padding);S.left&&(v.paddingLeft=`${S.left}px`),S.top&&(v.paddingTop=`${S.top}px`),S.right&&(v.paddingRight=`${S.right}px`),S.bottom&&(v.paddingBottom=`${S.bottom}px`)}return v}),u=(0,t.ref)(null),p=()=>{if(m&&u.value){const v=An(u.value);m.contentInnerHeight=v.height,m.contentInnerWidth=v.width}},b=Pe(p,120);let w=null;return(0,t.onMounted)(()=>{s||r||(requestAnimationFrame(p),window.ResizeObserver&&u.value&&(w=new window.ResizeObserver(b),w.observe(u.value)))}),(0,t.onUnmounted)(()=>{s||r||w&&(w.disconnect(),w=null)}),()=>r?l.default?.():(0,t.h)(a.tag??"view",{...o,ref:u,class:c.value,style:h.value},l)}}}var{componentName:Ys,create:Xs,scope:Qs}=ee("content"),Gs=Xs(Ws(Ys,Qs)),Ll=Gs,gt="GroupStateKey",Vr=Symbol.for("GroupScopeKey");function Tn(){return(0,t.inject)(Vr,!1)}function Vn(e=!0){(0,t.provide)(Vr,e)}function Zs(e,n={}){Reflect.ownKeys(n).forEach(a=>{if(typeof a!="string")return;const l=n[a];ze(l)||(e[a]=l)})}function _s(e,n={}){const a={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Zs(a,n);const l=(0,t.markRaw)({layout:(0,t.shallowRef)(a),passport:0,order:{index:0}});return e.set(gt,l),l}function Ol(e,n,a=-1,l=-1,o=!1,r,s,i){const c=e.get(gt);if(!c)return;const m=e.get("groupLayout")??{};a===-1&&(a=m.column??1),l===-1&&(l=m.gutter??0),r||(r=m.minItemWidth??-1),s||(s=m.maxItemWidth??-1);const h=se(r),u=se(s);i||(i=m.type??"grid");const p=()=>{const b=n===""||n===-1,w=se(n);let v=me(a);const S=se(l);if(!b){let d=(w-(v-1)*S)/v;for(;u!==-1&&d>u;)v++,d=(w-(v-1)*S)/v;for(;h!==-1&&v>1&&d<h;)v--,d=(w-(v-1)*S)/v}let f=!1;const k=c.layout;k.value.width=n,k.value.column!==v&&(k.value.column=v,f=!0),k.value.gutter!==S&&(k.value.gutter=S,f=!0),k.value.type!==i&&(k.value.type=i,f=!0),f&&(0,t.triggerRef)(k)};if(o)p();else{const b=++c.passport;setTimeout(()=>{b===c.passport&&p()},50)}}function $n(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.layout}function En(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.order}function $r(e,n=1){if(n==="stretch")return-1;const a=me(n);return a===-1?100:100*a/e}function Dn(e,n,a=1,l=0,o){const r={};let s=0;o?s=se(o):s=$r(n.column,a),s>0&&(r.width=`${s}%`);const i=$r(n.column,l);i>0&&(r["margin-left"]=`${i}%`);const c=se(n.gutter)/2;return c>0&&(r["padding-left"]=`${c}px`,r["padding-right"]=`${c}px`),r}function In(e,n,a=1,l=0){if(a==="stretch"){const c=e.index%n.column,m=c+(n.column-c);return e.index=e.index+(m-c),{"grid-column":`${c+1} / -1`}}let o=me(a);if(o===-1){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}if(o>n.column){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}const r=me(l)%n.column;let s=(e.index+r)%n.column,i=s+o;return i>n.column?(s=0,i=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 Er=Symbol("RollingStateKey");function Js(e){(0,t.provide)(Er,e)}function ec(){return(0,t.inject)(Er,null)}function Rl(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const l=parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-l-o}else n=e.offsetHeight;return n}function tc(e){let n=Rl(e);if(n<=0){const a=e.cloneNode(!0);a.style=`width: ${e.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(a),n=Rl(a),document.body.removeChild(a)}return n}function nc(e,n,a){const l=typeof e=="number"?e:parseInt(e),o=typeof n=="number"?n:parseInt(n),r=typeof a=="number"?a:parseInt(a);if(l<=0)return"1fr";const s=(l-(o-1)*r)/o;return s>0?`${s}px`:"1fr"}function Dr(e){const n=[];return e.forEach(a=>{a.type===t.Fragment&&Array.isArray(a.children)?n.push(...Dr(a.children)):n.push(a)}),n}function lc(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function Fl(e){function n(){return Dr(e?.()??[]).filter(lc)}return{getChildren:n}}var ac={...pe,...Nr,...Ar};function oc(e,n,a){return{props:ac,emits:["update:collapse","header-click"],setup(l,o){const r=$l(l.prop??l.name,l,Br),s=_s(r,{type:l.type}),i=Tn();Vn(!0);const c=l.rollingDisplay?ec():null,m=(0,t.ref)(null),h=(0,t.computed)(()=>l.rollingDisplay?c&&!c.disabled:!1),u=(0,t.computed)(()=>i&&r?$n(r,!0).value:null),p=(0,t.getCurrentInstance)(),b=(P,j=!1)=>{const x=p?.proxy;x&&typeof x.setNameValidateRules=="function"&&x.setNameValidateRules(P,!0,j)};(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([P,j],[x,I])=>{if(P&&x){const Y=(0,t.toRaw)(x),Z=(0,t.toRaw)(P),le=Z?Reflect.ownKeys(Z):[];(Y?Reflect.ownKeys(Y):[]).forEach(re=>{le.includes(re)||(Z[re]=[])}),b(Z)}if(j&&I){const Y=(0,t.toRaw)(I),Z=(0,t.toRaw)(j),le=Z?Reflect.ownKeys(Z):[];(Y?Reflect.ownKeys(Y):[]).forEach(re=>{le.includes(re)||(Z[re]=[])}),b(Z,!0)}},{deep:!0});const w=e,v=(0,t.computed)(()=>{const P={};if(P.height=D.value,l.width)l.width!=="auto"&&(P.width=de(l.width));else{const j=i?En(r,!0):null;if(u.value&&j){if(u.value.type==="grid"){const x=In(j,u.value,l.span,l.offset);Object.assign(P,x)}else if(u.value.type==="flow"){const x=Dn(j,u.value,l.span,l.offset,l.width);Object.assign(P,x)}}}return P}),S=(0,t.computed)(()=>{const P=s.layout.value.type;return P==="grid"||P==="flow"?{[`${w}--${P}`]:!0,[`${w}--${P}-justify-${l.justify}`]:!0,[`${w}--${P}-align-${l.align}`]:!0,[`${w}--gutter`]:!0}:{[`${w}--${P}`]:!0,[`${w}--gutter`]:!0}}),f=(0,t.computed)(()=>{if(s.layout.value.type==="grid"){let P="";if(l.columnWidth)P=`repeat(auto-fill, ${l.columnWidth})`;else{const j=nc(B.value,s.layout.value.column,s.layout.value.gutter);P=`repeat(${s.layout.value.column}, ${j})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":P}}}),k=(0,t.toRef)(l,"gutter"),d=(0,t.toRef)(l,"column"),C=(0,t.computed)(()=>i||h.value?!0:Se(l.isWrap)),N=[],g=P=>{N.push(P)},y=()=>{let P=N.length;N.splice(0,P)},B=(0,t.ref)(-1),T=P=>{const j=An(P).width;j>0&&j!==B.value&&(B.value=j)};Ol(r,B.value,d.value,k.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&(0,t.watch)([B,d,k],([P,j,x])=>{s.order.index=0,Ol(r,P,j,x,!1,l.minItemWidth,l.maxItemWidth,l.type)});const $=(0,t.computed)(()=>L.value?l.expandText??"":l.collapseText??""),V=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),W=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!L.value,"is-collapse":L.value})),_=(0,t.ref)(),E=(0,t.ref)(),D=(0,t.computed)(()=>M.value||de(l.height)||""),L=(0,t.ref)(!1),M=(0,t.ref)(""),R=(0,t.ref)(!1);let K=-1;const q=(P,j=!0)=>{const x=_.value;if(x&&L.value!==P){if(K=K<=0?tc(x):K,R.value=!0,j)if(x.style["will-change"]="height",x.ontransitionend=function(){x.ontransitionend=null,this.style["will-change"]="auto",P||(M.value="",R.value=!1)},P){let I=0;l.collapseHeight?I=l.collapseHeight:E.value&&E.value.classList.contains(`${e}__header`)&&(I=E.value.offsetHeight),M.value=`${K}px`,(0,t.nextTick)(()=>{M.value=`${I}px`})}else M.value=`${K}px`;else if(P){let I=0;l.collapseHeight?I=l.collapseHeight:E.value&&E.value.classList.contains(`${e}__header`)&&(I=E.value.offsetHeight),M.value=`${I}px`}else R.value=!1,M.value=`${K}px`;L.value=P,o.emit("update:collapse",P)}};(0,t.watch)(()=>l.collapse,P=>{q(P)});const G=P=>{o.emit("header-click",P)},ne=()=>{O()},O=P=>{P=P??!L.value,q(P)};Te({toggleCollapse:O,doLayout:()=>{N[0]&&(T(N[0]),Ol(r,B.value,d.value,k.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let z=null,Q=!0;const F=P=>{if(l.rules&&b((0,t.toRaw)(l.rules)),l.pureDataRules&&b((0,t.toRaw)(l.pureDataRules),!0),!!Xe&&(P&&q(Se(l.collapse),!1),l.autoLayout&&Array.isArray(N)&&N.length>0)){const j=N[0];if(T(j),window.ResizeObserver){const x=Pe(()=>T(j),120);z=new window.ResizeObserver(x),z.observe(j)}}},H=()=>{z?.disconnect(),z=null},J=!h.value||c?.acquire();J&&(m.value=h.value?!0:null),(0,t.onMounted)(()=>{if(J&&(F(Q),Q=!1),h.value&&c){let P=null,j=c.initialHeight;c.observe(_.value,x=>{if(x!==m.value)if(x)m.value=!0,L.value||(M.value=""),P=setTimeout(()=>{P=null,m.value!==!1&&(F(Q),Q=!1)},100);else{if(P!==null&&clearTimeout(P),m.value=!1,!L.value)if(Q)M.value=c.initialHeight;else{let I=Rl(_.value);I<=0?M.value=j:(M.value=`${I}px`,j=M.value)}Q||H()}})}}),(0,t.onUnmounted)(()=>{z?.disconnect(),c&&c.unobserve(_.value)});const X=(P="right")=>{const j=[];if($.value){const Y=(0,t.h)("span",{class:V.value},[$.value]);j.push(Y)}const x={class:W.value},I=(0,t.h)(l.collapseIcon??a,x);return j.push(I),j.length>0?(0,t.h)("div",{class:{[`${w}__header-collapse`]:!0,[`is-${P}`]:!0},onClick:ne},j):null},te=(P,j,x,I)=>{const Y={...S.value};if(j===0&&(Y[`${w}__first`]=!0),x>=I-1&&(Y[`${w}__last`]=!0),C.value===!1){const Z=o.attrs.class;Z&&(Y[`${Z}`]=!0)}return(0,t.h)("div",{ref:g,key:`${j}`,class:Y,style:f.value},P)};return()=>{const P=l.prop??l.name;if(h.value&&m.value!==!0)return(0,t.h)(l.tag||"div",{ref:_,prop:P,class:{[`${w}`]:!0,"is-collapse":R.value},style:v.value},[]);s.order.index=0;const j=[];let x=0;if(o.slots.header){const le=(0,t.h)("div",{key:`${x++}`,ref:E,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:G},[o.slots.header()]);j.push(le)}else{const le=[],re=l.collapsePosition==="left";if(re&&l.showCollapse){const ce=X("left");ce&&le.push(ce)}if(l.title||o.slots.title){if(l.showMark){const ce={class:{[`${w}__header-mark`]:!0}};l.markColor&&(ce.style={background:l.markColor});const ke=(0,t.h)("div",ce);le.push(ke)}if(o.slots.title){const ce=(0,t.h)("div",{class:{[`${w}__header-title`]:!0}},[o.slots.title()]);le.push(ce)}else if(l.title){const ce=(0,t.h)("div",{class:{[`${w}__header-title`]:!0}},[l.title]);le.push(ce)}}if(o.slots.toolbar&&le.push(o.slots.toolbar()),!re&&l.showCollapse){const ce=X("right");ce&&le.push(ce)}if(le.length>0){const ce=(0,t.h)("div",{key:`${x++}`,ref:E,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:G},le);j.push(ce)}}y();const{getChildren:I}=Fl(o.slots.default),Y=I(),Z=s.layout.value.type;if(Z==="grid"){const le=te(Y,x++,0,Y.length);j.push(le)}else if(Z==="flow"){const le=te(Y,x++,0,Y.length);j.push(le)}else for(let le=0;le<Y.length;le++){const re=Y[le],ce=te([re],x++,le,Y.length);j.push(ce)}return C.value?(0,t.h)(l.tag||"div",{ref:_,prop:P,class:{[`${w}`]:!0,"is-collapse":R.value},style:v.value},[j]):j}}}}var{componentName:rc,create:ic,scope:sc}=ee("group"),cc=ic(oc(rc,sc,ae.RectUp)),Kl=cc;function uc(e){return e===window}var dc=/matrix\((.+)\)/,Ul=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(uc(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,s=0,i=0,c=0;for(o=n;o!==document;){s+=o.scrollTop,r+=o.scrollLeft;const{transform:m}=window.getComputedStyle(o);if(m){const h=dc.exec(m);if(h){let u=h[1].split(/\s*,\s*/);u.length==6&&(i+=Number(u[4]),c+=Number(u[5]))}}o=o.parentNode}return a-=r,l-=s,a+=i,l+=c,{x:a,y:l}},fc=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{}})}},mc=class{monitorRegister=new WeakMap;watch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let o=this.monitorRegister.get(a);o||(o=new fc,a.addEventListener("scroll",o.listen),a===document.body&&a.addEventListener("resize",o.listen),this.monitorRegister.set(a,o)),o.add(n),a=a.parentNode}}unwatch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let o=this.monitorRegister.get(a);o&&(o.remove(n),o.size()===0&&(this.monitorRegister.delete(a),a.removeEventListener("scroll",o.listen),a===document.body&&a.removeEventListener("resize",o.listen))),a=a.parentNode}}},Rt=new mc,Ir={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:hc,create:pc}=ee("price"),gc=pc({props:{...Ir},setup(e){const n=(0,t.computed)(()=>({[hc]:!0})),a=(0,t.computed)(()=>e.needSymbol?e.symbol:""),l=(0,t.computed)(()=>ve(e.price)==0?"":rn(e.price,e.decimalLength,!0,me(e.digits),e.separator));return{classes:n,showSymbol:a,intText:(0,t.computed)(()=>{let o=l.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(0,r)}),decimalText:(0,t.computed)(()=>{let o=l.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(r+1)})}}}),oe=(e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a},yc=["innerHTML"],bc=["innerHTML"];function Sc(e,n,a,l,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,yc)):(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,bc)):(0,t.createCommentVNode)("",!0)],2)}var qn=oe(gc,[["render",Sc]]),{componentName:Hl,create:vc}=ee("hint-text"),kc=vc({components:{Price:qn},props:{...Ir,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=(0,t.ref)({top:null,right:null,bottom:null,left:null}),l=(0,t.ref)({x:0,y:0}),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(e.placement),i=(0,t.ref)(!1),c=(0,t.ref)(null),m=(V,W,_,E,D,L)=>{const M=document.documentElement.clientWidth||document.body.clientWidth,R=document.documentElement.clientHeight||document.body.clientHeight,K=V.split("-");let q=[];K[0]==="top"?q=["top","bottom","right","left"]:K[0]==="bottom"?q=["bottom","top","right","left"]:K[0]==="left"?q=["left","top","bottom","right"]:K[0]==="right"&&(q=["right","top","bottom","left"]);const G={top:null,right:null,bottom:null,left:null},ne=[];for(let O=0;O<q.length;O++){const U=q[O];if(ne[0]=U,K[1]&&(ne[1]=K[1]),U==="top"){const z=W.y-L-e.arrowSize-e.offset;if(z>=0){G.top=z;let Q=0;K[1]==="start"?Q=W.x:K[1]==="end"?Q=W.x+_-D:Q=W.x+_/2-D/2;const F=M-Q-D;F<0?(Q+=F,u.value=-F):u.value=0,G.left=Q<0?0:Q;break}}else if(U==="bottom"){const z=W.y+E+e.arrowSize+e.offset;if(z+L<=R){G.top=z;let Q=0;K[1]==="start"?Q=W.x:K[1]==="end"?Q=W.x+_-D:Q=W.x+_/2-D/2;const F=M-Q-D;F<0?(Q+=F,u.value=-F):u.value=0,G.left=Q<0?0:Q;break}}else if(U==="left"){const z=W.x-D-e.arrowSize-e.offset;if(z>=0){G.left=z;let Q=0;K[1]==="start"?Q=W.y:K[1]==="end"?Q=W.y+E-L:Q=W.y+E/2-L/2,G.top=Q<0?0:Q;break}}else if(U==="right"){const z=W.x+_+e.arrowSize+e.offset;if(z+D<=M){G.left=z;let Q=0;K[1]==="start"?Q=W.y:K[1]==="end"?Q=W.y+E-L:Q=W.y+E/2-L/2,G.top=Q<0?0:Q;break}}}return{bestPlacement:ne.join("-"),bestInsetRect:G}},h=(V,W,_=10)=>{if(!Xe||W===!1||!V)return;l.value=Ul(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const E=c.value.offsetHeight,D=c.value.offsetWidth,{bestPlacement:L,bestInsetRect:M}=m(e.placement,l.value,o.value,r.value,D,E);s.value=L,a.value=M,i.value=!0},u=(0,t.ref)(0),p=Pe(()=>{h(e.message,e.visible)},10),b=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,V=>{b.value=V});const w=(0,t.computed)(()=>b.value&&v.value),v=(0,t.ref)(!0),S=Pe(V=>{const W=V[0];W&&(v.value=W.isIntersecting)},10),f=new IntersectionObserver(S);(0,t.watch)([()=>e.message,()=>e.visible],([V,W])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Rt.watch(e.reference,p),f.observe(e.reference)}),(0,t.onBeforeUnmount)(()=>{Rt.unwatch(e.reference,p),f.unobserve(e.reference),f.disconnect()});const k=(0,t.computed)(()=>{const V={[Hl]:!0};return s.value.startsWith("top")?V["is-top"]=!0:s.value.startsWith("right")?V["is-right"]=!0:s.value.startsWith("bottom")?V["is-bottom"]=!0:s.value.startsWith("right")&&(V["is-right"]=!0),e.size==="small"?V["is-small"]=!0:e.size==="large"&&(V["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(V[`${e.customClass}`]=!0),V}),d=(0,t.computed)(()=>{const V={};return a.value.top!==null&&(V.top=`${a.value.top}px`),a.value.right!==null&&(V.right=`${a.value.right}px`),a.value.bottom!==null&&(V.bottom=`${a.value.bottom}px`),a.value.left!==null&&(V.left=`${a.value.left}px`),e.autoFit&&(V["min-width"]=`${o.value}px`),V["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,i.value&&(V.opacity="1"),e.transition||(V.transition="none"),e.zIndex&&(V["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(V,e.customStyle),V}),C=(0,t.computed)(()=>{const V=[`${Hl}__content`];return e.customTextClass&&V.push(e.customTextClass),V}),N=(0,t.computed)(()=>{const V={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(V,e.customTextStyle),V}),g=(0,t.computed)(()=>({[`${Hl}__arrow`]:!0})),y=(0,t.computed)(()=>{const V={};return e.showArrow?(V.width=`${e.arrowSize}px`,V.height=`${e.arrowSize}px`,s.value==="top"?(V.left="50%",V.bottom=`-${e.arrowSize}px`,V.transform=" translate(-50%, 0%)"):s.value==="top-start"?(V.left=`${e.arrowOffset+u.value}px`,V.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(V.right=`${e.arrowOffset-u.value}px`,V.bottom=`-${e.arrowSize}px`):s.value==="right"?(V.left=`-${e.arrowSize}px`,V.top="50%",V.transform=" translate(0%, -50%)"):s.value==="right-start"?(V.left=`-${e.arrowSize}px`,V.top=`${e.arrowOffset}px`):s.value==="right-end"?(V.left=`-${e.arrowSize}px`,V.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(V.left="50%",V.top=`-${e.arrowSize}px`,V.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(V.left=`${e.arrowOffset+u.value}px`,V.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(V.right=`${e.arrowOffset-u.value}px`,V.top=`-${e.arrowSize}px`):s.value==="left"?(V.right=`-${e.arrowSize}px`,V.top="50%",V.transform=" translate(0%, -50%)"):s.value==="left-start"?(V.right=`-${e.arrowSize}px`,V.top=`${e.arrowOffset}px`):s.value==="left-end"&&(V.right=`-${e.arrowSize}px`,V.bottom=`-${e.arrowOffset}px`),V):{display:"none"}}),B=(0,t.computed)(()=>w.value&&e.closeOnClick),T=(0,t.computed)(()=>{const V={};return e.zIndex&&(V["z-index"]=`${e.zIndex}`),V});return{show:w,tipRef:c,classes:k,styles:d,textClasses:C,textStyles:N,arrowClasses:g,arrowStyles:y,overlayShow:B,overlayStyle:T,onClickOverlay:()=>{b.value=!1,n.emit("update:visible",!1)}}}}),wc=["innerHTML"];function Cc(e,n,a,l,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]=(...i)=>e.onClickOverlay&&e.onClickOverlay(...i))},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,wc))],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 qr=oe(kc,[["render",Cc]]),xn=class{seed=0;constructor(e){this.seed=e??new Date().getTime()}get(){let e=this.seed++;return this.seed<0&&(this.seed=0),e}},jl={},Nc=new xn,yt=new Map,Pn=e=>{if(e){const n=document.getElementById(e);yt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of yt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}yt.clear()}},Ac=e=>{e.unmount=Pn;const n=document.getElementById(e.id);if(n){const a=yt.get(e.id);return a?e={...jl,...a,...e}:e={...jl,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(qr,e),n),e.id}},Bc=e=>{e.unmount=Pn;let n=e.id??`hinttext_${Nc.get()}`;e={...jl,...e},e.id=n,yt.set(n,e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(qr,e),a),document.body.appendChild(a),n},Tc=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},bt={show(e,n,a={},l=!0){Tc(n);const o=a.id;return o&&yt.has(o)?Ac({...a,message:n,reference:e}):(l&&Pn(),Bc({...a,message:n,reference:e}))},hide(e){Pn(e)},install(e){e.config.globalProperties.$hintText=bt}};function Vc(e,n,a,l=!1){return{inheritAttrs:!0,props:{...pe,...ye},emits:["appear","disappear"],setup(o,r){const s=o.prop??r.attrs.name;Be({componentName:e,validate:!1},s);const i=Ge(),c=Tn();Vn(!1);const m=(0,t.computed)(()=>c&&i?$n(i,!1).value:null),h=e,u=(0,t.ref)(null),p=(0,t.computed)(()=>{const I={[h]:!0,[`${h}__gutter`]:m.value&&m.value.type!=="flow",[`${h}__stretch`]:o.span==="stretch",[`${h}__input--border`]:Se(o.hasBorder)};if(I[o.errorMarkClass]=!!L.value,I[o.warnMarkClass]=!!E.value,I[o.infoMarkClass]=!!W.value,typeof u.value=="function"){const Y=u.value(s);I[Y]=!0}else if(typeof u.value=="string"){const Y=u.value;I[Y]=!0}return I}),b=(0,t.ref)(null),w=(0,t.computed)(()=>{const I={};if(o.width)o.width!=="auto"&&(I.width=de(o.width));else{const Y=c&&i?En(i,!1):null;if(m.value&&Y){if(m.value.type==="grid"){const Z=In(Y,m.value,o.span,o.offset);Object.assign(I,Z)}else if(m.value.type==="flow"){const Z=Dn(Y,m.value,o.span,o.offset,o.width);Object.assign(I,Z)}}}if(typeof b.value=="function"){const Y=b.value(s);Y&&Object.assign(I,Y)}else if(b.value&&typeof b.value=="object"){const Y=b.value;Object.assign(I,Y)}return I}),v=(0,t.ref)(null),S=(0,t.computed)({get:()=>v.value??Se(o.isRequired),set:I=>{v.value=I}}),f=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",k=Ve((0,t.toRef)(o,"labelPosition"),"labelPosition",at.Near),d=(0,t.computed)(()=>k&&k.value==="top"?"top":k&&k.value==="right"?"right":"left"),C=(0,t.computed)(()=>({[`${h}__main`]:!0,[`${h}__main--${d.value}`]:!0})),N=(0,t.computed)(()=>({label:!0,[`label--${d.value}`]:!0})),g=Ve((0,t.toRef)(o,"labelWidth"),"labelWidth",at.Near),y=(0,t.computed)(()=>g&&g.value?{width:de(g.value)}:{}),B=(0,t.computed)(()=>({"label--string":!0,"label--required":S.value})),T=(0,t.computed)(()=>({content:!0,[o.contentClass]:!0})),$=(0,t.computed)(()=>({...o.contentStyle})),V=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Te({setRequired(I){S.value=I},setErrorTip(I){V.errorTip=I},setErrorIcon(I){V.errorIcon=I},setWarnTip(I){V.warnTip=I},setWarnIcon(I){V.warnIcon=I},setInfoTip(I){V.infoTip=I},setInfoIcon(I){V.infoIcon=I},setCustomClassName(I){u.value=I},setCustomStyle(I){b.value=I}});const W=(0,t.computed)(()=>o.infoTip||V.infoTip),_=(0,t.computed)(()=>o.infoIcon||V.infoIcon),E=(0,t.computed)(()=>o.warnTip||V.warnTip),D=(0,t.computed)(()=>o.warnIcon||V.warnIcon),L=(0,t.computed)(()=>o.errorTip||V.errorTip),M=(0,t.computed)(()=>o.errorIcon||V.errorIcon),R=(0,t.computed)(()=>L.value?"error":E.value?"warn":W.value?"info":""),K=()=>R.value.length>0,q=(0,t.computed)(()=>R.value==="error"?L.value:R.value==="warn"?E.value:R.value==="info"?W.value:""),G=(0,t.computed)(()=>R.value==="error"?M.value:R.value==="warn"?D.value:R.value==="info"?_.value:null),ne=(0,t.computed)(()=>{const I={[`${h}__tip`]:!0,[`${h}__tip--${R.value}`]:!0,[`${h}--animate`]:!0};return R.value==="error"&&o.errorClass?I[`${o.errorClass}`]=!0:R.value==="warn"&&o.warnClass?I[`${o.warnClass}`]=!0:R.value==="info"&&o.infoClass&&(I[`${o.infoClass}`]=!0),I}),O=(0,t.computed)(()=>{const I={};return k&&k.value==="top"||!f()?I["padding-left"]="0px":g&&g.value&&(I["padding-left"]=de(g.value)),I}),U=(0,t.ref)();let z="";(0,t.watch)([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([I,Y,Z,le])=>{U.value&&(I&&!ue(Y)?z?a.show(U.value,Y,{...le,id:z,type:Z},!0):z=a.show(U.value,Y,{...le,type:Z},!0):a.hide(z))});let Q=null;const F=()=>{Q||!U.value||(Q=new IntersectionObserver(I=>{let Y=!1;for(let Z of I)if(Z.intersectionRatio>0){Y=!0,Y&&r.emit("appear",Z);break}Y||r.emit("disappear")}),Q.observe(U.value))},H=()=>{!Q||!U.value||(Q.unobserve(U.value),Q=null)};(0,t.watch)(()=>Se(o.appearListen),I=>{I?F():H()}),(0,t.onMounted)(()=>{Se(o.appearListen)&&F()}),(0,t.onUnmounted)(H);const J=()=>{if(!f())return null;const I=[],Y=r.slots?.label?.()??o.label,Z=(0,t.h)("div",{class:B.value},[Y]);if(I.push(Z),r.slots.fixedPreTip){const le=r.slots.fixedPreTip();I.push(le)}return(0,t.h)("div",{class:N.value,style:y.value},I)},X=()=>{const I=[];if(r.slots.prepend){const Y=r.slots.prepend();I.push(Y)}if(r.slots.default){const Y=r.slots.default();I.push(Y)}if(r.slots.append){const Y=r.slots.append();I.push(Y)}if(r.slots.fixedTip){const Y=(0,t.h)("div",{class:[`${h}__fixed-tip`]},[r.slots.fixedTip()]);I.push(Y)}return(0,t.h)("div",{ref:U,class:T.value,style:$.value},I)},te=()=>{const I=G.value;return I?typeof I=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[I()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(I)]):null},P=()=>{const I=q.value;return I?typeof I=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[I()]):(0,t.h)("div",{class:"fox-item__tip--text"},[I]):null},j=()=>{if(!K())return null;const I=[],Y=te();Y&&I.push(Y);const Z=P();return Z&&I.push(Z),(0,t.h)("div",{class:ne.value,style:O.value},I)},x=()=>r.slots?.hide?.()??null;return()=>{const I=[],Y=[],Z=J();Z&&Y.push(Z);const le=X();le&&Y.push(le);const re=(0,t.h)("div",{class:C.value},Y);I.push(re);const ce=j();ce&&I.push(ce);const ke=x();return ke&&I.push(ke),(0,t.h)("div",{class:p.value,style:w.value,prop:o.prop},I)}}}}var{componentName:$c,create:Ec,scope:Dc}=ee("item"),Ic=Ec(Vc($c,Dc,bt,!1)),Ne=Ic,xr={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1}};function qc(e,n){return{props:{...xr},setup(a,l){const o=e,r=(0,t.computed)(()=>({[o]:!0,[`${o}__stretch`]:a.span==="stretch",[`${o}__${a.align}`]:!0})),s=Ge(),i=Tn();Vn(!1);const c=(0,t.computed)(()=>{const m={};if(a.width)a.width!=="auto"&&(m.width=de(a.width));else if(i&&s){const h=$n(s,!1),u=En(s,!1);if(h.value&&u){if(h.value.type==="grid"){const p=In(u,h.value,a.span,a.offset);Object.assign(m,p)}else if(h.value.type==="flow"){const p=Dn(u,h.value,a.span,a.offset,a.width);Object.assign(m,p)}}}return a.gutter&&(m.gap=de(a.gutter)),m});return()=>{const m=[];if(l.slots.default){const h=l.slots.default();if(a.divide)for(let u=0;u<h.length;u++){if(u>0){const p=(0,t.h)("div",{class:{[`${o}__divide`]:!0}});m.push(p)}m.push(h[u])}else Reflect.apply([].push,m,h)}return(0,t.h)("div",{class:r.value,style:c.value},m)}}}}var{componentName:xc,create:Pc,scope:Mc}=ee("row-item"),zc=Pc(qc(xc,Mc)),Mn=zc,Lc=(0,t.defineComponent)({name:"ArrowDown",__name:"arrow-down",setup(e){return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t.createElementVNode)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}});function Oc(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)}var Rc={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 Fc(e,n,a,l=!1){return{props:{...Rc},emits:["click"],setup(o,r){const s=(0,t.ref)(null),i=(0,t.computed)(()=>{const d={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(d[`${e}--${o.type??"default"}`]=!0),o.size&&(d[`${e}--${o.size}`]=!0),d}),c=(0,t.computed)(()=>{const d={},C=o.textColor??o.color;return C&&(d.color=C),d}),m=(d,C)=>{let N=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const g=o.highlightFilter;d.indexOf(g)!==-1&&(C.innerHTML=d.replace(new RegExp(g,"g"),`<span>${g}</span>`),C.class["is-highlight"]=!0,N=(0,t.h)(o.tag,C))}else if(typeof o.highlightFilter=="function"){const g=o.highlightFilter(d);g&&(C.innerHTML=g,C.class["is-highlight"]=!0,N=(0,t.h)(o.tag,C))}return N},h=d=>{r.emit("click",d)};let u="";const p=()=>{const d=s.value;if(!d)return;const C=d.clientWidth;Oc(d,N=>{const g=d.innerHTML??"";ue(g)||N<C||(u?a?.show(d,g,{type:"text",id:u,showArrow:o.showArrow},!0):u=a?.show(d,g,{type:"text",showArrow:o.showArrow},!0)??"")})},b=()=>{u&&a?.hide(u)};let w=null;const v=d=>{w||(w=setTimeout(()=>{p(),w=null},o.showAfter??0))},S=d=>{w&&(clearTimeout(w),w=null),setTimeout(()=>{b()},o.hideAfter??0)},f=()=>{const d=s.value;d&&(d.addEventListener("mouseover",v),d.addEventListener("mouseleave",S))},k=()=>{const d=s.value;d&&(d.removeEventListener("mouseover",v),d.removeEventListener("mouseleave",S))};return(0,t.onMounted)(()=>{!Se(o.showOverflowTooltip)||!a||f()}),(0,t.onBeforeUnmount)(()=>{!Se(o.showOverflowTooltip)||!a||k()}),()=>{const d={onClick:h,class:i.value,style:c.value,ref:s};let C=null;if(Se(o.numberFormat)&&typeof r.slots.default=="function"){const g=r.slots.default();if(Array.isArray(g)&&g.length===1){const y=g[0].type.toString();if(y==="Symbol(Text)"||y==="Symbol(v-txt)"){const B=me(o.digits),T=me(o.decimalLength),$=Se(o.autoPadding);let V=`${g[0].children}`,W=V.split("").reverse().join("");W=rn(W,T,$,B,o.separator),V=W.split("").reverse().join(""),o.highlightFilter!==void 0&&(C=m(V,d)),C||(d.innerHTML=V,C=(0,t.h)(o.tag,d))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const g=r.slots.default();if(Array.isArray(g)&&g.length===1){const y=g[0].type.toString();if(y==="Symbol(Text)"||y==="Symbol(v-txt)"){const B=`${g[0].children}`;C=m(B,d),C||(d.innerHTML=B,C=(0,t.h)(o.tag,d))}}}C||(C=(0,t.h)(o.tag,d,{default:r.slots.default}))}if(!o.mark&&!o.icon&&!r.slots.mark)return C;const N=[];if(r.slots.mark){const g={[`${e}__mark-wrap`]:!0};o.type&&(g[`${e}__mark-wrap--${o.type}`]=!0);const y={},B=o.color;B&&(y.color=B);const T=(0,t.h)("view",{class:g,style:y},{default:r.slots.mark});N.push(T)}else{const g={[`${e}__mark`]:!0};o.type&&(g[`${e}__mark--${o.type??"default"}`]=!0);const y={},B=o.color;B&&(y["background-color"]=B);const T=(0,t.h)("view",{class:g,style:y});N.push(T)}if(o.divide){const g=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});N.push(g)}return N.push(C),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}},N)}}}}var{componentName:Kc,create:Uc,scope:Hc}=ee("text"),jc=Uc(Fc(Kc,Hc,bt,!1)),zn=jc,Wc={visible:{type:Boolean},reference:{type:[Object,String]},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},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 Yc(e,n,a=!1){return{props:{...Wc},emits:["update:visible"],setup(l,{emit:o,slots:r,expose:s}){const i=(0,t.ref)({top:null,right:null,bottom:null,left:null}),c=(0,t.ref)(0),m=(0,t.ref)(0),h=(0,t.ref)(0),u=(0,t.ref)(0),p=(0,t.ref)(l.placement),b=(0,t.ref)(!1),w=(0,t.ref)(!1),v=(0,t.ref)(null),S=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,f=(q,G,ne,O,U,z,Q,F=!0)=>{const H=document.documentElement.clientWidth||document.body.clientWidth,J=document.documentElement.clientHeight||document.body.clientHeight,X=q.split("-");let te=[];F?X[0]==="top"?te=["top","bottom","right","left"]:X[0]==="bottom"?te=["bottom","top","right","left"]:X[0]==="left"?te=["left","top","bottom","right"]:X[0]==="right"&&(te=["right","top","bottom","left"]):te=[q[0]];const P={top:null,right:null,bottom:null,left:null},j=[];for(let x=0;x<te.length;x++){const I=te[x];if(j[0]=I,X[1]&&(j[1]=X[1]),I==="top"){const Y=ne-Q-l.arrowSize/2-l.offset;if(Y>=0){P.top=Y;let Z=0;X[1]==="start"?Z=G:X[1]==="end"?Z=G+O-z:Z=G+O/2-z/2;const le=H-Z-z;le<0?(Z+=le,d.value=-le):d.value=0,P.left=Z<0?0:Z;break}}else if(I==="bottom"){const Y=ne+U+l.arrowSize/2+l.offset;if(Y+Q<=J){P.top=Y;let Z=0;X[1]==="start"?Z=G:X[1]==="end"?Z=G+O-z:Z=G+O/2-z/2;const le=H-Z-z;le<0?(Z+=le,d.value=-le):d.value=0,P.left=Z<0?0:Z;break}}else if(I==="left"){const Y=G-z-l.arrowSize/2-l.offset;if(Y>=0){P.left=Y;let Z=0;X[1]==="start"?Z=ne:X[1]==="end"?Z=ne+U-Q:Z=ne+U/2-Q/2,P.top=Z<0?0:Z;break}}else if(I==="right"){const Y=G+O+l.arrowSize/2+l.offset;if(Y+z<=H){P.left=Y;let Z=0;X[1]==="start"?Z=ne:X[1]==="end"?Z=ne+U-Q:Z=ne+U/2-Q/2,P.top=Z<0?0:Z;break}}}return{bestPlacement:j.join("-"),bestInsetRect:P}},k=()=>{const q=l.visible,G=l.autoFit;if(!Xe||q===!1)return;if(l.reference){const Q=S(),F=Ul(Q);c.value=F.x,m.value=F.y,h.value=Q.offsetWidth,u.value=Q.offsetHeight}else l.referenceInset&&(c.value=l.referenceInset.left,m.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,u.value=l.referenceInset.bottom-l.referenceInset.top);const ne=v.value.offsetWidth,O=v.value.offsetHeight,{bestPlacement:U,bestInsetRect:z}=f(l.placement,c.value,m.value,h.value,u.value,ne,O,G);p.value=U,i.value=z},d=(0,t.ref)(0),C=Pe(()=>{k()},10),N=(0,t.ref)(l.visible);(0,t.watch)([()=>l.visible],([q])=>{N.value=q,q?(b.value=q,setTimeout(()=>{k(),w.value=!0},0)):w.value=!1});const g=(0,t.computed)(()=>N.value&&y.value),y=(0,t.ref)(!0),B=Pe(q=>{const G=q[0];G&&(y.value=G.isIntersecting)},10),T=new IntersectionObserver(B);(0,t.watch)([()=>l.reference,()=>l.referenceInset],([q,G],[ne,O])=>{!q&&!G||(setTimeout(()=>{k()},0),l.autoFit&&(ne&&(Rt.unwatch(ne,C),T.unobserve(ne)),q&&(Rt.watch(q,C),T.observe(q))))},{immediate:!0}),(0,t.onBeforeUnmount)(()=>{l.reference&&(Rt.unwatch(l.reference,C),T.unobserve(l.reference),T.disconnect())});const $=(0,t.computed)(()=>{const q={[e]:!0};return p.value.startsWith("top")?q["is-top"]=!0:p.value.startsWith("right")?q["is-right"]=!0:p.value.startsWith("bottom")?q["is-bottom"]=!0:p.value.startsWith("left")&&(q["is-left"]=!0),q[`is-${l.effect}`]=!0,!w.value&&g.value&&(q["is-opacity"]=!0),w.value&&g.value&&(q["is-show"]=!0),g.value||(q["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(q[`${l.customClass}`]=!0),q}),V=(0,t.computed)(()=>{const q={};return i.value.top!==null&&(q.top=`${i.value.top}px`),i.value.right!==null&&(q.right=`${i.value.right}px`),i.value.bottom!==null&&(q.bottom=`${i.value.bottom}px`),i.value.left!==null&&(q.left=`${i.value.left}px`),l.width&&(q.width=l.width),l.zIndex&&(q["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(q,l.customStyle),q}),W=()=>{N.value=!1,o("update:visible",!1)},_=()=>l.showOverlay?(0,t.h)("div",{class:`${e}__overlay`,onClick:W}):null,E=()=>{let q=null;return r.title?q=(0,t.h)("div",{class:`${e}__title`},{default:r.title}):l.title&&(q=(0,t.h)("div",{class:`${e}__title`},[l.title])),q},D=(0,t.computed)(()=>({[`${e}__arrow`]:!0})),L=(0,t.computed)(()=>{const q={};return l.showArrow?(q.width=`${l.arrowSize}px`,q.height=`${l.arrowSize}px`,p.value==="top"?(q.left="50%",q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="top-start"?(q.left=`${l.arrowOffset+d.value}px`,q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="top-end"?(q.right=`${l.arrowOffset-d.value}px`,q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="right"?(q.left="0",q.top="50%",q.transform="translate(-50%, -50%)"):p.value==="right-start"?(q.left="0",q.top=`${l.arrowOffset}px`,q.transform="translate(-50%, 50%)"):p.value==="right-end"?(q.left="0",q.bottom=`-${l.arrowOffset}px`,q.transform="translate(-50%, 50%)"):p.value==="bottom"?(q.left="50%",q.top="0",q.transform="translate(-50%, -50%)"):p.value==="bottom-start"?(q.left=`${l.arrowOffset+d.value}px`,q.top="0",q.transform="translate(-50%, -50%)"):p.value==="bottom-end"?(q.right=`${l.arrowOffset-d.value}px`,q.top="0",q.transform="translate(-50%, -50%)"):p.value==="left"?(q.right="0",q.top="50%",q.transform="translate(50%, -50%)"):p.value==="left-start"?(q.right="0",q.top=`${l.arrowOffset}px`,q.transform="translate(50%, -50%)"):p.value==="left-end"&&(q.right="0",q.bottom=`-${l.arrowOffset}px`,q.transform="translate(50%, -50%)"),q):{display:"none"}}),M=()=>(0,t.h)("div",{class:D.value,style:L.value}),R=()=>{N.value===!1&&(b.value=!1)},K=q=>{if(!v.value||N.value===!1)return;const{relatedTarget:G}=q;v.value.contains(G)||(N.value=!1,o("update:visible",!1))};return s({doLayout:k}),()=>{if(!b.value)return null;const q=[],G=_();G&&q.push(G);const ne=[],O=E();if(O&&ne.push(O),r.default){const F=r.default();ne.push(F)}const U=M();U&&ne.push(U);const z={ref:v,class:$.value,style:V.value,onAnimationend:R};l.leaveHide&&(z.onMouseleave=K);const Q=(0,t.h)("div",z,{default:()=>ne});return q.push(Q),(0,t.h)(t.Teleport,{to:l.teleport,disabled:l.teleportDisable},{default:()=>q})}}}}var{componentName:Xc,create:Qc,scope:Gc}=ee("popover-dialog"),Zc=Qc(Yc(Xc,Gc,!1)),Ln=Zc,_c={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1}};function Jc(e,n,a){return{props:{...xr,..._c},emits:["click"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["moreText"]),c=e,m=(0,t.computed)(()=>({[c]:!0}));function h(g){return g.props||{}}function u(g){return!!h(g).disabled}function p(g){return g.children??[]}const b=(0,t.ref)(),w=(0,t.computed)(()=>b.value?.$el??null),v=(0,t.ref)(!1),S=g=>{v.value=g},f=()=>{v.value=!v.value};function k(g,y){return()=>{y||(v.value=!1,h(g)?.onClick?.())}}function d(g,y){const B=p(g),T=u(g),$=k(g,T),V=[`${c}__dropdown-item`];return T&&V.push("is-disabled"),(0,t.h)("span",{class:V,onClick:$},B)}const C=g=>{const y=l.maxDisplayCount??g.length;if(y>=g.length)return g;const B=[],T=y-1;for(let E=0;E<T;E++)B.push(g[E]);const $=(r.moreIcon&&r.moreIcon())??(l.moreIcon&&(0,t.h)(l.moreIcon))??(0,t.h)(a),V=(0,t.h)(zn,{ref:E=>b.value=E,class:`${c}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:l.type,onClick:f},{default:()=>i.moreText.value,mark:()=>$});B.push(V);const W=[];for(let E=T;E<g.length;E++){const D=d(g[E],E);W.push(D)}const _=(0,t.h)(Ln,{placement:l.dropdownPlacement,"onUpdate:visible":S,visible:v.value,reference:w.value,"custom-class":`${c}__popover`},{default:()=>W});return B.push(_),B},N=()=>(r.default?.()||[]).filter(g=>g.type!==Comment);return()=>{const g=C(N());return(0,t.h)(Mn,{class:m.value},{default:()=>g})}}}}var{componentName:eu,create:tu,scope:nu}=ee("buttons-item"),lu=tu(Jc(eu,nu,Lc)),Wl=lu,au={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function ou(e,n){return{props:{...au},setup(a,l){const o=Ge(),r=Tn();Vn(!1);const s=(0,t.computed)(()=>r&&o?$n(o,!1).value:null),i=e,c=(0,t.computed)(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:a.span==="stretch"})),m=(0,t.computed)(()=>{const h={};if(a.width)a.width!=="auto"&&(h.width=de(a.width));else{const u=r&&o?En(o,!1):null;if(s.value&&u){if(s.value.type==="grid"){const p=In(u,s.value,a.span,a.offset);Object.assign(h,p)}else if(s.value.type==="flow"){const p=Dn(u,s.value,a.span,a.offset,a.width);Object.assign(h,p)}}}return h});return()=>{const h={class:c.value,style:m.value};return l.slots&&typeof l.slots.default=="function"?(0,t.h)("div",h,l.slots.default()):(0,t.h)("div",h)}}}}var{componentName:ru,create:iu,scope:su}=ee("slot-item"),cu=iu(ou(ru,su)),Yl=cu,Pr={type:{type:String,default:"text"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function uu(e,n,a,l){return{props:{...pe,...ye,...Pr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(o,["placeholder"]),u=(0,t.ref)(!1),p=Me(o,"modelValue",null,c),b=e,w=(0,t.computed)(()=>({[b]:!0,"is-disabled":s.value,"is-readonly":i.value})),v=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),S=(0,t.computed)(()=>{const D={};return v.value&&(D["text-align"]=v.value),D}),f=D=>{let L=D.target.value;o.type==="digit"&&(L=Nl(L,!0)),o.type==="number"&&(L=Nl(L,!1)),o.maxLength&&L.length>Number(o.maxLength)&&(L=L.slice(0,Number(o.maxLength))),p.value=L,c("update:modelValue",L,D),c("change",L,D)};let k=Me(o,"hintText"),d=(0,t.ref)(!1);const C=D=>{let L=D.target.value;u.value=!0,ue(k.value)||(d.value=!0),c("focus",L,D)},N=D=>{setTimeout(()=>{d.value&&(d.value=!1),u.value=!1},0);let L=D.target.value;o.maxLength&&L.length>Number(o.maxLength)&&(L=L.slice(0,Number(o.maxLength))),c("blur",L,D)},g=(0,t.computed)(()=>({[`${b}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),y=(0,t.computed)(()=>{const D={};return r.slots.append&&!B.value&&!_.value&&(D.display="none"),D}),B=(0,t.computed)(()=>ve(o.unit)>0),T=(0,t.computed)(()=>!_.value),$=(0,t.computed)(()=>({[`${b}__unit`]:!0,hidden:!T.value})),V=D=>{p.value="",c("update:modelValue","",D),c("change","",D),c("clear","")},W=(0,t.computed)(()=>Se(o.clearable)&&!s.value&&!i.value),_=(0,t.computed)(()=>{let D=ve(p.value)>0;return Se(o.clearable)&&D&&u.value}),E=(0,t.computed)(()=>({action:!0,hidden:!_.value}));return()=>{const D={class:w.value,style:S.value,type:o.type,maxlength:o.maxLength,placeholder:h.placeholder.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onInput:f,onFocus:C,onBlur:N},L=[],M=(0,t.h)("input",D);L.push(M);const R=[];if(W.value){const ne=(0,t.h)(l,{class:["action-icon"]}),O=(0,t.h)("view",{class:E.value,onClick:V},{default:()=>[ne]});R.push(O)}if(B.value){const ne=(0,t.h)("view",{class:$.value},[o.unit]);R.push(ne)}const K=(0,t.h)("view",{class:g.value,style:y.value},{default:()=>R});L.push(K);const q={default:()=>L};q.label=r.slots.default,q.prepend=r.slots.prepend,q.append=r.slots.append,q.fixedPreTip=r.slots.fixedPreTip,q.fixedTip=r.slots.fixedTip;const G={...Qe(o,Pr),hintText:k.value,hintVisible:d.value};return o.prop&&(G.prop=`${o.prop}_item`),(0,t.h)(a,G,q)}}}}var{componentName:du,create:fu,scope:mu}=ee("input-item"),hu=fu(uu(du,mu,Ne,ae.CircleClose)),Xl=hu;function Mr(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 zr(e,n,a=20){return typeof n=="string"&&(n=me(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?Mr(Zo(`${e}`,`${n}`)):Mr(Sl(`${e}`,_o(`${n}`),20))}function pu(e,n=-1,a=!1,l=3,o=","){return rn(e,n,a,l,o)}function Lr(e,n,a,l,o=!0){if(e==="")return"";if(e=Jo(e),n=me(n),n==1)return e;if(l)e=zr(e,n),a&&(e=="0"&&o?e=`${e}.`.padEnd(me(a)+2,"0"):e=Sl(e,1,me(a)));else{let r=-1*n;e=zr(e,r)}return e}function Or(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=Se(n.minInclude),o=vl(e,n.min);(l&&o==-1||!l&&(o==0||o==-1))&&(a.message="请输入不小于 {0} 的数值".replace("{0}",n.min),a.minValid=!1)}if(n.max!=null){let l=Se(n.maxInclude),o=vl(e,n.max);(l&&o==1||!l&&(o==0||o==1))&&(a.maxValid=!1)}return a}var Rr={clearable:{type:Boolean,default:!0},modelValue:{type:[String,Number],default:""},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function gu(e,n,a,l){return{props:{...pe,...ye,...Rr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=(0,t.ref)(!1),h=Me(o,"modelValue",null,c),u=(0,t.ref)("");(0,t.watch)([()=>h.value,()=>o.rates,()=>o.precision],([K,q,G])=>{if(ue(K)){u.value="";return}const ne=Lr(K,q,G,!1);u.value!==ne&&(u.value=ne)},{immediate:!0});const p=(0,t.computed)(()=>{let K="";return m.value&&(K=u.value),K}),{t:b}=(0,he.useFoxI18n)(n),w=(0,t.computed)(()=>{let K=o.placeholder??"";return!m.value&&!ue(u.value)?K=pu(u.value,o.decimalLength,o.autoPadding,o.digits,o.separator):K=ue(K)?b(["placeholder"]):K,K}),v=e,S=(0,t.computed)(()=>({[v]:!0,[`${v}__placeholder`]:u.value.length>0,"is-disabled":s.value,"is-readonly":i.value})),f=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),k=(0,t.computed)(()=>{const K={};return f.value&&(K["text-align"]=f.value),K}),d=(0,t.ref)(""),C=(0,t.computed)(()=>{let K=d.value;return ue(K)&&(K=o.errorTip??""),K}),N=(0,t.ref)(""),g=(0,t.ref)(!1),y=K=>{let q=K.target.value;if(ue(q)){u.value="",h.value="",c("update:modelValue","",K),c("change","",K),Se(o.showTip)&&g.value&&(g.value=!1);return}if(q.length>=2){let G=q;if(G.charAt(0)=="-"&&(G=G.substring(1)),G.length>=2&&G.charAt(0)=="0"&&G.charAt(1)!="."){(0,t.triggerRef)(u);return}}if(q!="-"){if(!dn(q)){(0,t.triggerRef)(u);return}if(o.integerLength!=-1&&ir(q)>Number(o.integerLength)){(0,t.triggerRef)(u);return}if(o.decimalLength&&o.decimalLength!=-1&&sr(q)>Number(o.decimalLength)){(0,t.triggerRef)(u);return}let G=Or(q,o);if(G.maxValid===!1){d.value=G.message,(0,t.triggerRef)(u);return}}else if(o.min!=null&&me(o.min)>=0){(0,t.triggerRef)(u);return}N.value=q,Se(o.showTip)&&(g.value=q.length>0),u.value=q,h.value=Lr(q,o.rates,o.precision,!0),c("update:modelValue",h.value,K),c("change",h.value,K)},B=K=>{if(m.value=!0,Se(o.showTip)){let q=u.value;ue(q)&&(q=o.hintText),ue(q)||(N.value=q,g.value=!0)}d.value="",c("focus",h.value,K)},T=K=>{if(setTimeout(()=>{m.value=!1,Se(o.showTip)&&g.value===!0&&(g.value=!1)},0),!ue(u.value)){let q=Or(u.value,o);if(q.minValid===!1||q.maxValid===!1){d.value=q.message;return}}c("update:modelValue",h.value,K),c("blur",h.value,K)},$=(0,t.computed)(()=>({[`${v}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),V=(0,t.computed)(()=>{const K={};return r.slots.append&&!W.value&&!M.value&&(K.display="none"),K}),W=(0,t.computed)(()=>ve(o.unit)>0),_=(0,t.computed)(()=>!M.value),E=(0,t.computed)(()=>({[`${v}__unit`]:!0,hidden:!_.value})),D=K=>{h.value="",c("update:modelValue","",K),c("change","",K),c("clear","")},L=(0,t.computed)(()=>Se(o.clearable)&&!s.value&&!i.value),M=(0,t.computed)(()=>{let K=ve(h.value)>0;return Se(o.clearable)&&K&&m.value}),R=(0,t.computed)(()=>({action:!0,hidden:!M.value}));return()=>{let K={class:S.value,style:k.value,type:"digit",maxlength:o.maxLength,placeholder:w.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onInput:y,onFocus:B,onBlur:T},q=[],G=(0,t.h)("input",K);q.push(G);let ne=[];if(L.value){const Q=(0,t.h)(l,{class:["action-icon"]}),F=(0,t.h)("view",{class:R.value,onClick:D},{default:()=>[Q]});ne.push(F)}if(W.value){const Q=(0,t.h)("view",{class:E.value},[o.unit]);ne.push(Q)}const O=(0,t.h)("view",{class:$.value,style:V.value},{default:()=>ne});q.push(O);const U={default:()=>q};U.label=r.slots.default,U.prepend=r.slots.prepend,U.append=r.slots.append,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const z={...Qe(o,Rr),errorTip:C.value,hintText:N.value,hintVisible:g.value,hintType:"number"};return o.prop&&(z.prop=`${o.prop}_item`),(0,t.h)(a,z,U)}}}}var{componentName:yu,create:bu,scope:Su}=ee("money-item"),vu=bu(gu(yu,Su,Ne,ae.CircleClose)),Ql=vu,Gl={modelValue:{type:[String,Number],default:""},textAlign:{type:String,default:""},limitShow:{type:Boolean,default:!1},maxLength:{type:[String,Number],default:""},rows:{type:[String,Number],default:"2"},placeholder:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autosize:{type:[Boolean,Object],default:!1},autofocus:{type:Boolean,default:!1}},{componentName:ku,create:wu,scope:Cu}=ee("textarea"),Nu=wu({props:{...Gl},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:a}=(0,he.useFoxI18n)(Cu);const l=a(e,["placeholder"]),o=(0,t.ref)(),r=(0,t.computed)(()=>{const p=ku;return{[p]:!0,[`${p}--disabled`]:e.disabled}});(0,t.onMounted)(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&(0,t.nextTick)(i)});const s=(0,t.computed)(()=>({textAlign:e.textAlign})),i=()=>{let p=o.value;p.style.height="auto";let b=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:w,minHeight:v}=e.autosize;w!==void 0&&(b=Math.min(b,w)),v!==void 0&&(b=Math.max(b,v))}b&&(console.info("----------- height",b),p.style.height=b+"px")};(0,t.watch)(()=>e.modelValue,()=>{e.autosize&&(0,t.nextTick)(i)});const c=(p,b)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),n("update:modelValue",p,b),n("change",p,b)};return{...l,textareaRef:o,classes:r,styles:s,change:p=>{const b=p.target;c(b.value,p)},focus:p=>{e.disabled||e.readonly||n("focus",p)},blur:p=>{if(e.disabled||e.readonly)return;let b=p.target.value;c(b,p),n("blur",{value:b,event:p})}}}}),Au=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],Bu={key:0,class:"fox-textarea__limit"};function Tu(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("textarea",{ref:"textareaRef",class:"fox-textarea__textarea",style:(0,t.normalizeStyle)(e.styles),rows:e.rows,disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[0]||(n[0]=(...s)=>e.change&&e.change(...s)),onBlur:n[1]||(n[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:n[2]||(n[2]=(...s)=>e.focus&&e.focus(...s)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Au),e.limitShow?((0,t.openBlock)(),(0,t.createElementBlock)("view",Bu,(0,t.toDisplayString)(e.modelValue?e.modelValue.length:0)+"/"+(0,t.toDisplayString)(e.maxLength),1)):(0,t.createCommentVNode)("",!0)],2)}var On=oe(Nu,[["render",Tu]]);function Vu(e,n,a,l){return{props:{...pe,...ye,...Gl},emits:["update:modelValue","change","blur","focus","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=Me(o,"modelValue",null,c),h=v=>{m.value=v,c("update:modelValue",v,{}),c("change",v,{})};let u=Me(o,"hintText"),p=(0,t.ref)(!1);const b=v=>{ue(u.value)||(p.value=!0),c("focus",m.value,v)},w=v=>{setTimeout(()=>{p.value&&(p.value=!1)},0),c("blur",m.value,v)};return()=>{const v={...ge(o,Gl),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h,onFocus:b,onBlur:w},S=[],f=(0,t.h)(l,v);S.push(f);const k={default:()=>S};k.label=r.slots.default,k.prepend=r.slots.prepend,k.append=r.slots.append,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const d={...ge(o,ye,pe)};return o.prop&&(d.prop=`${o.prop}_item`),(0,t.h)(a,d,k)}}}}var{componentName:$u,create:Eu,scope:Du}=ee("textarea-item"),Iu=Eu(Vu($u,Du,Ne,On)),Zl=Iu;function qu(e){return e===window}var xe=e=>{const n=(0,t.unref)(e);if(qu(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}},Fr=10;function Kr(e,n){return e>n&&e>Fr?"horizontal":n>e&&n>Fr?"vertical":""}function Rn(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Fn(){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:(s=>{if(s.touches){const i=s.touches[0];e.deltaX=i.clientX-e.startX,e.deltaY=i.clientY-e.startY,e.moveX=i.clientX,e.moveY=i.clientY}else{const i=s;e.deltaX=i.clientX-e.startX,e.deltaY=i.clientY-e.startY,e.moveX=i.clientX,e.moveY=i.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=Kr(e.offsetX,e.offsetY))}),start:(s=>{if(l(),s.touches){const i=s.touches[0];e.startX=i.clientX,e.startY=i.clientY}else{const i=s;e.startX=i.clientX,e.startY=i.clientY}e.startTime=Date.now()}),reset:l,isVertical:n,isHorizontal:a,state:e}}function Je(){const e=(0,t.ref)(0),n=(0,t.ref)(0),a=(0,t.ref)(0),l=(0,t.ref)(0),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(0),i=(0,t.ref)(0),c=(0,t.ref)(0),m=(0,t.ref)(0),h=(0,t.ref)(""),u=()=>h.value==="vertical",p=()=>h.value==="horizontal",b=()=>{s.value=0,i.value=0,c.value=0,m.value=0,h.value="",a.value=0};return{move:(S=>{if(S.touches){const f=S.touches[0];s.value=f.clientX-e.value,i.value=f.clientY-n.value,o.value=f.clientX,r.value=f.clientY}else{const f=S;s.value=f.clientX-e.value,i.value=f.clientY-n.value,o.value=f.clientX,r.value=f.clientY}c.value=Math.abs(s.value),m.value=Math.abs(i.value),l.value=Date.now()-a.value,h.value||(h.value=Kr(c.value,m.value))}),start:(S=>{if(b(),S.touches){const f=S.touches[0];e.value=f.clientX,n.value=f.clientY}else{const f=S;e.value=f.clientX,n.value=f.clientY}a.value=Date.now()}),reset:b,startX:e,startY:n,startTime:a,duration:l,moveX:o,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:m,direction:h,isVertical:u,isHorizontal:p}}var xu=2e3,Ur=()=>xu++,et={visible:{type:Boolean,default:!1},zIndex:{type:[String,Number]},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,Array],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:{}}},Pu=(e,n)=>({components:n,props:{...et},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:l}){const o=(0,t.reactive)({zIndex:0,showSlot:!0,closed:a.closeable});a.visible&&(o.zIndex=Ur());const r=(0,t.computed)(()=>{const v=e,S=[v,`${v}--${a.position}`];return a.round&&S.push("round"),a.position==="bottom"&&a.safeAreaInsetBottom&&S.push(`${v}--${a.position}--safebottom`),typeof a.popClass=="string"?S.push(a.popClass):Array.isArray(a.popClass)&&a.popClass.forEach(f=>{S.push(f)}),S}),s=(0,t.computed)(()=>({zIndex:o.zIndex,transitionDuration:`${a.duration}s`,...a.style})),i=(0,t.computed)(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),c=()=>{l("update:visible",!0),a.zIndex?o.zIndex=a.zIndex:o.zIndex=Ur(),a.destroyOnClose&&(o.showSlot=!0),l("open")},m=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+a.duration*1e3)},h=v=>{l("click-pop",v)},u=v=>{v.stopPropagation(),l("click-close-icon",v),l("update:visible",!1)},p=v=>{l("click-overlay",v),a.closeOnClickOverlay&&l("update:visible",!1)},b=v=>{l("opend",v)},w=v=>{l("closed",v)};return(0,t.watch)(()=>a.visible,v=>{a.visible?c():m()}),(0,t.watch)(()=>a.closeable,v=>{o.closed=v}),{...(0,t.toRefs)(o),popStyle:s,transitionName:i,classes:r,onClick:h,onClickCloseIcon:u,onClickOverlay:p,onOpened:b,onClosed:w}}}),Hr={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}},_l={...et,...Hr,modelValue:{type:[String,Number,Boolean,Object,Array],default:()=>""},text:{type:[Array],default:()=>[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:()=>[]},params:{type:Object},valueType:{type:String,required:!1,default:()=>"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:()=>!0},poppable:{type:[Boolean],default:()=>!0}},jr=36;function Mu(){return jr}function zu(e){jr=e}function Re(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 Lu(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function ot(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Wr(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var Ou=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Ru(){return new Ou((0,t.getCurrentInstance)().proxy)}function Yr(e,n,a){return!(Re(e,n)!==Re(e,a)||ot(e,n)!==ot(e,a))}function Fu(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 s=0;s<n.length&&s<a.length;s++){const i=n[s];let c=a[s].findIndex(m=>{if(r==="text")return Re(e,m)===i;if(r==="value"){let h=ot(e,m);return h==null&&(h=Re(e,m)),h===i}else if(r==="item")return Yr(e,m,i)});if(c==-1)break;o.push(c)}else{let s=a[0];for(let i=0;i<n.length;i++){const c=n[i];let m=s.findIndex(u=>{if(r==="text")return Re(e,u)===c;if(r==="value"){let p=ot(e,u);return p==null&&(p=Re(e,u)),p===c}else if(r==="item")return Yr(e,u,c)});if(m==-1)break;o.push(m);const h=Jl(e,s[m]);if(!Array.isArray(h))break;s=h}}return o}function Xr(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 s=0;s<n.length&&s<a.length;s++){const i=a[s];let c=n[s];c<0&&c>=i.length&&(c=0);const m=i[c],h=Re(e,m);if(o.texts.push(h),o.items.push(m),r==="text")o.values.push(h);else if(r==="value"){let u=ot(e,m);u==null&&(u=h),o.values.push(u)}else o.values.push(m)}else{let s=a[0];for(let i=0;i<n.length;i++){let c=n[i];c<0&&c>=s.length&&(c=0);const m=s[c],h=Object.assign({},m);h.children=null;const u=Re(e,m);if(o.texts.push(u),o.items.push(h),r==="text")o.values.push(u);else if(r==="value"){let p=ot(e,m);p==null&&(p=u),o.values.push(p)}else o.values.push(h);if(!Array.isArray(m.children))break;s=m.children}}return o}function Qr(e){return{text:e,value:e}}var Ku=15,Uu=300,Hu=200,{create:ju}=ee("picker-column");function Wu(e){e.stopPropagation()}function Yu(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&Wu(e)}var Xu=ju({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},...Hr},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=(0,t.computed)(()=>({"fox-picker__list":!0})),l=(0,t.computed)(()=>({height:`${me(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=y=>{const B=y+1;return B>=u.currIndex+8||B<=u.currIndex-8},i=(0,t.computed)(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${u.deg})`,top:`${r.value}px`})),c=y=>{const B=y+1;return`transform: rotate3d(1, 0, 0, ${-u.rotation*B}deg) translate3d(0px, 0px, 104px)`},m=(0,t.computed)(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${u.scrollDistance+r.value}px, 0)`})),h=(0,t.ref)(null),u=(0,t.reactive)({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),p=y=>Re(e,y),b=y=>ot(e,y),w=Je(),v=()=>{u.transitionEndTrigger&&(u.transitionEndTrigger(),u.transitionEndTrigger=null)},S=(y,B=!1,T=!1)=>{if(u.currIndex=y,B){const $=()=>{u.moving=!1,n("update:modelValue",y),n("change",y)};T?u.transitionEndTrigger=$:$()}},f=(y,B,T)=>{let $=y+u.startDistance;if(B==="end"){const V=-(e.source.length-1)*e.itemHeight;$<V&&($=V),$>0&&($=0);let W=Math.abs(Math.round(-$/e.itemHeight));const _=-W*e.itemHeight,E=`${(W+1)*u.rotation}deg`;S(W,!0,T?T>0:!1),k(_,B,T,E)}else{let V=(-$/e.itemHeight+1)*u.rotation;const W=(e.source.length+1)*u.rotation,_=0;if(V=Math.min(Math.max(V,_),W),e.threeDimensional&&(V<_||V>W))return;k($,null,void 0,`${V}deg`)}},k=(y=0,B,T=Hu,$)=>{B==="end"?u.scrollTime=T:u.scrollTime=0,u.deg=$,u.scrollDistance=y},d=(y,B)=>(y=Math.abs(y/B)/.003*(y<0?-1:1),y),C=y=>{e.readonly||(u.startDistance=u.scrollDistance,w.start(y),u.transitionEndTrigger=null)},N=y=>{e.readonly||(u.moving=!0,w.move(y),w.isVertical()&&(u.moving=!0,Yu(y,!0)),f(w.deltaY.value,"",0))},g=()=>{if(e.readonly)return;const y=w.deltaY.value,B=w.duration.value;B<Uu&&Math.abs(y)>Ku?f(d(y,B),"end",e.swipeDuration):f(y,"end",0)};return(0,t.watch)(()=>e.modelValue,y=>{const B=u.currIndex-y;B!==0&&(u.currIndex=y,u.startDistance=u.scrollDistance,f(B*e.itemHeight,"",0))}),(0,t.watch)(()=>e.source,y=>{if(u.currIndex>=y.length){const B=(y.length-1-u.currIndex)*e.itemHeight;u.startDistance=u.scrollDistance,f(B,"end",0)}}),(0,t.watch)(()=>e.visible,y=>{y===!1&&v()}),(0,t.onMounted)(()=>{f(-e.modelValue*e.itemHeight)}),{classes:a,styles:l,contentClasses:o,itemText:p,itemValue:b,...(0,t.toRefs)(u),roller:h,getItemText:Re,onTouchStart:C,onTouchMove:N,onTouchEnd:g,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:m,stopMomentum:v}}}),Qu={key:1,class:"fox-picker__item-tile"};function Gu(e,n,a,l,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,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${i}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(i)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(i))},(0,t.toDisplayString)(e.itemText(s)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",Qu,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var Zu=oe(Xu,[["render",Gu]]),Ft=0,Gr="fox-overflow-hidden",Zr=()=>Xe?document.body:{classList:[]},_u=e=>[()=>{if(e())try{!Ft&&Zr().classList.add(Gr),Ft++}catch{}},()=>{if(e()&&Ft)try{Ft--,!Ft&&Zr().classList.remove(Gr)}catch{}}],Ju={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:ed,create:td}=ee("overlay"),nd=td({props:{...Ju},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=_u(()=>e.lockScroll),o=(0,t.computed)(()=>({[ed]:!0,[e.overlayClass]:!0})),r=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,i=>{i?a():l()}),{classes:o,style:r,onClick:i=>{n("click",i),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function ld(e,n,a,l,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 rt=oe(nd,[["render",ld]]),{componentName:ad,create:od}=ee("popup"),rd=od(Pu(ad,{FoxOverLay:rt,Close:ae.Close}));function id(e,n,a,l,o,r){const s=(0,t.resolveComponent)("FoxOverLay"),i=(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]=(...c)=>e.onClick&&e.onClick(...c))},[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]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(i)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var be=oe(rd,[["render",id]]),sd=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-picker__popup"}},setup(e,{slots:n}){return()=>e.poppable?(0,t.h)(be,Qe({...e},{poppable:!1}),n):n?.default?.()??null}}),cd=sd,{create:ud,componentName:_r,scope:dd}=ee("picker"),fd=ud({components:{Column:Zu,Wrapper:cd},props:{..._l},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=(0,he.useFoxI18n)(dd),o=a(e,["title","cancelText","clearText","confirmText"]),r=(0,t.ref)(null),s=(0,t.ref)(Mu());(0,t.watch)(()=>e.visible,D=>{D&&s.value<=0&&setTimeout(()=>{r.value&&(s.value=xe(r.value).height,zu(s.value))},50)});const i=(0,t.computed)(()=>({[_r]:!0})),c=(0,t.computed)(()=>{const D=[];return Array.isArray(e.popClass)?D.push(...e.popClass):typeof e.popClass=="string"&&e.popClass.length>0&&D.push(e.popClass),D.push(`${_r}__popup`),D.join(" ")}),m=Ru(),h=(0,t.ref)("singleColumn");let u=(0,t.ref)([]);(0,t.watch)([()=>e.source,()=>e.params],async([D,L])=>{if(D){let M=await m.load("picker",D,L);if(M.length>0){let R=M[0];if(Array.isArray(R)){if(typeof R[0]=="string"){let K=M,q=[];K.forEach(G=>{let ne=G.map(O=>Qr(O));q.push(ne)}),u.value=q}else u.value=M;h.value="multipleColumn"}else if(typeof R=="string"){let K=M,q=[],G=K.map(ne=>Qr(ne));q.push(G),u.value=q,h.value="singleColumn"}else{const K=Jl(e,R);Array.isArray(K)?(h.value="cascade",u.value=[M]):(h.value="singleColumn",u.value=[M])}}else u.value=[]}},{immediate:!0});const p=(0,t.ref)([]),b=(0,t.ref)(e.modelValue&&!Array.isArray(e.modelValue)?[e.modelValue]:e.modelValue),w=(0,t.ref)([]);let v=null;const S=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>u.value],([D,L])=>{let M=Fu(e,D,L,h.value);if(!Ie(M,S.value)){S.value=M,v||(v=M?[...M]:[]);let R=Xr(e,M,L,h.value);R&&(p.value=R.texts,Ie(b.value,R.values)||(b.value=R.values),Ie(w.value,R.items)||(w.value=R.items),n("update:text",p.value))}});let f="";const k=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,D=>{k.value=D,D&&(f="active",S.value.length>0&&(v=[...S.value]))});const d=D=>{let L=Wr(e,D);return De(L)?L.defaultIndex??0:0},C=D=>{if(e.readonly===!0)return!0;let L=Wr(e,D);return De(L)?L.readonly??!1:!1},N=(D,L)=>{let M=S.value;M[D]=L;for(let K=0;K<D;K++)M[K]==null&&(M[K]=d(K));if(h.value==="cascade")for(let K=D+1;K<y.value.length;K++){let q=d(K);K<M.length?M[K]=q:M.push(q)}else for(let K=M.length;K<y.value.length;K++){let q=d(K);M.push(q)}S.value=M;let R=Xr(e,M,u.value,h.value);R&&(p.value=R.texts,b.value=R.values,w.value=R.items)},g=D=>D<S.value.length?S.value[D]:d(D),y=(0,t.computed)(()=>{if(u.value.length==0)return[];if(h.value=="singleColumn"||h.value=="multipleColumn")return u.value;let D=[],L=0,M=u.value[0],R=0;for(;;){let K=M.map(ne=>{let O=Object.assign({},ne);return Lu(e,O,null),O});D.push(K),L>=S.value.length?R=0:R=S.value[L],(R<0||R>=M.length)&&(R=0);let q=M[R];const G=Jl(e,q);if(!Array.isArray(G))break;M=G,L++}return D}),B=(0,t.computed)(()=>me(+e.visibleItemCount-1)/2*s.value),T=(D=!1)=>{if(e.readonly===!0){D&&n("update:visible",!1);return}let L=u.value.length-1;for(;L>=0&&!(S.value[L]===null||S.value[L]===void 0);L--);if(L>=0&&N(L,0),h.value==="singleColumn"){let M=b.value.length>0?b.value[0]:"",R=w.value.length>0?w.value[0]:null;n("update:modelValue",M),n("update:text",p.value),n("change",M,R),D&&(n("confirm",M),n("update:visible",!1))}else n("update:modelValue",b.value),n("update:text",p.value),n("change",b.value,w.value),D&&(n("confirm",b.value),n("update:visible",!1))},$=(D,L)=>{f!=="close"&&(N(D,L),e.isAutoBackFill&&T(!k.value))},V=()=>{f==="active"&&(f="confirm",v=Array.isArray(S.value)?[...S.value]:[],T(!0))},W=()=>{h.value==="singleColumn"?(n("update:modelValue",""),n("update:text",""),n("change","")):(n("update:modelValue",[]),n("update:text",""),n("change",[])),S.value=[],v=null};return{...o,pickerLineRef:r,classes:i,popClasses:c,columns:y,dataType:h,show:k,itemHeight:s,top:B,isReadonly:C,getIndex:g,change:$,close:()=>{if(f==="active"){if(f="close",v===null||v.length===0)W();else{if(Array.isArray(v))for(let D=0;D<v.length;D++)N(D,v[D]);T(!1)}n("close"),n("update:visible",!1)}},confirm:V,clear:()=>{if(f==="active"){if(f="clear",e.readonly===!0){n("update:visible",!1);return}W(),v=null,n("clear",""),n("update:visible",!1)}}}}}),md={key:0,class:"fox-picker__bar"},hd={class:"fox-picker__title"},pd={class:"fox-picker__bar__action"},gd={class:"fox-picker__column"};function yd(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Column"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(i,{position:"bottom","pop-class":e.popClasses,visible:e.show,"onUpdate:visible":n[3]||(n[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable,poppable:e.poppable},{default:(0,t.withCtx)(()=>[e.poppable?((0,t.openBlock)(),(0,t.createElementBlock)("view",md,[(0,t.createElementVNode)("view",hd,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",pd,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...c)=>e.close&&e.close(...c))},(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]=(...c)=>e.confirm&&e.confirm(...c))},(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]=(...c)=>e.clear&&e.clear(...c))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",gd,[(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,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:"fox-picker__columnitem"},[(0,t.createVNode)(s,{visible:e.show,source:c,readonly:e.isReadonly(m),"column-index":m,modelValue:e.getIndex(m),"onUpdate:modelValue":h=>e.change(m,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))]),(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["pop-class","visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable","poppable"])],2)}var Kt=oe(fd,[["render",yd]]);function bd(e,n,a,l,o,r,s=!0){return{props:{...pe,...ye,..._l,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},separator:{type:[String],required:!1,defualt:" "}},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=Me(i,"modelValue",null,u),S=(0,t.ref)([]),f=(0,t.computed)(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const U={};return C.value&&(U["text-align"]=C.value),U}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=U=>{g.value=U},T=U=>{v.value=U,u("update:modelValue",U)},$=(U,z)=>{u("change",U,z)},V=U=>{let z=U.target.value;w.value=!0,u("focus",z,U)},W=U=>{setTimeout(()=>{w.value=!1},0);let z=U.target.value;i.maxLength&&z.length>Number(i.maxLength)&&(z=z.slice(0,Number(i.maxLength))),u("blur",z,U)},_=U=>{S.value=U,Array.isArray(U)&&U.length===0?u("update:text",U[0]):u("update:text",U)},E=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),D=(0,t.computed)(()=>ve(i.unit)>0),L=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),M=(0,t.computed)(()=>({hidden:!L.value})),R=U=>{v.value="",u("update:modelValue","",U),u("change","",U),u("clear","")},K=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),q=(0,t.computed)(()=>ve(v.value)>0&&w.value),G=U=>{q.value?R(U):y()},ne=(0,t.computed)(()=>q.value&&K.value?l:o),O=(0,t.computed)(()=>({action:!0}));return()=>{const U={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(U.disabled=!0);const z=[],Q=(0,t.h)("input",U);z.push(Q);const F=[],H=(0,t.h)(ne.value,{class:["action-icon"]}),J=(0,t.h)("view",{class:O.value,onClick:G},{default:()=>[H]});if(F.push(J),D.value){const I=(0,t.h)("view",{class:M.value},[i.unit]);F.push(I)}const X=(0,t.h)("view",{class:E.value},{default:()=>F});z.push(X);const te={default:()=>z};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const P=ge(i,_l);P.disabled=!1,P.readonly=m.value||h.value,P.visible=g.value,P["onUpdate:visible"]=B,P.modelValue=v.value,P["onUpdate:modelValue"]=T,P.text=S.value,P["onUpdate:text"]=_,P.onChange=$;const j=(0,t.h)(r,P);te.hide=()=>[j];const x=ge(i,ye,pe);return i.prop&&(x.prop=`${i.prop}_item`),(0,t.h)(a,x,te)}}}}var{componentName:Sd,create:vd,scope:kd}=ee("picker-item"),wd=vd(bd(Sd,kd,Ne,ae.CircleClose,ae.ArrowRight,Kt,!1)),ea=wd,Cd=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:a}){return()=>e.poppable?(0,t.h)(be,{...a},n):n?.default?.()??null}}),Nd=Cd,Kn=(e,n,a)=>e.map(l=>{const{value:o="value",text:r="text",children:s="children"}=a??{},{[o]:i,[r]:c,[s]:m,...h}=l,u={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:i,text:c,children:m,_parent:n};return u.children&&u.children.length&&(u.children=Kn(u.children,u,a)),u}),Jr=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&Jr(l.children,n)},Ad={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Bd=(e,n)=>{const{topId:a,idKey:l,pidKey:o,sortKey:r}={...Ad,...n||{}};let s=[],i={};return e.forEach(c=>{c={...c};const{[l]:m,[o]:h}=c,u=i[h]=i[h]||[];!s.length&&h===a&&(s=u),u.push(c),c.children=i[m]||(i[m]=[])}),r&&Object.keys(i).forEach(c=>{i[c].length>1&&i[c].sort((m,h)=>m[r]-h[r])}),i=null,s},ta={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}},ei=(e,n)=>n[e.textKey],Ut=(e,n)=>n[e.valueKey],Td=(e,n)=>n[e.visibleKey],ti=(e,n)=>n[e.disabledKey],Vd=(e,n)=>{const a=n[e.doitKey];return Se(a)},$d=(e,n)=>{const a=n[e.numKey];return a==null?null:me(n[a])},ni=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function Ed(e,n,a,l,o,r=!1){return{props:{...ta},emits:["update:modelValue","change","click"],setup(s,{slots:i,emit:c}){const m=(0,t.computed)(()=>{const x={};return x[`${e}`]=!0,x}),h=(0,t.computed)(()=>{const x={};return x[`${e}__titles`]=!0,x[`${s.direction}`]=!0,s.align&&(x[`${s.align}`]=!0),s.scroll===!0&&(x.scrollable=!0),s.shape&&(x[`${s.shape}`]=!0),s.showScrollArrow?(Q.value===!0&&(x["has-left-scroll-arrow "]=!0),F.value===!0&&(x["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(x["has-navigation"]=!0),x}),u=(0,t.computed)(()=>({})),p=(0,t.computed)(()=>{if(!s.gutter)return 0;const x=se(s.gutter);return x<=0?0:x}),b=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,x=>{b.value!==x&&(b.value=x,K(!1))});const w=(0,t.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),v=(0,t.computed)(()=>{const x={};return f.value||(x.display="none"),x}),S=(0,t.ref)(),f=(0,t.ref)(!1),k=()=>{d(!f.value)},d=x=>{const I=x;I?(f.value=I,setTimeout(()=>{w.value["fox-tabs-bar__popup--show"]=!0,w.value["fox-tabs-bar__popup--hide"]=!1},0)):(w.value["fox-tabs-bar__popup--show"]=!1,w.value["fox-tabs-bar__popup--hide"]=!0,S.value?S.value.addEventListener("transitionend",()=>{f.value=!1},{once:!0}):setTimeout(()=>{f.value=!1},0))},C=(0,t.ref)(),N=(0,t.ref)([]),g=(x,I)=>{N.value[I]=x},y=x=>I=>{g(I,x)},B=(x,I)=>{const Y=C.value,Z=N.value;if(!Y||!Z||!Z[x])return;const le=Z[x];let re=0;s.direction==="vertical"?re=le.offsetTop-(Y.offsetHeight-le.offsetHeight)/2:re=le.offsetLeft-(Y.offsetWidth-le.offsetWidth)/2,T(Y,re,I?0:.3,s.direction)},T=(x,I,Y,Z)=>{let le=0;const re=Z==="horizontal"?x.scrollLeft:x.scrollTop,ce=Y===0?1:Math.round(Y*1e3/16);function ke(){Z==="horizontal"?x.scrollLeft+=(I-re)/ce:x.scrollTop+=(I-re)/ce,++le<ce&&He(ke)}ke()},$=(x,I)=>{const Y=Ut(s,x),Z={};return Z[`${e}__titles-item`]=!0,Z.disabled=ti(s,x),Z.active=Y===b.value,s.shape&&(Z[`${s.shape}`]=!0),s.ellipsis&&(Z.ellipsis=!0),I&&(I.class&&(Z[`${I.class}`]=!0),I.disabled===!0&&(Z.disabled=I.disabled)),Z},V=(x,I)=>{const Y={};if(p.value>0){const Z=Math.abs(p.value/2);s.direction==="vertical"?(Y["margin-top"]=`${Z}px`,Y["margin-bottom"]=`${Z}px`):(Y["margin-left"]=`${Z}px`,Y["margin-right"]=`${Z}px`)}return I&&I.style&&Object.assign(Y,I.style),Y},W=(x,I)=>`${Ut(s,x)??I}`,_=(x,I)=>{const Y=Ut(s,x),Z={};Z[`${e}__popup-item`]=!0,Z.disabled=ti(s,x),Z.active=Y===b.value,s.shape&&(Z[`${s.shape}`]=!0);const le=ni(s,x,I);return le&&le.disabled===!0&&(Z.disabled=le.disabled),Z},E=(0,t.computed)(()=>(s.data??[]).filter(x=>Td(s,x)!==!1)),D=(x,I)=>{const Y=Ut(s,x);if(c("click",x,I),b.value==Y)return;const Z=()=>{b.value=Y,s.scroll&&B(I,!1),c("update:modelValue",Y),c("change",x,I)};if(typeof s.beforeChange=="function"){const le=s.beforeChange(x,I);ut(le)?le.then(re=>{re!==!1&&Z()}).catch(()=>{Z()}):le!==!1&&Z()}else Z()},L=(x,I)=>function(){D(x,I)},M=(x,I)=>{D(x,I),d(!1)},R=(x,I)=>function(){M(x,I)},K=x=>{if(!Array.isArray(s.data)||!s.scroll)return;z()&&te();const I=s.data.findIndex(Y=>Ut(s,Y)===b.value);I!==-1&&B(I,x)},q=()=>{z()||P()};(0,t.watch)(()=>s.data,()=>{setTimeout(K,0)}),(0,t.onMounted)(()=>{K(!0)}),(0,t.onBeforeUnmount)(()=>{q()});const G=(x,I)=>{if(i.item)return i.item({item:x,index:I});const Y=ni(s,x,I),Z=[];if(i.text){const re=i.text({item:x,index:I});Z.push(re)}else{const re=[];if(Y?.doit===!0||Vd(s,x)){const ct=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});re.push(ct)}const ce=Y?.num??$d(s,x);if(ce){let ct="";const tt=me(ce);tt>=100?ct="99+":ct=`${tt}`;const Uo=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[ct]);re.push(Uo)}const ke={class:`${e}__titles-item-text`};re.push(ei(s,x));const Dt=(0,t.h)("view",ke,re);Z.push(Dt)}const le=(0,t.h)("view",{class:`${e}__titles-item-line`});return Z.push(le),(0,t.h)("view",{ref:y(I),class:$(x,Y),style:V(x,Y),key:W(x,I),onClick:L(x,I)},Z)},ne=()=>{const x=i.default?i.default():[];if(x.length===0)for(let I=0;I<E.value.length;I++){const Y=E.value[I],Z=G(Y,I);x.push(Z)}return(0,t.h)("view",{ref:C,class:h.value,style:u.value},x)},O=()=>{let x=null;return i.navigation?x=i.navigation():x=(0,t.h)(a),(0,t.h)("view",{class:`${e}__navigation`,onClick:k},[x])},U=()=>{const x=[];for(let I=0;I<E.value.length;I++){const Y=E.value[I];let Z=null;i.popupItem?Z=i.popupItem({item:Y,index:I}):Z=ei(s,Y);const le=(0,t.h)("view",{class:_(Y,I),key:W(Y,I),onClick:R(Y,I)},[Z]);x.push(le)}return(0,t.h)("view",{class:w.value,style:v.value},x)},z=()=>s.showScrollArrow&&s.direction=="horizontal",Q=(0,t.ref)(!1),F=(0,t.ref)(!1),H=x=>{const I=C.value,Y=N.value;if(!(!I||!Y))if(x==="left"){const Z=I.scrollLeft;let le=Z;for(let re=0;re<Y.length;re++){const ce=Y[re].offsetLeft;if(Z-ce<0)break;le=ce}T(I,le,.3,"horizontal")}else{const Z=I.scrollLeft;let le=Z,re=I.offsetWidth;for(let ce=Y.length-1;ce>=0;ce--){const ke=Y[ce].offsetLeft+Y[ce].offsetWidth;if(ke-Z<I.offsetWidth){le+=re-ke;break}re=ke}T(I,le,.3,"horizontal")}},J=Pe(()=>{const x=C.value;if(!x)return;let I=x.scrollLeft>0;I!==Q.value&&(Q.value=I);let Y=x.scrollWidth-x.scrollLeft>x.offsetWidth;Y!==F.value&&(F.value=Y)},50),X=x=>{J()},te=()=>{const x=C.value;x&&(J(),x.addEventListener("scroll",X))},P=()=>{const x=C.value;x&&x.removeEventListener("scroll",X)},j=x=>{if(x==="left"&&Q.value!==!0||x==="right"&&F.value!==!0)return null;let I=null;return x==="left"?i.leftArrow?I=i.leftArrow():I=(0,t.h)(l):i.rightArrow?I=i.rightArrow():I=(0,t.h)(o),(0,t.h)("view",{class:[`${e}__scroll-arrow`,x],onClick:()=>{H(x)}},[I])};return()=>{const x=[],I=ne();if(x.push(I),z()){const Y=j("left");Y&&x.push(Y);const Z=j("right");Z&&x.push(Z)}else if(s.showQuickNavigation){const Y=O();x.push(Y);const Z=U();x.push(Z)}return(0,t.h)("view",{class:m.value},x)}}}}var{create:Dd,componentName:Id,scope:qd}=ee("tabs-bar"),xd=Dd(Ed(Id,qd,ae.MoreH,ae.Left,ae.Right,!1)),Ht=xd,li=Symbol("TabsStatesKey"),na={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},height:{type:[String,Number]},width:{type:[String,Number]}},Pd=15,Md=300,zd=200;function Ld(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function ai(e,n=0,a,l,o=zd){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)`}var Od=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,a,l=1,o){this.onStart=e,this.onMove=n,this.onEnd=a,this.momentumReduceRatio=l,this.isTouch=o??Rn()}open(e){this.el=e;const n=Fn(),a=(l,o,r)=>{const s={delta:l,direction:o,type:r};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=l=>{if(this.moving)return;n.start(l),this.transitionEndTrigger=()=>{e.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,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=l=>{if(!this.moving)return;n.move(l);let o=0;if(this.direction==="horizontal"){if(n.isVertical())return;o=n.state.deltaX}else{if(n.isHorizontal())return;o=n.state.deltaY}a(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 l=0;if(this.direction==="horizontal"){if(n.isVertical()){this.moving=!1;return}l=n.state.deltaX}else{if(n.isHorizontal()){this.moving=!1;return}l=n.state.deltaY}const o=n.state.duration;o<Md&&Math.abs(l)>Pd?(l=Ld(l,o,this.momentumReduceRatio),a(l,this.direction,"end")):a(l,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 Rd(e,n,a,l=1,o){return new Od(e,n,a,l,o)}function Fd(e,n,a=!1){return{props:{...na},emits:["update:modelValue","change"],setup(l,{emit:o,slots:r}){const s=(0,t.shallowRef)([]),i={current:(0,t.ref)(l.modelValue??""),direction:(0,t.ref)(l.direction),tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:y=>{const B={name:y};i.current.value===y&&(B.loaded=!0),s.value.push(B),(0,t.triggerRef)(s)},remove:y=>{const B=s.value.findIndex(T=>T.name===y);B!==-1&&s.value.splice(B,1)},isLoaded:y=>{if(!l.lazy)return!0;const B=s.value.findIndex(T=>T.name===y);return B!==-1?i.current.value?s.value[B].loaded??!1:B===0:!1}};(0,t.provide)(li,i);const c=y=>{const B=s.value.findIndex(T=>T.name===y);B!==-1&&(s.value[B].loaded=!0,(0,t.triggerRef)(s))};(0,t.watch)([()=>l.modelValue,()=>l.direction],([y,B])=>{i.current.value!==y&&(i.current.value=y??"",c(y??"")),i.direction.value!==B&&(i.direction.value=B)});const m=(0,t.ref)(null),h=(0,t.ref)(null),u=(0,t.computed)(()=>({[e]:!0,[`${l.direction}`]:!0})),p=(0,t.computed)(()=>{const y={};if(l.width){const B=de(l.width);B&&(y.width=B)}if(l.height){const B=de(l.height);B&&(y.height=B)}return y});let b=!0;const w=(0,t.computed)(()=>{const y={},B=s.value.length;if(B<=0)return y;const T=s.value.findIndex($=>$.name===i.current.value);return i.direction.value==="vertical"?i.tabHeight.value>0&&(y.height=`${B*i.tabHeight.value}px`,T!==-1&&(y.transform=`translate(0, -${T*i.tabHeight.value}px)`)):i.tabWidth.value>0&&(y.width=`${B*i.tabWidth.value}px`,T!==-1&&(y.transform=`translate(-${T*i.tabWidth.value}px, 0)`)),b&&(b=!1,y.transition="transform 0s ease"),y}),v={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},S=y=>{const B=s.value.length,T=s.value.findIndex($=>$.name===i.current.value);v.moved=0,y.direction==="vertical"?(v.min=-1*(i.tabHeight.value*(B-1)+i.tabHeight.value/4),v.max=i.tabHeight.value/4,v.start=-T*i.tabHeight.value,v.itemDistance=i.tabHeight.value):(v.min=-1*(i.tabWidth.value*(B-1)+i.tabWidth.value/4),v.max=i.tabWidth.value/4,v.start=-T*i.tabWidth.value,v.itemDistance=i.tabWidth.value)},f=y=>{const B=h.value;if(!B)return;let T=v.start+y.delta;if(T>v.max?T=v.max:T<v.min&&(T=v.min),y.type==="move")ai(B,T,"move",y.direction,300);else if(y.type==="end"){let $=Math.floor(Math.abs(T)*1/v.itemDistance);const V=Math.abs(T)%v.itemDistance;v.start>T?V>=v.itemDistance*v.triggerAutoMoveRatio&&($+=1):V>v.itemDistance-v.itemDistance*v.triggerAutoMoveRatio&&($+=1),T=-1*$*v.itemDistance,ai(B,T,"end",y.direction,300),v.moved=T;const W=s.value[$].name;i.current.value=W??"",c(W??""),o("update:modelValue",W)}},k=()=>{},d=()=>{if(!m.value)return;const y=An(m.value);i.tabWidth.value=y.width,i.tabHeight.value=y.height},C=gn(d,120);let N=null,g=null;return(0,t.onMounted)(()=>{m.value&&(d(),window.ResizeObserver&&(g=new window.ResizeObserver(C),g.observe(m.value)),l.draggle&&(N=Rd(S,f,k),N.open(h.value)))}),(0,t.onBeforeUnmount)(()=>{g&&(g.disconnect(),g=null),N&&N.close()}),Te({doLayout(){d()}}),()=>{const y=(0,t.h)("view",{class:`${e}__panes`,style:w.value,ref:h},[r?.default?.()]);return(0,t.h)("view",{class:u.value,style:p.value,ref:m},[y])}}}}var{create:Kd,componentName:Ud,scope:Hd}=ee("tabs-container"),jd=Kd(Fd(Ud,Hd,!1)),jt=jd,Wd={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 Yd(e,n,a){return{props:{...Wd},setup(l,{emit:o,slots:r}){const s=(0,t.inject)(li);(0,t.onMounted)(()=>{s.add(l.paneKey)}),(0,t.onBeforeUnmount)(()=>{s.remove(l.paneKey)});const i=(0,t.computed)(()=>{const m={};return s.direction.value==="vertical"&&s.tabHeight.value>0?m.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(m.width=`${s.tabWidth.value}px`),m}),c=(0,t.computed)(()=>l.loaded!=null?Se(l.loaded):s.isLoaded(l.paneKey));return()=>{let m=[];if(c.value)m=r?.default?.()??[];else if(r.empty)m=r.empty();else{const h={class:`${e}__empty-icon`},u=(0,t.h)(l.emptyIcon??a,h),p=(0,t.h)("view",{class:`${e}__empty-text`},[l.emptyText??"Loading"]),b=(0,t.h)("view",{class:`${e}__empty`},[u,p]);m.push(b)}return(0,t.h)("view",{class:`${e}`,style:i.value,prop:l.paneKey},m)}}}}var{create:Xd,componentName:Qd,scope:Gd}=ee("tabs-pane"),Zd=Xd(Yd(Qd,Gd,ae.Loading)),Un=Zd,oi=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=Kn(e,null,this.config)}updateChildren(e,n){n?n.children=Kn(e,n,this.config):this.nodes=Kn(e,null,this.config)}getNodeByValue(e){let n;return Jr(this.nodes,a=>{if(a.value===e)return n=a,!0}),n}getPathNodesByValue(e){if(!e.length)return[];const n=[];let a=this.nodes;for(;a&&a.length;){const l=a.find(o=>o.value===e[o.level]);if(!l)break;n.push(l),a=l.children}return n}isLeaf(e,n){const{leaf:a,children:l}=e,o=Array.isArray(l)&&!!l.length;return a||!o&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:a}=e;return Array.isArray(a)&&!!a.length}},{create:_d,scope:Jd}=ee("cascader-pane"),ef=_d({components:{Loading:ae.Loading,Checklist:ae.Checklist,TabsBar:Ht,TabsContainer:jt,TabsPane:Un},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}=(0,he.useFoxI18n)(Jd),l=(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)(),s=(0,t.ref)(!1),i=(0,t.ref)(e.modelValue),c=(0,t.ref)(new oi([],{})),m=(0,t.ref)([]),h=(0,t.computed)(()=>l.value.lazy&&!!l.value.lazyLoad),u=(0,t.computed)(()=>s.value==!0||m.value.length==0?[{text:"Loading",value:0}]:m.value.map((d,C)=>({text:d.selectedNode?d.selectedNode.text:a("select"),value:C}))),p=new Map;let b;const w=async()=>{p.clear(),m.value=[],o.value=0,s.value=!1,b=null;let{options:d}=e;l.value.convertConfig&&(d=Bd(d,l.value.convertConfig)),c.value=new oi(d,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),h.value&&!c.value.nodes.length&&await S({root:!0,loading:!0,text:"",value:""}),m.value=[{nodes:c.value.nodes,selectedNode:null}],v(!h.value)},v=async(d=!0)=>{const C=i.value;if(C===void 0||!c.value.nodes.length)return;if(C.length===0){o.value=0,m.value=[{nodes:c.value.nodes,selectedNode:null}];return}let N=C;if(h.value&&Array.isArray(C)&&C.length){N=[];let g=c.value.nodes.find(y=>y.value===C[0]);g&&(N=[g.value],s.value=!0,await S(await C.slice(1).reduce(async(y,B)=>{const T=await y;await S(T);const $=T&&T?.children?.find(V=>V.value===B);return $&&N.push(B),Promise.resolve($)},Promise.resolve(g))),s.value=!1)}N.length&&C===e.modelValue&&c.value.getPathNodesByValue(N).map((g,y)=>{o.value=y,k.handleNode(g,d)})},S=async d=>{if(!d)return;if(!l.value.lazyLoad){d.leaf=!0;return}if(c.value.isLeaf(d,h.value)||c.value.hasChildren(d,h.value))return;d.loading=!0;const C=d.root?null:d;let N=p.get(d);N||(N=new Promise(y=>{l.value.lazyLoad?.(d,y)}),p.set(d,N));const g=await N;Array.isArray(g)&&g.length>0?c.value.updateChildren(g,C):d.leaf=!0,d.loading=!1,p.delete(d)},f=d=>{const C=d.map(N=>N.value);i.value=C,n("change",C,d),n("pathChange",d),n("update:modelValue",C)},k={async handleNode(d,C){const{disabled:N,loading:g}=d;if(!(!C&&N||!m.value[o.value])){if(c.value.isLeaf(d,h.value)){if(d.leaf=!0,m.value[o.value].selectedNode=d,m.value=m.value.slice(0,d.level+1),!C){const y=m.value.map(B=>B.selectedNode);f(y),n("pathChange",y)}return}if(c.value.hasChildren(d,h.value)){const y=d.level+1;m.value[o.value].selectedNode=d,m.value=m.value.slice(0,y),m.value.push({nodes:d.children||[],selectedNode:null}),o.value=y,C||n("pathChange",m.value.map(B=>B.selectedNode));return}b=d,!g&&(await S(d),b===d&&(m.value[o.value].selectedNode=d,k.handleNode(d,C)))}},handleTabChange(d,C){b=null},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:a("select")},isSelected(d,C){return d.selectedNode&&d.selectedNode.value===C.value}};return(0,t.watch)([l,()=>e.options],()=>{w()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,d=>{Ie(d,i.value)||(i.value=d,v(!h.value))}),(0,t.watch)(()=>e.visible,d=>{d&&Array.isArray(i.value)&&i.value.length>0&&v(),d&&r.value&&setTimeout(()=>{r.value.doLayout()},0)}),{panes:m,panesTitles:u,initLoading:s,tabsCursor:o,tabsContainerRef:r,...k}}}),tf={class:"fox-cascader"},nf={role:"menu",class:"fox-cascader__pane"},lf=["aria-checked","aria-disabled","onClick"],af={class:"fox-cascader__item__title"};function of(e,n,a,l,o,r){const s=(0,t.resolveComponent)("TabsBar"),i=(0,t.resolveComponent)("Loading"),c=(0,t.resolveComponent)("Checklist"),m=(0,t.resolveComponent)("TabsPane"),h=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",tf,[(0,t.createVNode)(s,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=u=>e.tabsCursor=u),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,t.createVNode)(h,{ref:"tabsContainerRef",modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=u=>e.tabsCursor=u)},{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,(u,p)=>((0,t.openBlock)(),(0,t.createBlock)(m,{"pane-key":p,key:p},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",nf,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(u.nodes,b=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:b.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(u,b),disabled:b.disabled}]),"aria-checked":e.isSelected(u,b),"aria-disabled":b.disabled||void 0,role:"menuitemradio",onClick:w=>e.handleNode(b,!1)},[(0,t.createElementVNode)("view",af,(0,t.toDisplayString)(b.text),1),b.loading?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(c,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,lf))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(m,{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 rf=oe(ef,[["render",of]]),{create:sf}=ee("cascader"),cf=sf({components:{CascaderPane:rf,Wrapper:Nd},props:{...et,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=(0,t.ref)(e.modelValue),l=(0,t.computed)({get(){return e.visible},set(s){n("update:visible",s)}}),o=(s,i)=>{a.value=s,l.value=!1,n("change",s,i),n("update:modelValue",s)},r=s=>{n("pathChange",s)};return(0,t.watch)(()=>e.modelValue,s=>{s!==a.value&&(a.value=s)}),{onChange:o,onPathChange:r,innerValue:a,innerVisible:l}}}),uf=["innerHTML"];function df(e,n,a,l,o,r){const s=(0,t.resolveComponent)("CascaderPane"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(i,{poppable:e.poppable,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=c=>e.innerVisible=c),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,uf)):(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,["poppable","visible","closeable","close-icon-position"])}var Hn=oe(cf,[["render",df]]);function St(e,n){return n[e.textKey??"text"]??""}function vt(e,n){return n[e.valueKey??"value"]}function ri(e,n){return n[e.childrenKey??"children"]}function jn(e,n=[]){const a={texts:[],values:[]};for(let l=0;l<n.length;l++){const o=n[l],r=St(e,o),s=vt(e,o);a.texts.push(r),a.values.push(s??"")}return a}function ii(e,n,a,l,o=[]){if(!a)return;const r=a[l];for(let s=0;s<n.length;s++)if(St(e,n[s])===r){const i=vt(e,n[s])??"",c={[e.textKey]:r,[e.valueKey]:i};o.push(c);const m=ri(e,n[s]);Array.isArray(m)&&ii(e,m,a,l+1,o);return}}function si(e,n,a,l,o=[]){if(!a)return;const r=a[l];for(let s=0;s<n.length;s++)if(vt(e,n[s])===r){const i=St(e,n[s])??"",c={[e.textKey]:i,[e.valueKey]:r};o.push(c);const m=ri(e,n[s]);Array.isArray(m)&&si(e,m,a,l+1,o);return}}function la(e,n,a){if(n===a)return!0;if(n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(St(e,n[l])!==St(e,a[l])||vt(e,n[l])!==vt(e,a[l]))return!1;return!0}var ff=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){const l="cascader";if(Array.isArray(e))return e;if(typeof e=="function")return await e(n,a);const o=_e(this.proxy,l);return o===null?(console.error(`${l} component not found api function`),[]):(De(n)&&(0,t.isReactive)(n)&&(n=(0,t.toRaw)(n)),await o(e,n,a))}};function mf(){return new ff((0,t.getCurrentInstance)().proxy)}var ci={modelValue:{type:[Array,String]},pathNodes:{type:[Array]},title:{type:String,required:!1},placeholder:{type:String,required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},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},showAllLevels:{type:[Boolean],default:!0},separator:{type:[String],default:"/"}};function hf(e,n,a,l,o,r,s=!1){return{props:{...pe,...ye,...ci},emits:["update:modelValue","change","pathChange","blur","focus","clear","update:pathNodes","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=mf(),S=(0,t.ref)([]),f=(0,t.ref)([]),k=(0,t.computed)(()=>{if(Array.isArray(f.value)){if(i.showAllLevels===!1){const H=f.value.length-1;return f.value[H]}return f.value.join(i.separator)}else return f.value}),d=(0,t.ref)([]),C=(0,t.ref)([]);(0,t.watch)([()=>i.modelValue,()=>S.value],async([H,J])=>{if(u("setValue",H),i.lazy===!0){C.value.length==0&&(d.value=Array.isArray(H)?H:[]);return}if(i.valueType==="item"){let X=H;if(!la(i,X,C.value)){C.value=X;let te=jn(i,X);f.value=te.texts,d.value=te.values}}else if(i.valueType==="text"){let X=H,te=[];if(ii(i,J,X,0,te),!la(i,te,C.value)){C.value=te;let P=jn(i,te);X.value=P.texts,d.value=P.values}}else{let X=[];if(si(i,J,H,0,X),!la(i,X,C.value)){C.value=X;let te=jn(i,X);f.value=te.texts,d.value=te.values}}}),i.lazy===!0&&(d.value=Array.isArray(i.modelValue)?i.modelValue:[]),(0,t.watch)([()=>i.source,()=>i.params],async([H,J])=>{i.lazy||H&&(S.value=await v.load(H,J))},{immediate:!0});const N="fox-input-item",g=(0,t.computed)(()=>({[N]:!0,"is-disabled":m.value,"is-readonly":h.value})),y=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),B=(0,t.computed)(()=>{const H={};return y.value&&(H["text-align"]=y.value),H}),T=(0,t.ref)(!1),$=()=>{m.value===!0||h.value===!0||(T.value=!0)},V=H=>{T.value=H},W=(H,J)=>{let X=J.map(P=>{if(P==null)return P;let j={...P};return Reflect.deleteProperty(j,"text"),j[i.textKey]=P.text??"",Reflect.deleteProperty(j,"value"),j[i.valueKey]=P.value??"",j});C.value=X;let te=jn(i,X);f.value=te.texts,d.value=te.values,i.valueType==="text"?(u("change",f.value,X),u("update:modelValue",f.value)):i.valueType==="item"?(u("change",X,X),u("update:modelValue",X)):(u("change",d.value,X),u("update:modelValue",d.value)),u("update:pathNodes",X)},_=H=>{u("pathChange",H.map(J=>{if(J==null)return J;let X={...J};return Reflect.deleteProperty(X,"text"),X[i.textKey]=J.text??"",Reflect.deleteProperty(X,"value"),X[i.valueKey]=J.value??"",X}))},E=H=>{w.value=!0,u("focus",d.value,H)},D=H=>{setTimeout(()=>{w.value=!1},0),u("blur",d.value,H)},L=(0,t.computed)(()=>({[`${N}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),M=(0,t.computed)(()=>ve(i.unit)>0),R=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),K=(0,t.computed)(()=>({hidden:!R.value})),q=H=>{C.value=[],f.value=[],d.value=[],u("update:modelValue",[]),u("change",[],H),u("clear",[]),u("update:pathNodes",[])},G=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),ne=(0,t.computed)(()=>{let H=d.value&&d.value.length>0;return i.clearable&&H&&w.value}),O=H=>{ne.value?q(H):$()},U=(0,t.computed)(()=>ne.value&&G.value?l:o),z=(0,t.computed)(()=>({action:!0}));let Q=null;const F=()=>typeof Q=="function"?Q:typeof i.lazyLoad=="function"?i.lazyLoad:(Q=async(H,J)=>{const X=[],te=[];let P=0;if(!H.root){let j=H;for(;j;){const x=St(i,j),I=vt(i,j);te.splice(0,0,x),X.splice(0,0,I),j=j._parent}P=X.length}J(await v.load(i.source,{...H,level:P,pathLabels:te,pathValues:X},!0))},Q);return()=>{const H={class:g.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:$,onFocus:E,onBlur:D};s&&(H.disabled=!0);const J=[],X=(0,t.h)("input",H);J.push(X);const te=[],P=(0,t.h)(U.value,{class:["action-icon"]}),j=(0,t.h)("view",{class:z.value,onClick:O},{default:()=>[P]});if(te.push(j),M.value){const ce=(0,t.h)("view",{class:K.value},[i.unit]);te.push(ce)}const x=(0,t.h)("view",{class:L.value},{default:()=>te});J.push(x);const I={default:()=>J};I.label=c.slots.default,I.prepend=c.slots.prepend,I.append=c.slots.append,I.fixedPreTip=c.slots.fixedPreTip,I.fixedTip=c.slots.fixedTip;const Y={};Y.visible=T.value,Y["onUpdate:visible"]=V,Y.modelValue=d.value,Y.onChange=W,Y.onPathChange=_,Y.title=i.title,Y.valueKey=i.valueKey,Y.textKey=i.textKey,Y.childrenKey=i.childrenKey,Y.convertConfig=i.convertConfig,i.lazy?(Y.lazy=!0,Y.lazyLoad=F()):Y.options=S.value;const Z={};Z.header=c.slots.header;const le=(0,t.h)(r,Y,Z);I.hide=()=>[le];const re={...Qe(i,ci)};return i.prop&&(re.prop=`${i.prop}_item`),(0,t.h)(a,re,I)}}}}var{componentName:pf,create:gf,scope:yf}=ee("cascader-item"),bf=gf(hf(pf,yf,Ne,ae.CircleClose,ae.ArrowRight,Hn,!1)),aa=bf,Sf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs=l()})(e,(function(){"use strict";var a=1e3,l=6e4,o=36e5,r="millisecond",s="second",i="minute",c="hour",m="day",h="week",u="month",p="quarter",b="year",w="date",v="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|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,k={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(E){var D=["th","st","nd","rd"],L=E%100;return"["+E+(D[(L-20)%10]||D[L]||D[0])+"]"}},d=function(E,D,L){var M=String(E);return!M||M.length>=D?E:""+Array(D+1-M.length).join(L)+E},C={s:d,z:function(E){var D=-E.utcOffset(),L=Math.abs(D),M=Math.floor(L/60),R=L%60;return(D<=0?"+":"-")+d(M,2,"0")+":"+d(R,2,"0")},m:function E(D,L){if(D.date()<L.date())return-E(L,D);var M=12*(L.year()-D.year())+(L.month()-D.month()),R=D.clone().add(M,u),K=L-R<0,q=D.clone().add(M+(K?-1:1),u);return+(-(M+(L-R)/(K?R-q:q-R))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:u,y:b,w:h,d:m,D:w,h:c,m:i,s,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",g={};g[N]=k;var y="$isDayjsObject",B=function(E){return E instanceof W||!(!E||!E[y])},T=function E(D,L,M){var R;if(!D)return N;if(typeof D=="string"){var K=D.toLowerCase();g[K]&&(R=K),L&&(g[K]=L,R=K);var q=D.split("-");if(!R&&q.length>1)return E(q[0])}else{var G=D.name;g[G]=D,R=G}return!M&&R&&(N=R),R||!M&&N},$=function(E,D){if(B(E))return E.clone();var L=typeof D=="object"?D:{};return L.date=E,L.args=arguments,new W(L)},V=C;V.l=T,V.i=B,V.w=function(E,D){return $(E,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var W=(function(){function E(L){this.$L=T(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[y]=!0}var D=E.prototype;return D.parse=function(L){this.$d=(function(M){var R=M.date,K=M.utc;if(R===null)return new Date(NaN);if(V.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var q=R.match(S);if(q){var G=q[2]-1||0,ne=(q[7]||"0").substring(0,3);return K?new Date(Date.UTC(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,ne)):new Date(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,ne)}}return new Date(R)})(L),this.init()},D.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},D.$utils=function(){return V},D.isValid=function(){return this.$d.toString()!==v},D.isSame=function(L,M){var R=$(L);return this.startOf(M)<=R&&R<=this.endOf(M)},D.isAfter=function(L,M){return $(L)<this.startOf(M)},D.isBefore=function(L,M){return this.endOf(M)<$(L)},D.$g=function(L,M,R){return V.u(L)?this[M]:this.set(R,L)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(L,M){var R=this,K=!!V.u(M)||M,q=V.p(L),G=function(J,X){var te=V.w(R.$u?Date.UTC(R.$y,X,J):new Date(R.$y,X,J),R);return K?te:te.endOf(m)},ne=function(J,X){return V.w(R.toDate()[J].apply(R.toDate("s"),(K?[0,0,0,0]:[23,59,59,999]).slice(X)),R)},O=this.$W,U=this.$M,z=this.$D,Q="set"+(this.$u?"UTC":"");switch(q){case b:return K?G(1,0):G(31,11);case u:return K?G(1,U):G(0,U+1);case h:var F=this.$locale().weekStart||0,H=(O<F?O+7:O)-F;return G(K?z-H:z+(6-H),U);case m:case w:return ne(Q+"Hours",0);case c:return ne(Q+"Minutes",1);case i:return ne(Q+"Seconds",2);case s:return ne(Q+"Milliseconds",3);default:return this.clone()}},D.endOf=function(L){return this.startOf(L,!1)},D.$set=function(L,M){var R,K=V.p(L),q="set"+(this.$u?"UTC":""),G=(R={},R[m]=q+"Date",R[w]=q+"Date",R[u]=q+"Month",R[b]=q+"FullYear",R[c]=q+"Hours",R[i]=q+"Minutes",R[s]=q+"Seconds",R[r]=q+"Milliseconds",R)[K],ne=K===m?this.$D+(M-this.$W):M;if(K===u||K===b){var O=this.clone().set(w,1);O.$d[G](ne),O.init(),this.$d=O.set(w,Math.min(this.$D,O.daysInMonth())).$d}else G&&this.$d[G](ne);return this.init(),this},D.set=function(L,M){return this.clone().$set(L,M)},D.get=function(L){return this[V.p(L)]()},D.add=function(L,M){var R,K=this;L=Number(L);var q=V.p(M),G=function(U){var z=$(K);return V.w(z.date(z.date()+Math.round(U*L)),K)};if(q===u)return this.set(u,this.$M+L);if(q===b)return this.set(b,this.$y+L);if(q===m)return G(1);if(q===h)return G(7);var ne=(R={},R[i]=l,R[c]=o,R[s]=a,R)[q]||1,O=this.$d.getTime()+L*ne;return V.w(O,this)},D.subtract=function(L,M){return this.add(-1*L,M)},D.format=function(L){var M=this,R=this.$locale();if(!this.isValid())return R.invalidDate||v;var K=L||"YYYY-MM-DDTHH:mm:ssZ",q=V.z(this),G=this.$H,ne=this.$m,O=this.$M,U=R.weekdays,z=R.months,Q=R.meridiem,F=function(X,te,P,j){return X&&(X[te]||X(M,K))||P[te].slice(0,j)},H=function(X){return V.s(G%12||12,X,"0")},J=Q||function(X,te,P){var j=X<12?"AM":"PM";return P?j.toLowerCase():j};return K.replace(f,(function(X,te){return te||(function(P){switch(P){case"YY":return String(M.$y).slice(-2);case"YYYY":return V.s(M.$y,4,"0");case"M":return O+1;case"MM":return V.s(O+1,2,"0");case"MMM":return F(R.monthsShort,O,z,3);case"MMMM":return F(z,O);case"D":return M.$D;case"DD":return V.s(M.$D,2,"0");case"d":return String(M.$W);case"dd":return F(R.weekdaysMin,M.$W,U,2);case"ddd":return F(R.weekdaysShort,M.$W,U,3);case"dddd":return U[M.$W];case"H":return String(G);case"HH":return V.s(G,2,"0");case"h":return H(1);case"hh":return H(2);case"a":return J(G,ne,!0);case"A":return J(G,ne,!1);case"m":return String(ne);case"mm":return V.s(ne,2,"0");case"s":return String(M.$s);case"ss":return V.s(M.$s,2,"0");case"SSS":return V.s(M.$ms,3,"0");case"Z":return q}return null})(X)||q.replace(":","")}))},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(L,M,R){var K,q=this,G=V.p(M),ne=$(L),O=(ne.utcOffset()-this.utcOffset())*l,U=this-ne,z=function(){return V.m(q,ne)};switch(G){case b:K=z()/12;break;case u:K=z();break;case p:K=z()/3;break;case h:K=(U-O)/6048e5;break;case m:K=(U-O)/864e5;break;case c:K=U/o;break;case i:K=U/l;break;case s:K=U/a;break;default:K=U}return R?K:V.a(K)},D.daysInMonth=function(){return this.endOf(u).$D},D.$locale=function(){return g[this.$L]},D.locale=function(L,M){if(!L)return this.$L;var R=this.clone(),K=T(L,M,!0);return K&&(R.$L=K),R},D.clone=function(){return V.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},E})(),_=W.prototype;return $.prototype=_,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",m],["$M",u],["$y",b],["$D",w]].forEach((function(E){_[E[1]]=function(D){return this.$g(D,E[0],E[1])}})),$.extend=function(E,D){return E.$i||(E(D,W,$),E.$i=!0),$},$.locale=T,$.isDayjs=B,$.unix=function(E){return $(1e3*E)},$.en=g[N],$.Ls=g,$.p={},$}))})),vf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_customParseFormat=l()})(e,(function(){"use strict";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|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?/,i=/\d*[^-_:/,()\s\d]+/,c={},m=function(S){return(S=+S)+(S>68?1900:2e3)},h=function(S){return function(f){this[S]=+f}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(S){(this.zone||(this.zone={})).offset=(function(f){if(!f||f==="Z")return 0;var k=f.match(/([+-]|\d\d)/g),d=60*k[1]+(+k[2]||0);return d===0?0:k[0]==="+"?-d:d})(S)}],p=function(S){var f=c[S];return f&&(f.indexOf?f:f.s.concat(f.f))},b=function(S,f){var k,d=c.meridiem;if(d){for(var C=1;C<=24;C+=1)if(S.indexOf(d(C,0,f))>-1){k=C>12;break}}else k=S===(f?"pm":"PM");return k},w={A:[i,function(S){this.afternoon=b(S,!1)}],a:[i,function(S){this.afternoon=b(S,!0)}],Q:[o,function(S){this.month=3*(S-1)+1}],S:[o,function(S){this.milliseconds=100*+S}],SS:[r,function(S){this.milliseconds=10*+S}],SSS:[/\d{3}/,function(S){this.milliseconds=+S}],s:[s,h("seconds")],ss:[s,h("seconds")],m:[s,h("minutes")],mm:[s,h("minutes")],H:[s,h("hours")],h:[s,h("hours")],HH:[s,h("hours")],hh:[s,h("hours")],D:[s,h("day")],DD:[r,h("day")],Do:[i,function(S){var f=c.ordinal;if(this.day=S.match(/\d+/)[0],f)for(var k=1;k<=31;k+=1)f(k).replace(/\[|\]/g,"")===S&&(this.day=k)}],w:[s,h("week")],ww:[r,h("week")],M:[s,h("month")],MM:[r,h("month")],MMM:[i,function(S){var f=p("months"),k=(p("monthsShort")||f.map((function(d){return d.slice(0,3)}))).indexOf(S)+1;if(k<1)throw new Error;this.month=k%12||k}],MMMM:[i,function(S){var f=p("months").indexOf(S)+1;if(f<1)throw new Error;this.month=f%12||f}],Y:[/[+-]?\d+/,h("year")],YY:[r,function(S){this.year=m(S)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function v(S){for(var f=S,k=c&&c.formats,d=(S=f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,V,W){var _=W&&W.toUpperCase();return V||k[W]||a[W]||k[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(E,D,L){return D||L.slice(1)}))}))).match(l),C=d.length,N=0;N<C;N+=1){var g=d[N],y=w[g],B=y&&y[0],T=y&&y[1];d[N]=T?{regex:B,parser:T}:g.replace(/^\[|\]$/g,"")}return function($){for(var V={},W=0,_=0;W<C;W+=1){var E=d[W];if(typeof E=="string")_+=E.length;else{var D=E.regex,L=E.parser,M=$.slice(_),R=D.exec(M)[0];L.call(V,R),$=$.replace(R,"")}}return(function(K){var q=K.afternoon;if(q!==void 0){var G=K.hours;q?G<12&&(K.hours+=12):G===12&&(K.hours=0),delete K.afternoon}})(V),V}}return function(S,f,k){k.p.customParseFormat=!0,S&&S.parseTwoDigitYear&&(m=S.parseTwoDigitYear);var d=f.prototype,C=d.parse;d.parse=function(N){var g=N.date,y=N.utc,B=N.args;this.$u=y;var T=B[1];if(typeof T=="string"){var $=B[2]===!0,V=B[3]===!0,W=$||V,_=B[2];V&&(_=B[2]),c=this.$locale(),!$&&_&&(c=k.Ls[_]),this.$d=(function(M,R,K,q){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*M);var G=v(R)(M),ne=G.year,O=G.month,U=G.day,z=G.hours,Q=G.minutes,F=G.seconds,H=G.milliseconds,J=G.zone,X=G.week,te=new Date,P=U||(ne||O?1:te.getDate()),j=ne||te.getFullYear(),x=0;ne&&!O||(x=O>0?O-1:te.getMonth());var I,Y=z||0,Z=Q||0,le=F||0,re=H||0;return J?new Date(Date.UTC(j,x,P,Y,Z,le,re+60*J.offset*1e3)):K?new Date(Date.UTC(j,x,P,Y,Z,le,re)):(I=new Date(j,x,P,Y,Z,le,re),X&&(I=q(I).week(X).toDate()),I)}catch{return new Date("")}})(g,T,y,k),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),W&&g!=this.format(T)&&(this.$d=new Date("")),c={}}else if(T instanceof Array)for(var E=T.length,D=1;D<=E;D+=1){B[1]=T[D-1];var L=k.apply(this,B);if(L.isValid()){this.$d=L.$d,this.$L=L.$L,this.init();break}D===E&&(this.$d=new Date(""))}else C.call(this,N)}}}))})),kf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_advancedFormat=l()})(e,(function(){"use strict";return function(a,l){var o=l.prototype,r=o.format;o.format=function(s){var i=this,c=this.$locale();if(!this.isValid())return r.bind(this)(s);var m=this.$utils(),h=(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(u){switch(u){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return c.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return c.ordinal(i.week(),"W");case"w":case"ww":return m.s(i.week(),u==="w"?1:2,"0");case"W":case"WW":return m.s(i.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return m.s(String(i.$H===0?24:i.$H),u==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return u}}));return r.bind(this)(h)}}}))})),wf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_localeData=l()})(e,(function(){"use strict";return function(a,l,o){var r=l.prototype,s=function(u){return u&&(u.indexOf?u:u.s)},i=function(u,p,b,w,v){var S=u.name?u:u.$locale(),f=s(S[p]),k=s(S[b]),d=f||k.map((function(N){return N.slice(0,w)}));if(!v)return d;var C=S.weekStart;return d.map((function(N,g){return d[(g+(C||0))%7]}))},c=function(){return o.Ls[o.locale()]},m=function(u,p){return u.formats[p]||(function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(w,v,S){return v||S.slice(1)}))})(u.formats[p.toUpperCase()])},h=function(){var u=this;return{months:function(p){return p?p.format("MMMM"):i(u,"months")},monthsShort:function(p){return p?p.format("MMM"):i(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):i(u,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):i(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):i(u,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return m(u.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},o.localeData=function(){var u=c();return{firstDayOfWeek:function(){return u.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(p){return m(u,p)},meridiem:u.meridiem,ordinal:u.ordinal}},o.months=function(){return i(c(),"months")},o.monthsShort=function(){return i(c(),"monthsShort","months",3)},o.weekdays=function(u){return i(c(),"weekdays",null,null,u)},o.weekdaysShort=function(u){return i(c(),"weekdaysShort","weekdays",3,u)},o.weekdaysMin=function(u){return i(c(),"weekdaysMin","weekdays",2,u)}}}))})),Cf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_weekOfYear=l()})(e,(function(){"use strict";var a="week",l="year";return function(o,r,s){var i=r.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var m=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=s(this).startOf(l).add(1,l).date(m),u=s(this).endOf(a);if(h.isBefore(u))return 1}var p=s(this).startOf(l).date(m).startOf(a).subtract(1,"millisecond"),b=this.diff(p,a,!0);return b<0?s(this).startOf("week").week():Math.ceil(b)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}}))})),Nf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_weekYear=l()})(e,(function(){"use strict";return function(a,l){l.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}}}))})),Af=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_dayOfYear=l()})(e,(function(){"use strict";return function(a,l,o){l.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")}}}))})),Bf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_isSameOrAfter=l()})(e,(function(){"use strict";return function(a,l){l.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}}))})),Tf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_isSameOrBefore=l()})(e,(function(){"use strict";return function(a,l){l.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}}))})),Fe=Ue(Sf(),1),Vf=Ue(vf(),1),$f=Ue(kf(),1),Ef=Ue(wf(),1),Df=Ue(Cf(),1),If=Ue(Nf(),1),qf=Ue(Af(),1),xf=Ue(Bf(),1),Pf=Ue(Tf(),1);Fe.default.extend(Ef.default),Fe.default.extend($f.default),Fe.default.extend(Vf.default),Fe.default.extend(Df.default),Fe.default.extend(If.default),Fe.default.extend(qf.default),Fe.default.extend(xf.default),Fe.default.extend(Pf.default);var kt={format(e,n="YYYY-MM-DD"){return(0,Fe.default)(e).format(n)},parser(e,n){return(0,Fe.default)(e,n).toDate()},getDay(e,n,a){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)},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,a){let l=new Date(e+"/"+n+"/"+a).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){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},compare(e,n,a){const l=typeof e=="string"?this.parser(e,a):e,o=typeof n=="string"?this.parser(n,a):n,r=l.getTime(),s=o.getTime();return r==s?0:r>s?1:-1},between(e,n,a,l){let o;l==="year"?o=new Date(new Date(n).setFullYear(n.getFullYear()+a)):l==="month"?o=new Date(new Date(n).setMonth(n.getMonth()+a)):o=new Date(new Date(n).setDate(n.getDate()+a));const r=e.getTime(),s=o.getTime(),i=n.getTime();return s>i?r>=i&&r<=s:r>=s&&r<=i},inScope4Day(e,n,a){return this.between(e,n,a,"day")},inScope4Month(e,n,a){return this.between(e,n,a,"month")},inScope4Year(e,n,a){return this.between(e,n,a,"year")}},ui=new Date().getFullYear(),oa={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"},Wn=(e,n,a)=>{let l;if(je(n)?l=n:typeof n=="string"&&ve(n)>0?l=kt.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)},ra=(e,n,a)=>{je(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),kt.format(new Date(l),a)},ia={modelValue:{type:[String,Date]},confirmText:{type:String},cancelText:{type:String},type:{type:String,default:()=>"date"},valueFormat:{type:String},visible:{type:Boolean,default:()=>!1},title:{type:String},isShowChinese:{type:Boolean,default:()=>!0},minuteStep:{type:Number,default:()=>1},minDate:{type:Date,default:()=>new Date(ui-10,0,1),validator:je},maxDate:{type:Date,default:()=>new Date(ui+10,11,31),validator:je},visibleItemCount:{type:[Number,String],default:()=>7},threeDimensional:{type:Boolean,default:()=>!0},swipeDuration:{type:[Number,String],default:()=>1e3},itemFormatter:{type:Function},itemFilter:{type:Function},teleportDisable:{type:Boolean}},{create:Mf,scope:zf}=ee("date-picker"),Lf=Mf({components:{Picker:Kt},props:{...ia},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(zf),l={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds"),today:a("today"),fullWeekdays:JSON.parse(a("fullWeekdays"))},o=(0,t.ref)(!1);(0,t.watch)(()=>e.visible,d=>{o.value=d});function r(d,C){return new Date(d,C,0).getDate()}const s=(d,C)=>{const N=e[`${d}Date`],g=N.getFullYear();let y=1,B=1,T=0,$=0;d==="max"&&(y=12,B=r(C.getFullYear(),C.getMonth()+1),T=23,$=59);const V=$;return C.getFullYear()===g&&(y=N.getMonth()+1,C.getMonth()+1===y&&(B=N.getDate(),C.getDate()===B&&(T=N.getHours(),C.getHours()===T&&($=N.getMinutes())))),{[`${d}Year`]:g,[`${d}Month`]:y,[`${d}Date`]:B,[`${d}Hour`]:T,[`${d}Minute`]:$,[`${d}Seconds`]:V}},i=(0,t.computed)(()=>{if(!p.value)return[];const{maxYear:d,maxDate:C,maxMonth:N,maxHour:g,maxMinute:y,maxSeconds:B}=s("max",p.value),{minYear:T,minDate:$,minMonth:V,minHour:W,minMinute:_,minSeconds:E}=s("min",p.value);let D=[{type:"year",range:[T,d]},{type:"month",range:[V,N]},{type:"day",range:[$,C]},{type:"hour",range:[W,g]},{type:"minute",range:[_,y]},{type:"seconds",range:[E,B]}];switch(e.type){case"date":D=D.slice(0,3);break;case"datetime":D=D.slice(0,5);break;case"time":D=D.slice(3,6);break;case"year-month":D=D.slice(0,2);break;case"month-day":D=D.slice(1,3);break;case"datehour":D=D.slice(0,4);break;case"hour-minute":D=D.slice(3,5);break}return D}),c=(d,C,N,g,y)=>{const B=[];for(;d<=C;){let T=!0;if(typeof e.itemFilter=="function"){const $={text:`${d}`,value:d,type:N,currentYearMonth:g};T=e.itemFilter($)}if(T)if(typeof e.itemFormatter=="function"){const $={text:`${d}`,value:d,type:N,currentYearMonth:g};e.itemFormatter($),B.push({text:$.text,value:$.value})}else if(e.isShowChinese){let $=`${d}${l[N]}`;if(N==="day"){if(g[0]===y[0]&&g[1]===y[1]&&d===y[2])$=l.today;else{const V=new Date(g[0],g[1],d).getDay();$=`${$} ${l.fullWeekdays[V]}`}B.push({text:$,value:d})}else B.push({text:d+l[N],value:d})}else B.push({text:`${d}`,value:d});N==="minute"?d+=e.minuteStep:d++}return B},m=(0,t.computed)(()=>{const d=new Date,C=[d.getFullYear(),d.getMonth(),d.getDate()],N=[];p.value&&(N[0]=p.value.getFullYear(),N[1]=p.value.getMonth());let g=[];return i.value.forEach(y=>{let B=c(y.range[0],y.range[1],y.type,N,C);B&&g.push(B)}),g}),h=(d,C)=>d==="year"?C.getFullYear():d==="month"?C.getMonth()+1:d==="day"?C.getDate():d==="hour"?C.getHours():d==="minute"?C.getMinutes():d==="seconds"?C.getSeconds():0,u=(0,t.ref)(),p=(0,t.ref)(null);(0,t.watch)(()=>e.modelValue,d=>{let C;if(typeof d=="string"?d.length==0||d==="Invalid Date"?C=new Date:e.valueFormat?C=Wn(e,e.modelValue,e.valueFormat):C=Wn(e,d,oa[e.type]):je(d)?C=d:C=new Date,!!C&&(!p.value||C.getTime()!==p.value.getTime())){p.value=C;let N=[];i.value.forEach(g=>{let y=h(g.type,C);N.push(y)}),u.value=N}},{immediate:!0});const b=d=>{if(!d||d.length===0){p.value=new Date;let C=[];i.value.forEach(N=>{let g=h(N.type,p.value);C.push(g)}),u.value=C;return}if(e.type==="date"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1));g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g)}else if(e.type==="datetime"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1)),y=d[3],B=d[4];g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g,y,B)}else if(e.type==="time"){const C=d[0],N=d[1],g=d[2],y=p.value??new Date;p.value=new Date(y.getFullYear(),y.getMonth(),y.getDate(),C,N,g)}else if(e.type==="year-month"){const C=d[0],N=d[1]-1;p.value=new Date(C,N)}else if(e.type==="month-day"){const C=(p.value??new Date).getFullYear(),N=d[0]-1,g=Math.min(d[1],r(C,N+1));g!==d[1]&&(d[1]=g),p.value=new Date(C,N,g)}else if(e.type==="datehour"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1)),y=d[3];g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g,y)}else if(e.type==="hour-minute"){const C=d[0],N=d[1],g=p.value??new Date;p.value=new Date(g.getFullYear(),g.getMonth(),g.getDate(),C,N)}u.value=d};return{columns:m,dateIndexs:u,show:o,onChange:d=>{b(d)},onClose:()=>{n("update:close",!1)},onConfirm:d=>{b(d);const C=p.value??new Date;e.valueFormat?n("update:modelValue",ra(e,C,e.valueFormat)):n("update:modelValue",C),n("confirm",d)},onClear:()=>{n("clear")},onUpdateVisible:d=>{o.value=d,n("update:visible",d)}}}});function Of(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Picker");return(0,t.openBlock)(),(0,t.createBlock)(s,{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,"onUpdate:visible":e.onUpdateVisible,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"top")]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onChange","onConfirm","onClose","onClear","onUpdate:visible","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}var Yn=oe(Lf,[["render",Of]]),Rf={format:{type:String},placeholder:{type:String},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function Ff(e){let n=e.format;return n||(n=oa[e.type??"date"]),n}function Kf(e,n,a,l,o,r,s=!1){return{props:{...pe,...ye,...ia,...Rf},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),S=Me(i,"modelValue",O=>O==null?null:typeof O=="string"?O.length==0?null:i.valueFormat?Wn(i,O,i.valueFormat)??O:Wn(i,O,oa[i.type])??O:je(O)?O:null,u),f=(0,t.computed)(()=>{if(!S.value)return"";const O=Ff(i);return ra(i,S.value,O)}),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const O={};return C.value&&(O["text-align"]=C.value),O}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=()=>{g.value=!1};c.expose({showPicker:y,hidePicker:B});const T=O=>{g.value=O},$=O=>{if(S.value=O,i.valueFormat){let U=ra(i,O,i.valueFormat);u("update:modelValue",U,{}),u("change",U,{})}else u("update:modelValue",O,{}),u("change",O,{})},V=O=>{let U=O.target.value;w.value=!0,u("focus",U,O)},W=O=>{setTimeout(()=>{w.value=!1},0);let U=O.target.value;i.maxLength&&U.length>Number(i.maxLength)&&(U=U.slice(0,Number(i.maxLength))),u("blur",U,O)},_=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),E=(0,t.computed)(()=>ve(i.unit)>0),D=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),L=(0,t.computed)(()=>({hidden:!D.value})),M=O=>{S.value="",u("update:modelValue","",O),u("change","",O),u("clear",""),B()},R=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),K=(0,t.computed)(()=>{let O=ve(S.value)>0;return i.clearable&&O&&w.value}),q=O=>{K.value?M(O):y()},G=(0,t.computed)(()=>K.value&&R.value?l:o),ne=(0,t.computed)(()=>({action:!0}));return()=>{const O={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(O.disabled=!0);const U=[],z=(0,t.h)("input",O);U.push(z);const Q=[],F=(0,t.h)(G.value,{class:["action-icon"]}),H=(0,t.h)("view",{class:ne.value,onClick:q},{default:()=>[F]});if(Q.push(H),E.value){const I=(0,t.h)("view",{class:L.value},[i.unit]);Q.push(I)}const J=(0,t.h)("view",{class:_.value},{default:()=>Q});U.push(J);const X={default:()=>U};X.label=c.slots.default,X.prepend=c.slots.prepend,X.append=c.slots.append,X.fixedPreTip=c.slots.fixedPreTip,X.fixedTip=c.slots.fixedTip;const te=ge(i,ia);te.valueFormat=null,te.disabled=!1,te.readonly=m.value||h.value,te.visible=g.value,te["onUpdate:visible"]=T,te.modelValue=S.value,te["onUpdate:modelValue"]=$,te.onClear=M;const P={};if(c.slots.top){const I=c.slots.top();P.top=()=>I}if(c.slots.bottom){const I=c.slots.bottom();P.default=()=>I}const j=(0,t.h)(r,te,P);X.hide=()=>[j];const x={...ge(i,ye,pe)};return i.prop&&(x.prop=`${i.prop}_item`),(0,t.h)(a,x,X)}}}}var{create:Uf,componentName:Hf,scope:jf}=ee("date-item"),Wf=Uf(Kf(Hf,jf,Ne,ae.CircleClose,ae.Date,Yn,!1)),sa=Wf,ie={format(e,n="YYYY-MM-DD"){return kt.format(e,n)},parser(e,n){return kt.parser(e,n)},isLeapYear:function(e){return kt.isLeapYear(e)},getWhatDay:function(e,n,a){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(e+"/"+n+"/"+a).getDay()]},getMonthPreDay:function(e,n){let a=new Date(e+"/"+n+"/01").getDay();return a==0&&(a=7),a},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 a=e*(1e3*60*60*24);return n=new Date(n.getTime()+a),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,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a));let r=o.getDay();const s=o.getDate();let i=6-r;return l!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/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),s=Math.round((o.valueOf()-r.valueOf())/864e5);return Math.ceil((s+(r.getDay()+1-1))/7)},getWeekDate:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=o.getTime();let s=o.getDay();if(l===0){const c=r-s*864e5,m=r+(6-s)*864e5;return[this.date2Str(new Date(c)),this.date2Str(new Date(m))]}else{s=s==0?7:s;const i=1440*60*1e3,c=r-(s-1)*i,m=r+(7-s)*i;return[this.date2Str(new Date(c)),this.date2Str(new Date(m))]}},formatResultDate:function(e){const 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}},{create:Yf,scope:Xf}=ee("calendar-pane"),Qf=Yf({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: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}=(0,he.useFoxI18n)(Xf),r=l(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(o("weekdays")),i=(0,t.ref)([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=(0,t.ref)(null),m=(0,t.ref)(null),h=(0,t.ref)(null),u=(0,t.ref)(null),p=(0,t.ref)(0),b=(0,t.computed)(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),w=(0,t.computed)(()=>a.btn),v=(0,t.computed)(()=>a["top-info"]),S=(0,t.computed)(()=>a["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}),k=F=>F.split("-"),d=F=>ie.isEqual(f.currDate[0],F),C=F=>ie.isEqual(f.currDate[1],F),N=F=>f.currDate?.length>0?f.currDate?.some(H=>ie.isEqual(H,F)):!1,g=(F,H)=>H.curData[0]+"-"+H.curData[1]+"-"+ie.getNumTwoBit(+F.day),y=(F,H)=>{const J=g(F,H),{type:X}=e;return F.type=="curr"?ie.isEqual(f.currDate,J)||(X=="range"||X=="week")&&(d(J)||C(J))||X=="multiple"&&N(J)?`${f.dayPrefix}--active`:f.propStartDate&&ie.compareDate(J,f.propStartDate)||f.propEndDate&&ie.compareDate(f.propEndDate,J)?`${f.dayPrefix}--disabled`:(X=="range"||X=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&ie.compareDate(f.currDate[0],J)&&ie.compareDate(J,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},B=()=>{const{type:F}=e;if(F=="range"&&f.chooseData.length==2||F!="range"){let H=f.chooseData.slice(0);F=="week"&&(H={weekDate:[$(f.chooseData[0]),$(f.chooseData[1])]}),n("choose",H),e.poppable&&n("update")}},T=(F,H,J=!1)=>{if(y(F,H)!=`${f.dayPrefix}--disabled`){const{type:X}=e;let[te,P]=H.curData,j=[...H.curData];if(j[2]=ie.getNumTwoBit(Number(F.day)),j[3]=`${j[0]}-${j[1]}-${j[2]}`,j[4]=ie.getWhatDay(+j[0],+j[1],+j[2]),X=="multiple")if(f.currDate?.length>0){let x;f.currDate?.forEach((I,Y)=>{I==j[3]&&(x=Y)}),J?f.chooseData.push([...j]):x!==void 0?(f.currDate.splice(x,1),f.chooseData.splice(x,1)):(f.currDate.push(j[3]),f.chooseData.push([...j]))}else f.currDate=[j[3]],f.chooseData=[[...j]];else if(X=="range"){let x=Object.values(f.currDate).length;x==2||x==0?f.currDate=[j[3]]:ie.compareDate(f.currDate[0],j[3])?Array.isArray(f.currDate)&&f.currDate.push(j[3]):Array.isArray(f.currDate)&&f.currDate.unshift(j[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...j]]:ie.compareDate(f.chooseData[0][3],j[3])?f.chooseData=[...f.chooseData,[...j]]:f.chooseData=[[...j],...f.chooseData]}else if(X=="week"){let x=ie.getWeekDate(te,P,F.day,e.firstDayOfWeek);f.propStartDate&&ie.compareDate(x[0],f.propStartDate)&&x.splice(0,1,f.propStartDate),f.propEndDate&&ie.compareDate(f.propEndDate,x[1])&&x.splice(1,1,f.propEndDate),f.currDate=x,f.chooseData=[ie.formatResultDate(x[0]),ie.formatResultDate(x[1])]}else f.currDate=j[3],f.chooseData=[...j];if(!J){let x=f.chooseData;X=="week"&&(x={weekDate:[$(f.chooseData[0]),$(f.chooseData[1])]}),n("select",x),(e.isAutoBackFill||!e.poppable)&&B()}}},$=F=>{let[H,J,X]=F;return{date:F,monthWeekNum:ie.getMonthWeek(H,J,X,e.firstDayOfWeek),yearWeekNum:ie.getYearWeek(H,J,X,e.firstDayOfWeek)}},V=F=>{const H=F=="prev"?f.monthsData[0]:f.monthsData[f.monthsData.length-1];let J=parseInt(H.curData[0]),X=parseInt(H.curData[1].toString().replace(/^0/,""));switch(F){case"prev":X==1&&(J-=1),X=X==1?12:--X;break;case"next":X==12&&(J+=1),X=X==12?1:++X;break}return[J+"",ie.getNumTwoBit(X),ie.getMonthDays(String(J),String(X))+""]},W=(F,H,J)=>{let{year:X,month:te}=J;return H=="prev"&&F>=7&&(F-=7),Array.from(Array(F),(P,j)=>({day:String(j+1),type:H,year:X,month:te}))},_=(F,H,J,X)=>{F=F-e.firstDayOfWeek;let{year:te,month:P}=J;return H=="prev"&&F>=7&&(F-=7),Array.from(Array(X),(j,x)=>({day:String(x+1),type:H,year:te,month:P})).slice(X-F)},E=(F,H)=>{const J=ie.getMonthPreDay(+F[0],+F[1]);let X=Number(F[1])-1,te=Number(F[0]);X<=0&&(X=12,te+=1);const P=ie.getMonthDays(String(F[0]),String(F[1])),j=ie.getMonthDays(te+"",X+""),x={year:F[0],month:F[1]},I={curData:F,title:o("monthTitle",{year:x.year,month:x.month}),monthData:[..._(J,"prev",{month:String(X),year:String(te)},j),...W(P,"curr",x)],cssHeight:0,cssScrollHeight:0};I.cssHeight=39+64*(I.monthData.length>35?6:5);let Y=0;f.monthsData.length>0&&(Y=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),I.cssScrollHeight=Y,H=="next"?(!f.endData||!ie.compareDate(`${f.endData[0]}-${f.endData[1]}-${ie.getMonthDays(f.endData[0],f.endData[1])}`,`${F[0]}-${F[1]}-${F[2]}`))&&f.monthsData.push(I):!f.startData||!ie.compareDate(`${F[0]}-${F[1]}-${F[2]}`,`${f.startData[0]}-${f.startData[1]}-01`)?f.monthsData.unshift(I):f.unLoadPrev=!0},D=()=>{let F=e.startDate?e.startDate:ie.getDay(0),H=e.endDate?e.endDate:ie.getDay(365);f.propStartDate=F,f.propEndDate=H,f.startData=k(F),f.endData=k(H),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const J={year:Number(f.startData[0]),month:Number(f.startData[1])},X={year:Number(f.endData[0]),month:Number(f.endData[1])};let te=X.month-J.month;X.year-J.year>0&&(te=te+12*(X.year-J.year)),te<=0&&(te=1),E(f.startData,"next");let P=1;do E(V("next"),"next");while(P++<te);if(f.monthsNum=te,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(F&&ie.compareDate(f.currDate[0],F)&&f.currDate.splice(0,1,F),H&&ie.compareDate(H,f.currDate[1])&&f.currDate.splice(1,1,H),f.defaultData=[...k(f.currDate[0]),...k(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let j=[],x={};f.currDate.forEach(I=>{F&&!ie.compareDate(I,F)&&H&&!ie.compareDate(H,I)&&(Object.hasOwnProperty.call(x,I)||(j.push(I),x[I]=I))}),f.currDate=[...j],f.defaultData=[...k(j[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[j,x,I]=k(f.currDate[0]);f.currDate=ie.getWeekDate(j,x,I,e.firstDayOfWeek),F&&ie.compareDate(f.currDate[0],F)&&f.currDate.splice(0,1,F),H&&ie.compareDate(H,f.currDate[1])&&f.currDate.splice(1,1,H),f.defaultData=[...k(f.currDate[0]),...k(f.currDate[1])]}}else f.currDate&&(F&&ie.compareDate(f.currDate,F)?f.currDate=F:H&&!ie.compareDate(f.currDate,H)&&(f.currDate=H),f.defaultData=[...k(f.currDate)])};Te({scrollToDate:F=>{ie.compareDate(F,f.propStartDate)?F=f.propStartDate:ie.compareDate(F,f.propEndDate)||(F=f.propEndDate);let H=k(F);f.monthsData.forEach((J,X)=>{if(J.title==o("monthTitle",{year:H[0],month:H[1]})&&c.value){let te=f.monthsData[X].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let P=0,j=setInterval(()=>{if(P++,c.value){let x=te/10;c.value.scrollTop=c.value.scrollTop+x}P>=10&&(clearInterval(j),c.value&&(c.value.scrollTop=f.monthsData[X].cssScrollHeight))},40)}else c.value.scrollTop=f.monthsData[X].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let F=0,H=0;f.defaultData.length>0&&f.monthsData.forEach((te,P)=>{te.title==o("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(F=P),(e.type=="range"||e.type=="week")&&te.title==o("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(H=P)}),K(f.monthsNum,F),f.currentIndex=F,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),T({day:f.defaultData[5],type:"curr"},f.monthsData[H],!0)):e.type=="week"?T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(te=>{let P=k(te),j=f.currentIndex;f.monthsData.forEach((x,I)=>{x.title==o("monthTitle",{year:P[0],month:P[1]})&&(j=I)}),T({day:P[2],type:"curr"},f.monthsData[j],!0)}):T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let J=f.monthsData[f.monthsData.length-1],X=J.cssHeight+J.cssScrollHeight;Ye(()=>{c?.value&&m?.value&&u?.value&&(p.value=c.value.clientHeight,m.value.style.height=`${X}px`,c.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(X/(f.monthsNum+1))}});const K=(F,H)=>{F>=3?H>0&&H<F?f.defaultRange=[H-1,H+3]:H==0?f.defaultRange=[H,H+4]:H==F&&(f.defaultRange=[H-2,H+2]):f.defaultRange=[0,F+2],f.translateY=f.monthsData[f.defaultRange[0]].cssScrollHeight},q=(F,H)=>(e.type=="range"||e.type=="week")&&F.type=="curr"&&y(F,H)=="fox-calendar__day--active",G=(F,H)=>q(F,H)&&d(g(F,H)),ne=(F,H)=>f.currDate.length>=2&&C(g(F,H))?q(F,H):!1,O=()=>{if(f.currDate.length>=2)return ie.isEqual(f.currDate[0],f.currDate[1])},U=F=>{const H=`${F.year}-${F.month}-${Number(F.day)<10?"0"+F.day:F.day}`;return ie.isEqual(H,ie.date2Str(new Date))},z=F=>{if(f.monthsData.length<=1)return;const H=F.target.scrollTop;let J=Math.floor(H/f.avgHeight);if(J==0)H>=f.monthsData[J+1].cssScrollHeight&&(J+=1);else if(J>0&&J<f.monthsNum-1)H>=f.monthsData[J+1].cssScrollHeight&&(J+=1),H<f.monthsData[J].cssScrollHeight&&(J-=1);else{const X=Math.round(H+p.value);X<f.monthsData[J].cssScrollHeight+f.monthsData[J].cssHeight&&H>f.monthsData[J-1].cssScrollHeight&&(J-=1),J+1<=f.monthsNum&&X>=f.monthsData[J+1].cssScrollHeight+f.monthsData[J+1].cssHeight&&(J+=1),J>=1&&H<f.monthsData[J-1].cssScrollHeight&&(J-=1)}f.currentIndex!==J&&(f.currentIndex=J,K(f.monthsNum,J)),f.yearMonthTitle=f.monthsData[J].title},Q=()=>{f.chooseData.splice(0),f.monthsData.splice(0),D()};return D(),(0,t.watch)(()=>e.defaultValue,F=>{F&&e.poppable&&Q()}),{weeks:i,compConthsData:b,showTopBtn:w,topInfo:v,bottomInfo:S,rangeTip:O,mothsViewScroll:z,getClass:y,isStartTip:G,isEndTip:ne,chooseDay:T,isCurrDay:U,confirm:B,months:c,...(0,t.toRefs)(f),...(0,t.toRefs)(e),...r,monthsPanel:m,weeksPanel:h,viewArea:u}}}),Gf={class:"fox-calendar__header"},Zf={key:0,class:"fox-calendar__header-title"},_f={key:1,class:"fox-calendar__header-slot"},Jf={key:2,class:"fox-calendar__header-subtitle"},e0={class:"fox-calendar__weekdays",ref:"weeksPanel"},t0={class:"fox-calendar__panel",ref:"monthsPanel"},n0={class:"fox-calendar__month-title"},l0={class:"fox-calendar__days"},a0=["onClick"],o0={class:"fox-calendar__day-value"},r0={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},i0={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},s0={key:2,class:"fox-calendar__day-tips--curr"},c0={key:4,class:"fox-calendar__day-tip"},u0={key:0,class:"fox-calendar__footer"};function d0(e,n,a,l,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",Gf,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Zf,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",_f,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Jf,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",e0,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:i},(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",t0,[(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,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:i},[(0,t.createElementVNode)("view",n0,(0,t.toDisplayString)(s.title),1),(0,t.createElementVNode)("view",l0,[(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,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(c,s)]),onClick:h=>e.chooseDay(c,s)},[(0,t.createElementVNode)("view",o0,[(0,t.renderSlot)(e.$slots,"day",{date:c.type=="curr"?c:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(c.type=="curr"?c.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",r0,[(0,t.renderSlot)(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",i0,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:c.type=="curr"?c:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?((0,t.openBlock)(),(0,t.createElementBlock)("view",s0,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(c,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(c,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",c0,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],10,a0))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",u0,[(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 f0=oe(Qf,[["render",d0]]),m0=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-calender__popup"}},setup(e,{slots:n}){return()=>e.poppable?(0,t.h)(be,Qe({...e},{poppable:!1}),n):n?.default?.()??null}}),h0=m0,p0=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Xn={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}},{create:g0}=ee("calendar"),y0=g0({components:{Wrapper:h0,CalendarPane:f0},props:{...Xn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a}){const l=(0,t.computed)(()=>a.btn),o=(0,t.computed)(()=>a["top-info"]),r=(0,t.computed)(()=>a.day),s=(0,t.computed)(()=>a["bottom-info"]),i=(0,t.ref)(null),c=v=>{i.value?.scrollToDate(v)},m=()=>{i.value?.initPosition()};(0,t.watch)(()=>e.visible,v=>{v&&(0,t.nextTick)(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),Te({scrollToDate:c,initPosition:m});const h=()=>{n("update:visible",!1)},u=()=>{n("close"),n("update:visible",!1)};return{closePopup:()=>{u()},update:h,close:u,select:v=>{n("select",v)},choose:v=>{u(),n("choose",v)},calendarRef:i,showTopBtn:l,topInfo:o,dayInfo:r,bottomInfo:s}}});function b0(e,n,a,l,o,r){const s=(0,t.resolveComponent)("CalendarPane"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(i,(0,t.mergeProps)({visible:e.visible,position:"bottom","pop-class":"fox-calendar__popup",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,poppable:e.poppable}),{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)(c=>[(0,t.renderSlot)(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(c=>[(0,t.renderSlot)(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(c=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:c.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","poppable"])}var Qn=oe(y0,[["render",b0]]),di={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}},ca=(e,n)=>{let a;return je(e)?a=e:typeof e=="string"&&ve(e)>0?a=ie.parser(e,n):a=new Date,a},wt=(e,n,a)=>(je(n)||(n=new Date),ie.format(n,a)),Ct=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,ie.date2Str(e),ie.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())];function S0(e,n,a,l,{CloseIcon:o,MarkIcon:r},s=!1){return{props:{...pe,...ye,...Xn,...di},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=(0,t.computed)(()=>i.type==="range"),S=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),f=()=>{S.startDate!==null&&(S.startDate=null,S.endDate=null,S.startArray=[],S.endArray=[])},k=(z,Q="one",F="YYYY-MM-DD")=>{if(p0(z)){f();return}if(v.value&&Array.isArray(z)&&z.length==2){let H,J;typeof z[0]=="string"?(H=ca(z[0],F),J=ca(z[1],F)):(H=z[0],J=z[1]);let X=Ct(H),te=Ct(J);(S.startDate===null||S.startDate.getTime()!==H.getTime()||S.endDate?.getTime()!==J.getTime())&&(S.startDate=H,S.startArray=X,S.endDate=J,S.endArray=te)}else{let H;typeof z=="string"?H=ca(z,F):H=z;let J=Ct(H);(S.startDate===null||S.startDate.getTime()!==H.getTime())&&(S.startDate=H,S.startArray=J)}};k(i.modelValue,i.type,i.valueFormat),(0,t.watch)(()=>i.modelValue,z=>{k(z,i.type,i.valueFormat),u("setValue",z)});const d=(0,t.computed)(()=>{if(S.startDate===null)return"";if(v.value){let z=wt(i,S.startDate,i.format),Q=wt(i,S.endDate,i.format);return`${z} ${i.rangeSeparator} ${Q}`}else{let z=wt(i,S.startDate,i.format);return i.showWeek&&(z=`${z} ${S.startArray[4]}`),z}}),C=(0,t.computed)(()=>S.startDate===null?null:v.value?[ie.date2Str(S.startDate),ie.date2Str(S.endDate??new Date)]:ie.date2Str(S.startDate)),N="fox-input-item",g=(0,t.computed)(()=>({[N]:!0,"is-disabled":m.value,"is-readonly":h.value})),y=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),B=(0,t.computed)(()=>{const z={};return y.value&&(z["text-align"]=y.value),z}),T=(0,t.ref)(!1),$=()=>{h.value||m.value||(T.value=!0)},V=z=>{T.value=z},W=z=>{if(z){if(v.value&&Array.isArray(z)){let Q=z[0],F=me(Q[0]),H=me(Q[1]),J=me(Q[2]),X=new Date(F,H-1,J),te=z[1];F=me(te[0]),H=me(te[1]),J=me(te[2]);let P=new Date(F,H-1,J);S.startDate=X,S.startArray=Ct(X),S.endDate=P,S.endArray=Ct(P),i.valueFormat?u("update:modelValue",[wt(i,X,i.valueFormat),wt(i,P,i.valueFormat)],{}):u("update:modelValue",[X,P],{})}else{let Q=z,F=me(Q[0]),H=me(Q[1]),J=me(Q[2]),X=new Date(F,H-1,J);S.startDate=X,S.startArray=Ct(X),i.valueFormat?u("update:modelValue",wt(i,X,i.valueFormat),{}):u("update:modelValue",X,{})}u("change",z,{})}},_=z=>{let Q=z.target.value;w.value=!0,u("focus",Q,z)},E=z=>{setTimeout(()=>{w.value=!1},0);let Q=z.target.value;i.maxLength&&Q.length>Number(i.maxLength)&&(Q=Q.slice(0,Number(i.maxLength))),u("blur",Q,z)},D=(0,t.computed)(()=>({[`${N}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),L=(0,t.computed)(()=>ve(i.unit)>0),M=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),R=(0,t.computed)(()=>({hidden:!M.value})),K=z=>{f(),u("update:modelValue",null,z),u("change","",z),u("clear","")},q=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),G=(0,t.computed)(()=>{let z=ve(d.value)>0;return i.clearable&&z&&w.value}),ne=z=>{G.value?K(z):$()},O=(0,t.computed)(()=>G.value&&q.value?o:r),U=(0,t.computed)(()=>({action:!0}));return()=>{const z={class:g.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:$,onFocus:_,onBlur:E};s&&(z.disabled=!0);const Q=[],F=(0,t.h)("input",z);Q.push(F);const H=[],J=(0,t.h)(O.value,{class:["action-icon"]}),X=(0,t.h)("view",{class:U.value,onClick:ne},{default:()=>[J]});if(H.push(X),L.value){const Z=(0,t.h)("view",{class:R.value},[i.unit]);H.push(Z)}const te=(0,t.h)("view",{class:D.value},{default:()=>H});Q.push(te);const P={default:()=>Q};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 j=ge(i,Xn);j.visible=T.value,j["onUpdate:visible"]=V,j["default-value"]=C.value,j.onChoose=W;const x={};if(c.slots.btn){const Z=c.slots.btn();x.btn=()=>Z}c.slots.day&&(x.day=c.slots.day),c.slots.topInfo&&(x.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(x.bottomInfo=c.slots.bottomInfo);const I=(0,t.h)(a,j,x);P.hide=()=>[I];const Y={...Qe(i,Xn,di)};return i.prop&&(Y.prop=`${i.prop}_item`),(0,t.h)(l,Y,P)}}}}var{componentName:v0,create:k0,scope:w0}=ee("calendar-item"),C0=k0(S0(v0,w0,Qn,Ne,{CloseIcon:ae.CircleClose,MarkIcon:ae.Date},!1)),ua=C0,N0={readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"},label:{type:[String,Number,Boolean],default:""},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}};function A0(e,{CheckNormal:n,Checked:a}){return{props:{...N0},setup(l,{emit:o,slots:r}){const s=(0,t.inject)("parent",null),i=Bn(),c=(0,t.computed)(()=>s.label.value===l.label),m=(0,t.computed)(()=>s.position),h=()=>{const v=[];if(c.value){if(r.checkedIcon)return r.checkedIcon();{const S=se(l.iconSize),f=l.checkedIcon??i.radio.Checked??a;return v.push("fox-radio__icon"),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)(f,{width:S,height:S,class:v})}}else{if(r.icon)return r.icon();{const S=se(l.iconSize),f=l.icon??i.radio.CheckNormal??n;return v.push("fox-radio__icon--unchecked"),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)(f,{width:S,height:S,class:v})}}},u=()=>{const v=[`${e}__label`];return l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)("view",{class:v},r.default?.())},p=()=>{const v=[`${e}__button`];return c.value&&v.push(`${e}__button--active`),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)("view",{class:v},r.default?.())},b=()=>{c.value||l.disabled||l.readonly||s.updateValue(l.label)},w=m.value==="left";return()=>(0,t.h)("view",{class:`${e} ${e}--${l.shape} ${w?`${e}--reverse`:""}`,onClick:b},[l.shape=="button"?p():w?[u(),h()]:[h(),u()]])}}}var{componentName:B0,create:T0}=ee("radio"),V0=T0(A0(B0,{CheckNormal:ae.CheckNormal,Checked:ae.CheckChecked})),Gn=V0,{componentName:fi,create:$0}=ee("radio-group"),E0=$0({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=pt(),l=o=>a("update:modelValue",o);return(0,t.provide)("parent",{label:(0,t.readonly)((0,t.computed)(()=>e.modelValue)),position:e.textPosition,updateValue:l}),(0,t.watch)(()=>e.modelValue,o=>a("change",o)),()=>{const o={};return e.textAlign&&(o["text-align"]=e.textAlign),(0,t.h)("view",{class:`${fi} ${fi}--${e.direction}`,style:o},n.default?.())}}}),Zn=E0;function mi(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(_n(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(Wt(e,r)===a)return o}return-1}function _n(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 D0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function I0(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var q0=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function x0(){return new q0((0,t.getCurrentInstance)().proxy)}function P0(e){return{text:e,value:e}}var hi={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},M0={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},z0={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"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Number,String,Object],default:""}};function L0(e,n,a,l,o){return{props:{...pe,...ye,...hi,...M0,...z0},emits:["change","update:modelValue","setValue"],setup(r,s){const i=$e((0,t.computed)(()=>r.readonly)),c=Ee((0,t.computed)(()=>r.disabled)),m=Ve((0,t.computed)(()=>r.textAlign),"textAlign"),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return c.value}},r.prop??s.attrs.name),u=x0(),p=(0,t.ref)([]);(0,t.watch)([()=>r.source,()=>r.params],async([f,k])=>{if(f){const d=await u.load("radio",f,k);d.length>0?typeof d[0]=="string"?p.value=d.map(C=>P0(C)):p.value=d:p.value=[]}},{immediate:!0});let b=(0,t.ref)(-1);(0,t.watch)([()=>r.modelValue,()=>p.value],async([f,k])=>{b.value=mi(r,k,f,r.valueType),h("setValue",f)},{deep:!0});const w=(0,t.computed)(()=>{if(!r.source)return r.modelValue;if(b.value===-1)return null;const f=p.value[b.value];return Wt(r,f)}),v=f=>{let k=null,d=null;if(p.value.length>0){let C=mi(r,p.value,f,"value");b.value=C,C>=0&&(d=p.value[C],r.valueType==="text"?k=_n(r,d):r.valueType==="item"?k=d:k=Wt(r,d))}else k=f;h("update:modelValue",k),h("change",k,d)},S=()=>{let f=null,k=null;if(p.value.length>0&&b.value!==-1){let d=p.value[b.value];r.valueType==="text"?f=_n(r,d):r.valueType==="item"?f=d:f=Wt(r,d)}h("update:modelValue",f),h("change",f,k)};if(Te({clear(){b.value!==-1&&(b.value=-1,S())}}),r.source){const f=()=>{const k=[],d=ge(r,hi);return p.value.forEach((C,N)=>{const g=Wt(r,C),y=D0(r,C);let B={...d,label:g,disabled:y};const T=I0(r,C,N);B={...B,...T},c.value&&(B.disabled=!0),i.value&&(B.readonly=!0);const $={};if(s.slots.icon&&($.icon=s.slots.icon),s.slots.checkedIcon&&($.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const W=s.slots.text(C);$.default=()=>[W]}else{const W=_n(r,C);$.default=()=>W}let V=(0,t.h)(o,B,$);k.push(V)}),k};return()=>{const k=f(),d=(0,t.h)(l,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"onUpdate:modelValue":v},{default:()=>k}),C={default:()=>d};C.label=s.slots.default,C.prepend=s.slots.prepend,C.append=s.slots.append,C.fixedPreTip=s.slots.fixedPreTip,C.fixedTip=s.slots.fixedTip;const N={...ge(r,ye,pe)};return r.prop&&(N.prop=`${r.prop}_item`),(0,t.h)(a,N,C)}}else return()=>{const f=s.slots.options?.()??[];return(0,t.h)(l,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"update:modelValue":v},{default:()=>f})}}}}var{componentName:O0,create:R0,scope:F0}=ee("radio-item"),K0=R0(L0(O0,F0,Ne,Zn,Gn)),da=K0,U0=(e,{CheckNormal:n,Checked:a,Indeterminate:l})=>({props:{modelValue:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textPosition:{type:String,default:"right"},icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},label:{type:[String,Number,Boolean],default:""},indeterminate:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["change","update:modelValue"],setup(o,{slots:r}){const{emitEvent:s}=pt(),i=Bn(),c=(0,t.inject)("parent",null),m=(0,t.reactive)({partialSelect:o.indeterminate});(0,t.watch)(()=>o.indeterminate,d=>{m.partialSelect=d});const h=(0,t.computed)(()=>!!c),u=(0,t.computed)(()=>h.value?c.value.value.includes(o.label):!!o.modelValue),p=(0,t.computed)(()=>h.value?c.position:o.textPosition);let b="";const w=(d,C)=>{b="click",s("update:modelValue",d),s("change",d,C)};(0,t.watch)(()=>o.modelValue,d=>{b=="click"?b="":s("change",d)});const v=()=>{const d=[];if(m.partialSelect){if(r.indeterminateIcon)return r.indeterminateIcon();{const C=se(o.iconSize),N=o.indeterminateIcon??i.checkbox.Indeterminate??l;return d.push("fox-checkbox__icon--indeterminate"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}else if(u.value){if(r.checkedIcon)return r.checkedIcon();{const C=se(o.iconSize),N=o.checkedIcon??i.checkbox.Checked??a;return d.push("fox-checkbox__icon"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}else{if(r.icon)return r.icon();{const C=se(o.iconSize),N=o.icon??i.checkbox.CheckNormal??n;return d.push("fox-checkbox__icon--unchecked"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}},S=()=>{const d=[`${e}__label`];return o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)("view",{class:d},r.default?.())},f=()=>{const d=[`${e}__button`];return u.value&&d.push(`${e}__button--active`),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)("view",{class:d},r.default?.())},k=d=>{if(!(o.disabled||o.readonly)){if(u.value&&m.partialSelect){m.partialSelect=!1,w(u.value,r.default?.()[0].children);return}if(w(!u.value,r.default?.()[0].children),h.value){const C=c.value.value,N=c.max.value,{label:g}=o,y=C.indexOf(g);y>-1?C.splice(y,1):y<=-1&&(C.length<N||!N)&&C.push(g),c.updateValue(C)}}};return(0,t.onMounted)(()=>{h.value&&c.link((0,t.getCurrentInstance)())}),(0,t.onBeforeUnmount)(()=>{h.value&&c.unlink((0,t.getCurrentInstance)())}),()=>(0,t.h)("view",{class:`${e} ${e}--${o.shape} ${p.value==="left"?`${e}--reverse`:""}`,onClick:k},[o.shape=="button"?f():[v(),S()]])}}),{componentName:H0,create:j0}=ee("checkbox"),W0=j0(U0(H0,{CheckNormal:ae.CheckNormal,Checked:ae.Checked,Indeterminate:ae.CheckDisabled})),Jn=W0,{create:Y0,componentName:pi}=ee("checkbox-group"),X0=Y0({props:{modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=pt(),l=(0,t.reactive)({children:[]}),o=m=>{m.proxy&&l.children.push(m.proxy)},r=m=>{m.proxy&&(l.children=l.children.filter(h=>h!==m.proxy))},s=m=>{a("update:modelValue",m),a("change",m)},i=m=>{const h=[];m&&l.children.forEach(u=>{u?.disabled||h.push(u?.label)}),a("update:modelValue",h)},c=()=>{a("update:modelValue",l.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label))};return(0,t.provide)("parent",{value:(0,t.computed)(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:(0,t.computed)(()=>e.max),updateValue:s,link:o,unlink:r}),(0,t.watch)(()=>e.modelValue,m=>{a("change",m)}),Te({toggleAll:i,toggleReverse:c}),()=>{const m={};return e.textAlign&&(m["text-align"]=e.textAlign),(0,t.h)("view",{class:`${pi} ${pi}--${e.direction}`,style:m},n.default?.())}}}),el=X0;function gi(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(fa(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(tl(e,r)===a)return o}return-1}function fa(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 Q0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function G0(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var Z0=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function _0(){return new Z0((0,t.getCurrentInstance)().proxy)}function J0(e){return{text:e,value:e}}var em={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},yi={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}},tm={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"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Array,String],default:[]}};function nm(e,n,a,l,o){return{props:{...pe,...ye,...em,...yi,...tm},emits:["change","update:modelValue","setValue"],setup(r,s){const i=Ee((0,t.computed)(()=>r.disabled)),c=$e((0,t.computed)(()=>r.readonly)),m=Ve((0,t.computed)(()=>r.textAlign),"textAlign"),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value}},r.prop??s.attrs.name),u=_0(),p=(0,t.ref)([]);(0,t.watch)([()=>r.source,()=>r.params],async([f,k])=>{if(f){const d=await u.load("checkbox",f,k);d.length>0?typeof d[0]=="string"?p.value=d.map(C=>J0(C)):p.value=d:p.value=[]}},{immediate:!0});const b=(0,t.ref)([]);(0,t.watch)([()=>r.modelValue,()=>p.value],async([f,k])=>{const d=[];Array.isArray(f)&&f.forEach(C=>{let N=gi(r,k,C,r.valueType);N!==-1&&d.push(N)}),!Ie(d,b.value)&&(b.value=d,h("setValue",d))},{deep:!0});const w=(0,t.computed)(()=>{if(!r.source)return r.modelValue;let f=[];return b.value.forEach(k=>{let d=p.value[k];f.push(tl(r,d))}),f}),v=f=>{let k=[],d=[];if(p.value.length>0){const C=[];Array.isArray(f)&&f.forEach(N=>{let g=gi(r,p.value,N,"value");g!==-1&&C.push(g);const y=p.value[g];d.push(y),r.valueType==="text"?k.push(fa(r,y)):r.valueType==="item"?k.push(y):k.push(tl(r,y))}),b.value=C}else k=f;h("update:modelValue",k),h("change",k,d)},S=(0,t.ref)();if(Te({toggleAll:f=>{S.value.toggleAll(f)},toggleReverse:()=>{S.value.toggleReverse()}}),r.source){const f=()=>{const k=[],d=ge(r,yi);return p.value.forEach((C,N)=>{const g=tl(r,C),y=Q0(r,C);let B={...d,label:g,disabled:y};const T=G0(r,C,N);B={...B,...T},i.value&&(B.disabled=!0),c.value&&(B.readonly=!0);const $={};if(s.slots.icon&&($.icon=s.slots.icon),s.slots.checkedIcon&&($.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&($.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const W=s.slots.text(C);$.default=()=>[W]}else{const W=fa(r,C);$.default=()=>W}let V=(0,t.h)(o,B,$);k.push(V)}),k};return()=>{const k=f(),d=(0,t.h)(l,{class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:w.value,"onUpdate:modelValue":v},{default:()=>k}),C={default:()=>d};C.label=s.slots.default,C.prepend=s.slots.prepend,C.append=s.slots.append,C.fixedPreTip=s.slots.fixedPreTip,C.fixedTip=s.slots.fixedTip;const N={...ge(r,ye,pe)};return r.prop&&(N.prop=`${r.prop}_item`),(0,t.h)(a,N,C)}}else return()=>{const f=s.slots.options?.()??[];return(0,t.h)("view",{class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"onUpdate:modelValue":v},{default:()=>f})}}}}var{componentName:lm,create:am,scope:om}=ee("checkbox-item"),rm=am(nm(lm,om,Ne,el,Jn)),ma=rm,ha={modelValue:{type:[String,Boolean,Number],default:!1},disabled:{type:Boolean,default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[String,Number,Boolean],default:!0},inactiveValue:{type:[String,Number,Boolean],default:!1},loading:{type:Boolean,default:!1},name:{type:String,default:"loading1"},size:{type:[String,Number],default:"12px"},color:{type:String,default:""}},{componentName:im,create:sm}=ee("switch"),cm=sm({components:{Loading1:ae.Loading1},props:{...ha},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const a=(0,t.computed)(()=>e.modelValue===e.activeValue),l=(0,t.computed)(()=>{const i=im;return{[i]:!0,[a.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-base`]:!0,"is-disabled":e.disabled}}),o=(0,t.computed)(()=>({backgroundColor:a.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disabled||e.loading)return;r="click";const c=a.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,i)};return(0,t.watch)(()=>e.modelValue,i=>{r=="click"?r="":n("change",i)}),{classes:l,style:o,isActive:a,onClick:s}}}),um={class:"fox-switch-button"};function dm(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading1");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i)),style:(0,t.normalizeStyle)(e.style)},[(0,t.createElementVNode)("view",um,[e.loading?(0,t.renderSlot)(e.$slots,"icon",{key:0},()=>[(0,t.createVNode)(s,{name:"loading",color:e.activeColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),e.activeText?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-switch-label open"},(0,t.toDisplayString)(e.activeText),513),[[t.vShow,e.isActive]]),(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-switch-label close"},(0,t.toDisplayString)(e.inactiveText),513),[[t.vShow,!e.isActive]])],64)):(0,t.createCommentVNode)("",!0)])],6)}var nl=oe(cm,[["render",dm]]);function fm(e,n,a,l){return{props:{...pe,...ye,...ha},emits:["change","update:modelValue","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=e,h=Me(o,"modelValue",null,c),u=p=>{h.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const p={...ge(o,ha),disabled:s.value||i.value,value:h.value,"onUpdate:modelValue":u},b=[],w=(0,t.h)(l,p);b.push(w);const v={default:()=>b};v.label=r.slots.default,v.fixedPreTip=r.slots.fixedPreTip,v.fixedTip=r.slots.fixedTip;const S={...ge(o,ye,pe)};return o.prop&&(S.prop=`${o.prop}_item`),S["content-class"]=m,(0,t.h)(a,S,v)}}}}var{componentName:mm,create:hm,scope:pm}=ee("switch-item"),gm=hm(fm(mm,pm,Ne,nl)),pa=gm;function ym(e,n,a,l){return{props:{...pe,...ye,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur","change"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(o,["placeholder"]),u=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,W=>{u.value=W,c("change",W)});const p=(0,t.computed)(()=>({[`${e}`]:!0})),b=(0,t.computed)(()=>({[`${e}__main`]:!0,[`${e}__placeholder`]:!s.value&&ue(u.value),"is-disabled":s.value,"is-readonly":i.value})),w=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),v=(0,t.computed)(()=>{const W={};return w.value&&(W["text-align"]=w.value),W}),S=(0,t.computed)(()=>!ue(o.modelValue)||r.slots.main?!0:!!ue(o.desc)),f=(0,t.computed)(()=>ue(u.value)?h.placeholder.value:u.value),k=(0,t.computed)(()=>!ue(o.desc)||r.slots.sub),d=(0,t.computed)(()=>({[`${e}__sub`]:!0})),C=(0,t.computed)(()=>{const W={};return w.value&&(W["text-align"]=w.value),W}),N=()=>{c("focus",u.value)},g=()=>{c("blur",u.value)},y=(0,t.computed)(()=>({[`${e}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),B=(0,t.computed)(()=>ve(o.unit)>0),T=W=>{s.value==!0||i.value==!0||c("click")},$=(0,t.computed)(()=>o.icon??a),V=(0,t.computed)(()=>({action:!0}));return()=>{const W=[];if(typeof r.slots.content=="function"){const q=r.slots.content();W.push(q)}else{const q=[];if(S.value){const ne={tabIndex:0,class:b.value,style:v.value,onFocus:N,onBlur:g};let O=null;r.slots.main?O=(0,t.h)("view",ne,[r.slots.main(f.value)]):O=(0,t.h)("view",ne,[f.value]),q.push(O)}if(k.value){const ne={tabIndex:0,class:d.value,style:C.value,onFocus:N,onBlur:g};let O=null;r.slots.sub?O=(0,t.h)("view",ne,[r.slots.sub(o.desc)]):O=(0,t.h)("view",ne,[o.desc]),q.push(O)}const G=(0,t.h)("view",{class:p.value,onClick:T},q);W.push(G)}const _=[],E=se(o.iconSize);let D=r.slots.icon;if(!D){const q={width:E,height:E,class:["action-icon"]};D=(0,t.h)($.value,q)}const L=(0,t.h)("view",{class:V.value,onClick:T},{default:()=>[D]});if(_.push(L),B.value){const q=(0,t.h)("view",{},[o.unit]);_.push(q)}const M=(0,t.h)("view",{class:y.value},{default:()=>_});W.push(M);const R={default:()=>W};R.label=r.slots.default,R.prepend=r.slots.prepend,R.append=r.slots.append,R.fixedPreTip=r.slots.fixedPreTip,R.fixedTip=r.slots.fixedTip;const K={...ge(o,ye,pe)};return o.prop&&(K.prop=`${o.prop}_item`),(0,t.h)(l,K,R)}}}}var{componentName:bm,create:Sm,scope:vm}=ee("link-item"),km=Sm(ym(bm,vm,ae.ArrowRight,Ne)),ga=km,ya={count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},customIcon:{type:Object},size:{type:[String,Number],default:void 0},activeColor:{type:String,default:""},voidColor:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},touchable:{type:Boolean,default:!0},spacing:{type:[String,Number],default:void 0}},{create:wm,componentName:Cm}=ee("rate"),Nm=wm({props:{...ya},emits:["update:modelValue","change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)([]),o=(0,t.computed)(()=>({[Cm]:!0})),r=b=>{n("update:modelValue",b),n("change",b)},s=(b,w)=>{if(e.disabled||e.readonly)return;let v=0;w===1&&e.modelValue===w||(v=w,e.allowHalf&&b==2&&(v-=.5)),r(v)},i=(b,w,v)=>{let S=0;for(let f=w.value.length-1;f>=0;f--){const k=w.value[f];if(b>k.offsetLeft){v?S=f+(b>k.offsetLeft+k.clientWidth/2?1:.5):S=f+1;break}}return S},c=Je(),m={onTouchStart(b){!e.touchable||e.readonly||c.start(b)},onTouchMove(b){e.touchable&&(c.move(b),c.isHorizontal()&&l.value&&(b.preventDefault(),r(i(c.moveX.value,l,e.allowHalf))))}},h=Math.random().toString(36).slice(-8),u=(0,t.computed)(()=>e.customIcon??ae.StarFillN);return{classes:o,...m,onClick:s,toPxString:de,renderIcon:(b,w)=>(0,t.h)(b,w),rateRefs:l,refRandomId:h,slots:a,customIcon:u}}}),Am=["id"],Bm={class:"fox-rate-item__icon--full"},Tm={key:0,class:"fox-rate-item__icon--half"},Vm={key:1,class:"fox-rate-item__icon--half"};function $m(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Number(e.count),s=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-rate-item",key:s,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+s,style:(0,t.normalizeStyle)(s<Number(e.count)?{marginRight:e.toPxString(e.spacing)}:{})},[(0,t.createElementVNode)("view",Bm,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=e.modelValue?e.activeColor:e.voidColor})),{class:(0,t.normalizeClass)(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:i=>e.onClick(1,s)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>s?((0,t.openBlock)(),(0,t.createElementBlock)("view",Tm,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<s?((0,t.openBlock)(),(0,t.createElementBlock)("view",Vm,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:e.voidColor})),{class:"fox-rate-item__icon fox-rate-item__icon--disabled",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):(0,t.createCommentVNode)("",!0)],12,Am))),128))],34)}var ll=oe(Nm,[["render",$m]]);function Em(e,n,a,l){return{props:{...pe,...ye,...ya},emits:["change","update:modelValue","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=e,h=Me(o,"modelValue",null,c),u=p=>{h.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const p={...ge(o,ya),disabled:s.value,readonly:i.value,value:h.value,"onUpdate:modelValue":u},b=[],w=(0,t.h)(l,p);b.push(w);const v={default:()=>b};if(r.slots.default){const f=r.slots.default();v.label=()=>f}const S=ge(o,ye,pe);return o.prop&&(S.prop=`${o.prop}_item`),S["content-class"]=m,(0,t.h)(a,S,v)}}}}var{componentName:Dm,create:Im,scope:qm}=ee("rate-item"),xm=Im(Em(Dm,qm,Ne,ll)),ba=xm,Pm=/scroll|auto|overlay/i,bi=window;function Mm(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Sa(e,n=bi){let a=e;for(;a&&a!==n&&Mm(a);){const{overflowY:l}=window.getComputedStyle(a);if(Pm.test(l))return a;a=a.parentNode}return n}function Si(e,n=bi){const a=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(a.value=Sa(e.value,n))}),a}var vi=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,zm={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},noMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1}};function Lm(e,n,a){return{props:{...zm},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["pullText","loadText","noMoreText"]),c=(0,t.ref)(),m=Si(c),h=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),u=(0,t.computed)(()=>({[e]:!0})),p=k=>k?k.offsetTop+p(k.offsetParent):0,b=()=>{let k=0,d=0,C="down";if(m.value==window){const N=vi();c.value&&(k=p(c.value)+c.value.offsetHeight-N-window.innerHeight),d=N}else{const{scrollHeight:N,clientHeight:g,scrollTop:y}=m.value;k=N-g-y,d=y}return h.beforeScrollTop>d?C="up":C="down",h.beforeScrollTop=d,o("scroll-change",d),k<=l.threshold&&C=="down"},w=()=>{Ye(()=>{if(!b()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),(0,t.nextTick)(()=>o("load-more"))})},v=()=>{m.value&&m.value.addEventListener("scroll",w,l.useCapture)},S=()=>{m.value&&m.value.removeEventListener("scroll",w,l.useCapture)};(0,t.onMounted)(()=>{v(),l.immediate&&w()}),(0,t.onUnmounted)(()=>{S()});const f=(0,t.ref)(!1);return(0,t.onActivated)(()=>{f.value&&(f.value=!1,v())}),(0,t.onDeactivated)(()=>{f.value=!0,S()}),(0,t.watch)(()=>l.modelValue,k=>{k||(h.isInfiniting=!1)}),()=>{const k=(0,t.h)("view",{class:"fox-infinite__container"},[r?.default?.()]),d=[];if(h.isInfiniting){let N=r?.loading?.()??null;if(!N){let y=r?.loadingIcon?.()??null;y||(y=(0,t.h)(a,{class:["fox-infinite__bottom-box__img"]}));const B=(0,t.h)("view",{class:"fox-infinite__bottom-box__text"},[i.loadText.value]);N=[y,B]}const g=(0,t.h)("view",{class:"fox-infinite__bottom-box"},N);d.push(g)}else if(!l.hasMore){let N=r?.finished?.()??null;N||(N=(0,t.h)("view",{class:"fox-infinite__bottom-tips"},[i.noMoreText.value]),d.push(N))}const C=(0,t.h)("view",{class:"fox-infinite__bottom"},d);return(0,t.h)("view",{class:u.value,ref:c},[k,C])}}}}var{componentName:Om,create:Rm,scope:Fm}=ee("infinite-loading"),Km=Rm(Lm(Om,Fm,ae.Loading)),al=Km,{componentName:Um,create:Hm}=ee("button"),jm=Hm({components:{Loading:ae.Loading},props:{color:String,shape:{type:String,default:"round"},plain:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"default"},size:{type:String,default:"normal"},block:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n,slots:a}){const{type:l,size:o,shape:r,disabled:s,loading:i,color:c,plain:m,block:h}=(0,t.toRefs)(e);return{handleClick:p=>{!i.value&&!s.value&&n("click",p)},classes:(0,t.computed)(()=>{const p=Um;return{[p]:!0,[`${p}--${l.value}`]:l.value,[`${p}--${o.value}`]:o.value,[`${p}--${r.value}`]:r.value,[`${p}--plain`]:m.value,[`${p}--block`]:h.value,[`${p}--disabled`]:s.value,[`${p}--loading`]:i.value}}),getStyle:(0,t.computed)(()=>{const p={};return c?.value&&(m.value?(p.color=c.value,p.background="#fff",c.value?.includes("gradient")||(p.borderColor=c.value)):(p.color="#fff",p.background=c.value)),p})}}}),Wm={class:"fox-button__wrap"};function Ym(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.getStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[(0,t.createElementVNode)("view",Wm,[e.loading?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-icon-loading"})):(0,t.createCommentVNode)("",!0),e.$slots.icon&&!e.loading?(0,t.renderSlot)(e.$slots,"icon",{key:1}):(0,t.createCommentVNode)("",!0),e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)({"fox-button__text":e.$slots.icon||e.loading})},[(0,t.renderSlot)(e.$slots,"default")],2)):(0,t.createCommentVNode)("",!0)])],6)}var it=oe(jm,[["render",Ym]]),Xm={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"}},Qm=(e,n,a)=>({props:{...Xm},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}=pt(),{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["placeholder"]),c=(0,t.reactive)({active:!1}),m=(0,t.computed)(()=>({background:l.background})),h=(0,t.computed)(()=>({background:l.inputBackground})),u=T=>{let $=T.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),r("update:modelValue",$,T),r("change",$,T)},p=(0,t.ref)({}),b=T=>{let $=T.target.value;c.active=!0,p.value=l.focusStyle,r("focus",$,T)},w=T=>{setTimeout(()=>{c.active=!1},0);let $=T.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),p.value={},r("blur",$,T)},v=T=>{r("update:modelValue","",T),r("change","",T),r("clear","")},S=(0,t.computed)(()=>String(l.modelValue).length>0),f=(0,t.computed)(()=>{const T={};return S.value||(T.display="none"),T}),k=T=>{l.autoblur&&y.value?.blur(),(typeof T.cancelable!="boolean"||T.cancelable)&&T.preventDefault(),r("search",l.modelValue)},d=T=>{r("keyup-input",T)},C=T=>{r("click-input",T)},N=T=>{r("click-left-icon",l.modelValue,T)},g=(0,t.computed)(()=>({textAlign:l.inputAlign})),y=(0,t.ref)(null);(0,t.onMounted)(()=>{l.autofocus&&y.value.focus()});const B=()=>{const T=[];if(o.leftin){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:N},[o.leftin()]);T.push(_)}const $=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:y,style:g.value,type:l.inputType,maxlengt:l.maxLength,placeholder:i.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:C,onInput:u,onFocus:b,onBlur:w,onkeyup:d}),V=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:k},[$]);T.push(V);const W=[];if(l.clearable){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:f.value,onClick:v},[(0,t.h)(o?.clear?.()??l.clearIcon??a)]);W.push(_)}if(o.rightin){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[o.rightin()]);W.push(_)}if(W.length>0){const _=(0,t.h)("view",{class:`${e}__input-inner-right`},W);T.push(_)}return(0,t.h)("view",{class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...p.value}},T)};return()=>{const T=[];if(l.label){const V=(0,t.h)("span",{class:`${e}__search-label`},[l.label]);T.push(V)}if(o.leftout){const V=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[o.leftout()]);T.push(V)}const $=B();if(T.push($),o.rightout){const V=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[o.rightout()]);T.push(V)}return(0,t.h)("view",{class:`${e}`,style:m.value},T)}}}),{componentName:Gm,create:Zm,scope:_m}=ee("searchbar"),Jm=Zm(Qm(Gm,_m,ae.CircleClose)),ol=Jm,rl={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default(){return[]}},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},textPosition:{type:[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},searchDelayTriggerClear:{type:Number,default:250},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function eh(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(il(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(wi(e,r)===a)return o}return-1}function il(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ki(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function wi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function th(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function nh(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var lh=class{proxy;constructor(e){this.proxy=e}async load(e,n,a,l,o,r,s){if(Array.isArray(n)){let c=n;typeof s=="function"&&(c=c.filter(s));let m=(a-1)*l,h=m+l;h>c.length&&(h=c.length);const u=c.slice(m,h);return{totalSize:c.length,page:u}}if(typeof n=="function")return await Reflect.apply(n,null,[a,l,o,r]);const i=_e(this.proxy,e);return i===null?(console.error(`${e} component not found api function`),{totalSize:0,page:[]}):(De(o)&&(0,t.isReactive)(o)&&(o=(0,t.toRaw)(o)),await Reflect.apply(i,null,[n,a,l,o]))}};function ah(){return new lh((0,t.getCurrentInstance)().proxy)}function oh(e,n,a,l,o,r,s,i,c,m,h){return{props:{...rl},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(u,{slots:p}){const{emitEvent:b}=pt(),{toLocaleRefs:w}=(0,he.useFoxI18n)(n),v=w(u,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),S=ah(),f=(0,t.ref)([]),k=(0,t.ref)(0),d=(0,t.ref)(""),C=(0,t.shallowRef)(null),N=(0,t.computed)(()=>{const P={};return u.params&&Object.assign(P,u.params),ue(d.value)||(P[`${u.searchKey}`]=d.value),C.value&&Object.assign(P,C.value),P});let g=!0;const y=async(P,j,x)=>{try{if(T.value===!1)return;let I=null;ue(d.value)||(I=Z=>{const le=il(u,Z);if(typeof le=="string"&&le.includes(d.value))return!0;const re=ki(u,Z);return!!(typeof re=="string"&&re.includes(d.value))});const Y=await S.load("actionsheet",P,j,x,N.value,g,I??void 0);g=!1,Array.isArray(Y)?(f.value=Y,k.value=1,T.value=!1):!Array.isArray(Y.page)||Y.page.length===0?(console.warn("[FoxUI] can not load more data"),T.value=!1):(Reflect.apply([].push,f.value,Y.page),k.value=Math.ceil(f.value.length/u.pageSize),(Y.totalSize&&f.value.length>=Y.totalSize||x<Y.page.length)&&(T.value=!1)),B.value=!1}catch(I){console.error("[FoxUI] ActionSheet load more data fail",I),T.value=!0,k.value=0,f.value=[]}setTimeout(()=>{b("loaded-data")},250)},B=(0,t.ref)(!1),T=(0,t.ref)(!0),$=async()=>{if(!u.source){B.value=!1;return}await y(u.source,k.value+1,u.pageSize)};let V=null;(0,t.watch)(d,(P,j)=>{V&&(clearTimeout(V),V=null),ue(P)&&!ue(j)&&(V=setTimeout(()=>{_()},u.searchDelayTriggerClear))});const W=()=>{T.value=!0,k.value=0,f.value=[],u.source&&$()},_=()=>{W()};(0,t.watch)([()=>u.source,()=>u.pageSize,()=>u.params],async([P,j,x])=>{u.source&&W()},{immediate:!0});const E=(0,t.computed)(()=>!u.multiple&&u.isAutoBackFill),D=(0,t.ref)([]);let L=null;const M=(0,t.ref)(u.visible);(0,t.watch)(()=>u.visible,P=>{M.value!==P&&(M.value=P),P?L=[...D.value]:L=null});const R=(P,j)=>{const x=[];return Array.isArray(P)||(P=[P]),P.forEach(I=>{let Y=eh(u,j,I,u.valueType);Y!==-1&&x.push(Y)}),Ie(x,D.value)?!1:(D.value=x,!0)};(0,t.watch)([()=>u.modelValue,()=>f.value],([P,j],[x,I])=>{R(P,j)&&q(K())},{deep:!0});const K=()=>{const P=[],j=[],x=[];for(let le of D.value){const re=f.value[le];j.push(re);const ce=il(u,re);if(x.push(ce),u.valueType==="item")P.push(re);else if(u.valueType==="text")P.push(ce);else{const ke=wi(u,re);P.push(ke)}}let I=null,Y=null,Z=null;return u.multiple?(I=P,Y=x,Z=j):(I=P[0]??null,Y=x[0]??null,Z=j[0]??null),{value:I,text:Y,item:Z}},q=P=>{b("update:modelValue",P.value),b("update:text",P.text),b("change",P.value,P.item,P.text)},G=()=>{L&&(D.value=L)},ne=P=>{const j=D.value.indexOf(P);u.multiple?j===-1?D.value.push(P):D.value.splice(j,1):j===-1?D.value=[P]:D.value=[],(E.value||!u.poppable&&!u.showFooter)&&z()},O=P=>{M.value=P,b("update:visible",P)},U=()=>{const P=()=>{G(),O(!1)},j=u.beforeMethod??u.beforeClose;if(typeof j=="function"){const x=j("close");ut(x)?x.then(I=>{I!==!1&&P()}).catch(()=>{P()}):x!==!1&&P()}else P()},z=()=>{const P=K(),j=()=>{q(P),O(!1)},x=u.beforeMethod??u.beforeClose;if(typeof x=="function"){const I=x("confirm",P.value,P.item,P.text);ut(I)?I.then(Y=>{Y!==!1&&j()}).catch(()=>{j()}):I!==!1&&j()}else j()},Q=()=>{let P=v.title.value??"";return p.title&&(P=p.title()),(0,t.h)("view",{class:["fox-actionsheet__header"]},[(0,t.h)("view",{class:["fox-actionsheet__header-title"]},[P]),(0,t.h)(c,{class:["fox-actionsheet__header-icon"],onClick:U})])},F=()=>{let P=null;return p.search?P=p.search():P=(0,t.h)(r,{onSearch:W,placeholder:v.seachPlaceholder.value,disabled:u.disabled,modelValue:d.value,"onUpdate:modelValue":j=>{d.value=j}},{leftin:()=>(0,t.h)(m)}),(0,t.h)("view",{class:["fox-actionsheet__searchbar"]},[P])},H=(P,j,x,I,Y)=>{if(p.optionLabel)return p.optionLabel({text:P,checked:j,disabled:x,subText:I,item:Y});const Z=[],le=(0,t.h)("view",{class:"fox-actionsheet__list-item-text"},[P]);if(Z.push(le),I){const re=(0,t.h)("view",{class:"fox-actionsheet__list-item-subtext"},[I]);Z.push(re)}return(0,t.h)("view",{class:["fox-actionsheet__list-item-label"]},Z)},J=(P,j,x,I)=>p.optionIcon?p.optionIcon({checked:P,disabled:j,iconSize:x,item:I}):P?p.checkedIcon?p.checkedIcon({disabled:j,item:I}):(0,t.h)(u.checkedIcon??i,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}):p.icon?p.icon({disabled:j,item:I}):(0,t.h)(u.icon??s,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}),X=()=>{const P=[];for(let j=0;j<f.value.length;j++){const x=f.value[j],I=il(u,x),Y=ki(u,x),Z=["fox-actionsheet__list-item"],le={};let re=th(u,x),ce=u.iconSize?se(u.iconSize):null;const ke=nh(u,x,j);ke&&(re=re||ke.disabled,ke.class&&Z.push(ke.class),ke.style&&Object.assign(le,ke.style)),re=!!(u.disabled||re);const Dt=D.value.includes(j);re&&Z.push("is-disabled"),Dt&&Z.push("is-checked");const ct={class:Z,style:le,key:`${j}`,onClick:()=>{re||ne(j)}};let tt=[];if(p.option)tt.push(p.option({item:x,checked:Dt,disabled:re}));else{const c2=H(I,Dt,re,Y,x);tt.push(c2);const u2=J(Dt,re,ce,x);tt.push(u2),u.textPosition==="right"&&tt.reverse()}const Uo=(0,t.h)("view",ct,tt);P.push(Uo)}return P},te=()=>{let P=[];if(p.buttons)P=p.buttons();else{const j=(0,t.h)(o,{type:"primary",block:"block",onClick:z,disabled:u.disabled},{default:()=>v.confirmText.value});P.push(j)}return(0,t.h)("view",{class:"fox-actionsheet__footer"},[P])};return Te({search:async(P=null,j=!0)=>{C.value=P&&(0,t.toRaw)(P),(0,t.triggerRef)(C),j&&(T.value=!0,k.value=0,f.value=[]),(0,t.nextTick)(()=>{$()})},clear:()=>{T.value=!0,k.value=0,f.value=[]},confirm:()=>{z()},cancel:()=>{U()}}),()=>{const P=[];if(u.showHeader){const re=Q();P.push(re)}if(u.showSearchbar){const re=F();P.push(re)}let j=null;if(p.content)j=p.content();else{const re=X();j=(0,t.h)(l,{hasMore:T.value,loadText:v.loadText.value,noMoreText:v.noMoreText.value,modelValue:B.value,"onUpdate:modelValue":ce=>{B.value=ce},onLoadMore:$},{default:()=>re})}const x={};u.optionsHeight&&(x.height=u.optionsHeight);const I={"fox-actionsheet__list":!0};u.poppable||(I["fox-actionsheet__list--inner"]=!0);const Y=(0,t.h)("view",{class:I,style:x},[j]);if(P.push(Y),u.showFooter&&!E.value){const re=te();P.push(re)}const Z=(0,t.h)("view",{class:"fox-actionsheet"},P);if(!u.poppable)return Z;const le=["fox-actionsheet__popup"];return u.popClass&&le.push(u.popClass),(0,t.h)(a,{popClass:le.join(" "),visible:M.value,closeable:!1,"onUpdate:visible":O,position:u.position,round:"round",onClickOverlay:U,closeOnClickOverlay:u.closeOnClickOverlay},{default:()=>Z})}}}}var{componentName:rh,create:ih,scope:sh}=ee("actionsheet-pane"),ch=ih(oh(rh,sh,be,al,it,ol,ae.CheckNormal,ae.Checked,ae.Close,ae.Search2,!1)),sl=ch,Ci={type:{type:String,default:"text"},placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function uh(e,n,a,l,o,r,s){return{props:{...pe,...ye,...Ci,...rl},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=Me(i,"modelValue",null,u),S=(0,t.ref)(""),f=(0,t.computed)(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const z={};return C.value&&(z["text-align"]=C.value),z}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=z=>{g.value=z},T=z=>{v.value=z,u("update:modelValue",z)},$=(z,Q)=>{u("change",z,Q)},V=z=>{let Q=z.target.value;w.value=!0,u("focus",Q,z)},W=z=>{setTimeout(()=>{w.value=!1},0);let Q=z.target.value;i.maxLength&&Q.length>Number(i.maxLength)&&(Q=Q.slice(0,Number(i.maxLength))),u("blur",Q,z)},_=z=>{S.value=z,u("update:text",z)},E=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),D=(0,t.computed)(()=>ve(i.unit)>0),L=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),M=(0,t.computed)(()=>({hidden:!L.value})),R=z=>{v.value="",u("update:modelValue","",z),u("change","",z),u("clear","")},K=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),q=(0,t.computed)(()=>ve(v.value)>0&&w.value),G=z=>{q.value?R(z):y()},ne=(0,t.computed)(()=>q.value&&K.value?l:o),O=(0,t.computed)(()=>({action:!0})),U=(0,t.ref)(null);return Te({search:z=>{U.value&&U.value.search(z)},clear:()=>{U.value&&U.value.clear},confirm:z=>{U.value&&U.value.confirm()},cancel:()=>{U.value&&U.value.cancel()}}),()=>{const z={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(z.disabled=!0);const Q=[],F=(0,t.h)("input",z);Q.push(F);const H=[],J=(0,t.h)(ne.value,{class:["action-icon"]}),X=(0,t.h)("view",{class:O.value,onClick:G},{default:()=>[J]});if(H.push(X),D.value){const Y=(0,t.h)("view",{class:M.value},[i.unit]);H.push(Y)}const te=(0,t.h)("view",{class:E.value},{default:()=>H});Q.push(te);const P={default:()=>Q};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 j=ge(i,rl);j.ref=U,j.class=i.actionsheetProps,j.disabled=m.value||h.value,j.visible=g.value,j["onUpdate:visible"]=B,j.modelValue=v.value,j["onUpdate:modelValue"]=T,j.text=S.value,j["onUpdate:text"]=_,j.onChange=$,j.poppable=!0,j["text-position"]=i.textPosition;const x=(0,t.h)(r,j,{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=()=>[x];const I={...Qe(i,Ci,rl)};return i.prop&&(I.prop=`${i.prop}_item`),(0,t.h)(a,I,P)}}}}var{componentName:dh,create:fh,scope:mh}=ee("actionsheet-item"),hh=fh(uh(dh,mh,Ne,ae.CircleClose,ae.ArrowRight,sl)),va=hh,ka={modelValue:{type:[Number,String],default:0},inputWidth:{type:[Number,String],default:""},buttonSize:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:9999},step:{type:[Number,String],default:1},decimalPlaces:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},{componentName:ph,create:gh}=ee("input-number"),yh=gh({components:{Minus:ae.Minus,Plus:ae.Plus},props:{...ka},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const a=(0,t.computed)(()=>{const b=ph;return{[b]:!0,[`${b}--disabled`]:e.disabled}}),l=b=>Number(b).toFixed(Number(e.decimalPlaces)),o=b=>{const w=b.target;n("update:modelValue",w.valueAsNumber,b)},r=(b,w)=>{let v=l(b);n("update:modelValue",v,w),n("change",v,w)},s=(b=Number(e.modelValue))=>b<Number(e.max)&&!e.disabled,i=(b=Number(e.modelValue))=>b>Number(e.min)&&!e.disabled,c=b=>{n("reduce",b),i()?r(Number(e.modelValue)-Number(e.step),b):n("overlimit",b,"reduce")},m=b=>{n("add",b),s()?r(Number(e.modelValue)+Number(e.step),b):n("overlimit",b,"add")},h=b=>{e.disabled||e.readonly||n("focus",b)},u=b=>{if(e.disabled||e.readonly)return;let w=b.target.valueAsNumber;w<Number(e.min)?w=Number(e.min):w>Number(e.max)&&(w=Number(e.max)),r(w,b),n("blur",b)},p=b=>{let w=Number(b);return w<Number(e.min)?w=Number(e.min):w>Number(e.max)&&(w=Number(e.max)),w};return(0,t.watch)(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const b=p(e.modelValue);b!==Number(e.modelValue)&&r(b,{})}),{classes:a,change:o,blur:u,focus:h,add:m,addAllow:s,reduce:c,reduceAllow:i,toPxString:de}}}),bh=["min","max","disabled","readonly","value"];function Sh(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Minus"),i=(0,t.resolveComponent)("Plus");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-input-number__icon fox-input-number__left",{"fox-input-number__icon--disabled":!e.reduceAllow()}]),onClick:n[0]||(n[0]=(...c)=>e.reduce&&e.reduce(...c))},[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[(0,t.createVNode)(s,{width:e.toPxString(e.buttonSize),height:e.toPxString(e.buttonSize)},null,8,["width","height"])])],2),(0,t.createElementVNode)("input",{type:"number",min:e.min,max:e.max,style:(0,t.normalizeStyle)({width:e.toPxString(e.inputWidth),height:e.toPxString(e.buttonSize)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[1]||(n[1]=(...c)=>e.change&&e.change(...c)),onBlur:n[2]||(n[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:n[3]||(n[3]=(...c)=>e.focus&&e.focus(...c))},null,44,bh),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:n[4]||(n[4]=(...c)=>e.add&&e.add(...c))},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[(0,t.createVNode)(i,{width:e.toPxString(e.buttonSize),height:e.toPxString(e.buttonSize)},null,8,["width","height"])])],2)],2)}var cl=oe(yh,[["render",Sh]]);function vh(e,n,a,l){return{props:{...pe,...ye,...ka},emits:["change","update:modelValue","setValue","add","reduce"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue","add","reduce"],validateResetEvents:["focus","setValue"],get validate(){return!s.value&&!i.value}},o.prop??r.attrs.name),m=(0,t.computed)(()=>{const w=[`${e}`];return o.textAlign==="left"?w.push("is-left"):o.textAlign==="center"?w.push("is-center"):o.textAlign==="right"&&w.push("is-right"),w.join(" ")}),h=Me(o,"modelValue",null,c),u=w=>{h.value=w,c("update:modelValue",w,{}),c("change",w,{})},p=w=>{c("add",w)},b=w=>{c("reduce",w)};return()=>{const w={"left-icon":r.slots["left-icon"],"right-icon":r.slots["right-icon"]},v=ge(o,ka),S=(0,t.h)(l,{...r.attrs,...v,disabled:s.value,readonly:i.value,value:h.value,"onUpdate:modelValue":u,onAdd:p,onReduce:b},w),f=[];f.push(S);const k={default:()=>f};k.label=r.slots.default,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const d={...ge(o,ye,pe)};return o.prop&&(d.prop=`${o.prop}_item`),d["content-class"]=m.value,(0,t.h)(a,d,k)}}}}var{componentName:kh,create:wh,scope:Ch}=ee("input-number-item"),Nh=wh(vh(kh,Ch,Ne,cl)),wa=Nh;function Ah(e,n,a,l){return{props:{...ta,...na,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}},emits:["update:modelValue","change"],setup(o,{emit:r,slots:s}){const i=e,c=(0,t.computed)(()=>{const v=[`${i}`];return o.direction==="vertical"?v.push("vertical-tabbar"):v.push("horizontal-tabbar"),v}),m=(0,t.computed)(()=>{const v={};if(o.width){const S=de(o.width);S&&(v.width=S)}if(o.height){const S=de(o.height);S&&(v.height=S)}return v}),h=(0,t.computed)(()=>[`${i}__bar`]),u=(0,t.computed)(()=>[`${i}__container`]),p=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,v=>{p.value!==v&&(p.value=v)});const b=v=>{r("change",v)},w=v=>{p.value!==v&&(p.value=v,r("update:modelValue",v))};return()=>{const{getChildren:v}=Fl(s.default),S=v(),f=[];if(Array.isArray(o.data))f.push(...o.data);else for(let B=0;B<S.length;B++){const T=S[B].props??{},$={text:T.label??"",value:T["pane-key"]??T.paneKey??""};f.push($)}const k={};for(let B in s)B!=="default"&&(k[B]=s[B]);const d=ge(o,ta);Object.assign(d,{data:f,class:h.value,modelValue:p.value,direction:o.direction,onChange:b,"onUpdate:modelValue":w});const C=(0,t.h)(a,d,k),N={default:()=>S},g=ge(o,na);Object.assign(g,{class:u.value,modelValue:p.value,onChange:b,"onUpdate:modelValue":w});const y=(0,t.h)(l,g,N);return(0,t.h)("view",{class:c.value,style:m.value},[C,y])}}}}var{create:Bh,componentName:Th,scope:Vh}=ee("tabs-frame"),$h=Bh(Ah(Th,Vh,Ht,jt)),Ca=$h,Eh={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 Dh(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Ni(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Ai(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Ih(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Na(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function Bi(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function Ti(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Aa(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var qh=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await Reflect.apply(n,null,[a]);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await Reflect.apply(l,null,[n,a]))}};function xh(){return new qh((0,t.getCurrentInstance)().proxy)}function Ph(e,n,a,l){return{props:{...Eh},emits:["update:modelValue","change","loaded-data","click"],setup(o,{slots:r,emit:s}){const i=e,c=xh(),m=(0,t.ref)([]),h=(0,t.computed)(()=>m.value.filter(O=>Ih(o,O)!==!1)),u=(0,t.ref)(-1),p=()=>{const O=o.modelValue,U=h.value.findIndex(z=>Ni(o,z)===O);u.value!==U&&(u.value=U,o.scroll&&G(U,!1))};(0,t.watch)([()=>o.modelValue,h],()=>{p()});const b=O=>u.value===O,w=O=>{if(O<0&&O>=h.value.length)return!1;const U=h.value[O],z=(Aa(o,U,O)??{}).status??Na(o,U);return b(O)||z},v=(0,t.computed)(()=>{const O={[i]:!0};return o.mode?O[`is-${o.mode}`]=!0:o.direction&&(O[`is-${o.direction}`]=!0),o.scroll&&(O["is-scroll"]=!0),O}),S=(0,t.computed)(()=>({})),f=(O,U,z,Q,F)=>{const H={[`${i}__step`]:!0};return F&&(H[`${F}`]=!0),H[`${k.value}`]=!0,Q&&(H["is-doit"]=!0),O===u.value?H["is-active"]=!0:U==="done"?H["is-done"]=!0:U==="error"?H["is-error"]=!0:U==="half"?H["is-half"]=!0:z?H["is-disabled"]=!0:H["is-normal"]=!0,H},k=(0,t.computed)(()=>{let O=o.align;if(!O){if(o.mode==="simple")return"start";o.direction==="vertical"?O="start":O="center"}return O}),d=(O,U={})=>{const z={...U};if(k.value==="start"&&O===h.value.length-1)z.flex="0 0 auto";else if(o.step){const Q=typeof o.step=="number"||dn(o.step)?de(o.step):o.step;o.direction==="vertical"?z.height=Q:z.width=Q}else z.flex="1 1 100%";return z},C=(O,U)=>{let z={};if(U<h.value.length-1){const Q=U+1;w(U)&&w(Q)?o.direction==="vertical"?z.height="100%":z.width="100%":z.opacity="0"}return z},N=O=>h.value.length-1===O,g=(O,U)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&U>u.value||u.value===U)return;const z=u.value,Q=U;u.value=U,o.scroll&&G(U,!1);const F=Ni(o,O);s("update:modelValue",F),s("change",F,{fromIndex:z,currentIndex:Q,item:O,items:h.value,clickNavigatePolicy:o.clickNavigatePolicy})},y=(0,t.ref)(!0),B=async(O,U)=>{try{const z=await c.load("stesbar",O,U);Array.isArray(z)&&(m.value=z),y.value=!1}catch(z){console.error("[FoxUI] Load StepsBar Data Fail",z),m.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>o.data,()=>o.params],async([O,U])=>{O&&B(O,U)},{immediate:!0});const T=(O,U,z,Q,F,H)=>{const J=[];let X=null;if(!H)if(r.icon)X=r.icon({item:O,index:U,status:Q});else if(Q==="done"){const te={};o.iconSize&&(te.width=o.iconSize,te.height=o.iconSize),X=(0,t.h)(o.icon??a,te)}else X=(0,t.h)("span",{},[z??`${U+1}`]);return X&&J.push(X),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:O,index:U}),!F&&g(O,U)}},J)},$=(O,U,z)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:C(O,U)})]),V=()=>{let O=null;if(r.markIcon)O=r.markIcon();else{const U={};o.iconSize&&(U.width=o.markIconSize,U.height=o.markIconSize),O=(0,t.h)(o.markIcon??l,U)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[O])},W=(O,U,z,Q,F,H)=>{const J=[];if(!N(U)){const te=$(O,U,Q);J.push(te)}const X=T(O,U,z,Q,F,H);return J.push(X),(0,t.h)("view",{class:"fox-steps-bar__head"},J)},_=(O,U,z,Q)=>{let F=null;return r.main?F=r.main({item:O,index:U,status:z}):F=Dh(o,O),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:O,index:U}),!Q&&g(O,U)}},[F])},E=(O,U,z)=>{let Q=null;return r.sub?(Q=r.sub({item:O,index:U,status:z}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[Q])):null},D=(O,U)=>{const z=Aa(o,O,U)??{},Q=z.status??Na(o,O);let F=Ai(o,O);z.disabled===!0&&(F=!0),o.disabled===!0&&(F=!0);let H=Bi(o,O);z.doit===!0&&(H=!0);const J=z.label??Ti(o,O),X=[],te=T(O,U,J,Q,F,H);te&&X.push(te);const P=_(O,U,Q,F);if(P&&X.push(P),!N(U)){const Y=$(O,U,Q);Y&&X.push(Y)}const j=(0,t.h)("view",{class:"fox-steps-bar__head"},X),x=z.class,I=z.style??{};return(0,t.h)("view",{ref:q(U),class:f(U,Q,F,H,x),style:d(U,I)},[j])},L=(O,U)=>{const z=Aa(o,O,U)??{},Q=z.status??Na(o,O);let F=Ai(o,O);z.disabled===!0&&(F=!0),o.disabled===!0&&(F=!0);let H=Bi(o,O);z.doit===!0&&(H=!0);const J=z.label??Ti(o,O),X=[],te=o.layout;for(let x of te)if(x==="head"){const I=W(O,U,J,Q,F,H);X.push(I)}else if(x==="main"){const I=_(O,U,Q,F);X.push(I)}else if(x==="sub"){const I=E(O,U,Q);X.push(I)}else if(x==="mark"){const I=V();X.push(I)}const P=z.class,j=z.style??{};return(0,t.h)("view",{ref:q(U),class:f(U,Q,F,H,P),style:d(U,j)},X)},M=(0,t.ref)(),R=(0,t.ref)([]),K=(O,U)=>{R.value[U]=O},q=O=>U=>{K(U,O)},G=(O,U)=>{const z=M.value,Q=R.value;if(!z||!Q||!Q[O])return;const F=Q[O];let H=0;o.direction==="vertical"?H=F.offsetTop-(z.offsetHeight-F.offsetHeight)/2:H=F.offsetLeft-(z.offsetWidth-F.offsetWidth)/2,ne(z,H,U?0:.3,o.direction)},ne=(O,U,z,Q)=>{let F=0;const H=Q==="horizontal"?O.scrollLeft:O.scrollTop,J=z===0?1:Math.round(z*1e3/16);function X(){Q==="horizontal"?O.scrollLeft+=(U-H)/J:O.scrollTop+=(U-H)/J,++F<J&&He(X)}X()};return()=>{let O=[];if(o.mode==="simple")for(let z=0;z<h.value.length;z++){const Q=h.value[z],F=D(Q,z);O.push(F)}else for(let z=0;z<h.value.length;z++){const Q=h.value[z],F=L(Q,z);O.push(F)}const U={ref:M,class:v.value,style:S.value};return O.length===0&&typeof r.default=="function"&&(O=r.default()),(0,t.h)("view",U,O)}}}}var{componentName:Mh,create:zh,scope:Lh}=ee("steps-bar"),Oh=zh(Ph(Mh,Lh,ae.Checklist,ae.ArrowRight)),Ba=Oh;function Rh(e){e.stopPropagation()}var Fh=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=Rn()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=Fn(),a=(l,o,r,s)=>{this.updateMove({x:l,y:o})};this.touchstart=l=>{this.moving||(n.start(l),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=l=>{this.moving&&(n.move(l),Rh(l),a(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{a(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(l=>{this.touchstart&&l.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 Kh(e,n){return new Fh(e,n)}var Uh={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]}},Hh=(e,n,a,l=!1)=>({props:{...Uh},emits:["click"],setup(o,{slots:r,emit:s}){let i=-1,c=-1;const m=(0,t.reactive)({top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:0,height:0}),h=(0,t.computed)(()=>{const N=[`${e}`];return o.customClass&&N.push(o.customClass),N}),u=N=>typeof N=="string"&&!dn(N)?N:`${N}px`,p=(0,t.computed)(()=>{const N={};return ue(m.top)||(N.top=u(m.top)),ue(m.right)||(N.right=u(m.right)),ue(m.bottom)||(N.bottom=u(m.bottom)),ue(m.left)||(N.left=u(m.left)),ue(o.width)||(N.width=u(o.width)),ue(o.height)||(N.height=u(o.height)),ue(o.color)||(N.color=o.color),ue(o.background)||(N.background=o.background),ue(o.borderRadius)||(N["border-radius"]=o.borderRadius),ue(o.zIndex)||(N["z-index"]=o.zIndex),N}),b=(0,t.computed)(()=>({[`${e}__icon`]:!0})),w=()=>{s("click")},v=(0,t.ref)(null),S=()=>{m.top=null,m.right=null,m.bottom=null,m.left=null},f={x:0,y:0},C=Kh(N=>{if(!v.value)return;const g=v.value;S(),m.left=g.offsetLeft,m.top=g.offsetTop,g.style.left=`${m.left}px`,g.style.top=`${m.top}px`,g.style.right=null,g.style.bottom=null,f.x=m.left,f.y=m.top,m.width=g.offsetWidth,m.height=g.offsetHeight,i=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight},N=>{if(!v.value)return;const g=v.value;S();let y=f.x+N.x;y<0&&(y=0),y>i-m.width&&(y=i-m.width);let B=f.y+N.y;B<0&&(B=0),B>c-m.height&&(B=c-m.height),m.left=y,m.top=B,g.style.left=`${y}px`,g.style.top=`${B}px`});return(0,t.onMounted)(()=>{if(o.draggable&&v.value){const N=[v.value];C.open(N)}}),(0,t.onBeforeUnmount)(()=>{o.draggable&&v.value&&C.close()}),()=>{let N=[];const g=typeof r.default=="function"?r.default():[];if(g&&g.length>0)N=g;else{const y=(0,t.h)(a,{class:b.value});N.push(y)}return(0,t.h)("view",{ref:y=>{v.value=y},class:h.value,style:p.value,onClick:w},N)}}}),{componentName:jh,create:Wh,scope:Yh}=ee("floating-button"),Xh=Wh(Hh(jh,Yh,ae.Uploader,!1)),Ta=Xh,Qh={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 Gh(e,n,a){return{props:{...Qh},emits:["click","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["collapseText","expandText"]),c=(0,t.computed)(()=>{const w={[`${e}`]:!0};return l.disabled?w[`${e}--disabled`]=!0:w[`${e}--${l.type}`]=!0,w}),m=Me(l,"modelValue"),h=(0,t.computed)(()=>m.value?i.expandText.value??"":i.collapseText.value??""),u=(0,t.computed)(()=>({[`${e}__text`]:!0})),p=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!m.value,"is-collapse":m.value})),b=()=>{o("update:modelValue",!m.value)};return()=>{const w=[];if(h.value){const f=(0,t.h)("span",{class:u.value},[h.value]);w.push(f)}const v={class:p.value},S=(r.icon&&r.icon())??(l.icon&&(0,t.h)(l.icon))??(0,t.h)(a);if(S){const f=(0,t.h)("view",v,[S]);w.push(f)}return l.textPosition==="right"&&w.reverse(),(0,t.h)("view",{class:c.value,onClick:b},w)}}}}var{componentName:Zh,create:_h,scope:Jh}=ee("more-button"),ep=_h(Gh(Zh,Jh,ae.RectUp)),Va=ep,tp={visible:{type:[Boolean],default:!0},width:{type:[String,Number]},height:{type:[String,Number]},type:{type:[String],required:!1,default:"info"},icon:{type:[String,Object],required:!1},closeIcon:{type:[String,Object],required:!1},showClose:{type:[Boolean],required:!1},title:{type:[String],required:!1},message:{type:[Array,String,Object],required:!1},showConfirmButton:{type:[Boolean],required:!1},confirmButtonText:{type:[String],required:!1},confirmText:{type:[String],required:!1},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},showCancelButton:{type:[Boolean],required:!1},cancelButtonText:{type:[String],required:!1},cancelText:{type:[String],required:!1},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},popClass:{type:[String]},position:{type:[String],default:"center"},closeOnClickOverlay:{type:[Boolean],required:!1,default:!0},unmount:{type:[Function],required:!1},callback:{type:[Function],required:!1}},np=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function lp(e,n,a){return{props:{...tp},emits:["update:visible"],setup(l,{attrs:o,slots:r,emit:s}){const{toLocaleRefs:i}=(0,he.useFoxI18n)(n),c=i(l,["confirmText","cancelText"]),m=e,h=(0,t.ref)(l.visible),u=N=>{h.value=N,s("update:visible",N)};(0,t.watch)(()=>l.visible,N=>{h.value!==N&&(h.value=N)});const p=N=>{if(typeof l.unmount=="function")try{l.unmount()}catch(g){console.error(g)}if(typeof l.callback=="function")try{l.callback(N)}catch(g){console.error(g)}},b=()=>{p("confirm")},w=()=>{p("cancel")},v=()=>{l.closeOnClickOverlay!==!1&&p("close")},S=(N,g)=>np(N)?(g.src=N,(0,t.h)("img",g)):typeof N=="string"?(Array.isArray(g.class)?g.class.push(N):g.class&&typeof g.class=="object"?g[`${N}`]=!0:typeof g.class=="string"?g.class=`${g.class}, ${N}`:g.class=N,(0,t.h)(l.tag,g)):(0,t.h)(N,g),f=()=>{const N=[];if(l.icon){const g={class:[`${m}__header-icon`]},y=S(l.icon,g);N.push(y)}if(l.title){const g=(0,t.h)("view",{class:`${m}__header-title`},[l.title]);N.push(g)}if(l.showClose&&l.closeIcon){const g={class:[`${m}__header-close-icon`],onClick:v},y=S(l.closeIcon,g);N.push(y)}return(0,t.h)("view",{class:[`${m}__header`]},N)},k=(N,g)=>{const y=[];if(g){const B=(0,t.h)("view",{class:`${m}__group-title`},[g]);y.push(B)}if(N){const B=[];Array.isArray(N)||(N=[N]);for(let T of N){const $=(0,t.h)("view",{class:`${m}__group-row`,innerHTML:T});B.push($)}if(B.length>0){const T=(0,t.h)("view",{class:`${m}__group-rows`},B);y.push(T)}}return y.length===0?null:(0,t.h)("view",{class:`${m}__group`},y)},d=()=>{const N=[];if(typeof l.message=="string")N.push(l.message);else if(Array.isArray(l.message))for(let g of l.message)if(typeof g=="string"){const y=k(g);N.push(y)}else{const y=k(g.content,g.title);N.push(y)}else if(typeof l.message=="function"){const g=l.message();N.push(g)}else{const g=l.message;N.push(g)}return(0,t.h)("view",{class:`${m}__body`},N)},C=()=>{const N=[];if(l.showCancelButton){const g={class:[`${m}__footer-button`],style:{},onClick:w};l.cancelButtonClass&&g.class.push(l.cancelButtonClass),l.cancleButtonStyle&&typeof l.cancleButtonStyle=="object"&&Object.assign(g.style,l.cancleButtonStyle);const y=(0,t.h)("button",g,[l.cancelButtonText??c.cancelText.value]);N.push(y)}if(l.showConfirmButton){const g={class:[`${m}__footer-button`],style:{},onClick:b};l.confirmButtonClass&&g.class.push(l.confirmButtonClass),l.confirmButtonStyle&&typeof l.confirmButtonStyle=="object"&&Object.assign(g.style,l.confirmButtonStyle);const y=(0,t.h)("button",g,[l.confirmButtonText??c.confirmText.value]);N.push(y)}return N.length===0?null:(0,t.h)("view",{class:`${m}__footer`},N)};return()=>{const N=[],g=f();g&&N.push(g);const y=d();y&&N.push(y);const B=C();B&&N.push(B);const T=(0,t.h)("view",{class:{[`${m}`]:!0,[`${m}--${l.type||"info"}`]:!0}},N),$=[`${m}__popup`];l.popClass&&$.push(l.popClass);const V={};return l.width&&(V.width=typeof l.width=="number"?`${l.width}px`:l.width),l.height&&(V.height=typeof l.height=="number"?`${l.height}px`:l.height),(0,t.h)(a,{popClass:$.join(" "),style:V,visible:h.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":u,position:l.position,round:"round",onClickOverlay:v,closeOnClickOverlay:l.closeOnClickOverlay},{default:()=>T})}}}}var{componentName:ap,create:op,scope:rp}=ee("messagebox"),ip=op(lp(ap,rp,be)),sp=ip,cp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M82.5121%201.93968L81.7498%206.07825C81.6498%206.6214%2081.1284%206.98064%2080.5853%206.8806C80.4326%206.85251%2080.2886%206.78925%2080.1646%206.69578L77.1586%204.43061C76.7175%204.09823%2076.6294%203.47123%2076.9618%203.03016C77.0552%202.90617%2077.1762%202.80562%2077.3153%202.73655L81.0834%200.863097C81.5779%200.617235%2082.1782%200.818843%2082.4241%201.31339C82.5204%201.50712%2082.5512%201.72688%2082.5121%201.93968Z'%20fill='%23FFD1C9'%20%3e%3c/path%3e%3cpath%20d='M3.08218%20102.2L6.53454%2094.2358C6.75419%2093.7291%207.34251%2093.4968%207.84925%2093.7164C7.99216%2093.7778%208.11815%2093.872%208.21791%2093.9909L13.2085%2099.9384C13.5635%20100.361%2013.5081%20100.992%2013.0852%20101.347C12.9665%20101.447%2012.8261%20101.518%2012.675%20101.554L4.23203%20103.571C3.69484%20103.699%203.15538%20103.367%203.02699%20102.83C2.97674%20102.62%202.99607%20102.399%203.08218%20102.2Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23FF5959'%20%3e%3c/circle%3e%3cpath%20d='M59.935%2049.6213C61.3827%2051.069%2061.3827%2053.4162%2059.935%2054.864L45.935%2068.864C44.4873%2070.3117%2042.1401%2070.3117%2040.6924%2068.864C39.2447%2067.4162%2039.2447%2065.069%2040.6924%2063.6213L54.6924%2049.6213C56.1401%2048.1736%2058.4873%2048.1736%2059.935%2049.6213Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3cpath%20d='M40.6924%2049.6213C39.2447%2051.069%2039.2447%2053.4162%2040.6924%2054.864L54.6924%2068.864C56.1401%2070.3117%2058.4873%2070.3117%2059.935%2068.864C61.3827%2067.4162%2061.3827%2065.069%2059.935%2063.6213L45.935%2049.6213C44.4873%2048.1736%2042.1401%2048.1736%2040.6924%2049.6213Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%23FFD1C9'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L102%20110L102%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",up="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cpath%20d='M8%2087L8%2095C8%2095.5523%207.55228%2096%207%2096C6.44772%2096%206%2095.5523%206%2095L6%2087L2%2087C1.44772%2087%201%2086.5523%201%2086C1%2085.4477%201.44772%2085%202%2085L6%2085L6%2082C6%2081.4477%206.44772%2081%207%2081C7.55228%2081%208%2081.4477%208%2082L8%2085L12%2085C12.5523%2085%2013%2085.4477%2013%2086C13%2086.5523%2012.5523%2087%2012%2087L8%2087Z'%20fill-rule='evenodd'%20fill='%2396CEFF'%20%3e%3c/path%3e%3cpath%20d='M89%205L89%2010C89%2010.5523%2088.5523%2011%2088%2011C87.4477%2011%2087%2010.5523%2087%2010L87%205L85%205C84.4477%205%2084%204.55228%2084%204C84%203.44772%2084.4477%203%2085%203L87%203L87%201C87%200.447715%2087.4477%200%2088%200C88.5523%200%2089%200.447715%2089%201L89%203L91%203C91.5523%203%2092%203.44772%2092%204C92%204.55228%2091.5523%205%2091%205L89%205Z'%20fill-rule='evenodd'%20fill='%23BDE2FF'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23237FFA'%20%3e%3c/circle%3e%3crect%20x='47.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%2396CEFF'%20%3e%3c/rect%3e%3crect%20x='47.5'%20y='66'%20width='7'%20height='7'%20rx='4'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3c/svg%3e",dp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='105'%20viewBox='0%200%20102%20105'%20fill='none'%3e%3cpath%20d='M7%2076C7.55228%2076%208%2076.4477%208%2077L7.999%2079.999L12%2080C12.5523%2080%2013%2080.4477%2013%2081C13%2081.5523%2012.5523%2082%2012%2082L7.999%2081.999L8%2090C8%2090.5523%207.55228%2091%207%2091C6.44772%2091%206%2090.5523%206%2090L5.999%2081.999L2%2082C1.44772%2082%201%2081.5523%201%2081C1%2080.4477%201.44772%2080%202%2080L5.999%2079.999L6%2077C6%2076.4477%206.44772%2076%207%2076Z'%20fill='%2338D677'%20%3e%3c/path%3e%3cpath%20d='M75%201.72421e-32C75.5523%20-1.01453e-16%2076%200.447715%2076%201L76%202.999L78%203C78.5523%203%2079%203.44772%2079%204C79%204.55228%2078.5523%205%2078%205L76%204.999L76%2010C76%2010.5523%2075.5523%2011%2075%2011C74.4477%2011%2074%2010.5523%2074%2010L74%204.999L72%205C71.4477%205%2071%204.55228%2071%204C71%203.44772%2071.4477%203%2072%203L74%202.999L74%201C74%200.447715%2074.4477%201.01453e-16%2075%201.72421e-32Z'%20fill='%238BF0AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='54'%20r='28'%20fill='%2338D677'%20%3e%3c/circle%3e%3cpath%20d='M36.8787%2051.8786C38.3265%2050.4309%2040.6736%2050.4309%2042.1213%2051.8786L50.1214%2059.8786C51.5691%2061.3263%2051.5691%2063.6735%2050.1214%2065.1212C48.6737%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212L36.8787%2057.1212C35.431%2055.6735%2035.431%2053.3263%2036.8787%2051.8786Z'%20fill='%23B3F2C6'%20%3e%3c/path%3e%3cpath%20d='M64.1214%2045.8786C65.5691%2047.3263%2065.5691%2049.6735%2064.1214%2051.1212L50.1213%2065.1212C48.6736%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212C43.431%2063.6735%2043.431%2061.3263%2044.8787%2059.8786L58.8788%2045.8786C60.3265%2044.4309%2062.6737%2044.4309%2064.1214%2045.8786Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='14.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='101.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='25'%20r='7'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3c/svg%3e",fp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='101'%20height='110'%20viewBox='0%200%20101%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M81.512%201.93968L80.7498%206.07825C80.6498%206.6214%2080.1284%206.98064%2079.5852%206.8806C79.4326%206.85251%2079.2886%206.78925%2079.1645%206.69578L76.1585%204.43061C75.7175%204.09823%2075.6293%203.47123%2075.9617%203.03016C76.0552%202.90617%2076.1761%202.80562%2076.3152%202.73655L80.0833%200.863097C80.5779%200.617235%2081.1781%200.818843%2081.424%201.31339C81.5203%201.50712%2081.5512%201.72688%2081.512%201.93968Z'%20fill='%23FEFAE0'%20%3e%3c/path%3e%3cpath%20d='M2.08224%20102.2L5.5346%2094.2358C5.75425%2093.7291%206.34257%2093.4968%206.84931%2093.7164C6.99222%2093.7778%207.11822%2093.872%207.21798%2093.9909L12.2086%2099.9384C12.5636%20100.361%2012.5082%20100.992%2012.0853%20101.347C11.9666%20101.447%2011.8261%20101.518%2011.675%20101.554L3.23209%20103.571C2.6949%20103.699%202.15544%20103.367%202.02705%20102.83C1.97681%20102.62%201.99613%20102.399%202.08224%20102.2Z'%20fill='%23FEE789'%20%3e%3c/path%3e%3ccircle%20cx='50'%20cy='59'%20r='28'%20fill='%23FAB007'%20%3e%3c/circle%3e%3crect%20x='46.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%23FEE789'%20%3e%3c/rect%3e%3crect%20x='46.5'%20y='66'%20width='7'%20height='7'%20rx='3.5'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='84.5'%20cy='106.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='94'%20cy='30'%20r='7'%20fill='%23FEE789'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L101%20110L101%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",mp=new xn,hp={showCancelButton:!0,cancelText:"取消",showConfirmButton:!0,confirmText:"确认"},pp=e=>{let n=document.body,a=e.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):a&&(n=e.teleport));const l=document.createElement("view"),o=`messagebox-${mp.get()}`;l.id=o,l.classList.add("fox-messagebox__root"),e.zIndex&&(l.style.zIndex=`${e.zIndex}`),e.unmount=()=>{const s=document.querySelector(`#${o}`);s&&s.parentNode?.removeChild(s)};const r=(0,t.createVNode)(sp,e);n.appendChild(l),(0,t.render)(r,l)},st={show:(e,n,a,l)=>{const o={...hp};n&&!Array.isArray(n)&&typeof n=="object"?Object.assign(o,n):(n&&(o.message=n),a&&typeof a=="object"?Object.assign(o,a):(typeof a=="string"&&(o.title=a),l&&typeof l=="object"?Object.assign(o,l):typeof l=="string"&&(o.type=l)));const r=o.type??"info";return o.icon||(r==="success"?o.icon=dp:r==="warning"?o.icon=fp:r==="error"?o.icon=cp:o.icon=up),e==="alert"?(o.showCancelButton=!1,o.showConfirmButton=!0):e==="confirm"&&(o.showCancelButton=!0,o.showConfirmButton=!0),o.showClose&&!o.closeIcon&&(o.closeIcon=ae.Close),new Promise((s,i)=>{const c=o.callback;o.callback=m=>{if(typeof c=="function")try{c(m)}catch(h){console.error(h)}s({action:m})},pp(o)})},alert:(e,n,a)=>st.show("alert",e,n,a),confirm:(e,n,a)=>st.show("confirm",e,n,a),install(e){e.config.globalProperties.$alert=st.alert,e.config.globalProperties.$confirm=st.confirm}},gp=(e,n,a)=>{n=n??{bubbles:!1,cancelable:!1,detail:void 0};const l=document.createEvent("Events");let o=!0,r=!0;for(let s in n)s==="bubbles"?o=!!n[s]:s==="cancelable"?r=!!n[s]:l[s]=n[s];l.initEvent(e,o,r),(a??document).dispatchEvent(l)},yp=new xn,bp=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0),Sp=e=>`${e}-${yp.get()}`,vp=Symbol.for("InnerPageScopeKey"),kp=Symbol.for("PageWrapperKey"),wp="FoxLeave",Cp="FoxLeaveEnd",Np={width:{type:[String,Number]},height:{type:[String,Number]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},visible:{type:Boolean,default:!0},showDelay:{type:Number,default:10},showClose:{type:Boolean,default:!0},closeIcon:{type:Object},showHeader:{type:Boolean,default:!1},popClass:{type:String},popStyle:{type:Object},position:{type:String,default:"center"},mode:{type:String}};function Ap(e,n,a,l){return{props:{...et,...Np},emits:["update:visible"],setup(o,{attrs:r,slots:s,emit:i}){(0,t.provide)(vp,!0);const c={};(0,t.provide)(kp,c);const m=g=>(typeof c.beforeClose=="function"&&c.beforeClose(),!1),h=()=>{m("close")},u=e,p=g=>{b.value=g,i("update:visible",g)},b=(0,t.ref)(!1),w=(g,y)=>bp(g)?(y.src=g,(0,t.h)("img",y)):typeof g=="string"?(Array.isArray(y.class)?y.class.push(g):y.class&&typeof y.class=="object"?y[`${g}`]=!0:typeof y.class=="string"?y.class=`${y.class}, ${g}`:y.class=g,(0,t.h)(o.tag,y)):(0,t.h)(g,y),v=()=>{if(!o.showHeader)return null;const g=[];if(s.header){const y=s.header();g.push(y)}else if(o.title){const y=(0,t.h)("view",{class:`${u}__header-title`},[o.title]);g.push(y)}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},S=()=>{if(!o.showClose)return null;const g={class:[`${u}__close-icon`],onClick:h};return w(o.closeIcon??l,g)};let f=null;const k=g=>{gp(Cp,{},f)},d=Sp(e),C=()=>{p(!0)},N=()=>{if(!f)return;const g=f.querySelector(".fox-overlay");g&&(g.classList.add("overlay-fade-leave-active"),g.classList.add("overlay-fade-leave-to"));const y=f.querySelector(".fox-popup");y&&(y.classList.add(`fox-popup-slide-${o.position}-leave-active`),y.classList.add(`fox-popup-slide-${o.position}-leave-to`),y.addEventListener("animationend",k,{once:!0}),y.addEventListener("transitionend",k,{once:!0})),document.body.classList.remove("fox-overflow-hidden")};return(0,t.onMounted)(()=>{f=document.querySelector(`.${d}`),f?.addEventListener(wp,N,{once:!0}),C()}),()=>{const g=[],y=v();y&&g.push(y);const B=S();B&&g.push(B);const T=s.default?s.default():[];Reflect.apply([].push,g,T);const $={[`${u}`]:!0};o.mode&&($[`${u}--${o.mode}`]=!0);const V=(0,t.h)("view",{class:$},g),W=[`${u}__popup`,d];o.popClass&&W.push(o.popClass),o.position&&W.push(`${u}__popup--${o.position}`);const _={};o.width&&(_.width=typeof o.width=="number"?`${o.width}px`:o.width),o.height&&(_.height=typeof o.height=="number"?`${o.height}px`:o.height);const E=(0,t.h)(a,{...ge(o,et),popClass:W.join(" "),style:_,visible:b.value,teleportDisable:!0,closeable:!1,position:o.position,closeOnClickOverlay:o.closeOnClickOverlay,onClickOverlay:h,"onUpdate:visible":p},{default:()=>V});return(0,t.h)("div",{class:[`${u}__root`,d]},[E])}}}}var{componentName:Bp,create:Tp,scope:Vp}=ee("popup-wrapper"),$p=Tp(Ap(Bp,Vp,be,ae.Close)),$a=$p,Ep={visible:{type:Boolean},zIndex:{type:Number,default:1},popClass:{type:String},popStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}};function Dp(e,n,a,l){return{props:{...Ep},emits:["update:visible"],setup(o,{emit:r,slots:s}){const i=c=>{r("update:visible",c)};return()=>{const c=[`${e}__popup`];o.popClass&&c.push(o.popClass);const m=(0,t.h)(a,{popClass:c,style:o.popStyle??{},position:"top",zIndex:o.zIndex,closeOnClickOverlay:o.closeOnClickOverlay,teleportDisable:!0,visible:o.visible,"onUpdate:visible":i},s);return(0,t.h)("view",{class:`${e}`},[m])}}}}var{componentName:Ip,create:qp,scope:xp}=ee("dropdown"),Pp=qp(Dp(Ip,xp,be,!1)),Ea=Pp;function Mp(e,n,a,l,o){let r=[];Array.isArray(e)?r=e:r=[e];const s=[],i=n[0];if(Array.isArray(e)&&!Array.isArray(i)&&!i[o]){let c=n;for(let m=0;c&&m<r.length;m++){let h=r[m],u=c.find(p=>p[l]===h);if(!u)break;s.push(u[a])}return s}if(Array.isArray(i))for(let c=0;c<n.length&&c<r.length;c++){let m=n[c],h=r[c];const u=m.find(p=>p[l]===h);if(!u)break;s.push(u[a])}else{let c=n;for(let m=0;c&&m<r.length;m++){let h=r[m],u=c.find(p=>p[l]===h);if(!u)break;s.push(u[a]),c=u[o]}}return s}var zp=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Lp(){return new zp((0,t.getCurrentInstance)().proxy)}var Op={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1}};function Rp(e,n,a=!1){return{props:{...Op},setup(l,{attrs:o,slots:r}){const s=Lp(),i=(0,t.ref)([]);(0,t.watch)([()=>l.source,()=>l.params],async([m,h])=>{i.value=await s.load(l.sourceType,m,h)},{immediate:!0});const c=(0,t.computed)(()=>{if(!Array.isArray(i.value)||i.value.length===0)return l.emptyText;let m=Mp(l.modelValue,i.value,l.textKey,l.valueKey,l.childrenKey);return m.length==0?l.emptyText??"":m.length===1?l.optionType=="item"?`${l.modelValue}${l.separator}${m[0]}`:m[0]:m.join(l.separator)});return()=>{const m={...o};if(r.default)return r.default({text:c.value,value:l.modelValue});const h=l.tag??"span";return typeof h=="object"?(0,t.h)(h,m,{default:()=>c.value}):(0,t.h)(h,m,[c.value])}}}}var{componentName:Fp,create:Kp,scope:Up}=ee("mapping"),Hp=Kp(Rp(Fp,Up,!1)),Da=Hp;function jp(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean],required:!1}},setup(a,{slots:l}){return gr(a.name,()=>a.config),ze(a.innerPageScope)||Sr(a.innerPageScope),ze(a.abstractPageScope)||vr(a.abstractPageScope),()=>typeof l.default=="function"?l.default():null}}}var{componentName:Wp,create:Yp,scope:Xp}=ee("domain-provider"),Qp=Yp(jp(Wp,Xp)),Ia=Qp,Gp={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 Zp(e,n){return{inheritAttrs:!1,props:Gp,emits:["change"],setup(a,{slots:l,emit:o}){if(Xe&&window.IntersectionObserver){const r=new WeakMap;let s=new Map;const i=(p,b)=>{if(h===null){s.set(p,{visible:null,callback:b});return}r.has(p)&&h.unobserve(p),r.set(p,{visible:null,callback:b}),h.observe(p)},c=p=>{if(h===null){s.delete(p);return}r.has(p)&&(r.delete(p),h.unobserve(p))};let m=a.initialVisibleObserverSize;Js({acquire:()=>{if(a.loadPolicy==="always")return!0;const p=m>0;return m--,p},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:i,unobserve:c});let h=null;const u=(p,b,w)=>{h=new IntersectionObserver(v=>{if(o("change",v),a.loadPolicy!=="always")for(let S of v){let f=!1;S.intersectionRatio>0&&(f=!0);const k=r.get(S.target);if(k)try{if(a.loadPolicy==="lazy"&&!f&&k.visible!==null)return;k.visible=f,k.callback(f)}catch(d){console.error(d)}}},{root:p,rootMargin:b,threshold:w}),s.forEach((v,S)=>{r.set(S,v),h?.observe(S)}),s.clear()};(0,t.watch)([()=>a.root,()=>a.disabled],([p,b])=>{if(b||!p||h)return;let w=null;typeof p=="string"?w=document.querySelector(p):w=p,w&&u(w,a.rootMargin,a.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}var{componentName:_p,create:Jp,scope:eg}=ee("rolling-provider"),tg=Jp(Zp(_p,eg)),qa=tg,{componentName:ng,create:lg}=ee("cell"),ag=lg({components:{Right:ae.Right},props:{title:{type:String,default:""},subTitle:{type:String,default:""},desc:{type:String,default:""},descTextAlign:{type:String,default:"right"},isLink:{type:Boolean,default:!1},roundRadius:{type:[String,Number],default:""},url:{type:String,default:""},center:{type:Boolean,default:!1},size:{type:String,default:""}},emits:["click"],setup(e,{emit:n}){const a=(0,t.computed)(()=>{const r=ng;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),l=(0,t.computed)(()=>({borderRadius:de(e.roundRadius)}));return{handleClick:r=>{n("click",r)},classes:a,baseStyle:l}}}),og={key:0,class:"fox-cell__icon"},rg={key:1,class:"fox-cell__title"},ig={class:"title"},sg={class:"fox-cell__title-desc"};function cg(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Right");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.baseStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.$slots.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",og,[(0,t.renderSlot)(e.$slots,"icon")])):(0,t.createCommentVNode)("",!0),e.title||e.subTitle||e.$slots.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",rg,[e.subTitle?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.renderSlot)(e.$slots,"title",{},()=>[(0,t.createElementVNode)("view",ig,(0,t.toDisplayString)(e.title),1)]),(0,t.createElementVNode)("view",sg,(0,t.toDisplayString)(e.subTitle),1)],64)):(0,t.renderSlot)(e.$slots,"title",{key:1},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)])])):(0,t.createCommentVNode)("",!0),e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)(["fox-cell__value",{"fox-cell__value--alone":!e.title&&!e.subTitle&&!e.$slots.title}]),style:(0,t.normalizeStyle)({"text-align":e.descTextAlign})},(0,t.toDisplayString)(e.desc),7)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"link",{},()=>[e.isLink?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-cell__link"})):(0,t.createCommentVNode)("",!0)])])],6)}var xa=oe(ag,[["render",cg]]),ug={tag:{type:[String],default:()=>"li"},color:{type:[String]},size:{type:[String,Number]}};function dg(e,n){return{props:{...ug},setup(a,{attrs:l,slots:o}){const r=(0,t.computed)(()=>{const s={};return a.color&&(s.color=a.color),a.size&&(s.fontSize=de(a.size)),s});return()=>{const s={style:r.value,class:`${e}-wrap`,...l};return(0,t.h)(a.tag??"li",s,o)}}}}var{componentName:fg,create:mg,scope:hg}=ee("icon"),pg=mg(dg(fg,hg)),Pa=pg,{componentName:gg,create:yg}=ee("cell-group"),bg=yg({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:(0,t.computed)(()=>({[gg]:!0}))}}}),Sg={key:1,class:"fox-cell-group__title"},vg={key:3,class:"fox-cell-group__desc"},kg={class:"fox-cell-group__wrap"};function wg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.$slots.title?(0,t.renderSlot)(e.$slots,"title",{key:0}):e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",Sg,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.$slots.desc?(0,t.renderSlot)(e.$slots,"desc",{key:2}):e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",vg,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",kg,[(0,t.renderSlot)(e.$slots,"default")])],2)}var Ma=oe(bg,[["render",wg]]),{componentName:Cg,create:Ng}=ee("image"),Ag=Ng({props:{src:String,fit:{type:String,default:"fill"},position:{type:String,default:"center"},alt:{type:String,default:""},width:{type:String,default:"center"},height:{type:String,default:""},round:{type:Boolean,default:!1},radius:[String,Number],showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},lazyLoad:{type:Boolean,default:!1}},components:{Image:ae.Image,ImageError:ae.ImageError},emits:["click","load","error"],setup(e,{emit:n}){const a=(0,t.reactive)({loading:!0,isError:!1,slotLoding:(0,t.useSlots)().loading,slotError:(0,t.useSlots)().error}),l=(0,t.computed)(()=>{const b=Cg;return{[b]:!0,[`${b}-round`]:e.round}}),o=(0,t.ref)(null),r=(0,t.ref)(!1),s=(0,t.ref)(null),i=()=>{o.value=new IntersectionObserver(b=>{b.forEach(w=>{w.isIntersecting&&(r.value=!0,o.value.disconnect())})},{threshold:[0],rootMargin:"0px"}),s.value&&o.value.observe(s.value)};(0,t.onMounted)(()=>{e.lazyLoad&&i()}),(0,t.onBeforeUnmount)(()=>{o.value&&o.value.disconnect()});const c=(0,t.computed)(()=>{let b={};return e.width&&(b.width=de(e.width)),e.height&&(b.height=de(e.height)),e.radius!==void 0&&e.radius!==null&&(b.overflow="hidden",b.borderRadius=de(e.radius)),b}),m=(0,t.computed)(()=>({objectFit:e.fit,objectPosition:e.position}));(0,t.watch)(()=>e.src,b=>{a.isError=!1,a.loading=!0});const h=()=>{a.loading=!1,n("load")},u=()=>{a.isError=!0,a.loading=!1,n("error")},p=b=>{n("click",b)};return{...(0,t.toRefs)(a),imageClick:p,classes:l,styles:m,stylebox:c,error:u,load:h,show:r,imgRef:s}}}),Bg=["src","date-src","alt"],Tg={key:0,class:"fox-img-loading"},Vg={key:1,class:"fox-img-error"};function $g(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Image"),i=(0,t.resolveComponent)("ImageError");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.stylebox),onClick:n[2]||(n[2]=(...c)=>e.imageClick&&e.imageClick(...c))},[(0,t.createElementVNode)("img",{ref:"imgRef",class:"fox-img",src:e.lazyLoad?e.show?e.src:void 0:e.src,"date-src":e.lazyLoad?e.show?void 0:e.src:void 0,alt:e.alt,onLoad:n[0]||(n[0]=(...c)=>e.load&&e.load(...c)),onError:n[1]||(n[1]=(...c)=>e.error&&e.error(...c)),style:(0,t.normalizeStyle)(e.styles)},null,44,Bg),e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("div",Tg,[e.slotLoding?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,width:"16px",height:"20px",name:"image"})),(0,t.renderSlot)(e.$slots,"loading")])):(0,t.createCommentVNode)("",!0),e.isError&&!e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("div",Vg,[e.slotError?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,width:"16px",height:"20px",name:"imageError"})),(0,t.renderSlot)(e.$slots,"error")])):(0,t.createCommentVNode)("",!0)],6)}var za=oe(Ag,[["render",$g]]),{create:Eg}=ee("layout"),Dg=Eg({}),La=Dg,{componentName:Ig,create:qg}=ee("col"),xg=qg({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=Ig,a=(0,t.inject)("gutter");return{classes:(0,t.computed)(()=>({[n]:!0,[`${n}-gutter`]:a,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),style:(0,t.computed)(()=>({paddingLeft:a/2+"px",paddingRight:a/2+"px"}))}}});function Pg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6)}var Oa=oe(xg,[["render",Pg]]),{componentName:Mg,create:zg}=ee("row"),Lg=zg({props:{type:{type:String,default:""},gutter:{type:[String,Number],default:""},justify:{type:String,default:"start"},align:{type:String,default:"flex-start"},flexWrap:{type:String,default:"nowrap"}},setup(e){const n=Mg;(0,t.provide)("gutter",e.gutter);const a=(l,o)=>l?o?`fox-row-${l}-${o}`:"":`fox-row-${o}`;return{classes:(0,t.computed)(()=>e.type==="flex"?`
1
+ (function(A,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("@fox-js/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","@fox-js/icons-vue","@fox-js/i18n"],t):(A=typeof globalThis<"u"?globalThis:A||self,t(A.FoxUI={},A.Vue,A.FoxValidator,A.FoxIconsVue,A.FoxI18n))})(this,function(A,t,nt,ae,he){Object.defineProperties(A,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Ri=Object.create,jo=Object.defineProperty,Fi=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyNames,Ui=Object.getPrototypeOf,Hi=Object.prototype.hasOwnProperty,Ke=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),ji=(e,n,a,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(var o=Ki(n),r=0,s=o.length,i;r<s;r++)i=o[r],!Hi.call(e,i)&&i!==a&&jo(e,i,{get:(c=>n[c]).bind(null,i),enumerable:!(l=Fi(n,i))||l.enumerable});return e},Ue=(e,n,a)=>(a=e!=null?Ri(Ui(e)):{},ji(n||!e||!e.__esModule?jo(a,"default",{value:e,enumerable:!0}):a,e)),an=window,Wi=typeof window<"u";function Yi(){return typeof an<"u"?an.requestAnimationFrame||an.webkitRequestAnimationFrame||function(e){an.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Wo(e){Wi?cancelAnimationFrame(e):clearTimeout(e)}var Ye=Yi();function on(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=Ae(e),n=Ae(n),[e,n]=hl(Ae(e),Ae(n)),a==1&&(l==1?e=ml(e):n=ml(n));let o=Yo(e,n);return a?a==2?"-"+Ae(o):e.length<o.length?Ae(o.substring(1)):"-"+Ae(ml(o)):Ae(o)}function ml(e){let n="",a=e.length,l=e.split(".")[1],o=l?l.length:0;for(let s=0;s<a;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 Yo(n,r)}function Ae(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 hl(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 Yo(e,n){[e,n]=hl(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 Ce=(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 It(e,n=0,a=Ce.HALF_EVEN){if(a===Ce.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],s=o[1];if(n<0){if(n=-n,r.length<=n)return"0";{let c=r.substr(0,r.length-n);return e=c+"."+r.substr(r.length-n)+s,c=It(e,0,a),(l?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return r.length,Xo(o[1],r,l,a)?(l?"-":"")+pl(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");s=o[1].substring(0,n);let i=o[1].substring(n);return i&&Xo(i,s,l,a)&&(s=pl(s),s.length>n)?(l?"-":"")+pl(r,parseInt(s[0]))+"."+s.substring(1):(l?"-":"")+r+"."+s}function Xo(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===Ce.DOWN||!a&&l===Ce.FLOOR||a&&l===Ce.CEILING)return!1;if(l===Ce.UP||a&&l===Ce.FLOOR||!a&&l===Ce.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 Ce.HALF_DOWN:return!1;case Ce.HALF_UP:return!0;case Ce.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function pl(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 gl(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=qt(e),n=qt(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=qt(e.replace(".","")),n=qt(n.replace(".","")),e.length<n.length){let u=e;e=n,n=u}if(n=="0")return"0";let s=n.length,i=0,c=[],m=s-1,h="";for(let u=0;u<s;u++)c[u]=e.length-1;for(let u=0;u<2*e.length;u++){let p=0;for(let b=n.length-1;b>=m&&b>=0;b--)c[b]>-1&&c[b]<e.length&&(p+=parseInt(e[c[b]--])*parseInt(n[b]));p+=i,i=Math.floor(p/10),h=p%10+h,m--}return h=qt(Xi(h,r)),a==1&&(h="-"+h),h}function Xi(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 yl(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=Ae(n.replace(".","")),o>=0){let m=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(m==-1)e=Ae(e+new Array(o+1).join("0"));else if(o>m)e=e.replace(".",""),e=Ae(e+new Array(o-m+1).join("0"));else if(o<m){e=e.replace(".","");let h=e.length-m+o;e=Ae(e.substring(0,h)+"."+e.substring(h))}else o==m&&(e=Ae(e.replace(".","")))}let r=0,s=n.length,i="",c=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),c.indexOf(".")>-1){let m=c.length-c.indexOf(".")-1;c=c.replace(".",""),s>c.length&&(m+=s-c.length,c=c+new Array(s-c.length+1).join("0")),r=m,i="0."+new Array(m).join("0")}for(a=a+2;r<=a;){let m=0;for(;parseInt(c)>=parseInt(n);)c=on(c,"-"+n),m++;i+=m,e?(e[0]=="."&&(i+=".",r++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(r||(i+="."),r++,c=c+"0")}return(l==1?"-":"")+Ae(It(i,a-2))}function bl(e,n){return e=e.toString(),n=n.toString(),n=Sl(n),on(e,n)}function Sl(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Qo(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),Go(e),Go(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=bl(e,gl(n,It(yl(e,n),0,Ce.FLOOR)));return a+l}function Go(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Zo(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]=hl(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}var xt=class fe{value;static RoundingModes=Ce;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=Ae(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+Ae(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 s="",i=r;i>0;)i<a?(a=i,i=0):i-=a,s=n.substring(i,i+a)+(i<r-a&&i>=0?l:"")+s;return(o?"-":"")+s+n.substring(r)}getPrettyValue(n,a){return fe.getPrettyValue(this.value,n,a)}static round(n,a=0,l=Ce.HALF_EVEN){if(n=fe.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return It(n,a,l)}round(n=0,a=Ce.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new fe(It(this.value,n,a))}static floor(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,Ce.FLOOR)}floor(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,Ce.FLOOR)}static ceil(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,Ce.CEILING)}ceil(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,Ce.CEILING)}static add(n,a){return n=fe.validate(n),a=fe.validate(a),on(n,a)}add(n){return new fe(on(this.value,n.getValue()))}static subtract(n,a){return n=fe.validate(n),a=fe.validate(a),bl(n,a)}subtract(n){return new fe(bl(this.value,n.getValue()))}static multiply(n,a){return n=fe.validate(n),a=fe.validate(a),gl(n,a)}multiply(n){return new fe(gl(this.value,n.getValue()))}static divide(n,a,l){return n=fe.validate(n),a=fe.validate(a),yl(n,a,l)}divide(n,a){return new fe(yl(this.value,n.getValue(),a))}static modulus(n,a){return n=fe.validate(n),a=fe.validate(a),Qo(n,a)}modulus(n){return new fe(Qo(this.value,n.getValue()))}static compareTo(n,a){return n=fe.validate(n),a=fe.validate(a),Zo(n,a)}compareTo(n){return Zo(this.value,n.getValue())}static negate(n){return n=fe.validate(n),Sl(n)}negate(){return new fe(Sl(this.value))}};function _o(e,n){return xt.multiply(`${e}`,`${n}`)}function vl(e,n,a=8){return xt.divide(`${e}`,`${n}`,a)}var m2=xt.RoundingModes;function kl(e,n){return e=`${e}`,n=`${n}`,xt.compareTo(e,n)}function Jo(e){return xt.negate(e)}function rn(e,n=-1,a=!1,l=3,o=","){let r=`${e}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let i=r,c="",m=r.indexOf(".");m!=-1&&(i=r.substring(0,m),c=r.substring(m+1)),n!=-1&&(n<c.length?c=c.substring(0,n):a&&n>c.length&&(c=c.padEnd(n,"0")));let h;if(l>0){let u="",p=i.split("").reverse();for(let b=0;b<p.length;b++)u+=p[b]+((b+1)%l==0&&b+1!=p.length?o:"");c.length==0?h=`${s}${u.split("").reverse().join("")}`:h=`${s}${u.split("").reverse().join("")}.${c}`}else c.length==0?h=`${s}${i}`:h=`${s}${i}.${c}`;return h}function er(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}var Xe=typeof window<"u",He=Ye;function ze(e){return e==null}var sn=Array.isArray,Qi=e=>un(e)==="[object Map]",Gi=e=>un(e)==="[object Set]",je=e=>e instanceof Date,cn=e=>typeof e=="function",tr=e=>typeof e=="string",Zi=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",ut=e=>De(e)&&cn(e.then)&&cn(e.catch),nr=Object.prototype.toString,un=e=>nr.call(e),_i=e=>un(e)==="[object Object]",lr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Ji(e){return e.__esModule||lr&&e[Symbol.toStringTag]==="Module"}var es=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function dt(...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 s in r){let i=n[s],c=r[s];if(i!==c)if(o===!0&&c&&typeof c=="object"){let m;Array.isArray(c)?m=i&&Array.isArray(i)?i:[]:m=i&&typeof i=="object"?i:{},n[s]=dt(o,m,c)}else c!==void 0&&(n[s]=c)}}return n}var wl=es?Promise.resolve():null;function ts(e,...n){wl!==null?n&&n.length>0?wl.then(()=>{e(n)}):wl.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function Se(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function me(e){return typeof e=="number"?e:Number(e)}var ns={"[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 ft(e){let n=Object.prototype.toString.call(e);return e==null?String(e):ns[n]||"object"}function ar(e){if(!e||e.nodeType!==1)return!0;let n=e;for(;n;){if(n.hidden)return!0;const a=window.getComputedStyle(n);if(a.display==="none"||a.visibility==="hidden"||a.visibility==="collapse")return!0;n=n.parentElement}return!1}function Cl(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 or(e){return e&&typeof e=="object"&&"setInterval"in e}function rr(e){let n=!!e&&"length"in e&&e.length,a=ft(e);return a==="function"||or(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function ir(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 ls(e,n=[]){let a=n;return e!=null&&(rr(Object(e))?ir(a,typeof e=="string"?[e]:e):a.push(e)),a}function Ie(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=ft(e);if(a!==ft(n))return!1;if(a==="object"){let l=Object.keys(e),o=Object.keys(n);if(l.length!==o.length)return!1;for(let r=0;r<l.length;r++){let s=l[r],i=e[s],c=n[s];if(!Ie(i,c))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let l=0;l<e.length;l++){let o=e[l],r=n[l];if(!Ie(o,r))return!1}return!0}return!1}function Nl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ue=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function dn(e){return ue(e)?!1:(e.charAt(0)=="-"&&(e=e.substring(1)),ue(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function sr(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 cr(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 ur(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 Al(e,n=!0,a=!0){n?e=ur(e,".",/\./g):e=e.replace(/\./g,""),a?e=ur(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function as(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Ie(e,a))return!0}):n.indexOf(e)}function os(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(Ie(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function ve(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ge(e,...n){const a={};return n.forEach(l=>{for(const o in l)a[o]=e[o]}),a}function Qe(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}var rs=(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};function Bl(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var lt=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},We=(e,n,a)=>Math.min(Math.max(e,n),a);function fn(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function is(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var we=Symbol.for("BroadcastKey"),Tl=class{parent;children=[];callbacks=new Map;proxy=null;name;persistantMessages=new Map;constructor(e,n,a){this.parent=e,this.proxy=n,this.name=a,e!==null&&e.addChild(this)}addChild(e){this.children.push(e)}removeChild(e){const n=this.children.findIndex(a=>e===a);n!==-1&&this.children.splice(n,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.proxy=null}setPersistantMessage(e,n,a){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const l=e.uniqueId,o={matched:e,action:n,args:a};return this.persistantMessages.set(l,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 a=!1;return!n.name||n.name==="*"||n.name==="+"||Nl(n.name)&&e&&n.name.test(e)?a=!0:typeof n.name=="function"?a=Reflect.apply(n.name,null,[e]):n.name===e&&(a=!0),a}trigger(e,n,a){let l=null;const o=this.callbacks.get(n);typeof o=="function"&&(l=Reflect.apply(o,this.proxy,[...a]));const r=this.proxy??{};typeof r[n]=="function"&&(l=Reflect.apply(r[n],r,[...a])),e.resolved=!0,typeof e.resolve=="function"&&e.resolve(l)}pull(){let e=this.parent;for(;e;){const n=e.getPersistantMessages();Array.isArray(n)&&n.length>0&&n.forEach(a=>{if(this.isMatched(this.name,a.matched))try{this.trigger(a.matched,a.action,a.args)}catch(l){console.error(l)}}),e=e.parent}}emit(e,n,...a){if(e.messagingPolicy==="Once"&&e.resolved===!0)return[];if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,a),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,a)){const r=e.resolve,s=e.uniqueId??"",i=(...c)=>{this.deletePersistantMessage(s),typeof r=="function"&&r(...c)};e.resolve=i}e.cachePolicy="None"}let l=!1;!e.name||e.name==="*"?l=!0:e.name==="+"?(l=!1,e.name="*"):Nl(e.name)&&this.name&&e.name.test(this.name)?l=!0:typeof e.name=="function"?l=Reflect.apply(e.name,null,[this.name]):e.name===this.name&&(l=!0);const o=[];if(l){const r=this.callbacks.get(n);if(typeof r=="function"){const i=Reflect.apply(r,this.proxy,[...a]);i!=null&&o.push(i)}const s=this.proxy??{};if(typeof s[n]=="function"){const i=Reflect.apply(s[n],s,[...a]);i!=null&&o.push(i)}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,...a]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(e,n,...a){if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,a),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,a)){const o=e.resolve,r=e.uniqueId??"",s=(...i)=>{this.deletePersistantMessage(r),typeof o=="function"&&o(...i)};e.resolve=s}e.cachePolicy="None"}const l=[];return this.children.forEach(o=>{const r=Reflect.apply(o.emit,o,[{...e},n,...a]);r!=null&&Array.isArray(r)&&Reflect.apply([].push,l,[...r])}),l}on(e,n){this.callbacks.set(e,n)}};function mn(e,n,a,l){const o=new Tl(n,e,a);if(l&&typeof l=="object")for(const r in l)o.on(r,l[r]);return o}function ss(e,n,a){const l=a;if(l[we])return l[we];const o=new Tl((0,t.inject)(we,null),a,e);if(n&&typeof n=="object")for(const r in n)o.on(r,n[r]);return l[we]=o,(0,t.provide)(we,o),(0,t.onUnmounted)(()=>{o.destroy(),l[we]=void 0}),o}function Pt(e=null){return e||(e=(0,t.getCurrentInstance)()?.proxy??null),e?e[we]??(0,t.inject)(we,null):(0,t.inject)(we,null)}var cs=class{error(e,n){const a=n,l=n||(0,t.hasInjectionContext)()?Pt(n):null;l?l.emit({name:"*"},"setErrorTip",e):typeof a.setErrorTip=="function"&&a.setErrorTip(e)}reset(e){const n=e,a=e||(0,t.hasInjectionContext)()?Pt(e):null;a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}success(e){const n=e,a=e||(0,t.hasInjectionContext)()?Pt(e):null;a?a.emit({name:"*"},"setErrorTip",""):typeof n.setErrorTip=="function"&&n.setErrorTip("")}decorate(e,n,a){Array.isArray(e)||(e=[e]);const l=a,o=a||(0,t.hasInjectionContext)()?Pt(a):null,r=n.find(i=>i.required===!0||i.type==="required"&&i.required!==!1),s=e.find(i=>i.required===!0||i.type==="required"&&i.required!==!1);!r&&s?o?o.emit({name:"*"},"setRequired",!0):typeof l.setRequired=="function"&&l.setRequired(!0):r&&!s&&(o?o.emit({name:"*"},"setRequired",!1):typeof l.setRequired=="function"&&l.setRequired(!1),this.reset(a))}getValue(e){return e.modelValue}},Mt=new cs;function us(e){Mt=e}function ds(e){Mt?Object.assign(Mt,e):Mt=e}function fs(e,n){nt.Schema.setValidator(e,n)}function ms(e){nt.Schema.deleteValidator(e)}var dr=["blur","clear"];function hs(e){dr=e}function fr(){return dr}var mr=["focus","change","setValue"];function ps(e){mr=e}function hr(){return mr}function gs(e){nt.Schema.messages(e)}function zt(...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 hn(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 Le=Symbol("ValidateSchemaKey"),pr=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(e,n,a){this.parent=e,this.descriptor=n,this.proxy=a,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let e=this.proxy.$attrs;e&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const n=hn(zt(this.attrRules,this.rules)),a=[];for(let o in e){let r=e[o];if(this.hasValidator(o,!0)){if(r===!1)continue;let i={type:o};r!==null&&typeof r=="object"&&Object.assign(i,r),a.push(i);continue}let s=this.getValidator(o);if(s!==null){let i={type:o,validator:s};a.push(i)}}this.attrRules=hn(a);const l=zt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,n)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(e,...n){const a=this.descriptor.validateHandler;if(a&&typeof a[e]=="function")return Reflect.apply(a[e],a,[...n]);const l=Mt;return l&&typeof l[e]=="function"?Reflect.apply(l[e],l,[...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.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(e,n,a=!1){a?nt.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?nt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return nt.Schema.hasValidator(e);{let a=Reflect.has(this.validators,e);return!a&&this.parent!==null&&(a=this.parent.hasValidator(e,!1)),a}}setRule(e){const n=zt(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=hn(e):this.rules=hn([e]);const a=zt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(a,n)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=zt(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const a={[`${n}`]:e},l=this.getValue(),o={[`${n}`]:l},r=new nt.Schema(a),s=this.proxy??o;return r.validate(o,{context:s}).then(i=>{if(i.pass)this.success();else{let c="error";Array.isArray(i.errors)&&i.errors.length>0&&(c=i.errors[0].message??c,i.errors=[i.errors[0]],i.errors[0].ref=s),this.error(c)}return i}).catch(i=>{const c=i.message??`${i}`;return this.error(c),i})}}return Promise.resolve({pass:!0})}};function pn(e,n,a){if(a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string",!a.validateHandler&&a.valueName!=="modelValue"){const l=a.valueName;a.validateHandler={getValue(o){return o[l]}}}return new pr(n,a,e)}var gn=Symbol.for("EventEmitterKey"),gr=class{register=new Map;proxy;constructor(e){this.proxy=e}destroy(){this.proxy=null,this.register.clear()}off(e,n){let a=this.register.get(e);if(a&&Array.isArray(a)){let l=a.findIndex(o=>o===n);l!==-1&&a.splice(l,1)}}on(e,n){let a=this.register.get(e);a||(a=new Array,this.register.set(e,a)),a.push(n)}emit(e,...n){const a=this.register.get(e);a&&a.forEach(l=>{try{Reflect.apply(l,null,[e,...n])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[e,...n])}};function Pe(e,n){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...l])},n)}}function yn(e,n){let a=0;return function(...l){const o=new Date().getTime();o-a<n||(a=o,Reflect.apply(e,null,[...l]))}}function ys(e,n){const a=Pe((l,o)=>{e=l,o()},n);return(0,t.customRef)((l,o)=>({get(){return l(),e},set(r){a(r,o)}}))}function bs(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function Vl(e,n,a,l=0,o=!0){let r=n,s=0;if(o){const c=e();if(s++,c||s>a)return}const i=()=>{const c=e();s++,!(c||s>a)&&(r+=l,setTimeout(i,r))};setTimeout(i,r)}var qe=Symbol("DomainKey"),mt=Symbol("DataItemsKey"),bn=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}_props=(0,t.reactive)({});constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(e,n=[]){for(const a in e){const l=e[a];n.length>0&&n.indexOf(l)!==-1||(this._props[a]=l)}}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 a=this._props[e];if(a!=null)return a}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 a=this;for(;a!=null;){if(Reflect.has(a._props,e)){const l=a._props[e];n.push(l)}a=a._parent}return n}},Ss=new bn;function ht(){return Ss}function Ge(e=null){return e||(e=(0,t.getCurrentInstance)()?.proxy??null),e?e[qe]??(0,t.inject)(qe,null):(0,t.inject)(qe,null)}var $l=Symbol("OriginalDateKey");function El(e,n,a=[],l){const o=(0,t.getCurrentInstance)();let r=o?.proxy,s=(0,t.inject)(qe,null);s===null&&(s=ht());const i=e||n.prop||n.name;let c=new bn(i);c.parent=s;const m=v=>{r[$l]||p(v),c?.set("modelValue",v)},h=()=>c?.getForSelf("modelValue")??null,u=()=>r[$l]??null,p=v=>{const S={};dt(!0,S,(0,t.toRaw)(v)),r[$l]=S};(0,t.isReactive)(n)||typeof n=="function"?(0,t.watch)(n,v=>{c?.merge(v,a)},{immediate:!0}):c.merge(n,a),n.modelValue&&p(n.modelValue);const b=(v,S)=>{c?.set(v,S)},w=v=>c?.getForSelf(v)??null;if(r[qe]=c,(0,t.provide)(qe,c),o!==null){const v=(0,t.inject)(we,null),S=mn(r,v,i,l);c.broadcast=S,r[we]=S,(0,t.provide)(we,S),r.broadcast=(d,C,...N)=>Reflect.apply(S.emit,S,[d,C,...N]);const f=(0,t.inject)(Le,null),k=pn(r,f,{componentName:""});c.validateSchema=k,r[Le]=k,(0,t.provide)(Le,k),r[mt]=new Map,r.validate=(d=!0)=>{const C=[];let N=null;const g={deep:!1};if(d===!0)N={name:"*"};else if(Array.isArray(d)&&d.length>0){const y=d;N={name:B=>B?y.indexOf(B)!==-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 B=y.include;N={name:T=>T?B.indexOf(T)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const B=y.exclude;N={name:T=>T?B.indexOf(T)===-1:!1}}else N={name:"*"}}if(N){const y=S?.emitToChildren(N,"validate",g);y&&Reflect.apply([].push,C,y)}return C.length==1?C[0]:C.length>1?Promise.all(C).then(y=>{let B=[];return y.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(B=[...B,...T.errors])}),B.length>0?{pass:!1,errors:B}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(d,C=!0,N=!1)=>{if(N===!0){Reflect.ownKeys(d).forEach(g=>{let y=String(g);const B={componentName:"",fieldName:y,pureDataValidate:!0};if(c){const T=br(c,y,B,S,k);r[mt].set(y,T);const $=d[y];$&&T.validateSchema.setRule($)}});return}if(C){const g=Reflect.ownKeys(d);S?.emitToChildren({name:y=>g.includes(y),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",d,!1)}},r.clearValidate=(d=!0)=>{let C=null;if(d===!0)C={name:"*"};else if(Array.isArray(d)&&d.length>0){const N=d;C={name:g=>g?N.indexOf(g)!==-1:!1}}else if(d!=null&&typeof d=="object"){const N=d;if(Array.isArray(N.include)&&N.include.length>0){const g=N.include;C={name:y=>y?g.indexOf(y)!==-1:!1}}else if(Array.isArray(N.exclude)&&N.exclude.length>0){const g=N.exclude;C={name:y=>y?g.indexOf(y)===-1:!1}}else C={name:"*"}}C&&S?.emitToChildren(C,"clearValidate",!1)},r.resetFields=d=>{const C=h();if(!C)return;const N={};if(dt(!0,N,u()??{}),Array.isArray(d))d.forEach(g=>{C[g]=N[g]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(g=>{C[g]=N[g]});else if(d&&Array.isArray(d.exclude)){let g=d.exclude??[];Reflect.ownKeys(N).forEach(y=>{g.includes(y)||(C[y]=N[y])})}else Object.assign(C,N);r.clearValidate(d)},r.setModelValue=(d,C)=>{if(!C||C===i)m(d);else{const N={name:C,messagingPolicy:"Once"};S?.emitToChildren(N,"setModelValue",d)}},r.getModelValue=()=>h(),r.setDomainProperty=(d,C)=>{b(d,C)},r.getDomainProperty=d=>w(d),setTimeout(function(){S?.pull()},0)}return(0,t.onUnmounted)(function(){c?.validateSchema&&(c.validateSchema.destroy(),r[Le]=void 0,(0,t.provide)(Le,null)),c?.broadcast&&(c?.broadcast?.destroy(),r[we]=void 0,(0,t.provide)(we,null)),c?.destroy(),r[qe]=void 0,(0,t.provide)(qe,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,c=null,r=null}),c}function yr(e,n,a=[]){let l=(0,t.getCurrentInstance)()?.proxy,o=(0,t.inject)(qe,null);o===null&&(o=ht());let r=new bn(e||n.prop||n.name);return r.parent=o,(0,t.isReactive)(n)||typeof n=="function"?(0,t.watch)(n,s=>{r?.merge(s,a)},{immediate:!0}):r.merge(n,a),l[qe]=r,(0,t.provide)(qe,r),(0,t.onUnmounted)(()=>{r?.destroy(),l[qe]=void 0,(0,t.provide)(qe,null),r=null,l=null}),r}function Be(e,n,a){const l=(0,t.getCurrentInstance)()?.proxy,o=n??"";let r=mn(l,(0,t.inject)(we,null),o,a);l[we]=r,(0,t.provide)(we,r),l.broadcast=(h,u,...p)=>r?Reflect.apply(r.emit,r,[h,u,...p]):null;const s=(0,t.inject)(Le,null);e.fieldName=e.fieldName??o;let i=pn(l,s,e);l[Le]=i,(0,t.provide)(Le,i),l.validate=(h=null)=>{if(!i)return Promise.resolve({pass:!0});const u=[];let p=!1,b=!1;if(Array.isArray(h)&&h.indexOf(o)!==-1)b=!0,p=!0;else if(h&&typeof h=="object"){const w=h,v=w.ignoreDisabled??!0,S=w.ignoreReadonly??!0,f=w.ignoreHidden??!0;v===!0&&e.disabled===!0||S===!0&&e.readonly===!0||f===!0&&ar(l.$el)?b=!1:(Array.isArray(w.include)&&w.include.indexOf(o)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(o),b=!0),p=w.deep??!1}else typeof h=="boolean"&&(p=h),b=!0;if(b){const w=i?.validate();u.push(w)}if(p){let w=null;const v={deep:!1};if(h===!0)w={name:"*"};else if(Array.isArray(h)&&h.length>0){const S=h;w={name:f=>f?S.indexOf(f)!==-1:!1}}else if(h!=null&&typeof h=="object"){const S=h;if(Object.assign(v,S),Array.isArray(S.include)&&S.include.length>0){const f=S.include;w={name:k=>k?f.indexOf(k)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const f=S.exclude;w={name:k=>k?f.indexOf(k)===-1:!1}}else w={name:"*"}}if(w&&r){const S=r.emitToChildren(w,"validate",v);Reflect.apply([].push,u,S)}}return u.length==1?u[0]:u.length>1?Promise.all(u).then(w=>{let v=[];return w.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(v=[...v,...S.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=h=>i?.setRule(h),l.setNameValidateRules=(h,u=!1)=>{const p=h[o];p&&i?.setRule(p),u&&r&&r.emitToChildren({name:b=>Reflect.ownKeys(h).includes(b)},"setNameValidateRules",h,!1)},l.clearValidate=(h=null)=>{(!Array.isArray(h)||h.indexOf(n??"")!==-1)&&i?.clear();let u=null;if(h===!0)u={name:"*"};else if(Array.isArray(h)&&h.length>0){const p=h;u={name:b=>b?p.indexOf(b)!==-1:!1}}else if(h!=null&&typeof h=="object"){const p=h;if(Array.isArray(p.include)&&p.include.length>0){const b=p.include;u={name:w=>w?b.indexOf(w)!==-1:!1}}else if(Array.isArray(p.exclude)&&p.exclude.length>0){const b=p.exclude;u={name:w=>w?b.indexOf(w)===-1:!1}}else u={name:"*"}}u&&r&&r.emitToChildren(u,"clearValidate",!1)};let c=new gr(l);l[gn]=c;const m=Pe((h="validate")=>{i&&(h==="reset"?i.clear():i.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:fr()).forEach(h=>{c&&c.on(h,u=>{m("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:hr()).forEach(h=>{c&&c.on(h,u=>{m("reset")})}),setTimeout(function(){r?.pull()},0),(0,t.onUnmounted)(()=>{r?.destroy(),l[we]=void 0,(0,t.provide)(we,null),r=null,i?.destroy(),l[Le]=void 0,(0,t.provide)(Le,null),i=null,c?.destroy(),l[gn]=void 0,c=null,l.broadcast=null,l.validate=null,l.setValidateRule=null,l.setNameValidateRules=null,l.clearValidate=null}),{broadcast:r,validateSchema:i,emitEvent:(h,...u)=>{c&&Reflect.apply(c.emit,c,[h,...u])},onEvent:(h,u)=>{c&&Reflect.apply(c.on,c,[u])},offEvent:(h,u)=>{c&&Reflect.apply(c.off,c,[u])}}}function br(e,n,a,l,o){const r={},s=n??"",i={getValue(){const h=e.getForSelf("modelValue");return h?h[s]:null},isExist(){const h=e.getForSelf("modelValue");return h?Reflect.has(h,s):!1}};a.fieldName=s,a.validateHandler={getValue(h){return i.getValue()}};let c=pn({},o,a);r.validate=(h=null)=>{if(!i.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const u=[];let p=!1,b=!1;if(Array.isArray(h)&&h.indexOf(s)!==-1)b=!0,p=!0;else if(h&&typeof h=="object"){const w=h;Array.isArray(w.include)&&w.include.indexOf(s)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(s),b=!0,p=w.deep??!1}else typeof h=="boolean"&&(p=h),b=!0;if(b&&c){const w=c.validate();u.push(w)}if(p){let w=null;const v={deep:!1};if(h===!0)w={name:"*"};else if(Array.isArray(h)&&h.length>0){const S=h;w={name:f=>f?S.indexOf(f)!==-1:!1}}else if(h!=null&&typeof h=="object"){const S=h;if(Object.assign(v,S),Array.isArray(S.include)&&S.include.length>0){const f=S.include;w={name:k=>k?f.indexOf(k)!==-1:!1}}else if(Array.isArray(S.exclude)&&S.exclude.length>0){const f=S.exclude;w={name:k=>k?f.indexOf(k)===-1:!1}}else w={name:"*"}}if(w&&m){const S=m.emitToChildren(w,"validate",v);Reflect.apply([].push,u,S)}}return u.length==1?u[0]:u.length>1?Promise.all(u).then(w=>{let v=[];return w.forEach(S=>{S.pass===!1&&Array.isArray(S.errors)&&(v=[...v,...S.errors])}),v.length>0?{pass:!1,errors:v}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=h=>c?.setRule(h),r.setNameValidateRules=h=>{const u=h[s];u&&c?.setRule(u)};let m=mn(null,l,s,r);return(0,t.onUnmounted)(()=>{c=null,m=null}),{broadcast:m,validateSchema:c}}function pt(){let e=(0,t.getCurrentInstance)()?.proxy,n=new gr(e);return e[gn]=n,(0,t.onUnmounted)(()=>{n?.destroy(),e[gn]=void 0,n=null,e=null}),{emitEvent:(a,...l)=>{n&&Reflect.apply(n.emit,n,[a,...l])},onEvent:(a,l)=>{n&&Reflect.apply(n.on,n,[l])},offEvent:(a,l)=>{n&&Reflect.apply(n.off,n,[l])}}}var de=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${se(e)}px`:"",vs=de;function se(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(Xe){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),i=s.indexOf("px");i>0&&(r=Number(s.substring(0,i)))}return o*=r,o}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))*n;const l=Number(e);return isNaN(l)?0:l}function ks(e){return e?(e.endsWith("px")&&(e=e.substring(0,e.length-2)),parseFloat(e)):0}var Ze="PageStateKey";function Oe(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=se(e.top)),e.left!==null&&e.left!==void 0&&(n.left=se(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=se(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=se(e.right))),n}function Dl(e,n,a={},l=!0,o=-1,r=-1,s=0,i=0){if(e.headerHeight=se(a.headerHeight??n.headerHeight??-1),e.headerPadding=Oe(a.headerPadding??n.headerPadding),e.footerHeight=se(a.footerHeight??n.footerHeight??-1),e.footerPadding=Oe(a.footerPadding??n.footerPadding),e.contentPadding=Oe(a.contentPadding??n.contentPadding),l){const c=a.height??n.height;c?e.height=se(c,r):e.height=se(r)-se(s,r)-se(i,r),e.width=se(a.width??n.width??0,o)}}function Sr(e,n={}){const a={top:null,bottom:null,right:null,left: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=se(o.top),l.safeAreaBottom=se(o.bottom),l.safeAreaLeft=se(o.left),l.safeAreaRight=se(o.right));const r=e.get("pageLayout");if(!r)return null;Dl(l,r,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const s=(0,t.reactive)(l),i=e.getForParent(Ze);i&&(l.height=wn(e,i),l.width=Cn(e,i),(0,t.watch)([()=>wn(e,i),()=>Cn(e,i)],([m,h])=>{s.height=m,s.width=h}));const c=!i;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([m,h,u=-1,p=-1,b=0,w=0])=>{Dl(s,h,n,c,u,p,b,w)}),e.set(Ze,s),s}function Sn(e){return e.get(Ze)}function vn(e,n){if(n=n??e.get(Ze),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function kn(e,n){if(n=n??e.get(Ze),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function wn(e,n){if(n=n??e.get(Ze),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=vn(e,n),l=kn(e,n),o=se(n.contentPadding.top??0),r=se(n.contentPadding.bottom??0);return n.height-a-l-o-r}return 0}function Cn(e,n){if(n=n??e.get(Ze),n){const a=se(n.contentPadding.left??0),l=se(n.contentPadding.right??0);return n.contentInnerWidth??n.width-a-l}return 0}function ws(e){return!!e.getForParent(Ze)}var Il=Symbol.for("InnerPageScopeKey");function vr(e){(0,t.provide)(Il,e)}function Lt(e=!1){return(0,t.inject)(Il,e)}var ql=Symbol.for("AbstractPageScopeKey");function kr(e){(0,t.provide)(ql,e)}function Ot(e=!1){return(0,t.inject)(ql,e)}var at=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Nn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ve(e,n,a=at.Near,l){const o=Ge();return o==null?e:a===at.Parent?(0,t.computed)(()=>{const r=o.getAll(n);for(let i=r.length-1;i>=0;i--){const c=r[i];if(Nn(c,l))return c}const s=e.value;return Nn(s,l)?s:null}):(0,t.computed)(()=>{const r=e.value;if(Nn(r,l))return r;const s=o.getAll(n);for(let i=0;i<s.length;i++){const c=s[i];if(Nn(c,l))return c}return null})}function $e(e){return Ve(e,"readonly",at.Near)}function Ee(e){return Ve(e,"disabled",at.Near)}function Me(e,n="modelValue",a=null,l){const o=(0,t.toRef)(e,n);let r=o.value;typeof a=="function"&&(r=a(o.value));const s=(0,t.ref)(r);return(0,t.watch)(o,i=>{if(typeof a=="function"){const c=a(i);c!==s.value&&(s.value=c,l&&l("setValue",c))}else i!==s.value&&(s.value=i,l&&l("setValue",i))}),s}var wr=new Map,An=new Map,xl=null;function Cs(e){xl=e}function Cr(e,n,a){if(a){let l=An.get(a);l||(l=new Map,An.set(a,l)),l.set(e,n)}else wr.set(e,n)}function _e(e,n,a){!a&&xl&&(a=xl(e)??void 0);let l=null;if(a){let o=An.get(a);o&&(l=o.get(n))}return l||(l=wr.get(n)),l}function Ns(e,n){for(let a in e){const l=e[a];Cr(a,l,n)}}function As(e){An.delete(e)}function Bs(){return{top:0,left:0,bottom:0,right:0}}function Ts(){return Xe?{rootWidth:document.documentElement.clientWidth||document.body.clientWidth,rootHeight:document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{headerHeight:-1,footerHeight:-1}}}function Vs(e,n){let a=e;if(n.componentPrefix){const l=a.indexOf("-");l!==-1?a=`${n.componentPrefix}${a.slice(l)}`:a=`${n.componentPrefix}-${a}`}return fn(a)}var $s=class{packages;_version;get version(){return this._version}constructor(e,n){this.packages=e,this._version=n}install(e,n){n?.install!==!1&&this.packages.forEach(l=>{if(l.install)e.use(l,n);else if(l.name){const o=Vs(l.name,n);e.component(o,l)}});const a=ht();if(n.autoAdjustPageLayout!==!1&&window.ResizeObserver){const l={...n},o=Pe(()=>{const r={...l};this.updateLayout(r,a)},120);new window.ResizeObserver(o).observe(window.document.body)}this.updateLayout(n,a)}updateLayout(e,n){const a=e.headerBarHeight??0,l=e.footerBarHeight??0,o=dt({},Bs(),e.safeAreaInset),r=Ts(),s=dt({},r.pageLayout,e.pageLayout);n=n??ht(),n.set("safeAreaInset",o),n.set("headerBarHeight",a),n.set("footerBarHeight",l),n.set("pageLayout",s),n.set("rootWidth",r.rootWidth),n.set("rootHeight",r.rootHeight);const i=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const c in e)i.indexOf(c)===-1&&n.set(c,e[c])}setScopeGetter(e){Cs(e)}setAPI(e,n,a){Cr(e,n,a)}getAPI(e,n,a){return _e(e,n,a)}batchSetAPI(e,n){Ns(e,n)}clearScopeAPI(e){As(e)}getRootDomain(){return ht()}};function ee(e){const n=`fox-${e}`,a=fn(n);return{componentName:n,scope:e.replace("-",""),create(l){return l.baseName=e,l.name=a,l.install=(o,r)=>{let s=l.name;r?.componentPrefix&&(s=`${r.componentPrefix}-${l.baseName}`,s=fn(s)),o.component(s,l)},(0,t.defineComponent)(l)},createDemo(l){return l.baseName=e,l.name="demo-"+e,(0,t.defineComponent)(l)}}}var Es=(e,n)=>{let a=document.body;const l=e.teleport||"body";l!="body"&&(tr(l)?a=document.querySelector(l):a=e.teleport);const o=document.createElement("view");o.id=(n.name?n.name+"-":"")+(e.id||new Date().getTime());let r={};cn(n.wrapper)?r=n.wrapper(a,o):r=n.wrapper;const s=(0,t.createApp)(r,e),i=n.components;return i&&i.forEach(c=>{s.use(c)}),a.appendChild(o),{instance:s.mount(o),unmount:()=>{s.unmount(),a.removeChild(o)}}},Nr=(e,n)=>e?(0,t.h)(e,n):"";function Te(e,n=null){if(n||(n=(0,t.getCurrentInstance)()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}var pe={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}},ye={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}},Ar={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}},Br={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:()=>!1},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}},Tr=[];for(const e in Br)Tr.push(e);var Ds={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}},Is=(e,n)=>({inheritAttrs:!0,props:{...pe,...Ar,...Ds},setup(a,{slots:l}){const o=Ot(!1),r=Lt(!1),s=El(a.name,a);if(s){const u=Sr(s,a);Te({getPageContentHeight:()=>wn(s,u),getPageContentWidth:()=>Cn(s,u),getPageHeaderHeight:()=>vn(s,u),getPageFooterHeight:()=>kn(s,u)}),u&&r&&(u.contentHeight="100%")}const i=(0,t.computed)(()=>({[e]:!0,"is-inner":r})),c=(0,t.computed)(()=>({})),m=(0,t.getCurrentInstance)(),h=(u,p=!1)=>{const b=m?.proxy;b&&typeof b.setNameValidateRules=="function"&&b.setNameValidateRules(u,!0,p)};return(0,t.watch)([()=>a.rules,()=>a.pureDataRules],([u,p],[b,w])=>{if(u&&b){const v=(0,t.toRaw)(b),S=(0,t.toRaw)(u),f=S?Reflect.ownKeys(S):[];(v?Reflect.ownKeys(v):[]).forEach(k=>{f.includes(k)||(S[k]=[])}),h(S)}if(p&&w){const v=(0,t.toRaw)(w),S=(0,t.toRaw)(p),f=S?Reflect.ownKeys(S):[];(v?Reflect.ownKeys(v):[]).forEach(k=>{f.includes(k)||(S[k]=[])}),h(S,!0)}},{deep:!0}),(0,t.onMounted)(()=>{a.rules&&h((0,t.toRaw)(a.rules)),a.pureDataRules&&h((0,t.toRaw)(a.pureDataRules),!0)}),()=>o?l?.default?.():(0,t.h)("div",{class:i.value,style:c.value},[l?.default?.()])}}),{componentName:qs,create:xs,scope:Ps}=ee("page"),Ms=xs(Is(qs,Ps)),Pl=Ms;function Ml(e){const n=(0,t.unref)(e);return{width:n.offsetWidth,height:n.offsetHeight}}function Bn(e){const n=(0,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")),s=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-o,height:n.clientHeight-r-s}}var Vr={headerbar:{},radio:{},checkbox:{}};function zs(e){Object.assign(Vr,e)}function Tn(){return Vr}var Ls=(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},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=Ot(!1),i=Lt(!1),c=s?null:Ge(),m=c?Sn(c):null,h=Tn(),u=e,p=(0,t.computed)(()=>{const E={[u]:!0,[`${u}--border`]:o.border,[`${u}--fixed`]:o.fixed};return i||(E[`${u}--safe-area-inset-top`]=o.safeAreaInsetTop),E}),b=(0,t.computed)(()=>({[`${u}__inner`]:!0,[`${u}__inner--${o.align}`]:!0})),w=ze(o.height)?null:se(o.height),v=(0,t.computed)(()=>{const E={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s)return E;if(c&&m){const D=Oe(o.padding??m.headerPadding);if(Object.assign(E,D),ze(w)||(m.headerHeight=w),E.height=m.headerHeight,E.safeAreaTop=m.safeAreaTop===-1?0:m.safeAreaTop,E.safeAreaTop>0){const L=se(D.top??0);E.top=E.safeAreaTop+L,E.height&&E.height>0&&(E.height=E.height+E.safeAreaTop)}return E}if(ze(w)||(E.height=w),o.padding){const D=Oe(o.padding);Object.assign(E,D)}return E}),S=(0,t.ref)(null),f=()=>m&&S.value&&!Cl(S.value)?(l||(m.headerAllHeight=Ml(S.value).height),m.headerMounted=!0,!0):!1,k=Pe(f,120);let d=null;(0,t.onMounted)(()=>{s||m&&(Vl(f,50,5,50,!0),window.ResizeObserver&&S.value&&(d=new window.ResizeObserver(k),d.observe(S.value)))}),(0,t.onUnmounted)(()=>{s||m&&(m.headerMounted=!1,d&&(d.disconnect(),d=null))});const C=(0,t.computed)(()=>{const E={};return s||(v.value.height!==null&&v.value.height!==void 0&&(E.height=`${v.value.height}px`),v.value.top!==null&&v.value.top!==void 0&&(E.paddingTop=`${v.value.top}px`),v.value.left!==null&&v.value.left!==void 0&&(E.paddingLeft=`${v.value.left}px`),v.value.right!==null&&v.value.right!==void 0&&(E.paddingRight=`${v.value.right}px`),v.value.bottom!==null&&v.value.bottom!==void 0&&(E.paddingBottom=`${v.value.bottom}px`)),E}),N=(0,t.computed)(()=>{const E=v.value?.height;return ze(E)||E<0?!0:E>0});function g(){r.emit("back")}function y(){r.emit("click-title")}function B(){r.emit("click-right")}function T(){r.emit("click-right-text")}const $=()=>{if(!o.leftShow)return null;const E=[];if(r.slots.left)E.push(r.slots.left());else{if(r.slots.leftIcon){const D=(0,t.h)("view",{class:"left-icon",onClick:g},[r.slots.leftIcon()]);E.push(D)}else{const D=o.leftIcon??h.headerbar.Left??a,L=(0,t.h)("view",{class:"left-icon",onClick:g},[(0,t.h)(D)]);E.push(L)}if(o.leftText){const D=(0,t.h)("view",{class:"left-text",onClick:g},[o.leftText]);E.push(D)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},E)},V=()=>{if(!o.rightShow)return null;const E=[];if(r.slots.right)E.push(r.slots.right());else{if(o.rightText){const D=(0,t.h)("view",{class:"right-text",onClick:T},[o.rightText]);E.push(D)}if(r.slots.rightIcon){const D=(0,t.h)("view",{class:"right-icon",onClick:B},[r.slots.rightIcon()]);E.push(D)}else if(o.rightIcon){const D=(0,t.h)("view",{class:"right-icon",onClick:B},[(0,t.h)(o.rightIcon)]);E.push(D)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},E)},W=()=>{if(!o.titleShow)return null;const E=[],D=r.slots.default?r.slots.default():null;if(D)E.push(D);else{if(o.title){const L=(0,t.h)("view",{class:"title-text"},[o.title]);E.push(L)}if(r.slots.titleIcon){const L=(0,t.h)("view",{class:"title-icon",onClick:y},[r.slots.titleIcon()]);E.push(L)}else if(o.titleIcon){const L=(0,t.h)("view",{class:"title-icon",onClick:y},[(0,t.h)(o.titleIcon)]);E.push(L)}}return E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},E)},_=()=>{const E=[],D=r.slots.bottom?r.slots.bottom():null;return D&&E.push(D),E.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},E)};return()=>{if(s||!N.value)return null;const E=[];if(r.slots.all)E.push(r.slots.all());else{const D=[],L=$();L&&D.push(L);const M=W();M&&D.push(M);const R=V();if(R&&D.push(R),D.length>0){const q=(0,t.h)("view",{class:b.value},D);E.push(q)}const K=_();K&&E.push(K)}return E.length===0?null:(0,t.h)("view",{class:p.value,style:C.value,ref:S},E)}}}),{componentName:Os,create:Rs,scope:Fs}=ee("header-bar"),Ks=Rs(Ls(Os,Fs,ae.Left,!1)),zl=Ks;function Us(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=Ot(!1),s=Lt(!1),i=r?null:Ge(),c=i?Sn(i):null,m=e,h=(0,t.computed)(()=>{const d={[m]:!0,[`${m}--${l.align}`]:!0,[`${m}--border`]:l.border,[`${m}--fixed`]:l.fixed};return s||(d[`${m}--safe-area-inset-bottom`]=l.safeAreaInsetBottom),d}),u=ze(l.height)?null:se(l.height),p=(0,t.computed)(()=>{const d={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r)return d;if(i&&c){const C=Oe(l.padding??c.footerPadding);if(Object.assign(d,C),ze(u)||(c.footerHeight=u),d.height=c.footerHeight,d.safeAreaBottom=c.safeAreaBottom===-1?0:c.safeAreaBottom,d.safeAreaBottom>0){const N=se(C.bottom??0);d.bottom=d.safeAreaBottom+N,d.height&&d.height>0&&(d.height=d.height+d.safeAreaBottom)}return d}if(ze(u)||(d.height=u),l.padding){const C=Oe(l.padding);Object.assign(d,C)}return d}),b=(0,t.computed)(()=>{const d=p.value?.height;return ze(d)||d<0?!0:d>0}),w=(0,t.ref)(null),v=()=>c&&w.value&&!Cl(w.value)?(a||(c.footerAllHeight=Ml(w.value).height),c.footerMounted=!0,!0):!1,S=Pe(v,120);let f=null;(0,t.onMounted)(()=>{r||c&&(Vl(v,50,5,50,!0),window.ResizeObserver&&(f=new window.ResizeObserver(S),f.observe(w.value)))}),(0,t.onUnmounted)(()=>{r||c&&(c.footerMounted=!1,f&&(f.disconnect(),f=null))});const k=(0,t.computed)(()=>{const d={};return r||(p.value.height!==null&&p.value.height!==void 0&&(d.height=de(p.value.height)),p.value.top!==null&&p.value.top!==void 0&&(d.paddingTop=de(p.value.top)),p.value.left!==null&&p.value.left!==void 0&&(d.paddingLeft=de(p.value.left)),p.value.right!==null&&p.value.right!==void 0&&(d.paddingRight=de(p.value.right)),p.value.bottom!==null&&p.value.bottom!==void 0&&(d.paddingBottom=de(p.value.bottom))),d});return()=>{if(r||!b.value)return null;const d=o.slots.default?o.slots.default():[];return(0,t.h)("view",{ref:w,class:h.value,style:k.value},d)}}}}var{componentName:Hs,create:js,scope:Ws}=ee("footer-bar"),Ys=js(Us(Hs,Ws,!1)),Ll=Ys;function Xs(e,n){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(a,{slots:l,attrs:o}){const r=Ot(!1),s=Lt(!1),i=r?null:Ge(),c=(0,t.computed)(()=>({[e]:!0})),m=i?Sn(i):null,h=(0,t.computed)(()=>{const v={};if(r)return v;if(i&&m){if(a.padding){const y=Oe(a.padding);Object.assign(m.contentPadding,y)}const S=vn(i,m),f=kn(i,m);let k="";m.contentHeight?k=`${m.contentHeight}`:k=`${m.height}px`,console.debug("[content]page height:",k),console.debug("[content]header height:",S),console.debug("[content]footer height:",f),console.debug("[content]padding:",m.contentPadding),v.height=k;let d=se((m&&m.contentPadding&&m.contentPadding.top)??-1);(d>=0||S>0)&&(d=d<0?0:d,v.paddingTop=`${S+d}px`);let C=se((m&&m.contentPadding&&m.contentPadding.bottom)??-1);(C>=0||f>0)&&(C=C<0?0:C,v.paddingBottom=`${f+C}px`);const N=se((m&&m.contentPadding&&m.contentPadding.left)??-1);N>=0&&(v.paddingLeft=`${N}px`);const g=se((m&&m.contentPadding&&m.contentPadding.right)??-1);return g>=0&&(v.paddingRight=`${g}px`),v}if(a.padding){const S=Oe(a.padding);S.left&&(v.paddingLeft=`${S.left}px`),S.top&&(v.paddingTop=`${S.top}px`),S.right&&(v.paddingRight=`${S.right}px`),S.bottom&&(v.paddingBottom=`${S.bottom}px`)}return v}),u=(0,t.ref)(null),p=()=>{if(m&&u.value){const v=Bn(u.value);m.contentInnerHeight=v.height,m.contentInnerWidth=v.width}},b=Pe(p,120);let w=null;return(0,t.onMounted)(()=>{s||r||(requestAnimationFrame(p),window.ResizeObserver&&u.value&&(w=new window.ResizeObserver(b),w.observe(u.value)))}),(0,t.onUnmounted)(()=>{s||r||w&&(w.disconnect(),w=null)}),()=>r?l.default?.():(0,t.h)(a.tag??"view",{...o,ref:u,class:c.value,style:h.value},l)}}}var{componentName:Qs,create:Gs,scope:Zs}=ee("content"),_s=Gs(Xs(Qs,Zs)),Ol=_s,gt="GroupStateKey",$r=Symbol.for("GroupScopeKey");function Vn(){return(0,t.inject)($r,!1)}function $n(e=!0){(0,t.provide)($r,e)}function Js(e,n={}){Reflect.ownKeys(n).forEach(a=>{if(typeof a!="string")return;const l=n[a];ze(l)||(e[a]=l)})}function ec(e,n={}){const a={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Js(a,n);const l=(0,t.markRaw)({layout:(0,t.shallowRef)(a),passport:0,order:{index:0}});return e.set(gt,l),l}function Rl(e,n,a=-1,l=-1,o=!1,r,s,i){const c=e.get(gt);if(!c)return;const m=e.get("groupLayout")??{};a===-1&&(a=m.column??1),l===-1&&(l=m.gutter??0),r||(r=m.minItemWidth??-1),s||(s=m.maxItemWidth??-1);const h=se(r),u=se(s);i||(i=m.type??"grid");const p=()=>{const b=n===""||n===-1,w=se(n);let v=me(a);const S=se(l);if(!b){let d=(w-(v-1)*S)/v;for(;u!==-1&&d>u;)v++,d=(w-(v-1)*S)/v;for(;h!==-1&&v>1&&d<h;)v--,d=(w-(v-1)*S)/v}let f=!1;const k=c.layout;k.value.width=n,k.value.column!==v&&(k.value.column=v,f=!0),k.value.gutter!==S&&(k.value.gutter=S,f=!0),k.value.type!==i&&(k.value.type=i,f=!0),f&&(0,t.triggerRef)(k)};if(o)p();else{const b=++c.passport;setTimeout(()=>{b===c.passport&&p()},50)}}function En(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.layout}function Dn(e,n=!1){let a;return n?a=e.getForParent(gt):a=e.get(gt),a.order}function Er(e,n=1){if(n==="stretch")return-1;const a=me(n);return a===-1?100:100*a/e}function In(e,n,a=1,l=0,o){const r={};let s=0;o?s=se(o):s=Er(n.column,a),s>0&&(r.width=`${s}%`);const i=Er(n.column,l);i>0&&(r["margin-left"]=`${i}%`);const c=se(n.gutter)/2;return c>0&&(r["padding-left"]=`${c}px`,r["padding-right"]=`${c}px`),r}function qn(e,n,a=1,l=0){if(a==="stretch"){const c=e.index%n.column,m=c+(n.column-c);return e.index=e.index+(m-c),{"grid-column":`${c+1} / -1`}}let o=me(a);if(o===-1){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}if(o>n.column){const c=e.index%n.column;return n.column,c==0?e.index=e.index+n.column:e.index=e.index+(n.column-c)+n.column,{"grid-column":"1 / -1"}}const r=me(l)%n.column;let s=(e.index+r)%n.column,i=s+o;return i>n.column?(s=0,i=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 Dr=Symbol("RollingStateKey");function tc(e){(0,t.provide)(Dr,e)}function nc(){return(0,t.inject)(Dr,null)}function Fl(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const l=parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-l-o}else n=e.offsetHeight;return n}function lc(e){let n=Fl(e);if(n<=0){const a=e.cloneNode(!0);a.style=`width: ${e.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(a),n=Fl(a),document.body.removeChild(a)}return n}function ac(e,n,a){const l=typeof e=="number"?e:parseInt(e),o=typeof n=="number"?n:parseInt(n),r=typeof a=="number"?a:parseInt(a);if(l<=0)return"1fr";const s=(l-(o-1)*r)/o;return s>0?`${s}px`:"1fr"}function Ir(e){const n=[];return e.forEach(a=>{a.type===t.Fragment&&Array.isArray(a.children)?n.push(...Ir(a.children)):n.push(a)}),n}function oc(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function Kl(e){function n(){return Ir(e?.()??[]).filter(oc)}return{getChildren:n}}var rc={...pe,...Ar,...Br};function ic(e,n,a){return{props:rc,emits:["update:collapse","header-click"],setup(l,o){const r=El(l.prop??l.name,l,Tr),s=ec(r,{type:l.type}),i=Vn();$n(!0);const c=l.rollingDisplay?nc():null,m=(0,t.ref)(null),h=(0,t.computed)(()=>l.rollingDisplay?c&&!c.disabled:!1),u=(0,t.computed)(()=>i&&r?En(r,!0).value:null),p=(0,t.getCurrentInstance)(),b=(P,j=!1)=>{const x=p?.proxy;x&&typeof x.setNameValidateRules=="function"&&x.setNameValidateRules(P,!0,j)};(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([P,j],[x,I])=>{if(P&&x){const Y=(0,t.toRaw)(x),Z=(0,t.toRaw)(P),le=Z?Reflect.ownKeys(Z):[];(Y?Reflect.ownKeys(Y):[]).forEach(re=>{le.includes(re)||(Z[re]=[])}),b(Z)}if(j&&I){const Y=(0,t.toRaw)(I),Z=(0,t.toRaw)(j),le=Z?Reflect.ownKeys(Z):[];(Y?Reflect.ownKeys(Y):[]).forEach(re=>{le.includes(re)||(Z[re]=[])}),b(Z,!0)}},{deep:!0});const w=e,v=(0,t.computed)(()=>{const P={};if(P.height=D.value,l.width)l.width!=="auto"&&(P.width=de(l.width));else{const j=i?Dn(r,!0):null;if(u.value&&j){if(u.value.type==="grid"){const x=qn(j,u.value,l.span,l.offset);Object.assign(P,x)}else if(u.value.type==="flow"){const x=In(j,u.value,l.span,l.offset,l.width);Object.assign(P,x)}}}return P}),S=(0,t.computed)(()=>{const P=s.layout.value.type;return P==="grid"||P==="flow"?{[`${w}--${P}`]:!0,[`${w}--${P}-justify-${l.justify}`]:!0,[`${w}--${P}-align-${l.align}`]:!0,[`${w}--gutter`]:!0}:{[`${w}--${P}`]:!0,[`${w}--gutter`]:!0}}),f=(0,t.computed)(()=>{if(s.layout.value.type==="grid"){let P="";if(l.columnWidth)P=`repeat(auto-fill, ${l.columnWidth})`;else{const j=ac(B.value,s.layout.value.column,s.layout.value.gutter);P=`repeat(${s.layout.value.column}, ${j})`}return{"column-gap":`${s.layout.value.gutter}px`,"grid-template-columns":P}}}),k=(0,t.toRef)(l,"gutter"),d=(0,t.toRef)(l,"column"),C=(0,t.computed)(()=>i||h.value?!0:Se(l.isWrap)),N=[],g=P=>{N.push(P)},y=()=>{let P=N.length;N.splice(0,P)},B=(0,t.ref)(-1),T=P=>{const j=Bn(P).width;j>0&&j!==B.value&&(B.value=j)};Rl(r,B.value,d.value,k.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&(0,t.watch)([B,d,k],([P,j,x])=>{s.order.index=0,Rl(r,P,j,x,!1,l.minItemWidth,l.maxItemWidth,l.type)});const $=(0,t.computed)(()=>L.value?l.expandText??"":l.collapseText??""),V=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),W=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!L.value,"is-collapse":L.value})),_=(0,t.ref)(),E=(0,t.ref)(),D=(0,t.computed)(()=>M.value||de(l.height)||""),L=(0,t.ref)(!1),M=(0,t.ref)(""),R=(0,t.ref)(!1);let K=-1;const q=(P,j=!0)=>{const x=_.value;if(x&&L.value!==P){if(K=K<=0?lc(x):K,R.value=!0,j)if(x.style["will-change"]="height",x.ontransitionend=function(){x.ontransitionend=null,this.style["will-change"]="auto",P||(M.value="",R.value=!1)},P){let I=0;l.collapseHeight?I=l.collapseHeight:E.value&&E.value.classList.contains(`${e}__header`)&&(I=E.value.offsetHeight),M.value=`${K}px`,(0,t.nextTick)(()=>{M.value=`${I}px`})}else M.value=`${K}px`;else if(P){let I=0;l.collapseHeight?I=l.collapseHeight:E.value&&E.value.classList.contains(`${e}__header`)&&(I=E.value.offsetHeight),M.value=`${I}px`}else R.value=!1,M.value=`${K}px`;L.value=P,o.emit("update:collapse",P)}};(0,t.watch)(()=>l.collapse,P=>{q(P)});const G=P=>{o.emit("header-click",P)},ne=()=>{O()},O=P=>{P=P??!L.value,q(P)};Te({toggleCollapse:O,doLayout:()=>{N[0]&&(T(N[0]),Rl(r,B.value,d.value,k.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let z=null,Q=!0;const F=P=>{if(l.rules&&b((0,t.toRaw)(l.rules)),l.pureDataRules&&b((0,t.toRaw)(l.pureDataRules),!0),!!Xe&&(P&&q(Se(l.collapse),!1),l.autoLayout&&Array.isArray(N)&&N.length>0)){const j=N[0];if(T(j),window.ResizeObserver){const x=Pe(()=>T(j),120);z=new window.ResizeObserver(x),z.observe(j)}}},H=()=>{z?.disconnect(),z=null},J=!h.value||c?.acquire();J&&(m.value=h.value?!0:null),(0,t.onMounted)(()=>{if(J&&(F(Q),Q=!1),h.value&&c){let P=null,j=c.initialHeight;c.observe(_.value,x=>{if(x!==m.value)if(x)m.value=!0,L.value||(M.value=""),P=setTimeout(()=>{P=null,m.value!==!1&&(F(Q),Q=!1)},100);else{if(P!==null&&clearTimeout(P),m.value=!1,!L.value)if(Q)M.value=c.initialHeight;else{let I=Fl(_.value);I<=0?M.value=j:(M.value=`${I}px`,j=M.value)}Q||H()}})}}),(0,t.onUnmounted)(()=>{z?.disconnect(),c&&c.unobserve(_.value)});const X=(P="right")=>{const j=[];if($.value){const Y=(0,t.h)("span",{class:V.value},[$.value]);j.push(Y)}const x={class:W.value},I=(0,t.h)(l.collapseIcon??a,x);return j.push(I),j.length>0?(0,t.h)("div",{class:{[`${w}__header-collapse`]:!0,[`is-${P}`]:!0},onClick:ne},j):null},te=(P,j,x,I)=>{const Y={...S.value};if(j===0&&(Y[`${w}__first`]=!0),x>=I-1&&(Y[`${w}__last`]=!0),C.value===!1){const Z=o.attrs.class;Z&&(Y[`${Z}`]=!0)}return(0,t.h)("div",{ref:g,key:`${j}`,class:Y,style:f.value},P)};return()=>{const P=l.prop??l.name;if(h.value&&m.value!==!0)return(0,t.h)(l.tag||"div",{ref:_,prop:P,class:{[`${w}`]:!0,"is-collapse":R.value},style:v.value},[]);s.order.index=0;const j=[];let x=0;if(o.slots.header){const le=(0,t.h)("div",{key:`${x++}`,ref:E,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:G},[o.slots.header()]);j.push(le)}else{const le=[],re=l.collapsePosition==="left";if(re&&l.showCollapse){const ce=X("left");ce&&le.push(ce)}if(l.title||o.slots.title){if(l.showMark){const ce={class:{[`${w}__header-mark`]:!0}};l.markColor&&(ce.style={background:l.markColor});const ke=(0,t.h)("div",ce);le.push(ke)}if(o.slots.title){const ce=(0,t.h)("div",{class:{[`${w}__header-title`]:!0}},[o.slots.title()]);le.push(ce)}else if(l.title){const ce=(0,t.h)("div",{class:{[`${w}__header-title`]:!0}},[l.title]);le.push(ce)}}if(o.slots.toolbar&&le.push(o.slots.toolbar()),!re&&l.showCollapse){const ce=X("right");ce&&le.push(ce)}if(le.length>0){const ce=(0,t.h)("div",{key:`${x++}`,ref:E,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:G},le);j.push(ce)}}y();const{getChildren:I}=Kl(o.slots.default),Y=I(),Z=s.layout.value.type;if(Z==="grid"){const le=te(Y,x++,0,Y.length);j.push(le)}else if(Z==="flow"){const le=te(Y,x++,0,Y.length);j.push(le)}else for(let le=0;le<Y.length;le++){const re=Y[le],ce=te([re],x++,le,Y.length);j.push(ce)}return C.value?(0,t.h)(l.tag||"div",{ref:_,prop:P,class:{[`${w}`]:!0,"is-collapse":R.value},style:v.value},[j]):j}}}}var{componentName:sc,create:cc,scope:uc}=ee("group"),dc=cc(ic(sc,uc,ae.RectUp)),Ul=dc;function fc(e){return e===window}var mc=/matrix\((.+)\)/,Hl=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(fc(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,s=0,i=0,c=0;for(o=n;o!==document;){s+=o.scrollTop,r+=o.scrollLeft;const{transform:m}=window.getComputedStyle(o);if(m){const h=mc.exec(m);if(h){let u=h[1].split(/\s*,\s*/);u.length==6&&(i+=Number(u[4]),c+=Number(u[5]))}}o=o.parentNode}return a-=r,l-=s,a+=i,l+=c,{x:a,y:l}},hc=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{}})}},pc=class{monitorRegister=new WeakMap;watch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let o=this.monitorRegister.get(a);o||(o=new hc,a.addEventListener("scroll",o.listen),a===document.body&&a.addEventListener("resize",o.listen),this.monitorRegister.set(a,o)),o.add(n),a=a.parentNode}}unwatch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let o=this.monitorRegister.get(a);o&&(o.remove(n),o.size()===0&&(this.monitorRegister.delete(a),a.removeEventListener("scroll",o.listen),a===document.body&&a.removeEventListener("resize",o.listen))),a=a.parentNode}}},Rt=new pc,qr={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:gc,create:yc}=ee("price"),bc=yc({props:{...qr},setup(e){const n=(0,t.computed)(()=>({[gc]:!0})),a=(0,t.computed)(()=>e.needSymbol?e.symbol:""),l=(0,t.computed)(()=>ve(e.price)==0?"":rn(e.price,e.decimalLength,!0,me(e.digits),e.separator));return{classes:n,showSymbol:a,intText:(0,t.computed)(()=>{let o=l.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(0,r)}),decimalText:(0,t.computed)(()=>{let o=l.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(r+1)})}}}),oe=(e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a},Sc=["innerHTML"],vc=["innerHTML"];function kc(e,n,a,l,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,Sc)):(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,vc)):(0,t.createCommentVNode)("",!0)],2)}var xn=oe(bc,[["render",kc]]),{componentName:jl,create:wc}=ee("hint-text"),Cc=wc({components:{Price:xn},props:{...qr,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=(0,t.ref)({top:null,right:null,bottom:null,left:null}),l=(0,t.ref)({x:0,y:0}),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(e.placement),i=(0,t.ref)(!1),c=(0,t.ref)(null),m=(V,W,_,E,D,L)=>{const M=document.documentElement.clientWidth||document.body.clientWidth,R=document.documentElement.clientHeight||document.body.clientHeight,K=V.split("-");let q=[];K[0]==="top"?q=["top","bottom","right","left"]:K[0]==="bottom"?q=["bottom","top","right","left"]:K[0]==="left"?q=["left","top","bottom","right"]:K[0]==="right"&&(q=["right","top","bottom","left"]);const G={top:null,right:null,bottom:null,left:null},ne=[];for(let O=0;O<q.length;O++){const U=q[O];if(ne[0]=U,K[1]&&(ne[1]=K[1]),U==="top"){const z=W.y-L-e.arrowSize-e.offset;if(z>=0){G.top=z;let Q=0;K[1]==="start"?Q=W.x:K[1]==="end"?Q=W.x+_-D:Q=W.x+_/2-D/2;const F=M-Q-D;F<0?(Q+=F,u.value=-F):u.value=0,G.left=Q<0?0:Q;break}}else if(U==="bottom"){const z=W.y+E+e.arrowSize+e.offset;if(z+L<=R){G.top=z;let Q=0;K[1]==="start"?Q=W.x:K[1]==="end"?Q=W.x+_-D:Q=W.x+_/2-D/2;const F=M-Q-D;F<0?(Q+=F,u.value=-F):u.value=0,G.left=Q<0?0:Q;break}}else if(U==="left"){const z=W.x-D-e.arrowSize-e.offset;if(z>=0){G.left=z;let Q=0;K[1]==="start"?Q=W.y:K[1]==="end"?Q=W.y+E-L:Q=W.y+E/2-L/2,G.top=Q<0?0:Q;break}}else if(U==="right"){const z=W.x+_+e.arrowSize+e.offset;if(z+D<=M){G.left=z;let Q=0;K[1]==="start"?Q=W.y:K[1]==="end"?Q=W.y+E-L:Q=W.y+E/2-L/2,G.top=Q<0?0:Q;break}}}return{bestPlacement:ne.join("-"),bestInsetRect:G}},h=(V,W,_=10)=>{if(!Xe||W===!1||!V)return;l.value=Hl(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const E=c.value.offsetHeight,D=c.value.offsetWidth,{bestPlacement:L,bestInsetRect:M}=m(e.placement,l.value,o.value,r.value,D,E);s.value=L,a.value=M,i.value=!0},u=(0,t.ref)(0),p=Pe(()=>{h(e.message,e.visible)},10),b=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,V=>{b.value=V});const w=(0,t.computed)(()=>b.value&&v.value),v=(0,t.ref)(!0),S=Pe(V=>{const W=V[0];W&&(v.value=W.isIntersecting)},10),f=new IntersectionObserver(S);(0,t.watch)([()=>e.message,()=>e.visible],([V,W])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Rt.watch(e.reference,p),f.observe(e.reference)}),(0,t.onBeforeUnmount)(()=>{Rt.unwatch(e.reference,p),f.unobserve(e.reference),f.disconnect()});const k=(0,t.computed)(()=>{const V={[jl]:!0};return s.value.startsWith("top")?V["is-top"]=!0:s.value.startsWith("right")?V["is-right"]=!0:s.value.startsWith("bottom")?V["is-bottom"]=!0:s.value.startsWith("right")&&(V["is-right"]=!0),e.size==="small"?V["is-small"]=!0:e.size==="large"&&(V["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(V[`${e.customClass}`]=!0),V}),d=(0,t.computed)(()=>{const V={};return a.value.top!==null&&(V.top=`${a.value.top}px`),a.value.right!==null&&(V.right=`${a.value.right}px`),a.value.bottom!==null&&(V.bottom=`${a.value.bottom}px`),a.value.left!==null&&(V.left=`${a.value.left}px`),e.autoFit&&(V["min-width"]=`${o.value}px`),V["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,i.value&&(V.opacity="1"),e.transition||(V.transition="none"),e.zIndex&&(V["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(V,e.customStyle),V}),C=(0,t.computed)(()=>{const V=[`${jl}__content`];return e.customTextClass&&V.push(e.customTextClass),V}),N=(0,t.computed)(()=>{const V={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(V,e.customTextStyle),V}),g=(0,t.computed)(()=>({[`${jl}__arrow`]:!0})),y=(0,t.computed)(()=>{const V={};return e.showArrow?(V.width=`${e.arrowSize}px`,V.height=`${e.arrowSize}px`,s.value==="top"?(V.left="50%",V.bottom=`-${e.arrowSize}px`,V.transform=" translate(-50%, 0%)"):s.value==="top-start"?(V.left=`${e.arrowOffset+u.value}px`,V.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(V.right=`${e.arrowOffset-u.value}px`,V.bottom=`-${e.arrowSize}px`):s.value==="right"?(V.left=`-${e.arrowSize}px`,V.top="50%",V.transform=" translate(0%, -50%)"):s.value==="right-start"?(V.left=`-${e.arrowSize}px`,V.top=`${e.arrowOffset}px`):s.value==="right-end"?(V.left=`-${e.arrowSize}px`,V.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(V.left="50%",V.top=`-${e.arrowSize}px`,V.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(V.left=`${e.arrowOffset+u.value}px`,V.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(V.right=`${e.arrowOffset-u.value}px`,V.top=`-${e.arrowSize}px`):s.value==="left"?(V.right=`-${e.arrowSize}px`,V.top="50%",V.transform=" translate(0%, -50%)"):s.value==="left-start"?(V.right=`-${e.arrowSize}px`,V.top=`${e.arrowOffset}px`):s.value==="left-end"&&(V.right=`-${e.arrowSize}px`,V.bottom=`-${e.arrowOffset}px`),V):{display:"none"}}),B=(0,t.computed)(()=>w.value&&e.closeOnClick),T=(0,t.computed)(()=>{const V={};return e.zIndex&&(V["z-index"]=`${e.zIndex}`),V});return{show:w,tipRef:c,classes:k,styles:d,textClasses:C,textStyles:N,arrowClasses:g,arrowStyles:y,overlayShow:B,overlayStyle:T,onClickOverlay:()=>{b.value=!1,n.emit("update:visible",!1)}}}}),Nc=["innerHTML"];function Ac(e,n,a,l,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]=(...i)=>e.onClickOverlay&&e.onClickOverlay(...i))},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,Nc))],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 xr=oe(Cc,[["render",Ac]]),Pn=class{seed=0;constructor(e){this.seed=e??new Date().getTime()}get(){let e=this.seed++;return this.seed<0&&(this.seed=0),e}},Wl={},Bc=new Pn,yt=new Map,Mn=e=>{if(e){const n=document.getElementById(e);yt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of yt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}yt.clear()}},Tc=e=>{e.unmount=Mn;const n=document.getElementById(e.id);if(n){const a=yt.get(e.id);return a?e={...Wl,...a,...e}:e={...Wl,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(xr,e),n),e.id}},Vc=e=>{e.unmount=Mn;let n=e.id??`hinttext_${Bc.get()}`;e={...Wl,...e},e.id=n,yt.set(n,e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(xr,e),a),document.body.appendChild(a),n},$c=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},bt={show(e,n,a={},l=!0){$c(n);const o=a.id;return o&&yt.has(o)?Tc({...a,message:n,reference:e}):(l&&Mn(),Vc({...a,message:n,reference:e}))},hide(e){Mn(e)},install(e){e.config.globalProperties.$hintText=bt}};function Ec(e,n,a,l=!1){return{inheritAttrs:!0,props:{...pe,...ye},emits:["appear","disappear"],setup(o,r){const s=o.prop??r.attrs.name;Be({componentName:e,validate:!1},s);const i=Ge(),c=Vn();$n(!1);const m=(0,t.computed)(()=>c&&i?En(i,!1).value:null),h=e,u=(0,t.ref)(null),p=(0,t.computed)(()=>{const I={[h]:!0,[`${h}__gutter`]:m.value&&m.value.type!=="flow",[`${h}__stretch`]:o.span==="stretch",[`${h}__input--border`]:Se(o.hasBorder)};if(I[o.errorMarkClass]=!!L.value,I[o.warnMarkClass]=!!E.value,I[o.infoMarkClass]=!!W.value,typeof u.value=="function"){const Y=u.value(s);I[Y]=!0}else if(typeof u.value=="string"){const Y=u.value;I[Y]=!0}return I}),b=(0,t.ref)(null),w=(0,t.computed)(()=>{const I={};if(o.width)o.width!=="auto"&&(I.width=de(o.width));else{const Y=c&&i?Dn(i,!1):null;if(m.value&&Y){if(m.value.type==="grid"){const Z=qn(Y,m.value,o.span,o.offset);Object.assign(I,Z)}else if(m.value.type==="flow"){const Z=In(Y,m.value,o.span,o.offset,o.width);Object.assign(I,Z)}}}if(typeof b.value=="function"){const Y=b.value(s);Y&&Object.assign(I,Y)}else if(b.value&&typeof b.value=="object"){const Y=b.value;Object.assign(I,Y)}return I}),v=(0,t.ref)(null),S=(0,t.computed)({get:()=>v.value??Se(o.isRequired),set:I=>{v.value=I}}),f=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",k=Ve((0,t.toRef)(o,"labelPosition"),"labelPosition",at.Near),d=(0,t.computed)(()=>k&&k.value==="top"?"top":k&&k.value==="right"?"right":"left"),C=(0,t.computed)(()=>({[`${h}__main`]:!0,[`${h}__main--${d.value}`]:!0})),N=(0,t.computed)(()=>({label:!0,[`label--${d.value}`]:!0})),g=Ve((0,t.toRef)(o,"labelWidth"),"labelWidth",at.Near),y=(0,t.computed)(()=>g&&g.value?{width:de(g.value)}:{}),B=(0,t.computed)(()=>({"label--string":!0,"label--required":S.value})),T=(0,t.computed)(()=>({content:!0,[o.contentClass]:!0})),$=(0,t.computed)(()=>({...o.contentStyle})),V=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});Te({setRequired(I){S.value=I},setErrorTip(I){V.errorTip=I},setErrorIcon(I){V.errorIcon=I},setWarnTip(I){V.warnTip=I},setWarnIcon(I){V.warnIcon=I},setInfoTip(I){V.infoTip=I},setInfoIcon(I){V.infoIcon=I},setCustomClassName(I){u.value=I},setCustomStyle(I){b.value=I}});const W=(0,t.computed)(()=>o.infoTip||V.infoTip),_=(0,t.computed)(()=>o.infoIcon||V.infoIcon),E=(0,t.computed)(()=>o.warnTip||V.warnTip),D=(0,t.computed)(()=>o.warnIcon||V.warnIcon),L=(0,t.computed)(()=>o.errorTip||V.errorTip),M=(0,t.computed)(()=>o.errorIcon||V.errorIcon),R=(0,t.computed)(()=>L.value?"error":E.value?"warn":W.value?"info":""),K=()=>R.value.length>0,q=(0,t.computed)(()=>R.value==="error"?L.value:R.value==="warn"?E.value:R.value==="info"?W.value:""),G=(0,t.computed)(()=>R.value==="error"?M.value:R.value==="warn"?D.value:R.value==="info"?_.value:null),ne=(0,t.computed)(()=>{const I={[`${h}__tip`]:!0,[`${h}__tip--${R.value}`]:!0,[`${h}--animate`]:!0};return R.value==="error"&&o.errorClass?I[`${o.errorClass}`]=!0:R.value==="warn"&&o.warnClass?I[`${o.warnClass}`]=!0:R.value==="info"&&o.infoClass&&(I[`${o.infoClass}`]=!0),I}),O=(0,t.computed)(()=>{const I={};return k&&k.value==="top"||!f()?I["padding-left"]="0px":g&&g.value&&(I["padding-left"]=de(g.value)),I}),U=(0,t.ref)();let z="";(0,t.watch)([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([I,Y,Z,le])=>{U.value&&(I&&!ue(Y)?z?a.show(U.value,Y,{...le,id:z,type:Z},!0):z=a.show(U.value,Y,{...le,type:Z},!0):a.hide(z))});let Q=null;const F=()=>{Q||!U.value||(Q=new IntersectionObserver(I=>{let Y=!1;for(let Z of I)if(Z.intersectionRatio>0){Y=!0,Y&&r.emit("appear",Z);break}Y||r.emit("disappear")}),Q.observe(U.value))},H=()=>{!Q||!U.value||(Q.unobserve(U.value),Q=null)};(0,t.watch)(()=>Se(o.appearListen),I=>{I?F():H()}),(0,t.onMounted)(()=>{Se(o.appearListen)&&F()}),(0,t.onUnmounted)(H);const J=()=>{if(!f())return null;const I=[],Y=r.slots?.label?.()??o.label,Z=(0,t.h)("div",{class:B.value},[Y]);if(I.push(Z),r.slots.fixedPreTip){const le=r.slots.fixedPreTip();I.push(le)}return(0,t.h)("div",{class:N.value,style:y.value},I)},X=()=>{const I=[];if(r.slots.prepend){const Y=r.slots.prepend();I.push(Y)}if(r.slots.default){const Y=r.slots.default();I.push(Y)}if(r.slots.append){const Y=r.slots.append();I.push(Y)}if(r.slots.fixedTip){const Y=(0,t.h)("div",{class:[`${h}__fixed-tip`]},[r.slots.fixedTip()]);I.push(Y)}return(0,t.h)("div",{ref:U,class:T.value,style:$.value},I)},te=()=>{const I=G.value;return I?typeof I=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[I()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(I)]):null},P=()=>{const I=q.value;return I?typeof I=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[I()]):(0,t.h)("div",{class:"fox-item__tip--text"},[I]):null},j=()=>{if(!K())return null;const I=[],Y=te();Y&&I.push(Y);const Z=P();return Z&&I.push(Z),(0,t.h)("div",{class:ne.value,style:O.value},I)},x=()=>r.slots?.hide?.()??null;return()=>{const I=[],Y=[],Z=J();Z&&Y.push(Z);const le=X();le&&Y.push(le);const re=(0,t.h)("div",{class:C.value},Y);I.push(re);const ce=j();ce&&I.push(ce);const ke=x();return ke&&I.push(ke),(0,t.h)("div",{class:p.value,style:w.value,prop:o.prop},I)}}}}var{componentName:Dc,create:Ic,scope:qc}=ee("item"),xc=Ic(Ec(Dc,qc,bt,!1)),Ne=xc,Pr={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1}};function Pc(e,n){return{props:{...Pr},setup(a,l){const o=e,r=(0,t.computed)(()=>({[o]:!0,[`${o}__stretch`]:a.span==="stretch",[`${o}__${a.align}`]:!0})),s=Ge(),i=Vn();$n(!1);const c=(0,t.computed)(()=>{const m={};if(a.width)a.width!=="auto"&&(m.width=de(a.width));else if(i&&s){const h=En(s,!1),u=Dn(s,!1);if(h.value&&u){if(h.value.type==="grid"){const p=qn(u,h.value,a.span,a.offset);Object.assign(m,p)}else if(h.value.type==="flow"){const p=In(u,h.value,a.span,a.offset,a.width);Object.assign(m,p)}}}return a.gutter&&(m.gap=de(a.gutter)),m});return()=>{const m=[];if(l.slots.default){const h=l.slots.default();if(a.divide)for(let u=0;u<h.length;u++){if(u>0){const p=(0,t.h)("div",{class:{[`${o}__divide`]:!0}});m.push(p)}m.push(h[u])}else Reflect.apply([].push,m,h)}return(0,t.h)("div",{class:r.value,style:c.value},m)}}}}var{componentName:Mc,create:zc,scope:Lc}=ee("row-item"),Oc=zc(Pc(Mc,Lc)),zn=Oc,Rc=(0,t.defineComponent)({name:"ArrowDown",__name:"arrow-down",setup(e){return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t.createElementVNode)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}});function Fc(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)}var Kc={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 Uc(e,n,a,l=!1){return{props:{...Kc},emits:["click"],setup(o,r){const s=(0,t.ref)(null),i=(0,t.computed)(()=>{const d={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(d[`${e}--${o.type??"default"}`]=!0),o.size&&(d[`${e}--${o.size}`]=!0),d}),c=(0,t.computed)(()=>{const d={},C=o.textColor??o.color;return C&&(d.color=C),d}),m=(d,C)=>{let N=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const g=o.highlightFilter;d.indexOf(g)!==-1&&(C.innerHTML=d.replace(new RegExp(g,"g"),`<span>${g}</span>`),C.class["is-highlight"]=!0,N=(0,t.h)(o.tag,C))}else if(typeof o.highlightFilter=="function"){const g=o.highlightFilter(d);g&&(C.innerHTML=g,C.class["is-highlight"]=!0,N=(0,t.h)(o.tag,C))}return N},h=d=>{r.emit("click",d)};let u="";const p=()=>{const d=s.value;if(!d)return;const C=d.clientWidth;Fc(d,N=>{const g=d.innerHTML??"";ue(g)||N<C||(u?a?.show(d,g,{type:"text",id:u,showArrow:o.showArrow},!0):u=a?.show(d,g,{type:"text",showArrow:o.showArrow},!0)??"")})},b=()=>{u&&a?.hide(u)};let w=null;const v=d=>{w||(w=setTimeout(()=>{p(),w=null},o.showAfter??0))},S=d=>{w&&(clearTimeout(w),w=null),setTimeout(()=>{b()},o.hideAfter??0)},f=()=>{const d=s.value;d&&(d.addEventListener("mouseover",v),d.addEventListener("mouseleave",S))},k=()=>{const d=s.value;d&&(d.removeEventListener("mouseover",v),d.removeEventListener("mouseleave",S))};return(0,t.onMounted)(()=>{!Se(o.showOverflowTooltip)||!a||f()}),(0,t.onBeforeUnmount)(()=>{!Se(o.showOverflowTooltip)||!a||k()}),()=>{const d={onClick:h,class:i.value,style:c.value,ref:s};let C=null;if(Se(o.numberFormat)&&typeof r.slots.default=="function"){const g=r.slots.default();if(Array.isArray(g)&&g.length===1){const y=g[0].type.toString();if(y==="Symbol(Text)"||y==="Symbol(v-txt)"){const B=me(o.digits),T=me(o.decimalLength),$=Se(o.autoPadding);let V=`${g[0].children}`,W=V.split("").reverse().join("");W=rn(W,T,$,B,o.separator),V=W.split("").reverse().join(""),o.highlightFilter!==void 0&&(C=m(V,d)),C||(d.innerHTML=V,C=(0,t.h)(o.tag,d))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const g=r.slots.default();if(Array.isArray(g)&&g.length===1){const y=g[0].type.toString();if(y==="Symbol(Text)"||y==="Symbol(v-txt)"){const B=`${g[0].children}`;C=m(B,d),C||(d.innerHTML=B,C=(0,t.h)(o.tag,d))}}}C||(C=(0,t.h)(o.tag,d,{default:r.slots.default}))}if(!o.mark&&!o.icon&&!r.slots.mark)return C;const N=[];if(r.slots.mark){const g={[`${e}__mark-wrap`]:!0};o.type&&(g[`${e}__mark-wrap--${o.type}`]=!0);const y={},B=o.color;B&&(y.color=B);const T=(0,t.h)("view",{class:g,style:y},{default:r.slots.mark});N.push(T)}else{const g={[`${e}__mark`]:!0};o.type&&(g[`${e}__mark--${o.type??"default"}`]=!0);const y={},B=o.color;B&&(y["background-color"]=B);const T=(0,t.h)("view",{class:g,style:y});N.push(T)}if(o.divide){const g=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});N.push(g)}return N.push(C),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}},N)}}}}var{componentName:Hc,create:jc,scope:Wc}=ee("text"),Yc=jc(Uc(Hc,Wc,bt,!1)),Ln=Yc,Xc={visible:{type:Boolean},reference:{type:[Object,String]},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},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 Qc(e,n,a=!1){return{props:{...Xc},emits:["update:visible"],setup(l,{emit:o,slots:r,expose:s}){const i=(0,t.ref)({top:null,right:null,bottom:null,left:null}),c=(0,t.ref)(0),m=(0,t.ref)(0),h=(0,t.ref)(0),u=(0,t.ref)(0),p=(0,t.ref)(l.placement),b=(0,t.ref)(!1),w=(0,t.ref)(!1),v=(0,t.ref)(null),S=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,f=(q,G,ne,O,U,z,Q,F=!0)=>{const H=document.documentElement.clientWidth||document.body.clientWidth,J=document.documentElement.clientHeight||document.body.clientHeight,X=q.split("-");let te=[];F?X[0]==="top"?te=["top","bottom","right","left"]:X[0]==="bottom"?te=["bottom","top","right","left"]:X[0]==="left"?te=["left","top","bottom","right"]:X[0]==="right"&&(te=["right","top","bottom","left"]):te=[q[0]];const P={top:null,right:null,bottom:null,left:null},j=[];for(let x=0;x<te.length;x++){const I=te[x];if(j[0]=I,X[1]&&(j[1]=X[1]),I==="top"){const Y=ne-Q-l.arrowSize/2-l.offset;if(Y>=0){P.top=Y;let Z=0;X[1]==="start"?Z=G:X[1]==="end"?Z=G+O-z:Z=G+O/2-z/2;const le=H-Z-z;le<0?(Z+=le,d.value=-le):d.value=0,P.left=Z<0?0:Z;break}}else if(I==="bottom"){const Y=ne+U+l.arrowSize/2+l.offset;if(Y+Q<=J){P.top=Y;let Z=0;X[1]==="start"?Z=G:X[1]==="end"?Z=G+O-z:Z=G+O/2-z/2;const le=H-Z-z;le<0?(Z+=le,d.value=-le):d.value=0,P.left=Z<0?0:Z;break}}else if(I==="left"){const Y=G-z-l.arrowSize/2-l.offset;if(Y>=0){P.left=Y;let Z=0;X[1]==="start"?Z=ne:X[1]==="end"?Z=ne+U-Q:Z=ne+U/2-Q/2,P.top=Z<0?0:Z;break}}else if(I==="right"){const Y=G+O+l.arrowSize/2+l.offset;if(Y+z<=H){P.left=Y;let Z=0;X[1]==="start"?Z=ne:X[1]==="end"?Z=ne+U-Q:Z=ne+U/2-Q/2,P.top=Z<0?0:Z;break}}}return{bestPlacement:j.join("-"),bestInsetRect:P}},k=()=>{const q=l.visible,G=l.autoFit;if(!Xe||q===!1)return;if(l.reference){const Q=S(),F=Hl(Q);c.value=F.x,m.value=F.y,h.value=Q.offsetWidth,u.value=Q.offsetHeight}else l.referenceInset&&(c.value=l.referenceInset.left,m.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,u.value=l.referenceInset.bottom-l.referenceInset.top);const ne=v.value.offsetWidth,O=v.value.offsetHeight,{bestPlacement:U,bestInsetRect:z}=f(l.placement,c.value,m.value,h.value,u.value,ne,O,G);p.value=U,i.value=z},d=(0,t.ref)(0),C=Pe(()=>{k()},10),N=(0,t.ref)(l.visible);(0,t.watch)([()=>l.visible],([q])=>{N.value=q,q?(b.value=q,setTimeout(()=>{k(),w.value=!0},0)):w.value=!1});const g=(0,t.computed)(()=>N.value&&y.value),y=(0,t.ref)(!0),B=Pe(q=>{const G=q[0];G&&(y.value=G.isIntersecting)},10),T=new IntersectionObserver(B);(0,t.watch)([()=>l.reference,()=>l.referenceInset],([q,G],[ne,O])=>{!q&&!G||(setTimeout(()=>{k()},0),l.autoFit&&(ne&&(Rt.unwatch(ne,C),T.unobserve(ne)),q&&(Rt.watch(q,C),T.observe(q))))},{immediate:!0}),(0,t.onBeforeUnmount)(()=>{l.reference&&(Rt.unwatch(l.reference,C),T.unobserve(l.reference),T.disconnect())});const $=(0,t.computed)(()=>{const q={[e]:!0};return p.value.startsWith("top")?q["is-top"]=!0:p.value.startsWith("right")?q["is-right"]=!0:p.value.startsWith("bottom")?q["is-bottom"]=!0:p.value.startsWith("left")&&(q["is-left"]=!0),q[`is-${l.effect}`]=!0,!w.value&&g.value&&(q["is-opacity"]=!0),w.value&&g.value&&(q["is-show"]=!0),g.value||(q["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(q[`${l.customClass}`]=!0),q}),V=(0,t.computed)(()=>{const q={};return i.value.top!==null&&(q.top=`${i.value.top}px`),i.value.right!==null&&(q.right=`${i.value.right}px`),i.value.bottom!==null&&(q.bottom=`${i.value.bottom}px`),i.value.left!==null&&(q.left=`${i.value.left}px`),l.width&&(q.width=l.width),l.zIndex&&(q["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(q,l.customStyle),q}),W=()=>{N.value=!1,o("update:visible",!1)},_=()=>l.showOverlay?(0,t.h)("div",{class:`${e}__overlay`,onClick:W}):null,E=()=>{let q=null;return r.title?q=(0,t.h)("div",{class:`${e}__title`},{default:r.title}):l.title&&(q=(0,t.h)("div",{class:`${e}__title`},[l.title])),q},D=(0,t.computed)(()=>({[`${e}__arrow`]:!0})),L=(0,t.computed)(()=>{const q={};return l.showArrow?(q.width=`${l.arrowSize}px`,q.height=`${l.arrowSize}px`,p.value==="top"?(q.left="50%",q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="top-start"?(q.left=`${l.arrowOffset+d.value}px`,q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="top-end"?(q.right=`${l.arrowOffset-d.value}px`,q.bottom="0",q.transform="translate(-50%, 50%)"):p.value==="right"?(q.left="0",q.top="50%",q.transform="translate(-50%, -50%)"):p.value==="right-start"?(q.left="0",q.top=`${l.arrowOffset}px`,q.transform="translate(-50%, 50%)"):p.value==="right-end"?(q.left="0",q.bottom=`-${l.arrowOffset}px`,q.transform="translate(-50%, 50%)"):p.value==="bottom"?(q.left="50%",q.top="0",q.transform="translate(-50%, -50%)"):p.value==="bottom-start"?(q.left=`${l.arrowOffset+d.value}px`,q.top="0",q.transform="translate(-50%, -50%)"):p.value==="bottom-end"?(q.right=`${l.arrowOffset-d.value}px`,q.top="0",q.transform="translate(-50%, -50%)"):p.value==="left"?(q.right="0",q.top="50%",q.transform="translate(50%, -50%)"):p.value==="left-start"?(q.right="0",q.top=`${l.arrowOffset}px`,q.transform="translate(50%, -50%)"):p.value==="left-end"&&(q.right="0",q.bottom=`-${l.arrowOffset}px`,q.transform="translate(50%, -50%)"),q):{display:"none"}}),M=()=>(0,t.h)("div",{class:D.value,style:L.value}),R=()=>{N.value===!1&&(b.value=!1)},K=q=>{if(!v.value||N.value===!1)return;const{relatedTarget:G}=q;v.value.contains(G)||(N.value=!1,o("update:visible",!1))};return s({doLayout:k}),()=>{if(!b.value)return null;const q=[],G=_();G&&q.push(G);const ne=[],O=E();if(O&&ne.push(O),r.default){const F=r.default();ne.push(F)}const U=M();U&&ne.push(U);const z={ref:v,class:$.value,style:V.value,onAnimationend:R};l.leaveHide&&(z.onMouseleave=K);const Q=(0,t.h)("div",z,{default:()=>ne});return q.push(Q),(0,t.h)(t.Teleport,{to:l.teleport,disabled:l.teleportDisable},{default:()=>q})}}}}var{componentName:Gc,create:Zc,scope:_c}=ee("popover-dialog"),Jc=Zc(Qc(Gc,_c,!1)),On=Jc,eu={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1}};function tu(e,n,a){return{props:{...Pr,...eu},emits:["click"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["moreText"]),c=e,m=(0,t.computed)(()=>({[c]:!0}));function h(g){return g.props||{}}function u(g){return!!h(g).disabled}function p(g){return g.children??[]}const b=(0,t.ref)(),w=(0,t.computed)(()=>b.value?.$el??null),v=(0,t.ref)(!1),S=g=>{v.value=g},f=()=>{v.value=!v.value};function k(g,y){return()=>{y||(v.value=!1,h(g)?.onClick?.())}}function d(g,y){const B=p(g),T=u(g),$=k(g,T),V=[`${c}__dropdown-item`];return T&&V.push("is-disabled"),(0,t.h)("span",{class:V,onClick:$},B)}const C=g=>{const y=l.maxDisplayCount??g.length;if(y>=g.length)return g;const B=[],T=y-1;for(let E=0;E<T;E++)B.push(g[E]);const $=(r.moreIcon&&r.moreIcon())??(l.moreIcon&&(0,t.h)(l.moreIcon))??(0,t.h)(a),V=(0,t.h)(Ln,{ref:E=>b.value=E,class:`${c}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:l.type,onClick:f},{default:()=>i.moreText.value,mark:()=>$});B.push(V);const W=[];for(let E=T;E<g.length;E++){const D=d(g[E],E);W.push(D)}const _=(0,t.h)(On,{placement:l.dropdownPlacement,"onUpdate:visible":S,visible:v.value,reference:w.value,"custom-class":`${c}__popover`},{default:()=>W});return B.push(_),B},N=()=>(r.default?.()||[]).filter(g=>g.type!==Comment);return()=>{const g=C(N());return(0,t.h)(zn,{class:m.value},{default:()=>g})}}}}var{componentName:nu,create:lu,scope:au}=ee("buttons-item"),ou=lu(tu(nu,au,Rc)),Yl=ou,ru={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function iu(e,n){return{props:{...ru},setup(a,l){const o=Ge(),r=Vn();$n(!1);const s=(0,t.computed)(()=>r&&o?En(o,!1).value:null),i=e,c=(0,t.computed)(()=>({[i]:!0,[`${i}__gutter`]:s.value&&s.value.type!=="flow",[`${i}__stretch`]:a.span==="stretch"})),m=(0,t.computed)(()=>{const h={};if(a.width)a.width!=="auto"&&(h.width=de(a.width));else{const u=r&&o?Dn(o,!1):null;if(s.value&&u){if(s.value.type==="grid"){const p=qn(u,s.value,a.span,a.offset);Object.assign(h,p)}else if(s.value.type==="flow"){const p=In(u,s.value,a.span,a.offset,a.width);Object.assign(h,p)}}}return h});return()=>{const h={class:c.value,style:m.value};return l.slots&&typeof l.slots.default=="function"?(0,t.h)("div",h,l.slots.default()):(0,t.h)("div",h)}}}}var{componentName:su,create:cu,scope:uu}=ee("slot-item"),du=cu(iu(su,uu)),Xl=du,Mr={type:{type:String,default:"text"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function fu(e,n,a,l){return{props:{...pe,...ye,...Mr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(o,["placeholder"]),u=(0,t.ref)(!1),p=Me(o,"modelValue",null,c),b=e,w=(0,t.computed)(()=>({[b]:!0,"is-disabled":s.value,"is-readonly":i.value})),v=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),S=(0,t.computed)(()=>{const D={};return v.value&&(D["text-align"]=v.value),D}),f=D=>{let L=D.target.value;o.type==="digit"&&(L=Al(L,!0)),o.type==="number"&&(L=Al(L,!1)),o.maxLength&&L.length>Number(o.maxLength)&&(L=L.slice(0,Number(o.maxLength))),p.value=L,c("update:modelValue",L,D),c("change",L,D)};let k=Me(o,"hintText"),d=(0,t.ref)(!1);const C=D=>{let L=D.target.value;u.value=!0,ue(k.value)||(d.value=!0),c("focus",L,D)},N=D=>{setTimeout(()=>{d.value&&(d.value=!1),u.value=!1},0);let L=D.target.value;o.maxLength&&L.length>Number(o.maxLength)&&(L=L.slice(0,Number(o.maxLength))),c("blur",L,D)},g=(0,t.computed)(()=>({[`${b}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),y=(0,t.computed)(()=>{const D={};return r.slots.append&&!B.value&&!_.value&&(D.display="none"),D}),B=(0,t.computed)(()=>ve(o.unit)>0),T=(0,t.computed)(()=>!_.value),$=(0,t.computed)(()=>({[`${b}__unit`]:!0,hidden:!T.value})),V=D=>{p.value="",c("update:modelValue","",D),c("change","",D),c("clear","")},W=(0,t.computed)(()=>Se(o.clearable)&&!s.value&&!i.value),_=(0,t.computed)(()=>{let D=ve(p.value)>0;return Se(o.clearable)&&D&&u.value}),E=(0,t.computed)(()=>({action:!0,hidden:!_.value}));return()=>{const D={class:w.value,style:S.value,type:o.type,maxlength:o.maxLength,placeholder:h.placeholder.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onInput:f,onFocus:C,onBlur:N},L=[],M=(0,t.h)("input",D);L.push(M);const R=[];if(W.value){const ne=(0,t.h)(l,{class:["action-icon"]}),O=(0,t.h)("view",{class:E.value,onClick:V},{default:()=>[ne]});R.push(O)}if(B.value){const ne=(0,t.h)("view",{class:$.value},[o.unit]);R.push(ne)}const K=(0,t.h)("view",{class:g.value,style:y.value},{default:()=>R});L.push(K);const q={default:()=>L};q.label=r.slots.default,q.prepend=r.slots.prepend,q.append=r.slots.append,q.fixedPreTip=r.slots.fixedPreTip,q.fixedTip=r.slots.fixedTip;const G={...Qe(o,Mr),hintText:k.value,hintVisible:d.value};return o.prop&&(G.prop=`${o.prop}_item`),(0,t.h)(a,G,q)}}}}var{componentName:mu,create:hu,scope:pu}=ee("input-item"),gu=hu(fu(mu,pu,Ne,ae.CircleClose)),Ql=gu;function zr(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 Lr(e,n,a=20){return typeof n=="string"&&(n=me(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?zr(_o(`${e}`,`${n}`)):zr(vl(`${e}`,Jo(`${n}`),20))}function yu(e,n=-1,a=!1,l=3,o=","){return rn(e,n,a,l,o)}function Or(e,n,a,l,o=!0){if(e==="")return"";if(e=er(e),n=me(n),n==1)return e;if(l)e=Lr(e,n),a&&(e=="0"&&o?e=`${e}.`.padEnd(me(a)+2,"0"):e=vl(e,1,me(a)));else{let r=-1*n;e=Lr(e,r)}return e}function Rr(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=Se(n.minInclude),o=kl(e,n.min);(l&&o==-1||!l&&(o==0||o==-1))&&(a.message="请输入不小于 {0} 的数值".replace("{0}",n.min),a.minValid=!1)}if(n.max!=null){let l=Se(n.maxInclude),o=kl(e,n.max);(l&&o==1||!l&&(o==0||o==1))&&(a.maxValid=!1)}return a}var Fr={clearable:{type:Boolean,default:!0},modelValue:{type:[String,Number],default:""},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:String,required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:Boolean,required:!1,default:!0},digits:{type:Number,required:!1,default:3},separator:{type:String,required:!1,default:","},placeholder:{type:String,required:!1},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function bu(e,n,a,l){return{props:{...pe,...ye,...Fr},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=(0,t.ref)(!1),h=Me(o,"modelValue",null,c),u=(0,t.ref)("");(0,t.watch)([()=>h.value,()=>o.rates,()=>o.precision],([K,q,G])=>{if(ue(K)){u.value="";return}const ne=Or(K,q,G,!1);u.value!==ne&&(u.value=ne)},{immediate:!0});const p=(0,t.computed)(()=>{let K="";return m.value&&(K=u.value),K}),{t:b}=(0,he.useFoxI18n)(n),w=(0,t.computed)(()=>{let K=o.placeholder??"";return!m.value&&!ue(u.value)?K=yu(u.value,o.decimalLength,o.autoPadding,o.digits,o.separator):K=ue(K)?b(["placeholder"]):K,K}),v=e,S=(0,t.computed)(()=>({[v]:!0,[`${v}__placeholder`]:u.value.length>0,"is-disabled":s.value,"is-readonly":i.value})),f=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),k=(0,t.computed)(()=>{const K={};return f.value&&(K["text-align"]=f.value),K}),d=(0,t.ref)(""),C=(0,t.computed)(()=>{let K=d.value;return ue(K)&&(K=o.errorTip??""),K}),N=(0,t.ref)(""),g=(0,t.ref)(!1),y=K=>{let q=K.target.value;if(ue(q)){u.value="",h.value="",c("update:modelValue","",K),c("change","",K),Se(o.showTip)&&g.value&&(g.value=!1);return}if(q.length>=2){let G=q;if(G.charAt(0)=="-"&&(G=G.substring(1)),G.length>=2&&G.charAt(0)=="0"&&G.charAt(1)!="."){(0,t.triggerRef)(u);return}}if(q!="-"){if(!dn(q)){(0,t.triggerRef)(u);return}if(o.integerLength!=-1&&sr(q)>Number(o.integerLength)){(0,t.triggerRef)(u);return}if(o.decimalLength&&o.decimalLength!=-1&&cr(q)>Number(o.decimalLength)){(0,t.triggerRef)(u);return}let G=Rr(q,o);if(G.maxValid===!1){d.value=G.message,(0,t.triggerRef)(u);return}}else if(o.min!=null&&me(o.min)>=0){(0,t.triggerRef)(u);return}N.value=q,Se(o.showTip)&&(g.value=q.length>0),u.value=q,h.value=Or(q,o.rates,o.precision,!0),c("update:modelValue",h.value,K),c("change",h.value,K)},B=K=>{if(m.value=!0,Se(o.showTip)){let q=u.value;ue(q)&&(q=o.hintText),ue(q)||(N.value=q,g.value=!0)}d.value="",c("focus",h.value,K)},T=K=>{if(setTimeout(()=>{m.value=!1,Se(o.showTip)&&g.value===!0&&(g.value=!1)},0),!ue(u.value)){let q=Rr(u.value,o);if(q.minValid===!1||q.maxValid===!1){d.value=q.message;return}}c("update:modelValue",h.value,K),c("blur",h.value,K)},$=(0,t.computed)(()=>({[`${v}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),V=(0,t.computed)(()=>{const K={};return r.slots.append&&!W.value&&!M.value&&(K.display="none"),K}),W=(0,t.computed)(()=>ve(o.unit)>0),_=(0,t.computed)(()=>!M.value),E=(0,t.computed)(()=>({[`${v}__unit`]:!0,hidden:!_.value})),D=K=>{h.value="",c("update:modelValue","",K),c("change","",K),c("clear","")},L=(0,t.computed)(()=>Se(o.clearable)&&!s.value&&!i.value),M=(0,t.computed)(()=>{let K=ve(h.value)>0;return Se(o.clearable)&&K&&m.value}),R=(0,t.computed)(()=>({action:!0,hidden:!M.value}));return()=>{let K={class:S.value,style:k.value,type:"digit",maxlength:o.maxLength,placeholder:w.value,disabled:s.value,readonly:i.value,value:p.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onInput:y,onFocus:B,onBlur:T},q=[],G=(0,t.h)("input",K);q.push(G);let ne=[];if(L.value){const Q=(0,t.h)(l,{class:["action-icon"]}),F=(0,t.h)("view",{class:R.value,onClick:D},{default:()=>[Q]});ne.push(F)}if(W.value){const Q=(0,t.h)("view",{class:E.value},[o.unit]);ne.push(Q)}const O=(0,t.h)("view",{class:$.value,style:V.value},{default:()=>ne});q.push(O);const U={default:()=>q};U.label=r.slots.default,U.prepend=r.slots.prepend,U.append=r.slots.append,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const z={...Qe(o,Fr),errorTip:C.value,hintText:N.value,hintVisible:g.value,hintType:"number"};return o.prop&&(z.prop=`${o.prop}_item`),(0,t.h)(a,z,U)}}}}var{componentName:Su,create:vu,scope:ku}=ee("money-item"),wu=vu(bu(Su,ku,Ne,ae.CircleClose)),Gl=wu,Zl={modelValue:{type:[String,Number],default:""},textAlign:{type:String,default:""},limitShow:{type:Boolean,default:!1},maxLength:{type:[String,Number],default:""},rows:{type:[String,Number],default:"2"},placeholder:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autosize:{type:[Boolean,Object],default:!1},autofocus:{type:Boolean,default:!1}},{componentName:Cu,create:Nu,scope:Au}=ee("textarea"),Bu=Nu({props:{...Zl},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:a}=(0,he.useFoxI18n)(Au);const l=a(e,["placeholder"]),o=(0,t.ref)(),r=(0,t.computed)(()=>{const p=Cu;return{[p]:!0,[`${p}--disabled`]:e.disabled}});(0,t.onMounted)(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&(0,t.nextTick)(i)});const s=(0,t.computed)(()=>({textAlign:e.textAlign})),i=()=>{let p=o.value;p.style.height="auto";let b=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:w,minHeight:v}=e.autosize;w!==void 0&&(b=Math.min(b,w)),v!==void 0&&(b=Math.max(b,v))}b&&(console.info("----------- height",b),p.style.height=b+"px")};(0,t.watch)(()=>e.modelValue,()=>{e.autosize&&(0,t.nextTick)(i)});const c=(p,b)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),n("update:modelValue",p,b),n("change",p,b)};return{...l,textareaRef:o,classes:r,styles:s,change:p=>{const b=p.target;c(b.value,p)},focus:p=>{e.disabled||e.readonly||n("focus",p)},blur:p=>{if(e.disabled||e.readonly)return;let b=p.target.value;c(b,p),n("blur",{value:b,event:p})}}}}),Tu=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],Vu={key:0,class:"fox-textarea__limit"};function $u(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("textarea",{ref:"textareaRef",class:"fox-textarea__textarea",style:(0,t.normalizeStyle)(e.styles),rows:e.rows,disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[0]||(n[0]=(...s)=>e.change&&e.change(...s)),onBlur:n[1]||(n[1]=(...s)=>e.blur&&e.blur(...s)),onFocus:n[2]||(n[2]=(...s)=>e.focus&&e.focus(...s)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Tu),e.limitShow?((0,t.openBlock)(),(0,t.createElementBlock)("view",Vu,(0,t.toDisplayString)(e.modelValue?e.modelValue.length:0)+"/"+(0,t.toDisplayString)(e.maxLength),1)):(0,t.createCommentVNode)("",!0)],2)}var Rn=oe(Bu,[["render",$u]]);function Eu(e,n,a,l){return{props:{...pe,...ye,...Zl},emits:["update:modelValue","change","blur","focus","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=Me(o,"modelValue",null,c),h=v=>{m.value=v,c("update:modelValue",v,{}),c("change",v,{})};let u=Me(o,"hintText"),p=(0,t.ref)(!1);const b=v=>{ue(u.value)||(p.value=!0),c("focus",m.value,v)},w=v=>{setTimeout(()=>{p.value&&(p.value=!1)},0),c("blur",m.value,v)};return()=>{const v={...ge(o,Zl),disabled:s.value,readonly:i.value,value:m.value,"onUpdate:modelValue":h,onFocus:b,onBlur:w},S=[],f=(0,t.h)(l,v);S.push(f);const k={default:()=>S};k.label=r.slots.default,k.prepend=r.slots.prepend,k.append=r.slots.append,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const d={...ge(o,ye,pe)};return o.prop&&(d.prop=`${o.prop}_item`),(0,t.h)(a,d,k)}}}}var{componentName:Du,create:Iu,scope:qu}=ee("textarea-item"),xu=Iu(Eu(Du,qu,Ne,Rn)),_l=xu;function Pu(e){return e===window}var xe=e=>{const n=(0,t.unref)(e);if(Pu(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}},Kr=10;function Ur(e,n){return e>n&&e>Kr?"horizontal":n>e&&n>Kr?"vertical":""}function Fn(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Kn(){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:(s=>{if(s.touches){const i=s.touches[0];e.deltaX=i.clientX-e.startX,e.deltaY=i.clientY-e.startY,e.moveX=i.clientX,e.moveY=i.clientY}else{const i=s;e.deltaX=i.clientX-e.startX,e.deltaY=i.clientY-e.startY,e.moveX=i.clientX,e.moveY=i.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=Ur(e.offsetX,e.offsetY))}),start:(s=>{if(l(),s.touches){const i=s.touches[0];e.startX=i.clientX,e.startY=i.clientY}else{const i=s;e.startX=i.clientX,e.startY=i.clientY}e.startTime=Date.now()}),reset:l,isVertical:n,isHorizontal:a,state:e}}function Je(){const e=(0,t.ref)(0),n=(0,t.ref)(0),a=(0,t.ref)(0),l=(0,t.ref)(0),o=(0,t.ref)(0),r=(0,t.ref)(0),s=(0,t.ref)(0),i=(0,t.ref)(0),c=(0,t.ref)(0),m=(0,t.ref)(0),h=(0,t.ref)(""),u=()=>h.value==="vertical",p=()=>h.value==="horizontal",b=()=>{s.value=0,i.value=0,c.value=0,m.value=0,h.value="",a.value=0};return{move:(S=>{if(S.touches){const f=S.touches[0];s.value=f.clientX-e.value,i.value=f.clientY-n.value,o.value=f.clientX,r.value=f.clientY}else{const f=S;s.value=f.clientX-e.value,i.value=f.clientY-n.value,o.value=f.clientX,r.value=f.clientY}c.value=Math.abs(s.value),m.value=Math.abs(i.value),l.value=Date.now()-a.value,h.value||(h.value=Ur(c.value,m.value))}),start:(S=>{if(b(),S.touches){const f=S.touches[0];e.value=f.clientX,n.value=f.clientY}else{const f=S;e.value=f.clientX,n.value=f.clientY}a.value=Date.now()}),reset:b,startX:e,startY:n,startTime:a,duration:l,moveX:o,moveY:r,deltaX:s,deltaY:i,offsetX:c,offsetY:m,direction:h,isVertical:u,isHorizontal:p}}var Mu=2e3,Hr=()=>Mu++,et={visible:{type:Boolean,default:!1},zIndex:{type:[String,Number]},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,Array],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:{}}},zu=(e,n)=>({components:n,props:{...et},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:l}){const o=(0,t.reactive)({zIndex:0,showSlot:!0,closed:a.closeable});a.visible&&(o.zIndex=Hr());const r=(0,t.computed)(()=>{const v=e,S=[v,`${v}--${a.position}`];return a.round&&S.push("round"),a.position==="bottom"&&a.safeAreaInsetBottom&&S.push(`${v}--${a.position}--safebottom`),typeof a.popClass=="string"?S.push(a.popClass):Array.isArray(a.popClass)&&a.popClass.forEach(f=>{S.push(f)}),S}),s=(0,t.computed)(()=>({zIndex:o.zIndex,transitionDuration:`${a.duration}s`,...a.style})),i=(0,t.computed)(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),c=()=>{l("update:visible",!0),a.zIndex?o.zIndex=a.zIndex:o.zIndex=Hr(),a.destroyOnClose&&(o.showSlot=!0),l("open")},m=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+a.duration*1e3)},h=v=>{l("click-pop",v)},u=v=>{v.stopPropagation(),l("click-close-icon",v),l("update:visible",!1)},p=v=>{l("click-overlay",v),a.closeOnClickOverlay&&l("update:visible",!1)},b=v=>{l("opend",v)},w=v=>{l("closed",v)};return(0,t.watch)(()=>a.visible,v=>{a.visible?c():m()}),(0,t.watch)(()=>a.closeable,v=>{o.closed=v}),{...(0,t.toRefs)(o),popStyle:s,transitionName:i,classes:r,onClick:h,onClickCloseIcon:u,onClickOverlay:p,onOpened:b,onClosed:w}}}),jr={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}},Jl={...et,...jr,modelValue:{type:[String,Number,Boolean,Object,Array],default:()=>""},text:{type:[Array],default:()=>[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:()=>[]},params:{type:Object},valueType:{type:String,required:!1,default:()=>"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:()=>!0},poppable:{type:[Boolean],default:()=>!0}},Wr=36;function Lu(){return Wr}function Ou(e){Wr=e}function Re(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ea(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function Ru(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function ot(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Yr(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var Fu=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Ku(){return new Fu((0,t.getCurrentInstance)().proxy)}function Xr(e,n,a){return!(Re(e,n)!==Re(e,a)||ot(e,n)!==ot(e,a))}function Uu(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 s=0;s<n.length&&s<a.length;s++){const i=n[s];let c=a[s].findIndex(m=>{if(r==="text")return Re(e,m)===i;if(r==="value"){let h=ot(e,m);return h==null&&(h=Re(e,m)),h===i}else if(r==="item")return Xr(e,m,i)});if(c==-1)break;o.push(c)}else{let s=a[0];for(let i=0;i<n.length;i++){const c=n[i];let m=s.findIndex(u=>{if(r==="text")return Re(e,u)===c;if(r==="value"){let p=ot(e,u);return p==null&&(p=Re(e,u)),p===c}else if(r==="item")return Xr(e,u,c)});if(m==-1)break;o.push(m);const h=ea(e,s[m]);if(!Array.isArray(h))break;s=h}}return o}function Qr(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 s=0;s<n.length&&s<a.length;s++){const i=a[s];let c=n[s];c<0&&c>=i.length&&(c=0);const m=i[c],h=Re(e,m);if(o.texts.push(h),o.items.push(m),r==="text")o.values.push(h);else if(r==="value"){let u=ot(e,m);u==null&&(u=h),o.values.push(u)}else o.values.push(m)}else{let s=a[0];for(let i=0;i<n.length;i++){let c=n[i];c<0&&c>=s.length&&(c=0);const m=s[c],h=Object.assign({},m);h.children=null;const u=Re(e,m);if(o.texts.push(u),o.items.push(h),r==="text")o.values.push(u);else if(r==="value"){let p=ot(e,m);p==null&&(p=u),o.values.push(p)}else o.values.push(h);if(!Array.isArray(m.children))break;s=m.children}}return o}function Gr(e){return{text:e,value:e}}var Hu=15,ju=300,Wu=200,{create:Yu}=ee("picker-column");function Xu(e){e.stopPropagation()}function Qu(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&Xu(e)}var Gu=Yu({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},...jr},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=(0,t.computed)(()=>({"fox-picker__list":!0})),l=(0,t.computed)(()=>({height:`${me(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=y=>{const B=y+1;return B>=u.currIndex+8||B<=u.currIndex-8},i=(0,t.computed)(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${u.deg})`,top:`${r.value}px`})),c=y=>{const B=y+1;return`transform: rotate3d(1, 0, 0, ${-u.rotation*B}deg) translate3d(0px, 0px, 104px)`},m=(0,t.computed)(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${u.scrollDistance+r.value}px, 0)`})),h=(0,t.ref)(null),u=(0,t.reactive)({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),p=y=>Re(e,y),b=y=>ot(e,y),w=Je(),v=()=>{u.transitionEndTrigger&&(u.transitionEndTrigger(),u.transitionEndTrigger=null)},S=(y,B=!1,T=!1)=>{if(u.currIndex=y,B){const $=()=>{u.moving=!1,n("update:modelValue",y),n("change",y)};T?u.transitionEndTrigger=$:$()}},f=(y,B,T)=>{let $=y+u.startDistance;if(B==="end"){const V=-(e.source.length-1)*e.itemHeight;$<V&&($=V),$>0&&($=0);let W=Math.abs(Math.round(-$/e.itemHeight));const _=-W*e.itemHeight,E=`${(W+1)*u.rotation}deg`;S(W,!0,T?T>0:!1),k(_,B,T,E)}else{let V=(-$/e.itemHeight+1)*u.rotation;const W=(e.source.length+1)*u.rotation,_=0;if(V=Math.min(Math.max(V,_),W),e.threeDimensional&&(V<_||V>W))return;k($,null,void 0,`${V}deg`)}},k=(y=0,B,T=Wu,$)=>{B==="end"?u.scrollTime=T:u.scrollTime=0,u.deg=$,u.scrollDistance=y},d=(y,B)=>(y=Math.abs(y/B)/.003*(y<0?-1:1),y),C=y=>{e.readonly||(u.startDistance=u.scrollDistance,w.start(y),u.transitionEndTrigger=null)},N=y=>{e.readonly||(u.moving=!0,w.move(y),w.isVertical()&&(u.moving=!0,Qu(y,!0)),f(w.deltaY.value,"",0))},g=()=>{if(e.readonly)return;const y=w.deltaY.value,B=w.duration.value;B<ju&&Math.abs(y)>Hu?f(d(y,B),"end",e.swipeDuration):f(y,"end",0)};return(0,t.watch)(()=>e.modelValue,y=>{const B=u.currIndex-y;B!==0&&(u.currIndex=y,u.startDistance=u.scrollDistance,f(B*e.itemHeight,"",0))}),(0,t.watch)(()=>e.source,y=>{if(u.currIndex>=y.length){const B=(y.length-1-u.currIndex)*e.itemHeight;u.startDistance=u.scrollDistance,f(B,"end",0)}}),(0,t.watch)(()=>e.visible,y=>{y===!1&&v()}),(0,t.onMounted)(()=>{f(-e.modelValue*e.itemHeight)}),{classes:a,styles:l,contentClasses:o,itemText:p,itemValue:b,...(0,t.toRefs)(u),roller:h,getItemText:Re,onTouchStart:C,onTouchMove:N,onTouchEnd:g,isHidden:s,setRollerStyle:c,touchRollerStyle:i,touchTileStyle:m,stopMomentum:v}}}),Zu={key:1,class:"fox-picker__item-tile"};function _u(e,n,a,l,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,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${i}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(i)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(i))},(0,t.toDisplayString)(e.itemText(s)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",Zu,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var Ju=oe(Gu,[["render",_u]]),Ft=0,Zr="fox-overflow-hidden",_r=()=>Xe?document.body:{classList:[]},ed=e=>[()=>{if(e())try{!Ft&&_r().classList.add(Zr),Ft++}catch{}},()=>{if(e()&&Ft)try{Ft--,!Ft&&_r().classList.remove(Zr)}catch{}}],td={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:nd,create:ld}=ee("overlay"),ad=ld({props:{...td},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=ed(()=>e.lockScroll),o=(0,t.computed)(()=>({[nd]:!0,[e.overlayClass]:!0})),r=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,i=>{i?a():l()}),{classes:o,style:r,onClick:i=>{n("click",i),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function od(e,n,a,l,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 rt=oe(ad,[["render",od]]),{componentName:rd,create:id}=ee("popup"),sd=id(zu(rd,{FoxOverLay:rt,Close:ae.Close}));function cd(e,n,a,l,o,r){const s=(0,t.resolveComponent)("FoxOverLay"),i=(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]=(...c)=>e.onClick&&e.onClick(...c))},[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]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(i)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var be=oe(sd,[["render",cd]]),ud=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-picker__popup"}},setup(e,{slots:n}){return()=>e.poppable?(0,t.h)(be,Qe({...e},{poppable:!1}),n):n?.default?.()??null}}),dd=ud,{create:fd,componentName:Jr,scope:md}=ee("picker"),hd=fd({components:{Column:Ju,Wrapper:dd},props:{...Jl},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=(0,he.useFoxI18n)(md),o=a(e,["title","cancelText","clearText","confirmText"]),r=(0,t.ref)(null),s=(0,t.ref)(Lu());(0,t.watch)(()=>e.visible,D=>{D&&s.value<=0&&setTimeout(()=>{r.value&&(s.value=xe(r.value).height,Ou(s.value))},50)});const i=(0,t.computed)(()=>({[Jr]:!0})),c=(0,t.computed)(()=>{const D=[];return Array.isArray(e.popClass)?D.push(...e.popClass):typeof e.popClass=="string"&&e.popClass.length>0&&D.push(e.popClass),D.push(`${Jr}__popup`),D.join(" ")}),m=Ku(),h=(0,t.ref)("singleColumn");let u=(0,t.ref)([]);(0,t.watch)([()=>e.source,()=>e.params],async([D,L])=>{if(D){let M=await m.load("picker",D,L);if(M.length>0){let R=M[0];if(Array.isArray(R)){if(typeof R[0]=="string"){let K=M,q=[];K.forEach(G=>{let ne=G.map(O=>Gr(O));q.push(ne)}),u.value=q}else u.value=M;h.value="multipleColumn"}else if(typeof R=="string"){let K=M,q=[],G=K.map(ne=>Gr(ne));q.push(G),u.value=q,h.value="singleColumn"}else{const K=ea(e,R);Array.isArray(K)?(h.value="cascade",u.value=[M]):(h.value="singleColumn",u.value=[M])}}else u.value=[]}},{immediate:!0});const p=(0,t.ref)([]),b=(0,t.ref)(e.modelValue&&!Array.isArray(e.modelValue)?[e.modelValue]:e.modelValue),w=(0,t.ref)([]);let v=null;const S=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>u.value],([D,L])=>{let M=Uu(e,D,L,h.value);if(!Ie(M,S.value)){S.value=M,v||(v=M?[...M]:[]);let R=Qr(e,M,L,h.value);R&&(p.value=R.texts,Ie(b.value,R.values)||(b.value=R.values),Ie(w.value,R.items)||(w.value=R.items),n("update:text",p.value))}});let f="";const k=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,D=>{k.value=D,D&&(f="active",S.value.length>0&&(v=[...S.value]))});const d=D=>{let L=Yr(e,D);return De(L)?L.defaultIndex??0:0},C=D=>{if(e.readonly===!0)return!0;let L=Yr(e,D);return De(L)?L.readonly??!1:!1},N=(D,L)=>{let M=S.value;M[D]=L;for(let K=0;K<D;K++)M[K]==null&&(M[K]=d(K));if(h.value==="cascade")for(let K=D+1;K<y.value.length;K++){let q=d(K);K<M.length?M[K]=q:M.push(q)}else for(let K=M.length;K<y.value.length;K++){let q=d(K);M.push(q)}S.value=M;let R=Qr(e,M,u.value,h.value);R&&(p.value=R.texts,b.value=R.values,w.value=R.items)},g=D=>D<S.value.length?S.value[D]:d(D),y=(0,t.computed)(()=>{if(u.value.length==0)return[];if(h.value=="singleColumn"||h.value=="multipleColumn")return u.value;let D=[],L=0,M=u.value[0],R=0;for(;;){let K=M.map(ne=>{let O=Object.assign({},ne);return Ru(e,O,null),O});D.push(K),L>=S.value.length?R=0:R=S.value[L],(R<0||R>=M.length)&&(R=0);let q=M[R];const G=ea(e,q);if(!Array.isArray(G))break;M=G,L++}return D}),B=(0,t.computed)(()=>me(+e.visibleItemCount-1)/2*s.value),T=(D=!1)=>{if(e.readonly===!0){D&&n("update:visible",!1);return}let L=u.value.length-1;for(;L>=0&&!(S.value[L]===null||S.value[L]===void 0);L--);if(L>=0&&N(L,0),h.value==="singleColumn"){let M=b.value.length>0?b.value[0]:"",R=w.value.length>0?w.value[0]:null;n("update:modelValue",M),n("update:text",p.value),n("change",M,R),D&&(n("confirm",M),n("update:visible",!1))}else n("update:modelValue",b.value),n("update:text",p.value),n("change",b.value,w.value),D&&(n("confirm",b.value),n("update:visible",!1))},$=(D,L)=>{f!=="close"&&(N(D,L),e.isAutoBackFill&&T(!k.value))},V=()=>{f==="active"&&(f="confirm",v=Array.isArray(S.value)?[...S.value]:[],T(!0))},W=()=>{h.value==="singleColumn"?(n("update:modelValue",""),n("update:text",""),n("change","")):(n("update:modelValue",[]),n("update:text",""),n("change",[])),S.value=[],v=null};return{...o,pickerLineRef:r,classes:i,popClasses:c,columns:y,dataType:h,show:k,itemHeight:s,top:B,isReadonly:C,getIndex:g,change:$,close:()=>{if(f==="active"){if(f="close",v===null||v.length===0)W();else{if(Array.isArray(v))for(let D=0;D<v.length;D++)N(D,v[D]);T(!1)}n("close"),n("update:visible",!1)}},confirm:V,clear:()=>{if(f==="active"){if(f="clear",e.readonly===!0){n("update:visible",!1);return}W(),v=null,n("clear",""),n("update:visible",!1)}}}}}),pd={key:0,class:"fox-picker__bar"},gd={class:"fox-picker__title"},yd={class:"fox-picker__bar__action"},bd={class:"fox-picker__column"};function Sd(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Column"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(i,{position:"bottom","pop-class":e.popClasses,visible:e.show,"onUpdate:visible":n[3]||(n[3]=c=>e.show=c),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable,poppable:e.poppable},{default:(0,t.withCtx)(()=>[e.poppable?((0,t.openBlock)(),(0,t.createElementBlock)("view",pd,[(0,t.createElementVNode)("view",gd,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",yd,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...c)=>e.close&&e.close(...c))},(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]=(...c)=>e.confirm&&e.confirm(...c))},(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]=(...c)=>e.clear&&e.clear(...c))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",bd,[(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,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:"fox-picker__columnitem"},[(0,t.createVNode)(s,{visible:e.show,source:c,readonly:e.isReadonly(m),"column-index":m,modelValue:e.getIndex(m),"onUpdate:modelValue":h=>e.change(m,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))]),(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["pop-class","visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable","poppable"])],2)}var Kt=oe(hd,[["render",Sd]]);function vd(e,n,a,l,o,r,s=!0){return{props:{...pe,...ye,...Jl,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},separator:{type:[String],required:!1,defualt:" "}},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=Me(i,"modelValue",null,u),S=(0,t.ref)([]),f=(0,t.computed)(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const U={};return C.value&&(U["text-align"]=C.value),U}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=U=>{g.value=U},T=U=>{v.value=U,u("update:modelValue",U)},$=(U,z)=>{u("change",U,z)},V=U=>{let z=U.target.value;w.value=!0,u("focus",z,U)},W=U=>{setTimeout(()=>{w.value=!1},0);let z=U.target.value;i.maxLength&&z.length>Number(i.maxLength)&&(z=z.slice(0,Number(i.maxLength))),u("blur",z,U)},_=U=>{S.value=U,Array.isArray(U)&&U.length===0?u("update:text",U[0]):u("update:text",U)},E=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),D=(0,t.computed)(()=>ve(i.unit)>0),L=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),M=(0,t.computed)(()=>({hidden:!L.value})),R=U=>{v.value="",u("update:modelValue","",U),u("change","",U),u("clear","")},K=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),q=(0,t.computed)(()=>ve(v.value)>0&&w.value),G=U=>{q.value?R(U):y()},ne=(0,t.computed)(()=>q.value&&K.value?l:o),O=(0,t.computed)(()=>({action:!0}));return()=>{const U={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(U.disabled=!0);const z=[],Q=(0,t.h)("input",U);z.push(Q);const F=[],H=(0,t.h)(ne.value,{class:["action-icon"]}),J=(0,t.h)("view",{class:O.value,onClick:G},{default:()=>[H]});if(F.push(J),D.value){const I=(0,t.h)("view",{class:M.value},[i.unit]);F.push(I)}const X=(0,t.h)("view",{class:E.value},{default:()=>F});z.push(X);const te={default:()=>z};te.label=c.slots.default,te.prepend=c.slots.prepend,te.append=c.slots.append,te.fixedPreTip=c.slots.fixedPreTip,te.fixedTip=c.slots.fixedTip;const P=ge(i,Jl);P.disabled=!1,P.readonly=m.value||h.value,P.visible=g.value,P["onUpdate:visible"]=B,P.modelValue=v.value,P["onUpdate:modelValue"]=T,P.text=S.value,P["onUpdate:text"]=_,P.onChange=$;const j=(0,t.h)(r,P);te.hide=()=>[j];const x=ge(i,ye,pe);return i.prop&&(x.prop=`${i.prop}_item`),(0,t.h)(a,x,te)}}}}var{componentName:kd,create:wd,scope:Cd}=ee("picker-item"),Nd=wd(vd(kd,Cd,Ne,ae.CircleClose,ae.ArrowRight,Kt,!1)),ta=Nd,Ad=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:a}){return()=>e.poppable?(0,t.h)(be,{...a},n):n?.default?.()??null}}),Bd=Ad,Un=(e,n,a)=>e.map(l=>{const{value:o="value",text:r="text",children:s="children"}=a??{},{[o]:i,[r]:c,[s]:m,...h}=l,u={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:i,text:c,children:m,_parent:n};return u.children&&u.children.length&&(u.children=Un(u.children,u,a)),u}),ei=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&ei(l.children,n)},Td={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Vd=(e,n)=>{const{topId:a,idKey:l,pidKey:o,sortKey:r}={...Td,...n||{}};let s=[],i={};return e.forEach(c=>{c={...c};const{[l]:m,[o]:h}=c,u=i[h]=i[h]||[];!s.length&&h===a&&(s=u),u.push(c),c.children=i[m]||(i[m]=[])}),r&&Object.keys(i).forEach(c=>{i[c].length>1&&i[c].sort((m,h)=>m[r]-h[r])}),i=null,s},na={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}},ti=(e,n)=>n[e.textKey],Ut=(e,n)=>n[e.valueKey],$d=(e,n)=>n[e.visibleKey],ni=(e,n)=>n[e.disabledKey],Ed=(e,n)=>{const a=n[e.doitKey];return Se(a)},Dd=(e,n)=>{const a=n[e.numKey];return a==null?null:me(n[a])},li=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function Id(e,n,a,l,o,r=!1){return{props:{...na},emits:["update:modelValue","change","click"],setup(s,{slots:i,emit:c}){const m=(0,t.computed)(()=>{const x={};return x[`${e}`]=!0,x}),h=(0,t.computed)(()=>{const x={};return x[`${e}__titles`]=!0,x[`${s.direction}`]=!0,s.align&&(x[`${s.align}`]=!0),s.scroll===!0&&(x.scrollable=!0),s.shape&&(x[`${s.shape}`]=!0),s.showScrollArrow?(Q.value===!0&&(x["has-left-scroll-arrow "]=!0),F.value===!0&&(x["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(x["has-navigation"]=!0),x}),u=(0,t.computed)(()=>({})),p=(0,t.computed)(()=>{if(!s.gutter)return 0;const x=se(s.gutter);return x<=0?0:x}),b=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,x=>{b.value!==x&&(b.value=x,K(!1))});const w=(0,t.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),v=(0,t.computed)(()=>{const x={};return f.value||(x.display="none"),x}),S=(0,t.ref)(),f=(0,t.ref)(!1),k=()=>{d(!f.value)},d=x=>{const I=x;I?(f.value=I,setTimeout(()=>{w.value["fox-tabs-bar__popup--show"]=!0,w.value["fox-tabs-bar__popup--hide"]=!1},0)):(w.value["fox-tabs-bar__popup--show"]=!1,w.value["fox-tabs-bar__popup--hide"]=!0,S.value?S.value.addEventListener("transitionend",()=>{f.value=!1},{once:!0}):setTimeout(()=>{f.value=!1},0))},C=(0,t.ref)(),N=(0,t.ref)([]),g=(x,I)=>{N.value[I]=x},y=x=>I=>{g(I,x)},B=(x,I)=>{const Y=C.value,Z=N.value;if(!Y||!Z||!Z[x])return;const le=Z[x];let re=0;s.direction==="vertical"?re=le.offsetTop-(Y.offsetHeight-le.offsetHeight)/2:re=le.offsetLeft-(Y.offsetWidth-le.offsetWidth)/2,T(Y,re,I?0:.3,s.direction)},T=(x,I,Y,Z)=>{let le=0;const re=Z==="horizontal"?x.scrollLeft:x.scrollTop,ce=Y===0?1:Math.round(Y*1e3/16);function ke(){Z==="horizontal"?x.scrollLeft+=(I-re)/ce:x.scrollTop+=(I-re)/ce,++le<ce&&He(ke)}ke()},$=(x,I)=>{const Y=Ut(s,x),Z={};return Z[`${e}__titles-item`]=!0,Z.disabled=ni(s,x),Z.active=Y===b.value,s.shape&&(Z[`${s.shape}`]=!0),s.ellipsis&&(Z.ellipsis=!0),I&&(I.class&&(Z[`${I.class}`]=!0),I.disabled===!0&&(Z.disabled=I.disabled)),Z},V=(x,I)=>{const Y={};if(p.value>0){const Z=Math.abs(p.value/2);s.direction==="vertical"?(Y["margin-top"]=`${Z}px`,Y["margin-bottom"]=`${Z}px`):(Y["margin-left"]=`${Z}px`,Y["margin-right"]=`${Z}px`)}return I&&I.style&&Object.assign(Y,I.style),Y},W=(x,I)=>`${Ut(s,x)??I}`,_=(x,I)=>{const Y=Ut(s,x),Z={};Z[`${e}__popup-item`]=!0,Z.disabled=ni(s,x),Z.active=Y===b.value,s.shape&&(Z[`${s.shape}`]=!0);const le=li(s,x,I);return le&&le.disabled===!0&&(Z.disabled=le.disabled),Z},E=(0,t.computed)(()=>(s.data??[]).filter(x=>$d(s,x)!==!1)),D=(x,I)=>{const Y=Ut(s,x);if(c("click",x,I),b.value==Y)return;const Z=()=>{b.value=Y,s.scroll&&B(I,!1),c("update:modelValue",Y),c("change",x,I)};if(typeof s.beforeChange=="function"){const le=s.beforeChange(x,I);ut(le)?le.then(re=>{re!==!1&&Z()}).catch(()=>{Z()}):le!==!1&&Z()}else Z()},L=(x,I)=>function(){D(x,I)},M=(x,I)=>{D(x,I),d(!1)},R=(x,I)=>function(){M(x,I)},K=x=>{if(!Array.isArray(s.data)||!s.scroll)return;z()&&te();const I=s.data.findIndex(Y=>Ut(s,Y)===b.value);I!==-1&&B(I,x)},q=()=>{z()||P()};(0,t.watch)(()=>s.data,()=>{setTimeout(K,0)}),(0,t.onMounted)(()=>{K(!0)}),(0,t.onBeforeUnmount)(()=>{q()});const G=(x,I)=>{if(i.item)return i.item({item:x,index:I});const Y=li(s,x,I),Z=[];if(i.text){const re=i.text({item:x,index:I});Z.push(re)}else{const re=[];if(Y?.doit===!0||Ed(s,x)){const ct=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});re.push(ct)}const ce=Y?.num??Dd(s,x);if(ce){let ct="";const tt=me(ce);tt>=100?ct="99+":ct=`${tt}`;const Ho=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[ct]);re.push(Ho)}const ke={class:`${e}__titles-item-text`};re.push(ti(s,x));const Dt=(0,t.h)("view",ke,re);Z.push(Dt)}const le=(0,t.h)("view",{class:`${e}__titles-item-line`});return Z.push(le),(0,t.h)("view",{ref:y(I),class:$(x,Y),style:V(x,Y),key:W(x,I),onClick:L(x,I)},Z)},ne=()=>{const x=i.default?i.default():[];if(x.length===0)for(let I=0;I<E.value.length;I++){const Y=E.value[I],Z=G(Y,I);x.push(Z)}return(0,t.h)("view",{ref:C,class:h.value,style:u.value},x)},O=()=>{let x=null;return i.navigation?x=i.navigation():x=(0,t.h)(a),(0,t.h)("view",{class:`${e}__navigation`,onClick:k},[x])},U=()=>{const x=[];for(let I=0;I<E.value.length;I++){const Y=E.value[I];let Z=null;i.popupItem?Z=i.popupItem({item:Y,index:I}):Z=ti(s,Y);const le=(0,t.h)("view",{class:_(Y,I),key:W(Y,I),onClick:R(Y,I)},[Z]);x.push(le)}return(0,t.h)("view",{class:w.value,style:v.value},x)},z=()=>s.showScrollArrow&&s.direction=="horizontal",Q=(0,t.ref)(!1),F=(0,t.ref)(!1),H=x=>{const I=C.value,Y=N.value;if(!(!I||!Y))if(x==="left"){const Z=I.scrollLeft;let le=Z;for(let re=0;re<Y.length;re++){const ce=Y[re].offsetLeft;if(Z-ce<0)break;le=ce}T(I,le,.3,"horizontal")}else{const Z=I.scrollLeft;let le=Z,re=I.offsetWidth;for(let ce=Y.length-1;ce>=0;ce--){const ke=Y[ce].offsetLeft+Y[ce].offsetWidth;if(ke-Z<I.offsetWidth){le+=re-ke;break}re=ke}T(I,le,.3,"horizontal")}},J=Pe(()=>{const x=C.value;if(!x)return;let I=x.scrollLeft>0;I!==Q.value&&(Q.value=I);let Y=x.scrollWidth-x.scrollLeft>x.offsetWidth;Y!==F.value&&(F.value=Y)},50),X=x=>{J()},te=()=>{const x=C.value;x&&(J(),x.addEventListener("scroll",X))},P=()=>{const x=C.value;x&&x.removeEventListener("scroll",X)},j=x=>{if(x==="left"&&Q.value!==!0||x==="right"&&F.value!==!0)return null;let I=null;return x==="left"?i.leftArrow?I=i.leftArrow():I=(0,t.h)(l):i.rightArrow?I=i.rightArrow():I=(0,t.h)(o),(0,t.h)("view",{class:[`${e}__scroll-arrow`,x],onClick:()=>{H(x)}},[I])};return()=>{const x=[],I=ne();if(x.push(I),z()){const Y=j("left");Y&&x.push(Y);const Z=j("right");Z&&x.push(Z)}else if(s.showQuickNavigation){const Y=O();x.push(Y);const Z=U();x.push(Z)}return(0,t.h)("view",{class:m.value},x)}}}}var{create:qd,componentName:xd,scope:Pd}=ee("tabs-bar"),Md=qd(Id(xd,Pd,ae.MoreH,ae.Left,ae.Right,!1)),Ht=Md,ai=Symbol("TabsStatesKey"),la={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},height:{type:[String,Number]},width:{type:[String,Number]}},zd=15,Ld=300,Od=200;function Rd(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function oi(e,n=0,a,l,o=Od){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)`}var Fd=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,a,l=1,o){this.onStart=e,this.onMove=n,this.onEnd=a,this.momentumReduceRatio=l,this.isTouch=o??Fn()}open(e){this.el=e;const n=Kn(),a=(l,o,r)=>{const s={delta:l,direction:o,type:r};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=l=>{if(this.moving)return;n.start(l),this.transitionEndTrigger=()=>{e.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,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=l=>{if(!this.moving)return;n.move(l);let o=0;if(this.direction==="horizontal"){if(n.isVertical())return;o=n.state.deltaX}else{if(n.isHorizontal())return;o=n.state.deltaY}a(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 l=0;if(this.direction==="horizontal"){if(n.isVertical()){this.moving=!1;return}l=n.state.deltaX}else{if(n.isHorizontal()){this.moving=!1;return}l=n.state.deltaY}const o=n.state.duration;o<Ld&&Math.abs(l)>zd?(l=Rd(l,o,this.momentumReduceRatio),a(l,this.direction,"end")):a(l,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 Kd(e,n,a,l=1,o){return new Fd(e,n,a,l,o)}function Ud(e,n,a=!1){return{props:{...la},emits:["update:modelValue","change"],setup(l,{emit:o,slots:r}){const s=(0,t.shallowRef)([]),i={current:(0,t.ref)(l.modelValue??""),direction:(0,t.ref)(l.direction),tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:y=>{const B={name:y};i.current.value===y&&(B.loaded=!0),s.value.push(B),(0,t.triggerRef)(s)},remove:y=>{const B=s.value.findIndex(T=>T.name===y);B!==-1&&s.value.splice(B,1)},isLoaded:y=>{if(!l.lazy)return!0;const B=s.value.findIndex(T=>T.name===y);return B!==-1?i.current.value?s.value[B].loaded??!1:B===0:!1}};(0,t.provide)(ai,i);const c=y=>{const B=s.value.findIndex(T=>T.name===y);B!==-1&&(s.value[B].loaded=!0,(0,t.triggerRef)(s))};(0,t.watch)([()=>l.modelValue,()=>l.direction],([y,B])=>{i.current.value!==y&&(i.current.value=y??"",c(y??"")),i.direction.value!==B&&(i.direction.value=B)});const m=(0,t.ref)(null),h=(0,t.ref)(null),u=(0,t.computed)(()=>({[e]:!0,[`${l.direction}`]:!0})),p=(0,t.computed)(()=>{const y={};if(l.width){const B=de(l.width);B&&(y.width=B)}if(l.height){const B=de(l.height);B&&(y.height=B)}return y});let b=!0;const w=(0,t.computed)(()=>{const y={},B=s.value.length;if(B<=0)return y;const T=s.value.findIndex($=>$.name===i.current.value);return i.direction.value==="vertical"?i.tabHeight.value>0&&(y.height=`${B*i.tabHeight.value}px`,T!==-1&&(y.transform=`translate(0, -${T*i.tabHeight.value}px)`)):i.tabWidth.value>0&&(y.width=`${B*i.tabWidth.value}px`,T!==-1&&(y.transform=`translate(-${T*i.tabWidth.value}px, 0)`)),b&&(b=!1,y.transition="transform 0s ease"),y}),v={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},S=y=>{const B=s.value.length,T=s.value.findIndex($=>$.name===i.current.value);v.moved=0,y.direction==="vertical"?(v.min=-1*(i.tabHeight.value*(B-1)+i.tabHeight.value/4),v.max=i.tabHeight.value/4,v.start=-T*i.tabHeight.value,v.itemDistance=i.tabHeight.value):(v.min=-1*(i.tabWidth.value*(B-1)+i.tabWidth.value/4),v.max=i.tabWidth.value/4,v.start=-T*i.tabWidth.value,v.itemDistance=i.tabWidth.value)},f=y=>{const B=h.value;if(!B)return;let T=v.start+y.delta;if(T>v.max?T=v.max:T<v.min&&(T=v.min),y.type==="move")oi(B,T,"move",y.direction,300);else if(y.type==="end"){let $=Math.floor(Math.abs(T)*1/v.itemDistance);const V=Math.abs(T)%v.itemDistance;v.start>T?V>=v.itemDistance*v.triggerAutoMoveRatio&&($+=1):V>v.itemDistance-v.itemDistance*v.triggerAutoMoveRatio&&($+=1),T=-1*$*v.itemDistance,oi(B,T,"end",y.direction,300),v.moved=T;const W=s.value[$].name;i.current.value=W??"",c(W??""),o("update:modelValue",W)}},k=()=>{},d=()=>{if(!m.value)return;const y=Bn(m.value);i.tabWidth.value=y.width,i.tabHeight.value=y.height},C=yn(d,120);let N=null,g=null;return(0,t.onMounted)(()=>{m.value&&(d(),window.ResizeObserver&&(g=new window.ResizeObserver(C),g.observe(m.value)),l.draggle&&(N=Kd(S,f,k),N.open(h.value)))}),(0,t.onBeforeUnmount)(()=>{g&&(g.disconnect(),g=null),N&&N.close()}),Te({doLayout(){d()}}),()=>{const y=(0,t.h)("view",{class:`${e}__panes`,style:w.value,ref:h},[r?.default?.()]);return(0,t.h)("view",{class:u.value,style:p.value,ref:m},[y])}}}}var{create:Hd,componentName:jd,scope:Wd}=ee("tabs-container"),Yd=Hd(Ud(jd,Wd,!1)),jt=Yd,Xd={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 Qd(e,n,a){return{props:{...Xd},setup(l,{emit:o,slots:r}){const s=(0,t.inject)(ai);(0,t.onMounted)(()=>{s.add(l.paneKey)}),(0,t.onBeforeUnmount)(()=>{s.remove(l.paneKey)});const i=(0,t.computed)(()=>{const m={};return s.direction.value==="vertical"&&s.tabHeight.value>0?m.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(m.width=`${s.tabWidth.value}px`),m}),c=(0,t.computed)(()=>l.loaded!=null?Se(l.loaded):s.isLoaded(l.paneKey));return()=>{let m=[];if(c.value)m=r?.default?.()??[];else if(r.empty)m=r.empty();else{const h={class:`${e}__empty-icon`},u=(0,t.h)(l.emptyIcon??a,h),p=(0,t.h)("view",{class:`${e}__empty-text`},[l.emptyText??"Loading"]),b=(0,t.h)("view",{class:`${e}__empty`},[u,p]);m.push(b)}return(0,t.h)("view",{class:`${e}`,style:i.value,prop:l.paneKey},m)}}}}var{create:Gd,componentName:Zd,scope:_d}=ee("tabs-pane"),Jd=Gd(Qd(Zd,_d,ae.Loading)),Hn=Jd,ri=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=Un(e,null,this.config)}updateChildren(e,n){n?n.children=Un(e,n,this.config):this.nodes=Un(e,null,this.config)}getNodeByValue(e){let n;return ei(this.nodes,a=>{if(a.value===e)return n=a,!0}),n}getPathNodesByValue(e){if(!e.length)return[];const n=[];let a=this.nodes;for(;a&&a.length;){const l=a.find(o=>o.value===e[o.level]);if(!l)break;n.push(l),a=l.children}return n}isLeaf(e,n){const{leaf:a,children:l}=e,o=Array.isArray(l)&&!!l.length;return a||!o&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:a}=e;return Array.isArray(a)&&!!a.length}},{create:ef,scope:tf}=ee("cascader-pane"),nf=ef({components:{Loading:ae.Loading,Checklist:ae.Checklist,TabsBar:Ht,TabsContainer:jt,TabsPane:Hn},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}=(0,he.useFoxI18n)(tf),l=(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)(),s=(0,t.ref)(!1),i=(0,t.ref)(e.modelValue),c=(0,t.ref)(new ri([],{})),m=(0,t.ref)([]),h=(0,t.computed)(()=>l.value.lazy&&!!l.value.lazyLoad),u=(0,t.computed)(()=>s.value==!0||m.value.length==0?[{text:"Loading",value:0}]:m.value.map((d,C)=>({text:d.selectedNode?d.selectedNode.text:a("select"),value:C}))),p=new Map;let b;const w=async()=>{p.clear(),m.value=[],o.value=0,s.value=!1,b=null;let{options:d}=e;l.value.convertConfig&&(d=Vd(d,l.value.convertConfig)),c.value=new ri(d,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),h.value&&!c.value.nodes.length&&await S({root:!0,loading:!0,text:"",value:""}),m.value=[{nodes:c.value.nodes,selectedNode:null}],v(!h.value)},v=async(d=!0)=>{const C=i.value;if(C===void 0||!c.value.nodes.length)return;if(C.length===0){o.value=0,m.value=[{nodes:c.value.nodes,selectedNode:null}];return}let N=C;if(h.value&&Array.isArray(C)&&C.length){N=[];let g=c.value.nodes.find(y=>y.value===C[0]);g&&(N=[g.value],s.value=!0,await S(await C.slice(1).reduce(async(y,B)=>{const T=await y;await S(T);const $=T&&T?.children?.find(V=>V.value===B);return $&&N.push(B),Promise.resolve($)},Promise.resolve(g))),s.value=!1)}N.length&&C===e.modelValue&&c.value.getPathNodesByValue(N).map((g,y)=>{o.value=y,k.handleNode(g,d)})},S=async d=>{if(!d)return;if(!l.value.lazyLoad){d.leaf=!0;return}if(c.value.isLeaf(d,h.value)||c.value.hasChildren(d,h.value))return;d.loading=!0;const C=d.root?null:d;let N=p.get(d);N||(N=new Promise(y=>{l.value.lazyLoad?.(d,y)}),p.set(d,N));const g=await N;Array.isArray(g)&&g.length>0?c.value.updateChildren(g,C):d.leaf=!0,d.loading=!1,p.delete(d)},f=d=>{const C=d.map(N=>N.value);i.value=C,n("change",C,d),n("pathChange",d),n("update:modelValue",C)},k={async handleNode(d,C){const{disabled:N,loading:g}=d;if(!(!C&&N||!m.value[o.value])){if(c.value.isLeaf(d,h.value)){if(d.leaf=!0,m.value[o.value].selectedNode=d,m.value=m.value.slice(0,d.level+1),!C){const y=m.value.map(B=>B.selectedNode);f(y),n("pathChange",y)}return}if(c.value.hasChildren(d,h.value)){const y=d.level+1;m.value[o.value].selectedNode=d,m.value=m.value.slice(0,y),m.value.push({nodes:d.children||[],selectedNode:null}),o.value=y,C||n("pathChange",m.value.map(B=>B.selectedNode));return}b=d,!g&&(await S(d),b===d&&(m.value[o.value].selectedNode=d,k.handleNode(d,C)))}},handleTabChange(d,C){b=null},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:a("select")},isSelected(d,C){return d.selectedNode&&d.selectedNode.value===C.value}};return(0,t.watch)([l,()=>e.options],()=>{w()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,d=>{Ie(d,i.value)||(i.value=d,v(!h.value))}),(0,t.watch)(()=>e.visible,d=>{d&&Array.isArray(i.value)&&i.value.length>0&&v(),d&&r.value&&setTimeout(()=>{r.value.doLayout()},0)}),{panes:m,panesTitles:u,initLoading:s,tabsCursor:o,tabsContainerRef:r,...k}}}),lf={class:"fox-cascader"},af={role:"menu",class:"fox-cascader__pane"},of=["aria-checked","aria-disabled","onClick"],rf={class:"fox-cascader__item__title"};function sf(e,n,a,l,o,r){const s=(0,t.resolveComponent)("TabsBar"),i=(0,t.resolveComponent)("Loading"),c=(0,t.resolveComponent)("Checklist"),m=(0,t.resolveComponent)("TabsPane"),h=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",lf,[(0,t.createVNode)(s,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=u=>e.tabsCursor=u),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,t.createVNode)(h,{ref:"tabsContainerRef",modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=u=>e.tabsCursor=u)},{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,(u,p)=>((0,t.openBlock)(),(0,t.createBlock)(m,{"pane-key":p,key:p},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",af,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(u.nodes,b=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:b.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(u,b),disabled:b.disabled}]),"aria-checked":e.isSelected(u,b),"aria-disabled":b.disabled||void 0,role:"menuitemradio",onClick:w=>e.handleNode(b,!1)},[(0,t.createElementVNode)("view",rf,(0,t.toDisplayString)(b.text),1),b.loading?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(c,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,of))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(m,{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 cf=oe(nf,[["render",sf]]),{create:uf}=ee("cascader"),df=uf({components:{CascaderPane:cf,Wrapper:Bd},props:{...et,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=(0,t.ref)(e.modelValue),l=(0,t.computed)({get(){return e.visible},set(s){n("update:visible",s)}}),o=(s,i)=>{a.value=s,l.value=!1,n("change",s,i),n("update:modelValue",s)},r=s=>{n("pathChange",s)};return(0,t.watch)(()=>e.modelValue,s=>{s!==a.value&&(a.value=s)}),{onChange:o,onPathChange:r,innerValue:a,innerVisible:l}}}),ff=["innerHTML"];function mf(e,n,a,l,o,r){const s=(0,t.resolveComponent)("CascaderPane"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(i,{poppable:e.poppable,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=c=>e.innerVisible=c),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,ff)):(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,["poppable","visible","closeable","close-icon-position"])}var jn=oe(df,[["render",mf]]);function St(e,n){return n[e.textKey??"text"]??""}function vt(e,n){return n[e.valueKey??"value"]}function ii(e,n){return n[e.childrenKey??"children"]}function Wn(e,n=[]){const a={texts:[],values:[]};for(let l=0;l<n.length;l++){const o=n[l],r=St(e,o),s=vt(e,o);a.texts.push(r),a.values.push(s??"")}return a}function si(e,n,a,l,o=[]){if(!a)return;const r=a[l];for(let s=0;s<n.length;s++)if(St(e,n[s])===r){const i=vt(e,n[s])??"",c={[e.textKey]:r,[e.valueKey]:i};o.push(c);const m=ii(e,n[s]);Array.isArray(m)&&si(e,m,a,l+1,o);return}}function ci(e,n,a,l,o=[]){if(!a)return;const r=a[l];for(let s=0;s<n.length;s++)if(vt(e,n[s])===r){const i=St(e,n[s])??"",c={[e.textKey]:i,[e.valueKey]:r};o.push(c);const m=ii(e,n[s]);Array.isArray(m)&&ci(e,m,a,l+1,o);return}}function aa(e,n,a){if(n===a)return!0;if(n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(St(e,n[l])!==St(e,a[l])||vt(e,n[l])!==vt(e,a[l]))return!1;return!0}var hf=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){const l="cascader";if(Array.isArray(e))return e;if(typeof e=="function")return await e(n,a);const o=_e(this.proxy,l);return o===null?(console.error(`${l} component not found api function`),[]):(De(n)&&(0,t.isReactive)(n)&&(n=(0,t.toRaw)(n)),await o(e,n,a))}};function pf(){return new hf((0,t.getCurrentInstance)().proxy)}var ui={modelValue:{type:[Array,String]},pathNodes:{type:[Array]},title:{type:String,required:!1},placeholder:{type:String,required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},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},showAllLevels:{type:[Boolean],default:!0},separator:{type:[String],default:"/"}};function gf(e,n,a,l,o,r,s=!1){return{props:{...pe,...ye,...ui},emits:["update:modelValue","change","pathChange","blur","focus","clear","update:pathNodes","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=pf(),S=(0,t.ref)([]),f=(0,t.ref)([]),k=(0,t.computed)(()=>{if(Array.isArray(f.value)){if(i.showAllLevels===!1){const H=f.value.length-1;return f.value[H]}return f.value.join(i.separator)}else return f.value}),d=(0,t.ref)([]),C=(0,t.ref)([]);(0,t.watch)([()=>i.modelValue,()=>S.value],async([H,J])=>{if(u("setValue",H),i.lazy===!0){C.value.length==0&&(d.value=Array.isArray(H)?H:[]);return}if(i.valueType==="item"){let X=H;if(!aa(i,X,C.value)){C.value=X;let te=Wn(i,X);f.value=te.texts,d.value=te.values}}else if(i.valueType==="text"){let X=H,te=[];if(si(i,J,X,0,te),!aa(i,te,C.value)){C.value=te;let P=Wn(i,te);X.value=P.texts,d.value=P.values}}else{let X=[];if(ci(i,J,H,0,X),!aa(i,X,C.value)){C.value=X;let te=Wn(i,X);f.value=te.texts,d.value=te.values}}}),i.lazy===!0&&(d.value=Array.isArray(i.modelValue)?i.modelValue:[]),(0,t.watch)([()=>i.source,()=>i.params],async([H,J])=>{i.lazy||H&&(S.value=await v.load(H,J))},{immediate:!0});const N="fox-input-item",g=(0,t.computed)(()=>({[N]:!0,"is-disabled":m.value,"is-readonly":h.value})),y=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),B=(0,t.computed)(()=>{const H={};return y.value&&(H["text-align"]=y.value),H}),T=(0,t.ref)(!1),$=()=>{m.value===!0||h.value===!0||(T.value=!0)},V=H=>{T.value=H},W=(H,J)=>{let X=J.map(P=>{if(P==null)return P;let j={...P};return Reflect.deleteProperty(j,"text"),j[i.textKey]=P.text??"",Reflect.deleteProperty(j,"value"),j[i.valueKey]=P.value??"",j});C.value=X;let te=Wn(i,X);f.value=te.texts,d.value=te.values,i.valueType==="text"?(u("change",f.value,X),u("update:modelValue",f.value)):i.valueType==="item"?(u("change",X,X),u("update:modelValue",X)):(u("change",d.value,X),u("update:modelValue",d.value)),u("update:pathNodes",X)},_=H=>{u("pathChange",H.map(J=>{if(J==null)return J;let X={...J};return Reflect.deleteProperty(X,"text"),X[i.textKey]=J.text??"",Reflect.deleteProperty(X,"value"),X[i.valueKey]=J.value??"",X}))},E=H=>{w.value=!0,u("focus",d.value,H)},D=H=>{setTimeout(()=>{w.value=!1},0),u("blur",d.value,H)},L=(0,t.computed)(()=>({[`${N}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),M=(0,t.computed)(()=>ve(i.unit)>0),R=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),K=(0,t.computed)(()=>({hidden:!R.value})),q=H=>{C.value=[],f.value=[],d.value=[],u("update:modelValue",[]),u("change",[],H),u("clear",[]),u("update:pathNodes",[])},G=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),ne=(0,t.computed)(()=>{let H=d.value&&d.value.length>0;return i.clearable&&H&&w.value}),O=H=>{ne.value?q(H):$()},U=(0,t.computed)(()=>ne.value&&G.value?l:o),z=(0,t.computed)(()=>({action:!0}));let Q=null;const F=()=>typeof Q=="function"?Q:typeof i.lazyLoad=="function"?i.lazyLoad:(Q=async(H,J)=>{const X=[],te=[];let P=0;if(!H.root){let j=H;for(;j;){const x=St(i,j),I=vt(i,j);te.splice(0,0,x),X.splice(0,0,I),j=j._parent}P=X.length}J(await v.load(i.source,{...H,level:P,pathLabels:te,pathValues:X},!0))},Q);return()=>{const H={class:g.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:$,onFocus:E,onBlur:D};s&&(H.disabled=!0);const J=[],X=(0,t.h)("input",H);J.push(X);const te=[],P=(0,t.h)(U.value,{class:["action-icon"]}),j=(0,t.h)("view",{class:z.value,onClick:O},{default:()=>[P]});if(te.push(j),M.value){const ce=(0,t.h)("view",{class:K.value},[i.unit]);te.push(ce)}const x=(0,t.h)("view",{class:L.value},{default:()=>te});J.push(x);const I={default:()=>J};I.label=c.slots.default,I.prepend=c.slots.prepend,I.append=c.slots.append,I.fixedPreTip=c.slots.fixedPreTip,I.fixedTip=c.slots.fixedTip;const Y={};Y.visible=T.value,Y["onUpdate:visible"]=V,Y.modelValue=d.value,Y.onChange=W,Y.onPathChange=_,Y.title=i.title,Y.valueKey=i.valueKey,Y.textKey=i.textKey,Y.childrenKey=i.childrenKey,Y.convertConfig=i.convertConfig,i.lazy?(Y.lazy=!0,Y.lazyLoad=F()):Y.options=S.value;const Z={};Z.header=c.slots.header;const le=(0,t.h)(r,Y,Z);I.hide=()=>[le];const re={...Qe(i,ui)};return i.prop&&(re.prop=`${i.prop}_item`),(0,t.h)(a,re,I)}}}}var{componentName:yf,create:bf,scope:Sf}=ee("cascader-item"),vf=bf(gf(yf,Sf,Ne,ae.CircleClose,ae.ArrowRight,jn,!1)),oa=vf,kf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs=l()})(e,(function(){"use strict";var a=1e3,l=6e4,o=36e5,r="millisecond",s="second",i="minute",c="hour",m="day",h="week",u="month",p="quarter",b="year",w="date",v="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|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,k={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(E){var D=["th","st","nd","rd"],L=E%100;return"["+E+(D[(L-20)%10]||D[L]||D[0])+"]"}},d=function(E,D,L){var M=String(E);return!M||M.length>=D?E:""+Array(D+1-M.length).join(L)+E},C={s:d,z:function(E){var D=-E.utcOffset(),L=Math.abs(D),M=Math.floor(L/60),R=L%60;return(D<=0?"+":"-")+d(M,2,"0")+":"+d(R,2,"0")},m:function E(D,L){if(D.date()<L.date())return-E(L,D);var M=12*(L.year()-D.year())+(L.month()-D.month()),R=D.clone().add(M,u),K=L-R<0,q=D.clone().add(M+(K?-1:1),u);return+(-(M+(L-R)/(K?R-q:q-R))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:u,y:b,w:h,d:m,D:w,h:c,m:i,s,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",g={};g[N]=k;var y="$isDayjsObject",B=function(E){return E instanceof W||!(!E||!E[y])},T=function E(D,L,M){var R;if(!D)return N;if(typeof D=="string"){var K=D.toLowerCase();g[K]&&(R=K),L&&(g[K]=L,R=K);var q=D.split("-");if(!R&&q.length>1)return E(q[0])}else{var G=D.name;g[G]=D,R=G}return!M&&R&&(N=R),R||!M&&N},$=function(E,D){if(B(E))return E.clone();var L=typeof D=="object"?D:{};return L.date=E,L.args=arguments,new W(L)},V=C;V.l=T,V.i=B,V.w=function(E,D){return $(E,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var W=(function(){function E(L){this.$L=T(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[y]=!0}var D=E.prototype;return D.parse=function(L){this.$d=(function(M){var R=M.date,K=M.utc;if(R===null)return new Date(NaN);if(V.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var q=R.match(S);if(q){var G=q[2]-1||0,ne=(q[7]||"0").substring(0,3);return K?new Date(Date.UTC(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,ne)):new Date(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,ne)}}return new Date(R)})(L),this.init()},D.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},D.$utils=function(){return V},D.isValid=function(){return this.$d.toString()!==v},D.isSame=function(L,M){var R=$(L);return this.startOf(M)<=R&&R<=this.endOf(M)},D.isAfter=function(L,M){return $(L)<this.startOf(M)},D.isBefore=function(L,M){return this.endOf(M)<$(L)},D.$g=function(L,M,R){return V.u(L)?this[M]:this.set(R,L)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(L,M){var R=this,K=!!V.u(M)||M,q=V.p(L),G=function(J,X){var te=V.w(R.$u?Date.UTC(R.$y,X,J):new Date(R.$y,X,J),R);return K?te:te.endOf(m)},ne=function(J,X){return V.w(R.toDate()[J].apply(R.toDate("s"),(K?[0,0,0,0]:[23,59,59,999]).slice(X)),R)},O=this.$W,U=this.$M,z=this.$D,Q="set"+(this.$u?"UTC":"");switch(q){case b:return K?G(1,0):G(31,11);case u:return K?G(1,U):G(0,U+1);case h:var F=this.$locale().weekStart||0,H=(O<F?O+7:O)-F;return G(K?z-H:z+(6-H),U);case m:case w:return ne(Q+"Hours",0);case c:return ne(Q+"Minutes",1);case i:return ne(Q+"Seconds",2);case s:return ne(Q+"Milliseconds",3);default:return this.clone()}},D.endOf=function(L){return this.startOf(L,!1)},D.$set=function(L,M){var R,K=V.p(L),q="set"+(this.$u?"UTC":""),G=(R={},R[m]=q+"Date",R[w]=q+"Date",R[u]=q+"Month",R[b]=q+"FullYear",R[c]=q+"Hours",R[i]=q+"Minutes",R[s]=q+"Seconds",R[r]=q+"Milliseconds",R)[K],ne=K===m?this.$D+(M-this.$W):M;if(K===u||K===b){var O=this.clone().set(w,1);O.$d[G](ne),O.init(),this.$d=O.set(w,Math.min(this.$D,O.daysInMonth())).$d}else G&&this.$d[G](ne);return this.init(),this},D.set=function(L,M){return this.clone().$set(L,M)},D.get=function(L){return this[V.p(L)]()},D.add=function(L,M){var R,K=this;L=Number(L);var q=V.p(M),G=function(U){var z=$(K);return V.w(z.date(z.date()+Math.round(U*L)),K)};if(q===u)return this.set(u,this.$M+L);if(q===b)return this.set(b,this.$y+L);if(q===m)return G(1);if(q===h)return G(7);var ne=(R={},R[i]=l,R[c]=o,R[s]=a,R)[q]||1,O=this.$d.getTime()+L*ne;return V.w(O,this)},D.subtract=function(L,M){return this.add(-1*L,M)},D.format=function(L){var M=this,R=this.$locale();if(!this.isValid())return R.invalidDate||v;var K=L||"YYYY-MM-DDTHH:mm:ssZ",q=V.z(this),G=this.$H,ne=this.$m,O=this.$M,U=R.weekdays,z=R.months,Q=R.meridiem,F=function(X,te,P,j){return X&&(X[te]||X(M,K))||P[te].slice(0,j)},H=function(X){return V.s(G%12||12,X,"0")},J=Q||function(X,te,P){var j=X<12?"AM":"PM";return P?j.toLowerCase():j};return K.replace(f,(function(X,te){return te||(function(P){switch(P){case"YY":return String(M.$y).slice(-2);case"YYYY":return V.s(M.$y,4,"0");case"M":return O+1;case"MM":return V.s(O+1,2,"0");case"MMM":return F(R.monthsShort,O,z,3);case"MMMM":return F(z,O);case"D":return M.$D;case"DD":return V.s(M.$D,2,"0");case"d":return String(M.$W);case"dd":return F(R.weekdaysMin,M.$W,U,2);case"ddd":return F(R.weekdaysShort,M.$W,U,3);case"dddd":return U[M.$W];case"H":return String(G);case"HH":return V.s(G,2,"0");case"h":return H(1);case"hh":return H(2);case"a":return J(G,ne,!0);case"A":return J(G,ne,!1);case"m":return String(ne);case"mm":return V.s(ne,2,"0");case"s":return String(M.$s);case"ss":return V.s(M.$s,2,"0");case"SSS":return V.s(M.$ms,3,"0");case"Z":return q}return null})(X)||q.replace(":","")}))},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(L,M,R){var K,q=this,G=V.p(M),ne=$(L),O=(ne.utcOffset()-this.utcOffset())*l,U=this-ne,z=function(){return V.m(q,ne)};switch(G){case b:K=z()/12;break;case u:K=z();break;case p:K=z()/3;break;case h:K=(U-O)/6048e5;break;case m:K=(U-O)/864e5;break;case c:K=U/o;break;case i:K=U/l;break;case s:K=U/a;break;default:K=U}return R?K:V.a(K)},D.daysInMonth=function(){return this.endOf(u).$D},D.$locale=function(){return g[this.$L]},D.locale=function(L,M){if(!L)return this.$L;var R=this.clone(),K=T(L,M,!0);return K&&(R.$L=K),R},D.clone=function(){return V.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},E})(),_=W.prototype;return $.prototype=_,[["$ms",r],["$s",s],["$m",i],["$H",c],["$W",m],["$M",u],["$y",b],["$D",w]].forEach((function(E){_[E[1]]=function(D){return this.$g(D,E[0],E[1])}})),$.extend=function(E,D){return E.$i||(E(D,W,$),E.$i=!0),$},$.locale=T,$.isDayjs=B,$.unix=function(E){return $(1e3*E)},$.en=g[N],$.Ls=g,$.p={},$}))})),wf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_customParseFormat=l()})(e,(function(){"use strict";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|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?/,i=/\d*[^-_:/,()\s\d]+/,c={},m=function(S){return(S=+S)+(S>68?1900:2e3)},h=function(S){return function(f){this[S]=+f}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(S){(this.zone||(this.zone={})).offset=(function(f){if(!f||f==="Z")return 0;var k=f.match(/([+-]|\d\d)/g),d=60*k[1]+(+k[2]||0);return d===0?0:k[0]==="+"?-d:d})(S)}],p=function(S){var f=c[S];return f&&(f.indexOf?f:f.s.concat(f.f))},b=function(S,f){var k,d=c.meridiem;if(d){for(var C=1;C<=24;C+=1)if(S.indexOf(d(C,0,f))>-1){k=C>12;break}}else k=S===(f?"pm":"PM");return k},w={A:[i,function(S){this.afternoon=b(S,!1)}],a:[i,function(S){this.afternoon=b(S,!0)}],Q:[o,function(S){this.month=3*(S-1)+1}],S:[o,function(S){this.milliseconds=100*+S}],SS:[r,function(S){this.milliseconds=10*+S}],SSS:[/\d{3}/,function(S){this.milliseconds=+S}],s:[s,h("seconds")],ss:[s,h("seconds")],m:[s,h("minutes")],mm:[s,h("minutes")],H:[s,h("hours")],h:[s,h("hours")],HH:[s,h("hours")],hh:[s,h("hours")],D:[s,h("day")],DD:[r,h("day")],Do:[i,function(S){var f=c.ordinal;if(this.day=S.match(/\d+/)[0],f)for(var k=1;k<=31;k+=1)f(k).replace(/\[|\]/g,"")===S&&(this.day=k)}],w:[s,h("week")],ww:[r,h("week")],M:[s,h("month")],MM:[r,h("month")],MMM:[i,function(S){var f=p("months"),k=(p("monthsShort")||f.map((function(d){return d.slice(0,3)}))).indexOf(S)+1;if(k<1)throw new Error;this.month=k%12||k}],MMMM:[i,function(S){var f=p("months").indexOf(S)+1;if(f<1)throw new Error;this.month=f%12||f}],Y:[/[+-]?\d+/,h("year")],YY:[r,function(S){this.year=m(S)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function v(S){for(var f=S,k=c&&c.formats,d=(S=f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,V,W){var _=W&&W.toUpperCase();return V||k[W]||a[W]||k[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(E,D,L){return D||L.slice(1)}))}))).match(l),C=d.length,N=0;N<C;N+=1){var g=d[N],y=w[g],B=y&&y[0],T=y&&y[1];d[N]=T?{regex:B,parser:T}:g.replace(/^\[|\]$/g,"")}return function($){for(var V={},W=0,_=0;W<C;W+=1){var E=d[W];if(typeof E=="string")_+=E.length;else{var D=E.regex,L=E.parser,M=$.slice(_),R=D.exec(M)[0];L.call(V,R),$=$.replace(R,"")}}return(function(K){var q=K.afternoon;if(q!==void 0){var G=K.hours;q?G<12&&(K.hours+=12):G===12&&(K.hours=0),delete K.afternoon}})(V),V}}return function(S,f,k){k.p.customParseFormat=!0,S&&S.parseTwoDigitYear&&(m=S.parseTwoDigitYear);var d=f.prototype,C=d.parse;d.parse=function(N){var g=N.date,y=N.utc,B=N.args;this.$u=y;var T=B[1];if(typeof T=="string"){var $=B[2]===!0,V=B[3]===!0,W=$||V,_=B[2];V&&(_=B[2]),c=this.$locale(),!$&&_&&(c=k.Ls[_]),this.$d=(function(M,R,K,q){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*M);var G=v(R)(M),ne=G.year,O=G.month,U=G.day,z=G.hours,Q=G.minutes,F=G.seconds,H=G.milliseconds,J=G.zone,X=G.week,te=new Date,P=U||(ne||O?1:te.getDate()),j=ne||te.getFullYear(),x=0;ne&&!O||(x=O>0?O-1:te.getMonth());var I,Y=z||0,Z=Q||0,le=F||0,re=H||0;return J?new Date(Date.UTC(j,x,P,Y,Z,le,re+60*J.offset*1e3)):K?new Date(Date.UTC(j,x,P,Y,Z,le,re)):(I=new Date(j,x,P,Y,Z,le,re),X&&(I=q(I).week(X).toDate()),I)}catch{return new Date("")}})(g,T,y,k),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),W&&g!=this.format(T)&&(this.$d=new Date("")),c={}}else if(T instanceof Array)for(var E=T.length,D=1;D<=E;D+=1){B[1]=T[D-1];var L=k.apply(this,B);if(L.isValid()){this.$d=L.$d,this.$L=L.$L,this.init();break}D===E&&(this.$d=new Date(""))}else C.call(this,N)}}}))})),Cf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_advancedFormat=l()})(e,(function(){"use strict";return function(a,l){var o=l.prototype,r=o.format;o.format=function(s){var i=this,c=this.$locale();if(!this.isValid())return r.bind(this)(s);var m=this.$utils(),h=(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(u){switch(u){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return c.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return c.ordinal(i.week(),"W");case"w":case"ww":return m.s(i.week(),u==="w"?1:2,"0");case"W":case"WW":return m.s(i.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return m.s(String(i.$H===0?24:i.$H),u==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return u}}));return r.bind(this)(h)}}}))})),Nf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_localeData=l()})(e,(function(){"use strict";return function(a,l,o){var r=l.prototype,s=function(u){return u&&(u.indexOf?u:u.s)},i=function(u,p,b,w,v){var S=u.name?u:u.$locale(),f=s(S[p]),k=s(S[b]),d=f||k.map((function(N){return N.slice(0,w)}));if(!v)return d;var C=S.weekStart;return d.map((function(N,g){return d[(g+(C||0))%7]}))},c=function(){return o.Ls[o.locale()]},m=function(u,p){return u.formats[p]||(function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(w,v,S){return v||S.slice(1)}))})(u.formats[p.toUpperCase()])},h=function(){var u=this;return{months:function(p){return p?p.format("MMMM"):i(u,"months")},monthsShort:function(p){return p?p.format("MMM"):i(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):i(u,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):i(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):i(u,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return m(u.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},o.localeData=function(){var u=c();return{firstDayOfWeek:function(){return u.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(p){return m(u,p)},meridiem:u.meridiem,ordinal:u.ordinal}},o.months=function(){return i(c(),"months")},o.monthsShort=function(){return i(c(),"monthsShort","months",3)},o.weekdays=function(u){return i(c(),"weekdays",null,null,u)},o.weekdaysShort=function(u){return i(c(),"weekdaysShort","weekdays",3,u)},o.weekdaysMin=function(u){return i(c(),"weekdaysMin","weekdays",2,u)}}}))})),Af=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_weekOfYear=l()})(e,(function(){"use strict";var a="week",l="year";return function(o,r,s){var i=r.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var m=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=s(this).startOf(l).add(1,l).date(m),u=s(this).endOf(a);if(h.isBefore(u))return 1}var p=s(this).startOf(l).date(m).startOf(a).subtract(1,"millisecond"),b=this.diff(p,a,!0);return b<0?s(this).startOf("week").week():Math.ceil(b)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}}))})),Bf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_weekYear=l()})(e,(function(){"use strict";return function(a,l){l.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}}}))})),Tf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_dayOfYear=l()})(e,(function(){"use strict";return function(a,l,o){l.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")}}}))})),Vf=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_isSameOrAfter=l()})(e,(function(){"use strict";return function(a,l){l.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}}))})),$f=Ke(((e,n)=>{(function(a,l){typeof e=="object"&&typeof n<"u"?n.exports=l():typeof define=="function"&&define.amd?define(l):(a=typeof globalThis<"u"?globalThis:a||self).dayjs_plugin_isSameOrBefore=l()})(e,(function(){"use strict";return function(a,l){l.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}}))})),Fe=Ue(kf(),1),Ef=Ue(wf(),1),Df=Ue(Cf(),1),If=Ue(Nf(),1),qf=Ue(Af(),1),xf=Ue(Bf(),1),Pf=Ue(Tf(),1),Mf=Ue(Vf(),1),zf=Ue($f(),1);Fe.default.extend(If.default),Fe.default.extend(Df.default),Fe.default.extend(Ef.default),Fe.default.extend(qf.default),Fe.default.extend(xf.default),Fe.default.extend(Pf.default),Fe.default.extend(Mf.default),Fe.default.extend(zf.default);var kt={format(e,n="YYYY-MM-DD"){return(0,Fe.default)(e).format(n)},parser(e,n){return(0,Fe.default)(e,n).toDate()},getDay(e,n,a){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)},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,a){let l=new Date(e+"/"+n+"/"+a).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){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},compare(e,n,a){const l=typeof e=="string"?this.parser(e,a):e,o=typeof n=="string"?this.parser(n,a):n,r=l.getTime(),s=o.getTime();return r==s?0:r>s?1:-1},between(e,n,a,l){let o;l==="year"?o=new Date(new Date(n).setFullYear(n.getFullYear()+a)):l==="month"?o=new Date(new Date(n).setMonth(n.getMonth()+a)):o=new Date(new Date(n).setDate(n.getDate()+a));const r=e.getTime(),s=o.getTime(),i=n.getTime();return s>i?r>=i&&r<=s:r>=s&&r<=i},inScope4Day(e,n,a){return this.between(e,n,a,"day")},inScope4Month(e,n,a){return this.between(e,n,a,"month")},inScope4Year(e,n,a){return this.between(e,n,a,"year")}},di=new Date().getFullYear(),ra={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"},Yn=(e,n,a)=>{let l;if(je(n)?l=n:typeof n=="string"&&ve(n)>0?l=kt.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)},ia=(e,n,a)=>{je(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),kt.format(new Date(l),a)},sa={modelValue:{type:[String,Date]},confirmText:{type:String},cancelText:{type:String},type:{type:String,default:()=>"date"},valueFormat:{type:String},visible:{type:Boolean,default:()=>!1},title:{type:String},isShowChinese:{type:Boolean,default:()=>!0},minuteStep:{type:Number,default:()=>1},minDate:{type:Date,default:()=>new Date(di-10,0,1),validator:je},maxDate:{type:Date,default:()=>new Date(di+10,11,31),validator:je},visibleItemCount:{type:[Number,String],default:()=>7},threeDimensional:{type:Boolean,default:()=>!0},swipeDuration:{type:[Number,String],default:()=>1e3},itemFormatter:{type:Function},itemFilter:{type:Function},teleportDisable:{type:Boolean}},{create:Lf,scope:Of}=ee("date-picker"),Rf=Lf({components:{Picker:Kt},props:{...sa},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(Of),l={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds"),today:a("today"),fullWeekdays:JSON.parse(a("fullWeekdays"))},o=(0,t.ref)(!1);(0,t.watch)(()=>e.visible,d=>{o.value=d});function r(d,C){return new Date(d,C,0).getDate()}const s=(d,C)=>{const N=e[`${d}Date`],g=N.getFullYear();let y=1,B=1,T=0,$=0;d==="max"&&(y=12,B=r(C.getFullYear(),C.getMonth()+1),T=23,$=59);const V=$;return C.getFullYear()===g&&(y=N.getMonth()+1,C.getMonth()+1===y&&(B=N.getDate(),C.getDate()===B&&(T=N.getHours(),C.getHours()===T&&($=N.getMinutes())))),{[`${d}Year`]:g,[`${d}Month`]:y,[`${d}Date`]:B,[`${d}Hour`]:T,[`${d}Minute`]:$,[`${d}Seconds`]:V}},i=(0,t.computed)(()=>{if(!p.value)return[];const{maxYear:d,maxDate:C,maxMonth:N,maxHour:g,maxMinute:y,maxSeconds:B}=s("max",p.value),{minYear:T,minDate:$,minMonth:V,minHour:W,minMinute:_,minSeconds:E}=s("min",p.value);let D=[{type:"year",range:[T,d]},{type:"month",range:[V,N]},{type:"day",range:[$,C]},{type:"hour",range:[W,g]},{type:"minute",range:[_,y]},{type:"seconds",range:[E,B]}];switch(e.type){case"date":D=D.slice(0,3);break;case"datetime":D=D.slice(0,5);break;case"time":D=D.slice(3,6);break;case"year-month":D=D.slice(0,2);break;case"month-day":D=D.slice(1,3);break;case"datehour":D=D.slice(0,4);break;case"hour-minute":D=D.slice(3,5);break}return D}),c=(d,C,N,g,y)=>{const B=[];for(;d<=C;){let T=!0;if(typeof e.itemFilter=="function"){const $={text:`${d}`,value:d,type:N,currentYearMonth:g};T=e.itemFilter($)}if(T)if(typeof e.itemFormatter=="function"){const $={text:`${d}`,value:d,type:N,currentYearMonth:g};e.itemFormatter($),B.push({text:$.text,value:$.value})}else if(e.isShowChinese){let $=`${d}${l[N]}`;if(N==="day"){if(g[0]===y[0]&&g[1]===y[1]&&d===y[2])$=l.today;else{const V=new Date(g[0],g[1],d).getDay();$=`${$} ${l.fullWeekdays[V]}`}B.push({text:$,value:d})}else B.push({text:d+l[N],value:d})}else B.push({text:`${d}`,value:d});N==="minute"?d+=e.minuteStep:d++}return B},m=(0,t.computed)(()=>{const d=new Date,C=[d.getFullYear(),d.getMonth(),d.getDate()],N=[];p.value&&(N[0]=p.value.getFullYear(),N[1]=p.value.getMonth());let g=[];return i.value.forEach(y=>{let B=c(y.range[0],y.range[1],y.type,N,C);B&&g.push(B)}),g}),h=(d,C)=>d==="year"?C.getFullYear():d==="month"?C.getMonth()+1:d==="day"?C.getDate():d==="hour"?C.getHours():d==="minute"?C.getMinutes():d==="seconds"?C.getSeconds():0,u=(0,t.ref)(),p=(0,t.ref)(null);(0,t.watch)(()=>e.modelValue,d=>{let C;if(typeof d=="string"?d.length==0||d==="Invalid Date"?C=new Date:e.valueFormat?C=Yn(e,e.modelValue,e.valueFormat):C=Yn(e,d,ra[e.type]):je(d)?C=d:C=new Date,!!C&&(!p.value||C.getTime()!==p.value.getTime())){p.value=C;let N=[];i.value.forEach(g=>{let y=h(g.type,C);N.push(y)}),u.value=N}},{immediate:!0});const b=d=>{if(!d||d.length===0){p.value=new Date;let C=[];i.value.forEach(N=>{let g=h(N.type,p.value);C.push(g)}),u.value=C;return}if(e.type==="date"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1));g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g)}else if(e.type==="datetime"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1)),y=d[3],B=d[4];g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g,y,B)}else if(e.type==="time"){const C=d[0],N=d[1],g=d[2],y=p.value??new Date;p.value=new Date(y.getFullYear(),y.getMonth(),y.getDate(),C,N,g)}else if(e.type==="year-month"){const C=d[0],N=d[1]-1;p.value=new Date(C,N)}else if(e.type==="month-day"){const C=(p.value??new Date).getFullYear(),N=d[0]-1,g=Math.min(d[1],r(C,N+1));g!==d[1]&&(d[1]=g),p.value=new Date(C,N,g)}else if(e.type==="datehour"){const C=d[0],N=d[1]-1,g=Math.min(d[2],r(C,N+1)),y=d[3];g!==d[2]&&(d[2]=g),p.value=new Date(C,N,g,y)}else if(e.type==="hour-minute"){const C=d[0],N=d[1],g=p.value??new Date;p.value=new Date(g.getFullYear(),g.getMonth(),g.getDate(),C,N)}u.value=d};return{columns:m,dateIndexs:u,show:o,onChange:d=>{b(d)},onClose:()=>{n("update:close",!1)},onConfirm:d=>{b(d);const C=p.value??new Date;e.valueFormat?n("update:modelValue",ia(e,C,e.valueFormat)):n("update:modelValue",C),n("confirm",d)},onClear:()=>{n("clear")},onUpdateVisible:d=>{o.value=d,n("update:visible",d)}}}});function Ff(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Picker");return(0,t.openBlock)(),(0,t.createBlock)(s,{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,"onUpdate:visible":e.onUpdateVisible,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"top")]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onChange","onConfirm","onClose","onClear","onUpdate:visible","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}var Xn=oe(Rf,[["render",Ff]]),Kf={format:{type:String},placeholder:{type:String},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function Uf(e){let n=e.format;return n||(n=ra[e.type??"date"]),n}function Hf(e,n,a,l,o,r,s=!1){return{props:{...pe,...ye,...sa,...Kf},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),S=Me(i,"modelValue",O=>O==null?null:typeof O=="string"?O.length==0?null:i.valueFormat?Yn(i,O,i.valueFormat)??O:Yn(i,O,ra[i.type])??O:je(O)?O:null,u),f=(0,t.computed)(()=>{if(!S.value)return"";const O=Uf(i);return ia(i,S.value,O)}),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const O={};return C.value&&(O["text-align"]=C.value),O}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=()=>{g.value=!1};c.expose({showPicker:y,hidePicker:B});const T=O=>{g.value=O},$=O=>{if(S.value=O,i.valueFormat){let U=ia(i,O,i.valueFormat);u("update:modelValue",U,{}),u("change",U,{})}else u("update:modelValue",O,{}),u("change",O,{})},V=O=>{let U=O.target.value;w.value=!0,u("focus",U,O)},W=O=>{setTimeout(()=>{w.value=!1},0);let U=O.target.value;i.maxLength&&U.length>Number(i.maxLength)&&(U=U.slice(0,Number(i.maxLength))),u("blur",U,O)},_=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),E=(0,t.computed)(()=>ve(i.unit)>0),D=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),L=(0,t.computed)(()=>({hidden:!D.value})),M=O=>{S.value="",u("update:modelValue","",O),u("change","",O),u("clear",""),B()},R=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),K=(0,t.computed)(()=>{let O=ve(S.value)>0;return i.clearable&&O&&w.value}),q=O=>{K.value?M(O):y()},G=(0,t.computed)(()=>K.value&&R.value?l:o),ne=(0,t.computed)(()=>({action:!0}));return()=>{const O={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(O.disabled=!0);const U=[],z=(0,t.h)("input",O);U.push(z);const Q=[],F=(0,t.h)(G.value,{class:["action-icon"]}),H=(0,t.h)("view",{class:ne.value,onClick:q},{default:()=>[F]});if(Q.push(H),E.value){const I=(0,t.h)("view",{class:L.value},[i.unit]);Q.push(I)}const J=(0,t.h)("view",{class:_.value},{default:()=>Q});U.push(J);const X={default:()=>U};X.label=c.slots.default,X.prepend=c.slots.prepend,X.append=c.slots.append,X.fixedPreTip=c.slots.fixedPreTip,X.fixedTip=c.slots.fixedTip;const te=ge(i,sa);te.valueFormat=null,te.disabled=!1,te.readonly=m.value||h.value,te.visible=g.value,te["onUpdate:visible"]=T,te.modelValue=S.value,te["onUpdate:modelValue"]=$,te.onClear=M;const P={};if(c.slots.top){const I=c.slots.top();P.top=()=>I}if(c.slots.bottom){const I=c.slots.bottom();P.default=()=>I}const j=(0,t.h)(r,te,P);X.hide=()=>[j];const x={...ge(i,ye,pe)};return i.prop&&(x.prop=`${i.prop}_item`),(0,t.h)(a,x,X)}}}}var{create:jf,componentName:Wf,scope:Yf}=ee("date-item"),Xf=jf(Hf(Wf,Yf,Ne,ae.CircleClose,ae.Date,Xn,!1)),ca=Xf,ie={format(e,n="YYYY-MM-DD"){return kt.format(e,n)},parser(e,n){return kt.parser(e,n)},isLeapYear:function(e){return kt.isLeapYear(e)},getWhatDay:function(e,n,a){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(e+"/"+n+"/"+a).getDay()]},getMonthPreDay:function(e,n){let a=new Date(e+"/"+n+"/01").getDay();return a==0&&(a=7),a},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 a=e*(1e3*60*60*24);return n=new Date(n.getTime()+a),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,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a));let r=o.getDay();const s=o.getDate();let i=6-r;return l!==0&&(r=r==0?7:r,i=7-r),Math.ceil((s+i)/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),s=Math.round((o.valueOf()-r.valueOf())/864e5);return Math.ceil((s+(r.getDay()+1-1))/7)},getWeekDate:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=o.getTime();let s=o.getDay();if(l===0){const c=r-s*864e5,m=r+(6-s)*864e5;return[this.date2Str(new Date(c)),this.date2Str(new Date(m))]}else{s=s==0?7:s;const i=1440*60*1e3,c=r-(s-1)*i,m=r+(7-s)*i;return[this.date2Str(new Date(c)),this.date2Str(new Date(m))]}},formatResultDate:function(e){const 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}},{create:Qf,scope:Gf}=ee("calendar-pane"),Zf=Qf({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: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}=(0,he.useFoxI18n)(Gf),r=l(e,["title","confirmText","startText","endText","today"]),s=JSON.parse(o("weekdays")),i=(0,t.ref)([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),c=(0,t.ref)(null),m=(0,t.ref)(null),h=(0,t.ref)(null),u=(0,t.ref)(null),p=(0,t.ref)(0),b=(0,t.computed)(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),w=(0,t.computed)(()=>a.btn),v=(0,t.computed)(()=>a["top-info"]),S=(0,t.computed)(()=>a["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}),k=F=>F.split("-"),d=F=>ie.isEqual(f.currDate[0],F),C=F=>ie.isEqual(f.currDate[1],F),N=F=>f.currDate?.length>0?f.currDate?.some(H=>ie.isEqual(H,F)):!1,g=(F,H)=>H.curData[0]+"-"+H.curData[1]+"-"+ie.getNumTwoBit(+F.day),y=(F,H)=>{const J=g(F,H),{type:X}=e;return F.type=="curr"?ie.isEqual(f.currDate,J)||(X=="range"||X=="week")&&(d(J)||C(J))||X=="multiple"&&N(J)?`${f.dayPrefix}--active`:f.propStartDate&&ie.compareDate(J,f.propStartDate)||f.propEndDate&&ie.compareDate(f.propEndDate,J)?`${f.dayPrefix}--disabled`:(X=="range"||X=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&ie.compareDate(f.currDate[0],J)&&ie.compareDate(J,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},B=()=>{const{type:F}=e;if(F=="range"&&f.chooseData.length==2||F!="range"){let H=f.chooseData.slice(0);F=="week"&&(H={weekDate:[$(f.chooseData[0]),$(f.chooseData[1])]}),n("choose",H),e.poppable&&n("update")}},T=(F,H,J=!1)=>{if(y(F,H)!=`${f.dayPrefix}--disabled`){const{type:X}=e;let[te,P]=H.curData,j=[...H.curData];if(j[2]=ie.getNumTwoBit(Number(F.day)),j[3]=`${j[0]}-${j[1]}-${j[2]}`,j[4]=ie.getWhatDay(+j[0],+j[1],+j[2]),X=="multiple")if(f.currDate?.length>0){let x;f.currDate?.forEach((I,Y)=>{I==j[3]&&(x=Y)}),J?f.chooseData.push([...j]):x!==void 0?(f.currDate.splice(x,1),f.chooseData.splice(x,1)):(f.currDate.push(j[3]),f.chooseData.push([...j]))}else f.currDate=[j[3]],f.chooseData=[[...j]];else if(X=="range"){let x=Object.values(f.currDate).length;x==2||x==0?f.currDate=[j[3]]:ie.compareDate(f.currDate[0],j[3])?Array.isArray(f.currDate)&&f.currDate.push(j[3]):Array.isArray(f.currDate)&&f.currDate.unshift(j[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...j]]:ie.compareDate(f.chooseData[0][3],j[3])?f.chooseData=[...f.chooseData,[...j]]:f.chooseData=[[...j],...f.chooseData]}else if(X=="week"){let x=ie.getWeekDate(te,P,F.day,e.firstDayOfWeek);f.propStartDate&&ie.compareDate(x[0],f.propStartDate)&&x.splice(0,1,f.propStartDate),f.propEndDate&&ie.compareDate(f.propEndDate,x[1])&&x.splice(1,1,f.propEndDate),f.currDate=x,f.chooseData=[ie.formatResultDate(x[0]),ie.formatResultDate(x[1])]}else f.currDate=j[3],f.chooseData=[...j];if(!J){let x=f.chooseData;X=="week"&&(x={weekDate:[$(f.chooseData[0]),$(f.chooseData[1])]}),n("select",x),(e.isAutoBackFill||!e.poppable)&&B()}}},$=F=>{let[H,J,X]=F;return{date:F,monthWeekNum:ie.getMonthWeek(H,J,X,e.firstDayOfWeek),yearWeekNum:ie.getYearWeek(H,J,X,e.firstDayOfWeek)}},V=F=>{const H=F=="prev"?f.monthsData[0]:f.monthsData[f.monthsData.length-1];let J=parseInt(H.curData[0]),X=parseInt(H.curData[1].toString().replace(/^0/,""));switch(F){case"prev":X==1&&(J-=1),X=X==1?12:--X;break;case"next":X==12&&(J+=1),X=X==12?1:++X;break}return[J+"",ie.getNumTwoBit(X),ie.getMonthDays(String(J),String(X))+""]},W=(F,H,J)=>{let{year:X,month:te}=J;return H=="prev"&&F>=7&&(F-=7),Array.from(Array(F),(P,j)=>({day:String(j+1),type:H,year:X,month:te}))},_=(F,H,J,X)=>{F=F-e.firstDayOfWeek;let{year:te,month:P}=J;return H=="prev"&&F>=7&&(F-=7),Array.from(Array(X),(j,x)=>({day:String(x+1),type:H,year:te,month:P})).slice(X-F)},E=(F,H)=>{const J=ie.getMonthPreDay(+F[0],+F[1]);let X=Number(F[1])-1,te=Number(F[0]);X<=0&&(X=12,te+=1);const P=ie.getMonthDays(String(F[0]),String(F[1])),j=ie.getMonthDays(te+"",X+""),x={year:F[0],month:F[1]},I={curData:F,title:o("monthTitle",{year:x.year,month:x.month}),monthData:[..._(J,"prev",{month:String(X),year:String(te)},j),...W(P,"curr",x)],cssHeight:0,cssScrollHeight:0};I.cssHeight=39+64*(I.monthData.length>35?6:5);let Y=0;f.monthsData.length>0&&(Y=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),I.cssScrollHeight=Y,H=="next"?(!f.endData||!ie.compareDate(`${f.endData[0]}-${f.endData[1]}-${ie.getMonthDays(f.endData[0],f.endData[1])}`,`${F[0]}-${F[1]}-${F[2]}`))&&f.monthsData.push(I):!f.startData||!ie.compareDate(`${F[0]}-${F[1]}-${F[2]}`,`${f.startData[0]}-${f.startData[1]}-01`)?f.monthsData.unshift(I):f.unLoadPrev=!0},D=()=>{let F=e.startDate?e.startDate:ie.getDay(0),H=e.endDate?e.endDate:ie.getDay(365);f.propStartDate=F,f.propEndDate=H,f.startData=k(F),f.endData=k(H),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const J={year:Number(f.startData[0]),month:Number(f.startData[1])},X={year:Number(f.endData[0]),month:Number(f.endData[1])};let te=X.month-J.month;X.year-J.year>0&&(te=te+12*(X.year-J.year)),te<=0&&(te=1),E(f.startData,"next");let P=1;do E(V("next"),"next");while(P++<te);if(f.monthsNum=te,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(F&&ie.compareDate(f.currDate[0],F)&&f.currDate.splice(0,1,F),H&&ie.compareDate(H,f.currDate[1])&&f.currDate.splice(1,1,H),f.defaultData=[...k(f.currDate[0]),...k(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let j=[],x={};f.currDate.forEach(I=>{F&&!ie.compareDate(I,F)&&H&&!ie.compareDate(H,I)&&(Object.hasOwnProperty.call(x,I)||(j.push(I),x[I]=I))}),f.currDate=[...j],f.defaultData=[...k(j[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[j,x,I]=k(f.currDate[0]);f.currDate=ie.getWeekDate(j,x,I,e.firstDayOfWeek),F&&ie.compareDate(f.currDate[0],F)&&f.currDate.splice(0,1,F),H&&ie.compareDate(H,f.currDate[1])&&f.currDate.splice(1,1,H),f.defaultData=[...k(f.currDate[0]),...k(f.currDate[1])]}}else f.currDate&&(F&&ie.compareDate(f.currDate,F)?f.currDate=F:H&&!ie.compareDate(f.currDate,H)&&(f.currDate=H),f.defaultData=[...k(f.currDate)])};Te({scrollToDate:F=>{ie.compareDate(F,f.propStartDate)?F=f.propStartDate:ie.compareDate(F,f.propEndDate)||(F=f.propEndDate);let H=k(F);f.monthsData.forEach((J,X)=>{if(J.title==o("monthTitle",{year:H[0],month:H[1]})&&c.value){let te=f.monthsData[X].cssScrollHeight-c.value.scrollTop;if(e.toDateAnimation){let P=0,j=setInterval(()=>{if(P++,c.value){let x=te/10;c.value.scrollTop=c.value.scrollTop+x}P>=10&&(clearInterval(j),c.value&&(c.value.scrollTop=f.monthsData[X].cssScrollHeight))},40)}else c.value.scrollTop=f.monthsData[X].cssScrollHeight}})},initPosition:()=>{c?.value&&(c.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let F=0,H=0;f.defaultData.length>0&&f.monthsData.forEach((te,P)=>{te.title==o("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(F=P),(e.type=="range"||e.type=="week")&&te.title==o("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(H=P)}),K(f.monthsNum,F),f.currentIndex=F,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),T({day:f.defaultData[5],type:"curr"},f.monthsData[H],!0)):e.type=="week"?T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(te=>{let P=k(te),j=f.currentIndex;f.monthsData.forEach((x,I)=>{x.title==o("monthTitle",{year:P[0],month:P[1]})&&(j=I)}),T({day:P[2],type:"curr"},f.monthsData[j],!0)}):T({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let J=f.monthsData[f.monthsData.length-1],X=J.cssHeight+J.cssScrollHeight;Ye(()=>{c?.value&&m?.value&&u?.value&&(p.value=c.value.clientHeight,m.value.style.height=`${X}px`,c.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(X/(f.monthsNum+1))}});const K=(F,H)=>{F>=3?H>0&&H<F?f.defaultRange=[H-1,H+3]:H==0?f.defaultRange=[H,H+4]:H==F&&(f.defaultRange=[H-2,H+2]):f.defaultRange=[0,F+2],f.translateY=f.monthsData[f.defaultRange[0]].cssScrollHeight},q=(F,H)=>(e.type=="range"||e.type=="week")&&F.type=="curr"&&y(F,H)=="fox-calendar__day--active",G=(F,H)=>q(F,H)&&d(g(F,H)),ne=(F,H)=>f.currDate.length>=2&&C(g(F,H))?q(F,H):!1,O=()=>{if(f.currDate.length>=2)return ie.isEqual(f.currDate[0],f.currDate[1])},U=F=>{const H=`${F.year}-${F.month}-${Number(F.day)<10?"0"+F.day:F.day}`;return ie.isEqual(H,ie.date2Str(new Date))},z=F=>{if(f.monthsData.length<=1)return;const H=F.target.scrollTop;let J=Math.floor(H/f.avgHeight);if(J==0)H>=f.monthsData[J+1].cssScrollHeight&&(J+=1);else if(J>0&&J<f.monthsNum-1)H>=f.monthsData[J+1].cssScrollHeight&&(J+=1),H<f.monthsData[J].cssScrollHeight&&(J-=1);else{const X=Math.round(H+p.value);X<f.monthsData[J].cssScrollHeight+f.monthsData[J].cssHeight&&H>f.monthsData[J-1].cssScrollHeight&&(J-=1),J+1<=f.monthsNum&&X>=f.monthsData[J+1].cssScrollHeight+f.monthsData[J+1].cssHeight&&(J+=1),J>=1&&H<f.monthsData[J-1].cssScrollHeight&&(J-=1)}f.currentIndex!==J&&(f.currentIndex=J,K(f.monthsNum,J)),f.yearMonthTitle=f.monthsData[J].title},Q=()=>{f.chooseData.splice(0),f.monthsData.splice(0),D()};return D(),(0,t.watch)(()=>e.defaultValue,F=>{F&&e.poppable&&Q()}),{weeks:i,compConthsData:b,showTopBtn:w,topInfo:v,bottomInfo:S,rangeTip:O,mothsViewScroll:z,getClass:y,isStartTip:G,isEndTip:ne,chooseDay:T,isCurrDay:U,confirm:B,months:c,...(0,t.toRefs)(f),...(0,t.toRefs)(e),...r,monthsPanel:m,weeksPanel:h,viewArea:u}}}),_f={class:"fox-calendar__header"},Jf={key:0,class:"fox-calendar__header-title"},em={key:1,class:"fox-calendar__header-slot"},tm={key:2,class:"fox-calendar__header-subtitle"},nm={class:"fox-calendar__weekdays",ref:"weeksPanel"},lm={class:"fox-calendar__panel",ref:"monthsPanel"},am={class:"fox-calendar__month-title"},om={class:"fox-calendar__days"},rm=["onClick"],im={class:"fox-calendar__day-value"},sm={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},cm={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},um={key:2,class:"fox-calendar__day-tips--curr"},dm={key:4,class:"fox-calendar__day-tip"},fm={key:0,class:"fox-calendar__footer"};function mm(e,n,a,l,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",_f,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Jf,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",em,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",tm,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",nm,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:i},(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",lm,[(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,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:i},[(0,t.createElementVNode)("view",am,(0,t.toDisplayString)(s.title),1),(0,t.createElementVNode)("view",om,[(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,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(c,s)]),onClick:h=>e.chooseDay(c,s)},[(0,t.createElementVNode)("view",im,[(0,t.renderSlot)(e.$slots,"day",{date:c.type=="curr"?c:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(c.type=="curr"?c.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",sm,[(0,t.renderSlot)(e.$slots,"top-info",{date:c.type=="curr"?c:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",cm,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:c.type=="curr"?c:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?((0,t.openBlock)(),(0,t.createElementBlock)("view",um,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(c,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(c,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",dm,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],10,rm))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",fm,[(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 hm=oe(Zf,[["render",mm]]),pm=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-calender__popup"}},setup(e,{slots:n}){return()=>e.poppable?(0,t.h)(be,Qe({...e},{poppable:!1}),n):n?.default?.()??null}}),gm=pm,ym=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Qn={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}},{create:bm}=ee("calendar"),Sm=bm({components:{Wrapper:gm,CalendarPane:hm},props:{...Qn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a}){const l=(0,t.computed)(()=>a.btn),o=(0,t.computed)(()=>a["top-info"]),r=(0,t.computed)(()=>a.day),s=(0,t.computed)(()=>a["bottom-info"]),i=(0,t.ref)(null),c=v=>{i.value?.scrollToDate(v)},m=()=>{i.value?.initPosition()};(0,t.watch)(()=>e.visible,v=>{v&&(0,t.nextTick)(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),Te({scrollToDate:c,initPosition:m});const h=()=>{n("update:visible",!1)},u=()=>{n("close"),n("update:visible",!1)};return{closePopup:()=>{u()},update:h,close:u,select:v=>{n("select",v)},choose:v=>{u(),n("choose",v)},calendarRef:i,showTopBtn:l,topInfo:o,dayInfo:r,bottomInfo:s}}});function vm(e,n,a,l,o,r){const s=(0,t.resolveComponent)("CalendarPane"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(i,(0,t.mergeProps)({visible:e.visible,position:"bottom","pop-class":"fox-calendar__popup",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,poppable:e.poppable}),{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)(c=>[(0,t.renderSlot)(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(c=>[(0,t.renderSlot)(e.$slots,"top-info",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(c=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:c.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","poppable"])}var Gn=oe(Sm,[["render",vm]]),fi={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}},ua=(e,n)=>{let a;return je(e)?a=e:typeof e=="string"&&ve(e)>0?a=ie.parser(e,n):a=new Date,a},wt=(e,n,a)=>(je(n)||(n=new Date),ie.format(n,a)),Ct=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,ie.date2Str(e),ie.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())];function km(e,n,a,l,{CloseIcon:o,MarkIcon:r},s=!1){return{props:{...pe,...ye,...Qn,...fi},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=(0,t.computed)(()=>i.type==="range"),S=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),f=()=>{S.startDate!==null&&(S.startDate=null,S.endDate=null,S.startArray=[],S.endArray=[])},k=(z,Q="one",F="YYYY-MM-DD")=>{if(ym(z)){f();return}if(v.value&&Array.isArray(z)&&z.length==2){let H,J;typeof z[0]=="string"?(H=ua(z[0],F),J=ua(z[1],F)):(H=z[0],J=z[1]);let X=Ct(H),te=Ct(J);(S.startDate===null||S.startDate.getTime()!==H.getTime()||S.endDate?.getTime()!==J.getTime())&&(S.startDate=H,S.startArray=X,S.endDate=J,S.endArray=te)}else{let H;typeof z=="string"?H=ua(z,F):H=z;let J=Ct(H);(S.startDate===null||S.startDate.getTime()!==H.getTime())&&(S.startDate=H,S.startArray=J)}};k(i.modelValue,i.type,i.valueFormat),(0,t.watch)(()=>i.modelValue,z=>{k(z,i.type,i.valueFormat),u("setValue",z)});const d=(0,t.computed)(()=>{if(S.startDate===null)return"";if(v.value){let z=wt(i,S.startDate,i.format),Q=wt(i,S.endDate,i.format);return`${z} ${i.rangeSeparator} ${Q}`}else{let z=wt(i,S.startDate,i.format);return i.showWeek&&(z=`${z} ${S.startArray[4]}`),z}}),C=(0,t.computed)(()=>S.startDate===null?null:v.value?[ie.date2Str(S.startDate),ie.date2Str(S.endDate??new Date)]:ie.date2Str(S.startDate)),N="fox-input-item",g=(0,t.computed)(()=>({[N]:!0,"is-disabled":m.value,"is-readonly":h.value})),y=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),B=(0,t.computed)(()=>{const z={};return y.value&&(z["text-align"]=y.value),z}),T=(0,t.ref)(!1),$=()=>{h.value||m.value||(T.value=!0)},V=z=>{T.value=z},W=z=>{if(z){if(v.value&&Array.isArray(z)){let Q=z[0],F=me(Q[0]),H=me(Q[1]),J=me(Q[2]),X=new Date(F,H-1,J),te=z[1];F=me(te[0]),H=me(te[1]),J=me(te[2]);let P=new Date(F,H-1,J);S.startDate=X,S.startArray=Ct(X),S.endDate=P,S.endArray=Ct(P),i.valueFormat?u("update:modelValue",[wt(i,X,i.valueFormat),wt(i,P,i.valueFormat)],{}):u("update:modelValue",[X,P],{})}else{let Q=z,F=me(Q[0]),H=me(Q[1]),J=me(Q[2]),X=new Date(F,H-1,J);S.startDate=X,S.startArray=Ct(X),i.valueFormat?u("update:modelValue",wt(i,X,i.valueFormat),{}):u("update:modelValue",X,{})}u("change",z,{})}},_=z=>{let Q=z.target.value;w.value=!0,u("focus",Q,z)},E=z=>{setTimeout(()=>{w.value=!1},0);let Q=z.target.value;i.maxLength&&Q.length>Number(i.maxLength)&&(Q=Q.slice(0,Number(i.maxLength))),u("blur",Q,z)},D=(0,t.computed)(()=>({[`${N}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),L=(0,t.computed)(()=>ve(i.unit)>0),M=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),R=(0,t.computed)(()=>({hidden:!M.value})),K=z=>{f(),u("update:modelValue",null,z),u("change","",z),u("clear","")},q=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),G=(0,t.computed)(()=>{let z=ve(d.value)>0;return i.clearable&&z&&w.value}),ne=z=>{G.value?K(z):$()},O=(0,t.computed)(()=>G.value&&q.value?o:r),U=(0,t.computed)(()=>({action:!0}));return()=>{const z={class:g.value,style:B.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:$,onFocus:_,onBlur:E};s&&(z.disabled=!0);const Q=[],F=(0,t.h)("input",z);Q.push(F);const H=[],J=(0,t.h)(O.value,{class:["action-icon"]}),X=(0,t.h)("view",{class:U.value,onClick:ne},{default:()=>[J]});if(H.push(X),L.value){const Z=(0,t.h)("view",{class:R.value},[i.unit]);H.push(Z)}const te=(0,t.h)("view",{class:D.value},{default:()=>H});Q.push(te);const P={default:()=>Q};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 j=ge(i,Qn);j.visible=T.value,j["onUpdate:visible"]=V,j["default-value"]=C.value,j.onChoose=W;const x={};if(c.slots.btn){const Z=c.slots.btn();x.btn=()=>Z}c.slots.day&&(x.day=c.slots.day),c.slots.topInfo&&(x.topInfo=c.slots.topInfo),c.slots.bottomInfo&&(x.bottomInfo=c.slots.bottomInfo);const I=(0,t.h)(a,j,x);P.hide=()=>[I];const Y={...Qe(i,Qn,fi)};return i.prop&&(Y.prop=`${i.prop}_item`),(0,t.h)(l,Y,P)}}}}var{componentName:wm,create:Cm,scope:Nm}=ee("calendar-item"),Am=Cm(km(wm,Nm,Gn,Ne,{CloseIcon:ae.CircleClose,MarkIcon:ae.Date},!1)),da=Am,Bm={readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},shape:{type:String,default:"round"},label:{type:[String,Number,Boolean],default:""},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}};function Tm(e,{CheckNormal:n,Checked:a}){return{props:{...Bm},setup(l,{emit:o,slots:r}){const s=(0,t.inject)("parent",null),i=Tn(),c=(0,t.computed)(()=>s.label.value===l.label),m=(0,t.computed)(()=>s.position),h=()=>{const v=[];if(c.value){if(r.checkedIcon)return r.checkedIcon();{const S=se(l.iconSize),f=l.checkedIcon??i.radio.Checked??a;return v.push("fox-radio__icon"),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)(f,{width:S,height:S,class:v})}}else{if(r.icon)return r.icon();{const S=se(l.iconSize),f=l.icon??i.radio.CheckNormal??n;return v.push("fox-radio__icon--unchecked"),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)(f,{width:S,height:S,class:v})}}},u=()=>{const v=[`${e}__label`];return l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)("view",{class:v},r.default?.())},p=()=>{const v=[`${e}__button`];return c.value&&v.push(`${e}__button--active`),l.disabled&&v.push("is-disabled"),l.readonly&&v.push("is-readonly"),(0,t.h)("view",{class:v},r.default?.())},b=()=>{c.value||l.disabled||l.readonly||s.updateValue(l.label)},w=m.value==="left";return()=>(0,t.h)("view",{class:`${e} ${e}--${l.shape} ${w?`${e}--reverse`:""}`,onClick:b},[l.shape=="button"?p():w?[u(),h()]:[h(),u()]])}}}var{componentName:Vm,create:$m}=ee("radio"),Em=$m(Tm(Vm,{CheckNormal:ae.CheckNormal,Checked:ae.CheckChecked})),Zn=Em,{componentName:mi,create:Dm}=ee("radio-group"),Im=Dm({props:{modelValue:{type:[Object],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=pt(),l=o=>a("update:modelValue",o);return(0,t.provide)("parent",{label:(0,t.readonly)((0,t.computed)(()=>e.modelValue)),position:e.textPosition,updateValue:l}),(0,t.watch)(()=>e.modelValue,o=>a("change",o)),()=>{const o={};return e.textAlign&&(o["text-align"]=e.textAlign),(0,t.h)("view",{class:`${mi} ${mi}--${e.direction}`,style:o},n.default?.())}}}),_n=Im;function hi(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(Jn(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(Wt(e,r)===a)return o}return-1}function Jn(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 qm(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function xm(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var Pm=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Mm(){return new Pm((0,t.getCurrentInstance)().proxy)}function zm(e){return{text:e,value:e}}var pi={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},Lm={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},Om={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"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Number,String,Object],default:""}};function Rm(e,n,a,l,o){return{props:{...pe,...ye,...pi,...Lm,...Om},emits:["change","update:modelValue","setValue"],setup(r,s){const i=$e((0,t.computed)(()=>r.readonly)),c=Ee((0,t.computed)(()=>r.disabled)),m=Ve((0,t.computed)(()=>r.textAlign),"textAlign"),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return c.value}},r.prop??s.attrs.name),u=Mm(),p=(0,t.ref)([]);(0,t.watch)([()=>r.source,()=>r.params],async([f,k])=>{if(f){const d=await u.load("radio",f,k);d.length>0?typeof d[0]=="string"?p.value=d.map(C=>zm(C)):p.value=d:p.value=[]}},{immediate:!0});let b=(0,t.ref)(-1);(0,t.watch)([()=>r.modelValue,()=>p.value],async([f,k])=>{b.value=hi(r,k,f,r.valueType),h("setValue",f)},{deep:!0});const w=(0,t.computed)(()=>{if(!r.source)return r.modelValue;if(b.value===-1)return null;const f=p.value[b.value];return Wt(r,f)}),v=f=>{let k=null,d=null;if(p.value.length>0){let C=hi(r,p.value,f,"value");b.value=C,C>=0&&(d=p.value[C],r.valueType==="text"?k=Jn(r,d):r.valueType==="item"?k=d:k=Wt(r,d))}else k=f;h("update:modelValue",k),h("change",k,d)},S=()=>{let f=null,k=null;if(p.value.length>0&&b.value!==-1){let d=p.value[b.value];r.valueType==="text"?f=Jn(r,d):r.valueType==="item"?f=d:f=Wt(r,d)}h("update:modelValue",f),h("change",f,k)};if(Te({clear(){b.value!==-1&&(b.value=-1,S())}}),r.source){const f=()=>{const k=[],d=ge(r,pi);return p.value.forEach((C,N)=>{const g=Wt(r,C),y=qm(r,C);let B={...d,label:g,disabled:y};const T=xm(r,C,N);B={...B,...T},c.value&&(B.disabled=!0),i.value&&(B.readonly=!0);const $={};if(s.slots.icon&&($.icon=s.slots.icon),s.slots.checkedIcon&&($.checkedIcon=s.slots.checkedIcon),typeof s.slots.text=="function"){const W=s.slots.text(C);$.default=()=>[W]}else{const W=Jn(r,C);$.default=()=>W}let V=(0,t.h)(o,B,$);k.push(V)}),k};return()=>{const k=f(),d=(0,t.h)(l,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"onUpdate:modelValue":v},{default:()=>k}),C={default:()=>d};C.label=s.slots.default,C.prepend=s.slots.prepend,C.append=s.slots.append,C.fixedPreTip=s.slots.fixedPreTip,C.fixedTip=s.slots.fixedTip;const N={...ge(r,ye,pe)};return r.prop&&(N.prop=`${r.prop}_item`),(0,t.h)(a,N,C)}}else return()=>{const f=s.slots.options?.()??[];return(0,t.h)(l,{class:`${e}`,direction:r.direction,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"update:modelValue":v},{default:()=>f})}}}}var{componentName:Fm,create:Km,scope:Um}=ee("radio-item"),Hm=Km(Rm(Fm,Um,Ne,_n,Zn)),fa=Hm,jm=(e,{CheckNormal:n,Checked:a,Indeterminate:l})=>({props:{modelValue:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},textPosition:{type:String,default:"right"},icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},label:{type:[String,Number,Boolean],default:""},indeterminate:{type:Boolean,default:!1},shape:{type:String,default:"round"}},emits:["change","update:modelValue"],setup(o,{slots:r}){const{emitEvent:s}=pt(),i=Tn(),c=(0,t.inject)("parent",null),m=(0,t.reactive)({partialSelect:o.indeterminate});(0,t.watch)(()=>o.indeterminate,d=>{m.partialSelect=d});const h=(0,t.computed)(()=>!!c),u=(0,t.computed)(()=>h.value?c.value.value.includes(o.label):!!o.modelValue),p=(0,t.computed)(()=>h.value?c.position:o.textPosition);let b="";const w=(d,C)=>{b="click",s("update:modelValue",d),s("change",d,C)};(0,t.watch)(()=>o.modelValue,d=>{b=="click"?b="":s("change",d)});const v=()=>{const d=[];if(m.partialSelect){if(r.indeterminateIcon)return r.indeterminateIcon();{const C=se(o.iconSize),N=o.indeterminateIcon??i.checkbox.Indeterminate??l;return d.push("fox-checkbox__icon--indeterminate"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}else if(u.value){if(r.checkedIcon)return r.checkedIcon();{const C=se(o.iconSize),N=o.checkedIcon??i.checkbox.Checked??a;return d.push("fox-checkbox__icon"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}else{if(r.icon)return r.icon();{const C=se(o.iconSize),N=o.icon??i.checkbox.CheckNormal??n;return d.push("fox-checkbox__icon--unchecked"),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)(N,{width:C,height:C,class:d})}}},S=()=>{const d=[`${e}__label`];return o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)("view",{class:d},r.default?.())},f=()=>{const d=[`${e}__button`];return u.value&&d.push(`${e}__button--active`),o.disabled&&d.push("is-disabled"),o.readonly&&d.push("is-readonly"),(0,t.h)("view",{class:d},r.default?.())},k=d=>{if(!(o.disabled||o.readonly)){if(u.value&&m.partialSelect){m.partialSelect=!1,w(u.value,r.default?.()[0].children);return}if(w(!u.value,r.default?.()[0].children),h.value){const C=c.value.value,N=c.max.value,{label:g}=o,y=C.indexOf(g);y>-1?C.splice(y,1):y<=-1&&(C.length<N||!N)&&C.push(g),c.updateValue(C)}}};return(0,t.onMounted)(()=>{h.value&&c.link((0,t.getCurrentInstance)())}),(0,t.onBeforeUnmount)(()=>{h.value&&c.unlink((0,t.getCurrentInstance)())}),()=>(0,t.h)("view",{class:`${e} ${e}--${o.shape} ${p.value==="left"?`${e}--reverse`:""}`,onClick:k},[o.shape=="button"?f():[v(),S()]])}}),{componentName:Wm,create:Ym}=ee("checkbox"),Xm=Ym(jm(Wm,{CheckNormal:ae.CheckNormal,Checked:ae.Checked,Indeterminate:ae.CheckDisabled})),el=Xm,{create:Qm,componentName:gi}=ee("checkbox-group"),Gm=Qm({props:{modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},emits:["change","update:modelValue"],setup(e,{slots:n}){const{emitEvent:a}=pt(),l=(0,t.reactive)({children:[]}),o=m=>{m.proxy&&l.children.push(m.proxy)},r=m=>{m.proxy&&(l.children=l.children.filter(h=>h!==m.proxy))},s=m=>{a("update:modelValue",m),a("change",m)},i=m=>{const h=[];m&&l.children.forEach(u=>{u?.disabled||h.push(u?.label)}),a("update:modelValue",h)},c=()=>{a("update:modelValue",l.children.filter(m=>m?.disabled?!1:!e.modelValue.includes(m.label)).map(m=>m.label))};return(0,t.provide)("parent",{value:(0,t.computed)(()=>Array.isArray(e.modelValue)?e.modelValue:[]),position:e.textPosition,max:(0,t.computed)(()=>e.max),updateValue:s,link:o,unlink:r}),(0,t.watch)(()=>e.modelValue,m=>{a("change",m)}),Te({toggleAll:i,toggleReverse:c}),()=>{const m={};return e.textAlign&&(m["text-align"]=e.textAlign),(0,t.h)("view",{class:`${gi} ${gi}--${e.direction}`,style:m},n.default?.())}}}),tl=Gm;function yi(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(ma(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(nl(e,r)===a)return o}return-1}function ma(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 Zm(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function _m(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var Jm=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function e0(){return new Jm((0,t.getCurrentInstance)().proxy)}function t0(e){return{text:e,value:e}}var n0={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},bi={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}},l0={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"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},modelValue:{type:[Array,String],default:[]}};function a0(e,n,a,l,o){return{props:{...pe,...ye,...n0,...bi,...l0},emits:["change","update:modelValue","setValue"],setup(r,s){const i=Ee((0,t.computed)(()=>r.disabled)),c=$e((0,t.computed)(()=>r.readonly)),m=Ve((0,t.computed)(()=>r.textAlign),"textAlign"),{emitEvent:h}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value}},r.prop??s.attrs.name),u=e0(),p=(0,t.ref)([]);(0,t.watch)([()=>r.source,()=>r.params],async([f,k])=>{if(f){const d=await u.load("checkbox",f,k);d.length>0?typeof d[0]=="string"?p.value=d.map(C=>t0(C)):p.value=d:p.value=[]}},{immediate:!0});const b=(0,t.ref)([]);(0,t.watch)([()=>r.modelValue,()=>p.value],async([f,k])=>{const d=[];Array.isArray(f)&&f.forEach(C=>{let N=yi(r,k,C,r.valueType);N!==-1&&d.push(N)}),!Ie(d,b.value)&&(b.value=d,h("setValue",d))},{deep:!0});const w=(0,t.computed)(()=>{if(!r.source)return r.modelValue;let f=[];return b.value.forEach(k=>{let d=p.value[k];f.push(nl(r,d))}),f}),v=f=>{let k=[],d=[];if(p.value.length>0){const C=[];Array.isArray(f)&&f.forEach(N=>{let g=yi(r,p.value,N,"value");g!==-1&&C.push(g);const y=p.value[g];d.push(y),r.valueType==="text"?k.push(ma(r,y)):r.valueType==="item"?k.push(y):k.push(nl(r,y))}),b.value=C}else k=f;h("update:modelValue",k),h("change",k,d)},S=(0,t.ref)();if(Te({toggleAll:f=>{S.value.toggleAll(f)},toggleReverse:()=>{S.value.toggleReverse()}}),r.source){const f=()=>{const k=[],d=ge(r,bi);return p.value.forEach((C,N)=>{const g=nl(r,C),y=Zm(r,C);let B={...d,label:g,disabled:y};const T=_m(r,C,N);B={...B,...T},i.value&&(B.disabled=!0),c.value&&(B.readonly=!0);const $={};if(s.slots.icon&&($.icon=s.slots.icon),s.slots.checkedIcon&&($.checkedIcon=s.slots.checkedIcon),s.slots.indeterminateIcon&&($.indeterminateIcon=s.slots.indeterminateIcon),typeof s.slots.text=="function"){const W=s.slots.text(C);$.default=()=>[W]}else{const W=ma(r,C);$.default=()=>W}let V=(0,t.h)(o,B,$);k.push(V)}),k};return()=>{const k=f(),d=(0,t.h)(l,{class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,modelValue:w.value,"onUpdate:modelValue":v},{default:()=>k}),C={default:()=>d};C.label=s.slots.default,C.prepend=s.slots.prepend,C.append=s.slots.append,C.fixedPreTip=s.slots.fixedPreTip,C.fixedTip=s.slots.fixedTip;const N={...ge(r,ye,pe)};return r.prop&&(N.prop=`${r.prop}_item`),(0,t.h)(a,N,C)}}else return()=>{const f=s.slots.options?.()??[];return(0,t.h)("view",{class:`${e}`,ref:S,direction:r.direction,max:r.max,textPosition:r.textPosition,textAlign:m.value,modelValue:w,"onUpdate:modelValue":v},{default:()=>f})}}}}var{componentName:o0,create:r0,scope:i0}=ee("checkbox-item"),s0=r0(a0(o0,i0,Ne,tl,el)),ha=s0,pa={modelValue:{type:[String,Boolean,Number],default:!1},disabled:{type:Boolean,default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[String,Number,Boolean],default:!0},inactiveValue:{type:[String,Number,Boolean],default:!1},loading:{type:Boolean,default:!1},name:{type:String,default:"loading1"},size:{type:[String,Number],default:"12px"},color:{type:String,default:""}},{componentName:c0,create:u0}=ee("switch"),d0=u0({components:{Loading1:ae.Loading1},props:{...pa},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const a=(0,t.computed)(()=>e.modelValue===e.activeValue),l=(0,t.computed)(()=>{const i=c0;return{[i]:!0,[a.value?"fox-switch-open":"fox-switch-close"]:!0,[`${i}-base`]:!0,"is-disabled":e.disabled}}),o=(0,t.computed)(()=>({backgroundColor:a.value?e.activeColor:e.inactiveColor}));let r="";const s=i=>{if(e.disabled||e.loading)return;r="click";const c=a.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,i)};return(0,t.watch)(()=>e.modelValue,i=>{r=="click"?r="":n("change",i)}),{classes:l,style:o,isActive:a,onClick:s}}}),f0={class:"fox-switch-button"};function m0(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading1");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i)),style:(0,t.normalizeStyle)(e.style)},[(0,t.createElementVNode)("view",f0,[e.loading?(0,t.renderSlot)(e.$slots,"icon",{key:0},()=>[(0,t.createVNode)(s,{name:"loading",color:e.activeColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),e.activeText?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-switch-label open"},(0,t.toDisplayString)(e.activeText),513),[[t.vShow,e.isActive]]),(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-switch-label close"},(0,t.toDisplayString)(e.inactiveText),513),[[t.vShow,!e.isActive]])],64)):(0,t.createCommentVNode)("",!0)])],6)}var ll=oe(d0,[["render",m0]]);function h0(e,n,a,l){return{props:{...pe,...ye,...pa},emits:["change","update:modelValue","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=e,h=Me(o,"modelValue",null,c),u=p=>{h.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const p={...ge(o,pa),disabled:s.value||i.value,value:h.value,"onUpdate:modelValue":u},b=[],w=(0,t.h)(l,p);b.push(w);const v={default:()=>b};v.label=r.slots.default,v.fixedPreTip=r.slots.fixedPreTip,v.fixedTip=r.slots.fixedTip;const S={...ge(o,ye,pe)};return o.prop&&(S.prop=`${o.prop}_item`),S["content-class"]=m,(0,t.h)(a,S,v)}}}}var{componentName:p0,create:g0,scope:y0}=ee("switch-item"),b0=g0(h0(p0,y0,Ne,ll)),ga=b0;function S0(e,n,a,l){return{props:{...pe,...ye,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur","change"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(o,["placeholder"]),u=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,W=>{u.value=W,c("change",W)});const p=(0,t.computed)(()=>({[`${e}`]:!0})),b=(0,t.computed)(()=>({[`${e}__main`]:!0,[`${e}__placeholder`]:!s.value&&ue(u.value),"is-disabled":s.value,"is-readonly":i.value})),w=Ve((0,t.computed)(()=>o.textAlign),"textAlign"),v=(0,t.computed)(()=>{const W={};return w.value&&(W["text-align"]=w.value),W}),S=(0,t.computed)(()=>!ue(o.modelValue)||r.slots.main?!0:!!ue(o.desc)),f=(0,t.computed)(()=>ue(u.value)?h.placeholder.value:u.value),k=(0,t.computed)(()=>!ue(o.desc)||r.slots.sub),d=(0,t.computed)(()=>({[`${e}__sub`]:!0})),C=(0,t.computed)(()=>{const W={};return w.value&&(W["text-align"]=w.value),W}),N=()=>{c("focus",u.value)},g=()=>{c("blur",u.value)},y=(0,t.computed)(()=>({[`${e}__append`]:!0,"is-disabled":s.value,"is-readonly":i.value})),B=(0,t.computed)(()=>ve(o.unit)>0),T=W=>{s.value==!0||i.value==!0||c("click")},$=(0,t.computed)(()=>o.icon??a),V=(0,t.computed)(()=>({action:!0}));return()=>{const W=[];if(typeof r.slots.content=="function"){const q=r.slots.content();W.push(q)}else{const q=[];if(S.value){const ne={tabIndex:0,class:b.value,style:v.value,onFocus:N,onBlur:g};let O=null;r.slots.main?O=(0,t.h)("view",ne,[r.slots.main(f.value)]):O=(0,t.h)("view",ne,[f.value]),q.push(O)}if(k.value){const ne={tabIndex:0,class:d.value,style:C.value,onFocus:N,onBlur:g};let O=null;r.slots.sub?O=(0,t.h)("view",ne,[r.slots.sub(o.desc)]):O=(0,t.h)("view",ne,[o.desc]),q.push(O)}const G=(0,t.h)("view",{class:p.value,onClick:T},q);W.push(G)}const _=[],E=se(o.iconSize);let D=r.slots.icon;if(!D){const q={width:E,height:E,class:["action-icon"]};D=(0,t.h)($.value,q)}const L=(0,t.h)("view",{class:V.value,onClick:T},{default:()=>[D]});if(_.push(L),B.value){const q=(0,t.h)("view",{},[o.unit]);_.push(q)}const M=(0,t.h)("view",{class:y.value},{default:()=>_});W.push(M);const R={default:()=>W};R.label=r.slots.default,R.prepend=r.slots.prepend,R.append=r.slots.append,R.fixedPreTip=r.slots.fixedPreTip,R.fixedTip=r.slots.fixedTip;const K={...ge(o,ye,pe)};return o.prop&&(K.prop=`${o.prop}_item`),(0,t.h)(l,K,R)}}}}var{componentName:v0,create:k0,scope:w0}=ee("link-item"),C0=k0(S0(v0,w0,ae.ArrowRight,Ne)),ya=C0,ba={count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},customIcon:{type:Object},size:{type:[String,Number],default:void 0},activeColor:{type:String,default:""},voidColor:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},touchable:{type:Boolean,default:!0},spacing:{type:[String,Number],default:void 0}},{create:N0,componentName:A0}=ee("rate"),B0=N0({props:{...ba},emits:["update:modelValue","change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)([]),o=(0,t.computed)(()=>({[A0]:!0})),r=b=>{n("update:modelValue",b),n("change",b)},s=(b,w)=>{if(e.disabled||e.readonly)return;let v=0;w===1&&e.modelValue===w||(v=w,e.allowHalf&&b==2&&(v-=.5)),r(v)},i=(b,w,v)=>{let S=0;for(let f=w.value.length-1;f>=0;f--){const k=w.value[f];if(b>k.offsetLeft){v?S=f+(b>k.offsetLeft+k.clientWidth/2?1:.5):S=f+1;break}}return S},c=Je(),m={onTouchStart(b){!e.touchable||e.readonly||c.start(b)},onTouchMove(b){e.touchable&&(c.move(b),c.isHorizontal()&&l.value&&(b.preventDefault(),r(i(c.moveX.value,l,e.allowHalf))))}},h=Math.random().toString(36).slice(-8),u=(0,t.computed)(()=>e.customIcon??ae.StarFillN);return{classes:o,...m,onClick:s,toPxString:de,renderIcon:(b,w)=>(0,t.h)(b,w),rateRefs:l,refRandomId:h,slots:a,customIcon:u}}}),T0=["id"],V0={class:"fox-rate-item__icon--full"},$0={key:0,class:"fox-rate-item__icon--half"},E0={key:1,class:"fox-rate-item__icon--half"};function D0(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Number(e.count),s=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-rate-item",key:s,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+s,style:(0,t.normalizeStyle)(s<Number(e.count)?{marginRight:e.toPxString(e.spacing)}:{})},[(0,t.createElementVNode)("view",V0,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=e.modelValue?e.activeColor:e.voidColor})),{class:(0,t.normalizeClass)(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:i=>e.onClick(1,s)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>s?((0,t.openBlock)(),(0,t.createElementBlock)("view",$0,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<s?((0,t.openBlock)(),(0,t.createElementBlock)("view",E0,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:e.voidColor})),{class:"fox-rate-item__icon fox-rate-item__icon--disabled",onClick:i=>e.onClick(2,s)},null,8,["onClick"]))])):(0,t.createCommentVNode)("",!0)],12,T0))),128))],34)}var al=oe(B0,[["render",D0]]);function I0(e,n,a,l){return{props:{...pe,...ye,...ba},emits:["change","update:modelValue","setValue"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return i.value},get disabled(){return s.value}},o.prop??r.attrs.name),m=e,h=Me(o,"modelValue",null,c),u=p=>{h.value=p,c("update:modelValue",p,{}),c("change",p,{})};return()=>{const p={...ge(o,ba),disabled:s.value,readonly:i.value,value:h.value,"onUpdate:modelValue":u},b=[],w=(0,t.h)(l,p);b.push(w);const v={default:()=>b};if(r.slots.default){const f=r.slots.default();v.label=()=>f}const S=ge(o,ye,pe);return o.prop&&(S.prop=`${o.prop}_item`),S["content-class"]=m,(0,t.h)(a,S,v)}}}}var{componentName:q0,create:x0,scope:P0}=ee("rate-item"),M0=x0(I0(q0,P0,Ne,al)),Sa=M0,z0=/scroll|auto|overlay/i,Si=window;function L0(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function va(e,n=Si){let a=e;for(;a&&a!==n&&L0(a);){const{overflowY:l}=window.getComputedStyle(a);if(z0.test(l))return a;a=a.parentNode}return n}function vi(e,n=Si){const a=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(a.value=va(e.value,n))}),a}var ki=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,O0={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},noMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1}};function R0(e,n,a){return{props:{...O0},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["pullText","loadText","noMoreText"]),c=(0,t.ref)(),m=vi(c),h=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),u=(0,t.computed)(()=>({[e]:!0})),p=k=>k?k.offsetTop+p(k.offsetParent):0,b=()=>{let k=0,d=0,C="down";if(m.value==window){const N=ki();c.value&&(k=p(c.value)+c.value.offsetHeight-N-window.innerHeight),d=N}else{const{scrollHeight:N,clientHeight:g,scrollTop:y}=m.value;k=N-g-y,d=y}return h.beforeScrollTop>d?C="up":C="down",h.beforeScrollTop=d,o("scroll-change",d),k<=l.threshold&&C=="down"},w=()=>{Ye(()=>{if(!b()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),(0,t.nextTick)(()=>o("load-more"))})},v=()=>{m.value&&m.value.addEventListener("scroll",w,l.useCapture)},S=()=>{m.value&&m.value.removeEventListener("scroll",w,l.useCapture)};(0,t.onMounted)(()=>{v(),l.immediate&&w()}),(0,t.onUnmounted)(()=>{S()});const f=(0,t.ref)(!1);return(0,t.onActivated)(()=>{f.value&&(f.value=!1,v())}),(0,t.onDeactivated)(()=>{f.value=!0,S()}),(0,t.watch)(()=>l.modelValue,k=>{k||(h.isInfiniting=!1)}),()=>{const k=(0,t.h)("view",{class:"fox-infinite__container"},[r?.default?.()]),d=[];if(h.isInfiniting){let N=r?.loading?.()??null;if(!N){let y=r?.loadingIcon?.()??null;y||(y=(0,t.h)(a,{class:["fox-infinite__bottom-box__img"]}));const B=(0,t.h)("view",{class:"fox-infinite__bottom-box__text"},[i.loadText.value]);N=[y,B]}const g=(0,t.h)("view",{class:"fox-infinite__bottom-box"},N);d.push(g)}else if(!l.hasMore){let N=r?.finished?.()??null;N||(N=(0,t.h)("view",{class:"fox-infinite__bottom-tips"},[i.noMoreText.value]),d.push(N))}const C=(0,t.h)("view",{class:"fox-infinite__bottom"},d);return(0,t.h)("view",{class:u.value,ref:c},[k,C])}}}}var{componentName:F0,create:K0,scope:U0}=ee("infinite-loading"),H0=K0(R0(F0,U0,ae.Loading)),ol=H0,{componentName:j0,create:W0}=ee("button"),Y0=W0({components:{Loading:ae.Loading},props:{color:String,shape:{type:String,default:"round"},plain:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"default"},size:{type:String,default:"normal"},block:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n,slots:a}){const{type:l,size:o,shape:r,disabled:s,loading:i,color:c,plain:m,block:h}=(0,t.toRefs)(e);return{handleClick:p=>{!i.value&&!s.value&&n("click",p)},classes:(0,t.computed)(()=>{const p=j0;return{[p]:!0,[`${p}--${l.value}`]:l.value,[`${p}--${o.value}`]:o.value,[`${p}--${r.value}`]:r.value,[`${p}--plain`]:m.value,[`${p}--block`]:h.value,[`${p}--disabled`]:s.value,[`${p}--loading`]:i.value}}),getStyle:(0,t.computed)(()=>{const p={};return c?.value&&(m.value?(p.color=c.value,p.background="#fff",c.value?.includes("gradient")||(p.borderColor=c.value)):(p.color="#fff",p.background=c.value)),p})}}}),X0={class:"fox-button__wrap"};function Q0(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.getStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[(0,t.createElementVNode)("view",X0,[e.loading?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-icon-loading"})):(0,t.createCommentVNode)("",!0),e.$slots.icon&&!e.loading?(0,t.renderSlot)(e.$slots,"icon",{key:1}):(0,t.createCommentVNode)("",!0),e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)({"fox-button__text":e.$slots.icon||e.loading})},[(0,t.renderSlot)(e.$slots,"default")],2)):(0,t.createCommentVNode)("",!0)])],6)}var it=oe(Y0,[["render",Q0]]),G0={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"}},Z0=(e,n,a)=>({props:{...G0},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}=pt(),{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["placeholder"]),c=(0,t.reactive)({active:!1}),m=(0,t.computed)(()=>({background:l.background})),h=(0,t.computed)(()=>({background:l.inputBackground})),u=T=>{let $=T.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),r("update:modelValue",$,T),r("change",$,T)},p=(0,t.ref)({}),b=T=>{let $=T.target.value;c.active=!0,p.value=l.focusStyle,r("focus",$,T)},w=T=>{setTimeout(()=>{c.active=!1},0);let $=T.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),p.value={},r("blur",$,T)},v=T=>{r("update:modelValue","",T),r("change","",T),r("clear","")},S=(0,t.computed)(()=>String(l.modelValue).length>0),f=(0,t.computed)(()=>{const T={};return S.value||(T.display="none"),T}),k=T=>{l.autoblur&&y.value?.blur(),(typeof T.cancelable!="boolean"||T.cancelable)&&T.preventDefault(),r("search",l.modelValue)},d=T=>{r("keyup-input",T)},C=T=>{r("click-input",T)},N=T=>{r("click-left-icon",l.modelValue,T)},g=(0,t.computed)(()=>({textAlign:l.inputAlign})),y=(0,t.ref)(null);(0,t.onMounted)(()=>{l.autofocus&&y.value.focus()});const B=()=>{const T=[];if(o.leftin){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:N},[o.leftin()]);T.push(_)}const $=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:y,style:g.value,type:l.inputType,maxlengt:l.maxLength,placeholder:i.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:C,onInput:u,onFocus:b,onBlur:w,onkeyup:d}),V=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:k},[$]);T.push(V);const W=[];if(l.clearable){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:f.value,onClick:v},[(0,t.h)(o?.clear?.()??l.clearIcon??a)]);W.push(_)}if(o.rightin){const _=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[o.rightin()]);W.push(_)}if(W.length>0){const _=(0,t.h)("view",{class:`${e}__input-inner-right`},W);T.push(_)}return(0,t.h)("view",{class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...p.value}},T)};return()=>{const T=[];if(l.label){const V=(0,t.h)("span",{class:`${e}__search-label`},[l.label]);T.push(V)}if(o.leftout){const V=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[o.leftout()]);T.push(V)}const $=B();if(T.push($),o.rightout){const V=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[o.rightout()]);T.push(V)}return(0,t.h)("view",{class:`${e}`,style:m.value},T)}}}),{componentName:_0,create:J0,scope:eh}=ee("searchbar"),th=J0(Z0(_0,eh,ae.CircleClose)),rl=th,il={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default(){return[]}},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},textPosition:{type:[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},searchDelayTriggerClear:{type:Number,default:250},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function nh(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(sl(e,r)===a)return o}else if(l==="item"){if(Ie(a,r))return o}else if(Ci(e,r)===a)return o}return-1}function sl(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function wi(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Ci(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function lh(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function ah(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var oh=class{proxy;constructor(e){this.proxy=e}async load(e,n,a,l,o,r,s){if(Array.isArray(n)){let c=n;typeof s=="function"&&(c=c.filter(s));let m=(a-1)*l,h=m+l;h>c.length&&(h=c.length);const u=c.slice(m,h);return{totalSize:c.length,page:u}}if(typeof n=="function")return await Reflect.apply(n,null,[a,l,o,r]);const i=_e(this.proxy,e);return i===null?(console.error(`${e} component not found api function`),{totalSize:0,page:[]}):(De(o)&&(0,t.isReactive)(o)&&(o=(0,t.toRaw)(o)),await Reflect.apply(i,null,[n,a,l,o]))}};function rh(){return new oh((0,t.getCurrentInstance)().proxy)}function ih(e,n,a,l,o,r,s,i,c,m,h){return{props:{...il},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(u,{slots:p}){const{emitEvent:b}=pt(),{toLocaleRefs:w}=(0,he.useFoxI18n)(n),v=w(u,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),S=rh(),f=(0,t.ref)([]),k=(0,t.ref)(0),d=(0,t.ref)(""),C=(0,t.shallowRef)(null),N=(0,t.computed)(()=>{const P={};return u.params&&Object.assign(P,u.params),ue(d.value)||(P[`${u.searchKey}`]=d.value),C.value&&Object.assign(P,C.value),P});let g=!0;const y=async(P,j,x)=>{try{if(T.value===!1)return;let I=null;ue(d.value)||(I=Z=>{const le=sl(u,Z);if(typeof le=="string"&&le.includes(d.value))return!0;const re=wi(u,Z);return!!(typeof re=="string"&&re.includes(d.value))});const Y=await S.load("actionsheet",P,j,x,N.value,g,I??void 0);g=!1,Array.isArray(Y)?(f.value=Y,k.value=1,T.value=!1):!Array.isArray(Y.page)||Y.page.length===0?(console.warn("[FoxUI] can not load more data"),T.value=!1):(Reflect.apply([].push,f.value,Y.page),k.value=Math.ceil(f.value.length/u.pageSize),(Y.totalSize&&f.value.length>=Y.totalSize||x<Y.page.length)&&(T.value=!1)),B.value=!1}catch(I){console.error("[FoxUI] ActionSheet load more data fail",I),T.value=!0,k.value=0,f.value=[]}setTimeout(()=>{b("loaded-data")},250)},B=(0,t.ref)(!1),T=(0,t.ref)(!0),$=async()=>{if(!u.source){B.value=!1;return}await y(u.source,k.value+1,u.pageSize)};let V=null;(0,t.watch)(d,(P,j)=>{V&&(clearTimeout(V),V=null),ue(P)&&!ue(j)&&(V=setTimeout(()=>{_()},u.searchDelayTriggerClear))});const W=()=>{T.value=!0,k.value=0,f.value=[],u.source&&$()},_=()=>{W()};(0,t.watch)([()=>u.source,()=>u.pageSize,()=>u.params],async([P,j,x])=>{u.source&&W()},{immediate:!0});const E=(0,t.computed)(()=>!u.multiple&&u.isAutoBackFill),D=(0,t.ref)([]);let L=null;const M=(0,t.ref)(u.visible);(0,t.watch)(()=>u.visible,P=>{M.value!==P&&(M.value=P),P?L=[...D.value]:L=null});const R=(P,j)=>{const x=[];return Array.isArray(P)||(P=[P]),P.forEach(I=>{let Y=nh(u,j,I,u.valueType);Y!==-1&&x.push(Y)}),Ie(x,D.value)?!1:(D.value=x,!0)};(0,t.watch)([()=>u.modelValue,()=>f.value],([P,j],[x,I])=>{R(P,j)&&q(K())},{deep:!0});const K=()=>{const P=[],j=[],x=[];for(let le of D.value){const re=f.value[le];j.push(re);const ce=sl(u,re);if(x.push(ce),u.valueType==="item")P.push(re);else if(u.valueType==="text")P.push(ce);else{const ke=Ci(u,re);P.push(ke)}}let I=null,Y=null,Z=null;return u.multiple?(I=P,Y=x,Z=j):(I=P[0]??null,Y=x[0]??null,Z=j[0]??null),{value:I,text:Y,item:Z}},q=P=>{b("update:modelValue",P.value),b("update:text",P.text),b("change",P.value,P.item,P.text)},G=()=>{L&&(D.value=L)},ne=P=>{const j=D.value.indexOf(P);u.multiple?j===-1?D.value.push(P):D.value.splice(j,1):j===-1?D.value=[P]:D.value=[],(E.value||!u.poppable&&!u.showFooter)&&z()},O=P=>{M.value=P,b("update:visible",P)},U=()=>{const P=()=>{G(),O(!1)},j=u.beforeMethod??u.beforeClose;if(typeof j=="function"){const x=j("close");ut(x)?x.then(I=>{I!==!1&&P()}).catch(()=>{P()}):x!==!1&&P()}else P()},z=()=>{const P=K(),j=()=>{q(P),O(!1)},x=u.beforeMethod??u.beforeClose;if(typeof x=="function"){const I=x("confirm",P.value,P.item,P.text);ut(I)?I.then(Y=>{Y!==!1&&j()}).catch(()=>{j()}):I!==!1&&j()}else j()},Q=()=>{let P=v.title.value??"";return p.title&&(P=p.title()),(0,t.h)("view",{class:["fox-actionsheet__header"]},[(0,t.h)("view",{class:["fox-actionsheet__header-title"]},[P]),(0,t.h)(c,{class:["fox-actionsheet__header-icon"],onClick:U})])},F=()=>{let P=null;return p.search?P=p.search():P=(0,t.h)(r,{onSearch:W,placeholder:v.seachPlaceholder.value,disabled:u.disabled,modelValue:d.value,"onUpdate:modelValue":j=>{d.value=j}},{leftin:()=>(0,t.h)(m)}),(0,t.h)("view",{class:["fox-actionsheet__searchbar"]},[P])},H=(P,j,x,I,Y)=>{if(p.optionLabel)return p.optionLabel({text:P,checked:j,disabled:x,subText:I,item:Y});const Z=[],le=(0,t.h)("view",{class:"fox-actionsheet__list-item-text"},[P]);if(Z.push(le),I){const re=(0,t.h)("view",{class:"fox-actionsheet__list-item-subtext"},[I]);Z.push(re)}return(0,t.h)("view",{class:["fox-actionsheet__list-item-label"]},Z)},J=(P,j,x,I)=>p.optionIcon?p.optionIcon({checked:P,disabled:j,iconSize:x,item:I}):P?p.checkedIcon?p.checkedIcon({disabled:j,item:I}):(0,t.h)(u.checkedIcon??i,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}):p.icon?p.icon({disabled:j,item:I}):(0,t.h)(u.icon??s,{width:x,height:x,class:["fox-actionsheet__list-item-icon"]}),X=()=>{const P=[];for(let j=0;j<f.value.length;j++){const x=f.value[j],I=sl(u,x),Y=wi(u,x),Z=["fox-actionsheet__list-item"],le={};let re=lh(u,x),ce=u.iconSize?se(u.iconSize):null;const ke=ah(u,x,j);ke&&(re=re||ke.disabled,ke.class&&Z.push(ke.class),ke.style&&Object.assign(le,ke.style)),re=!!(u.disabled||re);const Dt=D.value.includes(j);re&&Z.push("is-disabled"),Dt&&Z.push("is-checked");const ct={class:Z,style:le,key:`${j}`,onClick:()=>{re||ne(j)}};let tt=[];if(p.option)tt.push(p.option({item:x,checked:Dt,disabled:re}));else{const d2=H(I,Dt,re,Y,x);tt.push(d2);const f2=J(Dt,re,ce,x);tt.push(f2),u.textPosition==="right"&&tt.reverse()}const Ho=(0,t.h)("view",ct,tt);P.push(Ho)}return P},te=()=>{let P=[];if(p.buttons)P=p.buttons();else{const j=(0,t.h)(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:z,disabled:u.disabled},{default:()=>v.confirmText.value});P.push(j)}return(0,t.h)("view",{class:"fox-actionsheet__footer"},[P])};return Te({search:async(P=null,j=!0)=>{C.value=P&&(0,t.toRaw)(P),(0,t.triggerRef)(C),j&&(T.value=!0,k.value=0,f.value=[]),(0,t.nextTick)(()=>{$()})},clear:()=>{T.value=!0,k.value=0,f.value=[]},confirm:()=>{z()},cancel:()=>{U()}}),()=>{const P=[];if(u.showHeader){const re=Q();P.push(re)}if(u.showSearchbar){const re=F();P.push(re)}let j=null;if(p.content)j=p.content();else{const re=X();j=(0,t.h)(l,{hasMore:T.value,loadText:v.loadText.value,noMoreText:v.noMoreText.value,modelValue:B.value,"onUpdate:modelValue":ce=>{B.value=ce},onLoadMore:$},{default:()=>re})}const x={};u.optionsHeight&&(x.height=u.optionsHeight);const I={"fox-actionsheet__list":!0};u.poppable||(I["fox-actionsheet__list--inner"]=!0);const Y=(0,t.h)("view",{class:I,style:x},[j]);if(P.push(Y),u.showFooter&&!E.value){const re=te();P.push(re)}const Z=(0,t.h)("view",{class:"fox-actionsheet"},P);if(!u.poppable)return Z;const le=["fox-actionsheet__popup"];return u.popClass&&le.push(u.popClass),(0,t.h)(a,{popClass:le.join(" "),visible:M.value,closeable:!1,"onUpdate:visible":O,position:u.position,round:"round",onClickOverlay:U,closeOnClickOverlay:u.closeOnClickOverlay},{default:()=>Z})}}}}var{componentName:sh,create:ch,scope:uh}=ee("actionsheet-pane"),dh=ch(ih(sh,uh,be,ol,it,rl,ae.CheckNormal,ae.Checked,ae.Close,ae.Search2,!1)),cl=dh,Ni={type:{type:String,default:"text"},placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "}};function fh(e,n,a,l,o,r,s){return{props:{...pe,...ye,...Ni,...il},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(i,c){const m=Ee((0,t.computed)(()=>i.disabled)),h=$e((0,t.computed)(()=>i.readonly)),{emitEvent:u}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return m.value}},i.prop??c.attrs.name),{toLocaleRefs:p}=(0,he.useFoxI18n)(n),b=p(i,["placeholder"]),w=(0,t.ref)(!1),v=Me(i,"modelValue",null,u),S=(0,t.ref)(""),f=(0,t.computed)(()=>Array.isArray(S.value)?S.value.join(i.separator):S.value),k="fox-input-item",d=(0,t.computed)(()=>({[k]:!0,"is-disabled":m.value,"is-readonly":h.value})),C=Ve((0,t.computed)(()=>i.textAlign),"textAlign"),N=(0,t.computed)(()=>{const z={};return C.value&&(z["text-align"]=C.value),z}),g=(0,t.ref)(!1),y=()=>{g.value=!0},B=z=>{g.value=z},T=z=>{v.value=z,u("update:modelValue",z)},$=(z,Q)=>{u("change",z,Q)},V=z=>{let Q=z.target.value;w.value=!0,u("focus",Q,z)},W=z=>{setTimeout(()=>{w.value=!1},0);let Q=z.target.value;i.maxLength&&Q.length>Number(i.maxLength)&&(Q=Q.slice(0,Number(i.maxLength))),u("blur",Q,z)},_=z=>{S.value=z,u("update:text",z)},E=(0,t.computed)(()=>({[`${k}__append`]:!0,"is-disabled":m.value,"is-readonly":h.value})),D=(0,t.computed)(()=>ve(i.unit)>0),L=(0,t.computed)(()=>ve(i.unit)>0&&!w.value),M=(0,t.computed)(()=>({hidden:!L.value})),R=z=>{v.value="",u("update:modelValue","",z),u("change","",z),u("clear","")},K=(0,t.computed)(()=>i.clearable&&!m.value&&!h.value),q=(0,t.computed)(()=>ve(v.value)>0&&w.value),G=z=>{q.value?R(z):y()},ne=(0,t.computed)(()=>q.value&&K.value?l:o),O=(0,t.computed)(()=>({action:!0})),U=(0,t.ref)(null);return Te({search:z=>{U.value&&U.value.search(z)},clear:()=>{U.value&&U.value.clear},confirm:z=>{U.value&&U.value.confirm()},cancel:()=>{U.value&&U.value.cancel()}}),()=>{const z={class:d.value,style:N.value,type:"text",maxlength:i.maxLength,placeholder:b.placeholder.value,readonly:!0,unselectable:"on",value:f.value,onClick:y,onFocus:V,onBlur:W};s&&(z.disabled=!0);const Q=[],F=(0,t.h)("input",z);Q.push(F);const H=[],J=(0,t.h)(ne.value,{class:["action-icon"]}),X=(0,t.h)("view",{class:O.value,onClick:G},{default:()=>[J]});if(H.push(X),D.value){const Y=(0,t.h)("view",{class:M.value},[i.unit]);H.push(Y)}const te=(0,t.h)("view",{class:E.value},{default:()=>H});Q.push(te);const P={default:()=>Q};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 j=ge(i,il);j.ref=U,j.class=i.actionsheetProps,j.disabled=m.value||h.value,j.visible=g.value,j["onUpdate:visible"]=B,j.modelValue=v.value,j["onUpdate:modelValue"]=T,j.text=S.value,j["onUpdate:text"]=_,j.onChange=$,j.poppable=!0,j["text-position"]=i.textPosition;const x=(0,t.h)(r,j,{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=()=>[x];const I={...Qe(i,Ni,il)};return i.prop&&(I.prop=`${i.prop}_item`),(0,t.h)(a,I,P)}}}}var{componentName:mh,create:hh,scope:ph}=ee("actionsheet-item"),gh=hh(fh(mh,ph,Ne,ae.CircleClose,ae.ArrowRight,cl)),ka=gh,wa={modelValue:{type:[Number,String],default:0},inputWidth:{type:[Number,String],default:""},buttonSize:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:9999},step:{type:[Number,String],default:1},decimalPlaces:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},{componentName:yh,create:bh}=ee("input-number"),Sh=bh({components:{Minus:ae.Minus,Plus:ae.Plus},props:{...wa},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const a=(0,t.computed)(()=>{const b=yh;return{[b]:!0,[`${b}--disabled`]:e.disabled}}),l=b=>Number(b).toFixed(Number(e.decimalPlaces)),o=b=>{const w=b.target;n("update:modelValue",w.valueAsNumber,b)},r=(b,w)=>{let v=l(b);n("update:modelValue",v,w),n("change",v,w)},s=(b=Number(e.modelValue))=>b<Number(e.max)&&!e.disabled,i=(b=Number(e.modelValue))=>b>Number(e.min)&&!e.disabled,c=b=>{n("reduce",b),i()?r(Number(e.modelValue)-Number(e.step),b):n("overlimit",b,"reduce")},m=b=>{n("add",b),s()?r(Number(e.modelValue)+Number(e.step),b):n("overlimit",b,"add")},h=b=>{e.disabled||e.readonly||n("focus",b)},u=b=>{if(e.disabled||e.readonly)return;let w=b.target.valueAsNumber;w<Number(e.min)?w=Number(e.min):w>Number(e.max)&&(w=Number(e.max)),r(w,b),n("blur",b)},p=b=>{let w=Number(b);return w<Number(e.min)?w=Number(e.min):w>Number(e.max)&&(w=Number(e.max)),w};return(0,t.watch)(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const b=p(e.modelValue);b!==Number(e.modelValue)&&r(b,{})}),{classes:a,change:o,blur:u,focus:h,add:m,addAllow:s,reduce:c,reduceAllow:i,toPxString:de}}}),vh=["min","max","disabled","readonly","value"];function kh(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Minus"),i=(0,t.resolveComponent)("Plus");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-input-number__icon fox-input-number__left",{"fox-input-number__icon--disabled":!e.reduceAllow()}]),onClick:n[0]||(n[0]=(...c)=>e.reduce&&e.reduce(...c))},[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[(0,t.createVNode)(s,{width:e.toPxString(e.buttonSize),height:e.toPxString(e.buttonSize)},null,8,["width","height"])])],2),(0,t.createElementVNode)("input",{type:"number",min:e.min,max:e.max,style:(0,t.normalizeStyle)({width:e.toPxString(e.inputWidth),height:e.toPxString(e.buttonSize)}),disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[1]||(n[1]=(...c)=>e.change&&e.change(...c)),onBlur:n[2]||(n[2]=(...c)=>e.blur&&e.blur(...c)),onFocus:n[3]||(n[3]=(...c)=>e.focus&&e.focus(...c))},null,44,vh),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-input-number__icon fox-input-number__right",{"fox-input-number__icon--disabled":!e.addAllow()}]),onClick:n[4]||(n[4]=(...c)=>e.add&&e.add(...c))},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[(0,t.createVNode)(i,{width:e.toPxString(e.buttonSize),height:e.toPxString(e.buttonSize)},null,8,["width","height"])])],2)],2)}var ul=oe(Sh,[["render",kh]]);function wh(e,n,a,l){return{props:{...pe,...ye,...wa},emits:["change","update:modelValue","setValue","add","reduce"],setup(o,r){const s=Ee((0,t.computed)(()=>o.disabled)),i=$e((0,t.computed)(()=>o.readonly)),{emitEvent:c}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue","add","reduce"],validateResetEvents:["focus","setValue"],get validate(){return!s.value&&!i.value}},o.prop??r.attrs.name),m=(0,t.computed)(()=>{const w=[`${e}`];return o.textAlign==="left"?w.push("is-left"):o.textAlign==="center"?w.push("is-center"):o.textAlign==="right"&&w.push("is-right"),w.join(" ")}),h=Me(o,"modelValue",null,c),u=w=>{h.value=w,c("update:modelValue",w,{}),c("change",w,{})},p=w=>{c("add",w)},b=w=>{c("reduce",w)};return()=>{const w={"left-icon":r.slots["left-icon"],"right-icon":r.slots["right-icon"]},v=ge(o,wa),S=(0,t.h)(l,{...r.attrs,...v,disabled:s.value,readonly:i.value,value:h.value,"onUpdate:modelValue":u,onAdd:p,onReduce:b},w),f=[];f.push(S);const k={default:()=>f};k.label=r.slots.default,k.fixedPreTip=r.slots.fixedPreTip,k.fixedTip=r.slots.fixedTip;const d={...ge(o,ye,pe)};return o.prop&&(d.prop=`${o.prop}_item`),d["content-class"]=m.value,(0,t.h)(a,d,k)}}}}var{componentName:Ch,create:Nh,scope:Ah}=ee("input-number-item"),Bh=Nh(wh(Ch,Ah,Ne,ul)),Ca=Bh;function Th(e,n,a,l){return{props:{...na,...la,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}},emits:["update:modelValue","change"],setup(o,{emit:r,slots:s}){const i=e,c=(0,t.computed)(()=>{const v=[`${i}`];return o.direction==="vertical"?v.push("vertical-tabbar"):v.push("horizontal-tabbar"),v}),m=(0,t.computed)(()=>{const v={};if(o.width){const S=de(o.width);S&&(v.width=S)}if(o.height){const S=de(o.height);S&&(v.height=S)}return v}),h=(0,t.computed)(()=>[`${i}__bar`]),u=(0,t.computed)(()=>[`${i}__container`]),p=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,v=>{p.value!==v&&(p.value=v)});const b=v=>{r("change",v)},w=v=>{p.value!==v&&(p.value=v,r("update:modelValue",v))};return()=>{const{getChildren:v}=Kl(s.default),S=v(),f=[];if(Array.isArray(o.data))f.push(...o.data);else for(let B=0;B<S.length;B++){const T=S[B].props??{},$={text:T.label??"",value:T["pane-key"]??T.paneKey??""};f.push($)}const k={};for(let B in s)B!=="default"&&(k[B]=s[B]);const d=ge(o,na);Object.assign(d,{data:f,class:h.value,modelValue:p.value,direction:o.direction,onChange:b,"onUpdate:modelValue":w});const C=(0,t.h)(a,d,k),N={default:()=>S},g=ge(o,la);Object.assign(g,{class:u.value,modelValue:p.value,onChange:b,"onUpdate:modelValue":w});const y=(0,t.h)(l,g,N);return(0,t.h)("view",{class:c.value,style:m.value},[C,y])}}}}var{create:Vh,componentName:$h,scope:Eh}=ee("tabs-frame"),Dh=Vh(Th($h,Eh,Ht,jt)),Na=Dh,Ih={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 qh(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 Bi(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function xh(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Aa(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function Ti(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function Vi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Ba(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var Ph=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await Reflect.apply(n,null,[a]);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await Reflect.apply(l,null,[n,a]))}};function Mh(){return new Ph((0,t.getCurrentInstance)().proxy)}function zh(e,n,a,l){return{props:{...Ih},emits:["update:modelValue","change","loaded-data","click"],setup(o,{slots:r,emit:s}){const i=e,c=Mh(),m=(0,t.ref)([]),h=(0,t.computed)(()=>m.value.filter(O=>xh(o,O)!==!1)),u=(0,t.ref)(-1),p=()=>{const O=o.modelValue,U=h.value.findIndex(z=>Ai(o,z)===O);u.value!==U&&(u.value=U,o.scroll&&G(U,!1))};(0,t.watch)([()=>o.modelValue,h],()=>{p()});const b=O=>u.value===O,w=O=>{if(O<0&&O>=h.value.length)return!1;const U=h.value[O],z=(Ba(o,U,O)??{}).status??Aa(o,U);return b(O)||z},v=(0,t.computed)(()=>{const O={[i]:!0};return o.mode?O[`is-${o.mode}`]=!0:o.direction&&(O[`is-${o.direction}`]=!0),o.scroll&&(O["is-scroll"]=!0),O}),S=(0,t.computed)(()=>({})),f=(O,U,z,Q,F)=>{const H={[`${i}__step`]:!0};return F&&(H[`${F}`]=!0),H[`${k.value}`]=!0,Q&&(H["is-doit"]=!0),O===u.value?H["is-active"]=!0:U==="done"?H["is-done"]=!0:U==="error"?H["is-error"]=!0:U==="half"?H["is-half"]=!0:z?H["is-disabled"]=!0:H["is-normal"]=!0,H},k=(0,t.computed)(()=>{let O=o.align;if(!O){if(o.mode==="simple")return"start";o.direction==="vertical"?O="start":O="center"}return O}),d=(O,U={})=>{const z={...U};if(k.value==="start"&&O===h.value.length-1)z.flex="0 0 auto";else if(o.step){const Q=typeof o.step=="number"||dn(o.step)?de(o.step):o.step;o.direction==="vertical"?z.height=Q:z.width=Q}else z.flex="1 1 100%";return z},C=(O,U)=>{let z={};if(U<h.value.length-1){const Q=U+1;w(U)&&w(Q)?o.direction==="vertical"?z.height="100%":z.width="100%":z.opacity="0"}return z},N=O=>h.value.length-1===O,g=(O,U)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&U>u.value||u.value===U)return;const z=u.value,Q=U;u.value=U,o.scroll&&G(U,!1);const F=Ai(o,O);s("update:modelValue",F),s("change",F,{fromIndex:z,currentIndex:Q,item:O,items:h.value,clickNavigatePolicy:o.clickNavigatePolicy})},y=(0,t.ref)(!0),B=async(O,U)=>{try{const z=await c.load("stesbar",O,U);Array.isArray(z)&&(m.value=z),y.value=!1}catch(z){console.error("[FoxUI] Load StepsBar Data Fail",z),m.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>o.data,()=>o.params],async([O,U])=>{O&&B(O,U)},{immediate:!0});const T=(O,U,z,Q,F,H)=>{const J=[];let X=null;if(!H)if(r.icon)X=r.icon({item:O,index:U,status:Q});else if(Q==="done"){const te={};o.iconSize&&(te.width=o.iconSize,te.height=o.iconSize),X=(0,t.h)(o.icon??a,te)}else X=(0,t.h)("span",{},[z??`${U+1}`]);return X&&J.push(X),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:O,index:U}),!F&&g(O,U)}},J)},$=(O,U,z)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:C(O,U)})]),V=()=>{let O=null;if(r.markIcon)O=r.markIcon();else{const U={};o.iconSize&&(U.width=o.markIconSize,U.height=o.markIconSize),O=(0,t.h)(o.markIcon??l,U)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[O])},W=(O,U,z,Q,F,H)=>{const J=[];if(!N(U)){const te=$(O,U,Q);J.push(te)}const X=T(O,U,z,Q,F,H);return J.push(X),(0,t.h)("view",{class:"fox-steps-bar__head"},J)},_=(O,U,z,Q)=>{let F=null;return r.main?F=r.main({item:O,index:U,status:z}):F=qh(o,O),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:O,index:U}),!Q&&g(O,U)}},[F])},E=(O,U,z)=>{let Q=null;return r.sub?(Q=r.sub({item:O,index:U,status:z}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[Q])):null},D=(O,U)=>{const z=Ba(o,O,U)??{},Q=z.status??Aa(o,O);let F=Bi(o,O);z.disabled===!0&&(F=!0),o.disabled===!0&&(F=!0);let H=Ti(o,O);z.doit===!0&&(H=!0);const J=z.label??Vi(o,O),X=[],te=T(O,U,J,Q,F,H);te&&X.push(te);const P=_(O,U,Q,F);if(P&&X.push(P),!N(U)){const Y=$(O,U,Q);Y&&X.push(Y)}const j=(0,t.h)("view",{class:"fox-steps-bar__head"},X),x=z.class,I=z.style??{};return(0,t.h)("view",{ref:q(U),class:f(U,Q,F,H,x),style:d(U,I)},[j])},L=(O,U)=>{const z=Ba(o,O,U)??{},Q=z.status??Aa(o,O);let F=Bi(o,O);z.disabled===!0&&(F=!0),o.disabled===!0&&(F=!0);let H=Ti(o,O);z.doit===!0&&(H=!0);const J=z.label??Vi(o,O),X=[],te=o.layout;for(let x of te)if(x==="head"){const I=W(O,U,J,Q,F,H);X.push(I)}else if(x==="main"){const I=_(O,U,Q,F);X.push(I)}else if(x==="sub"){const I=E(O,U,Q);X.push(I)}else if(x==="mark"){const I=V();X.push(I)}const P=z.class,j=z.style??{};return(0,t.h)("view",{ref:q(U),class:f(U,Q,F,H,P),style:d(U,j)},X)},M=(0,t.ref)(),R=(0,t.ref)([]),K=(O,U)=>{R.value[U]=O},q=O=>U=>{K(U,O)},G=(O,U)=>{const z=M.value,Q=R.value;if(!z||!Q||!Q[O])return;const F=Q[O];let H=0;o.direction==="vertical"?H=F.offsetTop-(z.offsetHeight-F.offsetHeight)/2:H=F.offsetLeft-(z.offsetWidth-F.offsetWidth)/2,ne(z,H,U?0:.3,o.direction)},ne=(O,U,z,Q)=>{let F=0;const H=Q==="horizontal"?O.scrollLeft:O.scrollTop,J=z===0?1:Math.round(z*1e3/16);function X(){Q==="horizontal"?O.scrollLeft+=(U-H)/J:O.scrollTop+=(U-H)/J,++F<J&&He(X)}X()};return()=>{let O=[];if(o.mode==="simple")for(let z=0;z<h.value.length;z++){const Q=h.value[z],F=D(Q,z);O.push(F)}else for(let z=0;z<h.value.length;z++){const Q=h.value[z],F=L(Q,z);O.push(F)}const U={ref:M,class:v.value,style:S.value};return O.length===0&&typeof r.default=="function"&&(O=r.default()),(0,t.h)("view",U,O)}}}}var{componentName:Lh,create:Oh,scope:Rh}=ee("steps-bar"),Fh=Oh(zh(Lh,Rh,ae.Checklist,ae.ArrowRight)),Ta=Fh;function Kh(e){e.stopPropagation()}var Uh=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=Fn()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=Kn(),a=(l,o,r,s)=>{this.updateMove({x:l,y:o})};this.touchstart=l=>{this.moving||(n.start(l),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=l=>{this.moving&&(n.move(l),Kh(l),a(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{a(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(l=>{this.touchstart&&l.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 Hh(e,n){return new Uh(e,n)}var jh={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]}},Wh=(e,n,a,l=!1)=>({props:{...jh},emits:["click"],setup(o,{slots:r,emit:s}){let i=-1,c=-1;const m=(0,t.reactive)({top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:0,height:0}),h=(0,t.computed)(()=>{const N=[`${e}`];return o.customClass&&N.push(o.customClass),N}),u=N=>typeof N=="string"&&!dn(N)?N:`${N}px`,p=(0,t.computed)(()=>{const N={};return ue(m.top)||(N.top=u(m.top)),ue(m.right)||(N.right=u(m.right)),ue(m.bottom)||(N.bottom=u(m.bottom)),ue(m.left)||(N.left=u(m.left)),ue(o.width)||(N.width=u(o.width)),ue(o.height)||(N.height=u(o.height)),ue(o.color)||(N.color=o.color),ue(o.background)||(N.background=o.background),ue(o.borderRadius)||(N["border-radius"]=o.borderRadius),ue(o.zIndex)||(N["z-index"]=o.zIndex),N}),b=(0,t.computed)(()=>({[`${e}__icon`]:!0})),w=()=>{s("click")},v=(0,t.ref)(null),S=()=>{m.top=null,m.right=null,m.bottom=null,m.left=null},f={x:0,y:0},C=Hh(N=>{if(!v.value)return;const g=v.value;S(),m.left=g.offsetLeft,m.top=g.offsetTop,g.style.left=`${m.left}px`,g.style.top=`${m.top}px`,g.style.right=null,g.style.bottom=null,f.x=m.left,f.y=m.top,m.width=g.offsetWidth,m.height=g.offsetHeight,i=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight},N=>{if(!v.value)return;const g=v.value;S();let y=f.x+N.x;y<0&&(y=0),y>i-m.width&&(y=i-m.width);let B=f.y+N.y;B<0&&(B=0),B>c-m.height&&(B=c-m.height),m.left=y,m.top=B,g.style.left=`${y}px`,g.style.top=`${B}px`});return(0,t.onMounted)(()=>{if(o.draggable&&v.value){const N=[v.value];C.open(N)}}),(0,t.onBeforeUnmount)(()=>{o.draggable&&v.value&&C.close()}),()=>{let N=[];const g=typeof r.default=="function"?r.default():[];if(g&&g.length>0)N=g;else{const y=(0,t.h)(a,{class:b.value});N.push(y)}return(0,t.h)("view",{ref:y=>{v.value=y},class:h.value,style:p.value,onClick:w},N)}}}),{componentName:Yh,create:Xh,scope:Qh}=ee("floating-button"),Gh=Xh(Wh(Yh,Qh,ae.Uploader,!1)),Va=Gh,Zh={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 _h(e,n,a){return{props:{...Zh},emits:["click","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["collapseText","expandText"]),c=(0,t.computed)(()=>{const w={[`${e}`]:!0};return l.disabled?w[`${e}--disabled`]=!0:w[`${e}--${l.type}`]=!0,w}),m=Me(l,"modelValue"),h=(0,t.computed)(()=>m.value?i.expandText.value??"":i.collapseText.value??""),u=(0,t.computed)(()=>({[`${e}__text`]:!0})),p=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!m.value,"is-collapse":m.value})),b=()=>{o("update:modelValue",!m.value)};return()=>{const w=[];if(h.value){const f=(0,t.h)("span",{class:u.value},[h.value]);w.push(f)}const v={class:p.value},S=(r.icon&&r.icon())??(l.icon&&(0,t.h)(l.icon))??(0,t.h)(a);if(S){const f=(0,t.h)("view",v,[S]);w.push(f)}return l.textPosition==="right"&&w.reverse(),(0,t.h)("view",{class:c.value,onClick:b},w)}}}}var{componentName:Jh,create:ep,scope:tp}=ee("more-button"),np=ep(_h(Jh,tp,ae.RectUp)),$a=np,lp={visible:{type:[Boolean],default:!0},width:{type:[String,Number]},height:{type:[String,Number]},type:{type:[String],required:!1,default:"info"},icon:{type:[String,Object],required:!1},closeIcon:{type:[String,Object],required:!1},showClose:{type:[Boolean],required:!1},title:{type:[String],required:!1},message:{type:[Array,String,Object],required:!1},showConfirmButton:{type:[Boolean],required:!1},confirmButtonText:{type:[String],required:!1},confirmText:{type:[String],required:!1},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},showCancelButton:{type:[Boolean],required:!1},cancelButtonText:{type:[String],required:!1},cancelText:{type:[String],required:!1},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},popClass:{type:[String]},position:{type:[String],default:"center"},closeOnClickOverlay:{type:[Boolean],required:!1,default:!0},unmount:{type:[Function],required:!1},callback:{type:[Function],required:!1}},ap=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function op(e,n,a){return{props:{...lp},emits:["update:visible"],setup(l,{attrs:o,slots:r,emit:s}){const{toLocaleRefs:i}=(0,he.useFoxI18n)(n),c=i(l,["confirmText","cancelText"]),m=e,h=(0,t.ref)(l.visible),u=N=>{h.value=N,s("update:visible",N)};(0,t.watch)(()=>l.visible,N=>{h.value!==N&&(h.value=N)});const p=N=>{if(typeof l.unmount=="function")try{l.unmount()}catch(g){console.error(g)}if(typeof l.callback=="function")try{l.callback(N)}catch(g){console.error(g)}},b=()=>{p("confirm")},w=()=>{p("cancel")},v=()=>{l.closeOnClickOverlay!==!1&&p("close")},S=(N,g)=>ap(N)?(g.src=N,(0,t.h)("img",g)):typeof N=="string"?(Array.isArray(g.class)?g.class.push(N):g.class&&typeof g.class=="object"?g[`${N}`]=!0:typeof g.class=="string"?g.class=`${g.class}, ${N}`:g.class=N,(0,t.h)(l.tag,g)):(0,t.h)(N,g),f=()=>{const N=[];if(l.icon){const g={class:[`${m}__header-icon`]},y=S(l.icon,g);N.push(y)}if(l.title){const g=(0,t.h)("view",{class:`${m}__header-title`},[l.title]);N.push(g)}if(l.showClose&&l.closeIcon){const g={class:[`${m}__header-close-icon`],onClick:v},y=S(l.closeIcon,g);N.push(y)}return(0,t.h)("view",{class:[`${m}__header`]},N)},k=(N,g)=>{const y=[];if(g){const B=(0,t.h)("view",{class:`${m}__group-title`},[g]);y.push(B)}if(N){const B=[];Array.isArray(N)||(N=[N]);for(let T of N){const $=(0,t.h)("view",{class:`${m}__group-row`,innerHTML:T});B.push($)}if(B.length>0){const T=(0,t.h)("view",{class:`${m}__group-rows`},B);y.push(T)}}return y.length===0?null:(0,t.h)("view",{class:`${m}__group`},y)},d=()=>{const N=[];if(typeof l.message=="string")N.push(l.message);else if(Array.isArray(l.message))for(let g of l.message)if(typeof g=="string"){const y=k(g);N.push(y)}else{const y=k(g.content,g.title);N.push(y)}else if(typeof l.message=="function"){const g=l.message();N.push(g)}else{const g=l.message;N.push(g)}return(0,t.h)("view",{class:`${m}__body`},N)},C=()=>{const N=[];if(l.showCancelButton){const g={class:[`${m}__footer-button`],style:{},onClick:w};l.cancelButtonClass&&g.class.push(l.cancelButtonClass),l.cancleButtonStyle&&typeof l.cancleButtonStyle=="object"&&Object.assign(g.style,l.cancleButtonStyle);const y=(0,t.h)("button",g,[l.cancelButtonText??c.cancelText.value]);N.push(y)}if(l.showConfirmButton){const g={class:[`${m}__footer-button`],style:{},onClick:b};l.confirmButtonClass&&g.class.push(l.confirmButtonClass),l.confirmButtonStyle&&typeof l.confirmButtonStyle=="object"&&Object.assign(g.style,l.confirmButtonStyle);const y=(0,t.h)("button",g,[l.confirmButtonText??c.confirmText.value]);N.push(y)}return N.length===0?null:(0,t.h)("view",{class:`${m}__footer`},N)};return()=>{const N=[],g=f();g&&N.push(g);const y=d();y&&N.push(y);const B=C();B&&N.push(B);const T=(0,t.h)("view",{class:{[`${m}`]:!0,[`${m}--${l.type||"info"}`]:!0}},N),$=[`${m}__popup`];l.popClass&&$.push(l.popClass);const V={};return l.width&&(V.width=typeof l.width=="number"?`${l.width}px`:l.width),l.height&&(V.height=typeof l.height=="number"?`${l.height}px`:l.height),(0,t.h)(a,{popClass:$.join(" "),style:V,visible:h.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":u,position:l.position,round:"round",onClickOverlay:v,closeOnClickOverlay:l.closeOnClickOverlay},{default:()=>T})}}}}var{componentName:rp,create:ip,scope:sp}=ee("messagebox"),cp=ip(op(rp,sp,be)),up=cp,dp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M82.5121%201.93968L81.7498%206.07825C81.6498%206.6214%2081.1284%206.98064%2080.5853%206.8806C80.4326%206.85251%2080.2886%206.78925%2080.1646%206.69578L77.1586%204.43061C76.7175%204.09823%2076.6294%203.47123%2076.9618%203.03016C77.0552%202.90617%2077.1762%202.80562%2077.3153%202.73655L81.0834%200.863097C81.5779%200.617235%2082.1782%200.818843%2082.4241%201.31339C82.5204%201.50712%2082.5512%201.72688%2082.5121%201.93968Z'%20fill='%23FFD1C9'%20%3e%3c/path%3e%3cpath%20d='M3.08218%20102.2L6.53454%2094.2358C6.75419%2093.7291%207.34251%2093.4968%207.84925%2093.7164C7.99216%2093.7778%208.11815%2093.872%208.21791%2093.9909L13.2085%2099.9384C13.5635%20100.361%2013.5081%20100.992%2013.0852%20101.347C12.9665%20101.447%2012.8261%20101.518%2012.675%20101.554L4.23203%20103.571C3.69484%20103.699%203.15538%20103.367%203.02699%20102.83C2.97674%20102.62%202.99607%20102.399%203.08218%20102.2Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23FF5959'%20%3e%3c/circle%3e%3cpath%20d='M59.935%2049.6213C61.3827%2051.069%2061.3827%2053.4162%2059.935%2054.864L45.935%2068.864C44.4873%2070.3117%2042.1401%2070.3117%2040.6924%2068.864C39.2447%2067.4162%2039.2447%2065.069%2040.6924%2063.6213L54.6924%2049.6213C56.1401%2048.1736%2058.4873%2048.1736%2059.935%2049.6213Z'%20fill='%23FFB5AD'%20%3e%3c/path%3e%3cpath%20d='M40.6924%2049.6213C39.2447%2051.069%2039.2447%2053.4162%2040.6924%2054.864L54.6924%2068.864C56.1401%2070.3117%2058.4873%2070.3117%2059.935%2068.864C61.3827%2067.4162%2061.3827%2065.069%2059.935%2063.6213L45.935%2049.6213C44.4873%2048.1736%2042.1401%2048.1736%2040.6924%2049.6213Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%23FFD1C9'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%23FFB5AD'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L102%20110L102%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",fp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='110'%20viewBox='0%200%20102%20110'%20fill='none'%3e%3cpath%20d='M8%2087L8%2095C8%2095.5523%207.55228%2096%207%2096C6.44772%2096%206%2095.5523%206%2095L6%2087L2%2087C1.44772%2087%201%2086.5523%201%2086C1%2085.4477%201.44772%2085%202%2085L6%2085L6%2082C6%2081.4477%206.44772%2081%207%2081C7.55228%2081%208%2081.4477%208%2082L8%2085L12%2085C12.5523%2085%2013%2085.4477%2013%2086C13%2086.5523%2012.5523%2087%2012%2087L8%2087Z'%20fill-rule='evenodd'%20fill='%2396CEFF'%20%3e%3c/path%3e%3cpath%20d='M89%205L89%2010C89%2010.5523%2088.5523%2011%2088%2011C87.4477%2011%2087%2010.5523%2087%2010L87%205L85%205C84.4477%205%2084%204.55228%2084%204C84%203.44772%2084.4477%203%2085%203L87%203L87%201C87%200.447715%2087.4477%200%2088%200C88.5523%200%2089%200.447715%2089%201L89%203L91%203C91.5523%203%2092%203.44772%2092%204C92%204.55228%2091.5523%205%2091%205L89%205Z'%20fill-rule='evenodd'%20fill='%23BDE2FF'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='59'%20r='28'%20fill='%23237FFA'%20%3e%3c/circle%3e%3crect%20x='47.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%2396CEFF'%20%3e%3c/rect%3e%3crect%20x='47.5'%20y='66'%20width='7'%20height='7'%20rx='4'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='106.5'%20r='3.5'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='30'%20r='7'%20fill='%2396CEFF'%20%3e%3c/circle%3e%3c/svg%3e",mp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='102'%20height='105'%20viewBox='0%200%20102%20105'%20fill='none'%3e%3cpath%20d='M7%2076C7.55228%2076%208%2076.4477%208%2077L7.999%2079.999L12%2080C12.5523%2080%2013%2080.4477%2013%2081C13%2081.5523%2012.5523%2082%2012%2082L7.999%2081.999L8%2090C8%2090.5523%207.55228%2091%207%2091C6.44772%2091%206%2090.5523%206%2090L5.999%2081.999L2%2082C1.44772%2082%201%2081.5523%201%2081C1%2080.4477%201.44772%2080%202%2080L5.999%2079.999L6%2077C6%2076.4477%206.44772%2076%207%2076Z'%20fill='%2338D677'%20%3e%3c/path%3e%3cpath%20d='M75%201.72421e-32C75.5523%20-1.01453e-16%2076%200.447715%2076%201L76%202.999L78%203C78.5523%203%2079%203.44772%2079%204C79%204.55228%2078.5523%205%2078%205L76%204.999L76%2010C76%2010.5523%2075.5523%2011%2075%2011C74.4477%2011%2074%2010.5523%2074%2010L74%204.999L72%205C71.4477%205%2071%204.55228%2071%204C71%203.44772%2071.4477%203%2072%203L74%202.999L74%201C74%200.447715%2074.4477%201.01453e-16%2075%201.72421e-32Z'%20fill='%238BF0AD'%20%3e%3c/path%3e%3ccircle%20cx='51'%20cy='54'%20r='28'%20fill='%2338D677'%20%3e%3c/circle%3e%3cpath%20d='M36.8787%2051.8786C38.3265%2050.4309%2040.6736%2050.4309%2042.1213%2051.8786L50.1214%2059.8786C51.5691%2061.3263%2051.5691%2063.6735%2050.1214%2065.1212C48.6737%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212L36.8787%2057.1212C35.431%2055.6735%2035.431%2053.3263%2036.8787%2051.8786Z'%20fill='%23B3F2C6'%20%3e%3c/path%3e%3cpath%20d='M64.1214%2045.8786C65.5691%2047.3263%2065.5691%2049.6735%2064.1214%2051.1212L50.1213%2065.1212C48.6736%2066.5689%2046.3265%2066.5689%2044.8787%2065.1212C43.431%2063.6735%2043.431%2061.3263%2044.8787%2059.8786L58.8788%2045.8786C60.3265%2044.4309%2062.6737%2044.4309%2064.1214%2045.8786Z'%20fill='%23FFFFFF'%20%3e%3c/path%3e%3ccircle%20cx='3.5'%20cy='14.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='85.5'%20cy='101.5'%20r='3.5'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3ccircle%20cx='95'%20cy='25'%20r='7'%20fill='%23B3F2C6'%20%3e%3c/circle%3e%3c/svg%3e",hp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='101'%20height='110'%20viewBox='0%200%20101%20110'%20fill='none'%3e%3cg%20clip-path='url(%23clip-path-0)'%3e%3cpath%20d='M81.512%201.93968L80.7498%206.07825C80.6498%206.6214%2080.1284%206.98064%2079.5852%206.8806C79.4326%206.85251%2079.2886%206.78925%2079.1645%206.69578L76.1585%204.43061C75.7175%204.09823%2075.6293%203.47123%2075.9617%203.03016C76.0552%202.90617%2076.1761%202.80562%2076.3152%202.73655L80.0833%200.863097C80.5779%200.617235%2081.1781%200.818843%2081.424%201.31339C81.5203%201.50712%2081.5512%201.72688%2081.512%201.93968Z'%20fill='%23FEFAE0'%20%3e%3c/path%3e%3cpath%20d='M2.08224%20102.2L5.5346%2094.2358C5.75425%2093.7291%206.34257%2093.4968%206.84931%2093.7164C6.99222%2093.7778%207.11822%2093.872%207.21798%2093.9909L12.2086%2099.9384C12.5636%20100.361%2012.5082%20100.992%2012.0853%20101.347C11.9666%20101.447%2011.8261%20101.518%2011.675%20101.554L3.23209%20103.571C2.6949%20103.699%202.15544%20103.367%202.02705%20102.83C1.97681%20102.62%201.99613%20102.399%202.08224%20102.2Z'%20fill='%23FEE789'%20%3e%3c/path%3e%3ccircle%20cx='50'%20cy='59'%20r='28'%20fill='%23FAB007'%20%3e%3c/circle%3e%3crect%20x='46.5'%20y='45'%20width='7'%20height='17'%20rx='3'%20fill='%23FEE789'%20%3e%3c/rect%3e%3crect%20x='46.5'%20y='66'%20width='7'%20height='7'%20rx='3.5'%20fill='%23FFFFFF'%20%3e%3c/rect%3e%3ccircle%20cx='3.5'%20cy='19.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='84.5'%20cy='106.5'%20r='3.5'%20fill='%23FEE789'%20%3e%3c/circle%3e%3ccircle%20cx='94'%20cy='30'%20r='7'%20fill='%23FEE789'%20%3e%3c/circle%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip-path-0'%3e%3cpath%20d='M0%20110L101%20110L101%200L0%200L0%20110Z'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pp=new Pn,gp={showCancelButton:!0,cancelText:"取消",showConfirmButton:!0,confirmText:"确认"},yp=e=>{let n=document.body,a=e.teleport;a!="body"&&(typeof a=="string"?n=document.querySelector(a):a&&(n=e.teleport));const l=document.createElement("view"),o=`messagebox-${pp.get()}`;l.id=o,l.classList.add("fox-messagebox__root"),e.zIndex&&(l.style.zIndex=`${e.zIndex}`),e.unmount=()=>{const s=document.querySelector(`#${o}`);s&&s.parentNode?.removeChild(s)};const r=(0,t.createVNode)(up,e);n.appendChild(l),(0,t.render)(r,l)},st={show:(e,n,a,l)=>{const o={...gp};n&&!Array.isArray(n)&&typeof n=="object"?Object.assign(o,n):(n&&(o.message=n),a&&typeof a=="object"?Object.assign(o,a):(typeof a=="string"&&(o.title=a),l&&typeof l=="object"?Object.assign(o,l):typeof l=="string"&&(o.type=l)));const r=o.type??"info";return o.icon||(r==="success"?o.icon=mp:r==="warning"?o.icon=hp:r==="error"?o.icon=dp:o.icon=fp),e==="alert"?(o.showCancelButton=!1,o.showConfirmButton=!0):e==="confirm"&&(o.showCancelButton=!0,o.showConfirmButton=!0),o.showClose&&!o.closeIcon&&(o.closeIcon=ae.Close),new Promise((s,i)=>{const c=o.callback;o.callback=m=>{if(typeof c=="function")try{c(m)}catch(h){console.error(h)}s({action:m})},yp(o)})},alert:(e,n,a)=>st.show("alert",e,n,a),confirm:(e,n,a)=>st.show("confirm",e,n,a),install(e){e.config.globalProperties.$alert=st.alert,e.config.globalProperties.$confirm=st.confirm}},bp=(e,n,a)=>{n=n??{bubbles:!1,cancelable:!1,detail:void 0};const l=document.createEvent("Events");let o=!0,r=!0;for(let s in n)s==="bubbles"?o=!!n[s]:s==="cancelable"?r=!!n[s]:l[s]=n[s];l.initEvent(e,o,r),(a??document).dispatchEvent(l)},Sp=new Pn,vp=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0),kp=e=>`${e}-${Sp.get()}`,wp=Symbol.for("InnerPageScopeKey"),Cp=Symbol.for("PageWrapperKey"),Np="FoxLeave",Ap="FoxLeaveEnd",Bp={width:{type:[String,Number]},height:{type:[String,Number]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},visible:{type:Boolean,default:!0},showDelay:{type:Number,default:10},showClose:{type:Boolean,default:!0},closeIcon:{type:Object},showHeader:{type:Boolean,default:!1},popClass:{type:String},popStyle:{type:Object},position:{type:String,default:"center"},mode:{type:String}};function Tp(e,n,a,l){return{props:{...et,...Bp},emits:["update:visible"],setup(o,{attrs:r,slots:s,emit:i}){(0,t.provide)(wp,!0);const c={};(0,t.provide)(Cp,c);const m=g=>(typeof c.beforeClose=="function"&&c.beforeClose(),!1),h=()=>{m("close")},u=e,p=g=>{b.value=g,i("update:visible",g)},b=(0,t.ref)(!1),w=(g,y)=>vp(g)?(y.src=g,(0,t.h)("img",y)):typeof g=="string"?(Array.isArray(y.class)?y.class.push(g):y.class&&typeof y.class=="object"?y[`${g}`]=!0:typeof y.class=="string"?y.class=`${y.class}, ${g}`:y.class=g,(0,t.h)(o.tag,y)):(0,t.h)(g,y),v=()=>{if(!o.showHeader)return null;const g=[];if(s.header){const y=s.header();g.push(y)}else if(o.title){const y=(0,t.h)("view",{class:`${u}__header-title`},[o.title]);g.push(y)}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},S=()=>{if(!o.showClose)return null;const g={class:[`${u}__close-icon`],onClick:h};return w(o.closeIcon??l,g)};let f=null;const k=g=>{bp(Ap,{},f)},d=kp(e),C=()=>{p(!0)},N=()=>{if(!f)return;const g=f.querySelector(".fox-overlay");g&&(g.classList.add("overlay-fade-leave-active"),g.classList.add("overlay-fade-leave-to"));const y=f.querySelector(".fox-popup");y&&(y.classList.add(`fox-popup-slide-${o.position}-leave-active`),y.classList.add(`fox-popup-slide-${o.position}-leave-to`),y.addEventListener("animationend",k,{once:!0}),y.addEventListener("transitionend",k,{once:!0})),document.body.classList.remove("fox-overflow-hidden")};return(0,t.onMounted)(()=>{f=document.querySelector(`.${d}`),f?.addEventListener(Np,N,{once:!0}),C()}),()=>{const g=[],y=v();y&&g.push(y);const B=S();B&&g.push(B);const T=s.default?s.default():[];Reflect.apply([].push,g,T);const $={[`${u}`]:!0};o.mode&&($[`${u}--${o.mode}`]=!0);const V=(0,t.h)("view",{class:$},g),W=[`${u}__popup`,d];o.popClass&&W.push(o.popClass),o.position&&W.push(`${u}__popup--${o.position}`);const _={};o.width&&(_.width=typeof o.width=="number"?`${o.width}px`:o.width),o.height&&(_.height=typeof o.height=="number"?`${o.height}px`:o.height);const E=(0,t.h)(a,{...ge(o,et),popClass:W.join(" "),style:_,visible:b.value,teleportDisable:!0,closeable:!1,position:o.position,closeOnClickOverlay:o.closeOnClickOverlay,onClickOverlay:h,"onUpdate:visible":p},{default:()=>V});return(0,t.h)("div",{class:[`${u}__root`,d]},[E])}}}}var{componentName:Vp,create:$p,scope:Ep}=ee("popup-wrapper"),Dp=$p(Tp(Vp,Ep,be,ae.Close)),Ea=Dp,Ip={visible:{type:Boolean},zIndex:{type:Number,default:1},popClass:{type:String},popStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}};function qp(e,n,a,l){return{props:{...Ip},emits:["update:visible"],setup(o,{emit:r,slots:s}){const i=c=>{r("update:visible",c)};return()=>{const c=[`${e}__popup`];o.popClass&&c.push(o.popClass);const m=(0,t.h)(a,{popClass:c,style:o.popStyle??{},position:"top",zIndex:o.zIndex,closeOnClickOverlay:o.closeOnClickOverlay,teleportDisable:!0,visible:o.visible,"onUpdate:visible":i},s);return(0,t.h)("view",{class:`${e}`},[m])}}}}var{componentName:xp,create:Pp,scope:Mp}=ee("dropdown"),zp=Pp(qp(xp,Mp,be,!1)),Da=zp;function Lp(e,n,a,l,o){let r=[];Array.isArray(e)?r=e:r=[e];const s=[],i=n[0];if(Array.isArray(e)&&!Array.isArray(i)&&!i[o]){let c=n;for(let m=0;c&&m<r.length;m++){let h=r[m],u=c.find(p=>p[l]===h);if(!u)break;s.push(u[a])}return s}if(Array.isArray(i))for(let c=0;c<n.length&&c<r.length;c++){let m=n[c],h=r[c];const u=m.find(p=>p[l]===h);if(!u)break;s.push(u[a])}else{let c=n;for(let m=0;c&&m<r.length;m++){let h=r[m],u=c.find(p=>p[l]===h);if(!u)break;s.push(u[a]),c=u[o]}}return s}var Op=class{proxy;constructor(e){this.proxy=e}async load(e,n,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=_e(this.proxy,e);return l===null?(console.error(`${e} component not found api function`),[]):(De(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Rp(){return new Op((0,t.getCurrentInstance)().proxy)}var Fp={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1}};function Kp(e,n,a=!1){return{props:{...Fp},setup(l,{attrs:o,slots:r}){const s=Rp(),i=(0,t.ref)([]);(0,t.watch)([()=>l.source,()=>l.params],async([m,h])=>{i.value=await s.load(l.sourceType,m,h)},{immediate:!0});const c=(0,t.computed)(()=>{if(!Array.isArray(i.value)||i.value.length===0)return l.emptyText;let m=Lp(l.modelValue,i.value,l.textKey,l.valueKey,l.childrenKey);return m.length==0?l.emptyText??"":m.length===1?l.optionType=="item"?`${l.modelValue}${l.separator}${m[0]}`:m[0]:m.join(l.separator)});return()=>{const m={...o};if(r.default)return r.default({text:c.value,value:l.modelValue});const h=l.tag??"span";return typeof h=="object"?(0,t.h)(h,m,{default:()=>c.value}):(0,t.h)(h,m,[c.value])}}}}var{componentName:Up,create:Hp,scope:jp}=ee("mapping"),Wp=Hp(Kp(Up,jp,!1)),Ia=Wp;function Yp(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean],required:!1}},setup(a,{slots:l}){return yr(a.name,()=>a.config),ze(a.innerPageScope)||vr(a.innerPageScope),ze(a.abstractPageScope)||kr(a.abstractPageScope),()=>typeof l.default=="function"?l.default():null}}}var{componentName:Xp,create:Qp,scope:Gp}=ee("domain-provider"),Zp=Qp(Yp(Xp,Gp)),qa=Zp,_p={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 Jp(e,n){return{inheritAttrs:!1,props:_p,emits:["change"],setup(a,{slots:l,emit:o}){if(Xe&&window.IntersectionObserver){const r=new WeakMap;let s=new Map;const i=(p,b)=>{if(h===null){s.set(p,{visible:null,callback:b});return}r.has(p)&&h.unobserve(p),r.set(p,{visible:null,callback:b}),h.observe(p)},c=p=>{if(h===null){s.delete(p);return}r.has(p)&&(r.delete(p),h.unobserve(p))};let m=a.initialVisibleObserverSize;tc({acquire:()=>{if(a.loadPolicy==="always")return!0;const p=m>0;return m--,p},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:i,unobserve:c});let h=null;const u=(p,b,w)=>{h=new IntersectionObserver(v=>{if(o("change",v),a.loadPolicy!=="always")for(let S of v){let f=!1;S.intersectionRatio>0&&(f=!0);const k=r.get(S.target);if(k)try{if(a.loadPolicy==="lazy"&&!f&&k.visible!==null)return;k.visible=f,k.callback(f)}catch(d){console.error(d)}}},{root:p,rootMargin:b,threshold:w}),s.forEach((v,S)=>{r.set(S,v),h?.observe(S)}),s.clear()};(0,t.watch)([()=>a.root,()=>a.disabled],([p,b])=>{if(b||!p||h)return;let w=null;typeof p=="string"?w=document.querySelector(p):w=p,w&&u(w,a.rootMargin,a.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}var{componentName:eg,create:tg,scope:ng}=ee("rolling-provider"),lg=tg(Jp(eg,ng)),xa=lg,{componentName:ag,create:og}=ee("cell"),rg=og({components:{Right:ae.Right},props:{title:{type:String,default:""},subTitle:{type:String,default:""},desc:{type:String,default:""},descTextAlign:{type:String,default:"right"},isLink:{type:Boolean,default:!1},roundRadius:{type:[String,Number],default:""},url:{type:String,default:""},center:{type:Boolean,default:!1},size:{type:String,default:""}},emits:["click"],setup(e,{emit:n}){const a=(0,t.computed)(()=>{const r=ag;return{[r]:!0,[`${r}--clickable`]:e.isLink,[`${r}--center`]:e.center,[`${r}--large`]:e.size=="large"}}),l=(0,t.computed)(()=>({borderRadius:de(e.roundRadius)}));return{handleClick:r=>{n("click",r)},classes:a,baseStyle:l}}}),ig={key:0,class:"fox-cell__icon"},sg={key:1,class:"fox-cell__title"},cg={class:"title"},ug={class:"fox-cell__title-desc"};function dg(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Right");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.baseStyle),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.$slots.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",ig,[(0,t.renderSlot)(e.$slots,"icon")])):(0,t.createCommentVNode)("",!0),e.title||e.subTitle||e.$slots.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",sg,[e.subTitle?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.renderSlot)(e.$slots,"title",{},()=>[(0,t.createElementVNode)("view",cg,(0,t.toDisplayString)(e.title),1)]),(0,t.createElementVNode)("view",ug,(0,t.toDisplayString)(e.subTitle),1)],64)):(0,t.renderSlot)(e.$slots,"title",{key:1},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)])])):(0,t.createCommentVNode)("",!0),e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)(["fox-cell__value",{"fox-cell__value--alone":!e.title&&!e.subTitle&&!e.$slots.title}]),style:(0,t.normalizeStyle)({"text-align":e.descTextAlign})},(0,t.toDisplayString)(e.desc),7)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"link",{},()=>[e.isLink?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-cell__link"})):(0,t.createCommentVNode)("",!0)])])],6)}var Pa=oe(rg,[["render",dg]]),fg={tag:{type:[String],default:()=>"li"},color:{type:[String]},size:{type:[String,Number]}};function mg(e,n){return{props:{...fg},setup(a,{attrs:l,slots:o}){const r=(0,t.computed)(()=>{const s={};return a.color&&(s.color=a.color),a.size&&(s.fontSize=de(a.size)),s});return()=>{const s={style:r.value,class:`${e}-wrap`,...l};return(0,t.h)(a.tag??"li",s,o)}}}}var{componentName:hg,create:pg,scope:gg}=ee("icon"),yg=pg(mg(hg,gg)),Ma=yg,{componentName:bg,create:Sg}=ee("cell-group"),vg=Sg({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:(0,t.computed)(()=>({[bg]:!0}))}}}),kg={key:1,class:"fox-cell-group__title"},wg={key:3,class:"fox-cell-group__desc"},Cg={class:"fox-cell-group__wrap"};function Ng(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.$slots.title?(0,t.renderSlot)(e.$slots,"title",{key:0}):e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",kg,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.$slots.desc?(0,t.renderSlot)(e.$slots,"desc",{key:2}):e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",wg,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Cg,[(0,t.renderSlot)(e.$slots,"default")])],2)}var za=oe(vg,[["render",Ng]]),{componentName:Ag,create:Bg}=ee("image"),Tg=Bg({props:{src:String,fit:{type:String,default:"fill"},position:{type:String,default:"center"},alt:{type:String,default:""},width:{type:String,default:"center"},height:{type:String,default:""},round:{type:Boolean,default:!1},radius:[String,Number],showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},lazyLoad:{type:Boolean,default:!1}},components:{Image:ae.Image,ImageError:ae.ImageError},emits:["click","load","error"],setup(e,{emit:n}){const a=(0,t.reactive)({loading:!0,isError:!1,slotLoding:(0,t.useSlots)().loading,slotError:(0,t.useSlots)().error}),l=(0,t.computed)(()=>{const b=Ag;return{[b]:!0,[`${b}-round`]:e.round}}),o=(0,t.ref)(null),r=(0,t.ref)(!1),s=(0,t.ref)(null),i=()=>{o.value=new IntersectionObserver(b=>{b.forEach(w=>{w.isIntersecting&&(r.value=!0,o.value.disconnect())})},{threshold:[0],rootMargin:"0px"}),s.value&&o.value.observe(s.value)};(0,t.onMounted)(()=>{e.lazyLoad&&i()}),(0,t.onBeforeUnmount)(()=>{o.value&&o.value.disconnect()});const c=(0,t.computed)(()=>{let b={};return e.width&&(b.width=de(e.width)),e.height&&(b.height=de(e.height)),e.radius!==void 0&&e.radius!==null&&(b.overflow="hidden",b.borderRadius=de(e.radius)),b}),m=(0,t.computed)(()=>({objectFit:e.fit,objectPosition:e.position}));(0,t.watch)(()=>e.src,b=>{a.isError=!1,a.loading=!0});const h=()=>{a.loading=!1,n("load")},u=()=>{a.isError=!0,a.loading=!1,n("error")},p=b=>{n("click",b)};return{...(0,t.toRefs)(a),imageClick:p,classes:l,styles:m,stylebox:c,error:u,load:h,show:r,imgRef:s}}}),Vg=["src","date-src","alt"],$g={key:0,class:"fox-img-loading"},Eg={key:1,class:"fox-img-error"};function Dg(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Image"),i=(0,t.resolveComponent)("ImageError");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.stylebox),onClick:n[2]||(n[2]=(...c)=>e.imageClick&&e.imageClick(...c))},[(0,t.createElementVNode)("img",{ref:"imgRef",class:"fox-img",src:e.lazyLoad?e.show?e.src:void 0:e.src,"date-src":e.lazyLoad?e.show?void 0:e.src:void 0,alt:e.alt,onLoad:n[0]||(n[0]=(...c)=>e.load&&e.load(...c)),onError:n[1]||(n[1]=(...c)=>e.error&&e.error(...c)),style:(0,t.normalizeStyle)(e.styles)},null,44,Vg),e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("div",$g,[e.slotLoding?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,width:"16px",height:"20px",name:"image"})),(0,t.renderSlot)(e.$slots,"loading")])):(0,t.createCommentVNode)("",!0),e.isError&&!e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("div",Eg,[e.slotError?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,width:"16px",height:"20px",name:"imageError"})),(0,t.renderSlot)(e.$slots,"error")])):(0,t.createCommentVNode)("",!0)],6)}var La=oe(Tg,[["render",Dg]]),{create:Ig}=ee("layout"),qg=Ig({}),Oa=qg,{componentName:xg,create:Pg}=ee("col"),Mg=Pg({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=xg,a=(0,t.inject)("gutter");return{classes:(0,t.computed)(()=>({[n]:!0,[`${n}-gutter`]:a,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),style:(0,t.computed)(()=>({paddingLeft:a/2+"px",paddingRight:a/2+"px"}))}}});function zg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6)}var Ra=oe(Mg,[["render",zg]]),{componentName:Lg,create:Og}=ee("row"),Rg=Og({props:{type:{type:String,default:""},gutter:{type:[String,Number],default:""},justify:{type:String,default:"start"},align:{type:String,default:"flex-start"},flexWrap:{type:String,default:"nowrap"}},setup(e){const n=Lg;(0,t.provide)("gutter",e.gutter);const a=(l,o)=>l?o?`fox-row-${l}-${o}`:"":`fox-row-${o}`;return{classes:(0,t.computed)(()=>e.type==="flex"?`
2
2
  ${a("",e.type)}
3
3
  ${a("justify",e.justify)}
4
4
  ${a("align",e.align)}
@@ -6,4 +6,4 @@
6
6
  ${n}
7
7
  `:`
8
8
  ${n}
9
- `)}}});function Og(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.renderSlot)(e.$slots,"default")],2)}var Ra=oe(Lg,[["render",Og]]),{create:Rg}=ee("sticky"),Fg=Rg({props:{position:{type:String,default:"top"},top:{type:[Number,String],default:0},bottom:{type:[Number,String],default:0},container:{type:Object},zIndex:{type:[Number,String],default:99}},emits:["change"],setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.ref)(),o=(0,t.reactive)({fixed:!1,height:0,transform:0}),r=(0,t.computed)(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=(0,t.computed)(()=>o.fixed?{height:`${o.height}px`}:{}),i=(0,t.computed)(()=>o.fixed?{[e.position]:`${r.value}px`,transform:o.transform?`translate3d(0, ${o.transform}px, 0)`:void 0,position:o.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const m=e.container;if(!a.value&&!m)return;const h=xe(a),u=l.value,p=xe(u),b=xe(m);o.height=h.height;const w=()=>{let S=!1;if(e.position==="top")S=m?r.value>h.top&&b.bottom>0:r.value>h.top;else{const f=document.documentElement.clientHeight;S=m?b.bottom>0&&f-r.value-p.height>b.top:f-r.value<h.bottom}return S},v=()=>{if(m)if(e.position==="top"){const S=b.bottom-r.value-p.height;return S<0?S:0}else{const S=document.documentElement.clientHeight,f=b.bottom-(S-r.value);return f<0?f:0}return 0};o.transform=v(),o.fixed=w()};return(0,t.watch)(()=>o.fixed,m=>{n("change",m)}),(0,t.onMounted)(()=>{c(),Sa(a.value).addEventListener("scroll",c,!0)}),(0,t.onUnmounted)(()=>{Sa(a.value).removeEventListener("scroll",c)}),{rootRef:a,rootStyle:s,stickyRef:l,stickyStyle:i}}});function Kg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"fox-sticky",ref:"rootRef",style:(0,t.normalizeStyle)(e.rootStyle)},[(0,t.createElementVNode)("div",{class:"fox-sticky__box",ref:"stickyRef",style:(0,t.normalizeStyle)(e.stickyStyle)},[(0,t.renderSlot)(e.$slots,"default")],4)],4)}var Yt=oe(Fg,[["render",Kg]]),{componentName:Ug,create:Hg}=ee("divider"),jg=Hg({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,n){return{classes:(0,t.computed)(()=>{const a=Ug;let l={[a]:!0},o={};return e.direction==="horizontal"?o={...l,[`${a}-center`]:n.slots.default,[`${a}-left`]:e.contentPosition==="left",[`${a}-right`]:e.contentPosition==="right",[`${a}-dashed`]:e.dashed,[`${a}-hairline`]:e.hairline}:o={...l,[`${a}-vertical`]:e.direction==="vertical"},o})}}});function Wg(e,n,a,l,o,r){return e.direction==="horizontal"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.classes)},[(0,t.renderSlot)(e.$slots,"default")],2)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.classes)},null,2))}var Fa=oe(jg,[["render",Wg]]);function Yg(e,n){const a=[],l=o=>{Array.isArray(o)&&o.forEach(r=>{if((0,t.isVNode)(r)){if(n){if(r.type&&r.type.name===n){a.push(r);return}}else a.push(r);r.component?.subTree&&l(r.component.subTree.children),r.children&&l(r.children)}})};return l(e),a}function Xg(e,n,a){const l=Yg(e.subTree.children,a);n.sort((o,r)=>l.indexOf(o.vnode)-l.indexOf(r.vnode))}function Qg(e,n){const a=(0,t.shallowReactive)([]),l=(0,t.getCurrentInstance)(),o=i=>{i.proxy&&(a.push((0,t.markRaw)(i)),Xg(l,a,n))},r=i=>{a.splice(a.indexOf((0,t.markRaw)(i)),1)},s=Object.assign;return i=>((0,t.provide)(e,s({add:o,remove:r,internalChildren:a},i)),{internalChildren:a})}var{componentName:Vi}=ee("grid"),$i=Symbol("grid"),Gg={columnNum:{type:[Number,String],default:4},border:{type:Boolean,default:!0},gutter:{type:[Number,String],default:0},center:{type:Boolean,default:!0},square:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},direction:{type:String},clickable:{type:Boolean,default:!1}},Zg={props:Gg,setup(e,{slots:n}){Qg($i,`${Vi}-item`)({props:e});const a=(0,t.computed)(()=>{const o=Vi;return{[o]:!0,[`${o}--border`]:e.border&&!e.gutter}}),l=(0,t.computed)(()=>{const o={};return e.gutter&&(o.paddingLeft=de(e.gutter)),o});return()=>(0,t.h)("view",{class:a.value,style:l.value},n.default?.())}},{create:_g}=ee("grid"),Jg=_g(Zg),Ka=Jg;function ey(e){const n=(0,t.inject)(e,null);if(n){const a=(0,t.getCurrentInstance)(),{add:l,remove:o,internalChildren:r}=n;return l(a),(0,t.onUnmounted)(()=>o(a)),{parent:n,index:(0,t.computed)(()=>r.indexOf(a))}}return{parent:null,index:(0,t.ref)(-1)}}var{create:ty,componentName:Ei}=ee("grid-item"),ny=ty({props:{text:{type:String}},emits:["click"],setup(e,{emit:n}){const a=ey($i);if(!a.parent)return{};const l=a.index,o=a.parent.props,r=(0,t.computed)(()=>({[Ei]:!0})),s=(0,t.computed)(()=>{const m={flexBasis:`${100/+o.columnNum}%`};return o.square?m.paddingTop=`${100/+o.columnNum}%`:o.gutter&&(m.paddingRight=de(o.gutter),l.value>=o.columnNum&&(m.marginTop=de(o.gutter))),m}),i=(0,t.computed)(()=>{const m=`${Ei}__content`;return{[`${m}`]:!0,[`${m}--border`]:o.border,[`${m}--surround`]:o.border&&o.gutter,[`${m}--center`]:o.center,[`${m}--square`]:o.square,[`${m}--reverse`]:o.reverse,[`${m}--${o.direction}`]:!!o.direction,[`${m}--clickable`]:o.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:m=>{n("click",m)}}}}),ly={class:"fox-grid-item__text"};function ay(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.rootClass),style:(0,t.normalizeStyle)(e.rootStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.contentClass)},[(0,t.renderSlot)(e.$slots,"default"),(0,t.createElementVNode)("view",ly,[e.text?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(e.text),1)],64)):(0,t.renderSlot)(e.$slots,"text",{key:1})])],2)],6)}var Ua=oe(ny,[["render",ay]]),{componentName:oy,create:ry}=ee("navbar"),iy=ry({components:{Left:ae.Left},props:{leftShow:{type:Boolean,default:!1},title:{type:String,default:""},titleIcon:{type:Boolean,default:!1},leftText:{type:String,default:""},desc:{type:String,default:""},fixed:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!1},border:{type:Boolean,default:!1},placeholder:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:10}},emits:["on-click-back","on-click-title","on-click-icon","on-click-right"],setup(e,{emit:n}){const{border:a,fixed:l,safeAreaInsetTop:o,placeholder:r,zIndex:s}=(0,t.toRefs)(e),i=(0,t.ref)(null),c=(0,t.ref)(null);let m=(0,t.ref)();const h=(0,t.computed)(()=>{const S=oy;return{[S]:!0,[`${S}--border`]:a.value,[`${S}--fixed`]:l.value,[`${S}--safe-area-inset-top`]:o.value}}),u=(0,t.computed)(()=>({zIndex:s.value}));(0,t.onMounted)(()=>{l.value&&r.value&&(0,t.nextTick)(()=>{m.value=c?.value?.getBoundingClientRect().height,i.value.style.height=m.value+"px"})});function p(){n("on-click-back")}function b(){n("on-click-title")}function w(){n("on-click-icon")}function v(){n("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:h,styles:u,handleLeft:p,handleCenter:b,handleCenterIcon:w,handleRight:v}}}),sy={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},cy={key:1,class:"fox-navbar__text"},uy={class:"fox-navbar__title"},dy={key:0,class:"fox-navbar__text"},fy={key:1,class:"fox-navbar__text"},my={class:"fox-navbar__title"},hy={key:0,class:"fox-navbar__text"};function py(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Left");return e.fixed&&e.placeholder?((0,t.openBlock)(),(0,t.createElementBlock)("view",sy,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),ref:"navBarHtml"},[(0,t.createElementVNode)("view",{class:"fox-navbar__left",onClick:n[0]||(n[0]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(s,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",cy,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",uy,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.titleIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"icon",onClick:n[3]||(n[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[2]||(n[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[4]||(n[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",dy,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"right")])],6)],512)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("view",{class:"fox-navbar__left",onClick:n[5]||(n[5]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(s,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",fy,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",my,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[6]||(n[6]=(...i)=>e.handleCenter&&e.handleCenter(...i))},(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.titleIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"icon",onClick:n[8]||(n[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[7]||(n[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[9]||(n[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",hy,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"right")])],6))}var Ha=oe(iy,[["render",py]]),gy=(e,n,a)=>({components:a,props:{visible:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},navList:{default:()=>[],type:Array},activeColor:{type:String,default:""},activeText:{type:String},unActiveText:{type:String},position:{default:()=>({top:"auto",bottom:"auto"}),type:Object},type:{default:"right",type:String}},emits:["update:visible","selected"],setup(l,{emit:o}){const{toLocaleRefs:r}=(0,he.useFoxI18n)(n),s=r(l,["activeText","unActiveText"]),i=(0,t.computed)(()=>({[e]:!0,active:l.visible,[l.type]:!0})),c=(0,t.ref)(-1);return{...s,classes:i,updateValue:(u=!l.visible)=>{o("update:visible",u)},selected:(u,p)=>{o("selected",{item:u,event:p}),c.value=u.id},current:c}}}),{componentName:yy,create:by,scope:Sy}=ee("fixednav"),vy=by(gy(yy,Sy,{[rt.name]:rt,Left:ae.Left})),ky={class:"fox-fixednav__list"},wy=["onClick"],Cy=["src"],Ny={class:"span"},Ay={key:0,class:"b"},By={class:"text"};function Ty(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-overlay"),i=(0,t.resolveComponent)("Left");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.position)},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,visible:e.visible,"z-index":200,onClick:n[0]||(n[0]=c=>e.updateValue(!1))},null,8,["visible"])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"list",{},()=>[(0,t.createElementVNode)("view",ky,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.navList,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:h=>e.selected(c,h),key:c.id||m},[(0,t.createElementVNode)("img",{src:c.icon},null,8,Cy),(0,t.createElementVNode)("view",Ny,(0,t.toDisplayString)(c.text),1),c.num?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ay,(0,t.toDisplayString)(c.num),1)):(0,t.createCommentVNode)("",!0)],10,wy))),128))])]),(0,t.createElementVNode)("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[(0,t.renderSlot)(e.$slots,"btn",{},()=>[(0,t.createVNode)(i,{color:"#fff"}),(0,t.createElementVNode)("view",By,(0,t.toDisplayString)(e.visible?e.activeText:e.unActiveText),1)])])],6)}var ja=oe(vy,[["render",Ty]]),{componentName:Vy,create:$y}=ee("menu"),Ey=$y({components:{ArrowUp2:ae.ArrowUp2,ArrowDown2:ae.ArrowDown2},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},titleIcon:String,closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:n,slots:a}){const l=(0,t.ref)(),o=(0,t.ref)(0),r=(0,t.ref)(!1),s=()=>{const S=(0,t.reactive)([]),f=(0,t.reactive)([]);return{children:S,linkChildren:d=>{const C=g=>{g.proxy&&(f.push(g),S.push(g.proxy))},N=g=>{if(g.proxy){let y=f.indexOf(g);y>-1&&f.splice(y,1);let B=S.indexOf(g.proxy);y>-1&&S.splice(B,1)}};(0,t.provide)("menuParent",Object.assign({removeLink:N,link:C,children:S,internalChildren:f},d))}}},{children:i,linkChildren:c}=s(),m=(0,t.computed)(()=>i.some(S=>S.state.showWrapper)),h=(0,t.computed)(()=>({[Vy]:!0,"scroll-fixed":r.value})),u=()=>{if(l.value){const S=xe(l);e.direction==="down"?o.value=S.bottom:o.value=window.innerHeight-S.top}};c({props:e,offset:o});const p=S=>{i.forEach((f,k)=>{k===S?(u(),f.toggle()):f.state.showPopup&&f.toggle(!1,{immediate:!0})})},b=S=>Math.max(0,"scrollTop"in S?S.scrollTop:S.pageYOffset),w=()=>{const{scrollFixed:S}=e;r.value=b(window)>(typeof S=="boolean"?30:Number(S))},v=S=>{let f="";const{titleClass:k}=e;return S&&(f+="active"),k&&(f+=` ${k}`),f};return(0,t.onMounted)(()=>{const{scrollFixed:S}=e;S&&window.addEventListener("scroll",w)}),(0,t.onUnmounted)(()=>{const{scrollFixed:S}=e;S&&window.removeEventListener("scroll",w)}),{toggleItem:p,children:i,opened:m,classes:h,barRef:l,getClasses:v}}}),Dy=["onClick"],Iy={class:"fox-menu__title-text"},qy={class:"fox-menu__title-icon"};function xy(e,n,a,l,o,r){const s=(0,t.resolveComponent)("ArrowUp2"),i=(0,t.resolveComponent)("ArrowDown2");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-menu__bar",{opened:e.opened}]),ref:"barRef"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.children,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:h=>!c.disabled&&e.toggleItem(m),style:(0,t.normalizeStyle)({color:c.state.showPopup?e.activeColor:""})},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-menu__title",e.getClasses(c.state.showPopup)])},[(0,t.createElementVNode)("view",Iy,(0,t.toDisplayString)(c.renderTitle()),1),(0,t.createElementVNode)("span",qy,[(0,t.renderSlot)(e.$slots,"icon",{},()=>[e.direction==="up"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))])])],2)],14,Dy))),128))],2),(0,t.renderSlot)(e.$slots,"default")],2)}var Wa=oe(Ey,[["render",xy]]),{componentName:Py,create:My}=ee("menu-item"),zy=My({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[be.name]:be,Check:ae.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),o=()=>{const b=(0,t.inject)("menuParent",null);if(b){const w=(0,t.getCurrentInstance)(),{link:v,removeLink:S}=b;return v(w),(0,t.onUnmounted)(()=>{S(w)}),{parent:b}}},{parent:r}=o(),s=(0,t.computed)(()=>({[Py]:!0})),i=(0,t.computed)(()=>{const b={height:r.offset.value+"px"};return r.props.direction==="down"?b:{...b,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const b=e.options?.find(w=>w.value===e.modelValue);return b?b.text:""},state:l,parent:r,toggle:(b=!l.showPopup,w={})=>{b!==l.showPopup&&(l.showPopup=b,l.isShowPlaceholderElement=b,b&&(l.showWrapper=!0,n("open")))},onClick:b=>{l.showPopup=!1,l.isShowPlaceholderElement=!1,b.value!==e.modelValue&&(n("update:modelValue",b.value),n("change",b.value))},handleClose:()=>{n("close"),l.showWrapper=!1,l.isShowPlaceholderElement=!1},handleClickOutside:()=>{l.showPopup=!1,n("close")}}}}),Ly={class:"fox-menu-item__content fox-menu-item__overflow"},Oy=["onClick"];function Ry(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Check"),i=(0,t.resolveComponent)("fox-popup");return(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.withDirectives)((0,t.createElementVNode)("div",{onClick:n[0]||(n[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:(0,t.normalizeClass)(["fox-menu-item-placeholder-element",{up:e.parent.props.direction==="up"}]),style:(0,t.normalizeStyle)(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),(0,t.createVNode)(i,(0,t.mergeProps)({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px",top:"auto"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":n[1]||(n[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop","destroy-on-close":!1,overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,teleportDisable:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Ly,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:(0,t.normalizeStyle)({"flex-basis":100/e.cols+"%"}),onClick:h=>e.onClick(c)},[c.value===e.modelValue?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:(0,t.normalizeClass)(["fox-menu-item__span",[c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[(0,t.renderSlot)(e.$slots,"icon",{},()=>[(0,t.createVNode)(s,(0,t.mergeProps)({ref_for:!0},e.$attrs,{color:e.parent.props.activeColor}),null,16,["color"])])],2)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)([c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:(0,t.normalizeStyle)({color:c.value===e.modelValue?e.parent.props.activeColor:""})},(0,t.toDisplayString)(c.text),7)],14,Oy))),128)),(0,t.renderSlot)(e.$slots,"default")])]),_:3},16,["style","overlayStyle","visible","position","duration","overlay","onClosed","lockScroll","close-on-click-overlay"])],2)),[[t.vShow,e.state.showWrapper]])}var Ya=oe(zy,[["render",Ry]]),{create:Fy}=ee("tabbar"),Ky=Fy({props:{modelValue:{type:[Number,String],default:0},bottom:{type:Boolean,default:!1},size:{type:[String,Number],default:"20px"},inactiveColor:{type:String,default:""},activeColor:{type:String,default:""},safeAreaInsetBottom:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,n){function a(o){l.value!==o&&(l.value=o,n.emit("update:modelValue",o),n.emit("change",o,l.children[o]))}const l=(0,t.reactive)({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:a});return(0,t.provide)("parent",l),(0,t.watch)(()=>e.modelValue,o=>{l.value=o}),{changeIndex:a}}});function Uy(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabbar",{"fox-tabbar-bottom":e.bottom,"fox-tabbar-safebottom":e.safeAreaInsetBottom}])},[(0,t.renderSlot)(e.$slots,"default")],2)}var Xa=oe(Ky,[["render",Uy]]),{create:Hy}=ee("tabbar-item"),jy=Hy({props:{title:{type:String,default:""},icon:{type:Object},num:{type:String,default:""},activeImg:{type:String,default:""},img:{type:String,default:""},dot:{type:Boolean,default:!1}},setup(e,n){const a=(0,t.inject)("parent"),l=(0,t.reactive)({size:a.size,inactiveColor:a.inactiveColor,activeColor:a.activeColor,value:a.value,index:0}),o=(0,t.getCurrentInstance)();o!==null&&(c=>{if(c.proxy){let m=a.children.length;l.index=m;let h=Object.assign(c.proxy,{index:m});a.children.push(h)}})(o);const r=(0,t.computed)(()=>l.index===l.value);function s(i){a&&typeof a.changeIndex=="function"&&a.changeIndex(i)}return(0,t.watch)((0,t.computed)(()=>a?a.value:null),i=>{l.value=i}),{state:l,active:r,change:s}}}),Wy={class:"fox-tabbar-item_icon-box"},Yy={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Xy={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Qy={key:1,class:"fox-tabbar-item_icon-box_dot"},Gy={key:2},Zy={key:0};function _y(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(["fox-tabbar-item",{"fox-tabbar-item__icon--unactive":!e.active}]),style:(0,t.normalizeStyle)({color:e.active?e.state.activeColor:e.state.deactiveColor}),onClick:n[0]||(n[0]=s=>e.change(e.state.index))},[(0,t.createElementVNode)("view",Wy,[e.dot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[e.num&&e.num<=99?((0,t.openBlock)(),(0,t.createElementBlock)("view",Yy,(0,t.toDisplayString)(e.num),1)):e.num&&e.num>100?((0,t.openBlock)(),(0,t.createElementBlock)("view",Xy,(0,t.toDisplayString)("99+"))):(0,t.createCommentVNode)("",!0)],64)),e.dot?((0,t.openBlock)(),(0,t.createElementBlock)("div",Qy)):(0,t.createCommentVNode)("",!0),e.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Gy,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.icon),{class:"fox-tabbar-item_icon-box_icon",width:e.state.size,height:e.state.size},null,8,["width","height"]))])):(0,t.createCommentVNode)("",!0),!e.icon&&e.activeImg?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:3,class:"fox-tabbar-item_icon-box_icon",style:(0,t.normalizeStyle)({backgroundImage:`url(${e.active?e.activeImg:e.img})`,width:e.state.size,height:e.state.size})},null,4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabbar-item_icon-box_nav-word",{"fox-tabbar-item_icon-box_big-word":!e.icon&&!e.activeImg}])},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",Zy,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.title?(0,t.createCommentVNode)("",!0):(0,t.renderSlot)(e.$slots,"default",{key:1})],2)])],6)}var Qa=oe(jy,[["render",_y]]),{componentName:Jy,create:eb}=ee("elevator"),tb=eb({props:{height:{type:[Number,String],default:"200px"},acceptKey:{type:[String],default:"title"},indexList:{type:Array,default:()=>[]},isSticky:{type:[Boolean],default:!1},spaceHeight:{type:[Number],default:23},titleHeight:{type:[Number],default:35}},emits:["click-item","click-index","change"],setup(e,n){const a=(0,t.ref)(null),l=(0,t.reactive)({anchorIndex:0,codeIndex:0,listHeight:[],listGroup:[],touchState:{y1:0,y2:0},scrollStart:!1,currentIndex:0,currentData:{},currentKey:"",scrollY:0,diff:-1,fixedTop:0}),o=(0,t.computed)(()=>({[Jy]:!0})),r=(0,t.computed)(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),s=(0,t.computed)(()=>a.value.clientHeight),i=(f,k)=>f.getAttribute("data-"+k),c=f=>{(0,t.nextTick)(()=>{!l.listGroup.includes(f)&&f!=null&&l.listGroup.push(f)})},m=()=>{let f=0;l.listHeight.push(f);for(let k=0;k<l.listGroup.length;k++){let d=l.listGroup[k];f+=Math.floor(d.clientHeight),l.listHeight.push(f)}},h=f=>{!f&&f!==0||(f<0&&(f=0),f>l.listHeight.length-2&&(f=l.listHeight.length-2),l.codeIndex=f,a.value.scrollTo(0,l.listHeight[f]))},u=f=>{l.scrollStart=!0;let k=i(f.target,"index"),d=f.touches[0];l.touchState.y1=d.pageY,l.anchorIndex=+k,l.codeIndex=+k,h(+k)},p=f=>{let k=f.touches[0];l.touchState.y2=k.pageY;let d=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+d,h(l.codeIndex)},b=()=>{l.scrollStart=!1},w=(f,k)=>{n.emit("click-item",f,k),l.currentData=k,l.currentKey=f},v=f=>{n.emit("click-index",f)},S=f=>{let k=f.target.scrollTop;const d=l.listHeight;l.scrollY=k;for(let C=0;C<d.length-1;C++){let N=d[C],g=d[C+1];if(l.scrollY>=N&&l.scrollY<g){l.currentIndex=C,l.diff=g-l.scrollY;return}}l.currentIndex=d.length-2};return(0,t.onMounted)(()=>{a.value.addEventListener("scroll",S)}),Te({scrollTo:h}),(0,t.watch)(()=>l.listGroup.length,()=>{l.listHeight=[],(0,t.nextTick)(m)}),(0,t.watch)(()=>l.diff,f=>{const k=l.listHeight;let d=f>0&&f<e.titleHeight?f-e.titleHeight:0;l.scrollY+s.value===k[k.length-1]&&d!==0&&(d=0),l.fixedTop!==d&&(l.fixedTop=d)}),(0,t.watch)(()=>l.currentIndex,f=>{n.emit("change",f)}),{classes:o,...(0,t.toRefs)(l),fixedStyle:r,clientHeight:s,setListGroup:c,listview:a,touchStart:u,touchMove:p,touchEnd:b,handleClickItem:w,handleClickIndex:v}}}),nb={class:"fox-elevator__list__item__code"},lb=["onClick"],ab=["innerHTML"],ob={class:"fox-elevator__fixed-title"},rb={class:"fox-elevator__bars__inner"},ib=["data-index","onClick"];function sb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:"fox-elevator__list",ref:"listview",style:(0,t.normalizeStyle)({height:isNaN(+e.height)?e.height:`${e.height}px`})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.indexList,s=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-elevator__list__item",key:s[e.acceptKey],ref_for:!0,ref:e.setListGroup},[(0,t.createElementVNode)("view",nb,(0,t.toDisplayString)(s[e.acceptKey]),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.list,i=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===i.id&&e.currentKey===s[e.acceptKey]}]),key:i.id,onClick:c=>e.handleClickItem(s[e.acceptKey],i)},[e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:1,item:i}):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:i.name},null,8,ab))],10,lb))),128))]))),128)),e.isSticky?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-elevator__list__fixed",style:(0,t.normalizeStyle)(e.fixedStyle)},[(0,t.createElementVNode)("span",ob,(0,t.toDisplayString)(e.indexList[e.currentIndex][e.acceptKey]),1)],4)),[[t.vShow,e.scrollY>0]]):(0,t.createCommentVNode)("",!0)],4),e.indexList.length?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-elevator__code--current"},(0,t.toDisplayString)(e.indexList[e.codeIndex][e.acceptKey]),513)),[[t.vShow,e.scrollStart]]):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-elevator__bars",onTouchstart:n[0]||(n[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=(0,t.withModifiers)((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[(0,t.createElementVNode)("view",rb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.indexList,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-elevator__bars__inner__item",{active:s[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":i,key:s[e.acceptKey],onClick:c=>e.handleClickIndex(s[e.acceptKey])},(0,t.toDisplayString)(s[e.acceptKey]),11,ib))),128))])],32)],2)}var Ga=oe(tb,[["render",sb]]),{componentName:f2,create:cb,scope:ub}=ee("pagination"),db=cb({props:{modelValue:{type:Number,default:1},mode:{type:String,default:"multi"},prevText:{type:String,default:""},nextText:{type:String,default:""},pageCount:{type:[String,Number],default:""},totalItems:{type:[String,Number],default:"0"},itemsPerPage:{type:[String,Number],default:"10"},showPageSize:{type:[String,Number],default:"5"},forceEllipses:{type:Boolean,default:!1}},components:{},emits:["change","update:modelValue"],setup(e,{emit:n}){const{toLocaleRefs:a}=(0,he.useFoxI18n)(ub),l=a(e,["prevText","nextText"]),{modelValue:o,mode:r,showPageSize:s,forceEllipses:i}=(0,t.toRefs)(e),c=(0,t.computed)(()=>{const{pageCount:p,totalItems:b,itemsPerPage:w}=(0,t.toRefs)(e),v=+p.value||Math.ceil(+b.value/+w.value);return Math.max(1,v)}),m=(p,b)=>{p>c.value||p<1||(p!=o.value&&n("update:modelValue",p),b&&n("change",p))},h=(p,b,w=!1)=>({number:p,text:b,active:w}),u=(0,t.computed)(()=>{if(r.value=="simple")return;let p=[];const b=c.value,w=+s.value;let v=1,S=b;const f=b>w;f&&(v=Math.max(o.value-Math.floor(w/2),1),S=v+w-1,S>b&&(S=b,v=S-w+1));for(var k=v;k<=S;k++){const d=h(k,k,o.value==k);p.push(d)}if(f&&w>0&&i.value){if(v>1){const d=h(v-1,"...");p.unshift(d)}if(S<b){const d=h(S+1,"...");p.push(d)}}return p});return(0,t.watchEffect)(()=>{m(o.value,!1)}),{...l,modelValue:o,select:m,countRef:c,mode:r,pages:u,forceEllipses:i}}}),fb={class:"fox-pagination"},mb={key:0,class:"fox-pagination-contain"},hb=["onClick"],pb={key:1,class:"fox-pagination-contain"},gb={class:"fox-pagination-simple"};function yb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",fb,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[0]=s=>e.select(e.modelValue-1,!0))},[(0,t.renderSlot)(e.$slots,"prev-text",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.prevText),1)])],2),e.mode=="multi"?((0,t.openBlock)(),(0,t.createElementBlock)("view",mb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.pages,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:i+"pagination",class:(0,t.normalizeClass)(["fox-pagination-item",s.active?"active":""]),onClick:c=>e.select(s.number,!0)},[(0,t.renderSlot)(e.$slots,"page",{item:s},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.text),1)])],10,hb))),128))])):(0,t.createCommentVNode)("",!0),e.mode=="simple"?((0,t.openBlock)(),(0,t.createElementBlock)("view",pb,[(0,t.createElementVNode)("view",gb,(0,t.toDisplayString)(e.modelValue)+"/"+(0,t.toDisplayString)(e.countRef),1)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-pagination-next",e.modelValue>=e.countRef?"disabled":""]),onClick:n[1]||(n[1]=s=>e.select(e.modelValue+1,!0))},[(0,t.renderSlot)(e.$slots,"next-text",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.nextText),1)])],2)])}var Za=oe(db,[["render",yb]]),bb=(e,n,a,l)=>{const o=(0,t.ref)(),r=(0,t.ref)({width:0,height:0}),s=async()=>{if(a&&a.getEnv()!==a.ENV_TYPE.WEB){let u=await l(o,a);r.value.width=u.width||0,r.value.height=u.height||0}else r.value.width=o.value?.clientWidth||0,r.value.height=o.value?.clientHeight||0};(0,t.onMounted)(()=>{setTimeout(()=>{s()},100)});const i=(0,t.reactive)({offset:0,moving:!1}),c=Je();let m="";const h=(u,p)=>{let b=u;switch(e.direction=="horizontal"?(m=u>0?"right":"left",b=Math.abs(b)/r.value.width*100):(m=p>0?"bottom":"top",b=p,b=Math.abs(b)/r.value?.height*100),b>85&&(b=85),m){case"left":case"top":n.isEnd()&&(b=0,i.moving=!1);break;case"right":case"bottom":b=-b,n.isBegin()&&(b=0,i.moving=!1);break}i.offset=b};return{touchMethods:{onTouchStart(u){e.swipeable&&c.start(u)},onTouchMove(u){e.swipeable&&(c.move(u),i.moving=!0,h(c.deltaX.value,c.deltaY.value),e.direction=="horizontal"&&c.isHorizontal()&&(u.preventDefault(),u.stopPropagation()),e.direction=="vertical"&&c.isVertical()&&(u.preventDefault(),u.stopPropagation()))},onTouchEnd(){if(i.moving)switch(i.moving=!1,m){case"left":case"top":i.offset>35&&n.next();break;case"right":case"bottom":i.offset<-35&&n.prev();break}}},touchState:i,tabsContentRef:o}},Sb=class{title="";titleSlot;paneKey="";disabled=!1;constructor(){}},{create:vb}=ee("tabs"),kb=vb({components:{[Yt.name]:Yt,JoySmile:ae.JoySmile},props:{modelValue:{type:[String,Number],default:0},color:{type:String,default:""},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},type:{type:String,default:"line"},titleScroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},swipeable:{type:Boolean,default:!1},autoHeight:{type:Boolean,default:!1},background:{type:String,default:""},animatedTime:{type:[Number,String],default:300},titleGutter:{type:[Number,String],default:0},sticky:{type:Boolean,default:!1},top:{type:Number,default:0}},emits:["update:modelValue","click","change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null);let o;(0,t.provide)("tabsOpiton",{activeKey:(0,t.computed)(()=>e.modelValue||"0"),autoHeight:(0,t.computed)(()=>e.autoHeight),animatedTime:(0,t.computed)(()=>e.animatedTime)});const r=(0,t.ref)([]),s=$=>{$.forEach((V,W)=>{let _=V.type;if(_=_.name||_,_=="fox-tab-pane"){let E=new Sb;if(V.props?.title||V.props?.["pane-key"]||V.props?.paneKey){let D=ft(V.props?.["pane-key"]),L=D=="number"||D=="string"?String(V.props?.["pane-key"]):null,M=ft(V.props?.paneKey),R=M=="number"||M=="string"?String(V.props?.paneKey):null;E.title=V.props?.title,E.paneKey=L||R||String(W),E.disabled=V.props?.disabled}r.value.push(E)}else{if(V.children==" ")return;Array.isArray(V.children)&&s(V.children)}})},i=(0,t.ref)(e.modelValue||0),c=$=>{let V=r.value.findIndex(W=>W.paneKey==$);r.value.length==0||V==-1||(i.value=V)},m=(0,t.computed)(()=>e.titleScroll&&e.direction==="vertical"),h=(0,t.ref)(),u=(0,t.ref)([]),p=$=>{const V=h.value,W=u.value;if(!V||!W||!W[i.value])return;const _=W[i.value];let E=0;e.direction==="vertical"?E=_.offsetTop-V.offsetTop+10-(V.offsetHeight-_.offsetHeight)/2:E=_.offsetLeft-(V.offsetWidth-_.offsetWidth)/2,b(V,E,$?0:.3,e.direction)},b=($,V,W,_)=>{let E=0;const D=_==="horizontal"?$.scrollLeft:$.scrollTop,L=W===0?1:Math.round(W*1e3/16);function M(){_==="horizontal"?$.scrollLeft+=(V-D)/L:$.scrollTop+=(V-D)/L,++E<L&&He(M)}M()},w=($=a.default?.())=>{r.value=[],$=$?.filter(V=>typeof V.children!="string"),$&&$.length&&s($),c(e.modelValue),(0,t.nextTick)(()=>{p()})},v=$=>{o=$.fixed};(0,t.watch)(()=>a.default?.(),$=>{w($)});const S=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;(0,t.watch)(()=>e.modelValue,$=>{if(c($),p(),o){let V=xe(l.value).top+S(),W=Math.ceil(V-e.top);window.scrollTo({top:W,behavior:"smooth"})}}),(0,t.onMounted)(w),(0,t.onActivated)(w);const f={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,f.updateValue(r.value[i.value])},prev:()=>{i.value-=1,f.updateValue(r.value[i.value])},updateValue:$=>{n("update:modelValue",$.paneKey),n("change",$)},tabChange:($,V)=>{n("click",$),!($.disabled||i.value==V)&&(i.value=V,f.updateValue($))},setTabItemRef:($,V)=>{u.value[V]=$}},{tabsContentRef:k,touchState:d,touchMethods:C}=bb(e,f),N=(0,t.computed)(()=>{let $=i.value*100;d.moving&&($+=d.offset);let V={transform:e.direction=="horizontal"?`translate3d(-${$}%, 0, 0)`:`translate3d( 0,-${$}%, 0)`,transitionDuration:d.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(V={}),V}),g=(0,t.computed)(()=>({background:e.background})),y=(0,t.computed)(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),B=(0,t.computed)(()=>{if(!e.titleGutter)return{};const $=de(e.titleGutter);return e.direction==="vertical"?{marginTop:$,marginBottom:$}:{marginLeft:$,marginRight:$}}),T=(0,t.computed)(()=>a.fixedTitle);return{navRef:h,tabsContentRef:k,titles:r,contentStyle:N,tabsNavStyle:g,titleStyle:B,tabsActiveStyle:y,container:l,getScrollY:m,onStickyScroll:v,...f,...C,hasFixedTitle:T}}}),wb=["onClick"],Cb={key:0,class:"fox-tabs__titles-fixed-item"},Nb=["onClick"],Ab={key:0,class:"fox-tabs__titles-fixed-item"};function Bb(e,n,a,l,o,r){const s=(0,t.resolveComponent)("JoySmile"),i=(0,t.resolveComponent)("fox-sticky");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs",[e.direction]]),ref:"container"},[e.sticky?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,top:e.top,container:e.container,onScroll:e.onStickyScroll},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:(0,t.normalizeStyle)(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?(0,t.renderSlot)(e.$slots,"titles",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.titles,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(c,m),key:c.paneKey},[(0,t.renderSlot)(e.$slots,"title",{title:c.title,paneKey:c.paneKey},()=>[e.type=="line"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-tabs__titles-item__line",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},null,4)):(0,t.createCommentVNode)("",!0),e.type=="smile"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-tabs__titles-item__smile",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},[(0,t.createVNode)(s,{color:e.color},null,8,["color"])],4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},(0,t.toDisplayString)(c.title),3)])],14,wb))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Cb,[(0,t.renderSlot)(e.$slots,"fixedTitle")])):(0,t.createCommentVNode)("",!0)],64))],6)]),_:3},8,["top","container","onScroll"])):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,"scroll-vertical":e.getScrollY,[e.size]:e.size}]),style:(0,t.normalizeStyle)(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?(0,t.renderSlot)(e.$slots,"titles",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.titles,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(c,m),key:c.paneKey,ref_for:!0,ref:h=>e.setTabItemRef(h,m)},[(0,t.renderSlot)(e.$slots,"title",{title:c.title,paneKey:c.paneKey},()=>[e.type=="line"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-tabs__titles-item__line",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},null,4)):(0,t.createCommentVNode)("",!0),e.type=="smile"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-tabs__titles-item__smile",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},[(0,t.createVNode)(s,{color:e.color},null,8,["color"])],4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},(0,t.toDisplayString)(c.title),3)])],14,Nb))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ab,[(0,t.renderSlot)(e.$slots,"fixedTitle")])):(0,t.createCommentVNode)("",!0)],64))],6)),(0,t.createElementVNode)("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:(0,t.normalizeStyle)(e.contentStyle),onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[1]||(n[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[(0,t.renderSlot)(e.$slots,"default")],36)],2)}var _a=oe(kb,[["render",Bb]]),{create:Tb}=ee("tab-pane"),Vb=Tb({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const a=(0,t.inject)("tabsOpiton"),l=(0,t.computed)(()=>({display:a.animatedTime.value==0&&e.paneKey!=a.activeKey.value?"none":void 0}));return{...a,paneStyle:l}}});function $b(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tab-pane",{inactive:e.paneKey!=e.activeKey&&e.autoHeight}]),style:(0,t.normalizeStyle)(e.paneStyle)},[(0,t.renderSlot)(e.$slots,"default")],6)}var Ja=oe(Vb,[["render",$b]]),{componentName:Di,create:Eb}=ee("indicator"),Db=Eb({props:{size:{type:Number,default:3,required:!0},current:{type:Number,default:1,required:!0},block:{type:Boolean,default:!1},align:{type:String,default:"center"},fillZero:{type:Boolean,default:!0}},setup(e){const{block:n,align:a}=(0,t.toRefs)(e);return{classes:(0,t.computed)(()=>{const l=Di;return{[l]:!0,[`${l}--block`]:n.value,[`${l}--align__${a.value}`]:n.value&&a.value}}),componentName:Di,padZero:lt}}});function Ib(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.size,s=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:s},[s===e.current?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(`${e.componentName}--number`)},(0,t.toDisplayString)(e.fillZero&&e.padZero(s)||s),3)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`${e.componentName}--dot`)},null,2))],64))),128))],2)}var eo=oe(Db,[["render",Ib]]),{componentName:qb,create:xb}=ee("side-navbar"),Pb=xb({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const n=(0,t.ref)(null),a=(0,t.reactive)({count:1,observer:null}),l=(0,t.computed)(()=>({[qb]:!0})),o=(s,i=1)=>{for(let c=0;c<s.length;c++){let m=s[c];m?.children?.[0]&&(m.children[0].style.paddingLeft=+e.offset*i+"px",m.className.includes("fox-side-navbar-item")||o(Array.from(m.children[1].children),++a.count))}a.count--},r=()=>{let s=n.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),o(s))};return(0,t.onMounted)(()=>{r(),a.observer=new MutationObserver(function(){a.count=1,r()}),a.observer.observe(n.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...(0,t.toRefs)(a),list:n,classes:l}}}),Mb={class:"fox-side-navbar__content"},zb={class:"fox-side-navbar__content__list",ref:"list"};function Lb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",Mb,[(0,t.createElementVNode)("view",zb,[(0,t.renderSlot)(e.$slots,"default")],512)])],2)}var to=oe(Pb,[["render",Lb]]),{componentName:Ob,create:Rb}=ee("side-navbar-item"),Fb=Rb({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:(0,t.computed)(()=>({[Ob]:!0})),handleClick:()=>{n.emit("click")}})}),Kb=["ikey"],Ub={class:"fox-side-navbar-item__title"};function Hb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[(0,t.createElementVNode)("span",Ub,(0,t.toDisplayString)(e.title),1)],10,Kb)}var no=oe(Fb,[["render",Hb]]),{componentName:jb,create:Wb}=ee("sub-side-navbar"),Yb=Wb({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:ae.ArrowDown2,ArrowUp2:ae.ArrowUp2},emits:["title-click"],setup:(e,n)=>{const a=(0,t.reactive)({direction:""}),l=(0,t.computed)(()=>({[jb]:!0})),o=(0,t.computed)(()=>({height:a.direction?"0px":"auto"})),r=()=>{n.emit("title-click"),a.direction=a.direction?"":"up"};return(0,t.onMounted)(()=>{a.direction=e.open?"":"up"}),{...(0,t.toRefs)(a),classes:l,style:o,handleClick:r}}}),Xb=["ikey"],Qb={class:"fox-sub-side-navbar__title__text"},Gb={class:"fox-sub-side-navbar__title__icon"};function Zb(e,n,a,l,o,r){const s=(0,t.resolveComponent)("ArrowDown2"),i=(0,t.resolveComponent)("ArrowUp2");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ikey:e.ikey},[(0,t.createElementVNode)("view",{class:"fox-sub-side-navbar__title",onClick:n[0]||(n[0]=(0,t.withModifiers)((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[(0,t.createElementVNode)("span",Qb,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("span",Gb,[e.direction?((0,t.openBlock)(),(0,t.createBlock)(i,{key:1})):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0}))])]),(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-sub-side-navbar__list",e.direction?"nutFadeOut":"nutFadeIn"]),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,!e.direction]])],10,Xb)}var lo=oe(Yb,[["render",Zb]]),{componentName:_b,create:Jb}=ee("range"),eS=Jb({props:{range:{type:Boolean,default:!1},disabled:Boolean,activeColor:String,inactiveColor:String,buttonColor:String,vertical:{type:Boolean,default:!1},marks:{type:Object,default:{}},hiddenRange:{type:Boolean,default:!1},hiddenTag:{type:Boolean,default:!1},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:n}){const a=(0,t.ref)(0);let l,o;const r=(0,t.ref)(),s=(0,t.ref)(),i=Je(),c=(0,t.computed)(()=>{const{marks:E,max:D,min:L}=e;return Object.keys(E).map(parseFloat).sort((M,R)=>M-R).filter(M=>{const R=me(M);return R>=me(L)&&R<=me(D)})}),m=(0,t.computed)(()=>Number(e.max)-Number(e.min)),h=(0,t.computed)(()=>{const E=_b;return{[E]:!0,[`${E}-disabled`]:e.disabled,[`${E}-vertical`]:e.vertical,[`${E}-show-number`]:!e.hiddenRange}}),u=(0,t.computed)(()=>{const E="fox-range-container";return{[E]:!0,[`${E}-vertical`]:e.vertical}}),p=(0,t.computed)(()=>({background:e.inactiveColor})),b=(0,t.computed)(()=>({borderColor:e.buttonColor})),w=E=>!!e.range&&Array.isArray(E),v=()=>{const{modelValue:E,min:D}=e;return w(E)?`${(E[1]-E[0])*100/m.value}%`:`${(E-Number(D))*100/m.value}%`},S=()=>{const{modelValue:E,min:D}=e;return w(E)?`${(E[0]-Number(D))*100/m.value}%`:"0%"},f=(0,t.computed)(()=>e.vertical?{height:v(),top:S(),background:e.activeColor,transition:s.value?"none":void 0}:{width:v(),left:S(),background:e.activeColor,transition:s.value?"none":void 0}),k=E=>{const D="fox-range-mark",{modelValue:L,max:M,min:R}=e;let K=Number(R),q=Number(M);if(e.range){const[ne,O]=L;K=ne,q=O}else q=L;let G=E<=q&&E>=K;return{[`${D}-text`]:!0,[`${D}-text-active`]:G}},d=E=>{const{min:D,vertical:L}=e;let M={left:`${(E-Number(D))/m.value*100}%`};return L&&(M={top:`${(E-Number(D))/m.value*100}%`}),M},C=E=>{const{modelValue:D,max:L,min:M}=e;let R=Number(M),K=Number(L);if(e.range){const[q,G]=D;R=q,K=G}return{background:E<=K&&E>=R?e.activeColor:e.inactiveColor}},N=E=>{const{min:D,max:L,step:M}=e;return E=Math.max(+D,Math.min(E,+L)),Math.round(E/+M)*+M},g=(E,D)=>JSON.stringify(E)===JSON.stringify(D),y=E=>E[0]>E[1]?E.slice(0).reverse():E,B=(E,D)=>{w(E)?E=y(E).map(N):E=N(E),g(E,e.modelValue)||n("update:modelValue",E),D&&!g(E,l)&&n("change",E)},T=E=>{if(e.disabled)return;const{min:D,modelValue:L}=e,M=xe(r);let R=E.clientX-M.left,K=M.width;e.vertical&&(R=E.clientY-M.top,K=M.height);const q=Number(D)+R/K*m.value;if(w(L)){const[G,ne]=L;q<=(G+ne)/2?B([q,ne],!0):B([G,q],!0)}else B(q,!0)},$=E=>{e.disabled||(i.start(E),o=e.modelValue,w(o)?l=o.map(N):l=N(o),s.value="start")},V=E=>{if(e.disabled)return;s.value==="start"&&n("drag-start"),i.move(E),s.value="draging";const D=xe(r);let L=i.deltaX.value,M=D.width,R=L/M*m.value;e.vertical&&(L=i.deltaY.value,M=D.height,R=L/M*m.value),w(l)?o[a.value]=l[a.value]+R:o=l+R,B(o),E.stopPropagation(),E.preventDefault()},W=()=>{e.disabled||(s.value==="draging"&&(B(o,!0),n("drag-end")),s.value="")},_=E=>sn(e.modelValue)&&typeof E=="number"?e.modelValue[E]:Number(e.modelValue);return{root:r,classes:h,wrapperStyle:p,buttonStyle:b,onClick:T,onTouchStart:$,onTouchMove:V,onTouchEnd:W,...(0,t.toRefs)(e),barStyle:f,curValue:_,buttonIndex:a,containerClasses:u,markClassName:k,marksStyle:d,marksList:c,tickStyle:C}}}),tS={key:0,class:"fox-range-min"},nS={key:0,class:"fox-range-mark"},lS=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],aS={key:0,class:"number"},oS=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],rS={key:0,class:"number"},iS={key:1,class:"fox-range-max"};function sS(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.containerClasses)},[e.hiddenRange?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",tS,(0,t.toDisplayString)(+e.min),1)),(0,t.createElementVNode)("view",{ref:"root",style:(0,t.normalizeStyle)(e.wrapperStyle),class:(0,t.normalizeClass)(e.classes),onClick:n[9]||(n[9]=(0,t.withModifiers)((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",nS,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.marksList,s=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:s,class:(0,t.normalizeClass)(e.markClassName(s)),style:(0,t.normalizeStyle)(e.marksStyle(s))},[(0,t.createTextVNode)((0,t.toDisplayString)(s)+" ",1),(0,t.createElementVNode)("span",{class:"fox-range-tick",style:(0,t.normalizeStyle)(e.tickStyle(s))},null,4)],6))),128))])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-range-bar",style:(0,t.normalizeStyle)(e.barStyle)},[e.range?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)([0,1],s=>(0,t.createElementVNode)("view",{key:s,role:"slider",class:(0,t.normalizeClass)({"fox-range-button-wrapper-left":s==0,"fox-range-button-wrapper-right":s==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(s),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:(0,t.withModifiers)(i=>{typeof s=="number"&&(e.buttonIndex=s),e.onTouchStart(i)},["stop","prevent"]),onTouchmove:n[0]||(n[0]=(0,t.withModifiers)((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:n[1]||(n[1]=(0,t.withModifiers)((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=(0,t.withModifiers)((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:n[3]||(n[3]=i=>i.stopPropagation())},[e.$slots.button?(0,t.renderSlot)(e.$slots,"button",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-range-button",style:(0,t.normalizeStyle)(e.buttonStyle)},[e.hiddenTag?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",aS,(0,t.toDisplayString)(e.curValue(s)),1))],4))],42,lS)),64)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,role:"slider",class:"fox-range-button-wrapper",tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:n[4]||(n[4]=(0,t.withModifiers)(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=(0,t.withModifiers)((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=(0,t.withModifiers)((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[8]||(n[8]=s=>s.stopPropagation())},[e.$slots.button?(0,t.renderSlot)(e.$slots,"button",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-range-button",style:(0,t.normalizeStyle)(e.buttonStyle)},[e.hiddenTag?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",rS,(0,t.toDisplayString)(e.curValue()),1))],4))],40,oS))],4)],6),e.hiddenRange?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",iS,(0,t.toDisplayString)(+e.max),1))],2)}var Xt=oe(eS,[["render",sS]]),{create:cS,scope:uS}=ee("short-password"),dS=cS({components:{[be.name]:be,Tips:ae.Tips},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:a}=(0,he.useFoxI18n)(uS),l=a(e,["title","desc","tips"]),o=(0,t.ref)(e.modelValue),r=(0,t.computed)(()=>m(Number(e.length))),s=(0,t.ref)(e.visible),i=u=>{u.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,u=>{s.value=u}),(0,t.watch)(()=>e.modelValue,u=>{o.value=u,String(u).length===r.value&&n("complete",u)});const c=()=>{n("update:visible",!1),n("close")},m=u=>Math.min(Math.max(4,u),6);return{comLen:r,realInput:o,onTouchStart:i,range:m,close:c,onTips:()=>{n("tips")},show:s,...l}}}),fS={class:"fox-short-password-title"},mS={class:"fox-short-password-subtitle"},hS={class:"fox-short-password-wrapper"},pS={key:0,class:"fox-short-password__item-icon"},gS={class:"fox-short-password__message"},yS={class:"fox-short-password--error"},bS={key:0,class:"fox-short-password--forget"};function SS(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Tips"),i=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(i,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",fS,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",mS,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",hS,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:m},[String(e.realInput).length>m?((0,t.openBlock)(),(0,t.createElementBlock)("view",pS)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",gS,[(0,t.createElementVNode)("view",yS,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",bS,[(0,t.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...c)=>e.onTips&&e.onTips(...c))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var ao=oe(dS,[["render",SS]]),vS=class{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload},kS=class{options;constructor(e){this.options=e}upload(){const e=this.options,n=new XMLHttpRequest;if(n.timeout=e.timeout,n.upload){n.upload.addEventListener("progress",a=>{e.onProgress?.(a,e)},!1),n.onreadystatechange=()=>{n.readyState===4&&(n.status==e.xhrState?e.onSuccess?.(n.responseText,e):e.onFailure?.(n.responseText,e))},n.withCredentials=e.withCredentials,n.open(e.method,e.url,!0);for(const[a,l]of Object.entries(e.headers))n.setRequestHeader(a,l);e.onStart?.(e),e.beforeXhrUpload?e.beforeXhrUpload(n,e):n.send(e.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}},wS=class{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}},Ii=(e,{args:n=[],done:a,canceled:l})=>{if(e){const o=e.apply(null,n);ut(o)?o.then(r=>{r?a(r):l&&l()}).catch(()=>{}):o?a():l&&l()}else a()},{create:CS}=ee("progress"),NS=CS({components:{Checked:ae.Checked},props:{percentage:{type:[Number,String],default:0,required:!0},size:{type:String,default:"base"},status:{type:String,default:""},strokeWidth:{type:[Number,String],default:""},textInside:{type:Boolean,default:!1},showText:{type:Boolean,default:!0},strokeColor:{type:String,default:""},textColor:{type:String,default:""},textBackground:{type:String,default:""},isShowPercentage:{type:Boolean,default:!0}},setup(e){const n=!!(0,t.useSlots)().default,a=(0,t.ref)(e.strokeWidth+"px"),l=(0,t.ref)(),o=(0,t.ref)(),r=(0,t.computed)(()=>{const c=me(e.percentage);return c>=100?100:c}),s=(0,t.computed)(()=>({width:r.value+"%",background:e.strokeColor||""})),i=(0,t.computed)(()=>({color:e.textColor||""}));return(0,t.onMounted)(()=>{}),{height:a,percentage:r,bgStyle:s,textStyle:i,progressOuter:l,insideText:o,slotDefault:n}}}),AS={class:"fox-progress"},BS={key:0,class:"fox-progress-text"};function TS(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Checked");return(0,t.openBlock)(),(0,t.createElementBlock)("div",AS,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-progress-outer",[e.showText&&!e.textInside?"fox-progress-outer-part":"",e.size?"fox-progress-"+e.size:""]]),ref:"progressOuter",style:(0,t.normalizeStyle)({height:e.height})},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-progress-inner",e.status=="active"?"fox-active":""]),style:(0,t.normalizeStyle)(e.bgStyle)},null,6),e.showText&&e.textInside&&!e.slotDefault?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-progress-text fox-progress-insidetext",ref:"insideText",style:(0,t.normalizeStyle)({lineHeight:e.height,left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`,background:e.textBackground||e.strokeColor})},[(0,t.createElementVNode)("span",{style:(0,t.normalizeStyle)(e.textStyle)},(0,t.toDisplayString)(e.percentage)+(0,t.toDisplayString)(e.isShowPercentage?"%":""),5)],4)):(0,t.createCommentVNode)("",!0),e.showText&&e.textInside&&e.slotDefault?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,ref:"insideText",style:(0,t.normalizeStyle)({position:"absolute",top:"50%",left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`})},[(0,t.renderSlot)(e.$slots,"default")],4)):(0,t.createCommentVNode)("",!0)],6),e.showText&&!e.textInside?((0,t.openBlock)(),(0,t.createElementBlock)("div",BS,[e.status=="active"||e.status==""?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,style:(0,t.normalizeStyle)(e.textStyle)},(0,t.toDisplayString)(e.percentage)+(0,t.toDisplayString)(e.isShowPercentage?"%":""),5)):e.status=="icon"?(0,t.renderSlot)(e.$slots,"icon-name",{key:1},()=>[(0,t.createVNode)(s,{width:"15px",height:"15px",color:"#439422"})]):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)])}var Qt=oe(NS,[["render",TS]]),{componentName:VS,create:$S,scope:ES}=ee("uploader"),DS=$S({components:{[Qt.name]:Qt,Photograph:ae.Photograph,Failure:ae.Failure,Loading:ae.Loading,Del:ae.Del,Link:ae.Link},props:{name:{type:String,default:"file"},url:{type:String,default:""},timeout:{type:[Number,String],default:1e3*30},fileList:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0},listType:{type:String,default:"picture"},isDeletable:{type:Boolean,default:!0},method:{type:String,default:"post"},capture:{type:Boolean,default:!1},maximize:{type:[Number,String],default:Number.MAX_VALUE},maximum:{type:[Number,String],default:1},clearInput:{type:Boolean,default:!0},accept:{type:String,default:"*"},headers:{type:Object,default:{}},data:{type:Object,default:{}},xhrState:{type:[Number,String],default:200},withCredentials:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},beforeUpload:{type:Function,default:null},beforeXhrUpload:{type:Function,default:null},beforeDelete:{type:Function,default:(e,n)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(ES),l=(0,t.reactive)(e.fileList);let o=[];const r=(0,t.computed)(()=>({[VS]:!0})),s=()=>{let k={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(k.capture="camera"),(0,t.h)("input",k)},i=k=>{k.value=""},c=k=>{n("file-item-click",{fileItem:k})},m=(k,d)=>{const C=new vS;C.url=e.url,C.formData=k.formData,C.timeout=e.timeout*1,C.method=e.method,C.xhrState=e.xhrState,C.headers=e.headers,C.withCredentials=e.withCredentials,C.beforeXhrUpload=e.beforeXhrUpload;try{C.sourceFile=k.formData.get(e.name)}catch{}C.onStart=g=>{k.status="ready",k.message=a("readyUpload"),h(d),n("start",g)},C.onProgress=(g,y)=>{k.status="uploading",k.message=a("uploading"),k.percentage=(g.loaded/g.total*100).toFixed(0),n("progress",{event:g,option:y,percentage:k.percentage})},C.onSuccess=(g,y)=>{k.status="success",k.message=a("success"),n("success",{responseText:g,option:y,fileItem:k}),n("update:fileList",l)},C.onFailure=(g,y)=>{k.status="error",k.message=a("error"),n("failure",{responseText:g,option:y,fileItem:k})};let N=new kS(C);e.autoUpload?N.upload():o.push(new Promise((g,y)=>{g(N)}))},h=(k=-1)=>{k>-1?o.splice(k,1):(o=[],l.splice(0,l.length))},u=()=>{Promise.all(o).then(k=>{k.forEach(d=>d.upload())})},p=k=>{k.forEach((d,C)=>{const N=new FormData;for(const[y,B]of Object.entries(e.data))N.append(y,B);N.append(e.name,d);const g=(0,t.reactive)(new wS);if(g.name=d.name,g.status="ready",g.type=d.type,g.formData=N,g.message=a("waitingUpload"),m(g,C),e.isPreview&&d.type.includes("image")){const y=new FileReader;y.onload=B=>{g.url=B.target.result,l.push(g)},y.readAsDataURL(d)}else l.push(g)})},b=k=>{const d=e.maximum*1,C=e.maximize*1,N=new Array;k=k.filter(y=>y.size>C?(N.push(y),!1):!0),N.length&&n("oversize",N);let g=k.length+l.length;return g>d&&k.splice(k.length-(g-d)),k},w=(k,d)=>{l.splice(d,1),n("delete",{file:k,fileList:l,index:d})},v=(k,d)=>{h(d),Ii(e.beforeDelete,{args:[k,l],done:()=>w(k,d)})},S=k=>{if(e.disabled)return;const d=k.target;let{files:C}=d;e.beforeUpload?e.beforeUpload(C).then(N=>f(N)):f(C),n("change",{fileList:l,event:k}),e.clearInput&&i(d)},f=k=>{p(b(new Array().slice.call(k)))};return{onChange:S,onDelete:v,fileList:l,classes:r,fileItemClick:c,clearUploadQueue:h,submit:u,renderInput:s}}}),IS={key:0,class:"fox-uploader__slot"},qS={key:0,class:"fox-uploader__preview-img"},xS={key:0,class:"fox-uploader__preview__progress"},PS={class:"fox-uploader__preview__progress__msg"},MS=["onClick"],zS=["onClick","src"],LS={key:3,class:"fox-uploader__preview-img__file"},OS=["onClick"],RS={class:"file__name_tips"},FS={class:"tips"},KS={key:1,class:"fox-uploader__preview-list"},US=["onClick"],HS={class:"file__name_tips"};function jS(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Failure"),i=(0,t.resolveComponent)("Loading"),c=(0,t.resolveComponent)("Link"),m=(0,t.resolveComponent)("Del"),h=(0,t.resolveComponent)("fox-progress"),u=(0,t.resolveComponent)("Photograph");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",IS,[(0,t.renderSlot)(e.$slots,"default"),Number(e.maximum)-e.fileList.length?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderInput),{key:0,onChange:e.onChange},null,40,["onChange"])):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.fileList,(p,b)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-uploader__preview",[e.listType]]),key:p.uid},[e.listType=="picture"&&!e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",qS,[p.status!="success"?((0,t.openBlock)(),(0,t.createElementBlock)("view",xS,[p.status!="ready"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[p.status=="error"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,color:"#fff"})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1,name:"loading",color:"#fff"}))],64)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",PS,(0,t.toDisplayString)(p.message),1)])):(0,t.createCommentVNode)("",!0),e.isDeletable?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"close",onClick:w=>e.onDelete(p,b)},[(0,t.renderSlot)(e.$slots,"delete-icon",{},()=>[(0,t.createVNode)(s)])],8,MS)):(0,t.createCommentVNode)("",!0),p?.type?.includes("image")&&p.url?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,class:"fox-uploader__preview-img__c",onClick:w=>e.fileItemClick(p),src:p.url},null,8,zS)):((0,t.openBlock)(),(0,t.createElementBlock)("view",LS,[(0,t.createElementVNode)("view",{onClick:w=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[(0,t.createElementVNode)("view",RS,(0,t.toDisplayString)(p.name),1)],8,OS)])),(0,t.createElementVNode)("view",FS,(0,t.toDisplayString)(p.name),1)])):e.listType=="list"?((0,t.openBlock)(),(0,t.createElementBlock)("view",KS,[(0,t.createElementVNode)("view",{onClick:w=>e.fileItemClick(p),class:(0,t.normalizeClass)(["fox-uploader__preview-img__file__name",[p.status]])},[(0,t.createVNode)(c,{class:"fox-uploader__preview-img__file__link"}),(0,t.createElementVNode)("view",HS,(0,t.toDisplayString)(p.name),1),e.isDeletable?((0,t.openBlock)(),(0,t.createBlock)(m,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:w=>e.onDelete(p,b)},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],10,US),p.status=="uploading"?((0,t.openBlock)(),(0,t.createBlock)(h,{key:0,size:"small",percentage:p.percentage,"stroke-color":"linear-gradient(270deg, rgba(18,126,255,1) 0%,rgba(32,147,255,1) 32.815625%,rgba(13,242,204,1) 100%)","show-text":!1},null,8,["percentage"])):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&Number(e.maximum)-e.fileList.length?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(["fox-uploader__upload",[e.listType]])},[(0,t.renderSlot)(e.$slots,"upload-icon",{},()=>[(0,t.createVNode)(u,{color:"#808080"})]),((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):(0,t.createCommentVNode)("",!0)],2)}var oo=oe(DS,[["render",jS]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a3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:XS,scope:QS}=ee("number-keyboard"),GS=XS({components:{[be.name]:be},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:a}=(0,he.useFoxI18n)(QS),l=a(e,["confirmText"]),o=(0,t.ref)(void 0),r=(0,t.ref)(e.visible),s=(0,t.ref)();function i(){const{customKey:f}=e;let k={id:"lock",type:"lock"},d=Array.isArray(f)?f:[f];return d.length===1&&(k={id:d[0],type:"custom"}),[...c(),k,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const f=[];for(let k=1;k<=9;k++)f.push({id:k,type:"number"});return e.randomKeys?f.sort(()=>Math.random()>.5?1:-1):f}function m(){const f=c(),{customKey:k}=e;let d=Array.isArray(k)?k:[k];return d.length>2&&(d=[d[0],d[1]]),d.length==2&&e.title&&e.type!="rightColumn"&&(d=[d[0]]),d.length===1?e.title&&e.type!="rightColumn"?f.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):f.push({id:0,type:"number"},{id:d[0],type:"custom"}):d.length===2&&f.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:d[1],type:"custom"}),f}const h=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?m():i()),u=()=>{e.visible&&n("blur")},p=f=>{const k=s.value;k&&!k.contains(f.target)&&u()};(0,t.watch)(()=>e.visible,f=>{r.value=f,f?window.addEventListener("touchstart",p,!1):window.removeEventListener("touchstart",p,!1)});function b(f,k){k.stopPropagation(),o.value=f.id,(f.type=="number"||f.type=="custom")&&(n("input",f.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+f.id)),f.type=="lock"&&S(),f.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function w(f){f.stopPropagation()}function v(f){f.preventDefault(),o.value=void 0}function S(){n("update:visible",!1),n("close")}return{...l,delImg:WS,lockImg:YS,clickKeyIndex:o,defaultKey:i,closeBoard:S,onTouchEnd:v,onTouchMove:w,onTouchstart:b,keysList:h,genCustomKeys:m,getBasicKeys:c,root:s,show:r}}}),ZS={ref:"root"},_S={class:"fox-number-keyboard"},JS={key:0,class:"fox-number-keyboard__header"},e1={class:"fox-number-keyboard__title"},t1={class:"fox-number-keyboard__body"},n1={class:"fox-number-keyboard__keys"},l1=["onTouchstart"],a1=["src"],o1=["src"],r1={key:0,class:"fox-number-keyboard__sidebar"},i1={class:"fox-key__wrapper"},s1=["src"];function c1(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",ZS,[(0,t.createVNode)(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",_S,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",JS,[(0,t.createElementVNode)("h3",e1,(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]=i=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",t1,[(0,t.createElementVNode)("div",n1,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,i=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+i.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":i.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":i.id==e.clickKeyIndex},{"fox-key--lock":i.type=="lock"},{"fox-key--delete":i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[2]=c=>e.onTouchEnd(c))},[i.type=="number"||i.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(i.id),1)],64)):(0,t.createCommentVNode)("",!0),i.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,a1)):(0,t.createCommentVNode)("",!0),i.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,o1)):(0,t.createCommentVNode)("",!0)],42,l1)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",r1,[(0,t.createElementVNode)("div",i1,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:n[4]||(n[4]=i=>e.onTouchMove(i)),onTouchend:n[5]||(n[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,s1)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=i=>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 ro=oe(GS,[["render",c1]]),{componentName:u1,create:d1}=ee("swipe"),f1=d1({props:{name:{type:String,default:""},touchMoveStopPropagation:{type:Boolean,default:!1},touchMovePreventDefault:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["open","close"],setup(e,{emit:n}){const a=(0,t.computed)(()=>({[u1]:!0})),l=k=>k.value?.clientWidth||0,o=(0,t.ref)(),r=(0,t.computed)(()=>l(o)),s=(0,t.ref)(),i=(0,t.computed)(()=>l(s));let c=!1,m="",h="";const u=(0,t.reactive)({offset:0,moving:!1}),p=(k="")=>{c=!0,k&&(u.offset=k==="left"?-i.value:r.value),n("open",{name:e.name,position:m||k})},b=()=>{u.offset=0,c=!1,n("close",{name:e.name,position:m})},w=(0,t.computed)(()=>({transform:`translate3d(${u.offset}px, 0, 0)`})),v=k=>{m=k>0?"right":"left";let d=k;switch(m){case"left":c&&h===m?d=-i.value:d=Math.abs(k)>i.value?-i.value:k;break;case"right":c&&h===m?d=r.value:d=Math.abs(k)>r.value?r.value:k;break}u.offset=d},S=Je(),f={onTouchStart(k){e.disabled||S.start(k)},onTouchMove(k){e.disabled||(S.move(k),S.isHorizontal()&&(u.moving=!0,v(S.deltaX.value),e.touchMovePreventDefault&&k.preventDefault(),e.touchMoveStopPropagation&&k.stopPropagation()))},onTouchEnd(){if(u.moving)switch(u.moving=!1,h=m,m){case"left":Math.abs(u.offset)<=i.value/2?b():(u.offset=-i.value,p());break;case"right":Math.abs(u.offset)<=r.value/2?b():(u.offset=r.value,p());break}}};return Te({open:p,close:b}),{classes:a,touchStyle:w,...f,leftRef:o,rightRef:s,open:p,close:b}}}),m1={class:"fox-swipe__left",ref:"leftRef"},h1={class:"fox-swipe__content"},p1={class:"fox-swipe__right",ref:"rightRef"};function g1(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.touchStyle),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))},[(0,t.createElementVNode)("view",m1,[(0,t.renderSlot)(e.$slots,"left")],512),(0,t.createElementVNode)("view",h1,[(0,t.renderSlot)(e.$slots,"default")]),(0,t.createElementVNode)("view",p1,[(0,t.renderSlot)(e.$slots,"right")],512)],38)}var io=oe(f1,[["render",g1]]),{componentName:y1,create:b1}=ee("action-sheet"),S1=b1({components:{Popup:be,Loading:ae.Loading},props:{...et,cancelTxt:{type:String},optionTag:{type:String,default:"name"},optionSubTag:{type:String,default:"subname"},chooseTagValue:{type:String},title:{type:String},color:{type:String,default:"#ee0a24"},description:{type:String},menuItems:{type:Array,default:()=>[]},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:n}){const a=!!(0,t.useSlots)().default,l=(0,t.computed)(()=>({[y1]:!0}));return{slotDefault:a,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(c,m)=>{!c.disable&&!c.loading&&(n("choose",c,m),n("update:visible",!1))},close:c=>{n("close",c),n("update:visible",!1)},classes:l}}}),v1={key:0,class:"fox-action-sheet__title"},k1={key:1},w1={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},C1={key:1,class:"fox-action-sheet__menu"},N1=["onClick"],A1={key:1},B1={class:"fox-action-sheet__subdesc"};function T1(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading"),i=(0,t.resolveComponent)("Popup");return(0,t.openBlock)(),(0,t.createBlock)(i,{visible:e.visible,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes)},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",v1,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"default"),e.slotDefault?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",k1,[e.description?((0,t.openBlock)(),(0,t.createElementBlock)("view",w1,(0,t.toDisplayString)(e.description),1)):(0,t.createCommentVNode)("",!0),e.menuItems.length?((0,t.openBlock)(),(0,t.createElementBlock)("view",C1,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.menuItems,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":c.disable,"fox-action-sheet__item--loading":c.loading}]),style:(0,t.normalizeStyle)({color:e.isHighlight(c)||c.color}),key:m,onClick:h=>e.chooseItem(c,m)},[c.loading?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,name:"loading"})):((0,t.openBlock)(),(0,t.createElementBlock)("view",A1,(0,t.toDisplayString)(c[e.optionTag]),1)),(0,t.createElementVNode)("view",B1,(0,t.toDisplayString)(c[e.optionSubTag]),1)],14,N1))),128))])):(0,t.createCommentVNode)("",!0),e.cancelTxt?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:"fox-action-sheet__cancel",onClick:n[0]||(n[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},(0,t.toDisplayString)(e.cancelTxt),1)):(0,t.createCommentVNode)("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}var so=oe(S1,[["render",T1]]),{componentName:V1,create:$1}=ee("backtop"),E1=$1({props:{bottom:{type:Number,default:20},right:{type:Number,default:10},elId:{type:[String]},distance:{type:Number,default:200},zIndex:{type:Number,default:10},isAnimation:{type:Boolean,default:!0},duration:{type:Number,default:1e3}},emits:["click"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),o=(0,t.computed)(()=>({[V1]:!0,show:l.backTop})),r=(0,t.computed)(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){l.scrollEl instanceof Window?l.scrollTop=l.scrollEl.pageYOffset:l.scrollTop=l.scrollEl.scrollTop,l.backTop=l.scrollTop>=e.distance}function i(w=0){l.scrollEl instanceof Window?window.scrollTo(0,w):l.scrollEl.scrollTop=w}function c(){let w=Ye(function v(){var S=e.duration-Math.max(0,l.startTime-+new Date+e.duration),f=S*-l.scrollTop/e.duration+l.scrollTop;i(f),w=Ye(v),(S==e.duration||f==0)&&jo(w)})}function m(){l.scrollEl.addEventListener("scroll",s,!1),l.scrollEl.addEventListener("resize",s,!1)}function h(){l.scrollEl.removeEventListener("scroll",s,!1),l.scrollEl.removeEventListener("resize",s,!1)}function u(w){l.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),n("click",w)}function p(){b.value?l.scrollEl=b.value.el:e.elId&&document.getElementById(e.elId)&&(l.scrollEl=document.getElementById(e.elId)),m()}(0,t.onMounted)(()=>{e.distance==0&&(l.backTop=!0),p()}),(0,t.onUnmounted)(()=>{h()}),(0,t.onActivated)(()=>{l.keepAlive&&(l.keepAlive=!1,p())}),(0,t.onDeactivated)(()=>{l.keepAlive=!0,h()});const b=(0,t.computed)(()=>{if(typeof a.content=="function"){const w=a.content();return Array.isArray(w)?w[0]:w}return null});return()=>{const w=[];b.value&&w.push(b.value);const v=[];if(typeof a.default=="function")v.push(a.default());else{const f=(0,t.h)(ae.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});v.push(f)}const S=(0,t.h)("div",{class:o.value,style:r.value,onClick:u},v);return w.push(S),w}}}),co=E1,{componentName:D1,create:I1}=ee("drag"),q1=I1({props:{attract:{type:Boolean,default:!1},direction:{type:String,default:"all"},boundary:{type:Object,default:()=>({top:0,left:0,right:0,bottom:0})}},setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.reactive)({keepAlive:!1,elWidth:0,elHeight:0,screenWidth:0,screenHeight:0,startTop:0,startLeft:0,nx:0,ny:0,xPum:0,yPum:0,position:{x:0,y:0},boundary:{top:0,left:0,right:0,bottom:0}}),o=(0,t.computed)(()=>({[D1]:!0}));function r(){const u=document.documentElement;l.elWidth=a.value.offsetWidth,l.elHeight=a.value.offsetHeight,l.screenWidth=u.clientWidth,l.screenHeight=u.clientHeight}function s(u){l.boundary.left?+u.style.left.split("px")[0]>l.boundary.left?(u.style.left=+u.style.left.split("px")[0]-10+"px",He(()=>{s(u)})):u.style.left=`${l.boundary.left}px`:+u.style.left.split("px")[0]>10?(u.style.left=+u.style.left.split("px")[0]-10+"px",He(()=>{s(u)})):u.style.left="0px"}function i(u,p){p-parseInt(u.style.left.split("px")[0])>10?(u.style.left=parseInt(u.style.left.split("px")[0])+10+"px",He(()=>{i(u,p)})):u.style.left=p+"px"}function c(u){u.preventDefault();const p=u.currentTarget;if(u.targetTouches.length===1){const b=u.targetTouches[0];l.nx=b.clientX-l.position.x,l.ny=b.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const w=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>w?l.xPum=w:l.xPum<=l.boundary.left&&(l.xPum=l.boundary.left),l.yPum<l.boundary.top?l.yPum=l.boundary.top:l.yPum>l.screenHeight-l.elHeight-l.boundary.bottom&&(l.yPum=l.screenHeight-l.elHeight-l.boundary.bottom),e.direction!="y"&&(p.style.left=l.xPum+"px"),e.direction!="x"&&(p.style.top=l.yPum+"px")}}function m(u){const p=u.currentTarget;let b=u.changedTouches[0].clientX;const w=l.screenWidth-l.elWidth-l.boundary.right;b>w?b=w:b<l.boundary.left?b=l.boundary.left:b=b<l.screenWidth/2?l.boundary.left:w,e.direction!="y"&&e.attract&&(b<l.screenWidth/2?He(()=>{s(p)}):He(()=>{i(p,w)})),e.direction!="x"&&(p.style.top=l.yPum+"px")}function h(u){const p=u.currentTarget,b=u.touches[0],w=u.targetTouches[0];l.startTop=p.offsetTop,l.startLeft=p.offsetLeft,l.position.x=b.clientX,l.position.y=b.clientY,l.nx=w.clientX-l.position.x,l.ny=w.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny}return(0,t.onMounted)(()=>{r(),l.boundary=e.boundary}),(0,t.onActivated)(()=>{l.keepAlive&&(l.keepAlive=!1)}),(0,t.onDeactivated)(()=>{l.keepAlive=!0;const u=a;u.value.removeEventListener("touchstart",h),u.value.removeEventListener("touchmove",c),u.value.removeEventListener("touchend",m)}),{classes:o,myDrag:a,touchStart:h,touchMove:c,touchEnd:m}}});function x1(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=s=>e.touchStart(s)),onTouchmove:n[1]||(n[1]=s=>e.touchMove(s)),onTouchend:n[2]||(n[2]=s=>e.touchEnd(s))},[(0,t.renderSlot)(e.$slots,"default")],34)}var uo=oe(q1,[["render",x1]]),P1={width:{type:[String,Number]},height:{type:[String,Number]},plain:{type:[Boolean]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},showClose:{type:Boolean,default:!1},closeIcon:{type:Object},content:{type:[String,Object]},showFooter:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},cancelButtonText:{type:String},cancelText:{type:String},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},confirmButtonText:{type:String},confirmText:{type:String},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},footerDirection:{type:String,default:"horizontal"},popClass:{type:String},popStyle:{type:Object},beforeClose:{type:Function}},M1=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function z1(e,n,a,l,o){return{props:{...et,...P1},setup(r,{attrs:s,slots:i,emit:c}){const{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(r,["confirmText","cancelText"]),u=e,p=(0,t.ref)(r.visible);(0,t.watch)(()=>r.visible,g=>{p.value!==g&&(p.value=g,g&&c("opened"))});const b=g=>{p.value=g,c("update:visible",g),c("update",g)},w=g=>{if(c(g),!(g==="cancel"&&!r.cancelAutoClose))if(typeof r.beforeClose=="function"){const y=r.beforeClose(g);ut(y)?y.then(B=>{B&&(b(!1),c("closed",g))}):y===!0&&(b(!1),c("closed",g))}else b(!1),c("closed",g)},v=()=>{w("confirm")},S=()=>{w("cancel")},f=()=>{w("close")},k=(g,y)=>M1(g)?(y.src=g,(0,t.h)("img",y)):typeof g=="string"?(Array.isArray(y.class)?y.class.push(g):y.class&&typeof y.class=="object"?y[`${g}`]=!0:typeof y.class=="string"?y.class=`${y.class}, ${g}`:y.class=g,(0,t.h)(r.tag,y)):(0,t.h)(g,y),d=()=>{const g=[];if(i.header){const y=i.header();g.push(y)}else{if(r.title){const y=(0,t.h)("view",{class:`${u}__header-title`},[r.title]);g.push(y)}if(r.showClose){const y={class:[`${u}__header-close-icon`],onClick:f},B=k(r.closeIcon??o,y);g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},C=()=>{const g=[];if(i.default)g.push(i.default());else{const y={class:[`${u}__content`]};if(r.textAlign&&y.class.push(r.textAlign),typeof r.content=="string"){y.innerHTML=r.content;const B=(0,t.h)("view",y);g.push(B)}else if(typeof r.content=="function"){const B=(0,t.h)("view",y,[r.content()]);g.push(B)}else{const B=(0,t.h)("view",y,[r.content]);g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__body`]},g)},N=()=>{if(!r.showFooter)return null;const g=[];if(i.footer)g.push(i.footer());else if(r.plain){if(r.showCancelButton){const y={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},onClick:S};r.cancelButtonClass&&y.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(y.style,r.cancleButtonStyle);const B=(0,t.h)("view",y,[r.cancelButtonText??h.cancelText.value]);g.push(B)}if(r.showConfirmButton){const y={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},onClick:v};r.confirmButtonClass&&y.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(y.style,r.confirmButtonStyle);const B=(0,t.h)("view",y,[r.confirmButtonText??h.confirmText.value]);g.push(B)}}else{if(r.showCancelButton){const y={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},plain:!0,type:"primary",size:"small",onClick:S};r.cancelButtonClass&&y.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(y.style,r.cancleButtonStyle);const B=(0,t.h)(l,y,{default:()=>[r.cancelButtonText??h.cancelText.value]});g.push(B)}if(r.showConfirmButton){const y={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},plain:!1,type:"primary",size:"small",onClick:v};r.confirmButtonClass&&y.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(y.style,r.confirmButtonStyle);const B=(0,t.h)(l,y,{default:()=>[r.confirmButtonText??h.confirmText.value]});g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__footer`,`${u}__footer--${r.footerDirection}`]},g)};return()=>{const g=[],y=d();y&&g.push(y);const B=C();B&&g.push(B);const T=N();T&&g.push(T);const $=(0,t.h)("view",{class:{[`${u}`]:!0,[`${u}--plain`]:r.plain}},g),V=[`${u}__popup`];r.popClass&&V.push(r.popClass);const W={};return r.width&&(W.width=typeof r.width=="number"?`${r.width}px`:r.width),r.height&&(W.height=typeof r.height=="number"?`${r.height}px`:r.height),(0,t.h)(a,{...ge(r,et),popClass:V.join(" "),style:W,visible:p.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":b,position:r.position,onClickOverlay:f,closeOnClickOverlay:r.closeOnClickOverlay},{default:()=>$})}}}}var{componentName:L1,create:O1,scope:R1}=ee("dialog"),F1=O1(z1(L1,R1,be,it,ae.Close)),qi=F1,K1=class{title="";content="";cancelText=null;confirmText=null;textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=e=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1},U1=class{options=new K1;constructor(e){let n=Object.assign(this.options,e),a=document.body,l=n.teleport;l!="body"&&(typeof l=="string"?a=document.querySelector(l):a=n.teleport);const o=document.createElement("view"),r=`dialog-${n.id}`;o.id=r;const s=(0,t.createVNode)({setup(){return n.onUpdate=i=>{if(i===!1){const c=document.querySelector(`#${r}`);c&&c.parentNode?.removeChild(c)}},n?.onOpened&&n?.onOpened(),()=>(0,t.h)(qi,n)}});a.appendChild(o),(0,t.render)(s,o)}},Gt=function(e){return new U1(e)};Gt.install=e=>{e.use(qi),e.config.globalProperties.$dialog=Gt};var H1={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}},j1=(e,n,a)=>({props:{...H1},emits:["change","refresh","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["pullingText","loosingText","loadingText"]),c=Fn(),m=(0,t.ref)(),h=Si(m),u=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),p=(0,t.computed)(()=>({[e]:!0})),b=(0,t.computed)(()=>{switch(u.status){case"pulling":return r.pulling?"":i.pullingText.value;case"loosing":return r.loosing?"":i.loosingText.value;case"loading":return r.loading?"":i.loadingText.value;default:return""}}),w=(0,t.computed)(()=>({transitionDuration:`${l.duration}s`,transform:u.distance?`translate3d(0,${u.distance}px, 0)`:""})),v=(0,t.computed)(()=>{const y={};return l.headHeight!=50&&(y.height=de(l.headHeight)),y}),S=y=>{const B=+(l.pullDistance||l.headHeight);let T=y;return y>B&&(y<B*2?T=(y+B)/2:T=B+y/4),Math.round(T)},f=(y,B)=>{const T=+(l.pullDistance||l.headHeight);u.distance=y,B?u.status="loading":y===0?u.status="normal":y<T?u.status="pulling":u.status="loosing",o("change",{status:u.status,distance:y})},k=()=>u.status!=="loading"&&u.status!=="complete",d=()=>h.value==window?vi()==0:h.value&&h.value.scrollTop==0,C=y=>{k()&&(d()?(c.start(y),u.isPullRefresh=!0,u.moving=!0):(u.distance=0,u.isPullRefresh=!1))},N=y=>{k()&&u.moving&&(c.move(y),c.isVertical()&&c.state.deltaY>0&&u.isPullRefresh&&(y.cancelable&&y.preventDefault(),f(S(c.state.deltaY))))},g=()=>{u.moving=!1,u.isPullRefresh&&k()&&c.state.deltaY&&(u.status==="loosing"?(f(+l.headHeight,!0),o("update:modelValue",!0),(0,t.nextTick)(()=>o("refresh"))):f(0)),setTimeout(()=>{c.reset()},0)};return(0,t.watch)(()=>l.modelValue,y=>{y?f(+l.headHeight,!0):f(0)}),()=>{const y=[];let B=null;u.status==="loading"?(B=r?.loading?.()??null,B||(B=(0,t.h)(a,{class:["fox-pull-refresh-container-topbox-icon"]}))):u.status==="pulling"?B=r?.pulling?.()??null:u.status==="loosing"&&(B=r?.loosing?.()??null),B&&y.push(B);const T=(0,t.h)("dive",{class:["fox-pull-refresh-container-topbox-text"]},[b.value]);y.push(T);const $=(0,t.h)("div",{class:["fox-pull-refresh-container-topbox"],style:v.value},y),V=(0,t.h)("div",{class:"fox-pull-refresh-container",style:w.value},[$,r?.default?.()]),W={ref:m,class:p.value};return Rn()?Object.assign(W,{onTouchstart:C,onTouchmove:N,onTouchend:g}):Object.assign(W,{onMousedown:C,onMousemove:N,onMouseup:g}),(0,t.h)("div",W,[V])}}}),{componentName:W1,create:Y1,scope:X1}=ee("pull-refresh"),Q1=Y1(j1(W1,X1,ae.Loading)),fo=Q1,{create:G1}=ee("notify"),Z1=G1({components:{[be.name]:be},props:{id:String,color:{type:String,default:""},msg:{type:String,default:""},duration:{type:Number,default:3e3},className:{type:String,default:""},background:{type:String,default:""},type:{type:String,default:"danger"},visible:{type:Boolean,default:!1},position:{type:String,default:"top"},teleportDisable:{type:Boolean,default:!0},onClose:Function,onClick:Function,unmount:Function},emits:["update:visible"],setup(e,{emit:n}){const a=()=>{e.onClick&&e.onClick()};let l=null;const o=()=>{l&&clearTimeout(l),l=null},r=()=>{n("update:visible",!1)},s=(0,t.ref)(!1),i=(0,t.watch)(()=>e.visible,m=>{s.value=e.visible;const h=e.duration;m&&h&&(l=setTimeout(()=>{r()},h))},{immediate:!0});return{onAfterLeave:()=>{o(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:a,isShowPopup:s}}});function _1(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(s,{visible:e.isShowPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.isShowPopup=i),position:e.position,overlay:!1,teleportDisable:e.teleportDisable},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-notify",`fox-notify--${e.type}`,e.className]),style:(0,t.normalizeStyle)({color:e.color,background:e.background}),onClick:n[0]||(n[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.msg),1)],64))],6)]),_:3},8,["visible","position","teleportDisable"])}var mo=oe(Z1,[["render",_1]]),ho={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function},Nt=[],Zt=[],xi=e=>{if(e){const n=document.getElementById(e);Zt=Zt.filter(a=>a.id!==e),Nt=Nt.filter(a=>a!==e),n&&document.body.removeChild(n)}else Nt.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),Zt=[],Nt=[]},J1=e=>{const n=document.getElementById(e.id);if(n){const a=Zt.find(o=>o.id===e.id);a?e={...ho,...a,...e}:e={...ho,...e};const l=(0,t.createVNode)(mo,e);return(0,t.render)(l,n),l.component.data}},_t=e=>{e.unmount=xi;let n;if(e.id){if(n=e.id,Nt.find(o=>o===e.id))return J1(e)}else n=new Date().getTime()+"";e={...ho,...e},e.id=n,Nt.push(e.id),Zt.push(e);const a=document.createElement("view");a.id="notify-"+e.id;const l=(0,t.createVNode)({setup(){return e.teleport=`#notify-${e.id}`,(0,t.onMounted)(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(a)},e.duration)}),()=>(0,t.h)(mo,e)}});document.body.appendChild(a),(0,t.render)(l,a)},Jt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},po={text(e,n={}){return Jt(e),_t({...n,msg:e})},primary(e,n={}){return Jt(e),_t({...n,msg:e,type:"primary"})},success(e,n={}){return Jt(e),_t({...n,msg:e,type:"success"})},danger(e,n={}){return Jt(e),_t({...n,msg:e,type:"danger"})},warn(e,n={}){return Jt(e),_t({...n,msg:e,type:"warning"})},hide(){xi()},install(e){e.use(mo)}},{create:ev}=ee("toast"),tv=ev({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=(0,t.reactive)({mounted:!1});(0,t.onMounted)(()=>{l.mounted=!0});const o=()=>{a&&(clearTimeout(a),a=null)},r=()=>{l.mounted=!1},s=()=>{o(),e.duration&&(a=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&s(),(0,t.watch)(()=>e.duration,b=>{b&&s()});const c=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),m=()=>{const b=se(e.iconSize);return(0,t.h)(e.icon,{width:b,height:b,color:e.iconColor})},h=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":c.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),u=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:r,clickCover:i,renderIcon:m,hasIcon:c,toastBodyClass:h,toastIconWrapperClass:u,onAfterLeave:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),nv={key:1,class:"fox-toast-title"},lv=["innerHTML"];function av(e,n,a,l,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",nv,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,lv)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var go=oe(tv,[["render",av]]),yo={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},At=[],en=[],Pi=e=>{if(e){const n=document.getElementById(e);en=en.filter(a=>a.id!==e),At=At.filter(a=>a!==e),n&&document.body.removeChild(n)}else At.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),en=[],At=[]},ov=e=>{const n=document.getElementById(e.id);if(n){const a=en.find(l=>l.id===e.id);return a?e={...yo,...a,...e}:e={...yo,...e},(0,t.render)((0,t.createVNode)(go,e),n),Bt}},tn=e=>{e.unmount=Pi;let n;if(e.id){if(n=e.id,At.find(l=>l===e.id))return ov(e)}else n=new Date().getTime()+"";e={...yo,...e},e.id=n,At.push(e.id),en.push(e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(go,e),a),document.body.appendChild(a),Bt},ul=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Bt={text(e,n={}){return ul(e),tn({...n,type:"text",msg:e})},success(e,n={}){return ul(e),tn({icon:ae.Success,...n,msg:e,type:"success"})},fail(e,n={}){return ul(e),tn({icon:ae.Failure,...n,msg:e,type:"fail"})},warn(e,n={}){return ul(e),tn({icon:ae.Tips,...n,msg:e,type:"warn"})},loading(e,n={}){return tn({icon:ae.Loading,...n,msg:e,type:"loading"})},hide(e){Pi(e)},install(e){e.use(go),e.config.globalProperties.$toast=Bt}},{componentName:m2,create:rv}=ee("audio"),iv=rv({props:{url:{type:String,default:""},muted:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},preload:{type:String,default:"auto"},second:{type:Number,default:0},type:{type:String,default:"progress"}},components:{Service:ae.Service,[Xt.name]:Xt},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),o=(0,t.reactive)({currentTime:0,currentDuration:"00:00:00",percent:0,duration:"00:00:00",second:0,hanMuted:e.muted,playing:e.autoplay,handPlaying:!1});(0,t.onMounted)(()=>{var v=["webkitVisibilityState","visibilitychange"];try{for(let S=0;S<v.length;S++)document.addEventListener(v[S],()=>{document.hidden?l.value.pause():o.playing&&setTimeout(()=>{l.value.play()},200)})}catch(S){S.message}});const r=v=>{const S=l.value;e.autoplay&&S&&S.paused&&S.play(),o.second=S.duration,o.duration=w(S.duration),n("can-play",v)},s=v=>{o.currentTime=parseInt(v.target.currentTime)},i=()=>{o.currentTime>0&&o.currentTime--,l.value.currentTime=o.currentTime,n("fastBack",o.currentTime)},c=()=>{const v=l.value;o.playing?(v.pause(),o.handPlaying=!1):(v.play(),o.handPlaying=!0),o.playing=!o.playing,n("play",o.playing)},m=()=>{o.currentTime++,l.value.currentTime=o.currentTime,n("forward",o.currentTime)},h=v=>{o.currentDuration=w(v),o.percent=v/o.second*100},u=()=>{o.playing=!1,n("ended")},p=v=>{const S=l.value;S.currentTime=o.second*v/100,n("changeProgress",S.currentTime)},b=()=>{o.hanMuted=!o.hanMuted,n("mute",o.hanMuted)},w=v=>{if(!v)return"00:00:00";let S=parseInt(v),f=Math.floor(S/3600),k=Math.floor((S-f*3600)/60),d=S-f*3600-k*60,C="";return C+=("0"+f.toString()).slice(-2)+":",C+=("0"+k.toString()).slice(-2)+":",C+=("0"+d.toString()).slice(-2),C};return(0,t.watch)(()=>o.currentTime,v=>{h(v)}),(0,t.provide)("audioParent",{children:[],props:e,audioData:o,handleMute:b,forward:m,fastBack:i,changeStatus:c}),{...(0,t.toRefs)(e),...(0,t.toRefs)(o),audioRef:l,fastBack:i,forward:m,changeStatus:c,progressChange:p,audioEnd:u,onTimeupdate:s,handleMute:b,onCanplay:r,slots:a}}}),sv={class:"fox-audio"},cv={key:0,class:"fox-audio__progress"},uv={class:"fox-audio__time"},dv={class:"fox-audio__bar"},fv={class:"fox-audio__time"},mv={key:1,class:"fox-audio__icon"},hv=["controls","src","preload","autoplay","loop","muted"];function pv(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-range"),i=(0,t.resolveComponent)("Service");return(0,t.openBlock)(),(0,t.createElementBlock)("div",sv,[e.type=="progress"?((0,t.openBlock)(),(0,t.createElementBlock)("div",cv,[(0,t.createElementVNode)("div",uv,(0,t.toDisplayString)(e.currentDuration),1),(0,t.createElementVNode)("div",dv,[(0,t.createVNode)(s,{modelValue:e.percent,"onUpdate:modelValue":n[0]||(n[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:(0,t.withCtx)(()=>[...n[6]||(n[6]=[(0,t.createElementVNode)("div",{class:"fox-audio__button--custom"},null,-1)])]),_:1},8,["modelValue","onChange"])]),(0,t.createElementVNode)("div",fv,(0,t.toDisplayString)(e.duration),1)])):(0,t.createCommentVNode)("",!0),e.type=="icon"?((0,t.openBlock)(),(0,t.createElementBlock)("div",mv,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-audio__icon--box",e.playing?"fox-audio__icon--play":"fox-audio__icon--stop"]),onClick:n[1]||(n[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))],2)])):(0,t.createCommentVNode)("",!0),e.type=="none"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,onClick:n[2]||(n[2]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type!="none"?(0,t.renderSlot)(e.$slots,"default",{key:3}):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("audio",{class:"audioMain",controls:e.type=="controls",ref:"audioRef",src:e.url,preload:e.preload,autoplay:e.autoplay,loop:e.loop,onTimeupdate:n[3]||(n[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:n[4]||(n[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:n[5]||(n[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,hv)])}var bo=oe(iv,[["render",pv]]),{componentName:h2,create:gv,scope:yv}=ee("audio-operate"),bv=gv({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(yv),l=(0,t.reactive)((0,t.inject)("audioParent")),o=(0,t.ref)((0,t.useSlots)().default);return{...(0,t.toRefs)(e),...(0,t.toRefs)(l),customSlot:o,t:a}}}),Sv={class:"fox-audio-operate"};function vv(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-button");return(0,t.openBlock)(),(0,t.createElementBlock)("div",Sv,[e.type=="back"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[0]=(...i)=>e.fastBack&&e.fastBack(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("back")),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="play"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,class:"fox-audio-operate-item",onClick:n[1]||(n[1]=(...i)=>e.changeStatus&&e.changeStatus(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.audioData.playing?`${e.t("pause")}`:`${e.t("start")}`),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="forward"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,class:"fox-audio-operate-item",onClick:n[2]||(n[2]=(...i)=>e.forward&&e.forward(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("forward")),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="mute"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:3,class:"fox-audio-operate-item",onClick:n[3]||(n[3]=(...i)=>e.handleMute&&e.handleMute(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:e.audioData.hanMuted?"default":"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("mute")),1)]),_:1},8,["type"])),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0)])}var So=oe(bv,[["render",vv]]),{componentName:kv,create:wv}=ee("avatar"),Cv=wv({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:n,shape:a,bgColor:l,color:o}=(0,t.toRefs)(e),r=["large","normal","small"],s=(0,t.inject)("avatarGroup",null),i=(0,t.ref)(null),c=(0,t.reactive)({lightTheme:!1}),m=(0,t.reactive)({index:1,showMax:!1,maxIndex:0});(0,t.onMounted)(()=>{const w=s?.avatarGroupRef?.value?.children;w&&b(w)});const h=(0,t.computed)(()=>({[kv]:!0,[`fox-avatar-${n.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${a.value||s?.props?.shape||"normal"}`]:!0})),u=(0,t.computed)(()=>({width:r.indexOf(n.value)>-1?"":`${n.value}px`,height:r.indexOf(n.value)>-1?"":`${n.value}px`,backgroundColor:`${l.value}`,color:`${o.value}`,marginLeft:m.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(m.maxIndex-m.index)}`:""})),p=(0,t.computed)(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),b=w=>{m.maxIndex=w.length;for(let v=0;v<w.length;v++)w[v]&&w[v].classList&&w[v].classList[0]=="fox-avatar"&&w[v].setAttribute("data-index",v+1);m.index=i?.value?.dataset?.index,m.index==m.maxIndex&&m.index!=s?.props?.maxCount&&(m.showMax=!0)};return{classes:h,styles:u,maxStyles:p,avatarGroup:s,visible:c,avatarRef:i,...(0,t.toRefs)(m)}}});function Nv(e,n,a,l,o,r){return e.showMax||!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,style:(0,t.normalizeStyle)(e.showMax?e.maxStyles:e.styles),class:(0,t.normalizeClass)(e.classes),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(0,t.renderSlot)(e.$slots,"default",{key:0}):(0,t.createCommentVNode)("",!0),e.showMax&&e.avatarGroup?.props?.maxCount?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)],64)):(0,t.createCommentVNode)("",!0)],6)):(0,t.createCommentVNode)("",!0)}var nn=oe(Cv,[["render",Nv]]),{componentName:Av,create:Bv}=ee("avatar-group"),Tv=Bv({props:{maxContent:{type:String,default:""},maxCount:{type:[Number,String],default:""},maxBgColor:{type:String,default:"#eee"},maxColor:{type:String,default:"#666"},size:{type:String,default:""},shape:{type:String,default:""},span:{type:String,default:"-8"},zIndex:{type:String,default:"left"}},setup(e,{emit:n,slots:a}){const{size:l}=(0,t.toRefs)(e),o=(0,t.ref)(null),r=(0,t.ref)(0),s=(0,t.computed)(()=>({[Av]:!0}));return(0,t.onMounted)(()=>{}),(0,t.provide)("avatarGroup",{props:e,avatarGroupRef:o,index:r}),{classes:s,avatarGroupRef:o}}});function Vv(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"avatarGroupRef"},[(0,t.renderSlot)(e.$slots,"default")],2)}var vo=oe(Tv,[["render",Vv]]),Tt=(function(e){return e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e})({});function $v(e,n,a){let l=0,o=e.length-1,r=null;for(;l<=o;){r=Math.floor((l+o)/2);const s=e[r],i=a(s,n);if(i===Tt.eq)return r;i===Tt.lt?l=r+1:i===Tt.gt&&(o=r-1)}return r}var{componentName:Ev,create:Dv}=ee("list"),Mi=document.documentElement.clientHeight||document.body.clientHeight||667,Iv=Dv({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:Mi},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)(null),o=(0,t.ref)(null),r=(0,t.reactive)({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),s=(0,t.computed)(()=>Math.min(e.containerHeight,Mi)),i=(0,t.computed)(()=>Math.ceil(s.value/e.height)),c=(0,t.computed)(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),m=(0,t.computed)(()=>({[Ev]:!0})),h=(0,t.computed)(()=>r.list.slice(r.start,c.value)),u=()=>{if(o.value)return`translate3d(0, ${r.start>=1?r.cachePositions[r.start-1].bottom:0}px, 0)`},p=()=>{r.cachePositions=[];for(let f=0;f<r.list.length;++f)r.cachePositions[f]={index:f,height:e.height,top:f*e.height,bottom:(f+1)*(e.height+e.margin),dValue:0}},b=()=>{let f=o.value.childNodes;f=Array.from(f).filter(g=>g.nodeType===1);const k=f[0];f.forEach((g,y)=>{if(!g)return;const{height:B}=xe(g),T=r.cachePositions[y+r.start].height-B;T&&(r.cachePositions[y+r.start].bottom-=T,r.cachePositions[y+r.start].height=B,r.cachePositions[y+r.start].dValue=T)});let d=0;k&&(d=r.start);const C=r.cachePositions.length;let N=r.cachePositions[d].dValue;r.cachePositions[d].dValue=0;for(let g=d+1;g<C;++g){const y=r.cachePositions[g];r.cachePositions[g].top=r.cachePositions[g-1].bottom,r.cachePositions[g].bottom=r.cachePositions[g].bottom-N,y.dValue!==0&&(N+=y.dValue,y.dValue=0)}r.phantomHeight=r.cachePositions[C-1].bottom},w=(f=0)=>{let k=$v(r.cachePositions,f,(d,C)=>{const N=d.bottom;return N===C?Tt.eq:N<C?Tt.lt:Tt.gt});return r.cachePositions[k].bottom<f&&(k+=1),k},v=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,a.value.scrollTop=0,p(),r.phantomHeight=e.height*r.list.length},S=()=>{const f=a.value?.scrollTop,{originStartIndex:k}=r,d=w(f);d!==k&&(r.originStartIndex=d,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&n("scroll-bottom")),n(f>r.scrollTop?"scroll-up":"scroll-down",f),r.scrollTop=f};return(0,t.watch)(()=>e.listData,f=>{if(r.list=f.slice(),r.list.length===f.length)p(),b();else{v();return}}),(0,t.watch)(()=>r.start,()=>{o.value&&r.list.length>0&&b()}),{...(0,t.toRefs)(r),list:a,phantom:l,actualContent:o,getTransform:u,visibleData:h,classes:m,getContainerHeight:s,handleScrollEvent:S}}});function qv(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({height:`${e.getContainerHeight}px`}),onScrollPassive:n[0]||(n[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),ref:"list"},[(0,t.createElementVNode)("div",{class:"fox-list-phantom",style:(0,t.normalizeStyle)({height:e.phantomHeight+"px"}),ref:"phantom"},null,4),(0,t.createElementVNode)("div",{class:"fox-list-container",style:(0,t.normalizeStyle)({transform:e.getTransform()}),ref:"actualContent"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.visibleData,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"fox-list-item",key:s},[(0,t.renderSlot)(e.$slots,"default",{item:s,index:i+e.start})]))),128))],4)],38)}var ko=oe(Iv,[["render",qv]]),{componentName:xv,create:Pv}=ee("circleprogress"),Mv=Pv({props:{progress:{type:[Number,String],required:!0},strokeWidth:{type:[Number,String],default:5},radius:{type:[Number,String],default:50},strokeLinecap:{type:String,default:"round"},color:{type:[String,Object],default:""},pathColor:{type:String,default:""},clockwise:{type:Boolean,default:!0}},setup(e,{emit:n}){const a=!!(0,t.useSlots)().default,l=Math.random().toString(36).slice(-8),o=(0,t.computed)(()=>({[xv]:!0})),r=(0,t.computed)(()=>{const i=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${i} 0 90 a 45 45 0 1, ${i} 0 -90`}),s=(0,t.computed)(()=>De(e.color)?`url(#${l})`:e.color);return{classes:o,hoverStyle:(0,t.computed)(()=>{let i=283,c=i*Number(e.progress)/100;return{stroke:De(e.color)?`url(#${l})`:e.color,strokeDasharray:`${c}px ${i}px`}}),pathStyle:(0,t.computed)(()=>({stroke:e.pathColor})),path:r,hoverColor:s,stop:(0,t.computed)(()=>{if(!De(e.color))return;let i=e.color;const c=Object.keys(i).sort((h,u)=>parseFloat(h)-parseFloat(u));let m=[];return c.map((h,u)=>{let p={key:"",value:""};p.key=h,p.value=i[h],m.push(p)}),m}),slotDefault:a,refRandomId:l}}}),zv={viewBox:"0 0 100 100"},Lv=["id"],Ov=["offset","stop-color"],Rv=["d","stroke-width"],Fv=["d","stroke","stroke-linecap","stroke-width"],Kv={class:"fox-circleprogress-text"},Uv={key:0};function Hv(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({height:e.radius*2+"px",width:e.radius*2+"px"})},[((0,t.openBlock)(),(0,t.createElementBlock)("svg",zv,[(0,t.createElementVNode)("defs",null,[(0,t.createElementVNode)("linearGradient",{id:e.refRandomId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.stop,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("stop",{key:i,offset:s.key,"stop-color":s.value},null,8,Ov))),128))],8,Lv)]),(0,t.createElementVNode)("path",{class:"fox-circleprogress-path",style:(0,t.normalizeStyle)(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,Rv),(0,t.createElementVNode)("path",{class:"fox-circleprogress-hover",style:(0,t.normalizeStyle)(e.hoverStyle),d:e.path,fill:"none",stroke:e.hoverColor,"stroke-linecap":e.strokeLinecap,"stroke-width":e.strokeWidth},null,12,Fv)])),(0,t.createElementVNode)("div",Kv,[(0,t.renderSlot)(e.$slots,"default"),e.slotDefault?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",Uv,(0,t.toDisplayString)(e.progress)+"%",1))])],6)}var wo=oe(Mv,[["render",Hv]]),{componentName:jv,create:Wv}=ee("noticebar"),Yv=Wv({props:{direction:{type:String,default:"across"},list:{type:Array,default:()=>[]},standTime:{type:Number,default:1e3},complexAm:{type:Boolean,default:!1},height:{type:Number,default:40},text:{type:String,default:""},closeMode:{type:Boolean,default:!1},wrapable:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!0},color:{type:String,default:""},background:{type:String,default:""},delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:null},speed:{type:Number,default:50},showLeftIcon:{type:Boolean,default:!0}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,(0,t.h)(e.item)},Notice:ae.Notice,CircleClose:ae.CircleClose},emits:["click","close","across-end"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),o=(0,t.ref)(null),r=(0,t.reactive)({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticebar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null,showNotica:!0}),s=(0,t.computed)(()=>({[jv]:!0})),i=(0,t.computed)(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=(0,t.computed)(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":i.value,[r.animationClass]:!0})),m=(0,t.computed)(()=>{let y={};return e.color&&(y.color=e.color),e.background&&(y.background=e.background),e.direction=="vertical"&&(y.height=`${e.height}px`),y}),h=(0,t.computed)(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),u=(0,t.computed)(()=>{let y={};if(e.complexAm)y={transform:`translateY(${r.distance}px)`};else if(r.animate){let B=~~(e.height/e.speed/4);y={transition:`all ${B==0?~~(e.height/e.speed):B}s`,"margin-top":`-${e.height}px`}}return y});(0,t.watch)(()=>e.text,y=>{p(y)}),(0,t.watch)(()=>e.list,y=>{r.scrollList=[...y]});const p=y=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!l.value||!o.value)return;const B=l.value.getBoundingClientRect().width,T=o.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?T>B:e.scrollable,r.isCanScroll?(r.wrapWidth=B,r.offsetWidth=T,r.duration=T/e.speed,r.animationClass="play"):r.animationClass=""},0)},b=y=>{n("click",y)},w=y=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",y)},v=y=>{r.firstRound=!1,n("across-end",y),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},S=()=>{f(),r.timer=setInterval(f,~~(e.height/e.speed/4*1e3)+e.standTime)},f=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},k=()=>{r.timer=setInterval(()=>{let y=100;for(let B=0;B<y;B++)d(B,!(B<y-1))},e.standTime+100*e.speed)},d=(y,B)=>{setTimeout(()=>{r.distance-=e.height/100,B&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},y*e.speed)},C=y=>{n("click",y)},N=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",r.scrollList[0])};(0,t.onMounted)(()=>{e.direction=="vertical"?(a.default?g(a.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?k():S()},e.standTime)):p(e.text)}),(0,t.watch)(()=>a.default?a.default():[],y=>{e.direction==="vertical"&&a.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),g(y))});const g=y=>{y&&y.length>0&&(r.scrollList=y[0].children)};return(0,t.onActivated)(()=>{r.keepAlive&&(r.keepAlive=!1)}),(0,t.onDeactivated)(()=>{r.keepAlive=!0,clearInterval(r.timer)}),(0,t.onUnmounted)(()=>{clearInterval(r.timer)}),{...(0,t.toRefs)(e),...(0,t.toRefs)(r),isEllipsis:i,classes:s,barStyle:m,contentStyle:h,horseLampStyle:u,wrap:l,content:o,handleClick:b,onClickIcon:w,onAnimationEnd:v,go:C,handleClickIcon:N,slots:a,toPxString:de,wrapContentClass:c}}}),Xv={key:0,class:"fox-noticebar__page-lefticon"},Qv={ref:"wrap",class:"fox-noticebar__page-wrap"},Gv={class:"showNotica"},Zv=["onClick"];function _v(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Notice"),i=(0,t.resolveComponent)("CircleClose"),c=(0,t.resolveComponent)("ScrollItem");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.direction=="across"?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-noticebar__page",{"fox-noticebar__page--withicon":e.closeMode,"fox-noticebar__page--close":e.closeMode,"fox-noticebar__page--wrapable":e.wrapable}]),style:(0,t.normalizeStyle)(e.barStyle),onClick:n[3]||(n[3]=(...m)=>e.handleClick&&e.handleClick(...m))},[e.showLeftIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Xv,[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[e.leftIcon?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,size:"16px"})):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Qv,[(0,t.createElementVNode)("view",{ref:"content",class:(0,t.normalizeClass)(e.wrapContentClass),style:(0,t.normalizeStyle)(e.contentStyle),onAnimationend:n[0]||(n[0]=(...m)=>e.onAnimationEnd&&e.onAnimationEnd(...m)),"on:webkitAnimationEnd":n[1]||(n[1]=(...m)=>e.onAnimationEnd&&e.onAnimationEnd(...m))},[(0,t.renderSlot)(e.$slots,"default",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.text),1)])],38)],512),e.closeMode||e.$slots["right-icon"]?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-noticebar__page-righticon",onClick:n[2]||(n[2]=(0,t.withModifiers)((...m)=>e.onClickIcon&&e.onClickIcon(...m),["stop"]))},[e.$slots["right-icon"]?(0,t.renderSlot)(e.$slots,"right-icon",{key:0}):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))])):(0,t.createCommentVNode)("",!0)],6)),[[t.vShow,e.showNoticebar]]):(0,t.createCommentVNode)("",!0),e.scrollList.length>0&&e.direction=="vertical"&&e.showNoticebar?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-noticebar__vertical",style:(0,t.normalizeStyle)(e.barStyle)},[e.slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-noticebar__vertical-list",style:(0,t.normalizeStyle)(e.horseLampStyle)},[(0,t.createElementVNode)("div",Gv,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.scrollList,(m,h)=>((0,t.openBlock)(),(0,t.createBlock)(c,{key:h,style:(0,t.normalizeStyle)({height:e.height+"px","line-height":e.height+"px"}),item:m},null,8,["style","item"]))),128))])],4)):((0,t.openBlock)(),(0,t.createElementBlock)("ul",{key:1,class:"fox-noticebar__vertical-list",style:(0,t.normalizeStyle)(e.horseLampStyle)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.scrollList,(m,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("li",{class:"fox-noticebar__vertical-item",key:h,style:(0,t.normalizeStyle)({height:e.toPxString(e.height),lineHeight:e.toPxString(e.height)}),onClick:u=>e.go(m)},[(0,t.renderSlot)(e.$slots,"item",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(m),1)])],12,Zv))),128))],4)),(0,t.createElementVNode)("view",{class:"go",onClick:n[4]||(n[4]=m=>!e.slots.rightIcon&&e.handleClickIcon())},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[e.closeMode?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,color:e.color,size:"11px"},null,8,["color"])):(0,t.createCommentVNode)("",!0)])])],4)):(0,t.createCommentVNode)("",!0)],2)}var Co=oe(Yv,[["render",_v]]),Jv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5uLi5uLjZ2dn09fW5uLi5uLjY2Ni5uLi4t7c1Mz/MzMwbGxv/ytS1jZn09vb09fUVFRUyMD25uLn+ydPY2NgUFBQUFBT/zNb+xtL/y9X/xdD/y9UyMD0TExP5sb+4uLj/y9X+w879ws3/y9X1tMH8s8H/y9UkJSWAgYHj5OT/ytTY2NheXWDs7e7r7Ozv8PDs7u55eYH09fXMzMzY2NgyMD3/y9UzMzP8s8GwsLDm5+eKiorv8PDLy8s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aucNypwTQMiMwum2kNNfIc+p6/MXVVDqsBDUH/zidR85Fwj5Y8nVzymDU9Y063xRs0CpM+1E089q1TipDRMIiZSde4OkduL1FOsm2CyXqBwTgvoN/2AWrGzwl2UgpO+og/il1+l33E87H98i51kAJxjvZ0Cp08lT074JcKKB8eUJMWwH+8K3v77/7N4LkfNLAGA28qgSl1xInpquROEseRhxSkAWPOM8wxRODSIt7GNHQanCpeQAtQURq4KR80AWOsNlmIK5vCpg0ZuVoNTqS9KpaTGbVp3aKSLlVOaZPCgOIjqKc7L6ojRAlRZxs8VoK5WMy6lTjT/gRak1QKlFFxO9FKsBZzZZZSWQBY3nNKllAOdG70CtDcP9/s4DHtSzEDOqdONf4OQ+Kn1qWWOINqh1ZBjUXjxsoJs9GbAZpmvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:p2,create:nk,scope:lk}=ee("empty"),ak={empty:Jv,error:ek,network:tk},ok=nk({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=(0,he.useFoxI18n)(lk),a=n(e,["description"]),{image:l,imageSize:o}=(0,t.toRefs)(e),r=(0,t.computed)(()=>o.value?typeof o.value=="number"?`width:${o.value}px;height:${o.value}px`:`width:${o.value};height:${o.value}`:""),s=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:ak[l.value];return{...a,imageUrl:s,imgStyle:r}}}),rk={class:"fox-empty"},ik=["src"],sk={key:1,class:"fox-empty-description"};function ck(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",rk,[(0,t.createElementVNode)("view",{class:"fox-empty-image",style:(0,t.normalizeStyle)(e.imgStyle)},[e.$slots.image?(0,t.renderSlot)(e.$slots,"image",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[e.imageUrl?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:0,class:"img",src:e.imageUrl},null,8,ik)):(0,t.createCommentVNode)("",!0)],64))],4),e.$slots.description?(0,t.renderSlot)(e.$slots,"description",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",sk,(0,t.toDisplayString)(e.description),1)),e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:2}):(0,t.createCommentVNode)("",!0)])}var No=oe(ok,[["render",ck]]),{create:uk,scope:dk}=ee("video"),fk=uk({props:{source:{type:Object,default:{}},options:{type:Object,default:{autoplay:!1,volume:.5,poster:"",loop:!1,controls:!0,muted:!1,disabled:!1,playsinline:!1,touchPlay:!1,preload:""},required:!0},model:{type:String,default:""}},components:{},emits:["click","play","pause","playend","time"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(dk),l=(0,t.reactive)({videoElm:null,initial:!0,showToolbox:!1,player:{$player:null,pos:null},progressBar:{progressElm:null,pos:null},videoSet:{loaded:0,displayTime:"00:00",totalTime:"00:00",progress:{width:0,current:0}},state:{controlShow:!0,vol:.5,currentTime:0,fullScreen:!1,playing:!1,isLoading:!1,isEnd:!1,isError:!1,isMuted:!1},showTouchMask:!1}),o=(0,t.ref)(null),r=(0,t.computed)(()=>e.options.disabled);(0,t.watch)(()=>e.source,g=>{g.src&&(0,t.nextTick)(()=>{l.videoElm.load()})},{immediate:!0,deep:!0}),(0,t.watch)(()=>e.options,g=>{l.state.isMuted=g?g.muted:!1},{immediate:!0});const s=()=>{l.videoElm=o.value,e.options.autoplay&&setTimeout(()=>{l.videoElm.play()},200),e.options.touchPlay&&(l.showTouchMask=!0),e.options.playsinline&&(l.videoElm.setAttribute("playsinline",e.options.playsinline),l.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),l.videoElm.setAttribute("x5-video-player-type","h5-page"),l.videoElm.setAttribute("x5-video-player-fullscreen",!1)),w(),l.showToolbox?i():(l.videoElm.addEventListener("play",()=>{l.state.playing=!0,n("play",l.videoElm)}),l.videoElm.addEventListener("pause",()=>{l.state.playing=!1,n("pause",l.videoElm)}),l.videoElm.addEventListener("ended",p),l.videoElm.addEventListener("timeupdate",gn(u,1e3)))},i=()=>{const g=o.value,y=o.value.getElementsByClassName("fox-video-controller__progress-value")[0];l.player.$player=g,l.progressBar.progressElm=y,l.progressBar.pos=y.getBoundingClientRect(),l.videoSet.progress.width=Math.round(y.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return l.state.playing=!0,!1;if(l.state.playing=!l.state.playing,l.videoElm)if(l.state.playing)try{setTimeout(()=>{l.videoElm.play()},200),l.videoElm.addEventListener("progress",()=>{h()}),l.videoElm.addEventListener("timeupdate",gn(u,1e3)),l.videoElm.addEventListener("ended",p),n("play",l.videoElm)}catch{b()}else l.videoElm.pause(),n("pause",l.videoElm)},m=g=>{let y=[];const B=Math.floor(g/3600);B>0&&(B<10?y.push(`0${B}`):y.push(`${B}`));const T=Math.floor(g%3600/60);T<10?y.push(`0${T}`):y.push(`${T}`);const $=Math.round(g%3600%60);return $<10?y.push(`0${$}`):y.push(`${$}`),y.join(":")},h=()=>{l.videoSet.loaded&&(l.videoSet.loaded=l.videoElm.buffered.end(0)/l.videoElm.duration*100)},u=()=>{const g=l.videoElm.currentTime/l.videoElm.duration;l.videoSet.progress.current=Math.round(l.videoSet.progress.width*g),l.videoSet.totalTime=m(l.videoElm.duration),l.videoSet.displayTime=m(l.videoElm.currentTime),n("time",l.videoSet.displayTime,l.videoSet.totalTime)},p=()=>{l.state.playing=!1,l.state.isEnd=!0,l.videoSet.displayTime="00:00",l.videoSet.progress.current=0,l.videoElm.currentTime=0,n("playend",l.videoElm)},b=()=>{l.state.isError=!0},w=()=>{l.state.vol=e.options.volume},v=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},S=()=>{},f=g=>{let y=g.targetTouches[0].pageX-l.progressBar.pos.left;y<=0&&(y=0),y>=l.videoSet.progress.width&&(y=l.videoSet.progress.width),l.videoSet.progress.current=y;let B=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},k=g=>{let y=g.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=y;let B=y/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},d=(g,y)=>{l.videoElm.currentTime=Math.floor(g*y)},C=()=>{l.state.isError=!1,s()},N=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return(0,t.onMounted)(()=>{s()}),{root:o,...(0,t.toRefs)(e),...(0,t.toRefs)(l),handleError:b,isDisabled:r,play:c,handleMuted:v,touchSlidSrart:S,touchSlidMove:f,touchSlidEnd:k,retry:C,fullScreen:N,t:a}}}),mk={class:"fox-video",ref:"videocon"},hk=["muted","autoplay","loop","poster","controls","preload"],pk=["src","type"],gk={class:"fox-video-controller__now"},yk={class:"fox-video-controller__progress"},bk={class:"fox-video-controller__progress-value",ref:"progressBar"},Sk={class:"fox-video-controller__played",ref:"playedBar"},vk={class:"fox-video-controller__total"},kk={class:"fox-video-error"},wk={class:"fox-video-error-tip"};function Ck(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",mk,[(0,t.createElementVNode)("video",{ref:"root",class:"fox-video-player",muted:e.options.muted,autoplay:e.options.autoplay,loop:e.options.loop,poster:e.options.poster,controls:e.options.controls,preload:e.options.preload,onError:n[0]||(n[0]=(...s)=>e.handleError&&e.handleError(...s))},[(0,t.createElementVNode)("source",{src:e.source.src,type:e.source.type},null,8,pk)],40,hk),e.showToolbox&&!e.isDisabled?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:n[1]||(n[1]=(...s)=>e.play&&e.play(...s))},null,512)):(0,t.createCommentVNode)("",!0),e.showToolbox&&!e.isDisabled?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,class:"fox-video-play-btn",ref:"palyBtn",onClick:n[2]||(n[2]=(...s)=>e.play&&e.play(...s))},null,512)),[[t.vShow,!e.state.playing]]):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-video-controller",{"fox-video-controller--show":!e.state.playing,"fox-video-controller--hide":e.state.playing}])},[(0,t.createElementVNode)("div",{class:"fox-video-controller__playbtn",onClick:n[3]||(n[3]=(...s)=>e.play&&e.play(...s))}),(0,t.createElementVNode)("div",gk,(0,t.toDisplayString)(e.videoSet.displayTime),1),(0,t.createElementVNode)("div",yk,[(0,t.createElementVNode)("div",bk,[(0,t.createElementVNode)("div",{class:"buffered",style:(0,t.normalizeStyle)({width:`${e.videoSet.loaded}%`})},null,4),(0,t.createElementVNode)("div",{class:"fox-video-controller__ball",style:(0,t.normalizeStyle)({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:n[4]||(n[4]=(0,t.withModifiers)(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:n[5]||(n[5]=(0,t.withModifiers)(s=>e.touchSlidSrart(),["stop"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)(s=>e.touchSlidEnd(s),["stop"]))},[...n[10]||(n[10]=[(0,t.createElementVNode)("div",{class:"fox-video-controller__ball-move"},null,-1)])],36),(0,t.createElementVNode)("div",Sk,null,512)],512)]),(0,t.createElementVNode)("div",vk,(0,t.toDisplayString)(e.videoSet.totalTime),1),(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),(0,t.createElementVNode)("div",{class:"fox-video-controller__full",onClick:n[8]||(n[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),(0,t.withDirectives)((0,t.createElementVNode)("div",kk,[(0,t.createElementVNode)("p",wk,(0,t.toDisplayString)(e.t("errorTip")),1),(0,t.createElementVNode)("p",{class:"fox-video-error-retry",onClick:n[9]||(n[9]=(...s)=>e.retry&&e.retry(...s))},(0,t.toDisplayString)(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}var Vt=oe(fk,[["render",Ck]]),{create:Nk,componentName:Ak}=ee("steps"),Bk=Nk({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({children:[]}),o=(0,t.computed)(()=>{const i=Ak;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&l.children.push(i)},s=i=>{n("click-step",i)};return(0,t.provide)("parent",{relation:r,state:l,props:e,onEmit:s}),()=>(0,t.h)("view",{class:o.value},a.default?.())}}),Ao=Bk,{create:Tk,componentName:Vk}=ee("step"),$k=Tk({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=(0,t.getCurrentInstance)(),n=(0,t.inject)("parent");n.relation(e);const a=(0,t.reactive)({dot:n.props.progressDot}),l=(0,t.computed)(()=>n.state.children.indexOf(e)+1),o=()=>{const c=l.value;return c<+n.props.current?"finish":c===+n.props.current?"process":"wait"},r=(0,t.computed)(()=>o()),s=(0,t.computed)(()=>{const c=Vk;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{n.onEmit(l.value)};return{...(0,t.toRefs)(a),index:l,classes:s,handleClickStep:i}}}),Ek={class:"fox-step-head"},Dk={class:"fox-step-icon-inner"},Ik={key:1,class:"fox-step-inner"},qk={class:"fox-step-main"},xk={class:"fox-step-title"},Pk={key:0},Mk={key:0,class:"fox-step-content"},zk=["innerHTML"];function Lk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[(0,t.createElementVNode)("view",Ek,[n[1]||(n[1]=(0,t.createElementVNode)("view",{class:"fox-step-line"},null,-1)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-step-icon",[e.dot?"":"is-icon"]])},[(0,t.createElementVNode)("view",Dk,[(0,t.renderSlot)(e.$slots,"icon",{},()=>[e.dot?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[],64)):((0,t.openBlock)(),(0,t.createElementBlock)("view",Ik,(0,t.toDisplayString)(e.index),1))])])],2)]),(0,t.createElementVNode)("view",qk,[(0,t.createElementVNode)("view",xk,[e.$slots.title?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",Pk,(0,t.toDisplayString)(e.title),1)),(0,t.renderSlot)(e.$slots,"title")]),e.content||e.$slots.content?((0,t.openBlock)(),(0,t.createElementBlock)("view",Mk,[e.$slots.content?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:e.content},null,8,zk)),(0,t.renderSlot)(e.$slots,"content")])):(0,t.createCommentVNode)("",!0)])],2)}var Bo=oe($k,[["render",Lk]]),{create:Ok,componentName:To}=ee("swiper"),Rk=Ok({props:{width:{type:[Number,String],default:window.innerWidth},height:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},autoPlay:{type:[Number,String],default:0},initPage:{type:[Number,String],default:0},touchable:{type:Boolean,default:!0},isPreventDefault:{type:Boolean,default:!0},isStopPropagation:{type:Boolean,default:!0}},emits:["change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(),o=(0,t.reactive)({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=Je(),s=(0,t.computed)(()=>({[To]:!0})),i=(0,t.computed)(()=>e.direction==="vertical"),c=(0,t.computed)(()=>{const M=To;return{[`${M}-inner`]:!0,[`${M}-vertical`]:i.value}}),m=(0,t.computed)(()=>{const M=To;return{[`${M}-pagination`]:!0,[`${M}-pagination-vertical`]:i.value}}),h=(0,t.computed)(()=>i.value?r.deltaY.value:r.deltaX.value),u=(0,t.computed)(()=>r.direction.value===e.direction),p=(0,t.computed)(()=>o.children.length),b=(0,t.computed)(()=>o[i.value?"height":"width"]),w=(0,t.computed)(()=>p.value*b.value),v=(0,t.computed)(()=>o.rect?(i.value?o.rect.height:o.rect.width)-b.value*p.value:0),S=(0,t.computed)(()=>(o.active+p.value)%p.value),f=()=>{let M=0;M=o.offset,o.style={transitionDuration:`${o.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${M}px)`,[i.value?"height":"width"]:`${b.value*p.value}px`,[i.value?"width":"height"]:`${i.value?o.width:o.height}px`}},k=M=>{let R=[];const K=o.childrenVNode.length;let q=a?.default?.();if(q=q.filter(G=>G.children&&Array.isArray(G.children)),q.forEach(G=>{R=R.concat(G.children)}),!K)o.childrenVNode=R.slice(),M.proxy&&o.children.push(M.proxy);else if(K>R.length)o.children=o.children.filter(G=>M.proxy!==G);else if(K<R.length){for(let G=0;G<K;G++)if(R[G].key!==o.childrenVNode[G].key){M.proxy&&o.children.splice(G,0,M.proxy),M.vnode&&o.childrenVNode.splice(G,0,M.vnode);break}K!==R.length&&(M.proxy&&o.children.push(M.proxy),M.vnode&&o.childrenVNode.push(M.vnode))}else o.childrenVNode=R.slice(),M.proxy&&o.children.push(M.proxy)},d=(M,R=0)=>{let K=M*b.value;e.loop||(K=Math.min(K,-v.value));let q=R-K;return e.loop||(q=We(q,v.value,0)),q},C=M=>{const{active:R}=o;return M?e.loop?We(R+M,-1,p.value):We(R+M,0,p.value-1):R},N=({pace:M=0,offset:R=0,isEmit:K=!1})=>{if(p.value<=1)return;const{active:q}=o,G=C(M),ne=d(G,R);if(e.loop){if(o.children[0]&&ne!==v.value){const O=ne<v.value;o.children[0].setOffset(O?w.value:0)}if(o.children[p.value-1]&&ne!==0){const O=ne>0;o.children[p.value-1].setOffset(O?-w.value:0)}}o.active=G,o.offset=ne,K&&q!==o.active&&n("change",S.value),f()},g=()=>{o.moving=!0,o.active<=-1&&N({pace:p.value}),o.active>=p.value&&N({pace:-p.value})},y=()=>{o.autoplayTimer&&clearTimeout(o.autoplayTimer)},B=M=>{g(),r.reset(),Ye(()=>{Ye(()=>{o.moving=!1,N({pace:M,isEmit:!0})})})},T=()=>{B(-1)},$=()=>{B(1)},V=M=>{g(),r.reset(),Ye(()=>{o.moving=!1;let R;e.loop&&p.value===M?R=o.active===0?0:M:R=M%p.value,N({pace:R-o.active,isEmit:!0})})},W=()=>{const M=me(e.autoPlay);M<=0||p.value<=1||(y(),o.autoplayTimer=setTimeout(()=>{$(),W()},M))},_=(M=+e.initPage)=>{y(),o.rect=l.value.getBoundingClientRect(),M=Math.min(p.value-1,M),o.width=e.width?+e.width:o.rect.width,o.height=e.height?+e.height:o.rect.height,o.active=M,o.offset=d(o.active),o.moving=!0,f(),W()},E=M=>{e.isPreventDefault&&M.preventDefault(),e.isStopPropagation&&M.stopPropagation(),e.touchable&&(r.start(M),o.touchTime=Date.now(),y(),g())},D=M=>{e.touchable&&o.moving&&(r.move(M),u.value&&N({offset:h.value}))},L=M=>{if(!e.touchable||!o.moving)return;const R=h.value/(Date.now()-o.touchTime);if((Math.abs(R)>.3||Math.abs(h.value)>+(b.value/2).toFixed(2))&&u.value){let K=0;const q=i.value?r.offsetY.value:r.offsetX.value;e.loop?K=q>0?h.value>0?-1:1:0:K=-Math[h.value>0?"ceil":"floor"](h.value/b.value),N({pace:K,isEmit:!0})}else h.value&&N({pace:0});o.moving=!1,f(),W()};return(0,t.provide)("parent",{props:e,size:b,relation:k}),Te({prev:T,next:$,to:V}),(0,t.onDeactivated)(()=>{y()}),(0,t.onBeforeUnmount)(()=>{y()}),(0,t.watch)(()=>e.initPage,M=>{(0,t.nextTick)(()=>{_(Number(M))})}),(0,t.watch)(()=>o.children.length,()=>{(0,t.nextTick)(()=>{_()})}),(0,t.watch)(()=>e.autoPlay,M=>{me(M)>0?W():y()}),{state:o,classes:s,classesInner:c,classesPagination:m,container:l,activePagination:S,onTouchStart:E,onTouchMove:D,onTouchEnd:L}}});function Fk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{ref:"container",class:(0,t.normalizeClass)(e.classes),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))},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classesInner),style:(0,t.normalizeStyle)(e.state.style)},[(0,t.renderSlot)(e.$slots,"default")],6),(0,t.renderSlot)(e.$slots,"page"),e.paginationVisible&&!e.$slots.page?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.classesPagination)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.state.children.length,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("i",{style:(0,t.normalizeStyle)({backgroundColor:e.activePagination===i?e.paginationColor:"#ddd"}),class:(0,t.normalizeClass)({active:e.activePagination===i}),key:i},null,6))),128))],2)):(0,t.createCommentVNode)("",!0)],34)}var $t=oe(Rk,[["render",Fk]]),{create:Kk,componentName:Uk}=ee("swiper-item"),Hk=Kk({setup(e,{slots:n}){const a=(0,t.inject)("parent");a.relation((0,t.getCurrentInstance)());const l=(0,t.reactive)({offset:0}),o=(0,t.computed)(()=>({[Uk]:!0})),r=(0,t.computed)(()=>{const i={},c=a?.props.direction;return a?.size.value&&(i[c==="horizontal"?"width":"height"]=`${a?.size.value}px`),l.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${l.offset}px)`),i}),s=i=>{l.offset=i};return(0,t.onUnmounted)(()=>{a.relation((0,t.getCurrentInstance)(),"unmount")}),Te({setOffset:s}),{style:r,classes:o}}});function jk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6)}var Et=oe(Hk,[["render",jk]]),zi={show:{type:Boolean,default:!1},initNo:{type:Number,default:0},showIndex:{type:Boolean,default:!0},minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},{create:Wk}=ee("image-preview-item"),Yk=Wk({props:{...zi,image:{type:Object,default:()=>({})},video:{type:Object,default:()=>({})},rootWidth:{type:Number,default:0},rootHeight:{type:Number,default:0},contentClose:{type:Boolean,default:!0}},emits:["close","scale"],components:{[Vt.name]:Vt,[Et.name]:Et},setup(e,{emit:n}){const a=(0,t.reactive)({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),l=Je(),o=(0,t.computed)(()=>{const{rootWidth:T,rootHeight:$}=e,V=$/T;return a.imageRatio>V}),r=(0,t.computed)(()=>{const T=e.image;if(T&&T.src){const{scale:$,moveX:V,moveY:W,moving:_,zooming:E}=a,D={transitionDuration:E||_?"0s":".3s"};return $!==1&&(D.transform=`scale(${$}, ${$}) translate(${V/$}px, ${W/$}px)`),D}return{}}),s=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:T,rootHeight:$}=e,V=o.value?$/a.imageRatio:T;return Math.max(0,(a.scale*V-T)/2)}return 0}),i=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:T,rootHeight:$}=e,V=o.value?$:T*a.imageRatio;return Math.max(0,(a.scale*V-$)/2)}return 0}),c=T=>{const{naturalWidth:$,naturalHeight:V}=T.target;a.imageRatio=V/$},m=()=>{h(1),a.moveX=0,a.moveY=0},h=T=>{T=We(T,+e.minZoom,+e.maxZoom+1),T!==a.scale&&(a.scale=T,n("scale",{scale:T,index:e.initNo}))},u=()=>{h(a.scale>1?1:2),a.moveX=0,a.moveY=0},p=T=>Math.sqrt((T[0].clientX-T[1].clientX)**2+(T[0].clientY-T[1].clientY)**2);let b,w,v,S,f,k,d;const C=T=>{const{touches:$}=T,{offsetX:V}=l;l.start(T),d=$.length,b=a.moveX,w=a.moveY,k=Date.now(),a.moving=d===1&&a.scale!==1,a.zooming=d===2&&!V.value,a.zooming&&(v=a.scale,S=p(T.touches))},N=T=>{const{touches:$}=T;if(l.move(T),(a.moving||a.zooming)&&Al(T,!0),a.moving){const{deltaX:V,deltaY:W}=l,_=V.value+b,E=W.value+w;a.moveX=We(_,-s.value,s.value),a.moveY=We(E,-i.value,i.value)}if(a.zooming&&$.length===2){const V=p($);h(v*V/S)}},g=()=>{if(d==1&&e.video&&e.video.source||d>1)return;const{offsetX:T,offsetY:$}=l,V=Date.now()-k,W=250,_=5;T.value<_&&$.value<_&&V<W&&(f?(clearTimeout(f),f=null,u()):f=setTimeout(()=>{e.contentClose&&n("close"),f=null},W))},y=T=>{let $=!1;(a.moving||a.zooming)&&($=!0,a.moving&&b===a.moveX&&w===a.moveY&&($=!1),T.touches.length||(a.zooming&&(a.moveX=We(a.moveX,-s.value,s.value),a.moveY=We(a.moveY,-i.value,i.value),a.zooming=!1),a.moving=!1,b=0,w=0,v=1,a.scale<1&&m(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),Al(T,$),g(),l.reset()},B=()=>{n("close")};return(0,t.watch)(()=>e.initNo,m),(0,t.watch)(()=>e.show,T=>{T||m()}),{...(0,t.toRefs)(a),onTouchStart:C,onTouchMove:N,onTouchEnd:y,getDistance:p,imageStyle:r,imageLoad:c,closeSwiper:B}}}),Xk=["src"];function Qk(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-video"),i=(0,t.resolveComponent)("fox-swiper-item");return(0,t.openBlock)(),(0,t.createBlock)(i,{onClick:e.closeSwiper},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{style:(0,t.normalizeStyle)(e.imageStyle),class:"fox-image-preview-box",onTouchstart:n[1]||(n[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[2]||(n[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[4]||(n[4]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[e.image&&e.image.src?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:0,src:e.image.src,class:"fox-image-preview-img",onLoad:n[0]||(n[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,Xk)):(0,t.createCommentVNode)("",!0),e.video&&e.video.source?((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):(0,t.createCommentVNode)("",!0)],36)]),_:1},8,["onClick"])}var Gk=oe(Yk,[["render",Qk]]),{create:Zk}=ee("image-preview"),_k=Zk({props:{...zi,images:{type:Array,default:()=>[]},videos:{type:Array,default:()=>[]},contentClose:{type:Boolean,default:!0},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},autoplay:{type:[Number,String],default:0},teleport:{type:[String,Element],default:"body"},teleportDisable:{ype:Boolean,default:!1},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},beforeClose:Function,isLoop:{type:Boolean,default:!0}},emits:["close","change"],components:{ImagePreviewItem:Gk,CircleClose:ae.CircleClose,[be.name]:be,[$t.name]:$t},setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.reactive)({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),o=(0,t.computed)(()=>{const h="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${h}-right`:`${h}-left`}`}),r=(0,t.computed)(()=>sn(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=h=>{h!==l.active&&(l.active=h,n("change",l.active))},i=()=>{Ii(e.beforeClose,{args:[l.active],done:()=>c()})},c=()=>{l.showPop=!1,n("close")},m=()=>{if(a.value){const h=xe(a.value);l.rootHeight=h.height,l.rootWidth=h.width}};return(0,t.watch)(()=>e.show,h=>{l.showPop=h,h&&(s(e.initNo),m())}),(0,t.watch)(()=>e.initNo,h=>{h!=l.active&&s(h)}),(0,t.onMounted)(()=>{s(e.initNo)}),{swipeRef:a,...(0,t.toRefs)(l),onClose:i,mergeImages:r,setActive:s,iconClasses:o}}}),Jk={class:"fox-image-preview",ref:"swipeRef"},ew={key:0,class:"fox-image-preview-index"};function tw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("image-preview-item"),i=(0,t.resolveComponent)("fox-swiper"),c=(0,t.resolveComponent)("CircleClose"),m=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(m,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":n[1]||(n[1]=h=>e.showPop=h),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Jk,[e.showPop?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,"auto-play":e.autoplay,class:"fox-image-preview-swiper",loop:e.isLoop,"is-preventDefault":!1,direction:"horizontal",onChange:e.setActive,"init-page":e.initNo,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.mergeImages,(h,u)=>((0,t.openBlock)(),(0,t.createBlock)(s,{key:u,video:u<e.videos.length?h:{},image:u>=e.videos.length?h:{},rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active+1,onClose:e.onClose,"content-close":e.contentClose,maxZoom:e.maxZoom,minZoom:e.minZoom},null,8,["video","image","rootHeight","rootWidth","show","init-no","onClose","content-close","maxZoom","minZoom"]))),128))]),_:1},8,["auto-play","loop","onChange","init-page","pagination-visible","pagination-color"])):(0,t.createCommentVNode)("",!0)],512),e.showIndex?((0,t.openBlock)(),(0,t.createElementBlock)("view",ew,(0,t.toDisplayString)(e.active+1)+" / "+(0,t.toDisplayString)(e.mergeImages.length),1)):(0,t.createCommentVNode)("",!0),e.closeable?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.iconClasses),onClick:n[0]||(n[0]=(...h)=>e.onClose&&e.onClose(...h))},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(c,{color:"#ffffff"})])],2)):(0,t.createCommentVNode)("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}var Li=oe(_k,[["render",tw]]),nw=class{show=!1;images=[];videos=[];contentClose=!0;initNo=0;paginationVisible=!1;paginationColor="";autoplay=0;isWrapTeleport=!1;showIndex=!0;closeable=!1;closeIconPosition="top-right";beforeClose;maxZoom=3;minZoom=1/3;isLoop=!0;teleport="body"},lw=class{options=new nw;constructor(e){const n=Object.assign(this.options,e),{unmount:a}=Vs(n,{name:"image-preview",components:[be,Vt,$t,Et,rt],wrapper:()=>({setup(){return()=>(n.onClose=()=>{n.show=!1,(0,t.nextTick)(()=>{a()})},(0,t.h)(Li,n))}})})}},dl=e=>new lw(e);dl.install=e=>{e.use(Li)};function aw(e){const n=(0,t.getCurrentInstance)();if(n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}var{componentName:g2,create:ow}=ee("countup"),rw=ow({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTurnMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)([]),o=B=>{B&&l.value.push(B)},r=(0,t.reactive)({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:s,scrolling:i,customBgImg:c,type:m}=(0,t.reactive)(e);(0,t.watch)(()=>e.customChangeNum,(B,T)=>{u(),S(0)}),(0,t.watch)(()=>e.machinePrizeLevel,(B,T)=>{r.prizeLevelTrun=B}),(0,t.watch)(()=>e.initNum,(B,T)=>{r.current=B,r.valFlag=!1,h()}),(0,t.watch)(()=>e.endNum,(B,T)=>{r.current=e.initNum,r.valFlag=!1,h()});const h=()=>{if(r.valFlag)return!1;s&&(i||c?m!="machine"&&S():(v(),setTimeout(()=>{r.valFlag=!0},300)))},u=()=>{clearInterval(Number(r.timer)),r.timer=null},p=(B,T,$)=>{const V=(B.toString().split(".")[1]||"").length,W=(T.toString().split(".")[1]||"").length,_=Math.pow(10,Math.max(V,W));return $=="-"?Number((B*_-T*_).toFixed(0))/_:Number((B*_+T*_).toFixed(0))/_},b=B=>{let{num_total_len:T,pointNum:$,initDigit1:V,initDigit2:W,sortFlag:_}=r,E=_=="add"||_=="equal"?String(W)[B-(T-$)]:10-Number(String(W)[B-(T-$)]),D=_=="add"||_=="equal"?String(V)[B]:10-Number(String(V)[B]),L=B>T-$-1?-E*100+"%":B<=String(V).length-1?-D*100+"%":0;return L=="-1000%"&&(L=0),L},w=B=>{let{num_total_len:T,pointNum:$,initDigit1:V,initDigit2:W,sortFlag:_}=r,E=String(W)[B-(T-$)];return B>T-$-1?E||0:B<=String(V).length-1?String(V)[B]:0},v=()=>{let{endNum:B,initNum:T,speed:$,toFixed:V}=e,W=setInterval(()=>{if(T>B)if(r.current<=B||r.current<=$)r.current=Number(B.toFixed(V)),clearInterval(W),n("scroll-end"),r.valFlag=!1;else{let _=parseFloat(String(r.current))-parseFloat(String($));r.current=Number(_.toFixed(V))}else if(r.current>=B)r.current=Number(B.toFixed(V)),clearInterval(W),n("scroll-end"),r.valFlag=!1;else{let _=parseFloat(String(r.current))+parseFloat(String($));r.current=Number(_.toFixed(V))}},e.during)},S=B=>{let{initNum:T,endNum:$,toFixed:V,customBgImg:W}=e;W&&(T=e.customChangeNum);let _,E,D,L;T!=0?(V!=0&&(T=Number(T.toFixed(V))),String(T).indexOf(".")>-1?(_=String(T).split(".")[0].length,E=String(T).split(".")[1].length):(_=String(T).length,E=0)):(_=1,E=0),$!=0?(V!=0&&($=Number($.toFixed(V))),String($).indexOf(".")>-1?(D=String($).split(".")[0].length,L=String($).split(".")[1].length):(D=String($).length,L=0)):(D=1,L=0);let M=_>=D?_:D,R=E>=L?E:L;r.num_total_len=M+R,r.pointNum=R,T>$?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=p(T,$,"-"),r.numberVal=Number(String(T))):T<$?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=p($,T,"-"),r.numberVal=Number(String($))):r.sortFlag="equal";var K=1;for(let G=0;G<r.pointNum;G++)K*=10;var q=r.numberVal*K;if(r.relNum=q,V!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(q).length),String(T).indexOf(".")>-1){let G=String(T).split(".");r.initDigit1=Number(G[0]),r.initDigit2=Number(G[1])}else r.initDigit1=T,r.initDigit2=0;i&&!W?(0,t.nextTick)(()=>{if(r.sortFlag=="equal")return!1;let G=l.value[r.num_total_len-1];f(G)}):B!==0&&C()},f=B=>{u();var T=1;r.pointNum!=0&&(T=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{k(B),r.totalCount=p(r.totalCount,T,"-"),r.totalCount<=0&&(u(),n("scroll-end"),r.valFlag=!1)},e.during)},k=B=>{let T=B.getAttribute("turn-number"),$;if(r.sortFlag=="add"?$=parseInt(String(T))+1:$=parseInt(String(T))-1>=0?parseInt(String(T))-1:9,B.setAttribute("turn-number",String($)),(B.style.transition=="none 0s ease 0s"||$==1||!B.style.transition)&&(B.style.transition=`all linear ${e.during}ms`),$==10||r.sortFlag=="reduce"&&$==0){var V=null;B.style.top=`-${r.sortFlag=="add"?$*100:(10-$)*100}%`,B.setAttribute("turn-number","0"),V=setTimeout(()=>{V&&clearTimeout(V),B.style.transition="none",B.style.top="0",d(B,$)},.975*e.during)}else B.style.top=`-${r.sortFlag=="add"?$*100:(10-$)*100}%`;B.style.top=="-100%"&&r.sortFlag=="reduce"&&k(B.previousSibling)},d=(B,T)=>{setTimeout(()=>{T==10&&B.previousSibling&&k(B.previousSibling)},200)},C=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),(0,t.nextTick)(()=>{a.value.addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),r.valFlag=!1})})},N=()=>{for(r.notPrize=[];r.notPrize.length<3;){var B=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(B)==-1&&r.notPrize.push(B)}};aw({machineLuck:()=>{const B=e.machineTurnMore<0?0:e.machineTurnMore;let T=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&N();for(let $=0;$<e.machineNum;$++)setTimeout(()=>{let V=T*($+1+parseFloat(String(B)));r.prizeYPrev.length!=0&&(r.prizeY[$]=r.prizeYPrev[$]);let W=r.prizeYPrev[$]?r.prizeYPrev[$]:0,_=V+W+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(T-W);r.prizeLevelTrun<0&&(_+=e.numHeight*r.notPrize[$]),y($,_,W)},500*$)}});const y=(B,T,$)=>{let V=setInterval(()=>{if($<=T)$+=10,r.prizeY[B]=parseFloat(String($));else if(clearInterval(V),V=null,r.finshMachine+=1,r.prizeY[B]=T,r.finshMachine==e.machineNum){let W=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(_=>{let E=_;for(;E>W;)E-=W;r.prizeYPrev.push(E)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(n("scroll-end",!1),r.valFlag=!1):(n("scroll-end",!0),r.valFlag=!1)},130)}},30)};return(0,t.onMounted)(()=>{r.current=e.initNum,(0,t.nextTick)(()=>{h()})}),(0,t.onUnmounted)(()=>{u(),r.timer=null}),{...(0,t.toRefs)(r),...(0,t.toRefs)((0,t.reactive)(e)),runNumberImg:a,setRef:o,topNumber:b,turnNumber:w}}}),iw={class:"fox-countup"},sw=["turn-number"];function cw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",iw,[e.customBgImg!=""?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[e.type=="machine"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup__machine",style:(0,t.normalizeStyle)({height:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.machineNum,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__machine-item",key:"mImg"+i,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[i]+"px"})},null,4))),128))],4)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,ref:"runNumberImg",class:"fox-countup__numberimg",style:(0,t.normalizeStyle)({height:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.num_total_len,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__numberimg__item",key:"cImg"+i,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(Number(i)>e.num_total_len-e.pointNum-1?Number(i)==e.num_total_len-e.pointNum?Number(i)*1.5:Number(i)*1.3:Number(i))+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[i]*e.numHeight+e.customSpacNum*+String(e.relNum)[i])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup-pointstyl",style:(0,t.normalizeStyle)({width:e.numWidth/2+"px",bottom:0,left:e.numWidth*(e.num_total_len-e.pointNum)*1.1+"px",fontSize:"30px"})},".",4)):(0,t.createCommentVNode)("",!0)],4))],64)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[e.scrolling?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup__number",style:(0,t.normalizeStyle)({width:e.numWidth*e.num_total_len+e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.num_total_len,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{ref_for:!0,ref:c=>e.setRef(c),class:"fox-countup__number-item",key:s,style:(0,t.normalizeStyle)({top:e.topNumber(i),left:e.numWidth*(Number(i)>e.num_total_len-e.pointNum-1?Number(i)*1.1:Number(i))+"px"}),"turn-number":e.turnNumber(i)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.to0_10,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__number-item__span",key:"dote"+m,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},(0,t.toDisplayString)(c),5))),128))],12,sw))),128)),e.pointNum>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup-pointstyl",style:(0,t.normalizeStyle)({width:e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px",top:0,left:e.numWidth*(e.num_total_len-e.pointNum)+"px"})},".",4)):(0,t.createCommentVNode)("",!0)],4)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.current),1)],64))],64))])}var Vo=oe(rw,[["render",cw]]),uw=e=>{if(!e)return Date.now();let n=Number(e),a=n>0?+n:n.toString().replace(/\-/g,"/");return new Date(a).getTime()},{componentName:dw,create:fw}=ee("countdown"),mw=fw({props:{modelValue:{type:Object,default:()=>({})},paused:{default:!1,type:Boolean},startTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},endTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},millisecond:{default:!1,type:Boolean},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0},time:{type:[Number,String],default:0}},emits:["input","on-end","on-restart","on-paused","update:modelValue"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),o=(0,t.computed)(()=>({[dw]:!0})),r=(0,t.computed)(()=>c(l.restTime)),s=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-uw(e.startTime),l.counting||(l.counting=!0),i()},i=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const b=Date.now()-l.diffTime,w=Math.max(l.handleEndTime-b,0);l.restTime=w,w||(l.counting=!1,u(),n("on-end")),w>0&&i()}}))},c=(b,w)=>{const v=b;let S={d:0,h:0,m:0,s:0,ms:0};const f=1e3,k=60*f,d=60*k,C=24*d;return v>0&&(S.d=v>=f?Math.floor(v/C):0,S.h=Math.floor(v%C/d),S.m=Math.floor(v%d/k),S.s=Math.floor(v%k/f),S.ms=Math.floor(v%f)),w=="custom"?S:m({...S})},m=b=>{let{d:w,h:v,m:S,s:f,ms:k}=b,d=e.format;if(d.includes("DD")?d=d.replace("DD",lt(w)):v+=Number(w)*24,d.includes("HH")?d=d.replace("HH",lt(v)):S+=Number(v)*60,d.includes("mm")?d=d.replace("mm",lt(S)):f+=Number(S)*60,d.includes("ss")?d=d.replace("ss",lt(f)):k+=Number(f)*1e3,d.includes("S")){const C=lt(k,3).toString();d.includes("SSS")?d=d.replace("SSS",C):d.includes("SS")?d=d.replace("SS",C.slice(0,2)):d.includes("S")&&(d=d.replace("SS",C.slice(0,1)))}return d},h=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i(),n("on-restart",l.restTime))},u=()=>{cancelAnimationFrame(l.timer),l.counting=!1,n("on-paused",l.restTime)},p=()=>{e.autoStart||(u(),l.restTime=e.time)};return(0,t.onBeforeMount)(()=>{e.autoStart?s():l.restTime=e.time}),(0,t.watch)(()=>l.restTime,b=>{let w=c(b,"custom");n("update:modelValue",w),n("input",w)}),(0,t.watch)(()=>e.paused,(b,w)=>{w?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i()),n("on-restart",l.restTime)):l.counting&&u()}),(0,t.watch)(()=>e.endTime,b=>{s()}),(0,t.watch)(()=>e.startTime,b=>{s()}),{...(0,t.toRefs)(e),slots:a,classes:o,start:h,pause:u,renderTime:r,reset:p}}}),hw=["innerHTML"];function pw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.slots.default?(0,t.renderSlot)(e.$slots,"default",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-countdown__content",innerHTML:e.renderTime},null,8,hw))],2)}var $o=oe(mw,[["render",pw]]),{create:gw}=ee("badge"),yw=gw({props:{value:{type:[String,Number]},max:{type:Number,default:1e4},dot:{type:Boolean,default:!1},bubble:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},top:{type:String,default:"0"},right:{type:String,default:"0"},zIndex:{type:Number,default:9},color:{type:String,default:""}},setup(e){return{state:(0,t.reactive)({}),stl:(0,t.computed)(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),content:(0,t.computed)(()=>{if(e.dot)return;const n=e.value,a=e.max;return typeof n=="number"&&typeof a=="number"&&a<n?`${a}+`:n})}}}),bw={class:"fox-badge"},Sw=["textContent"];function vw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",bw,[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-badge__icon",style:(0,t.normalizeStyle)(e.stl)},[(0,t.renderSlot)(e.$slots,"icon")],4),[[t.vShow,!e.hidden&&!e.dot&&e.$slots.icon]]),(0,t.renderSlot)(e.$slots,"default"),(0,t.withDirectives)((0,t.createElementVNode)("view",{textContent:(0,t.toDisplayString)(e.content),class:(0,t.normalizeClass)(["fox-badge__content fox-badge__content--sup",{"fox-badge__content--dot":e.dot,"fox-badge__content--bubble":!e.dot&&e.bubble}]),style:(0,t.normalizeStyle)(e.stl)},null,14,Sw),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}var Eo=oe(yw,[["render",vw]]),{componentName:kw,create:ww}=ee("tag"),Cw=ww({props:{color:{type:String,default:""},textColor:{type:String,default:""},type:{type:String,default:"default"},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},mark:{type:Boolean,default:!1},closeable:{type:Boolean,default:!1},symbol:{type:Boolean,default:!1},text:{type:Boolean,default:!1},light:{type:Boolean,default:!1}},components:{Close:ae.Close},emits:["close","click"],setup(e,{emit:n}){return{classes:(0,t.computed)(()=>{const s=kw;return{[s]:!0,[`${s}--${e.type}`]:!0,[`${s}--plain`]:e.plain,[`${s}--round`]:e.round,[`${s}--mark`]:e.mark,[`${s}--symbol`]:e.symbol,[`${s}--text`]:e.text,[`${s}--light`]:e.light}}),getStyle:()=>{const s={};return e.textColor?s.color=e.textColor:(e.color&&e.plain||e.color&&e.text)&&(s.color=e.color),e.plain?(s.background="#fff",s["border-color"]=e.color):!e.text&&e.color&&(s.background=e.color),s},onClose:s=>{s.stopPropagation(),n("close",s)},onClick:s=>{n("click",s)}}}});function Nw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.getStyle()),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i))},[(0,t.renderSlot)(e.$slots,"default"),e.closeable?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-tag--close",onClick:e.onClose},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],6)}var Do=oe(Cw,[["render",Nw]]),{create:Aw}=ee("popover"),Bw=Aw({components:{FoxPopup:be},props:{visible:{type:Boolean,default:!1},list:{type:Array,default:[]},theme:{type:String,default:"light"},location:{type:String,default:"bottom"},offset:{type:Array,default:[0,12]},arrowOffset:{type:Number,default:0},customClass:{type:String,default:""},showArrow:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},overlay:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0},closeOnClickAction:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},targetId:{type:String,default:""},bgColor:{type:String,default:""},teleportDisable:{type:Boolean,default:!0}},emits:["update","update:visible","close","choose","open"],setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.ref)(),o=(0,t.ref)(e.visible);let r=(0,t.ref)(),s=(0,t.ref)();const i=(0,t.computed)(()=>{const k="fox-popover-arrow",d=e.location;return`${k} ${k}-${d.split("-")[0]} ${k}--${d}`}),c=(0,t.computed)(()=>{const k={},{bgColor:d,arrowOffset:C,location:N}=e,g=N.split("-")[0],y=N.split("-")[1],B=16;return d&&(k[`border${m(g)}Color`]=d),e.arrowOffset!=0&&(["bottom","top"].includes(g)&&(y||(k.left=`calc(50% + ${C}px)`),y=="start"&&(k.left=`${B+C}px`),y=="end"&&(k.right=`${B-C}px`)),["left","right"].includes(g)&&(y||(k.top=`calc(50% - ${C}px)`),y=="start"&&(k.top=`${B-C}px`),y=="end"&&(k.bottom=`${B+C}px`))),k}),m=k=>(k=k.toLowerCase(),k=k.replace(/\b\w+\b/g,d=>d.substring(0,1).toUpperCase()+d.substring(1)),k),h=(0,t.computed)(()=>{let k={};if(!r.value||!s.value)return{};const d=s.value.width,C=s.value.height,{width:N,height:g,left:y,top:B}=r.value,{location:T,offset:$}=e,V=T.split("-")[0],W=T.split("-")[1];let _=0,E=0;return sn($)&&$.length==2&&(_+=Number($[1]),E+=Number($[0])),N&&(["bottom","top"].includes(V)&&(k.top=`${B+(V=="bottom"?g+_:-(C+_))}px`,W||(k.left=`${-(d-N)/2+y+E}px`),W=="start"&&(k.left=`${y+E}px`),W=="end"&&(k.left=`${r.value.right+E}px`)),["left","right"].includes(V)&&(k.left=`${y+(V=="left"?-(d+_):N+_)}px`,W||(k.top=`${B-C/2+g/2-4+E}px`),W=="start"&&(k.top=`${B+E}px`),W=="end"&&(k.top=`${B+g+E}px`))),k}),u=(0,t.computed)(()=>{const k={};return e.bgColor&&(k.background=e.bgColor),k}),p=()=>{let k=xe(a.value);e.targetId&&(k=xe(document.querySelector(`#${e.targetId}`))),r.value=k,setTimeout(()=>{s.value={height:l.value?.clientHeight,width:l.value?.clientWidth}},0)};(0,t.onMounted)(()=>{setTimeout(()=>{p()},200)}),(0,t.watch)(()=>e.visible,k=>{o.value=k,k?(window.addEventListener("touchstart",f,!0),p()):window.removeEventListener("touchstart",f,!0)});const b=k=>{n("update",k),n("update:visible",k)},w=()=>{b(!e.visible),n("open")},v=()=>{n("update:visible",!1),n("close")},S=(k,d)=>{!k.disabled&&n("choose",k,d),e.closeOnClickAction&&v()},f=k=>{const d=a.value,C=l.value;let N=d&&!d.contains(k.target);if(e.targetId){const g=document.querySelector(`#${e.targetId}`);N=g&&!g.contains(k.target)}N&&C&&!C.contains(k.target)&&e.closeOnClickOutside&&v()};return{showPopup:o,openPopover:w,popoverArrow:i,closePopover:v,chooseItem:S,popoverRef:a,popoverContentRef:l,getRootPosition:h,customStyle:u,popoverArrowStyle:c,renderIcon:Cr}}}),Tw={ref:"popoverContentRef",class:"fox-popover-content-group"},Vw=["onClick"],$w={class:"fox-popover-menu-item-name"};function Ew(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.targetId?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,ref:"popoverRef",class:"fox-popover-wrapper",onClick:n[0]||(n[0]=(...i)=>e.openPopover&&e.openPopover(...i))},[(0,t.renderSlot)(e.$slots,"reference")],512)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-popover",`fox-popover--${e.theme}`,`${e.customClass}`]),style:(0,t.normalizeStyle)(e.getRootPosition)},[(0,t.createVNode)(s,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.showPopup=i),"pop-class":`fox-popover-content fox-popover-content--${e.location}`,style:(0,t.normalizeStyle)(e.customStyle),position:"",transition:"fox-popover","teleport-disable":e.teleportDisable,overlay:e.overlay,duration:e.duration,"overlay-style":e.overlayStyle,"overlay-class":e.overlayClass,"close-on-click-overlay":e.closeOnClickOverlay},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Tw,[e.showArrow?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.popoverArrow),style:(0,t.normalizeStyle)(e.popoverArrowStyle)},null,6)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content"),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.list,(i,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:c,class:(0,t.normalizeClass)([i.className,i.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:(0,t.withModifiers)(m=>e.chooseItem(i,c),["stop"])},[i.icon?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(i.icon)),{key:0,class:"fox-popover-item-img"})):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",$w,(0,t.toDisplayString)(i.name),1)],10,Vw))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}var ln=oe(Bw,[["render",Ew]]),Dw=e=>({components:e,props:{width:{type:String,default:"100px"},height:{type:String,default:"15px"},animated:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},avatarShape:{type:String,default:"round"},avatarSize:{type:String,default:"50px"},loading:{type:Boolean,default:!0},round:{type:Boolean,default:!1},row:{type:String,default:"1"},title:{type:Boolean,default:!0}},setup(n){const{avatarShape:a,round:l,avatarSize:o}=(0,t.toRefs)(n),r=(0,t.computed)(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${a.value}`]:a.value}});return{avatarShape:a,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:l.value}),getStyle:()=>o.value?{width:o.value,height:o.value}:{width:"50px",height:"50px"}}}}),{create:Iw}=ee("skeleton"),qw=Iw(Dw({[nn.name]:nn})),xw={key:0},Pw={key:1,class:"fox-skeleton"},Mw={key:0,class:"fox-skeleton-animation"},zw={class:"fox-skeleton-content"};function Lw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-avatar");return e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("view",Pw,[e.animated?((0,t.openBlock)(),(0,t.createElementBlock)("view",Mw)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",zw,[e.avatar?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:(0,t.normalizeClass)(e.avatarClass),shape:e.avatarShape,style:(0,t.normalizeStyle)(e.getStyle())},null,8,["class","shape","style"])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-skeleton-content__line",style:(0,t.normalizeStyle)({width:e.width})},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.getBlockClass("fox-skeleton-blockTitle")),style:(0,t.normalizeStyle)({height:e.height})},null,6)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Number(e.row),i=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:i,class:(0,t.normalizeClass)(e.getBlockClass("fox-skeleton-blockLine")),style:(0,t.normalizeStyle)({height:e.height})},null,6))),128))],4)])])):((0,t.openBlock)(),(0,t.createElementBlock)("view",xw,[(0,t.renderSlot)(e.$slots,"default")]))}var Io=oe(qw,[["render",Lw]]),{create:Ow,componentName:Rw}=ee("collapse"),Fw=Ow({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)(e.modelValue||(e.accordion?"":[])),o=(0,t.computed)(()=>({[Rw]:!0}));(0,t.watch)(()=>e.modelValue,c=>{l.value=c});const r=(c,m,h=!0)=>{l.value=c,n("update:modelValue",c),n("change",c,m,h)},s=c=>{e.accordion?l.value===c?r("",c,!1):r(c,c,!0):Array.isArray(l.value)?l.value.includes(c)?r(l.value.filter(m=>m!==c),c,!1):r(l.value.concat([c]),c,!0):console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?l.value===c:Array.isArray(l.value)?l.value.includes(c):!1;return(0,t.provide)("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:a,classes:o}}});function Kw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"collapseDom"},[(0,t.renderSlot)(e.$slots,"default")],2)}var qo=oe(Fw,[["render",Kw]]),{create:Uw,componentName:Hw}=ee("collapse-item"),jw=Uw({props:{collapseRef:{type:Object},title:{type:String,default:""},value:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[Number,String],default:-1,required:!0},border:{type:Boolean,default:!0},icon:{type:Object,default:ae.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const n=(0,t.ref)(null),a=(0,t.ref)(null),l=(0,t.reactive)((0,t.inject)("collapseParent")),o=(0,t.computed)(()=>{const u=Hw;return{[u]:!0,[u+"__border"]:e.border}}),r=(0,t.computed)(()=>l?l.isExpanded(e.name):!1),s=(0,t.ref)(r.value?"auto":"0px"),i=()=>{l.updateVal(e.name)},c=()=>{r.value&&(s.value="auto")},m=()=>{s.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const u=a.value?.offsetHeight;s.value=u?`${u}px`:"auto"})})},h=()=>{const u=a.value?.offsetHeight;s.value=u?`${u}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.value="0px"})})};return(0,t.watch)(r,u=>{u?m():h()}),{classes:o,renderIcon:Cr,wrapperRef:n,contentRef:a,open:m,toggle:i,wrapperHeight:s,expanded:r,onTransitionEnd:c}}}),Ww={class:"fox-collapse-item__title-main"},Yw={class:"fox-collapse-item__title-main-value"},Xw=["innerHTML"],Qw={key:2,class:"fox-collapse-item__title-label"},Gw={key:0,class:"fox-collapse-item__title-sub"},Zw=["innerHTML"],_w={key:0,class:"fox-collapse__item-extraWrapper"},Jw={class:"fox-collapse__item-extraWrapper__extraRender"},eC={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function tC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-collapse-item__title",{"fox-collapse-item__title--disabled":e.disabled}]),onClick:n[0]||(n[0]=(...s)=>e.toggle&&e.toggle(...s))},[(0,t.createElementVNode)("view",Ww,[(0,t.createElementVNode)("view",Yw,[e.$slots.title?(0,t.renderSlot)(e.$slots,"title",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,innerHTML:e.title,class:"fox-collapse-item__title-mtitle"},null,8,Xw)),e.label?((0,t.openBlock)(),(0,t.createElementBlock)("view",Qw,(0,t.toDisplayString)(e.label),1)):(0,t.createCommentVNode)("",!0)])]),e.$slots.value?((0,t.openBlock)(),(0,t.createElementBlock)("view",Gw,[(0,t.renderSlot)(e.$slots,"value")])):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,Zw)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-collapse-item__title-icon",{"fox-collapse-item__title-icon--expanded":e.expanded}]),style:(0,t.normalizeStyle)({transform:"rotate("+(e.expanded?e.rotate:0)+"deg)"})},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.icon))))],6)],2),e.$slots.extra?((0,t.openBlock)(),(0,t.createElementBlock)("view",_w,[(0,t.createElementVNode)("div",Jw,[(0,t.renderSlot)(e.$slots,"extra")])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-collapse__item-wrapper",ref:"wrapperRef",style:(0,t.normalizeStyle)({willChange:"height",height:e.wrapperHeight}),onTransitionend:n[1]||(n[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[(0,t.createElementVNode)("view",eC,[(0,t.renderSlot)(e.$slots,"default")],512)],36)],2)}var xo=oe(jw,[["render",tC]]),nC=(0,t.defineComponent)({setup(e){return()=>(0,t.h)("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}}),{componentName:lC,create:aC,scope:oC}=ee("table"),rC=aC({components:{RenderColumn:nC,DownArrow:ae.DownArrow},props:{bordered:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})},summary:{type:Function,default:null},striped:{type:Boolean,default:!1}},emits:["sorter"],setup(e,{emit:n,slots:a}){const{t:l}=(0,he.useFoxI18n)(oC),o=(0,t.reactive)({curData:e.data}),r=(0,t.computed)(()=>({[lC]:!0})),s=b=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${b.align?b.align:""}`]:!0}),i=b=>b.stylehead?b.stylehead:"",c=b=>b.stylecolumn?b.stylecolumn:"",m=b=>e.columns.filter(w=>w.key===b)[0],h=b=>{const w=e.columns.filter(v=>v.key===b);return w[0].stylecolumn?w[0].stylecolumn:""},u=b=>{b.sorter&&(n("sorter",b),o.curData=typeof b.sorter=="function"?o.curData.sort(b.sorter):b.sorter==="default"?o.curData.sort():o.curData)},p=()=>e.columns.map(b=>[b.key,b.render]);return(0,t.watch)(()=>e.data,b=>{o.curData=b.slice()}),{...(0,t.toRefs)(o),classes:r,cellClasses:s,getColumnItem:m,getColumnItemStyle:h,handleSorterClick:u,sortDataItem:p,t:l,stylehead:i,stylecolumn:c}}}),iC={class:"fox-table__main__head"},sC={class:"fox-table__main__head__tr"},cC=["onClick"],uC={class:"fox-table__main__body"},dC={key:1},fC={key:0,class:"fox-table__nodata"},mC={key:0,class:"fox-table__nodata__text"},hC={key:1,class:"fox-table__summary"},pC=["innerHTML"];function gC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("DownArrow"),i=(0,t.resolveComponent)("RenderColumn");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-table__main",{"fox-table__main--striped":e.striped}])},[(0,t.createElementVNode)("view",iC,[(0,t.createElementVNode)("view",sC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,c=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__head__tr__th",e.cellClasses(c)]),key:c.key,onClick:m=>e.handleSorterClick(c),style:(0,t.normalizeStyle)(c.stylehead)},[(0,t.createTextVNode)((0,t.toDisplayString)(c.title)+" ",1),(0,t.renderSlot)(e.$slots,"icon"),!e.$slots.icon&&c.sorter?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,width:"12px",height:"12px"})):(0,t.createCommentVNode)("",!0)],14,cC))),128))])]),(0,t.createElementVNode)("view",uC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.curData,c=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-table__main__body__tr",key:c},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sortDataItem(),([m,h])=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(m))]),key:m,style:(0,t.normalizeStyle)(e.getColumnItemStyle(m))},[typeof c[m]=="function"||typeof h=="function"?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,slots:[h,c[m]],record:c},null,8,["slots","record"])):((0,t.openBlock)(),(0,t.createElementBlock)("view",dC,(0,t.toDisplayString)(c[m]),1))],6))),128))]))),128))])],2),e.curData.length?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",fC,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-table__nodata",{"fox-table__nodata--border":e.bordered}])},[(0,t.renderSlot)(e.$slots,"nodata"),e.$slots.nodata?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",mC,(0,t.toDisplayString)(e.t("noData")),1))],2)])),e.summary?((0,t.openBlock)(),(0,t.createElementBlock)("view",hC,[(0,t.createElementVNode)("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,pC)])):(0,t.createCommentVNode)("",!0)],2)}var Po=oe(rC,[["render",gC]]),{componentName:yC,create:bC}=ee("ellipsis"),SC=bC({props:{content:{type:String,default:""},direction:{type:String,default:"end"},rows:{type:[Number,String],default:1},expandText:{type:String,default:""},collapseText:{type:String,default:""},symbol:{type:String,default:"..."},lineHeight:{type:[Number,String],default:"20"}},emits:["click","change"],setup(e,{emit:n}){const a=(0,t.ref)(null);let l=null,o=0;const r=(0,t.ref)(),s=(0,t.reactive)({exceeded:!1,expanded:!1}),i=(0,t.computed)(()=>({[yC]:!0}));(0,t.watch)(()=>e.content,(v,S)=>{v!=S&&c()}),(0,t.onMounted)(()=>{c()});const c=()=>{if(!a.value)return;const v=window.getComputedStyle(a.value);l=document.createElement("div"),Array.prototype.slice.apply(v).forEach(f=>{l.style.setProperty(f,v.getPropertyValue(f))}),l.style.position="fixed",l.style.left="999999px",l.style.top="999999px",l.style.zIndex="-1000",l.style.height="auto",l.style.minHeight="auto",l.style.maxHeight="auto",l.style.textOverflow="clip",l.style.whiteSpace="normal",l.style.webkitLineClamp="unset",l.style.display="block";const S=p(v.lineHeight==="normal"?e.lineHeight:v.lineHeight);o=Math.floor(S*(Number(e.rows)+.5)+p(v.paddingTop)+p(v.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),m()},m=()=>{if(l.offsetHeight<=o)s.exceeded=!1,document.body.removeChild(l);else{s.exceeded=!0;const v=e.content.length,S=Math.floor((0+v)/2);r.value=e.direction==="middle"?u([0,S],[S,v]):h(0,v),document.body.removeChild(l)}},h=(v,S)=>{const f=s.expanded?e.collapseText:e.expandText,k=e.content.length;if(S-v<=1)return e.direction==="end"?{leading:e.content.slice(0,v)+e.symbol}:{tailing:e.symbol+e.content.slice(S,k)};const d=Math.round((v+S)/2);return e.direction==="end"?l.innerText=e.content.slice(0,d)+e.symbol+f:l.innerText=f+e.symbol+e.content.slice(d,k),l.offsetHeight<=o?e.direction==="end"?h(d,S):h(v,d):e.direction==="end"?h(v,d):h(d,S)},u=(v,S)=>{const f=s.expanded?e.collapseText:e.expandText,k=e.content.length;if(v[1]-v[0]<=1&&S[1]-S[0]<=1)return{leading:e.content.slice(0,v[0])+e.symbol,tailing:e.symbol+e.content.slice(S[1],k)};const d=Math.floor((v[0]+v[1])/2),C=Math.ceil((S[0]+S[1])/2);return l.innerText=e.content.slice(0,d)+e.symbol+f+e.symbol+e.content.slice(C,k),l.offsetHeight<=o?u([d,v[1]],[S[0],C]):u([v[0],d],[C,S[1]])},p=v=>{if(!v)return 0;const S=v.match(/^\d*(\.\d*)?/);return S?Number(S[0]):0},b=v=>{v==1?(s.expanded=!0,n("change","expand")):(s.expanded=!1,n("change","collapse"))},w=()=>{n("click")};return{...(0,t.toRefs)(s),root:a,ellipsis:r,classes:i,clickHandle:b,handleClick:w}}}),vC={key:0},kC={key:1},wC={key:2};function CC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[2]||(n[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",vC,(0,t.toDisplayString)(e.content),1)),e.exceeded&&!e.expanded?((0,t.openBlock)(),(0,t.createElementBlock)("view",kC,[(0,t.createTextVNode)((0,t.toDisplayString)(e.ellipsis&&e.ellipsis.leading),1),e.expandText?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-ellipsis__text",onClick:n[0]||(n[0]=(0,t.withModifiers)(s=>e.clickHandle(1),["stop"]))},(0,t.toDisplayString)(e.expandText),1)):(0,t.createCommentVNode)("",!0),(0,t.createTextVNode)((0,t.toDisplayString)(e.ellipsis&&e.ellipsis.tailing),1)])):(0,t.createCommentVNode)("",!0),e.exceeded&&e.expanded?((0,t.openBlock)(),(0,t.createElementBlock)("view",wC,[(0,t.createTextVNode)((0,t.toDisplayString)(e.content)+" ",1),e.expandText?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-ellipsis__text",onClick:n[1]||(n[1]=(0,t.withModifiers)(s=>e.clickHandle(2),["stop"]))},(0,t.toDisplayString)(e.collapseText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)],2)}var Mo=oe(SC,[["render",CC]]),{componentName:NC,create:AC}=ee("animate"),BC=AC({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:n}){const{type:a,loop:l,action:o}=(0,t.toRefs)(e),r=(0,t.reactive)({clicked:!1});let s=(0,t.computed)(()=>({"fox-animate__container":!0,[`${NC}-${a.value}`]:o.value==="initial"||r.clicked?a.value:!1,loop:l.value}));const i=c=>{r.clicked=!0,l.value||setTimeout(()=>{r.clicked=!1},1e3),n("click",c)};return{...(0,t.toRefs)(r),classes:s,handleClick:i}}}),TC={class:"fox-animate"};function VC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",TC,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s)),style:(0,t.normalizeStyle)({animationDuration:e.duration?`${e.duration}ms`:void 0})},[(0,t.renderSlot)(e.$slots,"default")],6)])}var zo=oe(BC,[["render",VC]]),{componentName:$C,create:EC}=ee("watermark"),DC=EC({props:{name:{type:String,default:""},gapY:{type:Number,default:48},gapX:{type:Number,default:24},zIndex:{type:Number,default:2e3},width:{type:Number,default:120},height:{type:Number,default:64},rotate:{type:Number,default:-22},image:{type:String,default:""},imageWidth:{type:Number,default:120},imageHeight:{type:Number,default:64},content:{type:String,default:""},fontColor:{type:String,default:"rgba(0,0,0,.15)"},fontStyle:{type:String,default:"normal"},fontFamily:{type:String,default:"PingFang SC"},fontWeight:{type:String,default:"normal"},fontSize:{type:[String,Number],default:14},fullPage:{type:Boolean,default:""}},emits:["click"],setup(e,{emit:n}){const a=(0,t.reactive)({base64Url:""}),{zIndex:l,gapX:o,gapY:r,width:s,height:i,rotate:c,image:m,imageWidth:h,imageHeight:u,content:p,fontStyle:b,fontWeight:w,fontColor:v,fontSize:S,fontFamily:f}=e,k=()=>{const C=document.createElement("canvas"),N=window.devicePixelRatio,g=C.getContext("2d"),y=`${(o+s)*N}px`,B=`${(r+i)*N}px`,T=s*N,$=i*N;if(C.setAttribute("width",y),C.setAttribute("height",B),g)if(m){g.translate(T/2,$/2),g.rotate(Math.PI/180*Number(c));const V=new Image;V.crossOrigin="anonymous",V.referrerPolicy="no-referrer",V.src=m,V.onload=()=>{g.drawImage(V,-h*N/2,-u*N/2,h*N,u*N),g.restore(),a.base64Url=C.toDataURL()}}else p&&(g.textBaseline="middle",g.textAlign="center",g.translate(T/2,$/2),g.rotate(Math.PI/180*Number(c)),g.font=`${b} normal ${w} ${Number(S)*N}px/${$}px ${f}`,g.fillStyle=v,g.fillText(p,0,0),g.restore(),a.base64Url=C.toDataURL());else throw new Error("当前环境不支持Canvas")};k(),(0,t.watch)(()=>[l,o,r,s,i,c,m,h,u,p,b,w,v,S,f],()=>{k()});const d=(0,t.computed)(()=>{const C=$C;return{[C]:!0,[`${C}-full-page`]:e.fullPage}});return{...(0,t.toRefs)(a),classes:d}}});function IC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({zIndex:e.zIndex,backgroundSize:`${e.gapX+e.width}px`,backgroundImage:`url('${e.base64Url}')`})},null,6)}var Lo=oe(DC,[["render",IC]]);function qC(e,n=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,n))/Math.pow(10,n)).toFixed(n))}var{componentName:xC,create:PC}=ee("trend-arrow"),MC=PC({components:{TriangleUp:ae.TriangleUp,TriangleDown:ae.TriangleDown},props:{rate:{type:Number,default:0},digits:{type:Number,default:2},showSign:{type:Boolean,default:!1},showZero:{type:Boolean,default:!1},arrowLeft:{type:Boolean,default:!1},syncTextColor:{type:Boolean,default:!0},textColor:{type:String,default:"#333"},riseColor:{type:String,default:"#fa2c19"},dropColor:{type:String,default:"#64b578"}},setup(e){const n=(0,t.reactive)({rateTrend:e.rate>0}),a=(0,t.computed)(()=>({[xC]:!0})),l=(0,t.computed)(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;n.rateTrend=r>0;const m=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?n.rateTrend?"+":"-":""}${qC(Number(m),s)}%`}),o=(0,t.computed)(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:m}=e;return{color:m===0?c:i?n.rateTrend?s:r:c}});return{...(0,t.toRefs)(n),classes:a,calcRate:l,calcStyle:o}}});function zC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("TriangleUp"),i=(0,t.resolveComponent)("TriangleDown");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.arrowLeft?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-trend-arrow-icon-before fox-trend-arrow-rate",style:(0,t.normalizeStyle)(e.calcStyle)},(0,t.toDisplayString)(e.calcRate),5)),Number(e.rate)!==0&&e.rateTrend?(0,t.renderSlot)(e.$slots,"up-icon",{key:1},()=>[(0,t.createVNode)(s,{color:e.riseColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),Number(e.rate)!==0&&!e.rateTrend?(0,t.renderSlot)(e.$slots,"down-icon",{key:2},()=>[(0,t.createVNode)(i,{color:e.dropColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),e.arrowLeft?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:3,class:"fox-trend-arrow-icon-after fox-trend-arrow-rate",style:(0,t.normalizeStyle)(e.calcStyle)},(0,t.toDisplayString)(e.calcRate),5)):(0,t.createCommentVNode)("",!0)],2)}var Oo=oe(MC,[["render",zC]]),{create:LC}=ee("tour"),OC=LC({components:{[ln.name]:ln,Close:ae.Close},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},current:{type:Number,default:0},nextStepTxt:{type:String,default:"下一步"},prevStepTxt:{type:String,default:"上一步"},completeTxt:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Array,default:[8,10]},bgColor:{type:String,default:""},theme:{type:String,default:"light"},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=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:0}),l=(0,t.ref)({}),o=(0,t.computed)(()=>"fox-tour"),r=(0,t.computed)(()=>{const{offset:h,maskWidth:u,maskHeight:p}=e,{width:b,height:w,left:v,top:S}=l.value,f=[v+b/2,S+w/2],k=Number(u||b),d=Number(p||w);return{width:`${k+ +h[1]*2}px`,height:`${d+ +h[0]*2}px`,top:`${f[1]-d/2-+h[0]}px`,left:`${f[0]-k/2-+h[1]}px`}}),s=h=>{h=="next"?a.active=a.active+1:a.active=a.active-1,a.showPopup=!1,(0,t.nextTick)(()=>{a.showPopup=!0,i()}),n("change",a.active)},i=()=>{l.value=xe(document.querySelector(`#${e.steps[a.active].target}`))},c=()=>{a.showTour=!1,a.showPopup=!1,n("close",a.active),n("update:modelValue",!1)},m=()=>{e.closeOnClickOverlay&&c()};return(0,t.onMounted)(()=>{a.active=0,i()}),(0,t.watch)(()=>e.modelValue,h=>{h&&i(),a.active=0,a.showTour=h,a.showPopup=h}),{...(0,t.toRefs)(a),classes:o,maskStyle:r,changeStep:s,close:c,handleClickMask:m}}}),RC={key:0,class:"fox-tour-content"},FC={key:0,class:"fox-tour-content-top"},KC={class:"fox-tour-content-inner"},UC={class:"fox-tour-content-bottom"},HC={class:"fox-tour-content-bottom-init"},jC={class:"fox-tour-content-bottom-operate"},WC={key:1,class:"fox-tour-content fox-tour-content-tile"},YC={class:"fox-tour-content-inner"};function XC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Close"),i=(0,t.resolveComponent)("fox-popover");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]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:m,style:{height:"0"}},[m==e.active?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[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),(0,t.createVNode)(i,{visible:e.showPopup,"onUpdate:visible":n[5]||(n[5]=h=>e.showPopup=h),location:c.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:c.popoverOffset||[0,12],arrowOffset:c.arrowOffset||0},{content:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",RC,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",FC,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...h)=>e.close&&e.close(...h))},[(0,t.createVNode)(s,{class:"fox-tour-content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",KC,(0,t.toDisplayString)(c.content),1),(0,t.createElementVNode)("div",UC,[(0,t.createElementVNode)("div",HC,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",jC,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:n[2]||(n[2]=h=>e.changeStep("prev"))},(0,t.toDisplayString)(e.prevStepTxt),1)):(0,t.createCommentVNode)("",!0)]),e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[3]||(n[3]=(...h)=>e.close&&e.close(...h))},(0,t.toDisplayString)(e.completeTxt),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[4]||(n[4]=h=>e.changeStep("next"))},(0,t.toDisplayString)(e.nextStepTxt),1)):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",WC,[(0,t.createElementVNode)("div",YC,(0,t.toDisplayString)(c.content),1)])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Ro=oe(OC,[["render",XC]]),{componentName:QC,create:GC}=ee("barrage"),ZC=GC({name:"barrage",props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},setup(e){const n=new Date().getTime(),a=!!(0,t.useSlots)().default,l=(0,t.computed)(()=>({[QC]:!0}));let o=(0,t.ref)(document.createElement("div")),r=(0,t.ref)(document.createElement("div")),s=null;const i=(0,t.ref)(e.danmu),c=(0,t.ref)(e.rows),m=(0,t.ref)(e.top),h=(0,t.ref)(0),u=e.speeds,p=(0,t.ref)(0);(0,t.onMounted)(()=>{b(),a&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(v(),h.value=0,w("hidden")):document.visibilityState==="visible"&&b()})}),(0,t.onUnmounted)(()=>{i.value=[],v()});const b=()=>{p.value=o.value.offsetWidth,a&&w("init"),setTimeout(()=>{o.value?.style.setProperty("--move-distance",`-${p.value}px`),f()},300)},w=d=>{let C=document.getElementsByClassName("slotBody"+n)?.[0]?.children||[];const N=[];C&&Array.from(C).forEach(g=>{d=="init"?(g.style.opacity="0",N.push(g)):(g.classList="",g.style={})}),d=="init"&&(i.value=N)},v=()=>{s&&(clearTimeout(s),s=null)};(0,t.watch)(()=>e.danmu,d=>{e.danmu.length>0&&(i.value=[...d])});const S=d=>{const C=h.value%i.value.length;!e.loop&&h.value===i.value.length?i.value.splice(i.value.length,0,d):i.value.splice(C,0,d)},f=()=>{v(),s=setTimeout(()=>{k()},e.frequency)},k=()=>{const d=e.loop?h.value%i.value.length:h.value;let C=document.createElement("view");a&&typeof i.value[d]=="object"?(C=i.value[d],C?.classList?.add("fox-barrage__item")):(C.innerHTML=i.value[d],C.classList.add("fox-barrage__item"),r.value.appendChild(C)),(0,t.nextTick)(()=>{const N=C.offsetHeight;if(C?.classList?.add("move"),C.style.animationDuration=`${u}ms`,C.style.top=d%c.value*(N+m.value)+20+"px",C.style.opacity="1",!a){const g=C.offsetWidth;C.style.width=g+20+"px"}C.addEventListener("animationend",()=>{a?C.classList.remove("move"):r.value.removeChild(C)}),!(!e.loop&&h.value>=i.value.length-1)&&(h.value++,h.value>=i.value.length&&(h.value=0),C.removeEventListener("animationend",()=>{}),f())})};return{classTime:n,classes:l,danmuList:i,dmBody:o,dmContainer:r,add:S}}});function _C(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{ref:"dmBody",class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",{ref:"dmContainer",class:(0,t.normalizeClass)(["dmContainer",e.$slots.default&&"slotContainer"])},[e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:(0,t.normalizeClass)(["slotBody","slotBody"+e.classTime])},[(0,t.renderSlot)(e.$slots,"default")],2)):(0,t.createCommentVNode)("",!0)],2)],2)}var Fo=oe(ZC,[["render",_C]]),{componentName:JC,create:e2,scope:t2}=ee("signature"),n2=e2({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:{[it.name]:it},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n}){const{toLocaleRefs:a}=(0,he.useFoxI18n)(t2),l=a(e,["unSupportTpl","reSign","confirmText"]),o=(0,t.ref)(null),r=(0,t.ref)(null),s=(0,t.computed)(()=>({[JC]:!0,[`${e.customClass}`]:e.customClass})),i=(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"]}),c=()=>{let k=document.createElement("canvas");return!!(k.getContext&&k.getContext("2d"))},m=()=>{o.value.addEventListener(i.events[0],h,!1)},h=k=>{k.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,n("start"),o.value.addEventListener(i.events[1],u,!1),o.value.addEventListener(i.events[2],p,!1),o.value.addEventListener(i.events[3],b,!1)},u=k=>{k.preventDefault();let d=i.isSupportTouch?k.touches[0]:k;n("signing",d);let C=o.value.getBoundingClientRect(),N=d.clientX-C.left,g=d.clientY-C.top;i.ctx.lineTo(N,g),i.ctx.stroke()},p=k=>{k.preventDefault(),n("end"),o.value.removeEventListener(i.events[1],u,!1),o.value.removeEventListener(i.events[2],p,!1)},b=k=>{k.preventDefault(),o.value.removeEventListener(i.events[1],u,!1),o.value.removeEventListener(i.events[2],p,!1)},w=()=>{o.value.addEventListener(i.events[2],p,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),n("clear")},v=()=>{f(o.value)},S=k=>{if(!k)return!0;var d=document.createElement("canvas");return d.width=k.width,d.height=k.height,k?.toDataURL()==d.toDataURL()},f=k=>{let d;switch(e.type){case"png":d=k.toDataURL("image/png");break;case"jpg":d=k.toDataURL("image/jpeg",.8);break}n("confirm",S(k)?"请绘制签名":k,S(k)?"":d)};return(0,t.onMounted)(()=>{c()&&(i.ctx=o.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,m())}),{...l,...(0,t.toRefs)(i),canvas:o,wrap:r,isCanvasSupported:c,confirm:v,clear:w,classes:s}}}),l2={class:"fox-signature-inner",ref:"wrap"},a2=["height","width"],o2={key:0,class:"fox-signature-unsopport"};function r2(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-button");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",l2,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,a2),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",o2,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=i=>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]=i=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})],2)}var Ko=oe(n2,[["render",r2]]),i2=[xl,Ml,zl,Ll,Kl,Ne,Mn,Wl,Yl,Xl,Ql,Zl,On,ea,aa,sa,ua,Gn,Zn,da,Jn,el,ma,pa,bt,ga,ba,sl,va,wa,Ht,jt,Un,Ca,Ba,Ta,Va,st,$a,Ea,Ln,zn,Da,Ia,qa,it,xa,Pa,Ma,rt,be,za,La,Oa,Ra,Yt,Fa,Ka,Ua,Ha,ja,Wa,Ya,Xa,Qa,Ga,Za,_a,Ja,eo,to,no,lo,Xt,ol,Hn,Qn,Yn,cl,ll,Kt,ao,oo,ro,io,so,co,uo,Gt,al,fo,po,nl,Bt,bo,So,nn,vo,ko,Qt,wo,Co,No,Vt,Ao,Bo,$t,Et,qn,dl,Vo,$o,Eo,Do,ln,Io,qo,xo,Po,Mo,zo,Lo,Oo,Ro,Fo,Ko],s2=new Ts(i2,"4.0.0");A.AbstractPageScopeKey=Il,A.ActionSheet=so,A.FoxActionSheet=so,A.ActionsheetItem=va,A.FoxActionsheetItem=va,A.ActionsheetPane=sl,A.FoxActionsheetPane=sl,A.Animate=zo,A.FoxAnimate=zo,A.Audio=bo,A.FoxAudio=bo,A.AudioOperate=So,A.FoxAudioOperate=So,A.Avatar=nn,A.FoxAvatar=nn,A.AvatarGroup=vo,A.FoxAvatarGroup=vo,A.BackTop=co,A.FoxBackTop=co,A.Badge=Eo,A.FoxBadge=Eo,A.Barrage=Fo,A.FoxBarrage=Fo,A.Broadcast=Bl,A.BroadcastKey=we,A.Button=it,A.FoxButton=it,A.ButtonsItem=Wl,A.FoxButtonsItem=Wl,A.Calendar=Qn,A.FoxCalendar=Qn,A.CalendarItem=ua,A.FoxCalendarItem=ua,A.Cascader=Hn,A.FoxCascader=Hn,A.CascaderItem=aa,A.FoxCascaderItem=aa,A.Cell=xa,A.FoxCell=xa,A.CellGroup=Ma,A.FoxCellGroup=Ma,A.Checkbox=Jn,A.FoxCheckbox=Jn,A.CheckboxGroup=el,A.FoxCheckboxGroup=el,A.CheckboxItem=ma,A.FoxCheckboxItem=ma,A.CircleProgress=wo,A.FoxCircleProgress=wo,A.Col=Oa,A.FoxCol=Oa,A.Collapse=qo,A.FoxCollapse=qo,A.CollapseItem=xo,A.FoxCollapseItem=xo,A.Content=Ll,A.FoxContent=Ll,A.CountDown=$o,A.FoxCountDown=$o,A.CountUp=Vo,A.FoxCountUp=Vo,A.DataItemsKey=mt,A.DateItem=sa,A.FoxDateItem=sa,A.DatePicker=Yn,A.FoxDatePicker=Yn,A.DateUtils=kt,A.Dialog=Gt,A.FoxDialog=Gt,A.Divider=Fa,A.FoxDivider=Fa,A.Domain=yn,A.DomainKey=qe,A.DomainProvider=Ia,A.FoxDomainProvider=Ia,A.Drag=uo,A.FoxDrag=uo,A.Dropdown=Ea,A.FoxDropdown=Ea,A.Elevator=Ga,A.FoxElevator=Ga,A.Ellipsis=Mo,A.FoxEllipsis=Mo,A.Empty=No,A.FoxEmpty=No,A.FixedNav=ja,A.FoxFixedNav=ja,A.FloatingButton=Ta,A.FoxFloatingButton=Ta,A.FooterBar=zl,A.FoxFooterBar=zl,A.FoxGrid=Ka,A.Grid=Ka,A.FoxGridItem=Ua,A.GridItem=Ua,A.FoxGroup=Kl,A.Group=Kl,A.FoxHeaderBar=Ml,A.HeaderBar=Ml,A.FoxHintText=bt,A.HintText=bt,A.FoxIcon=Pa,A.Icon=Pa,A.FoxImage=za,A.Image=za,A.FoxImagePreview=dl,A.ImagePreview=dl,A.FoxIndicator=eo,A.Indicator=eo,A.FoxInfiniteLoading=al,A.InfiniteLoading=al,A.FoxInputItem=Xl,A.InputItem=Xl,A.FoxInputNumber=cl,A.InputNumber=cl,A.FoxInputNumberItem=wa,A.InputNumberItem=wa,A.FoxItem=Ne,A.Item=Ne,A.FoxLayout=La,A.Layout=La,A.FoxLinkItem=ga,A.LinkItem=ga,A.FoxList=ko,A.List=ko,A.FoxMapping=Da,A.Mapping=Da,A.FoxMenu=Wa,A.Menu=Wa,A.FoxMenuItem=Ya,A.MenuItem=Ya,A.FoxMessageBox=st,A.MessageBox=st,A.FoxMoneyItem=Ql,A.MoneyItem=Ql,A.FoxMoreButton=Va,A.MoreButton=Va,A.FoxNavbar=Ha,A.Navbar=Ha,A.FoxNoticeBar=Co,A.NoticeBar=Co,A.FoxNotify=po,A.Notify=po,A.FoxNumberKeyboard=ro,A.NumberKeyboard=ro,A.FoxOverLay=rt,A.OverLay=rt,A.FoxPage=xl,A.Page=xl,A.FoxPagination=Za,A.Pagination=Za,A.FoxPicker=Kt,A.Picker=Kt,A.FoxPickerItem=ea,A.PickerItem=ea,A.FoxPopover=ln,A.Popover=ln,A.FoxPopoverDialog=Ln,A.PopoverDialog=Ln,A.FoxPopup=be,A.Popup=be,A.FoxPopupWrapper=$a,A.PopupWrapper=$a,A.FoxPrice=qn,A.Price=qn,A.FoxProgress=Qt,A.Progress=Qt,A.FoxPullRefresh=fo,A.PullRefresh=fo,A.FoxRadio=Gn,A.Radio=Gn,A.FoxRadioGroup=Zn,A.RadioGroup=Zn,A.FoxRadioItem=da,A.RadioItem=da,A.FoxRange=Xt,A.Range=Xt,A.FoxRate=ll,A.Rate=ll,A.FoxRateItem=ba,A.RateItem=ba,A.FoxRollingProvider=qa,A.RollingProvider=qa,A.FoxRow=Ra,A.Row=Ra,A.FoxRowItem=Mn,A.RowItem=Mn,A.FoxSearchBar=ol,A.SearchBar=ol,A.FoxShortPassword=ao,A.ShortPassword=ao,A.FoxSideNavBar=to,A.SideNavBar=to,A.FoxSideNavBarItem=no,A.SideNavBarItem=no,A.FoxSignature=Ko,A.Signature=Ko,A.FoxSkeleton=Io,A.Skeleton=Io,A.FoxSlotItem=Yl,A.SlotItem=Yl,A.FoxStep=Bo,A.Step=Bo,A.FoxSteps=Ao,A.Steps=Ao,A.FoxStepsBar=Ba,A.StepsBar=Ba,A.FoxSticky=Yt,A.Sticky=Yt,A.FoxSubSideNavBar=lo,A.SubSideNavBar=lo,A.FoxSwipe=io,A.Swipe=io,A.FoxSwiper=$t,A.Swiper=$t,A.FoxSwiperItem=Et,A.SwiperItem=Et,A.FoxSwitch=nl,A.Switch=nl,A.FoxSwitchItem=pa,A.SwitchItem=pa,A.FoxTabPane=Ja,A.TabPane=Ja,A.FoxTabbar=Xa,A.Tabbar=Xa,A.FoxTabbarItem=Qa,A.TabbarItem=Qa,A.FoxTable=Po,A.Table=Po,A.FoxTabs=_a,A.Tabs=_a,A.FoxTabsBar=Ht,A.TabsBar=Ht,A.FoxTabsContainer=jt,A.TabsContainer=jt,A.FoxTabsFrame=Ca,A.TabsFrame=Ca,A.FoxTabsPane=Un,A.TabsPane=Un,A.FoxTag=Do,A.Tag=Do,A.FoxText=zn,A.Text=zn,A.FoxTextarea=On,A.Textarea=On,A.FoxTextareaItem=Zl,A.TextareaItem=Zl,A.FoxToast=Bt,A.Toast=Bt,A.FoxTour=Ro,A.Tour=Ro,A.FoxTrendArrow=Oo,A.TrendArrow=Oo,A.FoxUploader=oo,A.Uploader=oo,A.FoxVideo=Vt,A.Video=Vt,A.FoxWaterMark=Lo,A.WaterMark=Lo,A.InnerPageScopeKey=Dl,A.PriorityPolicy=at,A.UniqueID=xn,A.ValidateSchema=hr,A.ValidateSchemaKey=Le,A.cancelRaf=jo,A.clamp=We,A.clearNonNumber=Nl,A.compareTo=vl,A.createBroadcast=fn,A.createValidateSchema=hn,A.debounce=Pe,A.debounceRef=ps,A.decimalLength=sr,A.default=s2,A.defineBroadcast=rs,A.defineConfigDomain=gr,A.defineDataItem=yr,A.defineDomain=$l,A.defineItem=Be,A.definePageState=br,A.defineSimpleItem=pt,A.deleteGlobalValidator=ds,A.disabledProperty=Ee,A.divide=Sl,A.excludeProps=Qe,A.extend=dt,A.floatData=os,A.getGlobalIcons=Bn,A.getGlobalValidateCheckEvents=dr,A.getGlobalValidateResetEvents=mr,A.getPageContentAreaHeight=kn,A.getPageContentAreaWidth=wn,A.getPageFooterAreaHeight=vn,A.getPageHeaderAreaHeight=Sn,A.getRootDomain=ht,A.hasSymbol=nr,A.includeProps=ge,A.indexOf=ls,A.injectAbstractPageScope=Ot,A.injectInnerPageScope=Lt,A.integerLength=ir,A.isArray=sn,A.isArrayLike=or,A.isBrowser=Xe,A.isDate=je,A.isDisplayNone=wl,A.isESModule=_i,A.isEmptyString=ue,A.isEqual=Ie,A.isFunction=cn,A.isHidden=lr,A.isMap=Xi,A.isNil=ze,A.isNumberString=dn,A.isObject=De,A.isPlainObject=Zi,A.isPromise=ut,A.isRegExp=Cl,A.isSet=Qi,A.isString=er,A.isSubPage=vs,A.isSymbol=Gi,A.isTouch=Rn,A.isWindow=ar,A.lastIndexOf=as,A.makeArray=ns,A.merge=rr,A.multiply=Zo,A.negate=_o,A.nextTick=es,A.numberFormat=rn,A.objectToString=tr,A.once=gs,A.overrideGlobalIcons=Ps,A.overrideGlobalValidateHandler=cs,A.padZero=lt,A.preventDefault=Al,A.property=Ve,A.provideAbstractPageScope=vr,A.provideInnerPageScope=Sr,A.px2Number=Ss,A.raf=He,A.readonlyProperty=$e,A.setGlobalValidateCheckEvents=fs,A.setGlobalValidateHandler=ss,A.setGlobalValidateMessages=hs,A.setGlobalValidateResetEvents=ms,A.setGlobalValidator=us,A.throttle=gn,A.toBoolean=Se,A.toNumber=me,A.toPadding=Oe,A.toPx=se,A.toPxDesc=bs,A.toPxString=de,A.toTypeString=un,A.toValue=Me,A.tryTimes=Tl,A.typeOf=ft,A.unNumberFormat=Jo,A.updatePageState=El,A.useBroadcast=Pt,A.useDomain=Ge,A.useExpose=Te,A.useInnerSize=An,A.usePageState=bn,A.usePosition=Ul,A.useRawTouch=Fn,A.useRect=xe,A.useSize=Pl,A.useSlotChildren=Fl,A.useTouch=Je,A.valueLength=ve});
9
+ `)}}});function Fg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.renderSlot)(e.$slots,"default")],2)}var Fa=oe(Rg,[["render",Fg]]),{create:Kg}=ee("sticky"),Ug=Kg({props:{position:{type:String,default:"top"},top:{type:[Number,String],default:0},bottom:{type:[Number,String],default:0},container:{type:Object},zIndex:{type:[Number,String],default:99}},emits:["change"],setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.ref)(),o=(0,t.reactive)({fixed:!1,height:0,transform:0}),r=(0,t.computed)(()=>e.position==="top"?Number(e.top):Number(e.bottom)),s=(0,t.computed)(()=>o.fixed?{height:`${o.height}px`}:{}),i=(0,t.computed)(()=>o.fixed?{[e.position]:`${r.value}px`,transform:o.transform?`translate3d(0, ${o.transform}px, 0)`:void 0,position:o.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),c=()=>{const m=e.container;if(!a.value&&!m)return;const h=xe(a),u=l.value,p=xe(u),b=xe(m);o.height=h.height;const w=()=>{let S=!1;if(e.position==="top")S=m?r.value>h.top&&b.bottom>0:r.value>h.top;else{const f=document.documentElement.clientHeight;S=m?b.bottom>0&&f-r.value-p.height>b.top:f-r.value<h.bottom}return S},v=()=>{if(m)if(e.position==="top"){const S=b.bottom-r.value-p.height;return S<0?S:0}else{const S=document.documentElement.clientHeight,f=b.bottom-(S-r.value);return f<0?f:0}return 0};o.transform=v(),o.fixed=w()};return(0,t.watch)(()=>o.fixed,m=>{n("change",m)}),(0,t.onMounted)(()=>{c(),va(a.value).addEventListener("scroll",c,!0)}),(0,t.onUnmounted)(()=>{va(a.value).removeEventListener("scroll",c)}),{rootRef:a,rootStyle:s,stickyRef:l,stickyStyle:i}}});function Hg(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"fox-sticky",ref:"rootRef",style:(0,t.normalizeStyle)(e.rootStyle)},[(0,t.createElementVNode)("div",{class:"fox-sticky__box",ref:"stickyRef",style:(0,t.normalizeStyle)(e.stickyStyle)},[(0,t.renderSlot)(e.$slots,"default")],4)],4)}var Yt=oe(Ug,[["render",Hg]]),{componentName:jg,create:Wg}=ee("divider"),Yg=Wg({props:{contentPosition:{type:String,default:"center"},dashed:{type:Boolean,default:!1},hairline:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},components:{},setup(e,n){return{classes:(0,t.computed)(()=>{const a=jg;let l={[a]:!0},o={};return e.direction==="horizontal"?o={...l,[`${a}-center`]:n.slots.default,[`${a}-left`]:e.contentPosition==="left",[`${a}-right`]:e.contentPosition==="right",[`${a}-dashed`]:e.dashed,[`${a}-hairline`]:e.hairline}:o={...l,[`${a}-vertical`]:e.direction==="vertical"},o})}}});function Xg(e,n,a,l,o,r){return e.direction==="horizontal"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.classes)},[(0,t.renderSlot)(e.$slots,"default")],2)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.classes)},null,2))}var Ka=oe(Yg,[["render",Xg]]);function Qg(e,n){const a=[],l=o=>{Array.isArray(o)&&o.forEach(r=>{if((0,t.isVNode)(r)){if(n){if(r.type&&r.type.name===n){a.push(r);return}}else a.push(r);r.component?.subTree&&l(r.component.subTree.children),r.children&&l(r.children)}})};return l(e),a}function Gg(e,n,a){const l=Qg(e.subTree.children,a);n.sort((o,r)=>l.indexOf(o.vnode)-l.indexOf(r.vnode))}function Zg(e,n){const a=(0,t.shallowReactive)([]),l=(0,t.getCurrentInstance)(),o=i=>{i.proxy&&(a.push((0,t.markRaw)(i)),Gg(l,a,n))},r=i=>{a.splice(a.indexOf((0,t.markRaw)(i)),1)},s=Object.assign;return i=>((0,t.provide)(e,s({add:o,remove:r,internalChildren:a},i)),{internalChildren:a})}var{componentName:$i}=ee("grid"),Ei=Symbol("grid"),_g={columnNum:{type:[Number,String],default:4},border:{type:Boolean,default:!0},gutter:{type:[Number,String],default:0},center:{type:Boolean,default:!0},square:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},direction:{type:String},clickable:{type:Boolean,default:!1}},Jg={props:_g,setup(e,{slots:n}){Zg(Ei,`${$i}-item`)({props:e});const a=(0,t.computed)(()=>{const o=$i;return{[o]:!0,[`${o}--border`]:e.border&&!e.gutter}}),l=(0,t.computed)(()=>{const o={};return e.gutter&&(o.paddingLeft=de(e.gutter)),o});return()=>(0,t.h)("view",{class:a.value,style:l.value},n.default?.())}},{create:ey}=ee("grid"),ty=ey(Jg),Ua=ty;function ny(e){const n=(0,t.inject)(e,null);if(n){const a=(0,t.getCurrentInstance)(),{add:l,remove:o,internalChildren:r}=n;return l(a),(0,t.onUnmounted)(()=>o(a)),{parent:n,index:(0,t.computed)(()=>r.indexOf(a))}}return{parent:null,index:(0,t.ref)(-1)}}var{create:ly,componentName:Di}=ee("grid-item"),ay=ly({props:{text:{type:String}},emits:["click"],setup(e,{emit:n}){const a=ny(Ei);if(!a.parent)return{};const l=a.index,o=a.parent.props,r=(0,t.computed)(()=>({[Di]:!0})),s=(0,t.computed)(()=>{const m={flexBasis:`${100/+o.columnNum}%`};return o.square?m.paddingTop=`${100/+o.columnNum}%`:o.gutter&&(m.paddingRight=de(o.gutter),l.value>=o.columnNum&&(m.marginTop=de(o.gutter))),m}),i=(0,t.computed)(()=>{const m=`${Di}__content`;return{[`${m}`]:!0,[`${m}--border`]:o.border,[`${m}--surround`]:o.border&&o.gutter,[`${m}--center`]:o.center,[`${m}--square`]:o.square,[`${m}--reverse`]:o.reverse,[`${m}--${o.direction}`]:!!o.direction,[`${m}--clickable`]:o.clickable}});return{rootClass:r,rootStyle:s,contentClass:i,handleClick:m=>{n("click",m)}}}}),oy={class:"fox-grid-item__text"};function ry(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.rootClass),style:(0,t.normalizeStyle)(e.rootStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.contentClass)},[(0,t.renderSlot)(e.$slots,"default"),(0,t.createElementVNode)("view",oy,[e.text?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(e.text),1)],64)):(0,t.renderSlot)(e.$slots,"text",{key:1})])],2)],6)}var Ha=oe(ay,[["render",ry]]),{componentName:iy,create:sy}=ee("navbar"),cy=sy({components:{Left:ae.Left},props:{leftShow:{type:Boolean,default:!1},title:{type:String,default:""},titleIcon:{type:Boolean,default:!1},leftText:{type:String,default:""},desc:{type:String,default:""},fixed:{type:Boolean,default:!1},safeAreaInsetTop:{type:Boolean,default:!1},border:{type:Boolean,default:!1},placeholder:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:10}},emits:["on-click-back","on-click-title","on-click-icon","on-click-right"],setup(e,{emit:n}){const{border:a,fixed:l,safeAreaInsetTop:o,placeholder:r,zIndex:s}=(0,t.toRefs)(e),i=(0,t.ref)(null),c=(0,t.ref)(null);let m=(0,t.ref)();const h=(0,t.computed)(()=>{const S=iy;return{[S]:!0,[`${S}--border`]:a.value,[`${S}--fixed`]:l.value,[`${S}--safe-area-inset-top`]:o.value}}),u=(0,t.computed)(()=>({zIndex:s.value}));(0,t.onMounted)(()=>{l.value&&r.value&&(0,t.nextTick)(()=>{m.value=c?.value?.getBoundingClientRect().height,i.value.style.height=m.value+"px"})});function p(){n("on-click-back")}function b(){n("on-click-title")}function w(){n("on-click-icon")}function v(){n("on-click-right")}return{navBarWrap:i,navBarHtml:c,classes:h,styles:u,handleLeft:p,handleCenter:b,handleCenterIcon:w,handleRight:v}}}),uy={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},dy={key:1,class:"fox-navbar__text"},fy={class:"fox-navbar__title"},my={key:0,class:"fox-navbar__text"},hy={key:1,class:"fox-navbar__text"},py={class:"fox-navbar__title"},gy={key:0,class:"fox-navbar__text"};function yy(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Left");return e.fixed&&e.placeholder?((0,t.openBlock)(),(0,t.createElementBlock)("view",uy,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),ref:"navBarHtml"},[(0,t.createElementVNode)("view",{class:"fox-navbar__left",onClick:n[0]||(n[0]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(s,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",dy,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",fy,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...i)=>e.handleCenter&&e.handleCenter(...i))},(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.titleIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"icon",onClick:n[3]||(n[3]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[2]||(n[2]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[4]||(n[4]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",my,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"right")])],6)],512)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("view",{class:"fox-navbar__left",onClick:n[5]||(n[5]=(...i)=>e.handleLeft&&e.handleLeft(...i))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(s,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",hy,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",py,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[6]||(n[6]=(...i)=>e.handleCenter&&e.handleCenter(...i))},(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.titleIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"icon",onClick:n[8]||(n[8]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[7]||(n[7]=(...i)=>e.handleCenterIcon&&e.handleCenterIcon(...i))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[9]||(n[9]=(...i)=>e.handleRight&&e.handleRight(...i))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",gy,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"right")])],6))}var ja=oe(cy,[["render",yy]]),by=(e,n,a)=>({components:a,props:{visible:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},navList:{default:()=>[],type:Array},activeColor:{type:String,default:""},activeText:{type:String},unActiveText:{type:String},position:{default:()=>({top:"auto",bottom:"auto"}),type:Object},type:{default:"right",type:String}},emits:["update:visible","selected"],setup(l,{emit:o}){const{toLocaleRefs:r}=(0,he.useFoxI18n)(n),s=r(l,["activeText","unActiveText"]),i=(0,t.computed)(()=>({[e]:!0,active:l.visible,[l.type]:!0})),c=(0,t.ref)(-1);return{...s,classes:i,updateValue:(u=!l.visible)=>{o("update:visible",u)},selected:(u,p)=>{o("selected",{item:u,event:p}),c.value=u.id},current:c}}}),{componentName:Sy,create:vy,scope:ky}=ee("fixednav"),wy=vy(by(Sy,ky,{[rt.name]:rt,Left:ae.Left})),Cy={class:"fox-fixednav__list"},Ny=["onClick"],Ay=["src"],By={class:"span"},Ty={key:0,class:"b"},Vy={class:"text"};function $y(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-overlay"),i=(0,t.resolveComponent)("Left");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.position)},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,visible:e.visible,"z-index":200,onClick:n[0]||(n[0]=c=>e.updateValue(!1))},null,8,["visible"])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"list",{},()=>[(0,t.createElementVNode)("view",Cy,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.navList,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:h=>e.selected(c,h),key:c.id||m},[(0,t.createElementVNode)("img",{src:c.icon},null,8,Ay),(0,t.createElementVNode)("view",By,(0,t.toDisplayString)(c.text),1),c.num?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ty,(0,t.toDisplayString)(c.num),1)):(0,t.createCommentVNode)("",!0)],10,Ny))),128))])]),(0,t.createElementVNode)("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[(0,t.renderSlot)(e.$slots,"btn",{},()=>[(0,t.createVNode)(i,{color:"#fff"}),(0,t.createElementVNode)("view",Vy,(0,t.toDisplayString)(e.visible?e.activeText:e.unActiveText),1)])])],6)}var Wa=oe(wy,[["render",$y]]),{componentName:Ey,create:Dy}=ee("menu"),Iy=Dy({components:{ArrowUp2:ae.ArrowUp2,ArrowDown2:ae.ArrowDown2},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},titleIcon:String,closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:n,slots:a}){const l=(0,t.ref)(),o=(0,t.ref)(0),r=(0,t.ref)(!1),s=()=>{const S=(0,t.reactive)([]),f=(0,t.reactive)([]);return{children:S,linkChildren:d=>{const C=g=>{g.proxy&&(f.push(g),S.push(g.proxy))},N=g=>{if(g.proxy){let y=f.indexOf(g);y>-1&&f.splice(y,1);let B=S.indexOf(g.proxy);y>-1&&S.splice(B,1)}};(0,t.provide)("menuParent",Object.assign({removeLink:N,link:C,children:S,internalChildren:f},d))}}},{children:i,linkChildren:c}=s(),m=(0,t.computed)(()=>i.some(S=>S.state.showWrapper)),h=(0,t.computed)(()=>({[Ey]:!0,"scroll-fixed":r.value})),u=()=>{if(l.value){const S=xe(l);e.direction==="down"?o.value=S.bottom:o.value=window.innerHeight-S.top}};c({props:e,offset:o});const p=S=>{i.forEach((f,k)=>{k===S?(u(),f.toggle()):f.state.showPopup&&f.toggle(!1,{immediate:!0})})},b=S=>Math.max(0,"scrollTop"in S?S.scrollTop:S.pageYOffset),w=()=>{const{scrollFixed:S}=e;r.value=b(window)>(typeof S=="boolean"?30:Number(S))},v=S=>{let f="";const{titleClass:k}=e;return S&&(f+="active"),k&&(f+=` ${k}`),f};return(0,t.onMounted)(()=>{const{scrollFixed:S}=e;S&&window.addEventListener("scroll",w)}),(0,t.onUnmounted)(()=>{const{scrollFixed:S}=e;S&&window.removeEventListener("scroll",w)}),{toggleItem:p,children:i,opened:m,classes:h,barRef:l,getClasses:v}}}),qy=["onClick"],xy={class:"fox-menu__title-text"},Py={class:"fox-menu__title-icon"};function My(e,n,a,l,o,r){const s=(0,t.resolveComponent)("ArrowUp2"),i=(0,t.resolveComponent)("ArrowDown2");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-menu__bar",{opened:e.opened}]),ref:"barRef"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.children,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-menu__item",{disabled:c.disabled,active:c.state.showPopup}]),onClick:h=>!c.disabled&&e.toggleItem(m),style:(0,t.normalizeStyle)({color:c.state.showPopup?e.activeColor:""})},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-menu__title",e.getClasses(c.state.showPopup)])},[(0,t.createElementVNode)("view",xy,(0,t.toDisplayString)(c.renderTitle()),1),(0,t.createElementVNode)("span",Py,[(0,t.renderSlot)(e.$slots,"icon",{},()=>[e.direction==="up"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))])])],2)],14,qy))),128))],2),(0,t.renderSlot)(e.$slots,"default")],2)}var Ya=oe(Iy,[["render",My]]),{componentName:zy,create:Ly}=ee("menu-item"),Oy=Ly({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[be.name]:be,Check:ae.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),o=()=>{const b=(0,t.inject)("menuParent",null);if(b){const w=(0,t.getCurrentInstance)(),{link:v,removeLink:S}=b;return v(w),(0,t.onUnmounted)(()=>{S(w)}),{parent:b}}},{parent:r}=o(),s=(0,t.computed)(()=>({[zy]:!0})),i=(0,t.computed)(()=>{const b={height:r.offset.value+"px"};return r.props.direction==="down"?b:{...b,top:"auto"}});return{classes:s,placeholderElementStyle:i,renderTitle:()=>{if(e.title)return e.title;const b=e.options?.find(w=>w.value===e.modelValue);return b?b.text:""},state:l,parent:r,toggle:(b=!l.showPopup,w={})=>{b!==l.showPopup&&(l.showPopup=b,l.isShowPlaceholderElement=b,b&&(l.showWrapper=!0,n("open")))},onClick:b=>{l.showPopup=!1,l.isShowPlaceholderElement=!1,b.value!==e.modelValue&&(n("update:modelValue",b.value),n("change",b.value))},handleClose:()=>{n("close"),l.showWrapper=!1,l.isShowPlaceholderElement=!1},handleClickOutside:()=>{l.showPopup=!1,n("close")}}}}),Ry={class:"fox-menu-item__content fox-menu-item__overflow"},Fy=["onClick"];function Ky(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Check"),i=(0,t.resolveComponent)("fox-popup");return(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.withDirectives)((0,t.createElementVNode)("div",{onClick:n[0]||(n[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:(0,t.normalizeClass)(["fox-menu-item-placeholder-element",{up:e.parent.props.direction==="up"}]),style:(0,t.normalizeStyle)(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),(0,t.createVNode)(i,(0,t.mergeProps)({style:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px"},overlayStyle:e.parent.props.direction==="down"?{top:e.parent.offset.value+"px"}:{bottom:e.parent.offset.value+"px",top:"auto"}},e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":n[1]||(n[1]=c=>e.state.showPopup=c),position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"pop-class":"fox-menu__pop","destroy-on-close":!1,overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,teleportDisable:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Ry,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:m,class:(0,t.normalizeClass)(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:(0,t.normalizeStyle)({"flex-basis":100/e.cols+"%"}),onClick:h=>e.onClick(c)},[c.value===e.modelValue?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:(0,t.normalizeClass)(["fox-menu-item__span",[c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[(0,t.renderSlot)(e.$slots,"icon",{},()=>[(0,t.createVNode)(s,(0,t.mergeProps)({ref_for:!0},e.$attrs,{color:e.parent.props.activeColor}),null,16,["color"])])],2)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)([c.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:(0,t.normalizeStyle)({color:c.value===e.modelValue?e.parent.props.activeColor:""})},(0,t.toDisplayString)(c.text),7)],14,Fy))),128)),(0,t.renderSlot)(e.$slots,"default")])]),_:3},16,["style","overlayStyle","visible","position","duration","overlay","onClosed","lockScroll","close-on-click-overlay"])],2)),[[t.vShow,e.state.showWrapper]])}var Xa=oe(Oy,[["render",Ky]]),{create:Uy}=ee("tabbar"),Hy=Uy({props:{modelValue:{type:[Number,String],default:0},bottom:{type:Boolean,default:!1},size:{type:[String,Number],default:"20px"},inactiveColor:{type:String,default:""},activeColor:{type:String,default:""},safeAreaInsetBottom:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,n){function a(o){l.value!==o&&(l.value=o,n.emit("update:modelValue",o),n.emit("change",o,l.children[o]))}const l=(0,t.reactive)({children:[],size:e.size,value:e.modelValue,inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:a});return(0,t.provide)("parent",l),(0,t.watch)(()=>e.modelValue,o=>{l.value=o}),{changeIndex:a}}});function jy(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabbar",{"fox-tabbar-bottom":e.bottom,"fox-tabbar-safebottom":e.safeAreaInsetBottom}])},[(0,t.renderSlot)(e.$slots,"default")],2)}var Qa=oe(Hy,[["render",jy]]),{create:Wy}=ee("tabbar-item"),Yy=Wy({props:{title:{type:String,default:""},icon:{type:Object},num:{type:String,default:""},activeImg:{type:String,default:""},img:{type:String,default:""},dot:{type:Boolean,default:!1}},setup(e,n){const a=(0,t.inject)("parent"),l=(0,t.reactive)({size:a.size,inactiveColor:a.inactiveColor,activeColor:a.activeColor,value:a.value,index:0}),o=(0,t.getCurrentInstance)();o!==null&&(c=>{if(c.proxy){let m=a.children.length;l.index=m;let h=Object.assign(c.proxy,{index:m});a.children.push(h)}})(o);const r=(0,t.computed)(()=>l.index===l.value);function s(i){a&&typeof a.changeIndex=="function"&&a.changeIndex(i)}return(0,t.watch)((0,t.computed)(()=>a?a.value:null),i=>{l.value=i}),{state:l,active:r,change:s}}}),Xy={class:"fox-tabbar-item_icon-box"},Qy={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Gy={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Zy={key:1,class:"fox-tabbar-item_icon-box_dot"},_y={key:2},Jy={key:0};function eb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(["fox-tabbar-item",{"fox-tabbar-item__icon--unactive":!e.active}]),style:(0,t.normalizeStyle)({color:e.active?e.state.activeColor:e.state.deactiveColor}),onClick:n[0]||(n[0]=s=>e.change(e.state.index))},[(0,t.createElementVNode)("view",Xy,[e.dot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[e.num&&e.num<=99?((0,t.openBlock)(),(0,t.createElementBlock)("view",Qy,(0,t.toDisplayString)(e.num),1)):e.num&&e.num>100?((0,t.openBlock)(),(0,t.createElementBlock)("view",Gy,(0,t.toDisplayString)("99+"))):(0,t.createCommentVNode)("",!0)],64)),e.dot?((0,t.openBlock)(),(0,t.createElementBlock)("div",Zy)):(0,t.createCommentVNode)("",!0),e.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",_y,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.icon),{class:"fox-tabbar-item_icon-box_icon",width:e.state.size,height:e.state.size},null,8,["width","height"]))])):(0,t.createCommentVNode)("",!0),!e.icon&&e.activeImg?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:3,class:"fox-tabbar-item_icon-box_icon",style:(0,t.normalizeStyle)({backgroundImage:`url(${e.active?e.activeImg:e.img})`,width:e.state.size,height:e.state.size})},null,4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabbar-item_icon-box_nav-word",{"fox-tabbar-item_icon-box_big-word":!e.icon&&!e.activeImg}])},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",Jy,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.title?(0,t.createCommentVNode)("",!0):(0,t.renderSlot)(e.$slots,"default",{key:1})],2)])],6)}var Ga=oe(Yy,[["render",eb]]),{componentName:tb,create:nb}=ee("elevator"),lb=nb({props:{height:{type:[Number,String],default:"200px"},acceptKey:{type:[String],default:"title"},indexList:{type:Array,default:()=>[]},isSticky:{type:[Boolean],default:!1},spaceHeight:{type:[Number],default:23},titleHeight:{type:[Number],default:35}},emits:["click-item","click-index","change"],setup(e,n){const a=(0,t.ref)(null),l=(0,t.reactive)({anchorIndex:0,codeIndex:0,listHeight:[],listGroup:[],touchState:{y1:0,y2:0},scrollStart:!1,currentIndex:0,currentData:{},currentKey:"",scrollY:0,diff:-1,fixedTop:0}),o=(0,t.computed)(()=>({[tb]:!0})),r=(0,t.computed)(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),s=(0,t.computed)(()=>a.value.clientHeight),i=(f,k)=>f.getAttribute("data-"+k),c=f=>{(0,t.nextTick)(()=>{!l.listGroup.includes(f)&&f!=null&&l.listGroup.push(f)})},m=()=>{let f=0;l.listHeight.push(f);for(let k=0;k<l.listGroup.length;k++){let d=l.listGroup[k];f+=Math.floor(d.clientHeight),l.listHeight.push(f)}},h=f=>{!f&&f!==0||(f<0&&(f=0),f>l.listHeight.length-2&&(f=l.listHeight.length-2),l.codeIndex=f,a.value.scrollTo(0,l.listHeight[f]))},u=f=>{l.scrollStart=!0;let k=i(f.target,"index"),d=f.touches[0];l.touchState.y1=d.pageY,l.anchorIndex=+k,l.codeIndex=+k,h(+k)},p=f=>{let k=f.touches[0];l.touchState.y2=k.pageY;let d=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+d,h(l.codeIndex)},b=()=>{l.scrollStart=!1},w=(f,k)=>{n.emit("click-item",f,k),l.currentData=k,l.currentKey=f},v=f=>{n.emit("click-index",f)},S=f=>{let k=f.target.scrollTop;const d=l.listHeight;l.scrollY=k;for(let C=0;C<d.length-1;C++){let N=d[C],g=d[C+1];if(l.scrollY>=N&&l.scrollY<g){l.currentIndex=C,l.diff=g-l.scrollY;return}}l.currentIndex=d.length-2};return(0,t.onMounted)(()=>{a.value.addEventListener("scroll",S)}),Te({scrollTo:h}),(0,t.watch)(()=>l.listGroup.length,()=>{l.listHeight=[],(0,t.nextTick)(m)}),(0,t.watch)(()=>l.diff,f=>{const k=l.listHeight;let d=f>0&&f<e.titleHeight?f-e.titleHeight:0;l.scrollY+s.value===k[k.length-1]&&d!==0&&(d=0),l.fixedTop!==d&&(l.fixedTop=d)}),(0,t.watch)(()=>l.currentIndex,f=>{n.emit("change",f)}),{classes:o,...(0,t.toRefs)(l),fixedStyle:r,clientHeight:s,setListGroup:c,listview:a,touchStart:u,touchMove:p,touchEnd:b,handleClickItem:w,handleClickIndex:v}}}),ab={class:"fox-elevator__list__item__code"},ob=["onClick"],rb=["innerHTML"],ib={class:"fox-elevator__fixed-title"},sb={class:"fox-elevator__bars__inner"},cb=["data-index","onClick"];function ub(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:"fox-elevator__list",ref:"listview",style:(0,t.normalizeStyle)({height:isNaN(+e.height)?e.height:`${e.height}px`})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.indexList,s=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-elevator__list__item",key:s[e.acceptKey],ref_for:!0,ref:e.setListGroup},[(0,t.createElementVNode)("view",ab,(0,t.toDisplayString)(s[e.acceptKey]),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.list,i=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===i.id&&e.currentKey===s[e.acceptKey]}]),key:i.id,onClick:c=>e.handleClickItem(s[e.acceptKey],i)},[e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:1,item:i}):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:i.name},null,8,rb))],10,ob))),128))]))),128)),e.isSticky?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-elevator__list__fixed",style:(0,t.normalizeStyle)(e.fixedStyle)},[(0,t.createElementVNode)("span",ib,(0,t.toDisplayString)(e.indexList[e.currentIndex][e.acceptKey]),1)],4)),[[t.vShow,e.scrollY>0]]):(0,t.createCommentVNode)("",!0)],4),e.indexList.length?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-elevator__code--current"},(0,t.toDisplayString)(e.indexList[e.codeIndex][e.acceptKey]),513)),[[t.vShow,e.scrollStart]]):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-elevator__bars",onTouchstart:n[0]||(n[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=(0,t.withModifiers)((...s)=>e.touchMove&&e.touchMove(...s),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[(0,t.createElementVNode)("view",sb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.indexList,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-elevator__bars__inner__item",{active:s[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":i,key:s[e.acceptKey],onClick:c=>e.handleClickIndex(s[e.acceptKey])},(0,t.toDisplayString)(s[e.acceptKey]),11,cb))),128))])],32)],2)}var Za=oe(lb,[["render",ub]]),{componentName:h2,create:db,scope:fb}=ee("pagination"),mb=db({props:{modelValue:{type:Number,default:1},mode:{type:String,default:"multi"},prevText:{type:String,default:""},nextText:{type:String,default:""},pageCount:{type:[String,Number],default:""},totalItems:{type:[String,Number],default:"0"},itemsPerPage:{type:[String,Number],default:"10"},showPageSize:{type:[String,Number],default:"5"},forceEllipses:{type:Boolean,default:!1}},components:{},emits:["change","update:modelValue"],setup(e,{emit:n}){const{toLocaleRefs:a}=(0,he.useFoxI18n)(fb),l=a(e,["prevText","nextText"]),{modelValue:o,mode:r,showPageSize:s,forceEllipses:i}=(0,t.toRefs)(e),c=(0,t.computed)(()=>{const{pageCount:p,totalItems:b,itemsPerPage:w}=(0,t.toRefs)(e),v=+p.value||Math.ceil(+b.value/+w.value);return Math.max(1,v)}),m=(p,b)=>{p>c.value||p<1||(p!=o.value&&n("update:modelValue",p),b&&n("change",p))},h=(p,b,w=!1)=>({number:p,text:b,active:w}),u=(0,t.computed)(()=>{if(r.value=="simple")return;let p=[];const b=c.value,w=+s.value;let v=1,S=b;const f=b>w;f&&(v=Math.max(o.value-Math.floor(w/2),1),S=v+w-1,S>b&&(S=b,v=S-w+1));for(var k=v;k<=S;k++){const d=h(k,k,o.value==k);p.push(d)}if(f&&w>0&&i.value){if(v>1){const d=h(v-1,"...");p.unshift(d)}if(S<b){const d=h(S+1,"...");p.push(d)}}return p});return(0,t.watchEffect)(()=>{m(o.value,!1)}),{...l,modelValue:o,select:m,countRef:c,mode:r,pages:u,forceEllipses:i}}}),hb={class:"fox-pagination"},pb={key:0,class:"fox-pagination-contain"},gb=["onClick"],yb={key:1,class:"fox-pagination-contain"},bb={class:"fox-pagination-simple"};function Sb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",hb,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[0]=s=>e.select(e.modelValue-1,!0))},[(0,t.renderSlot)(e.$slots,"prev-text",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.prevText),1)])],2),e.mode=="multi"?((0,t.openBlock)(),(0,t.createElementBlock)("view",pb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.pages,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:i+"pagination",class:(0,t.normalizeClass)(["fox-pagination-item",s.active?"active":""]),onClick:c=>e.select(s.number,!0)},[(0,t.renderSlot)(e.$slots,"page",{item:s},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.text),1)])],10,gb))),128))])):(0,t.createCommentVNode)("",!0),e.mode=="simple"?((0,t.openBlock)(),(0,t.createElementBlock)("view",yb,[(0,t.createElementVNode)("view",bb,(0,t.toDisplayString)(e.modelValue)+"/"+(0,t.toDisplayString)(e.countRef),1)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-pagination-next",e.modelValue>=e.countRef?"disabled":""]),onClick:n[1]||(n[1]=s=>e.select(e.modelValue+1,!0))},[(0,t.renderSlot)(e.$slots,"next-text",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.nextText),1)])],2)])}var _a=oe(mb,[["render",Sb]]),vb=(e,n,a,l)=>{const o=(0,t.ref)(),r=(0,t.ref)({width:0,height:0}),s=async()=>{if(a&&a.getEnv()!==a.ENV_TYPE.WEB){let u=await l(o,a);r.value.width=u.width||0,r.value.height=u.height||0}else r.value.width=o.value?.clientWidth||0,r.value.height=o.value?.clientHeight||0};(0,t.onMounted)(()=>{setTimeout(()=>{s()},100)});const i=(0,t.reactive)({offset:0,moving:!1}),c=Je();let m="";const h=(u,p)=>{let b=u;switch(e.direction=="horizontal"?(m=u>0?"right":"left",b=Math.abs(b)/r.value.width*100):(m=p>0?"bottom":"top",b=p,b=Math.abs(b)/r.value?.height*100),b>85&&(b=85),m){case"left":case"top":n.isEnd()&&(b=0,i.moving=!1);break;case"right":case"bottom":b=-b,n.isBegin()&&(b=0,i.moving=!1);break}i.offset=b};return{touchMethods:{onTouchStart(u){e.swipeable&&c.start(u)},onTouchMove(u){e.swipeable&&(c.move(u),i.moving=!0,h(c.deltaX.value,c.deltaY.value),e.direction=="horizontal"&&c.isHorizontal()&&(u.preventDefault(),u.stopPropagation()),e.direction=="vertical"&&c.isVertical()&&(u.preventDefault(),u.stopPropagation()))},onTouchEnd(){if(i.moving)switch(i.moving=!1,m){case"left":case"top":i.offset>35&&n.next();break;case"right":case"bottom":i.offset<-35&&n.prev();break}}},touchState:i,tabsContentRef:o}},kb=class{title="";titleSlot;paneKey="";disabled=!1;constructor(){}},{create:wb}=ee("tabs"),Cb=wb({components:{[Yt.name]:Yt,JoySmile:ae.JoySmile},props:{modelValue:{type:[String,Number],default:0},color:{type:String,default:""},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},type:{type:String,default:"line"},titleScroll:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},swipeable:{type:Boolean,default:!1},autoHeight:{type:Boolean,default:!1},background:{type:String,default:""},animatedTime:{type:[Number,String],default:300},titleGutter:{type:[Number,String],default:0},sticky:{type:Boolean,default:!1},top:{type:Number,default:0}},emits:["update:modelValue","click","change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null);let o;(0,t.provide)("tabsOpiton",{activeKey:(0,t.computed)(()=>e.modelValue||"0"),autoHeight:(0,t.computed)(()=>e.autoHeight),animatedTime:(0,t.computed)(()=>e.animatedTime)});const r=(0,t.ref)([]),s=$=>{$.forEach((V,W)=>{let _=V.type;if(_=_.name||_,_=="fox-tab-pane"){let E=new kb;if(V.props?.title||V.props?.["pane-key"]||V.props?.paneKey){let D=ft(V.props?.["pane-key"]),L=D=="number"||D=="string"?String(V.props?.["pane-key"]):null,M=ft(V.props?.paneKey),R=M=="number"||M=="string"?String(V.props?.paneKey):null;E.title=V.props?.title,E.paneKey=L||R||String(W),E.disabled=V.props?.disabled}r.value.push(E)}else{if(V.children==" ")return;Array.isArray(V.children)&&s(V.children)}})},i=(0,t.ref)(e.modelValue||0),c=$=>{let V=r.value.findIndex(W=>W.paneKey==$);r.value.length==0||V==-1||(i.value=V)},m=(0,t.computed)(()=>e.titleScroll&&e.direction==="vertical"),h=(0,t.ref)(),u=(0,t.ref)([]),p=$=>{const V=h.value,W=u.value;if(!V||!W||!W[i.value])return;const _=W[i.value];let E=0;e.direction==="vertical"?E=_.offsetTop-V.offsetTop+10-(V.offsetHeight-_.offsetHeight)/2:E=_.offsetLeft-(V.offsetWidth-_.offsetWidth)/2,b(V,E,$?0:.3,e.direction)},b=($,V,W,_)=>{let E=0;const D=_==="horizontal"?$.scrollLeft:$.scrollTop,L=W===0?1:Math.round(W*1e3/16);function M(){_==="horizontal"?$.scrollLeft+=(V-D)/L:$.scrollTop+=(V-D)/L,++E<L&&He(M)}M()},w=($=a.default?.())=>{r.value=[],$=$?.filter(V=>typeof V.children!="string"),$&&$.length&&s($),c(e.modelValue),(0,t.nextTick)(()=>{p()})},v=$=>{o=$.fixed};(0,t.watch)(()=>a.default?.(),$=>{w($)});const S=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;(0,t.watch)(()=>e.modelValue,$=>{if(c($),p(),o){let V=xe(l.value).top+S(),W=Math.ceil(V-e.top);window.scrollTo({top:W,behavior:"smooth"})}}),(0,t.onMounted)(w),(0,t.onActivated)(w);const f={isBegin:()=>i.value==0,isEnd:()=>i.value==r.value.length-1,next:()=>{i.value+=1,f.updateValue(r.value[i.value])},prev:()=>{i.value-=1,f.updateValue(r.value[i.value])},updateValue:$=>{n("update:modelValue",$.paneKey),n("change",$)},tabChange:($,V)=>{n("click",$),!($.disabled||i.value==V)&&(i.value=V,f.updateValue($))},setTabItemRef:($,V)=>{u.value[V]=$}},{tabsContentRef:k,touchState:d,touchMethods:C}=vb(e,f),N=(0,t.computed)(()=>{let $=i.value*100;d.moving&&($+=d.offset);let V={transform:e.direction=="horizontal"?`translate3d(-${$}%, 0, 0)`:`translate3d( 0,-${$}%, 0)`,transitionDuration:d.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(V={}),V}),g=(0,t.computed)(()=>({background:e.background})),y=(0,t.computed)(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),B=(0,t.computed)(()=>{if(!e.titleGutter)return{};const $=de(e.titleGutter);return e.direction==="vertical"?{marginTop:$,marginBottom:$}:{marginLeft:$,marginRight:$}}),T=(0,t.computed)(()=>a.fixedTitle);return{navRef:h,tabsContentRef:k,titles:r,contentStyle:N,tabsNavStyle:g,titleStyle:B,tabsActiveStyle:y,container:l,getScrollY:m,onStickyScroll:v,...f,...C,hasFixedTitle:T}}}),Nb=["onClick"],Ab={key:0,class:"fox-tabs__titles-fixed-item"},Bb=["onClick"],Tb={key:0,class:"fox-tabs__titles-fixed-item"};function Vb(e,n,a,l,o,r){const s=(0,t.resolveComponent)("JoySmile"),i=(0,t.resolveComponent)("fox-sticky");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs",[e.direction]]),ref:"container"},[e.sticky?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,top:e.top,container:e.container,onScroll:e.onStickyScroll},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:(0,t.normalizeStyle)(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?(0,t.renderSlot)(e.$slots,"titles",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.titles,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(c,m),key:c.paneKey},[(0,t.renderSlot)(e.$slots,"title",{title:c.title,paneKey:c.paneKey},()=>[e.type=="line"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-tabs__titles-item__line",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},null,4)):(0,t.createCommentVNode)("",!0),e.type=="smile"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-tabs__titles-item__smile",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},[(0,t.createVNode)(s,{color:e.color},null,8,["color"])],4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},(0,t.toDisplayString)(c.title),3)])],14,Nb))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ab,[(0,t.renderSlot)(e.$slots,"fixedTitle")])):(0,t.createCommentVNode)("",!0)],64))],6)]),_:3},8,["top","container","onScroll"])):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,"scroll-vertical":e.getScrollY,[e.size]:e.size}]),style:(0,t.normalizeStyle)(e.tabsNavStyle),ref:"navRef"},[e.$slots.titles?(0,t.renderSlot)(e.$slots,"titles",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.titles,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(c,m),key:c.paneKey,ref_for:!0,ref:h=>e.setTabItemRef(h,m)},[(0,t.renderSlot)(e.$slots,"title",{title:c.title,paneKey:c.paneKey},()=>[e.type=="line"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-tabs__titles-item__line",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},null,4)):(0,t.createCommentVNode)("",!0),e.type=="smile"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-tabs__titles-item__smile",style:(0,t.normalizeStyle)(e.tabsActiveStyle)},[(0,t.createVNode)(s,{color:e.color},null,8,["color"])],4)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},(0,t.toDisplayString)(c.title),3)])],14,Bb))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Tb,[(0,t.renderSlot)(e.$slots,"fixedTitle")])):(0,t.createCommentVNode)("",!0)],64))],6)),(0,t.createElementVNode)("view",{class:"fox-tabs__content",ref:"tabsContentRef",style:(0,t.normalizeStyle)(e.contentStyle),onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[1]||(n[1]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[(0,t.renderSlot)(e.$slots,"default")],36)],2)}var Ja=oe(Cb,[["render",Vb]]),{create:$b}=ee("tab-pane"),Eb=$b({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const a=(0,t.inject)("tabsOpiton"),l=(0,t.computed)(()=>({display:a.animatedTime.value==0&&e.paneKey!=a.activeKey.value?"none":void 0}));return{...a,paneStyle:l}}});function Db(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tab-pane",{inactive:e.paneKey!=e.activeKey&&e.autoHeight}]),style:(0,t.normalizeStyle)(e.paneStyle)},[(0,t.renderSlot)(e.$slots,"default")],6)}var eo=oe(Eb,[["render",Db]]),{componentName:Ii,create:Ib}=ee("indicator"),qb=Ib({props:{size:{type:Number,default:3,required:!0},current:{type:Number,default:1,required:!0},block:{type:Boolean,default:!1},align:{type:String,default:"center"},fillZero:{type:Boolean,default:!0}},setup(e){const{block:n,align:a}=(0,t.toRefs)(e);return{classes:(0,t.computed)(()=>{const l=Ii;return{[l]:!0,[`${l}--block`]:n.value,[`${l}--align__${a.value}`]:n.value&&a.value}}),componentName:Ii,padZero:lt}}});function xb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.size,s=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:s},[s===e.current?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(`${e.componentName}--number`)},(0,t.toDisplayString)(e.fillZero&&e.padZero(s)||s),3)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`${e.componentName}--dot`)},null,2))],64))),128))],2)}var to=oe(qb,[["render",xb]]),{componentName:Pb,create:Mb}=ee("side-navbar"),zb=Mb({props:{offset:{type:[String,Number],default:15}},emits:[],setup:e=>{const n=(0,t.ref)(null),a=(0,t.reactive)({count:1,observer:null}),l=(0,t.computed)(()=>({[Pb]:!0})),o=(s,i=1)=>{for(let c=0;c<s.length;c++){let m=s[c];m?.children?.[0]&&(m.children[0].style.paddingLeft=+e.offset*i+"px",m.className.includes("fox-side-navbar-item")||o(Array.from(m.children[1].children),++a.count))}a.count--},r=()=>{let s=n.value.childNodes;s.length&&(s=Array.from(s).filter(i=>i.nodeType!==3).map(i=>i),o(s))};return(0,t.onMounted)(()=>{r(),a.observer=new MutationObserver(function(){a.count=1,r()}),a.observer.observe(n.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...(0,t.toRefs)(a),list:n,classes:l}}}),Lb={class:"fox-side-navbar__content"},Ob={class:"fox-side-navbar__content__list",ref:"list"};function Rb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",Lb,[(0,t.createElementVNode)("view",Ob,[(0,t.renderSlot)(e.$slots,"default")],512)])],2)}var no=oe(zb,[["render",Rb]]),{componentName:Fb,create:Kb}=ee("side-navbar-item"),Ub=Kb({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:(0,t.computed)(()=>({[Fb]:!0})),handleClick:()=>{n.emit("click")}})}),Hb=["ikey"],jb={class:"fox-side-navbar-item__title"};function Wb(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...s)=>e.handleClick&&e.handleClick(...s),["stop"])),ikey:e.ikey},[(0,t.createElementVNode)("span",jb,(0,t.toDisplayString)(e.title),1)],10,Hb)}var lo=oe(Ub,[["render",Wb]]),{componentName:Yb,create:Xb}=ee("sub-side-navbar"),Qb=Xb({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:ae.ArrowDown2,ArrowUp2:ae.ArrowUp2},emits:["title-click"],setup:(e,n)=>{const a=(0,t.reactive)({direction:""}),l=(0,t.computed)(()=>({[Yb]:!0})),o=(0,t.computed)(()=>({height:a.direction?"0px":"auto"})),r=()=>{n.emit("title-click"),a.direction=a.direction?"":"up"};return(0,t.onMounted)(()=>{a.direction=e.open?"":"up"}),{...(0,t.toRefs)(a),classes:l,style:o,handleClick:r}}}),Gb=["ikey"],Zb={class:"fox-sub-side-navbar__title__text"},_b={class:"fox-sub-side-navbar__title__icon"};function Jb(e,n,a,l,o,r){const s=(0,t.resolveComponent)("ArrowDown2"),i=(0,t.resolveComponent)("ArrowUp2");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ikey:e.ikey},[(0,t.createElementVNode)("view",{class:"fox-sub-side-navbar__title",onClick:n[0]||(n[0]=(0,t.withModifiers)((...c)=>e.handleClick&&e.handleClick(...c),["stop"]))},[(0,t.createElementVNode)("span",Zb,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("span",_b,[e.direction?((0,t.openBlock)(),(0,t.createBlock)(i,{key:1})):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0}))])]),(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-sub-side-navbar__list",e.direction?"nutFadeOut":"nutFadeIn"]),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,!e.direction]])],10,Gb)}var ao=oe(Qb,[["render",Jb]]),{componentName:eS,create:tS}=ee("range"),nS=tS({props:{range:{type:Boolean,default:!1},disabled:Boolean,activeColor:String,inactiveColor:String,buttonColor:String,vertical:{type:Boolean,default:!1},marks:{type:Object,default:{}},hiddenRange:{type:Boolean,default:!1},hiddenTag:{type:Boolean,default:!1},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(e,{emit:n}){const a=(0,t.ref)(0);let l,o;const r=(0,t.ref)(),s=(0,t.ref)(),i=Je(),c=(0,t.computed)(()=>{const{marks:E,max:D,min:L}=e;return Object.keys(E).map(parseFloat).sort((M,R)=>M-R).filter(M=>{const R=me(M);return R>=me(L)&&R<=me(D)})}),m=(0,t.computed)(()=>Number(e.max)-Number(e.min)),h=(0,t.computed)(()=>{const E=eS;return{[E]:!0,[`${E}-disabled`]:e.disabled,[`${E}-vertical`]:e.vertical,[`${E}-show-number`]:!e.hiddenRange}}),u=(0,t.computed)(()=>{const E="fox-range-container";return{[E]:!0,[`${E}-vertical`]:e.vertical}}),p=(0,t.computed)(()=>({background:e.inactiveColor})),b=(0,t.computed)(()=>({borderColor:e.buttonColor})),w=E=>!!e.range&&Array.isArray(E),v=()=>{const{modelValue:E,min:D}=e;return w(E)?`${(E[1]-E[0])*100/m.value}%`:`${(E-Number(D))*100/m.value}%`},S=()=>{const{modelValue:E,min:D}=e;return w(E)?`${(E[0]-Number(D))*100/m.value}%`:"0%"},f=(0,t.computed)(()=>e.vertical?{height:v(),top:S(),background:e.activeColor,transition:s.value?"none":void 0}:{width:v(),left:S(),background:e.activeColor,transition:s.value?"none":void 0}),k=E=>{const D="fox-range-mark",{modelValue:L,max:M,min:R}=e;let K=Number(R),q=Number(M);if(e.range){const[ne,O]=L;K=ne,q=O}else q=L;let G=E<=q&&E>=K;return{[`${D}-text`]:!0,[`${D}-text-active`]:G}},d=E=>{const{min:D,vertical:L}=e;let M={left:`${(E-Number(D))/m.value*100}%`};return L&&(M={top:`${(E-Number(D))/m.value*100}%`}),M},C=E=>{const{modelValue:D,max:L,min:M}=e;let R=Number(M),K=Number(L);if(e.range){const[q,G]=D;R=q,K=G}return{background:E<=K&&E>=R?e.activeColor:e.inactiveColor}},N=E=>{const{min:D,max:L,step:M}=e;return E=Math.max(+D,Math.min(E,+L)),Math.round(E/+M)*+M},g=(E,D)=>JSON.stringify(E)===JSON.stringify(D),y=E=>E[0]>E[1]?E.slice(0).reverse():E,B=(E,D)=>{w(E)?E=y(E).map(N):E=N(E),g(E,e.modelValue)||n("update:modelValue",E),D&&!g(E,l)&&n("change",E)},T=E=>{if(e.disabled)return;const{min:D,modelValue:L}=e,M=xe(r);let R=E.clientX-M.left,K=M.width;e.vertical&&(R=E.clientY-M.top,K=M.height);const q=Number(D)+R/K*m.value;if(w(L)){const[G,ne]=L;q<=(G+ne)/2?B([q,ne],!0):B([G,q],!0)}else B(q,!0)},$=E=>{e.disabled||(i.start(E),o=e.modelValue,w(o)?l=o.map(N):l=N(o),s.value="start")},V=E=>{if(e.disabled)return;s.value==="start"&&n("drag-start"),i.move(E),s.value="draging";const D=xe(r);let L=i.deltaX.value,M=D.width,R=L/M*m.value;e.vertical&&(L=i.deltaY.value,M=D.height,R=L/M*m.value),w(l)?o[a.value]=l[a.value]+R:o=l+R,B(o),E.stopPropagation(),E.preventDefault()},W=()=>{e.disabled||(s.value==="draging"&&(B(o,!0),n("drag-end")),s.value="")},_=E=>sn(e.modelValue)&&typeof E=="number"?e.modelValue[E]:Number(e.modelValue);return{root:r,classes:h,wrapperStyle:p,buttonStyle:b,onClick:T,onTouchStart:$,onTouchMove:V,onTouchEnd:W,...(0,t.toRefs)(e),barStyle:f,curValue:_,buttonIndex:a,containerClasses:u,markClassName:k,marksStyle:d,marksList:c,tickStyle:C}}}),lS={key:0,class:"fox-range-min"},aS={key:0,class:"fox-range-mark"},oS=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],rS={key:0,class:"number"},iS=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],sS={key:0,class:"number"},cS={key:1,class:"fox-range-max"};function uS(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.containerClasses)},[e.hiddenRange?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",lS,(0,t.toDisplayString)(+e.min),1)),(0,t.createElementVNode)("view",{ref:"root",style:(0,t.normalizeStyle)(e.wrapperStyle),class:(0,t.normalizeClass)(e.classes),onClick:n[9]||(n[9]=(0,t.withModifiers)((...s)=>e.onClick&&e.onClick(...s),["stop"]))},[e.marksList.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",aS,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.marksList,s=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:s,class:(0,t.normalizeClass)(e.markClassName(s)),style:(0,t.normalizeStyle)(e.marksStyle(s))},[(0,t.createTextVNode)((0,t.toDisplayString)(s)+" ",1),(0,t.createElementVNode)("span",{class:"fox-range-tick",style:(0,t.normalizeStyle)(e.tickStyle(s))},null,4)],6))),128))])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-range-bar",style:(0,t.normalizeStyle)(e.barStyle)},[e.range?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)([0,1],s=>(0,t.createElementVNode)("view",{key:s,role:"slider",class:(0,t.normalizeClass)({"fox-range-button-wrapper-left":s==0,"fox-range-button-wrapper-right":s==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(s),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:(0,t.withModifiers)(i=>{typeof s=="number"&&(e.buttonIndex=s),e.onTouchStart(i)},["stop","prevent"]),onTouchmove:n[0]||(n[0]=(0,t.withModifiers)((...i)=>e.onTouchMove&&e.onTouchMove(...i),["stop","prevent"])),onTouchend:n[1]||(n[1]=(0,t.withModifiers)((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=(0,t.withModifiers)((...i)=>e.onTouchEnd&&e.onTouchEnd(...i),["stop","prevent"])),onClick:n[3]||(n[3]=i=>i.stopPropagation())},[e.$slots.button?(0,t.renderSlot)(e.$slots,"button",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-range-button",style:(0,t.normalizeStyle)(e.buttonStyle)},[e.hiddenTag?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",rS,(0,t.toDisplayString)(e.curValue(s)),1))],4))],42,oS)),64)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,role:"slider",class:"fox-range-button-wrapper",tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:n[4]||(n[4]=(0,t.withModifiers)(s=>{e.onTouchStart(s)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=(0,t.withModifiers)((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=(0,t.withModifiers)((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[8]||(n[8]=s=>s.stopPropagation())},[e.$slots.button?(0,t.renderSlot)(e.$slots,"button",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-range-button",style:(0,t.normalizeStyle)(e.buttonStyle)},[e.hiddenTag?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",sS,(0,t.toDisplayString)(e.curValue()),1))],4))],40,iS))],4)],6),e.hiddenRange?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",cS,(0,t.toDisplayString)(+e.max),1))],2)}var Xt=oe(nS,[["render",uS]]),{create:dS,scope:fS}=ee("short-password"),mS=dS({components:{[be.name]:be,Tips:ae.Tips},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:a}=(0,he.useFoxI18n)(fS),l=a(e,["title","desc","tips"]),o=(0,t.ref)(e.modelValue),r=(0,t.computed)(()=>m(Number(e.length))),s=(0,t.ref)(e.visible),i=u=>{u.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,u=>{s.value=u}),(0,t.watch)(()=>e.modelValue,u=>{o.value=u,String(u).length===r.value&&n("complete",u)});const c=()=>{n("update:visible",!1),n("close")},m=u=>Math.min(Math.max(4,u),6);return{comLen:r,realInput:o,onTouchStart:i,range:m,close:c,onTips:()=>{n("tips")},show:s,...l}}}),hS={class:"fox-short-password-title"},pS={class:"fox-short-password-subtitle"},gS={class:"fox-short-password-wrapper"},yS={key:0,class:"fox-short-password__item-icon"},bS={class:"fox-short-password__message"},SS={class:"fox-short-password--error"},vS={key:0,class:"fox-short-password--forget"};function kS(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Tips"),i=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(i,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",hS,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",pS,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",gS,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...c)=>e.onTouchStart&&e.onTouchStart(...c))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:m},[String(e.realInput).length>m?((0,t.openBlock)(),(0,t.createElementBlock)("view",yS)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",bS,[(0,t.createElementVNode)("view",SS,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",vS,[(0,t.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...c)=>e.onTips&&e.onTips(...c))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var oo=oe(mS,[["render",kS]]),wS=class{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload},CS=class{options;constructor(e){this.options=e}upload(){const e=this.options,n=new XMLHttpRequest;if(n.timeout=e.timeout,n.upload){n.upload.addEventListener("progress",a=>{e.onProgress?.(a,e)},!1),n.onreadystatechange=()=>{n.readyState===4&&(n.status==e.xhrState?e.onSuccess?.(n.responseText,e):e.onFailure?.(n.responseText,e))},n.withCredentials=e.withCredentials,n.open(e.method,e.url,!0);for(const[a,l]of Object.entries(e.headers))n.setRequestHeader(a,l);e.onStart?.(e),e.beforeXhrUpload?e.beforeXhrUpload(n,e):n.send(e.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}},NS=class{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}},qi=(e,{args:n=[],done:a,canceled:l})=>{if(e){const o=e.apply(null,n);ut(o)?o.then(r=>{r?a(r):l&&l()}).catch(()=>{}):o?a():l&&l()}else a()},{create:AS}=ee("progress"),BS=AS({components:{Checked:ae.Checked},props:{percentage:{type:[Number,String],default:0,required:!0},size:{type:String,default:"base"},status:{type:String,default:""},strokeWidth:{type:[Number,String],default:""},textInside:{type:Boolean,default:!1},showText:{type:Boolean,default:!0},strokeColor:{type:String,default:""},textColor:{type:String,default:""},textBackground:{type:String,default:""},isShowPercentage:{type:Boolean,default:!0}},setup(e){const n=!!(0,t.useSlots)().default,a=(0,t.ref)(e.strokeWidth+"px"),l=(0,t.ref)(),o=(0,t.ref)(),r=(0,t.computed)(()=>{const c=me(e.percentage);return c>=100?100:c}),s=(0,t.computed)(()=>({width:r.value+"%",background:e.strokeColor||""})),i=(0,t.computed)(()=>({color:e.textColor||""}));return(0,t.onMounted)(()=>{}),{height:a,percentage:r,bgStyle:s,textStyle:i,progressOuter:l,insideText:o,slotDefault:n}}}),TS={class:"fox-progress"},VS={key:0,class:"fox-progress-text"};function $S(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Checked");return(0,t.openBlock)(),(0,t.createElementBlock)("div",TS,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-progress-outer",[e.showText&&!e.textInside?"fox-progress-outer-part":"",e.size?"fox-progress-"+e.size:""]]),ref:"progressOuter",style:(0,t.normalizeStyle)({height:e.height})},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-progress-inner",e.status=="active"?"fox-active":""]),style:(0,t.normalizeStyle)(e.bgStyle)},null,6),e.showText&&e.textInside&&!e.slotDefault?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-progress-text fox-progress-insidetext",ref:"insideText",style:(0,t.normalizeStyle)({lineHeight:e.height,left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`,background:e.textBackground||e.strokeColor})},[(0,t.createElementVNode)("span",{style:(0,t.normalizeStyle)(e.textStyle)},(0,t.toDisplayString)(e.percentage)+(0,t.toDisplayString)(e.isShowPercentage?"%":""),5)],4)):(0,t.createCommentVNode)("",!0),e.showText&&e.textInside&&e.slotDefault?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,ref:"insideText",style:(0,t.normalizeStyle)({position:"absolute",top:"50%",left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`})},[(0,t.renderSlot)(e.$slots,"default")],4)):(0,t.createCommentVNode)("",!0)],6),e.showText&&!e.textInside?((0,t.openBlock)(),(0,t.createElementBlock)("div",VS,[e.status=="active"||e.status==""?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,style:(0,t.normalizeStyle)(e.textStyle)},(0,t.toDisplayString)(e.percentage)+(0,t.toDisplayString)(e.isShowPercentage?"%":""),5)):e.status=="icon"?(0,t.renderSlot)(e.$slots,"icon-name",{key:1},()=>[(0,t.createVNode)(s,{width:"15px",height:"15px",color:"#439422"})]):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)])}var Qt=oe(BS,[["render",$S]]),{componentName:ES,create:DS,scope:IS}=ee("uploader"),qS=DS({components:{[Qt.name]:Qt,Photograph:ae.Photograph,Failure:ae.Failure,Loading:ae.Loading,Del:ae.Del,Link:ae.Link},props:{name:{type:String,default:"file"},url:{type:String,default:""},timeout:{type:[Number,String],default:1e3*30},fileList:{type:Array,default:()=>[]},isPreview:{type:Boolean,default:!0},listType:{type:String,default:"picture"},isDeletable:{type:Boolean,default:!0},method:{type:String,default:"post"},capture:{type:Boolean,default:!1},maximize:{type:[Number,String],default:Number.MAX_VALUE},maximum:{type:[Number,String],default:1},clearInput:{type:Boolean,default:!0},accept:{type:String,default:"*"},headers:{type:Object,default:{}},data:{type:Object,default:{}},xhrState:{type:[Number,String],default:200},withCredentials:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autoUpload:{type:Boolean,default:!0},beforeUpload:{type:Function,default:null},beforeXhrUpload:{type:Function,default:null},beforeDelete:{type:Function,default:(e,n)=>!0},onChange:{type:Function}},emits:["start","progress","oversize","success","failure","change","delete","update:fileList","file-item-click"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(IS),l=(0,t.reactive)(e.fileList);let o=[];const r=(0,t.computed)(()=>({[ES]:!0})),s=()=>{let k={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(k.capture="camera"),(0,t.h)("input",k)},i=k=>{k.value=""},c=k=>{n("file-item-click",{fileItem:k})},m=(k,d)=>{const C=new wS;C.url=e.url,C.formData=k.formData,C.timeout=e.timeout*1,C.method=e.method,C.xhrState=e.xhrState,C.headers=e.headers,C.withCredentials=e.withCredentials,C.beforeXhrUpload=e.beforeXhrUpload;try{C.sourceFile=k.formData.get(e.name)}catch{}C.onStart=g=>{k.status="ready",k.message=a("readyUpload"),h(d),n("start",g)},C.onProgress=(g,y)=>{k.status="uploading",k.message=a("uploading"),k.percentage=(g.loaded/g.total*100).toFixed(0),n("progress",{event:g,option:y,percentage:k.percentage})},C.onSuccess=(g,y)=>{k.status="success",k.message=a("success"),n("success",{responseText:g,option:y,fileItem:k}),n("update:fileList",l)},C.onFailure=(g,y)=>{k.status="error",k.message=a("error"),n("failure",{responseText:g,option:y,fileItem:k})};let N=new CS(C);e.autoUpload?N.upload():o.push(new Promise((g,y)=>{g(N)}))},h=(k=-1)=>{k>-1?o.splice(k,1):(o=[],l.splice(0,l.length))},u=()=>{Promise.all(o).then(k=>{k.forEach(d=>d.upload())})},p=k=>{k.forEach((d,C)=>{const N=new FormData;for(const[y,B]of Object.entries(e.data))N.append(y,B);N.append(e.name,d);const g=(0,t.reactive)(new NS);if(g.name=d.name,g.status="ready",g.type=d.type,g.formData=N,g.message=a("waitingUpload"),m(g,C),e.isPreview&&d.type.includes("image")){const y=new FileReader;y.onload=B=>{g.url=B.target.result,l.push(g)},y.readAsDataURL(d)}else l.push(g)})},b=k=>{const d=e.maximum*1,C=e.maximize*1,N=new Array;k=k.filter(y=>y.size>C?(N.push(y),!1):!0),N.length&&n("oversize",N);let g=k.length+l.length;return g>d&&k.splice(k.length-(g-d)),k},w=(k,d)=>{l.splice(d,1),n("delete",{file:k,fileList:l,index:d})},v=(k,d)=>{h(d),qi(e.beforeDelete,{args:[k,l],done:()=>w(k,d)})},S=k=>{if(e.disabled)return;const d=k.target;let{files:C}=d;e.beforeUpload?e.beforeUpload(C).then(N=>f(N)):f(C),n("change",{fileList:l,event:k}),e.clearInput&&i(d)},f=k=>{p(b(new Array().slice.call(k)))};return{onChange:S,onDelete:v,fileList:l,classes:r,fileItemClick:c,clearUploadQueue:h,submit:u,renderInput:s}}}),xS={key:0,class:"fox-uploader__slot"},PS={key:0,class:"fox-uploader__preview-img"},MS={key:0,class:"fox-uploader__preview__progress"},zS={class:"fox-uploader__preview__progress__msg"},LS=["onClick"],OS=["onClick","src"],RS={key:3,class:"fox-uploader__preview-img__file"},FS=["onClick"],KS={class:"file__name_tips"},US={class:"tips"},HS={key:1,class:"fox-uploader__preview-list"},jS=["onClick"],WS={class:"file__name_tips"};function YS(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Failure"),i=(0,t.resolveComponent)("Loading"),c=(0,t.resolveComponent)("Link"),m=(0,t.resolveComponent)("Del"),h=(0,t.resolveComponent)("fox-progress"),u=(0,t.resolveComponent)("Photograph");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",xS,[(0,t.renderSlot)(e.$slots,"default"),Number(e.maximum)-e.fileList.length?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderInput),{key:0,onChange:e.onChange},null,40,["onChange"])):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.fileList,(p,b)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-uploader__preview",[e.listType]]),key:p.uid},[e.listType=="picture"&&!e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",PS,[p.status!="success"?((0,t.openBlock)(),(0,t.createElementBlock)("view",MS,[p.status!="ready"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[p.status=="error"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,color:"#fff"})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1,name:"loading",color:"#fff"}))],64)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",zS,(0,t.toDisplayString)(p.message),1)])):(0,t.createCommentVNode)("",!0),e.isDeletable?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"close",onClick:w=>e.onDelete(p,b)},[(0,t.renderSlot)(e.$slots,"delete-icon",{},()=>[(0,t.createVNode)(s)])],8,LS)):(0,t.createCommentVNode)("",!0),p?.type?.includes("image")&&p.url?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,class:"fox-uploader__preview-img__c",onClick:w=>e.fileItemClick(p),src:p.url},null,8,OS)):((0,t.openBlock)(),(0,t.createElementBlock)("view",RS,[(0,t.createElementVNode)("view",{onClick:w=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[(0,t.createElementVNode)("view",KS,(0,t.toDisplayString)(p.name),1)],8,FS)])),(0,t.createElementVNode)("view",US,(0,t.toDisplayString)(p.name),1)])):e.listType=="list"?((0,t.openBlock)(),(0,t.createElementBlock)("view",HS,[(0,t.createElementVNode)("view",{onClick:w=>e.fileItemClick(p),class:(0,t.normalizeClass)(["fox-uploader__preview-img__file__name",[p.status]])},[(0,t.createVNode)(c,{class:"fox-uploader__preview-img__file__link"}),(0,t.createElementVNode)("view",WS,(0,t.toDisplayString)(p.name),1),e.isDeletable?((0,t.openBlock)(),(0,t.createBlock)(m,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:w=>e.onDelete(p,b)},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],10,jS),p.status=="uploading"?((0,t.openBlock)(),(0,t.createBlock)(h,{key:0,size:"small",percentage:p.percentage,"stroke-color":"linear-gradient(270deg, rgba(18,126,255,1) 0%,rgba(32,147,255,1) 32.815625%,rgba(13,242,204,1) 100%)","show-text":!1},null,8,["percentage"])):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&Number(e.maximum)-e.fileList.length?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(["fox-uploader__upload",[e.listType]])},[(0,t.renderSlot)(e.$slots,"upload-icon",{},()=>[(0,t.createVNode)(u,{color:"#808080"})]),((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderInput),{onChange:e.onChange},null,40,["onChange"]))],2)):(0,t.createCommentVNode)("",!0)],2)}var ro=oe(qS,[["render",YS]]),XS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIH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iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:GS,scope:ZS}=ee("number-keyboard"),_S=GS({components:{[be.name]:be},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:a}=(0,he.useFoxI18n)(ZS),l=a(e,["confirmText"]),o=(0,t.ref)(void 0),r=(0,t.ref)(e.visible),s=(0,t.ref)();function i(){const{customKey:f}=e;let k={id:"lock",type:"lock"},d=Array.isArray(f)?f:[f];return d.length===1&&(k={id:d[0],type:"custom"}),[...c(),k,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const f=[];for(let k=1;k<=9;k++)f.push({id:k,type:"number"});return e.randomKeys?f.sort(()=>Math.random()>.5?1:-1):f}function m(){const f=c(),{customKey:k}=e;let d=Array.isArray(k)?k:[k];return d.length>2&&(d=[d[0],d[1]]),d.length==2&&e.title&&e.type!="rightColumn"&&(d=[d[0]]),d.length===1?e.title&&e.type!="rightColumn"?f.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):f.push({id:0,type:"number"},{id:d[0],type:"custom"}):d.length===2&&f.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:d[1],type:"custom"}),f}const h=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?m():i()),u=()=>{e.visible&&n("blur")},p=f=>{const k=s.value;k&&!k.contains(f.target)&&u()};(0,t.watch)(()=>e.visible,f=>{r.value=f,f?window.addEventListener("touchstart",p,!1):window.removeEventListener("touchstart",p,!1)});function b(f,k){k.stopPropagation(),o.value=f.id,(f.type=="number"||f.type=="custom")&&(n("input",f.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+f.id)),f.type=="lock"&&S(),f.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function w(f){f.stopPropagation()}function v(f){f.preventDefault(),o.value=void 0}function S(){n("update:visible",!1),n("close")}return{...l,delImg:XS,lockImg:QS,clickKeyIndex:o,defaultKey:i,closeBoard:S,onTouchEnd:v,onTouchMove:w,onTouchstart:b,keysList:h,genCustomKeys:m,getBasicKeys:c,root:s,show:r}}}),JS={ref:"root"},e1={class:"fox-number-keyboard"},t1={key:0,class:"fox-number-keyboard__header"},n1={class:"fox-number-keyboard__title"},l1={class:"fox-number-keyboard__body"},a1={class:"fox-number-keyboard__keys"},o1=["onTouchstart"],r1=["src"],i1=["src"],s1={key:0,class:"fox-number-keyboard__sidebar"},c1={class:"fox-key__wrapper"},u1=["src"];function d1(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",JS,[(0,t.createVNode)(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=i=>e.show=i),position:"bottom",popClass:e.popClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",e1,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",t1,[(0,t.createElementVNode)("h3",n1,(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]=i=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",l1,[(0,t.createElementVNode)("div",a1,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,i=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+i.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":i.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":i.id==e.clickKeyIndex},{"fox-key--lock":i.type=="lock"},{"fox-key--delete":i.type=="delete"}]),onTouchstart:c=>e.onTouchstart(i,c),onTouchmove:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[2]=c=>e.onTouchEnd(c))},[i.type=="number"||i.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(i.id),1)],64)):(0,t.createCommentVNode)("",!0),i.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,r1)):(0,t.createCommentVNode)("",!0),i.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,i1)):(0,t.createCommentVNode)("",!0)],42,o1)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",s1,[(0,t.createElementVNode)("div",c1,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=i=>e.onTouchstart({id:"delete",type:"delete"},i)),onTouchmove:n[4]||(n[4]=i=>e.onTouchMove(i)),onTouchend:n[5]||(n[5]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,u1)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=i=>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 io=oe(_S,[["render",d1]]),{componentName:f1,create:m1}=ee("swipe"),h1=m1({props:{name:{type:String,default:""},touchMoveStopPropagation:{type:Boolean,default:!1},touchMovePreventDefault:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["open","close"],setup(e,{emit:n}){const a=(0,t.computed)(()=>({[f1]:!0})),l=k=>k.value?.clientWidth||0,o=(0,t.ref)(),r=(0,t.computed)(()=>l(o)),s=(0,t.ref)(),i=(0,t.computed)(()=>l(s));let c=!1,m="",h="";const u=(0,t.reactive)({offset:0,moving:!1}),p=(k="")=>{c=!0,k&&(u.offset=k==="left"?-i.value:r.value),n("open",{name:e.name,position:m||k})},b=()=>{u.offset=0,c=!1,n("close",{name:e.name,position:m})},w=(0,t.computed)(()=>({transform:`translate3d(${u.offset}px, 0, 0)`})),v=k=>{m=k>0?"right":"left";let d=k;switch(m){case"left":c&&h===m?d=-i.value:d=Math.abs(k)>i.value?-i.value:k;break;case"right":c&&h===m?d=r.value:d=Math.abs(k)>r.value?r.value:k;break}u.offset=d},S=Je(),f={onTouchStart(k){e.disabled||S.start(k)},onTouchMove(k){e.disabled||(S.move(k),S.isHorizontal()&&(u.moving=!0,v(S.deltaX.value),e.touchMovePreventDefault&&k.preventDefault(),e.touchMoveStopPropagation&&k.stopPropagation()))},onTouchEnd(){if(u.moving)switch(u.moving=!1,h=m,m){case"left":Math.abs(u.offset)<=i.value/2?b():(u.offset=-i.value,p());break;case"right":Math.abs(u.offset)<=r.value/2?b():(u.offset=r.value,p());break}}};return Te({open:p,close:b}),{classes:a,touchStyle:w,...f,leftRef:o,rightRef:s,open:p,close:b}}}),p1={class:"fox-swipe__left",ref:"leftRef"},g1={class:"fox-swipe__content"},y1={class:"fox-swipe__right",ref:"rightRef"};function b1(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.touchStyle),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))},[(0,t.createElementVNode)("view",p1,[(0,t.renderSlot)(e.$slots,"left")],512),(0,t.createElementVNode)("view",g1,[(0,t.renderSlot)(e.$slots,"default")]),(0,t.createElementVNode)("view",y1,[(0,t.renderSlot)(e.$slots,"right")],512)],38)}var so=oe(h1,[["render",b1]]),{componentName:S1,create:v1}=ee("action-sheet"),k1=v1({components:{Popup:be,Loading:ae.Loading},props:{...et,cancelTxt:{type:String},optionTag:{type:String,default:"name"},optionSubTag:{type:String,default:"subname"},chooseTagValue:{type:String},title:{type:String},color:{type:String,default:"#ee0a24"},description:{type:String},menuItems:{type:Array,default:()=>[]},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:n}){const a=!!(0,t.useSlots)().default,l=(0,t.computed)(()=>({[S1]:!0}));return{slotDefault:a,isHighlight:c=>e.chooseTagValue&&e.chooseTagValue===c[e.optionTag]?e.color:"",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(c,m)=>{!c.disable&&!c.loading&&(n("choose",c,m),n("update:visible",!1))},close:c=>{n("close",c),n("update:visible",!1)},classes:l}}}),w1={key:0,class:"fox-action-sheet__title"},C1={key:1},N1={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},A1={key:1,class:"fox-action-sheet__menu"},B1=["onClick"],T1={key:1},V1={class:"fox-action-sheet__subdesc"};function $1(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Loading"),i=(0,t.resolveComponent)("Popup");return(0,t.openBlock)(),(0,t.createBlock)(i,{visible:e.visible,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes)},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",w1,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"default"),e.slotDefault?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",C1,[e.description?((0,t.openBlock)(),(0,t.createElementBlock)("view",N1,(0,t.toDisplayString)(e.description),1)):(0,t.createCommentVNode)("",!0),e.menuItems.length?((0,t.openBlock)(),(0,t.createElementBlock)("view",A1,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.menuItems,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":c.disable,"fox-action-sheet__item--loading":c.loading}]),style:(0,t.normalizeStyle)({color:e.isHighlight(c)||c.color}),key:m,onClick:h=>e.chooseItem(c,m)},[c.loading?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,name:"loading"})):((0,t.openBlock)(),(0,t.createElementBlock)("view",T1,(0,t.toDisplayString)(c[e.optionTag]),1)),(0,t.createElementVNode)("view",V1,(0,t.toDisplayString)(c[e.optionSubTag]),1)],14,B1))),128))])):(0,t.createCommentVNode)("",!0),e.cancelTxt?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:"fox-action-sheet__cancel",onClick:n[0]||(n[0]=(...c)=>e.cancelActionSheet&&e.cancelActionSheet(...c))},(0,t.toDisplayString)(e.cancelTxt),1)):(0,t.createCommentVNode)("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}var co=oe(k1,[["render",$1]]),{componentName:E1,create:D1}=ee("backtop"),I1=D1({props:{bottom:{type:Number,default:20},right:{type:Number,default:10},elId:{type:[String]},distance:{type:Number,default:200},zIndex:{type:Number,default:10},isAnimation:{type:Boolean,default:!0},duration:{type:Number,default:1e3}},emits:["click"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),o=(0,t.computed)(()=>({[E1]:!0,show:l.backTop})),r=(0,t.computed)(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function s(){l.scrollEl instanceof Window?l.scrollTop=l.scrollEl.pageYOffset:l.scrollTop=l.scrollEl.scrollTop,l.backTop=l.scrollTop>=e.distance}function i(w=0){l.scrollEl instanceof Window?window.scrollTo(0,w):l.scrollEl.scrollTop=w}function c(){let w=Ye(function v(){var S=e.duration-Math.max(0,l.startTime-+new Date+e.duration),f=S*-l.scrollTop/e.duration+l.scrollTop;i(f),w=Ye(v),(S==e.duration||f==0)&&Wo(w)})}function m(){l.scrollEl.addEventListener("scroll",s,!1),l.scrollEl.addEventListener("resize",s,!1)}function h(){l.scrollEl.removeEventListener("scroll",s,!1),l.scrollEl.removeEventListener("resize",s,!1)}function u(w){l.startTime=+new Date,e.isAnimation&&e.duration>0?c():i(),n("click",w)}function p(){b.value?l.scrollEl=b.value.el:e.elId&&document.getElementById(e.elId)&&(l.scrollEl=document.getElementById(e.elId)),m()}(0,t.onMounted)(()=>{e.distance==0&&(l.backTop=!0),p()}),(0,t.onUnmounted)(()=>{h()}),(0,t.onActivated)(()=>{l.keepAlive&&(l.keepAlive=!1,p())}),(0,t.onDeactivated)(()=>{l.keepAlive=!0,h()});const b=(0,t.computed)(()=>{if(typeof a.content=="function"){const w=a.content();return Array.isArray(w)?w[0]:w}return null});return()=>{const w=[];b.value&&w.push(b.value);const v=[];if(typeof a.default=="function")v.push(a.default());else{const f=(0,t.h)(ae.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});v.push(f)}const S=(0,t.h)("div",{class:o.value,style:r.value,onClick:u},v);return w.push(S),w}}}),uo=I1,{componentName:q1,create:x1}=ee("drag"),P1=x1({props:{attract:{type:Boolean,default:!1},direction:{type:String,default:"all"},boundary:{type:Object,default:()=>({top:0,left:0,right:0,bottom:0})}},setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.reactive)({keepAlive:!1,elWidth:0,elHeight:0,screenWidth:0,screenHeight:0,startTop:0,startLeft:0,nx:0,ny:0,xPum:0,yPum:0,position:{x:0,y:0},boundary:{top:0,left:0,right:0,bottom:0}}),o=(0,t.computed)(()=>({[q1]:!0}));function r(){const u=document.documentElement;l.elWidth=a.value.offsetWidth,l.elHeight=a.value.offsetHeight,l.screenWidth=u.clientWidth,l.screenHeight=u.clientHeight}function s(u){l.boundary.left?+u.style.left.split("px")[0]>l.boundary.left?(u.style.left=+u.style.left.split("px")[0]-10+"px",He(()=>{s(u)})):u.style.left=`${l.boundary.left}px`:+u.style.left.split("px")[0]>10?(u.style.left=+u.style.left.split("px")[0]-10+"px",He(()=>{s(u)})):u.style.left="0px"}function i(u,p){p-parseInt(u.style.left.split("px")[0])>10?(u.style.left=parseInt(u.style.left.split("px")[0])+10+"px",He(()=>{i(u,p)})):u.style.left=p+"px"}function c(u){u.preventDefault();const p=u.currentTarget;if(u.targetTouches.length===1){const b=u.targetTouches[0];l.nx=b.clientX-l.position.x,l.ny=b.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const w=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>w?l.xPum=w:l.xPum<=l.boundary.left&&(l.xPum=l.boundary.left),l.yPum<l.boundary.top?l.yPum=l.boundary.top:l.yPum>l.screenHeight-l.elHeight-l.boundary.bottom&&(l.yPum=l.screenHeight-l.elHeight-l.boundary.bottom),e.direction!="y"&&(p.style.left=l.xPum+"px"),e.direction!="x"&&(p.style.top=l.yPum+"px")}}function m(u){const p=u.currentTarget;let b=u.changedTouches[0].clientX;const w=l.screenWidth-l.elWidth-l.boundary.right;b>w?b=w:b<l.boundary.left?b=l.boundary.left:b=b<l.screenWidth/2?l.boundary.left:w,e.direction!="y"&&e.attract&&(b<l.screenWidth/2?He(()=>{s(p)}):He(()=>{i(p,w)})),e.direction!="x"&&(p.style.top=l.yPum+"px")}function h(u){const p=u.currentTarget,b=u.touches[0],w=u.targetTouches[0];l.startTop=p.offsetTop,l.startLeft=p.offsetLeft,l.position.x=b.clientX,l.position.y=b.clientY,l.nx=w.clientX-l.position.x,l.ny=w.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny}return(0,t.onMounted)(()=>{r(),l.boundary=e.boundary}),(0,t.onActivated)(()=>{l.keepAlive&&(l.keepAlive=!1)}),(0,t.onDeactivated)(()=>{l.keepAlive=!0;const u=a;u.value.removeEventListener("touchstart",h),u.value.removeEventListener("touchmove",c),u.value.removeEventListener("touchend",m)}),{classes:o,myDrag:a,touchStart:h,touchMove:c,touchEnd:m}}});function M1(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=s=>e.touchStart(s)),onTouchmove:n[1]||(n[1]=s=>e.touchMove(s)),onTouchend:n[2]||(n[2]=s=>e.touchEnd(s))},[(0,t.renderSlot)(e.$slots,"default")],34)}var fo=oe(P1,[["render",M1]]),z1={width:{type:[String,Number]},height:{type:[String,Number]},plain:{type:[Boolean]},closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String},showClose:{type:Boolean,default:!1},closeIcon:{type:Object},content:{type:[String,Object]},showFooter:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},cancelButtonText:{type:String},cancelText:{type:String},cancelButtonClass:{type:[String],required:!1},cancelButtonStyle:{type:[Object],required:!1},confirmButtonText:{type:String},confirmText:{type:String},confirmButtonClass:{type:[String],required:!1},confirmButtonStyle:{type:[Object],required:!1},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},footerDirection:{type:String,default:"horizontal"},popClass:{type:String},popStyle:{type:Object},beforeClose:{type:Function}},L1=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function O1(e,n,a,l,o){return{props:{...et,...z1},setup(r,{attrs:s,slots:i,emit:c}){const{toLocaleRefs:m}=(0,he.useFoxI18n)(n),h=m(r,["confirmText","cancelText"]),u=e,p=(0,t.ref)(r.visible);(0,t.watch)(()=>r.visible,g=>{p.value!==g&&(p.value=g,g&&c("opened"))});const b=g=>{p.value=g,c("update:visible",g),c("update",g)},w=g=>{if(c(g),!(g==="cancel"&&!r.cancelAutoClose))if(typeof r.beforeClose=="function"){const y=r.beforeClose(g);ut(y)?y.then(B=>{B&&(b(!1),c("closed",g))}):y===!0&&(b(!1),c("closed",g))}else b(!1),c("closed",g)},v=()=>{w("confirm")},S=()=>{w("cancel")},f=()=>{w("close")},k=(g,y)=>L1(g)?(y.src=g,(0,t.h)("img",y)):typeof g=="string"?(Array.isArray(y.class)?y.class.push(g):y.class&&typeof y.class=="object"?y[`${g}`]=!0:typeof y.class=="string"?y.class=`${y.class}, ${g}`:y.class=g,(0,t.h)(r.tag,y)):(0,t.h)(g,y),d=()=>{const g=[];if(i.header){const y=i.header();g.push(y)}else{if(r.title){const y=(0,t.h)("view",{class:`${u}__header-title`},[r.title]);g.push(y)}if(r.showClose){const y={class:[`${u}__header-close-icon`],onClick:f},B=k(r.closeIcon??o,y);g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},C=()=>{const g=[];if(i.default)g.push(i.default());else{const y={class:[`${u}__content`]};if(r.textAlign&&y.class.push(r.textAlign),typeof r.content=="string"){y.innerHTML=r.content;const B=(0,t.h)("view",y);g.push(B)}else if(typeof r.content=="function"){const B=(0,t.h)("view",y,[r.content()]);g.push(B)}else{const B=(0,t.h)("view",y,[r.content]);g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__body`]},g)},N=()=>{if(!r.showFooter)return null;const g=[];if(i.footer)g.push(i.footer());else if(r.plain){if(r.showCancelButton){const y={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},onClick:S};r.cancelButtonClass&&y.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(y.style,r.cancleButtonStyle);const B=(0,t.h)("view",y,[r.cancelButtonText??h.cancelText.value]);g.push(B)}if(r.showConfirmButton){const y={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},onClick:v};r.confirmButtonClass&&y.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(y.style,r.confirmButtonStyle);const B=(0,t.h)("view",y,[r.confirmButtonText??h.confirmText.value]);g.push(B)}}else{if(r.showCancelButton){const y={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},plain:!0,type:"primary",size:"small",onClick:S};r.cancelButtonClass&&y.class.push(r.cancelButtonClass),r.cancleButtonStyle&&typeof r.cancleButtonStyle=="object"&&Object.assign(y.style,r.cancleButtonStyle);const B=(0,t.h)(l,y,{default:()=>[r.cancelButtonText??h.cancelText.value]});g.push(B)}if(r.showConfirmButton){const y={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},plain:!1,type:"primary",size:"small",onClick:v};r.confirmButtonClass&&y.class.push(r.confirmButtonClass),r.confirmButtonStyle&&typeof r.confirmButtonStyle=="object"&&Object.assign(y.style,r.confirmButtonStyle);const B=(0,t.h)(l,y,{default:()=>[r.confirmButtonText??h.confirmText.value]});g.push(B)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__footer`,`${u}__footer--${r.footerDirection}`]},g)};return()=>{const g=[],y=d();y&&g.push(y);const B=C();B&&g.push(B);const T=N();T&&g.push(T);const $=(0,t.h)("view",{class:{[`${u}`]:!0,[`${u}--plain`]:r.plain}},g),V=[`${u}__popup`];r.popClass&&V.push(r.popClass);const W={};return r.width&&(W.width=typeof r.width=="number"?`${r.width}px`:r.width),r.height&&(W.height=typeof r.height=="number"?`${r.height}px`:r.height),(0,t.h)(a,{...ge(r,et),popClass:V.join(" "),style:W,visible:p.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":b,position:r.position,onClickOverlay:f,closeOnClickOverlay:r.closeOnClickOverlay},{default:()=>$})}}}}var{componentName:R1,create:F1,scope:K1}=ee("dialog"),U1=F1(O1(R1,K1,be,it,ae.Close)),xi=U1,H1=class{title="";content="";cancelText=null;confirmText=null;textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=e=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1},j1=class{options=new H1;constructor(e){let n=Object.assign(this.options,e),a=document.body,l=n.teleport;l!="body"&&(typeof l=="string"?a=document.querySelector(l):a=n.teleport);const o=document.createElement("view"),r=`dialog-${n.id}`;o.id=r;const s=(0,t.createVNode)({setup(){return n.onUpdate=i=>{if(i===!1){const c=document.querySelector(`#${r}`);c&&c.parentNode?.removeChild(c)}},n?.onOpened&&n?.onOpened(),()=>(0,t.h)(xi,n)}});a.appendChild(o),(0,t.render)(s,o)}},Gt=function(e){return new j1(e)};Gt.install=e=>{e.use(xi),e.config.globalProperties.$dialog=Gt};var W1={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}},Y1=(e,n,a)=>({props:{...W1},emits:["change","refresh","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,he.useFoxI18n)(n),i=s(l,["pullingText","loosingText","loadingText"]),c=Kn(),m=(0,t.ref)(),h=vi(m),u=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),p=(0,t.computed)(()=>({[e]:!0})),b=(0,t.computed)(()=>{switch(u.status){case"pulling":return r.pulling?"":i.pullingText.value;case"loosing":return r.loosing?"":i.loosingText.value;case"loading":return r.loading?"":i.loadingText.value;default:return""}}),w=(0,t.computed)(()=>({transitionDuration:`${l.duration}s`,transform:u.distance?`translate3d(0,${u.distance}px, 0)`:""})),v=(0,t.computed)(()=>{const y={};return l.headHeight!=50&&(y.height=de(l.headHeight)),y}),S=y=>{const B=+(l.pullDistance||l.headHeight);let T=y;return y>B&&(y<B*2?T=(y+B)/2:T=B+y/4),Math.round(T)},f=(y,B)=>{const T=+(l.pullDistance||l.headHeight);u.distance=y,B?u.status="loading":y===0?u.status="normal":y<T?u.status="pulling":u.status="loosing",o("change",{status:u.status,distance:y})},k=()=>u.status!=="loading"&&u.status!=="complete",d=()=>h.value==window?ki()==0:h.value&&h.value.scrollTop==0,C=y=>{k()&&(d()?(c.start(y),u.isPullRefresh=!0,u.moving=!0):(u.distance=0,u.isPullRefresh=!1))},N=y=>{k()&&u.moving&&(c.move(y),c.isVertical()&&c.state.deltaY>0&&u.isPullRefresh&&(y.cancelable&&y.preventDefault(),f(S(c.state.deltaY))))},g=()=>{u.moving=!1,u.isPullRefresh&&k()&&c.state.deltaY&&(u.status==="loosing"?(f(+l.headHeight,!0),o("update:modelValue",!0),(0,t.nextTick)(()=>o("refresh"))):f(0)),setTimeout(()=>{c.reset()},0)};return(0,t.watch)(()=>l.modelValue,y=>{y?f(+l.headHeight,!0):f(0)}),()=>{const y=[];let B=null;u.status==="loading"?(B=r?.loading?.()??null,B||(B=(0,t.h)(a,{class:["fox-pull-refresh-container-topbox-icon"]}))):u.status==="pulling"?B=r?.pulling?.()??null:u.status==="loosing"&&(B=r?.loosing?.()??null),B&&y.push(B);const T=(0,t.h)("dive",{class:["fox-pull-refresh-container-topbox-text"]},[b.value]);y.push(T);const $=(0,t.h)("div",{class:["fox-pull-refresh-container-topbox"],style:v.value},y),V=(0,t.h)("div",{class:"fox-pull-refresh-container",style:w.value},[$,r?.default?.()]),W={ref:m,class:p.value};return Fn()?Object.assign(W,{onTouchstart:C,onTouchmove:N,onTouchend:g}):Object.assign(W,{onMousedown:C,onMousemove:N,onMouseup:g}),(0,t.h)("div",W,[V])}}}),{componentName:X1,create:Q1,scope:G1}=ee("pull-refresh"),Z1=Q1(Y1(X1,G1,ae.Loading)),mo=Z1,{create:_1}=ee("notify"),J1=_1({components:{[be.name]:be},props:{id:String,color:{type:String,default:""},msg:{type:String,default:""},duration:{type:Number,default:3e3},className:{type:String,default:""},background:{type:String,default:""},type:{type:String,default:"danger"},visible:{type:Boolean,default:!1},position:{type:String,default:"top"},teleportDisable:{type:Boolean,default:!0},onClose:Function,onClick:Function,unmount:Function},emits:["update:visible"],setup(e,{emit:n}){const a=()=>{e.onClick&&e.onClick()};let l=null;const o=()=>{l&&clearTimeout(l),l=null},r=()=>{n("update:visible",!1)},s=(0,t.ref)(!1),i=(0,t.watch)(()=>e.visible,m=>{s.value=e.visible;const h=e.duration;m&&h&&(l=setTimeout(()=>{r()},h))},{immediate:!0});return{onAfterLeave:()=>{o(),i&&i(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:a,isShowPopup:s}}});function ev(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(s,{visible:e.isShowPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.isShowPopup=i),position:e.position,overlay:!1,teleportDisable:e.teleportDisable},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-notify",`fox-notify--${e.type}`,e.className]),style:(0,t.normalizeStyle)({color:e.color,background:e.background}),onClick:n[0]||(n[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.msg),1)],64))],6)]),_:3},8,["visible","position","teleportDisable"])}var ho=oe(J1,[["render",ev]]),po={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function},Nt=[],Zt=[],Pi=e=>{if(e){const n=document.getElementById(e);Zt=Zt.filter(a=>a.id!==e),Nt=Nt.filter(a=>a!==e),n&&document.body.removeChild(n)}else Nt.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),Zt=[],Nt=[]},tv=e=>{const n=document.getElementById(e.id);if(n){const a=Zt.find(o=>o.id===e.id);a?e={...po,...a,...e}:e={...po,...e};const l=(0,t.createVNode)(ho,e);return(0,t.render)(l,n),l.component.data}},_t=e=>{e.unmount=Pi;let n;if(e.id){if(n=e.id,Nt.find(o=>o===e.id))return tv(e)}else n=new Date().getTime()+"";e={...po,...e},e.id=n,Nt.push(e.id),Zt.push(e);const a=document.createElement("view");a.id="notify-"+e.id;const l=(0,t.createVNode)({setup(){return e.teleport=`#notify-${e.id}`,(0,t.onMounted)(()=>{setTimeout(()=>{e.onClose&&e.onClose(),document.body.removeChild(a)},e.duration)}),()=>(0,t.h)(ho,e)}});document.body.appendChild(a),(0,t.render)(l,a)},Jt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},go={text(e,n={}){return Jt(e),_t({...n,msg:e})},primary(e,n={}){return Jt(e),_t({...n,msg:e,type:"primary"})},success(e,n={}){return Jt(e),_t({...n,msg:e,type:"success"})},danger(e,n={}){return Jt(e),_t({...n,msg:e,type:"danger"})},warn(e,n={}){return Jt(e),_t({...n,msg:e,type:"warning"})},hide(){Pi()},install(e){e.use(ho)}},{create:nv}=ee("toast"),lv=nv({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=(0,t.reactive)({mounted:!1});(0,t.onMounted)(()=>{l.mounted=!0});const o=()=>{a&&(clearTimeout(a),a=null)},r=()=>{l.mounted=!1},s=()=>{o(),e.duration&&(a=setTimeout(()=>{r()},e.duration))},i=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&s(),(0,t.watch)(()=>e.duration,b=>{b&&s()});const c=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),m=()=>{const b=se(e.iconSize);return(0,t.h)(e.icon,{width:b,height:b,color:e.iconColor})},h=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":c.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),u=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:r,clickCover:i,renderIcon:m,hasIcon:c,toastBodyClass:h,toastIconWrapperClass:u,onAfterLeave:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),av={key:1,class:"fox-toast-title"},ov=["innerHTML"];function rv(e,n,a,l,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",av,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,ov)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var yo=oe(lv,[["render",rv]]),bo={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},At=[],en=[],Mi=e=>{if(e){const n=document.getElementById(e);en=en.filter(a=>a.id!==e),At=At.filter(a=>a!==e),n&&document.body.removeChild(n)}else At.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),en=[],At=[]},iv=e=>{const n=document.getElementById(e.id);if(n){const a=en.find(l=>l.id===e.id);return a?e={...bo,...a,...e}:e={...bo,...e},(0,t.render)((0,t.createVNode)(yo,e),n),Bt}},tn=e=>{e.unmount=Mi;let n;if(e.id){if(n=e.id,At.find(l=>l===e.id))return iv(e)}else n=new Date().getTime()+"";e={...bo,...e},e.id=n,At.push(e.id),en.push(e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(yo,e),a),document.body.appendChild(a),Bt},dl=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Bt={text(e,n={}){return dl(e),tn({...n,type:"text",msg:e})},success(e,n={}){return dl(e),tn({icon:ae.Success,...n,msg:e,type:"success"})},fail(e,n={}){return dl(e),tn({icon:ae.Failure,...n,msg:e,type:"fail"})},warn(e,n={}){return dl(e),tn({icon:ae.Tips,...n,msg:e,type:"warn"})},loading(e,n={}){return tn({icon:ae.Loading,...n,msg:e,type:"loading"})},hide(e){Mi(e)},install(e){e.use(yo),e.config.globalProperties.$toast=Bt}},{componentName:p2,create:sv}=ee("audio"),cv=sv({props:{url:{type:String,default:""},muted:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},preload:{type:String,default:"auto"},second:{type:Number,default:0},type:{type:String,default:"progress"}},components:{Service:ae.Service,[Xt.name]:Xt},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),o=(0,t.reactive)({currentTime:0,currentDuration:"00:00:00",percent:0,duration:"00:00:00",second:0,hanMuted:e.muted,playing:e.autoplay,handPlaying:!1});(0,t.onMounted)(()=>{var v=["webkitVisibilityState","visibilitychange"];try{for(let S=0;S<v.length;S++)document.addEventListener(v[S],()=>{document.hidden?l.value.pause():o.playing&&setTimeout(()=>{l.value.play()},200)})}catch(S){S.message}});const r=v=>{const S=l.value;e.autoplay&&S&&S.paused&&S.play(),o.second=S.duration,o.duration=w(S.duration),n("can-play",v)},s=v=>{o.currentTime=parseInt(v.target.currentTime)},i=()=>{o.currentTime>0&&o.currentTime--,l.value.currentTime=o.currentTime,n("fastBack",o.currentTime)},c=()=>{const v=l.value;o.playing?(v.pause(),o.handPlaying=!1):(v.play(),o.handPlaying=!0),o.playing=!o.playing,n("play",o.playing)},m=()=>{o.currentTime++,l.value.currentTime=o.currentTime,n("forward",o.currentTime)},h=v=>{o.currentDuration=w(v),o.percent=v/o.second*100},u=()=>{o.playing=!1,n("ended")},p=v=>{const S=l.value;S.currentTime=o.second*v/100,n("changeProgress",S.currentTime)},b=()=>{o.hanMuted=!o.hanMuted,n("mute",o.hanMuted)},w=v=>{if(!v)return"00:00:00";let S=parseInt(v),f=Math.floor(S/3600),k=Math.floor((S-f*3600)/60),d=S-f*3600-k*60,C="";return C+=("0"+f.toString()).slice(-2)+":",C+=("0"+k.toString()).slice(-2)+":",C+=("0"+d.toString()).slice(-2),C};return(0,t.watch)(()=>o.currentTime,v=>{h(v)}),(0,t.provide)("audioParent",{children:[],props:e,audioData:o,handleMute:b,forward:m,fastBack:i,changeStatus:c}),{...(0,t.toRefs)(e),...(0,t.toRefs)(o),audioRef:l,fastBack:i,forward:m,changeStatus:c,progressChange:p,audioEnd:u,onTimeupdate:s,handleMute:b,onCanplay:r,slots:a}}}),uv={class:"fox-audio"},dv={key:0,class:"fox-audio__progress"},fv={class:"fox-audio__time"},mv={class:"fox-audio__bar"},hv={class:"fox-audio__time"},pv={key:1,class:"fox-audio__icon"},gv=["controls","src","preload","autoplay","loop","muted"];function yv(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-range"),i=(0,t.resolveComponent)("Service");return(0,t.openBlock)(),(0,t.createElementBlock)("div",uv,[e.type=="progress"?((0,t.openBlock)(),(0,t.createElementBlock)("div",dv,[(0,t.createElementVNode)("div",fv,(0,t.toDisplayString)(e.currentDuration),1),(0,t.createElementVNode)("div",mv,[(0,t.createVNode)(s,{modelValue:e.percent,"onUpdate:modelValue":n[0]||(n[0]=c=>e.percent=c),"hidden-range":"",onChange:e.progressChange,"inactive-color":"#cccccc","active-color":"#fa2c19"},{button:(0,t.withCtx)(()=>[...n[6]||(n[6]=[(0,t.createElementVNode)("div",{class:"fox-audio__button--custom"},null,-1)])]),_:1},8,["modelValue","onChange"])]),(0,t.createElementVNode)("div",hv,(0,t.toDisplayString)(e.duration),1)])):(0,t.createCommentVNode)("",!0),e.type=="icon"?((0,t.openBlock)(),(0,t.createElementBlock)("div",pv,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-audio__icon--box",e.playing?"fox-audio__icon--play":"fox-audio__icon--stop"]),onClick:n[1]||(n[1]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.playing?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))],2)])):(0,t.createCommentVNode)("",!0),e.type=="none"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,onClick:n[2]||(n[2]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type!="none"?(0,t.renderSlot)(e.$slots,"default",{key:3}):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("audio",{class:"audioMain",controls:e.type=="controls",ref:"audioRef",src:e.url,preload:e.preload,autoplay:e.autoplay,loop:e.loop,onTimeupdate:n[3]||(n[3]=(...c)=>e.onTimeupdate&&e.onTimeupdate(...c)),onCanplay:n[4]||(n[4]=(...c)=>e.onCanplay&&e.onCanplay(...c)),onEnded:n[5]||(n[5]=(...c)=>e.audioEnd&&e.audioEnd(...c)),muted:e.hanMuted},null,40,gv)])}var So=oe(cv,[["render",yv]]),{componentName:g2,create:bv,scope:Sv}=ee("audio-operate"),vv=bv({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(Sv),l=(0,t.reactive)((0,t.inject)("audioParent")),o=(0,t.ref)((0,t.useSlots)().default);return{...(0,t.toRefs)(e),...(0,t.toRefs)(l),customSlot:o,t:a}}}),kv={class:"fox-audio-operate"};function wv(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-button");return(0,t.openBlock)(),(0,t.createElementBlock)("div",kv,[e.type=="back"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[0]=(...i)=>e.fastBack&&e.fastBack(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("back")),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="play"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,class:"fox-audio-operate-item",onClick:n[1]||(n[1]=(...i)=>e.changeStatus&&e.changeStatus(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.audioData.playing?`${e.t("pause")}`:`${e.t("start")}`),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="forward"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,class:"fox-audio-operate-item",onClick:n[2]||(n[2]=(...i)=>e.forward&&e.forward(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("forward")),1)]),_:1})),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0),e.type=="mute"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:3,class:"fox-audio-operate-item",onClick:n[3]||(n[3]=(...i)=>e.handleMute&&e.handleMute(...i))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,type:e.audioData.hanMuted?"default":"primary",size:"small"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.t("mute")),1)]),_:1},8,["type"])),(0,t.renderSlot)(e.$slots,"default")])):(0,t.createCommentVNode)("",!0)])}var vo=oe(vv,[["render",wv]]),{componentName:Cv,create:Nv}=ee("avatar"),Av=Nv({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"}},setup(e){const{size:n,shape:a,bgColor:l,color:o}=(0,t.toRefs)(e),r=["large","normal","small"],s=(0,t.inject)("avatarGroup",null),i=(0,t.ref)(null),c=(0,t.reactive)({lightTheme:!1}),m=(0,t.reactive)({index:1,showMax:!1,maxIndex:0});(0,t.onMounted)(()=>{const w=s?.avatarGroupRef?.value?.children;w&&b(w)});const h=(0,t.computed)(()=>({[Cv]:!0,[`fox-avatar-${n.value||s?.props?.size||"normal"}`]:!0,[`fox-avatar-${a.value||s?.props?.shape||"normal"}`]:!0})),u=(0,t.computed)(()=>({width:r.indexOf(n.value)>-1?"":`${n.value}px`,height:r.indexOf(n.value)>-1?"":`${n.value}px`,backgroundColor:`${l.value}`,color:`${o.value}`,marginLeft:m.index!=1&&(s?.props?.span?`${s?.props?.span}px`:""),zIndex:s?.props?.zIndex=="right"?`${Math.abs(m.maxIndex-m.index)}`:""})),p=(0,t.computed)(()=>({backgroundColor:`${s?.props?.maxBgColor}`,color:`${s?.props?.maxColor}`})),b=w=>{m.maxIndex=w.length;for(let v=0;v<w.length;v++)w[v]&&w[v].classList&&w[v].classList[0]=="fox-avatar"&&w[v].setAttribute("data-index",v+1);m.index=i?.value?.dataset?.index,m.index==m.maxIndex&&m.index!=s?.props?.maxCount&&(m.showMax=!0)};return{classes:h,styles:u,maxStyles:p,avatarGroup:s,visible:c,avatarRef:i,...(0,t.toRefs)(m)}}});function Bv(e,n,a,l,o,r){return e.showMax||!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,style:(0,t.normalizeStyle)(e.showMax?e.maxStyles:e.styles),class:(0,t.normalizeClass)(e.classes),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(0,t.renderSlot)(e.$slots,"default",{key:0}):(0,t.createCommentVNode)("",!0),e.showMax&&e.avatarGroup?.props?.maxCount?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)],64)):(0,t.createCommentVNode)("",!0)],6)):(0,t.createCommentVNode)("",!0)}var nn=oe(Av,[["render",Bv]]),{componentName:Tv,create:Vv}=ee("avatar-group"),$v=Vv({props:{maxContent:{type:String,default:""},maxCount:{type:[Number,String],default:""},maxBgColor:{type:String,default:"#eee"},maxColor:{type:String,default:"#666"},size:{type:String,default:""},shape:{type:String,default:""},span:{type:String,default:"-8"},zIndex:{type:String,default:"left"}},setup(e,{emit:n,slots:a}){const{size:l}=(0,t.toRefs)(e),o=(0,t.ref)(null),r=(0,t.ref)(0),s=(0,t.computed)(()=>({[Tv]:!0}));return(0,t.onMounted)(()=>{}),(0,t.provide)("avatarGroup",{props:e,avatarGroupRef:o,index:r}),{classes:s,avatarGroupRef:o}}});function Ev(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"avatarGroupRef"},[(0,t.renderSlot)(e.$slots,"default")],2)}var ko=oe($v,[["render",Ev]]),Tt=(function(e){return e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e})({});function Dv(e,n,a){let l=0,o=e.length-1,r=null;for(;l<=o;){r=Math.floor((l+o)/2);const s=e[r],i=a(s,n);if(i===Tt.eq)return r;i===Tt.lt?l=r+1:i===Tt.gt&&(o=r-1)}return r}var{componentName:Iv,create:qv}=ee("list"),zi=document.documentElement.clientHeight||document.body.clientHeight||667,xv=qv({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:zi},height:{type:Number,default:80},margin:{type:Number,default:10}},emits:["scroll-up","scroll-down","scroll-bottom"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)(null),o=(0,t.ref)(null),r=(0,t.reactive)({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),s=(0,t.computed)(()=>Math.min(e.containerHeight,zi)),i=(0,t.computed)(()=>Math.ceil(s.value/e.height)),c=(0,t.computed)(()=>Math.min(r.originStartIndex+i.value+e.bufferSize,r.list.length)),m=(0,t.computed)(()=>({[Iv]:!0})),h=(0,t.computed)(()=>r.list.slice(r.start,c.value)),u=()=>{if(o.value)return`translate3d(0, ${r.start>=1?r.cachePositions[r.start-1].bottom:0}px, 0)`},p=()=>{r.cachePositions=[];for(let f=0;f<r.list.length;++f)r.cachePositions[f]={index:f,height:e.height,top:f*e.height,bottom:(f+1)*(e.height+e.margin),dValue:0}},b=()=>{let f=o.value.childNodes;f=Array.from(f).filter(g=>g.nodeType===1);const k=f[0];f.forEach((g,y)=>{if(!g)return;const{height:B}=xe(g),T=r.cachePositions[y+r.start].height-B;T&&(r.cachePositions[y+r.start].bottom-=T,r.cachePositions[y+r.start].height=B,r.cachePositions[y+r.start].dValue=T)});let d=0;k&&(d=r.start);const C=r.cachePositions.length;let N=r.cachePositions[d].dValue;r.cachePositions[d].dValue=0;for(let g=d+1;g<C;++g){const y=r.cachePositions[g];r.cachePositions[g].top=r.cachePositions[g-1].bottom,r.cachePositions[g].bottom=r.cachePositions[g].bottom-N,y.dValue!==0&&(N+=y.dValue,y.dValue=0)}r.phantomHeight=r.cachePositions[C-1].bottom},w=(f=0)=>{let k=Dv(r.cachePositions,f,(d,C)=>{const N=d.bottom;return N===C?Tt.eq:N<C?Tt.lt:Tt.gt});return r.cachePositions[k].bottom<f&&(k+=1),k},v=()=>{r.originStartIndex=0,r.start=0,r.scrollTop=0,a.value.scrollTop=0,p(),r.phantomHeight=e.height*r.list.length},S=()=>{const f=a.value?.scrollTop,{originStartIndex:k}=r,d=w(f);d!==k&&(r.originStartIndex=d,r.start=Math.max(r.originStartIndex-e.bufferSize,0),c.value>=r.list.length-1&&n("scroll-bottom")),n(f>r.scrollTop?"scroll-up":"scroll-down",f),r.scrollTop=f};return(0,t.watch)(()=>e.listData,f=>{if(r.list=f.slice(),r.list.length===f.length)p(),b();else{v();return}}),(0,t.watch)(()=>r.start,()=>{o.value&&r.list.length>0&&b()}),{...(0,t.toRefs)(r),list:a,phantom:l,actualContent:o,getTransform:u,visibleData:h,classes:m,getContainerHeight:s,handleScrollEvent:S}}});function Pv(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({height:`${e.getContainerHeight}px`}),onScrollPassive:n[0]||(n[0]=(...s)=>e.handleScrollEvent&&e.handleScrollEvent(...s)),ref:"list"},[(0,t.createElementVNode)("div",{class:"fox-list-phantom",style:(0,t.normalizeStyle)({height:e.phantomHeight+"px"}),ref:"phantom"},null,4),(0,t.createElementVNode)("div",{class:"fox-list-container",style:(0,t.normalizeStyle)({transform:e.getTransform()}),ref:"actualContent"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.visibleData,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"fox-list-item",key:s},[(0,t.renderSlot)(e.$slots,"default",{item:s,index:i+e.start})]))),128))],4)],38)}var wo=oe(xv,[["render",Pv]]),{componentName:Mv,create:zv}=ee("circleprogress"),Lv=zv({props:{progress:{type:[Number,String],required:!0},strokeWidth:{type:[Number,String],default:5},radius:{type:[Number,String],default:50},strokeLinecap:{type:String,default:"round"},color:{type:[String,Object],default:""},pathColor:{type:String,default:""},clockwise:{type:Boolean,default:!0}},setup(e,{emit:n}){const a=!!(0,t.useSlots)().default,l=Math.random().toString(36).slice(-8),o=(0,t.computed)(()=>({[Mv]:!0})),r=(0,t.computed)(()=>{const i=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${i} 0 90 a 45 45 0 1, ${i} 0 -90`}),s=(0,t.computed)(()=>De(e.color)?`url(#${l})`:e.color);return{classes:o,hoverStyle:(0,t.computed)(()=>{let i=283,c=i*Number(e.progress)/100;return{stroke:De(e.color)?`url(#${l})`:e.color,strokeDasharray:`${c}px ${i}px`}}),pathStyle:(0,t.computed)(()=>({stroke:e.pathColor})),path:r,hoverColor:s,stop:(0,t.computed)(()=>{if(!De(e.color))return;let i=e.color;const c=Object.keys(i).sort((h,u)=>parseFloat(h)-parseFloat(u));let m=[];return c.map((h,u)=>{let p={key:"",value:""};p.key=h,p.value=i[h],m.push(p)}),m}),slotDefault:a,refRandomId:l}}}),Ov={viewBox:"0 0 100 100"},Rv=["id"],Fv=["offset","stop-color"],Kv=["d","stroke-width"],Uv=["d","stroke","stroke-linecap","stroke-width"],Hv={class:"fox-circleprogress-text"},jv={key:0};function Wv(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({height:e.radius*2+"px",width:e.radius*2+"px"})},[((0,t.openBlock)(),(0,t.createElementBlock)("svg",Ov,[(0,t.createElementVNode)("defs",null,[(0,t.createElementVNode)("linearGradient",{id:e.refRandomId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.stop,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("stop",{key:i,offset:s.key,"stop-color":s.value},null,8,Fv))),128))],8,Rv)]),(0,t.createElementVNode)("path",{class:"fox-circleprogress-path",style:(0,t.normalizeStyle)(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,Kv),(0,t.createElementVNode)("path",{class:"fox-circleprogress-hover",style:(0,t.normalizeStyle)(e.hoverStyle),d:e.path,fill:"none",stroke:e.hoverColor,"stroke-linecap":e.strokeLinecap,"stroke-width":e.strokeWidth},null,12,Uv)])),(0,t.createElementVNode)("div",Hv,[(0,t.renderSlot)(e.$slots,"default"),e.slotDefault?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",jv,(0,t.toDisplayString)(e.progress)+"%",1))])],6)}var Co=oe(Lv,[["render",Wv]]),{componentName:Yv,create:Xv}=ee("noticebar"),Qv=Xv({props:{direction:{type:String,default:"across"},list:{type:Array,default:()=>[]},standTime:{type:Number,default:1e3},complexAm:{type:Boolean,default:!1},height:{type:Number,default:40},text:{type:String,default:""},closeMode:{type:Boolean,default:!1},wrapable:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!0},color:{type:String,default:""},background:{type:String,default:""},delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:null},speed:{type:Number,default:50},showLeftIcon:{type:Boolean,default:!0}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,(0,t.h)(e.item)},Notice:ae.Notice,CircleClose:ae.CircleClose},emits:["click","close","across-end"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),o=(0,t.ref)(null),r=(0,t.reactive)({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticebar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null,showNotica:!0}),s=(0,t.computed)(()=>({[Yv]:!0})),i=(0,t.computed)(()=>r.isCanScroll==null?e.wrapable:!r.isCanScroll&&!e.wrapable),c=(0,t.computed)(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":i.value,[r.animationClass]:!0})),m=(0,t.computed)(()=>{let y={};return e.color&&(y.color=e.color),e.background&&(y.background=e.background),e.direction=="vertical"&&(y.height=`${e.height}px`),y}),h=(0,t.computed)(()=>({animationDelay:(r.firstRound?e.delay:0)+"s",animationDuration:r.duration+"s",transform:`translateX(${r.firstRound?0:r.wrapWidth+"px"})`})),u=(0,t.computed)(()=>{let y={};if(e.complexAm)y={transform:`translateY(${r.distance}px)`};else if(r.animate){let B=~~(e.height/e.speed/4);y={transition:`all ${B==0?~~(e.height/e.speed):B}s`,"margin-top":`-${e.height}px`}}return y});(0,t.watch)(()=>e.text,y=>{p(y)}),(0,t.watch)(()=>e.list,y=>{r.scrollList=[...y]});const p=y=>{r.showNoticebar!=!1&&setTimeout(()=>{if(!l.value||!o.value)return;const B=l.value.getBoundingClientRect().width,T=o.value.getBoundingClientRect().width;r.isCanScroll=e.scrollable==null?T>B:e.scrollable,r.isCanScroll?(r.wrapWidth=B,r.offsetWidth=T,r.duration=T/e.speed,r.animationClass="play"):r.animationClass=""},0)},b=y=>{n("click",y)},w=y=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",y)},v=y=>{r.firstRound=!1,n("across-end",y),setTimeout(()=>{r.duration=(r.offsetWidth+r.wrapWidth)/e.speed,r.animationClass="play-infinite"},0)},S=()=>{f(),r.timer=setInterval(f,~~(e.height/e.speed/4*1e3)+e.standTime)},f=()=>{r.animate=!0,setTimeout(()=>{r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.animate=!1},~~(e.height/e.speed/4*1e3))},k=()=>{r.timer=setInterval(()=>{let y=100;for(let B=0;B<y;B++)d(B,!(B<y-1))},e.standTime+100*e.speed)},d=(y,B)=>{setTimeout(()=>{r.distance-=e.height/100,B&&(r.scrollList.push(r.scrollList[0]),r.scrollList.shift(),r.distance=0)},y*e.speed)},C=y=>{n("click",y)},N=()=>{e.closeMode&&(r.showNoticebar=!e.closeMode),n("close",r.scrollList[0])};(0,t.onMounted)(()=>{e.direction=="vertical"?(a.default?g(a.default()):r.scrollList=[...e.list],setTimeout(()=>{e.complexAm?k():S()},e.standTime)):p(e.text)}),(0,t.watch)(()=>a.default?a.default():[],y=>{e.direction==="vertical"&&a.default&&(r.showNotica=!1,setTimeout(()=>{r.showNotica=!0}),g(y))});const g=y=>{y&&y.length>0&&(r.scrollList=y[0].children)};return(0,t.onActivated)(()=>{r.keepAlive&&(r.keepAlive=!1)}),(0,t.onDeactivated)(()=>{r.keepAlive=!0,clearInterval(r.timer)}),(0,t.onUnmounted)(()=>{clearInterval(r.timer)}),{...(0,t.toRefs)(e),...(0,t.toRefs)(r),isEllipsis:i,classes:s,barStyle:m,contentStyle:h,horseLampStyle:u,wrap:l,content:o,handleClick:b,onClickIcon:w,onAnimationEnd:v,go:C,handleClickIcon:N,slots:a,toPxString:de,wrapContentClass:c}}}),Gv={key:0,class:"fox-noticebar__page-lefticon"},Zv={ref:"wrap",class:"fox-noticebar__page-wrap"},_v={class:"showNotica"},Jv=["onClick"];function ek(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Notice"),i=(0,t.resolveComponent)("CircleClose"),c=(0,t.resolveComponent)("ScrollItem");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.direction=="across"?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-noticebar__page",{"fox-noticebar__page--withicon":e.closeMode,"fox-noticebar__page--close":e.closeMode,"fox-noticebar__page--wrapable":e.wrapable}]),style:(0,t.normalizeStyle)(e.barStyle),onClick:n[3]||(n[3]=(...m)=>e.handleClick&&e.handleClick(...m))},[e.showLeftIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Gv,[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[e.leftIcon?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,size:"16px"})):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Zv,[(0,t.createElementVNode)("view",{ref:"content",class:(0,t.normalizeClass)(e.wrapContentClass),style:(0,t.normalizeStyle)(e.contentStyle),onAnimationend:n[0]||(n[0]=(...m)=>e.onAnimationEnd&&e.onAnimationEnd(...m)),"on:webkitAnimationEnd":n[1]||(n[1]=(...m)=>e.onAnimationEnd&&e.onAnimationEnd(...m))},[(0,t.renderSlot)(e.$slots,"default",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.text),1)])],38)],512),e.closeMode||e.$slots["right-icon"]?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-noticebar__page-righticon",onClick:n[2]||(n[2]=(0,t.withModifiers)((...m)=>e.onClickIcon&&e.onClickIcon(...m),["stop"]))},[e.$slots["right-icon"]?(0,t.renderSlot)(e.$slots,"right-icon",{key:0}):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1}))])):(0,t.createCommentVNode)("",!0)],6)),[[t.vShow,e.showNoticebar]]):(0,t.createCommentVNode)("",!0),e.scrollList.length>0&&e.direction=="vertical"&&e.showNoticebar?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-noticebar__vertical",style:(0,t.normalizeStyle)(e.barStyle)},[e.slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-noticebar__vertical-list",style:(0,t.normalizeStyle)(e.horseLampStyle)},[(0,t.createElementVNode)("div",_v,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.scrollList,(m,h)=>((0,t.openBlock)(),(0,t.createBlock)(c,{key:h,style:(0,t.normalizeStyle)({height:e.height+"px","line-height":e.height+"px"}),item:m},null,8,["style","item"]))),128))])],4)):((0,t.openBlock)(),(0,t.createElementBlock)("ul",{key:1,class:"fox-noticebar__vertical-list",style:(0,t.normalizeStyle)(e.horseLampStyle)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.scrollList,(m,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("li",{class:"fox-noticebar__vertical-item",key:h,style:(0,t.normalizeStyle)({height:e.toPxString(e.height),lineHeight:e.toPxString(e.height)}),onClick:u=>e.go(m)},[(0,t.renderSlot)(e.$slots,"item",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(m),1)])],12,Jv))),128))],4)),(0,t.createElementVNode)("view",{class:"go",onClick:n[4]||(n[4]=m=>!e.slots.rightIcon&&e.handleClickIcon())},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[e.closeMode?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,color:e.color,size:"11px"},null,8,["color"])):(0,t.createCommentVNode)("",!0)])])],4)):(0,t.createCommentVNode)("",!0)],2)}var No=oe(Qv,[["render",ek]]),tk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5uLi5uLjZ2dn09fW5uLi5uLjY2Ni5uLi4t7c1Mz/MzMwbGxv/ytS1jZn09vb09fUVFRUyMD25uLn+ydPY2NgUFBQUFBT/zNb+xtL/y9X/xdD/y9UyMD0TExP5sb+4uLj/y9X+w879ws3/y9X1tMH8s8H/y9UkJSWAgYHj5OT/ytTY2NheXWDs7e7r7Ozv8PDs7u55eYH09fXMzMzY2NgyMD3/y9UzMzP8s8GwsLDm5+eKiorv8PDLy8s6Ojrl5ubZ2trPz88UFBTh4uLV1dXc3Ny5ubnu7u7T09O1tbXf39+zsrLx8vLR0dHJycm8vLzj5OQ3NUHq6+vo6ek2NjbGxsbCwsK3t7f9x9K+vr79t8Q4ODjs7e0+O0XAwMBiYWaSkZVbW1/27e/8vspUSlZMTExwcHL709tERESjo6ZHQU5MR1N8fH762uD35un54eaCgoThtL7hzNCGhozcsbuqqqzm5ubWq7Z3YG3wwMrBlaF2dncyMTmmg5CWeYVkVGHoprTWmqiH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Vp3aKSLlVOaZPCgOIjqKc7L6ojRAlRZxs8VoK5WMy6lTjT/gRak1QKlFFxO9FKsBZzZZZSWQBY3nNKllAOdG70CtDcP9/s4DHtSzEDOqdONf4OQ+Kn1qWWOINqh1ZBjUXjxsoJs9GbAZpmvCgFnxvLOg1vFzwilYCioZUXMwnV+CIcMwQB151N/pIseoLCXcCR/HcCEv8qj/w1eMsSoQEjE9HMOzIF/HOlFS259e4gCrASGRsY1Uy4KcnXzx89vH3tcvOMSOAiF8ip/EGm7+XYxxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:y2,create:ak,scope:ok}=ee("empty"),rk={empty:tk,error:nk,network:lk},ik=ak({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=(0,he.useFoxI18n)(ok),a=n(e,["description"]),{image:l,imageSize:o}=(0,t.toRefs)(e),r=(0,t.computed)(()=>o.value?typeof o.value=="number"?`width:${o.value}px;height:${o.value}px`:`width:${o.value};height:${o.value}`:""),s=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:rk[l.value];return{...a,imageUrl:s,imgStyle:r}}}),sk={class:"fox-empty"},ck=["src"],uk={key:1,class:"fox-empty-description"};function dk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",sk,[(0,t.createElementVNode)("view",{class:"fox-empty-image",style:(0,t.normalizeStyle)(e.imgStyle)},[e.$slots.image?(0,t.renderSlot)(e.$slots,"image",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[e.imageUrl?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:0,class:"img",src:e.imageUrl},null,8,ck)):(0,t.createCommentVNode)("",!0)],64))],4),e.$slots.description?(0,t.renderSlot)(e.$slots,"description",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",uk,(0,t.toDisplayString)(e.description),1)),e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:2}):(0,t.createCommentVNode)("",!0)])}var Ao=oe(ik,[["render",dk]]),{create:fk,scope:mk}=ee("video"),hk=fk({props:{source:{type:Object,default:{}},options:{type:Object,default:{autoplay:!1,volume:.5,poster:"",loop:!1,controls:!0,muted:!1,disabled:!1,playsinline:!1,touchPlay:!1,preload:""},required:!0},model:{type:String,default:""}},components:{},emits:["click","play","pause","playend","time"],setup(e,{emit:n}){const{t:a}=(0,he.useFoxI18n)(mk),l=(0,t.reactive)({videoElm:null,initial:!0,showToolbox:!1,player:{$player:null,pos:null},progressBar:{progressElm:null,pos:null},videoSet:{loaded:0,displayTime:"00:00",totalTime:"00:00",progress:{width:0,current:0}},state:{controlShow:!0,vol:.5,currentTime:0,fullScreen:!1,playing:!1,isLoading:!1,isEnd:!1,isError:!1,isMuted:!1},showTouchMask:!1}),o=(0,t.ref)(null),r=(0,t.computed)(()=>e.options.disabled);(0,t.watch)(()=>e.source,g=>{g.src&&(0,t.nextTick)(()=>{l.videoElm.load()})},{immediate:!0,deep:!0}),(0,t.watch)(()=>e.options,g=>{l.state.isMuted=g?g.muted:!1},{immediate:!0});const s=()=>{l.videoElm=o.value,e.options.autoplay&&setTimeout(()=>{l.videoElm.play()},200),e.options.touchPlay&&(l.showTouchMask=!0),e.options.playsinline&&(l.videoElm.setAttribute("playsinline",e.options.playsinline),l.videoElm.setAttribute("webkit-playsinline",e.options.playsinline),l.videoElm.setAttribute("x5-video-player-type","h5-page"),l.videoElm.setAttribute("x5-video-player-fullscreen",!1)),w(),l.showToolbox?i():(l.videoElm.addEventListener("play",()=>{l.state.playing=!0,n("play",l.videoElm)}),l.videoElm.addEventListener("pause",()=>{l.state.playing=!1,n("pause",l.videoElm)}),l.videoElm.addEventListener("ended",p),l.videoElm.addEventListener("timeupdate",yn(u,1e3)))},i=()=>{const g=o.value,y=o.value.getElementsByClassName("fox-video-controller__progress-value")[0];l.player.$player=g,l.progressBar.progressElm=y,l.progressBar.pos=y.getBoundingClientRect(),l.videoSet.progress.width=Math.round(y.getBoundingClientRect().width)},c=()=>{if(e.options.autoplay&&e.options.disabled)return l.state.playing=!0,!1;if(l.state.playing=!l.state.playing,l.videoElm)if(l.state.playing)try{setTimeout(()=>{l.videoElm.play()},200),l.videoElm.addEventListener("progress",()=>{h()}),l.videoElm.addEventListener("timeupdate",yn(u,1e3)),l.videoElm.addEventListener("ended",p),n("play",l.videoElm)}catch{b()}else l.videoElm.pause(),n("pause",l.videoElm)},m=g=>{let y=[];const B=Math.floor(g/3600);B>0&&(B<10?y.push(`0${B}`):y.push(`${B}`));const T=Math.floor(g%3600/60);T<10?y.push(`0${T}`):y.push(`${T}`);const $=Math.round(g%3600%60);return $<10?y.push(`0${$}`):y.push(`${$}`),y.join(":")},h=()=>{l.videoSet.loaded&&(l.videoSet.loaded=l.videoElm.buffered.end(0)/l.videoElm.duration*100)},u=()=>{const g=l.videoElm.currentTime/l.videoElm.duration;l.videoSet.progress.current=Math.round(l.videoSet.progress.width*g),l.videoSet.totalTime=m(l.videoElm.duration),l.videoSet.displayTime=m(l.videoElm.currentTime),n("time",l.videoSet.displayTime,l.videoSet.totalTime)},p=()=>{l.state.playing=!1,l.state.isEnd=!0,l.videoSet.displayTime="00:00",l.videoSet.progress.current=0,l.videoElm.currentTime=0,n("playend",l.videoElm)},b=()=>{l.state.isError=!0},w=()=>{l.state.vol=e.options.volume},v=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},S=()=>{},f=g=>{let y=g.targetTouches[0].pageX-l.progressBar.pos.left;y<=0&&(y=0),y>=l.videoSet.progress.width&&(y=l.videoSet.progress.width),l.videoSet.progress.current=y;let B=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},k=g=>{let y=g.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=y;let B=y/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},d=(g,y)=>{l.videoElm.currentTime=Math.floor(g*y)},C=()=>{l.state.isError=!1,s()},N=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return(0,t.onMounted)(()=>{s()}),{root:o,...(0,t.toRefs)(e),...(0,t.toRefs)(l),handleError:b,isDisabled:r,play:c,handleMuted:v,touchSlidSrart:S,touchSlidMove:f,touchSlidEnd:k,retry:C,fullScreen:N,t:a}}}),pk={class:"fox-video",ref:"videocon"},gk=["muted","autoplay","loop","poster","controls","preload"],yk=["src","type"],bk={class:"fox-video-controller__now"},Sk={class:"fox-video-controller__progress"},vk={class:"fox-video-controller__progress-value",ref:"progressBar"},kk={class:"fox-video-controller__played",ref:"playedBar"},wk={class:"fox-video-controller__total"},Ck={class:"fox-video-error"},Nk={class:"fox-video-error-tip"};function Ak(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",pk,[(0,t.createElementVNode)("video",{ref:"root",class:"fox-video-player",muted:e.options.muted,autoplay:e.options.autoplay,loop:e.options.loop,poster:e.options.poster,controls:e.options.controls,preload:e.options.preload,onError:n[0]||(n[0]=(...s)=>e.handleError&&e.handleError(...s))},[(0,t.createElementVNode)("source",{src:e.source.src,type:e.source.type},null,8,yk)],40,gk),e.showToolbox&&!e.isDisabled?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:n[1]||(n[1]=(...s)=>e.play&&e.play(...s))},null,512)):(0,t.createCommentVNode)("",!0),e.showToolbox&&!e.isDisabled?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:1,class:"fox-video-play-btn",ref:"palyBtn",onClick:n[2]||(n[2]=(...s)=>e.play&&e.play(...s))},null,512)),[[t.vShow,!e.state.playing]]):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-video-controller",{"fox-video-controller--show":!e.state.playing,"fox-video-controller--hide":e.state.playing}])},[(0,t.createElementVNode)("div",{class:"fox-video-controller__playbtn",onClick:n[3]||(n[3]=(...s)=>e.play&&e.play(...s))}),(0,t.createElementVNode)("div",bk,(0,t.toDisplayString)(e.videoSet.displayTime),1),(0,t.createElementVNode)("div",Sk,[(0,t.createElementVNode)("div",vk,[(0,t.createElementVNode)("div",{class:"buffered",style:(0,t.normalizeStyle)({width:`${e.videoSet.loaded}%`})},null,4),(0,t.createElementVNode)("div",{class:"fox-video-controller__ball",style:(0,t.normalizeStyle)({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:n[4]||(n[4]=(0,t.withModifiers)(s=>e.touchSlidMove(s),["stop","prevent"])),onTouchstart:n[5]||(n[5]=(0,t.withModifiers)(s=>e.touchSlidSrart(),["stop"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)(s=>e.touchSlidEnd(s),["stop"]))},[...n[10]||(n[10]=[(0,t.createElementVNode)("div",{class:"fox-video-controller__ball-move"},null,-1)])],36),(0,t.createElementVNode)("div",kk,null,512)],512)]),(0,t.createElementVNode)("div",wk,(0,t.toDisplayString)(e.videoSet.totalTime),1),(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-video-controller__volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...s)=>e.handleMuted&&e.handleMuted(...s))},null,2),(0,t.createElementVNode)("div",{class:"fox-video-controller__full",onClick:n[8]||(n[8]=(...s)=>e.fullScreen&&e.fullScreen(...s))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),(0,t.withDirectives)((0,t.createElementVNode)("div",Ck,[(0,t.createElementVNode)("p",Nk,(0,t.toDisplayString)(e.t("errorTip")),1),(0,t.createElementVNode)("p",{class:"fox-video-error-retry",onClick:n[9]||(n[9]=(...s)=>e.retry&&e.retry(...s))},(0,t.toDisplayString)(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}var Vt=oe(hk,[["render",Ak]]),{create:Bk,componentName:Tk}=ee("steps"),Vk=Bk({props:{direction:{type:String,default:"horizontal"},current:{type:[String,Number],default:"0"},progressDot:{type:Boolean,default:!1}},emits:["click-step"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({children:[]}),o=(0,t.computed)(()=>{const i=Tk;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}}),r=i=>{i&&l.children.push(i)},s=i=>{n("click-step",i)};return(0,t.provide)("parent",{relation:r,state:l,props:e,onEmit:s}),()=>(0,t.h)("view",{class:o.value},a.default?.())}}),Bo=Vk,{create:$k,componentName:Ek}=ee("step"),Dk=$k({props:{title:{type:String,default:""},content:{type:String,default:""}},emits:["click-step"],setup(){const{proxy:e}=(0,t.getCurrentInstance)(),n=(0,t.inject)("parent");n.relation(e);const a=(0,t.reactive)({dot:n.props.progressDot}),l=(0,t.computed)(()=>n.state.children.indexOf(e)+1),o=()=>{const c=l.value;return c<+n.props.current?"finish":c===+n.props.current?"process":"wait"},r=(0,t.computed)(()=>o()),s=(0,t.computed)(()=>{const c=Ek;return{[c]:!0,[`${c}-${r.value}`]:!0}}),i=()=>{n.onEmit(l.value)};return{...(0,t.toRefs)(a),index:l,classes:s,handleClickStep:i}}}),Ik={class:"fox-step-head"},qk={class:"fox-step-icon-inner"},xk={key:1,class:"fox-step-inner"},Pk={class:"fox-step-main"},Mk={class:"fox-step-title"},zk={key:0},Lk={key:0,class:"fox-step-content"},Ok=["innerHTML"];function Rk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[(0,t.createElementVNode)("view",Ik,[n[1]||(n[1]=(0,t.createElementVNode)("view",{class:"fox-step-line"},null,-1)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-step-icon",[e.dot?"":"is-icon"]])},[(0,t.createElementVNode)("view",qk,[(0,t.renderSlot)(e.$slots,"icon",{},()=>[e.dot?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[],64)):((0,t.openBlock)(),(0,t.createElementBlock)("view",xk,(0,t.toDisplayString)(e.index),1))])])],2)]),(0,t.createElementVNode)("view",Pk,[(0,t.createElementVNode)("view",Mk,[e.$slots.title?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",zk,(0,t.toDisplayString)(e.title),1)),(0,t.renderSlot)(e.$slots,"title")]),e.content||e.$slots.content?((0,t.openBlock)(),(0,t.createElementBlock)("view",Lk,[e.$slots.content?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:e.content},null,8,Ok)),(0,t.renderSlot)(e.$slots,"content")])):(0,t.createCommentVNode)("",!0)])],2)}var To=oe(Dk,[["render",Rk]]),{create:Fk,componentName:Vo}=ee("swiper"),Kk=Fk({props:{width:{type:[Number,String],default:window.innerWidth},height:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},autoPlay:{type:[Number,String],default:0},initPage:{type:[Number,String],default:0},touchable:{type:Boolean,default:!0},isPreventDefault:{type:Boolean,default:!0},isStopPropagation:{type:Boolean,default:!0}},emits:["change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(),o=(0,t.reactive)({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,children:[],childrenVNode:[],style:{}}),r=Je(),s=(0,t.computed)(()=>({[Vo]:!0})),i=(0,t.computed)(()=>e.direction==="vertical"),c=(0,t.computed)(()=>{const M=Vo;return{[`${M}-inner`]:!0,[`${M}-vertical`]:i.value}}),m=(0,t.computed)(()=>{const M=Vo;return{[`${M}-pagination`]:!0,[`${M}-pagination-vertical`]:i.value}}),h=(0,t.computed)(()=>i.value?r.deltaY.value:r.deltaX.value),u=(0,t.computed)(()=>r.direction.value===e.direction),p=(0,t.computed)(()=>o.children.length),b=(0,t.computed)(()=>o[i.value?"height":"width"]),w=(0,t.computed)(()=>p.value*b.value),v=(0,t.computed)(()=>o.rect?(i.value?o.rect.height:o.rect.width)-b.value*p.value:0),S=(0,t.computed)(()=>(o.active+p.value)%p.value),f=()=>{let M=0;M=o.offset,o.style={transitionDuration:`${o.moving?0:e.duration}ms`,transform:`translate${i.value?"Y":"X"}(${M}px)`,[i.value?"height":"width"]:`${b.value*p.value}px`,[i.value?"width":"height"]:`${i.value?o.width:o.height}px`}},k=M=>{let R=[];const K=o.childrenVNode.length;let q=a?.default?.();if(q=q.filter(G=>G.children&&Array.isArray(G.children)),q.forEach(G=>{R=R.concat(G.children)}),!K)o.childrenVNode=R.slice(),M.proxy&&o.children.push(M.proxy);else if(K>R.length)o.children=o.children.filter(G=>M.proxy!==G);else if(K<R.length){for(let G=0;G<K;G++)if(R[G].key!==o.childrenVNode[G].key){M.proxy&&o.children.splice(G,0,M.proxy),M.vnode&&o.childrenVNode.splice(G,0,M.vnode);break}K!==R.length&&(M.proxy&&o.children.push(M.proxy),M.vnode&&o.childrenVNode.push(M.vnode))}else o.childrenVNode=R.slice(),M.proxy&&o.children.push(M.proxy)},d=(M,R=0)=>{let K=M*b.value;e.loop||(K=Math.min(K,-v.value));let q=R-K;return e.loop||(q=We(q,v.value,0)),q},C=M=>{const{active:R}=o;return M?e.loop?We(R+M,-1,p.value):We(R+M,0,p.value-1):R},N=({pace:M=0,offset:R=0,isEmit:K=!1})=>{if(p.value<=1)return;const{active:q}=o,G=C(M),ne=d(G,R);if(e.loop){if(o.children[0]&&ne!==v.value){const O=ne<v.value;o.children[0].setOffset(O?w.value:0)}if(o.children[p.value-1]&&ne!==0){const O=ne>0;o.children[p.value-1].setOffset(O?-w.value:0)}}o.active=G,o.offset=ne,K&&q!==o.active&&n("change",S.value),f()},g=()=>{o.moving=!0,o.active<=-1&&N({pace:p.value}),o.active>=p.value&&N({pace:-p.value})},y=()=>{o.autoplayTimer&&clearTimeout(o.autoplayTimer)},B=M=>{g(),r.reset(),Ye(()=>{Ye(()=>{o.moving=!1,N({pace:M,isEmit:!0})})})},T=()=>{B(-1)},$=()=>{B(1)},V=M=>{g(),r.reset(),Ye(()=>{o.moving=!1;let R;e.loop&&p.value===M?R=o.active===0?0:M:R=M%p.value,N({pace:R-o.active,isEmit:!0})})},W=()=>{const M=me(e.autoPlay);M<=0||p.value<=1||(y(),o.autoplayTimer=setTimeout(()=>{$(),W()},M))},_=(M=+e.initPage)=>{y(),o.rect=l.value.getBoundingClientRect(),M=Math.min(p.value-1,M),o.width=e.width?+e.width:o.rect.width,o.height=e.height?+e.height:o.rect.height,o.active=M,o.offset=d(o.active),o.moving=!0,f(),W()},E=M=>{e.isPreventDefault&&M.preventDefault(),e.isStopPropagation&&M.stopPropagation(),e.touchable&&(r.start(M),o.touchTime=Date.now(),y(),g())},D=M=>{e.touchable&&o.moving&&(r.move(M),u.value&&N({offset:h.value}))},L=M=>{if(!e.touchable||!o.moving)return;const R=h.value/(Date.now()-o.touchTime);if((Math.abs(R)>.3||Math.abs(h.value)>+(b.value/2).toFixed(2))&&u.value){let K=0;const q=i.value?r.offsetY.value:r.offsetX.value;e.loop?K=q>0?h.value>0?-1:1:0:K=-Math[h.value>0?"ceil":"floor"](h.value/b.value),N({pace:K,isEmit:!0})}else h.value&&N({pace:0});o.moving=!1,f(),W()};return(0,t.provide)("parent",{props:e,size:b,relation:k}),Te({prev:T,next:$,to:V}),(0,t.onDeactivated)(()=>{y()}),(0,t.onBeforeUnmount)(()=>{y()}),(0,t.watch)(()=>e.initPage,M=>{(0,t.nextTick)(()=>{_(Number(M))})}),(0,t.watch)(()=>o.children.length,()=>{(0,t.nextTick)(()=>{_()})}),(0,t.watch)(()=>e.autoPlay,M=>{me(M)>0?W():y()}),{state:o,classes:s,classesInner:c,classesPagination:m,container:l,activePagination:S,onTouchStart:E,onTouchMove:D,onTouchEnd:L}}});function Uk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{ref:"container",class:(0,t.normalizeClass)(e.classes),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))},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classesInner),style:(0,t.normalizeStyle)(e.state.style)},[(0,t.renderSlot)(e.$slots,"default")],6),(0,t.renderSlot)(e.$slots,"page"),e.paginationVisible&&!e.$slots.page?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.classesPagination)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.state.children.length,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("i",{style:(0,t.normalizeStyle)({backgroundColor:e.activePagination===i?e.paginationColor:"#ddd"}),class:(0,t.normalizeClass)({active:e.activePagination===i}),key:i},null,6))),128))],2)):(0,t.createCommentVNode)("",!0)],34)}var $t=oe(Kk,[["render",Uk]]),{create:Hk,componentName:jk}=ee("swiper-item"),Wk=Hk({setup(e,{slots:n}){const a=(0,t.inject)("parent");a.relation((0,t.getCurrentInstance)());const l=(0,t.reactive)({offset:0}),o=(0,t.computed)(()=>({[jk]:!0})),r=(0,t.computed)(()=>{const i={},c=a?.props.direction;return a?.size.value&&(i[c==="horizontal"?"width":"height"]=`${a?.size.value}px`),l.offset&&(i.transform=`translate${c==="horizontal"?"X":"Y"}(${l.offset}px)`),i}),s=i=>{l.offset=i};return(0,t.onUnmounted)(()=>{a.relation((0,t.getCurrentInstance)(),"unmount")}),Te({setOffset:s}),{style:r,classes:o}}});function Yk(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6)}var Et=oe(Wk,[["render",Yk]]),Li={show:{type:Boolean,default:!1},initNo:{type:Number,default:0},showIndex:{type:Boolean,default:!0},minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},{create:Xk}=ee("image-preview-item"),Qk=Xk({props:{...Li,image:{type:Object,default:()=>({})},video:{type:Object,default:()=>({})},rootWidth:{type:Number,default:0},rootHeight:{type:Number,default:0},contentClose:{type:Boolean,default:!0}},emits:["close","scale"],components:{[Vt.name]:Vt,[Et.name]:Et},setup(e,{emit:n}){const a=(0,t.reactive)({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),l=Je(),o=(0,t.computed)(()=>{const{rootWidth:T,rootHeight:$}=e,V=$/T;return a.imageRatio>V}),r=(0,t.computed)(()=>{const T=e.image;if(T&&T.src){const{scale:$,moveX:V,moveY:W,moving:_,zooming:E}=a,D={transitionDuration:E||_?"0s":".3s"};return $!==1&&(D.transform=`scale(${$}, ${$}) translate(${V/$}px, ${W/$}px)`),D}return{}}),s=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:T,rootHeight:$}=e,V=o.value?$/a.imageRatio:T;return Math.max(0,(a.scale*V-T)/2)}return 0}),i=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:T,rootHeight:$}=e,V=o.value?$:T*a.imageRatio;return Math.max(0,(a.scale*V-$)/2)}return 0}),c=T=>{const{naturalWidth:$,naturalHeight:V}=T.target;a.imageRatio=V/$},m=()=>{h(1),a.moveX=0,a.moveY=0},h=T=>{T=We(T,+e.minZoom,+e.maxZoom+1),T!==a.scale&&(a.scale=T,n("scale",{scale:T,index:e.initNo}))},u=()=>{h(a.scale>1?1:2),a.moveX=0,a.moveY=0},p=T=>Math.sqrt((T[0].clientX-T[1].clientX)**2+(T[0].clientY-T[1].clientY)**2);let b,w,v,S,f,k,d;const C=T=>{const{touches:$}=T,{offsetX:V}=l;l.start(T),d=$.length,b=a.moveX,w=a.moveY,k=Date.now(),a.moving=d===1&&a.scale!==1,a.zooming=d===2&&!V.value,a.zooming&&(v=a.scale,S=p(T.touches))},N=T=>{const{touches:$}=T;if(l.move(T),(a.moving||a.zooming)&&Bl(T,!0),a.moving){const{deltaX:V,deltaY:W}=l,_=V.value+b,E=W.value+w;a.moveX=We(_,-s.value,s.value),a.moveY=We(E,-i.value,i.value)}if(a.zooming&&$.length===2){const V=p($);h(v*V/S)}},g=()=>{if(d==1&&e.video&&e.video.source||d>1)return;const{offsetX:T,offsetY:$}=l,V=Date.now()-k,W=250,_=5;T.value<_&&$.value<_&&V<W&&(f?(clearTimeout(f),f=null,u()):f=setTimeout(()=>{e.contentClose&&n("close"),f=null},W))},y=T=>{let $=!1;(a.moving||a.zooming)&&($=!0,a.moving&&b===a.moveX&&w===a.moveY&&($=!1),T.touches.length||(a.zooming&&(a.moveX=We(a.moveX,-s.value,s.value),a.moveY=We(a.moveY,-i.value,i.value),a.zooming=!1),a.moving=!1,b=0,w=0,v=1,a.scale<1&&m(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),Bl(T,$),g(),l.reset()},B=()=>{n("close")};return(0,t.watch)(()=>e.initNo,m),(0,t.watch)(()=>e.show,T=>{T||m()}),{...(0,t.toRefs)(a),onTouchStart:C,onTouchMove:N,onTouchEnd:y,getDistance:p,imageStyle:r,imageLoad:c,closeSwiper:B}}}),Gk=["src"];function Zk(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-video"),i=(0,t.resolveComponent)("fox-swiper-item");return(0,t.openBlock)(),(0,t.createBlock)(i,{onClick:e.closeSwiper},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",{style:(0,t.normalizeStyle)(e.imageStyle),class:"fox-image-preview-box",onTouchstart:n[1]||(n[1]=(...c)=>e.onTouchStart&&e.onTouchStart(...c)),onTouchmove:n[2]||(n[2]=(...c)=>e.onTouchMove&&e.onTouchMove(...c)),onTouchend:n[3]||(n[3]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c)),onTouchcancel:n[4]||(n[4]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[e.image&&e.image.src?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:0,src:e.image.src,class:"fox-image-preview-img",onLoad:n[0]||(n[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,Gk)):(0,t.createCommentVNode)("",!0),e.video&&e.video.source?((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):(0,t.createCommentVNode)("",!0)],36)]),_:1},8,["onClick"])}var _k=oe(Qk,[["render",Zk]]),{create:Jk}=ee("image-preview"),ew=Jk({props:{...Li,images:{type:Array,default:()=>[]},videos:{type:Array,default:()=>[]},contentClose:{type:Boolean,default:!0},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},autoplay:{type:[Number,String],default:0},teleport:{type:[String,Element],default:"body"},teleportDisable:{ype:Boolean,default:!1},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},beforeClose:Function,isLoop:{type:Boolean,default:!0}},emits:["close","change"],components:{ImagePreviewItem:_k,CircleClose:ae.CircleClose,[be.name]:be,[$t.name]:$t},setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.reactive)({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),o=(0,t.computed)(()=>{const h="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${h}-right`:`${h}-left`}`}),r=(0,t.computed)(()=>sn(e.videos)?[].concat(e.videos).concat(e.images):e.images),s=h=>{h!==l.active&&(l.active=h,n("change",l.active))},i=()=>{qi(e.beforeClose,{args:[l.active],done:()=>c()})},c=()=>{l.showPop=!1,n("close")},m=()=>{if(a.value){const h=xe(a.value);l.rootHeight=h.height,l.rootWidth=h.width}};return(0,t.watch)(()=>e.show,h=>{l.showPop=h,h&&(s(e.initNo),m())}),(0,t.watch)(()=>e.initNo,h=>{h!=l.active&&s(h)}),(0,t.onMounted)(()=>{s(e.initNo)}),{swipeRef:a,...(0,t.toRefs)(l),onClose:i,mergeImages:r,setActive:s,iconClasses:o}}}),tw={class:"fox-image-preview",ref:"swipeRef"},nw={key:0,class:"fox-image-preview-index"};function lw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("image-preview-item"),i=(0,t.resolveComponent)("fox-swiper"),c=(0,t.resolveComponent)("CircleClose"),m=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(m,{"pop-class":"fox-image-preview-custom-pop",visible:e.showPop,"onUpdate:visible":n[1]||(n[1]=h=>e.showPop=h),teleportDisable:e.teleportDisable,teleport:e.teleport,onClosed:e.onClose,"lock-scroll":""},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",tw,[e.showPop?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,"auto-play":e.autoplay,class:"fox-image-preview-swiper",loop:e.isLoop,"is-preventDefault":!1,direction:"horizontal",onChange:e.setActive,"init-page":e.initNo,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.mergeImages,(h,u)=>((0,t.openBlock)(),(0,t.createBlock)(s,{key:u,video:u<e.videos.length?h:{},image:u>=e.videos.length?h:{},rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active+1,onClose:e.onClose,"content-close":e.contentClose,maxZoom:e.maxZoom,minZoom:e.minZoom},null,8,["video","image","rootHeight","rootWidth","show","init-no","onClose","content-close","maxZoom","minZoom"]))),128))]),_:1},8,["auto-play","loop","onChange","init-page","pagination-visible","pagination-color"])):(0,t.createCommentVNode)("",!0)],512),e.showIndex?((0,t.openBlock)(),(0,t.createElementBlock)("view",nw,(0,t.toDisplayString)(e.active+1)+" / "+(0,t.toDisplayString)(e.mergeImages.length),1)):(0,t.createCommentVNode)("",!0),e.closeable?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(e.iconClasses),onClick:n[0]||(n[0]=(...h)=>e.onClose&&e.onClose(...h))},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(c,{color:"#ffffff"})])],2)):(0,t.createCommentVNode)("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}var Oi=oe(ew,[["render",lw]]),aw=class{show=!1;images=[];videos=[];contentClose=!0;initNo=0;paginationVisible=!1;paginationColor="";autoplay=0;isWrapTeleport=!1;showIndex=!0;closeable=!1;closeIconPosition="top-right";beforeClose;maxZoom=3;minZoom=1/3;isLoop=!0;teleport="body"},ow=class{options=new aw;constructor(e){const n=Object.assign(this.options,e),{unmount:a}=Es(n,{name:"image-preview",components:[be,Vt,$t,Et,rt],wrapper:()=>({setup(){return()=>(n.onClose=()=>{n.show=!1,(0,t.nextTick)(()=>{a()})},(0,t.h)(Oi,n))}})})}},fl=e=>new ow(e);fl.install=e=>{e.use(Oi)};function rw(e){const n=(0,t.getCurrentInstance)();if(n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}var{componentName:b2,create:iw}=ee("countup"),sw=iw({props:{initNum:{type:Number,default:0},endNum:{type:Number,default:0},speed:{type:Number,default:1},toFixed:{type:Number,default:0},during:{type:Number,default:1e3},startFlag:{type:Boolean,default:!0},numWidth:{type:Number,default:20},numHeight:{type:Number,default:20},scrolling:{type:Boolean,default:!1},customBgImg:{type:String,default:""},customSpacNum:{type:Number,default:0},customChangeNum:{type:Number,default:1},type:{type:String,default:""},machineNum:{type:Number,default:3},machinePrizeNum:{type:Number,default:0},machinePrizeLevel:{type:Number,default:0},machineTurnMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)([]),o=B=>{B&&l.value.push(B)},r=(0,t.reactive)({valFlag:!1,current:0,sortFlag:"add",initDigit1:0,initDigit2:0,to0_10:[0,1,2,3,4,5,6,7,8,9,0],to10_0:[0,9,8,7,6,5,4,3,2,1,1],timer:null,totalCount:0,pointNum:0,numberVal:0,num_total_len:0,relNum:0,customNumber:1,prizeLevelTrun:0,prizeY:[],prizeYPrev:[],finshMachine:0,notPrize:[],typeMachine:""}),{startFlag:s,scrolling:i,customBgImg:c,type:m}=(0,t.reactive)(e);(0,t.watch)(()=>e.customChangeNum,(B,T)=>{u(),S(0)}),(0,t.watch)(()=>e.machinePrizeLevel,(B,T)=>{r.prizeLevelTrun=B}),(0,t.watch)(()=>e.initNum,(B,T)=>{r.current=B,r.valFlag=!1,h()}),(0,t.watch)(()=>e.endNum,(B,T)=>{r.current=e.initNum,r.valFlag=!1,h()});const h=()=>{if(r.valFlag)return!1;s&&(i||c?m!="machine"&&S():(v(),setTimeout(()=>{r.valFlag=!0},300)))},u=()=>{clearInterval(Number(r.timer)),r.timer=null},p=(B,T,$)=>{const V=(B.toString().split(".")[1]||"").length,W=(T.toString().split(".")[1]||"").length,_=Math.pow(10,Math.max(V,W));return $=="-"?Number((B*_-T*_).toFixed(0))/_:Number((B*_+T*_).toFixed(0))/_},b=B=>{let{num_total_len:T,pointNum:$,initDigit1:V,initDigit2:W,sortFlag:_}=r,E=_=="add"||_=="equal"?String(W)[B-(T-$)]:10-Number(String(W)[B-(T-$)]),D=_=="add"||_=="equal"?String(V)[B]:10-Number(String(V)[B]),L=B>T-$-1?-E*100+"%":B<=String(V).length-1?-D*100+"%":0;return L=="-1000%"&&(L=0),L},w=B=>{let{num_total_len:T,pointNum:$,initDigit1:V,initDigit2:W,sortFlag:_}=r,E=String(W)[B-(T-$)];return B>T-$-1?E||0:B<=String(V).length-1?String(V)[B]:0},v=()=>{let{endNum:B,initNum:T,speed:$,toFixed:V}=e,W=setInterval(()=>{if(T>B)if(r.current<=B||r.current<=$)r.current=Number(B.toFixed(V)),clearInterval(W),n("scroll-end"),r.valFlag=!1;else{let _=parseFloat(String(r.current))-parseFloat(String($));r.current=Number(_.toFixed(V))}else if(r.current>=B)r.current=Number(B.toFixed(V)),clearInterval(W),n("scroll-end"),r.valFlag=!1;else{let _=parseFloat(String(r.current))+parseFloat(String($));r.current=Number(_.toFixed(V))}},e.during)},S=B=>{let{initNum:T,endNum:$,toFixed:V,customBgImg:W}=e;W&&(T=e.customChangeNum);let _,E,D,L;T!=0?(V!=0&&(T=Number(T.toFixed(V))),String(T).indexOf(".")>-1?(_=String(T).split(".")[0].length,E=String(T).split(".")[1].length):(_=String(T).length,E=0)):(_=1,E=0),$!=0?(V!=0&&($=Number($.toFixed(V))),String($).indexOf(".")>-1?(D=String($).split(".")[0].length,L=String($).split(".")[1].length):(D=String($).length,L=0)):(D=1,L=0);let M=_>=D?_:D,R=E>=L?E:L;r.num_total_len=M+R,r.pointNum=R,T>$?(r.sortFlag="reduce",r.to0_10=[0,9,8,7,6,5,4,3,2,1,0],r.totalCount=p(T,$,"-"),r.numberVal=Number(String(T))):T<$?(r.sortFlag="add",r.to0_10=[0,1,2,3,4,5,6,7,8,9,0],r.totalCount=p($,T,"-"),r.numberVal=Number(String($))):r.sortFlag="equal";var K=1;for(let G=0;G<r.pointNum;G++)K*=10;var q=r.numberVal*K;if(r.relNum=q,V!=0&&(r.pointNum=String(r.numberVal).split(".")[1]?String(r.numberVal).split(".")[1].length:0,r.num_total_len=String(q).length),String(T).indexOf(".")>-1){let G=String(T).split(".");r.initDigit1=Number(G[0]),r.initDigit2=Number(G[1])}else r.initDigit1=T,r.initDigit2=0;i&&!W?(0,t.nextTick)(()=>{if(r.sortFlag=="equal")return!1;let G=l.value[r.num_total_len-1];f(G)}):B!==0&&C()},f=B=>{u();var T=1;r.pointNum!=0&&(T=1/Math.pow(10,r.pointNum)),r.timer=setInterval(()=>{k(B),r.totalCount=p(r.totalCount,T,"-"),r.totalCount<=0&&(u(),n("scroll-end"),r.valFlag=!1)},e.during)},k=B=>{let T=B.getAttribute("turn-number"),$;if(r.sortFlag=="add"?$=parseInt(String(T))+1:$=parseInt(String(T))-1>=0?parseInt(String(T))-1:9,B.setAttribute("turn-number",String($)),(B.style.transition=="none 0s ease 0s"||$==1||!B.style.transition)&&(B.style.transition=`all linear ${e.during}ms`),$==10||r.sortFlag=="reduce"&&$==0){var V=null;B.style.top=`-${r.sortFlag=="add"?$*100:(10-$)*100}%`,B.setAttribute("turn-number","0"),V=setTimeout(()=>{V&&clearTimeout(V),B.style.transition="none",B.style.top="0",d(B,$)},.975*e.during)}else B.style.top=`-${r.sortFlag=="add"?$*100:(10-$)*100}%`;B.style.top=="-100%"&&r.sortFlag=="reduce"&&k(B.previousSibling)},d=(B,T)=>{setTimeout(()=>{T==10&&B.previousSibling&&k(B.previousSibling)},200)},C=()=>{r.pointNum!=0&&Math.pow(10,r.pointNum),(0,t.nextTick)(()=>{a.value.addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),r.valFlag=!1})})},N=()=>{for(r.notPrize=[];r.notPrize.length<3;){var B=Math.floor(Math.random()*e.machinePrizeNum+1);r.notPrize.indexOf(B)==-1&&r.notPrize.push(B)}};rw({machineLuck:()=>{const B=e.machineTurnMore<0?0:e.machineTurnMore;let T=e.numHeight*e.machinePrizeNum;r.prizeLevelTrun<0&&N();for(let $=0;$<e.machineNum;$++)setTimeout(()=>{let V=T*($+1+parseFloat(String(B)));r.prizeYPrev.length!=0&&(r.prizeY[$]=r.prizeYPrev[$]);let W=r.prizeYPrev[$]?r.prizeYPrev[$]:0,_=V+W+(e.machinePrizeNum-r.prizeLevelTrun+1)*e.numHeight+(T-W);r.prizeLevelTrun<0&&(_+=e.numHeight*r.notPrize[$]),y($,_,W)},500*$)}});const y=(B,T,$)=>{let V=setInterval(()=>{if($<=T)$+=10,r.prizeY[B]=parseFloat(String($));else if(clearInterval(V),V=null,r.finshMachine+=1,r.prizeY[B]=T,r.finshMachine==e.machineNum){let W=e.numHeight*e.machinePrizeNum;r.prizeYPrev=[],JSON.parse(JSON.stringify(r.prizeY)).forEach(_=>{let E=_;for(;E>W;)E-=W;r.prizeYPrev.push(E)}),setTimeout(()=>{r.finshMachine=0,r.prizeLevelTrun<0?(n("scroll-end",!1),r.valFlag=!1):(n("scroll-end",!0),r.valFlag=!1)},130)}},30)};return(0,t.onMounted)(()=>{r.current=e.initNum,(0,t.nextTick)(()=>{h()})}),(0,t.onUnmounted)(()=>{u(),r.timer=null}),{...(0,t.toRefs)(r),...(0,t.toRefs)((0,t.reactive)(e)),runNumberImg:a,setRef:o,topNumber:b,turnNumber:w}}}),cw={class:"fox-countup"},uw=["turn-number"];function dw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",cw,[e.customBgImg!=""?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[e.type=="machine"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup__machine",style:(0,t.normalizeStyle)({height:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.machineNum,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__machine-item",key:"mImg"+i,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[i]+"px"})},null,4))),128))],4)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,ref:"runNumberImg",class:"fox-countup__numberimg",style:(0,t.normalizeStyle)({height:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.num_total_len,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__numberimg__item",key:"cImg"+i,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(Number(i)>e.num_total_len-e.pointNum-1?Number(i)==e.num_total_len-e.pointNum?Number(i)*1.5:Number(i)*1.3:Number(i))+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[i]*e.numHeight+e.customSpacNum*+String(e.relNum)[i])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup-pointstyl",style:(0,t.normalizeStyle)({width:e.numWidth/2+"px",bottom:0,left:e.numWidth*(e.num_total_len-e.pointNum)*1.1+"px",fontSize:"30px"})},".",4)):(0,t.createCommentVNode)("",!0)],4))],64)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[e.scrolling?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup__number",style:(0,t.normalizeStyle)({width:e.numWidth*e.num_total_len+e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.num_total_len,(s,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{ref_for:!0,ref:c=>e.setRef(c),class:"fox-countup__number-item",key:s,style:(0,t.normalizeStyle)({top:e.topNumber(i),left:e.numWidth*(Number(i)>e.num_total_len-e.pointNum-1?Number(i)*1.1:Number(i))+"px"}),"turn-number":e.turnNumber(i)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.to0_10,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-countup__number-item__span",key:"dote"+m,style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},(0,t.toDisplayString)(c),5))),128))],12,uw))),128)),e.pointNum>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-countup-pointstyl",style:(0,t.normalizeStyle)({width:e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px",top:0,left:e.numWidth*(e.num_total_len-e.pointNum)+"px"})},".",4)):(0,t.createCommentVNode)("",!0)],4)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.current),1)],64))],64))])}var $o=oe(sw,[["render",dw]]),fw=e=>{if(!e)return Date.now();let n=Number(e),a=n>0?+n:n.toString().replace(/\-/g,"/");return new Date(a).getTime()},{componentName:mw,create:hw}=ee("countdown"),pw=hw({props:{modelValue:{type:Object,default:()=>({})},paused:{default:!1,type:Boolean},startTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},endTime:{type:[Number,String],validator(e){return new Date(e).toString().toLowerCase()!=="invalid date"}},millisecond:{default:!1,type:Boolean},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0},time:{type:[Number,String],default:0}},emits:["input","on-end","on-restart","on-paused","update:modelValue"],setup(e,{emit:n,slots:a}){const l=(0,t.reactive)({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),o=(0,t.computed)(()=>({[mw]:!0})),r=(0,t.computed)(()=>c(l.restTime)),s=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-fw(e.startTime),l.counting||(l.counting=!0),i()},i=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const b=Date.now()-l.diffTime,w=Math.max(l.handleEndTime-b,0);l.restTime=w,w||(l.counting=!1,u(),n("on-end")),w>0&&i()}}))},c=(b,w)=>{const v=b;let S={d:0,h:0,m:0,s:0,ms:0};const f=1e3,k=60*f,d=60*k,C=24*d;return v>0&&(S.d=v>=f?Math.floor(v/C):0,S.h=Math.floor(v%C/d),S.m=Math.floor(v%d/k),S.s=Math.floor(v%k/f),S.ms=Math.floor(v%f)),w=="custom"?S:m({...S})},m=b=>{let{d:w,h:v,m:S,s:f,ms:k}=b,d=e.format;if(d.includes("DD")?d=d.replace("DD",lt(w)):v+=Number(w)*24,d.includes("HH")?d=d.replace("HH",lt(v)):S+=Number(v)*60,d.includes("mm")?d=d.replace("mm",lt(S)):f+=Number(S)*60,d.includes("ss")?d=d.replace("ss",lt(f)):k+=Number(f)*1e3,d.includes("S")){const C=lt(k,3).toString();d.includes("SSS")?d=d.replace("SSS",C):d.includes("SS")?d=d.replace("SS",C.slice(0,2)):d.includes("S")&&(d=d.replace("SS",C.slice(0,1)))}return d},h=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i(),n("on-restart",l.restTime))},u=()=>{cancelAnimationFrame(l.timer),l.counting=!1,n("on-paused",l.restTime)},p=()=>{e.autoStart||(u(),l.restTime=e.time)};return(0,t.onBeforeMount)(()=>{e.autoStart?s():l.restTime=e.time}),(0,t.watch)(()=>l.restTime,b=>{let w=c(b,"custom");n("update:modelValue",w),n("input",w)}),(0,t.watch)(()=>e.paused,(b,w)=>{w?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),i()),n("on-restart",l.restTime)):l.counting&&u()}),(0,t.watch)(()=>e.endTime,b=>{s()}),(0,t.watch)(()=>e.startTime,b=>{s()}),{...(0,t.toRefs)(e),slots:a,classes:o,start:h,pause:u,renderTime:r,reset:p}}}),gw=["innerHTML"];function yw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.slots.default?(0,t.renderSlot)(e.$slots,"default",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"fox-countdown__content",innerHTML:e.renderTime},null,8,gw))],2)}var Eo=oe(pw,[["render",yw]]),{create:bw}=ee("badge"),Sw=bw({props:{value:{type:[String,Number]},max:{type:Number,default:1e4},dot:{type:Boolean,default:!1},bubble:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},top:{type:String,default:"0"},right:{type:String,default:"0"},zIndex:{type:Number,default:9},color:{type:String,default:""}},setup(e){return{state:(0,t.reactive)({}),stl:(0,t.computed)(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),content:(0,t.computed)(()=>{if(e.dot)return;const n=e.value,a=e.max;return typeof n=="number"&&typeof a=="number"&&a<n?`${a}+`:n})}}}),vw={class:"fox-badge"},kw=["textContent"];function ww(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",vw,[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:"fox-badge__icon",style:(0,t.normalizeStyle)(e.stl)},[(0,t.renderSlot)(e.$slots,"icon")],4),[[t.vShow,!e.hidden&&!e.dot&&e.$slots.icon]]),(0,t.renderSlot)(e.$slots,"default"),(0,t.withDirectives)((0,t.createElementVNode)("view",{textContent:(0,t.toDisplayString)(e.content),class:(0,t.normalizeClass)(["fox-badge__content fox-badge__content--sup",{"fox-badge__content--dot":e.dot,"fox-badge__content--bubble":!e.dot&&e.bubble}]),style:(0,t.normalizeStyle)(e.stl)},null,14,kw),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}var Do=oe(Sw,[["render",ww]]),{componentName:Cw,create:Nw}=ee("tag"),Aw=Nw({props:{color:{type:String,default:""},textColor:{type:String,default:""},type:{type:String,default:"default"},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},mark:{type:Boolean,default:!1},closeable:{type:Boolean,default:!1},symbol:{type:Boolean,default:!1},text:{type:Boolean,default:!1},light:{type:Boolean,default:!1}},components:{Close:ae.Close},emits:["close","click"],setup(e,{emit:n}){return{classes:(0,t.computed)(()=>{const s=Cw;return{[s]:!0,[`${s}--${e.type}`]:!0,[`${s}--plain`]:e.plain,[`${s}--round`]:e.round,[`${s}--mark`]:e.mark,[`${s}--symbol`]:e.symbol,[`${s}--text`]:e.text,[`${s}--light`]:e.light}}),getStyle:()=>{const s={};return e.textColor?s.color=e.textColor:(e.color&&e.plain||e.color&&e.text)&&(s.color=e.color),e.plain?(s.background="#fff",s["border-color"]=e.color):!e.text&&e.color&&(s.background=e.color),s},onClose:s=>{s.stopPropagation(),n("close",s)},onClick:s=>{n("click",s)}}}});function Bw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.getStyle()),onClick:n[0]||(n[0]=(...i)=>e.onClick&&e.onClick(...i))},[(0,t.renderSlot)(e.$slots,"default"),e.closeable?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:"fox-tag--close",onClick:e.onClose},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],6)}var Io=oe(Aw,[["render",Bw]]),{create:Tw}=ee("popover"),Vw=Tw({components:{FoxPopup:be},props:{visible:{type:Boolean,default:!1},list:{type:Array,default:[]},theme:{type:String,default:"light"},location:{type:String,default:"bottom"},offset:{type:Array,default:[0,12]},arrowOffset:{type:Number,default:0},customClass:{type:String,default:""},showArrow:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},overlay:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0},closeOnClickAction:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},targetId:{type:String,default:""},bgColor:{type:String,default:""},teleportDisable:{type:Boolean,default:!0}},emits:["update","update:visible","close","choose","open"],setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.ref)(),o=(0,t.ref)(e.visible);let r=(0,t.ref)(),s=(0,t.ref)();const i=(0,t.computed)(()=>{const k="fox-popover-arrow",d=e.location;return`${k} ${k}-${d.split("-")[0]} ${k}--${d}`}),c=(0,t.computed)(()=>{const k={},{bgColor:d,arrowOffset:C,location:N}=e,g=N.split("-")[0],y=N.split("-")[1],B=16;return d&&(k[`border${m(g)}Color`]=d),e.arrowOffset!=0&&(["bottom","top"].includes(g)&&(y||(k.left=`calc(50% + ${C}px)`),y=="start"&&(k.left=`${B+C}px`),y=="end"&&(k.right=`${B-C}px`)),["left","right"].includes(g)&&(y||(k.top=`calc(50% - ${C}px)`),y=="start"&&(k.top=`${B-C}px`),y=="end"&&(k.bottom=`${B+C}px`))),k}),m=k=>(k=k.toLowerCase(),k=k.replace(/\b\w+\b/g,d=>d.substring(0,1).toUpperCase()+d.substring(1)),k),h=(0,t.computed)(()=>{let k={};if(!r.value||!s.value)return{};const d=s.value.width,C=s.value.height,{width:N,height:g,left:y,top:B}=r.value,{location:T,offset:$}=e,V=T.split("-")[0],W=T.split("-")[1];let _=0,E=0;return sn($)&&$.length==2&&(_+=Number($[1]),E+=Number($[0])),N&&(["bottom","top"].includes(V)&&(k.top=`${B+(V=="bottom"?g+_:-(C+_))}px`,W||(k.left=`${-(d-N)/2+y+E}px`),W=="start"&&(k.left=`${y+E}px`),W=="end"&&(k.left=`${r.value.right+E}px`)),["left","right"].includes(V)&&(k.left=`${y+(V=="left"?-(d+_):N+_)}px`,W||(k.top=`${B-C/2+g/2-4+E}px`),W=="start"&&(k.top=`${B+E}px`),W=="end"&&(k.top=`${B+g+E}px`))),k}),u=(0,t.computed)(()=>{const k={};return e.bgColor&&(k.background=e.bgColor),k}),p=()=>{let k=xe(a.value);e.targetId&&(k=xe(document.querySelector(`#${e.targetId}`))),r.value=k,setTimeout(()=>{s.value={height:l.value?.clientHeight,width:l.value?.clientWidth}},0)};(0,t.onMounted)(()=>{setTimeout(()=>{p()},200)}),(0,t.watch)(()=>e.visible,k=>{o.value=k,k?(window.addEventListener("touchstart",f,!0),p()):window.removeEventListener("touchstart",f,!0)});const b=k=>{n("update",k),n("update:visible",k)},w=()=>{b(!e.visible),n("open")},v=()=>{n("update:visible",!1),n("close")},S=(k,d)=>{!k.disabled&&n("choose",k,d),e.closeOnClickAction&&v()},f=k=>{const d=a.value,C=l.value;let N=d&&!d.contains(k.target);if(e.targetId){const g=document.querySelector(`#${e.targetId}`);N=g&&!g.contains(k.target)}N&&C&&!C.contains(k.target)&&e.closeOnClickOutside&&v()};return{showPopup:o,openPopover:w,popoverArrow:i,closePopover:v,chooseItem:S,popoverRef:a,popoverContentRef:l,getRootPosition:h,customStyle:u,popoverArrowStyle:c,renderIcon:Nr}}}),$w={ref:"popoverContentRef",class:"fox-popover-content-group"},Ew=["onClick"],Dw={class:"fox-popover-menu-item-name"};function Iw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.targetId?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,ref:"popoverRef",class:"fox-popover-wrapper",onClick:n[0]||(n[0]=(...i)=>e.openPopover&&e.openPopover(...i))},[(0,t.renderSlot)(e.$slots,"reference")],512)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-popover",`fox-popover--${e.theme}`,`${e.customClass}`]),style:(0,t.normalizeStyle)(e.getRootPosition)},[(0,t.createVNode)(s,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=i=>e.showPopup=i),"pop-class":`fox-popover-content fox-popover-content--${e.location}`,style:(0,t.normalizeStyle)(e.customStyle),position:"",transition:"fox-popover","teleport-disable":e.teleportDisable,overlay:e.overlay,duration:e.duration,"overlay-style":e.overlayStyle,"overlay-class":e.overlayClass,"close-on-click-overlay":e.closeOnClickOverlay},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",$w,[e.showArrow?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.popoverArrow),style:(0,t.normalizeStyle)(e.popoverArrowStyle)},null,6)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content"),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.list,(i,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:c,class:(0,t.normalizeClass)([i.className,i.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:(0,t.withModifiers)(m=>e.chooseItem(i,c),["stop"])},[i.icon?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(i.icon)),{key:0,class:"fox-popover-item-img"})):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Dw,(0,t.toDisplayString)(i.name),1)],10,Ew))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}var ln=oe(Vw,[["render",Iw]]),qw=e=>({components:e,props:{width:{type:String,default:"100px"},height:{type:String,default:"15px"},animated:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},avatarShape:{type:String,default:"round"},avatarSize:{type:String,default:"50px"},loading:{type:Boolean,default:!0},round:{type:Boolean,default:!1},row:{type:String,default:"1"},title:{type:Boolean,default:!0}},setup(n){const{avatarShape:a,round:l,avatarSize:o}=(0,t.toRefs)(n),r=(0,t.computed)(()=>{const c="avatarClass";return{[c]:!0,[`${c}--${a.value}`]:a.value}});return{avatarShape:a,avatarClass:r,getBlockClass:c=>({[c]:!0,[`${c}--round`]:l.value}),getStyle:()=>o.value?{width:o.value,height:o.value}:{width:"50px",height:"50px"}}}}),{create:xw}=ee("skeleton"),Pw=xw(qw({[nn.name]:nn})),Mw={key:0},zw={key:1,class:"fox-skeleton"},Lw={key:0,class:"fox-skeleton-animation"},Ow={class:"fox-skeleton-content"};function Rw(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-avatar");return e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("view",zw,[e.animated?((0,t.openBlock)(),(0,t.createElementBlock)("view",Lw)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Ow,[e.avatar?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,class:(0,t.normalizeClass)(e.avatarClass),shape:e.avatarShape,style:(0,t.normalizeStyle)(e.getStyle())},null,8,["class","shape","style"])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-skeleton-content__line",style:(0,t.normalizeStyle)({width:e.width})},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.getBlockClass("fox-skeleton-blockTitle")),style:(0,t.normalizeStyle)({height:e.height})},null,6)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Number(e.row),i=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:i,class:(0,t.normalizeClass)(e.getBlockClass("fox-skeleton-blockLine")),style:(0,t.normalizeStyle)({height:e.height})},null,6))),128))],4)])])):((0,t.openBlock)(),(0,t.createElementBlock)("view",Mw,[(0,t.renderSlot)(e.$slots,"default")]))}var qo=oe(Pw,[["render",Rw]]),{create:Fw,componentName:Kw}=ee("collapse"),Uw=Fw({props:{modelValue:{type:[String,Number,Array],default:""},accordion:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:n}){const a=(0,t.ref)(null),l=(0,t.ref)(e.modelValue||(e.accordion?"":[])),o=(0,t.computed)(()=>({[Kw]:!0}));(0,t.watch)(()=>e.modelValue,c=>{l.value=c});const r=(c,m,h=!0)=>{l.value=c,n("update:modelValue",c),n("change",c,m,h)},s=c=>{e.accordion?l.value===c?r("",c,!1):r(c,c,!0):Array.isArray(l.value)?l.value.includes(c)?r(l.value.filter(m=>m!==c),c,!1):r(l.value.concat([c]),c,!0):console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},i=c=>e.accordion?l.value===c:Array.isArray(l.value)?l.value.includes(c):!1;return(0,t.provide)("collapseParent",{updateVal:s,isExpanded:i}),{collapseDom:a,classes:o}}});function Hw(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"collapseDom"},[(0,t.renderSlot)(e.$slots,"default")],2)}var xo=oe(Uw,[["render",Hw]]),{create:jw,componentName:Ww}=ee("collapse-item"),Yw=jw({props:{collapseRef:{type:Object},title:{type:String,default:""},value:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[Number,String],default:-1,required:!0},border:{type:Boolean,default:!0},icon:{type:Object,default:ae.DownArrow},rotate:{type:[String,Number],default:180}},setup(e){const n=(0,t.ref)(null),a=(0,t.ref)(null),l=(0,t.reactive)((0,t.inject)("collapseParent")),o=(0,t.computed)(()=>{const u=Ww;return{[u]:!0,[u+"__border"]:e.border}}),r=(0,t.computed)(()=>l?l.isExpanded(e.name):!1),s=(0,t.ref)(r.value?"auto":"0px"),i=()=>{l.updateVal(e.name)},c=()=>{r.value&&(s.value="auto")},m=()=>{s.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const u=a.value?.offsetHeight;s.value=u?`${u}px`:"auto"})})},h=()=>{const u=a.value?.offsetHeight;s.value=u?`${u}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.value="0px"})})};return(0,t.watch)(r,u=>{u?m():h()}),{classes:o,renderIcon:Nr,wrapperRef:n,contentRef:a,open:m,toggle:i,wrapperHeight:s,expanded:r,onTransitionEnd:c}}}),Xw={class:"fox-collapse-item__title-main"},Qw={class:"fox-collapse-item__title-main-value"},Gw=["innerHTML"],Zw={key:2,class:"fox-collapse-item__title-label"},_w={key:0,class:"fox-collapse-item__title-sub"},Jw=["innerHTML"],eC={key:0,class:"fox-collapse__item-extraWrapper"},tC={class:"fox-collapse__item-extraWrapper__extraRender"},nC={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function lC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-collapse-item__title",{"fox-collapse-item__title--disabled":e.disabled}]),onClick:n[0]||(n[0]=(...s)=>e.toggle&&e.toggle(...s))},[(0,t.createElementVNode)("view",Xw,[(0,t.createElementVNode)("view",Qw,[e.$slots.title?(0,t.renderSlot)(e.$slots,"title",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,innerHTML:e.title,class:"fox-collapse-item__title-mtitle"},null,8,Gw)),e.label?((0,t.openBlock)(),(0,t.createElementBlock)("view",Zw,(0,t.toDisplayString)(e.label),1)):(0,t.createCommentVNode)("",!0)])]),e.$slots.value?((0,t.openBlock)(),(0,t.createElementBlock)("view",_w,[(0,t.renderSlot)(e.$slots,"value")])):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,innerHTML:e.value,class:"fox-collapse-item__title-sub"},null,8,Jw)),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-collapse-item__title-icon",{"fox-collapse-item__title-icon--expanded":e.expanded}]),style:(0,t.normalizeStyle)({transform:"rotate("+(e.expanded?e.rotate:0)+"deg)"})},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.icon))))],6)],2),e.$slots.extra?((0,t.openBlock)(),(0,t.createElementBlock)("view",eC,[(0,t.createElementVNode)("div",tC,[(0,t.renderSlot)(e.$slots,"extra")])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-collapse__item-wrapper",ref:"wrapperRef",style:(0,t.normalizeStyle)({willChange:"height",height:e.wrapperHeight}),onTransitionend:n[1]||(n[1]=(...s)=>e.onTransitionEnd&&e.onTransitionEnd(...s))},[(0,t.createElementVNode)("view",nC,[(0,t.renderSlot)(e.$slots,"default")],512)],36)],2)}var Po=oe(Yw,[["render",lC]]),aC=(0,t.defineComponent)({setup(e){return()=>(0,t.h)("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}}),{componentName:oC,create:rC,scope:iC}=ee("table"),sC=rC({components:{RenderColumn:aC,DownArrow:ae.DownArrow},props:{bordered:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})},summary:{type:Function,default:null},striped:{type:Boolean,default:!1}},emits:["sorter"],setup(e,{emit:n,slots:a}){const{t:l}=(0,he.useFoxI18n)(iC),o=(0,t.reactive)({curData:e.data}),r=(0,t.computed)(()=>({[oC]:!0})),s=b=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${b.align?b.align:""}`]:!0}),i=b=>b.stylehead?b.stylehead:"",c=b=>b.stylecolumn?b.stylecolumn:"",m=b=>e.columns.filter(w=>w.key===b)[0],h=b=>{const w=e.columns.filter(v=>v.key===b);return w[0].stylecolumn?w[0].stylecolumn:""},u=b=>{b.sorter&&(n("sorter",b),o.curData=typeof b.sorter=="function"?o.curData.sort(b.sorter):b.sorter==="default"?o.curData.sort():o.curData)},p=()=>e.columns.map(b=>[b.key,b.render]);return(0,t.watch)(()=>e.data,b=>{o.curData=b.slice()}),{...(0,t.toRefs)(o),classes:r,cellClasses:s,getColumnItem:m,getColumnItemStyle:h,handleSorterClick:u,sortDataItem:p,t:l,stylehead:i,stylecolumn:c}}}),cC={class:"fox-table__main__head"},uC={class:"fox-table__main__head__tr"},dC=["onClick"],fC={class:"fox-table__main__body"},mC={key:1},hC={key:0,class:"fox-table__nodata"},pC={key:0,class:"fox-table__nodata__text"},gC={key:1,class:"fox-table__summary"},yC=["innerHTML"];function bC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("DownArrow"),i=(0,t.resolveComponent)("RenderColumn");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-table__main",{"fox-table__main--striped":e.striped}])},[(0,t.createElementVNode)("view",cC,[(0,t.createElementVNode)("view",uC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,c=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__head__tr__th",e.cellClasses(c)]),key:c.key,onClick:m=>e.handleSorterClick(c),style:(0,t.normalizeStyle)(c.stylehead)},[(0,t.createTextVNode)((0,t.toDisplayString)(c.title)+" ",1),(0,t.renderSlot)(e.$slots,"icon"),!e.$slots.icon&&c.sorter?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,width:"12px",height:"12px"})):(0,t.createCommentVNode)("",!0)],14,dC))),128))])]),(0,t.createElementVNode)("view",fC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.curData,c=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-table__main__body__tr",key:c},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sortDataItem(),([m,h])=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(m))]),key:m,style:(0,t.normalizeStyle)(e.getColumnItemStyle(m))},[typeof c[m]=="function"||typeof h=="function"?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,slots:[h,c[m]],record:c},null,8,["slots","record"])):((0,t.openBlock)(),(0,t.createElementBlock)("view",mC,(0,t.toDisplayString)(c[m]),1))],6))),128))]))),128))])],2),e.curData.length?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",hC,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-table__nodata",{"fox-table__nodata--border":e.bordered}])},[(0,t.renderSlot)(e.$slots,"nodata"),e.$slots.nodata?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",pC,(0,t.toDisplayString)(e.t("noData")),1))],2)])),e.summary?((0,t.openBlock)(),(0,t.createElementBlock)("view",gC,[(0,t.createElementVNode)("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,yC)])):(0,t.createCommentVNode)("",!0)],2)}var Mo=oe(sC,[["render",bC]]),{componentName:SC,create:vC}=ee("ellipsis"),kC=vC({props:{content:{type:String,default:""},direction:{type:String,default:"end"},rows:{type:[Number,String],default:1},expandText:{type:String,default:""},collapseText:{type:String,default:""},symbol:{type:String,default:"..."},lineHeight:{type:[Number,String],default:"20"}},emits:["click","change"],setup(e,{emit:n}){const a=(0,t.ref)(null);let l=null,o=0;const r=(0,t.ref)(),s=(0,t.reactive)({exceeded:!1,expanded:!1}),i=(0,t.computed)(()=>({[SC]:!0}));(0,t.watch)(()=>e.content,(v,S)=>{v!=S&&c()}),(0,t.onMounted)(()=>{c()});const c=()=>{if(!a.value)return;const v=window.getComputedStyle(a.value);l=document.createElement("div"),Array.prototype.slice.apply(v).forEach(f=>{l.style.setProperty(f,v.getPropertyValue(f))}),l.style.position="fixed",l.style.left="999999px",l.style.top="999999px",l.style.zIndex="-1000",l.style.height="auto",l.style.minHeight="auto",l.style.maxHeight="auto",l.style.textOverflow="clip",l.style.whiteSpace="normal",l.style.webkitLineClamp="unset",l.style.display="block";const S=p(v.lineHeight==="normal"?e.lineHeight:v.lineHeight);o=Math.floor(S*(Number(e.rows)+.5)+p(v.paddingTop)+p(v.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),m()},m=()=>{if(l.offsetHeight<=o)s.exceeded=!1,document.body.removeChild(l);else{s.exceeded=!0;const v=e.content.length,S=Math.floor((0+v)/2);r.value=e.direction==="middle"?u([0,S],[S,v]):h(0,v),document.body.removeChild(l)}},h=(v,S)=>{const f=s.expanded?e.collapseText:e.expandText,k=e.content.length;if(S-v<=1)return e.direction==="end"?{leading:e.content.slice(0,v)+e.symbol}:{tailing:e.symbol+e.content.slice(S,k)};const d=Math.round((v+S)/2);return e.direction==="end"?l.innerText=e.content.slice(0,d)+e.symbol+f:l.innerText=f+e.symbol+e.content.slice(d,k),l.offsetHeight<=o?e.direction==="end"?h(d,S):h(v,d):e.direction==="end"?h(v,d):h(d,S)},u=(v,S)=>{const f=s.expanded?e.collapseText:e.expandText,k=e.content.length;if(v[1]-v[0]<=1&&S[1]-S[0]<=1)return{leading:e.content.slice(0,v[0])+e.symbol,tailing:e.symbol+e.content.slice(S[1],k)};const d=Math.floor((v[0]+v[1])/2),C=Math.ceil((S[0]+S[1])/2);return l.innerText=e.content.slice(0,d)+e.symbol+f+e.symbol+e.content.slice(C,k),l.offsetHeight<=o?u([d,v[1]],[S[0],C]):u([v[0],d],[C,S[1]])},p=v=>{if(!v)return 0;const S=v.match(/^\d*(\.\d*)?/);return S?Number(S[0]):0},b=v=>{v==1?(s.expanded=!0,n("change","expand")):(s.expanded=!1,n("change","collapse"))},w=()=>{n("click")};return{...(0,t.toRefs)(s),root:a,ellipsis:r,classes:i,clickHandle:b,handleClick:w}}}),wC={key:0},CC={key:1},NC={key:2};function AC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[2]||(n[2]=(...s)=>e.handleClick&&e.handleClick(...s)),ref:"root"},[e.exceeded?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",wC,(0,t.toDisplayString)(e.content),1)),e.exceeded&&!e.expanded?((0,t.openBlock)(),(0,t.createElementBlock)("view",CC,[(0,t.createTextVNode)((0,t.toDisplayString)(e.ellipsis&&e.ellipsis.leading),1),e.expandText?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-ellipsis__text",onClick:n[0]||(n[0]=(0,t.withModifiers)(s=>e.clickHandle(1),["stop"]))},(0,t.toDisplayString)(e.expandText),1)):(0,t.createCommentVNode)("",!0),(0,t.createTextVNode)((0,t.toDisplayString)(e.ellipsis&&e.ellipsis.tailing),1)])):(0,t.createCommentVNode)("",!0),e.exceeded&&e.expanded?((0,t.openBlock)(),(0,t.createElementBlock)("view",NC,[(0,t.createTextVNode)((0,t.toDisplayString)(e.content)+" ",1),e.expandText?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-ellipsis__text",onClick:n[1]||(n[1]=(0,t.withModifiers)(s=>e.clickHandle(2),["stop"]))},(0,t.toDisplayString)(e.collapseText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)],2)}var zo=oe(kC,[["render",AC]]),{componentName:BC,create:TC}=ee("animate"),VC=TC({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1},duration:{type:[String,Number]}},emits:["click"],setup(e,{emit:n}){const{type:a,loop:l,action:o}=(0,t.toRefs)(e),r=(0,t.reactive)({clicked:!1});let s=(0,t.computed)(()=>({"fox-animate__container":!0,[`${BC}-${a.value}`]:o.value==="initial"||r.clicked?a.value:!1,loop:l.value}));const i=c=>{r.clicked=!0,l.value||setTimeout(()=>{r.clicked=!1},1e3),n("click",c)};return{...(0,t.toRefs)(r),classes:s,handleClick:i}}}),$C={class:"fox-animate"};function EC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",$C,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s)),style:(0,t.normalizeStyle)({animationDuration:e.duration?`${e.duration}ms`:void 0})},[(0,t.renderSlot)(e.$slots,"default")],6)])}var Lo=oe(VC,[["render",EC]]),{componentName:DC,create:IC}=ee("watermark"),qC=IC({props:{name:{type:String,default:""},gapY:{type:Number,default:48},gapX:{type:Number,default:24},zIndex:{type:Number,default:2e3},width:{type:Number,default:120},height:{type:Number,default:64},rotate:{type:Number,default:-22},image:{type:String,default:""},imageWidth:{type:Number,default:120},imageHeight:{type:Number,default:64},content:{type:String,default:""},fontColor:{type:String,default:"rgba(0,0,0,.15)"},fontStyle:{type:String,default:"normal"},fontFamily:{type:String,default:"PingFang SC"},fontWeight:{type:String,default:"normal"},fontSize:{type:[String,Number],default:14},fullPage:{type:Boolean,default:""}},emits:["click"],setup(e,{emit:n}){const a=(0,t.reactive)({base64Url:""}),{zIndex:l,gapX:o,gapY:r,width:s,height:i,rotate:c,image:m,imageWidth:h,imageHeight:u,content:p,fontStyle:b,fontWeight:w,fontColor:v,fontSize:S,fontFamily:f}=e,k=()=>{const C=document.createElement("canvas"),N=window.devicePixelRatio,g=C.getContext("2d"),y=`${(o+s)*N}px`,B=`${(r+i)*N}px`,T=s*N,$=i*N;if(C.setAttribute("width",y),C.setAttribute("height",B),g)if(m){g.translate(T/2,$/2),g.rotate(Math.PI/180*Number(c));const V=new Image;V.crossOrigin="anonymous",V.referrerPolicy="no-referrer",V.src=m,V.onload=()=>{g.drawImage(V,-h*N/2,-u*N/2,h*N,u*N),g.restore(),a.base64Url=C.toDataURL()}}else p&&(g.textBaseline="middle",g.textAlign="center",g.translate(T/2,$/2),g.rotate(Math.PI/180*Number(c)),g.font=`${b} normal ${w} ${Number(S)*N}px/${$}px ${f}`,g.fillStyle=v,g.fillText(p,0,0),g.restore(),a.base64Url=C.toDataURL());else throw new Error("当前环境不支持Canvas")};k(),(0,t.watch)(()=>[l,o,r,s,i,c,m,h,u,p,b,w,v,S,f],()=>{k()});const d=(0,t.computed)(()=>{const C=DC;return{[C]:!0,[`${C}-full-page`]:e.fullPage}});return{...(0,t.toRefs)(a),classes:d}}});function xC(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)({zIndex:e.zIndex,backgroundSize:`${e.gapX+e.width}px`,backgroundImage:`url('${e.base64Url}')`})},null,6)}var Oo=oe(qC,[["render",xC]]);function PC(e,n=2){return Object.is(parseFloat(e),NaN)?console.log(`传入的值:${e}不是一个数字`):(e=parseFloat(e),(Math.round((e+Number.EPSILON)*Math.pow(10,n))/Math.pow(10,n)).toFixed(n))}var{componentName:MC,create:zC}=ee("trend-arrow"),LC=zC({components:{TriangleUp:ae.TriangleUp,TriangleDown:ae.TriangleDown},props:{rate:{type:Number,default:0},digits:{type:Number,default:2},showSign:{type:Boolean,default:!1},showZero:{type:Boolean,default:!1},arrowLeft:{type:Boolean,default:!1},syncTextColor:{type:Boolean,default:!0},textColor:{type:String,default:"#333"},riseColor:{type:String,default:"#fa2c19"},dropColor:{type:String,default:"#64b578"}},setup(e){const n=(0,t.reactive)({rateTrend:e.rate>0}),a=(0,t.computed)(()=>({[MC]:!0})),l=(0,t.computed)(()=>{const{rate:r,digits:s,showSign:i,showZero:c}=e;n.rateTrend=r>0;const m=Math.abs(r);return!c&&r===0?"--":`${i&&r!==0?n.rateTrend?"+":"-":""}${PC(Number(m),s)}%`}),o=(0,t.computed)(()=>{const{dropColor:r,riseColor:s,syncTextColor:i,textColor:c,rate:m}=e;return{color:m===0?c:i?n.rateTrend?s:r:c}});return{...(0,t.toRefs)(n),classes:a,calcRate:l,calcStyle:o}}});function OC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("TriangleUp"),i=(0,t.resolveComponent)("TriangleDown");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.arrowLeft?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-trend-arrow-icon-before fox-trend-arrow-rate",style:(0,t.normalizeStyle)(e.calcStyle)},(0,t.toDisplayString)(e.calcRate),5)),Number(e.rate)!==0&&e.rateTrend?(0,t.renderSlot)(e.$slots,"up-icon",{key:1},()=>[(0,t.createVNode)(s,{color:e.riseColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),Number(e.rate)!==0&&!e.rateTrend?(0,t.renderSlot)(e.$slots,"down-icon",{key:2},()=>[(0,t.createVNode)(i,{color:e.dropColor},null,8,["color"])]):(0,t.createCommentVNode)("",!0),e.arrowLeft?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:3,class:"fox-trend-arrow-icon-after fox-trend-arrow-rate",style:(0,t.normalizeStyle)(e.calcStyle)},(0,t.toDisplayString)(e.calcRate),5)):(0,t.createCommentVNode)("",!0)],2)}var Ro=oe(LC,[["render",OC]]),{create:RC}=ee("tour"),FC=RC({components:{[ln.name]:ln,Close:ae.Close},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},current:{type:Number,default:0},nextStepTxt:{type:String,default:"下一步"},prevStepTxt:{type:String,default:"上一步"},completeTxt:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Array,default:[8,10]},bgColor:{type:String,default:""},theme:{type:String,default:"light"},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=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:0}),l=(0,t.ref)({}),o=(0,t.computed)(()=>"fox-tour"),r=(0,t.computed)(()=>{const{offset:h,maskWidth:u,maskHeight:p}=e,{width:b,height:w,left:v,top:S}=l.value,f=[v+b/2,S+w/2],k=Number(u||b),d=Number(p||w);return{width:`${k+ +h[1]*2}px`,height:`${d+ +h[0]*2}px`,top:`${f[1]-d/2-+h[0]}px`,left:`${f[0]-k/2-+h[1]}px`}}),s=h=>{h=="next"?a.active=a.active+1:a.active=a.active-1,a.showPopup=!1,(0,t.nextTick)(()=>{a.showPopup=!0,i()}),n("change",a.active)},i=()=>{l.value=xe(document.querySelector(`#${e.steps[a.active].target}`))},c=()=>{a.showTour=!1,a.showPopup=!1,n("close",a.active),n("update:modelValue",!1)},m=()=>{e.closeOnClickOverlay&&c()};return(0,t.onMounted)(()=>{a.active=0,i()}),(0,t.watch)(()=>e.modelValue,h=>{h&&i(),a.active=0,a.showTour=h,a.showPopup=h}),{...(0,t.toRefs)(a),classes:o,maskStyle:r,changeStep:s,close:c,handleClickMask:m}}}),KC={key:0,class:"fox-tour-content"},UC={key:0,class:"fox-tour-content-top"},HC={class:"fox-tour-content-inner"},jC={class:"fox-tour-content-bottom"},WC={class:"fox-tour-content-bottom-init"},YC={class:"fox-tour-content-bottom-operate"},XC={key:1,class:"fox-tour-content fox-tour-content-tile"},QC={class:"fox-tour-content-inner"};function GC(e,n,a,l,o,r){const s=(0,t.resolveComponent)("Close"),i=(0,t.resolveComponent)("fox-popover");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]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(c,m)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:m,style:{height:"0"}},[m==e.active?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[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),(0,t.createVNode)(i,{visible:e.showPopup,"onUpdate:visible":n[5]||(n[5]=h=>e.showPopup=h),location:c.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:c.popoverOffset||[0,12],arrowOffset:c.arrowOffset||0},{content:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",KC,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",UC,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...h)=>e.close&&e.close(...h))},[(0,t.createVNode)(s,{class:"fox-tour-content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",HC,(0,t.toDisplayString)(c.content),1),(0,t.createElementVNode)("div",jC,[(0,t.createElementVNode)("div",WC,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",YC,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:n[2]||(n[2]=h=>e.changeStep("prev"))},(0,t.toDisplayString)(e.prevStepTxt),1)):(0,t.createCommentVNode)("",!0)]),e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[3]||(n[3]=(...h)=>e.close&&e.close(...h))},(0,t.toDisplayString)(e.completeTxt),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[4]||(n[4]=h=>e.changeStep("next"))},(0,t.toDisplayString)(e.nextStepTxt),1)):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",XC,[(0,t.createElementVNode)("div",QC,(0,t.toDisplayString)(c.content),1)])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Fo=oe(FC,[["render",GC]]),{componentName:ZC,create:_C}=ee("barrage"),JC=_C({name:"barrage",props:{danmu:{type:Array,default:()=>[]},frequency:{type:Number,default:500},speeds:{type:Number,default:5e3},rows:{type:Number,default:3},top:{type:Number,default:10},loop:{type:Boolean,default:!0}},setup(e){const n=new Date().getTime(),a=!!(0,t.useSlots)().default,l=(0,t.computed)(()=>({[ZC]:!0}));let o=(0,t.ref)(document.createElement("div")),r=(0,t.ref)(document.createElement("div")),s=null;const i=(0,t.ref)(e.danmu),c=(0,t.ref)(e.rows),m=(0,t.ref)(e.top),h=(0,t.ref)(0),u=e.speeds,p=(0,t.ref)(0);(0,t.onMounted)(()=>{b(),a&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(v(),h.value=0,w("hidden")):document.visibilityState==="visible"&&b()})}),(0,t.onUnmounted)(()=>{i.value=[],v()});const b=()=>{p.value=o.value.offsetWidth,a&&w("init"),setTimeout(()=>{o.value?.style.setProperty("--move-distance",`-${p.value}px`),f()},300)},w=d=>{let C=document.getElementsByClassName("slotBody"+n)?.[0]?.children||[];const N=[];C&&Array.from(C).forEach(g=>{d=="init"?(g.style.opacity="0",N.push(g)):(g.classList="",g.style={})}),d=="init"&&(i.value=N)},v=()=>{s&&(clearTimeout(s),s=null)};(0,t.watch)(()=>e.danmu,d=>{e.danmu.length>0&&(i.value=[...d])});const S=d=>{const C=h.value%i.value.length;!e.loop&&h.value===i.value.length?i.value.splice(i.value.length,0,d):i.value.splice(C,0,d)},f=()=>{v(),s=setTimeout(()=>{k()},e.frequency)},k=()=>{const d=e.loop?h.value%i.value.length:h.value;let C=document.createElement("view");a&&typeof i.value[d]=="object"?(C=i.value[d],C?.classList?.add("fox-barrage__item")):(C.innerHTML=i.value[d],C.classList.add("fox-barrage__item"),r.value.appendChild(C)),(0,t.nextTick)(()=>{const N=C.offsetHeight;if(C?.classList?.add("move"),C.style.animationDuration=`${u}ms`,C.style.top=d%c.value*(N+m.value)+20+"px",C.style.opacity="1",!a){const g=C.offsetWidth;C.style.width=g+20+"px"}C.addEventListener("animationend",()=>{a?C.classList.remove("move"):r.value.removeChild(C)}),!(!e.loop&&h.value>=i.value.length-1)&&(h.value++,h.value>=i.value.length&&(h.value=0),C.removeEventListener("animationend",()=>{}),f())})};return{classTime:n,classes:l,danmuList:i,dmBody:o,dmContainer:r,add:S}}});function e2(e,n,a,l,o,r){return(0,t.openBlock)(),(0,t.createElementBlock)("div",{ref:"dmBody",class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",{ref:"dmContainer",class:(0,t.normalizeClass)(["dmContainer",e.$slots.default&&"slotContainer"])},[e.$slots.default?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:(0,t.normalizeClass)(["slotBody","slotBody"+e.classTime])},[(0,t.renderSlot)(e.$slots,"default")],2)):(0,t.createCommentVNode)("",!0)],2)],2)}var Ko=oe(JC,[["render",e2]]),{componentName:t2,create:n2,scope:l2}=ee("signature"),a2=n2({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:{[it.name]:it},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n}){const{toLocaleRefs:a}=(0,he.useFoxI18n)(l2),l=a(e,["unSupportTpl","reSign","confirmText"]),o=(0,t.ref)(null),r=(0,t.ref)(null),s=(0,t.computed)(()=>({[t2]:!0,[`${e.customClass}`]:e.customClass})),i=(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"]}),c=()=>{let k=document.createElement("canvas");return!!(k.getContext&&k.getContext("2d"))},m=()=>{o.value.addEventListener(i.events[0],h,!1)},h=k=>{k.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,n("start"),o.value.addEventListener(i.events[1],u,!1),o.value.addEventListener(i.events[2],p,!1),o.value.addEventListener(i.events[3],b,!1)},u=k=>{k.preventDefault();let d=i.isSupportTouch?k.touches[0]:k;n("signing",d);let C=o.value.getBoundingClientRect(),N=d.clientX-C.left,g=d.clientY-C.top;i.ctx.lineTo(N,g),i.ctx.stroke()},p=k=>{k.preventDefault(),n("end"),o.value.removeEventListener(i.events[1],u,!1),o.value.removeEventListener(i.events[2],p,!1)},b=k=>{k.preventDefault(),o.value.removeEventListener(i.events[1],u,!1),o.value.removeEventListener(i.events[2],p,!1)},w=()=>{o.value.addEventListener(i.events[2],p,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),n("clear")},v=()=>{f(o.value)},S=k=>{if(!k)return!0;var d=document.createElement("canvas");return d.width=k.width,d.height=k.height,k?.toDataURL()==d.toDataURL()},f=k=>{let d;switch(e.type){case"png":d=k.toDataURL("image/png");break;case"jpg":d=k.toDataURL("image/jpeg",.8);break}n("confirm",S(k)?"请绘制签名":k,S(k)?"":d)};return(0,t.onMounted)(()=>{c()&&(i.ctx=o.value.getContext("2d"),i.canvasWidth=r.value.offsetWidth,i.canvasHeight=r.value.offsetHeight,m())}),{...l,...(0,t.toRefs)(i),canvas:o,wrap:r,isCanvasSupported:c,confirm:v,clear:w,classes:s}}}),o2={class:"fox-signature-inner",ref:"wrap"},r2=["height","width"],i2={key:0,class:"fox-signature-unsopport"};function s2(e,n,a,l,o,r){const s=(0,t.resolveComponent)("fox-button");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",o2,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,r2),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",i2,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=i=>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]=i=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})],2)}var Uo=oe(a2,[["render",s2]]),c2=[Pl,zl,Ll,Ol,Ul,Ne,zn,Yl,Xl,Ql,Gl,_l,Rn,ta,oa,ca,da,Zn,_n,fa,el,tl,ha,ga,bt,ya,Sa,cl,ka,Ca,Ht,jt,Hn,Na,Ta,Va,$a,st,Ea,Da,On,Ln,Ia,qa,xa,it,Pa,Ma,za,rt,be,La,Oa,Ra,Fa,Yt,Ka,Ua,Ha,ja,Wa,Ya,Xa,Qa,Ga,Za,_a,Ja,eo,to,no,lo,ao,Xt,rl,jn,Gn,Xn,ul,al,Kt,oo,ro,io,so,co,uo,fo,Gt,ol,mo,go,ll,Bt,So,vo,nn,ko,wo,Qt,Co,No,Ao,Vt,Bo,To,$t,Et,xn,fl,$o,Eo,Do,Io,ln,qo,xo,Po,Mo,zo,Lo,Oo,Ro,Fo,Ko,Uo],u2=new $s(c2,"4.0.0");A.AbstractPageScopeKey=ql,A.ActionSheet=co,A.FoxActionSheet=co,A.ActionsheetItem=ka,A.FoxActionsheetItem=ka,A.ActionsheetPane=cl,A.FoxActionsheetPane=cl,A.Animate=Lo,A.FoxAnimate=Lo,A.Audio=So,A.FoxAudio=So,A.AudioOperate=vo,A.FoxAudioOperate=vo,A.Avatar=nn,A.FoxAvatar=nn,A.AvatarGroup=ko,A.FoxAvatarGroup=ko,A.BackTop=uo,A.FoxBackTop=uo,A.Badge=Do,A.FoxBadge=Do,A.Barrage=Ko,A.FoxBarrage=Ko,A.Broadcast=Tl,A.BroadcastKey=we,A.Button=it,A.FoxButton=it,A.ButtonsItem=Yl,A.FoxButtonsItem=Yl,A.Calendar=Gn,A.FoxCalendar=Gn,A.CalendarItem=da,A.FoxCalendarItem=da,A.Cascader=jn,A.FoxCascader=jn,A.CascaderItem=oa,A.FoxCascaderItem=oa,A.Cell=Pa,A.FoxCell=Pa,A.CellGroup=za,A.FoxCellGroup=za,A.Checkbox=el,A.FoxCheckbox=el,A.CheckboxGroup=tl,A.FoxCheckboxGroup=tl,A.CheckboxItem=ha,A.FoxCheckboxItem=ha,A.CircleProgress=Co,A.FoxCircleProgress=Co,A.Col=Ra,A.FoxCol=Ra,A.Collapse=xo,A.FoxCollapse=xo,A.CollapseItem=Po,A.FoxCollapseItem=Po,A.Content=Ol,A.FoxContent=Ol,A.CountDown=Eo,A.FoxCountDown=Eo,A.CountUp=$o,A.FoxCountUp=$o,A.DataItemsKey=mt,A.DateItem=ca,A.FoxDateItem=ca,A.DatePicker=Xn,A.FoxDatePicker=Xn,A.DateUtils=kt,A.Dialog=Gt,A.FoxDialog=Gt,A.Divider=Ka,A.FoxDivider=Ka,A.Domain=bn,A.DomainKey=qe,A.DomainProvider=qa,A.FoxDomainProvider=qa,A.Drag=fo,A.FoxDrag=fo,A.Dropdown=Da,A.FoxDropdown=Da,A.Elevator=Za,A.FoxElevator=Za,A.Ellipsis=zo,A.FoxEllipsis=zo,A.Empty=Ao,A.FoxEmpty=Ao,A.FixedNav=Wa,A.FoxFixedNav=Wa,A.FloatingButton=Va,A.FoxFloatingButton=Va,A.FooterBar=Ll,A.FoxFooterBar=Ll,A.FoxGrid=Ua,A.Grid=Ua,A.FoxGridItem=Ha,A.GridItem=Ha,A.FoxGroup=Ul,A.Group=Ul,A.FoxHeaderBar=zl,A.HeaderBar=zl,A.FoxHintText=bt,A.HintText=bt,A.FoxIcon=Ma,A.Icon=Ma,A.FoxImage=La,A.Image=La,A.FoxImagePreview=fl,A.ImagePreview=fl,A.FoxIndicator=to,A.Indicator=to,A.FoxInfiniteLoading=ol,A.InfiniteLoading=ol,A.FoxInputItem=Ql,A.InputItem=Ql,A.FoxInputNumber=ul,A.InputNumber=ul,A.FoxInputNumberItem=Ca,A.InputNumberItem=Ca,A.FoxItem=Ne,A.Item=Ne,A.FoxLayout=Oa,A.Layout=Oa,A.FoxLinkItem=ya,A.LinkItem=ya,A.FoxList=wo,A.List=wo,A.FoxMapping=Ia,A.Mapping=Ia,A.FoxMenu=Ya,A.Menu=Ya,A.FoxMenuItem=Xa,A.MenuItem=Xa,A.FoxMessageBox=st,A.MessageBox=st,A.FoxMoneyItem=Gl,A.MoneyItem=Gl,A.FoxMoreButton=$a,A.MoreButton=$a,A.FoxNavbar=ja,A.Navbar=ja,A.FoxNoticeBar=No,A.NoticeBar=No,A.FoxNotify=go,A.Notify=go,A.FoxNumberKeyboard=io,A.NumberKeyboard=io,A.FoxOverLay=rt,A.OverLay=rt,A.FoxPage=Pl,A.Page=Pl,A.FoxPagination=_a,A.Pagination=_a,A.FoxPicker=Kt,A.Picker=Kt,A.FoxPickerItem=ta,A.PickerItem=ta,A.FoxPopover=ln,A.Popover=ln,A.FoxPopoverDialog=On,A.PopoverDialog=On,A.FoxPopup=be,A.Popup=be,A.FoxPopupWrapper=Ea,A.PopupWrapper=Ea,A.FoxPrice=xn,A.Price=xn,A.FoxProgress=Qt,A.Progress=Qt,A.FoxPullRefresh=mo,A.PullRefresh=mo,A.FoxRadio=Zn,A.Radio=Zn,A.FoxRadioGroup=_n,A.RadioGroup=_n,A.FoxRadioItem=fa,A.RadioItem=fa,A.FoxRange=Xt,A.Range=Xt,A.FoxRate=al,A.Rate=al,A.FoxRateItem=Sa,A.RateItem=Sa,A.FoxRollingProvider=xa,A.RollingProvider=xa,A.FoxRow=Fa,A.Row=Fa,A.FoxRowItem=zn,A.RowItem=zn,A.FoxSearchBar=rl,A.SearchBar=rl,A.FoxShortPassword=oo,A.ShortPassword=oo,A.FoxSideNavBar=no,A.SideNavBar=no,A.FoxSideNavBarItem=lo,A.SideNavBarItem=lo,A.FoxSignature=Uo,A.Signature=Uo,A.FoxSkeleton=qo,A.Skeleton=qo,A.FoxSlotItem=Xl,A.SlotItem=Xl,A.FoxStep=To,A.Step=To,A.FoxSteps=Bo,A.Steps=Bo,A.FoxStepsBar=Ta,A.StepsBar=Ta,A.FoxSticky=Yt,A.Sticky=Yt,A.FoxSubSideNavBar=ao,A.SubSideNavBar=ao,A.FoxSwipe=so,A.Swipe=so,A.FoxSwiper=$t,A.Swiper=$t,A.FoxSwiperItem=Et,A.SwiperItem=Et,A.FoxSwitch=ll,A.Switch=ll,A.FoxSwitchItem=ga,A.SwitchItem=ga,A.FoxTabPane=eo,A.TabPane=eo,A.FoxTabbar=Qa,A.Tabbar=Qa,A.FoxTabbarItem=Ga,A.TabbarItem=Ga,A.FoxTable=Mo,A.Table=Mo,A.FoxTabs=Ja,A.Tabs=Ja,A.FoxTabsBar=Ht,A.TabsBar=Ht,A.FoxTabsContainer=jt,A.TabsContainer=jt,A.FoxTabsFrame=Na,A.TabsFrame=Na,A.FoxTabsPane=Hn,A.TabsPane=Hn,A.FoxTag=Io,A.Tag=Io,A.FoxText=Ln,A.Text=Ln,A.FoxTextarea=Rn,A.Textarea=Rn,A.FoxTextareaItem=_l,A.TextareaItem=_l,A.FoxToast=Bt,A.Toast=Bt,A.FoxTour=Fo,A.Tour=Fo,A.FoxTrendArrow=Ro,A.TrendArrow=Ro,A.FoxUploader=ro,A.Uploader=ro,A.FoxVideo=Vt,A.Video=Vt,A.FoxWaterMark=Oo,A.WaterMark=Oo,A.InnerPageScopeKey=Il,A.PriorityPolicy=at,A.UniqueID=Pn,A.ValidateSchema=pr,A.ValidateSchemaKey=Le,A.cancelRaf=Wo,A.clamp=We,A.clearNonNumber=Al,A.compareTo=kl,A.createBroadcast=mn,A.createValidateSchema=pn,A.debounce=Pe,A.debounceRef=ys,A.decimalLength=cr,A.default=u2,A.defineBroadcast=ss,A.defineConfigDomain=yr,A.defineDataItem=br,A.defineDomain=El,A.defineItem=Be,A.definePageState=Sr,A.defineSimpleItem=pt,A.deleteGlobalValidator=ms,A.disabledProperty=Ee,A.divide=vl,A.excludeProps=Qe,A.extend=dt,A.floatData=rs,A.getGlobalIcons=Tn,A.getGlobalValidateCheckEvents=fr,A.getGlobalValidateResetEvents=hr,A.getPageContentAreaHeight=wn,A.getPageContentAreaWidth=Cn,A.getPageFooterAreaHeight=kn,A.getPageHeaderAreaHeight=vn,A.getRootDomain=ht,A.hasSymbol=lr,A.includeProps=ge,A.indexOf=as,A.injectAbstractPageScope=Ot,A.injectInnerPageScope=Lt,A.integerLength=sr,A.isArray=sn,A.isArrayLike=rr,A.isBrowser=Xe,A.isDate=je,A.isDisplayNone=Cl,A.isESModule=Ji,A.isEmptyString=ue,A.isEqual=Ie,A.isFunction=cn,A.isHidden=ar,A.isMap=Qi,A.isNil=ze,A.isNumberString=dn,A.isObject=De,A.isPlainObject=_i,A.isPromise=ut,A.isRegExp=Nl,A.isSet=Gi,A.isString=tr,A.isSubPage=ws,A.isSymbol=Zi,A.isTouch=Fn,A.isWindow=or,A.kebabToPascal=fn,A.lastIndexOf=os,A.makeArray=ls,A.merge=ir,A.multiply=_o,A.negate=Jo,A.nextTick=ts,A.numberFormat=rn,A.objectToString=nr,A.once=bs,A.overrideGlobalIcons=zs,A.overrideGlobalValidateHandler=ds,A.padZero=lt,A.pascalToKebab=is,A.preventDefault=Bl,A.property=Ve,A.provideAbstractPageScope=kr,A.provideInnerPageScope=vr,A.px2Number=ks,A.raf=He,A.readonlyProperty=$e,A.setGlobalValidateCheckEvents=hs,A.setGlobalValidateHandler=us,A.setGlobalValidateMessages=gs,A.setGlobalValidateResetEvents=ps,A.setGlobalValidator=fs,A.throttle=yn,A.toBoolean=Se,A.toNumber=me,A.toPadding=Oe,A.toPx=se,A.toPxDesc=vs,A.toPxString=de,A.toTypeString=un,A.toValue=Me,A.tryTimes=Vl,A.typeOf=ft,A.unNumberFormat=er,A.updatePageState=Dl,A.useBroadcast=Pt,A.useDomain=Ge,A.useExpose=Te,A.useInnerSize=Bn,A.usePageState=Sn,A.usePosition=Hl,A.useRawTouch=Kn,A.useRect=xe,A.useSize=Ml,A.useSlotChildren=Kl,A.useTouch=Je,A.valueLength=ve});