@fox-js/foxui 4.0.1-9 → 4.0.1-91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -16
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +19733 -17385
- package/dist/index.umd.js +6 -20
- package/dist/locale/index.d.ts +108 -18
- package/dist/locale/index.esm.js +172 -115
- package/dist/locale/index.umd.js +1 -3
- package/dist/style.css +9801 -1
- package/dist/style.js +3 -0
- package/dist/types/index.d.ts +2192 -298
- package/package.json +18 -15
- package/dist/style.esm.js +0 -7
package/dist/index.umd.js
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
(function(z,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","@fox-js/i18n"],t):(z=typeof globalThis<"u"?globalThis:z||self,t(z.FoxUI={},z.Vue,z.FoxValidator,z.FoxI18n))})(this,function(z,t,Et,ee){"use strict";/*!
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/function Tt(e,n="0"){let o=0,l=-1;e[0]=="-"&&(o++,l=1,e=e.substring(1),e.length),n[0]=="-"&&(o++,l=2,n=n.substring(1),n.length),e=he(e),n=he(n),[e,n]=Zt(he(e),he(n)),o==1&&(l==1?e=Gt(e):n=Gt(n));let r=co(e,n);return o?o==2?"-"+he(r):e.length<r.length?he(r.substring(1)):"-"+he(Gt(r)):he(r)}function Gt(e){let n="",o=e.length,l=e.split(".")[1],r=l?l.length:0;for(let a=0;a<o;a++)e[a]>="0"&&e[a]<="9"?n+=9-parseInt(e[a]):n+=e[a];let i=r>0?"0."+new Array(r).join("0")+"1":"1";return co(n,i)}function he(e){let n=e.split(".");for(n[0]||(n[0]="0");n[0][0]=="0"&&n[0].length>1;)n[0]=n[0].substring(1);return n[0]+(n[1]?"."+n[1]:"")}function Zt(e,n){let o=e.split("."),l=n.split("."),r=o[0].length,i=l[0].length;return r>i?l[0]=new Array(Math.abs(r-i)+1).join("0")+(l[0]?l[0]:""):o[0]=new Array(Math.abs(r-i)+1).join("0")+(o[0]?o[0]:""),r=o[1]?o[1].length:0,i=l[1]?l[1].length:0,(r||i)&&(r>i?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(r-i)+1).join("0"):o[1]=(o[1]?o[1]:"")+new Array(Math.abs(r-i)+1).join("0")),e=o[0]+(o[1]?"."+o[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function co(e,n){[e,n]=Zt(e,n);let o="",l=0;for(let r=e.length-1;r>=0;r--){if(e[r]==="."){o="."+o;continue}let i=parseInt(e[r])+parseInt(n[r])+l;o=i%10+o,l=Math.floor(i/10)}return l?l.toString()+o:o}var ce=(e=>(e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e))(ce||{});function rt(e,n=0,o=ce.HALF_EVEN){if(o===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 r=e.split("."),i=r[0],a=r[1];if(n<0){if(n=-n,i.length<=n)return"0";{let c=i.substr(0,i.length-n);return e=c+"."+i.substr(i.length-n)+a,c=rt(e,0,o),(l?"-":"")+c+new Array(n+1).join("0")}}if(n==0)return i.length,uo(r[1],i,l,o)?(l?"-":"")+Jt(i):(l?"-":"")+i;if(r[1]){if(r[1].length<n)return(l?"-":"")+i+"."+r[1]+new Array(n-r[1].length+1).join("0")}else return(l?"-":"")+i+"."+new Array(n+1).join("0");a=r[1].substring(0,n);let s=r[1].substring(n);return s&&uo(s,a,l,o)&&(a=Jt(a),a.length>n)?(l?"-":"")+Jt(i,parseInt(a[0]))+"."+a.substring(1):(l?"-":"")+i+"."+a}function uo(e,n,o,l){if(!e||e===new Array(e.length+1).join("0")||l===ce.DOWN||!o&&l===ce.FLOOR||o&&l===ce.CEILING)return!1;if(l===ce.UP||o&&l===ce.FLOOR||!o&&l===ce.CEILING)return!0;let r="5"+new Array(e.length).join("0");if(e>r)return!0;if(e<r)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 Jt(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let o=e.length-1,l="";for(let r=o;r>=0;r--){let i=parseInt(e[r])+n;i==10?(n=1,i=0):n=0,l+=i}return n&&(l+=n),l.split("").reverse().join("")}function _t(e,n){e=e.toString(),n=n.toString();let o=0;e[0]=="-"&&(o++,e=e.substr(1)),n[0]=="-"&&(o++,n=n.substr(1)),e=st(e),n=st(n);let l=0,r=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(r=n.length-n.indexOf(".")-1);let i=l+r;if(e=st(e.replace(".","")),n=st(n.replace(".","")),e.length<n.length){let u=e;e=n,n=u}if(n=="0")return"0";let a=n.length,s=0,c=[],m=a-1,f="";for(let u=0;u<a;u++)c[u]=e.length-1;for(let u=0;u<2*e.length;u++){let g=0;for(let C=n.length-1;C>=m&&C>=0;C--)c[C]>-1&&c[C]<e.length&&(g+=parseInt(e[c[C]--])*parseInt(n[C]));g+=s,s=Math.floor(g/10),f=g%10+f,m--}return f=st(hr(f,i)),o==1&&(f="-"+f),f}function hr(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 st(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 en(e,n,o=8){if(n==0)throw new Error("Cannot divide by 0");if(e=e.toString(),n=n.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),n=n.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let l=0;n[0]=="-"&&(n=n.substring(1),l++),e[0]=="-"&&(e=e.substring(1),l++);var r=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=he(n.replace(".","")),r>=0){let m=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(m==-1)e=he(e+new Array(r+1).join("0"));else if(r>m)e=e.replace(".",""),e=he(e+new Array(r-m+1).join("0"));else if(r<m){e=e.replace(".","");let f=e.length-m+r;e=he(e.substring(0,f)+"."+e.substring(f))}else r==m&&(e=he(e.replace(".","")))}let i=0,a=n.length,s="",c=e.indexOf(".")>-1&&e.indexOf(".")<a?e.substring(0,a+1):e.substring(0,a);if(e=e.indexOf(".")>-1&&e.indexOf(".")<a?e.substring(a+1):e.substring(a),c.indexOf(".")>-1){let m=c.length-c.indexOf(".")-1;c=c.replace(".",""),a>c.length&&(m+=a-c.length,c=c+new Array(a-c.length+1).join("0")),i=m,s="0."+new Array(m).join("0")}for(o=o+2;i<=o;){let m=0;for(;parseInt(c)>=parseInt(n);)c=Tt(c,"-"+n),m++;s+=m,e?(e[0]=="."&&(s+=".",i++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(i||(s+="."),i++,c=c+"0")}return(l==1?"-":"")+he(rt(s,o-2))}function tn(e,n){return e=e.toString(),n=n.toString(),n=nn(n),Tt(e,n)}function nn(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function fo(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),mo(e),mo(n);let o="";e[0]=="-"&&(o="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=tn(e,_t(n,rt(en(e,n),0,ce.FLOOR)));return o+l}function mo(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function po(e,n){let o=!1;if(e[0]=="-"&&n[0]!="-")return-1;if(e[0]!="-"&&n[0]=="-")return 1;if(e[0]=="-"&&n[0]=="-"&&(e=e.substr(1),n=n.substr(1),o=!0),[e,n]=Zt(e,n),e.localeCompare(n)==0)return 0;for(let l=0;l<e.length;l++)if(e[l]!=n[l])return e[l]>n[l]?o?-1:1:o?1:-1;return 0}class _{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[o,l]=n.split(/[eE]/);o=he(o);let r="";o[0]=="-"&&(r="-",o=o.substring(1)),o.indexOf(".")>=0?(l=parseInt(l)+o.indexOf("."),o=o.replace(".","")):l=parseInt(l)+o.length,o.length<l?n=r+o+new Array(l-o.length+1).join("0"):o.length>=l&&l>0?n=r+he(o.substring(0,l))+(o.length>l?"."+o.substring(l):""):n=r+"0."+new Array(-l+1).join("0")+o}return n}constructor(n="0"){this.value=_.validate(n)}getValue(){return this.value}static getPrettyValue(n,o,l){if(!(o||l))o=3,l=",";else if(!(o&&l))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=_.validate(n);let r=n.charAt(0)=="-";r&&(n=n.substring(1));var i=n.indexOf(".");i=i>0?i:n.length;for(var a="",s=i;s>0;)s<o?(o=s,s=0):s-=o,a=n.substring(s,s+o)+(s<i-o&&s>=0?l:"")+a;return(r?"-":"")+a+n.substring(i)}getPrettyValue(n,o){return _.getPrettyValue(this.value,n,o)}static round(n,o=0,l=ce.HALF_EVEN){if(n=_.validate(n),isNaN(o))throw Error("Precision is not a number: "+o);return rt(n,o,l)}round(n=0,o=ce.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new _(rt(this.value,n,o))}static floor(n){return n=_.validate(n),n.indexOf(".")===-1?n:_.round(n,0,ce.FLOOR)}floor(){return this.value.indexOf(".")===-1?new _(this.value):new _(this.value).round(0,ce.FLOOR)}static ceil(n){return n=_.validate(n),n.indexOf(".")===-1?n:_.round(n,0,ce.CEILING)}ceil(){return this.value.indexOf(".")===-1?new _(this.value):new _(this.value).round(0,ce.CEILING)}static add(n,o){return n=_.validate(n),o=_.validate(o),Tt(n,o)}add(n){return new _(Tt(this.value,n.getValue()))}static subtract(n,o){return n=_.validate(n),o=_.validate(o),tn(n,o)}subtract(n){return new _(tn(this.value,n.getValue()))}static multiply(n,o){return n=_.validate(n),o=_.validate(o),_t(n,o)}multiply(n){return new _(_t(this.value,n.getValue()))}static divide(n,o,l){return n=_.validate(n),o=_.validate(o),en(n,o,l)}divide(n,o){return new _(en(this.value,n.getValue(),o))}static modulus(n,o){return n=_.validate(n),o=_.validate(o),fo(n,o)}modulus(n){return new _(fo(this.value,n.getValue()))}static compareTo(n,o){return n=_.validate(n),o=_.validate(o),po(n,o)}compareTo(n){return po(this.value,n.getValue())}static negate(n){return n=_.validate(n),nn(n)}negate(){return new _(nn(this.value))}}function ho(e,n){return _.multiply(`${e}`,`${n}`)}function on(e,n,o=8){return _.divide(`${e}`,`${n}`,o)}function ln(e,n){return e=`${e}`,n=`${n}`,_.compareTo(e,n)}function go(e){return _.negate(e)}function an(e,n=-1,o=!1,l=3,r=","){let i=`${e}`;if(i.length==0||i==="-")return"";let a=i.charAt(0);a=="-"?i=i.substring(1):a="";let s=i,c="",m=i.indexOf(".");m!=-1&&(s=i.substring(0,m),c=i.substring(m+1)),n!=-1&&(n<c.length?c=c.substring(0,n):o&&n>c.length&&(c=c.padEnd(n,"0")));let f;if(l>0){let u="",g=s.split("").reverse();for(let C=0;C<g.length;C++)u+=g[C]+((C+1)%l==0&&C+1!=g.length?r:"");c.length==0?f=`${a}${u.split("").reverse().join("")}`:f=`${a}${u.split("").reverse().join("")}.${c}`}else c.length==0?f=`${a}${s}`:f=`${a}${s}.${c}`;return f}function yo(e){let n=`${e}`,o=n.charAt(0);o=="-"?n=n.substring(1):o="";let l=n.replace(/[^\d\.-]/g,"");return`${o}${l}`}const gr=Array.isArray,yr=e=>Dt(e)==="[object Map]",kr=e=>Dt(e)==="[object Set]",De=e=>e instanceof Date,rn=e=>typeof e=="function",Sr=e=>typeof e=="string",br=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",$t=e=>Be(e)&&rn(e.then)&&rn(e.catch),ko=Object.prototype.toString,Dt=e=>ko.call(e),sn=e=>Dt(e)==="[object Object]",So=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Cr(e){return e.__esModule||So&&e[Symbol.toStringTag]==="Module"}const wr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ue(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},o=1,l=e.length,r=!1;for(typeof n=="boolean"&&(r=n,n=e[o]??{},o++),typeof n!="object"&&(n={});o<l;o++)if(e[o]!==null&&e[o]!==void 0){let i=e[o];for(let a in i){let s=n[a],c=i[a];if(s!==c)if(r===!0&&c&&typeof c=="object"){let m;Array.isArray(c)?m=s&&Array.isArray(s)?s:[]:m=s&&typeof s=="object"?s:{},n[a]=Ue(r,m,c)}else c!==void 0&&(n[a]=c)}}return n}function cn(e,n,o=!1){if(!o)Ue(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let r in n){let i=e[r],a=n[r];if(i!==a)if(typeof a=="object"){if(!Array.isArray(a)&&!sn(a))continue;i=cn(i,a,o),e[r]=i}else{if(typeof a=="function")continue;e[r]=a}}const l=Object.getOwnPropertySymbols(n);for(let r of l){let i=e[r],a=n[r];if(i!==a)if(typeof a=="object"){if(!Array.isArray(a)&&!sn(a))continue;i=cn(i,a,o),e[r]=i}else{if(typeof a=="function")continue;e[r]=a}}}return e}const dn=wr?Promise.resolve():null;function Nr(e,...n){dn!==null?n&&n.length>0?dn.then(()=>{e(n)}):dn.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ye(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":Boolean(e)}function le(e){return typeof e=="number"?e:Number(e)}const Br={"[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 It(e){let o=Object.prototype.toString.call(e);return e==null?String(e):Br[o]||"object"}function bo(e){return e&&typeof e=="object"&&"setInterval"in e}function Co(e){let n=!!e&&"length"in e&&e.length,o=It(e);return o==="function"||bo(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function wo(e,n){let o=+n.length,l=0,r=e.length;for(;l<o;l++)e[r++]=n[l];return e.length=r,e}function Vr(e,n=[]){let o=n;return e!=null&&(Co(Object(e))?wo(o,typeof e=="string"?[e]:e):o.push(e)),o}function Ve(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let o=It(e),l=It(n);if(o!==l)return!1;if(o==="object"){let r=Object.keys(e),i=Object.keys(n);if(r.length!==i.length)return!1;for(let a=0;a<r.length;a++){let s=r[a],c=e[s],m=n[s];if(!Ve(c,m))return!1}return!0}else if(o==="array"){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=n[r];if(!Ve(i,a))return!1}return!0}return!1}const Qe=typeof window<"u",Ke=Qe&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function No(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const Ce=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Bo(e){return Ce(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),Ce(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Vo(e){if(e==null)return 0;let n=`${e}`;if(n.length==0)return 0;n.charAt(0)=="-"&&(n=n.substring(1)),n=n.replace(/[^\d\.-]/g,"");const o=n.indexOf(".");return o==-1?n.length:o}function Ao(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const o=n.indexOf(".");return o==-1?0:n.length-(o+1)}function Eo(e,n,o){const l=e.indexOf(n);return l===-1?e:n==="-"&&l!==0?e.slice(0,l):e.slice(0,l+1)+e.slice(l).replace(o,"")}function un(e,n=!0,o=!0){n?e=Eo(e,".",/\./g):e=e.replace(/\./g,""),o?e=Eo(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function To(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(o=>{if(Ve(e,o))return!0}):n.indexOf(e)}function Ar(e,n){if(typeof e=="object"||Array.isArray(e)){let o=n.reverse().findIndex(l=>{if(Ve(e,l))return!0});return o!==-1&&(o=n.length-1-o),o}return n.lastIndexOf(e)}function de(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ke(e,...n){const o={};return n.forEach(l=>{for(const r in l)o[r]=e[r]}),o}function $o(e,...n){const o=[];n.forEach(r=>{Reflect.apply([].push,o,Reflect.ownKeys(r))});const l={};for(const r in e)o.includes(r)||(l[r]=e[r]);return l}const Do=(e,n,o)=>{const l=Object.assign({},e),r=Object.assign({},o);return Object.keys(n).length>0?(Object.keys(l).forEach(i=>{r.hasOwnProperty(i)?typeof r[i]=="string"&&(l[i]=n[r[i]]):n[i]&&(l[i]=n[i])}),l):e},Ae=Symbol("BroadcastKey");class Er{parent;children=[];callbacks=new Map;proxy=null;name;constructor(n,o,l){this.parent=n,this.proxy=o,this.name=l,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const o=this.children.findIndex(l=>n===l);o!==-1&&this.children.splice(o,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(n,o,...l){if(n.maxLevel!==void 0&&n.maxLevel!==null&&n.maxLevel>0){if(n.level=n.level??0,n.level>n.maxLevel)return[];n.level++}let r=!1;!n.name||n.name==="*"?r=!0:!n.name||n.name==="+"?(r=!1,n.name="*"):No(n.name)&&this.name&&n.name.test(this.name)?r=!0:typeof n.name=="function"?r=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(r=!0);const i=[];if(r){const a=this.callbacks.get(o);if(typeof a=="function"){const c=Reflect.apply(a,this.proxy,[...l]);c!=null&&i.push(c)}const s=this.proxy??{};if(typeof s[o]=="function"){const c=Reflect.apply(s[o],s,[...l]);c!=null&&i.push(c)}}return this.children.forEach(a=>{const s=Reflect.apply(a.emit,a,[{...n},o,...l]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,i,[...s])}),i}emitToChildren(n,o,...l){const r=[];return this.children.forEach(i=>{const a=Reflect.apply(i.emit,i,[{...n},o,...l]);a!=null&&Array.isArray(a)&&Reflect.apply([].push,r,[...a])}),r}on(n,o){this.callbacks.set(n,o)}}function fn(e,n,o,l){const r=new Er(n,e,o);if(l&&typeof l=="object")for(const i in l)r.on(i,l[i]);return r}function qt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Ae]??t.inject(Ae,null):t.inject(Ae,null)}class Tr{error(n,o){const l=o,r=qt(o);r?r.emit({name:"*"},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const o=n,l=qt(n);l?l.emit({name:"*"},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}success(n){const o=n,l=qt(n);l?l.emit({name:"*"},"setErrorTip",""):typeof o.setErrorTip=="function"&&o.setErrorTip("")}decorate(n,o,l){Array.isArray(n)||(n=[n]);const r=l,i=qt(l),a=o.find(c=>c.required===!0||c.type==="required"&&c.required!==!1),s=n.find(c=>c.required===!0||c.type==="required"&&c.required!==!1);!a&&s?i?i.emit({name:"*"},"setRequired",!0):typeof r.setRequired=="function"&&r.setRequired(!0):a&&!s&&(i?i.emit({name:"*"},"setRequired",!1):typeof r.setRequired=="function"&&r.setRequired(!1),this.reset(l))}getValue(n){return n.modelValue}}let $r=new Tr,Dr=["blur","clear"];function Ir(){return Dr}let qr=["focus","change"];function zr(){return qr}function it(...e){const n=[];return e.forEach(o=>{o.forEach(l=>{const r=n.findIndex(i=>i.type===l.type);r!==-1&&n.splice(r,1),n.push(l)})}),n}function zt(e){return e.forEach(n=>{n.type==="required"&&(n.required===null||n.required===void 0)&&(n.required=!0),!n.type&&(n.required===!0||n.required===!1)&&(n.type="required")}),e}const Oe=Symbol("ValidateSchemaKey");class Mr{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,o,l){this.parent=n,this.descriptor=o,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let n=this.proxy.$attrs;n&&(this.scope=t.effectScope(),this.scope.run(()=>{t.watchEffect(()=>{const o=zt(it(this.attrRules,this.rules)),l=[];for(let i in n){let a=n[i];if(this.hasValidator(i,!0)){if(a===!1)continue;let c={type:i};a!==null&&typeof a=="object"&&Object.assign(c,a),l.push(c);continue}let s=this.getValidator(i);if(s!==null){let c={type:i,validator:s};l.push(c)}}this.attrRules=zt(l);const r=it(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(r,o)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(n,...o){const l=this.descriptor.validateHandler;if(l&&typeof l[n]=="function")return Reflect.apply(l[n],l,[...o]);const r=$r;return r&&typeof r[n]=="function"?Reflect.apply(r[n],r,[...o]):null}decorate(n,o){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,o,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(n){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",n,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(n,o,l=!1){l?Et.setValidator(n,o):this.validators[n]=o}getValidator(n){let o=this.validators[n]??null;return o||(o=this.parent?.getValidator(n)??null),o}deleteValidator(n,o=!1){o?Et.deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,o=!1){if(o)return Et.hasValidator(n);{let l=Reflect.has(this.validators,n);return!l&&this.parent!==null&&(l=this.parent.hasValidator(n,!1)),l}}setRule(n){const o=it(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=zt(n):this.rules=zt([n]);const l=it(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,o)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let o=it(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(o.length>0){const r={[`${l}`]:o},i=this.getValue(),a={[`${l}`]:i},s=new Et(r),c=this.proxy??a;return s.validate(a,{context:c}).then(f=>{if(f.pass)this.success();else{let u="error";Array.isArray(f.errors)&&f.errors.length>0&&(u=f.errors[0].message??u,f.errors=[f.errors[0]],f.errors[0].ref=c),this.error(u)}return f}).catch(f=>{const u=f.message??`${f}`;return this.error(u),f})}}return Promise.resolve({pass:!0})}}function mn(e,n,o){if(o.valueName=o.valueName??"modelValue",o.valueType=o.valueType??"string",!o.validateHandler&&o.valueName!=="modelValue"){const r=o.valueName;o.validateHandler={getValue(i){return i[r]}}}return new Mr(n,o,e)}const Io=Symbol("EventEmitterKey");class Pr{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,o){let l=this.register.get(n);if(l&&Array.isArray(l)){let r=l.findIndex(i=>i===o);r!==-1&&l.splice(r,1)}}on(n,o){let l=this.register.get(n);l||(l=new Array,this.register.set(n,l)),l.push(o)}emit(n,...o){const l=this.register.get(n);l&&l.forEach(r=>{try{Reflect.apply(r,null,[n,...o])}catch(i){console.error(i.message,i)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...o])}}function Rr(e,n){let o=0;return function(...l){const r=Date.now();r-o>n&&(Reflect.apply(e,{},[...l]),o=r)}}function pn(e,n){let o,l=null;return function(...r){l=r,o||(o=setTimeout(()=>{o=null,Reflect.apply(e,{},[...l??[]])},n))}}const He=Symbol("DomainKey"),ct=Symbol("DataItemsKey");class qo{_parent=null;get parent(){return this._parent}set parent(n){this._parent=n}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(n){this._broadcast=n}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(n){this._validateSchema=n}_props=t.reactive({});constructor(n=null){this._name=n}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(n,o=[]){for(const l in n){const r=n[l];o.length>0&&o.indexOf(r)!==-1||(this._props[l]=r)}}has(n){if(Reflect.has(this._props,n)){const o=this._props[n];if(o!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,o){this._props[n]=o}get(n,o){if(Reflect.has(this._props,n)){const l=this._props[n];if(l!=null)return l}return this.parent==null?o:this.parent.get(n,o)}getForParent(n,o){return this.parent==null?o:this.parent.get(n,o)}getForSelf(n){return this._props[n]}getAll(n){const o=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,n)){const r=l._props[n];o.push(r)}l=l._parent}return o}}const Lr=new qo;function Mt(){return Lr}function Me(e=null){e||(e=t.getCurrentInstance());const n=e?.proxy;return n?n[He]??t.inject(He,null):t.inject(He,null)}const hn=Symbol("OriginalDateKey");function zo(e,n,o=[],l){const r=t.getCurrentInstance(),i=r?.proxy;let a=t.inject(He,null);a===null&&(a=Mt());const s=e||n.prop||n.name,c=new qo(s);c.parent=a;const m=h=>{i[hn]||g(h),c.set("modelValue",h)},f=()=>c.getForSelf("modelValue")??null,u=()=>i[hn]??null,g=h=>{const k={};Ue(!0,k,t.toRaw(h)),i[hn]=k};t.isReactive(n)?t.watchEffect(()=>{c.merge(n,o)}):c.merge(n,o),n.modelValue&&g(n.modelValue),i[He]=c,t.provide(He,c);let C=null,b=null;if(r!==null){const h=t.inject(Ae,null);C=fn(i,h,s,l),c.broadcast=C,i[Ae]=C,t.provide(Ae,C),i.broadcast=(d,p,...w)=>Reflect.apply(C.emit,C,[d,p,...w]);const k=t.inject(Oe,null);b=mn(i,k,{componentName:""}),c.validateSchema=b,i[Oe]=b,t.provide(Oe,b),i[ct]=new Map,i.validate=(d=!0)=>{const p=[];let w=null;if(d===!0)w={name:"*"};else if(Array.isArray(d)&&d.length>0){const y=d;w={name:S=>S?y.indexOf(S)!==-1:!1}}else if(d!=null&&typeof d=="object"){const y=d;if(Array.isArray(y.include)&&y.include.length>0){const S=y.include;w={name:N=>N?S.indexOf(N)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const S=y.exclude;w={name:N=>N?S.indexOf(N)===-1:!1}}else w={name:"*"}}if(w){const y=C?.emitToChildren(w,"validate",!1);y&&Reflect.apply([].push,p,y)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(y=>{let S=[];return y.forEach(N=>{N.pass===!1&&Array.isArray(N.errors)&&(S=[...S,...N.errors])}),S.length>0?{pass:!1,errors:S}:{pass:!0}}):Promise.resolve({pass:!0})},i.setNameValidateRules=(d,p=!0)=>{if(p){const w=Reflect.ownKeys(d),y=[...w],S={name:N=>{const B=w.includes(N);if(B){const E=y.findIndex(A=>N===A);E!==-1&&y.splice(E,1)}return B}};C?.emitToChildren(S,"setNameValidateRules",d,!1),y.length>0&&y.forEach(N=>{let B=String(N);const A=Or(c,B,{componentName:"",fieldName:B,pureDataValidate:!0},C,b);i[ct].set(B,A);const T=d[B];T&&A.validateSchema.setRule(T)})}},i.clearValidate=(d=!0)=>{let p=null;if(d===!0)p={name:"*"};else if(Array.isArray(d)&&d.length>0){const w=d;p={name:y=>y?w.indexOf(y)!==-1:!1}}else if(d!=null&&typeof d=="object"){const w=d;if(Array.isArray(w.include)&&w.include.length>0){const y=w.include;p={name:S=>S?y.indexOf(S)!==-1:!1}}else if(Array.isArray(w.exclude)&&w.exclude.length>0){const y=w.exclude;p={name:S=>S?y.indexOf(S)===-1:!1}}else p={name:"*"}}p&&C?.emitToChildren(p,"clearValidate",!1)},i.resetFields=d=>{const p=f();if(!p)return;const w={};if(Ue(!0,w,u()??{}),Array.isArray(d))d.forEach(y=>{p[y]=w[y]});else if(d&&Array.isArray(d.include))(d.include??[]).forEach(S=>{p[S]=w[S]});else if(d&&Array.isArray(d.exclude)){let y=d.exclude??[];Reflect.ownKeys(w).forEach(S=>{y.includes(S)||(p[S]=w[S])})}else Object.assign(p,w);i.clearValidate(d)},i.setModelValue=(d,p)=>{!p||p===s?m(d):C?.emitToChildren({name:p},"setModelValue",d)},i.getModelValue=()=>f()}return t.onUnmounted(()=>{c.destroy(),i[He]=void 0,i[ct]&&(i[ct].clear(),i[ct]=void 0),C!==null&&(C.destroy(),i[Ae]=void 0),b!==null&&(b.destroy(),i[Oe]=void 0)}),c}function we(e,n,o){const r=t.getCurrentInstance()?.proxy,i=n??"",a=t.inject(Ae,null),s=fn(r,a,i,o);r[Ae]=s,t.provide(Ae,s),r.broadcast=(b,h,...k)=>Reflect.apply(s.emit,s,[b,h,...k]);const c=t.inject(Oe,null);e.fieldName=e.fieldName??i;const m=mn(r,c,e);r[Oe]=m,t.provide(Oe,m),r.validate=(b=null)=>{const h=[];if(!Array.isArray(b)||b.indexOf(i)!==-1){const d=m?.validate();h.push(d)}let k=null;if(b===!0)k={name:"*"};else if(Array.isArray(b)&&b.length>0){const d=b;k={name:p=>p?d.indexOf(p)!==-1:!1}}else if(b!=null&&typeof b=="object"){const d=b;if(Array.isArray(d.include)&&d.include.length>0){const p=d.include;k={name:w=>w?p.indexOf(w)!==-1:!1}}else if(Array.isArray(d.exclude)&&d.exclude.length>0){const p=d.exclude;k={name:w=>w?p.indexOf(w)===-1:!1}}else k={name:"*"}}if(k){const d=s.emitToChildren(k,"validate",!1);Reflect.apply([].push,h,d)}return h.length==1?h[0]:h.length>1?Promise.all(h).then(d=>{let p=[];return d.forEach(w=>{w.pass===!1&&Array.isArray(w.errors)&&(p=[...p,...w.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=b=>m?.setRule(b),r.setNameValidateRules=(b,h=!1)=>{const k=b[i];if(k&&m?.setRule(k),h){const d={name:p=>Reflect.ownKeys(b).includes(p)};s.emitToChildren(d,"setNameValidateRules",b,!1)}},r.clearValidate=(b=null)=>{(!Array.isArray(b)||b.indexOf(n??"")!==-1)&&m?.clear();let h=null;if(b===!0)h={name:"*"};else if(Array.isArray(b)&&b.length>0){const k=b;h={name:d=>d?k.indexOf(d)!==-1:!1}}else if(b!=null&&typeof b=="object"){const k=b;if(Array.isArray(k.include)&&k.include.length>0){const d=k.include;h={name:p=>p?d.indexOf(p)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const d=k.exclude;h={name:p=>p?d.indexOf(p)===-1:!1}}else h={name:"*"}}h&&s.emitToChildren(h,"clearValidate",!1)};const f=new Pr(r);r[Io]=f;const u=pn((b="validate")=>{b==="reset"?m.clear():m.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Ir()).forEach(b=>{f.on(b,h=>{u("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:zr()).forEach(b=>{f.on(b,h=>{u("reset")})}),t.onUnmounted(()=>{s.destroy(),r[Ae]=void 0,m.destroy(),r[Oe]=void 0,f.destroy(),r[Io]=void 0}),{broadcast:s,validateSchema:m,emitEvent:(b,...h)=>{Reflect.apply(f.emit,f,[b,...h])},onEvent:(b,h)=>{Reflect.apply(f.on,f,[h])},offEvent:(b,h)=>{Reflect.apply(f.off,f,[h])}}}function Or(e,n,o,l,r){const i={},a=n??"";o.fieldName=a,o.validateHandler={getValue(m){const f=e.getForSelf("modelValue");return f?f[a]:null}};const s=mn({},r,o);i.validate=(m=null)=>{const f=[];if(!Array.isArray(m)||m.indexOf(a)!==-1){const g=s?.validate();f.push(g)}let u=null;if(m===!0)u={name:"*"};else if(Array.isArray(m)&&m.length>0){const g=m;u={name:C=>C?g.indexOf(C)!==-1:!1}}else if(m!=null&&typeof m=="object"){const g=m;if(Array.isArray(g.include)&&g.include.length>0){const C=g.include;u={name:b=>b?C.indexOf(b)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const C=g.exclude;u={name:b=>b?C.indexOf(b)===-1:!1}}else u={name:"*"}}if(u){const g=c.emitToChildren(u,"validate",!1);Reflect.apply([].push,f,g)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(g=>{let C=[];return g.forEach(b=>{b.pass===!1&&Array.isArray(b.errors)&&(C=[...C,...b.errors])}),C.length>0?{pass:!1,errors:C}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=m=>s?.setRule(m),i.setNameValidateRules=m=>{const f=m[a];f&&s?.setRule(f)};const c=fn(null,l,a,i);return{broadcast:c,validateSchema:s}}const J=e=>e?`${re(e)}px`:"";function re(e,n=-1){if(typeof e=="number")return e>0&&e<1&&n>0?e*n:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let o=e.indexOf("px");if(o!==-1)return Number(e.substring(0,o));if(o=e.indexOf("rem"),o!==-1){let r=Number(e.substring(0,o)),i=1;if(Qe){const{fontSize:a}=window.getComputedStyle(document.documentElement,null),s=a.indexOf("px");s>0&&(i=Number(a.substring(0,s)))}return r*=i,r}if(o=e.indexOf("%"),o!==-1)return Number(e.substring(0,o))*n;const l=Number(e);return isNaN(l)?0:l}const je="PageStateKey";function Pe(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=re(e.top)),e.left!==null&&e.left!==void 0&&(n.left=re(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=re(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=re(e.right))),n}function Mo(e,n,o={},l=!0,r=-1,i=-1,a=0,s=0){if(e.headerHeight=re(o.headerHeight??n.headerHeight),e.headerPadding=Pe(o.headerPadding??n.headerPadding),e.footerHeight=re(o.footerHeight??n.footerHeight),e.footerPadding=Pe(o.footerPadding??n.footerPadding),e.contentPadding=Pe(o.contentPadding??n.contentPadding),l){const c=o.height??n.height;c?e.height=re(c,i):e.height=re(i)-re(a,i)-re(s,i),e.width=re(o.width??n.width,r)}}function Fr(e,n={}){const o={top:null,left:null,bottom:null,right:null},l={width:0,height:0,headerHeight:0,headerPadding:{...o},footerHeight:0,footerPadding:{...o},contentPadding:{...o},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},r=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});r&&(l.safeAreaTop=re(r.top),l.safeAreaBottom=re(r.bottom),l.safeAreaLeft=re(r.left),l.safeAreaRight=re(r.right));const i=e.get("pageLayout");if(!i)return null;const a=e.get("rootWidth")??-1,s=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,m=e.get("footerBarHeight")??0;Mo(l,i,n,!0,a,s,c,m);const f=t.reactive(l),u=e.getForParent(je);u&&(l.height=Sn(e,u),l.width=bn(e,u),t.watch([()=>u.height,()=>u.width,()=>u.contentPadding,()=>u.headerMounted,()=>u.footerMounted],()=>{f.height=Sn(e,u),f.width=bn(e,u)}));const g=!u;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([C,b,h=-1,k=-1,d=0,p=0])=>{Mo(f,b,n,g,h,k,d,p)}),e.set(je,f),f}function gn(e){return e.get(je)}function yn(e,n){return n=n??e.get(je),n&&n.headerMounted?n.headerHeight+n.safeAreaTop:0}function kn(e,n){return n=n??e.get(je),n&&n.footerMounted?n.footerHeight+n.safeAreaBottom:0}function Sn(e,n){if(n=n??e.get(je),n){const o=yn(e,n),l=kn(e,n);return n.height-o-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function bn(e,n){return n=n??e.get(je),n?n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}var We=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(We||{});function Cn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Se(e,n,o=1,l){const r=Me();return r==null?e:o===0?t.computed(()=>{const i=r.getAll(n);for(let s=i.length-1;s>=0;s--){const c=i[s];if(Cn(c,l))return c}const a=e.value;return Cn(a,l)?a:null}):t.computed(()=>{const i=e.value;return Cn(i,l)?i:r?.get(n)})}function Re(e){return Se(e,"readonly",0,function(o){return ye(o)})}function Ee(e){return Se(e,"disabled",0,function(o){return ye(o)})}function Ie(e,n="modelValue",o){const l=t.toRef(e,n);let r=l.value;typeof o=="function"&&(r=o(l.value));const i=t.ref(r);return t.watch(l,a=>{if(typeof o=="function"){const s=o(a);s!==i.value&&(i.value=s)}else a!==i.value&&(i.value=a)}),i}const Po=new Map,Pt=new Map;let wn=null;function xr(e){wn=e}function Ro(e,n,o){if(o){let l=Pt.get(o);l||(l=new Map,Pt.set(o,l)),l.set(e,n)}else Po.set(e,n)}function dt(e,n,o){!o&&wn&&(o=wn(e)??void 0);let l=null;if(o){let r=Pt.get(o);r&&(l=r.get(n))}return l||(l=Po.get(n)),l}function Ur(e,n){for(let o in e){const l=e[o];Ro(o,l,n)}}function Kr(e){Pt.delete(e)}function Hr(){return{top:0,left:0,bottom:0,right:0}}function jr(e=0,n=0){if(Qe){const o=document.documentElement.clientWidth||document.body.clientWidth,l=document.documentElement.clientHeight||document.body.clientHeight,r={width:o,height:l-re(e,l)-re(n,l),headerHeight:44,footerHeight:44};return{rootWidth:o,rootHeight:l,pageLayout:r}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}}class Wr{packages;_version;get version(){return this._version}constructor(n,o){this.packages=n,this._version=o}install(n,o){o?.install!==!1&&this.packages.forEach(i=>{i.install?n.use(i):i.name&&n.component(i.name,i)});const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],r=Mt();if(this.initPageLayout(o,r),o.autoAdjustPageLayout!==!1&&window.ResizeObserver){const i=pn(()=>{const s={...o},c=document.documentElement.clientWidth||document.body.clientWidth,m=document.documentElement.clientHeight||document.body.clientHeight;s.width=c,s.height=m,this.initPageLayout(s,r)},150);new window.ResizeObserver(i).observe(window.document.body)}for(const i in o)l.indexOf(i)===-1&&r.set(i,o[i])}initPageLayout(n,o){const l=n.headerBarHeight??0,r=n.footerBarHeight??0,i=Ue({},Hr(),n.safeAreaInset),a=jr(l,r),s=Ue({},a.pageLayout,n.pageLayout);o=o??Mt(),o.set("safeAreaInset",i),o.set("headerBarHeight",l),o.set("footerBarHeight",r),o.set("pageLayout",s),o.set("rootWidth",a.rootWidth),o.set("rootHeight",a.rootHeight)}setScopeGetter(n){xr(n)}setAPI(n,o,l){Ro(n,o,l)}getAPI(n,o,l){return dt(n,o,l)}batchSetAPI(n,o){Ur(n,o)}clearScopeAPI(n){Kr(n)}getRootDomain(){return Mt()}}function x(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(o){return o.baseName=e,o.name=n,o.install=l=>{l.component(o.name,o)},t.defineComponent(o)},createDemo(o){return o.baseName=e,o.name="demo-"+e,t.defineComponent(o)}}}const ue={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},pe={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],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},errorTip:{type:String,required:!1},errorIcon:{type:[Object,String],required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:[Object,String],required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:[Object,String],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:{}}},Lo={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},Oo={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},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:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1},markColor:{type:[String],required:!1}},Fo=[];for(const e in Oo)Fo.push(e);function ut(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}const Yr=Symbol.for("InnerPageScopeKey"),Xr=(e,n)=>({inheritAttrs:!0,props:{...ue,...Lo,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}},setup(o,l){const r=zo(o.name,o);if(r){const m=Fr(r,o);ut({getPageContentHeight:()=>Sn(r,m),getPageContentWidth:()=>bn(r,m),getPageHeaderHeight:()=>yn(r,m),getPageFooterHeight:()=>kn(r,m)});const f=t.inject(Yr,!1);m&&f&&(m.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),a=t.computed(()=>({})),s=t.getCurrentInstance(),c=m=>{const f=s?.proxy;f&&typeof f.setNameValidateRules=="function"&&f.setNameValidateRules(m,!0)};return t.watch(()=>o.rules,(m,f)=>{if(!m&&!f)return;const u=t.toRaw(f),g=t.toRaw(m),C=g?Reflect.ownKeys(g):[];(u?Reflect.ownKeys(u):[]).forEach(h=>{C.includes(h)||(g[h]=[])}),c(g)},{deep:!0}),t.onMounted(()=>{if(o.rules){const m=t.toRaw(o.rules);c(m)}}),{classes:i,styles:a}}}),{componentName:Qr,create:vr,scope:nw}=x("page"),Gr=vr(Xr(Qr));function Zr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const W=(e,n)=>{const o=e.__vccOpts||e;for(const[l,r]of n)o[l]=r;return o},xo=W(Gr,[["render",Zr]]),Jr=(e,n)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[String,Object],required:!1,default:"left"},leftText:{type:String,required:!1,default:""},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[String,Object],required:!1,default:""},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[String,Object],required:!1,default:""},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(o,l){const r=Me(),i=r?gn(r):null;i&&(i.headerMounted=!0);const a=t.computed(()=>({[e]:!0})),s=o.height!==null&&o.height!==void 0?re(o.height):null,c=t.computed(()=>{const B={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const E=Pe(o.padding??i.footerPadding);return Object.assign(B,E),s&&(i.headerHeight=s),B.height=i.headerHeight,B.safeAreaTop=i.safeAreaTop,B.safeAreaTop&&(B.top=B.safeAreaTop+(E.top??0),B.height=B.height+i.safeAreaTop),console.debug("[header] height",B.height),console.debug("[header] safeBottom",B.safeAreaTop),B}if(s&&(B.height=s),o.padding){const E=Pe(o.padding);Object.assign(B,E)}return B});t.onUnmounted(()=>{i&&(i.headerMounted=!1)});const m=t.computed(()=>{const B={};return c.value.height!==null&&c.value.height!==void 0&&(B.height=`${c.value.height}px`),c.value.top!==null&&c.value.top!==void 0&&(B.paddingTop=`${c.value.top}px`),c.value.left!==null&&c.value.left!==void 0&&(B.paddingLeft=`${c.value.left}px`),c.value.right!==null&&c.value.right!==void 0&&(B.paddingRight=`${c.value.right}px`),c.value.bottom!==null&&c.value.bottom!==void 0&&(B.paddingBottom=`${c.value.bottom}px`),B}),f=t.computed(()=>{const B={};return c.value.safeAreaTop!==null&&c.value.safeAreaTop!==void 0&&(B.top=`${c.value.safeAreaTop}px`),B}),u=t.computed(()=>{const B={};return c.value.safeAreaTop!==null&&c.value.safeAreaTop!==void 0&&(B.top=`${c.value.safeAreaTop}px`),B}),g=t.computed(()=>o.leftShow?o.leftIcon||o.leftText||l.slots.left:!1),C=t.computed(()=>!(c.value.height!==null&&c.value.height!==void 0&&c.value.height<=0)),b=t.computed(()=>o.titleShow?o.title||o.titleIcon||l.slots.default:!1),h=t.computed(()=>o.rightShow?o.rightIcon||o.rightText||l.slots.right:!1),k=t.computed(()=>{let B={};return typeof o.leftIcon=="object"?Object.assign(B,o.leftIcon):B.name=o.leftIcon,B}),d=t.computed(()=>{let B={};return typeof o.titleIcon=="object"?Object.assign(B,o.titleIcon):B.name=o.titleIcon,B}),p=t.computed(()=>{let B={};return typeof o.rightIcon=="object"?Object.assign(B,o.rightIcon):B.name=o.rightIcon,B});function w(){l.emit("back")}function y(){l.emit("click-title")}function S(){l.emit("click-right")}function N(){l.emit("click-right-text")}return{classes:a,styles:m,mHeaderShow:C,leftStyles:f,rightStyles:u,mLeftShow:g,mTitleShow:b,mRightShow:h,mLeftIcon:k,mTitleIcon:d,mRightIcon:p,handleLeft:w,handleCenter:y,handleRight:S,handleRightText:N}}}),{componentName:_r,create:es,scope:ow}=x("header-bar"),ts=es(Jr(_r)),ns={key:1,class:"fox-header-bar__title"};function os(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.mHeaderShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:t.normalizeStyle(e.leftStyles)},[t.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(t.openBlock(),t.createBlock(a,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...s)=>e.handleLeft&&e.handleLeft(...s))},t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0),e.mTitleShow?(t.openBlock(),t.createElementBlock("view",ns,[t.renderSlot(e.$slots,"default",{},()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"text-title",onClick:n[1]||(n[1]=(...s)=>e.handleTitle&&e.handleTitle(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titleIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),e.mRightShow?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:t.normalizeStyle(e.rightStyles)},[t.renderSlot(e.$slots,"right",{},()=>[e.rightText?(t.openBlock(),t.createElementBlock("view",{key:0,onClick:n[2]||(n[2]=(...s)=>e.handleRightText&&e.handleRightText(...s))},t.toDisplayString(e.rightText),1)):t.createCommentVNode("",!0),e.rightIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)}const Uo=W(ts,[["render",os]]);function ls(e,n){return{props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(o,l){const r=Me(),i=r?gn(r):null;i&&(i.footerMounted=!0);const a=t.computed(()=>{const f=e;let u=e;return o.align==="left"?u=`${u}__left`:o.align==="right"?u=`${u}__right`:u=`${u}__center`,{[f]:!0,[u]:!0}}),s=o.height!==null&&o.height!==void 0?re(o.height):null,c=t.computed(()=>{const f={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const u=Pe(o.padding??i.footerPadding);return Object.assign(f,u),s&&(i.footerHeight=s),f.height=i.footerHeight,f.safeAreaBottom=i.safeAreaBottom,f.safeAreaBottom&&(f.height=f.height+i.safeAreaBottom,f.bottom=f.safeAreaBottom+(u.bottom??0)),f}if(s&&(f.height=s),o.padding){const u=Pe(o.padding);Object.assign(f,u)}return f});t.onUnmounted(()=>{i&&(i.footerMounted=!1)});const m=t.computed(()=>{const f={};return c.value.height!==null&&c.value.height!==void 0&&(f.height=J(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(f.paddingTop=J(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(f.paddingLeft=J(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(f.paddingRight=J(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(f.paddingBottom=J(c.value.bottom)),f});return{classes:a,styles:m}}}}const{componentName:as,create:rs,scope:lw}=x("footer-bar"),ss=rs(ls(as));function is(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Ko=W(ss,[["render",is]]);function cs(e,n){return{props:{padding:{type:[Object],required:!1}},setup(o){const l=Me(),r=t.computed(()=>({[e]:!0})),i=t.computed(()=>{const a={};if(l){const s=gn(l);if(s){if(o.padding){const u=Pe(o.padding);Object.assign(s.contentPadding,u)}const c=yn(l,s),m=kn(l,s);let f="";if(s.contentHeight?f=`${s.contentHeight}`:f=`${s.height}px`,console.debug("[content]page height:",f),console.debug("[content]header height:",c),console.debug("[content]footer height:",m),console.debug("[content]padding:",s.contentPadding),a.height=f,s.contentPadding.top||c>0){const u=(s&&s.contentPadding&&s.contentPadding.top)??0;a.paddingTop=`${c+u}px`}if(s.contentPadding.bottom||m>0){const u=(s&&s.contentPadding&&s.contentPadding.bottom)??0;a.paddingBottom=`${m+u}px`}return s.contentPadding.left&&(a.paddingLeft=`${s.contentPadding.left}px`),s.contentPadding.right&&(a.paddingRight=`${s.contentPadding.right}px`),a}}if(o.padding){const s=Pe(o.padding);s.left&&(a.paddingLeft=`${s.left}px`),s.top&&(a.paddingTop=`${s.top}px`),s.right&&(a.paddingRight=`${s.right}px`),s.bottom&&(a.paddingBottom=`${s.bottom}px`)}return a});return{classes:r,styles:i}}}}const{componentName:ds,create:us,scope:aw}=x("content"),fs=us(cs(ds));function ms(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Ho=W(fs,[["render",ms]]),ve="GroupStateKey",jo=Symbol.for("GroupScopeKey");function Ge(){return t.inject(jo,!1)}function Rt(e=!0){t.provide(jo,e)}function ps(e,n={}){const l={type:"form",width:e.get("width",-1),column:-1,gutter:-1};Object.assign(l,n);const r=t.shallowRef(l),i=t.markRaw({layout:r,passport:0,order:{index:0}});return e.set(ve,i),i}function Wo(e,n,o=-1,l=-1,r=!1,i=-1){const a=e.get(ve);if(!a)return;const s=e.get("groupLayout")??{};o===-1&&(o=s.column??1),l===-1&&(l=s.gutter??0),i||(i=s.minItemWidth??-1);const c=()=>{const m=n===""||n===-1,f=re(n);let u=le(o);const g=re(l);if(!m){let h=(f-(u-1)*g)/u;for(;i!==-1&&u>1&&h<i;)u--,h=(f-(u-1)*g)/u}let C=!1;const b=a.layout;b.value.width=n,b.value.column!==u&&(b.value.column=u,C=!0),b.value.gutter!==g&&(b.value.gutter=g,C=!0),C&&t.triggerRef(b)};if(r)c();else{const m=++a.passport;setTimeout(()=>{m===a.passport&&c()},50)}}function Ye(e,n=!1){let o;return n?o=e.getForParent(ve):o=e.get(ve),o.layout}function Nn(e,n=!1){let o;return n?o=e.getForParent(ve):o=e.get(ve),o.order}function fe(e,n=1){return n==="stretch"?-1:(n=le(n),n===-1?100:100*n/e)}function hs(e){return e===window}const Ne=e=>{const n=t.unref(e);if(hs(n)){const o=n.innerWidth,l=n.innerHeight;return{top:0,left:0,right:o,bottom:l,width:o,height:l}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}};class Bn{seed=new Date().getTime();constructor(n){this.seed=n??new Date().getTime()}get(){let n=this.seed++;return this.seed<0&&(this.seed=0),n}}new Bn;const Fe=(e,n)=>e?n?`fox-group__${e}-${n}`:"":`fox-group__${n}`,gs=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const n=e.type,o=(n.props&&n.props.span&&n.props.span.default)??1;return typeof o=="function"?o():o}return e.props.span},ys=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const o=e.type,l=(o.props&&o.props.offset&&o.props.offset.default)??0;return typeof l=="function"?l():l}const n=le(e.props.offset);return n<0?0:n},ks=e=>{if(!e.props||e.props.foxItemType===null||e.props.foxItemType===void 0){const n=e.type,o=(n.props&&n.props.foxItemType&&n.props.foxItemType.default)??"Item";return typeof o=="function"?o():o}return e.props.foxItemType??"Item"},Ss=e=>{if(!e.props||e.props.foxSubItemCount===null||e.props.foxSubItemCount===void 0){const o=e.type,l=(o.props&&o.props.foxSubItemCount&&o.props.foxSubItemCount.default)??"Item";return typeof l=="function"?l():l}const n=le(e.props.foxSubItemCount);return n<0?1:n},{componentName:bs,create:Cs}=x("group"),Yo=Cs({props:{...ue,...Lo,...Oo},setup(e,n){const o=zo(e.name,e,Fo),l=ps(o,{type:e.type}),r=Ge();Rt(!0);const i=t.computed(()=>r&&o?Ye(o,!0).value:null),a=t.getCurrentInstance(),s=y=>{const S=a?.proxy;S&&typeof S.setNameValidateRules=="function"&&S.setNameValidateRules(y,!0)};t.watch(()=>e.rules,(y,S)=>{if(!y&&!S)return;const N=t.toRaw(S),B=t.toRaw(y),E=B?Reflect.ownKeys(B):[];(N?Reflect.ownKeys(N):[]).forEach(T=>{E.includes(T)||(B[T]=[])}),s(B)},{deep:!0}),t.onMounted(()=>{if(e.rules){const y=t.toRaw(e.rules);s(y)}});const c=bs,m=t.computed(()=>{const y={};if(i.value){const S=Ye(o,!0);if(S.value.type==="flex"){if(e.width){const E=J(e.width);y.width=E}else{const E=fe(S.value.column,e.span);E>0&&(y.width=`${E}%`)}if(e.height){const E=J(e.height);y.height=E}const N=fe(S.value.column,e.offset);N>0&&(y["margin-left"]=`${N}%`);const B=S.value.gutter/2;B>0&&(y["padding-left"]=`${B}px`,y["padding-right"]=`${B}px`)}else if(S.value.type==="flow"){if(e.width){const E=J(e.width);y.width=E}else{const E=fe(S.value.column,e.span);E>0&&(y.width=`${E}%`)}if(e.height){const E=J(e.height);y.height=E}const N=fe(S.value.column,e.offset);N>0&&(y["margin-left"]=`${N}%`);const B=S.value.gutter/2;if(B>0){const E=o?Nn(o,!0):null;if(E){let A=le(e.offset)+le(e.span);(A===-1||A>S.value.column)&&(A=S.value.column);const T=Math.ceil((E.index+1)/S.value.column),M=Math.ceil((E.index+A)/S.value.column);if(T===M){const H=(E.index+1)%S.value.column,U=(E.index+A)%S.value.column,P=H===1?0:B,D=U===0?0:B;y["padding-left"]=`${P}px`,y["padding-right"]=`${D}px`}else{const H=A%S.value.column,U=0,P=H===0?0:B;y["padding-left"]=`${U}px`,y["padding-right"]=`${P}px`}E.index+=A}else y["padding-left"]=`${B}px`,y["padding-right"]=`${B}px`}}}else{if(e.width){const S=J(e.width);y.width=S}if(e.height){const S=J(e.height);y.height=S}}return y}),f=t.computed(()=>e.type==="flex"?{[`${Fe("",e.type)}`]:!0,[`${Fe("justify",e.justify)}`]:!0,[`${Fe("align",e.align)}`]:!0,[`${Fe("flex",e.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:e.type==="flow"?{[`${Fe("",e.type)}`]:!0,[`${Fe("justify",e.justify)}`]:!0,[`${Fe("align",e.align)}`]:!0}:{[`${Fe("",e.type)}`]:!0,[`${c}__gutter`]:!0}),u=t.toRef(e,"title"),g=t.toRef(e,"gutter"),C=t.toRef(e,"column"),b=t.computed(()=>r?!0:ye(e.isWrap)),h=t.ref([]),k=y=>{h.value.push(y)},d=t.ref(-1);if(Wo(o,d.value,C.value,g.value,!0),e.autoLayout){t.watch([d,C,g],([S,N,B])=>{l.order.index=0,Wo(o,S,N,B,!1)});let y=null;t.onMounted(()=>{if(Qe&&h.value&&h.value.length>0){const S=h.value[0];d.value=Ne(S).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const N=Ne(S).width;N>0&&N!==d.value&&(d.value=N)}),y.observe(S))}}),t.onUnmounted(()=>{y?.disconnect()})}const p=(y,S,N,B)=>{const E={...f.value};return S===0&&(E[`${c}__first`]=!0),N>=B-1&&(E[`${c}__last`]=!0),t.h("view",{ref:k,key:`${S}`,class:E},y)},w=y=>{const S=String(y.type);if(S==="Symbol(Comment)")return null;if(S==="Symbol(Fragment)"){if(Array.isArray(y.children)){const N=[...y.children];for(let B=N.length-1;B>=0;B--){const E=N[B],A=w(E);A===null?N.splice(B,1):A.length>0&&Reflect.apply([].splice,N,[B,1,...A])}return N}return null}return[]};return()=>{l.order.index=0;const y=[];let S=0;if(n.slots.title){const A={key:`${S++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},T=t.h("view",A,[n.slots.title()]);y.push(T)}else if(u.value){const A={key:`${S++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},T=[];if(e.showMark){const U={class:{[`${c}__title-mark`]:!0}};e.markColor&&(U.style={background:e.markColor});const P=t.h("view",U);T.push(P)}const M=t.h("view",{class:{[`${c}__title-text`]:!0}},[u.value]);T.push(M);const H=t.h("view",A,T);y.push(H)}const N=n.slots.default?n.slots.default():[];let B=[],E=0;if(e.type==="flex"){for(let A=0;A<N.length;A++){const T=w(N[A]);if(T===null)continue;T.length>0&&Reflect.apply([].splice,N,[A,1,...T]);const M=N[A];if(ks(M)==="fragment"){let I=Ss(M);I>l.layout.value.column?I=l.layout.value.column:I<=0&&(I=1);const L=E+I;if(L>l.layout.value.column){const V=p([...B],S++,A-1,N.length);y.push(V),E=I,B=[M]}else B.push(M),E=L;continue}const U=gs(M),P=ys(M);if(U==="stretch"){if(E<l.layout.value.column){B.push(M);const I=p([...B],S++,A,N.length);y.push(I)}else{const I=p([...B],S++,A-1,N.length);y.push(I);const L=p([M],S++,A,N.length);y.push(L)}E=0,B=[];continue}let D=le(U);if(D===-1){if(B.length>0){const L=p([...B],S++,A-1,N.length);y.push(L)}const I=p([M],S++,A,N.length);y.push(I),E=0,B=[];continue}D>l.layout.value.column?D=l.layout.value.column:D<=0&&(D=1);const q=E+D+P;if(q>l.layout.value.column){const I=p([...B],S++,A-1,N.length);y.push(I),E=D+P,B=[M]}else B.push(M),E=q}if(B.length>0){const A=p([...B],S++,N.length,N.length);y.push(A)}}else if(e.type==="flow"){const A=p(N,S++,0,N.length);y.push(A)}else for(let A=0;A<N.length;A++){const T=N[A],M=p([T],S++,A,N.length);y.push(M)}return b.value?t.h("view",{class:{[`${c}`]:!0},style:m.value},[y]):y}}}),Xo={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:ws,create:Ns}=x("price"),Bs=Ns({props:{...Xo},setup(e){const n=t.computed(()=>({[ws]:!0})),o=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>de(e.price)==0?"":an(e.price,e.decimalLength,!0,le(e.digits),e.separator)),r=t.computed(()=>{let a=l.value;if(a.length==0)return"";let s=a.indexOf(".");return a.substring(0,s)}),i=t.computed(()=>{let a=l.value;if(a.length==0)return"";let s=a.indexOf(".");return a.substring(s+1)});return{classes:n,showSymbol:o,intText:r,decimalText:i}}}),Vs=["innerHTML"],As=["innerHTML"];function Es(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Vs)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--${e.size}`)},t.toDisplayString(e.intText),3),e.decimalText.length!=0?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--decimal-${e.size}`)},t.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,As)):t.createCommentVNode("",!0)],2)}const Lt=W(Bs,[["render",Es]]),{componentName:Vn,create:Ts}=x("hint-text"),$s=Ts({components:{[Lt.name]:Lt},props:{...Xo,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,n){const r=t.computed(()=>({[Vn]:!0})),i=t.computed(()=>({left:J(e.startPoint.x),top:J(e.startPoint.y-e.height-10-4),height:J(e.height),width:J(e.width)})),a=t.computed(()=>({[`${Vn}__content`]:!0})),s=t.computed(()=>({})),c=t.computed(()=>({[`${Vn}__arrow`]:!0})),m=t.computed(()=>({top:J(e.height)}));return{classes:r,styles:i,textClasses:a,textStyles:s,arrowClasses:c,arrowStyles:m}}}),Ds={key:1,class:"text"};function Is(e,n,o,l,r,i){const a=t.resolveComponent("fox-price");return t.openBlock(),t.createBlock(t.Transition,{name:"hint-text-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(a,{key:0,price:e.message,position:"before"},null,8,["price"])):(t.openBlock(),t.createElementBlock("span",Ds,t.toDisplayString(e.message),1))],6),t.createElementVNode("view",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.visible]])]),_:1})}const Ot=W($s,[["render",Is]]);function qs(e){return e===window}const zs=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(qs(n))return{x:0,y:0};let o=0,l=0,r=n;for(;r!==null;)o+=r.offsetLeft,l+=r.offsetTop,r=r.offsetParent;let i=0,a=0;for(r=n;r!==document;)a+=r.scrollTop,i+=r.scrollLeft,r=r.parentNode;return o-=i,l-=a,{x:o,y:l}},An={},Ms=new Bn,Ze=new Map,En=e=>{if(e){const n=document.getElementById(e);Ze.delete(e),n&&document.body.removeChild(n)}else{for(const n of Ze.keys()){const o=document.getElementById(n);o&&document.body.removeChild(o)}Ze.clear()}},Ps=e=>{const n=document.getElementById(e.id);if(n){const o=Ze.get(e.id);o?e={...An,...o,...e}:e={...An,...e};const l=t.createVNode(Ot,e);return t.render(l,n),e.id}},Rs=e=>{e.unmount=En;let n;if(e.id){if(n=e.id,Ze.has(n))return Ps(e)}else n=`hinttext_${Ms.get()}`;e={...An,...e},e.id=n,Ze.set(n,e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(Ot,e);return t.render(l,o),document.body.appendChild(o),n},Ls=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},Ft={show(e,n,o={},l=!0){l&&En(),Ls(n);const r=zs(e),i={x:r.x,y:r.y},a=o.width??Ne(e).width;return Rs({...o,message:n,startPoint:i,width:a})},hide(e){En(e)},install(e){e.config.globalProperties.$hintText=Ft}},{componentName:Qo,create:Os}=x("item"),Fs=Os({inheritAttrs:!0,props:{...ue,...pe},setup(e,n){we({componentName:Qo,validate:!1},e.prop??n.attrs.name);const o=Me(),l=Ge();Rt(!1);const r=t.computed(()=>l&&o?Ye(o,!1).value:null),i=Qo,a=t.computed(()=>({[i]:!0,[`${i}__gutter`]:r.value&&r.value.type!=="flow",[`${i}__stretch`]:e.span==="stretch",[`${i}__input--border`]:e.hasBorder,"is-error":!!A.value,"is-warn":!!B.value,"is-info":!!S.value})),s=t.computed(()=>{const V={};if(r.value)if(r.value.type==="flex"){if(e.width)V.width=J(e.width);else{const $=fe(r.value.column,e.span);$>0&&(V.width=`${$}%`)}const O=fe(r.value.column,e.offset);O>0&&(V["margin-left"]=`${O}%`);const F=r.value.gutter/2;F>0&&(V["padding-left"]=`${F}px`,V["padding-right"]=`${F}px`)}else if(r.value.type==="flow"){if(e.width)V.width=J(e.width);else{const $=fe(r.value.column,e.span);$>0&&(V.width=`${$}%`)}const O=fe(r.value.column,e.offset);O>0&&(V["margin-left"]=`${O}%`);const F=r.value.gutter/2;if(F>0){const $=o?Nn(o,!1):null;if($){let K=le(e.offset)+le(e.span);(K===-1||K>r.value.column)&&(K=r.value.column);const R=Math.ceil(($.index+1)/r.value.column),j=Math.ceil(($.index+K)/r.value.column);if(R===j){const Y=($.index+1)%r.value.column,X=($.index+K)%r.value.column,Q=Y===1?0:F,v=X===0?0:F;V["padding-left"]=`${Q}px`,V["padding-right"]=`${v}px`}else{const Y=K%r.value.column,X=0,Q=Y===0?0:F;V["padding-left"]=`${X}px`,V["padding-right"]=`${Q}px`}$.index+=K}else V["padding-left"]=`${F}px`,V["padding-right"]=`${F}px`}}else return e.width&&(V.width=J(e.width)),V;else e.width&&(V.width=J(e.width));return V}),c=t.ref(null),m=t.computed({get:()=>c.value??ye(e.isRequired),set:V=>{c.value=V}}),f=t.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof n.slots.label=="function"),u=Se(t.toRef(e,"labelPosition"),"labelPosition",We.Near),g=t.computed(()=>u&&u.value==="top"?"top":u&&u.value==="right"?"right":"left"),C=t.computed(()=>({[`${i}__main`]:!0,[`${i}__main--${g.value}`]:!0})),b=t.computed(()=>({label:!0,[`label--${g.value}`]:!0})),h=Se(t.toRef(e,"labelWidth"),"labelWidth",We.Near),k=t.computed(()=>h&&h.value?{width:`${J(h.value)}`}:{}),d=t.computed(()=>({["label--string"]:!0,["label--required"]:m.value})),p=t.computed(()=>({content:!0,[e.contentClass]:!0})),w=t.computed(()=>({...e.contentStyle})),y=t.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ut({setRequired(V){m.value=V},setErrorTip(V){y.errorTip=V},setErrorIcon(V){y.errorIcon=V},setWarnTip(V){y.warnTip=V},setWarnIcon(V){y.warnIcon=V},setInfoTip(V){y.infoTip=V},setInfoIcon(V){y.infoIcon=V}});const S=t.computed(()=>e.infoTip||y.infoTip),N=t.computed(()=>e.infoIcon||y.infoIcon),B=t.computed(()=>e.warnTip||y.warnTip),E=t.computed(()=>e.warnIcon||y.warnIcon),A=t.computed(()=>e.errorTip||y.errorTip),T=t.computed(()=>e.errorIcon||y.errorIcon),M=t.computed(()=>A.value?"error":B.value?"warn":S.value?"info":""),H=t.computed(()=>M.value.length>0),U=t.computed(()=>M.value==="error"?A.value:M.value==="warn"?B.value:M.value==="info"?S.value:""),P=t.computed(()=>M.value==="error"?T.value:M.value==="warn"?E.value:M.value==="info"?N.value:null),D=t.computed(()=>{let V={[`${i}__tip`]:!0,[`${i}__tip--${M.value}`]:!0};return M.value==="error"&&e.errorClass?V[`${e.errorClass}`]=!0:M.value==="warn"&&e.warnClass?V[`${e.warnClass}`]=!0:M.value==="info"&&e.infoClass&&(V[`${e.infoClass}`]=!0),V}),q=t.computed(()=>{let V={};return u&&u.value==="top"?V["padding-left"]="0px":h&&h.value&&(V["padding-left"]=J(h.value)),V}),I=t.ref();let L="";return t.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([V,O,F,$])=>{I.value&&(V&&!Ce(O)?L?Ft.show(I.value,O,{...$,id:L,type:F}):L=Ft.show(I.value,O,{...$,type:F}):Ft.hide(L))}),{classes:a,styles:s,mainClasses:C,hasLabel:f,labelClasses:b,labelStyles:k,labelStringClasses:d,contentClasses:p,contentStyles:w,contentRef:I,hasTip:H,mTip:U,mIcon:P,tipClasses:D,tipStyles:q}}}),xs={class:"text"};function Us(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:t.normalizeClass(e.mainClasses)},[e.hasLabel?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.labelClasses),style:t.normalizeStyle(e.labelStyles)},[t.createElementVNode("view",{class:t.normalizeClass(e.labelStringClasses)},[t.renderSlot(e.$slots,"label",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],2)],6)):t.createCommentVNode("",!0),t.createElementVNode("view",{ref:"contentRef",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.contentStyles)},[t.renderSlot(e.$slots,"prepend"),t.renderSlot(e.$slots,"default"),t.renderSlot(e.$slots,"append")],6)],2),t.createVNode(t.Transition,{name:"fox-item__animate"},{default:t.withCtx(()=>[e.hasTip?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.tipClasses),style:t.normalizeStyle(e.tipStyles)},[e.mIcon?(t.openBlock(),t.createBlock(a,{key:0,class:"icon",name:e.mIcon},null,8,["name"])):t.createCommentVNode("",!0),t.createElementVNode("view",xs,t.toDisplayString(e.mTip),1)],6)):t.createCommentVNode("",!0)]),_:1}),t.renderSlot(e.$slots,"hide")],6)}const Te=W(Fs,[["render",Us]]);function Ks(e,n){return{props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean],required:!1,default:!1}},setup(o,l){const r=e,i=t.computed(()=>({[r]:!0,[`${r}__stretch`]:o.span==="stretch",[`${r}__${o.align}`]:!0})),a=Me(),s=Ge();Rt(!1);const c=t.computed(()=>{const f={};if(s&&a){const u=Ye(a,!1);if(u.value.type!=="flex")return o.width&&(f.width=J(o.width)),f;if(o.width)f.width=J(o.width);else{const b=fe(u.value.column,o.span);b>0&&(f.width=`${b}%`)}const g=fe(u.value.column,o.offset);g>0&&(f["margin-left"]=`${g}%`);const C=u.value.gutter/2;C>0&&(f["padding-left"]=`${C}px`,f["padding-right"]=`${C}px`)}else o.width&&(f.width=J(o.width));return f}),m=t.computed(()=>({[`${r}__content`]:!0}));return()=>{const f=[];if(l.slots.default){const b=l.slots.default();if(o.divide)for(let h=0;h<b.length;h++){if(h>0){const k=t.h("view",{class:{[`${r}__divide`]:!0}});f.push(k)}f.push(b[h])}else Reflect.apply([].push,f,b)}const u={class:m.value},g=t.h("view",u,f),C={class:i.value,style:c.value};return t.h("view",C,[g])}}}}const{componentName:Hs,create:js,scope:rw}=x("row-item"),vo=js(Ks(Hs));function Ws(e,n){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(o,l){const r=Me(),i=Ge();Rt(!1);const a=t.computed(()=>i&&r?Ye(r,!1).value:null),s=e,c=t.computed(()=>({[s]:!0,[`${s}__gutter`]:a.value&&a.value.type!=="flow",[`${s}__stretch`]:o.span==="stretch"})),m=t.computed(()=>{const f={};if(a.value)if(a.value.type==="flex"){if(o.width)f.width=J(o.width);else{const C=fe(a.value.column,o.span);C>0&&(f.width=`${C}%`)}const u=fe(a.value.column,o.offset);u>0&&(f["margin-left"]=`${u}%`);const g=a.value.gutter/2;g>0&&(f["padding-left"]=`${g}px`,f["padding-right"]=`${g}px`)}else if(a.value.type==="flow"){if(o.width)f.width=J(o.width);else{const C=fe(a.value.column,o.span);C>0&&(f.width=`${C}%`)}const u=fe(a.value.column,o.offset);u>0&&(f["margin-left"]=`${u}%`);const g=a.value.gutter/2;if(g>0){const C=r?Nn(r,!1):null;if(C){let b=le(o.offset)+le(o.span);(b===-1||b>a.value.column)&&(b=a.value.column);const h=Math.ceil((C.index+1)/a.value.column),k=Math.ceil((C.index+b)/a.value.column);if(h===k){const d=(C.index+1)%a.value.column,p=(C.index+b)%a.value.column,w=d===1?0:g,y=p===0?0:g;f["padding-left"]=`${w}px`,f["padding-right"]=`${y}px`}else{const d=b%a.value.column,p=0,w=d===0?0:g;f["padding-left"]=`${p}px`,f["padding-right"]=`${w}px`}C.index+=b}else f["padding-left"]=`${g}px`,f["padding-right"]=`${g}px`}}else return o.width&&(f.width=J(o.width)),f;else o.width&&(f.width=J(o.width));return f});return()=>{const f={class:c.value,style:m.value};return l.slots&&typeof l.slots.default=="function"?t.h("view",f,l.slots.default()):t.h("view",f)}}}}const{componentName:Ys,create:Xs,scope:sw}=x("slot-item"),Go=Xs(Ws(Ys)),{componentName:Zo,create:Qs}=x("icon"),se=Qs({props:{name:{type:String,default:""},size:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(e,{emit:n,slots:o}){const l=i=>{n("click",i)},r=t.computed(()=>e.name?e.name.indexOf("/")!==-1:!1);return()=>{const i=r.value;return t.h(i?"img":e.tag,{class:i?`${Zo}__img`:`${e.fontClassName} ${Zo} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:J(e.size),width:J(e.size),height:J(e.size)},onClick:l,src:i?e.name:""},o.default?.())}}}),Jo={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 vs(e,n,o,l){return{props:{...ue,...pe,...Jo},emits:["change","update:modelValue","blur","focus","clear"],setup(r,i){const{emitEvent:a}=we({componentName:e},r.prop??i.attrs.name),{toLocaleRefs:s}=ee.useFoxI18n(n),c=s(r,["placeholder"]),m=t.ref(!1),f=Ee(t.computed(()=>r.disabled)),u=Re(t.computed(()=>r.readonly)),g=Ie(r,"modelValue"),C=e,b=t.computed(()=>({[C]:!0,[`${C}__disabled`]:f.value})),h=Se(t.computed(()=>r.textAlign),"textAlign"),k=t.computed(()=>m.value?{textAlign:"left"}:{textAlign:h.value??"right"}),d=P=>{let q=P.target.value;r.type==="digit"&&(q=un(q,!0)),r.type==="number"&&(q=un(q,!1)),r.maxLength&&q.length>Number(r.maxLength)&&(q=q.slice(0,Number(r.maxLength))),g.value=q,a("update:modelValue",q,P),a("change",q,P)};let p=Ie(r,"hintText"),w=t.ref(!1);const y=P=>{let q=P.target.value;m.value=!0,Ce(p.value)||(w.value=!0),a("focus",q,P)},S=P=>{setTimeout(()=>{w.value&&(w.value=!1),m.value=!1},0);let q=P.target.value;r.maxLength&&q.length>Number(r.maxLength)&&(q=q.slice(0,Number(r.maxLength))),a("blur",q,P)},N=t.computed(()=>({[`${C}__append`]:!0})),B=t.computed(()=>de(r.unit)>0),E=t.computed(()=>!H.value),A=t.computed(()=>({hidden:!E.value})),T=P=>{g.value="",a("update:modelValue","",P),a("change","",P),a("clear","")},M=t.computed(()=>ye(r.clearable)&&!f.value&&!u.value),H=t.computed(()=>{let P=de(g.value)>0;return ye(r.clearable)&&P&&m.value}),U=t.computed(()=>({action:!0,hidden:!H.value}));return()=>{const P={class:b.value,style:k.value,type:r.type,maxlength:r.maxLength,placeholder:c.placeholder.value,disabled:f.value,readonly:u.value,value:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onInput:d,onFocus:y,onBlur:S},D=[],q=t.h("input",P);D.push(q);const I=[];if(M.value){const R={name:"close-little",size:"10px"},j=t.h(l,R),Y={class:U.value,onClick:T},X=t.h("view",Y,{default:()=>[j]});I.push(X)}if(B.value){const R=t.h("view",{class:A.value},[r.unit]);I.push(R)}const L={class:N.value},V=t.h("view",L,{default:()=>I});D.push(V);const O={default:()=>D};if(i.slots.default){const R=i.slots.default();O.label=()=>R}if(i.slots.prepend){const R=i.slots.prepend();O.prepend=()=>R}if(i.slots.append){const R=i.slots.append();O.append=()=>R}const $={...$o(r,Jo),hintText:p.value,hintVisible:w.value};return t.h(o,$,O)}}}}const{componentName:Gs,create:Zs,scope:Js}=x("input-item"),_o=Zs(vs(Gs,Js,Te,se));function el(e,n=0){let o=`${e}`,l=o.indexOf(".");if(l==-1)return o;let r=l;for(let i=o.length-1;i>=l;i--)if(o.charAt(i)!="0"){r=i;break}return r-l<n?r=l+n+1:r!=l&&(r+=1),r>o.length?o=o.padEnd(r,"0"):o=o.substring(0,r),o}function tl(e,n,o=20){if(typeof n=="string"&&(n=le(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=ho(`${e}`,`${n}`);return el(l)}else{let l=on(`${e}`,go(`${n}`),20);return el(l)}}function _s(e,n=-1,o=!1,l=3,r=","){return an(e,n,o,l,r)}function nl(e,n,o,l,r=!0){if(e=="")return"";if(e=yo(e),n=le(n),n==1)return e;if(l)e=tl(e,n),o&&(e=="0"&&r?e=`${e}.`.padEnd(le(o)+2,"0"):e=on(e,1,le(o)));else{let i=-1*n;e=tl(e,i)}return e}function ol(e,n){let o={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ye(n.minInclude),r=ln(e,n.min);if(l&&r==-1||!l&&(r==0||r==-1)){let i="请输入不小于 {0} 的数值";o.message=i.replace("{0}",n.min),o.minValid=!1}}if(n.max!=null){let l=ye(n.maxInclude),r=ln(e,n.max);(l&&r==1||!l&&(r==0||r==1))&&(o.maxValid=!1)}return o}function ei(e,n,o,l){return{props:{...ue,...pe,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,default:""},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}},emits:["change","update:modelValue","blur","focus","clear"],setup(r,i){const{emitEvent:a}=we({componentName:e},r.prop??i.attrs.name),s=t.ref(!1),c=Ee(t.computed(()=>r.disabled)),m=Re(t.computed(()=>r.readonly)),f=Ie(r,"modelValue"),u=t.ref("");t.watch([()=>f.value,()=>r.rates,()=>r.precision],([L,V,O])=>{const F=nl(L,V,O,!1);u.value!==F&&(u.value=F)},{immediate:!0});const g=t.computed(()=>{let L="";return s.value&&(L=u.value),L}),{t:C}=ee.useFoxI18n(n),b=t.computed(()=>{let L=r.placeholder??"";return!s.value&&!Ce(u.value)?L=_s(u.value,r.decimalLength,r.autoPadding,r.digits,r.separator):L=C(["placeholder",L]),L}),h=e,k=t.computed(()=>({[h]:!0,[`${h}__disabled`]:c.value,[`${h}__placeholder`]:u.value.length>0})),d=Se(t.computed(()=>r.textAlign),"textAlign"),p=t.computed(()=>s.value?{textAlign:"left"}:{textAlign:d.value??"right"}),w=t.ref(""),y=t.computed(()=>{let L=w.value;return Ce(L)&&(L=r.errorTip??""),L}),S=t.ref(""),N=t.ref(!1),B=L=>{let O=L.target.value;if(Ce(O)){u.value="",f.value="",a("update:modelValue","",L),a("change","",L),ye(r.showTip)&&N.value&&(N.value=!1);return}if(O.length>=2){let F=O;if(F.charAt(0)=="-"&&(F=F.substring(1)),F.length>=2&&F.charAt(0)=="0"&&F.charAt(1)!="."){t.triggerRef(u);return}}if(O!="-"){if(!Bo(O)){t.triggerRef(u);return}if(r.integerLength!=-1&&Vo(O)>Number(r.integerLength)){t.triggerRef(u);return}if(r.decimalLength&&r.decimalLength!=-1&&Ao(O)>Number(r.decimalLength)){t.triggerRef(u);return}let F=ol(O,r);if(F.maxValid===!1){w.value=F.message,t.triggerRef(u);return}}else if(r.min!=null&&le(r.min)>=0){t.triggerRef(u);return}S.value=O,ye(r.showTip)&&(N.value=O.length>0),u.value=O,f.value=nl(O,r.rates,r.precision,!0),a("update:modelValue",f.value,L),a("change",f.value,L)},E=L=>{if(s.value=!0,ye(r.showTip)){let V=u.value;Ce(V)&&(V=r.hintText),Ce(V)||(S.value=V,N.value=!0)}w.value="",a("focus",f.value,L)},A=L=>{if(setTimeout(()=>{s.value=!1,ye(r.showTip)&&N.value===!0&&(N.value=!1)},0),!Ce(u.value)){let V=ol(u.value,r);if(V.minValid===!1||V.maxValid){w.value=V.message;return}}a("update:modelValue",f.value,L),a("blur",f.value,L)},T=t.computed(()=>({[`${h}__append`]:!0})),M=t.computed(()=>de(r.unit)>0),H=t.computed(()=>!q.value),U=t.computed(()=>({hidden:!H.value})),P=L=>{f.value="",a("update:modelValue","",L),a("change","",L),a("clear","")},D=t.computed(()=>ye(r.clearable)&&!c.value&&!m.value),q=t.computed(()=>{let L=de(f.value)>0;return ye(r.clearable)&&L&&s.value}),I=t.computed(()=>({action:!0,hidden:!q.value}));return()=>{let L={class:k.value,style:p.value,type:"digit",maxlength:r.maxLength,placeholder:b.value,disabled:c.value,readonly:m.value,value:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onInput:B,onFocus:E,onBlur:A},V=[],O=t.h("input",L);V.push(O);let F=[];if(D.value){let X={name:"close-little",size:"10px"},Q=t.h(l,X),v={class:I.value,onClick:P},Z=t.h("view",v,{default:()=>[Q]});F.push(Z)}if(M.value){let X=t.h("view",{class:U.value},[r.unit]);F.push(X)}let $={class:T.value},K=t.h("view",$,{default:()=>F});V.push(K);let R={default:()=>V};if(i.slots.default){let X=i.slots.default();R.label=()=>X}if(i.slots.prepend){let X=i.slots.prepend();R.prepend=()=>X}if(i.slots.append){let X=i.slots.append();R.append=()=>X}let j={...r,errorTip:y.value,hintText:S.value,hintVisible:N.value,hintType:"number"};return t.h(o,j,R)}}}}const{componentName:ti,create:ni,scope:oi}=x("money-item"),ll=ni(ei(ti,oi,Te,se)),Tn={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:li,create:ai,scope:ri}=x("textarea"),si=ai({props:{...Tn},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:o}=ee.useFoxI18n(ri);const l=o(e,["placeholder"]),r=t.ref(),i=t.computed(()=>{const g=li;return{[g]:!0,[`${g}--disabled`]:e.disabled}});t.onMounted(()=>{e.modelValue&&c(String(e.modelValue)),e.autosize&&t.nextTick(s)});const a=t.computed(()=>({textAlign:e.textAlign})),s=()=>{let g=r.value;g.style.height="auto";let C=g.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:b,minHeight:h}=e.autosize;b!==void 0&&(C=Math.min(C,b)),h!==void 0&&(C=Math.max(C,h))}C&&(g.style.height=C+"px")};t.watch(()=>e.modelValue,()=>{e.autosize&&t.nextTick(s)});const c=(g,C)=>{e.maxLength&&g.length>Number(e.maxLength)&&(g=g.substring(0,Number(e.maxLength))),n("update:modelValue",g,C),n("change",g,C)};return{...l,textareaRef:r,classes:i,styles:a,change:g=>{const C=g.target;c(C.value,g)},focus:g=>{e.disabled||e.readonly||n("focus",g)},blur:g=>{if(e.disabled||e.readonly)return;let b=g.target.value;c(b,g),n("blur",{value:b,event:g})}}}}),ii=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],ci={key:0,class:"fox-textarea__limit"};function di(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("textarea",{ref:"textareaRef",class:"fox-textarea__textarea",style:t.normalizeStyle(e.styles),rows:e.rows,disabled:e.disabled,readonly:e.readonly,value:e.modelValue,onInput:n[0]||(n[0]=(...a)=>e.change&&e.change(...a)),onBlur:n[1]||(n[1]=(...a)=>e.blur&&e.blur(...a)),onFocus:n[2]||(n[2]=(...a)=>e.focus&&e.focus(...a)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,ii),e.limitShow?(t.openBlock(),t.createElementBlock("view",ci,t.toDisplayString(e.modelValue?e.modelValue.length:0)+"/"+t.toDisplayString(e.maxLength),1)):t.createCommentVNode("",!0)],2)}const $n=W(si,[["render",di]]);function ui(e,n,o,l){return{props:{...ue,...pe,...Tn},emits:["update:modelValue","change","blur","focus"],setup(r,i){const{emitEvent:a}=we({componentName:e},r.prop??i.attrs.name),s=Ee(t.computed(()=>r.disabled)),c=Re(t.computed(()=>r.readonly)),m=Ie(r,"modelValue"),f=h=>{m.value=h,a("update:modelValue",h,{}),a("change",h,{})};let u=Ie(r,"hintText"),g=t.ref(!1);const C=h=>{Ce(u.value)||(g.value=!0),a("focus",m.value,h)},b=h=>{setTimeout(()=>{g.value&&(g.value=!1)},0),a("blur",m.value,h)};return()=>{const k={...ke(r,Tn),disabled:s.value,readonly:c.value,value:m.value,["onUpdate:modelValue"]:f,onFocus:C,onBlur:b},d=[],p=t.h(l,k);d.push(p);const w={default:()=>d};if(i.slots.default){const N=i.slots.default();w.label=()=>N}const y=ke(r,pe,ue);return t.h(o,y,w)}}}}const{componentName:fi,create:mi,scope:pi}=x("textarea-item"),al=mi(ui(fi,pi,Te,$n));let ft=0;const rl="fox-overflow-hidden",hi=e=>[()=>{e()&&(!ft&&document.body.classList.add(rl),ft++)},()=>{e()&&ft&&(ft--,!ft&&document.body.classList.remove(rl))}],sl={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},overlayClass:{type:String,default:""},lockScroll:{type:Boolean,default:!1},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:gi,create:yi}=x("overlay"),ki=yi({props:sl,emits:["click","update:visible"],setup(e,{emit:n}){const o=t.computed(()=>({[gi]:!0,[e.overlayClass]:!0}));t.watch(()=>e.visible,c=>{c?l():r()});const l=()=>{e.lockScroll&&e.visible&&document.body.classList.add("fox-overflow-hidden")},r=()=>{document.body.classList.remove("fox-overflow-hidden")};t.onDeactivated(r),t.onBeforeUnmount(r),t.onMounted(l),t.onActivated(l);const i=t.computed(()=>({animationDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return{classes:o,style:i,touchmove:c=>{e.lockScroll&&c.preventDefault()},onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function Si(e,n,o,l,r,i){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onTouchmove:n[0]||(n[0]=t.withModifiers((...a)=>e.touchmove&&e.touchmove(...a),["stop"])),onClick:n[1]||(n[1]=(...a)=>e.onClick&&e.onClick(...a)),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],38),[[t.vShow,e.visible]])]),_:3})}const xt=W(ki,[["render",Si]]),xe={...sl,position:{type:String,default:"center"},transition:String,style:{type:Object},popClass:{type:String,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},closeIcon:{type:String,default:"close"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},isWrapTeleport:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1}},{componentName:bi,create:Ci}=x("popup");let il=2e3;const wi=Ci({components:{[xt.name]:xt,[se.name]:se},props:{...xe},emits:["click","click-close-icon","open","close","opened","closed","update:visible","click-overlay"],setup(e,{emit:n}){const o=t.ref(),l=t.reactive({zIndex:e.zIndex,showSlot:!0,transitionName:`popup-fade-${e.position}`,overLayCount:1,keepAlive:!1,closed:e.closeable}),[r,i]=hi(()=>e.lockScroll),a=t.computed(()=>({[bi]:!0,round:e.round,[`popup-${e.position}`]:!0,[`popup-${e.position}--safebottom`]:e.position==="bottom"&&e.safeAreaInsetBottom,[e.popClass]:!0})),s=t.computed(()=>({zIndex:l.zIndex,animationDuration:e.duration?`${e.duration}s`:"initial",...e.style})),c=()=>{e.zIndex!=2e3&&(il=Number(e.zIndex)),n("update:visible",!0),r(),l.zIndex=++il,e.destroyOnClose&&(l.showSlot=!0),n("open")},m=()=>{i(),n("update:visible",!1),n("close"),e.destroyOnClose&&setTimeout(()=>{l.showSlot=!1},+e.duration*1e3)},f=h=>{n("click",h)},u=h=>{n("click-close-icon",h),m()},g=h=>{e.closeOnClickOverlay&&(n("click-overlay",h),m())},C=h=>{n("opened",h)},b=h=>{n("closed",h)};return t.onMounted(()=>{e.transition?l.transitionName=e.transition:l.transitionName=`popup-slide-${e.position}`,e.visible&&c()}),t.onBeforeUnmount(()=>{e.visible&&m()}),t.onBeforeMount(()=>{e.visible&&i()}),t.onActivated(()=>{l.keepAlive&&(n("update:visible",!0),l.keepAlive=!1)}),t.onDeactivated(()=>{e.visible&&(m(),l.keepAlive=!0)}),t.watch(()=>e.visible,h=>{h?c():m()}),t.watch(()=>e.position,h=>{h==="center"?l.transitionName="popup-fade":l.transitionName=`popup-slide-${h}`}),t.watch(()=>e.closeable,h=>{l.closed=h}),{...t.toRefs(l),popStyle:s,classes:a,onClick:f,onClickCloseIcon:u,onClickOverlay:g,onOpened:C,onClosed:b,popupRef:o}}});function Ni(e,n,o,l,r,i){const a=t.resolveComponent("fox-overlay"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:!e.isWrapTeleport},[e.overlay?(t.openBlock(),t.createBlock(a,{key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,class:t.normalizeClass(e.overlayClass),style:t.normalizeStyle(e.overlayStyle),"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,onClick:e.onClickOverlay},null,8,["visible","close-on-click-overlay","class","style","z-index","lock-scroll","duration","onClick"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:n[1]||(n[1]=(...c)=>e.onClick&&e.onClick(...c)),ref:"popupRef"},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...c)=>e.onClickCloseIcon&&e.onClickCloseIcon(...c)),class:t.normalizeClass(["foxui-popup__close-icon","foxui-popup__close-icon--"+e.closeIconPosition])},[t.createVNode(s,{name:e.closeIcon,size:"12px"},null,8,["name"])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const ge=W(wi,[["render",Ni]]),cl=10;function Bi(e,n){return e>n&&e>cl?"horizontal":n>e&&n>cl?"vertical":""}function mt(){const e=t.ref(0),n=t.ref(0),o=t.ref(0),l=t.ref(0),r=t.ref(0),i=t.ref(0),a=t.ref(0),s=t.ref(0),c=t.ref(0),m=t.ref(0),f=t.ref(""),u=()=>f.value==="vertical",g=()=>f.value==="horizontal",C=()=>{a.value=0,s.value=0,c.value=0,m.value=0,f.value="",o.value=0};return{move:k=>{const d=k.touches[0];a.value=d.clientX-e.value,s.value=d.clientY-n.value,r.value=d.clientX,i.value=d.clientY,c.value=Math.abs(a.value),m.value=Math.abs(s.value),l.value=Date.now()-o.value,f.value||(f.value=Bi(c.value,m.value))},start:k=>{C(),e.value=k.touches[0].clientX,n.value=k.touches[0].clientY,o.value=Date.now()},reset:C,startX:e,startY:n,startTime:o,duration:l,moveX:r,moveY:i,deltaX:a,deltaY:s,offsetX:c,offsetY:m,direction:f,isVertical:u,isHorizontal:g}}const dl={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:1e3}},Dn={...xe,...dl,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""}};let ul=36;function Vi(){return ul}function Ai(e){ul=e}function qe(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function In(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function Ei(e,n,o){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=o),n.children=o}function Xe(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function fl(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let Ti=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);const r=dt(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Be(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l))}};function $i(){const e=t.getCurrentInstance();return new Ti(e.proxy)}function ml(e,n,o){const l=qe(e,n),r=qe(e,o);if(l!==r)return!1;const i=Xe(e,n),a=Xe(e,o);return i===a}function Di(e,n,o,l){if(o.length==0)return[];Array.isArray(n)||(n=[n]);const r=[],i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let a=0;a<n.length&&a<o.length;a++){const s=n[a];let m=o[a].findIndex(f=>{if(i==="text")return qe(e,f)===s;if(i==="value"){let u=Xe(e,f);return u==null&&(u=qe(e,f)),u===s}else if(i==="item")return ml(e,f,s)});if(m==-1)break;r.push(m)}else{let a=o[0];for(let s=0;s<n.length;s++){const c=n[s];let m=a.findIndex(u=>{if(i==="text")return qe(e,u)===c;if(i==="value"){let g=Xe(e,u);return g==null&&(g=qe(e,u)),g===c}else if(i==="item")return ml(e,u,c)});if(m==-1)break;r.push(m);const f=In(e,a[m]);if(!Array.isArray(f))break;a=f}}return r}function pl(e,n,o,l){if(o.length==0)return null;const r={texts:[],values:[]},i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let a=0;a<n.length&&a<o.length;a++){const s=o[a];let c=n[a];c<0&&c>=s.length&&(c=0);const m=s[c],f=qe(e,m);if(r.texts.push(f),i==="text")r.values.push(f);else if(i==="value"){let u=Xe(e,m);u==null&&(u=f),r.values.push(u)}else r.values.push(m)}else{let a=o[0];for(let s=0;s<n.length;s++){let c=n[s];c<0&&c>=a.length&&(c=0);const m=a[c],f=qe(e,m);if(r.texts.push(f),i==="text")r.values.push(f);else if(i==="value"){let u=Xe(e,m);u==null&&(u=f),r.values.push(u)}else{const u=Object.assign({},m);u.children=null,r.values.push(u)}if(!Array.isArray(m.children))break;a=m.children}}return r}function hl(e){return{text:e,value:e}}const Ii=15,qi=300,zi=200,{create:Mi}=x("picker-column");function Pi(e){e.stopPropagation()}function Ri(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&Pi(e)}const Li=Mi({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},...dl},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const o=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${le(e.visibleItemCount)*+e.itemHeight}px`})),r=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),i=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),a=E=>E>=u.currIndex+8||E<=u.currIndex-8,s=t.computed(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${u.deg})`,top:`${i.value}px`})),c=E=>`transform: rotate3d(1, 0, 0, ${-u.rotation*E}deg) translate3d(0px, 0px, 104px)`,m=t.computed(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${u.scrollDistance+i.value}px, 0)`})),f=t.ref(null),u=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),g=t.toRef(e,"source"),C=E=>qe(e,E),b=E=>Xe(e,E),h=mt(),k=()=>{u.transitionEndTrigger&&(u.transitionEndTrigger(),u.transitionEndTrigger=null)},d=(E,A=!1,T=!1)=>{if(u.currIndex=E,A){const M=()=>{u.moving=!1,n("update:modelValue",E),n("change",E)};T?u.transitionEndTrigger=M:M()}},p=(E,A,T)=>{let M=E+u.startDistance;if(A==="end"){const H=-(g.value.length-1)*e.itemHeight;M<H&&(M=H,(!T||T<=0)&&(T=e.swipeDuration)),M>0&&(M=0,(!T||T<=0)&&(T=e.swipeDuration));let U=Math.abs(Math.round(-M/e.itemHeight));const P=-U*e.itemHeight,D=`${(U+1)*u.rotation}deg`,q=T?T>0:!1;d(U,!0,q),w(P,A,T,D)}else{let H=(-M/e.itemHeight+1)*u.rotation;const U=(g.value.length+1)*u.rotation,P=0;if(H=Math.min(Math.max(H,P),U),e.threeDimensional&&(H<P||H>U))return;w(M,null,void 0,`${H}deg`)}},w=(E=0,A,T=zi,M)=>{A==="end"?u.scrollTime=T:u.scrollTime=0,u.deg=M,u.scrollDistance=E},y=(E,A)=>(E=Math.abs(E/A)/.003*(E<0?-1:1),E),S=E=>{if(!e.readonly){if(u.moving){const A=f.value,{transform:T}=window.getComputedStyle(A);u.scrollDistance=+T.slice(7,T.length-1).split(", ")[5]}u.startDistance=u.scrollDistance,h.start(E),u.transitionEndTrigger=null}},N=E=>{e.readonly||(u.moving=!0,h.move(E),h.isVertical()&&(u.moving=!0,Ri(E,!0)),p(h.deltaY.value,"",0))},B=()=>{if(e.readonly)return;const E=h.deltaY.value,A=h.duration.value;if(A<qi&&Math.abs(E)>Ii){const M=y(E,A);p(M,"end",e.swipeDuration)}else p(E,"end",0)};return t.watch(()=>e.modelValue,E=>{if(u.currIndex!==E){u.currIndex=E;const A=-E*e.itemHeight;p(A)}}),t.onMounted(()=>{const E=-e.modelValue*e.itemHeight;p(E)}),{classes:o,styles:l,contentClasses:r,source:g,itemText:C,itemValue:b,...t.toRefs(u),roller:f,getItemText:qe,onTouchStart:S,onTouchMove:N,onTouchEnd:B,isHidden:a,setRollerStyle:c,touchRollerStyle:s,touchTileStyle:m,stopMomentum:k}}}),Oi={key:1,class:"fox-picker__item-tile"};function Fi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTransitionend:n[4]||(n[4]=(...a)=>e.stopMomentum&&e.stopMomentum(...a))},[t.createElementVNode("view",{ref:"roller",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.source,(a,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${s}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(s+1)}]),style:t.normalizeStyle(e.setRollerStyle(s+1))},t.toDisplayString(e.itemText(a)),7)):(t.openBlock(),t.createElementBlock("view",Oi,t.toDisplayString(e.itemText(a)),1))],64))),128))],6)],38)}const gl=W(Li,[["render",Fi]]),{create:xi,componentName:Ui,scope:Ki}=x("picker"),Hi=xi({components:{[gl.name]:gl,[ge.name]:ge},props:{...Dn},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:o,t:l}=ee.useFoxI18n(Ki),r=o(e,["title","cancelText","clearText","confirmText"]),i=t.ref(null),a=t.ref(Vi());t.watch(()=>e.visible,A=>{A&&a.value<=0&&setTimeout(()=>{if(i.value){const T=Ne(i.value);a.value=T.height,Ai(a.value)}},50)});const s=t.computed(()=>({[Ui]:!0})),c=$i(),m=t.ref("singleColumn");let f=t.ref([]);t.watchEffect(async()=>{if(e.source){let A=await c.load("picker",e.source,e.params);if(A.length>0){let T=A[0];if(Array.isArray(T)){if(typeof T[0]=="string"){let M=A,H=[];M.forEach(U=>{let P=U.map(D=>hl(D));H.push(P)}),f.value=H}else f.value=A;m.value="multipleColumn"}else if(typeof T=="string"){let M=A,H=[],U=M.map(P=>hl(P));H.push(U),f.value=H,m.value="singleColumn"}else{const M=In(e,T);Array.isArray(M)?(m.value="cascade",f.value=[A]):(m.value="singleColumn",f.value=[A])}}}});const u=t.ref([]),g=t.ref(e.modelValue),C=t.ref([]);t.watch([()=>e.modelValue,()=>f.value],([A,T])=>{let M=Di(e,A,T,m.value);if(!Ve(M,C.value)){C.value=M;let H=pl(e,M,T,m.value);H&&(u.value=H.texts,n("update:text",u.value))}});const b=t.ref(e.visible);t.watch(()=>e.visible,A=>{b.value=A});const h=A=>{let T=fl(e,A);return Be(T)?T.defaultIndex??0:0},k=A=>{if(e.readonly===!0)return!0;let T=fl(e,A);return Be(T)?T.readonly??!1:!1},d=(A,T,M=!1)=>{let H=C.value;H[A]=T;for(let P=0;P<A;P++)H[P]==null&&(H[P]=h(P));if(m.value==="cascade")for(let P=A+1;P<w.value.length;P++){let D=h(P);P<H.length?H[P]=D:H.push(D)}else for(let P=H.length;P<w.value.length;P++){let D=h(P);H.push(D)}C.value=H;let U=pl(e,H,f.value,m.value);if(U&&(u.value=U.texts,g.value=U.values),M)if(m.value==="singleColumn"){let P=U&&U.values.length>0?U.values[0]:"";n("change",P)}else n("change",U?.values)},p=A=>A<C.value.length?C.value[A]:h(A),w=t.computed(()=>{if(f.value.length==0)return[];if(m.value=="singleColumn"||m.value=="multipleColumn")return f.value;let A=[],T=0,M=f.value[0],H=0;for(;;){let U=M.map(q=>{let I=Object.assign({},q);return Ei(e,I,null),I});A.push(U),T>=C.value.length?H=0:H=C.value[T],(H<0||H>=M.length)&&(H=0);let P=M[H];const D=In(e,P);if(!Array.isArray(D))break;M=D,T++}return A}),y=t.computed(()=>le(+e.visibleItemCount-1)/2*a.value);return{...r,pickerLineRef:i,classes:s,columns:w,dataType:m,show:b,itemHeight:a,top:y,isReadonly:k,getIndex:p,change:(A,T)=>{d(A,T,!0)},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{if(e.readonly===!0){n("update:visible",!1);return}let A=f.value.length-1;for(;A>=0&&!(C.value[A]===null||C.value[A]===void 0);A--);if(A>=0&&d(A,0,!1),m.value==="singleColumn"){let T=g.value.length>0?g.value[0]:"";e.readonly||(n("update:modelValue",T),n("update:text",u.value)),n("confirm",T)}else e.readonly||(n("update:modelValue",g.value),n("update:text",u.value)),n("confirm",g.value);n("update:visible",!1)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}m.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),ji={class:"fox-picker__bar"},Wi={class:"fox-picker__title"},Yi={class:"fox-picker__bar__action"},Xi={class:"fox-picker__column"};function Qi(e,n,o,l,r,i){const a=t.resolveComponent("fox-picker-column"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(s,{position:"bottom",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,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("view",ji,[t.createElementVNode("view",Wi,t.toDisplayString(e.title),1),t.createElementVNode("view",Yi,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...c)=>e.close&&e.close(...c))},t.toDisplayString(e.cancelText),1),t.createElementVNode("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...c)=>e.confirm&&e.confirm(...c))},t.toDisplayString(e.confirmText),1),e.clearText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...c)=>e.clear&&e.clear(...c))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",Xi,[t.createElementVNode("view",{class:"fox-picker__mask",style:t.normalizeStyle({backgroundSize:`100% ${e.top}px`})},null,4),t.createElementVNode("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:t.normalizeStyle({top:` ${e.top}px`})},null,4),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:"fox-picker__columnitem"},[t.createVNode(a,{source:c,readonly:e.isReadonly(m),"column-index":m,modelValue:e.getIndex(m),"onUpdate:modelValue":f=>e.change(m,f),"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,["source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),t.renderSlot(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","isWrapTeleport"])],2)}const pt=W(Hi,[["render",Qi]]);function vi(e,n,o,l,r,i=!0){return{props:{...ue,...pe,...Dn,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}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=we({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=ee.useFoxI18n(n),f=m(a,["placeholder"]),u=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),C=Re(t.computed(()=>a.readonly)),b=Ie(a,"modelValue"),h=t.ref([]),k=t.computed(()=>Array.isArray(h.value)?h.value.join(" "):h.value),d="fox-input-item",p=t.computed(()=>({[d]:!0,[`${d}__disabled`]:g.value})),w=Se(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>({textAlign:w.value??"right"})),S=t.ref(!1),N=()=>{S.value=!0},B=F=>{S.value=F},E=F=>{b.value=F,c("update:modelValue",F,{}),c("change",F,{})},A=F=>{let K=F.target.value;u.value=!0,c("focus",K,F)},T=F=>{setTimeout(()=>{u.value=!1},0);let K=F.target.value;a.maxLength&&K.length>Number(a.maxLength)&&(K=K.slice(0,Number(a.maxLength))),c("blur",K,F)},M=t.computed(()=>({[`${d}__append`]:!0})),H=t.computed(()=>de(a.unit)>0),U=t.computed(()=>de(a.unit)>0&&!u.value),P=t.computed(()=>({hidden:!U.value})),D=F=>{b.value="",c("update:modelValue","",F),c("change","",F),c("clear","")},q=t.computed(()=>a.clearable&&!g.value&&!C.value),I=t.computed(()=>de(b.value)>0&&u.value),L=F=>{I.value?D(F):N()},V=t.computed(()=>I.value&&q.value?"close-little":"arrow-right"),O=t.computed(()=>({action:!0}));return()=>{const F={class:p.value,style:y.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:N,onFocus:A,onBlur:T};i&&(F.disabled=!0);const $=[],K=t.h("input",F);$.push(K);const R=[],j={name:V.value,size:"10px"},Y=t.h(l,j),X={class:O.value,onClick:L},Q=t.h("view",X,{default:()=>[Y]});if(R.push(Q),H.value){const ne=t.h("view",{class:P.value},[a.unit]);R.push(ne)}const v={class:M.value},Z=t.h("view",v,{default:()=>R});$.push(Z);const oe={default:()=>$};if(s.slots.default){const ne=s.slots.default();oe.label=()=>ne}if(s.slots.prepend){const ne=s.slots.prepend();oe.prepend=()=>ne}if(s.slots.append){const ne=s.slots.append();oe.append=()=>ne}const te=ke(a,Dn);te.disabled=!1,te.readonly=g.value||C.value,te.visible=S.value,te["onUpdate:visible"]=B,te.modelValue=b.value,te["onUpdate:modelValue"]=E,te.text=h.value,te["onUpdate:text"]=ne=>{h.value=ne};const ae=t.h(r,te);oe.hide=()=>[ae];const ie=ke(a,pe,ue);return t.h(o,ie,oe)}}}}const{componentName:Gi,create:Zi,scope:Ji}=x("picker-item"),yl=Zi(vi(Gi,Ji,Te,se,pt,!1));let _i={...xe,modelValue:{type:[Array],required:!0},visible:{type:Boolean,required:!0},title:{type:String,required:!1},options:{type:[Array,String],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"},poppable:{type:Boolean,default:!0},convertConfig:{type:Object,required:!1}};const Ut=(e,n,o)=>e.map(l=>{const{value:r="value",text:i="text",children:a="children"}=o??{},{[r]:s,[i]:c,[a]:m,...f}=l,u={loading:!1,...f,level:n?(n&&n.level||0)+1:0,value:s,text:c,children:m,_parent:n};return u.children&&u.children.length&&(u.children=Ut(u.children,u,o)),u}),kl=(e,n)=>{let o=0,l;for(;(l=e[o++])&&n(l)!==!0;)l.children&&l.children.length&&kl(l.children,n)},ec={topId:null,idKey:"id",pidKey:"pid",sortKey:""},tc=(e,n)=>{const o={...ec,...n||{}},{topId:l,idKey:r,pidKey:i,sortKey:a}=o;let s=[],c={};return e.forEach(m=>{m={...m};const{[r]:f,[i]:u}=m,g=c[u]=c[u]||[];!s.length&&u===l&&(s=g),g.push(m),m.children=c[f]||(c[f]=[])}),a&&Object.keys(c).forEach(m=>{c[m].length>1&&c[m].sort((f,u)=>f[a]-u[a])}),c=null,s};class Sl{nodes;config;constructor(n,o){this.config={value:"value",text:"text",children:"children",...o||{}},this.nodes=Ut(n,null,this.config)}updateChildren(n,o){o?o.children=Ut(n,o,this.config):this.nodes=Ut(n,null,this.config)}getNodeByValue(n){let o;return kl(this.nodes,l=>{if(l.value===n)return o=l,!0}),o}getPathNodesByValue(n){if(!n.length)return[];const o=[];let l=this.nodes;for(;l&&l.length;){const r=l.find(i=>i.value===n[i.level]);if(!r)break;o.push(r),l=r.children}return o}isLeaf(n,o){const{leaf:l,children:r}=n,i=Array.isArray(r)&&Boolean(r.length);return l||!i&&!o}hasChildren(n,o){if(this.isLeaf(n,o))return!1;const{children:r}=n;return Array.isArray(r)&&Boolean(r.length)}}const{create:nc,scope:oc}=x("cascaderpane"),lc=nc({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 o=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),l=t.ref(0),r=t.ref(!1),i=t.ref(e.modelValue),a=t.ref(new Sl([],{})),s=t.ref([]),c=t.computed(()=>o.value.lazy&&Boolean(o.value.lazyLoad)),m=new Map;let f;const u=async()=>{m.clear(),s.value=[],l.value=0,r.value=!1,f=null;let{options:d}=e;o.value.convertConfig&&(d=tc(d,o.value.convertConfig)),a.value=new Sl(d,{value:o.value.valueKey,text:o.value.textKey,children:o.value.childrenKey}),c.value&&!a.value.nodes.length&&await C({root:!0,loading:!0,text:"",value:""}),s.value=[{nodes:a.value.nodes,selectedNode:null}],g()},g=async()=>{const d=i.value;if(d===void 0||!a.value.nodes.length)return;if(d.length===0){l.value=0,s.value=[{nodes:a.value.nodes,selectedNode:null}];return}let p=d;if(c.value&&Array.isArray(d)&&d.length){p=[];let w=a.value.nodes.find(y=>y.value===d[0]);if(w){p=[w.value],r.value=!0;const y=await d.slice(1).reduce(async(S,N)=>{const B=await S;await C(B);const E=B?.children?.find(A=>A.value===N);return E&&p.push(N),Promise.resolve(E)},Promise.resolve(w));await C(y),r.value=!1}}p.length&&d===e.modelValue&&a.value.getPathNodesByValue(p).map((y,S)=>{l.value=S,k.handleNode(y,!0)})},C=async d=>{if(!d)return;if(!o.value.lazyLoad){d.leaf=!0;return}if(a.value.isLeaf(d,c.value)||a.value.hasChildren(d,c.value))return;d.loading=!0;const p=d.root?null:d;let w=m.get(d);w||(w=new Promise(S=>{o.value.lazyLoad?.(d,S)}),m.set(d,w));const y=await w;Array.isArray(y)&&y.length>0?a.value.updateChildren(y,p):d.leaf=!0,d.loading=!1,m.delete(d)},b=d=>{const p=d.map(w=>w.value);i.value=p,n("change",p,d),n("update:modelValue",p,d)},{t:h}=ee.useFoxI18n(oc),k={async handleNode(d,p){const{disabled:w,loading:y}=d;if(!(!p&&w||!s.value[l.value])){if(a.value.isLeaf(d,c.value)){if(d.leaf=!0,s.value[l.value].selectedNode=d,s.value=s.value.slice(0,d.level+1),!p){const S=s.value.map(N=>N.selectedNode);b(S),n("pathChange",S)}return}if(a.value.hasChildren(d,c.value)){const S=d.level+1;if(s.value[l.value].selectedNode=d,s.value=s.value.slice(0,S),s.value.push({nodes:d.children||[],selectedNode:null}),l.value=S,!p){const N=s.value.map(B=>B.selectedNode);n("pathChange",N)}return}f=d,!y&&(await C(d),f===d&&(s.value[l.value].selectedNode=d,k.handleNode(d,p)))}},handleTabClick(d){f=null,l.value=Number(d.paneKey)},formatTabTitle(d){return d.selectedNode?d.selectedNode.text:h("select")},isSelected(d,p){return d.selectedNode&&d.selectedNode.value===p.value}};return t.watch([o,()=>e.options],()=>{u()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,d=>{d!==i.value&&(i.value=d,g())}),t.watch(()=>e.visible,d=>{d&&Array.isArray(i.value)&&i.value.length>0&&g()}),{panes:s,initLoading:r,tabsCursor:l,...k}}}),ac={role:"menu",class:"fox-cascader__pane"},rc=["aria-checked","aria-disabled","onClick"],sc={class:"fox-cascader__item__title"},ic=t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1);function cc(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-tabpane"),c=t.resolveComponent("fox-tabs");return t.openBlock(),t.createBlock(c,{class:"fox-cascader",modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=m=>e.tabsCursor=m),onClick:e.handleTabClick,"title-scroll":""},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(m,f)=>(t.openBlock(),t.createBlock(s,{title:e.formatTabTitle(m),key:f},{default:t.withCtx(()=>[t.createElementVNode("view",ac,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.nodes,u=>(t.openBlock(),t.createElementBlock("view",{key:u.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(m,u),disabled:u.disabled}]),"aria-checked":e.isSelected(m,u),"aria-disabled":u.disabled||void 0,role:"menuitemradio",onClick:g=>e.handleNode(u,!1)},[t.createElementVNode("view",sc,t.toDisplayString(u.text),1),u.loading?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(a,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,rc))),128))])]),_:2},1032,["title"]))),128)):(t.openBlock(),t.createBlock(s,{key:1,title:"Loading..."},{default:t.withCtx(()=>[ic]),_:1}))]),_:1},8,["modelValue","onClick"])}const bl=W(lc,[["render",cc]]),{create:dc}=x("cascader"),uc=dc({components:{[bl.name]:bl},props:{..._i},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const o=t.ref(e.modelValue?e.modelValue:[]),l=t.computed({get(){return e.visible},set(a){n("update:visible",a)}}),r=(a,s)=>{o.value=a,l.value=!1,n("change",a,s),n("update:modelValue",a)},i=a=>{n("pathChange",a)};return t.watch(()=>e.modelValue,a=>{a!==o.value&&(a?o.value=a:o.value=[])}),{onChange:r,onPathChange:i,innerValue:o,innerVisible:l}}}),fc=["innerHTML"];function mc(e,n,o,l,r,i){const a=t.resolveComponent("fox-cascaderpane"),s=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(s,{key:0,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:!e.closeable,"close-icon":e.closeIcon,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,fc)):t.createCommentVNode("",!0),t.createVNode(a,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:1},8,["visible","closeable","close-icon","close-icon-position"])):(t.openBlock(),t.createBlock(a,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}const qn=W(uc,[["render",mc]]);function ht(e,n){const o=e.textKey??"text";return n[o]??""}function gt(e,n){const o=e.valueKey??"value";return n[o]}function Cl(e,n){const o=e.childrenKey??"children";return n[o]}function Kt(e,n=[]){const o={texts:[],values:[]};for(let l=0;l<n.length;l++){const r=n[l],i=ht(e,r),a=gt(e,r);o.texts.push(i),o.values.push(a??"")}return o}function wl(e,n,o,l,r=[]){const i=o[l];for(let a=0;a<n.length;a++)if(ht(e,n[a])===i){const c=gt(e,n[a])??"",m={[e.textKey]:i,[e.valueKey]:c};r.push(m);const f=Cl(e,n[a]);Array.isArray(f)&&wl(e,f,o,l+1,r);return}}function Nl(e,n,o,l,r=[]){const i=o[l];for(let a=0;a<n.length;a++)if(gt(e,n[a])===i){const c=ht(e,n[a])??"",m={[e.textKey]:c,[e.valueKey]:i};r.push(m);const f=Cl(e,n[a]);Array.isArray(f)&&Nl(e,f,o,l+1,r);return}}function zn(e,n,o){if(n===o)return!0;if(n.length!==o.length)return!1;for(let l=0;l<n.length;l++){const r=ht(e,n[l]),i=ht(e,o[l]);if(r!==i)return!1;const a=gt(e,n[l]),s=gt(e,o[l]);if(a!==s)return!1}return!0}let pc=class{proxy;constructor(n){this.proxy=n}async load(n,o){const l="cascader";if(Array.isArray(n))return n;if(typeof n=="function")return await n(o);const r=dt(this.proxy,l);return r===null?(console.error(`${l} component not found api function`),[]):(Be(o)&&t.isReactive(o)&&(o=t.toRaw(o)),await r(n,o))}};function hc(){const e=t.getCurrentInstance();return new pc(e.proxy)}function gc(e,n,o,l,r,i=!1){return{props:{...ue,...pe,modelValue:{type:[Array,String]},title:{type:String,required:!1},placeholder:{type:String,required:!1,default:""},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}},emits:["update:modelValue","change","pathChange","blur","focus","clear"],setup(a,s){const{emitEvent:c}=we({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=ee.useFoxI18n(n),f=m(a,["placeholder"]),u=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),C=Re(t.computed(()=>a.readonly)),b=hc(),h=t.ref([]);t.watch([()=>a.source,()=>a.params],async([j,Y])=>{j&&(h.value=await b.load(j,Y))},{immediate:!0});const k=t.ref([]),d=t.computed(()=>Array.isArray(k.value)?k.value.join(" "):k.value),p=t.ref([]),w=t.ref([]);t.watch([()=>a.modelValue],async([j])=>{if(a.lazy===!0){w.value.length==0&&(k.value=Array.isArray(j)?j:[],p.value=Array.isArray(j)?j:[]);return}if(a.valueType==="item"){let Y=j;if(!zn(a,Y,w.value)){w.value=Y;let X=Kt(a,Y);k.value=X.texts,p.value=X.values}}else if(a.valueType==="text"){let Y=j,X=[];if(wl(a,h.value,Y,0,X),!zn(a,X,w.value)){w.value=X;let Q=Kt(a,X);Y.value=Q.texts,p.value=Q.values}}else{let Y=[];if(Nl(a,h.value,j,0,Y),!zn(a,Y,w.value)){w.value=Y;let X=Kt(a,Y);k.value=X.texts,p.value=X.values}}},{immediate:!0});const y="fox-input-item",S=t.computed(()=>({[y]:!0,[`${y}__disabled`]:g.value})),N=Se(t.computed(()=>a.textAlign),"textAlign"),B=t.computed(()=>({textAlign:N.value??"right"})),E=t.ref(!1),A=()=>{g.value===!0||C.value===!0||(E.value=!0)},T=j=>{E.value=j},M=(j,Y)=>{let X=Y.map(v=>{if(v==null)return v;let Z={...v};return Reflect.deleteProperty(Z,"text"),Z[a.textKey]=v.text??"",Reflect.deleteProperty(Z,"value"),Z[a.valueKey]=v.value??"",Z});w.value=X;let Q=Kt(a,X);k.value=Q.texts,p.value=Q.values,a.valueType==="text"?(c("change",k.value,X),c("update:modelValue",k.value)):a.valueType==="item"?(c("change",X,X),c("update:modelValue",X)):(c("change",p.value,X),c("update:modelValue",p.value))},H=j=>{let Y=j.map(X=>{if(X==null)return X;let Q={...X};return Reflect.deleteProperty(Q,"text"),Q[a.textKey]=X.text??"",Reflect.deleteProperty(Q,"value"),Q[a.valueKey]=X.value??"",Q});c("pathChange",Y)},U=j=>{u.value=!0,c("focus",p.value,j)},P=j=>{setTimeout(()=>{u.value=!1},0),c("blur",p.value,j)},D=t.computed(()=>({[`${y}__append`]:!0})),q=t.computed(()=>de(a.unit)>0),I=t.computed(()=>de(a.unit)>0&&!u.value),L=t.computed(()=>({hidden:!I.value})),V=j=>{w.value=[],k.value=[],p.value=[],c("update:modelValue",[],j),c("change",[],j),c("clear",[])},O=t.computed(()=>a.clearable&&!g.value&&!C.value),F=t.computed(()=>{let j=p.value&&p.value.length>0;return a.clearable&&j&&u.value}),$=j=>{F.value?V(j):A()},K=t.computed(()=>F.value&&O.value?"close-little":"arrow-right"),R=t.computed(()=>({action:!0}));return()=>{const j={class:S.value,style:B.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:d.value,onClick:A,onFocus:U,onBlur:P};i&&(j.disabled=!0);const Y=[],X=t.h("input",j);Y.push(X);const Q=[],v={name:K.value,size:"10px"},Z=t.h(l,v),oe={class:R.value,onClick:$},te=t.h("view",oe,{default:()=>[Z]});if(Q.push(te),q.value){const $e=t.h("view",{class:L.value},[a.unit]);Q.push($e)}const ae={class:D.value},ie=t.h("view",ae,{default:()=>Q});Y.push(ie);const me={default:()=>Y};if(s.slots.default){const $e=s.slots.default();me.label=()=>$e}if(s.slots.prepend){const $e=s.slots.prepend();me.prepend=()=>$e}if(s.slots.append){const $e=s.slots.append();me.append=()=>$e}let ne={};ne.visible=E.value,ne["onUpdate:visible"]=T,ne.modelValue=p.value,ne.onChange=M,ne.onPathChange=H,ne.options=h.value,ne.title=a.title,ne.lazy=a.lazy,ne.lazyLoad=a.lazyLoad,ne.valueKey=a.valueKey,ne.textKey=a.textKey,ne.childrenKey=a.childrenKey,ne.convertConfig=a.convertConfig;const vt=t.h(r,ne);me.hide=()=>[vt];const be=ke(a,pe,ue);return t.h(o,be,me)}}}}const{componentName:yc,create:kc,scope:Sc}=x("cascader-item"),Bl=kc(gc(yc,Sc,Te,se,qn,!1));var Le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mn={},bc={get exports(){return Mn},set exports(e){Mn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){var o=1e3,l=6e4,r=36e5,i="millisecond",a="second",s="minute",c="hour",m="day",f="week",u="month",g="quarter",C="year",b="date",h="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={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("_")},w=function(U,P,D){var q=String(U);return!q||q.length>=P?U:""+Array(P+1-q.length).join(D)+U},y={s:w,z:function(U){var P=-U.utcOffset(),D=Math.abs(P),q=Math.floor(D/60),I=D%60;return(P<=0?"+":"-")+w(q,2,"0")+":"+w(I,2,"0")},m:function U(P,D){if(P.date()<D.date())return-U(D,P);var q=12*(D.year()-P.year())+(D.month()-P.month()),I=P.clone().add(q,u),L=D-I<0,V=P.clone().add(q+(L?-1:1),u);return+(-(q+(D-I)/(L?I-V:V-I))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:u,y:C,w:f,d:m,D:b,h:c,m:s,s:a,ms:i,Q:g}[U]||String(U||"").toLowerCase().replace(/s$/,"")},u:function(U){return U===void 0}},S="en",N={};N[S]=p;var B=function(U){return U instanceof M},E=function U(P,D,q){var I;if(!P)return S;if(typeof P=="string"){var L=P.toLowerCase();N[L]&&(I=L),D&&(N[L]=D,I=L);var V=P.split("-");if(!I&&V.length>1)return U(V[0])}else{var O=P.name;N[O]=P,I=O}return!q&&I&&(S=I),I||!q&&S},A=function(U,P){if(B(U))return U.clone();var D=typeof P=="object"?P:{};return D.date=U,D.args=arguments,new M(D)},T=y;T.l=E,T.i=B,T.w=function(U,P){return A(U,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var M=function(){function U(D){this.$L=E(D.locale,null,!0),this.parse(D)}var P=U.prototype;return P.parse=function(D){this.$d=function(q){var I=q.date,L=q.utc;if(I===null)return new Date(NaN);if(T.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var V=I.match(k);if(V){var O=V[2]-1||0,F=(V[7]||"0").substring(0,3);return L?new Date(Date.UTC(V[1],O,V[3]||1,V[4]||0,V[5]||0,V[6]||0,F)):new Date(V[1],O,V[3]||1,V[4]||0,V[5]||0,V[6]||0,F)}}return new Date(I)}(D),this.$x=D.x||{},this.init()},P.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},P.$utils=function(){return T},P.isValid=function(){return this.$d.toString()!==h},P.isSame=function(D,q){var I=A(D);return this.startOf(q)<=I&&I<=this.endOf(q)},P.isAfter=function(D,q){return A(D)<this.startOf(q)},P.isBefore=function(D,q){return this.endOf(q)<A(D)},P.$g=function(D,q,I){return T.u(D)?this[q]:this.set(I,D)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(D,q){var I=this,L=!!T.u(q)||q,V=T.p(D),O=function(Q,v){var Z=T.w(I.$u?Date.UTC(I.$y,v,Q):new Date(I.$y,v,Q),I);return L?Z:Z.endOf(m)},F=function(Q,v){return T.w(I.toDate()[Q].apply(I.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(v)),I)},$=this.$W,K=this.$M,R=this.$D,j="set"+(this.$u?"UTC":"");switch(V){case C:return L?O(1,0):O(31,11);case u:return L?O(1,K):O(0,K+1);case f:var Y=this.$locale().weekStart||0,X=($<Y?$+7:$)-Y;return O(L?R-X:R+(6-X),K);case m:case b:return F(j+"Hours",0);case c:return F(j+"Minutes",1);case s:return F(j+"Seconds",2);case a:return F(j+"Milliseconds",3);default:return this.clone()}},P.endOf=function(D){return this.startOf(D,!1)},P.$set=function(D,q){var I,L=T.p(D),V="set"+(this.$u?"UTC":""),O=(I={},I[m]=V+"Date",I[b]=V+"Date",I[u]=V+"Month",I[C]=V+"FullYear",I[c]=V+"Hours",I[s]=V+"Minutes",I[a]=V+"Seconds",I[i]=V+"Milliseconds",I)[L],F=L===m?this.$D+(q-this.$W):q;if(L===u||L===C){var $=this.clone().set(b,1);$.$d[O](F),$.init(),this.$d=$.set(b,Math.min(this.$D,$.daysInMonth())).$d}else O&&this.$d[O](F);return this.init(),this},P.set=function(D,q){return this.clone().$set(D,q)},P.get=function(D){return this[T.p(D)]()},P.add=function(D,q){var I,L=this;D=Number(D);var V=T.p(q),O=function(K){var R=A(L);return T.w(R.date(R.date()+Math.round(K*D)),L)};if(V===u)return this.set(u,this.$M+D);if(V===C)return this.set(C,this.$y+D);if(V===m)return O(1);if(V===f)return O(7);var F=(I={},I[s]=l,I[c]=r,I[a]=o,I)[V]||1,$=this.$d.getTime()+D*F;return T.w($,this)},P.subtract=function(D,q){return this.add(-1*D,q)},P.format=function(D){var q=this,I=this.$locale();if(!this.isValid())return I.invalidDate||h;var L=D||"YYYY-MM-DDTHH:mm:ssZ",V=T.z(this),O=this.$H,F=this.$m,$=this.$M,K=I.weekdays,R=I.months,j=function(v,Z,oe,te){return v&&(v[Z]||v(q,L))||oe[Z].slice(0,te)},Y=function(v){return T.s(O%12||12,v,"0")},X=I.meridiem||function(v,Z,oe){var te=v<12?"AM":"PM";return oe?te.toLowerCase():te},Q={YY:String(this.$y).slice(-2),YYYY:this.$y,M:$+1,MM:T.s($+1,2,"0"),MMM:j(I.monthsShort,$,R,3),MMMM:j(R,$),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:j(I.weekdaysMin,this.$W,K,2),ddd:j(I.weekdaysShort,this.$W,K,3),dddd:K[this.$W],H:String(O),HH:T.s(O,2,"0"),h:Y(1),hh:Y(2),a:X(O,F,!0),A:X(O,F,!1),m:String(F),mm:T.s(F,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:V};return L.replace(d,function(v,Z){return Z||Q[v]||V.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(D,q,I){var L,V=T.p(q),O=A(D),F=(O.utcOffset()-this.utcOffset())*l,$=this-O,K=T.m(this,O);return K=(L={},L[C]=K/12,L[u]=K,L[g]=K/3,L[f]=($-F)/6048e5,L[m]=($-F)/864e5,L[c]=$/r,L[s]=$/l,L[a]=$/o,L)[V]||$,I?K:T.a(K)},P.daysInMonth=function(){return this.endOf(u).$D},P.$locale=function(){return N[this.$L]},P.locale=function(D,q){if(!D)return this.$L;var I=this.clone(),L=E(D,q,!0);return L&&(I.$L=L),I},P.clone=function(){return T.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},U}(),H=M.prototype;return A.prototype=H,[["$ms",i],["$s",a],["$m",s],["$H",c],["$W",m],["$M",u],["$y",C],["$D",b]].forEach(function(U){H[U[1]]=function(P){return this.$g(P,U[0],U[1])}}),A.extend=function(U,P){return U.$i||(U(P,M,A),U.$i=!0),A},A.locale=E,A.isDayjs=B,A.unix=function(U){return A(1e3*U)},A.en=N[S],A.Ls=N,A.p={},A})})(bc);const ze=Mn;var Pn={},Cc={get exports(){return Pn},set exports(e){Pn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){var o={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},c=function(h){return(h=+h)+(h>68?1900:2e3)},m=function(h){return function(k){this[h]=+k}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=function(k){if(!k||k==="Z")return 0;var d=k.match(/([+-]|\d\d)/g),p=60*d[1]+(+d[2]||0);return p===0?0:d[0]==="+"?-p:p}(h)}],u=function(h){var k=s[h];return k&&(k.indexOf?k:k.s.concat(k.f))},g=function(h,k){var d,p=s.meridiem;if(p){for(var w=1;w<=24;w+=1)if(h.indexOf(p(w,0,k))>-1){d=w>12;break}}else d=h===(k?"pm":"PM");return d},C={A:[a,function(h){this.afternoon=g(h,!1)}],a:[a,function(h){this.afternoon=g(h,!0)}],S:[/\d/,function(h){this.milliseconds=100*+h}],SS:[r,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[i,m("seconds")],ss:[i,m("seconds")],m:[i,m("minutes")],mm:[i,m("minutes")],H:[i,m("hours")],h:[i,m("hours")],HH:[i,m("hours")],hh:[i,m("hours")],D:[i,m("day")],DD:[r,m("day")],Do:[a,function(h){var k=s.ordinal,d=h.match(/\d+/);if(this.day=d[0],k)for(var p=1;p<=31;p+=1)k(p).replace(/\[|\]/g,"")===h&&(this.day=p)}],M:[i,m("month")],MM:[r,m("month")],MMM:[a,function(h){var k=u("months"),d=(u("monthsShort")||k.map(function(p){return p.slice(0,3)})).indexOf(h)+1;if(d<1)throw new Error;this.month=d%12||d}],MMMM:[a,function(h){var k=u("months").indexOf(h)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,m("year")],YY:[r,function(h){this.year=c(h)}],YYYY:[/\d{4}/,m("year")],Z:f,ZZ:f};function b(h){var k,d;k=h,d=s&&s.formats;for(var p=(h=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(A,T,M){var H=M&&M.toUpperCase();return T||d[M]||o[M]||d[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(U,P,D){return P||D.slice(1)})})).match(l),w=p.length,y=0;y<w;y+=1){var S=p[y],N=C[S],B=N&&N[0],E=N&&N[1];p[y]=E?{regex:B,parser:E}:S.replace(/^\[|\]$/g,"")}return function(A){for(var T={},M=0,H=0;M<w;M+=1){var U=p[M];if(typeof U=="string")H+=U.length;else{var P=U.regex,D=U.parser,q=A.slice(H),I=P.exec(q)[0];D.call(T,I),A=A.replace(I,"")}}return function(L){var V=L.afternoon;if(V!==void 0){var O=L.hours;V?O<12&&(L.hours+=12):O===12&&(L.hours=0),delete L.afternoon}}(T),T}}return function(h,k,d){d.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(c=h.parseTwoDigitYear);var p=k.prototype,w=p.parse;p.parse=function(y){var S=y.date,N=y.utc,B=y.args;this.$u=N;var E=B[1];if(typeof E=="string"){var A=B[2]===!0,T=B[3]===!0,M=A||T,H=B[2];T&&(H=B[2]),s=this.$locale(),!A&&H&&(s=d.Ls[H]),this.$d=function(q,I,L){try{if(["x","X"].indexOf(I)>-1)return new Date((I==="X"?1e3:1)*q);var V=b(I)(q),O=V.year,F=V.month,$=V.day,K=V.hours,R=V.minutes,j=V.seconds,Y=V.milliseconds,X=V.zone,Q=new Date,v=$||(O||F?1:Q.getDate()),Z=O||Q.getFullYear(),oe=0;O&&!F||(oe=F>0?F-1:Q.getMonth());var te=K||0,ae=R||0,ie=j||0,me=Y||0;return X?new Date(Date.UTC(Z,oe,v,te,ae,ie,me+60*X.offset*1e3)):L?new Date(Date.UTC(Z,oe,v,te,ae,ie,me)):new Date(Z,oe,v,te,ae,ie,me)}catch{return new Date("")}}(S,E,N),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),M&&S!=this.format(E)&&(this.$d=new Date("")),s={}}else if(E instanceof Array)for(var U=E.length,P=1;P<=U;P+=1){B[1]=E[P-1];var D=d.apply(this,B);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}P===U&&(this.$d=new Date(""))}else w.call(this,y)}}})})(Cc);const wc=Pn;var Rn={},Nc={get exports(){return Rn},set exports(e){Rn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l,r){var i=l.prototype,a=i.format;r.en.ordinal=function(s){var c=["th","st","nd","rd"],m=s%100;return"["+s+(c[(m-20)%10]||c[m]||c[0])+"]"},i.format=function(s){var c=this,m=this.$locale();if(!this.isValid())return a.bind(this)(s);var f=this.$utils(),u=(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(g){switch(g){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return m.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return m.ordinal(c.week(),"W");case"w":case"ww":return f.s(c.week(),g==="w"?1:2,"0");case"W":case"WW":return f.s(c.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return f.s(String(c.$H===0?24:c.$H),g==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return g}});return a.bind(this)(u)}}})})(Nc);const Bc=Rn;var Ln={},Vc={get exports(){return Ln},set exports(e){Ln=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l,r){var i=l.prototype,a=function(u){return u&&(u.indexOf?u:u.s)},s=function(u,g,C,b,h){var k=u.name?u:u.$locale(),d=a(k[g]),p=a(k[C]),w=d||p.map(function(S){return S.slice(0,b)});if(!h)return w;var y=k.weekStart;return w.map(function(S,N){return w[(N+(y||0))%7]})},c=function(){return r.Ls[r.locale()]},m=function(u,g){return u.formats[g]||function(C){return C.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,h,k){return h||k.slice(1)})}(u.formats[g.toUpperCase()])},f=function(){var u=this;return{months:function(g){return g?g.format("MMMM"):s(u,"months")},monthsShort:function(g){return g?g.format("MMM"):s(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):s(u,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):s(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):s(u,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return m(u.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return f.bind(this)()},r.localeData=function(){var u=c();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(g){return m(u,g)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return s(c(),"months")},r.monthsShort=function(){return s(c(),"monthsShort","months",3)},r.weekdays=function(u){return s(c(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return s(c(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return s(c(),"weekdaysMin","weekdays",2,u)}}})})(Vc);const Ac=Ln;var On={},Ec={get exports(){return On},set exports(e){On=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){var o="week",l="year";return function(r,i,a){var s=i.prototype;s.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 f=a(this).startOf(l).add(1,l).date(m),u=a(this).endOf(o);if(f.isBefore(u))return 1}var g=a(this).startOf(l).date(m).startOf(o).subtract(1,"millisecond"),C=this.diff(g,o,!0);return C<0?a(this).startOf("week").week():Math.ceil(C)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Ec);const Tc=On;var Fn={},$c={get exports(){return Fn},set exports(e){Fn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l){l.prototype.weekYear=function(){var r=this.month(),i=this.week(),a=this.year();return i===1&&r===11?a+1:r===0&&i>=52?a-1:a}}})})($c);const Dc=Fn;var xn={},Ic={get exports(){return xn},set exports(e){xn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l,r){l.prototype.dayOfYear=function(i){var a=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return i==null?a:this.add(i-a,"day")}}})})(Ic);const qc=xn;var Un={},zc={get exports(){return Un},set exports(e){Un=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l){l.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})})(zc);const Mc=Un;var Kn={},Pc={get exports(){return Kn},set exports(e){Kn=e}};(function(e,n){(function(o,l){e.exports=l()})(Le,function(){return function(o,l){l.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})})(Pc);const Rc=Kn;ze.extend(Ac),ze.extend(Bc),ze.extend(wc),ze.extend(Tc),ze.extend(Dc),ze.extend(qc),ze.extend(Mc),ze.extend(Rc);const G={format(e,n){return ze(e).format(n)},parser(e,n){return ze(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,o){const r=new Date(e+"/"+n+"/"+o).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][r]},getMonthPreDay(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){n=n||"-";const o=e.getFullYear(),l=this.getNumTwoBit(e.getMonth()+1),r=this.getNumTwoBit(e.getDate());return[o,l,r].join(n)},getDay(e){e=e||0;let n=new Date;const o=e*(1e3*60*60*24);return n=new Date(n.getTime()+o),this.date2Str(n)},compareDate(e,n){let o;typeof e=="string"?o=new Date(e.replace("-","/").replace("-","/")):o=e;let l;return typeof n=="string"?l=new Date(n.replace("-","/").replace("-","/")):l=n,!(o>=l)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let o;typeof e=="string"?o=new Date(e).getTime():o=e.getTime();let l;return typeof n=="string"?l=new Date(n).getTime():l=n,o==l},inScope4Day(e,n,o){const l=new Date(new Date(n).setDate(n.getDate()+o)),r=e.getTime(),i=l.getTime(),a=n.getTime();return i>a?r>=a&&r<=i:r>=i&&r<=a},inScope4Month(e,n,o){const l=new Date(new Date(n).setMonth(n.getMonth()+o)),r=e.getTime(),i=l.getTime(),a=n.getTime();return i>a?r>=a&&r<=i:r>=i&&r<=a}},Vl=new Date().getFullYear(),Hn={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss",["month-day"]:"MM-DD",datehour:"YYYY-MM-DD HH"},Ht=(e,n,o)=>{let l;if(De(n)?l=n:typeof n=="string"&&de(n)>0?l=G.parser(n,o):l=new Date,l.toString()==="Invalid Date")return null;let r=Math.max(l.getTime(),e.minDate.getTime());return r=Math.min(r,e.maxDate.getTime()),new Date(r)},jn=(e,n,o)=>{De(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),G.format(new Date(l),o)};let Wn={modelValue:{type:[String,Date]},confirmText:{type:String,default:""},cancelText:{type:String,default:""},type:{type:String,default:"date"},valueFormat:{type:String},visible:{type:Boolean,default:!1},title:{type:String,default:""},isShowChinese:{type:Boolean,default:!0},minuteStep:{type:Number,default:1},minDate:{type:Date,default:()=>new Date(Vl-10,0,1),validator:De},maxDate:{type:Date,default:()=>new Date(Vl+10,11,31),validator:De},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},isWrapTeleport:{type:Boolean,default:!0}};const{create:Lc,scope:Oc}=x("date-picker"),Fc=Lc({components:{[pt.name]:pt},props:{...Wn},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(Oc),l={day:o("day"),year:o("year"),month:o("month"),hour:o("hour"),minute:o("minute"),seconds:o("seconds")},r=t.ref(!1);t.watch(()=>e.visible,d=>{r.value=d});function i(d,p){return new Date(d,p,0).getDate()}const a=(d,p)=>{const w=e[`${d}Date`],y=w.getFullYear();let S=1,N=1,B=0,E=0;d==="max"&&(S=12,N=i(p.getFullYear(),p.getMonth()+1),B=23,E=59);const A=E;return p.getFullYear()===y&&(S=w.getMonth()+1,p.getMonth()+1===S&&(N=w.getDate(),p.getDate()===N&&(B=w.getHours(),p.getHours()===B&&(E=w.getMinutes())))),{[`${d}Year`]:y,[`${d}Month`]:S,[`${d}Date`]:N,[`${d}Hour`]:B,[`${d}Minute`]:E,[`${d}Seconds`]:A}},s=t.computed(()=>{if(!g.value)return[];const{maxYear:d,maxDate:p,maxMonth:w,maxHour:y,maxMinute:S,maxSeconds:N}=a("max",g.value),{minYear:B,minDate:E,minMonth:A,minHour:T,minMinute:M,minSeconds:H}=a("min",g.value);let U=[{type:"year",range:[B,d]},{type:"month",range:[A,w]},{type:"day",range:[E,p]},{type:"hour",range:[T,y]},{type:"minute",range:[M,S]},{type:"seconds",range:[H,N]}];switch(e.type){case"date":U=U.slice(0,3);break;case"datetime":U=U.slice(0,5);break;case"time":U=U.slice(3,6);break;case"month-day":U=U.slice(1,3);break;case"datehour":U=U.slice(0,4);break}return U}),c=(d,p,w)=>{if(!(p>d))return null;const y=[];for(;d<=p;)e.isShowChinese?y.push({text:d+l[w],value:d}):y.push({text:`${d}`,value:d}),w==="minute"?d+=e.minuteStep:d++;return y},m=t.computed(()=>{let d=[];return s.value.forEach(p=>{let w=c(p.range[0],p.range[1],p.type);w&&d.push(w)}),d}),f=(d,p)=>d==="year"?p.getFullYear():d==="month"?p.getMonth()+1:d==="day"?p.getDate():d==="hour"?p.getHours():d==="minute"?p.getMinutes():d==="seconds"?p.getSeconds():0,u=t.ref(),g=t.ref(null);t.watchEffect(()=>{let d,p=e.modelValue;if(typeof p=="string"?p.length==0?d=new Date:e.valueFormat?d=Ht(e,e.modelValue,e.valueFormat):d=Ht(e,p,Hn[e.type]):De(p)?d=p:d=new Date,!!d&&(!g.value||d.getTime()!==g.value.getTime())){g.value=d;let w=[];s.value.forEach(y=>{let S=f(y.type,d);w.push(S)}),u.value=w}});const C=d=>{if(e.type==="date"){let p=d;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])))}else if(e.type==="datetime"){let p=d;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])),p[3],p[4])}else if(e.type==="datehour"){let p=d;g.value=new Date(p[0],p[1]-1,Math.min(p[2],i(p[0],p[1])),p[3])}else if(e.type==="time"){let p=d,w=g.value??new Date,y=new Date(w.getFullYear(),w.getMonth(),w.getDate(),p[0],p[1],p[2]);g.value=y}else if(e.type==="month-day"){let p=d,w=g.value??new Date,y=new Date(w.getFullYear(),p[0]-1,p[1]);g.value=y}u.value=d};return{columns:m,dateIndexs:u,show:r,onClose:()=>{r.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:d=>{C(d),r.value=!1;let p=g.value??new Date;if(e.valueFormat){let w=jn(e,p,e.valueFormat);n("update:modelValue",w)}else n("update:modelValue",p);n("update:visible",!1),n("confirm",d)},onClear:()=>{n("clear")}}}});function xc(e,n,o,l,r,i){const a=t.resolveComponent("fox-picker");return t.openBlock(),t.createBlock(a,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,isWrapTeleport:e.isWrapTeleport},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onConfirm","onClose","onClear","visible-item-count","three-dimensional","swipe-duration","isWrapTeleport"])}const Yn=W(Fc,[["render",xc]]);function Uc(e){let n=e.format;if(!n){let o=e.type??"date";n=Hn[o]}return n}function Kc(e,n,o,l,r,i=!1){return{props:{...ue,...pe,...Wn,format:{type:String},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=we({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=ee.useFoxI18n(n),f=m(a,["placeholder"]),u=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),C=Re(t.computed(()=>a.readonly)),h=Ie(a,"modelValue",$=>$==null?null:typeof $=="string"?$.length==0?null:a.valueFormat?Ht(a,$,a.valueFormat)??$:Ht(a,$,Hn[a.type])??$:De($)?$:null),k=t.computed(()=>{if(!h.value)return"";const $=Uc(a);return jn(a,h.value,$)}),d="fox-input-item",p=t.computed(()=>({[d]:!0,[`${d}__disabled`]:g.value})),w=Se(t.computed(()=>a.textAlign),"textAlign"),y=t.computed(()=>({textAlign:w.value??"right"})),S=t.ref(!1),N=()=>{S.value=!0},B=()=>{S.value=!1};s.expose({showPicker:N,hidePicker:B});const E=$=>{S.value=$},A=$=>{if(h.value=$,a.valueFormat){let K=jn(a,$,a.valueFormat);c("update:modelValue",K,{}),c("change",K,{})}else c("update:modelValue",$,{}),c("change",$,{})},T=$=>{let R=$.target.value;u.value=!0,c("focus",R,$)},M=$=>{setTimeout(()=>{u.value=!1},0);let R=$.target.value;a.maxLength&&R.length>Number(a.maxLength)&&(R=R.slice(0,Number(a.maxLength))),c("blur",R,$)},H=t.computed(()=>({[`${d}__append`]:!0})),U=t.computed(()=>de(a.unit)>0),P=t.computed(()=>de(a.unit)>0&&!u.value),D=t.computed(()=>({hidden:!P.value})),q=$=>{h.value="",c("update:modelValue","",$),c("change","",$),c("clear",""),B()},I=t.computed(()=>a.clearable&&!g.value&&!C.value),L=t.computed(()=>{let $=de(h.value)>0;return a.clearable&&$&&u.value}),V=$=>{L.value?q($):N()},O=t.computed(()=>L.value&&I.value?"close-little":"date"),F=t.computed(()=>({action:!0}));return()=>{const $={class:p.value,style:y.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:k.value,onClick:N,onFocus:T,onBlur:M};i&&($.disabled=!0);const K=[],R=t.h("input",$);K.push(R);const j=[],Y={name:O.value,size:"10px"},X=t.h(l,Y),Q={class:F.value,onClick:V},v=t.h("view",Q,{default:()=>[X]});if(j.push(v),U.value){const be=t.h("view",{class:D.value},[a.unit]);j.push(be)}const Z={class:H.value},oe=t.h("view",Z,{default:()=>j});K.push(oe);const te={default:()=>K};if(s.slots.default){const be=s.slots.default();te.label=()=>be}if(s.slots.prepend){const be=s.slots.prepend();te.prepend=()=>be}if(s.slots.append){const be=s.slots.append();te.append=()=>be}const ae=ke(a,Wn);ae.valueFormat=null,ae.disabled=!1,ae.readonly=g.value||C.value,ae.visible=S.value,ae["onUpdate:visible"]=E,ae.modelValue=h.value,ae["onUpdate:modelValue"]=A,ae.onClear=q;const ie={};if(s.slots.top){const be=s.slots.top();ie.top=()=>be}if(s.slots.bottom){const be=s.slots.bottom();ie.default=()=>be}const me=t.h(r,ae,ie);te.hide=()=>[me];const ne=ke(a,pe,ue);return t.h(o,ne,te)}}}}const{create:Hc,componentName:jc,scope:Wc}=x("date-item"),Al=Hc(Kc(jc,Wc,Te,se,Yn,!1)),{create:Yc,scope:Xc}=x("calendar-pane"),Qc=Yc({props:{type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:null},startDate:{type:String,default:G.getDay(0)},endDate:{type:String,default:G.getDay(365)}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:o}){const{localeArrayRef:l,toLocaleRefs:r,t:i}=ee.useFoxI18n(Xc),a=l("weekdays"),s=r(e,["title","confirmText","startText","endText"]),c=t.ref(null),m=t.ref(null),f=t.ref(null),u=t.ref(null),g=t.ref(0),C=t.computed(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),b=t.computed(()=>o.btn),h=t.computed(()=>o.topInfo),k=t.computed(()=>o.bottomInfo),d=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:"calendar-month-day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,avgHeight:0,monthsNum:0}),p=$=>$.split("-"),w=$=>G.isEqual(d.currDate[0],$),y=$=>G.isEqual(d.currDate[1],$),S=($,K,R)=>K.curData[0]+"-"+K.curData[1]+"-"+G.getNumTwoBit(+$.day),N=($,K,R)=>{const j=S($,K);return $.type=="curr"?!d.isRange&&G.isEqual(d.currDate,j)||d.isRange&&(w(j)||y(j))?`${d.dayPrefix}-active`:d.propStartDate&&G.compareDate(j,d.propStartDate)||d.propEndDate&&G.compareDate(d.propEndDate,j)?`${d.dayPrefix}-disabled`:d.isRange&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&G.compareDate(d.currDate[0],j)&&G.compareDate(j,d.currDate[1])?`${d.dayPrefix}-choose`:null:`${d.dayPrefix}-disabled`},B=()=>{(d.isRange&&d.chooseData.length==2||!d.isRange)&&(n("choose",d.chooseData),e.poppable&&n("update"))},E=($,K,R,j)=>{if(N($,K)!=`${d.dayPrefix}-disabled`){let Y=[...K.curData];Y[2]=typeof $.day=="number"?G.getNumTwoBit($.day):$.day,Y[3]=`${Y[0]}-${Y[1]}-${Y[2]}`,Y[4]=G.getWhatDay(+Y[0],+Y[1],+Y[2]),d.isRange?(Object.values(d.currDate).length==2?d.currDate=[Y[3]]:G.compareDate(d.currDate[0],Y[3])?Array.isArray(d.currDate)&&d.currDate.push(Y[3]):Array.isArray(d.currDate)&&d.currDate.unshift(Y[3]),d.chooseData.length==2||!d.chooseData.length?d.chooseData=[...Y]:G.compareDate(d.chooseData[3],Y[3])?d.chooseData=[[...d.chooseData],[...Y]]:d.chooseData=[[...Y],[...d.chooseData]]):(d.currDate=Y[3],d.chooseData=[...Y]),R||(n("select",d.chooseData),e.isAutoBackFill&&B())}},A=$=>{const K=$=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let R=parseInt(K.curData[0]),j=parseInt(K.curData[1].toString().replace(/^0/,""));switch($){case"prev":j==1&&(R-=1),j=j==1?12:--j;break;case"next":j==12&&(R+=1),j=j==12?1:++j;break}return[R,G.getNumTwoBit(j),G.getMonthDays(String(R),String(j))]},T=($,K,R)=>{let{year:j,month:Y}=R;return K=="prev"&&$>=7&&($-=7),Array.from(Array($),(X,Q)=>({day:Q+1,type:K,year:j,month:Y}))},M=($,K,R,j)=>{let{year:Y,month:X}=R;return K=="prev"&&$>=7&&($-=7),Array.from(Array(j),(v,Z)=>({day:Z+1,type:K,year:Y,month:X})).slice(j-$)},H=($,K)=>{const R=G.getMonthPreDay(+$[0],+$[1]);let j=$[1]-1,Y=$[0];j<=0&&(j=12,Y+=1);const X=G.getMonthDays($[0],$[1]),Q=G.getMonthDays(Y+"",j+""),v={year:$[0],month:$[1]},Z={curData:$,title:i("monthTitle",{year:v.year,month:v.month}),monthData:[...M(R,"prev",{month:j,year:Y},Q),...T(X,"curr",v)]};Z.cssHeight=39+(Z.monthData.length>35?384:320);let oe=0;d.monthsData.length>0&&(oe=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),Z.cssScrollHeight=oe,K=="next"?(!d.endData||!G.compareDate(`${d.endData[0]}-${d.endData[1]}-${G.getMonthDays(d.endData[0],d.endData[1])}`,`${$[0]}-${$[1]}-${$[2]}`))&&d.monthsData.push(Z):!d.startData||!G.compareDate(`${$[0]}-${$[1]}-${$[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(Z):d.unLoadPrev=!0},U=()=>{let $=e.startDate?e.startDate:G.getDay(0),K=e.endDate?e.endDate:G.getDay(365);d.propStartDate=$,d.propEndDate=K,d.startData=p($),d.endData=p(K),!e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length<=0?d.currDate=d.isRange?[G.date2Str(new Date),G.getDay(1)]:G.date2Str(new Date):d.currDate=d.isRange?[...e.defaultValue]:e.defaultValue;const R={year:Number(d.startData[0]),month:Number(d.startData[1])},j={year:Number(d.endData[0]),month:Number(d.endData[1])};let Y=j.month-R.month;j.year-R.year>0&&(Y=Y+12*(j.year-R.year)),H(d.startData,"next");let X=1;do H(A("next"),"next");while(X++<Y);d.monthsNum=Y,d.isRange&&Array.isArray(d.currDate)?($&&G.compareDate(d.currDate[0],$)&&d.currDate.splice(0,1,$),K&&G.compareDate(K,d.currDate[1])&&d.currDate.splice(1,1,K),d.defaultData=[...p(d.currDate[0]),...p(d.currDate[1])]):($&&G.compareDate(d.currDate,$)?d.currDate=$:K&&!G.compareDate(d.currDate,K)&&(d.currDate=K),d.defaultData=[...p(d.currDate)]);let Q=0,v=0;d.monthsData.forEach((te,ae)=>{let ie=i("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]});te.title==ie&&(Q=ae),d.isRange&&(ie=i("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]}),te.title==ie&&(v=ae))}),P(Y,Q),d.currentIndex=Q,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.isRange?(E({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),E({day:d.defaultData[5],type:"curr"},d.monthsData[v],!0)):E({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0);let Z=d.monthsData[d.monthsData.length-1],oe=Z.cssHeight+Z.cssScrollHeight;Ke(()=>{c?.value&&m?.value&&u?.value&&(g.value=c.value.clientHeight,m.value.style.height=`${oe}px`,c.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(oe/(Y+1))},P=($,K)=>{$>=3?K>0&&K<$?d.defaultRange=[K-1,K+3]:K==0?d.defaultRange=[K,K+4]:K==$&&(d.defaultRange=[K-2,K+2]):d.defaultRange=[0,$+2];let R=d.monthsData[d.defaultRange[0]].cssScrollHeight;d.translateY=R},D=($,K)=>d.isRange&&$.type=="curr"&&N($,K)=="calendar-month-day-active",q=($,K)=>D($,K)&&w(S($,K)),I=($,K)=>d.currDate.length>=2&&y(S($,K))?D($,K):!1,L=($,K)=>{if(d.currDate.length>=2)return G.isEqual(d.currDate[0],d.currDate[1])},V=$=>{const K=`${$.year}-${$.month}-${$.day<10?"0"+$.day:$.day}`;return G.isEqual(K,G.date2Str(new Date))},O=$=>{const K=$.target.scrollTop;let R=Math.floor(K/d.avgHeight);if(R==0)K>=d.monthsData[R+1].cssScrollHeight&&(R+=1);else if(R>0&&R<d.monthsNum-1)K>=d.monthsData[R+1].cssScrollHeight&&(R+=1),K<d.monthsData[R].cssScrollHeight&&(R-=1);else{const j=Math.round(K+g.value);j<d.monthsData[R].cssScrollHeight+d.monthsData[R].cssHeight&&K>d.monthsData[R-1].cssScrollHeight&&(R-=1),R+1<=d.monthsNum&&j>=d.monthsData[R+1].cssScrollHeight+d.monthsData[R+1].cssHeight&&(R+=1),K<d.monthsData[R-1].cssScrollHeight&&(R-=1)}d.currentIndex!==R&&(d.currentIndex=R,P(d.monthsNum,R)),d.yearMonthTitle=d.monthsData[R].title},F=()=>{d.chooseData.splice(0),d.monthsData.splice(0),U()};return U(),t.watch(()=>e.defaultValue,$=>{$&&e.poppable&&F()}),{weeks:a,compConthsData:C,showTopBtn:b,topInfo:h,bottomInfo:k,rangeTip:L,mothsViewScroll:O,getClass:N,isStartTip:q,isEndTip:I,chooseDay:E,isCurrDay:V,confirm:B,monthsPanel:m,months:c,weeksPanel:f,viewArea:u,...t.toRefs(d),...t.toRefs(e),...s}}}),vc={key:0,class:"calendar-title"},Gc={key:1,class:"calendar-top-slot"},Zc={key:2,class:"calendar-curr-month"},Jc={class:"calendar-weeks",ref:"weeksPanel"},_c={class:"calendar-months-panel",ref:"monthsPanel"},ed={class:"calendar-month-title"},td={class:"calendar-month-con"},nd=["onClick"],od={class:"calendar-day"},ld={key:0,class:"calendar-curr-tips calendar-curr-tips-top"},ad={key:1,class:"calendar-curr-tips calendar-curr-tips-bottom"},rd={key:2,class:"calendar-curr-tip-curr"},sd={key:4,class:"calendar-day-tip"},id={key:0,class:"fox-calendar-footer"};function cd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar fox-calendar-taro",{"fox-calendar-tile":!e.poppable,"fox-calendar-nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar-header",{"fox-calendar-header-tile":!e.poppable}])},[e.showTitle?(t.openBlock(),t.createElementBlock("view",vc,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Gc,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Zc,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Jc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-week-item",key:s},t.toDisplayString(a),1))),128))],512)],2),t.createElementVNode("view",{class:"fox-calendar-content",ref:"months",onScroll:n[0]||(n[0]=(...a)=>e.mothsViewScroll&&e.mothsViewScroll(...a))},[t.createElementVNode("view",_c,[t.createElementVNode("view",{class:"viewArea",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"calendar-month",key:s},[t.createElementVNode("view",ed,t.toDisplayString(a.title),1),t.createElementVNode("view",td,[t.createElementVNode("view",{class:t.normalizeClass(["calendar-month-item",e.type==="range"?"month-item-range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.monthData,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["calendar-month-day",e.getClass(c,a)]),onClick:f=>e.chooseDay(c,a)},[t.createElementVNode("view",od,[t.renderSlot(e.$slots,"day",{date:c.type=="curr"?c:""},()=>[t.createTextVNode(t.toDisplayString(c.type=="curr"?c.day:""),1)])]),e.topInfo?(t.openBlock(),t.createElementBlock("view",ld,[t.renderSlot(e.$slots,"topInfo",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",ad,[t.renderSlot(e.$slots,"bottomInfo",{date:c.type=="curr"?c:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(c)?(t.openBlock(),t.createElementBlock("view",rd," 今天 ")):t.createCommentVNode("",!0),e.isStartTip(c,a)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["calendar-day-tip",{"calendar-curr-tips-top":e.rangeTip(c,a)}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(c,a)?(t.openBlock(),t.createElementBlock("view",sd,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],10,nd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",id,[t.createElementVNode("view",{class:"calendar-confirm-btn",onClick:n[1]||(n[1]=(...a)=>e.confirm&&e.confirm(...a))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const El=W(Qc,[["render",cd]]),yt=e=>typeof e=="string"?e:De(e)?G.date2Str(e):"",Tl=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},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Date,Array],default:null},startDate:{type:[String,Date],default:G.getDay(0)},endDate:{type:[String,Date],default:G.getDay(365)}},{create:dd}=x("calendar"),ud=dd({components:{[El.name]:El},props:{...Xn},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:o}){const l=t.computed(()=>e.type==="range"),r=t.computed(()=>{let p;if(Tl(e.defaultValue))p=l.value?[G.date2Str(new Date),G.getDay(1)]:G.date2Str(new Date);else if(l.value)if(Array.isArray(e.defaultValue)&&e.defaultValue.length==2){let w=yt(e.defaultValue[0]),y=yt(e.defaultValue[1]);p=[w,y]}else p=[G.date2Str(new Date),G.getDay(1)];else{let w=Array.isArray(e.defaultValue)?e.defaultValue[0]:e.defaultValue;p=yt(w??new Date)}return p}),i=t.computed(()=>yt(e.startDate)),a=t.computed(()=>yt(e.endDate)),s=t.computed(()=>o.btn),c=t.computed(()=>o.topInfo),m=t.computed(()=>o.day),f=t.computed(()=>o.bottomInfo);let u=t.ref(e.visible);const g=t.ref(null),C=()=>{u.value=!1,n("update:visible",!1)},b=()=>{u.value=!1,n("close"),n("update:visible",!1)},h=p=>{b(),n("choose",p)},k=()=>{b()},d=p=>{n("select",p)};return t.watch(()=>e.visible,p=>{u.value=p}),{defaultValue:r,startDateStr:i,endDateStr:a,closePopup:k,update:C,close:b,choose:h,select:d,calendarRef:g,showTopBtn:s,topInfo:c,dayInfo:m,bottomInfo:f}}});function fd(e,n,o,l,r,i){const a=t.resolveComponent("fox-calendar-pane"),s=t.resolveComponent("fox-popup");return e.poppable?(t.openBlock(),t.createBlock(s,{key:0,visible:e.visible,position:"bottom",round:"",closeable:!0,onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,"destroy-on-close":!0,style:{height:"85vh"}},{default:t.withCtx(()=>[e.visible?(t.openBlock(),t.createBlock(a,{key:0,props:"",ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"show-today":e.showToday,"start-date":e.startDateStr,"end-date":e.endDateStr,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"topInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"topInfo",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottomInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottomInfo",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","show-today","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title"])):t.createCommentVNode("",!0)]),_:3},8,["visible","onClickOverlay","onClickCloseIcon"])):(t.openBlock(),t.createBlock(a,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDateStr,"end-date":e.endDateStr,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"day",{date:c.date})]),key:"1"}:void 0,e.topInfo?{name:"topInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"topInfo",{date:c.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottomInfo",fn:t.withCtx(c=>[t.renderSlot(e.$slots,"bottomInfo",{date:c.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onClose","onChoose","onSelect","show-title","show-sub-title"]))}const Qn=W(ud,[["render",fd]]),vn=(e,n)=>{let o;return De(e)?o=e:typeof e=="string"&&de(e)>0?o=G.parser(e,n):o=new Date,o},Je=(e,n,o)=>(De(n)||(n=new Date),G.format(n,o)),_e=e=>{let n=`${e.getFullYear()}`,o=`${e.getMonth()+1}`,l=`${e.getDate()}`,r=G.date2Str(e),i=G.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,o,l,r,i]};function md(e,n,o,l,r,i=!1){return{props:{...ue,...pe,...Xn,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:String,default:"-"},valueFormat:{type:String,default:"YYYY-MM-DD"},format:{type:String,default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}},emits:["change","update:modelValue","blur","focus","clear"],setup(a,s){const{emitEvent:c}=we({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},a.prop??s.attrs.name),{toLocaleRefs:m}=ee.useFoxI18n(n),f=m(a,["placeholder"]),u=t.ref(!1),g=Ee(t.computed(()=>a.disabled)),C=Re(t.computed(()=>a.readonly)),b=t.computed(()=>a.type==="range"),h=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),k=()=>{h.startDate!==null&&(h.startDate=null,h.endDate=null,h.startArray=[],h.endArray=[])},d=(R,j="one",Y="YYYY-MM-DD")=>{if(Tl(R)){k();return}if(b.value&&Array.isArray(R)&&R.length==2){let X,Q;typeof R[0]=="string"?(X=vn(R[0],Y),Q=vn(R[1],Y)):(X=R[0],Q=R[1]);let v=_e(X),Z=_e(Q);(h.startDate===null||h.startDate.getTime()!==X.getTime()||h.endDate?.getTime()!==Q.getTime())&&(h.startDate=X,h.startArray=v,h.endDate=Q,h.endArray=Z)}else{let X;typeof R=="string"?X=vn(R,Y):X=R;let Q=_e(X);(h.startDate===null||h.startDate.getTime()!==X.getTime())&&(h.startDate=X,h.startArray=Q)}};d(a.modelValue,a.type,a.valueFormat),t.watch(()=>a.modelValue,R=>{d(R,a.type,a.valueFormat)});const p=t.computed(()=>{if(h.startDate===null)return"";if(b.value){let R=Je(a,h.startDate,a.format),j=Je(a,h.endDate,a.format);return`${R} ${a.rangeSeparator} ${j}`}else{let R=Je(a,h.startDate,a.format);return a.showWeek&&(R=`${R} ${h.startArray[4]}`),R}}),w=t.computed(()=>{if(h.startDate===null)return null;if(b.value){let R=G.date2Str(h.startDate),j=G.date2Str(h.endDate??new Date);return[R,j]}else return G.date2Str(h.startDate)}),y="fox-input-item",S=t.computed(()=>({[y]:!0,[`${y}__disabled`]:g.value})),N=Se(t.computed(()=>a.textAlign),"textAlign"),B=t.computed(()=>({textAlign:N.value??"right"})),E=t.ref(!1),A=()=>{C.value||g.value||(E.value=!0)},T=R=>{E.value=R},M=R=>{if(R){if(b.value&&Array.isArray(R)){let j=R[0],Y=le(j[0]),X=le(j[1]),Q=le(j[2]),v=new Date(Y,X-1,Q),Z=R[1];Y=le(Z[0]),X=le(Z[1]),Q=le(Z[2]);let oe=new Date(Y,X-1,Q);if(h.startDate=v,h.startArray=_e(v),h.endDate=oe,h.endArray=_e(oe),a.valueFormat){let te=Je(a,v,a.valueFormat),ae=Je(a,oe,a.valueFormat);c("update:modelValue",[te,ae],{})}else c("update:modelValue",[v,oe],{})}else{let j=R,Y=le(j[0]),X=le(j[1]),Q=le(j[2]),v=new Date(Y,X-1,Q);if(h.startDate=v,h.startArray=_e(v),a.valueFormat){let Z=Je(a,v,a.valueFormat);c("update:modelValue",Z,{})}else c("update:modelValue",v,{})}c("change",R,{})}},H=R=>{let Y=R.target.value;u.value=!0,c("focus",Y,R)},U=R=>{setTimeout(()=>{u.value=!1},0);let Y=R.target.value;a.maxLength&&Y.length>Number(a.maxLength)&&(Y=Y.slice(0,Number(a.maxLength))),c("blur",Y,R)},P=t.computed(()=>({[`${y}__append`]:!0})),D=t.computed(()=>de(a.unit)>0),q=t.computed(()=>de(a.unit)>0&&!u.value),I=t.computed(()=>({hidden:!q.value})),L=R=>{k(),c("update:modelValue",null,R),c("change","",R),c("clear","")},V=t.computed(()=>a.clearable&&!g.value&&!C.value),O=t.computed(()=>{let R=de(p.value)>0;return a.clearable&&R&&u.value}),F=R=>{O.value?L(R):A()},$=t.computed(()=>O.value&&V.value?"close-little":"date"),K=t.computed(()=>({action:!0}));return()=>{const R={class:S.value,style:B.value,type:"text",maxlength:a.maxLength,placeholder:f.placeholder.value,readonly:!0,unselectable:"on",value:p.value,onClick:A,onFocus:H,onBlur:U};i&&(R.disabled=!0);const j=[],Y=t.h("input",R);j.push(Y);const X=[],Q={name:$.value,size:"10px"},v=t.h(r,Q),Z={class:K.value,onClick:F},oe=t.h("view",Z,{default:()=>[v]});if(X.push(oe),D.value){const $e=t.h("view",{class:I.value},[a.unit]);X.push($e)}const te={class:P.value},ae=t.h("view",te,{default:()=>X});j.push(ae);const ie={default:()=>j};s.slots.default&&(ie.label=s.slots.default),s.slots.prepend&&(ie.prepend=s.slots.prepend),s.slots.append&&(ie.append=s.slots.append);const me=ke(a,Xn);me.visible=E.value,me["onUpdate:visible"]=T,me["default-value"]=w.value,me.onChoose=M;const ne={};if(s.slots.btn){const $e=s.slots.btn();ne.btn=()=>$e}s.slots.day&&(ne.day=s.slots.day),s.slots.topInfo&&(ne.topInfo=s.slots.topInfo),s.slots.bottomInfo&&(ne.bottomInfo=s.slots.bottomInfo);const vt=t.h(o,me,ne);ie.hide=()=>[vt];const be=ke(a,pe,ue);return t.h(l,be,ie)}}}}const{componentName:pd,create:hd,scope:gd}=x("calendar-item"),$l=hd(md(pd,gd,Qn,Te,se,!1)),Gn={justify:{type:String,default:"space-between"},align:{type:String,default:"flex-start"},wrap:{type:String,default:"nowrap"},labelWidth:{type:[String,Number]},labelPosition:{type:String},position:{type:String,default:"left"},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},iconName:{type:String,required:!1,default:"check-normal"},iconActiveName:{type:String,required:!1,default:"check-checked"},iconSize:{type:[String,Number],required:!1,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"}};function yd(e,n){return{props:{...Gn,modelValue:{type:[String,Number,Boolean,Object],required:!1},value:{type:[String,Number,Boolean,Object],required:!1}},emits:["click","update:modelValue"],setup(o,l){const r=(k,d)=>`${e}__${k}-${d}`,i=t.computed(()=>`
|
|
6
|
-
${r("justify",o.justify)}
|
|
7
|
-
${r("align",o.align)}
|
|
8
|
-
${r("flex",o.wrap)}
|
|
9
|
-
${e}
|
|
10
|
-
`);let a=t.inject("parent",null);const s=t.computed(()=>a===null?o.value===void 0||o.value===null?!1:Ve(o.value,o.modelValue):a.currentValue===null?!1:Ve(a.currentValue,o.value)),c=t.computed(()=>a&&a.disabled||o.disabled),m=t.computed(()=>c.value?"fox-radio__icon--disable":s.value?"fox-radio__icon":"fox-radio__icon--unchecked"),f=()=>{const{iconName:k,iconSize:d,iconActiveName:p,iconClassPrefix:w,iconFontClassName:y}=t.toRefs(o);return t.h(n,{name:s.value?p.value:k.value,size:d.value,class:m.value,classPrefix:w.value,fontClassName:y.value})},u=t.computed(()=>{let k={[`${e}__label`]:!0,[`${e}__label--disabled`]:c.value};return o.labelPosition&&(o.labelPosition==="top"?k[`${e}__label--top`]=!0:o.labelPosition==="right"?k[`${e}__label--right`]=!0:k[`${e}__label--left`]=!0),k}),g=t.computed(()=>o.labelWidth?{width:J(o.labelWidth)}:{}),C=()=>t.h("view",{class:u.value,style:g.value},l.slots.default?.()),b=k=>{s.value||c.value||(a&&a.updateValue(o.value),l.emit("update:modelValue",o.value),l.emit("click",o.value,k))},h=()=>t.h("view",{class:`${e}__button ${s.value&&`${e}__button--active`} ${o.disabled?`${e}__button--disabled`:""}`},l.slots.default?.());return()=>{let k=[];return o.shape==="button"?k=[h()]:o.position==="left"?k=[C(),f()]:k=[f(),C()],t.h("view",{class:i.value,onClick:b},{default:()=>k})}}}}const{componentName:kd,create:Sd}=x("radio"),Zn=Sd(yd(kd,se));function Dl(e,n,o,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(jt(e,i)===o)return r}else if(l==="item"){if(Ve(o,i))return r}else if(kt(e,i)===o)return r}return-1}function jt(e,n){return typeof e.textName=="string"&&e.textName.length>0?n[e.textName]:n.text}function kt(e,n){return typeof e.valueName=="string"&&e.valueName.length>0?n[e.valueName]:n.value}function bd(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}let Cd=class{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);let r=dt(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Be(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l))}};function wd(){const e=t.getCurrentInstance();return new Cd(e.proxy)}function Nd(e,n){return{props:{...Gn,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textName:{type:String,required:!1,default:"text"},valueName:{type:String,required:!1,default:"value"},itemOptions:{type:[Object,Function],required:!1},column:{type:[String,Number],required:!1,default:1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},disabled:{type:[String,Boolean],required:!1},modelValue:{type:[Number,String,Boolean,Object],default:""}},emits:["change","update:modelValue"],setup(o,l){const{emitEvent:r}=we({componentName:e},o.prop??l.attrs.name),i=Me(),a=Ge(),s=Se(t.toRef(o,"labelPosition"),"labelPosition",We.Near),c=Se(t.toRef(o,"labelWidth"),"labelWidth",We.Near),m=t.computed(()=>{if(a&&i){const y=Ye(i,!1);if(y.value.type!=="flex")return{};const S={},N=fe(y.value.column,o.span);N>0&&(S.width=`${N}%`);const B=fe(y.value.column,o.offset);B>0&&(S["margin-left"]=`${B}%`);const E=y.value.gutter/2;return E>0&&(S["padding-left"]=`${E}px`,S["padding-right"]=`${E}px`),S}return{}});let f=wd(),u=t.ref([]);t.watchEffect(async()=>{o.source&&(u.value=await f.load("radio",o.source,o.params))});let g=t.ref(-1);t.watch([()=>o.modelValue,()=>u.value],async([y,S])=>{g.value=Dl(o,S,y,o.valueType)},{deep:!0});const C=Ee(t.computed(()=>o.disabled)),b=t.computed(()=>{if(!o.source)return o.modelValue;if(g.value===-1)return null;let y=u.value[g.value];return kt(o,y)}),h=y=>{let S=null,N=null;if(u.value.length>0){let B=Dl(o,u.value,y,"value");g.value=B,B>=0&&(N=u.value[B],o.valueType==="text"?S=jt(o,N):o.valueType==="item"?S=N:S=kt(o,N))}else S=y;r("update:modelValue",S),r("change",S,N)},k=t.computed(()=>{let y=o.column;y<0&&(y=1);let S=100/y;return S<0&&(S=100),`${S}%`}),d=t.readonly({disabled:C,currentValue:b,updateValue:h}),p=()=>{let y=null,S=null;if(u.value.length>0&&g.value!==-1){let N=u.value[g.value];o.valueType==="text"?y=jt(o,N):o.valueType==="item"?y=N:y=kt(o,N)}r("update:modelValue",y),r("change",y,S)},w={clear(){g.value!==-1&&(g.value=-1,p())}};return l.expose(w),t.provide("parent",d),o.source?()=>{let y=[];return u.value.forEach((S,N)=>{let B=jt(o,S),E=kt(o,S),A=ke(o,Gn);Object.assign(A,{style:{width:k.value},labelWidth:c.value,labelPosition:s.value,value:E});let T=bd(o,S,N);A={...A,...T};let M;if(l.slots.label){let H=l.slots.label?.({text:B,index:N});M=t.h(n,A,{default:()=>[H]})}else M=t.h(n,A,{default:()=>[B]});y.push(M)}),t.h("view",{class:`${e}`,style:m.value},{default:()=>y})}:()=>t.h("view",{class:`${e}`,style:m.value},l.slots.default?.())}}}const{componentName:Bd,create:Vd}=x("radio-item"),Il=Vd(Nd(Bd,Zn)),Jn={justify:{type:String,default:"space-between"},align:{type:String,default:"flex-start"},wrap:{type:String,default:"nowrap"},labelWidth:{type:[String,Number]},labelPosition:{type:String},position:{type:String,default:"left"},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},iconName:{type:String,required:!1,default:"check-normal"},iconActiveName:{type:String,required:!1,default:"checked"},iconIndeterminateName:{type:String,default:"check-disabled"},iconSize:{type:[String,Number],required:!1,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"},indeterminate:{type:Boolean,default:!1}},Ad=(e,n)=>({props:{...Jn,modelValue:{type:[String,Number,Boolean,Object],required:!1},value:{type:[String,Number,Boolean,Object],required:!1},disabled:{type:Boolean,default:!1}},emits:["click","update:modelValue","change"],setup(o,l){const r=(p,w)=>`${e}__${p}-${w}`,i=t.computed(()=>`
|
|
11
|
-
${r("justify",o.justify)}
|
|
12
|
-
${r("align",o.align)}
|
|
13
|
-
${r("flex",o.wrap)}
|
|
14
|
-
${e}
|
|
15
|
-
`);let a=t.inject("parent",null);const s=t.computed(()=>a===null?o.value===void 0||o.value===null?!1:Ve(o.value,o.modelValue):a.currentValue===null?!1:To(o.value,a.currentValue)!==-1),c=t.computed(()=>a&&a.disabled||o.disabled),m=t.computed(()=>c.value?"fox-checkbox__icon--disable":s.value?o.indeterminate?"fox-checkbox__icon--indeterminate":"fox-checkbox__icon":"fox-checkbox__icon--unchecked"),f=()=>{const{iconName:p,iconSize:w,iconActiveName:y,iconClassPrefix:S,iconFontClassName:N,iconIndeterminateName:B}=t.toRefs(o);return t.h(n,{name:s.value?o.indeterminate?B.value:y.value:p.value,size:w.value,class:m.value,classPrefix:S.value,fontClassName:N.value})},u=t.computed(()=>{let p={[`${e}__label`]:!0,[`${e}__label--disabled`]:c.value};return o.labelPosition&&(o.labelPosition==="top"?p[`${e}__label--top`]=!0:o.labelPosition==="right"?p[`${e}__label--right`]=!0:p[`${e}__label--left`]=!0),p}),g=t.computed(()=>o.labelWidth?{width:J(o.labelWidth)}:{}),C=()=>t.h("view",{class:u.value,style:g.value},l.slots.default?.());let b="";const h=p=>{if(c.value)return;a&&a.updateValue(o.value),b="click";let w=s.value?null:o.value;l.emit("update:modelValue",w),l.emit("click",w,p)};t.watch(()=>o.modelValue,p=>{b=="click"?b="":l.emit("change",p)});const k={toggle(){if(c.value)return;a&&a.updateValue(o.value);let p=s.value?null:o.value;l.emit("update:modelValue",p)},select(){if(c.value||s.value)return;a&&a.updateValue(o.value);let p=o.value;l.emit("update:modelValue",p)},clear(){c.value||s.value||(a&&a.updateValue(o.value),l.emit("update:modelValue",null))}};l.expose(k);const d=()=>t.h("view",{class:`${e}__button ${s.value&&`${e}__button--active`} ${o.disabled?`${e}__button--disabled`:""}`},l.slots.default?.());return()=>{let p=[];return o.shape==="button"?p=[d()]:o.position==="left"?p=[C(),f()]:p=[f(),C()],t.h("view",{class:i.value,onClick:h},{default:()=>p})}}}),{componentName:Ed,create:Td}=x("checkbox"),_n=Td(Ad(Ed,se));function ql(e,n,o,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(Wt(e,i)===o)return r}else if(l==="item"){if(Ve(o,i))return r}else if(St(e,i)===o)return r}return-1}function Wt(e,n){return typeof e.textName=="string"&&e.textName.length>0?n[e.textName]:n.text}function St(e,n){return typeof e.valueName=="string"&&e.valueName.length>0?n[e.valueName]:n.value}function $d(e,n,o){return typeof e.itemOptions=="function"?e.itemOptions(n,o):e.itemOptions}class Dd{proxy;constructor(n){this.proxy=n}async load(n,o,l){if(Array.isArray(o))return o;if(typeof o=="function")return await o(l);let r=dt(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Be(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(o,l))}}function Id(){const e=t.getCurrentInstance();return new Dd(e.proxy)}function qd(e,n){return{props:{...Jn,source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textName:{type:String,required:!1,default:"text"},valueName:{type:String,required:!1,default:"value"},itemOptions:{type:[Object,Function],required:!1},column:{type:[String,Number],required:!1,default:1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1},disabled:{type:[String,Boolean],required:!1},modelValue:{type:[Array,String],default:[]}},emits:["change","update:modelValue"],setup(o,l){const{emitEvent:r}=we({componentName:e},o.prop??l.attrs.name),i=Me(),a=Ge(),s=Se(t.toRef(o,"labelPosition"),"labelPosition",We.Near),c=Se(t.toRef(o,"labelWidth"),"labelWidth",We.Near),m=t.computed(()=>{if(a&&i){const S=Ye(i,!1);if(S.value.type!=="flex")return{};const N={},B=fe(S.value.column,o.span);B>0&&(N.width=`${B}%`);const E=fe(S.value.column,o.offset);E>0&&(N["margin-left"]=`${E}%`);const A=S.value.gutter/2;return A>0&&(N["padding-left"]=`${A}px`,N["padding-right"]=`${A}px`),N}return{}});let f=Id(),u=t.ref([]);t.watchEffect(async()=>{o.source&&(u.value=await f.load("checkbox",o.source,o.params))});let g=t.ref([]);t.watch([()=>o.modelValue,()=>u.value],async([S,N])=>{let B=[];Array.isArray(S)&&S.forEach(E=>{let A=ql(o,N,E,o.valueType);A!==-1&&B.push(A)}),g.value=B},{deep:!0});const C=Ee(t.computed(()=>o.disabled)),b=t.computed(()=>{if(!o.source)return o.modelValue;let S=[];return g.value.forEach(N=>{let B=u.value[N];S.push(St(o,B))}),S}),h=S=>{let N=[],B=[];if(u.value.length>0){let E=ql(o,u.value,S,"value");if(E===-1)return;let A=g.value.indexOf(E);A===-1?g.value.push(E):g.value.splice(A,1),g.value.forEach(T=>{let M=u.value[T];B.push(M),o.valueType==="text"?N.push(Wt(o,M)):o.valueType==="item"?N.push(M):N.push(St(o,M))})}else{N=b.value;let E=N.indexOf(S);E===-1?N.push(S):N.splice(E,1)}r("update:modelValue",N),r("change",N,B)},k=t.computed(()=>{let S=o.column;S<0&&(S=1);let N=100/S;return N<0&&(N=100),`${N}%`}),d=t.readonly({disabled:C,currentValue:b,updateValue:h});t.provide("parent",d);const p=function(S){},w=()=>{let S=[],N=[];g.value.forEach(B=>{let E=u.value[B];N.push(E),o.valueType==="text"?S.push(Wt(o,E)):o.valueType==="item"?S.push(E):S.push(St(o,E))}),r("update:modelValue",S),r("change",S,N)},y={selectAll:()=>{let S=!1;for(let N=0;N<u.value.length;N++)g.value.includes(N)||(g.value.push(N),S=!0);S&&w()},clearAll:()=>{let S=!1,N=g.value.length;N>0&&(g.value.splice(0,N),S=!0),S&&w()},toggleAll:()=>{for(let S=0;S<u.value.length;S++){let N=g.value.indexOf(S);N==-1?g.value.push(S):g.value.splice(N,1)}w()},toggleReverse:()=>{let S=[];for(let N=0;N<u.value.length;N++)g.value.indexOf(N)===-1&&S.push(N);g.value=S,w()}};return l.expose(y),o.source?()=>{let S=[];return u.value.forEach((N,B)=>{let E=Wt(o,N),A=St(o,N),T=ke(o,Jn);Object.assign(T,{style:{width:k.value},labelWidth:c.value,labelPosition:s.value,value:A});const M=$d(o,N,B);T={...T,...M,ref:p};let H;if(l.slots.label){let U=l.slots.label?.({text:E,index:B});H=t.h(n,T,{default:()=>[U]})}else H=t.h(n,T,{default:()=>[E]});S.push(H)}),t.h("view",{class:`${e}`,style:m.value},{default:()=>S})}:()=>{let S=l.slots.default?.()??[];return t.h("view",{class:`${e}`,style:m.value,ref:p},{default:()=>S})}}}}const{componentName:zd,create:Md}=x("checkbox-item"),zl=Md(qd(zd,_n)),eo={modelValue:{type:[String,Number,Boolean],default:!1},disable:{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:Pd,create:Rd}=x("switch"),Ld=Rd({props:{...eo},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const o=t.computed(()=>e.modelValue===e.activeValue),l=t.computed(()=>{const s=Pd;return{[s]:!0,[o.value?"switch-open":"switch-close"]:!0,[`${s}-disable`]:e.disable,[`${s}-base`]:!0}}),r=t.computed(()=>({backgroundColor:o.value?e.activeColor:e.inactiveColor}));let i="";const a=s=>{if(e.disable||e.loading)return;i="click";const c=o.value?e.inactiveValue:e.activeValue;n("update:modelValue",c),n("change",c,s)};return t.watch(()=>e.modelValue,s=>{i=="click"?i="":n("change",s)}),{classes:l,style:r,onClick:a}}}),Od={class:"switch-button"};function Fd(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s)),style:t.normalizeStyle(e.style)},[t.createElementVNode("view",Od,[e.loading?(t.openBlock(),t.createBlock(a,{key:0,name:e.name,size:e.size,color:e.color},null,8,["name","size","color"])):t.createCommentVNode("",!0),e.activeText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label open"},t.toDisplayString(e.activeText),513),[[t.vShow,e.modelValue]]),t.withDirectives(t.createElementVNode("view",{class:"fox-switch-label close"},t.toDisplayString(e.inactiveText),513),[[t.vShow,!e.modelValue]])],64)):t.createCommentVNode("",!0)])],6)}const to=W(Ld,[["render",Fd]]);function xd(e,n,o,l){return{props:{...ue,...pe,...eo},emits:["change","update:modelValue"],setup(r,i){const{emitEvent:a}=we({componentName:e},r.prop??i.attrs.name),s=e,c=Ee(t.computed(()=>r.disabled)),m=Re(t.computed(()=>r.readonly)),f=Ie(r,"modelValue"),u=g=>{f.value=g,a("update:modelValue",g,{}),a("change",g,{})};return()=>{const C={...ke(r,eo),disabled:c.value,readonly:m.value,value:f.value,["onUpdate:modelValue"]:u},b=[],h=t.h(l,C);b.push(h);const k={default:()=>b};if(i.slots.default){const w=i.slots.default();k.label=()=>w}const d=ke(r,pe,ue);return d["content-class"]=s,t.h(o,d,k)}}}}const{componentName:Ud,create:Kd,scope:Hd}=x("switch-item"),Ml=Kd(xd(Ud,Hd,Te,to));function jd(e,n,o,l){return{props:{...ue,...pe,placeholder:{type:String,default:""},textAlign:{type:String},modelValue:{type:[String],required:!1},iconName:{type:[String],required:!1,default:""},iconSize:{type:[String],required:!1,default:""}},emits:["click","focus","blur"],setup(r,i){const{emitEvent:a}=we({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus"]},r.prop??i.attrs.name),{toLocaleRefs:s}=ee.useFoxI18n(n),c=s(r,["placeholder"]),m=Ee(t.computed(()=>r.disabled)),f=Re(t.computed(()=>r.readonly)),u=Ie(r,"modelValue"),g=t.computed(()=>({[`${e}`]:!0,[`${e}__disabled`]:m.value,[`${e}__placeholder`]:!m.value&&Ce(u.value)})),C=Se(t.computed(()=>r.textAlign),"textAlign"),b=t.computed(()=>({textAlign:C.value??"right"})),h=t.computed(()=>Ce(u.value)?c.placeholder.value:u.value),k=()=>{a("focus",u.value)},d=()=>{a("blur",u.value)},p=t.computed(()=>({[`${e}__append`]:!0})),w=t.computed(()=>de(r.unit)>0),y=B=>{m.value==!0||f.value==!0||a("click")},S=t.computed(()=>"arrow-right"),N=t.computed(()=>({action:!0}));return()=>{const B={tabIndex:0,class:g.value,style:b.value,innerHTML:h.value,onFocus:k,onBlur:d,onClick:y},E=[],A=t.h("view",B);E.push(A);const T=[],M={name:S.value,size:"10px"},H=t.h(o,M),U={class:N.value,onClick:y},P=t.h("view",U,{default:()=>[H]});if(T.push(P),w.value){const O=t.h("view",{},[r.unit]);T.push(O)}const D={class:p.value},q=t.h("view",D,{default:()=>T});E.push(q);const I={default:()=>E};if(i.slots.default){const O=i.slots.default();I.label=()=>O}if(i.slots.prepend){const O=i.slots.prepend();I.prepend=()=>O}if(i.slots.append){const O=i.slots.append();I.append=()=>O}const L=ke(r,pe,ue);return t.h(l,L,I)}}}}const{componentName:Wd,create:Yd,scope:Xd}=x("link-item"),Pl=Yd(jd(Wd,Xd,se,Te)),{componentName:Qd,create:vd}=x("button"),Gd=vd({components:{[se.name]:se},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},icon:{type:String,default:""},iconClassPrefix:{type:String,default:"fox-icon"},iconFontClassName:{type:String,default:"foxui-iconfont"}},emits:["click"],setup(e,{emit:n,slots:o}){const{type:l,size:r,shape:i,disabled:a,loading:s,icon:c,color:m,plain:f,block:u}=t.toRefs(e),g=d=>{!s.value&&!a.value&&n("click",d)},C=t.computed(()=>{const d=Qd;return{[d]:!0,[`${d}--${l.value}`]:l.value,[`${d}--${r.value}`]:r.value,[`${d}--${i.value}`]:i.value,[`${d}--plain`]:f.value,[`${d}--block`]:u.value,[`${d}--disabled`]:a.value,[`${d}--loading`]:s.value}}),b=t.computed(()=>{const d={};return m?.value&&(f.value?(d.color=m.value,d.background="#fff",m.value?.includes("gradient")||(d.borderColor=m.value)):(d.color="#fff",d.background=m.value)),d}),h=t.computed(()=>typeof o.default=="function"),k=t.computed(()=>({text:c??s}));return{handleClick:g,classes:C,getStyle:b,hasText:h,textClasses:k}}}),Zd={class:"fox-button__warp"};function Jd(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",Zd,[e.loading?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-icon-loading"})):t.createCommentVNode("",!0),e.icon&&!e.loading?(t.openBlock(),t.createBlock(a,{key:1,name:e.icon,"class-prefix":e.iconClassPrefix,"font-class-name":e.iconFontClassName},null,8,["name","class-prefix","font-class-name"])):t.createCommentVNode("",!0),e.hasText?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(e.textClasses)},[t.renderSlot(e.$slots,"default")],2)):t.createCommentVNode("",!0)])],6)}const et=W(Gd,[["render",Jd]]),{componentName:_d,create:eu}=x("cell"),tu=eu({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:""},icon:{type:String,default:""},center:{type:Boolean,default:!1},size:{type:String,default:""}},emits:["click"],setup(e,{emit:n}){const o=t.computed(()=>{const i=_d;return{[i]:!0,[`${i}--clickable`]:e.isLink,[`${i}--center`]:e.center,[`${i}--large`]:e.size=="large"}}),l=t.computed(()=>({borderRadius:J(e.roundRadius)}));return{handleClick:i=>{n("click",i)},classes:o,baseStyle:l}}}),nu={key:0,class:"fox-cell__icon"},ou={key:1,class:"fox-cell__title"},lu={class:"title"},au={class:"fox-cell__title-desc"};function ru(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.baseStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.renderSlot(e.$slots,"default",{},()=>[e.icon||e.$slots.icon?(t.openBlock(),t.createElementBlock("view",nu,[e.$slots.icon?t.renderSlot(e.$slots,"icon",{key:0}):e.icon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.icon},null,8,["name"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.title||e.subTitle?(t.openBlock(),t.createElementBlock("view",ou,[e.subTitle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",lu,t.toDisplayString(e.title),1),t.createElementVNode("view",au,t.toDisplayString(e.subTitle),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.title),1)],64))])):t.createCommentVNode("",!0),e.desc?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-cell__value",style:t.normalizeStyle({"text-align":e.descTextAlign})},t.toDisplayString(e.desc),5)):t.createCommentVNode("",!0),e.$slots.link?t.renderSlot(e.$slots,"link",{key:3}):e.isLink?(t.openBlock(),t.createBlock(a,{key:4,class:"fox-cell__link",name:"right"})):t.createCommentVNode("",!0)])],6)}const Rl=W(tu,[["render",ru]]),{componentName:su,create:iu}=x("cell-group"),cu=iu({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:t.computed(()=>({[su]:!0}))}}}),du={key:1,class:"fox-cell-group__title"},uu={key:3,class:"fox-cell-group__desc"},fu={class:"fox-cell-group__warp"};function mu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.title?t.renderSlot(e.$slots,"title",{key:0}):e.title?(t.openBlock(),t.createElementBlock("view",du,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.$slots.desc?t.renderSlot(e.$slots,"desc",{key:2}):e.desc?(t.openBlock(),t.createElementBlock("view",uu,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.createElementVNode("view",fu,[t.renderSlot(e.$slots,"default")])],2)}const Ll=W(cu,[["render",mu]]),{componentName:pu,create:hu}=x("image"),gu=hu({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}},emits:["click","load","error"],setup(e,{emit:n}){const o=t.reactive({loading:!0,isError:!1,slotLoding:t.useSlots().loading,slotError:t.useSlots().error}),l=t.computed(()=>{const m=pu;return{[m]:!0,[`${m}-round`]:e.round}}),r=t.computed(()=>{let m={};return e.width&&(m.width=J(e.width)),e.height&&(m.height=J(e.height)),e.radius!==void 0&&e.radius!==null&&(m.overflow="hidden",m.borderRadius=J(e.radius)),m}),i=t.computed(()=>({objectFit:e.fit,objectPosition:e.position}));t.watch(()=>e.src,m=>{o.isError=!1,o.loading=!0});const a=()=>{o.loading=!1,n("load")},s=()=>{o.isError=!0,o.loading=!1,n("error")},c=m=>{n("click",m)};return{...t.toRefs(o),imageClick:c,classes:l,styles:i,stylebox:r,error:s,load:a}}}),yu=["src","alt"],ku={key:0,class:"fox-img-loading"},Su={key:1,class:"fox-img-error"};function bu(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.stylebox),onClick:n[2]||(n[2]=(...s)=>e.imageClick&&e.imageClick(...s))},[t.createElementVNode("img",{class:"fox-img",src:e.src,alt:e.alt,onLoad:n[0]||(n[0]=(...s)=>e.load&&e.load(...s)),onError:n[1]||(n[1]=(...s)=>e.error&&e.error(...s)),style:t.normalizeStyle(e.styles)},null,44,yu),e.loading?(t.openBlock(),t.createElementBlock("view",ku,[e.slotLoding?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"image"})),t.renderSlot(e.$slots,"loading")])):t.createCommentVNode("",!0),e.isError&&!e.loading?(t.openBlock(),t.createElementBlock("view",Su,[e.slotError?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"image-error"})),t.renderSlot(e.$slots,"error")])):t.createCommentVNode("",!0)],6)}const Ol=W(gu,[["render",bu]]),{create:Cu}=x("layout"),Fl=Cu({}),{componentName:wu,create:Nu}=x("col"),Bu=Nu({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=wu,o=t.inject("gutter"),l=t.computed(()=>({[n]:!0,[`${n}-gutter`]:o,[`fox-col-${e.span}`]:!0,[`fox-col-offset-${e.offset}`]:!0})),r=t.computed(()=>({paddingLeft:o/2+"px",paddingRight:o/2+"px"}));return{classes:l,style:r}}});function Vu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const xl=W(Bu,[["render",Vu]]),{componentName:Au,create:Eu}=x("row"),Tu=Eu({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=Au;t.provide("gutter",e.gutter);const o=(r,i)=>r?i?`fox-row-${r}-${i}`:"":`fox-row-${i}`;return{classes:t.computed(()=>e.type==="flex"?`
|
|
16
|
-
${o("",e.type)}
|
|
17
|
-
${o("justify",e.justify)}
|
|
18
|
-
${o("align",e.align)}
|
|
19
|
-
${o("flex",e.flexWrap)}
|
|
1
|
+
(function(T,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):(T=typeof globalThis<"u"?globalThis:T||self,t(T.FoxUI={},T.Vue,T.FoxValidator,T.FoxIconsVue,T.FoxI18n))})(this,function(T,t,it,re,ye){Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var es=Object.create,Go=Object.defineProperty,ts=Object.getOwnPropertyDescriptor,ns=Object.getOwnPropertyNames,ls=Object.getPrototypeOf,as=Object.prototype.hasOwnProperty,Ue=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),os=(e,n,a,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(var r=ns(n),i=0,o=r.length,c;i<o;i++)c=r[i],!as.call(e,c)&&c!==a&&Go(e,c,{get:(s=>n[s]).bind(null,c),enumerable:!(l=ts(n,c))||l.enumerable});return e},He=(e,n,a)=>(a=e!=null?es(ls(e)):{},os(n||!e||!e.__esModule?Go(a,"default",{value:e,enumerable:!0}):a,e)),mn=window,rs=typeof window<"u";function is(){return typeof mn<"u"?mn.requestAnimationFrame||mn.webkitRequestAnimationFrame||function(e){mn.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function _o(e){rs?cancelAnimationFrame(e):clearTimeout(e)}var Ge=is();function pn(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]=wl(Ae(e),Ae(n)),a==1&&(l==1?e=kl(e):n=kl(n));let r=Zo(e,n);return a?a==2?"-"+Ae(r):e.length<r.length?Ae(r.substring(1)):"-"+Ae(kl(r)):Ae(r)}function kl(e){let n="",a=e.length,l=e.split(".")[1],r=l?l.length:0;for(let o=0;o<a;o++)e[o]>="0"&&e[o]<="9"?n+=9-parseInt(e[o]):n+=e[o];let i=r>0?"0."+new Array(r).join("0")+"1":"1";return Zo(n,i)}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 wl(e,n){let a=e.split("."),l=n.split("."),r=a[0].length,i=l[0].length;return r>i?l[0]=new Array(Math.abs(r-i)+1).join("0")+(l[0]?l[0]:""):a[0]=new Array(Math.abs(r-i)+1).join("0")+(a[0]?a[0]:""),r=a[1]?a[1].length:0,i=l[1]?l[1].length:0,(r||i)&&(r>i?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(r-i)+1).join("0"):a[1]=(a[1]?a[1]:"")+new Array(Math.abs(r-i)+1).join("0")),e=a[0]+(a[1]?"."+a[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function Zo(e,n){[e,n]=wl(e,n);let a="",l=0;for(let r=e.length-1;r>=0;r--){if(e[r]==="."){a="."+a;continue}let i=parseInt(e[r])+parseInt(n[r])+l;a=i%10+a,l=Math.floor(i/10)}return l?l.toString()+a:a}var Ne=(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 Pt(e,n=0,a=Ne.HALF_EVEN){if(a===Ne.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 r=e.split("."),i=r[0],o=r[1];if(n<0){if(n=-n,i.length<=n)return"0";{let s=i.substr(0,i.length-n);return e=s+"."+i.substr(i.length-n)+o,s=Pt(e,0,a),(l?"-":"")+s+new Array(n+1).join("0")}}if(n==0)return i.length,Jo(r[1],i,l,a)?(l?"-":"")+Cl(i):(l?"-":"")+i;if(r[1]){if(r[1].length<n)return(l?"-":"")+i+"."+r[1]+new Array(n-r[1].length+1).join("0")}else return(l?"-":"")+i+"."+new Array(n+1).join("0");o=r[1].substring(0,n);let c=r[1].substring(n);return c&&Jo(c,o,l,a)&&(o=Cl(o),o.length>n)?(l?"-":"")+Cl(i,parseInt(o[0]))+"."+o.substring(1):(l?"-":"")+i+"."+o}function Jo(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===Ne.DOWN||!a&&l===Ne.FLOOR||a&&l===Ne.CEILING)return!1;if(l===Ne.UP||a&&l===Ne.FLOOR||!a&&l===Ne.CEILING)return!0;let r="5"+new Array(e.length).join("0");if(e>r)return!0;if(e<r)return!1;switch(l){case Ne.HALF_DOWN:return!1;case Ne.HALF_UP:return!0;case Ne.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function Cl(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let a=e.length-1,l="";for(let r=a;r>=0;r--){let i=parseInt(e[r])+n;i==10?(n=1,i=0):n=0,l+=i}return n&&(l+=n),l.split("").reverse().join("")}function Nl(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=xt(e),n=xt(n);let l=0,r=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(r=n.length-n.indexOf(".")-1);let i=l+r;if(e=xt(e.replace(".","")),n=xt(n.replace(".","")),e.length<n.length){let u=e;e=n,n=u}if(n=="0")return"0";let o=n.length,c=0,s=[],d=o-1,h="";for(let u=0;u<o;u++)s[u]=e.length-1;for(let u=0;u<2*e.length;u++){let p=0;for(let y=n.length-1;y>=d&&y>=0;y--)s[y]>-1&&s[y]<e.length&&(p+=parseInt(e[s[y]--])*parseInt(n[y]));p+=c,c=Math.floor(p/10),h=p%10+h,d--}return h=xt(ss(h,i)),a==1&&(h="-"+h),h}function ss(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 xt(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 Al(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 r=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Ae(n.replace(".","")),r>=0){let d=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(d==-1)e=Ae(e+new Array(r+1).join("0"));else if(r>d)e=e.replace(".",""),e=Ae(e+new Array(r-d+1).join("0"));else if(r<d){e=e.replace(".","");let h=e.length-d+r;e=Ae(e.substring(0,h)+"."+e.substring(h))}else r==d&&(e=Ae(e.replace(".","")))}let i=0,o=n.length,c="",s=e.indexOf(".")>-1&&e.indexOf(".")<o?e.substring(0,o+1):e.substring(0,o);if(e=e.indexOf(".")>-1&&e.indexOf(".")<o?e.substring(o+1):e.substring(o),s.indexOf(".")>-1){let d=s.length-s.indexOf(".")-1;s=s.replace(".",""),o>s.length&&(d+=o-s.length,s=s+new Array(o-s.length+1).join("0")),i=d,c="0."+new Array(d).join("0")}for(a=a+2;i<=a;){let d=0;for(;parseInt(s)>=parseInt(n);)s=pn(s,"-"+n),d++;c+=d,e?(e[0]=="."&&(c+=".",i++,e=e.substring(1)),s=s+e.substring(0,1),e=e.substring(1)):(i||(c+="."),i++,s=s+"0")}return(l==1?"-":"")+Ae(Pt(c,a-2))}function Bl(e,n){return e=e.toString(),n=n.toString(),n=Tl(n),pn(e,n)}function Tl(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function er(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),tr(e),tr(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=Bl(e,Nl(n,Pt(Al(e,n),0,Ne.FLOOR)));return a+l}function tr(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function nr(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]=wl(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 Mt=class ge{value;static RoundingModes=Ne;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 r="";a[0]=="-"&&(r="-",a=a.substring(1)),a.indexOf(".")>=0?(l=parseInt(l)+a.indexOf("."),a=a.replace(".","")):l=parseInt(l)+a.length,a.length<l?n=r+a+new Array(l-a.length+1).join("0"):a.length>=l&&l>0?n=r+Ae(a.substring(0,l))+(a.length>l?"."+a.substring(l):""):n=r+"0."+new Array(-l+1).join("0")+a}return n}constructor(n="0"){this.value=ge.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=ge.validate(n);let r=n.charAt(0)=="-";r&&(n=n.substring(1));var i=n.indexOf(".");i=i>0?i:n.length;for(var o="",c=i;c>0;)c<a?(a=c,c=0):c-=a,o=n.substring(c,c+a)+(c<i-a&&c>=0?l:"")+o;return(r?"-":"")+o+n.substring(i)}getPrettyValue(n,a){return ge.getPrettyValue(this.value,n,a)}static round(n,a=0,l=Ne.HALF_EVEN){if(n=ge.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return Pt(n,a,l)}round(n=0,a=Ne.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new ge(Pt(this.value,n,a))}static floor(n){return n=ge.validate(n),n.indexOf(".")===-1?n:ge.round(n,0,Ne.FLOOR)}floor(){return this.value.indexOf(".")===-1?new ge(this.value):new ge(this.value).round(0,Ne.FLOOR)}static ceil(n){return n=ge.validate(n),n.indexOf(".")===-1?n:ge.round(n,0,Ne.CEILING)}ceil(){return this.value.indexOf(".")===-1?new ge(this.value):new ge(this.value).round(0,Ne.CEILING)}static add(n,a){return n=ge.validate(n),a=ge.validate(a),pn(n,a)}add(n){return new ge(pn(this.value,n.getValue()))}static subtract(n,a){return n=ge.validate(n),a=ge.validate(a),Bl(n,a)}subtract(n){return new ge(Bl(this.value,n.getValue()))}static multiply(n,a){return n=ge.validate(n),a=ge.validate(a),Nl(n,a)}multiply(n){return new ge(Nl(this.value,n.getValue()))}static divide(n,a,l){return n=ge.validate(n),a=ge.validate(a),Al(n,a,l)}divide(n,a){return new ge(Al(this.value,n.getValue(),a))}static modulus(n,a){return n=ge.validate(n),a=ge.validate(a),er(n,a)}modulus(n){return new ge(er(this.value,n.getValue()))}static compareTo(n,a){return n=ge.validate(n),a=ge.validate(a),nr(n,a)}compareTo(n){return nr(this.value,n.getValue())}static negate(n){return n=ge.validate(n),Tl(n)}negate(){return new ge(Tl(this.value))}};function lr(e,n){return Mt.multiply(`${e}`,`${n}`)}function Vl(e,n,a=8){return Mt.divide(`${e}`,`${n}`,a)}var K2=Mt.RoundingModes;function El(e,n){return e=`${e}`,n=`${n}`,Mt.compareTo(e,n)}function ar(e){return Mt.negate(e)}function hn(e,n=-1,a=!1,l=3,r=","){let i=`${e}`;if(i.length==0||i==="-")return"";let o=i.charAt(0);o=="-"?i=i.substring(1):o="";let c=i,s="",d=i.indexOf(".");d!=-1&&(c=i.substring(0,d),s=i.substring(d+1)),n!=-1&&(n<s.length?s=s.substring(0,n):a&&n>s.length&&(s=s.padEnd(n,"0")));let h;if(l>0){let u="",p=c.split("").reverse();for(let y=0;y<p.length;y++)u+=p[y]+((y+1)%l==0&&y+1!=p.length?r:"");s.length==0?h=`${o}${u.split("").reverse().join("")}`:h=`${o}${u.split("").reverse().join("")}.${s}`}else s.length==0?h=`${o}${c}`:h=`${o}${c}.${s}`;return h}function or(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}var _e=typeof window<"u",je=Ge;function Ee(e){return e==null}var gn=Array.isArray,cs=e=>bn(e)==="[object Map]",us=e=>bn(e)==="[object Set]",We=e=>e instanceof Date,yn=e=>typeof e=="function",rr=e=>typeof e=="string",ds=e=>typeof e=="symbol",$e=e=>e!==null&&typeof e=="object",mt=e=>$e(e)&&yn(e.then)&&yn(e.catch),ir=Object.prototype.toString,bn=e=>ir.call(e),fs=e=>bn(e)==="[object Object]",sr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function ms(e){return e.__esModule||sr&&e[Symbol.toStringTag]==="Module"}var ps=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function pt(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},a=1,l=e.length,r=!1;for(typeof n=="boolean"&&(r=n,n=e[a]??{},a++),typeof n!="object"&&(n={});a<l;a++)if(e[a]!==null&&e[a]!==void 0){let i=e[a];for(let o in i){let c=n[o],s=i[o];if(c!==s)if(r===!0&&s&&typeof s=="object"){let d;Array.isArray(s)?d=c&&Array.isArray(c)?c:[]:d=c&&typeof c=="object"?c:{},n[o]=pt(r,d,s)}else s!==void 0&&(n[o]=s)}}return n}var $l=ps?Promise.resolve():null;function hs(e,...n){$l!==null?n&&n.length>0?$l.then(()=>{e(n)}):$l.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ke(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function de(e){return typeof e=="number"?e:Number(e)}var gs={"[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 ht(e){let n=Object.prototype.toString.call(e);return e==null?String(e):gs[n]||"object"}function Dl(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 Il(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 cr(e){return e&&typeof e=="object"&&"setInterval"in e}function ur(e){let n=!!e&&"length"in e&&e.length,a=ht(e);return a==="function"||cr(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function dr(e,n){let a=+n.length,l=0,r=e.length;for(;l<a;l++)e[r++]=n[l];return e.length=r,e}function ys(e,n=[]){let a=n;return e!=null&&(ur(Object(e))?dr(a,typeof e=="string"?[e]:e):a.push(e)),a}function De(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=ht(e);if(a!==ht(n))return!1;if(a==="object"){let l=Object.keys(e),r=Object.keys(n);if(l.length!==r.length)return!1;for(let i=0;i<l.length;i++){let o=l[i],c=e[o],s=n[o];if(!De(c,s))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let l=0;l<e.length;l++){let r=e[l],i=n[l];if(!De(r,i))return!1}return!0}return!1}function ql(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var pe=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function vn(e){return pe(e)?!1:(e.charAt(0)=="-"&&(e=e.substring(1)),pe(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function fr(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 mr(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 pr(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 Pl(e,n=!0,a=!0){n?e=pr(e,".",/\./g):e=e.replace(/\./g,""),a?e=pr(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function bs(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(De(e,a))return!0}):n.indexOf(e)}function vs(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(De(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function we(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function ve(e,...n){const a={};return n.forEach(l=>{for(const r in l)a[r]=e[r]}),a}function Ze(e,...n){const a=[];n.forEach(r=>{Reflect.apply([].push,a,Reflect.ownKeys(r))});const l={};for(const r in e)a.includes(r)||(l[r]=e[r]);return l}var Ss=(e,n,a)=>{const l=Object.assign({},e),r=Object.assign({},a);return Object.keys(n).length>0?(Object.keys(l).forEach(i=>{r.hasOwnProperty(i)?typeof r[i]=="string"&&(l[i]=n[r[i]]):n[i]&&(l[i]=n[i])}),l):e};function xl(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var st=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},Ye=(e,n,a)=>Math.min(Math.max(e,n),a);function Sn(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function ks(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var Re=Symbol.for("BroadcastKey"),hr=class{parent;children=[];callbacks=new Map;exposed=null;name;persistantMessages=new Map;constructor(e,n,a){this.parent=e,this.exposed=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.callbacks=null,this.exposed=null}setPersistantMessage(e,n,a){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const l=e.uniqueId,r={matched:e,action:n,args:a};return this.persistantMessages.set(l,r),!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==="+"||ql(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 r=this.callbacks.get(n);typeof r=="function"&&(l=Reflect.apply(r,null,[...a])),this.exposed&&typeof this.exposed[n]=="function"&&(l=Reflect.apply(this.exposed[n],this.exposed,[...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 i=e.resolve,o=e.uniqueId??"",c=(...s)=>{this.deletePersistantMessage(o),typeof i=="function"&&i(...s)};e.resolve=c}e.cachePolicy="None"}let l=!1;!e.name||e.name==="*"?l=!0:e.name==="+"?(l=!1,e.name="*"):ql(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 r=[];if(l){const i=this.callbacks.get(n);if(typeof i=="function"){const o=Reflect.apply(i,null,[...a]);Ee(o)||r.push(o)}if(this.exposed&&typeof this.exposed[n]=="function"){const o=Reflect.apply(this.exposed[n],this.exposed,[...a]);Ee(o)||r.push(o)}if(e.resolved=!0,typeof e.resolve=="function"&&e.resolve(...r),e.messagingPolicy==="Once")return r}return this.children.forEach(i=>{const o=Reflect.apply(i.emit,i,[{...e},n,...a]);Array.isArray(o)&&o.length>0&&Reflect.apply([].push,r,[...o])}),r}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 r=e.resolve,i=e.uniqueId??"",o=(...c)=>{this.deletePersistantMessage(i),typeof r=="function"&&r(...c)};e.resolve=o}e.cachePolicy="None"}const l=[];return this.children.forEach(r=>{const i=Reflect.apply(r.emit,r,[{...e},n,...a]);Array.isArray(i)&&Reflect.apply([].push,l,[...i])}),l}on(e,n){this.callbacks.set(e,n)}};function Rt(e,n,a,l){const r=new hr(n,e,a);if(l&&typeof l=="object")for(const i in l)r.on(i,l[i]);return r}function zt(e){let n=e?.[Re];return!n&&(0,t.hasInjectionContext)()&&(n=(0,t.inject)(Re,null)),n}var ws=class{error(e,n){const a=zt(n.exposed);a?a.emit({name:"*"},"setErrorTip",e):n.exposed&&typeof n.exposed.setErrorTip=="function"&&n.exposed.setErrorTip(e)}reset(e){const n=zt(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}success(e){const n=zt(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}decorate(e,n,a){Array.isArray(e)||(e=[e]);const l=zt(a.exposed),r=n.find(o=>o.required===!0||o.type==="required"&&o.required!==!1),i=e.find(o=>o.required===!0||o.type==="required"&&o.required!==!1);!r&&i?l?l.emit({name:"*"},"setRequired",!0):a.exposed&&typeof a.exposed.setRequired=="function"&&a.exposed.setRequired(!0):r&&!i&&(l?l.emit({name:"*"},"setRequired",!1):a.exposed&&typeof a.exposed.setRequired=="function"&&a.exposed.setRequired(!1),this.reset(a))}getValue(e){return e.props.modelValue??e.exposed.modelValue}},Ft=new ws;function Cs(e){Ft=e}function Ns(e){Ft?Object.assign(Ft,e):Ft=e}function As(e,n){it.Schema.setValidator(e,n)}function Bs(e){it.Schema.deleteValidator(e)}var gr=["blur","clear"];function Ts(e){gr=e}function yr(){return gr}var br=["focus","change","setValue"];function Vs(e){br=e}function vr(){return br}function Es(e){it.Schema.messages(e)}function Lt(...e){const n=[];return e.forEach(a=>{a.forEach(l=>{const r=n.findIndex(i=>i.type===l.type);r!==-1&&n.splice(r,1),n.push(l)})}),n}function kn(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 Je=Symbol("ValidateSchemaKey"),Sr=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(){this.descriptor.pureDataValidate!==!0&&this.descriptor.valueName&&this.descriptor.context?.attrs&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const e=kn(Lt(this.attrRules,this.rules)),n=[],a=this.descriptor.context?.attrs??{};for(let r in a){let i=a[r];if(this.hasValidator(r,!0)){if(i===!1)continue;let c={type:r};i!==null&&typeof i=="object"&&Object.assign(c,i),n.push(c);continue}let o=this.getValidator(r);if(o!==null){let c={type:r,validator:o};n.push(c)}}this.attrRules=kn(n);const l=Lt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,e)})})}))}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=Ft;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.execHandler("getValue",this.proxy)}setValidator(e,n,a=!1){a?it.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?it.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return it.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=Lt(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=kn(e):this.rules=kn([e]);const a=Lt(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(a,n)})}clear(){this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=Lt(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const a={[`${n}`]:e},l=this.getValue(),r={[`${n}`]:l},i=new it.Schema(a),o=this.proxy??r;return i.validate(r,{context:o}).then(c=>{if(c.pass)this.success();else{let s="error";Array.isArray(c.errors)&&c.errors.length>0&&(s=c.errors[0].message??s,c.errors=[c.errors[0]],c.errors[0].ref=o),this.error(s)}return c}).catch(c=>{const s=c.message??`${c}`;return this.error(s),c})}}return Promise.resolve({pass:!0})}};function wn(e,n,a){a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string";const l={exposed:e,get $el(){return a.templateRefProxy?.$el},get props(){return a.props},get attrs(){return a.context?.attrs}};if(!a.validateHandler&&a.valueName!=="modelValue"){const r=a.valueName;a.validateHandler={getValue(i){return i.props?.[r]??i.exposed[r]}}}return new Sr(n,a,l)}var Cn=Symbol.for("EventEmitterKey"),kr=class{register=new Map;emitFn;constructor(e){this.emitFn=e??null}destroy(){this.emitFn=null,this.register.clear()}off(e,n){let a=this.register.get(e);if(a&&Array.isArray(a)){let l=a.findIndex(r=>r===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(r){console.error(r.message,r)}}),this.emitFn&&Reflect.apply(this.emitFn,null,[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 Nn(e,n){let a=0;return function(...l){const r=new Date().getTime();r-a<n||(a=r,Reflect.apply(e,null,[...l]))}}function $s(e,n){const a=Pe((l,r)=>{e=l,r()},n);return(0,t.customRef)((l,r)=>({get(){return l(),e},set(i){a(i,r)}}))}function Ds(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function Ml(e,n,a,l=0,r=!0){let i=n,o=0;if(r){const s=e();if(o++,s||o>a)return}const c=()=>{const s=e();o++,!(s||o>a)&&(i+=l,setTimeout(c,i))};setTimeout(c,i)}var et=Symbol("DomainKey"),Ot=Symbol("DataItemsKey"),An=class{_parent=null;get parent(){return this._parent}set parent(e){this._parent=e}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(e){this._broadcast=e}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(e){this._validateSchema=e}componentPublicExposed={};_props=(0,t.reactive)({});_datas={};constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={},this._datas={},this.componentPublicExposed={}}setData(e,n){this._datas[e]=n}getData(e){return this._datas[e]}hasData(e){return Reflect.has(this._datas,e)}deleteData(e){return Reflect.deleteProperty(this._datas,e)}merge(e,n=[]){for(const 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}},Is=new An;function gt(){return Is}function tt(){return(0,t.inject)(et,null)}var Rl=Symbol("OriginalDateKey");function zl(e,n,a){const l=(0,t.hasInjectionContext)(),r=l?(0,t.getCurrentScope)():null;let i=l?(0,t.inject)(et,null):null;i===null&&(i=gt());const o=n;let c=new An(o);c.parent=i;const s=v=>{c?.hasData(Rl)||u(v),c?.set("modelValue",v)},d=()=>c?.getForSelf("modelValue")??null,h=()=>c?.getData(Rl)??null,u=v=>{const f={};pt(!0,f,(0,t.toRaw)(v)),c.setData(Rl,f)},p=e.props,y=e.ignorePropKeys;(0,t.isReactive)(p)||typeof p=="function"?(0,t.watch)(p,v=>{c?.merge(v,y),v.modelValue&&u(v.modelValue)},{immediate:!0}):(c.merge(p,y),p.modelValue&&u(p.modelValue));const N=(v,f)=>{c?.set(v,f)},k=v=>c?.getForSelf(v)??null;if(c.componentPublicExposed[et]=c,(0,t.provide)(et,c),r!==null){const v=(0,t.inject)(Re,null),f=Rt(c.componentPublicExposed,v,o,a);c.broadcast=f,c.componentPublicExposed[Re]=f,(0,t.provide)(Re,f),c.componentPublicExposed.broadcast=(g,b,...E)=>{if(f)return Reflect.apply(f.emit,f,[g,b,...E])};const m=(0,t.inject)(Je,null),S=wn(c.componentPublicExposed,m,{componentName:"",context:e.context});c.validateSchema=S,c.componentPublicExposed[Je]=S,(0,t.provide)(Je,S),c.componentPublicExposed[Ot]=new Map,c.componentPublicExposed.validate=async(g=!0)=>{const b=[];let E=null;const V={};let A=!1;if(g===!0)E={name:"*"},A=!0;else if(Array.isArray(g)&&g.length>0){const C=g;E={name:x=>x?C.indexOf(x)!==-1:!1},A=!0}else if(g!=null&&typeof g=="object"){const C=g;if(C.deep!==!1){if(Object.assign(V,C),Array.isArray(C.include)&&C.include.length>0){const x=C.include;E={name:j=>j?x.indexOf(j)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const x=C.exclude;E={name:j=>j?x.indexOf(j)===-1:!1}}else E={name:"*"};A=!0}}if(A&&E){V.deep=!1;const C=f?.emitToChildren(E,"validate",V);C&&Reflect.apply([].push,b,C)}return b.length==1?b[0]:b.length>1?Promise.all(b).then(C=>{let x=[];return C.forEach(j=>{j.pass===!1&&Array.isArray(j.errors)&&(x=[...x,...j.errors])}),x.length>0?{pass:!1,errors:x}:{pass:!0}}):Promise.resolve({pass:!0})};const B=e.context;c.componentPublicExposed.setNameValidateRules=(g,b=!0,E=!1)=>{if(E===!0){Reflect.ownKeys(g).forEach(V=>{let A=String(V);const C={componentName:"",fieldName:A,pureDataValidate:!0,context:B};if(c){const x=Cr(c,A,C,f,S);c.componentPublicExposed[Ot].set(A,x);const j=g[A];j&&x.validateSchema.setRule(j)}});return}if(b){const V=Reflect.ownKeys(g);f?.emitToChildren({name:A=>V.includes(A),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",g,!1)}},c.componentPublicExposed.clearValidate=(g=!0)=>{let b=null;const E={};let V=!1;if(g===!0)b={name:"*"},V=!0;else if(Array.isArray(g)&&g.length>0){const A=g;b={name:C=>C?A.indexOf(C)!==-1:!1},V=!0}else if(g!=null&&typeof g=="object"){const A=g;if(A.deep!==!1){if(Array.isArray(A.include)&&A.include.length>0){const C=A.include;b={name:x=>x?C.indexOf(x)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const C=A.exclude;b={name:x=>x?C.indexOf(x)===-1:!1}}else b={name:"*"};Object.assign(E,A),V=!0}}V&&b&&(E.deep=!1,f?.emitToChildren(b,"clearValidate",E))},c.componentPublicExposed.resetFields=g=>{const b=d();if(!b)return;const E={};if(pt(!0,E,h()??{}),Array.isArray(g))g.forEach(V=>{b[V]=E[V]});else if(g&&Array.isArray(g.include))(g.include??[]).forEach(V=>{b[V]=E[V]});else if(g&&Array.isArray(g.exclude)){let V=g.exclude??[];Reflect.ownKeys(E).forEach(A=>{V.includes(A)||(b[A]=E[A])})}else Object.assign(b,E);c?.componentPublicExposed?.clearValidate(g)},c.componentPublicExposed.setModelValue=(g,b)=>{if(!b||b===o)s(g);else{const E={name:b,messagingPolicy:"Once"};f?.emitToChildren(E,"setModelValue",g)}},c.componentPublicExposed.getModelValue=()=>d(),c.componentPublicExposed.setDomainProperty=(g,b)=>{N(g,b)},c.componentPublicExposed.getDomainProperty=g=>k(g),setTimeout(function(){f?.pull()},0)}(0,t.onScopeDispose)(function(){c?.validateSchema&&c.validateSchema.destroy(),c?.broadcast&&c?.broadcast?.destroy(),c.componentPublicExposed[Ot]&&c.componentPublicExposed[Ot].clear(),c?.destroy(),c=null});const w=e.context?.expose;return{domain:c,exposeApi:(v={})=>{Object.assign(c.componentPublicExposed,v),w?.(c.componentPublicExposed)}}}function wr(e,n){let a=(0,t.inject)(et,null);a===null&&(a=gt());let l=new An(n);l.parent=a;const r=e.props,i=e.ignorePropKeys;(0,t.isReactive)(r)||typeof r=="function"?(0,t.watch)(r,c=>{l?.merge(c,i)},{immediate:!0}):l.merge(r,i),l.componentPublicExposed[et]=l,(0,t.provide)(et,l),(0,t.onScopeDispose)(()=>{l?.destroy(),l=null});const o=e.context?.expose;return{domain:l,exposeApi:(c={})=>{Object.assign(l.componentPublicExposed,c),o?.(l.componentPublicExposed)}}}function Be(e,n,a){const l={},r=n??e.componentName??"";let i=Rt(l,(0,t.inject)(Re,null),r,a);l[Re]=i,(0,t.provide)(Re,i),l.broadcast=(u,p,...y)=>i?Reflect.apply(i.emit,i,[u,p,...y]):null;const o=(0,t.inject)(Je,null);e.fieldName=e.fieldName??r;let c=wn(l,o,e);l[Je]=c,(0,t.provide)(Je,c),l.validate=async(u=null)=>{if(!c)return Promise.resolve({pass:!0});const p=[];let y=null;const N={};let k=!1,w=!1;if(u===!0)y={name:"*"},w=!0,k=!0;else if(Array.isArray(u)&&u.indexOf(r)!==-1){const v=u;y={name:f=>f?v.indexOf(f)!==-1:!1},w=!0,k=!0}else if(u&&typeof u=="object"){const v=u,f=v.ignoreDisabled??!0,m=v.ignoreReadonly??!0,S=v.ignoreHidden??!0;f===!0&&e.disabled===!0||m===!0&&e.readonly===!0||S===!0&&Dl(e.templateRefProxy?.$el??e.templateRefProxy)?w=!1:(Array.isArray(v.include)&&v.include.indexOf(r)!==-1||Array.isArray(v.exclude)&&v.exclude.indexOf(r),w=!0),Object.assign(N,v),k=v.deep??!1}if(w){const v=c?.validate();p.push(v)}if(k&&y){N.deep=!1;const v=i?.emitToChildren(y,"validate",N);v&&Reflect.apply([].push,p,v)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(v=>{let f=[];return v.forEach(m=>{m.pass===!1&&Array.isArray(m.errors)&&(f=[...f,...m.errors])}),f.length>0?{pass:!1,errors:f}:{pass:!0}}):Promise.resolve({pass:!0})},l.setValidateRule=u=>c?.setRule(u),l.setNameValidateRules=(u,p=!1)=>{const y=u[r];y&&c?.setRule(y),p&&i&&i.emitToChildren({name:N=>Reflect.ownKeys(u).includes(N)},"setNameValidateRules",u,!1)},l.clearValidate=(u=!0)=>{if(!c)return;let p=null;const y={};let N=!1,k=!1;if(u===!0)p={name:"*"},k=!0,N=!0;else if(Array.isArray(u)&&u.indexOf(r)!==-1){const w=u;p={name:v=>v?w.indexOf(v)!==-1:!1},k=!0,N=!0}else if(u&&typeof u=="object"){const w=u;(w.ignoreHidden??!0)===!0&&Dl(e.templateRefProxy?.$el??e.templateRefProxy)?k=!1:(Array.isArray(w.include)&&w.include.indexOf(r)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(r),k=!0),Object.assign(y,w),N=w.deep??!1}k&&c?.clear(),N&&p&&(y.deep=!1,i?.emitToChildren(p,"clearValidate",y))};let s=new kr(e.context?.emit);l[Cn]=s,l.triggerEvent=(u,...p)=>{s.emit(u,...p)};const d=Pe((u="validate")=>{c&&(u==="reset"?c.clear():c.validate())},60);(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:yr()).forEach(u=>{s&&s.on(u,p=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:vr()).forEach(u=>{s&&s.on(u,p=>{d("reset")})}),setTimeout(function(){i?.pull()},0),(0,t.onScopeDispose)(()=>{i?.destroy(),i=null,c?.destroy(),l[Je]=null,c=null,s?.destroy(),l[Cn]=null,s=null,l.broadcast=null,l.validate=null,l.setValidateRule=null,l.setNameValidateRules=null,l.clearValidate=null});const h=e.context?.expose;return{broadcast:i,validateSchema:c,emitEvent:(u,...p)=>{s&&Reflect.apply(s.emit,s,[u,...p])},onEvent:(u,p)=>{s&&Reflect.apply(s.on,s,[p])},offEvent:(u,p)=>{s&&Reflect.apply(s.off,s,[p])},componentPublicExposed:l,exposeApi:(u={})=>{Object.assign(l,u),h?.(l)}}}function Cr(e,n,a,l,r){const i={},o=n??"",c={getValue(){const u=e.getForSelf("modelValue");return u?u[o]:null},isExist(){const u=e.getForSelf("modelValue");return u?Reflect.has(u,o):!1}};a.fieldName=o,a.validateHandler={getValue(u){return c.getValue()}};let s=wn({},r,a);i.validate=async(u=null)=>{if(!c.isExist())return console.warn(`validate error: field [${o}] not exist`),Promise.resolve({pass:!0});const p=[];let y=!1,N=!1;if(Array.isArray(u)&&u.indexOf(o)!==-1)N=!0,y=!0;else if(u&&typeof u=="object"){const k=u;Array.isArray(k.include)&&k.include.indexOf(o)!==-1||Array.isArray(k.exclude)&&k.exclude.indexOf(o),N=!0,y=k.deep??!1}else typeof u=="boolean"&&(y=u),N=!0;if(N&&s){const k=s.validate();p.push(k)}if(y){let k=null;const w={};if(u===!0)k={name:"*"};else if(Array.isArray(u)&&u.length>0){const v=u;k={name:f=>f?v.indexOf(f)!==-1:!1}}else if(u!=null&&typeof u=="object"){const v=u;if(Object.assign(w,v),Array.isArray(v.include)&&v.include.length>0){const f=v.include;k={name:m=>m?f.indexOf(m)!==-1:!1}}else if(Array.isArray(v.exclude)&&v.exclude.length>0){const f=v.exclude;k={name:m=>m?f.indexOf(m)===-1:!1}}else k={name:"*"}}if(k&&d){w.deep=!1;const v=d.emitToChildren(k,"validate",w);Reflect.apply([].push,p,v)}}return p.length==1?p[0]:p.length>1?Promise.all(p).then(k=>{let w=[];return k.forEach(v=>{v.pass===!1&&Array.isArray(v.errors)&&(w=[...w,...v.errors])}),w.length>0?{pass:!1,errors:w}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=u=>s?.setRule(u),i.setNameValidateRules=u=>{const p=u[o];p&&s?.setRule(p)};let d=Rt(i,l,o);(0,t.onScopeDispose)(()=>{s=null,d=null});const h=a.context?.expose;return{broadcast:d,validateSchema:s,componentPublicExposed:i,exposeApi:(u={})=>{Object.assign(i,u),h?.(i)}}}function Fe(e,n){let a={};if(n){const i=(0,t.inject)(Re,null),o=Rt(a,i,n,{});a[Re]=o,(0,t.provide)(Re,o)}let l=new kr(e.context?.emit);a[Cn]=l,a.triggerEvent=(i,...o)=>{l.emit(i,...o)},(0,t.onScopeDispose)(()=>{l?.destroy(),Reflect.deleteProperty(a,Cn),a=null,l=null});const r=e.context?.expose;return{emitEvent:(i,...o)=>{l&&Reflect.apply(l.emit,l,[i,...o])},onEvent:(i,o)=>{l&&Reflect.apply(l.on,l,[o])},offEvent:(i,o)=>{l&&Reflect.apply(l.off,l,[o])},componentPublicExposed:a,exposeApi:(i={})=>{Object.assign(a,i),r?.(a)}}}var he=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${ue(e)}px`:"",qs=he;function ue(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 r=Number(e.substring(0,a)),i=1;if(_e){const{fontSize:o}=window.getComputedStyle(document.documentElement,null),c=o.indexOf("px");c>0&&(i=Number(o.substring(0,c)))}return r*=i,r}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))*n;const l=Number(e);return isNaN(l)?0:l}function Ps(e){return e?(e.endsWith("px")&&(e=e.substring(0,e.length-2)),parseFloat(e)):0}var nt="PageStateKey";function Le(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=ue(e.top)),e.left!==null&&e.left!==void 0&&(n.left=ue(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=ue(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=ue(e.right))),n}function Fl(e,n,a={},l=!0,r=-1,i=-1,o=0,c=0){if(e.headerHeight=ue(a.headerHeight??n.headerHeight??-1),e.headerPadding=Le(a.headerPadding??n.headerPadding),e.footerHeight=ue(a.footerHeight??n.footerHeight??-1),e.footerPadding=Le(a.footerPadding??n.footerPadding),e.contentPadding=Le(a.contentPadding??n.contentPadding),l){const s=a.height??n.height;s?e.height=ue(s,i):e.height=ue(i)-ue(o,i)-ue(c,i),e.width=ue(a.width??n.width??0,r)}}function Nr(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},r=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});r&&(l.safeAreaTop=ue(r.top),l.safeAreaBottom=ue(r.bottom),l.safeAreaLeft=ue(r.left),l.safeAreaRight=ue(r.right));const i=e.get("pageLayout");if(!i)return null;Fl(l,i,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const o=(0,t.reactive)(l),c=e.getForParent(nt);c&&(l.height=En(e,c),l.width=$n(e,c),(0,t.watch)([()=>En(e,c),()=>$n(e,c)],([d,h])=>{o.height=d,o.width=h}));const s=!c;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([d,h,u=-1,p=-1,y=0,N=0])=>{Fl(o,h,n,s,u,p,y,N)}),e.set(nt,o),o}function Bn(e){return e.get(nt)}function Tn(e,n){if(n=n??e.get(nt),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function Vn(e,n){if(n=n??e.get(nt),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function En(e,n){if(n=n??e.get(nt),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=Tn(e,n),l=Vn(e,n),r=ue(n.contentPadding.top??0),i=ue(n.contentPadding.bottom??0);return n.height-a-l-r-i}return 0}function $n(e,n){if(n=n??e.get(nt),n){const a=ue(n.contentPadding.left??0),l=ue(n.contentPadding.right??0);return n.contentInnerWidth??n.width-a-l}return 0}function xs(e){return!!e.getForParent(nt)}var Ll=Symbol.for("InnerPageScopeKey");function Ar(e){(0,t.provide)(Ll,e)}function Kt(e=!1){return(0,t.inject)(Ll,e)}var Ol=Symbol.for("AbstractPageScopeKey");function Br(e){(0,t.provide)(Ol,e)}function Ut(e=!1){return(0,t.inject)(Ol,e)}function Tr(e=!1){const n=Ut(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.headerBar??e:e}function Vr(e=!1){const n=Ut(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.footerBar??e:e}function Er(e=!1){const n=Ut(e);return typeof n=="boolean"?n:n&&typeof n=="object"?n.content??e:e}var lt=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Dn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Te(e,n,a=lt.Near,l){const r=tt();return r==null?e:a===lt.Parent?(0,t.computed)(()=>{const i=r.getAll(n);for(let c=i.length-1;c>=0;c--){const s=i[c];if(Dn(s,l))return s}const o=e.value;return Dn(o,l)?o:null}):(0,t.computed)(()=>{const i=e.value;if(Dn(i,l))return i;const o=r.getAll(n);for(let c=0;c<o.length;c++){const s=o[c];if(Dn(s,l))return s}return null})}function $r(e){return Te(e,"readonly",lt.Near)}function Dr(e){return Te(e,"disabled",lt.Near)}function Ir(e){return Te(e,"browse",lt.Near)}function Ve(e){const n=(0,t.ref)(null),a=(0,t.ref)(null),l=Dr((0,t.computed)(()=>a.value??e.disabled)),r=(0,t.ref)(null);return{itemTemplateRef:n,innerDisabled:a,disabled:l,innerReadonly:r,readonly:$r((0,t.computed)(()=>r.value??e.readonly)),browse:Ir((0,t.computed)(()=>e.browse))}}function xe(e,n="modelValue",a=null,l){const r=(0,t.toRef)(e,n);let i=r.value;typeof a=="function"&&(i=a(r.value));const o=(0,t.ref)(i);return(0,t.watch)(r,c=>{if(typeof a=="function"){const s=a(c);s!==o.value&&(o.value=s,l&&l("setValue",s))}else c!==o.value&&(o.value=c,l&&l("setValue",c))}),o}var qr=new Map,In=new Map,Kl=null;function Ms(e){Kl=e}function Rs(){return Kl}function ct(){return Kl?.()??null}function Pr(e,n,a){if(a){let l=In.get(a);l||(l=new Map,In.set(a,l)),l.set(e,n)}else qr.set(e,n)}function at(e,n){let a=null;if(n){let l=In.get(n);l&&(a=l.get(e))}return a||(a=qr.get(e)),a}function zs(e,n){for(let a in e){const l=e[a];Pr(a,l,n)}}function Fs(e){In.delete(e)}function Ls(){return{top:0,left:0,bottom:0,right:0}}function Os(){return _e?{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 Ks(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 Sn(a)}var Us=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 r=Ks(l.name,n);e.component(r,l)}});const a=gt();if(n.autoAdjustPageLayout!==!1&&window.ResizeObserver){const l={...n},r=Pe(()=>{const i={...l};this.updateLayout(i,a)},120);new window.ResizeObserver(r).observe(window.document.body)}this.updateLayout(n,a)}updateLayout(e,n){const a=e.headerBarHeight??0,l=e.footerBarHeight??0,r=pt({},Ls(),e.safeAreaInset),i=Os(),o=pt({},i.pageLayout,e.pageLayout);n=n??gt(),n.set("safeAreaInset",r),n.set("headerBarHeight",a),n.set("footerBarHeight",l),n.set("pageLayout",o),n.set("rootWidth",i.rootWidth),n.set("rootHeight",i.rootHeight);const c=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const s in e)c.indexOf(s)===-1&&n.set(s,e[s])}setScopeGetter(e){Ms(e)}getScopeGetter(){return Rs()}setAPI(e,n,a){Pr(e,n,a)}getAPI(e,n){return at(e,n)}batchSetAPI(e,n){zs(e,n)}clearScopeAPI(e){Fs(e)}getRootDomain(){return gt()}};function ee(e){const n=`fox-${e}`,a=Sn(n);return{componentName:n,scope:e.replace("-",""),create(l){return l.baseName=e,l.name=a,l.install=(r,i)=>{let o=l.name;i?.componentPrefix&&(o=`${i.componentPrefix}-${l.baseName}`,o=Sn(o)),r.component(o,l)},(0,t.defineComponent)(l)},createDemo(l){return l.baseName=e,l.name="demo-"+e,(0,t.defineComponent)(l)}}}var Hs=(e,n)=>{let a=document.body;const l=e.teleport||"body";l!="body"&&(rr(l)?a=document.querySelector(l):a=e.teleport);const r=document.createElement("view");r.id=(n.name?n.name+"-":"")+(e.id||new Date().getTime());let i={};yn(n.wrapper)?i=n.wrapper(a,r):i=n.wrapper;const o=(0,t.createApp)(i,e),c=n.components;return c&&c.forEach(s=>{o.use(s)}),a.appendChild(r),{instance:o.mount(r),unmount:()=>{o.unmount(),a.removeChild(r)}}},xr=(e,n)=>e?(0,t.h)(e,n):"",be={browse:{type:[String],required:!1,default:()=>null},disabled:{type:[Boolean,String],required:!1,default:()=>null},readonly:{type:[Boolean,String],required:!1,default:()=>null},labelPosition:{type:String,required:!1,default:()=>null},labelWidth:{type:[String,Number],required:!1,default:()=>null},textAlign:{type:[String],required:!1,default:()=>null},hasBorder:{type:Boolean,required:!1,default:()=>!0}},Se={prop:{type:String,required:!1},label:{type:String,required:!1},isRequired:{type:[String,Boolean],required:!1,default:()=>!1},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number,String],default:()=>0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:()=>"is-info"},warnMarkClass:{type:String,required:!1,default:()=>"is-warn"},errorMarkClass:{type:String,required:!1,default:()=>"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:()=>"content--default"},contentStyle:{type:Object,required:!1,default:()=>{}},hintType:{type:String,required:!1,default:()=>"text"},hintText:{type:[String],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},Mr={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}},Rr={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}},zr=[];for(const e in Rr)zr.push(e);var js={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}},Ws=(e,n)=>({inheritAttrs:!0,props:{...be,...Mr,...js},setup(a,l){const r=!!Ut(!1),i=Kt(!1),{domain:o,exposeApi:c}=zl({props:a,context:l},a.name);if(o){const u=Nr(o,a);c({getPageContentHeight:()=>En(o,u),getPageContentWidth:()=>$n(o,u),getPageHeaderHeight:()=>Tn(o,u),getPageFooterHeight:()=>Vn(o,u)}),u&&i&&(u.contentHeight="100%")}const s=(0,t.computed)(()=>({[e]:!0,"is-inner":i})),d=(0,t.computed)(()=>({})),h=(u,p=!1)=>{o.componentPublicExposed&&typeof o.componentPublicExposed.setNameValidateRules=="function"&&o.componentPublicExposed.setNameValidateRules(u,!0,p)};return(0,t.watch)([()=>a.rules,()=>a.pureDataRules],([u,p],[y,N])=>{if(u&&y){const k=(0,t.toRaw)(y),w=(0,t.toRaw)(u),v=w?Reflect.ownKeys(w):[];(k?Reflect.ownKeys(k):[]).forEach(f=>{v.includes(f)||(w[f]=[])}),h(w)}if(p&&N){const k=(0,t.toRaw)(N),w=(0,t.toRaw)(p),v=w?Reflect.ownKeys(w):[];(k?Reflect.ownKeys(k):[]).forEach(f=>{v.includes(f)||(w[f]=[])}),h(w,!0)}},{deep:!0}),(0,t.onMounted)(()=>{a.rules&&h((0,t.toRaw)(a.rules)),a.pureDataRules&&h((0,t.toRaw)(a.pureDataRules),!0)}),()=>r?l.slots?.default?.():(0,t.h)("div",{class:s.value,style:d.value},[l.slots?.default?.()])}}),{componentName:Ys,create:Xs,scope:Qs}=ee("page"),Gs=Xs(Ws(Ys,Qs)),Ul=Gs;function Hl(e){const n=(0,t.unref)(e);return{width:n.offsetWidth,height:n.offsetHeight}}function qn(e){const n=(0,t.unref)(e),a=window.getComputedStyle(n,null),l=parseFloat(a.getPropertyValue("padding-left")),r=parseFloat(a.getPropertyValue("padding-right")),i=parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-r,height:n.clientHeight-i-o}}var Fr={headerbar:{},radio:{},checkbox:{}};function _s(e){Object.assign(Fr,e)}function Pn(){return Fr}var Zs=(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(r,i){const o=Tr(!1),c=Kt(!1),s=o?null:tt(),d=s?Bn(s):null,h=Pn(),u=e,p=(0,t.computed)(()=>{const $={[u]:!0,[`${u}--border`]:r.border,[`${u}--fixed`]:r.fixed};return c||($[`${u}--safe-area-inset-top`]=r.safeAreaInsetTop),$}),y=(0,t.computed)(()=>({[`${u}__inner`]:!0,[`${u}__inner--${r.align}`]:!0})),N=Ee(r.height)?null:ue(r.height),k=(0,t.computed)(()=>{const $={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(o)return $;if(s&&d){const R=Le(r.padding??d.headerPadding);if(Object.assign($,R),Ee(N)||(d.headerHeight=N),$.height=d.headerHeight,$.safeAreaTop=d.safeAreaTop===-1?0:d.safeAreaTop,$.safeAreaTop>0){const M=ue(R.top??0);$.top=$.safeAreaTop+M,$.height&&$.height>0&&($.height=$.height+$.safeAreaTop)}return $}if(Ee(N)||($.height=N),r.padding){const R=Le(r.padding);Object.assign($,R)}return $}),w=(0,t.ref)(null),v=()=>d&&w.value&&!Il(w.value)?(l||(d.headerAllHeight=Hl(w.value).height),d.headerMounted=!0,!0):!1,f=Pe(v,120);let m=null;(0,t.onMounted)(()=>{o||d&&(Ml(v,50,5,50,!0),window.ResizeObserver&&w.value&&(m=new window.ResizeObserver(f),m.observe(w.value)))}),(0,t.onUnmounted)(()=>{o||d&&(d.headerMounted=!1,m&&(m.disconnect(),m=null))});const S=(0,t.computed)(()=>{const $={};return o||(k.value.height!==null&&k.value.height!==void 0&&($.height=`${k.value.height}px`),k.value.top!==null&&k.value.top!==void 0&&($.paddingTop=`${k.value.top}px`),k.value.left!==null&&k.value.left!==void 0&&($.paddingLeft=`${k.value.left}px`),k.value.right!==null&&k.value.right!==void 0&&($.paddingRight=`${k.value.right}px`),k.value.bottom!==null&&k.value.bottom!==void 0&&($.paddingBottom=`${k.value.bottom}px`)),$}),B=(0,t.computed)(()=>{const $=k.value?.height;return Ee($)||$<0?!0:$>0});function g(){i.emit("back")}function b(){i.emit("click-title")}function E(){i.emit("click-right")}function V(){i.emit("click-right-text")}const A=()=>{if(!r.leftShow)return null;const $=[];if(i.slots.left)$.push(i.slots.left());else{if(i.slots.leftIcon){const R=(0,t.h)("view",{class:"left-icon",onClick:g},[i.slots.leftIcon()]);$.push(R)}else{const R=r.leftIcon??h.headerbar.Left??a,M=(0,t.h)("view",{class:"left-icon",onClick:g},[(0,t.h)(R)]);$.push(M)}if(r.leftText){const R=(0,t.h)("view",{class:"left-text",onClick:g},[r.leftText]);$.push(R)}}return $.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},$)},C=()=>{if(!r.rightShow)return null;const $=[];if(i.slots.right)$.push(i.slots.right());else{if(r.rightText){const R=(0,t.h)("view",{class:"right-text",onClick:V},[r.rightText]);$.push(R)}if(i.slots.rightIcon){const R=(0,t.h)("view",{class:"right-icon",onClick:E},[i.slots.rightIcon()]);$.push(R)}else if(r.rightIcon){const R=(0,t.h)("view",{class:"right-icon",onClick:E},[(0,t.h)(r.rightIcon)]);$.push(R)}}return $.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},$)},x=()=>{if(!r.titleShow)return null;const $=[],R=i.slots.default?i.slots.default():null;if(R)$.push(R);else{if(r.title){const M=(0,t.h)("view",{class:"title-text"},[r.title]);$.push(M)}if(i.slots.titleIcon){const M=(0,t.h)("view",{class:"title-icon",onClick:b},[i.slots.titleIcon()]);$.push(M)}else if(r.titleIcon){const M=(0,t.h)("view",{class:"title-icon",onClick:b},[(0,t.h)(r.titleIcon)]);$.push(M)}}return $.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},$)},j=()=>{const $=[],R=i.slots.bottom?i.slots.bottom():null;return R&&$.push(R),$.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},$)};return()=>{if(o||!B.value)return null;const $=[];if(i.slots.all)$.push(i.slots.all());else{const R=[],M=A();M&&R.push(M);const F=x();F&&R.push(F);const z=C();if(z&&R.push(z),R.length>0){const P=(0,t.h)("view",{class:y.value},R);$.push(P)}const X=j();X&&$.push(X)}return $.length===0?null:(0,t.h)("view",{class:p.value,style:S.value,ref:w},$)}}}),{componentName:Js,create:ec,scope:tc}=ee("header-bar"),nc=ec(Zs(Js,tc,re.Left,!1)),jl=nc;function lc(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,r){const i=Vr(!1),o=Kt(!1),c=i?null:tt(),s=c?Bn(c):null,d=e,h=(0,t.computed)(()=>{const m={[d]:!0,[`${d}--${l.align}`]:!0,[`${d}--border`]:l.border,[`${d}--fixed`]:l.fixed};return o||(m[`${d}--safe-area-inset-bottom`]=l.safeAreaInsetBottom),m}),u=Ee(l.height)?null:ue(l.height),p=(0,t.computed)(()=>{const m={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(i)return m;if(c&&s){const S=Le(l.padding??s.footerPadding);if(Object.assign(m,S),Ee(u)||(s.footerHeight=u),m.height=s.footerHeight,m.safeAreaBottom=s.safeAreaBottom===-1?0:s.safeAreaBottom,m.safeAreaBottom>0){const B=ue(S.bottom??0);m.bottom=m.safeAreaBottom+B,m.height&&m.height>0&&(m.height=m.height+m.safeAreaBottom)}return m}if(Ee(u)||(m.height=u),l.padding){const S=Le(l.padding);Object.assign(m,S)}return m}),y=(0,t.computed)(()=>{const m=p.value?.height;return Ee(m)||m<0?!0:m>0}),N=(0,t.ref)(null),k=()=>s&&N.value&&!Il(N.value)?(a||(s.footerAllHeight=Hl(N.value).height),s.footerMounted=!0,!0):!1,w=Pe(k,120);let v=null;(0,t.onMounted)(()=>{i||s&&(Ml(k,50,5,50,!0),window.ResizeObserver&&(v=new window.ResizeObserver(w),v.observe(N.value)))}),(0,t.onUnmounted)(()=>{i||s&&(s.footerMounted=!1,v&&(v.disconnect(),v=null))});const f=(0,t.computed)(()=>{const m={};return i||(p.value.height!==null&&p.value.height!==void 0&&(m.height=he(p.value.height)),p.value.top!==null&&p.value.top!==void 0&&(m.paddingTop=he(p.value.top)),p.value.left!==null&&p.value.left!==void 0&&(m.paddingLeft=he(p.value.left)),p.value.right!==null&&p.value.right!==void 0&&(m.paddingRight=he(p.value.right)),p.value.bottom!==null&&p.value.bottom!==void 0&&(m.paddingBottom=he(p.value.bottom))),m});return()=>{if(i||!y.value)return null;const m=r.slots.default?r.slots.default():[];return(0,t.h)("view",{ref:N,class:h.value,style:f.value},m)}}}}var{componentName:ac,create:oc,scope:rc}=ee("footer-bar"),ic=oc(lc(ac,rc,!1)),Wl=ic;function sc(e,n){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(a,{slots:l,attrs:r}){const i=Er(!1),o=Kt(!1),c=i?null:tt(),s=(0,t.computed)(()=>({[e]:!0})),d=c?Bn(c):null,h=(0,t.computed)(()=>{const k={};if(i)return k;if(c&&d){if(a.padding){const b=Le(a.padding);Object.assign(d.contentPadding,b)}const w=Tn(c,d),v=Vn(c,d);let f="";d.contentHeight?f=`${d.contentHeight}`:f=`${d.height}px`,console.debug("[content]page height:",f),console.debug("[content]header height:",w),console.debug("[content]footer height:",v),console.debug("[content]padding:",d.contentPadding),k.height=f;let m=ue((d&&d.contentPadding&&d.contentPadding.top)??-1);(m>=0||w>0)&&(m=m<0?0:m,k.paddingTop=`${w+m}px`);let S=ue((d&&d.contentPadding&&d.contentPadding.bottom)??-1);(S>=0||v>0)&&(S=S<0?0:S,k.paddingBottom=`${v+S}px`);const B=ue((d&&d.contentPadding&&d.contentPadding.left)??-1);B>=0&&(k.paddingLeft=`${B}px`);const g=ue((d&&d.contentPadding&&d.contentPadding.right)??-1);return g>=0&&(k.paddingRight=`${g}px`),k}if(a.padding){const w=Le(a.padding);w.left&&(k.paddingLeft=`${w.left}px`),w.top&&(k.paddingTop=`${w.top}px`),w.right&&(k.paddingRight=`${w.right}px`),w.bottom&&(k.paddingBottom=`${w.bottom}px`)}return k}),u=(0,t.ref)(null),p=()=>{if(d&&u.value){const k=qn(u.value);d.contentInnerHeight=k.height,d.contentInnerWidth=k.width}},y=Pe(p,120);let N=null;return(0,t.onMounted)(()=>{o||i||(requestAnimationFrame(p),window.ResizeObserver&&u.value&&(N=new window.ResizeObserver(y),N.observe(u.value)))}),(0,t.onUnmounted)(()=>{o||i||N&&(N.disconnect(),N=null)}),()=>i?l.default?.():(0,t.h)(a.tag??"view",{...r,ref:u,class:s.value,style:h.value},l)}}}var{componentName:cc,create:uc,scope:dc}=ee("content"),fc=uc(sc(cc,dc)),Yl=fc,yt="GroupStateKey",Lr=Symbol.for("GroupScopeKey");function xn(){return(0,t.inject)(Lr,!1)}function Mn(e=!0){(0,t.provide)(Lr,e)}function mc(e,n={}){Reflect.ownKeys(n).forEach(a=>{if(typeof a!="string")return;const l=n[a];Ee(l)||(e[a]=l)})}function pc(e,n={}){const a={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};mc(a,n);const l=(0,t.markRaw)({layout:(0,t.shallowRef)(a),passport:0,order:{index:0}});return e.set(yt,l),l}function Xl(e,n,a=-1,l=-1,r=!1,i,o,c){const s=e.get(yt);if(!s)return;const d=e.get("groupLayout")??{};a===-1&&(a=d.column??1),l===-1&&(l=d.gutter??0),i||(i=d.minItemWidth??-1),o||(o=d.maxItemWidth??-1);const h=ue(i),u=ue(o);c||(c=d.type??"grid");const p=()=>{const y=n===""||n===-1,N=ue(n);let k=de(a);const w=ue(l);if(!y){let m=(N-(k-1)*w)/k;for(;u!==-1&&m>u;)k++,m=(N-(k-1)*w)/k;for(;h!==-1&&k>1&&m<h;)k--,m=(N-(k-1)*w)/k}let v=!1;const f=s.layout;f.value.width=n,f.value.column!==k&&(f.value.column=k,v=!0),f.value.gutter!==w&&(f.value.gutter=w,v=!0),f.value.type!==c&&(f.value.type=c,v=!0),v&&(0,t.triggerRef)(f)};if(r)p();else{const y=++s.passport;setTimeout(()=>{y===s.passport&&p()},50)}}function Rn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.layout}function zn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.order}function Or(e,n=1){if(n==="stretch")return-1;const a=de(n);return a===-1?100:100*a/e}function Fn(e,n,a=1,l=0,r){const i={};let o=0;r?o=ue(r):o=Or(n.column,a),o>0&&(i.width=`${o}%`);const c=Or(n.column,l);c>0&&(i["margin-left"]=`${c}%`);const s=ue(n.gutter)/2;return s>0&&(i["padding-left"]=`${s}px`,i["padding-right"]=`${s}px`),i}function Ln(e,n,a=1,l=0){if(a==="stretch"){const s=e.index%n.column,d=s+(n.column-s);return e.index=e.index+(d-s),{"grid-column":`${s+1} / -1`}}let r=de(a);if(r===-1){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}if(r>n.column){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}const i=de(l)%n.column;let o=(e.index+i)%n.column,c=o+r;return c>n.column?(o=0,c=o+r,e.index=e.index+(n.column-o)+r):e.index=e.index+i+r,i>0?{"grid-column":`${o+1} / span ${r}`}:{"grid-column-start":`span ${r}`}}var Kr=Symbol("RollingStateKey");function hc(e){(0,t.provide)(Kr,e)}function gc(){return(0,t.inject)(Kr,null)}function Ql(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const l=parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-l-r}else n=e.offsetHeight;return n}function yc(e){let n=Ql(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=Ql(a),document.body.removeChild(a)}return n}function bc(e,n,a){const l=typeof e=="number"?e:parseInt(e),r=typeof n=="number"?n:parseInt(n),i=typeof a=="number"?a:parseInt(a);if(l<=0)return"1fr";const o=(l-(r-1)*i)/r;return o>0?`${o}px`:"1fr"}function Ur(e){const n=[];return e.forEach(a=>{a.type===t.Fragment&&Array.isArray(a.children)?n.push(...Ur(a.children)):n.push(a)}),n}function vc(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function On(e){function n(){return Ur(e?.()??[]).filter(vc)}return{getChildren:n}}var Sc={...be,...Mr,...Rr};function kc(e,n,a){return{props:Sc,emits:["update:collapse","header-click"],setup(l,r){const{domain:i,exposeApi:o}=zl({props:l,ignorePropKeys:zr,context:r},l.prop??l.name),c=pc(i,{type:l.type}),s=xn();Mn(!0);const d=l.rollingDisplay?gc():null,h=(0,t.ref)(null),u=(0,t.computed)(()=>l.rollingDisplay?d&&!d.disabled:!1),p=(0,t.computed)(()=>s&&i?Rn(i,!0).value:null),y=(G,le=!1)=>{i.componentPublicExposed&&typeof i.componentPublicExposed.setNameValidateRules=="function"&&i.componentPublicExposed.setNameValidateRules(G,!0,le)};(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([G,le],[U,W])=>{if(G&&U){const I=(0,t.toRaw)(U),D=(0,t.toRaw)(G),L=D?Reflect.ownKeys(D):[];(I?Reflect.ownKeys(I):[]).forEach(J=>{L.includes(J)||(D[J]=[])}),y(D)}if(le&&W){const I=(0,t.toRaw)(W),D=(0,t.toRaw)(le),L=D?Reflect.ownKeys(D):[];(I?Reflect.ownKeys(I):[]).forEach(J=>{L.includes(J)||(D[J]=[])}),y(D,!0)}},{deep:!0});const N=e,k=(0,t.computed)(()=>{const G={};if(G.height=R.value,l.width)l.width!=="auto"&&(G.width=he(l.width));else{const le=s?zn(i,!0):null;if(p.value&&le){if(p.value.type==="grid"){const U=Ln(le,p.value,l.span,l.offset);Object.assign(G,U)}else if(p.value.type==="flow"){const U=Fn(le,p.value,l.span,l.offset,l.width);Object.assign(G,U)}}}return G}),w=(0,t.computed)(()=>{const G=c.layout.value.type;return G==="grid"||G==="flow"?{[`${N}--${G}`]:!0,[`${N}--${G}-justify-${l.justify}`]:!0,[`${N}--${G}-align-${l.align}`]:!0,[`${N}--gutter`]:!0}:{[`${N}--${G}`]:!0,[`${N}--gutter`]:!0}}),v=(0,t.computed)(()=>{if(c.layout.value.type==="grid"){let G="";if(l.columnWidth)G=`repeat(auto-fill, ${l.columnWidth})`;else{const le=bc(E.value,c.layout.value.column,c.layout.value.gutter);G=`repeat(${c.layout.value.column}, ${le})`}return{"column-gap":`${c.layout.value.gutter}px`,"grid-template-columns":G}}}),f=(0,t.toRef)(l,"gutter"),m=(0,t.toRef)(l,"column"),S=(0,t.computed)(()=>s||u.value?!0:ke(l.isWrap)),B=[],g=G=>{B.push(G)},b=()=>{let G=B.length;B.splice(0,G)},E=(0,t.ref)(-1),V=G=>{const le=qn(G).width;le>0&&le!==E.value&&(E.value=le)};Xl(i,E.value,m.value,f.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&(0,t.watch)([E,m,f],([G,le,U])=>{c.order.index=0,Xl(i,G,le,U,!1,l.minItemWidth,l.maxItemWidth,l.type)});const A=(0,t.computed)(()=>M.value?l.expandText??"":l.collapseText??""),C=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),x=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!M.value,"is-collapse":M.value})),j=(0,t.ref)(),$=(0,t.ref)(),R=(0,t.computed)(()=>F.value||he(l.height)||""),M=(0,t.ref)(!1),F=(0,t.ref)(""),z=(0,t.ref)(!1);let X=-1;const P=(G,le=!0)=>{const U=j.value;if(U&&M.value!==G){if(X=X<=0?yc(U):X,z.value=!0,le)if(U.style["will-change"]="height",U.ontransitionend=function(){U.ontransitionend=null,this.style["will-change"]="auto",G||(F.value="",z.value=!1)},G){let W=0;l.collapseHeight?W=l.collapseHeight:$.value&&$.value.classList.contains(`${e}__header`)&&(W=$.value.offsetHeight),F.value=`${X}px`,(0,t.nextTick)(()=>{F.value=`${W}px`})}else F.value=`${X}px`;else if(G){let W=0;l.collapseHeight?W=l.collapseHeight:$.value&&$.value.classList.contains(`${e}__header`)&&(W=$.value.offsetHeight),F.value=`${W}px`}else z.value=!1,F.value=`${X}px`;M.value=G,r.emit("update:collapse",G)}};(0,t.watch)(()=>l.collapse,G=>{P(G)});const _=G=>{r.emit("header-click",G)},te=()=>{oe()},oe=G=>{G=G??!M.value,P(G)};o({toggleCollapse:oe,doLayout:()=>{B[0]&&(V(B[0]),Xl(i,E.value,m.value,f.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let Z=null,O=!0;const ne=G=>{if(l.rules&&y((0,t.toRaw)(l.rules)),l.pureDataRules&&y((0,t.toRaw)(l.pureDataRules),!0),!!_e&&(G&&P(ke(l.collapse),!1),l.autoLayout&&Array.isArray(B)&&B.length>0)){const le=B[0];if(V(le),window.ResizeObserver){const U=Pe(()=>V(le),120);Z=new window.ResizeObserver(U),Z.observe(le)}}},H=()=>{Z?.disconnect(),Z=null},q=!u.value||d?.acquire();q&&(h.value=u.value?!0:null),(0,t.onMounted)(()=>{if(q&&(ne(O),O=!1),u.value&&d){let G=null,le=d.initialHeight;d.observe(j.value,U=>{if(U!==h.value)if(U)h.value=!0,M.value||(F.value=""),G=setTimeout(()=>{G=null,h.value!==!1&&(ne(O),O=!1)},100);else{if(G!==null&&clearTimeout(G),h.value=!1,!M.value)if(O)F.value=d.initialHeight;else{let W=Ql(j.value);W<=0?F.value=le:(F.value=`${W}px`,le=F.value)}O||H()}})}}),(0,t.onUnmounted)(()=>{Z?.disconnect(),d&&d.unobserve(j.value)});const K=(G="right")=>{const le=[];if(A.value){const I=(0,t.h)("span",{class:C.value},[A.value]);le.push(I)}const U={class:x.value},W=(0,t.h)(l.collapseIcon??a,U);return le.push(W),le.length>0?(0,t.h)("div",{class:{[`${N}__header-collapse`]:!0,[`is-${G}`]:!0},onClick:te},le):null},Y=(G,le,U,W)=>{const I={...w.value};if(le===0&&(I[`${N}__first`]=!0),U>=W-1&&(I[`${N}__last`]=!0),S.value===!1){const D=r.attrs.class;D&&(I[`${D}`]=!0)}return(0,t.h)("div",{ref:g,key:`${le}`,class:I,style:v.value},G)};return()=>{const G=l.prop??l.name;if(u.value&&h.value!==!0)return(0,t.h)(l.tag||"div",{ref:j,prop:G,class:{[`${N}`]:!0,"is-collapse":z.value},style:k.value},[]);c.order.index=0;const le=[];let U=0;if(r.slots.header){const L=(0,t.h)("div",{key:`${U++}`,ref:$,class:{[`${N}__header`]:!0,[`${N}__first`]:!0},onClick:_},[r.slots.header()]);le.push(L)}else{const L=[],J=l.collapsePosition==="left";if(J&&l.showCollapse){const ae=K("left");ae&&L.push(ae)}if(l.title||r.slots.title){if(l.showMark){const ae={class:{[`${N}__header-mark`]:!0}};l.markColor&&(ae.style={background:l.markColor});const se=(0,t.h)("div",ae);L.push(se)}if(r.slots.title){const ae=(0,t.h)("div",{class:{[`${N}__header-title`]:!0}},[r.slots.title()]);L.push(ae)}else if(l.title){const ae=(0,t.h)("div",{class:{[`${N}__header-title`]:!0}},[l.title]);L.push(ae)}}if(r.slots.toolbar&&L.push(r.slots.toolbar()),!J&&l.showCollapse){const ae=K("right");ae&&L.push(ae)}if(L.length>0){const ae=(0,t.h)("div",{key:`${U++}`,ref:$,class:{[`${N}__header`]:!0,[`${N}__first`]:!0},onClick:_},L);le.push(ae)}}b();const{getChildren:W}=On(r.slots.default),I=W(),D=c.layout.value.type;if(D==="grid"){const L=Y(I,U++,0,I.length);le.push(L)}else if(D==="flow"){const L=Y(I,U++,0,I.length);le.push(L)}else for(let L=0;L<I.length;L++){const J=I[L],ae=Y([J],U++,L,I.length);le.push(ae)}return S.value?(0,t.h)(l.tag||"div",{ref:j,prop:G,class:{[`${N}`]:!0,"is-collapse":z.value},style:k.value},[le]):le}}}}var{componentName:wc,create:Cc,scope:Nc}=ee("group"),Ac=Cc(kc(wc,Nc,re.RectUp)),Gl=Ac;function Bc(e){return e===window}var Tc=/matrix\((.+)\)/,_l=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(Bc(n))return{x:0,y:0};let a=0,l=0,r=n;for(;r!==null;)a+=r.offsetLeft,l+=r.offsetTop,r=r.offsetParent;let i=0,o=0,c=0,s=0;for(r=n;r!==document;){o+=r.scrollTop,i+=r.scrollLeft;const{transform:d}=window.getComputedStyle(r);if(d){const h=Tc.exec(d);if(h){let u=h[1].split(/\s*,\s*/);u.length==6&&(c+=Number(u[4]),s+=Number(u[5]))}}r=r.parentNode}return a-=i,l-=o,a+=c,l+=s,{x:a,y:l}},Vc=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{}})}},Ec=class{monitorRegister=new WeakMap;watch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let r=this.monitorRegister.get(a);r||(r=new Vc,a.addEventListener("scroll",r.listen),a===document.body&&a.addEventListener("resize",r.listen),this.monitorRegister.set(a,r)),r.add(n),a=a.parentNode}}unwatch(e,n){let a=e.parentNode;const l=document.body.parentNode;for(;a&&a!==l;){let r=this.monitorRegister.get(a);r&&(r.remove(n),r.size()===0&&(this.monitorRegister.delete(a),a.removeEventListener("scroll",r.listen),a===document.body&&a.removeEventListener("resize",r.listen))),a=a.parentNode}}},Ht=new Ec,Hr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:$c,create:Dc}=ee("price"),Ic=Dc({props:{...Hr},setup(e){const n=(0,t.computed)(()=>({[$c]:!0})),a=(0,t.computed)(()=>e.needSymbol?e.symbol:""),l=(0,t.computed)(()=>we(e.price)==0?"":hn(e.price,e.decimalLength,!0,de(e.digits),e.separator));return{classes:n,showSymbol:a,intText:(0,t.computed)(()=>{let r=l.value;if(r.length==0)return"";let i=r.indexOf(".");return r.substring(0,i)}),decimalText:(0,t.computed)(()=>{let r=l.value;if(r.length==0)return"";let i=r.indexOf(".");return r.substring(i+1)})}}}),ie=(e,n)=>{const a=e.__vccOpts||e;for(const[l,r]of n)a[l]=r;return a},qc=["innerHTML"],Pc=["innerHTML"];function xc(e,n,a,l,r,i){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,qc)):(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,Pc)):(0,t.createCommentVNode)("",!0)],2)}var Kn=ie(Ic,[["render",xc]]),{componentName:Zl,create:Mc}=ee("hint-text"),Rc=Mc({components:{Price:Kn},props:{...Hr,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}),r=(0,t.ref)(0),i=(0,t.ref)(0),o=(0,t.ref)(e.placement),c=(0,t.ref)(!1),s=(0,t.ref)(null),d=(C,x,j,$,R,M)=>{const F=document.documentElement.clientWidth||document.body.clientWidth,z=document.documentElement.clientHeight||document.body.clientHeight,X=C.split("-");let P=[];X[0]==="top"?P=["top","bottom","right","left"]:X[0]==="bottom"?P=["bottom","top","right","left"]:X[0]==="left"?P=["left","top","bottom","right"]:X[0]==="right"&&(P=["right","top","bottom","left"]);const _={top:null,right:null,bottom:null,left:null},te=[];for(let oe=0;oe<P.length;oe++){const Q=P[oe];if(te[0]=Q,X[1]&&(te[1]=X[1]),Q==="top"){const Z=x.y-M-e.arrowSize-e.offset;if(Z>=0){_.top=Z;let O=0;X[1]==="start"?O=x.x:X[1]==="end"?O=x.x+j-R:O=x.x+j/2-R/2;const ne=F-O-R;ne<0?(O+=ne,u.value=-ne):u.value=0,_.left=O<0?0:O;break}}else if(Q==="bottom"){const Z=x.y+$+e.arrowSize+e.offset;if(Z+M<=z){_.top=Z;let O=0;X[1]==="start"?O=x.x:X[1]==="end"?O=x.x+j-R:O=x.x+j/2-R/2;const ne=F-O-R;ne<0?(O+=ne,u.value=-ne):u.value=0,_.left=O<0?0:O;break}}else if(Q==="left"){const Z=x.x-R-e.arrowSize-e.offset;if(Z>=0){_.left=Z;let O=0;X[1]==="start"?O=x.y:X[1]==="end"?O=x.y+$-M:O=x.y+$/2-M/2,_.top=O<0?0:O;break}}else if(Q==="right"){const Z=x.x+j+e.arrowSize+e.offset;if(Z+R<=F){_.left=Z;let O=0;X[1]==="start"?O=x.y:X[1]==="end"?O=x.y+$-M:O=x.y+$/2-M/2,_.top=O<0?0:O;break}}}return{bestPlacement:te.join("-"),bestInsetRect:_}},h=(C,x,j=10)=>{if(!_e||x===!1||!C)return;l.value=_l(e.reference),r.value=e.reference.offsetWidth,i.value=e.reference.offsetHeight;const $=s.value.offsetHeight,R=s.value.offsetWidth,{bestPlacement:M,bestInsetRect:F}=d(e.placement,l.value,r.value,i.value,R,$);o.value=M,a.value=F,c.value=!0},u=(0,t.ref)(0),p=Pe(()=>{h(e.message,e.visible)},10),y=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,C=>{y.value=C});const N=(0,t.computed)(()=>y.value&&k.value),k=(0,t.ref)(!0),w=Pe(C=>{const x=C[0];x&&(k.value=x.isIntersecting)},10),v=new IntersectionObserver(w);(0,t.watch)([()=>e.message,()=>e.visible],([C,x])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Ht.watch(e.reference,p),v.observe(e.reference)}),(0,t.onBeforeUnmount)(()=>{Ht.unwatch(e.reference,p),v.unobserve(e.reference),v.disconnect()});const f=(0,t.computed)(()=>{const C={[Zl]:!0};return o.value.startsWith("top")?C["is-top"]=!0:o.value.startsWith("right")?C["is-right"]=!0:o.value.startsWith("bottom")?C["is-bottom"]=!0:o.value.startsWith("right")&&(C["is-right"]=!0),e.size==="small"?C["is-small"]=!0:e.size==="large"&&(C["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(C[`${e.customClass}`]=!0),C}),m=(0,t.computed)(()=>{const C={};return a.value.top!==null&&(C.top=`${a.value.top}px`),a.value.right!==null&&(C.right=`${a.value.right}px`),a.value.bottom!==null&&(C.bottom=`${a.value.bottom}px`),a.value.left!==null&&(C.left=`${a.value.left}px`),e.autoFit&&(C["min-width"]=`${r.value}px`),C["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,c.value&&(C.opacity="1"),e.transition||(C.transition="none"),e.zIndex&&(C["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(C,e.customStyle),C}),S=(0,t.computed)(()=>{const C=[`${Zl}__content`];return e.customTextClass&&C.push(e.customTextClass),C}),B=(0,t.computed)(()=>{const C={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(C,e.customTextStyle),C}),g=(0,t.computed)(()=>({[`${Zl}__arrow`]:!0})),b=(0,t.computed)(()=>{const C={};return e.showArrow?(C.width=`${e.arrowSize}px`,C.height=`${e.arrowSize}px`,o.value==="top"?(C.left="50%",C.bottom=`-${e.arrowSize}px`,C.transform=" translate(-50%, 0%)"):o.value==="top-start"?(C.left=`${e.arrowOffset+u.value}px`,C.bottom=`-${e.arrowSize}px`):o.value==="top-end"?(C.right=`${e.arrowOffset-u.value}px`,C.bottom=`-${e.arrowSize}px`):o.value==="right"?(C.left=`-${e.arrowSize}px`,C.top="50%",C.transform=" translate(0%, -50%)"):o.value==="right-start"?(C.left=`-${e.arrowSize}px`,C.top=`${e.arrowOffset}px`):o.value==="right-end"?(C.left=`-${e.arrowSize}px`,C.bottom=`-${e.arrowOffset}px`):o.value==="bottom"?(C.left="50%",C.top=`-${e.arrowSize}px`,C.transform=" translate(-50%, 0%)"):o.value==="bottom-start"?(C.left=`${e.arrowOffset+u.value}px`,C.top=`-${e.arrowSize}px`):o.value==="bottom-end"?(C.right=`${e.arrowOffset-u.value}px`,C.top=`-${e.arrowSize}px`):o.value==="left"?(C.right=`-${e.arrowSize}px`,C.top="50%",C.transform=" translate(0%, -50%)"):o.value==="left-start"?(C.right=`-${e.arrowSize}px`,C.top=`${e.arrowOffset}px`):o.value==="left-end"&&(C.right=`-${e.arrowSize}px`,C.bottom=`-${e.arrowOffset}px`),C):{display:"none"}}),E=(0,t.computed)(()=>N.value&&e.closeOnClick),V=(0,t.computed)(()=>{const C={};return e.zIndex&&(C["z-index"]=`${e.zIndex}`),C});return{show:N,tipRef:s,classes:f,styles:m,textClasses:S,textStyles:B,arrowClasses:g,arrowStyles:b,overlayShow:E,overlayStyle:V,onClickOverlay:()=>{y.value=!1,n.emit("update:visible",!1)}}}}),zc=["innerHTML"];function Fc(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Price");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.overlayShow?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,t.normalizeStyle)(e.overlayStyle),onClick:n[0]||(n[0]=(...c)=>e.onClickOverlay&&e.onClickOverlay(...c))},null,4)):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"tipRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.textClasses),style:(0,t.normalizeStyle)(e.textStyles)},[e.type=="number"?((0,t.openBlock)(),(0,t.createBlock)(o,{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,zc))],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 jr=ie(Rc,[["render",Fc]]),Un=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={},Lc=new Un,bt=new Map,Hn=e=>{if(e){const n=document.getElementById(e);bt.delete(e),n&&((0,t.render)(null,n),n.parentNode?.removeChild(n))}else{for(const n of bt.keys()){const a=document.getElementById(n);a&&((0,t.render)(null,a),a.parentNode?.removeChild(a))}bt.clear()}},Oc=e=>{e.unmount=Hn;const n=document.getElementById(e.id);if(n){const a=bt.get(e.id);a?e={...Jl,...a,...e}:e={...Jl,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(jr,e),n)}return e.id},Kc=e=>{e.unmount=Hn;let n=e.id??`hinttext_${Lc.get()}`;e={...Jl,...e},e.id=n,bt.set(n,e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(jr,e),a),document.body.appendChild(a),n},Uc=e=>e?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),vt={show(e,n,a={},l=!0){if(!Uc(n))return;const r=a.id;return r&&bt.has(r)?Oc({...a,message:n,reference:e}):(l&&Hn(),Kc({...a,message:n,reference:e}))},hide(e){Hn(e)},install(e){e.config.globalProperties.$hintText=vt}};function Hc(e,n,a,l=!1){return{inheritAttrs:!0,props:{...be,...Se},emits:["appear","disappear"],setup(r,i){const o=r.prop??i.attrs.name,c=(0,t.ref)(),{exposeApi:s}=Be({componentName:e,validate:!1,get props(){return r},context:i,get templateRefProxy(){return c.value}},o),d=tt(),h=xn();Mn(!1);const u=(0,t.computed)(()=>h&&d?Rn(d,!1).value:null),p=e,y=(0,t.ref)(null),N=(0,t.computed)(()=>{const D={[p]:!0,[`${p}__gutter`]:u.value&&u.value.type!=="flow",[`${p}__stretch`]:r.span==="stretch",[`${p}__input--border`]:ke(r.hasBorder)};if(D[r.errorMarkClass]=!!z.value,D[r.warnMarkClass]=!!M.value,D[r.infoMarkClass]=!!$.value,typeof y.value=="function"){const L=y.value(o);D[L]=!0}else if(typeof y.value=="string"){const L=y.value;D[L]=!0}return D}),k=(0,t.ref)(null),w=(0,t.computed)(()=>{const D={};if(r.width)r.width!=="auto"&&(D.width=he(r.width));else{const L=h&&d?zn(d,!1):null;if(u.value&&L){if(u.value.type==="grid"){const J=Ln(L,u.value,r.span,r.offset);Object.assign(D,J)}else if(u.value.type==="flow"){const J=Fn(L,u.value,r.span,r.offset,r.width);Object.assign(D,J)}}}if(typeof k.value=="function"){const L=k.value(o);L&&Object.assign(D,L)}else if(k.value&&typeof k.value=="object"){const L=k.value;Object.assign(D,L)}return D}),v=(0,t.ref)(null),f=(0,t.computed)({get:()=>v.value??ke(r.isRequired),set:D=>{v.value=D}}),m=()=>typeof r.label=="string"&&r.label.length>0||typeof i.slots.label=="function",S=Te((0,t.toRef)(r,"labelPosition"),"labelPosition",lt.Near),B=(0,t.computed)(()=>S&&S.value==="top"?"top":S&&S.value==="right"?"right":"left"),g=(0,t.computed)(()=>({[`${p}__main`]:!0,[`${p}__main--${B.value}`]:!0})),b=(0,t.computed)(()=>({label:!0,[`label--${B.value}`]:!0})),E=Te((0,t.toRef)(r,"labelWidth"),"labelWidth",lt.Near),V=(0,t.computed)(()=>E&&E.value?{width:he(E.value)}:{}),A=(0,t.computed)(()=>({"label--string":!0,"label--required":f.value})),C=(0,t.computed)(()=>({content:!0,[r.contentClass]:!0})),x=(0,t.computed)(()=>({...r.contentStyle})),j=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});s({setRequired(D){f.value=D},setErrorTip(D){j.errorTip=D},setErrorIcon(D){j.errorIcon=D},setWarnTip(D){j.warnTip=D},setWarnIcon(D){j.warnIcon=D},setInfoTip(D){j.infoTip=D},setInfoIcon(D){j.infoIcon=D},setCustomClassName(D){y.value=D},setCustomStyle(D){k.value=D}});const $=(0,t.computed)(()=>r.infoTip||j.infoTip),R=(0,t.computed)(()=>r.infoIcon||j.infoIcon),M=(0,t.computed)(()=>r.warnTip||j.warnTip),F=(0,t.computed)(()=>r.warnIcon||j.warnIcon),z=(0,t.computed)(()=>r.errorTip||j.errorTip),X=(0,t.computed)(()=>r.errorIcon||j.errorIcon),P=(0,t.computed)(()=>z.value?"error":M.value?"warn":$.value?"info":""),_=()=>P.value.length>0,te=(0,t.computed)(()=>P.value==="error"?z.value:P.value==="warn"?M.value:P.value==="info"?$.value:""),oe=(0,t.computed)(()=>P.value==="error"?X.value:P.value==="warn"?F.value:P.value==="info"?R.value:null),Q=(0,t.computed)(()=>{const D={[`${p}__tip`]:!0,[`${p}__tip--${P.value}`]:!0,[`${p}--animate`]:!0};return P.value==="error"&&r.errorClass?D[`${r.errorClass}`]=!0:P.value==="warn"&&r.warnClass?D[`${r.warnClass}`]=!0:P.value==="info"&&r.infoClass&&(D[`${r.infoClass}`]=!0),D}),Z=(0,t.computed)(()=>{const D={};return S&&S.value==="top"||!m()?D["padding-left"]="0px":E&&E.value&&(D["padding-left"]=he(E.value)),D}),O=(0,t.ref)();let ne="";(0,t.watch)([()=>r.hintVisible,()=>r.hintText,()=>r.hintType,()=>r.hintProps],([D,L,J,ae])=>{O.value&&(D&&!pe(L)?ne?a.show(O.value,L,{...ae,id:ne,type:J},!0):ne=a.show(O.value,L,{...ae,type:J},!0):a.hide(ne))});let H=null;const q=()=>{H||!O.value||(H=new IntersectionObserver(D=>{let L=!1;for(let J of D)if(J.intersectionRatio>0){L=!0,L&&i.emit("appear",J);break}L||i.emit("disappear")}),H.observe(O.value))},K=()=>{!H||!O.value||(H.unobserve(O.value),H=null)};(0,t.watch)(()=>ke(r.appearListen),D=>{D?q():K()}),(0,t.onMounted)(()=>{ke(r.appearListen)&&q()}),(0,t.onUnmounted)(K);const Y=()=>{if(!m())return null;const D=[],L=i.slots?.label?.()??r.label,J=(0,t.h)("div",{class:A.value},[L]);if(D.push(J),i.slots.fixedPreTip){const ae=i.slots.fixedPreTip();D.push(ae)}return(0,t.h)("div",{class:b.value,style:V.value},D)},G=()=>{const D=[];if(i.slots.prepend){const L=i.slots.prepend();D.push(L)}if(i.slots.default){const L=i.slots.default();D.push(L)}if(i.slots.append){const L=i.slots.append();D.push(L)}if(i.slots.fixedTip){const L=(0,t.h)("div",{class:[`${p}__fixed-tip`]},[i.slots.fixedTip()]);D.push(L)}return(0,t.h)("div",{ref:O,class:C.value,style:x.value},D)},le=()=>{const D=oe.value;return D?typeof D=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[D()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(D)]):null},U=()=>{const D=te.value;return D?typeof D=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[D()]):(0,t.h)("div",{class:"fox-item__tip--text"},[D]):null},W=()=>{if(!_())return null;const D=[],L=le();L&&D.push(L);const J=U();return J&&D.push(J),(0,t.h)("div",{class:Q.value,style:Z.value},D)},I=()=>i.slots?.hide?.()??null;return()=>{const D=[],L=[],J=Y();J&&L.push(J);const ae=G();ae&&L.push(ae);const se=(0,t.h)("div",{class:g.value},L);D.push(se);const fe=W();fe&&D.push(fe);const me=I();return me&&D.push(me),(0,t.h)("div",{class:N.value,style:w.value,prop:r.prop,ref:c},D)}}}}var{componentName:jc,create:Wc,scope:Yc}=ee("item"),Xc=Wc(Hc(jc,Yc,vt,!1)),jt=Xc,Wr={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1},wrap:{type:[String],required:!1,default:"nowrap"}};function Qc(e,n){return{props:Wr,setup(a,l){const r=e,i=(0,t.computed)(()=>({[r]:!0,[`${r}__stretch`]:a.span==="stretch",[`${r}__${a.align}`]:!0})),o=tt(),c=xn();Mn(!1);const s=(0,t.computed)(()=>{const d={};if(a.width)a.width!=="auto"&&(d.width=he(a.width));else if(c&&o){const h=Rn(o,!1),u=zn(o,!1);if(h.value&&u){if(h.value.type==="grid"){const p=Ln(u,h.value,a.span,a.offset);Object.assign(d,p)}else if(h.value.type==="flow"){const p=Fn(u,h.value,a.span,a.offset,a.width);Object.assign(d,p)}}}return a.gutter&&(d.gap=he(a.gutter)),a.wrap&&(d["flex-wrap"]=a.wrap),d});return()=>{const d=[];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:{[`${r}__divide`]:!0}});d.push(p)}d.push(h[u])}else Reflect.apply([].push,d,h)}return(0,t.h)("div",{class:i.value,style:s.value},d)}}}}var{componentName:Gc,create:_c,scope:Zc}=ee("row-item"),Jc=_c(Qc(Gc,Zc)),jn=Jc,eu=(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 tu(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 r=a.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(r)},500)}var nu={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 lu(e,n,a,l=!1){return{props:{...nu},emits:["click"],setup(r,i){const o=(0,t.ref)(null),c=(0,t.computed)(()=>{const m={[`${e}`]:!0,"is-truncated":r.truncated};return r.type&&(m[`${e}--${r.type??"default"}`]=!0),r.size&&(m[`${e}--${r.size}`]=!0),m}),s=(0,t.computed)(()=>{const m={},S=r.textColor??r.color;return S&&(m.color=S),m}),d=(m,S)=>{let B=null;if(typeof r.highlightFilter=="string"&&r.highlightFilter.length>0){const g=r.highlightFilter;m.indexOf(g)!==-1&&(S.innerHTML=m.replace(new RegExp(g,"g"),`<span>${g}</span>`),S.class["is-highlight"]=!0,B=(0,t.h)(r.tag,S))}else if(typeof r.highlightFilter=="function"){const g=r.highlightFilter(m);g&&(S.innerHTML=g,S.class["is-highlight"]=!0,B=(0,t.h)(r.tag,S))}return B},h=m=>{i.emit("click",m)};let u="";const p=()=>{const m=o.value;if(!m)return;const S=m.clientWidth;tu(m,B=>{const g=m.innerHTML??"";pe(g)||B<S||(u?a?.show(m,g,{type:"text",id:u,showArrow:r.showArrow},!0):u=a?.show(m,g,{type:"text",showArrow:r.showArrow},!0)??"")})},y=()=>{u&&a?.hide(u)};let N=null;const k=m=>{N||(N=setTimeout(()=>{p(),N=null},r.showAfter??0))},w=m=>{N&&(clearTimeout(N),N=null),setTimeout(()=>{y()},r.hideAfter??0)},v=()=>{const m=o.value;m&&(m.addEventListener("mouseover",k),m.addEventListener("mouseleave",w))},f=()=>{const m=o.value;m&&(m.removeEventListener("mouseover",k),m.removeEventListener("mouseleave",w))};return(0,t.onMounted)(()=>{!ke(r.showOverflowTooltip)||!a||v()}),(0,t.onBeforeUnmount)(()=>{!ke(r.showOverflowTooltip)||!a||f()}),()=>{const m={onClick:h,class:c.value,style:s.value,ref:o};let S=null;if(ke(r.numberFormat)&&typeof i.slots.default=="function"){const g=i.slots.default();if(Array.isArray(g)&&g.length===1){const b=g[0].type.toString();if(b==="Symbol(Text)"||b==="Symbol(v-txt)"){const E=de(r.digits),V=de(r.decimalLength),A=ke(r.autoPadding);let C=`${g[0].children}`,x=C.split("").reverse().join("");x=hn(x,V,A,E,r.separator),C=x.split("").reverse().join(""),r.highlightFilter!==void 0&&(S=d(C,m)),S||(m.innerHTML=C,S=(0,t.h)(r.tag,m))}}}else{if(r.highlightFilter!==void 0&&typeof i.slots.default=="function"){const g=i.slots.default();if(Array.isArray(g)&&g.length===1){const b=g[0].type.toString();if(b==="Symbol(Text)"||b==="Symbol(v-txt)"){const E=`${g[0].children}`;S=d(E,m),S||(m.innerHTML=E,S=(0,t.h)(r.tag,m))}}}S||(S=(0,t.h)(r.tag,m,{default:i.slots.default}))}if(!r.mark&&!r.icon&&!i.slots.mark)return S;const B=[];if(i.slots.mark){const g={[`${e}__mark-wrap`]:!0};r.type&&(g[`${e}__mark-wrap--${r.type}`]=!0);const b={},E=r.color;E&&(b.color=E);const V=(0,t.h)("view",{class:g,style:b},{default:i.slots.mark});B.push(V)}else{const g={[`${e}__mark`]:!0};r.type&&(g[`${e}__mark--${r.type??"default"}`]=!0);const b={},E=r.color;E&&(b["background-color"]=E);const V=(0,t.h)("view",{class:g,style:b});B.push(V)}if(r.divide){const g=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});B.push(g)}return B.push(S),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":r.textPosition==="left","text-right":r.textPosition==="right"}},B)}}}}var{componentName:au,create:ou,scope:ru}=ee("text"),iu=ou(lu(au,ru,vt,!1)),St=iu,su={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 cu(e,n,a=!1){return{props:{...su},emits:["update:visible"],setup(l,{emit:r,slots:i,expose:o}){const c=(0,t.ref)({top:null,right:null,bottom:null,left:null}),s=(0,t.ref)(0),d=(0,t.ref)(0),h=(0,t.ref)(0),u=(0,t.ref)(0),p=(0,t.ref)(l.placement),y=(0,t.ref)(!1),N=(0,t.ref)(!1),k=(0,t.ref)(null),w=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,v=(P,_,te,oe,Q,Z,O,ne=!0)=>{const H=document.documentElement.clientWidth||document.body.clientWidth,q=document.documentElement.clientHeight||document.body.clientHeight,K=P.split("-");let Y=[];ne?K[0]==="top"?Y=["top","bottom","right","left"]:K[0]==="bottom"?Y=["bottom","top","right","left"]:K[0]==="left"?Y=["left","top","bottom","right"]:K[0]==="right"&&(Y=["right","top","bottom","left"]):Y=[P[0]];const G={top:null,right:null,bottom:null,left:null},le=[];for(let U=0;U<Y.length;U++){const W=Y[U];if(le[0]=W,K[1]&&(le[1]=K[1]),W==="top"){const I=te-O-l.arrowSize/2-l.offset;if(I>=0){G.top=I;let D=0;K[1]==="start"?D=_:K[1]==="end"?D=_+oe-Z:D=_+oe/2-Z/2;const L=H-D-Z;L<0?(D+=L,m.value=-L):m.value=0,G.left=D<0?0:D;break}}else if(W==="bottom"){const I=te+Q+l.arrowSize/2+l.offset;if(I+O<=q){G.top=I;let D=0;K[1]==="start"?D=_:K[1]==="end"?D=_+oe-Z:D=_+oe/2-Z/2;const L=H-D-Z;L<0?(D+=L,m.value=-L):m.value=0,G.left=D<0?0:D;break}}else if(W==="left"){const I=_-Z-l.arrowSize/2-l.offset;if(I>=0){G.left=I;let D=0;K[1]==="start"?D=te:K[1]==="end"?D=te+Q-O:D=te+Q/2-O/2,G.top=D<0?0:D;break}}else if(W==="right"){const I=_+oe+l.arrowSize/2+l.offset;if(I+Z<=H){G.left=I;let D=0;K[1]==="start"?D=te:K[1]==="end"?D=te+Q-O:D=te+Q/2-O/2,G.top=D<0?0:D;break}}}return{bestPlacement:le.join("-"),bestInsetRect:G}},f=()=>{const P=l.visible,_=l.autoFit;if(!_e||P===!1)return;if(l.reference){const O=w(),ne=_l(O);s.value=ne.x,d.value=ne.y,h.value=O.offsetWidth,u.value=O.offsetHeight}else l.referenceInset&&(s.value=l.referenceInset.left,d.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,u.value=l.referenceInset.bottom-l.referenceInset.top);const te=k.value.offsetWidth,oe=k.value.offsetHeight,{bestPlacement:Q,bestInsetRect:Z}=v(l.placement,s.value,d.value,h.value,u.value,te,oe,_);p.value=Q,c.value=Z},m=(0,t.ref)(0),S=Pe(()=>{f()},10),B=(0,t.ref)(l.visible);(0,t.watch)([()=>l.visible],([P])=>{B.value=P,P?(y.value=P,setTimeout(()=>{f(),N.value=!0},0)):N.value=!1});const g=(0,t.computed)(()=>B.value&&b.value),b=(0,t.ref)(!0),E=Pe(P=>{const _=P[0];_&&(b.value=_.isIntersecting)},10),V=new IntersectionObserver(E);(0,t.watch)([()=>l.reference,()=>l.referenceInset],([P,_],[te,oe])=>{!P&&!_||(setTimeout(()=>{f()},0),l.autoFit&&(te&&(Ht.unwatch(te,S),V.unobserve(te)),P&&(Ht.watch(P,S),V.observe(P))))},{immediate:!0}),(0,t.onBeforeUnmount)(()=>{l.reference&&(Ht.unwatch(l.reference,S),V.unobserve(l.reference),V.disconnect())});const A=(0,t.computed)(()=>{const P={[e]:!0};return p.value.startsWith("top")?P["is-top"]=!0:p.value.startsWith("right")?P["is-right"]=!0:p.value.startsWith("bottom")?P["is-bottom"]=!0:p.value.startsWith("left")&&(P["is-left"]=!0),P[`is-${l.effect}`]=!0,!N.value&&g.value&&(P["is-opacity"]=!0),N.value&&g.value&&(P["is-show"]=!0),g.value||(P["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(P[`${l.customClass}`]=!0),P}),C=(0,t.computed)(()=>{const P={};return c.value.top!==null&&(P.top=`${c.value.top}px`),c.value.right!==null&&(P.right=`${c.value.right}px`),c.value.bottom!==null&&(P.bottom=`${c.value.bottom}px`),c.value.left!==null&&(P.left=`${c.value.left}px`),l.width&&(P.width=l.width),l.zIndex&&(P["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(P,l.customStyle),P}),x=()=>{B.value=!1,r("update:visible",!1)},j=()=>l.showOverlay?(0,t.h)("div",{class:`${e}__overlay`,onClick:x}):null,$=()=>{let P=null;return i.title?P=(0,t.h)("div",{class:`${e}__title`},{default:i.title}):l.title&&(P=(0,t.h)("div",{class:`${e}__title`},[l.title])),P},R=(0,t.computed)(()=>({[`${e}__arrow`]:!0})),M=(0,t.computed)(()=>{const P={};return l.showArrow?(P.width=`${l.arrowSize}px`,P.height=`${l.arrowSize}px`,p.value==="top"?(P.left="50%",P.bottom="0",P.transform="translate(-50%, 50%)"):p.value==="top-start"?(P.left=`${l.arrowOffset+m.value}px`,P.bottom="0",P.transform="translate(-50%, 50%)"):p.value==="top-end"?(P.right=`${l.arrowOffset-m.value}px`,P.bottom="0",P.transform="translate(-50%, 50%)"):p.value==="right"?(P.left="0",P.top="50%",P.transform="translate(-50%, -50%)"):p.value==="right-start"?(P.left="0",P.top=`${l.arrowOffset}px`,P.transform="translate(-50%, 50%)"):p.value==="right-end"?(P.left="0",P.bottom=`-${l.arrowOffset}px`,P.transform="translate(-50%, 50%)"):p.value==="bottom"?(P.left="50%",P.top="0",P.transform="translate(-50%, -50%)"):p.value==="bottom-start"?(P.left=`${l.arrowOffset+m.value}px`,P.top="0",P.transform="translate(-50%, -50%)"):p.value==="bottom-end"?(P.right=`${l.arrowOffset-m.value}px`,P.top="0",P.transform="translate(-50%, -50%)"):p.value==="left"?(P.right="0",P.top="50%",P.transform="translate(50%, -50%)"):p.value==="left-start"?(P.right="0",P.top=`${l.arrowOffset}px`,P.transform="translate(50%, -50%)"):p.value==="left-end"&&(P.right="0",P.bottom=`-${l.arrowOffset}px`,P.transform="translate(50%, -50%)"),P):{display:"none"}}),F=()=>(0,t.h)("div",{class:R.value,style:M.value}),z=()=>{B.value===!1&&(y.value=!1)},X=P=>{if(!k.value||B.value===!1)return;const{relatedTarget:_}=P;k.value.contains(_)||(B.value=!1,r("update:visible",!1))};return o({doLayout:f}),()=>{if(!y.value)return null;const P=[],_=j();_&&P.push(_);const te=[],oe=$();if(oe&&te.push(oe),i.default){const ne=i.default();te.push(ne)}const Q=F();Q&&te.push(Q);const Z={ref:k,class:A.value,style:C.value,onAnimationend:z};l.leaveHide&&(Z.onMouseleave=X);const O=(0,t.h)("div",Z,{default:()=>te});return P.push(O),(0,t.h)(t.Teleport,{to:l.teleport,disabled:l.teleportDisable},{default:()=>P})}}}}var{componentName:uu,create:du,scope:fu}=ee("popover-dialog"),mu=du(cu(uu,fu,!1)),Wn=mu,pu={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 hu(e,n,a){return{props:{...Wr,...pu},emits:["click"],setup(l,{emit:r,slots:i}){const{toLocaleRefs:o}=(0,ye.useFoxI18n)(n),c=o(l,["moreText"]),s=e,d=(0,t.computed)(()=>({[s]:!0}));function h(B){return B.props||{}}function u(B){return!!h(B).disabled}function p(B){return B.children??[]}const y=(0,t.ref)(),N=(0,t.computed)(()=>y.value?.$el??null),k=(0,t.ref)(!1),w=B=>{k.value=B},v=()=>{k.value=!k.value};function f(B,g){return()=>{g||(k.value=!1,h(B)?.onClick?.())}}function m(B,g){const b=p(B),E=u(B),V=f(B,E),A=[`${s}__dropdown-item`];return E&&A.push("is-disabled"),(0,t.h)("span",{class:A,onClick:V},b)}const S=B=>{const g=l.maxDisplayCount??B.length;if(g>=B.length)return B;const b=[],E=g-1;for(let j=0;j<E;j++)b.push(B[j]);const V=(i.moreIcon&&i.moreIcon())??(l.moreIcon&&(0,t.h)(l.moreIcon))??(0,t.h)(a),A=(0,t.h)(St,{ref:j=>y.value=j,class:`${s}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:l.type,onClick:v},{default:()=>c.moreText.value,mark:()=>V});b.push(A);const C=[];for(let j=E;j<B.length;j++){const $=m(B[j],j);C.push($)}const x=(0,t.h)(Wn,{placement:l.dropdownPlacement,"onUpdate:visible":w,visible:k.value,reference:N.value,"custom-class":`${s}__popover`},{default:()=>C});return b.push(x),b};return()=>{const{getChildren:B}=On(i?.default),g=S(B());return(0,t.h)(jn,{class:d.value},{default:()=>g})}}}}var{componentName:gu,create:yu,scope:bu}=ee("buttons-item"),vu=yu(hu(gu,bu,eu)),ea=vu,Su={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function ku(e,n){return{props:Su,setup(a,l){const r=tt(),i=xn();Mn(!1);const o=(0,t.computed)(()=>i&&r?Rn(r,!1).value:null),c=e,s=(0,t.computed)(()=>({[c]:!0,[`${c}__gutter`]:o.value&&o.value.type!=="flow",[`${c}__stretch`]:a.span==="stretch"})),d=(0,t.computed)(()=>{const h={};if(a.width)a.width!=="auto"&&(h.width=he(a.width));else{const u=i&&r?zn(r,!1):null;if(o.value&&u){if(o.value.type==="grid"){const p=Ln(u,o.value,a.span,a.offset);Object.assign(h,p)}else if(o.value.type==="flow"){const p=Fn(u,o.value,a.span,a.offset,a.width);Object.assign(h,p)}}}return h});return()=>{const h={class:s.value,style:d.value};return l.slots&&typeof l.slots.default=="function"?(0,t.h)("div",h,l.slots.default()):(0,t.h)("div",h)}}}}var{componentName:wu,create:Cu,scope:Nu}=ee("slot-item"),Au=Cu(ku(wu,Nu)),ta=Au;function Ie(e,n={}){return(0,t.h)(jt,e,n)}function Bu(e,n,a,l,r){let i=[];Array.isArray(e)?i=e:i=[e];const o=[],c=n[0];if(Array.isArray(e)&&!Array.isArray(c)&&!c[r]){let s=n;for(let d=0;s&&d<i.length;d++){let h=i[d],u=s.find(p=>p[l]===h);if(!u)break;o.push(u[a])}return o}if(Array.isArray(c))for(let s=0;s<n.length&&s<i.length;s++){let d=n[s],h=i[s];const u=d.find(p=>p[l]===h);if(!u)break;o.push(u[a])}else{let s=n;for(let d=0;s&&d<i.length;d++){let h=i[d],u=s.find(p=>p[l]===h);if(!u)break;o.push(u[a]),s=u[r]}}return o}var Tu=class{scope;constructor(e){this.scope=e}async load(e,n,a){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=at(e,this.scope);return l===null?(console.error(`${e} component not found api function`),[]):($e(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function Vu(){return new Tu(ct())}var Eu={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array],required:!1},separator:{type:[String],required:!1,default:"/"},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 $u(e,n,a=!1){return{props:Eu,setup(l,{attrs:r,slots:i}){const o=Vu(),c=(0,t.ref)([]);(0,t.watch)([()=>l.source,()=>l.params],async([d,h])=>{c.value=await o.load(l.sourceType,d,h)},{immediate:!0});const s=(0,t.computed)(()=>{if(!Array.isArray(c.value)||c.value.length===0)return l.emptyText;let d=Bu(l.modelValue,c.value,l.textKey,l.valueKey,l.childrenKey);return d.length==0?l.emptyText??"":d.length===1?l.optionType=="item"?`${l.modelValue}${l.separator}${d[0]}`:d[0]:d.join(l.separator)});return()=>{const d={...r};if(i.default)return i.default({text:s.value,value:l.modelValue});const h=l.tag??"span";return typeof h=="object"?(0,t.h)(h,d,{default:()=>s.value}):(0,t.h)(h,d,[s.value])}}}}var{componentName:Du,create:Iu,scope:qu}=ee("mapping"),Pu=Iu($u(Du,qu,!1)),Yn=Pu;function Me(e,n,a,l){const r="fox-browse-item";let i=null;a?i=(0,t.h)(Yn,{class:[`${r}__mapping`],source:a,modelValue:e,separator:l},{default:c=>(0,t.h)(St,{class:[`${r}__text`]},{default:()=>c.text})}):i=(0,t.h)(St,{class:[`${r}__text`]},{default:()=>e});const o={label:n.default,default:()=>i};return(0,t.h)(jt,{class:[r]},o)}var Yr={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}},xu={...be,...Se,...Yr};function Mu(e,n,a,l,r){return{props:xu,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y,exposeApi:N}=Be({componentName:e,get readonly(){return u.value},get disabled(){return d.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),{toLocaleRefs:k}=(0,ye.useFoxI18n)(n),w=k(i,["placeholder"]),v=(0,t.ref)(!1),f=xe(i,"modelValue",null,y),m=e,S=(0,t.computed)(()=>({[m]:!0,"is-disabled":d.value,"is-readonly":u.value})),B=Te((0,t.computed)(()=>i.textAlign),"textAlign"),g=(0,t.computed)(()=>{const _={};return B.value&&(_["text-align"]=B.value),_}),b=_=>{let te=_.target.value;i.type==="digit"&&(te=Pl(te,!0)),i.type==="number"&&(te=Pl(te,!1)),i.maxLength&&te.length>Number(i.maxLength)&&(te=te.slice(0,Number(i.maxLength))),f.value=te,y("update:modelValue",te,_),y("change",te,_)};let E=xe(i,"hintText"),V=(0,t.ref)(!1);const A=_=>{let te=_.target.value;v.value=!0,pe(E.value)||(V.value=!0),y("focus",te,_)},C=_=>{setTimeout(()=>{V.value&&(V.value=!1),v.value=!1},0);let te=_.target.value;i.maxLength&&te.length>Number(i.maxLength)&&(te=te.slice(0,Number(i.maxLength))),y("blur",te,_)},x=(0,t.computed)(()=>({[`${m}__append`]:!0,"is-disabled":d.value,"is-readonly":u.value})),j=(0,t.computed)(()=>{const _={};return o.slots.append&&!$.value&&!X.value&&(_.display="none"),_}),$=(0,t.computed)(()=>we(i.unit)>0),R=(0,t.computed)(()=>!X.value),M=(0,t.computed)(()=>({[`${m}__unit`]:!0,hidden:!R.value})),F=_=>{f.value="",y("update:modelValue","",_),y("change","",_),y("clear","")},z=(0,t.computed)(()=>ke(i.clearable)&&!d.value&&!u.value),X=(0,t.computed)(()=>{let _=we(f.value)>0;return ke(i.clearable)&&_&&v.value}),P=(0,t.computed)(()=>({action:!0,hidden:!X.value}));return N({setDisabled:_=>{s.value=_},setReadonly:_=>{h.value=_}}),()=>{if(p.value==="on"&&(u.value||d.value))return l(f.value,o.slots);const _={class:S.value,style:g.value,type:i.type,maxlength:i.maxLength,placeholder:w.placeholder.value,disabled:d.value,readonly:u.value,value:f.value,"adjust-position":i.adjustPosition,"always-system":i.alwaysSystem,onInput:b,onFocus:A,onBlur:C},te=[],oe=(0,t.h)("input",_);te.push(oe);const Q=[];if(z.value){const H=(0,t.h)(r,{class:["action-icon"]}),q=(0,t.h)("view",{class:P.value,onClick:F},{default:()=>[H]});Q.push(q)}if($.value){const H=(0,t.h)("view",{class:M.value},[i.unit]);Q.push(H)}const Z=(0,t.h)("view",{class:x.value,style:j.value},{default:()=>Q});te.push(Z);const O={default:()=>te};O.label=o.slots.default,O.prepend=o.slots.prepend,O.append=o.slots.append,O.fixedPreTip=o.slots.fixedPreTip,O.fixedTip=o.slots.fixedTip;const ne={...Ze(i,Yr),ref:c,hintText:E.value,hintVisible:V.value};return i.prop&&(ne.prop=`${i.prop}_item`),a(ne,O)}}}}var{componentName:Ru,create:zu,scope:Fu}=ee("input-item"),Lu=zu(Mu(Ru,Fu,Ie,Me,re.CircleClose)),na=Lu;function Xr(e,n=0){let a=`${e}`,l=a.indexOf(".");if(l==-1)return a;let r=l;for(let i=a.length-1;i>=l;i--)if(a.charAt(i)!="0"){r=i;break}return r-l<n?r=l+n+1:r!=l&&(r+=1),r>a.length?a=a.padEnd(r,"0"):a=a.substring(0,r),a}function Qr(e,n,a=20){return typeof n=="string"&&(n=de(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?Xr(lr(`${e}`,`${n}`)):Xr(Vl(`${e}`,ar(`${n}`),20))}function Ou(e,n=-1,a=!1,l=3,r=","){return hn(e,de(n),a,l,r)}function Gr(e,n,a,l,r=!0){if(e==="")return"";if(e=or(e),n=de(n),n==1)return e;if(l)e=Qr(e,n),a&&(e=="0"&&r?e=`${e}.`.padEnd(de(a)+2,"0"):e=Vl(e,1,de(a)));else{let i=-1*n;e=Qr(e,i)}return e}function _r(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ke(n.minInclude),r=El(e,n.min);(l&&r==-1||!l&&(r==0||r==-1))&&(a.message="请输入不小于 {0} 的数值".replace("{0}",n.min),a.minValid=!1)}if(n.max!=null){let l=ke(n.maxInclude),r=El(e,n.max);(l&&r==1||!l&&(r==0||r==1))&&(a.maxValid=!1)}return a}var Zr={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean],default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:[String],required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:[Boolean],required:!1,default:!0},digits:{type:[Number],required:!1,default:3},separator:{type:[String],required:!1,default:","},placeholder:{type:[String],required:!1},textAlign:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:!0},alwaysSystem:{type:[Boolean],default:!1},maxLength:{type:[String,Number]}},Ku={...be,...Se,...Zr};function Uu(e,n,a,l,r){return{props:Ku,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y,exposeApi:N}=Be({componentName:e,get readonly(){return u.value},get disabled(){return d.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),k=(0,t.ref)(!1),w=xe(i,"modelValue",null,y),v=(0,t.ref)("");(0,t.watch)([()=>w.value,()=>i.rates,()=>i.precision],([O,ne,H])=>{if(pe(O)){v.value="";return}const q=Gr(O,ne,H,!1);v.value!==q&&(v.value=q)},{immediate:!0});const f=(0,t.computed)(()=>{let O="";return k.value&&(O=v.value),O}),{t:m}=(0,ye.useFoxI18n)(n),S=(0,t.computed)(()=>{let O=i.placeholder??"";return!k.value&&!pe(v.value)?O=Ou(v.value,i.decimalLength,i.autoPadding,i.digits,i.separator):O=pe(O)?m(["placeholder"]):O,O}),B=e,g=(0,t.computed)(()=>({[B]:!0,[`${B}__placeholder`]:v.value.length>0,"is-disabled":d.value,"is-readonly":u.value})),b=Te((0,t.computed)(()=>i.textAlign),"textAlign"),E=(0,t.computed)(()=>{const O={};return b.value&&(O["text-align"]=b.value),O}),V=(0,t.ref)(""),A=(0,t.computed)(()=>{let O=V.value;return pe(O)&&(O=i.errorTip??""),O}),C=(0,t.ref)(""),x=(0,t.ref)(!1),j=O=>{let ne=O.target.value;if(pe(ne)){v.value="",w.value="",y("update:modelValue","",O),y("change","",O),ke(i.showTip)&&x.value&&(x.value=!1);return}if(ne.length>=2){let H=ne;if(H.charAt(0)=="-"&&(H=H.substring(1)),H.length>=2&&H.charAt(0)=="0"&&H.charAt(1)!="."){(0,t.triggerRef)(v);return}}if(ne!="-"){if(!vn(ne)){(0,t.triggerRef)(v);return}if(i.integerLength!=-1&&fr(ne)>Number(i.integerLength)){(0,t.triggerRef)(v);return}if(i.decimalLength&&i.decimalLength!=-1&&mr(ne)>Number(i.decimalLength)){(0,t.triggerRef)(v);return}let H=_r(ne,i);if(H.maxValid===!1){V.value=H.message,(0,t.triggerRef)(v);return}}else if(i.min!=null&&de(i.min)>=0){(0,t.triggerRef)(v);return}C.value=ne,ke(i.showTip)&&(x.value=ne.length>0),v.value=ne,w.value=Gr(ne,i.rates,i.precision,!0),y("update:modelValue",w.value,O),y("change",w.value,O)},$=O=>{if(k.value=!0,ke(i.showTip)){let ne=v.value;pe(ne)&&(ne=i.hintText),pe(ne)||(C.value=ne,x.value=!0)}V.value="",y("focus",w.value,O)},R=O=>{if(setTimeout(()=>{k.value=!1,ke(i.showTip)&&x.value===!0&&(x.value=!1)},0),!pe(v.value)){let ne=_r(v.value,i);if(ne.minValid===!1||ne.maxValid===!1){V.value=ne.message;return}}y("update:modelValue",w.value,O),y("blur",w.value,O)},M=(0,t.computed)(()=>({[`${B}__append`]:!0,"is-disabled":d.value,"is-readonly":u.value})),F=(0,t.computed)(()=>{const O={};return o.slots.append&&!z.value&&!oe.value&&(O.display="none"),O}),z=(0,t.computed)(()=>we(i.unit)>0),X=(0,t.computed)(()=>!oe.value),P=(0,t.computed)(()=>({[`${B}__unit`]:!0,hidden:!X.value})),_=O=>{w.value="",y("update:modelValue","",O),y("change","",O),y("clear","")},te=(0,t.computed)(()=>ke(i.clearable)&&!d.value&&!u.value),oe=(0,t.computed)(()=>{let O=we(w.value)>0;return ke(i.clearable)&&O&&k.value}),Q=(0,t.computed)(()=>({action:!0,hidden:!oe.value}));N({setDisabled:O=>{s.value=O},setReadonly:O=>{h.value=O}});const Z=()=>w.value?S.value:w.value;return()=>{if(p.value==="on"&&(u.value||d.value))return l(Z(),o.slots);let O={class:g.value,style:E.value,type:"digit",maxlength:i.maxLength,placeholder:S.value,disabled:d.value,readonly:u.value,value:f.value,"adjust-position":i.adjustPosition,"always-system":i.alwaysSystem,onInput:j,onFocus:$,onBlur:R},ne=[],H=(0,t.h)("input",O);ne.push(H);let q=[];if(te.value){const le=(0,t.h)(r,{class:["action-icon"]}),U=(0,t.h)("view",{class:Q.value,onClick:_},{default:()=>[le]});q.push(U)}if(z.value){const le=(0,t.h)("view",{class:P.value},[i.unit]);q.push(le)}const K=(0,t.h)("view",{class:M.value,style:F.value},{default:()=>q});ne.push(K);const Y={default:()=>ne};Y.label=o.slots.default,Y.prepend=o.slots.prepend,Y.append=o.slots.append,Y.fixedPreTip=o.slots.fixedPreTip,Y.fixedTip=o.slots.fixedTip;const G={...Ze(i,Zr),ref:c,errorTip:A.value,hintText:C.value,hintVisible:x.value,hintType:"number"};return i.prop&&(G.prop=`${i.prop}_item`),a(G,Y)}}}}var{componentName:Hu,create:ju,scope:Wu}=ee("money-item"),Yu=ju(Uu(Hu,Wu,Ie,Me,re.CircleClose)),la=Yu,aa={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:Xu,create:Qu,scope:Gu}=ee("textarea"),_u=Qu({props:{...aa},emits:["update:modelValue","change","blur","focus"],setup(e,{emit:n}){let{toLocaleRefs:a}=(0,ye.useFoxI18n)(Gu);const l=a(e,["placeholder"]),r=(0,t.ref)(),i=(0,t.computed)(()=>{const p=Xu;return{[p]:!0,[`${p}--disabled`]:e.disabled}});(0,t.onMounted)(()=>{e.modelValue&&s(String(e.modelValue)),e.autosize&&(0,t.nextTick)(c)});const o=(0,t.computed)(()=>({textAlign:e.textAlign})),c=()=>{let p=r.value;p.style.height="auto";let y=p.scrollHeight;if(typeof e.autosize=="object"){const{maxHeight:N,minHeight:k}=e.autosize;N!==void 0&&(y=Math.min(y,N)),k!==void 0&&(y=Math.max(y,k))}y&&(console.info("----------- height",y),p.style.height=y+"px")};(0,t.watch)(()=>e.modelValue,()=>{e.autosize&&(0,t.nextTick)(c)});const s=(p,y)=>{e.maxLength&&p.length>Number(e.maxLength)&&(p=p.substring(0,Number(e.maxLength))),n("update:modelValue",p,y),n("change",p,y)};return{...l,textareaRef:r,classes:i,styles:o,change:p=>{const y=p.target;s(y.value,p)},focus:p=>{e.disabled||e.readonly||n("focus",p)},blur:p=>{if(e.disabled||e.readonly)return;let y=p.target.value;s(y,p),n("blur",{value:y,event:p})}}}}),Zu=["rows","disabled","readonly","value","maxlength","placeholder","autofocus"],Ju={key:0,class:"fox-textarea__limit"};function ed(e,n,a,l,r,i){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]=(...o)=>e.change&&e.change(...o)),onBlur:n[1]||(n[1]=(...o)=>e.blur&&e.blur(...o)),onFocus:n[2]||(n[2]=(...o)=>e.focus&&e.focus(...o)),maxlength:e.maxLength,placeholder:e.placeholder,autofocus:e.autofocus},null,44,Zu),e.limitShow?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ju,(0,t.toDisplayString)(e.modelValue?e.modelValue.length:0)+"/"+(0,t.toDisplayString)(e.maxLength),1)):(0,t.createCommentVNode)("",!0)],2)}var Xn=ie(_u,[["render",ed]]);function td(e,n,a,l,r){return{props:{...be,...Se,...aa},emits:["update:modelValue","change","blur","focus","setValue"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y}=Be({componentName:e,get readonly(){return u.value},get disabled(){return d.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),N=xe(i,"modelValue",null,y),k=S=>{N.value=S,y("update:modelValue",S,{}),y("change",S,{})};let w=xe(i,"hintText"),v=(0,t.ref)(!1);const f=S=>{pe(w.value)||(v.value=!0),y("focus",N.value,S)},m=S=>{setTimeout(()=>{v.value&&(v.value=!1)},0),y("blur",N.value,S)};return()=>{if(p.value==="on"&&(u.value||d.value))return l(N.value,o.slots);const S={...ve(i,aa),disabled:d.value,readonly:u.value,value:N.value,"onUpdate:modelValue":k,onFocus:f,onBlur:m},B=[],g=(0,t.h)(r,S);B.push(g);const b={default:()=>B};b.label=o.slots.default,b.prepend=o.slots.prepend,b.append=o.slots.append,b.fixedPreTip=o.slots.fixedPreTip,b.fixedTip=o.slots.fixedTip;const E={...ve(i,Se,be),ref:c};return i.prop&&(E.prop=`${i.prop}_item`),a(E,b)}}}}var{componentName:nd,create:ld,scope:ad}=ee("textarea-item"),od=ld(td(nd,ad,Ie,Me,Xn)),oa=od;function rd(e){return e===window}var qe=e=>{const n=(0,t.unref)(e);if(rd(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}},Jr=10;function ei(e,n){return e>n&&e>Jr?"horizontal":n>e&&n>Jr?"vertical":""}function Qn(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Gn(){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:(o=>{if(o.touches){const c=o.touches[0];e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}else{const c=o;e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=ei(e.offsetX,e.offsetY))}),start:(o=>{if(l(),o.touches){const c=o.touches[0];e.startX=c.clientX,e.startY=c.clientY}else{const c=o;e.startX=c.clientX,e.startY=c.clientY}e.startTime=Date.now()}),reset:l,isVertical:n,isHorizontal:a,state:e}}function ot(){const e=(0,t.ref)(0),n=(0,t.ref)(0),a=(0,t.ref)(0),l=(0,t.ref)(0),r=(0,t.ref)(0),i=(0,t.ref)(0),o=(0,t.ref)(0),c=(0,t.ref)(0),s=(0,t.ref)(0),d=(0,t.ref)(0),h=(0,t.ref)(""),u=()=>h.value==="vertical",p=()=>h.value==="horizontal",y=()=>{o.value=0,c.value=0,s.value=0,d.value=0,h.value="",a.value=0};return{move:(w=>{if(w.touches){const v=w.touches[0];o.value=v.clientX-e.value,c.value=v.clientY-n.value,r.value=v.clientX,i.value=v.clientY}else{const v=w;o.value=v.clientX-e.value,c.value=v.clientY-n.value,r.value=v.clientX,i.value=v.clientY}s.value=Math.abs(o.value),d.value=Math.abs(c.value),l.value=Date.now()-a.value,h.value||(h.value=ei(s.value,d.value))}),start:(w=>{if(y(),w.touches){const v=w.touches[0];e.value=v.clientX,n.value=v.clientY}else{const v=w;e.value=v.clientX,n.value=v.clientY}a.value=Date.now()}),reset:y,startX:e,startY:n,startTime:a,duration:l,moveX:r,moveY:i,deltaX:o,deltaY:c,offsetX:s,offsetY:d,direction:h,isVertical:u,isHorizontal:p}}var id=2e3,ti=()=>id++,rt={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:{}}},sd=(e,n)=>({components:n,props:{...rt},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:l}){const r=(0,t.reactive)({zIndex:0,showSlot:!0,closed:a.closeable});a.visible&&(r.zIndex=ti());const i=(0,t.computed)(()=>{const k=e,w=[k,`${k}--${a.position}`];return a.round&&w.push("round"),a.position==="bottom"&&a.safeAreaInsetBottom&&w.push(`${k}--${a.position}--safebottom`),typeof a.popClass=="string"?w.push(a.popClass):Array.isArray(a.popClass)&&a.popClass.forEach(v=>{w.push(v)}),w}),o=(0,t.computed)(()=>({zIndex:r.zIndex,transitionDuration:`${a.duration}s`,...a.style})),c=(0,t.computed)(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),s=()=>{l("update:visible",!0),a.zIndex?r.zIndex=a.zIndex:r.zIndex=ti(),a.destroyOnClose&&(r.showSlot=!0),l("open")},d=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{r.showSlot=!1},+a.duration*1e3)},h=k=>{l("click-pop",k)},u=k=>{k.stopPropagation(),l("click-close-icon",k),l("update:visible",!1)},p=k=>{l("click-overlay",k),a.closeOnClickOverlay&&l("update:visible",!1)},y=k=>{l("opend",k)},N=k=>{l("closed",k)};return(0,t.watch)(()=>a.visible,k=>{a.visible?s():d()}),(0,t.watch)(()=>a.closeable,k=>{r.closed=k}),{...(0,t.toRefs)(r),popStyle:o,transitionName:c,classes:i,onClick:h,onClickCloseIcon:u,onClickOverlay:p,onOpened:y,onClosed:N}}}),ni={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}},ra={...rt,...ni,modelValue:{type:[String,Number,Boolean,Object,Array],default:()=>""},text:{type:[Array],default:()=>[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:()=>[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:()=>"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:()=>!0},poppable:{type:[Boolean],default:()=>!0}},li=36;function cd(){return li}function ud(e){li=e}function Oe(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ia(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function dd(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function ut(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ai(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var fd=class{scope;constructor(e){this.scope=e}async load(e,n,a){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);const l=at(e,this.scope);return l===null?(console.error(`[FoxUI]${e} component not found api function`),[]):($e(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function md(){return new fd(ct())}function oi(e,n,a){return!(Oe(e,n)!==Oe(e,a)||ut(e,n)!==ut(e,a))}function pd(e,n,a,l){if(a.length==0)return[];Array.isArray(n)||(n=[n]);const r=[],i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let o=0;o<n.length&&o<a.length;o++){const c=n[o];let s=a[o].findIndex(d=>{if(i==="text")return Oe(e,d)===c;if(i==="value"){let h=ut(e,d);return h==null&&(h=Oe(e,d)),h===c}else if(i==="item")return oi(e,d,c)});if(s==-1)break;r.push(s)}else{let o=a[0];for(let c=0;c<n.length;c++){const s=n[c];let d=o.findIndex(u=>{if(i==="text")return Oe(e,u)===s;if(i==="value"){let p=ut(e,u);return p==null&&(p=Oe(e,u)),p===s}else if(i==="item")return oi(e,u,s)});if(d==-1)break;r.push(d);const h=ia(e,o[d]);if(!Array.isArray(h))break;o=h}}return r}function ri(e,n,a,l){if(a.length==0)return null;const r={texts:[],values:[],items:[]},i=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let o=0;o<n.length&&o<a.length;o++){const c=a[o];let s=n[o];s<0&&s>=c.length&&(s=0);const d=c[s],h=Oe(e,d);if(r.texts.push(h),r.items.push(d),i==="text")r.values.push(h);else if(i==="value"){let u=ut(e,d);u==null&&(u=h),r.values.push(u)}else r.values.push(d)}else{let o=a[0];for(let c=0;c<n.length;c++){let s=n[c];s<0&&s>=o.length&&(s=0);const d=o[s],h=Object.assign({},d);h.children=null;const u=Oe(e,d);if(r.texts.push(u),r.items.push(h),i==="text")r.values.push(u);else if(i==="value"){let p=ut(e,d);p==null&&(p=u),r.values.push(p)}else r.values.push(h);if(!Array.isArray(d.children))break;o=d.children}}return r}function ii(e){return{text:e,value:e}}var hd=15,gd=300,yd=200,{create:bd}=ee("picker-column");function vd(e){e.stopPropagation()}function Sd(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&vd(e)}var kd={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},...ni},wd=bd({props:kd,emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=(0,t.computed)(()=>({"fox-picker__list":!0})),l=(0,t.computed)(()=>({height:`${de(e.visibleItemCount)*+e.itemHeight}px`})),r=(0,t.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),i=(0,t.computed)(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),o=b=>{const E=b+1;return E>=u.currIndex+8||E<=u.currIndex-8},c=(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:`${i.value}px`})),s=b=>{const E=b+1;return`transform: rotate3d(1, 0, 0, ${-u.rotation*E}deg) translate3d(0px, 0px, 104px)`},d=(0,t.computed)(()=>({transition:`transform ${u.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${u.scrollDistance+i.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=b=>Oe(e,b),y=b=>ut(e,b),N=ot(),k=()=>{u.transitionEndTrigger&&(u.transitionEndTrigger(),u.transitionEndTrigger=null)},w=(b,E=!1,V=!1)=>{if(u.currIndex=b,E){const A=()=>{u.moving=!1,n("update:modelValue",b),n("change",b)};V?u.transitionEndTrigger=A:A()}},v=(b,E,V)=>{let A=b+u.startDistance;if(E==="end"){const C=-(e.source.length-1)*e.itemHeight;A<C&&(A=C),A>0&&(A=0);let x=Math.abs(Math.round(-A/e.itemHeight));const j=-x*e.itemHeight,$=`${(x+1)*u.rotation}deg`;w(x,!0,V?V>0:!1),f(j,E,V,$)}else{let C=(-A/e.itemHeight+1)*u.rotation;const x=(e.source.length+1)*u.rotation,j=0;if(C=Math.min(Math.max(C,j),x),e.threeDimensional&&(C<j||C>x))return;f(A,null,void 0,`${C}deg`)}},f=(b=0,E,V=yd,A)=>{E==="end"?u.scrollTime=V:u.scrollTime=0,u.deg=A,u.scrollDistance=b},m=(b,E)=>(b=Math.abs(b/E)/.003*(b<0?-1:1),b),S=b=>{e.readonly||(u.startDistance=u.scrollDistance,N.start(b),u.transitionEndTrigger=null)},B=b=>{e.readonly||(u.moving=!0,N.move(b),N.isVertical()&&(u.moving=!0,Sd(b,!0)),v(N.deltaY.value,"",0))},g=()=>{if(e.readonly)return;const b=N.deltaY.value,E=N.duration.value;E<gd&&Math.abs(b)>hd?v(m(b,E),"end",de(e.swipeDuration)):v(b,"end",0)};return(0,t.watch)(()=>e.modelValue,b=>{const E=u.currIndex-b;E!==0&&(u.currIndex=b,u.startDistance=u.scrollDistance,v(E*e.itemHeight,"",0))}),(0,t.watch)(()=>e.source,b=>{if(u.currIndex>=b.length){const E=(b.length-1-u.currIndex)*e.itemHeight;u.startDistance=u.scrollDistance,v(E,"end",0)}}),(0,t.watch)(()=>e.visible,b=>{b===!1&&k()}),(0,t.onMounted)(()=>{v(-e.modelValue*e.itemHeight)}),{classes:a,styles:l,contentClasses:r,itemText:p,itemValue:y,...(0,t.toRefs)(u),roller:h,getItemText:Oe,onTouchStart:S,onTouchMove:B,onTouchEnd:g,isHidden:o,setRollerStyle:s,touchRollerStyle:c,touchTileStyle:d,stopMomentum:k}}}),Cd={key:1,class:"fox-picker__item-tile"};function Nd(e,n,a,l,r,i){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]=(...o)=>e.onTouchStart&&e.onTouchStart(...o)),onTouchmove:n[1]||(n[1]=(...o)=>e.onTouchMove&&e.onTouchMove(...o)),onTouchend:n[2]||(n[2]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o)),onTouchcancel:n[3]||(n[3]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o)),onTransitionend:n[4]||(n[4]=(...o)=>e.stopMomentum&&e.stopMomentum(...o))},[(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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${c}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(c)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(c))},(0,t.toDisplayString)(e.itemText(o)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",Cd,(0,t.toDisplayString)(e.itemText(o)),1))],64))),128))],6)],38)}var Ad=ie(wd,[["render",Nd]]),Wt=0,si="fox-overflow-hidden",ci=()=>_e?document.body:{classList:[]},Bd=e=>[()=>{if(e())try{!Wt&&ci().classList.add(si),Wt++}catch{}},()=>{if(e()&&Wt)try{Wt--,!Wt&&ci().classList.remove(si)}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:Vd,create:Ed}=ee("overlay"),$d=Ed({props:{...Td},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=Bd(()=>e.lockScroll),r=(0,t.computed)(()=>({[Vd]:!0,[e.overlayClass]:!0})),i=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,c=>{c?a():l()}),{classes:r,style:i,onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function Dd(e,n,a,l,r,i){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)((...o)=>e.onClick&&e.onClick(...o),["stop"])),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}var dt=ie($d,[["render",Dd]]),{componentName:Id,create:qd}=ee("popup"),Pd=qd(sd(Id,{FoxOverLay:dt,Close:re.Close}));function xd(e,n,a,l,r,i){const o=(0,t.resolveComponent)("FoxOverLay"),c=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(o,(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]=(...s)=>e.onClick&&e.onClick(...s))},[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]=(...s)=>e.onClickCloseIcon&&e.onClickCloseIcon(...s)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(c)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var Ce=ie(Pd,[["render",xd]]),Md=(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)(Ce,Ze({...e},{poppable:!1}),n):n?.default?.()??null}}),Rd=Md,{create:zd,componentName:ui,scope:Fd}=ee("picker"),Ld=zd({components:{Column:Ad,Wrapper:Rd},props:ra,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=(0,ye.useFoxI18n)(Fd),r=a(e,["title","cancelText","clearText","confirmText"]),i=(0,t.ref)(null),o=(0,t.ref)(cd());(0,t.watch)(()=>e.visible,M=>{M&&o.value<=0&&setTimeout(()=>{i.value&&(o.value=qe(i.value).height,ud(o.value))},50)});const c=(0,t.computed)(()=>({[ui]:!0})),s=(0,t.computed)(()=>{const M=[];return Array.isArray(e.popClass)?M.push(...e.popClass):typeof e.popClass=="string"&&e.popClass.length>0&&M.push(e.popClass),M.push(`${ui}__popup`),M.join(" ")}),d=md(),h=(0,t.ref)("singleColumn");let u=(0,t.ref)([]);const p=(0,t.computed)(()=>{if(typeof e.sourceFilter=="function"){const M=[];for(let F=0;F<u.value.length;F++){const z=u.value[F];if(Array.isArray(z)){const X=z.filter(e.sourceFilter);M.push(X)}}return M}return u.value});(0,t.watch)([()=>e.source,()=>e.params],async([M,F])=>{if(M){let z=await d.load("picker",M,F);if(z.length>0){let X=z[0];if(Array.isArray(X)){if(typeof X[0]=="string"){let P=z,_=[];P.forEach(te=>{let oe=te.map(Q=>ii(Q));_.push(oe)}),u.value=_}else u.value=z;h.value="multipleColumn"}else if(typeof X=="string"){let P=z,_=[],te=P.map(oe=>ii(oe));_.push(te),u.value=_,h.value="singleColumn"}else{const P=ia(e,X);Array.isArray(P)?(h.value="cascade",u.value=[z]):(h.value="singleColumn",u.value=[z])}}else u.value=[]}},{immediate:!0});const y=(0,t.ref)([]),N=(0,t.ref)(e.modelValue&&!Array.isArray(e.modelValue)?[e.modelValue]:e.modelValue),k=(0,t.ref)([]);let w=null;const v=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>p.value],([M,F])=>{let z=pd(e,M,F,h.value);if(!De(z,v.value)){v.value=z,w||(w=z?[...z]:[]);let X=ri(e,z,F,h.value);X&&(y.value=X.texts,De(N.value,X.values)||(N.value=X.values),De(k.value,X.items)||(k.value=X.items),n("update:text",y.value))}});let f="";const m=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,M=>{m.value=M,M&&(f="active",v.value.length>0&&(w=[...v.value]))});const S=M=>{let F=ai(e,M);return $e(F)?F.defaultIndex??0:0},B=M=>{if(e.readonly===!0)return!0;let F=ai(e,M);return $e(F)?F.readonly??!1:!1},g=(M,F)=>{let z=v.value;z[M]=F;for(let P=0;P<M;P++)z[P]==null&&(z[P]=S(P));if(h.value==="cascade")for(let P=M+1;P<E.value.length;P++){let _=S(P);P<z.length?z[P]=_:z.push(_)}else for(let P=z.length;P<E.value.length;P++){let _=S(P);z.push(_)}v.value=z;let X=ri(e,z,p.value,h.value);X&&(y.value=X.texts,N.value=X.values,k.value=X.items)},b=M=>M<v.value.length?v.value[M]:S(M),E=(0,t.computed)(()=>{if(p.value.length==0)return[];if(h.value=="singleColumn"||h.value=="multipleColumn")return p.value;let M=[],F=0,z=p.value[0],X=0;for(;;){let P=z.map(oe=>{let Q=Object.assign({},oe);return dd(e,Q,null),Q});M.push(P),F>=v.value.length?X=0:X=v.value[F],(X<0||X>=z.length)&&(X=0);let _=z[X];const te=ia(e,_);if(!Array.isArray(te))break;z=te,F++}return M}),V=(0,t.computed)(()=>de(+e.visibleItemCount-1)/2*o.value),A=(M=!1)=>{if(e.readonly===!0){M&&n("update:visible",!1);return}let F=p.value.length-1;for(;F>=0&&!(v.value[F]===null||v.value[F]===void 0);F--);if(F>=0&&g(F,0),h.value==="singleColumn"){let z=N.value.length>0?N.value[0]:"",X=k.value.length>0?k.value[0]:null;n("update:modelValue",z),n("update:text",y.value),n("change",z,X),M&&(n("confirm",z),n("update:visible",!1))}else n("update:modelValue",N.value),n("update:text",y.value),n("change",N.value,k.value),M&&(n("confirm",N.value),n("update:visible",!1))},C=(M,F)=>{f!=="close"&&(g(M,F),e.isAutoBackFill&&A(!m.value))},x=()=>{f==="active"&&(f="confirm",w=Array.isArray(v.value)?[...v.value]:[],A(!0))},j=()=>{h.value==="singleColumn"?(n("update:modelValue",""),n("update:text",""),n("change","")):(n("update:modelValue",[]),n("update:text",""),n("change",[])),v.value=[],w=null};return{...r,pickerLineRef:i,classes:c,popClasses:s,columns:E,dataType:h,show:m,itemHeight:o,top:V,isReadonly:B,getIndex:b,change:C,close:()=>{if(f==="active"){if(f="close",w===null||w.length===0)j();else{if(Array.isArray(w))for(let M=0;M<w.length;M++)g(M,w[M]);A(!1)}n("close"),n("update:visible",!1)}},confirm:x,clear:()=>{if(f==="active"){if(f="clear",e.readonly===!0){n("update:visible",!1);return}j(),w=null,n("clear",""),n("update:visible",!1)}}}}}),Od={key:0,class:"fox-picker__bar"},Kd={class:"fox-picker__title"},Ud={class:"fox-picker__bar__action"},Hd={class:"fox-picker__column"};function jd(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Column"),c=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(c,{position:"bottom","pop-class":e.popClasses,visible:e.show,"onUpdate:visible":n[3]||(n[3]=s=>e.show=s),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable,poppable:e.poppable},{default:(0,t.withCtx)(()=>[e.poppable?((0,t.openBlock)(),(0,t.createElementBlock)("view",Od,[(0,t.createElementVNode)("view",Kd,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",Ud,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...s)=>e.close&&e.close(...s))},(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]=(...s)=>e.confirm&&e.confirm(...s))},(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]=(...s)=>e.clear&&e.clear(...s))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",Hd,[(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,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:d,class:"fox-picker__columnitem"},[(0,t.createVNode)(o,{visible:e.show,source:s,readonly:e.isReadonly(d),"column-index":d,modelValue:e.getIndex(d),"onUpdate:modelValue":h=>e.change(d,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 Yt=ie(Ld,[["render",jd]]),Wd={...be,...Se,...ra,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:" "}};function Yd(e,n,a,l,r,i,o,c=!0){return{props:Wd,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(s,d){const{itemTemplateRef:h,innerDisabled:u,disabled:p,innerReadonly:y,readonly:N,browse:k}=Ve(s),{emitEvent:w,exposeApi:v}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return N.value},get disabled(){return p.value},get props(){return s},context:d,get templateRefProxy(){return h.value}},s.prop??d.attrs.name),{toLocaleRefs:f}=(0,ye.useFoxI18n)(n),m=f(s,["placeholder"]),S=(0,t.ref)(!1),B=xe(s,"modelValue",null,w),g=(0,t.ref)([]),b=(0,t.computed)(()=>Array.isArray(g.value)?g.value.join(s.separator):g.value),E="fox-input-item",V=(0,t.computed)(()=>({[E]:!0,"is-disabled":p.value,"is-readonly":N.value})),A=Te((0,t.computed)(()=>s.textAlign),"textAlign"),C=(0,t.computed)(()=>{const K={};return A.value&&(K["text-align"]=A.value),K}),x=(0,t.ref)(!1),j=()=>{x.value=!0},$=K=>{x.value=K},R=K=>{B.value=K,w("update:modelValue",K)},M=(K,Y)=>{w("change",K,Y)},F=K=>{let Y=K.target.value;S.value=!0,w("focus",Y,K)},z=K=>{setTimeout(()=>{S.value=!1},0);let Y=K.target.value;s.maxLength&&Y.length>Number(s.maxLength)&&(Y=Y.slice(0,Number(s.maxLength))),w("blur",Y,K)},X=K=>{g.value=K,Array.isArray(K)&&K.length===0?w("update:text",K[0]):w("update:text",K)},P=(0,t.computed)(()=>({[`${E}__append`]:!0,"is-disabled":p.value,"is-readonly":N.value})),_=(0,t.computed)(()=>we(s.unit)>0),te=(0,t.computed)(()=>we(s.unit)>0&&!S.value),oe=(0,t.computed)(()=>({hidden:!te.value})),Q=K=>{B.value="",w("update:modelValue","",K),w("change","",K),w("clear","")},Z=(0,t.computed)(()=>s.clearable&&!p.value&&!N.value),O=(0,t.computed)(()=>we(B.value)>0&&S.value),ne=K=>{O.value?Q(K):j()},H=(0,t.computed)(()=>O.value&&Z.value?r:i),q=(0,t.computed)(()=>({action:!0}));return v({setDisabled:K=>{u.value=K},setReadonly:K=>{y.value=K}}),()=>{if(k.value==="on"&&(N.value||p.value))return l(b.value,d.slots);const K={class:V.value,style:C.value,type:"text",maxlength:s.maxLength,placeholder:m.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:j,onFocus:F,onBlur:z};c&&(K.disabled=!0);const Y=[],G=(0,t.h)("input",K);Y.push(G);const le=[],U=(0,t.h)(H.value,{class:["action-icon"]}),W=(0,t.h)("view",{class:q.value,onClick:ne},{default:()=>[U]});if(le.push(W),_.value){const se=(0,t.h)("view",{class:oe.value},[s.unit]);le.push(se)}const I=(0,t.h)("view",{class:P.value},{default:()=>le});Y.push(I);const D={default:()=>Y};D.label=d.slots.default,D.prepend=d.slots.prepend,D.append=d.slots.append,D.fixedPreTip=d.slots.fixedPreTip,D.fixedTip=d.slots.fixedTip;const L=ve(s,ra);L.disabled=!1,L.readonly=p.value||N.value,L.visible=x.value,L["onUpdate:visible"]=$,L.modelValue=B.value,L["onUpdate:modelValue"]=R,L.text=g.value,L["onUpdate:text"]=X,L.onChange=M;const J=(0,t.h)(o,L);D.hide=()=>[J];const ae=ve(s,Se,be);return s.prop&&(ae.prop=`${s.prop}_item`),ae.ref=h,a(ae,D)}}}}var{componentName:Xd,create:Qd,scope:Gd}=ee("picker-item"),_d=Qd(Yd(Xd,Gd,Ie,Me,re.CircleClose,re.ArrowRight,Yt,!1)),sa=_d,Zd=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:a}){return()=>e.poppable?(0,t.h)(Ce,{...a},n):n?.default?.()??null}}),Jd=Zd,_n=(e,n,a)=>e.map(l=>{const{value:r="value",text:i="text",children:o="children"}=a??{},{[r]:c,[i]:s,[o]:d,...h}=l,u={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:c,text:s,children:d,_parent:n};return u.children&&u.children.length&&(u.children=_n(u.children,u,a)),u}),di=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&di(l.children,n)},ef={topId:null,idKey:"id",pidKey:"pid",sortKey:""},tf=(e,n)=>{const{topId:a,idKey:l,pidKey:r,sortKey:i}={...ef,...n||{}};let o=[],c={};return e.forEach(s=>{s={...s};const{[l]:d,[r]:h}=s,u=c[h]=c[h]||[];!o.length&&h===a&&(o=u),u.push(s),s.children=c[d]||(c[d]=[])}),i&&Object.keys(c).forEach(s=>{c[s].length>1&&c[s].sort((d,h)=>d[i]-h[i])}),c=null,o},ca={prop:{type:[String]},modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},showScrollArrow:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:[Object,Function]},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},fi=(e,n)=>n[e.textKey],Xt=(e,n)=>n[e.valueKey],nf=(e,n)=>n[e.visibleKey],mi=(e,n)=>n[e.disabledKey],lf=(e,n)=>{const a=n[e.doitKey];return ke(a)},af=(e,n)=>{const a=n[e.numKey];return a==null?null:de(n[a])},pi=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function of(e,n,a,l,r,i=!1){return{props:ca,emits:["update:modelValue","change","click"],setup(o,c){const{emitEvent:s,exposeApi:d}=Fe({context:c},o.prop),{slots:h}=c,u=(0,t.computed)(()=>{const I={};return I[`${e}`]=!0,I}),p=(0,t.computed)(()=>{const I={};return I[`${e}__titles`]=!0,I[`${o.direction}`]=!0,o.align&&(I[`${o.align}`]=!0),o.scroll===!0&&(I.scrollable=!0),o.shape&&(I[`${o.shape}`]=!0),o.showScrollArrow?(H.value===!0&&(I["has-left-scroll-arrow "]=!0),q.value===!0&&(I["has-right-scroll-arrow "]=!0)):o.showQuickNavigation&&(I["has-navigation"]=!0),I}),y=(0,t.computed)(()=>({})),N=(0,t.computed)(()=>{if(!o.gutter)return 0;const I=ue(o.gutter);return I<=0?0:I}),k=(0,t.ref)(o.modelValue);(0,t.watch)(()=>o.modelValue,I=>{k.value!==I&&(k.value=I,_(!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 I={};return m.value||(I.display="none"),I}),f=(0,t.ref)(),m=(0,t.ref)(!1),S=()=>{B(!m.value)},B=I=>{const D=I;D?(m.value=D,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,f.value?f.value.addEventListener("transitionend",()=>{m.value=!1},{once:!0}):setTimeout(()=>{m.value=!1},0))},g=(0,t.ref)(),b=(0,t.ref)([]),E=(I,D)=>{b.value[D]=I},V=I=>D=>{E(D,I)},A=(I,D)=>{const L=g.value,J=b.value;if(!L||!J||!J[I])return;const ae=J[I];let se=0;o.direction==="vertical"?se=ae.offsetTop-(L.offsetHeight-ae.offsetHeight)/2:se=ae.offsetLeft-(L.offsetWidth-ae.offsetWidth)/2,C(L,se,D?0:.3,o.direction)},C=(I,D,L,J)=>{let ae=0;const se=J==="horizontal"?I.scrollLeft:I.scrollTop,fe=L===0?1:Math.round(L*1e3/16);function me(){J==="horizontal"?I.scrollLeft+=(D-se)/fe:I.scrollTop+=(D-se)/fe,++ae<fe&&je(me)}me()},x=(I,D)=>{const L=Xt(o,I),J={};return J[`${e}__titles-item`]=!0,J.disabled=mi(o,I),J.active=L===k.value,o.shape&&(J[`${o.shape}`]=!0),o.ellipsis&&(J.ellipsis=!0),D&&(D.class&&(J[`${D.class}`]=!0),D.disabled===!0&&(J.disabled=D.disabled)),J},j=(I,D)=>{const L={};if(N.value>0){const J=Math.abs(N.value/2);o.direction==="vertical"?(L["margin-top"]=`${J}px`,L["margin-bottom"]=`${J}px`):(L["margin-left"]=`${J}px`,L["margin-right"]=`${J}px`)}return D&&D.style&&Object.assign(L,D.style),L},$=(I,D)=>`${Xt(o,I)??D}`,R=(I,D)=>{const L=Xt(o,I),J={};J[`${e}__popup-item`]=!0,J.disabled=mi(o,I),J.active=L===k.value,o.shape&&(J[`${o.shape}`]=!0);const ae=pi(o,I,D);return ae&&ae.disabled===!0&&(J.disabled=ae.disabled),J},M=(0,t.computed)(()=>(o.data??[]).filter(I=>nf(o,I)!==!1)),F=(I,D)=>{const L=Xt(o,I);if(s("click",I,D),k.value==L)return;const J=()=>{k.value=L,o.scroll&&A(D,!1),s("update:modelValue",L),s("change",I,D)};if(typeof o.beforeChange=="function"){const ae=o.beforeChange(I,D);mt(ae)?ae.then(se=>{se!==!1&&J()}).catch(()=>{J()}):ae!==!1&&J()}else J()},z=(I,D)=>function(){F(I,D)},X=(I,D)=>{F(I,D),B(!1)},P=(I,D)=>function(){X(I,D)},_=I=>{if(!Array.isArray(o.data)||!o.scroll)return;ne()&&le();const D=o.data.findIndex(L=>Xt(o,L)===k.value);D!==-1&&A(D,I)},te=()=>{ne()||U()};(0,t.watch)(()=>o.data,()=>{setTimeout(_,0)}),(0,t.onMounted)(()=>{_(!0)}),(0,t.onBeforeUnmount)(()=>{te()}),d({});const oe=(I,D)=>{if(h.item)return h.item({item:I,index:D});const L=pi(o,I,D),J=[];if(h.text){const se=h.text({item:I,index:D});J.push(se)}else{const se=[];if(L?.doit===!0||lf(o,I)){const Qe=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});se.push(Qe)}const fe=L?.num??af(o,I);if(fe){let Qe="";const ze=de(fe);ze>=100?Qe="99+":Qe=`${ze}`;const fn=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[Qe]);se.push(fn)}const me={class:`${e}__titles-item-text`};se.push(fi(o,I));const Xe=(0,t.h)("view",me,se);J.push(Xe)}const ae=(0,t.h)("view",{class:`${e}__titles-item-line`});return J.push(ae),(0,t.h)("view",{ref:V(D),class:x(I,L),style:j(I,L),key:$(I,D),onClick:z(I,D)},J)},Q=()=>{const I=h.default?h.default():[];if(I.length===0)for(let D=0;D<M.value.length;D++){const L=M.value[D],J=oe(L,D);I.push(J)}return(0,t.h)("view",{ref:g,class:p.value,style:y.value},I)},Z=()=>{let I=null;return h.navigation?I=h.navigation():I=(0,t.h)(a),(0,t.h)("view",{class:`${e}__navigation`,onClick:S},[I])},O=()=>{const I=[];for(let D=0;D<M.value.length;D++){const L=M.value[D];let J=null;h.popupItem?J=h.popupItem({item:L,index:D}):J=fi(o,L);const ae=(0,t.h)("view",{class:R(L,D),key:$(L,D),onClick:P(L,D)},[J]);I.push(ae)}return(0,t.h)("view",{class:w.value,style:v.value},I)},ne=()=>o.showScrollArrow&&o.direction=="horizontal",H=(0,t.ref)(!1),q=(0,t.ref)(!1),K=I=>{const D=g.value,L=b.value;if(!(!D||!L))if(I==="left"){const J=D.scrollLeft;let ae=J;for(let se=0;se<L.length;se++){const fe=L[se].offsetLeft;if(J-fe<0)break;ae=fe}C(D,ae,.3,"horizontal")}else{const J=D.scrollLeft;let ae=J,se=D.offsetWidth;for(let fe=L.length-1;fe>=0;fe--){const me=L[fe].offsetLeft+L[fe].offsetWidth;if(me-J<D.offsetWidth){ae+=se-me;break}se=me}C(D,ae,.3,"horizontal")}},Y=Pe(()=>{const I=g.value;if(!I)return;let D=I.scrollLeft>0;D!==H.value&&(H.value=D);let L=I.scrollWidth-I.scrollLeft>I.offsetWidth;L!==q.value&&(q.value=L)},50),G=I=>{Y()},le=()=>{const I=g.value;I&&(Y(),I.addEventListener("scroll",G))},U=()=>{const I=g.value;I&&I.removeEventListener("scroll",G)},W=I=>{if(I==="left"&&H.value!==!0||I==="right"&&q.value!==!0)return null;let D=null;return I==="left"?h.leftArrow?D=h.leftArrow():D=(0,t.h)(l):h.rightArrow?D=h.rightArrow():D=(0,t.h)(r),(0,t.h)("view",{class:[`${e}__scroll-arrow`,I],onClick:()=>{K(I)}},[D])};return()=>{const I=[],D=Q();if(I.push(D),ne()){const L=W("left");L&&I.push(L);const J=W("right");J&&I.push(J)}else if(o.showQuickNavigation){const L=Z();I.push(L);const J=O();I.push(J)}return(0,t.h)("view",{class:u.value},I)}}}}var{create:rf,componentName:sf,scope:cf}=ee("tabs-bar"),uf=rf(of(sf,cf,re.MoreH,re.Left,re.Right,!1)),Qt=uf,hi=Symbol("TabsStatesKey"),ua={prop:{type:[String]},modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},transition:{type:[Boolean],default:()=>!0},height:{type:[String,Number]},width:{type:[String,Number]}},df=15,ff=300,mf=200;function pf(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function gi(e,n=0,a,l,r=mf){a==="end"?e.style.transition=`transform ${r}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 hf=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,r){this.onStart=e,this.onMove=n,this.onEnd=a,this.momentumReduceRatio=l,this.isTouch=r??Qn()}open(e){this.el=e;const n=Gn(),a=(l,r,i)=>{const o={delta:l,direction:r,type:i};this.onMove(o)};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 r={delta:0,type:"start",direction:this.direction};this.onStart(r)},this.touchmove=l=>{if(!this.moving)return;n.move(l);let r=0;if(this.direction==="horizontal"){if(n.isVertical())return;r=n.state.deltaX}else{if(n.isHorizontal())return;r=n.state.deltaY}a(r,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 r=n.state.duration;r<ff&&Math.abs(l)>df?(l=pf(l,r,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 gf(e,n,a,l=1,r){return new hf(e,n,a,l,r)}function yf(e,n,a=!1){return{props:ua,emits:["update:modelValue","change"],setup(l,r){const{emitEvent:i,exposeApi:o}=Fe({context:r},l.prop),{slots:c}=r,s=(0,t.shallowRef)([]),d={current:(0,t.ref)(l.modelValue??""),direction:(0,t.ref)(l.direction),transition:l.transition,tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:V=>{const A={name:V};d.current.value===V&&(A.loaded=!0),s.value.push(A),(0,t.triggerRef)(s)},remove:V=>{const A=s.value.findIndex(C=>C.name===V);A!==-1&&s.value.splice(A,1)},isLoaded:V=>{if(!l.lazy)return!0;const A=s.value.findIndex(C=>C.name===V);return A!==-1?d.current.value?s.value[A].loaded??!1:A===0:!1}};(0,t.provide)(hi,d);const h=V=>{const A=s.value.findIndex(C=>C.name===V);A!==-1&&(s.value[A].loaded=!0,(0,t.triggerRef)(s))};(0,t.watch)([()=>l.modelValue,()=>l.direction],([V,A])=>{d.current.value!==V&&(d.current.value=V??"",h(V??"")),d.direction.value!==A&&(d.direction.value=A)});const u=(0,t.ref)(null),p=(0,t.ref)(null),y=(0,t.computed)(()=>({[e]:!0,[`${l.direction}`]:!0})),N=(0,t.computed)(()=>{const V={};if(l.width){const A=he(l.width);A&&(V.width=A)}if(l.height){const A=he(l.height);A&&(V.height=A)}return V});let k=!0;const w=(0,t.computed)(()=>{const V={};if(l.transition===!1)return V;const A=s.value.length;if(A<=0)return V;const C=s.value.findIndex(x=>x.name===d.current.value);return d.direction.value==="vertical"?d.tabHeight.value>0&&(V.height=`${A*d.tabHeight.value}px`,C!==-1&&(V.transform=`translate(0, -${C*d.tabHeight.value}px)`)):d.tabWidth.value>0&&(V.width=`${A*d.tabWidth.value}px`,C!==-1&&(V.transform=`translate(-${C*d.tabWidth.value}px, 0)`)),k&&(k=!1,V.transition="transform 0s ease"),V}),v={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},f=V=>{const A=s.value.length,C=s.value.findIndex(x=>x.name===d.current.value);v.moved=0,V.direction==="vertical"?(v.min=-1*(d.tabHeight.value*(A-1)+d.tabHeight.value/4),v.max=d.tabHeight.value/4,v.start=-C*d.tabHeight.value,v.itemDistance=d.tabHeight.value):(v.min=-1*(d.tabWidth.value*(A-1)+d.tabWidth.value/4),v.max=d.tabWidth.value/4,v.start=-C*d.tabWidth.value,v.itemDistance=d.tabWidth.value)},m=V=>{const A=p.value;if(!A)return;let C=v.start+V.delta;if(C>v.max?C=v.max:C<v.min&&(C=v.min),V.type==="move")gi(A,C,"move",V.direction,300);else if(V.type==="end"){let x=Math.floor(Math.abs(C)*1/v.itemDistance);const j=Math.abs(C)%v.itemDistance;v.start>C?j>=v.itemDistance*v.triggerAutoMoveRatio&&(x+=1):j>v.itemDistance-v.itemDistance*v.triggerAutoMoveRatio&&(x+=1),C=-1*x*v.itemDistance,gi(A,C,"end",V.direction,300),v.moved=C;const $=s.value[x].name;d.current.value=$??"",h($??""),i("update:modelValue",$)}},S=()=>{},B=()=>{if(!u.value)return;const V=qn(u.value);d.tabWidth.value=V.width,d.tabHeight.value=V.height},g=Nn(B,250);let b=null,E=null;return(0,t.onMounted)(()=>{l.transition!==!1&&u.value&&(B(),window.ResizeObserver&&(E=new window.ResizeObserver(g),E.observe(u.value)),l.draggle&&(b=gf(f,m,S),b.open(p.value)))}),(0,t.onBeforeUnmount)(()=>{E&&(E.disconnect(),E=null),b&&b.close()}),o({doLayout(){B()}}),()=>{const V=(0,t.h)("view",{class:`${e}__panes`,style:w.value,ref:p},[c?.default?.()]);return(0,t.h)("view",{class:y.value,style:N.value,ref:u},[V])}}}}var{create:bf,componentName:vf,scope:Sf}=ee("tabs-container"),kf=bf(yf(vf,Sf,!1)),Gt=kf,wf={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 Cf(e,n,a){return{props:wf,setup(l,{emit:r,slots:i}){const o=(0,t.inject)(hi);(0,t.onMounted)(()=>{o.add(l.paneKey)}),(0,t.onBeforeUnmount)(()=>{o.remove(l.paneKey)});const c=(0,t.computed)(()=>{const h=[e];return o.direction.value==="vertical"?h.push("is-vertical"):h.push("is-horizontal"),o.transition===!1?h.push("is-no-transition"):h.push("is-transition"),h}),s=(0,t.computed)(()=>{const h={};return o.transition===!1?(o.current.value!==l.paneKey&&(h.display="none"),h):(o.direction.value==="vertical"&&o.tabHeight.value>0?h.height=`${o.tabHeight.value}px`:o.tabWidth.value>0&&(h.width=`${o.tabWidth.value}px`),h)}),d=(0,t.computed)(()=>l.loaded!=null?ke(l.loaded):o.isLoaded(l.paneKey));return()=>{let h=[];if(d.value)h=i?.default?.()??[];else if(i.empty)h=i.empty();else{const u={class:`${e}__empty-icon`},p=(0,t.h)(l.emptyIcon??a,u),y=(0,t.h)("view",{class:`${e}__empty-text`},[l.emptyText??"Loading"]),N=(0,t.h)("view",{class:`${e}__empty`},[p,y]);h.push(N)}return(0,t.h)("view",{class:c.value,style:s.value,prop:l.paneKey},h)}}}}var{create:Nf,componentName:Af,scope:Bf}=ee("tabs-pane"),Tf=Nf(Cf(Af,Bf,re.Loading)),Zn=Tf,yi=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=_n(e,null,this.config)}updateChildren(e,n){n?n.children=_n(e,n,this.config):this.nodes=_n(e,null,this.config)}getNodeByValue(e){let n;return di(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(r=>r.value===e[r.level]);if(!l)break;n.push(l),a=l.children}return n}isLeaf(e,n){const{leaf:a,children:l}=e,r=Array.isArray(l)&&!!l.length;return a||!r&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:a}=e;return Array.isArray(a)&&!!a.length}},{create:Vf,scope:Ef}=ee("cascader-pane"),$f=Vf({components:{Loading:re.Loading,Checklist:re.Checklist,TabsBar:Qt,TabsContainer:Gt,TabsPane:Zn},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,ye.useFoxI18n)(Ef),l=(0,t.computed)(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),r=(0,t.ref)(0),i=(0,t.ref)(),o=(0,t.ref)(!1),c=(0,t.ref)(e.modelValue),s=(0,t.ref)(new yi([],{})),d=(0,t.ref)([]),h=(0,t.computed)(()=>l.value.lazy&&!!l.value.lazyLoad),u=(0,t.computed)(()=>o.value==!0||d.value.length==0?[{text:"Loading",value:0}]:d.value.map((m,S)=>({text:m.selectedNode?m.selectedNode.text:a("select"),value:S}))),p=new Map;let y;const N=async()=>{p.clear(),d.value=[],r.value=0,o.value=!1,y=null;let{options:m}=e;l.value.convertConfig&&(m=tf(m,l.value.convertConfig)),s.value=new yi(m,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),h.value&&!s.value.nodes.length&&await w({root:!0,loading:!0,text:"",value:""}),d.value=[{nodes:s.value.nodes,selectedNode:null}],k(!h.value)},k=async(m=!0)=>{const S=c.value;if(S===void 0||!s.value.nodes.length)return;if(S.length===0){r.value=0,d.value=[{nodes:s.value.nodes,selectedNode:null}];return}let B=S;if(h.value&&Array.isArray(S)&&S.length){B=[];let g=s.value.nodes.find(b=>b.value===S[0]);g&&(B=[g.value],o.value=!0,await w(await S.slice(1).reduce(async(b,E)=>{const V=await b;await w(V);const A=V&&V?.children?.find(C=>C.value===E);return A&&B.push(E),Promise.resolve(A)},Promise.resolve(g))),o.value=!1)}B.length&&S===e.modelValue&&s.value.getPathNodesByValue(B).map((g,b)=>{r.value=b,f.handleNode(g,m)})},w=async m=>{if(!m)return;if(!l.value.lazyLoad){m.leaf=!0;return}if(s.value.isLeaf(m,h.value)||s.value.hasChildren(m,h.value))return;m.loading=!0;const S=m.root?null:m;let B=p.get(m);B||(B=new Promise(b=>{l.value.lazyLoad?.(m,b)}),p.set(m,B));const g=await B;Array.isArray(g)&&g.length>0?s.value.updateChildren(g,S):m.leaf=!0,m.loading=!1,p.delete(m)},v=m=>{const S=m.map(B=>B.value);c.value=S,n("change",S,m),n("pathChange",m),n("update:modelValue",S)},f={async handleNode(m,S){const{disabled:B,loading:g}=m;if(!(!S&&B||!d.value[r.value])){if(s.value.isLeaf(m,h.value)){if(m.leaf=!0,d.value[r.value].selectedNode=m,d.value=d.value.slice(0,m.level+1),!S){const b=d.value.map(E=>E.selectedNode);v(b),n("pathChange",b)}return}if(s.value.hasChildren(m,h.value)){const b=m.level+1;d.value[r.value].selectedNode=m,d.value=d.value.slice(0,b),d.value.push({nodes:m.children||[],selectedNode:null}),r.value=b,S||n("pathChange",d.value.map(E=>E.selectedNode));return}y=m,!g&&(await w(m),y===m&&(d.value[r.value].selectedNode=m,f.handleNode(m,S)))}},handleTabChange(m,S){y=null},formatTabTitle(m){return m.selectedNode?m.selectedNode.text:a("select")},isSelected(m,S){return m.selectedNode&&m.selectedNode.value===S.value}};return(0,t.watch)([l,()=>e.options],()=>{N()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,m=>{De(m,c.value)||(c.value=m,k(!h.value))}),(0,t.watch)(()=>e.visible,m=>{m&&Array.isArray(c.value)&&c.value.length>0&&k(),m&&i.value&&setTimeout(()=>{i.value.doLayout()},0)}),{panes:d,panesTitles:u,initLoading:o,tabsCursor:r,tabsContainerRef:i,...f}}}),Df={class:"fox-cascader"},If={role:"menu",class:"fox-cascader__pane"},qf=["aria-checked","aria-disabled","onClick"],Pf={class:"fox-cascader__item__title"};function xf(e,n,a,l,r,i){const o=(0,t.resolveComponent)("TabsBar"),c=(0,t.resolveComponent)("Loading"),s=(0,t.resolveComponent)("Checklist"),d=(0,t.resolveComponent)("TabsPane"),h=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",Df,[(0,t.createVNode)(o,{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)(d,{"pane-key":p,key:p},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",If,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(u.nodes,y=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:y.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(u,y),disabled:y.disabled}]),"aria-checked":e.isSelected(u,y),"aria-disabled":y.disabled||void 0,role:"menuitemradio",onClick:N=>e.handleNode(y,!1)},[(0,t.createElementVNode)("view",Pf,(0,t.toDisplayString)(y.text),1),y.loading?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,qf))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(d,{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 Mf=ie($f,[["render",xf]]),{create:Rf}=ee("cascader"),zf=Rf({components:{CascaderPane:Mf,Wrapper:Jd},props:{...rt,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(o){n("update:visible",o)}}),r=(o,c)=>{a.value=o,l.value=!1,n("change",o,c),n("update:modelValue",o)},i=o=>{n("pathChange",o)};return(0,t.watch)(()=>e.modelValue,o=>{o!==a.value&&(a.value=o)}),{onChange:r,onPathChange:i,innerValue:a,innerVisible:l}}}),Ff=["innerHTML"];function Lf(e,n,a,l,r,i){const o=(0,t.resolveComponent)("CascaderPane"),c=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(c,{poppable:e.poppable,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=s=>e.innerVisible=s),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:(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)(o,{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=ie(zf,[["render",Lf]]);function kt(e,n){return n[e.textKey??"text"]??""}function wt(e,n){return n[e.valueKey??"value"]}function bi(e,n){return n[e.childrenKey??"children"]}function el(e,n=[]){const a={texts:[],values:[]};for(let l=0;l<n.length;l++){const r=n[l],i=kt(e,r),o=wt(e,r);a.texts.push(i),a.values.push(o??"")}return a}function vi(e,n,a,l,r=[]){if(!a)return;const i=a[l];for(let o=0;o<n.length;o++)if(kt(e,n[o])===i){const c=wt(e,n[o])??"",s={[e.textKey]:i,[e.valueKey]:c};r.push(s);const d=bi(e,n[o]);Array.isArray(d)&&vi(e,d,a,l+1,r);return}}function Si(e,n,a,l,r=[]){if(!a)return;const i=a[l];for(let o=0;o<n.length;o++)if(wt(e,n[o])===i){const c=kt(e,n[o])??"",s={[e.textKey]:c,[e.valueKey]:i};r.push(s);const d=bi(e,n[o]);Array.isArray(d)&&Si(e,d,a,l+1,r);return}}function da(e,n,a){if(n===a)return!0;if(n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(kt(e,n[l])!==kt(e,a[l])||wt(e,n[l])!==wt(e,a[l]))return!1;return!0}var Of=class{scope;constructor(e){this.scope=e}async load(e,n,a){const l="cascader";if(!e)return[];if(Array.isArray(e))return e;if(typeof e=="function")return await e(n,a);const r=at(l,this.scope);return r===null?(console.error(`${l} component not found api function`),[]):($e(n)&&(0,t.isReactive)(n)&&(n=(0,t.toRaw)(n)),await r(e,n,a))}};function Kf(){return new Of(ct())}var ki={modelValue:{type:[String,Array]},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:"/"},unit:{type:[String]},clearable:{type:[Boolean]},maxLength:{type:[Number]}},Uf={...be,...Se,...ki};function Hf(e,n,a,l,r,i,o,c=!1){return{props:Uf,emits:["update:modelValue","change","pathChange","blur","focus","clear","update:pathNodes","setValue"],setup(s,d){const{itemTemplateRef:h,innerDisabled:u,disabled:p,innerReadonly:y,readonly:N,browse:k}=Ve(s),{emitEvent:w,exposeApi:v}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return N.value},get disabled(){return p.value},get props(){return s},context:d,get templateRefProxy(){return h.value}},s.prop??d.attrs.name),{toLocaleRefs:f}=(0,ye.useFoxI18n)(n),m=f(s,["placeholder"]),S=(0,t.ref)(!1),B=Kf(),g=(0,t.ref)([]),b=(0,t.ref)([]),E=(0,t.computed)(()=>{if(Array.isArray(b.value)){if(s.showAllLevels===!1){const W=b.value.length-1;return b.value[W]}return b.value.join(s.separator)}else return b.value}),V=(0,t.ref)([]),A=(0,t.ref)([]);(0,t.watch)([()=>s.modelValue,()=>g.value],async([W,I])=>{if(w("setValue",W),s.lazy===!0){A.value.length==0&&(b.value=Array.isArray(W)?W:[],V.value=Array.isArray(W)?W:[]);return}if(s.valueType==="item"){let D=W;if(!da(s,D,A.value)){A.value=D;let L=el(s,D);b.value=L.texts,V.value=L.values}}else if(s.valueType==="text"){let D=W,L=[];if(vi(s,I,D,0,L),!da(s,L,A.value)){A.value=L;let J=el(s,L);b.value=J.texts,V.value=J.values}}else{let D=W,L=[];if(Si(s,I,D,0,L),!da(s,L,A.value)){A.value=L;let J=el(s,L);b.value=J.texts,V.value=J.values}}}),s.lazy===!0&&(V.value=Array.isArray(s.modelValue)?s.modelValue:[]),(0,t.watch)([()=>s.source,()=>s.params],async([W,I])=>{s.lazy||W&&(g.value=await B.load(W,I))},{immediate:!0});const C="fox-input-item",x=(0,t.computed)(()=>({[C]:!0,"is-disabled":p.value,"is-readonly":N.value})),j=Te((0,t.computed)(()=>s.textAlign),"textAlign"),$=(0,t.computed)(()=>{const W={};return j.value&&(W["text-align"]=j.value),W}),R=(0,t.ref)(!1),M=()=>{p.value===!0||N.value===!0||(R.value=!0)},F=W=>{R.value=W},z=(W,I)=>{let D=I.map(J=>{if(J==null)return J;let ae={...J};return Reflect.deleteProperty(ae,"text"),ae[s.textKey]=J.text??"",Reflect.deleteProperty(ae,"value"),ae[s.valueKey]=J.value??"",ae});A.value=D;let L=el(s,D);b.value=L.texts,V.value=L.values,s.valueType==="text"?(w("change",b.value,D),w("update:modelValue",b.value)):s.valueType==="item"?(w("change",D,D),w("update:modelValue",D)):(w("change",V.value,D),w("update:modelValue",V.value)),w("update:pathNodes",D)},X=W=>{w("pathChange",W.map(I=>{if(I==null)return I;let D={...I};return Reflect.deleteProperty(D,"text"),D[s.textKey]=I.text??"",Reflect.deleteProperty(D,"value"),D[s.valueKey]=I.value??"",D}))},P=W=>{S.value=!0,w("focus",V.value,W)},_=W=>{setTimeout(()=>{S.value=!1},0),w("blur",V.value,W)},te=(0,t.computed)(()=>({[`${C}__append`]:!0,"is-disabled":p.value,"is-readonly":N.value})),oe=(0,t.computed)(()=>we(s.unit)>0),Q=(0,t.computed)(()=>we(s.unit)>0&&!S.value),Z=(0,t.computed)(()=>({hidden:!Q.value})),O=W=>{A.value=[],b.value=[],V.value=[],w("update:modelValue",[]),w("change",[],W),w("clear",[]),w("update:pathNodes",[])},ne=(0,t.computed)(()=>s.clearable&&!p.value&&!N.value),H=(0,t.computed)(()=>{let W=V.value&&V.value.length>0;return s.clearable&&W&&S.value}),q=W=>{H.value?O(W):M()},K=(0,t.computed)(()=>H.value&&ne.value?r:i),Y=(0,t.computed)(()=>({action:!0}));let G=null;const le=()=>typeof G=="function"?G:typeof s.lazyLoad=="function"?s.lazyLoad:(G=async(W,I)=>{const D=[],L=[];let J=0;if(!W.root){let ae=W;for(;ae;){const se=kt(s,ae),fe=wt(s,ae);L.splice(0,0,se),D.splice(0,0,fe),ae=ae._parent}J=D.length}I(await B.load(s.source,{...W,level:J,pathLabels:L,pathValues:D},!0))},G),U=(0,t.ref)();return v({focus:()=>{U?.value.focus()},blur:()=>{U?.value.blur()},select:()=>{U?.value.select()},setDisabled:W=>{u.value=W},setReadonly:W=>{y.value=W}}),()=>{if(k.value==="on"&&(N.value||p.value))return l(E.value,d.slots);const W={class:x.value,style:$.value,ref:U,type:"text",maxlength:s.maxLength,placeholder:m.placeholder.value,readonly:!0,unselectable:"on",value:E.value,onClick:M,onFocus:P,onBlur:_};c&&(W.disabled=!0);const I=[],D=(0,t.h)("input",W);I.push(D);const L=[],J=(0,t.h)(K.value,{class:["action-icon"]}),ae=(0,t.h)("view",{class:Y.value,onClick:q},{default:()=>[J]});if(L.push(ae),oe.value){const fn=(0,t.h)("view",{class:Z.value},[s.unit]);L.push(fn)}const se=(0,t.h)("view",{class:te.value},{default:()=>L});I.push(se);const fe={default:()=>I};fe.label=d.slots.default,fe.prepend=d.slots.prepend,fe.append=d.slots.append,fe.fixedPreTip=d.slots.fixedPreTip,fe.fixedTip=d.slots.fixedTip;const me={};me.visible=R.value,me["onUpdate:visible"]=F,me.modelValue=V.value,me.onChange=z,me.onPathChange=X,me.title=s.title,me.valueKey=s.valueKey,me.textKey=s.textKey,me.childrenKey=s.childrenKey,me.convertConfig=s.convertConfig,s.lazy?(me.lazy=!0,me.lazyLoad=le()):me.options=g.value;const Xe={};Xe.header=d.slots.header;const Qe=(0,t.h)(o,me,Xe);fe.hide=()=>[Qe];const ze={...Ze(s,ki),ref:h};return s.prop&&(ze.prop=`${s.prop}_item`),a(ze,fe)}}}}var{componentName:jf,create:Wf,scope:Yf}=ee("cascader-item"),Xf=Wf(Hf(jf,Yf,Ie,Me,re.CircleClose,re.ArrowRight,Jn,!1)),fa=Xf,Qf=Ue(((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,r=36e5,i="millisecond",o="second",c="minute",s="hour",d="day",h="week",u="month",p="quarter",y="year",N="date",k="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,f={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($){var R=["th","st","nd","rd"],M=$%100;return"["+$+(R[(M-20)%10]||R[M]||R[0])+"]"}},m=function($,R,M){var F=String($);return!F||F.length>=R?$:""+Array(R+1-F.length).join(M)+$},S={s:m,z:function($){var R=-$.utcOffset(),M=Math.abs(R),F=Math.floor(M/60),z=M%60;return(R<=0?"+":"-")+m(F,2,"0")+":"+m(z,2,"0")},m:function $(R,M){if(R.date()<M.date())return-$(M,R);var F=12*(M.year()-R.year())+(M.month()-R.month()),z=R.clone().add(F,u),X=M-z<0,P=R.clone().add(F+(X?-1:1),u);return+(-(F+(M-z)/(X?z-P:P-z))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:u,y,w:h,d,D:N,h:s,m:c,s:o,ms:i,Q:p}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},B="en",g={};g[B]=f;var b="$isDayjsObject",E=function($){return $ instanceof x||!(!$||!$[b])},V=function $(R,M,F){var z;if(!R)return B;if(typeof R=="string"){var X=R.toLowerCase();g[X]&&(z=X),M&&(g[X]=M,z=X);var P=R.split("-");if(!z&&P.length>1)return $(P[0])}else{var _=R.name;g[_]=R,z=_}return!F&&z&&(B=z),z||!F&&B},A=function($,R){if(E($))return $.clone();var M=typeof R=="object"?R:{};return M.date=$,M.args=arguments,new x(M)},C=S;C.l=V,C.i=E,C.w=function($,R){return A($,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var x=(function(){function $(M){this.$L=V(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[b]=!0}var R=$.prototype;return R.parse=function(M){this.$d=(function(F){var z=F.date,X=F.utc;if(z===null)return new Date(NaN);if(C.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var P=z.match(w);if(P){var _=P[2]-1||0,te=(P[7]||"0").substring(0,3);return X?new Date(Date.UTC(P[1],_,P[3]||1,P[4]||0,P[5]||0,P[6]||0,te)):new Date(P[1],_,P[3]||1,P[4]||0,P[5]||0,P[6]||0,te)}}return new Date(z)})(M),this.init()},R.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},R.$utils=function(){return C},R.isValid=function(){return this.$d.toString()!==k},R.isSame=function(M,F){var z=A(M);return this.startOf(F)<=z&&z<=this.endOf(F)},R.isAfter=function(M,F){return A(M)<this.startOf(F)},R.isBefore=function(M,F){return this.endOf(F)<A(M)},R.$g=function(M,F,z){return C.u(M)?this[F]:this.set(z,M)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(M,F){var z=this,X=!!C.u(F)||F,P=C.p(M),_=function(q,K){var Y=C.w(z.$u?Date.UTC(z.$y,K,q):new Date(z.$y,K,q),z);return X?Y:Y.endOf(d)},te=function(q,K){return C.w(z.toDate()[q].apply(z.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(K)),z)},oe=this.$W,Q=this.$M,Z=this.$D,O="set"+(this.$u?"UTC":"");switch(P){case y:return X?_(1,0):_(31,11);case u:return X?_(1,Q):_(0,Q+1);case h:var ne=this.$locale().weekStart||0,H=(oe<ne?oe+7:oe)-ne;return _(X?Z-H:Z+(6-H),Q);case d:case N:return te(O+"Hours",0);case s:return te(O+"Minutes",1);case c:return te(O+"Seconds",2);case o:return te(O+"Milliseconds",3);default:return this.clone()}},R.endOf=function(M){return this.startOf(M,!1)},R.$set=function(M,F){var z,X=C.p(M),P="set"+(this.$u?"UTC":""),_=(z={},z[d]=P+"Date",z[N]=P+"Date",z[u]=P+"Month",z[y]=P+"FullYear",z[s]=P+"Hours",z[c]=P+"Minutes",z[o]=P+"Seconds",z[i]=P+"Milliseconds",z)[X],te=X===d?this.$D+(F-this.$W):F;if(X===u||X===y){var oe=this.clone().set(N,1);oe.$d[_](te),oe.init(),this.$d=oe.set(N,Math.min(this.$D,oe.daysInMonth())).$d}else _&&this.$d[_](te);return this.init(),this},R.set=function(M,F){return this.clone().$set(M,F)},R.get=function(M){return this[C.p(M)]()},R.add=function(M,F){var z,X=this;M=Number(M);var P=C.p(F),_=function(Q){var Z=A(X);return C.w(Z.date(Z.date()+Math.round(Q*M)),X)};if(P===u)return this.set(u,this.$M+M);if(P===y)return this.set(y,this.$y+M);if(P===d)return _(1);if(P===h)return _(7);var te=(z={},z[c]=l,z[s]=r,z[o]=a,z)[P]||1,oe=this.$d.getTime()+M*te;return C.w(oe,this)},R.subtract=function(M,F){return this.add(-1*M,F)},R.format=function(M){var F=this,z=this.$locale();if(!this.isValid())return z.invalidDate||k;var X=M||"YYYY-MM-DDTHH:mm:ssZ",P=C.z(this),_=this.$H,te=this.$m,oe=this.$M,Q=z.weekdays,Z=z.months,O=z.meridiem,ne=function(K,Y,G,le){return K&&(K[Y]||K(F,X))||G[Y].slice(0,le)},H=function(K){return C.s(_%12||12,K,"0")},q=O||function(K,Y,G){var le=K<12?"AM":"PM";return G?le.toLowerCase():le};return X.replace(v,(function(K,Y){return Y||(function(G){switch(G){case"YY":return String(F.$y).slice(-2);case"YYYY":return C.s(F.$y,4,"0");case"M":return oe+1;case"MM":return C.s(oe+1,2,"0");case"MMM":return ne(z.monthsShort,oe,Z,3);case"MMMM":return ne(Z,oe);case"D":return F.$D;case"DD":return C.s(F.$D,2,"0");case"d":return String(F.$W);case"dd":return ne(z.weekdaysMin,F.$W,Q,2);case"ddd":return ne(z.weekdaysShort,F.$W,Q,3);case"dddd":return Q[F.$W];case"H":return String(_);case"HH":return C.s(_,2,"0");case"h":return H(1);case"hh":return H(2);case"a":return q(_,te,!0);case"A":return q(_,te,!1);case"m":return String(te);case"mm":return C.s(te,2,"0");case"s":return String(F.$s);case"ss":return C.s(F.$s,2,"0");case"SSS":return C.s(F.$ms,3,"0");case"Z":return P}return null})(K)||P.replace(":","")}))},R.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},R.diff=function(M,F,z){var X,P=this,_=C.p(F),te=A(M),oe=(te.utcOffset()-this.utcOffset())*l,Q=this-te,Z=function(){return C.m(P,te)};switch(_){case y:X=Z()/12;break;case u:X=Z();break;case p:X=Z()/3;break;case h:X=(Q-oe)/6048e5;break;case d:X=(Q-oe)/864e5;break;case s:X=Q/r;break;case c:X=Q/l;break;case o:X=Q/a;break;default:X=Q}return z?X:C.a(X)},R.daysInMonth=function(){return this.endOf(u).$D},R.$locale=function(){return g[this.$L]},R.locale=function(M,F){if(!M)return this.$L;var z=this.clone(),X=V(M,F,!0);return X&&(z.$L=X),z},R.clone=function(){return C.w(this.$d,this)},R.toDate=function(){return new Date(this.valueOf())},R.toJSON=function(){return this.isValid()?this.toISOString():null},R.toISOString=function(){return this.$d.toISOString()},R.toString=function(){return this.$d.toUTCString()},$})(),j=x.prototype;return A.prototype=j,[["$ms",i],["$s",o],["$m",c],["$H",s],["$W",d],["$M",u],["$y",y],["$D",N]].forEach((function($){j[$[1]]=function(R){return this.$g(R,$[0],$[1])}})),A.extend=function($,R){return $.$i||($(R,x,A),$.$i=!0),A},A.locale=V,A.isDayjs=E,A.unix=function($){return A(1e3*$)},A.en=g[B],A.Ls=g,A.p={},A}))})),Gf=Ue(((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,r=/\d/,i=/\d\d/,o=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,s={},d=function(w){return(w=+w)+(w>68?1900:2e3)},h=function(w){return function(v){this[w]=+v}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(w){(this.zone||(this.zone={})).offset=(function(v){if(!v||v==="Z")return 0;var f=v.match(/([+-]|\d\d)/g),m=60*f[1]+(+f[2]||0);return m===0?0:f[0]==="+"?-m:m})(w)}],p=function(w){var v=s[w];return v&&(v.indexOf?v:v.s.concat(v.f))},y=function(w,v){var f,m=s.meridiem;if(m){for(var S=1;S<=24;S+=1)if(w.indexOf(m(S,0,v))>-1){f=S>12;break}}else f=w===(v?"pm":"PM");return f},N={A:[c,function(w){this.afternoon=y(w,!1)}],a:[c,function(w){this.afternoon=y(w,!0)}],Q:[r,function(w){this.month=3*(w-1)+1}],S:[r,function(w){this.milliseconds=100*+w}],SS:[i,function(w){this.milliseconds=10*+w}],SSS:[/\d{3}/,function(w){this.milliseconds=+w}],s:[o,h("seconds")],ss:[o,h("seconds")],m:[o,h("minutes")],mm:[o,h("minutes")],H:[o,h("hours")],h:[o,h("hours")],HH:[o,h("hours")],hh:[o,h("hours")],D:[o,h("day")],DD:[i,h("day")],Do:[c,function(w){var v=s.ordinal;if(this.day=w.match(/\d+/)[0],v)for(var f=1;f<=31;f+=1)v(f).replace(/\[|\]/g,"")===w&&(this.day=f)}],w:[o,h("week")],ww:[i,h("week")],M:[o,h("month")],MM:[i,h("month")],MMM:[c,function(w){var v=p("months"),f=(p("monthsShort")||v.map((function(m){return m.slice(0,3)}))).indexOf(w)+1;if(f<1)throw new Error;this.month=f%12||f}],MMMM:[c,function(w){var v=p("months").indexOf(w)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(w){this.year=d(w)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function k(w){for(var v=w,f=s&&s.formats,m=(w=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(A,C,x){var j=x&&x.toUpperCase();return C||f[x]||a[x]||f[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function($,R,M){return R||M.slice(1)}))}))).match(l),S=m.length,B=0;B<S;B+=1){var g=m[B],b=N[g],E=b&&b[0],V=b&&b[1];m[B]=V?{regex:E,parser:V}:g.replace(/^\[|\]$/g,"")}return function(A){for(var C={},x=0,j=0;x<S;x+=1){var $=m[x];if(typeof $=="string")j+=$.length;else{var R=$.regex,M=$.parser,F=A.slice(j),z=R.exec(F)[0];M.call(C,z),A=A.replace(z,"")}}return(function(X){var P=X.afternoon;if(P!==void 0){var _=X.hours;P?_<12&&(X.hours+=12):_===12&&(X.hours=0),delete X.afternoon}})(C),C}}return function(w,v,f){f.p.customParseFormat=!0,w&&w.parseTwoDigitYear&&(d=w.parseTwoDigitYear);var m=v.prototype,S=m.parse;m.parse=function(B){var g=B.date,b=B.utc,E=B.args;this.$u=b;var V=E[1];if(typeof V=="string"){var A=E[2]===!0,C=E[3]===!0,x=A||C,j=E[2];C&&(j=E[2]),s=this.$locale(),!A&&j&&(s=f.Ls[j]),this.$d=(function(F,z,X,P){try{if(["x","X"].indexOf(z)>-1)return new Date((z==="X"?1e3:1)*F);var _=k(z)(F),te=_.year,oe=_.month,Q=_.day,Z=_.hours,O=_.minutes,ne=_.seconds,H=_.milliseconds,q=_.zone,K=_.week,Y=new Date,G=Q||(te||oe?1:Y.getDate()),le=te||Y.getFullYear(),U=0;te&&!oe||(U=oe>0?oe-1:Y.getMonth());var W,I=Z||0,D=O||0,L=ne||0,J=H||0;return q?new Date(Date.UTC(le,U,G,I,D,L,J+60*q.offset*1e3)):X?new Date(Date.UTC(le,U,G,I,D,L,J)):(W=new Date(le,U,G,I,D,L,J),K&&(W=P(W).week(K).toDate()),W)}catch{return new Date("")}})(g,V,b,f),this.init(),j&&j!==!0&&(this.$L=this.locale(j).$L),x&&g!=this.format(V)&&(this.$d=new Date("")),s={}}else if(V instanceof Array)for(var $=V.length,R=1;R<=$;R+=1){E[1]=V[R-1];var M=f.apply(this,E);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}R===$&&(this.$d=new Date(""))}else S.call(this,B)}}}))})),_f=Ue(((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 r=l.prototype,i=r.format;r.format=function(o){var c=this,s=this.$locale();if(!this.isValid())return i.bind(this)(o);var d=this.$utils(),h=(o||"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((c.$M+1)/3);case"Do":return s.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return s.ordinal(c.week(),"W");case"w":case"ww":return d.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return d.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return d.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}}));return i.bind(this)(h)}}}))})),Zf=Ue(((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,r){var i=l.prototype,o=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,p,y,N,k){var w=u.name?u:u.$locale(),v=o(w[p]),f=o(w[y]),m=v||f.map((function(B){return B.slice(0,N)}));if(!k)return m;var S=w.weekStart;return m.map((function(B,g){return m[(g+(S||0))%7]}))},s=function(){return r.Ls[r.locale()]},d=function(u,p){return u.formats[p]||(function(y){return y.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,k,w){return k||w.slice(1)}))})(u.formats[p.toUpperCase()])},h=function(){var u=this;return{months:function(p){return p?p.format("MMMM"):c(u,"months")},monthsShort:function(p){return p?p.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):c(u,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return d(u.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=s();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(p){return d(u,p)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(s(),"months")},r.monthsShort=function(){return c(s(),"monthsShort","months",3)},r.weekdays=function(u){return c(s(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(s(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(s(),"weekdaysMin","weekdays",2,u)}}}))})),Jf=Ue(((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(r,i,o){var c=i.prototype;c.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=o(this).startOf(l).add(1,l).date(d),u=o(this).endOf(a);if(h.isBefore(u))return 1}var p=o(this).startOf(l).date(d).startOf(a).subtract(1,"millisecond"),y=this.diff(p,a,!0);return y<0?o(this).startOf("week").week():Math.ceil(y)},c.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}}))})),em=Ue(((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 r=this.month(),i=this.week(),o=this.year();return i===1&&r===11?o+1:r===0&&i>=52?o-1:o}}}))})),tm=Ue(((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,r){l.prototype.dayOfYear=function(i){var o=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return i==null?o:this.add(i-o,"day")}}}))})),nm=Ue(((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(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}}))})),lm=Ue(((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(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}}))})),Ke=He(Qf(),1),am=He(Gf(),1),om=He(_f(),1),rm=He(Zf(),1),im=He(Jf(),1),sm=He(em(),1),cm=He(tm(),1),um=He(nm(),1),dm=He(lm(),1);Ke.default.extend(rm.default),Ke.default.extend(om.default),Ke.default.extend(am.default),Ke.default.extend(im.default),Ke.default.extend(sm.default),Ke.default.extend(cm.default),Ke.default.extend(um.default),Ke.default.extend(dm.default);var Ct={format(e,n="YYYY-MM-DD"){return(0,Ke.default)(e).format(n)},parser(e,n){return(0,Ke.default)(e,n).toDate()},getDay(e,n,a){let l=n??new Date;const r=e*(1e3*60*60*24);return l=new Date(l.getTime()+r),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,r=typeof n=="string"?this.parser(n,a):n,i=l.getTime(),o=r.getTime();return i==o?0:i>o?1:-1},between(e,n,a,l){let r;l==="year"?r=new Date(new Date(n).setFullYear(n.getFullYear()+a)):l==="month"?r=new Date(new Date(n).setMonth(n.getMonth()+a)):r=new Date(new Date(n).setDate(n.getDate()+a));const i=e.getTime(),o=r.getTime(),c=n.getTime();return o>c?i>=c&&i<=o:i>=o&&i<=c},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")}},wi=new Date().getFullYear(),ma={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"},tl=(e,n,a)=>{let l;if(We(n)?l=n:typeof n=="string"&&we(n)>0?l=Ct.parser(n,a):l=new Date,l.toString()==="Invalid Date")return null;let r=Math.max(l.getTime(),e.minDate.getTime());return r=Math.min(r,e.maxDate.getTime()),new Date(r)},pa=(e,n,a)=>{We(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),Ct.format(new Date(l),a)},ha={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(wi-10,0,1),validator:We},maxDate:{type:Date,default:()=>new Date(wi+10,11,31),validator:We},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:fm,scope:mm}=ee("date-picker"),pm=fm({components:{Picker:Yt},props:{...ha},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=(0,ye.useFoxI18n)(mm),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"))},r=(0,t.ref)(!1);(0,t.watch)(()=>e.visible,m=>{r.value=m});function i(m,S){return new Date(m,S,0).getDate()}const o=(m,S)=>{const B=e[`${m}Date`],g=B.getFullYear();let b=1,E=1,V=0,A=0;m==="max"&&(b=12,E=i(S.getFullYear(),S.getMonth()+1),V=23,A=59);const C=A;return S.getFullYear()===g&&(b=B.getMonth()+1,S.getMonth()+1===b&&(E=B.getDate(),S.getDate()===E&&(V=B.getHours(),S.getHours()===V&&(A=B.getMinutes())))),{[`${m}Year`]:g,[`${m}Month`]:b,[`${m}Date`]:E,[`${m}Hour`]:V,[`${m}Minute`]:A,[`${m}Seconds`]:C}},c=(0,t.computed)(()=>{if(!p.value)return[];const{maxYear:m,maxDate:S,maxMonth:B,maxHour:g,maxMinute:b,maxSeconds:E}=o("max",p.value),{minYear:V,minDate:A,minMonth:C,minHour:x,minMinute:j,minSeconds:$}=o("min",p.value);let R=[{type:"year",range:[V,m]},{type:"month",range:[C,B]},{type:"day",range:[A,S]},{type:"hour",range:[x,g]},{type:"minute",range:[j,b]},{type:"seconds",range:[$,E]}];switch(e.type){case"date":R=R.slice(0,3);break;case"datetime":R=R.slice(0,5);break;case"time":R=R.slice(3,6);break;case"year-month":R=R.slice(0,2);break;case"month-day":R=R.slice(1,3);break;case"datehour":R=R.slice(0,4);break;case"hour-minute":R=R.slice(3,5);break}return R}),s=(m,S,B,g,b)=>{const E=[];for(;m<=S;){let V=!0;if(typeof e.itemFilter=="function"){const A={text:`${m}`,value:m,type:B,currentYearMonth:g};V=e.itemFilter(A)}if(V)if(typeof e.itemFormatter=="function"){const A={text:`${m}`,value:m,type:B,currentYearMonth:g};e.itemFormatter(A),E.push({text:A.text,value:A.value})}else if(e.isShowChinese){let A=`${m}${l[B]}`;if(B==="day"){if(g[0]===b[0]&&g[1]===b[1]&&m===b[2])A=l.today;else{const C=new Date(g[0],g[1],m).getDay();A=`${A} ${l.fullWeekdays[C]}`}E.push({text:A,value:m})}else E.push({text:m+l[B],value:m})}else E.push({text:`${m}`,value:m});B==="minute"?m+=e.minuteStep:m++}return E},d=(0,t.computed)(()=>{const m=new Date,S=[m.getFullYear(),m.getMonth(),m.getDate()],B=[];p.value&&(B[0]=p.value.getFullYear(),B[1]=p.value.getMonth());let g=[];return c.value.forEach(b=>{let E=s(b.range[0],b.range[1],b.type,B,S);E&&g.push(E)}),g}),h=(m,S)=>m==="year"?S.getFullYear():m==="month"?S.getMonth()+1:m==="day"?S.getDate():m==="hour"?S.getHours():m==="minute"?S.getMinutes():m==="seconds"?S.getSeconds():0,u=(0,t.ref)(),p=(0,t.ref)(null);(0,t.watch)(()=>e.modelValue,m=>{let S;if(typeof m=="string"?m.length==0||m==="Invalid Date"?S=new Date:e.valueFormat?S=tl(e,e.modelValue,e.valueFormat):S=tl(e,m,ma[e.type]):We(m)?S=m:S=new Date,!!S&&(!p.value||S.getTime()!==p.value.getTime())){p.value=S;let B=[];c.value.forEach(g=>{let b=h(g.type,S);B.push(b)}),u.value=B}},{immediate:!0});const y=m=>{if(!m||m.length===0){p.value=new Date;let S=[];c.value.forEach(B=>{let g=h(B.type,p.value);S.push(g)}),u.value=S;return}if(e.type==="date"){const S=m[0],B=m[1]-1,g=Math.min(m[2],i(S,B+1));g!==m[2]&&(m[2]=g),p.value=new Date(S,B,g)}else if(e.type==="datetime"){const S=m[0],B=m[1]-1,g=Math.min(m[2],i(S,B+1)),b=m[3],E=m[4];g!==m[2]&&(m[2]=g),p.value=new Date(S,B,g,b,E)}else if(e.type==="time"){const S=m[0],B=m[1],g=m[2],b=p.value??new Date;p.value=new Date(b.getFullYear(),b.getMonth(),b.getDate(),S,B,g)}else if(e.type==="year-month"){const S=m[0],B=m[1]-1;p.value=new Date(S,B)}else if(e.type==="month-day"){const S=(p.value??new Date).getFullYear(),B=m[0]-1,g=Math.min(m[1],i(S,B+1));g!==m[1]&&(m[1]=g),p.value=new Date(S,B,g)}else if(e.type==="datehour"){const S=m[0],B=m[1]-1,g=Math.min(m[2],i(S,B+1)),b=m[3];g!==m[2]&&(m[2]=g),p.value=new Date(S,B,g,b)}else if(e.type==="hour-minute"){const S=m[0],B=m[1],g=p.value??new Date;p.value=new Date(g.getFullYear(),g.getMonth(),g.getDate(),S,B)}u.value=m};return{columns:d,dateIndexs:u,show:r,onChange:m=>{y(m)},onClose:()=>{n("update:close",!1)},onConfirm:m=>{y(m);const S=p.value??new Date;e.valueFormat?n("update:modelValue",pa(e,S,e.valueFormat)):n("update:modelValue",S),n("confirm",m)},onClear:()=>{n("clear")},onUpdateVisible:m=>{r.value=m,n("update:visible",m)}}}});function hm(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Picker");return(0,t.openBlock)(),(0,t.createBlock)(o,{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 nl=ie(pm,[["render",hm]]),gm={format:{type:[String]},placeholder:{type:[String]},textAlign:{type:[String]},unit:{type:[String]},clearable:{type:[Boolean]},maxLength:{type:[Number]}};function ym(e){let n=e.format;return n||(n=ma[e.type??"date"]),n}var bm={...be,...Se,...ha,...gm};function vm(e,n,a,l,r,i,o,c=!1){return{props:bm,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(s,d){const{itemTemplateRef:h,innerDisabled:u,disabled:p,innerReadonly:y,readonly:N,browse:k}=Ve(s),{emitEvent:w,exposeApi:v}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return N.value},get disabled(){return p.value},get props(){return s},context:d,get templateRefProxy(){return h.value}},s.prop??d.attrs.name),{toLocaleRefs:f}=(0,ye.useFoxI18n)(n),m=f(s,["placeholder"]),S=(0,t.ref)(!1),g=xe(s,"modelValue",q=>q==null?null:typeof q=="string"?q.length==0?null:s.valueFormat?tl(s,q,s.valueFormat)??q:tl(s,q,ma[s.type])??q:We(q)?q:null,w),b=(0,t.computed)(()=>{if(!g.value)return"";const q=ym(s);return pa(s,g.value,q)}),E="fox-input-item",V=(0,t.computed)(()=>({[E]:!0,"is-disabled":p.value,"is-readonly":N.value})),A=Te((0,t.computed)(()=>s.textAlign),"textAlign"),C=(0,t.computed)(()=>{const q={};return A.value&&(q["text-align"]=A.value),q}),x=(0,t.ref)(!1),j=()=>{x.value=!0},$=()=>{x.value=!1};d.expose({showPicker:j,hidePicker:$});const R=q=>{x.value=q},M=q=>{if(g.value=q,s.valueFormat){let K=pa(s,q,s.valueFormat);w("update:modelValue",K,{}),w("change",K,{})}else w("update:modelValue",q,{}),w("change",q,{})},F=q=>{let K=q.target.value;S.value=!0,w("focus",K,q)},z=q=>{setTimeout(()=>{S.value=!1},0);let K=q.target.value;s.maxLength&&K.length>Number(s.maxLength)&&(K=K.slice(0,Number(s.maxLength))),w("blur",K,q)},X=(0,t.computed)(()=>({[`${E}__append`]:!0,"is-disabled":p.value,"is-readonly":N.value})),P=(0,t.computed)(()=>we(s.unit)>0),_=(0,t.computed)(()=>we(s.unit)>0&&!S.value),te=(0,t.computed)(()=>({hidden:!_.value})),oe=q=>{g.value="",w("update:modelValue","",q),w("change","",q),w("clear",""),$()},Q=(0,t.computed)(()=>s.clearable&&!p.value&&!N.value),Z=(0,t.computed)(()=>{let q=we(g.value)>0;return s.clearable&&q&&S.value}),O=q=>{Z.value?oe(q):j()},ne=(0,t.computed)(()=>Z.value&&Q.value?r:i),H=(0,t.computed)(()=>({action:!0}));return v({setDisabled:q=>{u.value=q},setReadonly:q=>{y.value=q}}),()=>{if(k.value==="on"&&(N.value||p.value))return l(b.value,d.slots);const q={class:V.value,style:C.value,type:"text",maxlength:s.maxLength,placeholder:m.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:j,onFocus:F,onBlur:z};c&&(q.disabled=!0);const K=[],Y=(0,t.h)("input",q);K.push(Y);const G=[],le=(0,t.h)(ne.value,{class:["action-icon"]}),U=(0,t.h)("view",{class:H.value,onClick:O},{default:()=>[le]});if(G.push(U),P.value){const se=(0,t.h)("view",{class:te.value},[s.unit]);G.push(se)}const W=(0,t.h)("view",{class:X.value},{default:()=>G});K.push(W);const I={default:()=>K};I.label=d.slots.default,I.prepend=d.slots.prepend,I.append=d.slots.append,I.fixedPreTip=d.slots.fixedPreTip,I.fixedTip=d.slots.fixedTip;const D=ve(s,ha);D.valueFormat=null,D.disabled=!1,D.readonly=p.value||N.value,D.visible=x.value,D["onUpdate:visible"]=R,D.modelValue=g.value,D["onUpdate:modelValue"]=M,D.onClear=oe;const L={};if(d.slots.top){const se=d.slots.top();L.top=()=>se}if(d.slots.bottom){const se=d.slots.bottom();L.default=()=>se}const J=(0,t.h)(o,D,L);I.hide=()=>[J];const ae={...ve(s,Se,be),ref:h};return s.prop&&(ae.prop=`${s.prop}_item`),a(ae,I)}}}}var{create:Sm,componentName:km,scope:wm}=ee("date-item"),Cm=Sm(vm(km,wm,Ie,Me,re.CircleClose,re.Date,nl,!1)),ga=Cm,ce={format(e,n="YYYY-MM-DD"){return Ct.format(e,n)},parser(e,n){return Ct.parser(e,n)},isLeapYear:function(e){return Ct.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 r=new Date(Number(e),parseInt(n)-1,Number(a));let i=r.getDay();const o=r.getDate();let c=6-i;return l!==0&&(i=i==0?7:i,c=7-i),Math.ceil((o+c)/7)},getYearWeek:function(e,n,a,l=0){const r=new Date(Number(e),parseInt(n)-1,Number(a)),i=new Date(Number(e),0,1),o=Math.round((r.valueOf()-i.valueOf())/864e5);return Math.ceil((o+(i.getDay()+1-1))/7)},getWeekDate:function(e,n,a,l=0){const r=new Date(Number(e),parseInt(n)-1,Number(a)),i=r.getTime();let o=r.getDay();if(l===0){const s=i-o*864e5,d=i+(6-o)*864e5;return[this.date2Str(new Date(s)),this.date2Str(new Date(d))]}else{o=o==0?7:o;const c=1440*60*1e3,s=i-(o-1)*c,d=i+(7-o)*c;return[this.date2Str(new Date(s)),this.date2Str(new Date(d))]}},formatResultDate:function(e){const n=[...e.split("-")];return n[2]=ce.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=ce.getWhatDay(+n[0],+n[1],+n[2]),n}},{create:Nm,scope:Am}=ee("calendar-pane"),Bm=Nm({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:ce.getDay(0)},endDate:{type:String,default:ce.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:a,expose:l}){const{toLocaleRefs:r,t:i}=(0,ye.useFoxI18n)(Am),o=r(e,["title","confirmText","startText","endText","today"]),c=JSON.parse(i("weekdays")),s=(0,t.ref)([...c.slice(e.firstDayOfWeek,7),...c.slice(0,e.firstDayOfWeek)]),d=(0,t.ref)(null),h=(0,t.ref)(null),u=(0,t.ref)(null),p=(0,t.ref)(null),y=(0,t.ref)(0),N=(0,t.computed)(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),k=(0,t.computed)(()=>a.btn),w=(0,t.computed)(()=>a["top-info"]),v=(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}),m=H=>H.split("-"),S=H=>ce.isEqual(f.currDate[0],H),B=H=>ce.isEqual(f.currDate[1],H),g=H=>f.currDate?.length>0?f.currDate?.some(q=>ce.isEqual(q,H)):!1,b=(H,q)=>q.curData[0]+"-"+q.curData[1]+"-"+ce.getNumTwoBit(+H.day),E=(H,q)=>{const K=b(H,q),{type:Y}=e;return H.type=="curr"?ce.isEqual(f.currDate,K)||(Y=="range"||Y=="week")&&(S(K)||B(K))||Y=="multiple"&&g(K)?`${f.dayPrefix}--active`:f.propStartDate&&ce.compareDate(K,f.propStartDate)||f.propEndDate&&ce.compareDate(f.propEndDate,K)?`${f.dayPrefix}--disabled`:(Y=="range"||Y=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&ce.compareDate(f.currDate[0],K)&&ce.compareDate(K,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},V=()=>{const{type:H}=e;if(H=="range"&&f.chooseData.length==2||H!="range"){let q=f.chooseData.slice(0);H=="week"&&(q={weekDate:[C(f.chooseData[0]),C(f.chooseData[1])]}),n("choose",q),e.poppable&&n("update")}},A=(H,q,K=!1)=>{if(E(H,q)!=`${f.dayPrefix}--disabled`){const{type:Y}=e;let[G,le]=q.curData,U=[...q.curData];if(U[2]=ce.getNumTwoBit(Number(H.day)),U[3]=`${U[0]}-${U[1]}-${U[2]}`,U[4]=ce.getWhatDay(+U[0],+U[1],+U[2]),Y=="multiple")if(f.currDate?.length>0){let W;f.currDate?.forEach((I,D)=>{I==U[3]&&(W=D)}),K?f.chooseData.push([...U]):W!==void 0?(f.currDate.splice(W,1),f.chooseData.splice(W,1)):(f.currDate.push(U[3]),f.chooseData.push([...U]))}else f.currDate=[U[3]],f.chooseData=[[...U]];else if(Y=="range"){let W=Object.values(f.currDate).length;W==2||W==0?f.currDate=[U[3]]:ce.compareDate(f.currDate[0],U[3])?Array.isArray(f.currDate)&&f.currDate.push(U[3]):Array.isArray(f.currDate)&&f.currDate.unshift(U[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...U]]:ce.compareDate(f.chooseData[0][3],U[3])?f.chooseData=[...f.chooseData,[...U]]:f.chooseData=[[...U],...f.chooseData]}else if(Y=="week"){let W=ce.getWeekDate(G,le,H.day,e.firstDayOfWeek);f.propStartDate&&ce.compareDate(W[0],f.propStartDate)&&W.splice(0,1,f.propStartDate),f.propEndDate&&ce.compareDate(f.propEndDate,W[1])&&W.splice(1,1,f.propEndDate),f.currDate=W,f.chooseData=[ce.formatResultDate(W[0]),ce.formatResultDate(W[1])]}else f.currDate=U[3],f.chooseData=[...U];if(!K){let W=f.chooseData;Y=="week"&&(W={weekDate:[C(f.chooseData[0]),C(f.chooseData[1])]}),n("select",W),(e.isAutoBackFill||!e.poppable)&&V()}}},C=H=>{let[q,K,Y]=H;return{date:H,monthWeekNum:ce.getMonthWeek(q,K,Y,e.firstDayOfWeek),yearWeekNum:ce.getYearWeek(q,K,Y,e.firstDayOfWeek)}},x=H=>{const q=H=="prev"?f.monthsData[0]:f.monthsData[f.monthsData.length-1];let K=parseInt(q.curData[0]),Y=parseInt(q.curData[1].toString().replace(/^0/,""));switch(H){case"prev":Y==1&&(K-=1),Y=Y==1?12:--Y;break;case"next":Y==12&&(K+=1),Y=Y==12?1:++Y;break}return[K+"",ce.getNumTwoBit(Y),ce.getMonthDays(String(K),String(Y))+""]},j=(H,q,K)=>{let{year:Y,month:G}=K;return q=="prev"&&H>=7&&(H-=7),Array.from(Array(H),(le,U)=>({day:String(U+1),type:q,year:Y,month:G}))},$=(H,q,K,Y)=>{H=H-e.firstDayOfWeek;let{year:G,month:le}=K;return q=="prev"&&H>=7&&(H-=7),Array.from(Array(Y),(U,W)=>({day:String(W+1),type:q,year:G,month:le})).slice(Y-H)},R=(H,q)=>{const K=ce.getMonthPreDay(+H[0],+H[1]);let Y=Number(H[1])-1,G=Number(H[0]);Y<=0&&(Y=12,G+=1);const le=ce.getMonthDays(String(H[0]),String(H[1])),U=ce.getMonthDays(G+"",Y+""),W={year:H[0],month:H[1]},I={curData:H,title:i("monthTitle",{year:W.year,month:W.month}),monthData:[...$(K,"prev",{month:String(Y),year:String(G)},U),...j(le,"curr",W)],cssHeight:0,cssScrollHeight:0};I.cssHeight=39+64*(I.monthData.length>35?6:5);let D=0;f.monthsData.length>0&&(D=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),I.cssScrollHeight=D,q=="next"?(!f.endData||!ce.compareDate(`${f.endData[0]}-${f.endData[1]}-${ce.getMonthDays(f.endData[0],f.endData[1])}`,`${H[0]}-${H[1]}-${H[2]}`))&&f.monthsData.push(I):!f.startData||!ce.compareDate(`${H[0]}-${H[1]}-${H[2]}`,`${f.startData[0]}-${f.startData[1]}-01`)?f.monthsData.unshift(I):f.unLoadPrev=!0},M=()=>{let H=e.startDate?e.startDate:ce.getDay(0),q=e.endDate?e.endDate:ce.getDay(365);f.propStartDate=H,f.propEndDate=q,f.startData=m(H),f.endData=m(q),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const K={year:Number(f.startData[0]),month:Number(f.startData[1])},Y={year:Number(f.endData[0]),month:Number(f.endData[1])};let G=Y.month-K.month;Y.year-K.year>0&&(G=G+12*(Y.year-K.year)),G<=0&&(G=1),R(f.startData,"next");let le=1;do R(x("next"),"next");while(le++<G);if(f.monthsNum=G,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(H&&ce.compareDate(f.currDate[0],H)&&f.currDate.splice(0,1,H),q&&ce.compareDate(q,f.currDate[1])&&f.currDate.splice(1,1,q),f.defaultData=[...m(f.currDate[0]),...m(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let U=[],W={};f.currDate.forEach(I=>{H&&!ce.compareDate(I,H)&&q&&!ce.compareDate(q,I)&&(Object.hasOwnProperty.call(W,I)||(U.push(I),W[I]=I))}),f.currDate=[...U],f.defaultData=[...m(U[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[U,W,I]=m(f.currDate[0]);f.currDate=ce.getWeekDate(U,W,I,e.firstDayOfWeek),H&&ce.compareDate(f.currDate[0],H)&&f.currDate.splice(0,1,H),q&&ce.compareDate(q,f.currDate[1])&&f.currDate.splice(1,1,q),f.defaultData=[...m(f.currDate[0]),...m(f.currDate[1])]}}else f.currDate&&(H&&ce.compareDate(f.currDate,H)?f.currDate=H:q&&!ce.compareDate(f.currDate,q)&&(f.currDate=q),f.defaultData=[...m(f.currDate)])};l({scrollToDate:H=>{ce.compareDate(H,f.propStartDate)?H=f.propStartDate:ce.compareDate(H,f.propEndDate)||(H=f.propEndDate);let q=m(H);f.monthsData.forEach((K,Y)=>{if(K.title==i("monthTitle",{year:q[0],month:q[1]})&&d.value){let G=f.monthsData[Y].cssScrollHeight-d.value.scrollTop;if(e.toDateAnimation){let le=0,U=setInterval(()=>{if(le++,d.value){let W=G/10;d.value.scrollTop=d.value.scrollTop+W}le>=10&&(clearInterval(U),d.value&&(d.value.scrollTop=f.monthsData[Y].cssScrollHeight))},40)}else d.value.scrollTop=f.monthsData[Y].cssScrollHeight}})},initPosition:()=>{d?.value&&(d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let H=0,q=0;f.defaultData.length>0&&f.monthsData.forEach((G,le)=>{G.title==i("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(H=le),(e.type=="range"||e.type=="week")&&G.title==i("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(q=le)}),P(f.monthsNum,H),f.currentIndex=H,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(A({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),A({day:f.defaultData[5],type:"curr"},f.monthsData[q],!0)):e.type=="week"?A({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(G=>{let le=m(G),U=f.currentIndex;f.monthsData.forEach((W,I)=>{W.title==i("monthTitle",{year:le[0],month:le[1]})&&(U=I)}),A({day:le[2],type:"curr"},f.monthsData[U],!0)}):A({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let K=f.monthsData[f.monthsData.length-1],Y=K.cssHeight+K.cssScrollHeight;Ge(()=>{d?.value&&h?.value&&p?.value&&(y.value=d.value.clientHeight,h.value.style.height=`${Y}px`,d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(Y/(f.monthsNum+1))}});const P=(H,q)=>{H>=3?q>0&&q<H?f.defaultRange=[q-1,q+3]:q==0?f.defaultRange=[q,q+4]:q==H&&(f.defaultRange=[q-2,q+2]):f.defaultRange=[0,H+2],f.translateY=f.monthsData[f.defaultRange[0]].cssScrollHeight},_=(H,q)=>(e.type=="range"||e.type=="week")&&H.type=="curr"&&E(H,q)=="fox-calendar__day--active",te=(H,q)=>_(H,q)&&S(b(H,q)),oe=(H,q)=>f.currDate.length>=2&&B(b(H,q))?_(H,q):!1,Q=()=>{if(f.currDate.length>=2)return ce.isEqual(f.currDate[0],f.currDate[1])},Z=H=>{const q=`${H.year}-${H.month}-${Number(H.day)<10?"0"+H.day:H.day}`;return ce.isEqual(q,ce.date2Str(new Date))},O=H=>{if(f.monthsData.length<=1)return;const q=H.target.scrollTop;let K=Math.floor(q/f.avgHeight);if(K==0)q>=f.monthsData[K+1].cssScrollHeight&&(K+=1);else if(K>0&&K<f.monthsNum-1)q>=f.monthsData[K+1].cssScrollHeight&&(K+=1),q<f.monthsData[K].cssScrollHeight&&(K-=1);else{const Y=Math.round(q+y.value);Y<f.monthsData[K].cssScrollHeight+f.monthsData[K].cssHeight&&q>f.monthsData[K-1].cssScrollHeight&&(K-=1),K+1<=f.monthsNum&&Y>=f.monthsData[K+1].cssScrollHeight+f.monthsData[K+1].cssHeight&&(K+=1),K>=1&&q<f.monthsData[K-1].cssScrollHeight&&(K-=1)}f.currentIndex!==K&&(f.currentIndex=K,P(f.monthsNum,K)),f.yearMonthTitle=f.monthsData[K].title},ne=()=>{f.chooseData.splice(0),f.monthsData.splice(0),M()};return M(),(0,t.watch)(()=>e.defaultValue,H=>{H&&e.poppable&&ne()}),{weeks:s,compConthsData:N,showTopBtn:k,topInfo:w,bottomInfo:v,rangeTip:Q,mothsViewScroll:O,getClass:E,isStartTip:te,isEndTip:oe,chooseDay:A,isCurrDay:Z,confirm:V,months:d,...(0,t.toRefs)(f),...(0,t.toRefs)(e),...o,monthsPanel:h,weeksPanel:u,viewArea:p}}}),Tm={class:"fox-calendar__header"},Vm={key:0,class:"fox-calendar__header-title"},Em={key:1,class:"fox-calendar__header-slot"},$m={key:2,class:"fox-calendar__header-subtitle"},Dm={class:"fox-calendar__weekdays",ref:"weeksPanel"},Im={class:"fox-calendar__panel",ref:"monthsPanel"},qm={class:"fox-calendar__month-title"},Pm={class:"fox-calendar__days"},xm=["onClick"],Mm={class:"fox-calendar__day-value"},Rm={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},zm={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Fm={key:2,class:"fox-calendar__day-tips--curr"},Lm={key:4,class:"fox-calendar__day-tip"},Om={key:0,class:"fox-calendar__footer"};function Km(e,n,a,l,r,i){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",Tm,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Vm,(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",$m,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Dm,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:c},(0,t.toDisplayString)(o),1))),128))],512)]),(0,t.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...o)=>e.mothsViewScroll&&e.mothsViewScroll(...o))},[(0,t.createElementVNode)("view",Im,[(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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:c},[(0,t.createElementVNode)("view",qm,(0,t.toDisplayString)(o.title),1),(0,t.createElementVNode)("view",Pm,[(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)(o.monthData,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:d,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(s,o)]),onClick:h=>e.chooseDay(s,o)},[(0,t.createElementVNode)("view",Mm,[(0,t.renderSlot)(e.$slots,"day",{date:s.type=="curr"?s:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.type=="curr"?s.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",Rm,[(0,t.renderSlot)(e.$slots,"top-info",{date:s.type=="curr"?s:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",zm,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:s.type=="curr"?s:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",Fm,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(s,o)?((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(s,o)?((0,t.openBlock)(),(0,t.createElementBlock)("view",Lm,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],10,xm))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",Om,[(0,t.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...o)=>e.confirm&&e.confirm(...o))},(0,t.toDisplayString)(e.confirmText),1)])):(0,t.createCommentVNode)("",!0)],2)}var Um=ie(Bm,[["render",Km]]),Hm=(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)(Ce,Ze({...e},{poppable:!1}),n):n?.default?.()??null}}),jm=Hm,Wm=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),ll={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:Ym}=ee("calendar"),Xm=Ym({components:{Wrapper:jm,CalendarPane:Um},props:{...ll},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a,expose:l}){const r=(0,t.computed)(()=>a.btn),i=(0,t.computed)(()=>a["top-info"]),o=(0,t.computed)(()=>a.day),c=(0,t.computed)(()=>a["bottom-info"]),s=(0,t.ref)(null),d=w=>{s.value?.scrollToDate(w)},h=()=>{s.value?.initPosition()};(0,t.watch)(()=>e.visible,w=>{w&&(0,t.nextTick)(()=>{s.value?s.value.doLayout():setTimeout(()=>{s.value&&s.value.doLayout()},250)})}),l({scrollToDate:d,initPosition:h});const u=()=>{n("update:visible",!1)},p=()=>{n("close"),n("update:visible",!1)};return{closePopup:()=>{p()},update:u,close:p,select:w=>{n("select",w)},choose:w=>{p(),n("choose",w)},calendarRef:s,showTopBtn:r,topInfo:i,dayInfo:o,bottomInfo:c}}});function Qm(e,n,a,l,r,i){const o=(0,t.resolveComponent)("CalendarPane"),c=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(c,(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)(o,{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)(s=>[(0,t.renderSlot)(e.$slots,"day",{date:s.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(s=>[(0,t.renderSlot)(e.$slots,"top-info",{date:s.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(s=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:s.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon","poppable"])}var al=ie(Xm,[["render",Qm]]),Ci={modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:[String],default:"-"},valueFormat:{type:[String],default:"YYYY-MM-DD"},format:{type:[String],default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:[String]},textAlign:{type:[String]},clearable:{type:[Boolean],default:!0},maxLength:{type:[String,Number]},unit:{type:[String]}},ya=(e,n)=>{let a;return We(e)?a=e:typeof e=="string"&&we(e)>0?a=ce.parser(e,n):a=new Date,a},Nt=(e,n,a)=>(We(n)||(n=new Date),ce.format(n,a)),At=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,ce.date2Str(e),ce.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())],Gm={...be,...Se,...ll,...Ci};function _m(e,n,a,l,r,{CloseIcon:i,MarkIcon:o},c=!1){return{props:Gm,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(s,d){const{itemTemplateRef:h,disabled:u,readonly:p,browse:y}=Ve(s),{emitEvent:N,exposeApi:k}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return u.value},get props(){return s},context:d,get templateRefProxy(){return h.value}},s.prop??d.attrs.name),{toLocaleRefs:w}=(0,ye.useFoxI18n)(n),v=w(s,["placeholder"]),f=(0,t.ref)(!1),m=(0,t.computed)(()=>s.type==="range"),S=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),B=()=>{S.startDate!==null&&(S.startDate=null,S.endDate=null,S.startArray=[],S.endArray=[])},g=(q,K="one",Y="YYYY-MM-DD")=>{if(Wm(q)){B();return}if(m.value&&Array.isArray(q)&&q.length==2){let G,le;typeof q[0]=="string"?(G=ya(q[0],Y),le=ya(q[1],Y)):(G=q[0],le=q[1]);let U=At(G),W=At(le);(S.startDate===null||S.startDate.getTime()!==G.getTime()||S.endDate?.getTime()!==le.getTime())&&(S.startDate=G,S.startArray=U,S.endDate=le,S.endArray=W)}else{let G;typeof q=="string"?G=ya(q,Y):G=q;let le=At(G);(S.startDate===null||S.startDate.getTime()!==G.getTime())&&(S.startDate=G,S.startArray=le)}};g(s.modelValue,s.type,s.valueFormat),(0,t.watch)(()=>s.modelValue,q=>{g(q,s.type,s.valueFormat),N("setValue",q)});const b=(0,t.computed)(()=>{if(S.startDate===null)return"";if(m.value){let q=Nt(s,S.startDate,s.format),K=Nt(s,S.endDate,s.format);return`${q} ${s.rangeSeparator} ${K}`}else{let q=Nt(s,S.startDate,s.format);return s.showWeek&&(q=`${q} ${S.startArray[4]}`),q}}),E=(0,t.computed)(()=>S.startDate===null?null:m.value?[ce.date2Str(S.startDate),ce.date2Str(S.endDate??new Date)]:ce.date2Str(S.startDate)),V="fox-input-item",A=(0,t.computed)(()=>({[V]:!0,"is-disabled":u.value,"is-readonly":p.value})),C=Te((0,t.computed)(()=>s.textAlign),"textAlign"),x=(0,t.computed)(()=>{const q={};return C.value&&(q["text-align"]=C.value),q}),j=(0,t.ref)(!1),$=()=>{p.value||u.value||(j.value=!0)},R=q=>{j.value=q},M=q=>{if(q){if(m.value&&Array.isArray(q)){let K=q[0],Y=de(K[0]),G=de(K[1]),le=de(K[2]),U=new Date(Y,G-1,le),W=q[1];Y=de(W[0]),G=de(W[1]),le=de(W[2]);let I=new Date(Y,G-1,le);S.startDate=U,S.startArray=At(U),S.endDate=I,S.endArray=At(I),s.valueFormat?N("update:modelValue",[Nt(s,U,s.valueFormat),Nt(s,I,s.valueFormat)],{}):N("update:modelValue",[U,I],{})}else{let K=q,Y=de(K[0]),G=de(K[1]),le=de(K[2]),U=new Date(Y,G-1,le);S.startDate=U,S.startArray=At(U),s.valueFormat?N("update:modelValue",Nt(s,U,s.valueFormat),{}):N("update:modelValue",U,{})}N("change",q,{})}},F=q=>{let K=q.target.value;f.value=!0,N("focus",K,q)},z=q=>{setTimeout(()=>{f.value=!1},0);let K=q.target.value;s.maxLength&&K.length>Number(s.maxLength)&&(K=K.slice(0,Number(s.maxLength))),N("blur",K,q)},X=(0,t.computed)(()=>({[`${V}__append`]:!0,"is-disabled":u.value,"is-readonly":p.value})),P=(0,t.computed)(()=>we(s.unit)>0),_=(0,t.computed)(()=>we(s.unit)>0&&!f.value),te=(0,t.computed)(()=>({hidden:!_.value})),oe=q=>{B(),N("update:modelValue",null,q),N("change","",q),N("clear","")},Q=(0,t.computed)(()=>s.clearable&&!u.value&&!p.value),Z=(0,t.computed)(()=>{let q=we(b.value)>0;return s.clearable&&q&&f.value}),O=q=>{Z.value?oe(q):$()},ne=(0,t.computed)(()=>Z.value&&Q.value?i:o),H=(0,t.computed)(()=>({action:!0}));return k(),()=>{if(y.value==="on"&&(p.value||u.value))return r(b.value,d.slots);const q={class:A.value,style:x.value,type:"text",maxlength:s.maxLength,placeholder:v.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:$,onFocus:F,onBlur:z};c&&(q.disabled=!0);const K=[],Y=(0,t.h)("input",q);K.push(Y);const G=[],le=(0,t.h)(ne.value,{class:["action-icon"]}),U=(0,t.h)("view",{class:H.value,onClick:O},{default:()=>[le]});if(G.push(U),P.value){const se=(0,t.h)("view",{class:te.value},[s.unit]);G.push(se)}const W=(0,t.h)("view",{class:X.value},{default:()=>G});K.push(W);const I={default:()=>K};I.label=d.slots.default,I.prepend=d.slots.prepend,I.append=d.slots.append,I.fixedPreTip=d.slots.fixedPreTip,I.fixedTip=d.slots.fixedTip;const D=ve(s,ll);D.visible=j.value,D["onUpdate:visible"]=R,D["default-value"]=E.value,D.onChoose=M;const L={};if(d.slots.btn){const se=d.slots.btn();L.btn=()=>se}d.slots.day&&(L.day=d.slots.day),d.slots.topInfo&&(L.topInfo=d.slots.topInfo),d.slots.bottomInfo&&(L.bottomInfo=d.slots.bottomInfo);const J=(0,t.h)(a,D,L);I.hide=()=>[J];const ae={...Ze(s,ll,Ci),ref:h};return s.prop&&(ae.prop=`${s.prop}_item`),l(ae,I)}}}}var{componentName:Zm,create:Jm,scope:e0}=ee("calendar-item"),t0=Jm(_m(Zm,e0,al,Ie,Me,{CloseIcon:re.CircleClose,MarkIcon:re.Date},!1)),ba=t0,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 l0(e,{CheckNormal:n,Checked:a}){return{props:{...n0},setup(l,{emit:r,slots:i}){const o=(0,t.inject)("parent",null),c=Pn(),s=(0,t.computed)(()=>o.label.value===l.label),d=(0,t.computed)(()=>o.position),h=()=>{const k=[];if(s.value){if(i.checkedIcon)return i.checkedIcon();{const w=ue(l.iconSize),v=l.checkedIcon??c.radio.Checked??a;return k.push("fox-radio__icon"),l.disabled&&k.push("is-disabled"),l.readonly&&k.push("is-readonly"),(0,t.h)(v,{width:w,height:w,class:k})}}else{if(i.icon)return i.icon();{const w=ue(l.iconSize),v=l.icon??c.radio.CheckNormal??n;return k.push("fox-radio__icon--unchecked"),l.disabled&&k.push("is-disabled"),l.readonly&&k.push("is-readonly"),(0,t.h)(v,{width:w,height:w,class:k})}}},u=()=>{const k=[`${e}__label`];return l.disabled&&k.push("is-disabled"),l.readonly&&k.push("is-readonly"),(0,t.h)("view",{class:k},i.default?.())},p=()=>{const k=[`${e}__button`];return s.value&&k.push(`${e}__button--active`),l.disabled&&k.push("is-disabled"),l.readonly&&k.push("is-readonly"),(0,t.h)("view",{class:k},i.default?.())},y=()=>{s.value||l.disabled||l.readonly||o.updateValue(l.label)},N=d.value==="left";return()=>(0,t.h)("view",{class:`${e} ${e}--${l.shape} ${N?`${e}--reverse`:""}`,onClick:y},[l.shape=="button"?p():N?[u(),h()]:[h(),u()]])}}}var{componentName:a0,create:o0}=ee("radio"),r0=o0(l0(a0,{CheckNormal:re.CheckNormal,Checked:re.CheckChecked})),ol=r0,{componentName:Ni,create:i0}=ee("radio-group"),s0=i0({props:{prop:{type:[String]},modelValue:{type:[String,Number,Boolean],default:""},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},emits:["change","update:modelValue"],setup(e,n){const{emitEvent:a,exposeApi:l}=Fe({context:n},e.prop),{slots:r}=n,i=o=>a("update:modelValue",o);return(0,t.provide)("parent",{label:(0,t.readonly)((0,t.computed)(()=>e.modelValue)),position:e.textPosition,updateValue:i}),(0,t.watch)(()=>e.modelValue,o=>a("change",o)),l(),()=>{const o={};return e.textAlign&&(o["text-align"]=e.textAlign),(0,t.h)("view",{class:`${Ni} ${Ni}--${e.direction}`,style:o},r.default?.())}}}),rl=s0;function Ai(e,n,a,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(il(e,i)===a)return r}else if(l==="item"){if(De(a,i))return r}else if(_t(e,i)===a)return r}return-1}function il(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function _t(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function c0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function u0(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var d0=class{scope;constructor(e){this.scope=e}async load(e,n,a){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=at(e,this.scope);return l===null?(console.error(`[FoxUI]${e} component not found api function`),[]):($e(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function f0(){return new d0(ct())}function m0(e){return{text:e,value:e}}var Bi={shape:{type:String,default:"round"},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number],default:""}},p0={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String}},h0={source:{type:[Array,Function,String],required:!1},sourceFilter:{type:[Function],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:""}},g0={...be,...Se,...Bi,...p0,...h0};function y0(e,n,a,l,r,i){return{props:g0,emits:["change","update:modelValue","setValue"],setup(o,c){const{itemTemplateRef:s,innerDisabled:d,disabled:h,innerReadonly:u,readonly:p,browse:y}=Ve(o),{emitEvent:N,exposeApi:k}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return h.value},get props(){return o},context:c,get templateRefProxy(){return s.value}},o.prop??c.attrs.name),w=Te((0,t.computed)(()=>o.textAlign),"textAlign"),v=f0(),f=(0,t.ref)([]),m=(0,t.computed)(()=>typeof o.sourceFilter=="function"&&Array.isArray(f.value)?f.value.filter(o.sourceFilter):f.value);(0,t.watch)([()=>o.source,()=>o.params],async([E,V])=>{if(E){const A=await v.load("radio",E,V);A.length>0?typeof A[0]=="string"?f.value=A.map(C=>m0(C)):f.value=A:f.value=[]}},{immediate:!0});let S=(0,t.ref)(-1);(0,t.watch)([()=>o.modelValue,()=>m.value],async([E,V])=>{S.value=Ai(o,V,E,o.valueType),N("setValue",E)},{deep:!0});const B=(0,t.computed)(()=>{if(!o.source)return o.modelValue;if(S.value===-1)return null;const E=m.value[S.value];return _t(o,E)}),g=E=>{let V=null,A=null;if(m.value.length>0){let C=Ai(o,m.value,E,"value");S.value=C,C>=0&&(A=m.value[C],o.valueType==="text"?V=il(o,A):o.valueType==="item"?V=A:V=_t(o,A))}else V=E;N("update:modelValue",V),N("change",V,A)},b=()=>{let E=null,V=null;if(m.value.length>0&&S.value!==-1){let A=m.value[S.value];o.valueType==="text"?E=il(o,A):o.valueType==="item"?E=A:E=_t(o,A)}N("update:modelValue",E),N("change",E,V)};if(k({clear(){S.value!==-1&&(S.value=-1,b())},setDisabled:E=>{d.value=E},setReadonly:E=>{u.value=E}}),o.source){const E=()=>{const V=[],A=ve(o,Bi);return m.value.forEach((C,x)=>{const j=_t(o,C),$=c0(o,C);let R={...A,label:j,disabled:$};const M=u0(o,C,x);R={...R,...M},h.value&&(R.disabled=!0),p.value&&(R.readonly=!0);const F={};if(c.slots.icon&&(F.icon=c.slots.icon),c.slots.checkedIcon&&(F.checkedIcon=c.slots.checkedIcon),typeof c.slots.text=="function"){const X=c.slots.text(C);F.default=()=>[X]}else{const X=il(o,C);F.default=()=>X}let z=(0,t.h)(i,R,F);V.push(z)}),V};return()=>{if(y.value==="on"&&(p.value||h.value))return l(B.value,c.slots,m.value);const V=E(),A=(0,t.h)(r,{class:`${e}`,direction:o.direction,textPosition:o.textPosition,textAlign:w.value,modelValue:B.value,"onUpdate:modelValue":g},{default:()=>V}),C={default:()=>A};C.label=c.slots.default,C.prepend=c.slots.prepend,C.append=c.slots.append,C.fixedPreTip=c.slots.fixedPreTip,C.fixedTip=c.slots.fixedTip;const x={...ve(o,Se,be),ref:s};return o.prop&&(x.prop=`${o.prop}_item`),a(x,C)}}else return()=>{const E=c.slots.options?.()??[];return(0,t.h)(r,{class:`${e}`,direction:o.direction,textPosition:o.textPosition,textAlign:w.value,modelValue:B,"update:modelValue":g},{default:()=>E})}}}}var{componentName:b0,create:v0,scope:S0}=ee("radio-item"),k0=v0(y0(b0,S0,Ie,Me,rl,ol)),va=k0,w0={prop:{type:[String]},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"}},C0=(e,{CheckNormal:n,Checked:a,Indeterminate:l})=>({props:w0,emits:["change","update:modelValue"],setup(r,i){const{emitEvent:o,exposeApi:c}=Fe({context:i},r.prop),s=Pn(),{slots:d}=i,h=(0,t.inject)("parent",null),u=(0,t.reactive)({partialSelect:r.indeterminate});(0,t.watch)(()=>r.indeterminate,B=>{u.partialSelect=B});const p=(0,t.computed)(()=>!!h),y=(0,t.computed)(()=>p.value?h.value.value.includes(r.label):!!r.modelValue),N=(0,t.computed)(()=>p.value?h.position:r.textPosition);let k="";const w=(B,g)=>{k="click",o("update:modelValue",B),o("change",B,g)};(0,t.watch)(()=>r.modelValue,B=>{k=="click"?k="":o("change",B)});const v=()=>{const B=[];if(u.partialSelect){if(d.indeterminateIcon)return d.indeterminateIcon();{const g=ue(r.iconSize),b=r.indeterminateIcon??s.checkbox.Indeterminate??l;return B.push("fox-checkbox__icon--indeterminate"),r.disabled&&B.push("is-disabled"),r.readonly&&B.push("is-readonly"),(0,t.h)(b,{width:g,height:g,class:B})}}else if(y.value){if(d.checkedIcon)return d.checkedIcon();{const g=ue(r.iconSize),b=r.checkedIcon??s.checkbox.Checked??a;return B.push("fox-checkbox__icon"),r.disabled&&B.push("is-disabled"),r.readonly&&B.push("is-readonly"),(0,t.h)(b,{width:g,height:g,class:B})}}else{if(d.icon)return d.icon();{const g=ue(r.iconSize),b=r.icon??s.checkbox.CheckNormal??n;return B.push("fox-checkbox__icon--unchecked"),r.disabled&&B.push("is-disabled"),r.readonly&&B.push("is-readonly"),(0,t.h)(b,{width:g,height:g,class:B})}}},f=()=>{const B=[`${e}__label`];return r.disabled&&B.push("is-disabled"),r.readonly&&B.push("is-readonly"),(0,t.h)("view",{class:B},d.default?.())},m=()=>{const B=[`${e}__button`];return y.value&&B.push(`${e}__button--active`),r.disabled&&B.push("is-disabled"),r.readonly&&B.push("is-readonly"),(0,t.h)("view",{class:B},d.default?.())},S=B=>{if(!(r.disabled||r.readonly)){if(y.value&&u.partialSelect){u.partialSelect=!1,w(y.value,d.default?.()[0].children);return}if(w(!y.value,d.default?.()[0].children),p.value){const g=h.value.value,b=h.max.value,{label:E}=r,V=g.indexOf(E);V>-1?g.splice(V,1):V<=-1&&(g.length<b||!b)&&g.push(E),h.updateValue(g)}}};return(0,t.onMounted)(()=>{p.value&&h.link(r)}),(0,t.onBeforeUnmount)(()=>{p.value&&h.unlink(r)}),c(),()=>(0,t.h)("view",{class:`${e} ${e}--${r.shape} ${N.value==="left"?`${e}--reverse`:""}`,onClick:S},[r.shape=="button"?m():[v(),f()]])}}),{componentName:N0,create:A0}=ee("checkbox"),B0=A0(C0(N0,{CheckNormal:re.CheckNormal,Checked:re.Checked,Indeterminate:re.CheckDisabled})),sl=B0,{create:T0,componentName:Ti}=ee("checkbox-group"),V0={prop:{type:String},modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},E0=T0({props:V0,emits:["change","update:modelValue"],setup(e,n){const{emitEvent:a,exposeApi:l}=Fe({context:n},e.prop),{slots:r}=n,i=(0,t.reactive)({children:[]}),o=u=>{i.children.push(u)},c=u=>{const p=i.children.findIndex(y=>y===u);p!==-1&&i.children.splice(p,1)},s=u=>{a("update:modelValue",u),a("change",u)},d=u=>{const p=[];u&&i.children.forEach(y=>{y?.disabled||p.push(y?.label)}),a("update:modelValue",p)},h=()=>{a("update:modelValue",i.children.filter(u=>u?.disabled?!1:!e.modelValue.includes(u.label)).map(u=>u.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:c}),(0,t.watch)(()=>e.modelValue,u=>{a("change",u)}),l({toggleAll:d,toggleReverse:h}),()=>{const u={};return e.textAlign&&(u["text-align"]=e.textAlign),(0,t.h)("view",{class:`${Ti} ${Ti}--${e.direction}`,style:u},r.default?.())}}}),cl=E0;function Vi(e,n,a,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(Sa(e,i)===a)return r}else if(l==="item"){if(De(a,i))return r}else if(ul(e,i)===a)return r}return-1}function Sa(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ul(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function $0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function D0(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var I0=class{scope;constructor(e){this.scope=e}async load(e,n,a){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(a);let l=at(e,this.scope);return l===null?(console.error(`[FoxUI]${e} component not found api function`),[]):($e(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await l(n,a))}};function q0(){return new I0(ct())}function P0(e){return{text:e,value:e}}var x0={direction:{type:String,default:"vertical"},textPosition:{type:String,default:"right"},textAlign:{type:String},max:{type:Number,default:0}},Ei={icon:{type:[Object]},checkedIcon:{type:[Object]},indeterminateIcon:{type:[Object]},iconSize:{type:[String,Number],default:""},shape:{type:String,default:"round"}},M0={source:{type:[Array,Function,String],required:!1},sourceFilter:{type:[Function]},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:[]},separator:{type:[String],required:!1,default:", "}},R0={...be,...Se,...x0,...Ei,...M0};function z0(e,n,a,l,r,i){return{props:R0,emits:["change","update:modelValue","setValue"],setup(o,c){const{itemTemplateRef:s,innerDisabled:d,disabled:h,innerReadonly:u,readonly:p,browse:y}=Ve(o),N=Te((0,t.computed)(()=>o.textAlign),"textAlign"),{emitEvent:k,exposeApi:w}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return p.value},get disabled(){return h.value},get props(){return o},context:c,get templateRefProxy(){return s.value}},o.prop??c.attrs.name),v=q0(),f=(0,t.ref)([]),m=(0,t.computed)(()=>typeof o.sourceFilter=="function"&&Array.isArray(f.value)?f.value.filter(o.sourceFilter):f.value);(0,t.watch)([()=>o.source,()=>o.params],async([E,V])=>{if(E){const A=await v.load("checkbox",E,V);A.length>0?typeof A[0]=="string"?f.value=A.map(C=>P0(C)):f.value=A:f.value=[]}},{immediate:!0});const S=(0,t.ref)([]);(0,t.watch)([()=>o.modelValue,()=>m.value],async([E,V])=>{const A=[];Array.isArray(E)&&E.forEach(C=>{let x=Vi(o,V,C,o.valueType);x!==-1&&A.push(x)}),!De(A,S.value)&&(S.value=A,k("setValue",A))},{deep:!0});const B=(0,t.computed)(()=>{if(!o.source)return o.modelValue;let E=[];return S.value.forEach(V=>{let A=m.value[V];E.push(ul(o,A))}),E}),g=E=>{let V=[],A=[];if(m.value.length>0){const C=[];Array.isArray(E)&&E.forEach(x=>{let j=Vi(o,m.value,x,"value");j!==-1&&C.push(j);const $=m.value[j];A.push($),o.valueType==="text"?V.push(Sa(o,$)):o.valueType==="item"?V.push($):V.push(ul(o,$))}),S.value=C}else V=E;k("update:modelValue",V),k("change",V,A)},b=(0,t.ref)();if(w({toggleAll:E=>{b.value.toggleAll(E)},toggleReverse:()=>{b.value.toggleReverse()},setDisabled:E=>{d.value=E},setReadonly:E=>{u.value=E}}),o.source){const E=()=>{const V=[],A=ve(o,Ei);return m.value.forEach((C,x)=>{const j=ul(o,C),$=$0(o,C);let R={...A,label:j,disabled:$};const M=D0(o,C,x);R={...R,...M},h.value&&(R.disabled=!0),p.value&&(R.readonly=!0);const F={};if(c.slots.icon&&(F.icon=c.slots.icon),c.slots.checkedIcon&&(F.checkedIcon=c.slots.checkedIcon),c.slots.indeterminateIcon&&(F.indeterminateIcon=c.slots.indeterminateIcon),typeof c.slots.text=="function"){const X=c.slots.text(C);F.default=()=>[X]}else{const X=Sa(o,C);F.default=()=>X}let z=(0,t.h)(i,R,F);V.push(z)}),V};return()=>{if(y.value==="on"&&(p.value||h.value))return l(B.value,c.slots,m.value,o.separator);const V=E(),A=(0,t.h)(r,{class:`${e}`,ref:b,direction:o.direction,max:o.max,textPosition:o.textPosition,modelValue:B.value,"onUpdate:modelValue":g},{default:()=>V}),C={default:()=>A};C.label=c.slots.default,C.prepend=c.slots.prepend,C.append=c.slots.append,C.fixedPreTip=c.slots.fixedPreTip,C.fixedTip=c.slots.fixedTip;const x={...ve(o,Se,be),ref:s};return o.prop&&(x.prop=`${o.prop}_item`),a(x,C)}}else return()=>{const E=c.slots.options?.()??[];return(0,t.h)("view",{class:`${e}`,ref:b,direction:o.direction,max:o.max,textPosition:o.textPosition,textAlign:N.value,modelValue:B,"onUpdate:modelValue":g},{default:()=>E})}}}}var{componentName:F0,create:L0,scope:O0}=ee("checkbox-item"),K0=L0(z0(F0,O0,Ie,Me,cl,sl)),ka=K0,wa={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:U0,create:H0}=ee("switch"),j0=H0({components:{Loading1:re.Loading1},props:{...wa},emits:["change","update:modelValue","update:loading"],setup(e,{emit:n}){const a=(0,t.computed)(()=>e.modelValue===e.activeValue),l=(0,t.computed)(()=>{const c=U0;return{[c]:!0,[a.value?"fox-switch-open":"fox-switch-close"]:!0,[`${c}-base`]:!0,"is-disabled":e.disabled}}),r=(0,t.computed)(()=>({backgroundColor:a.value?e.activeColor:e.inactiveColor}));let i="";const o=c=>{if(e.disabled||e.loading)return;i="click";const s=a.value?e.inactiveValue:e.activeValue;n("update:modelValue",s),n("change",s,c)};return(0,t.watch)(()=>e.modelValue,c=>{i=="click"?i="":n("change",c)}),{classes:l,style:r,isActive:a,onClick:o}}}),W0={class:"fox-switch-button"};function Y0(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Loading1");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...c)=>e.onClick&&e.onClick(...c)),style:(0,t.normalizeStyle)(e.style)},[(0,t.createElementVNode)("view",W0,[e.loading?(0,t.renderSlot)(e.$slots,"icon",{key:0},()=>[(0,t.createVNode)(o,{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 dl=ie(j0,[["render",Y0]]),X0={...be,...Se,...wa};function Q0(e,n,a,l,r){return{props:X0,emits:["change","update:modelValue","setValue"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y,exposeApi:N}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return u.value},get disabled(){return d.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),k=e,w=xe(i,"modelValue",null,y),v=f=>{w.value=f,y("update:modelValue",f,{}),y("change",f,{})};return N({setDisabled:f=>{s.value=f},setReadonly:f=>{h.value=f}}),()=>{if(p.value==="on"&&(u.value||d.value))return l(w.value,o.slots);const f={...ve(i,wa),disabled:d.value||u.value,value:w.value,"onUpdate:modelValue":v},m=[],S=(0,t.h)(r,f);m.push(S);const B={default:()=>m};B.label=o.slots.default,B.fixedPreTip=o.slots.fixedPreTip,B.fixedTip=o.slots.fixedTip;const g={...ve(i,Se,be),ref:c};return i.prop&&(g.prop=`${i.prop}_item`),g["content-class"]=k,a(g,B)}}}}var{componentName:G0,create:_0,scope:Z0}=ee("switch-item"),J0=_0(Q0(G0,Z0,Ie,Me,dl)),Ca=J0,ep={...be,...Se,placeholder:{type:[String]},textAlign:{type:[String]},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1},unit:{type:[String],required:!1}};function tp(e,n,a,l){return{props:ep,emits:["click","focus","blur","change"],setup(r,i){const{itemTemplateRef:o,disabled:c,readonly:s}=Ve(r),{emitEvent:d,exposeApi:h}=Be({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return s.value},get disabled(){return c.value},get props(){return r},context:i,get templateRefProxy(){return o.value}},r.prop??i.attrs.name),{toLocaleRefs:u}=(0,ye.useFoxI18n)(n),p=u(r,["placeholder"]),y=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,$=>{y.value=$,d("change",$)});const N=(0,t.computed)(()=>({[`${e}`]:!0})),k=(0,t.computed)(()=>({[`${e}__main`]:!0,[`${e}__placeholder`]:!c.value&&pe(y.value),"is-disabled":c.value,"is-readonly":s.value})),w=Te((0,t.computed)(()=>r.textAlign),"textAlign"),v=(0,t.computed)(()=>{const $={};return w.value&&($["text-align"]=w.value),$}),f=(0,t.computed)(()=>!pe(r.modelValue)||i.slots.main?!0:!!pe(r.desc)),m=(0,t.computed)(()=>pe(y.value)?p.placeholder.value:y.value),S=(0,t.computed)(()=>!pe(r.desc)||i.slots.sub),B=(0,t.computed)(()=>({[`${e}__sub`]:!0})),g=(0,t.computed)(()=>{const $={};return w.value&&($["text-align"]=w.value),$}),b=()=>{d("focus",y.value)},E=()=>{d("blur",y.value)},V=(0,t.computed)(()=>({[`${e}__append`]:!0,"is-disabled":c.value,"is-readonly":s.value})),A=(0,t.computed)(()=>we(r.unit)>0),C=$=>{c.value==!0||s.value==!0||d("click")},x=(0,t.computed)(()=>r.icon??a),j=(0,t.computed)(()=>({action:!0}));return h(),()=>{const $=[];if(typeof i.slots.content=="function"){const te=i.slots.content();$.push(te)}else{const te=[];if(f.value){const Q={tabIndex:0,class:k.value,style:v.value,onFocus:b,onBlur:E};let Z=null;i.slots.main?Z=(0,t.h)("view",Q,[i.slots.main(m.value)]):Z=(0,t.h)("view",Q,[m.value]),te.push(Z)}if(S.value){const Q={tabIndex:0,class:B.value,style:g.value,onFocus:b,onBlur:E};let Z=null;i.slots.sub?Z=(0,t.h)("view",Q,[i.slots.sub(r.desc)]):Z=(0,t.h)("view",Q,[r.desc]),te.push(Z)}const oe=(0,t.h)("view",{class:N.value,onClick:C},te);$.push(oe)}const R=[],M=ue(r.iconSize);let F=i.slots.icon;if(!F){const te={width:M,height:M,class:["action-icon"]};F=(0,t.h)(x.value,te)}const z=(0,t.h)("view",{class:j.value,onClick:C},{default:()=>[F]});if(R.push(z),A.value){const te=(0,t.h)("view",{},[r.unit]);R.push(te)}const X=(0,t.h)("view",{class:V.value},{default:()=>R});$.push(X);const P={default:()=>$};P.label=i.slots.default,P.prepend=i.slots.prepend,P.append=i.slots.append,P.fixedPreTip=i.slots.fixedPreTip,P.fixedTip=i.slots.fixedTip;const _={...ve(r,Se,be),ref:o};return r.prop&&(_.prop=`${r.prop}_item`),l(_,P)}}}}var{componentName:np,create:lp,scope:ap}=ee("link-item"),op=lp(tp(np,ap,re.ArrowRight,Ie)),Na=op,Aa={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:rp,componentName:ip}=ee("rate"),sp=rp({props:{...Aa},emits:["update:modelValue","change"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)([]),r=(0,t.computed)(()=>({[ip]:!0})),i=y=>{n("update:modelValue",y),n("change",y)},o=(y,N)=>{if(e.disabled||e.readonly)return;let k=0;N===1&&e.modelValue===N||(k=N,e.allowHalf&&y==2&&(k-=.5)),i(k)},c=(y,N,k)=>{let w=0;for(let v=N.value.length-1;v>=0;v--){const f=N.value[v];if(y>f.offsetLeft){k?w=v+(y>f.offsetLeft+f.clientWidth/2?1:.5):w=v+1;break}}return w},s=ot(),d={onTouchStart(y){!e.touchable||e.readonly||s.start(y)},onTouchMove(y){e.touchable&&(s.move(y),s.isHorizontal()&&l.value&&(y.preventDefault(),i(c(s.moveX.value,l,e.allowHalf))))}},h=Math.random().toString(36).slice(-8),u=(0,t.computed)(()=>e.customIcon??re.StarFillN);return{classes:r,...d,onClick:o,toPxString:he,renderIcon:(y,N)=>(0,t.h)(y,N),rateRefs:l,refRandomId:h,slots:a,customIcon:u}}}),cp=["id"],up={class:"fox-rate-item__icon--full"},dp={key:0,class:"fox-rate-item__icon--half"},fp={key:1,class:"fox-rate-item__icon--half"};function mp(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onTouchstart:n[0]||(n[0]=(...o)=>e.onTouchStart&&e.onTouchStart(...o)),onTouchmove:n[1]||(n[1]=(...o)=>e.onTouchMove&&e.onTouchMove(...o))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Number(e.count),o=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-rate-item",key:o,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+o,style:(0,t.normalizeStyle)(o<Number(e.count)?{marginRight:e.toPxString(e.spacing)}:{})},[(0,t.createElementVNode)("view",up,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:o<=e.modelValue?e.activeColor:e.voidColor})),{class:(0,t.normalizeClass)(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||o>e.modelValue}]),onClick:c=>e.onClick(1,o)},null,8,["class","onClick"]))]),e.allowHalf&&Number(e.modelValue)+1>o?((0,t.openBlock)(),(0,t.createElementBlock)("view",dp,[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(e.customIcon,{width:e.size,height:e.size,size:e.size,color:o<=Number(e.modelValue)+1?e.activeColor:e.voidColor})),{class:"fox-rate-item__icon",onClick:c=>e.onClick(2,o)},null,8,["onClick"]))])):e.allowHalf&&Number(e.modelValue)+1<o?((0,t.openBlock)(),(0,t.createElementBlock)("view",fp,[((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:c=>e.onClick(2,o)},null,8,["onClick"]))])):(0,t.createCommentVNode)("",!0)],12,cp))),128))],34)}var fl=ie(sp,[["render",mp]]),pp={...be,...Se,...Aa};function hp(e,n,a,l,r){return{props:pp,emits:["change","update:modelValue","setValue"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y,exposeApi:N}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return u.value},get disabled(){return d.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),k=e,w=xe(i,"modelValue",null,y),v=f=>{w.value=f,y("update:modelValue",f,{}),y("change",f,{})};return N({setDisabled:f=>{s.value=f},setReadonly:f=>{h.value=f}}),()=>{if(p.value==="on"&&(u.value||d.value))return l(w.value,o.slots);const f={...ve(i,Aa),disabled:d.value,readonly:u.value,value:w.value,"onUpdate:modelValue":v},m=[],S=(0,t.h)(r,f);m.push(S);const B={default:()=>m};if(o.slots.default){const b=o.slots.default();B.label=()=>b}const g=ve(i,Se,be);return i.prop&&(g.prop=`${i.prop}_item`),g["content-class"]=k,g.ref=c,a(g,B)}}}}var{componentName:gp,create:yp,scope:bp}=ee("rate-item"),vp=yp(hp(gp,bp,Ie,Me,fl)),Ba=vp,Sp=/scroll|auto|overlay/i,$i=window;function kp(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ta(e,n=$i){let a=e;for(;a&&a!==n&&kp(a);){const{overflowY:l}=window.getComputedStyle(a);if(Sp.test(l))return a;a=a.parentNode}return n}function Di(e,n=$i){const a=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(a.value=Ta(e.value,n))}),a}var Ii=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,wp={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 Cp(e,n,a){return{props:{...wp},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:r,slots:i}){const{toLocaleRefs:o}=(0,ye.useFoxI18n)(n),c=o(l,["pullText","loadText","noMoreText"]),s=(0,t.ref)(),d=Di(s),h=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),u=(0,t.computed)(()=>({[e]:!0})),p=f=>f?f.offsetTop+p(f.offsetParent):0,y=()=>{let f=0,m=0,S="down";if(d.value==window){const B=Ii();s.value&&(f=p(s.value)+s.value.offsetHeight-B-window.innerHeight),m=B}else{const{scrollHeight:B,clientHeight:g,scrollTop:b}=d.value;f=B-g-b,m=b}return h.beforeScrollTop>m?S="up":S="down",h.beforeScrollTop=m,r("scroll-change",m),f<=l.threshold&&S=="down"},N=()=>{Ge(()=>{if(!y()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,r("update:modelValue",!0),(0,t.nextTick)(()=>r("load-more"))})},k=()=>{d.value&&d.value.addEventListener("scroll",N,l.useCapture)},w=()=>{d.value&&d.value.removeEventListener("scroll",N,l.useCapture)};(0,t.onMounted)(()=>{k(),l.immediate&&N()}),(0,t.onUnmounted)(()=>{w()});const v=(0,t.ref)(!1);return(0,t.onActivated)(()=>{v.value&&(v.value=!1,k())}),(0,t.onDeactivated)(()=>{v.value=!0,w()}),(0,t.watch)(()=>l.modelValue,f=>{f||(h.isInfiniting=!1)}),()=>{const f=(0,t.h)("view",{class:"fox-infinite__container"},[i?.default?.()]),m=[];if(h.isInfiniting){let B=i?.loading?.()??null;if(!B){let b=i?.loadingIcon?.()??null;b||(b=(0,t.h)(a,{class:["fox-infinite__bottom-box__img"]}));const E=(0,t.h)("view",{class:"fox-infinite__bottom-box__text"},[c.loadText.value]);B=[b,E]}const g=(0,t.h)("view",{class:"fox-infinite__bottom-box"},B);m.push(g)}else if(!l.hasMore){let B=i?.finished?.()??null;B||(B=(0,t.h)("view",{class:"fox-infinite__bottom-tips"},[c.noMoreText.value]),m.push(B))}const S=(0,t.h)("view",{class:"fox-infinite__bottom"},m);return(0,t.h)("view",{class:u.value,ref:s},[f,S])}}}}var{componentName:Np,create:Ap,scope:Bp}=ee("infinite-loading"),Tp=Ap(Cp(Np,Bp,re.Loading)),ml=Tp,{componentName:Vp,create:Ep}=ee("button"),$p=Ep({components:{Loading:re.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:r,shape:i,disabled:o,loading:c,color:s,plain:d,block:h}=(0,t.toRefs)(e);return{handleClick:p=>{!c.value&&!o.value&&n("click",p)},classes:(0,t.computed)(()=>{const p=Vp;return{[p]:!0,[`${p}--${l.value}`]:l.value,[`${p}--${r.value}`]:r.value,[`${p}--${i.value}`]:i.value,[`${p}--plain`]:d.value,[`${p}--block`]:h.value,[`${p}--disabled`]:o.value,[`${p}--loading`]:c.value}}),getStyle:(0,t.computed)(()=>{const p={};return s?.value&&(d.value?(p.color=s.value,p.background="#fff",s.value?.includes("gradient")||(p.borderColor=s.value)):(p.color="#fff",p.background=s.value)),p})}}}),Dp={class:"fox-button__wrap"};function Ip(e,n,a,l,r,i){const o=(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]=(...c)=>e.handleClick&&e.handleClick(...c))},[(0,t.createElementVNode)("view",Dp,[e.loading?((0,t.openBlock)(),(0,t.createBlock)(o,{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 Bt=ie($p,[["render",Ip]]),qp={prop:{type:[String]},modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},autoblur:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},Pp=(e,n,a)=>({props:qp,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(l,r){const{emitEvent:i}=Fe({context:r},l.prop),{toLocaleRefs:o}=(0,ye.useFoxI18n)(n),c=o(l,["placeholder"]),{slots:s}=r,d=(0,t.reactive)({active:!1}),h=(0,t.computed)(()=>({background:l.background})),u=(0,t.computed)(()=>({background:l.inputBackground})),p=A=>{let C=A.target.value;l.maxLength&&C.length>Number(l.maxLength)&&(C=C.slice(0,Number(l.maxLength))),i("update:modelValue",C,A),i("change",C,A)},y=(0,t.ref)({}),N=A=>{let C=A.target.value;d.active=!0,y.value=l.focusStyle,i("focus",C,A)},k=A=>{setTimeout(()=>{d.active=!1},0);let C=A.target.value;l.maxLength&&C.length>Number(l.maxLength)&&(C=C.slice(0,Number(l.maxLength))),y.value={},i("blur",C,A)},w=A=>{i("update:modelValue","",A),i("change","",A),i("clear","")},v=(0,t.computed)(()=>String(l.modelValue).length>0),f=(0,t.computed)(()=>{const A={};return v.value||(A.display="none"),A}),m=A=>{l.autoblur&&E.value?.blur(),(typeof A.cancelable!="boolean"||A.cancelable)&&A.preventDefault(),i("search",l.modelValue)},S=A=>{i("keyup-input",A)},B=A=>{i("click-input",A)},g=A=>{i("click-left-icon",l.modelValue,A)},b=(0,t.computed)(()=>({textAlign:l.inputAlign})),E=(0,t.ref)(null);(0,t.onMounted)(()=>{l.autofocus&&E.value.focus()});const V=()=>{const A=[];if(s.leftin){const $=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:g},[s.leftin()]);A.push($)}const C=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:E,style:b.value,type:l.inputType,maxlengt:l.maxLength,placeholder:c.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:B,onInput:p,onFocus:N,onBlur:k,onkeyup:S}),x=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:m},[C]);A.push(x);const j=[];if(l.clearable){const $=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:f.value,onClick:w},[(0,t.h)(s?.clear?.()??l.clearIcon??a)]);j.push($)}if(s.rightin){const $=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[s.rightin()]);j.push($)}if(j.length>0){const $=(0,t.h)("view",{class:`${e}__input-inner-right`},j);A.push($)}return(0,t.h)("view",{class:[`${e}__search-input`,`${l.shape}`],style:{...u.value,...y.value}},A)};return()=>{const A=[];if(l.label){const x=(0,t.h)("span",{class:`${e}__search-label`},[l.label]);A.push(x)}if(s.leftout){const x=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[s.leftout()]);A.push(x)}const C=V();if(A.push(C),s.rightout){const x=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[s.rightout()]);A.push(x)}return(0,t.h)("view",{class:`${e}`,style:h.value},A)}}}),{componentName:xp,create:Mp,scope:Rp}=ee("searchbar"),zp=Mp(Pp(xp,Rp,re.CircleClose)),pl=zp,hl={prop:{type:[String]},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 Fp(e,n,a,l="value"){for(let r=0;r<n.length;r++){let i=n[r];if(l==="text"){if(gl(e,i)===a)return r}else if(l==="item"){if(De(a,i))return r}else if(Pi(e,i)===a)return r}return-1}function gl(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function qi(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function Pi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Lp(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Op(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var Kp=class{scope;constructor(e){this.scope=e}async load(e,n,a,l,r,i,o){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let s=n;typeof o=="function"&&(s=s.filter(o));let d=(a-1)*l,h=d+l;h>s.length&&(h=s.length);const u=s.slice(d,h);return{totalSize:s.length,page:u}}if(typeof n=="function")return await Reflect.apply(n,null,[a,l,r,i]);const c=at(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):($e(r)&&(0,t.isReactive)(r)&&(r=(0,t.toRaw)(r)),await Reflect.apply(c,null,[n,a,l,r]))}};function Up(){return new Kp(ct())}function Hp(e,n,a,l,r,i,o,c,s,d,h){return{props:hl,emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(u,p){const{emitEvent:y,exposeApi:N}=Fe({context:p},u.prop),{slots:k}=p,{toLocaleRefs:w}=(0,ye.useFoxI18n)(n),v=w(u,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),f=Up(),m=(0,t.ref)([]),S=(0,t.ref)(0),B=(0,t.ref)(""),g=(0,t.shallowRef)(null),b=(0,t.computed)(()=>{const U={};return u.params&&Object.assign(U,u.params),pe(B.value)||(U[`${u.searchKey}`]=B.value),g.value&&Object.assign(U,g.value),U});let E=!0;const V=async(U,W,I)=>{try{if(C.value===!1)return;let D=null;pe(B.value)||(D=J=>{const ae=gl(u,J);if(typeof ae=="string"&&ae.includes(B.value))return!0;const se=qi(u,J);return!!(typeof se=="string"&&se.includes(B.value))});const L=await f.load("actionsheet",U,W,I,b.value,E,D??void 0);E=!1,Array.isArray(L)?(m.value=L,S.value=1,C.value=!1):!Array.isArray(L.page)||L.page.length===0?(console.warn("[FoxUI] can not load more data"),C.value=!1):(Reflect.apply([].push,m.value,L.page),S.value=Math.ceil(m.value.length/u.pageSize),(L.totalSize&&m.value.length>=L.totalSize||I<L.page.length)&&(C.value=!1)),A.value=!1}catch(D){console.error("[FoxUI] ActionSheet load more data fail",D),C.value=!0,S.value=0,m.value=[]}setTimeout(()=>{y("loaded-data")},250)},A=(0,t.ref)(!1),C=(0,t.ref)(!0),x=async()=>{if(!u.source){A.value=!1;return}await V(u.source,S.value+1,u.pageSize)};let j=null;(0,t.watch)(B,(U,W)=>{j&&(clearTimeout(j),j=null),pe(U)&&!pe(W)&&(j=setTimeout(()=>{R()},u.searchDelayTriggerClear))});const $=()=>{C.value=!0,S.value=0,m.value=[],u.source&&x()},R=()=>{$()};(0,t.watch)([()=>u.source,()=>u.pageSize,()=>u.params],async([U,W,I])=>{u.source&&$()},{immediate:!0});const M=(0,t.computed)(()=>!u.multiple&&u.isAutoBackFill),F=(0,t.ref)([]);let z=null;const X=(0,t.ref)(u.visible);(0,t.watch)(()=>u.visible,U=>{X.value!==U&&(X.value=U),U?z=[...F.value]:z=null});const P=(U,W)=>{const I=[];return Array.isArray(U)||(U=[U]),U.forEach(D=>{let L=Fp(u,W,D,u.valueType);L!==-1&&I.push(L)}),De(I,F.value)?!1:(F.value=I,!0)};(0,t.watch)([()=>u.modelValue,()=>m.value],([U,W],[I,D])=>{P(U,W)&&te(_())},{deep:!0});const _=()=>{const U=[],W=[],I=[];for(let ae of F.value){const se=m.value[ae];W.push(se);const fe=gl(u,se);if(I.push(fe),u.valueType==="item")U.push(se);else if(u.valueType==="text")U.push(fe);else{const me=Pi(u,se);U.push(me)}}let D=null,L=null,J=null;return u.multiple?(D=U,L=I,J=W):(D=U[0]??null,L=I[0]??null,J=W[0]??null),{value:D,text:L,item:J}},te=U=>{y("update:modelValue",U.value),y("update:text",U.text),y("change",U.value,U.item,U.text)},oe=()=>{z&&(F.value=z)},Q=U=>{const W=F.value.indexOf(U);u.multiple?W===-1?F.value.push(U):F.value.splice(W,1):W===-1?F.value=[U]:F.value=[],(M.value||!u.poppable&&!u.showFooter)&&ne()},Z=U=>{X.value=U,y("update:visible",U)},O=()=>{const U=()=>{oe(),Z(!1)},W=u.beforeMethod??u.beforeClose;if(typeof W=="function"){const I=W("close");mt(I)?I.then(D=>{D!==!1&&U()}).catch(()=>{U()}):I!==!1&&U()}else U()},ne=()=>{const U=_(),W=()=>{te(U),Z(!1)},I=u.beforeMethod??u.beforeClose;if(typeof I=="function"){const D=I("confirm",U.value,U.item,U.text);mt(D)?D.then(L=>{L!==!1&&W()}).catch(()=>{W()}):D!==!1&&W()}else W()},H=()=>{let U=v.title.value??"";return k.title&&(U=k.title()),(0,t.h)("view",{class:["fox-actionsheet__header"]},[(0,t.h)("view",{class:["fox-actionsheet__header-title"]},[U]),(0,t.h)(s,{class:["fox-actionsheet__header-icon"],onClick:O})])},q=()=>{let U=null;return k.search?U=k.search():U=(0,t.h)(i,{onSearch:$,placeholder:v.seachPlaceholder.value,disabled:u.disabled,modelValue:B.value,"onUpdate:modelValue":W=>{B.value=W}},{leftin:()=>(0,t.h)(d)}),(0,t.h)("view",{class:["fox-actionsheet__searchbar"]},[U])},K=(U,W,I,D,L)=>{if(k.optionLabel)return k.optionLabel({text:U,checked:W,disabled:I,subText:D,item:L});const J=[],ae=(0,t.h)("view",{class:"fox-actionsheet__list-item-text"},[U]);if(J.push(ae),D){const se=(0,t.h)("view",{class:"fox-actionsheet__list-item-subtext"},[D]);J.push(se)}return(0,t.h)("view",{class:["fox-actionsheet__list-item-label"]},J)},Y=(U,W,I,D)=>k.optionIcon?k.optionIcon({checked:U,disabled:W,iconSize:I,item:D}):U?k.checkedIcon?k.checkedIcon({disabled:W,item:D}):(0,t.h)(u.checkedIcon??c,{width:I,height:I,class:["fox-actionsheet__list-item-icon"]}):k.icon?k.icon({disabled:W,item:D}):(0,t.h)(u.icon??o,{width:I,height:I,class:["fox-actionsheet__list-item-icon"]}),G=()=>{const U=[];for(let W=0;W<m.value.length;W++){const I=m.value[W],D=gl(u,I),L=qi(u,I),J=["fox-actionsheet__list-item"],ae={};let se=Lp(u,I),fe=u.iconSize?ue(u.iconSize):null;const me=Op(u,I,W);me&&(se=se||me.disabled,me.class&&J.push(me.class),me.style&&Object.assign(ae,me.style)),se=!!(u.disabled||se);const Xe=F.value.includes(W);se&&J.push("is-disabled"),Xe&&J.push("is-checked");const Qe={class:J,style:ae,key:`${W}`,onClick:()=>{se||Q(W)}};let ze=[];if(k.option)ze.push(k.option({item:I,checked:Xe,disabled:se}));else{const L2=K(D,Xe,se,L,I);ze.push(L2);const O2=Y(Xe,se,fe,I);ze.push(O2),u.textPosition==="right"&&ze.reverse()}const fn=(0,t.h)("view",Qe,ze);U.push(fn)}return U},le=()=>{let U=[];if(k.buttons)U=k.buttons();else{const W=(0,t.h)(r,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:ne,disabled:u.disabled},{default:()=>v.confirmText.value});U.push(W)}return(0,t.h)("view",{class:"fox-actionsheet__footer"},[U])};return N({search:async(U=null,W=!0)=>{g.value=U&&(0,t.toRaw)(U),(0,t.triggerRef)(g),W&&(C.value=!0,S.value=0,m.value=[]),(0,t.nextTick)(()=>{x()})},clear:()=>{C.value=!0,S.value=0,m.value=[]},confirm:()=>{ne()},cancel:()=>{O()}}),()=>{const U=[];if(u.showHeader){const se=H();U.push(se)}if(u.showSearchbar){const se=q();U.push(se)}let W=null;if(k.content)W=k.content();else{const se=G();W=(0,t.h)(l,{hasMore:C.value,loadText:v.loadText.value,noMoreText:v.noMoreText.value,modelValue:A.value,"onUpdate:modelValue":fe=>{A.value=fe},onLoadMore:x},{default:()=>se})}const I={};u.optionsHeight&&(I.height=u.optionsHeight);const D={"fox-actionsheet__list":!0};u.poppable||(D["fox-actionsheet__list--inner"]=!0);const L=(0,t.h)("view",{class:D,style:I},[W]);if(U.push(L),u.showFooter&&!M.value){const se=le();U.push(se)}const J=(0,t.h)("view",{class:"fox-actionsheet"},U);if(!u.poppable)return J;const ae=["fox-actionsheet__popup"];return u.popClass&&ae.push(u.popClass),(0,t.h)(a,{popClass:ae.join(" "),visible:X.value,closeable:!1,"onUpdate:visible":Z,position:u.position,round:"round",onClickOverlay:O,closeOnClickOverlay:u.closeOnClickOverlay},{default:()=>J})}}}}var{componentName:jp,create:Wp,scope:Yp}=ee("actionsheet-pane"),Xp=Wp(Hp(jp,Yp,Ce,ml,Bt,pl,re.CheckNormal,re.Checked,re.Close,re.Search2,!1)),yl=Xp,xi={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:" "}},Qp={...be,...Se,...xi,...hl};function Gp(e,n,a,l,r,i,o,c){return{props:Qp,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(s,d){const{itemTemplateRef:h,innerDisabled:u,disabled:p,innerReadonly:y,readonly:N,browse:k}=Ve(s),{emitEvent:w,exposeApi:v}=Be({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return N.value},get disabled(){return p.value},get props(){return s},context:d,get templateRefProxy(){return h.value}},s.prop??d.attrs.name),{toLocaleRefs:f}=(0,ye.useFoxI18n)(n),m=f(s,["placeholder"]),S=(0,t.ref)(!1),B=xe(s,"modelValue",null,w),g=(0,t.ref)(""),b=(0,t.computed)(()=>Array.isArray(g.value)?g.value.join(s.separator):g.value),E="fox-input-item",V=(0,t.computed)(()=>({[E]:!0,"is-disabled":p.value,"is-readonly":N.value})),A=Te((0,t.computed)(()=>s.textAlign),"textAlign"),C=(0,t.computed)(()=>{const Y={};return A.value&&(Y["text-align"]=A.value),Y}),x=(0,t.ref)(!1),j=()=>{x.value=!0},$=Y=>{x.value=Y},R=Y=>{B.value=Y,w("update:modelValue",Y)},M=(Y,G)=>{w("change",Y,G)},F=Y=>{let G=Y.target.value;S.value=!0,w("focus",G,Y)},z=Y=>{setTimeout(()=>{S.value=!1},0);let G=Y.target.value;s.maxLength&&G.length>Number(s.maxLength)&&(G=G.slice(0,Number(s.maxLength))),w("blur",G,Y)},X=Y=>{g.value=Y,w("update:text",Y)},P=(0,t.computed)(()=>({[`${E}__append`]:!0,"is-disabled":p.value,"is-readonly":N.value})),_=(0,t.computed)(()=>we(s.unit)>0),te=(0,t.computed)(()=>we(s.unit)>0&&!S.value),oe=(0,t.computed)(()=>({hidden:!te.value})),Q=Y=>{B.value="",w("update:modelValue","",Y),w("change","",Y),w("clear","")},Z=(0,t.computed)(()=>s.clearable&&!p.value&&!N.value),O=(0,t.computed)(()=>we(B.value)>0&&S.value),ne=Y=>{O.value?Q(Y):j()},H=(0,t.computed)(()=>O.value&&Z.value?r:i),q=(0,t.computed)(()=>({action:!0})),K=(0,t.ref)(null);return v({search:Y=>{K.value&&K.value.search(Y)},clear:()=>{K.value&&K.value.clear},confirm:Y=>{K.value&&K.value.confirm()},cancel:()=>{K.value&&K.value.cancel()},setDisabled:Y=>{u.value=Y},setReadonly:Y=>{y.value=Y}}),()=>{if(k.value==="on"&&(N.value||p.value))return l(b.value,d.slots);const Y={class:V.value,style:C.value,type:"text",maxlength:s.maxLength,placeholder:m.placeholder.value,readonly:!0,unselectable:"on",value:b.value,onClick:j,onFocus:F,onBlur:z};c&&(Y.disabled=!0);const G=[],le=(0,t.h)("input",Y);G.push(le);const U=[],W=(0,t.h)(H.value,{class:["action-icon"]}),I=(0,t.h)("view",{class:q.value,onClick:ne},{default:()=>[W]});if(U.push(I),_.value){const fe=(0,t.h)("view",{class:oe.value},[s.unit]);U.push(fe)}const D=(0,t.h)("view",{class:P.value},{default:()=>U});G.push(D);const L={default:()=>G};L.label=d.slots.default,L.prepend=d.slots.prepend,L.append=d.slots.append,L.fixedPreTip=d.slots.fixedPreTip,L.fixedTip=d.slots.fixedTip;const J=ve(s,hl);J.ref=K,J.class=s.actionSheetClass,J.disabled=p.value||N.value,J.visible=x.value,J["onUpdate:visible"]=$,J.modelValue=B.value,J["onUpdate:modelValue"]=R,J.text=g.value,J["onUpdate:text"]=X,J.onChange=M,J.poppable=!0,J["text-position"]=s.textPosition;const ae=(0,t.h)(o,J,{title:d.slots.title,search:d.slots.search,option:d.slots.option,optionLabel:d.slots.optionLabel,optionIcon:d.slots.optionIcon,buttons:d.slots.buttons});L.hide=()=>[ae];const se={...Ze(s,xi,hl),ref:h};return s.prop&&(se.prop=`${s.prop}_item`),a(se,L)}}}}var{componentName:_p,create:Zp,scope:Jp}=ee("actionsheet-item"),eh=Zp(Gp(_p,Jp,Ie,Me,re.CircleClose,re.ArrowRight,yl)),Va=eh,Ea={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:th,create:nh}=ee("input-number"),lh=nh({components:{Minus:re.Minus,Plus:re.Plus},props:{...Ea},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const a=(0,t.computed)(()=>{const y=th;return{[y]:!0,[`${y}--disabled`]:e.disabled}}),l=y=>Number(y).toFixed(Number(e.decimalPlaces)),r=y=>{const N=y.target;n("update:modelValue",N.valueAsNumber,y)},i=(y,N)=>{let k=l(y);n("update:modelValue",k,N),n("change",k,N)},o=(y=Number(e.modelValue))=>y<Number(e.max)&&!e.disabled,c=(y=Number(e.modelValue))=>y>Number(e.min)&&!e.disabled,s=y=>{n("reduce",y),c()?i(Number(e.modelValue)-Number(e.step),y):n("overlimit",y,"reduce")},d=y=>{n("add",y),o()?i(Number(e.modelValue)+Number(e.step),y):n("overlimit",y,"add")},h=y=>{e.disabled||e.readonly||n("focus",y)},u=y=>{if(e.disabled||e.readonly)return;let N=y.target.valueAsNumber;N<Number(e.min)?N=Number(e.min):N>Number(e.max)&&(N=Number(e.max)),i(N,y),n("blur",y)},p=y=>{let N=Number(y);return N<Number(e.min)?N=Number(e.min):N>Number(e.max)&&(N=Number(e.max)),N};return(0,t.watch)(()=>[e.max,e.min],()=>{Number(e.min)>Number(e.max)&&console.warn("[FoxUI] <InputNumber>","props.max < props.min");const y=p(e.modelValue);y!==Number(e.modelValue)&&i(y,{})}),{classes:a,change:r,blur:u,focus:h,add:d,addAllow:o,reduce:s,reduceAllow:c,toPxString:he}}}),ah=["min","max","disabled","readonly","value"];function oh(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Minus"),c=(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]=(...s)=>e.reduce&&e.reduce(...s))},[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[(0,t.createVNode)(o,{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]=(...s)=>e.change&&e.change(...s)),onBlur:n[2]||(n[2]=(...s)=>e.blur&&e.blur(...s)),onFocus:n[3]||(n[3]=(...s)=>e.focus&&e.focus(...s))},null,44,ah),(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]=(...s)=>e.add&&e.add(...s))},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[(0,t.createVNode)(c,{width:e.toPxString(e.buttonSize),height:e.toPxString(e.buttonSize)},null,8,["width","height"])])],2)],2)}var bl=ie(lh,[["render",oh]]),rh={...be,...Se,...Ea};function ih(e,n,a,l,r){return{props:rh,emits:["change","update:modelValue","setValue","add","reduce"],setup(i,o){const{itemTemplateRef:c,innerDisabled:s,disabled:d,innerReadonly:h,readonly:u,browse:p}=Ve(i),{emitEvent:y,exposeApi:N}=Be({componentName:e,validateCheckEvents:["blur","update:modelValue","add","reduce"],validateResetEvents:["focus","setValue"],get validate(){return!d.value&&!u.value},get props(){return i},context:o,get templateRefProxy(){return c.value}},i.prop??o.attrs.name),k=(0,t.computed)(()=>{const S=[`${e}`];return i.textAlign==="left"?S.push("is-left"):i.textAlign==="center"?S.push("is-center"):i.textAlign==="right"&&S.push("is-right"),S.join(" ")}),w=xe(i,"modelValue",null,y),v=S=>{w.value=S,y("update:modelValue",S,{}),y("change",S,{})},f=S=>{y("add",S)},m=S=>{y("reduce",S)};return N({setDisabled:S=>{s.value=S},setReadonly:S=>{h.value=S}}),()=>{if(p.value==="on"&&(u.value||d.value))return l(w.value,o.slots);const S={"left-icon":o.slots["left-icon"],"right-icon":o.slots["right-icon"]},B=ve(i,Ea),g=(0,t.h)(r,{...o.attrs,...B,disabled:d.value,readonly:u.value,value:w.value,"onUpdate:modelValue":v,onAdd:f,onReduce:m},S),b=[];b.push(g);const E={default:()=>b};E.label=o.slots.default,E.fixedPreTip=o.slots.fixedPreTip,E.fixedTip=o.slots.fixedTip;const V={...ve(i,Se,be),ref:c};return i.prop&&(V.prop=`${i.prop}_item`),V["content-class"]=k.value,a(V,E)}}}}var{componentName:sh,create:ch,scope:uh}=ee("input-number-item"),dh=ch(ih(sh,uh,Ie,Me,bl)),$a=dh,fh={...ca,...ua,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function mh(e,n,a,l){return{props:fh,emits:["update:modelValue","change"],setup(r,i){const{emitEvent:o,exposeApi:c}=Fe({context:i},r.prop),{slots:s}=i,d=e,h=(0,t.computed)(()=>{const v=[`${d}`];return r.direction==="vertical"?v.push("vertical-tabbar"):v.push("horizontal-tabbar"),v}),u=(0,t.computed)(()=>{const v={};if(r.width){const f=he(r.width);f&&(v.width=f)}if(r.height){const f=he(r.height);f&&(v.height=f)}return v}),p=(0,t.computed)(()=>[`${d}__bar`]),y=(0,t.computed)(()=>[`${d}__container`]),N=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,v=>{N.value!==v&&(N.value=v)});const k=v=>{o("change",v)},w=v=>{N.value!==v&&(N.value=v,o("update:modelValue",v))};return c({}),()=>{const{getChildren:v}=On(s.default),f=v(),m=[];if(Array.isArray(r.data))m.push(...r.data);else for(let A=0;A<f.length;A++){const C=f[A].props??{},x={text:C.label??"",value:C["pane-key"]??C.paneKey??""};m.push(x)}const S={};for(let A in s)A!=="default"&&(S[A]=s[A]);const B=ve(r,ca);Object.assign(B,{prop:null,data:m,class:p.value,modelValue:N.value,direction:r.direction,onChange:k,"onUpdate:modelValue":w});const g=(0,t.h)(a,B,S),b={default:()=>f},E=ve(r,ua);Object.assign(E,{prop:null,class:y.value,modelValue:N.value,onChange:k,"onUpdate:modelValue":w});const V=(0,t.h)(l,E,b);return(0,t.h)("view",{class:h.value,style:u.value},[g,V])}}}}var{create:ph,componentName:hh,scope:gh}=ee("tabs-frame"),yh=ph(mh(hh,gh,Qt,Gt)),Da=yh,bh={prop:{type:[String]},direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[String,Number]},clickNavigatePolicy:{type:[String]},icon:{type:[Object]},iconSize:{type:[String,Number]},markIcon:{type:[Object]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function vh(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Mi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Ri(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Sh(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Ia(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function zi(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function Fi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function qa(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}var kh=class{scope;constructor(e){this.scope=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=at(e,this.scope);return l===null?(console.error(`[FoxUI]${e} component not found api function`),[]):($e(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await Reflect.apply(l,null,[n,a]))}};function wh(){return new kh(ct())}function Ch(e,n,a,l){return{props:bh,emits:["update:modelValue","change","loaded-data","click"],setup(r,i){const{emitEvent:o,exposeApi:c}=Fe({context:i},r.prop),s=e,d=wh(),h=(0,t.ref)([]),u=(0,t.computed)(()=>h.value.filter(Q=>Sh(r,Q)!==!1)),p=(0,t.ref)(-1),y=()=>{const Q=r.modelValue,Z=u.value.findIndex(O=>Mi(r,O)===Q);p.value!==Z&&(p.value=Z,r.scroll&&te(Z,!1))};(0,t.watch)([()=>r.modelValue,u],()=>{y()});const N=Q=>p.value===Q,k=Q=>{if(Q<0&&Q>=u.value.length)return!1;const Z=u.value[Q],O=(qa(r,Z,Q)??{}).status??Ia(r,Z);return N(Q)||O},w=(0,t.computed)(()=>{const Q={[s]:!0};return r.mode?Q[`is-${r.mode}`]=!0:r.direction&&(Q[`is-${r.direction}`]=!0),r.scroll&&(Q["is-scroll"]=!0),Q}),v=(0,t.computed)(()=>({})),f=(Q,Z,O,ne,H)=>{const q={[`${s}__step`]:!0};return H&&(q[`${H}`]=!0),q[`${m.value}`]=!0,ne&&(q["is-doit"]=!0),Q===p.value?q["is-active"]=!0:Z==="done"?q["is-done"]=!0:Z==="error"?q["is-error"]=!0:Z==="half"?q["is-half"]=!0:O?q["is-disabled"]=!0:q["is-normal"]=!0,q},m=(0,t.computed)(()=>{let Q=r.align;if(!Q){if(r.mode==="simple")return"start";r.direction==="vertical"?Q="start":Q="center"}return Q}),S=(Q,Z={})=>{const O={...Z};if(m.value==="start"&&Q===u.value.length-1)O.flex="0 0 auto";else if(r.step){const ne=typeof r.step=="number"||vn(r.step)?he(r.step):r.step;r.direction==="vertical"?O.height=ne:O.width=ne}else O.flex="1 1 100%";return O},B=(Q,Z)=>{let O={};if(Z<u.value.length-1){const ne=Z+1;k(Z)&&k(ne)?r.direction==="vertical"?O.height="100%":O.width="100%":O.opacity="0"}return O},g=Q=>u.value.length-1===Q,b=(Q,Z)=>{if(r.clickNavigatePolicy==="disabled"||(r.clickNavigatePolicy==="only-back"||r.clickNavigatePolicy==="only-back-reset")&&Z>p.value||p.value===Z)return;const O=p.value,ne=Z;p.value=Z,r.scroll&&te(Z,!1);const H=Mi(r,Q);o("update:modelValue",H),o("change",H,{fromIndex:O,currentIndex:ne,item:Q,items:u.value,clickNavigatePolicy:r.clickNavigatePolicy})},E=(0,t.ref)(!0),V=async(Q,Z)=>{try{const O=await d.load("stesbar",Q,Z);Array.isArray(O)&&(h.value=O),E.value=!1}catch(O){console.error("[FoxUI] Load StepsBar Data Fail",O),h.value=[]}setTimeout(()=>{o("loaded-data")},250)};(0,t.watch)([()=>r.data,()=>r.params],async([Q,Z])=>{Q&&V(Q,Z)},{immediate:!0}),c({});const A=(Q,Z,O,ne,H,q)=>{const K=[];let Y=null;if(!q)if(i.slots.icon)Y=i.slots.icon({item:Q,index:Z,status:ne});else if(ne==="done"){const G={};r.iconSize&&(G.width=r.iconSize,G.height=r.iconSize),Y=(0,t.h)(r.icon??a,G)}else Y=(0,t.h)("span",{},[O??`${Z+1}`]);return Y&&K.push(Y),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{o("click",{item:Q,index:Z}),!H&&b(Q,Z)}},K)},C=(Q,Z,O)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:B(Q,Z)})]),x=()=>{let Q=null;if(i.slots.markIcon)Q=i.slots.markIcon();else{const Z={};r.iconSize&&(Z.width=r.markIconSize,Z.height=r.markIconSize),Q=(0,t.h)(r.markIcon??l,Z)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[Q])},j=(Q,Z,O,ne,H,q)=>{const K=[];if(!g(Z)){const G=C(Q,Z,ne);K.push(G)}const Y=A(Q,Z,O,ne,H,q);return K.push(Y),(0,t.h)("view",{class:"fox-steps-bar__head"},K)},$=(Q,Z,O,ne)=>{let H=null;return i.slots.main?H=i.slots.main({item:Q,index:Z,status:O}):H=vh(r,Q),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{o("click",{item:Q,index:Z}),!ne&&b(Q,Z)}},[H])},R=(Q,Z,O)=>{let ne=null;return i.slots.sub?(ne=i.slots.sub({item:Q,index:Z,status:O}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[ne])):null},M=(Q,Z)=>{const O=qa(r,Q,Z)??{},ne=O.status??Ia(r,Q);let H=Ri(r,Q);O.disabled===!0&&(H=!0),r.disabled===!0&&(H=!0);let q=zi(r,Q);O.doit===!0&&(q=!0);const K=O.label??Fi(r,Q),Y=[],G=A(Q,Z,K,ne,H,q);G&&Y.push(G);const le=$(Q,Z,ne,H);if(le&&Y.push(le),!g(Z)){const J=C(Q,Z,ne);J&&Y.push(J)}const U=[],W=(0,t.h)("view",{class:"fox-steps-bar__head"},Y);U.push(W);const I=R(Q,Z,ne);I&&U.push(I);const D=O.class,L=O.style??{};return(0,t.h)("view",{ref:_(Z),class:f(Z,ne,H,q,D),style:S(Z,L)},U)},F=(Q,Z)=>{const O=qa(r,Q,Z)??{},ne=O.status??Ia(r,Q);let H=Ri(r,Q);O.disabled===!0&&(H=!0),r.disabled===!0&&(H=!0);let q=zi(r,Q);O.doit===!0&&(q=!0);const K=O.label??Fi(r,Q),Y=[],G=r.layout;for(let W of G)if(W==="head"){const I=j(Q,Z,K,ne,H,q);Y.push(I)}else if(W==="main"){const I=$(Q,Z,ne,H);Y.push(I)}else if(W==="sub"){const I=R(Q,Z,ne);Y.push(I)}else if(W==="mark"){const I=x();Y.push(I)}const le=O.class,U=O.style??{};return(0,t.h)("view",{ref:_(Z),class:f(Z,ne,H,q,le),style:S(Z,U)},Y)},z=(0,t.ref)(),X=(0,t.ref)([]),P=(Q,Z)=>{X.value[Z]=Q},_=Q=>Z=>{P(Z,Q)},te=(Q,Z)=>{const O=z.value,ne=X.value;if(!O||!ne||!ne[Q])return;const H=ne[Q];let q=0;r.direction==="vertical"?q=H.offsetTop-(O.offsetHeight-H.offsetHeight)/2:q=H.offsetLeft-(O.offsetWidth-H.offsetWidth)/2,oe(O,q,Z?0:.3,r.direction)},oe=(Q,Z,O,ne)=>{let H=0;const q=ne==="horizontal"?Q.scrollLeft:Q.scrollTop,K=O===0?1:Math.round(O*1e3/16);function Y(){ne==="horizontal"?Q.scrollLeft+=(Z-q)/K:Q.scrollTop+=(Z-q)/K,++H<K&&je(Y)}Y()};return()=>{let Q=[];if(r.mode==="simple")for(let O=0;O<u.value.length;O++){const ne=u.value[O],H=M(ne,O);Q.push(H)}else for(let O=0;O<u.value.length;O++){const ne=u.value[O],H=F(ne,O);Q.push(H)}const Z={ref:z,class:w.value,style:v.value};return Q.length===0&&typeof i.slots.default=="function"&&(Q=i.slots.default()),(0,t.h)("view",Z,Q)}}}}var{componentName:Nh,create:Ah,scope:Bh}=ee("steps-bar"),Th=Ah(Ch(Nh,Bh,re.Checklist,re.ArrowRight)),Pa=Th;function Vh(e){e.stopPropagation()}var Eh=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=Qn()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=Gn(),a=(l,r,i,o)=>{this.updateMove({x:l,y:r})};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),Vh(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 $h(e,n){return new Eh(e,n)}var Dh={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]}},Ih=(e,n,a,l=!1)=>({props:{...Dh},emits:["click"],setup(r,{slots:i,emit:o}){let c=-1,s=-1;const d=(0,t.reactive)({top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:0,height:0}),h=(0,t.computed)(()=>{const B=[`${e}`];return r.customClass&&B.push(r.customClass),B}),u=B=>typeof B=="string"&&!vn(B)?B:`${B}px`,p=(0,t.computed)(()=>{const B={};return pe(d.top)||(B.top=u(d.top)),pe(d.right)||(B.right=u(d.right)),pe(d.bottom)||(B.bottom=u(d.bottom)),pe(d.left)||(B.left=u(d.left)),pe(r.width)||(B.width=u(r.width)),pe(r.height)||(B.height=u(r.height)),pe(r.color)||(B.color=r.color),pe(r.background)||(B.background=r.background),pe(r.borderRadius)||(B["border-radius"]=r.borderRadius),pe(r.zIndex)||(B["z-index"]=r.zIndex),B}),y=(0,t.computed)(()=>({[`${e}__icon`]:!0})),N=()=>{o("click")},k=(0,t.ref)(null),w=()=>{d.top=null,d.right=null,d.bottom=null,d.left=null},v={x:0,y:0},S=$h(B=>{if(!k.value)return;const g=k.value;w(),d.left=g.offsetLeft,d.top=g.offsetTop,g.style.left=`${d.left}px`,g.style.top=`${d.top}px`,g.style.right=null,g.style.bottom=null,v.x=d.left,v.y=d.top,d.width=g.offsetWidth,d.height=g.offsetHeight,c=document.documentElement.clientWidth||document.body.clientWidth,s=document.documentElement.clientHeight||document.body.clientHeight},B=>{if(!k.value)return;const g=k.value;w();let b=v.x+B.x;b<0&&(b=0),b>c-d.width&&(b=c-d.width);let E=v.y+B.y;E<0&&(E=0),E>s-d.height&&(E=s-d.height),d.left=b,d.top=E,g.style.left=`${b}px`,g.style.top=`${E}px`});return(0,t.onMounted)(()=>{if(r.draggable&&k.value){const B=[k.value];S.open(B)}}),(0,t.onBeforeUnmount)(()=>{r.draggable&&k.value&&S.close()}),()=>{let B=[];const g=typeof i.default=="function"?i.default():[];if(g&&g.length>0)B=g;else{const b=(0,t.h)(a,{class:y.value});B.push(b)}return(0,t.h)("view",{ref:b=>{k.value=b},class:h.value,style:p.value,onClick:N},B)}}}),{componentName:qh,create:Ph,scope:xh}=ee("floating-button"),Mh=Ph(Ih(qh,xh,re.Uploader,!1)),xa=Mh,Rh={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 zh(e,n,a){return{props:{...Rh},emits:["click","update:modelValue"],setup(l,{emit:r,slots:i}){const{toLocaleRefs:o}=(0,ye.useFoxI18n)(n),c=o(l,["collapseText","expandText"]),s=(0,t.computed)(()=>{const N={[`${e}`]:!0};return l.disabled?N[`${e}--disabled`]=!0:N[`${e}--${l.type}`]=!0,N}),d=xe(l,"modelValue"),h=(0,t.computed)(()=>d.value?c.expandText.value??"":c.collapseText.value??""),u=(0,t.computed)(()=>({[`${e}__text`]:!0})),p=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!d.value,"is-collapse":d.value})),y=()=>{r("update:modelValue",!d.value)};return()=>{const N=[];if(h.value){const v=(0,t.h)("span",{class:u.value},[h.value]);N.push(v)}const k={class:p.value},w=(i.icon&&i.icon())??(l.icon&&(0,t.h)(l.icon))??(0,t.h)(a);if(w){const v=(0,t.h)("view",k,[w]);N.push(v)}return l.textPosition==="right"&&N.reverse(),(0,t.h)("view",{class:s.value,onClick:y},N)}}}}var{componentName:Fh,create:Lh,scope:Oh}=ee("more-button"),Kh=Lh(zh(Fh,Oh,re.RectUp)),Ma=Kh,Uh={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}},Hh=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0);function jh(e,n,a){return{props:{...Uh},emits:["update:visible"],setup(l,{attrs:r,slots:i,emit:o}){const{toLocaleRefs:c}=(0,ye.useFoxI18n)(n),s=c(l,["confirmText","cancelText"]),d=e,h=(0,t.ref)(l.visible),u=B=>{h.value=B,o("update:visible",B)};(0,t.watch)(()=>l.visible,B=>{h.value!==B&&(h.value=B)});const p=B=>{if(typeof l.unmount=="function")try{l.unmount()}catch(g){console.error(g)}if(typeof l.callback=="function")try{l.callback(B)}catch(g){console.error(g)}},y=()=>{p("confirm")},N=()=>{p("cancel")},k=()=>{l.closeOnClickOverlay!==!1&&p("close")},w=(B,g)=>Hh(B)?(g.src=B,(0,t.h)("img",g)):typeof B=="string"?(Array.isArray(g.class)?g.class.push(B):g.class&&typeof g.class=="object"?g[`${B}`]=!0:typeof g.class=="string"?g.class=`${g.class}, ${B}`:g.class=B,(0,t.h)(l.tag,g)):(0,t.h)(B,g),v=()=>{const B=[];if(l.icon){const g={class:[`${d}__header-icon`]},b=w(l.icon,g);B.push(b)}if(l.title){const g=(0,t.h)("view",{class:`${d}__header-title`},[l.title]);B.push(g)}if(l.showClose&&l.closeIcon){const g={class:[`${d}__header-close-icon`],onClick:k},b=w(l.closeIcon,g);B.push(b)}return(0,t.h)("view",{class:[`${d}__header`]},B)},f=(B,g)=>{const b=[];if(g){const E=(0,t.h)("view",{class:`${d}__group-title`},[g]);b.push(E)}if(B){const E=[];Array.isArray(B)||(B=[B]);for(let V of B){const A=(0,t.h)("view",{class:`${d}__group-row`,innerHTML:V});E.push(A)}if(E.length>0){const V=(0,t.h)("view",{class:`${d}__group-rows`},E);b.push(V)}}return b.length===0?null:(0,t.h)("view",{class:`${d}__group`},b)},m=()=>{const B=[];if(typeof l.message=="string")B.push(l.message);else if(Array.isArray(l.message))for(let g of l.message)if(typeof g=="string"){const b=f(g);B.push(b)}else{const b=f(g.content,g.title);B.push(b)}else if(typeof l.message=="function"){const g=l.message();B.push(g)}else{const g=l.message;B.push(g)}return(0,t.h)("view",{class:`${d}__body`},B)},S=()=>{const B=[];if(l.showCancelButton){const g={class:[`${d}__footer-button`],style:{},onClick:N};l.cancelButtonClass&&g.class.push(l.cancelButtonClass),l.cancleButtonStyle&&typeof l.cancleButtonStyle=="object"&&Object.assign(g.style,l.cancleButtonStyle);const b=(0,t.h)("button",g,[l.cancelButtonText??s.cancelText.value]);B.push(b)}if(l.showConfirmButton){const g={class:[`${d}__footer-button`],style:{},onClick:y};l.confirmButtonClass&&g.class.push(l.confirmButtonClass),l.confirmButtonStyle&&typeof l.confirmButtonStyle=="object"&&Object.assign(g.style,l.confirmButtonStyle);const b=(0,t.h)("button",g,[l.confirmButtonText??s.confirmText.value]);B.push(b)}return B.length===0?null:(0,t.h)("view",{class:`${d}__footer`},B)};return()=>{const B=[],g=v();g&&B.push(g);const b=m();b&&B.push(b);const E=S();E&&B.push(E);const V=(0,t.h)("view",{class:{[`${d}`]:!0,[`${d}--${l.type||"info"}`]:!0}},B),A=[`${d}__popup`];l.popClass&&A.push(l.popClass);const C={};return l.width&&(C.width=typeof l.width=="number"?`${l.width}px`:l.width),l.height&&(C.height=typeof l.height=="number"?`${l.height}px`:l.height),(0,t.h)(a,{popClass:A.join(" "),style:C,visible:h.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":u,position:l.position,round:"round",onClickOverlay:k,closeOnClickOverlay:l.closeOnClickOverlay},{default:()=>V})}}}}var{componentName:Wh,create:Yh,scope:Xh}=ee("messagebox"),Qh=Yh(jh(Wh,Xh,Ce)),Gh=Qh,_h="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",Zh="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",Jh="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",eg="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",tg=new Un,ng={showCancelButton:!0,cancelText:"取消",showConfirmButton:!0,confirmText:"确认"},lg=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"),r=`messagebox-${tg.get()}`;l.id=r,l.classList.add("fox-messagebox__root"),e.zIndex&&(l.style.zIndex=`${e.zIndex}`),e.unmount=()=>{const o=document.querySelector(`#${r}`);o&&o.parentNode?.removeChild(o)};const i=(0,t.createVNode)(Gh,e);n.appendChild(l),(0,t.render)(i,l)},ft={show:(e,n,a,l)=>{const r={...ng};n&&!Array.isArray(n)&&typeof n=="object"?Object.assign(r,n):(n&&(r.message=n),a&&typeof a=="object"?Object.assign(r,a):(typeof a=="string"&&(r.title=a),l&&typeof l=="object"?Object.assign(r,l):typeof l=="string"&&(r.type=l)));const i=r.type??"info";return r.icon||(i==="success"?r.icon=Jh:i==="warning"?r.icon=eg:i==="error"?r.icon=_h:r.icon=Zh),e==="alert"?(r.showCancelButton=!1,r.showConfirmButton=!0):e==="confirm"&&(r.showCancelButton=!0,r.showConfirmButton=!0),r.showClose&&!r.closeIcon&&(r.closeIcon=re.Close),new Promise((o,c)=>{const s=r.callback;r.callback=d=>{if(typeof s=="function")try{s(d)}catch(h){console.error(h)}o({action:d})},lg(r)})},alert:(e,n,a)=>ft.show("alert",e,n,a),confirm:(e,n,a)=>ft.show("confirm",e,n,a),install(e){e.config.globalProperties.$alert=ft.alert,e.config.globalProperties.$confirm=ft.confirm}},ag=(e,n,a)=>{n=n??{bubbles:!1,cancelable:!1,detail:void 0};const l=document.createEvent("Events");let r=!0,i=!0;for(let o in n)o==="bubbles"?r=!!n[o]:o==="cancelable"?i=!!n[o]:l[o]=n[o];l.initEvent(e,r,i),(a??document).dispatchEvent(l)},og=new Un,rg=e=>typeof e=="string"&&(e.indexOf("/")===0||e.indexOf("./")===0||e.indexOf("data:image/")===0),ig=e=>`${e}-${og.get()}`,sg=Symbol.for("InnerPageScopeKey"),cg=Symbol.for("PageWrapperKey"),ug="FoxLeave",dg="FoxLeaveEnd",fg={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 mg(e,n,a,l){return{props:{...rt,...fg},emits:["update:visible"],setup(r,{attrs:i,slots:o,emit:c}){(0,t.provide)(sg,!0);const s={};(0,t.provide)(cg,s);const d=g=>(typeof s.beforeClose=="function"&&s.beforeClose(),!1),h=()=>{d("close")},u=e,p=g=>{y.value=g,c("update:visible",g)},y=(0,t.ref)(!1),N=(g,b)=>rg(g)?(b.src=g,(0,t.h)("img",b)):typeof g=="string"?(Array.isArray(b.class)?b.class.push(g):b.class&&typeof b.class=="object"?b[`${g}`]=!0:typeof b.class=="string"?b.class=`${b.class}, ${g}`:b.class=g,(0,t.h)(r.tag,b)):(0,t.h)(g,b),k=()=>{if(!r.showHeader)return null;const g=[];if(o.header){const b=o.header();g.push(b)}else if(r.title){const b=(0,t.h)("view",{class:`${u}__header-title`},[r.title]);g.push(b)}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},w=()=>{if(!r.showClose)return null;const g={class:[`${u}__close-icon`],onClick:h};return N(r.closeIcon??l,g)};let v=null;const f=g=>{ag(dg,{},v)},m=ig(e),S=()=>{p(!0)},B=()=>{if(!v)return;const g=v.querySelector(".fox-overlay");g&&(g.classList.add("overlay-fade-leave-active"),g.classList.add("overlay-fade-leave-to"));const b=v.querySelector(".fox-popup");b&&(b.classList.add(`fox-popup-slide-${r.position}-leave-active`),b.classList.add(`fox-popup-slide-${r.position}-leave-to`),b.addEventListener("animationend",f,{once:!0}),b.addEventListener("transitionend",f,{once:!0})),document.body.classList.remove("fox-overflow-hidden")};return(0,t.onMounted)(()=>{v=document.querySelector(`.${m}`),v?.addEventListener(ug,B,{once:!0}),S()}),()=>{const g=[],b=k();b&&g.push(b);const E=w();E&&g.push(E);const V=o.default?o.default():[];Reflect.apply([].push,g,V);const A={[`${u}`]:!0};r.mode&&(A[`${u}--${r.mode}`]=!0);const C=(0,t.h)("view",{class:A},g),x=[`${u}__popup`,m];r.popClass&&x.push(r.popClass),r.position&&x.push(`${u}__popup--${r.position}`);const j={};r.width&&(j.width=typeof r.width=="number"?`${r.width}px`:r.width),r.height&&(j.height=typeof r.height=="number"?`${r.height}px`:r.height);const $=(0,t.h)(a,{...ve(r,rt),popClass:x.join(" "),style:j,visible:y.value,teleportDisable:!0,closeable:!1,position:r.position,closeOnClickOverlay:r.closeOnClickOverlay,onClickOverlay:h,"onUpdate:visible":p},{default:()=>C});return(0,t.h)("div",{class:[`${u}__root`,m]},[$])}}}}var{componentName:pg,create:hg,scope:gg}=ee("popup-wrapper"),yg=hg(mg(pg,gg,Ce,re.Close)),Ra=yg,bg={visible:{type:Boolean},zIndex:{type:Number,default:1},popClass:{type:String},popStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}};function vg(e,n,a,l){return{props:{...bg},emits:["update:visible"],setup(r,{emit:i,slots:o}){const c=s=>{i("update:visible",s)};return()=>{const s=[`${e}__popup`];r.popClass&&s.push(r.popClass);const d=(0,t.h)(a,{popClass:s,style:r.popStyle??{},position:"top",zIndex:r.zIndex,closeOnClickOverlay:r.closeOnClickOverlay,teleportDisable:!0,visible:r.visible,"onUpdate:visible":c},o);return(0,t.h)("view",{class:`${e}`},[d])}}}}var{componentName:Sg,create:kg,scope:wg}=ee("dropdown"),Cg=kg(vg(Sg,wg,Ce,!1)),za=Cg,Ng={name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean,Object],required:!1}};function Ag(e,n){return{inheritAttrs:!1,props:Ng,setup(a,l){const{exposeApi:r}=wr({context:l,props:()=>a.config},a.name);return Ee(a.innerPageScope)||Ar(a.innerPageScope),Ee(a.abstractPageScope)||Br(a.abstractPageScope),r(),()=>typeof l.slots.default=="function"?l.slots.default():null}}}var{componentName:Bg,create:Tg,scope:Vg}=ee("domain-provider"),Eg=Tg(Ag(Bg,Vg)),Fa=Eg,$g={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 Dg(e,n){return{inheritAttrs:!1,props:$g,emits:["change"],setup(a,{slots:l,emit:r}){if(_e&&window.IntersectionObserver){const i=new WeakMap;let o=new Map;const c=(p,y)=>{if(h===null){o.set(p,{visible:null,callback:y});return}i.has(p)&&h.unobserve(p),i.set(p,{visible:null,callback:y}),h.observe(p)},s=p=>{if(h===null){o.delete(p);return}i.has(p)&&(i.delete(p),h.unobserve(p))};let d=a.initialVisibleObserverSize;hc({acquire:()=>{if(a.loadPolicy==="always")return!0;const p=d>0;return d--,p},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:c,unobserve:s});let h=null;const u=(p,y,N)=>{h=new IntersectionObserver(k=>{if(r("change",k),a.loadPolicy!=="always")for(let w of k){let v=!1;w.intersectionRatio>0&&(v=!0);const f=i.get(w.target);if(f)try{if(a.loadPolicy==="lazy"&&!v&&f.visible!==null)return;f.visible=v,f.callback(v)}catch(m){console.error(m)}}},{root:p,rootMargin:y,threshold:N}),o.forEach((k,w)=>{i.set(w,k),h?.observe(w)}),o.clear()};(0,t.watch)([()=>a.root,()=>a.disabled],([p,y])=>{if(y||!p||h)return;let N=null;typeof p=="string"?N=document.querySelector(p):N=p,N&&u(N,a.rootMargin,a.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}var{componentName:Ig,create:qg,scope:Pg}=ee("rolling-provider"),xg=qg(Dg(Ig,Pg)),La=xg,{componentName:Mg,create:Rg}=ee("cell"),zg=Rg({components:{Right:re.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 i=Mg;return{[i]:!0,[`${i}--clickable`]:e.isLink,[`${i}--center`]:e.center,[`${i}--large`]:e.size=="large"}}),l=(0,t.computed)(()=>({borderRadius:he(e.roundRadius)}));return{handleClick:i=>{n("click",i)},classes:a,baseStyle:l}}}),Fg={key:0,class:"fox-cell__icon"},Lg={key:1,class:"fox-cell__title"},Og={class:"title"},Kg={class:"fox-cell__title-desc"};function Ug(e,n,a,l,r,i){const o=(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]=(...c)=>e.handleClick&&e.handleClick(...c))},[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.$slots.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Fg,[(0,t.renderSlot)(e.$slots,"icon")])):(0,t.createCommentVNode)("",!0),e.title||e.subTitle||e.$slots.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",Lg,[e.subTitle?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.renderSlot)(e.$slots,"title",{},()=>[(0,t.createElementVNode)("view",Og,(0,t.toDisplayString)(e.title),1)]),(0,t.createElementVNode)("view",Kg,(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)(o,{key:0,class:"fox-cell__link"})):(0,t.createCommentVNode)("",!0)])])],6)}var Oa=ie(zg,[["render",Ug]]),Hg={tag:{type:[String],default:()=>"li"},color:{type:[String]},size:{type:[String,Number]}};function jg(e,n){return{props:{...Hg},setup(a,{attrs:l,slots:r}){const i=(0,t.computed)(()=>{const o={};return a.color&&(o.color=a.color),a.size&&(o.fontSize=he(a.size)),o});return()=>{const o={style:i.value,class:`${e}-wrap`,...l};return(0,t.h)(a.tag??"li",o,r)}}}}var{componentName:Wg,create:Yg,scope:Xg}=ee("icon"),Qg=Yg(jg(Wg,Xg)),Ka=Qg,{componentName:Gg,create:_g}=ee("cell-group"),Zg=_g({props:{title:{type:String,default:""},desc:{type:String,default:""}},setup(){return{classes:(0,t.computed)(()=>({[Gg]:!0}))}}}),Jg={key:1,class:"fox-cell-group__title"},ey={key:3,class:"fox-cell-group__desc"},ty={class:"fox-cell-group__wrap"};function ny(e,n,a,l,r,i){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",Jg,(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",ey,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",ty,[(0,t.renderSlot)(e.$slots,"default")])],2)}var Ua=ie(Zg,[["render",ny]]),{componentName:ly,create:ay}=ee("image"),oy=ay({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:re.Image,ImageError:re.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 y=ly;return{[y]:!0,[`${y}-round`]:e.round}}),r=(0,t.ref)(null),i=(0,t.ref)(!1),o=(0,t.ref)(null),c=()=>{r.value=new IntersectionObserver(y=>{y.forEach(N=>{N.isIntersecting&&(i.value=!0,r.value.disconnect())})},{threshold:[0],rootMargin:"0px"}),o.value&&r.value.observe(o.value)};(0,t.onMounted)(()=>{e.lazyLoad&&c()}),(0,t.onBeforeUnmount)(()=>{r.value&&r.value.disconnect()});const s=(0,t.computed)(()=>{let y={};return e.width&&(y.width=he(e.width)),e.height&&(y.height=he(e.height)),e.radius!==void 0&&e.radius!==null&&(y.overflow="hidden",y.borderRadius=he(e.radius)),y}),d=(0,t.computed)(()=>({objectFit:e.fit,objectPosition:e.position}));(0,t.watch)(()=>e.src,y=>{a.isError=!1,a.loading=!0});const h=()=>{a.loading=!1,n("load")},u=()=>{a.isError=!0,a.loading=!1,n("error")},p=y=>{n("click",y)};return{...(0,t.toRefs)(a),imageClick:p,classes:l,styles:d,stylebox:s,error:u,load:h,show:i,imgRef:o}}}),ry=["src","date-src","alt"],iy={key:0,class:"fox-img-loading"},sy={key:1,class:"fox-img-error"};function cy(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Image"),c=(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]=(...s)=>e.imageClick&&e.imageClick(...s))},[(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]=(...s)=>e.load&&e.load(...s)),onError:n[1]||(n[1]=(...s)=>e.error&&e.error(...s)),style:(0,t.normalizeStyle)(e.styles)},null,44,ry),e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("div",iy,[e.slotLoding?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(o,{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",sy,[e.slotError?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,width:"16px",height:"20px",name:"imageError"})),(0,t.renderSlot)(e.$slots,"error")])):(0,t.createCommentVNode)("",!0)],6)}var Ha=ie(oy,[["render",cy]]),{create:uy}=ee("layout"),dy=uy({}),ja=dy,{componentName:fy,create:my}=ee("col"),py=my({props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},setup(e){const n=fy,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 hy(e,n,a,l,r,i){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 Wa=ie(py,[["render",hy]]),{componentName:gy,create:yy}=ee("row"),by=yy({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=gy;(0,t.provide)("gutter",e.gutter);const a=(l,r)=>l?r?`fox-row-${l}-${r}`:"":`fox-row-${r}`;return{classes:(0,t.computed)(()=>e.type==="flex"?`
|
|
2
|
+
${a("",e.type)}
|
|
3
|
+
${a("justify",e.justify)}
|
|
4
|
+
${a("align",e.align)}
|
|
5
|
+
${a("flex",e.flexWrap)}
|
|
20
6
|
${n}
|
|
21
7
|
`:`
|
|
22
8
|
${n}
|
|
23
|
-
`)}}});function $u(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const Ul=W(Tu,[["render",$u]]),{componentName:Kl,create:Du}=x("sticky"),Hl=Du({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:2e3}},emits:["change","scroll"],setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.reactive({width:0,height:0,fixed:!1,transform:0}),i=t.computed(()=>{const{fixed:C,width:b,height:h}=r;if(C)return{width:`${b}px`,height:`${h}px`}}),a=t.computed(()=>{if(!r.fixed)return;const C={width:`${r.width}px`,height:`${r.height}px`,[e.position]:`${s.value}px`,zIndex:+e.zIndex};return r.transform&&(C.transform=`translate3d(0, ${r.transform}px, 0)`),C}),s=t.computed(()=>e.position==="top"?e.top:e.bottom),c=C=>{const b=t.unref(C);if(!b)return!1;const h=window.getComputedStyle(b),k=h.display==="none",d=b.offsetParent===null&&h.position!=="fixed";return k||d},m=()=>!(!l.value||c(l)),f=C=>Math.max(0,"scrollTop"in C?C.scrollTop:C.pageYOffset),u=()=>t.h("view",{style:a.value,class:r.fixed?`${Kl} fox-sticky--fixed`:Kl},o.default?.()),g=()=>{if(!m())return;const{container:C,position:b}=e,h=f(window),k=Ne(l);if((k.width||k.height)&&(r.width=k.width,r.height=k.height),b==="top")if(C){const d=Ne(C),p=d.bottom-+s.value-r.height;r.fixed=+s.value>k.top&&d.bottom>0,r.transform=p<0?p:0}else r.fixed=s.value>k.top;else if(b==="bottom"){const d=document.documentElement.clientHeight;if(C){const p=Ne(C),w=d-p.top-+s.value-r.height;r.fixed=d-+s.value<k.bottom&&d>p.top,r.transform=w<0?-w:0}else r.fixed=d-+s.value<k.bottom}n("scroll",{top:h,fixed:r.fixed})};return t.watch(()=>r.fixed,C=>{n("change",C)}),t.onMounted(()=>{window.addEventListener("scroll",g),g()}),t.onUnmounted(()=>{window.removeEventListener("scroll",g)}),()=>t.h("view",{style:i.value,ref:l},[u()])}}),{componentName:Iu,create:qu}=x("divider"),zu=qu({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:t.computed(()=>{const l=Iu;let r={[l]:!0},i={};return e.direction==="horizontal"?i={...r,[`${l}-center`]:n.slots.default,[`${l}-left`]:e.contentPosition==="left",[`${l}-right`]:e.contentPosition==="right",[`${l}-dashed`]:e.dashed,[`${l}-hairline`]:e.hairline}:i={...r,[`${l}-vertical`]:e.direction==="vertical"},i})}}});function Mu(e,n,o,l,r,i){return e.direction==="horizontal"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes)},null,2))}const jl=W(zu,[["render",Mu]]);function Pu(e,n){const o=[],l=r=>{Array.isArray(r)&&r.forEach(i=>{if(t.isVNode(i)){if(n){if(i.type&&i.type.name===n){o.push(i);return}}else o.push(i);i.component?.subTree&&l(i.component.subTree.children),i.children&&l(i.children)}})};return l(e),o}function Ru(e,n,o){const l=Pu(e.subTree.children,o);n.sort((r,i)=>l.indexOf(r.vnode)-l.indexOf(i.vnode))}function Lu(e,n){const o=t.shallowReactive([]),l=t.getCurrentInstance(),r=s=>{s.proxy&&(o.push(t.markRaw(s)),Ru(l,o,n))},i=s=>{o.splice(o.indexOf(t.markRaw(s)),1)},a=Object.assign;return s=>(t.provide(e,a({add:r,remove:i,internalChildren:o},s)),{internalChildren:o})}const{componentName:Wl}=x("grid"),Yl=Symbol("grid"),Ou={props:{columnNum:{type:[Number,String],default:4},iconSize:{type:[Number,String],default:28},iconColor:{type:String},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}},setup(e,{slots:n}){Lu(Yl,`${Wl}-item`)({props:e});const o=t.computed(()=>{const r=Wl;return{[r]:!0,[`${r}--border`]:e.border&&!e.gutter}}),l=t.computed(()=>{const r={};return e.gutter&&(r.paddingLeft=J(e.gutter)),r});return()=>t.h("view",{class:o.value,style:l.value},n.default?.())}},{create:Fu}=x("grid"),Xl=Fu(Ou);function xu(e){const n=t.getCurrentInstance();if(n&&n.proxy){let o=n.proxy;Object.assign(o,e)}}function Uu(e){const n=t.inject(e,null);if(n){const o=t.getCurrentInstance(),{add:l,remove:r,internalChildren:i}=n;l(o),t.onUnmounted(()=>r(o));const a=t.computed(()=>i.indexOf(o));return{parent:n,index:a}}return{parent:null,index:t.ref(-1)}}const{create:Ku,componentName:Ql}=x("grid-item"),Hu=Ku({props:{text:{type:String},icon:{type:String},iconSize:{type:[Number,String]},iconColor:{type:String}},emits:["click"],setup(e,{emit:n}){const o=Uu(Yl);if(!o.parent)return;const l=o.index,r=o.parent.props,i=t.computed(()=>({[Ql]:!0})),a=t.computed(()=>{const f={flexBasis:`${100/+r.columnNum}%`};return r.square?f.paddingTop=`${100/+r.columnNum}%`:r.gutter&&(f.paddingRight=J(r.gutter),l.value>=r.columnNum&&(f.marginTop=J(r.gutter))),f}),s=t.computed(()=>{const f=`${Ql}__content`;return{[`${f}`]:!0,[`${f}--border`]:r.border,[`${f}--surround`]:r.border&&r.gutter,[`${f}--center`]:r.center,[`${f}--square`]:r.square,[`${f}--reverse`]:r.reverse,[`${f}--${r.direction}`]:!!r.direction,[`${f}--clickable`]:r.clickable}}),c=t.computed(()=>({name:e.icon,size:e.iconSize||r.iconSize,color:e.iconColor||r.iconColor}));return{rootClass:i,rootStyle:a,contentClass:s,iconProps:c,handleClick:f=>{n("click",f)}}}}),ju={key:3,class:"fox-grid-item__text"};function Wu(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.rootClass),style:t.normalizeStyle(e.rootStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",{class:t.normalizeClass(e.contentClass)},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.$slots.icon?t.renderSlot(e.$slots,"icon",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,name:e.iconProps.name,size:e.iconProps.size,color:e.iconProps.color},null,8,["name","size","color"])),e.$slots.text?t.renderSlot(e.$slots,"text",{key:2}):(t.openBlock(),t.createElementBlock("view",ju,t.toDisplayString(e.text),1))],64))],2)],6)}const vl=W(Hu,[["render",Wu]]),{componentName:Yu,create:Xu}=x("navbar"),Qu=Xu({props:{leftShow:{type:Boolean,default:!0},title:{type:String,default:""},titIcon:{type:String,default:""},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:o,fixed:l,safeAreaInsetTop:r,placeholder:i,zIndex:a}=t.toRefs(e),s=t.ref(null),c=t.ref(null);let m=t.ref(0);const f=t.computed(()=>{const k=Yu;return{[k]:!0,[`${k}--border`]:o.value,[`${k}--fixed`]:l.value,[`${k}--safe-area-inset-top`]:r.value}}),u=t.computed(()=>({zIndex:a.value}));t.onMounted(()=>{l.value&&i.value&&t.nextTick(()=>{m=c?.value?.getBoundingClientRect().height,s.value.style.height=m+"px"})});function g(){n("on-click-back")}function C(){n("on-click-title")}function b(){n("on-click-icon")}function h(){n("on-click-right")}return{navBarWrap:s,navBarHtml:c,classes:f,styles:u,handleLeft:g,handleCenter:C,handleCenterIcon:b,handleRight:h}}}),vu={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},Gu={key:1,class:"fox-navbar__text"},Zu={class:"fox-navbar__title"},Ju={key:0,class:"fox-navbar__text"},_u={key:1,class:"fox-navbar__text"},ef={class:"fox-navbar__title"},tf={key:0,class:"fox-navbar__text"};function nf(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.fixed&&e.placeholder?(t.openBlock(),t.createElementBlock("view",vu,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),ref:"navBarHtml"},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:n[0]||(n[0]=(...s)=>e.handleLeft&&e.handleLeft(...s))},[e.leftShow?(t.openBlock(),t.createBlock(a,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",Gu,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",Zu,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...s)=>e.handleCenter&&e.handleCenter(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.titIcon,onClick:e.handleCenterIcon},null,8,["name","onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[2]||(n[2]=(...s)=>e.handleRight&&e.handleRight(...s))},[e.desc?(t.openBlock(),t.createElementBlock("view",Ju,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6)],512)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("view",{class:"fox-navbar__left",onClick:n[3]||(n[3]=(...s)=>e.handleLeft&&e.handleLeft(...s))},[e.leftShow?(t.openBlock(),t.createBlock(a,{key:0,color:"#979797",name:"left"})):t.createCommentVNode("",!0),e.leftText?(t.openBlock(),t.createElementBlock("view",_u,t.toDisplayString(e.leftText),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"left")]),t.createElementVNode("view",ef,[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"title",onClick:n[4]||(n[4]=(...s)=>e.handleCenter&&e.handleCenter(...s))},t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.titIcon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.titIcon,onClick:e.handleCenterIcon},null,8,["name","onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"content")]),t.createElementVNode("view",{class:"fox-navbar__right",onClick:n[5]||(n[5]=(...s)=>e.handleRight&&e.handleRight(...s))},[e.desc?(t.openBlock(),t.createElementBlock("view",tf,t.toDisplayString(e.desc),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"right")])],6))}const Gl=W(Qu,[["render",nf]]),of=(e,n)=>({props:{visible:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},navList:{default:()=>[],type:Array},activeColor:{default:"",type:String},activeText:{default:"",type:String},unActiveText:{default:"",type:String},position:{default:()=>({top:"auto",bottom:"auto"}),type:Object},type:{default:"right",type:String}},emits:["update:visible","selected"],setup(o,{emit:l}){const{toLocaleRefs:r}=ee.useFoxI18n(n),i=r(o,["activeText","unActiveText"]),a=t.computed(()=>({[e]:!0,active:o.visible,[o.type]:!0})),s=t.ref(-1);return{...i,classes:a,updateValue:(f=!o.visible)=>{l("update:visible",f)},selected:(f,u)=>{l("selected",{item:f,event:u}),s.value=f.id},current:s}}}),{componentName:lf,create:af,scope:rf}=x("fixednav"),sf=af(of(lf,rf)),cf={class:"fox-fixednav__list"},df=["onClick"],uf=["src"],ff={class:"span"},mf={key:0,class:"b"},pf={class:"text"};function hf(e,n,o,l,r,i){const a=t.resolveComponent("fox-overlay"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.position)},[e.overlay?(t.openBlock(),t.createBlock(a,{key:0,visible:e.visible,"z-index":200,onClick:n[0]||(n[0]=c=>e.updateValue(!1))},null,8,["visible"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"list",{},()=>[t.createElementVNode("view",cf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.navList,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-fixednav__list-item",{active:c.id==e.current}]),onClick:f=>e.selected(c,f),key:c.id||m},[t.createElementVNode("img",{src:c.icon},null,8,uf),t.createElementVNode("view",ff,t.toDisplayString(c.text),1),c.num?(t.openBlock(),t.createElementBlock("view",mf,t.toDisplayString(c.num),1)):t.createCommentVNode("",!0)],10,df))),128))])]),t.createElementVNode("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=c=>e.updateValue())},[t.renderSlot(e.$slots,"btn",{},()=>[t.createVNode(s,{name:"left",color:"#fff"}),t.createElementVNode("view",pf,t.toDisplayString(e.visible?e.activeText:e.unActiveText),1)])])],6)}const Zl=W(sf,[["render",hf]]),{componentName:gf,create:yf}=x("menu"),kf=yf({props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:0},closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:[String]},setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.ref(0),i=t.ref(!1),a=()=>{const k=t.reactive([]),d=t.reactive([]);return{children:k,linkChildren:w=>{const y=S=>{S.proxy&&(d.push(S),k.push(S.proxy))};t.provide("menuParent",Object.assign({link:y,children:k,internalChildren:d},w))}}},{children:s,linkChildren:c}=a(),m=t.computed(()=>s.some(k=>k.state.showWrapper)),f=t.computed(()=>({[gf]:!0,"scroll-fixed":i.value})),u=()=>{if(l.value){const k=Ne(l);e.direction==="down"?r.value=k.bottom:r.value=window.innerHeight-k.top}};c({props:e,offset:r});const g=k=>{s.forEach((d,p)=>{p===k?(u(),d.toggle()):d.state.showPopup&&d.toggle(!1,{immediate:!0})})},C=k=>Math.max(0,"scrollTop"in k?k.scrollTop:k.pageYOffset),b=()=>{const{scrollFixed:k}=e,d=C(window);i.value=d>(typeof k=="boolean"?30:Number(k))},h=k=>{let d="";const{titleClass:p}=e;return k&&(d+="active"),p&&(d+=` ${p}`),d};return t.onMounted(()=>{const{scrollFixed:k}=e;k&&window.addEventListener("scroll",b)}),t.onUnmounted(()=>{const{scrollFixed:k}=e;k&&window.removeEventListener("scroll",b)}),{toggleItem:g,children:s,opened:m,classes:f,barRef:l,getClasses:h}}}),Sf=["onClick"],bf={class:"fox-menu__title-text"};function Cf(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__bar",{opened:e.opened}]),ref:"barRef"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.children,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-menu__item",{disabled:s.disabled,active:s.state.showPopup}]),onClick:m=>!s.disabled&&e.toggleItem(c),style:t.normalizeStyle({color:s.state.showPopup?e.activeColor:""})},[t.createElementVNode("view",{class:t.normalizeClass(["fox-menu__title",e.getClasses(s.state.showPopup)])},[t.createElementVNode("view",bf,t.toDisplayString(s.renderTitle()),1),t.createVNode(a,{name:s.titleIcon||(e.direction==="up"?"arrow-up":"down-arrow"),size:"10",class:"fox-menu__title-icon"},null,8,["name"])],2)],14,Sf))),128))],2),t.renderSlot(e.$slots,"default")],2)}const Jl=W(kf,[["render",Cf]]),{componentName:wf,create:Nf}=x("menu-item"),Bf=Nf({props:{title:String,options:{type:Array,default:[]},disabled:{type:Boolean,default:!1},modelValue:null,cols:{type:Number,default:1},titleIcon:String,activeTitleClass:String,inactiveTitleClass:String,optionIcon:{type:String,default:"Check"}},components:{[se.name]:se,[ge.name]:ge},emits:["update:modelValue","change","open","close"],setup(e,{emit:n,slots:o}){const l=t.reactive({showPopup:!1,transition:!0,showWrapper:!1,isShowPlaceholderElement:!1}),r=()=>{const C=t.inject("menuParent",null);if(C){const b=t.getCurrentInstance(),{link:h}=C;return h(b),{parent:C}}},{parent:i}=r(),a=t.computed(()=>({[wf]:!0})),s=t.computed(()=>{const C={height:i.offset.value+"px"};return i.props.direction==="down"?C:{...C,top:"auto"}});return{classes:a,placeholderElementStyle:s,renderTitle:()=>{if(e.title)return e.title;const C=e.options?.find(b=>b.value===e.modelValue);return C?C.text:""},state:l,parent:i,toggle:(C=!l.showPopup,b={})=>{C!==l.showPopup&&(l.showPopup=C,l.isShowPlaceholderElement=C,C&&(l.showWrapper=!0,n("open")))},onClick:C=>{l.showPopup=!1,l.isShowPlaceholderElement=!1,C.value!==e.modelValue&&(n("update:modelValue",C.value),n("change",C.value))},handleClose:()=>{l.showWrapper=!1,l.isShowPlaceholderElement=!1,n("close")},handleClickOutside:()=>{l.showPopup=!1,n("close")}}}}),Vf={class:"fox-menu-item__content fox-menu-item__overflow"},Af=["onClick"];function Ef(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-popup");return t.withDirectives((t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{onClick:n[0]||(n[0]=(...c)=>e.handleClickOutside&&e.handleClickOutside(...c)),class:t.normalizeClass(["placeholder-element",{up:e.parent.props.direction==="up"}]),style:t.normalizeStyle(e.placeholderElementStyle)},null,6),[[t.vShow,e.state.isShowPlaceholderElement]]),t.createVNode(s,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"}},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",overlayClass:"fox-menu__overlay",overlay:e.parent.props.overlay,onClosed:e.handleClose,lockScroll:e.parent.props.lockScroll,isWrapTeleport:!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay}),{default:t.withCtx(()=>[t.createElementVNode("view",Vf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.options,(c,m)=>(t.openBlock(),t.createElementBlock("view",{key:m,class:t.normalizeClass(["fox-menu-item__option",[{active:c.value===e.modelValue}]]),style:t.normalizeStyle({"flex-basis":100/e.cols+"%"}),onClick:f=>e.onClick(c)},[c.value===e.modelValue?(t.openBlock(),t.createBlock(a,{key:0,class:t.normalizeClass({activeTitleClass:c.value===e.modelValue,inactiveTitleClass:c.value!==e.modelValue}),name:e.optionIcon,color:e.parent.props.activeColor},null,8,["class","name","color"])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass({activeTitleClass:c.value===e.modelValue,inactiveTitleClass:c.value!==e.modelValue}),style:t.normalizeStyle({color:c.value===e.modelValue?e.parent.props.activeColor:""})},t.toDisplayString(c.text),7)],14,Af))),128)),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]])}const _l=W(Bf,[["render",Ef]]),{create:Tf}=x("tabbar"),$f=Tf({props:{modelValue:{type:[Number,String],default:0},bottom:{type:Boolean,default:!1},size:{type:String,default:"20px"},deactiveColor:{type:String,default:""},activeColor:{type:String,default:""},safeAreaInsetBottom:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,n){function o(r){l.value!==r&&(l.value=r,n.emit("update:modelValue",r),n.emit("change",r,l.children[r]))}let l=t.reactive({children:[],size:e.size,value:e.modelValue,deactiveColor:e.deactiveColor,activeColor:e.activeColor,changeIndex:o});return t.provide("parent",l),t.watch(()=>e.modelValue,r=>{l.value=r}),{changeIndex:o}}});function Df(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabbar",{"fox-tabbar-bottom":e.bottom,"fox-tabbar-safebottom":e.safeAreaInsetBottom}])},[t.renderSlot(e.$slots,"default")],2)}const ea=W($f,[["render",Df]]),{create:If}=x("tabbar-item"),qf=If({props:{title:{type:String,default:""},icon:{type:String,default:""},num:{type:String,default:""},activeImg:{type:String,default:""},img:{type:String,default:""},classPrefix:{type:String,default:"fox-icon"},dot:{type:Boolean,default:!1},fontClassName:{type:String,default:"foxui-iconfont"}},setup(e,n){const o=t.inject("parent"),l=t.reactive({size:o.size,deactiveColor:o.deactiveColor,activeColor:o.activeColor,value:o.value,index:0}),r=t.getCurrentInstance();r!==null&&(m=>{if(m.proxy){let f=o.children.length;l.index=f;let u=Object.assign(m.proxy,{index:f});o.children.push(u)}})(r);const i=t.computed(()=>l.index===l.value);function a(c){o&&typeof o.changeIndex=="function"&&o.changeIndex(c)}const s=t.computed(()=>o?o.value:null);return t.watch(s,c=>{l.value=c}),{state:l,active:i,change:a}}}),zf={class:"fox-tabbar-item_icon-box"},Mf={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Pf={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Rf={key:1,class:"fox-tabbar-item_icon-box_dot"},Lf={key:2},Of={key:0};function Ff(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["fox-tabbar-item",{"fox-tabbar-item__icon--unactive":!e.active}]),style:t.normalizeStyle({color:e.active?e.state.activeColor:e.state.deactiveColor}),onClick:n[0]||(n[0]=s=>e.change(e.state.index))},[t.createElementVNode("view",zf,[e.dot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.num&&e.num<=99?(t.openBlock(),t.createElementBlock("view",Mf,t.toDisplayString(e.num),1)):e.num&&e.num>100?(t.openBlock(),t.createElementBlock("view",Pf,t.toDisplayString("99+"))):t.createCommentVNode("",!0)],64)),e.dot?(t.openBlock(),t.createElementBlock("div",Rf)):t.createCommentVNode("",!0),e.icon?(t.openBlock(),t.createElementBlock("view",Lf,[t.createVNode(a,{class:"fox-tabbar-item_icon-box_icon",size:e.state.size,name:e.icon,"font-class-name":e.fontClassName,"class-prefix":e.classPrefix},null,8,["size","name","font-class-name","class-prefix"])])):t.createCommentVNode("",!0),!e.icon&&e.activeImg?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-tabbar-item_icon-box_icon",style:t.normalizeStyle({backgroundImage:`url(${e.active?e.activeImg:e.img})`,width:e.state.size,height:e.state.size})},null,4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabbar-item_icon-box_nav-word",{"fox-tabbar-item_icon-box_big-word":!e.icon&&!e.activeImg}])},[e.title?(t.openBlock(),t.createElementBlock("view",Of,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.title?t.createCommentVNode("",!0):t.renderSlot(e.$slots,"default",{key:1})],2)])],6)}const ta=W(qf,[["render",Ff]]),{componentName:xf,create:Uf}=x("elevator"),Kf=Uf({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"],setup(e,n){const o=t.ref(null),l=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}),r=t.computed(()=>({[xf]:!0})),i=t.computed(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),a=t.computed(()=>o.value.clientHeight),s=(d,p)=>{const w="data-";return d.getAttribute(w+p)},c=d=>{t.nextTick(()=>{!l.listGroup.includes(d)&&d!=null&&l.listGroup.push(d)})},m=()=>{let d=0;l.listHeight.push(d);for(let p=0;p<l.listGroup.length;p++){let w=l.listGroup[p];d+=w.clientHeight,l.listHeight.push(d)}},f=d=>{!d&&d!==0||(d<0&&(d=0),d>l.listHeight.length-2&&(d=l.listHeight.length-2),l.codeIndex=d,o.value.scrollTo(0,l.listHeight[d]))},u=d=>{l.scrollStart=!0;let p=s(d.target,"index"),w=d.touches[0];l.touchState.y1=w.pageY,l.anchorIndex=+p,l.codeIndex=+p,f(+p)},g=d=>{let p=d.touches[0];l.touchState.y2=p.pageY;let w=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+w,f(l.codeIndex)},C=()=>{l.scrollStart=!1},b=(d,p)=>{n.emit("click-item",d,p),l.currentData=p,l.currentKey=d},h=d=>{n.emit("click-index",d)},k=d=>{let w=d.target.scrollTop;const y=l.listHeight;l.scrollY=w;for(let S=0;S<y.length-1;S++){let N=y[S],B=y[S+1];if(l.scrollY>=N&&l.scrollY<B){l.currentIndex=S,l.diff=B-l.scrollY;return}}l.currentIndex=y.length-2};return t.onMounted(()=>{o.value.addEventListener("scroll",k)}),ut({scrollTo:f}),t.watch(()=>l.listGroup.length,()=>{l.listHeight=[],t.nextTick(m)}),t.watch(()=>l.diff,d=>{const p=l.listHeight;let w=d>0&&d<e.titleHeight?d-e.titleHeight:0;l.scrollY+a.value===p[p.length-1]&&w!==0&&(w=0),l.fixedTop!==w&&(l.fixedTop=w)}),{classes:r,...t.toRefs(l),fixedStyle:i,clientHeight:a,setListGroup:c,listview:o,touchStart:u,touchMove:g,touchEnd:C,handleClickItem:b,handleClickIndex:h}}}),Hf={class:"fox-elevator__list__item__code"},jf=["onClick"],Wf=["innerHTML"],Yf={class:"fixed-title"},Xf={class:"fox-elevator__bars__inner"},Qf=["data-index","onClick"];function vf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:"fox-elevator__list",ref:"listview",style:t.normalizeStyle({height:isNaN(+e.height)?e.height:`${e.height}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,a=>(t.openBlock(),t.createElementBlock("view",{class:"fox-elevator__list__item",key:a[e.acceptKey],ref_for:!0,ref:e.setListGroup},[t.createElementVNode("view",Hf,t.toDisplayString(a[e.acceptKey]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.list,s=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__list__item__name",{"fox-elevator__list__item__name--highcolor":e.currentData.id===s.id&&e.currentKey===a[e.acceptKey]}]),key:s.id,onClick:c=>e.handleClickItem(a[e.acceptKey],s)},[t.renderSlot(e.$slots,"default",{item:s},()=>[t.createElementVNode("span",{innerHTML:s.name},null,8,Wf)])],10,jf))),128))]))),128)),e.isSticky?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__list__fixed",style:t.normalizeStyle(e.fixedStyle)},[t.createElementVNode("span",Yf,t.toDisplayString(e.indexList[e.currentIndex][e.acceptKey]),1)],4)),[[t.vShow,e.scrollY>0]]):t.createCommentVNode("",!0)],4),e.indexList.length?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-elevator__code--current"},t.toDisplayString(e.indexList[e.codeIndex][e.acceptKey]),513)),[[t.vShow,e.scrollStart]]):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-elevator__bars",onTouchstart:n[0]||(n[0]=(...a)=>e.touchStart&&e.touchStart(...a)),onTouchmove:n[1]||(n[1]=t.withModifiers((...a)=>e.touchMove&&e.touchMove(...a),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...a)=>e.touchEnd&&e.touchEnd(...a))},[t.createElementVNode("view",Xf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.indexList,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-elevator__bars__inner__item",{active:a[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":s,key:a[e.acceptKey],onClick:c=>e.handleClickIndex(a[e.acceptKey])},t.toDisplayString(a[e.acceptKey]),11,Qf))),128))])],32)],2)}const na=W(Kf,[["render",vf]]),{componentName:cw,create:Gf,scope:Zf}=x("pagination"),Jf=Gf({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:o}=ee.useFoxI18n(Zf),l=o(e,["prevText","nextText"]),{modelValue:r,mode:i,showPageSize:a,forceEllipses:s}=t.toRefs(e),c=t.computed(()=>{const{pageCount:g,totalItems:C,itemsPerPage:b}=t.toRefs(e),h=+g.value||Math.ceil(+C.value/+b.value);return Math.max(1,h)}),m=(g,C)=>{g>c.value||g<1||(g!=r.value&&n("update:modelValue",g),C&&n("change",g))},f=(g,C,b=!1)=>({number:g,text:C,active:b}),u=t.computed(()=>{if(i.value=="simple")return;let g=[];const C=c.value,b=+a.value;let h=1,k=C;const d=C>b;d&&(h=Math.max(r.value-Math.floor(b/2),1),k=h+b-1,k>C&&(k=C,h=k-b+1));for(var p=h;p<=k;p++){const w=f(p,p,r.value==p);g.push(w)}if(d&&b>0&&s.value){if(h>1){const w=f(h-1,"...");g.unshift(w)}if(k<C){const w=f(k+1,"...");g.push(w)}}return g});return t.watchEffect(()=>{m(r.value,!1)}),{...l,modelValue:r,select:m,countRef:c,mode:i,pages:u,forceEllipses:s}}}),_f={class:"fox-pagination"},em={key:0,class:"fox-pagination-contain"},tm=["onClick"],nm={key:1,class:"fox-pagination-contain"},om={class:"fox-pagination-simple"};function lm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",_f,[t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-prev",e.mode=="multi"?"":"simple-border",e.modelValue==1?"disabled":""]),onClick:n[0]||(n[0]=a=>e.select(e.modelValue-1,!0))},[t.renderSlot(e.$slots,"prev-text",{},()=>[t.createTextVNode(t.toDisplayString(e.prevText),1)])],2),e.mode=="multi"?(t.openBlock(),t.createElementBlock("view",em,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(a,s)=>(t.openBlock(),t.createElementBlock("view",{key:s+"pagination",class:t.normalizeClass(["fox-pagination-item",a.active?"active":""]),onClick:c=>e.select(a.number,!0)},[t.renderSlot(e.$slots,"page",{item:a},()=>[t.createTextVNode(t.toDisplayString(a.text),1)])],10,tm))),128))])):t.createCommentVNode("",!0),e.mode=="simple"?(t.openBlock(),t.createElementBlock("view",nm,[t.createElementVNode("view",om,t.toDisplayString(e.modelValue)+"/"+t.toDisplayString(e.countRef),1)])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-pagination-next",e.modelValue>=e.countRef?"disabled":""]),onClick:n[1]||(n[1]=a=>e.select(e.modelValue+1,!0))},[t.renderSlot(e.$slots,"next-text",{},()=>[t.createTextVNode(t.toDisplayString(e.nextText),1)])],2)])}const oa=W(Jf,[["render",lm]]);class am{title="";titleSlot;paneKey="";disabled=!1;constructor(){}}const rm={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},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}},components:{},emits:["update:modelValue","click","change"],setup(e,{emit:n,slots:o}){const l=t.ref(null);let r;t.provide("activeKey",{activeKey:t.computed(()=>e.modelValue)}),t.provide("autoHeight",{autoHeight:t.computed(()=>e.autoHeight)});const i=t.ref([]),a=p=>{let w=p["pane-key"];return typeof w=="string"||typeof w=="number"||(w=p.paneKey,typeof w=="string"||typeof w=="number")?String(w):null},s=p=>{p.forEach((w,y)=>{let S=w.type;if(S=S.name||S,S=="fox-tabpane"){let N=new am;(w.props?.title||w.props?.["pane-key"]||w.props?.paneKey)&&(N.title=w.props?.title,N.paneKey=a(w.props)||String(y),N.disabled=w.props?.disabled),i.value.push(N)}else{if(w.children==" ")return;s(w.children)}})},c=t.ref(e.modelValue||0),m=p=>{let w=i.value.findIndex(y=>y.paneKey==p);if(i.value.length!=0){if(w==-1)return;c.value=w}},f=(p=o.default?.())=>{i.value=[],p=p?.filter(w=>typeof w.children!="string"),p&&p.length&&s(p),m(e.modelValue)},u=p=>{r=p.fixed};t.watch(()=>o.default?.(),p=>{f(p)});const g=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;t.watch(()=>e.modelValue,p=>{if(m(p),r){let w=Ne(l.value).top+g(),y=Math.ceil(w-e.top);window.scrollTo({top:y,behavior:"smooth"})}}),t.onMounted(f),t.onActivated(f);const C=t.computed(()=>({transform:e.direction=="horizontal"?`translate3d(-${c.value*100}%, 0, 0)`:`translate3d( 0,-${c.value*100}%, 0)`,transitionDuration:`${e.animatedTime}ms`})),b=t.computed(()=>({background:e.background})),h=t.computed(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),k=t.computed(()=>({marginLeft:J(e.titleGutter),marginRight:J(e.titleGutter)}));return{titles:i,contentStyle:C,tabsNavStyle:b,titleStyle:k,tabsActiveStyle:h,container:l,onStickyScroll:u,...{tabChange:(p,w)=>{n("click",p),!p.disabled&&(c.value=w,n("update:modelValue",p.paneKey),n("change",p))}}}}},{create:sm}=x("tabs"),im=sm(rm),cm=["onClick"],dm=["onClick"];function um(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-sticky");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs",[e.direction]]),ref:"container",id:"container"},[e.sticky?(t.openBlock(),t.createBlock(s,{key:0,top:e.top,container:e.container,onScroll:e.onStickyScroll},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle)},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:f=>e.tabChange(c,m),key:c.paneKey},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(a,{color:e.color,name:"joy-smile"},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,cm))),128))],6)]),_:3},8,["top","container","onScroll"])):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-tabs__titles",{[e.type]:e.type,scrollable:e.titleScroll,[e.size]:e.size}]),style:t.normalizeStyle(e.tabsNavStyle)},[e.$slots.titles?t.renderSlot(e.$slots,"titles",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.titles,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-tabs__titles-item",{active:c.paneKey==e.modelValue,disabled:c.disabled}]),style:t.normalizeStyle(e.titleStyle),onClick:f=>e.tabChange(c,m),key:c.paneKey},[e.type=="line"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-tabs__titles-item__line",style:t.normalizeStyle(e.tabsActiveStyle)},null,4)):t.createCommentVNode("",!0),e.type=="smile"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-tabs__titles-item__smile",style:t.normalizeStyle(e.tabsActiveStyle)},[t.createVNode(a,{color:e.color,name:"joy-smile"},null,8,["color"])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(["fox-tabs__titles-item__text",{ellipsis:e.ellipsis}])},t.toDisplayString(c.title),3)],14,dm))),128))],6)),t.createElementVNode("view",{class:"fox-tabs__content",style:t.normalizeStyle(e.contentStyle)},[t.renderSlot(e.$slots,"default")],4)],2)}const la=W(im,[["render",um]]),{create:fm}=x("tabpane"),mm=fm({props:{title:{type:[String,Number],default:""},paneKey:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const o=t.inject("activeKey"),l=t.inject("autoHeight");return{classes:t.computed(()=>({["fox-tabpane"]:!0,inactive:e.paneKey!=o.activeKey.value&&l.autoHeight.value}))}}});function pm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.renderSlot(e.$slots,"default")],2)}const aa=W(mm,[["render",pm]]),{componentName:ra,create:hm}=x("indicator"),gm=hm({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:o}=t.toRefs(e);return{classes:t.computed(()=>{const r=ra;return{[r]:!0,[`${r}--block`]:n.value,[`${r}--align__${o.value}`]:n.value&&o.value}}),componentName:ra}}});function ym(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.size,a=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:a},[a===e.current?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(`${e.componentName}--number`)},t.toDisplayString(e.fillZero&&a<10?`0${a}`:a),3)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`${e.componentName}--dot`)},null,2))],64))),128))],2)}const sa=W(gm,[["render",ym]]),{componentName:km,create:Sm}=x("sidenavbar"),bm=Sm({props:{offset:{type:[String,Number],default:15}},emits:[],setup:(e,n)=>{const o=t.ref(null),l=t.reactive({count:1,observer:null}),r=t.computed(()=>({[km]:!0})),i=(s,c=1)=>{for(let m=0;m<s.length;m++){let f=s[m];f.children[0].style.paddingLeft=e.offset*c+"px",f.className.includes("fox-sidenavbaritem")||i(Array.from(f.children[1].children),++l.count)}l.count--},a=()=>{let s=o.value.childNodes;s.length&&(s=Array.from(s).filter(c=>c.nodeType!==3).map(c=>c),i(s))};return t.onMounted(()=>{a(),l.observer=new MutationObserver(function(){l.count=1,a()}),l.observer.observe(o.value,{attributes:!1,childList:!0,characterData:!1,subtree:!1})}),{...t.toRefs(l),list:o,classes:r}}}),Cm={class:"fox-sidenavbar__content"},wm={class:"fox-sidenavbar__content__list",ref:"list"};function Nm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",Cm,[t.createElementVNode("view",wm,[t.renderSlot(e.$slots,"default")],512)])],2)}const ia=W(bm,[["render",Nm]]),{componentName:Bm,create:Vm}=x("sidenavbaritem"),Am=Vm({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:t.computed(()=>({[Bm]:!0})),handleClick:()=>{n.emit("click")}})}),Em=["ikey"],Tm={class:"fox-sidenavbaritem__title"};function $m(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:"fox-sidenavbaritem",onClick:n[0]||(n[0]=t.withModifiers((...a)=>e.handleClick&&e.handleClick(...a),["stop"])),ikey:e.ikey},[t.createElementVNode("span",Tm,t.toDisplayString(e.title),1)],8,Em)}const ca=W(Am,[["render",$m]]),{componentName:Dm,create:Im}=x("subsidenavbar"),qm=Im({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},emits:["title-click"],setup:(e,n)=>{const o=t.reactive({direction:""}),l=t.computed(()=>({[Dm]:!0})),r=t.computed(()=>({height:o.direction?"0px":"auto"})),i=()=>{n.emit("title-click"),o.direction=o.direction?"":"up"};return t.onMounted(()=>{o.direction=e.open?"":"up"}),{...t.toRefs(o),classes:l,style:r,handleClick:i}}}),zm=["ikey"],Mm={class:"fox-subsidenavbar__title__text"},Pm={class:"fox-subsidenavbar__title__icon"};function Rm(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ikey:e.ikey},[t.createElementVNode("view",{class:"fox-subsidenavbar__title",onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.handleClick&&e.handleClick(...s),["stop"]))},[t.createElementVNode("span",Mm,t.toDisplayString(e.title),1),t.createElementVNode("span",Pm,[t.createVNode(a,{name:"down-arrow",class:t.normalizeClass(e.direction)},null,8,["class"])])]),t.createElementVNode("view",{class:t.normalizeClass(["fox-subsidenavbar__list",e.direction?"foxFadeOut":"foxFadeIn"]),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)],10,zm)}const da=W(qm,[["render",Rm]]),{componentName:Lm,create:Om}=x("range"),Fm=Om({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,slots:o}){const l=t.ref(0);let r,i;const a=t.ref(),s=t.ref(),c=mt(),m=t.computed(()=>{const{marks:D,max:q,min:I}=e;return Object.keys(D).map(parseFloat).sort((O,F)=>O-F).filter(O=>O>=I&&O<=q)}),f=t.computed(()=>Number(e.max)-Number(e.min)),u=t.computed(()=>{const D=Lm;return{[D]:!0,[`${D}-disabled`]:e.disabled,[`${D}-vertical`]:e.vertical,[`${D}-show-number`]:!e.hiddenRange}}),g=t.computed(()=>{const D="fox-range-container";return{[D]:!0,[`${D}-vertical`]:e.vertical}}),C=t.computed(()=>({background:e.inactiveColor})),b=t.computed(()=>({borderColor:e.buttonColor})),h=D=>!!e.range&&Array.isArray(D),k=()=>{const{modelValue:D,min:q}=e;return h(D)?`${(D[1]-D[0])*100/f.value}%`:`${(D-Number(q))*100/f.value}%`},d=()=>{const{modelValue:D,min:q}=e;return h(D)?`${(D[0]-Number(q))*100/f.value}%`:"0%"},p=t.computed(()=>e.vertical?{height:k(),top:d(),background:e.activeColor,transition:s.value?"none":void 0}:{width:k(),left:d(),background:e.activeColor,transition:s.value?"none":void 0}),w=D=>{const q="fox-range-mark",{modelValue:I,max:L,min:V}=e;let O=Number(V),F=Number(L);if(e.range){const[K,R]=I;O=K,F=R}else F=I;let $=D<=F&&D>=O;return{[`${q}-text`]:!0,[`${q}-text-active`]:$}},y=D=>{const{max:q,min:I,vertical:L}=e;let V={left:`${(D-Number(I))/f.value*100}%`};return L&&(V={top:`${(D-Number(I))/f.value*100}%`}),V},S=D=>{const{modelValue:q,max:I,min:L}=e;let V=Number(L),O=Number(I);if(e.range){const[K,R]=q;V=K,O=R}return{background:D<=O&&D>=V?e.activeColor:e.inactiveColor}},N=D=>{const{min:q,max:I,step:L}=e;return D=Math.max(+q,Math.min(D,+I)),Math.round(D/+L)*+L},B=(D,q)=>JSON.stringify(D)===JSON.stringify(q),E=D=>D[0]>D[1]?D.slice(0).reverse():D,A=(D,q)=>{h(D)?D=E(D).map(N):D=N(D),B(D,e.modelValue)||n("update:modelValue",D),q&&!B(D,r)&&n("change",D)},T=D=>{if(e.disabled)return;const{min:q,modelValue:I}=e,L=Ne(a);let V=D.clientX-L.left,O=L.width;e.vertical&&(V=D.clientY-L.top,O=L.height);const F=Number(q)+V/O*f.value;if(h(I)){const[$,K]=I,R=($+K)/2;F<=R?A([F,K],!0):A([$,F],!0)}else A(F,!0)},M=D=>{e.disabled||(c.start(D),i=e.modelValue,h(i)?r=i.map(N):r=N(i),s.value="start")},H=D=>{if(e.disabled)return;s.value==="start"&&n("drag-start"),c.move(D),s.value="draging";const q=Ne(a);let I=c.deltaX.value,L=q.width,V=I/L*f.value;e.vertical&&(I=c.deltaY.value,L=q.height,V=I/L*f.value),h(r)?i[l.value]=r[l.value]+V:i=r+V,A(i),D.stopPropagation(),D.preventDefault()},U=()=>{e.disabled||(s.value==="draging"&&(A(i,!0),n("drag-end")),s.value="")},P=D=>typeof D=="number"?e.modelValue[D]:e.modelValue;return{root:a,classes:u,wrapperStyle:C,buttonStyle:b,onClick:T,onTouchStart:M,onTouchMove:H,onTouchEnd:U,...t.toRefs(e),barStyle:p,curValue:P,buttonIndex:l,containerClasses:g,markClassName:w,marksStyle:y,marksList:m,tickStyle:S}}}),xm={key:0,class:"min"},Um={key:0,class:"fox-range-mark"},Km=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],Hm={key:0,class:"number"},jm=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Wm={key:0,class:"number"},Ym={key:1,class:"max"};function Xm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.containerClasses)},[e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",xm,t.toDisplayString(+e.min),1)),t.createElementVNode("view",{ref:"root",style:t.normalizeStyle(e.wrapperStyle),class:t.normalizeClass(e.classes),onClick:n[9]||(n[9]=t.withModifiers((...a)=>e.onClick&&e.onClick(...a),["stop"]))},[e.marksList.length>0?(t.openBlock(),t.createElementBlock("view",Um,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.marksList,a=>(t.openBlock(),t.createElementBlock("span",{key:a,class:t.normalizeClass(e.markClassName(a)),style:t.normalizeStyle(e.marksStyle(a))},[t.createTextVNode(t.toDisplayString(a)+" ",1),t.createElementVNode("span",{class:"fox-range-tick",style:t.normalizeStyle(e.tickStyle(a))},null,4)],6))),128))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-range-bar",style:t.normalizeStyle(e.barStyle)},[e.range?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},t.renderList([0,1],a=>t.createElementVNode("view",{key:a,role:"slider",class:t.normalizeClass({"fox-range-button-wrapper-left":a==0,"fox-range-button-wrapper-right":a==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(a),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:t.withModifiers(s=>{typeof a=="number"&&(e.buttonIndex=a),e.onTouchStart(s)},["stop","prevent"]),onTouchmove:n[0]||(n[0]=t.withModifiers((...s)=>e.onTouchMove&&e.onTouchMove(...s),["stop","prevent"])),onTouchend:n[1]||(n[1]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=t.withModifiers((...s)=>e.onTouchEnd&&e.onTouchEnd(...s),["stop","prevent"])),onClick:n[3]||(n[3]=s=>s.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Hm,t.toDisplayString(e.curValue(a)),1))],4))],42,Km)),64)):(t.openBlock(),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]=t.withModifiers(a=>{e.onTouchStart(a)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=t.withModifiers((...a)=>e.onTouchMove&&e.onTouchMove(...a),["stop","prevent"])),onTouchend:n[6]||(n[6]=t.withModifiers((...a)=>e.onTouchEnd&&e.onTouchEnd(...a),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=t.withModifiers((...a)=>e.onTouchEnd&&e.onTouchEnd(...a),["stop","prevent"])),onClick:n[8]||(n[8]=a=>a.stopPropagation())},[e.$slots.button?t.renderSlot(e.$slots,"button",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-range-button",style:t.normalizeStyle(e.buttonStyle)},[e.hiddenTag?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Wm,t.toDisplayString(e.curValue()),1))],4))],40,jm))],4)],6),e.hiddenRange?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Ym,t.toDisplayString(+e.max),1))],2)}const ua=W(Fm,[["render",Xm]]),{create:Qm,scope:vm}=x("searchbar"),Gm=Qm({props:{modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"textarea"},label:{type:String,default:""},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:String,default:"circle-close"},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>{}},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},emits:["change","update:modelValue","blur","focus","clear","search","click-input","click-left-icon","click-right-icon"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n(vm),l=o(e,["placeholder"]),r=t.reactive({active:!1}),i=t.computed(()=>({background:e.background})),a=t.computed(()=>({background:e.inputBackground})),s=p=>{let y=p.target.value;e.maxLength&&y.length>Number(e.maxLength)&&(y=y.slice(0,Number(e.maxLength))),n("update:modelValue",y,p),n("change",y,p)},c=t.ref({}),m=p=>{let y=p.target.value;r.active=!0,c.value=e.focusStyle,n("focus",y,p)},f=p=>{setTimeout(()=>{r.active=!1},0);let y=p.target.value;e.maxLength&&y.length>Number(e.maxLength)&&(y=y.slice(0,Number(e.maxLength))),c.value={},n("blur",y,p)},u=p=>{n("update:modelValue","",p),n("change","",p),n("clear","")},g=()=>{n("search",e.modelValue)},C=p=>{n("click-input",p)},b=p=>{n("click-left-icon",e.modelValue,p)},h=p=>{n("click-right-icon",e.modelValue,p)},k=t.computed(()=>({"text-align":e.inputAlign})),d=t.ref(null);return t.onMounted(()=>{e.autofocus&&d.value.focus()}),{...l,inputsearch:d,...t.toRefs(r),valueChange:s,valueFocus:m,valueBlur:f,handleClear:u,handleSubmit:g,searchbarStyle:i,inputSearchbarStyle:a,focusCss:c,clickInput:C,leftIconClick:b,rightIconClick:h,styleSearchbar:k}}}),Zm={key:0,class:"fox-searchbar__search-label"},Jm={key:1,class:"fox-searchbar__search-icon fox-searchbar__left-search-icon"},_m={class:"fox-searchbar__input-inner"},ep=["type","maxlength","placeholder","value","disabled","readonly"],tp={key:2,class:"fox-searchbar__search-icon fox-searchbar__right-search-icon"};function np(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:"fox-searchbar",style:t.normalizeStyle(e.searchbarStyle)},[e.label?(t.openBlock(),t.createElementBlock("span",Zm,t.toDisplayString(e.label),1)):t.createCommentVNode("",!0),e.$slots.leftout?(t.openBlock(),t.createElementBlock("view",Jm,[t.renderSlot(e.$slots,"leftout")])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-searchbar__search-input",style:t.normalizeStyle({...e.inputSearchbarStyle,...e.focusCss})},[e.$slots.leftin?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-searchbar__search-icon fox-searchbar__iptleft-search-icon",onClick:n[0]||(n[0]=(...s)=>e.leftIconClick&&e.leftIconClick(...s))},[t.renderSlot(e.$slots,"leftin")])):t.createCommentVNode("",!0),t.createElementVNode("view",_m,[t.createElementVNode("form",{action:"#",onSubmit:n[5]||(n[5]=t.withModifiers((...s)=>e.handleSubmit&&e.handleSubmit(...s),["prevent"]))},[t.createElementVNode("input",{ref:"inputsearch",class:"fox-searchbar__input-bar",type:e.inputType,maxlength:e.maxLength,placeholder:e.placeholder,value:e.modelValue,disabled:e.disabled,readonly:e.readonly,onClick:n[1]||(n[1]=(...s)=>e.clickInput&&e.clickInput(...s)),onInput:n[2]||(n[2]=(...s)=>e.valueChange&&e.valueChange(...s)),onFocus:n[3]||(n[3]=(...s)=>e.valueFocus&&e.valueFocus(...s)),onBlur:n[4]||(n[4]=(...s)=>e.valueBlur&&e.valueBlur(...s)),style:t.normalizeStyle(e.styleSearchbar)},null,44,ep)],32),e.clearable?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,onClick:n[6]||(n[6]=(...s)=>e.handleClear&&e.handleClear(...s)),class:"fox-searchbar__input-clear"},[t.createVNode(a,{name:e.clearIcon,size:"12",color:"#555"},null,8,["name"])],512)),[[t.vShow,e.modelValue.length>0]]):t.createCommentVNode("",!0)]),e.$slots.rightin?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-searchbar__search-icon fox-searchbar__iptright-sarch-icon",onClick:n[7]||(n[7]=(...s)=>e.rightIconClick&&e.rightIconClick(...s))},[t.renderSlot(e.$slots,"rightin")])):t.createCommentVNode("",!0)],4),e.$slots.rightout?(t.openBlock(),t.createElementBlock("view",tp,[t.renderSlot(e.$slots,"rightout")])):t.createCommentVNode("",!0)],4)}const fa=W(Gm,[["render",np]]),{componentName:op,create:lp}=x("inputnumber"),ap=lp({props:{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},iconLeft:{type:String,default:"minus"},iconRight:{type:String,default:"plus"}},emits:["update:modelValue","change","blur","focus","reduce","add","overlimit"],setup(e,{emit:n}){const o=t.computed(()=>{const g=op;return{[g]:!0,[`${g}--disabled`]:e.disabled}}),l=g=>Number(g).toFixed(Number(e.decimalPlaces)),r=g=>{const C=g.target;n("update:modelValue",C.valueAsNumber,g)},i=(g,C)=>{let b=l(g);n("update:modelValue",b,C),n("change",b,C)},a=(g=Number(e.modelValue))=>g<Number(e.max)&&!e.disabled,s=(g=Number(e.modelValue))=>g>Number(e.min)&&!e.disabled;return{classes:o,change:r,blur:g=>{if(e.disabled||e.readonly)return;let b=g.target.valueAsNumber;b<Number(e.min)?b=Number(e.min):b>Number(e.max)&&(b=Number(e.max)),i(b,g),n("blur",g)},focus:g=>{e.disabled||e.readonly||n("focus",g)},add:g=>{if(n("add",g),a()){let C=Number(e.modelValue)+Number(e.step);i(C,g)}else n("overlimit",g,"add")},addAllow:a,reduce:g=>{if(n("reduce",g),s()){let C=Number(e.modelValue)-Number(e.step);i(C,g)}else n("overlimit",g,"reduce")},reduceAllow:s,toPxDesc:J}}}),rp=["min","max","disabled","readonly","value"];function sp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:e.toPxDesc(e.buttonSize)})},[t.createVNode(a,{name:e.iconLeft,class:t.normalizeClass(["fox-inputnumber__icon",{"fox-inputnumber__icon--disabled":!e.reduceAllow()}]),size:e.buttonSize,onClick:e.reduce},null,8,["name","class","size","onClick"]),t.createElementVNode("input",{type:"number",min:e.min,max:e.max,style:t.normalizeStyle({width:e.toPxDesc(e.inputWidth)}),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))},null,44,rp),t.createVNode(a,{name:e.iconRight,class:t.normalizeClass(["fox-inputnumber__icon",{"fox-inputnumber__icon--disabled":!e.addAllow()}]),size:e.buttonSize,onClick:e.add},null,8,["name","class","size","onClick"])],6)}const ma=W(ap,[["render",sp]]),{componentName:ip,create:cp}=x("rate"),dp=cp({props:{count:{type:[String,Number],default:5},modelValue:{type:[String,Number],default:0},iconSize:{type:[String,Number],default:18},activeColor:{type:String,default:""},voidColor:{type:String,default:""},uncheckedIcon:{type:String,default:"star-n"},checkedIcon:{type:String,default:"star-fill-n"},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:14},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"}},emits:["update:modelValue","change"],setup(e,{emit:n}){const o=t.ref([]),l=t.computed(()=>({[ip]:!0})),r=u=>{n("update:modelValue",u),n("change",u)},i=(u,g)=>{if(e.disabled||e.readonly)return;let C=0;g===1&&e.modelValue===g||(C=g,e.allowHalf&&u==2&&(C-=.5)),r(C)},a=(u,g,C)=>{let b=0;for(let h=g.value.length-1;h>=0;h--){const k=g.value[h];if(u>k.offsetLeft){C?b=h+(u>k.offsetLeft+k.clientWidth/2?1:.5):b=h+1;break}}return b},s=!0,c=mt(),m={onTouchStart(u){e.touchable&&c.start(u)},onTouchMove(u){!e.touchable||!s||(c.move(u),c.isHorizontal()&&o.value&&(u.preventDefault(),r(a(c.moveX.value,o,e.allowHalf))))}},f=Math.random().toString(36).slice(-8);return{classes:l,...m,onClick:i,toPxDesc:J,rateRefs:o,refRandomId:f}}}),up=["id"];function fp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class: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))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.count),s=>(t.openBlock(),t.createElementBlock("view",{class:"fox-rate-item",key:s,ref_for:!0,ref:"rateRefs",id:"rateRefs-"+e.refRandomId+s,style:t.normalizeStyle({marginRight:e.toPxDesc(e.spacing)})},[t.createVNode(a,{size:e.iconSize,class:t.normalizeClass(["fox-rate-item__icon",{"fox-rate-item__icon--disabled":e.disabled||s>e.modelValue}]),onClick:c=>e.onClick(1,s),color:s<=e.modelValue?e.activeColor:e.voidColor,"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,name:s<=e.modelValue?e.checkedIcon:e.uncheckedIcon},null,8,["size","onClick","class","color","font-class-name","class-prefix","name"]),e.allowHalf&&Number(e.modelValue)+1>s?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-rate-item__icon fox-rate-item__icon--half",onClick:c=>e.onClick(2,s),"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,color:s<=Number(e.modelValue)+1?e.activeColor:e.voidColor,size:e.iconSize,name:e.checkedIcon},null,8,["onClick","font-class-name","class-prefix","color","size","name"])):e.allowHalf&&Number(e.modelValue)+1<s?(t.openBlock(),t.createBlock(a,{key:1,class:"fox-rate-item__icon fox-rate-item__icon--disabled fox-rate-item__icon--half",onClick:c=>e.onClick(2,s),"font-class-name":e.fontClassName,"class-prefix":e.classPrefix,color:e.voidColor,size:e.iconSize,name:e.uncheckedIcon},null,8,["onClick","font-class-name","class-prefix","color","size","name"])):t.createCommentVNode("",!0)],12,up))),128))],34)}const pa=W(dp,[["render",fp]]),{create:mp,scope:pp}=x("shortpassword"),hp=mp({props:{title:{type:String,default:""},desc:{type:String,default:""},tips:{type:String,default:""},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String,default:""},noButton:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6},isWrapTeleport:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","complete","change","ok","tips","close","cancel"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n(pp),l=o(e,["title","desc","tips"]),r=t.ref(e.modelValue),i=t.ref(),a=t.computed(()=>C(Number(e.length))),s=t.ref(e.visible);function c(){n("ok",r.value)}function m(){i.value.focus()}t.watch(()=>e.visible,k=>{s.value=k}),t.watch(()=>e.modelValue,k=>{r.value=k,n("update:modelValue",k)},{deep:!0,immediate:!0});function f(k){let p=k.target.value;p.length>a.value&&(p=p.slice(0,a.value),r.value=p),String(r.value).length===a.value&&n("complete",p),n("change",p),n("update:modelValue",p)}function u(){n("update:visible",!1),n("cancel")}function g(){n("update:visible",!1),n("close")}function C(k){return Math.min(Math.max(4,k),6)}function b(){n("tips")}function h(){let k=navigator.userAgent,d=k.indexOf("Android")>-1||k.indexOf("Linux")>-1;if(!!k.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/))return{paddingRight:"1200px"};if(d)return{opacity:0,zindex:10}}return{...l,comLen:a,sureClick:c,realInput:r,realpwd:i,focus:m,range:C,changeValue:f,close:u,onTips:b,show:s,systemStyle:h,closeIcon:g}}}),gp={class:"fox-shortpsd-title"},yp={class:"fox-shortpsd-subtitle"},kp={class:"fox-input-normalw"},Sp=t.createElementVNode("div",{class:"fox-input-site"},null,-1),bp={key:0,class:"fox-shortpsd-icon"},Cp={class:"fox-shortpsd-message"},wp={class:"fox-shortpsd-error"},Np={key:0,class:"fox-shortpsd-forget"},Bp={key:0,class:"fox-shortpsd-footer"};function Vp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",null,[t.createVNode(s,{style:{padding:"32px 24px 28px 24px",borderRadius:"12px",textAlign:"center"},visible:e.show,"onUpdate:visible":n[6]||(n[6]=c=>e.show=c),closeable:!0,onClickCloseIcon:e.closeIcon,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("view",gp,t.toDisplayString(e.title),1),t.createElementVNode("view",yp,t.toDisplayString(e.desc),1),t.createElementVNode("div",kp,[t.withDirectives(t.createElementVNode("input",{ref:"realpwd",class:"fox-input-real",type:"number",maxlength:"6",style:t.normalizeStyle(e.systemStyle()),"onUpdate:modelValue":n[0]||(n[0]=c=>e.realInput=c),onInput:n[1]||(n[1]=(...c)=>e.changeValue&&e.changeValue(...c))},null,36),[[t.vModelText,e.realInput]]),Sp,t.createElementVNode("view",{class:"fox-shortpsd-fake",onClick:n[2]||(n[2]=(...c)=>e.focus&&e.focus(...c))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(new Array(e.comLen),(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-shortpsd-li",key:m},[String(e.realInput).length>m?(t.openBlock(),t.createElementBlock("view",bp)):t.createCommentVNode("",!0)]))),128))])]),t.createElementVNode("view",Cp,[t.createElementVNode("view",wp,t.toDisplayString(e.errorMsg),1),e.tips?(t.openBlock(),t.createElementBlock("view",Np,[t.createVNode(a,{class:"icon",size:"11px",name:"tips"}),t.createElementVNode("view",{onClick:n[3]||(n[3]=(...c)=>e.onTips&&e.onTips(...c))},t.toDisplayString(e.tips),1)])):t.createCommentVNode("",!0)]),e.noButton?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",Bp,[t.createElementVNode("view",{class:"fox-shortpsd-cancle",onClick:n[4]||(n[4]=(...c)=>e.close&&e.close(...c))},"取消"),t.createElementVNode("view",{class:"fox-shortpsd-sure",onClick:n[5]||(n[5]=(...c)=>e.sureClick&&e.sureClick(...c))},"确认")]))]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay","isWrapTeleport"])])}const ha=W(hp,[["render",Vp]]);class Ap{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload}let Ep=class{options;constructor(n){this.options=n}upload(){const n=this.options,o=new XMLHttpRequest;if(o.timeout=n.timeout,o.upload){o.upload.addEventListener("progress",l=>{n.onProgress?.(l,n)},!1),o.onreadystatechange=()=>{o.readyState===4&&(o.status==n.xhrState?n.onSuccess?.(o.responseText,n):n.onFailure?.(o.responseText,n))},o.withCredentials=n.withCredentials,o.open(n.method,n.url,!0);for(const[l,r]of Object.entries(n.headers))o.setRequestHeader(l,r);n.onStart?.(n),n.beforeXhrUpload?n.beforeXhrUpload(o,n):o.send(n.formData)}else console.warn("浏览器不支持 XMLHttpRequest")}uploadTaro(n,o){const l=this.options;if(o==="WEB")this.upload();else if(l.beforeXhrUpload)l.beforeXhrUpload(n,l);else{const r=n({url:l.url,filePath:l.taroFilePath,fileType:l.fileType,header:{"Content-Type":"multipart/form-data",...l.headers},formData:l.formData,name:l.name,success(i){l.xhrState==i.statusCode?l.onSuccess?.(i,l):l.onFailure?.(i,l)},fail(i){l.onFailure?.(i,l)}});l.onStart?.(l),r.progress(i=>{l.onProgress?.(i,l)})}}};class Tp{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}}const{componentName:$p,create:Dp,scope:Ip}=x("uploader"),qp=Dp({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:{}},uploadIcon:{type:String,default:"photograph"},uploadIconSize:{type:[String,Number],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:o}=ee.useFoxI18n(Ip),l=t.reactive(e.fileList);let r=[];const i=t.computed(()=>({[$p]:!0})),a=k=>{k.value=""},s=k=>{n("file-item-click",{fileItem:k})},c=(k,d)=>{const p=new Ap;p.url=e.url,p.formData=k.formData,p.timeout=e.timeout*1,p.method=e.method,p.xhrState=e.xhrState,p.headers=e.headers,p.withCredentials=e.withCredentials;try{p.sourceFile=k.formData.get(e.name)}catch{}p.onStart=y=>{k.status="ready",k.message=o("readyUpload"),m(d),n("start",y)},p.onProgress=(y,S)=>{k.status="uploading",k.message=o("uploading"),k.percentage=(y.loaded/y.total*100).toFixed(0),n("progress",{event:y,option:S,percentage:k.percentage})},p.onSuccess=(y,S)=>{k.status="success",k.message=o("success"),n("success",{responseText:y,option:S,fileItem:k}),n("update:fileList",l)},p.onFailure=(y,S)=>{k.status="error",k.message=o("error"),n("failure",{responseText:y,option:S,fileItem:k})};let w=new Ep(p);e.autoUpload?w.upload():r.push(new Promise((y,S)=>{y(w)}))},m=(k=-1)=>{k>-1?r.splice(k,1):(r=[],l.splice(0,l.length))},f=()=>{Promise.all(r).then(k=>{k.forEach(d=>d.upload())})},u=k=>{k.forEach((d,p)=>{const w=new FormData;for(const[S,N]of Object.entries(e.data))w.append(S,N);w.append(e.name,d);const y=t.reactive(new Tp);if(y.name=d.name,y.status="ready",y.type=d.type,y.formData=w,y.message=o("waitingUpload"),c(y,p),e.isPreview&&d.type.includes("image")){const S=new FileReader;S.onload=N=>{y.url=N.target.result,l.push(y)},S.readAsDataURL(d)}else l.push(y)})},g=k=>{const d=e.maximum*1,p=e.maximize*1,w=new Array;k=k.filter(S=>S.size>p?(w.push(S),!1):!0),w.length&&n("oversize",w);let y=k.length+l.length;return y>d&&k.splice(k.length-(y-d)),k},C=(k,d)=>{l.splice(d,1),n("delete",{file:k,fileList:l,index:d})};return{onChange:k=>{if(e.disabled)return;const d=k.target;let{files:p}=d;if(e.beforeUpload)e.beforeUpload(p).then(w=>{const y=g(new Array().slice.call(w));u(y)});else{const w=g(new Array().slice.call(p));u(w)}n("change",{fileList:l,event:k}),e.clearInput&&a(d)},onDelete:(k,d)=>{m(d);let p=e.beforeDelete(k,l);$t(p)?p.then(w=>{w&&C(k,d)}).catch(w=>{}):p&&C(k,d)},fileList:l,classes:i,fileItemClick:s,clearUploadQueue:m,submit:f}}}),zp={key:0,class:"fox-uploader__slot"},Mp=["accept","multiple","name","disabled"],Pp=["accept","multiple","name","disabled"],Rp={key:0,class:"fox-uploader__preview-img"},Lp={key:0,class:"fox-uploader__preview__progress"},Op={class:"fox-uploader__preview__progress__msg"},Fp={key:1,class:"fox-uploader__preview__progress"},xp={class:"fox-uploader__preview__progress__msg"},Up=["onClick","src"],Kp={key:4,class:"fox-uploader__preview-img__file"},Hp=["onClick"],jp={class:"tips"},Wp={key:1,class:"fox-uploader__preview-list"},Yp=["onClick"],Xp=["accept","multiple","name","disabled"],Qp=["accept","multiple","name","disabled"];function vp(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-progress");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("view",zp,[t.renderSlot(e.$slots,"default"),e.maximum-e.fileList.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.capture?(t.openBlock(),t.createElementBlock("input",{key:0,class:"fox-uploader__input",type:"file",capture:"camera",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[0]||(n[0]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Mp)):(t.openBlock(),t.createElementBlock("input",{key:1,class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[1]||(n[1]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Pp))],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.fileList,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-uploader__preview",[e.listType]]),key:c.uid},[e.listType=="picture"&&!e.$slots.default?(t.openBlock(),t.createElementBlock("view",Rp,[c.status=="ready"?(t.openBlock(),t.createElementBlock("view",Lp,[t.createElementVNode("view",Op,t.toDisplayString(c.message),1)])):c.status!="success"?(t.openBlock(),t.createElementBlock("view",Fp,[t.createVNode(a,{color:"#fff",name:c.status=="error"?"failure":"loading"},null,8,["name"]),t.createElementVNode("view",xp,t.toDisplayString(c.message),1)])):t.createCommentVNode("",!0),e.isDeletable?(t.openBlock(),t.createBlock(a,{key:2,onClick:f=>e.onDelete(c,m),class:"close",name:"failure"},null,8,["onClick"])):t.createCommentVNode("",!0),c.type.includes("image")&&c.url?(t.openBlock(),t.createElementBlock("img",{key:3,class:"fox-uploader__preview-img__c",onClick:f=>e.fileItemClick(c),src:c.url},null,8,Up)):(t.openBlock(),t.createElementBlock("view",Kp,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:"fox-uploader__preview-img__file__name"},[t.createVNode(a,{color:"#808080",name:"link"}),t.createTextVNode(" "+t.toDisplayString(c.name),1)],8,Hp)])),t.createElementVNode("view",jp,t.toDisplayString(c.name),1)])):e.listType=="list"?(t.openBlock(),t.createElementBlock("view",Wp,[t.createElementVNode("view",{onClick:f=>e.fileItemClick(c),class:t.normalizeClass(["fox-uploader__preview-img__file__name",[c.status]])},[t.createVNode(a,{name:"link"}),t.createTextVNode(" "+t.toDisplayString(c.name),1)],10,Yp),t.createVNode(a,{class:"fox-uploader__preview-img__file__del",onClick:f=>e.onDelete(c,m),color:"#808080",name:"del"},null,8,["onClick"]),c.status=="uploading"?(t.openBlock(),t.createBlock(s,{key:0,size:"small",percentage:c.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"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2))),128)),e.listType=="picture"&&!e.$slots.default&&e.maximum-e.fileList.length?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-uploader__upload",[e.listType]])},[t.createVNode(a,{size:e.uploadIconSize,color:"#808080",name:e.uploadIcon},null,8,["size","name"]),e.capture?(t.openBlock(),t.createElementBlock("input",{key:0,class:"fox-uploader__input",type:"file",capture:"camera",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[2]||(n[2]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Xp)):(t.openBlock(),t.createElementBlock("input",{key:1,class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled,onChange:n[3]||(n[3]=(...c)=>e.onChange&&e.onChange(...c))},null,40,Qp))],2)):t.createCommentVNode("",!0)],2)}const ga=W(qp,[["render",vp]]),Gp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvb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0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAACb0lEQVRYR+WY33HTMBzHvz/J72QD8tyzhJiAMAHdgDBBywQ0E5BuECYAJqCZAGPl+pxMQPoeSZwUy6ck7sUlBtziJ59P/urj33+ZlFIDa8wHAOcAhujftQYwY5xPSOb5FEQX/WPcI3LumqQQPwEMeg8LrD2sq0DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:Jp,scope:_p}=x("numberkeyboard"),eh=Jp({props:{confirmText:{type:String,default:""},title:{type:String,default:""},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},value:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},isWrapTeleport:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},popClass:{type:String,default:""}},emits:["input","delete","close","update:value"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n(_p),l=o(e,["confirmText"]),r=t.ref(void 0),i=t.ref(e.visible),a=t.ref();function s(){const{customKey:h}=e;let k={id:"lock",type:"lock"},d=Array.isArray(h)?h:[h];return d.length===1&&(k={id:d[0],type:"custom"}),[...c(),k,{id:0,type:"number"},{id:"delete",type:"delete"}]}function c(){const h=[];for(let k=1;k<=9;k++)h.push({id:k,type:"number"});return e.randomKeys?h.sort(()=>Math.random()>.5?1:-1):h}function m(){const h=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"?h.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):h.push({id:0,type:"number"},{id:d[0],type:"custom"}):d.length===2&&h.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:d[1],type:"custom"}),h}const f=t.computed(()=>e.type=="rightColumn"||e.title!=""?m():s());t.watch(()=>e.visible,h=>{i.value=h});function u(h,k){k.stopPropagation(),r.value=h.id,(h.type=="number"||h.type=="custom")&&(n("input",h.id),e.value.length<e.maxlength&&n("update:value",e.value+h.id)),h.type=="lock"&&b(),h.type=="delete"&&(n("delete"),n("update:value",e.value.slice(0,e.value.length-1)))}function g(h){h.stopPropagation()}function C(h){h.preventDefault(),r.value=void 0}function b(){n("close")}return{...l,delImg:Gp,lockImg:Zp,clickKeyIndex:r,defaultKey:s,closeBoard:b,onTouchEnd:C,onTouchMove:g,onTouchstart:u,keysList:f,genCustomKeys:m,getBasicKeys:c,root:a,show:i}}}),th={class:"fox-numberkeyboard",ref:"root"},nh={key:0,class:"number-board-header"},oh={class:"tit"},lh={class:"number-board-body"},ah={class:"number-board"},rh=["onTouchstart"],sh=["src"],ih=["src"],ch={key:0,class:"number-board-sidebar"},dh={class:"key-board-wrapper"},uh=["src"];function fh(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=s=>e.show=s),position:"bottom",teleport:e.teleport,popClass:e.popClass,overlay:e.overlay,onClickOverlay:n[8]||(n[8]=s=>e.closeBoard()),isWrapTeleport:e.isWrapTeleport,"overlay-class":"fox-numberkeyboard-overlay"},{default:t.withCtx(()=>[t.createElementVNode("div",th,[e.title?(t.openBlock(),t.createElementBlock("div",nh,[t.createElementVNode("h3",oh,t.toDisplayString(e.title),1),e.type=="default"?(t.openBlock(),t.createElementBlock("span",{key:0,class:"keyboard-close",onClick:n[0]||(n[0]=s=>e.closeBoard())},t.toDisplayString(e.confirmText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",lh,[t.createElementVNode("div",ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keysList,s=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["key-board-wrapper",{"key-board-wrapper-large":s.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}]),key:"key"+s.id},[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:s.id==e.clickKeyIndex},{lock:s.type=="lock"},{delete:s.type=="delete"}]),onTouchstart:c=>e.onTouchstart(s,c),onTouchmove:n[1]||(n[1]=c=>e.onTouchMove(c)),onTouchend:n[2]||(n[2]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[s.type=="number"||s.type=="custom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(s.id),1)],64)):t.createCommentVNode("",!0),s.type=="lock"?(t.openBlock(),t.createElementBlock("img",{key:1,src:e.lockImg},null,8,sh)):t.createCommentVNode("",!0),s.type=="delete"?(t.openBlock(),t.createElementBlock("img",{key:2,src:e.delImg},null,8,ih)):t.createCommentVNode("",!0)],42,rh)],2))),128))]),e.type=="rightColumn"?(t.openBlock(),t.createElementBlock("div",ch,[t.createElementVNode("div",dh,[t.createElementVNode("div",{class:t.normalizeClass(["key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=s=>e.onTouchstart({id:"delete",type:"delete"},s)),onTouchmove:n[4]||(n[4]=s=>e.onTouchMove(s)),onTouchend:n[5]||(n[5]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[t.createElementVNode("img",{src:e.delImg},null,8,uh)],34)]),t.createElementVNode("div",{class:"key-board-wrapper key-board-finish",onClick:n[6]||(n[6]=s=>e.closeBoard())},[t.createElementVNode("div",{class:t.normalizeClass(["key","finish",{activeFinish:e.clickKeyIndex=="finish"}])},t.toDisplayString(e.confirmText),3)])])):t.createCommentVNode("",!0)])],512)]),_:1},8,["visible","teleport","popClass","overlay","isWrapTeleport"])}const ya=W(eh,[["render",fh]]),{componentName:mh,create:ph}=x("swipe"),hh=ph({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 o=t.computed(()=>({[mh]:!0})),l=p=>p.value?.clientWidth||0,r=t.ref(),i=t.computed(()=>l(r)),a=t.ref(),s=t.computed(()=>l(a));let c=!1,m="",f="";const u=t.reactive({offset:0,moving:!1}),g=(p="")=>{c=!0,p&&(u.offset=p==="left"?-s.value:i.value),n("open",{name:e.name,position:m||p})},C=()=>{u.offset=0,c=!1,n("close",{name:e.name,position:m})},b=t.computed(()=>({transform:`translate3d(${u.offset}px, 0, 0)`})),h=p=>{m=p>0?"right":"left";let w=p;switch(m){case"left":c&&f===m?w=-s.value:w=Math.abs(p)>s.value?-s.value:p;break;case"right":c&&f===m?w=i.value:w=Math.abs(p)>i.value?i.value:p;break}u.offset=w},k=mt();return{classes:o,touchStyle:b,...{onTouchStart(p){e.disabled||k.start(p)},onTouchMove(p){e.disabled||(k.move(p),k.isHorizontal()&&(u.moving=!0,h(k.deltaX.value),e.touchMovePreventDefault&&p.preventDefault(),e.touchMoveStopPropagation&&p.stopPropagation()))},onTouchEnd(){if(u.moving)switch(u.moving=!1,f=m,m){case"left":Math.abs(u.offset)<=s.value/2?C():(u.offset=-s.value,g());break;case"right":Math.abs(u.offset)<=i.value/2?C():(u.offset=i.value,g());break}}},leftRef:r,rightRef:a,open:g,close:C}}}),gh={class:"fox-swipe__left",ref:"leftRef"},yh={class:"fox-swipe__content"},kh={class:"fox-swipe__right",ref:"rightRef"};function Sh(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.touchStyle),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a))},[t.createElementVNode("view",gh,[t.renderSlot(e.$slots,"left")],512),t.createElementVNode("view",yh,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",kh,[t.renderSlot(e.$slots,"right")],512)],38)}const ka=W(hh,[["render",Sh]]),{componentName:bh,create:Ch}=x("actionsheet"),wh=Ch({props:{...xe,cancelText:{type:String,default:""},optionTag:{type:String,default:"name"},optionSubTag:{type:String,default:"subname"},chooseTagValue:{type:String,default:""},title:{type:String,default:""},color:{type:String,default:"#ee0a24"},description:{type:String,default:""},menuItems:{type:Array,default:()=>[]},isWrapTeleport:{type:Boolean,default:!0},closeAbled:{type:Boolean,default:!0}},emits:["cancel","close","choose","update:visible"],setup(e,{emit:n}){const o=t.computed(()=>({[bh]:!0}));return{isHighlight:s=>e.chooseTagValue&&e.chooseTagValue===s[e.optionTag]?e.color:"#1a1a1a",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(s,c)=>{s.disable||(n("choose",s,c),n("update:visible",!1))},close:()=>{n("close"),n("update:visible",!1)},classes:o}}}),Nh={class:"fox-actionsheet-panel"},Bh={key:0,class:"fox-actionsheet-title"},Vh={key:0,class:"fox-actionsheet-item desc"},Ah={key:1,class:"fox-actionsheet-menu"},Eh=["onClick"],Th={class:"subdesc"};function $h(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(a,{"pop-class":"popclass",visible:e.visible,isWrapTeleport:e.isWrapTeleport,position:"bottom",round:"",onClickOverlay:e.close,closeOnClickOverlay:e.closeAbled},{default:t.withCtx(()=>[t.createElementVNode("view",Nh,[e.title?(t.openBlock(),t.createElementBlock("view",Bh,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default",{},()=>[e.description?(t.openBlock(),t.createElementBlock("view",Vh,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0),e.menuItems.length?(t.openBlock(),t.createElementBlock("view",Ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.menuItems,(s,c)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-actionsheet-item",{"fox-actionsheet-item-disabled":s.disable}]),style:t.normalizeStyle({color:e.isHighlight(s)}),key:c,onClick:m=>e.chooseItem(s,c)},[t.createTextVNode(t.toDisplayString(s[e.optionTag]),1),t.createElementVNode("view",Th,t.toDisplayString(s[e.optionSubTag]),1)],14,Eh))),128))])):t.createCommentVNode("",!0),e.cancelText?(t.openBlock(),t.createElementBlock("view",{key:2,class:"fox-actionsheet-cancel",onClick:n[0]||(n[0]=(...s)=>e.cancelActionSheet&&e.cancelActionSheet(...s))},t.toDisplayString(e.cancelText),1)):t.createCommentVNode("",!0)])])]),_:3},8,["visible","isWrapTeleport","onClickOverlay","closeOnClickOverlay"])],2)}const Sa=W(wh,[["render",$h]]),{componentName:Dh,create:Ih}=x("backtop"),qh=Ih({props:{bottom:{type:Number,default:20},right:{type:Number,default:10},elId:{type:[String,Object],default:"body"},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}){const o=t.reactive({backTop:!1,scrollTop:0,scrollEl:window,startTime:0,keepAlive:!1}),l=t.computed(()=>({[Dh]:!0,show:o.backTop})),r=t.computed(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function i(){o.scrollEl instanceof Window?o.scrollTop=o.scrollEl.pageYOffset:o.scrollTop=o.scrollEl.scrollTop,o.backTop=o.scrollTop>=e.distance}function a(b=0){o.scrollEl instanceof Window?window.scrollTo(0,b):o.scrollEl.scrollTop=b}function s(){let b=u()(function h(){var k=e.duration-Math.max(0,o.startTime-+new Date+e.duration),d=k*-o.scrollTop/e.duration+o.scrollTop;a(d),b=u()(h),(k==e.duration||d==0)&&window.cancelAnimationFrame(b)})}function c(){o.scrollEl.addEventListener("scroll",i,!1),o.scrollEl.addEventListener("resize",i,!1)}function m(){o.scrollEl.removeEventListener("scroll",i,!1),o.scrollEl.removeEventListener("resize",i,!1)}function f(){window.cancelAnimationFrame=window.webkitCancelAnimationFrame}function u(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(b){window.setTimeout(b,1e3/60)}}function g(b){o.startTime=+new Date,e.isAnimation&&e.duration>0?s():a(),n("click",b)}function C(){if(!e.elId)return;let b;typeof e.elId=="string"?b=document.getElementById(e.elId):b=e.elId,o.scrollEl=b,c(),f()}return t.onMounted(()=>{e.distance==0&&(o.backTop=!0),C()}),t.onUnmounted(()=>{m()}),t.onActivated(()=>{o.keepAlive&&(o.keepAlive=!1,C())}),t.onDeactivated(()=>{o.keepAlive=!0,m()}),{state:o,classes:l,style:r,click:g}}});function zh(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style),onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.click&&e.click(...s),["stop"]))},[t.renderSlot(e.$slots,"default",{},()=>[t.createVNode(a,{size:"19px",class:"fox-backtop-main",name:"top"})])],6)}const ba=W(qh,[["render",zh]]),{componentName:Mh,create:Ph}=x("drag"),Rh=Ph({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 o=t.ref(),l=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}}),r=t.computed(()=>({[Mh]:!0}));function i(){const u=document.documentElement;l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight,l.screenWidth=u.clientWidth,l.screenHeight=u.clientHeight}function a(u){l.boundary.left?+u.style.left.split("px")[0]>l.boundary.left?(u.style.left=+u.style.left.split("px")[0]-10+"px",Ke(()=>{a(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",Ke(()=>{a(u)})):u.style.left="0px"}function s(u,g){g-parseInt(u.style.left.split("px")[0])>10?(u.style.left=parseInt(u.style.left.split("px")[0])+10+"px",Ke(()=>{s(u,g)})):u.style.left=g+"px"}function c(u){u.preventDefault();const g=u.currentTarget;if(u.targetTouches.length===1){const C=u.targetTouches[0];l.nx=C.clientX-l.position.x,l.ny=C.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const b=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>b?l.xPum=b: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"&&(g.style.left=l.xPum+"px"),e.direction!="x"&&(g.style.top=l.yPum+"px")}}function m(u){const g=u.currentTarget;let b=u.changedTouches[0].clientX;const h=l.screenWidth-l.elWidth-l.boundary.right;b>h?b=h:b<l.boundary.left?b=l.boundary.left:b=b<l.screenWidth/2?l.boundary.left:h,e.direction!="y"&&e.attract&&(b<l.screenWidth/2?Ke(()=>{a(g)}):Ke(()=>{s(g,h)})),e.direction!="x"&&(g.style.top=l.yPum+"px")}function f(u){const g=u.currentTarget,C=u.touches[0],b=u.targetTouches[0];l.startTop=g.offsetTop,l.startLeft=g.offsetLeft,l.position.x=C.clientX,l.position.y=C.clientY,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}return t.onMounted(()=>{i(),l.boundary=e.boundary}),t.onActivated(()=>{l.keepAlive&&(l.keepAlive=!1)}),t.onDeactivated(()=>{l.keepAlive=!0;const u=o;u.value.removeEventListener("touchstart",f),u.value.removeEventListener("touchmove",c),u.value.removeEventListener("touchend",m)}),{classes:r,myDrag:o,touchStart:f,touchMove:c,touchEnd:m}}});function Lh(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=a=>e.touchStart(a)),onTouchmove:n[1]||(n[1]=a=>e.touchMove(a)),onTouchend:n[2]||(n[2]=a=>e.touchEnd(a))},[t.renderSlot(e.$slots,"default")],34)}const Ca=W(Rh,[["render",Lh]]),{componentName:Oh,create:Fh,scope:xh}=x("dialog"),Uh=Fh({inheritAttrs:!1,components:{[ge.name]:ge,[et.name]:et},props:{...xe,closeOnClickOverlay:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:[String,Object],default:""},noFooter:{type:Boolean,default:!1},noConfirmBtn:{type:Boolean,default:!1},noCancelBtn:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""},cancelAutoClose:{type:Boolean,default:!0},textAlign:{type:String,default:"center"},closeOnPopstate:{type:Boolean,default:!1},footerDirection:{type:String,default:"horizontal"},customClass:{type:String,default:""},popStyle:{type:Object},beforeClose:{type:Function}},emits:["update","update:visible","confirm","cancel","opened","closed"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n(xh),l=o(e,["confirmText","cancelText"]),r=t.ref(e.visible);t.onMounted(()=>{e.closeOnPopstate&&Qe&&window.addEventListener("popstate",function(){s("page")})}),t.watch(()=>e.visible,f=>{r.value=f,f&&n("opened")});const i=t.computed(()=>({[Oh]:!0,[e.customClass]:!0})),a=f=>{n("update",f),n("update:visible",f)},s=f=>{if(e.beforeClose){const u=e.beforeClose(f);$t(u)&&u.then(g=>{g&&(a(!1),n("closed"))})}else a(!1),n("closed")};return{...l,closed:s,classes:i,onCancel:()=>{n("cancel"),e.cancelAutoClose&&s("cancel")},onConfirm:()=>{n("confirm"),s("confirm")},showPopup:r}}}),Kh={key:0,class:"fox-dialog__header"},Hh=["innerHTML"];function jh(e,n,o,l,r,i){const a=t.resolveComponent("fox-button"),s=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(s,{teleport:e.teleport,visible:e.showPopup,"onUpdate:visible":n[0]||(n[0]=c=>e.showPopup=c),"close-on-click-overlay":e.closeOnClickOverlay,"lock-scroll":e.lockScroll,"pop-class":e.popClass,style:t.normalizeStyle(e.popStyle),"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,round:"",onClickOverlay:e.closed,onClickCloseIcon:e.closed},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[e.$slots.header||e.title?(t.openBlock(),t.createElementBlock("view",Kh,[e.$slots.header?t.renderSlot(e.$slots,"header",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.title),1)],64))])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-dialog__content",style:t.normalizeStyle({textAlign:e.textAlign})},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):typeof e.content=="string"?(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.content},null,8,Hh)):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.content),{key:2}))],4),e.noFooter?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(["fox-dialog__footer",{[e.footerDirection]:e.footerDirection}])},[e.$slots.footer?t.renderSlot(e.$slots,"footer",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.noCancelBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,size:"small",plain:"",type:"primary",class:"fox-dialog__footer-cancel",onClick:e.onCancel},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.cancelText),1)]),_:1},8,["onClick"])),e.noConfirmBtn?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,size:"small",type:"primary",class:"fox-dialog__footer-ok",onClick:e.onConfirm},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1},8,["onClick"]))],64))],2))],2)]),_:3},8,["teleport","visible","close-on-click-overlay","lock-scroll","pop-class","style","overlay-class","overlay-style","onClickOverlay","onClickCloseIcon"])}const wa=W(Uh,[["render",jh]]);class Wh{title="";content="";cancelText="";confirmText="";textAlign="center";customClass="";overlayStyle={};overlayClass="";popStyle={};popClass="";teleport="body";id=new Date().getTime();footerDirection="horizontal";onUpdate=n=>{};onConfirm=()=>{};onCancel=()=>{};onOpened=()=>{};onClosed=()=>{};beforeClose;visible=!0;noFooter=!1;noConfirmBtn=!1;noCancelBtn=!1;confrimBtnDisabled=!1;closeOnPopstate=!1;lockScroll=!1}class Yh{options=new Wh;instance;constructor(n){let o=Object.assign(this.options,n),l=document.body,r=o.teleport;r!="body"&&(typeof r=="string"?l=document.querySelector(r):l=o.teleport);const i=document.createElement("view");i.id="dialog-"+o.id;const a={setup(){return o.onUpdate=s=>{s==!1&&l.removeChild(i)},o?.onOpened&&o?.onOpened(),o.teleport=`#${i.id}`,()=>t.h(wa,o)}};this.instance=t.createVNode(a),l.appendChild(i),t.render(this.instance,i)}close=()=>{};setDefaultOptions=n=>{};resetDefaultOptions=()=>{}}const Yt=function(e){return new Yh(e)};Yt.install=e=>{e.use(wa),e.config.globalProperties.$dialog=Yt};const{componentName:Xh,create:Qh,scope:vh}=x("infiniteloading"),Gh=Qh({props:{hasMore:{type:Boolean,default:!0},threshold:{type:Number,default:200},pullIcon:{type:String,default:"refresh"},pullClass:{type:String},pullText:{type:String,default:""},loadIcon:{type:String,default:"refresh"},loadClass:{type:String},loadText:{type:String,default:""},loadMoreText:{type:String,default:"..."},useWindow:{type:Boolean,default:!0},containerId:{type:String,default:""},useCapture:{type:Boolean,default:!1},isOpenRefresh:{type:Boolean,default:!1}},emits:["scroll-change","load-more","refresh"],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=ee.useFoxI18n(vh),r=l(e,["pullText","loadText","loadMoreText"]),i=t.reactive({scrollEl:window,scroller:null,refreshTop:null,beforeScrollTop:0,isTouching:!1,isInfiniting:!1,refreshMaxH:0,y:0,x:0,distance:0}),a=t.computed(()=>({[Xh]:!0})),s=t.computed(()=>({height:i.distance<0?"0px":`${i.distance}px`,transition:i.isTouching?"height 0s cubic-bezier(0.25,0.1,0.25,1)":"height 0.2s cubic-bezier(0.25,0.1,0.25,1)"})),c=()=>window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(S){window.setTimeout(S,1e3/60)},m=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,f=S=>S?S.offsetTop+f(S.offsetParent):0,u=()=>{let S=0,N=0,B="down";const E=m();if(e.useWindow)i.scroller&&(S=f(i.scroller)+i.scroller.offsetHeight-E-window.innerHeight),N=E;else{const{scrollHeight:A,clientHeight:T,scrollTop:M}=i.scrollEl;S=A-T-M,N=M}return i.beforeScrollTop>N?B="up":B="down",i.beforeScrollTop=N,n("scroll-change",N),S<=e.threshold&&B=="down"},g=()=>{i.isInfiniting=!1},C=()=>{c()(()=>{if(!u()||!e.hasMore||i.isInfiniting)return!1;i.isInfiniting=!0,n("load-more",g)})},b=()=>{i.scrollEl.addEventListener("scroll",C,e.useCapture)},h=()=>{i.distance=0,i.isTouching=!1},k=S=>{if(i.beforeScrollTop==0&&!i.isTouching&&e.isOpenRefresh){i.y=S.touches[0].pageY,i.isTouching=!0;const N=i.refreshTop.firstElementChild.offsetHeight;i.refreshMaxH=Math.floor(N*1+10)}},d=S=>{i.distance=S.touches[0].pageY-i.y,i.distance>0&&i.isTouching?(S.preventDefault(),i.distance>=i.refreshMaxH&&(i.distance=i.refreshMaxH)):(i.distance=0,i.isTouching=!1)},p=()=>{i.distance<i.refreshMaxH?i.distance=0:n("refresh",h)},w=S=>e.containerId?document.querySelector(`#${e.containerId}`):S&&S.parentNode;t.onMounted(()=>{const S=w(i.scroller);i.scrollEl=e.useWindow?window:S,b()}),t.onUnmounted(()=>{i.scrollEl.removeEventListener("scroll",C,e.useCapture)});const y=t.ref(!1);return t.onActivated(()=>{y.value&&(y.value=!1,b())}),t.onDeactivated(()=>{y.value=!0,i.scrollEl.removeEventListener("scroll",C,e.useCapture)}),{...r,classes:a,...t.toRefs(i),touchStart:k,touchMove:d,touchEnd:p,getStyle:s,slots:o}}}),Zh={class:"top-box"},Jh={class:"top-text"},_h={class:"fox-infinite-container"},eg={class:"fox-infinite-bottom"},tg={key:0,class:"bottom-box"},ng={class:"bottom-text"},og={key:0,class:"tips"};function lg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"scroller",onTouchstart:n[0]||(n[0]=(...s)=>e.touchStart&&e.touchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.touchMove&&e.touchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.touchEnd&&e.touchEnd(...s))},[t.createElementVNode("view",{class:"fox-infinite-top",ref:"refreshTop",style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("view",Zh,[t.createVNode(a,{class:t.normalizeClass(["top-img",e.pullClass]),name:e.pullIcon},null,8,["class","name"]),t.createElementVNode("view",Jh,t.toDisplayString(e.pullText),1)])],4),t.createElementVNode("view",_h,[t.renderSlot(e.$slots,"default")]),t.createElementVNode("view",eg,[e.isInfiniting?(t.openBlock(),t.createElementBlock("view",tg,[e.slots.loading?t.renderSlot(e.$slots,"loading",{key:1}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(a,{class:t.normalizeClass(["bottom-img",e.loadClass]),name:e.loadIcon},null,8,["class","name"]),t.createElementVNode("view",ng,t.toDisplayString(e.loadText),1)],64))])):e.hasMore?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.slots.finished?t.renderSlot(e.$slots,"finished",{key:1}):(t.openBlock(),t.createElementBlock("view",og,t.toDisplayString(e.loadMoreText),1))],64))])],34)}const Na=W(Gh,[["render",lg]]),{componentName:dw,create:ag}=x("notify"),rg=ag({components:{[ge.name]:ge},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"},modelVisible:{type:Boolean,default:!1},position:{type:String,default:"top"},isWrapTeleport:{type:Boolean,default:!0},onClose:Function,onClick:Function,unmount:Function},setup(e,{slots:n}){let o=null;const l=t.reactive({mounted:!1});t.onMounted(()=>{});const r=t.ref(e.modelVisible),i=()=>{e.onClick&&e.onClick()},a=()=>{o&&(clearTimeout(o),o=null)},s=()=>{l.mounted=!1},c=()=>{a(),e.duration&&(o=setTimeout(()=>{s()},e.duration))};return e.duration&&c(),t.watch(()=>e.duration,f=>{f&&c()}),{state:l,hide:s,onAfterLeave:()=>{a(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:i,showPopup:r}}});function sg(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=s=>e.showPopup=s),position:e.position,overlay:!1,isWrapTeleport:e.isWrapTeleport},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["fox-notify",`fox-notify--${e.type}`,e.className]),style:t.normalizeStyle({color:e.color,background:e.background}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[e.$slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.msg),1)],64))],6)]),_:3},8,["visible","position","isWrapTeleport"])}const no=W(rg,[["render",sg]]),oo={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:""};let tt=[],bt=[];const Ba=e=>{if(e){const n=document.getElementById(e);bt=bt.filter(o=>o.id!==e),tt=tt.filter(o=>o!==e),n&&document.body.removeChild(n)}else tt.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),bt=[],tt=[]},ig=e=>{const n=document.getElementById(e.id);if(n){const o=bt.find(r=>r.id===e.id);o?e={...oo,...o,...e}:e={...oo,...e};const l=t.createVNode(no,e);return t.render(l,n),l.component.ctx}},Ct=e=>{e.unmount=Ba;let n;if(e.id){if(n=e.id,tt.find(i=>i===e.id))return ig(e)}else n=new Date().getTime()+"";e={...oo,...e},e.id=n,tt.push(e.id),bt.push(e);const o=document.createElement("view");o.id="notify-"+e.id;const l={setup(){return e.teleport=`#notify-${e.id}`,t.onMounted(()=>{setTimeout(()=>{document.body.removeChild(o)},e.duration)}),()=>t.h(no,e)}},r=t.createVNode(l);document.body.appendChild(o),t.render(r,o)},wt=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},lo={text(e,n={}){return wt(e),Ct({...n,msg:e})},primary(e,n={}){return wt(e),Ct({...n,msg:e,type:"primary"})},success(e,n={}){return wt(e),Ct({...n,msg:e,type:"success"})},danger(e,n={}){return wt(e),Ct({...n,msg:e,type:"danger"})},warn(e,n={}){return wt(e),Ct({...n,msg:e,type:"warning"})},hide(){Ba()},install(e){e.use(no),e.config.globalProperties.$notify=lo}},{create:cg}=x("toast"),dg=cg({components:{[se.name]:se},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,default:"20"},icon:{type:String,required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:n}){let o;const l=t.reactive({mounted:!1});t.onMounted(()=>{l.mounted=!0});const r=()=>{o&&(clearTimeout(o),o=null)},i=()=>{l.mounted=!1},a=()=>{r(),e.duration&&(o=setTimeout(()=>{i()},e.duration))},s=()=>{e.closeOnClickOverlay&&(i(),n("close"))};e.duration&&a(),t.watch(()=>e.duration,g=>{g&&a()});const c=t.computed(()=>e.type!=="text"?!0:!!e.icon),m=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]),f=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:i,clickCover:s,hasIcon:c,toastBodyClass:m,toastIconWrapperClass:f,onAfterLeave:()=>{r(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),ug={key:1,class:"fox-toast-title"},fg=["innerHTML"];function mg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[t.createElementVNode("view",{class:"fox-toast-inner",style:t.normalizeStyle({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.toastIconWrapperClass)},[t.createVNode(a,{size:e.iconSize,color:e.iconColor,name:e.icon},null,8,["size","color","name"])],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",ug,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,fg)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const ao=W(dg,[["render",mg]]),ro={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};let nt=[],Nt=[];const Va=e=>{if(e){const n=document.getElementById(e);Nt=Nt.filter(o=>o.id!==e),nt=nt.filter(o=>o!==e),n&&document.body.removeChild(n)}else nt.forEach(n=>{const o=document.getElementById(n);o&&document.body.removeChild(o)}),Nt=[],nt=[]},pg=e=>{const n=document.getElementById(e.id);if(n){const o=Nt.find(r=>r.id===e.id);o?e={...ro,...o,...e}:e={...ro,...e};const l=t.createVNode(ao,e);return t.render(l,n),Vt}},Bt=e=>{e.unmount=Va;let n;if(e.id){if(n=e.id,nt.find(r=>r===e.id))return pg(e)}else n=new Date().getTime()+"";e={...ro,...e},e.id=n,nt.push(e.id),Nt.push(e);const o=document.createElement("div");o.id=e.id;const l=t.createVNode(ao,e);return t.render(l,o),document.body.appendChild(o),Vt},Xt=e=>{if(!e){console.warn("[FoxUI Toast]: msg不能为空");return}},Vt={text(e,n={}){return Xt(e),Bt({...n,type:"text",msg:e})},success(e,n={}){return Xt(e),Bt({icon:"success",...n,msg:e,type:"success"})},fail(e,n={}){return Xt(e),Bt({icon:"failure",...n,msg:e,type:"fail"})},warn(e,n={}){return Xt(e),Bt({icon:"tips",...n,msg:e,type:"warn"})},loading(e,n={}){return Bt({icon:"loading",...n,msg:e,type:"loading"})},hide(e){Va(e)},install(e){e.use(ao),e.config.globalProperties.$toast=Vt}},{componentName:uw,create:hg}=x("audio"),gg=hg({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:{},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n}){const o=t.ref(null),l=t.reactive({currentTime:0,currentDuration:"00:00:00",percent:0,duration:"00:00:00",second:0,hanMuted:e.muted,playing:e.autoplay,handPlaying:!1});t.onMounted(()=>{var b=["webkitVisibilityState","visibilitychange"];try{for(let h=0;h<b.length;h++)document.addEventListener(b[h],()=>{document.hidden?o.value.pause():l.playing&&setTimeout(()=>{o.value.play()},200)})}catch(h){h.message}});const r=b=>{const h=o.value;e.autoplay&&h&&h.paused&&h.play(),l.second=h.duration,l.duration=C(h.duration),n("can-play",b)},i=b=>{l.currentTime=parseInt(b.target.currentTime)},a=()=>{l.currentTime>0&&l.currentTime--,o.value.currentTime=l.currentTime,n("fastBack",l.currentTime)},s=()=>{const b=o.value;l.playing?(b.pause(),l.handPlaying=!1):(b.play(),l.handPlaying=!0),l.playing=!l.playing,n("play",l.playing)},c=()=>{l.currentTime++,o.value.currentTime=l.currentTime,n("forward",l.currentTime)},m=b=>{l.currentDuration=C(b),l.percent=b/l.second*100},f=()=>{l.playing=!1,n("ended")},u=b=>{const h=o.value;h.currentTime=l.second*b/100,n("changeProgress",h.currentTime)},g=()=>{l.hanMuted=!l.hanMuted,n("mute",l.hanMuted)},C=b=>{if(!b)return"00:00:00";let h=parseInt(b),k=Math.floor(h/3600),d=Math.floor((h-k*3600)/60),p=h-k*3600-d*60,w="";return w+=("0"+k.toString()).slice(-2)+":",w+=("0"+d.toString()).slice(-2)+":",w+=("0"+p.toString()).slice(-2),w};return t.watch(()=>l.currentTime,b=>{m(b)}),t.provide("audioParent",{children:[],props:e,audioData:l,handleMute:g,forward:c,fastBack:a,changeStatus:s}),{...t.toRefs(e),...t.toRefs(l),audioRef:o,fastBack:a,forward:c,changeStatus:s,progressChange:u,audioEnd:f,onTimeupdate:i,handleMute:g,onCanplay:r}}}),yg={class:"fox-audio"},kg={key:0,class:"progress-wrapper"},Sg={class:"time"},bg={class:"progress-bar-wrapper"},Cg=t.createElementVNode("div",{class:"custom-button"},null,-1),wg={class:"time"},Ng={key:1,class:"fox-audio-icon"},Bg=["controls","src","preload","autoplay","loop","muted"];function Vg(e,n,o,l,r,i){const a=t.resolveComponent("fox-range"),s=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",yg,[e.type=="progress"?(t.openBlock(),t.createElementBlock("div",kg,[t.createElementVNode("div",Sg,t.toDisplayString(e.currentDuration),1),t.createElementVNode("div",bg,[t.createVNode(a,{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:t.withCtx(()=>[Cg]),_:1},8,["modelValue","onChange"])]),t.createElementVNode("div",wg,t.toDisplayString(e.duration),1)])):t.createCommentVNode("",!0),e.type=="icon"?(t.openBlock(),t.createElementBlock("div",Ng,[t.createElementVNode("div",{class: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?(t.openBlock(),t.createBlock(s,{key:0,name:"service",class:"fox-icon-am-rotate fox-icon-am-infinite"})):t.createCommentVNode("",!0),e.playing?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:1,name:"service"}))],2)])):t.createCommentVNode("",!0),e.type=="none"?(t.openBlock(),t.createElementBlock("div",{key:2,onClick:n[2]||(n[2]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type!="none"?t.renderSlot(e.$slots,"default",{key:3}):t.createCommentVNode("",!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,Bg)])}const Aa=W(gg,[["render",Vg]]),{componentName:fw,create:Ag,scope:Eg}=x("audio-operate"),Tg=Ag({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(Eg),l=t.inject("audioParent"),r=t.reactive(l),i=t.ref(t.useSlots().default);return{...t.toRefs(e),...t.toRefs(r),customSlot:i,t:o}}}),$g={class:"fox-audio-operate"};function Dg(e,n,o,l,r,i){const a=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",$g,[e.type=="back"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[0]=(...s)=>e.fastBack&&e.fastBack(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("back")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="play"?(t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-audio-operate-item",onClick:n[1]||(n[1]=(...s)=>e.changeStatus&&e.changeStatus(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.audioData.playing?`${e.t("pause")}`:`${e.t("start")}`),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="forward"?(t.openBlock(),t.createElementBlock("div",{key:2,class:"fox-audio-operate-item",onClick:n[2]||(n[2]=(...s)=>e.forward&&e.forward(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("forward")),1)]),_:1})),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0),e.type=="mute"?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-audio-operate-item",onClick:n[3]||(n[3]=(...s)=>e.handleMute&&e.handleMute(...s))},[e.customSlot?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,type:e.audioData.hanMuted?"default":"primary",size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("mute")),1)]),_:1},8,["type"])),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)])}const Ea=W(Tg,[["render",Dg]]),{componentName:Ig,create:qg}=x("avatar"),zg=qg({props:{size:{type:String,default:""},shape:{type:String,default:"round"},bgColor:{type:String,default:"#eee"},color:{type:String,default:"#666"},url:{type:String,default:""},alt:{type:String,default:""},icon:{type:String,default:""}},emits:["active-avatar","onError"],setup(e,{emit:n,slots:o}){const{size:l,shape:r,bgColor:i,color:a,icon:s}=t.toRefs(e),c=["large","normal","small"],m=t.inject("avatarGroup",null),f=t.ref(null),u=t.reactive({lightTheme:!1}),g=t.reactive({index:1,showMax:!1,maxIndex:0});t.onMounted(()=>{const S=m?.avatarGroupRef?.value?.children;S&&p(S)});const C=t.computed(()=>({[Ig]:!0,[`fox-avatar-${l.value||m?.props?.size||"normal"}`]:!0,[`fox-avatar-${r.value||m?.props?.shape||"normal"}`]:!0})),b=t.computed(()=>({width:c.indexOf(l.value)>-1?"":`${l.value}px`,height:c.indexOf(l.value)>-1?"":`${l.value}px`,backgroundColor:`${i.value}`,color:`${a.value}`,marginLeft:g.index!=1&&(m?.props?.span?`${m?.props?.span}px`:""),zIndex:m?.props?.zIndex=="right"?`${Math.abs(g.maxIndex-g.index)}`:""})),h=t.computed(()=>({backgroundColor:`${m?.props?.maxBgColor}`,color:`${m?.props?.maxColor}`})),k=t.computed(()=>s.value?s.value:""),d=t.computed(()=>o.default),p=S=>{g.maxIndex=S.length;for(let N=0;N<S.length;N++)S[N]&&S[N].classList&&S[N].classList[0]=="fox-avatar"&&S[N].setAttribute("data-index",N+1);g.index=f?.value?.dataset?.index,g.index==g.maxIndex&&g.index!=m?.props?.maxCount&&(g.showMax=!0)};return{classes:C,styles:b,iconStyles:k,isShowText:d,maxStyles:h,activeAvatar:S=>{n("active-avatar",S)},onError:S=>{n("onError",S)},avatarGroup:m,visible:u,avatarRef:f,...t.toRefs(g)}}}),Mg=["src","alt"],Pg={key:2,class:"text"},Rg={key:1,class:"text"};function Lg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return e.showMax||!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock("view",{key:0,style:t.normalizeStyle(e.showMax?e.maxStyles:e.styles),class:t.normalizeClass(e.classes),onClick:n[1]||(n[1]=(...s)=>e.activeAvatar&&e.activeAvatar(...s)),ref:"avatarRef"},[!e.avatarGroup?.props?.maxCount||e.index<=e.avatarGroup?.props?.maxCount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.url?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.url,alt:e.alt,onError:n[0]||(n[0]=(...s)=>e.onError&&e.onError(...s))},null,40,Mg)):e.icon?(t.openBlock(),t.createBlock(a,{key:1,class:"icon",name:e.iconStyles},null,8,["name"])):t.createCommentVNode("",!0),e.isShowText?(t.openBlock(),t.createElementBlock("view",Pg,[t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.showMax?(t.openBlock(),t.createElementBlock("view",Rg,t.toDisplayString(e.avatarGroup?.props?.maxContent?e.avatarGroup?.props?.maxContent:`+ ${e.maxIndex-e.avatarGroup?.props?.maxCount}`),1)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0)}const Ta=W(zg,[["render",Lg]]),{componentName:Og,create:Fg}=x("avatar-group"),xg=Fg({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:o}){t.toRefs(e);const l=t.ref(null),r=t.ref(0),i=t.computed(()=>({[Og]:!0}));return t.onMounted(()=>{}),t.provide("avatarGroup",{props:e,avatarGroupRef:l,index:r}),{classes:i,avatarGroupRef:l}}});function Ug(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),ref:"avatarGroupRef"},[t.renderSlot(e.$slots,"default")],2)}const $a=W(xg,[["render",Ug]]),{componentName:Kg,create:Hg}=x("list"),jg=Hg({props:{height:{type:[Number],default:50},listData:{type:Array,default:()=>[]},containerHeight:{type:[Number],default:-1}},emits:["scroll","scroll-bottom"],setup(e,{emit:n}){const o=t.ref(null),l=t.reactive({startOffset:0,start:0,list:e.listData.slice()}),r=Ie(e,"containerHeight",C=>C<=0?C:re(C));t.onMounted(()=>{if(r.value==-1){const C=Ne(o.value);r.value=C.height}});const i=t.computed(()=>r.value==-1?0:Math.ceil(r.value/e.height)),a=t.computed(()=>l.start+i.value),s=t.computed(()=>`translate3d(0, ${l.startOffset}px, 0)`),c=t.computed(()=>({[Kg]:!0})),m=t.computed(()=>({width:`${r.value}px`})),f=t.computed(()=>l.list.length*e.height),u=t.computed(()=>l.list.slice(l.start,Math.min(a.value,l.list.length))),g=()=>{const C=o.value?.scrollTop;l.start=Math.floor(C/e.height),a.value>l.list.length&&(n("scroll"),n("scroll-bottom")),l.startOffset=C-C%e.height};return t.watch(()=>e.listData,()=>{l.list=e.listData.slice()}),{...t.toRefs(l),list:o,getTransform:s,listHeight:f,visibleData:u,classes:c,styles:m,handleScrollEvent:g}}});function Wg(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onScrollPassive:n[0]||(n[0]=(...a)=>e.handleScrollEvent&&e.handleScrollEvent(...a)),ref:"list"},[t.createElementVNode("div",{class:"fox-list-phantom",style:t.normalizeStyle({height:e.listHeight+"px"})},null,4),t.createElementVNode("div",{class:"fox-list-container",style:t.normalizeStyle({transform:e.getTransform})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visibleData,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-list-item",style:t.normalizeStyle({height:e.height+"px"}),key:a},[t.renderSlot(e.$slots,"default",{item:a,index:s})],4))),128))],4)],38)}const Da=W(jg,[["render",Wg]]),{create:Yg}=x("progress"),Xg=Yg({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:{tyep:String,default:""},textBackground:{tyep:String,default:""},iconName:{type:String,default:"checked"},iconColor:{type:String,default:"#439422"},isShowPercentage:{type:Boolean,default:!0}},setup(e){const n=!!t.useSlots().default,o=t.ref(e.strokeWidth+"px"),l=t.ref(),r=t.ref(),i=t.computed(()=>({width:e.percentage+"%",background:e.strokeColor||""})),a=t.computed(()=>({color:e.textColor||""}));return{height:o,bgStyle:i,textStyle:a,progressOuter:l,insideText:r,slotDefault:n}}}),Qg={class:"fox-progress"};function vg(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",Qg,[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-outer",[e.showText&&!e.textInside?"fox-progress-outer-part":"",e.size?"fox-progress-"+e.size:""]]),ref:"progressOuter",style:t.normalizeStyle({height:e.height})},[t.createElementVNode("div",{class:t.normalizeClass(["fox-progress-inner",e.status=="active"?"fox-active":""]),style:t.normalizeStyle(e.bgStyle)},[e.showText&&e.textInside&&!e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-progress-text fox-progress-insidetext",ref:"insideText",style:t.normalizeStyle({lineHeight:e.height,left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`,background:e.textBackground||e.strokeColor})},[t.createElementVNode("span",{style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)],4)):t.createCommentVNode("",!0),e.showText&&e.textInside&&e.slotDefault?(t.openBlock(),t.createElementBlock("div",{key:1,ref:"insideText",style:t.normalizeStyle({position:"absolute",top:"50%",left:`${e.percentage}%`,transform:`translate(-${+e.percentage}%,-50%)`})},[t.renderSlot(e.$slots,"default")],4)):t.createCommentVNode("",!0)],6)],6),e.showText&&!e.textInside?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-progress-text",style:t.normalizeStyle({lineHeight:e.height})},[e.status=="active"||e.status==""?(t.openBlock(),t.createElementBlock("span",{key:0,style:t.normalizeStyle(e.textStyle)},t.toDisplayString(e.percentage)+t.toDisplayString(e.isShowPercentage?"%":""),5)):e.status=="icon"?(t.openBlock(),t.createBlock(a,{key:1,size:"16px",name:e.iconName,color:e.iconColor},null,8,["name","color"])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)])}const Ia=W(Xg,[["render",vg]]),{componentName:Gg,create:Zg}=x("circleprogress"),Jg=Zg({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 o=!!t.useSlots().default,l=Math.random().toString(36).slice(-8),r=t.computed(()=>({[Gg]:!0})),i=t.computed(()=>{const f=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${f} 0 90 a 45 45 0 1, ${f} 0 -90`}),a=t.computed(()=>Be(e.color)?`url(#${l})`:e.color),s=t.computed(()=>{let f=283,u=f*Number(e.progress)/100;return{stroke:Be(e.color)?`url(#${l})`:e.color,strokeDasharray:`${u}px ${f}px`}}),c=t.computed(()=>({stroke:e.pathColor})),m=t.computed(()=>{if(!Be(e.color))return;let f=e.color;const u=Object.keys(f).sort((C,b)=>parseFloat(C)-parseFloat(b));let g=[];return u.map((C,b)=>{let h={key:"",value:""};h.key=C,h.value=f[C],g.push(h)}),g});return{classes:r,hoverStyle:s,pathStyle:c,path:i,hoverColor:a,stop:m,slotDefault:o,refRandomId:l}}}),_g={viewBox:"0 0 100 100"},ey=["id"],ty=["offset","stop-color"],ny=["d","stroke-width"],oy=["d","stroke","stroke-linecap","stroke-width"],ly={class:"fox-circleprogress-text"},ay={key:0};function ry(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({height:e.radius*2+"px",width:e.radius*2+"px"})},[(t.openBlock(),t.createElementBlock("svg",_g,[t.createElementVNode("defs",null,[t.createElementVNode("linearGradient",{id:e.refRandomId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.stop,(a,s)=>(t.openBlock(),t.createElementBlock("stop",{key:s,offset:a.key,"stop-color":a.value},null,8,ty))),128))],8,ey)]),t.createElementVNode("path",{class:"fox-circleprogress-path",style:t.normalizeStyle(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,ny),t.createElementVNode("path",{class:"fox-circleprogress-hover",style:t.normalizeStyle(e.hoverStyle),d:e.path,fill:"none",stroke:e.hoverColor,"stroke-linecap":e.strokeLinecap,"stroke-width":e.strokeWidth},null,12,oy)])),t.createElementVNode("div",ly,[t.renderSlot(e.$slots,"default"),e.slotDefault?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",ay,t.toDisplayString(e.progress)+"%",1))])],6)}const qa=W(Jg,[["render",ry]]),{componentName:sy,create:iy}=x("noticebar"),cy=iy({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:String,default:""},rightIcon:{type:String,default:""},color:{type:String,default:""},background:{type:String,default:""},delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:null},speed:{type:Number,default:50}},components:{ScrollItem:function(e){return e.item.props.style=e.style,e.item.key=e.key,t.h(e.item)}},emits:["click","close"],setup(e,{emit:n,slots:o}){const l=t.ref(null),r=t.ref(null),i=t.reactive({wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticeBar:!0,animationClass:"",animate:!1,scrollList:[],distance:0,timer:null,keepAlive:!1,isCanScroll:null}),a=t.computed(()=>({[sy]:!0})),s=t.computed(()=>i.isCanScroll==null?e.wrapable:!i.isCanScroll&&!e.wrapable),c=t.computed(()=>e.leftIcon!="close"),m=t.computed(()=>{let B={};return e.color&&(B.color=e.color),e.background&&(B.background=e.background),e.direction=="vertical"&&(B.height=`${e.height}px`),B}),f=t.computed(()=>({animationDelay:(i.firstRound?e.delay:0)+"s",animationDuration:i.duration+"s",transform:`translateX(${i.firstRound?0:i.wrapWidth+"px"})`})),u=t.computed(()=>{let B="";return e.leftIcon&&(B=e.leftIcon),B}),g=t.computed(()=>{let B={};if(e.complexAm)B={transform:`translateY(${i.distance}px)`};else if(i.animate){let E=~~(e.height/e.speed/4);B={transition:`all ${E==0?~~(e.height/e.speed):E}s`,"margin-top":`-${e.height}px`}}return B});t.watch(()=>e.text,B=>{C()}),t.watch(()=>e.list,B=>{i.scrollList=[].concat(B)});const C=B=>{i.showNoticeBar!=!1&&setTimeout(()=>{if(!l.value||!r.value)return;const E=l.value.getBoundingClientRect().width,A=r.value.getBoundingClientRect().width;i.isCanScroll=e.scrollable==null?A>E:e.scrollable,i.isCanScroll,i.isCanScroll?(i.wrapWidth=E,i.offsetWidth=A,i.duration=A/e.speed,i.animationClass="play"):i.animationClass=""},0)},b=B=>{n("click",B)},h=B=>{e.closeMode&&(i.showNoticeBar=!e.closeMode),n("close",B)},k=()=>{i.firstRound=!1,setTimeout(()=>{i.duration=(i.offsetWidth+i.wrapWidth)/e.speed,i.animationClass="play-infinite"},0)},d=()=>{p(),i.timer=setInterval(p,~~(e.height/e.speed/4*1e3)+e.standTime)},p=()=>{i.animate=!0,setTimeout(()=>{i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.animate=!1},~~(e.height/e.speed/4*1e3))},w=()=>{i.timer=setInterval(()=>{let B=100;for(let E=0;E<B;E++)y(E,!(E<B-1))},e.standTime+100*e.speed)},y=(B,E)=>{setTimeout(()=>{i.distance-=e.height/100,E&&(i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.distance=0)},B*e.speed)},S=B=>{n("click",B)},N=()=>{n("close",i.scrollList[0])};return t.onMounted(()=>{e.direction=="vertical"?(o.default?i.scrollList=[].concat(o.default()[0].children):i.scrollList=[].concat(e.list),setTimeout(()=>{e.complexAm?w():d()},e.standTime)):C(e.text)}),t.onActivated(()=>{i.keepAlive&&(i.keepAlive=!1)}),t.onDeactivated(()=>{i.keepAlive=!0,clearInterval(i.timer)}),t.onUnmounted(()=>{clearInterval(i.timer)}),{...t.toRefs(e),...t.toRefs(i),isEllipsis:s,classes:a,iconShow:c,barStyle:m,contentStyle:f,iconBg:u,horseLampStyle:g,wrap:l,content:r,handleClick:b,onClickIcon:h,onAnimationEnd:k,go:S,handleClickIcon:N,slots:o}}}),dy={ref:"wrap",class:"wrap"},uy=["onClick"];function fy(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("ScrollItem");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.direction=="across"?t.withDirectives((t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-noticebar-page",{withicon:e.closeMode,close:e.closeMode,wrapable:e.wrapable}]),style:t.normalizeStyle(e.barStyle),onClick:n[3]||(n[3]=(...c)=>e.handleClick&&e.handleClick(...c))},[e.iconShow?(t.openBlock(),t.createElementBlock("view",{key:0,class:"left-icon",style:t.normalizeStyle({"background-image":`url(${e.iconBg})`})},[t.renderSlot(e.$slots,"left-icon",{},()=>[e.iconBg?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,name:"notice",size:"16",color:e.color},null,8,["color"]))])],4)):t.createCommentVNode("",!0),t.createElementVNode("view",dy,[t.createElementVNode("view",{ref:"content",class:t.normalizeClass(["content",e.animationClass,{"fox-ellipsis":e.isEllipsis}]),style:t.normalizeStyle(e.contentStyle),onAnimationend:n[0]||(n[0]=(...c)=>e.onAnimationEnd&&e.onAnimationEnd(...c)),"on:webkitAnimationEnd":n[1]||(n[1]=(...c)=>e.onAnimationEnd&&e.onAnimationEnd(...c))},[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(e.text),1)])],38)],512),e.closeMode||e.rightIcon?(t.openBlock(),t.createElementBlock("view",{key:1,class:"right-icon",onClick:n[2]||(n[2]=t.withModifiers((...c)=>e.onClickIcon&&e.onClickIcon(...c),["stop"]))},[t.renderSlot(e.$slots,"right-icon",{},()=>[t.createVNode(a,{name:e.rightIcon?e.rightIcon:"close",color:e.color},null,8,["name","color"])])])):t.createCommentVNode("",!0)],6)),[[t.vShow,e.showNoticeBar]]):t.createCommentVNode("",!0),e.scrollList.length>0&&e.direction=="vertical"?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-noticebar-vertical",style:t.normalizeStyle(e.barStyle)},[e.slots.default?(t.openBlock(),t.createElementBlock("view",{key:0,class:"horseLamp_list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(c,m)=>(t.openBlock(),t.createBlock(s,{key:m,style:t.normalizeStyle({height:e.height+"px","line-height":e.height+"px"}),item:c},null,8,["style","item"]))),128))],4)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:"horseLamp_list",style:t.normalizeStyle(e.horseLampStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.scrollList,(c,m)=>(t.openBlock(),t.createElementBlock("li",{class:"horseLamp_list_item",key:m,style:t.normalizeStyle({height:e.height}),onClick:f=>e.go(c)},t.toDisplayString(c),13,uy))),128))],4)),t.createElementVNode("view",{class:"go",onClick:n[4]||(n[4]=c=>!e.slots.rightIcon&&e.handleClickIcon())},[e.slots.rightIcon?t.renderSlot(e.$slots,"rightIcon",{key:0}):e.closeMode?(t.openBlock(),t.createBlock(a,{key:1,type:"cross",color:e.color,size:"11px"},null,8,["color"])):t.createCommentVNode("",!0)])],4)):t.createCommentVNode("",!0)],2)}const za=W(cy,[["render",fy]]),my="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X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xxChFDHKCpKRkyEkFljufOyZal5WhQJxNdna04jCeUMcevuGXLgDlRZpjUBEL+MEpl+7zrnrft8lnLNGDONJGCSvRneJjEbCBEK6klqm8BIVo5ymhBJfNAE0X0Kymip7QStUE3fqKblBLVpxMpRDs1hiMcmvMT/biJnNKYn+jHqFNOyTxgNiinZB4oOZRTMg/IvZRPfRTRk40Cj37S95s9OyYCGIShALrVQIVgBAMVUQsdGBgqgKGHCRz2GEBDhvc05PJzPwTVxpa6np+o+lhK9jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:mw,create:gy,scope:yy}=x("empty"),ky={empty:my,error:py,network:hy},Sy=gy({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=ee.useFoxI18n(yy),o=n(e,["description"]),{image:l,imageSize:r}=t.toRefs(e),i=t.computed(()=>r.value?typeof r.value=="number"?`width:${r.value}px;height:${r.value}px`:`width:${r.value};height:${r.value}`:""),s=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:ky[l.value];return{...o,imageUrl:s,imgStyle:i}}}),by={class:"fox-empty"},Cy=["src"],wy={key:1,class:"fox-empty-description"};function Ny(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",by,[t.createElementVNode("view",{class:"fox-empty-image",style:t.normalizeStyle(e.imgStyle)},[e.$slots.image?t.renderSlot(e.$slots,"image",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.imageUrl?(t.openBlock(),t.createElementBlock("img",{key:0,class:"img",src:e.imageUrl},null,8,Cy)):t.createCommentVNode("",!0)],64))],4),e.$slots.description?t.renderSlot(e.$slots,"description",{key:0}):(t.openBlock(),t.createElementBlock("view",wy,t.toDisplayString(e.description),1)),e.$slots.default?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])}const Ma=W(Sy,[["render",Ny]]),{create:By,scope:Vy}=x("video"),Ay=By({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"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(Vy),l=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}),r=t.ref(null),i=t.computed(()=>e.options.disabled);t.watch(()=>e.source,y=>{y.src&&t.nextTick(()=>{l.videoElm.load()})}),t.watch(()=>e.options,y=>{l.state.isMuted=y?y.muted:!1},{immediate:!0});const a=()=>{l.videoElm=r.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)),g(),l.showToolbox?s():(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",f))},s=()=>{const y=r.value,S=r.value.getElementsByClassName("progress")[0];l.player.$player=y,l.progressBar.progressElm=S,l.progressBar.pos=S.getBoundingClientRect(),l.videoSet.progress.width=Math.round(S.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",()=>{m()}),l.videoElm.addEventListener("ended",f),n("play",l.videoElm)}catch{u()}else l.videoElm.pause(),n("pause",l.videoElm)},m=()=>{l.videoSet.loaded&&(l.videoSet.loaded=l.videoElm.buffered.end(0)/l.videoElm.duration*100)},f=()=>{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)},u=()=>{l.state.isError=!0},g=()=>{l.state.vol=e.options.volume},C=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},b=()=>{},h=y=>{let N=y.targetTouches[0].pageX-l.progressBar.pos.left;N<=0&&(N=0),N>=l.videoSet.progress.width&&(N=l.videoSet.progress.width),l.videoSet.progress.current=N;let B=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},k=y=>{let N=y.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=N;let B=N/l.videoSet.progress.width;l.videoElm.duration&&d(B,l.videoElm.duration)},d=(y,S)=>{l.videoElm.currentTime=Math.floor(y*S)},p=()=>{l.state.isError=!1,a()},w=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return t.onMounted(()=>{a()}),{root:r,...t.toRefs(e),...t.toRefs(l),handleError:u,isDisabled:i,play:c,handleMuted:C,touchSlidSrart:b,touchSlidMove:h,touchSlidEnd:k,retry:p,fullScreen:w,t:o}}}),Ey={class:"fox-video",ref:"videocon"},Ty=["muted","autoplay","loop","poster","controls","preload"],$y=["src","type"],Dy={class:"current-time"},Iy={class:"progress-container"},qy={class:"progress",ref:"progressBar"},zy=[t.createElementVNode("div",{class:"move-handle"},null,-1)],My={class:"played",ref:"playedBar"},Py={class:"duration-time"},Ry={class:"fox-video-error"},Ly={class:"lose"};function Oy(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",Ey,[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]=(...a)=>e.handleError&&e.handleError(...a))},[t.createElementVNode("source",{src:e.source.src,type:e.source.type},null,8,$y)],40,Ty),e.showToolbox&&!e.isDisabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"playing-mask",ref:"touchMask",onClick:n[1]||(n[1]=(...a)=>e.play&&e.play(...a))},null,512)):t.createCommentVNode("",!0),e.showToolbox&&!e.isDisabled?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:1,class:"fox-video-play-btn",ref:"palyBtn",onClick:n[2]||(n[2]=(...a)=>e.play&&e.play(...a))},null,512)),[[t.vShow,!e.state.playing]]):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["fox-video-controller",{"show-control":!e.state.playing,"hide-control":e.state.playing}])},[t.createElementVNode("div",{class:"control-play-btn",onClick:n[3]||(n[3]=(...a)=>e.play&&e.play(...a))}),t.createElementVNode("div",Dy,t.toDisplayString(e.videoSet.displayTime),1),t.createElementVNode("div",Iy,[t.createElementVNode("div",qy,[t.createElementVNode("div",{class:"buffered",style:t.normalizeStyle({width:`${e.videoSet.loaded}%`})},null,4),t.createElementVNode("div",{class:"video-ball",style:t.normalizeStyle({transform:`translate3d(${e.videoSet.progress.current}px, -50%, 0)`}),onTouchmove:n[4]||(n[4]=t.withModifiers(a=>e.touchSlidMove(a),["stop","prevent"])),onTouchstart:n[5]||(n[5]=t.withModifiers(a=>e.touchSlidSrart(a),["stop"])),onTouchend:n[6]||(n[6]=t.withModifiers(a=>e.touchSlidEnd(a),["stop"]))},zy,36),t.createElementVNode("div",My,null,512)],512)]),t.createElementVNode("div",Py,t.toDisplayString(e.videoSet.totalTime),1),t.createElementVNode("div",{class:t.normalizeClass(["volume",{muted:e.state.isMuted}]),onClick:n[7]||(n[7]=(...a)=>e.handleMuted&&e.handleMuted(...a))},null,2),t.createElementVNode("div",{class:"fullscreen-icon",onClick:n[8]||(n[8]=(...a)=>e.fullScreen&&e.fullScreen(...a))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),t.withDirectives(t.createElementVNode("div",Ry,[t.createElementVNode("p",Ly,t.toDisplayString(e.t("errorTip")),1),t.createElementVNode("p",{class:"retry",onClick:n[9]||(n[9]=(...a)=>e.retry&&e.retry(...a))},t.toDisplayString(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}const ot=W(Ay,[["render",Oy]]),{create:Fy,componentName:xy}=x("steps"),Pa=Fy({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:o}){const l=t.reactive({children:[]}),r=t.computed(()=>{const s=xy;return{[s]:!0,[`${s}-${e.direction}`]:!0,[`${s}-dot`]:!!e.progressDot}}),i=s=>{s&&l.children.push(s)},a=s=>{n("click-step",s)};return t.provide("parent",{relation:i,state:l,props:e,onEmit:a}),()=>t.h("view",{class:r.value},o.default?.())}}),{create:Uy,componentName:Ky}=x("step"),Hy=Uy({props:{title:{type:String,default:""},content:{type:String,default:""},icon:{type:String,default:null},iconColor:{type:String,default:""},size:{type:[String,Number],default:"12px"}},emits:["click-step"],setup(e,{emit:n,slots:o}){const{proxy:l}=t.getCurrentInstance(),r=t.inject("parent");r.relation(l);const i=t.reactive({dot:r.props.progressDot}),a=t.computed(()=>r.state.children.indexOf(l)+1),s=()=>{const u=a.value;return u<+r.props.current?"finish":u===+r.props.current?"process":"wait"},c=t.computed(()=>s()),m=t.computed(()=>{const u=Ky;return{[u]:!0,[`${u}-${c.value}`]:!0}}),f=()=>{r.onEmit(a.value)};return{...t.toRefs(i),index:a,classes:m,handleClickStep:f}}}),jy={class:"fox-step-head"},Wy=t.createElementVNode("view",{class:"fox-step-line"},null,-1),Yy={key:2,class:"fox-step-inner"},Xy={class:"fox-step-main"},Qy={class:"fox-step-title"},vy={key:0},Gy={key:0,class:"fox-step-content"},Zy=["innerHTML"];function Jy(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClickStep&&e.handleClickStep(...s))},[t.createElementVNode("view",jy,[Wy,t.createElementVNode("view",{class:t.normalizeClass(["fox-step-icon",[e.dot?"":e.icon?"is-icon":"is-text"]])},[e.icon?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-step-icon-inner",color:e.iconColor,name:e.icon,size:e.size},null,8,["color","name","size"])):e.dot?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[],64)):(t.openBlock(),t.createElementBlock("view",Yy,t.toDisplayString(e.index),1))],2)]),t.createElementVNode("view",Xy,[t.createElementVNode("view",Qy,[e.$slots.title?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",vy,t.toDisplayString(e.title),1)),t.renderSlot(e.$slots,"title")]),e.content||e.$slots.content?(t.openBlock(),t.createElementBlock("view",Gy,[e.$slots.content?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:e.content},null,8,Zy)),t.renderSlot(e.$slots,"content")])):t.createCommentVNode("",!0)])],2)}const Ra=W(Hy,[["render",Jy]]),La=5;function _y(){const e=t.reactive({startX:0,startY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""}),n=(i,a)=>i>a&&i>La?"horizontal":a>i&&a>La?"vertical":"",o=()=>{e.startX=0,e.startY=0,e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction=""};return{state:e,start:i=>{o(),e.startX=i.touches[0].clientX,e.startY=i.touches[0].clientY},reset:o,move:i=>{e.deltaX=i.touches[0].clientX-e.startX,e.deltaY=i.touches[0].clientY-e.startY,e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.direction||(e.direction=n(e.offsetX,e.offsetY))}}}const{create:ek,componentName:Oa}=x("swiper"),tk=ek({props:{width:{type:[Number,String],default(){}},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},isCenter:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:n,slots:o}){const l=t.ref(),r=t.reactive({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:0,children:[],childrenVNode:[],style:{}}),i=_y(),a=t.computed(()=>({[Oa]:!0})),s=t.computed(()=>e.direction==="vertical"),c=t.computed(()=>s.value?i.state.deltaY:i.state.deltaX),m=t.computed(()=>i.state.direction===e.direction),f=t.computed(()=>r.children.length),u=t.computed(()=>r[s.value?"height":"width"]),g=t.computed(()=>f.value*u.value),C=t.computed(()=>r.rect?(s.value?r.rect.height:r.rect.width)-u.value*f.value:0),b=t.computed(()=>(r.active+f.value)%f.value),h=()=>{let q=0;if(!e.isCenter)q=r.offset;else{let I=s.value?r.rect.height-u.value:r.rect.width-u.value;q=r.offset+(r.active===f.value-1?-I/2:I/2)}r.style={transitionDuration:`${r.moving?0:e.duration}ms`,transform:`translate${s.value?"Y":"X"}(${q}px)`,[s.value?"height":"width"]:`${u.value*f.value}px`,[s.value?"width":"height"]:`${s.value?r.width:r.height}px`}},k=q=>{let I=[],L=o?.default?.();if(L=L.filter(V=>V.children&&Array.isArray(V.children)),L.forEach(V=>{I=I.concat(V.children)}),!r.childrenVNode.length)r.childrenVNode=I.slice(),q.proxy&&r.children.push(q.proxy);else if(r.childrenVNode.length>I.length)r.children=r.children.filter(V=>q.proxy!==V);else if(r.childrenVNode.length<I.length){for(let V=0;V<r.childrenVNode.length;V++)if(I[V].key!==r.childrenVNode[V].key){q.proxy&&r.children.splice(V,0,q.proxy),q.vnode&&r.childrenVNode.splice(V,0,q.vnode);break}r.childrenVNode.length!==I.length&&(q.proxy&&r.children.push(q.proxy),q.vnode&&r.childrenVNode.push(q.vnode))}else r.childrenVNode=I.slice(),q.proxy&&r.children.push(q.proxy)},d=(q,I,L)=>Math.min(Math.max(q,I),L),p=q=>{window.requestAnimationFrame.call(window,q)},w=(q,I=0)=>{let L=q*u.value;e.loop||(L=Math.min(L,-C.value));let V=I-L;return e.loop||(V=d(V,C.value,0)),V},y=q=>{const{active:I}=r;return q?e.loop?d(I+q,-1,f.value):d(I+q,0,f.value-1):I},S=({pace:q=0,offset:I=0,isEmit:L=!1})=>{if(f.value<=1)return;const{active:V}=r,O=y(q),F=w(O,I);if(e.loop){if(r.children[0]&&F!==C.value){const $=F<C.value;r.children[0].setOffset($?g.value:0)}if(r.children[f.value-1]&&F!==0){const $=F>0;r.children[f.value-1].setOffset($?-g.value:0)}}r.active=O,r.offset=F,L&&V!==r.active&&n("change",b.value),h()},N=()=>{r.moving=!0,r.active<=-1&&S({pace:f.value}),r.active>=f.value&&S({pace:-f.value})},B=()=>{clearTimeout(r.autoplayTimer)},E=()=>{N(),i.reset(),p(()=>{p(()=>{r.moving=!1,S({pace:-1,isEmit:!0})})})},A=()=>{N(),i.reset(),p(()=>{p(()=>{r.moving=!1,S({pace:1,isEmit:!0})})})},T=q=>{N(),i.reset(),p(()=>{p(()=>{r.moving=!1;let I;e.loop&&f.value===q?I=r.active===0?0:q:I=q%f.value,S({pace:I-r.active,isEmit:!0})})})},M=()=>{e.autoPlay<=0||f.value<=1||(B(),r.autoplayTimer=setTimeout(()=>{A(),M()},Number(e.autoPlay)))},H=(q=+e.initPage)=>{B(),r.rect=l.value.getBoundingClientRect(),q=Math.min(f.value-1,q),r.width=e.width?+e.width:r.rect.width,r.height=e.height?+e.height:r.rect.height,r.active=q,r.offset=w(r.active),r.moving=!0,h(),M()},U=q=>{e.isPreventDefault&&q.preventDefault(),e.isStopPropagation&&q.stopPropagation(),e.touchable&&(i.start(q),r.touchTime=Date.now(),B(),N())},P=q=>{e.touchable&&r.moving&&(i.move(q),m.value&&S({offset:c.value}))},D=q=>{if(!e.touchable||!r.moving)return;const I=c.value/(Date.now()-r.touchTime);if((Math.abs(I)>.3||Math.abs(c.value)>+(u.value/2).toFixed(2))&&m.value){let V=0;const O=s.value?i.state.offsetY:i.state.offsetX;e.loop?V=O>0?c.value>0?-1:1:0:V=-Math[c.value>0?"ceil":"floor"](c.value/u.value),S({pace:V,isEmit:!0})}else c.value&&S({pace:0});r.moving=!1,h(),M()};return t.provide("parent",{props:e,size:u,relation:k}),ut({prev:E,next:A,to:T}),t.onDeactivated(()=>{B()}),t.onBeforeUnmount(()=>{B()}),t.watch(()=>e.initPage,q=>{t.nextTick(()=>{H(Number(q))})}),t.watch(()=>r.children.length,()=>{t.nextTick(()=>{H()})}),t.watch(()=>e.autoPlay,q=>{q>0?M():B()}),{state:r,classes:a,container:l,componentName:Oa,isVertical:s,slots:o,activePagination:b,onTouchStart:U,onTouchMove:P,onTouchEnd:D}}});function nk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{ref:"container",class:t.normalizeClass(e.classes),onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a)),onTouchmove:n[1]||(n[1]=(...a)=>e.onTouchMove&&e.onTouchMove(...a)),onTouchend:n[2]||(n[2]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a)),onTouchcancel:n[3]||(n[3]=(...a)=>e.onTouchEnd&&e.onTouchEnd(...a))},[t.createElementVNode("view",{class:t.normalizeClass({[`${e.componentName}-inner`]:!0,[`${e.componentName}-vertical`]:e.isVertical}),style:t.normalizeStyle(e.state.style)},[t.renderSlot(e.$slots,"default")],6),t.renderSlot(e.$slots,"page"),e.paginationVisible&&!e.slots.page?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass({[`${e.componentName}-pagination`]:!0,[`${e.componentName}-pagination-vertical`]:e.isVertical})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.state.children.length,(a,s)=>(t.openBlock(),t.createElementBlock("i",{style:t.normalizeStyle({backgroundColor:e.activePagination===s?e.paginationColor:"#ddd"}),class:t.normalizeClass({active:e.activePagination===s}),key:s},null,6))),128))],2)):t.createCommentVNode("",!0)],34)}const lt=W(tk,[["render",nk]]),{create:ok,componentName:lk}=x("swiper-item"),ak=ok({setup(e,{slots:n}){const o=t.inject("parent");o.relation(t.getCurrentInstance());const l=t.reactive({offset:0}),r=t.computed(()=>({[lk]:!0})),i=t.computed(()=>{const s={},c=o?.props.direction;return o?.size.value&&(s[c==="horizontal"?"width":"height"]=`${o?.size.value}px`),l.offset&&(s.transform=`translate${c==="horizontal"?"X":"Y"}(${l.offset}px)`),s});return ut({setOffset:s=>{l.offset=s}}),{style:i,classes:r}}});function rk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6)}const at=W(ak,[["render",rk]]),{create:sk}=x("imagepreviewitem"),ik=sk({props:{show:{type:Boolean,default:!1},initNo:Number,image:{type:Object,default:()=>({})},video:{type:Object,default:()=>({})},showIndex:{type:Boolean,default:!0},rootWidth:{type:Number,default:0},rootHeight:{type:Number,default:0},minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},emits:["close","scale"],components:{[ge.name]:ge,[ot.name]:ot,[lt.name]:lt,[at.name]:at,[se.name]:se},setup(e,{emit:n}){const o=t.reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),l=mt(),r=t.computed(()=>{const{rootWidth:T,rootHeight:M}=e,H=M/T;return o.imageRatio>H}),i=t.computed(()=>{const{scale:T,moveX:M,moveY:H,moving:U,zooming:P}=o,D={transitionDuration:P||U?"0s":".3s"};if(T!==1){const q=M/T,I=H/T;D.transform=`scale(${T}, ${T}) translate(${q}px, ${I}px)`}return D}),a=t.computed(()=>{if(o.imageRatio){const{rootWidth:T,rootHeight:M}=e,H=r.value?M/o.imageRatio:T;return Math.max(0,(o.scale*H-T)/2)}return 0}),s=t.computed(()=>{if(o.imageRatio){const{rootWidth:T,rootHeight:M}=e,H=r.value?M:T*o.imageRatio;return Math.max(0,(o.scale*H-M)/2)}return 0}),c=T=>{const{naturalWidth:M,naturalHeight:H}=T.target;o.imageRatio=H/M},m=()=>{f(1),o.moveX=0,o.moveY=0},f=T=>{T=A(T,+e.minZoom,+e.maxZoom+1),T!==o.scale&&(o.scale=T,n("scale",{scale:T,index:e.initNo}))},u=()=>{const T=o.scale>1?1:2;f(T),o.moveX=0,o.moveY=0},g=T=>Math.sqrt((T[0].clientX-T[1].clientX)**2+(T[0].clientY-T[1].clientY)**2);let C,b,h,k,d,p,w;const y=T=>{const{touches:M}=T,{offsetX:H}=l;l.start(T),w=M.length,C=o.moveX,b=o.moveY,p=Date.now(),o.moving=w===1&&o.scale!==1,o.zooming=w===2&&!H.value,o.zooming&&(h=o.scale,k=g(T.touches))},S=T=>{const{touches:M}=T;if(l.move(T),(o.moving||o.zooming)&&E(T,!0),o.moving){const{deltaX:H,deltaY:U}=l,P=H.value+C,D=U.value+b;o.moveX=A(P,-a.value,a.value),o.moveY=A(D,-s.value,s.value)}if(o.zooming&&M.length===2){const H=g(M),U=h*H/k;f(U)}},N=()=>{if(w>1)return;const{offsetX:T,offsetY:M}=l,H=Date.now()-p,U=250,P=5;T.value<P&&M.value<P&&H<U&&(d?(clearTimeout(d),d=null,u()):d=setTimeout(()=>{n("close"),d=null},U))},B=T=>{let M=!1;(o.moving||o.zooming)&&(M=!0,o.moving&&C===o.moveX&&b===o.moveY&&(M=!1),T.touches.length||(o.zooming&&(o.moveX=A(o.moveX,-a.value,a.value),o.moveY=A(o.moveY,-s.value,s.value),o.zooming=!1),o.moving=!1,C=0,b=0,h=1,o.scale<1&&m(),o.scale>e.maxZoom&&(o.scale=+e.maxZoom))),E(T,M),N(),l.reset()},E=(T,M)=>{(typeof T.cancelable!="boolean"||T.cancelable)&&T.preventDefault(),M&&T.stopPropagation()},A=(T,M,H)=>Math.min(Math.max(T,M),H);return t.watch(()=>e.initNo,m),t.watch(()=>e.show,T=>{T||m()}),{...t.toRefs(o),onTouchStart:y,onTouchMove:S,onTouchEnd:B,getDistance:g,imageStyle:i,imageLoad:c}}}),ck=["src"],dk={key:1,class:"fox-imagepreview-box"};function uk(e,n,o,l,r,i){const a=t.resolveComponent("fox-video"),s=t.resolveComponent("fox-swiper-item");return t.openBlock(),t.createBlock(s,{onTouchstart:e.onTouchStart,onTouchmove:e.onTouchMove,onTouchend:e.onTouchEnd,onTouchcancel:e.onTouchEnd},{default:t.withCtx(()=>[e.image&&e.image.src?(t.openBlock(),t.createElementBlock("view",{key:0,style:t.normalizeStyle(e.imageStyle),class:"fox-imagepreview-box"},[t.createElementVNode("img",{src:e.image.src,class:"fox-imagepreview-img",onLoad:n[0]||(n[0]=(...c)=>e.imageLoad&&e.imageLoad(...c))},null,40,ck)],4)):t.createCommentVNode("",!0),e.video&&e.video.source?(t.openBlock(),t.createElementBlock("view",dk,[t.createVNode(a,{source:e.video.source,options:e.video.options},null,8,["source","options"])])):t.createCommentVNode("",!0)]),_:1},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel"])}const fk=W(ik,[["render",uk]]),{create:mk}=x("imagepreview"),pk=mk({props:{show:{type:Boolean,default:!1},images:{type:Array,default:()=>[]},videos:{type:Array,default:()=>[]},contentClose:{type:Boolean,default:!0},initNo:{type:Number,default:1},paginationVisible:{type:Boolean,default:!1},paginationColor:{type:String,default:"#fff"},autoplay:{type:[Number,String],default:0},isWrapTeleport:{type:Boolean,default:!1},showIndex:{type:Boolean,default:!0},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"circle-close"},closeIconPosition:{type:String,default:"top-right"},beforeClose:Function,minZoom:{type:Number,default:1/3},maxZoom:{type:Number,default:3}},emits:["close","change"],components:{[ge.name]:ge,[ot.name]:ot,[lt.name]:lt,[at.name]:at,[se.name]:se,ImagePreviewItem:fk},setup(e,{emit:n}){const o=t.ref(),l=t.reactive({showPop:!1,active:1,maxNo:1,rootWidth:0,rootHeight:0}),r=t.computed(()=>{let f={};return e.closeIconPosition=="top-right"?f.right="10px":f.left="10px",f}),i=function(f){l.active=f+1,n("change",l.active)},a=()=>{if(e.beforeClose){const f=e.beforeClose.apply(null,l.active);$t(f)?f.then(u=>{u&&s()}):f&&s()}else s()},s=()=>{l.showPop=!1,l.active=1,n("close")},c=()=>{a()},m=()=>{setTimeout(()=>{l.rootHeight=o.value.offsetHeight,l.rootWidth=o.value.offsetWidth},100)};return t.watch(()=>e.show,f=>{l.showPop=f,m()}),t.onMounted(()=>{l.active=e.initNo,l.showPop=e.show,l.maxNo=e.images.length+e.videos.length}),{swipeRef:o,...t.toRefs(l),slideChangeEnd:i,onClose:a,handleCloseIcon:c,styles:r}}}),hk={class:"fox-imagepreview",ref:"swipeRef"},gk={key:0,class:"fox-imagepreview-index"};function yk(e,n,o,l,r,i){const a=t.resolveComponent("image-preview-item"),s=t.resolveComponent("fox-swiper"),c=t.resolveComponent("fox-icon"),m=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(m,{"pop-class":"custom-pop",visible:e.showPop,"onUpdate:visible":n[1]||(n[1]=f=>e.showPop=f),isWrapTeleport:e.isWrapTeleport,onClick:e.onClose,style:{width:"100%"},"lock-scroll":""},{default:t.withCtx(()=>[t.createElementVNode("view",hk,[e.showPop?(t.openBlock(),t.createBlock(s,{key:0,"auto-play":e.autoplay,class:"fox-imagepreview-swiper",loop:!0,"is-preventDefault":!1,direction:"horizontal",onChange:e.slideChangeEnd,"init-page":e.initNo>e.maxNo?e.maxNo-1:e.initNo-1,"pagination-visible":e.paginationVisible,"pagination-color":e.paginationColor},{default:t.withCtx(()=>[e.videos.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.videos,(f,u)=>(t.openBlock(),t.createBlock(a,{key:u,video:f,rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active,onClose:e.onClose,maxZoom:e.maxZoom,minZoom:e.minZoom},null,8,["video","rootHeight","rootWidth","show","init-no","onClose","maxZoom","minZoom"]))),128)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(f,u)=>(t.openBlock(),t.createBlock(a,{key:u,image:f,rootHeight:e.rootHeight,rootWidth:e.rootWidth,show:e.showPop,"init-no":e.active,onClose:e.onClose},null,8,["image","rootHeight","rootWidth","show","init-no","onClose"]))),128))]),_:1},8,["auto-play","onChange","init-page","pagination-visible","pagination-color"])):t.createCommentVNode("",!0)],512),e.showIndex?(t.openBlock(),t.createElementBlock("view",gk,t.toDisplayString(e.active)+" / "+t.toDisplayString(e.images.length+e.videos.length),1)):t.createCommentVNode("",!0),e.closeable?(t.openBlock(),t.createElementBlock("view",{key:1,class:"fox-imagepreview-close-icon",onClick:n[0]||(n[0]=(...f)=>e.handleCloseIcon&&e.handleCloseIcon(...f)),style:t.normalizeStyle(e.styles)},[t.createVNode(c,t.mergeProps({name:e.closeIcon},e.$attrs,{color:"#ffffff"}),null,16,["name"])],4)):t.createCommentVNode("",!0)]),_:1},8,["visible","isWrapTeleport","onClick"])}const Fa=W(pk,[["render",yk]]);class kk{show=!1;images=[];initNo=1;paginationVisible=!1;paginationColor="";teleport="body";onClose=()=>{}}class Sk{options=new kk;constructor(n){const o=Object.assign(this.options,n);let l=document.body;const r=o.teleport;r!="body"&&(typeof r=="string"?l=document.querySelector(r):l=o.teleport);const i=document.createElement("view");i.id="imagepreview-"+new Date().getTime();const a={setup(){return o.teleport=`#${i.id}`,()=>t.h(Fa,o)}},s=t.createVNode(a);l.appendChild(i),t.render(s,i)}}const Qt=e=>new Sk(e);Qt.install=e=>{e.use(Fa),e.config.globalProperties.$imagepreview=Qt};const{componentName:hw,create:bk}=x("countup"),Ck=bk({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},machineTrunMore:{type:Number,default:0}},components:{},emits:["click","scroll-end"],setup(e,{emit:n}){const o=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:l,scrolling:r,customBgImg:i,type:a}=t.reactive(e);t.watch(()=>e.customChangeNum,(y,S)=>{c(),C(0)}),t.watch(()=>e.machinePrizeLevel,(y,S)=>{o.prizeLevelTrun=y}),t.watch(()=>e.initNum,(y,S)=>{o.current=y,o.valFlag=!1,s()}),t.watch(()=>e.endNum,(y,S)=>{o.current=e.initNum,o.valFlag=!1,s()});const s=()=>{if(o.valFlag)return!1;l&&(r||i?a!="machine"&&C():(g(),setTimeout(()=>{o.valFlag=!0},300)))},c=()=>{clearInterval(Number(o.timer)),o.timer=null},m=(y,S,N)=>{const B=(y.toString().split(".")[1]||"").length,E=(S.toString().split(".")[1]||"").length,A=Math.pow(10,Math.max(B,E));return N=="-"?Number((y*A-S*A).toFixed(0))/A:Number((y*A+S*A).toFixed(0))/A},f=y=>{let{num_total_len:S,pointNum:N,initDigit1:B,initDigit2:E,sortFlag:A}=o,T=A=="add"||A=="equal"?String(E)[y-(S-N)]:10-Number(String(E)[y-(S-N)]),M=A=="add"||A=="equal"?String(B)[y]:10-Number(String(B)[y]),H=y>S-N-1?-T*100+"%":y<=String(B).length-1?-M*100+"%":0;return H=="-1000%"&&(H=0),H},u=y=>{let{num_total_len:S,pointNum:N,initDigit1:B,initDigit2:E,sortFlag:A}=o,T=String(E)[y-(S-N)];return y>S-N-1?T||0:y<=String(B).length-1?String(B)[y]:0},g=()=>{let{endNum:y,initNum:S,speed:N,toFixed:B}=e,E=setInterval(()=>{S>y?o.current<=y||o.current<=N?(o.current=Number(y.toFixed(B)),clearInterval(E),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))-parseFloat(String(N))).toFixed(B)):o.current>=y?(o.current=Number(y.toFixed(B)),clearInterval(E),n("scroll-end"),o.valFlag=!1):o.current=Number((parseFloat(String(o.current))+parseFloat(String(N))).toFixed(B))},e.during)},C=y=>{let{initNum:S,endNum:N,toFixed:B,customBgImg:E}=e;E&&(S=e.customChangeNum);let A,T,M,H;S!=0?(B!=0&&(S=Number(S.toFixed(B))),String(S).indexOf(".")>-1?(A=String(S).split(".")[0].length,T=String(S).split(".")[1].length):(A=String(S).length,T=0)):(A=1,T=0),N!=0?(B!=0&&(N=Number(N.toFixed(B))),String(N).indexOf(".")>-1?(M=String(N).split(".")[0].length,H=String(N).split(".")[1].length):(M=String(N).length,H=0)):(M=1,H=0);let U=A>=M?A:M,P=T>=H?T:H;o.num_total_len=U+P,o.pointNum=P,S>N?(o.sortFlag="reduce",o.to0_10=[0,9,8,7,6,5,4,3,2,1,0],o.totalCount=m(S,N,"-"),o.numberVal=Number(String(S))):S<N?(o.sortFlag="add",o.to0_10=[0,1,2,3,4,5,6,7,8,9,0],o.totalCount=m(N,S,"-"),o.numberVal=Number(String(N))):o.sortFlag="equal";var D=1;for(let I=0;I<o.pointNum;I++)D*=10;var q=o.numberVal*D;if(o.relNum=q,B!=0&&(o.pointNum=String(o.numberVal).split(".")[1]?String(o.numberVal).split(".")[1].length:0,o.num_total_len=String(q).length),String(S).indexOf(".")>-1){let I=String(S).split(".");o.initDigit1=Number(I[0]),o.initDigit2=Number(I[1])}else o.initDigit1=S,o.initDigit2=0;r&&!E?t.nextTick(()=>{if(o.sortFlag=="equal")return!1;let L=document.getElementsByClassName("numberItem")[o.num_total_len-1];b(L)}):y!==0&&k()},b=y=>{c();var S=1;o.pointNum!=0&&(S=1/Math.pow(10,o.pointNum)),o.timer=setInterval(()=>{h(y),o.totalCount=m(o.totalCount,S,"-"),o.totalCount<=0&&(c(),n("scroll-end"),o.valFlag=!1)},e.during)},h=y=>{let S=y.getAttribute("turn-number"),N;if(o.sortFlag=="add"?N=parseInt(String(S))+1:N=parseInt(String(S))-1>=0?parseInt(String(S))-1:9,y.setAttribute("turn-number",String(N)),(y.style.transition=="none 0s ease 0s"||N==1||!y.style.transition)&&(y.style.transition=`all linear ${e.during}ms`),N==10||o.sortFlag=="reduce"&&N==0){var B=null;y.style.top=`-${o.sortFlag=="add"?N*100:(10-N)*100}%`,y.setAttribute("turn-number","0"),B=setTimeout(()=>{B&&clearTimeout(B),y.style.transition="none",y.style.top="0",N==10&&y.previousSibling&&h(y.previousSibling)},.975*e.during)}else y.style.top=`-${o.sortFlag=="add"?N*100:(10-N)*100}%`;y.style.top=="-100%"&&o.sortFlag=="reduce"&&h(y.previousSibling)},k=()=>{o.pointNum!=0&&Math.pow(10,o.pointNum),t.nextTick(()=>{document.getElementsByClassName("run-number-img")[0].addEventListener("webkitTransitionEnd",()=>{n("scroll-end"),o.valFlag=!1})})},d=()=>{for(o.notPrize=[];o.notPrize.length<3;){var y=Math.floor(Math.random()*e.machinePrizeNum+1);o.notPrize.indexOf(y)==-1&&o.notPrize.push(y)}};xu({machineLuck:()=>{const y=e.machineTrunMore<0?0:e.machineTrunMore;let S=e.numHeight*e.machinePrizeNum;o.prizeLevelTrun<0&&d();for(let N=0;N<e.machineNum;N++)setTimeout(()=>{let B=S*(N+1+parseFloat(String(y)));o.prizeYPrev.length!=0&&(o.prizeY[N]=o.prizeYPrev[N]);let E=o.prizeYPrev[N]?o.prizeYPrev[N]:0,A=B+E+(e.machinePrizeNum-o.prizeLevelTrun+1)*e.numHeight+(S-E);o.prizeLevelTrun<0&&(A+=e.numHeight*o.notPrize[N]),w(N,A,E)},500*N)}});const w=(y,S,N)=>{let B=setInterval(()=>{if(N<=S)N+=10,o.prizeY[y]=parseFloat(String(N));else if(clearInterval(B),B=null,o.finshMachine+=1,o.prizeY[y]=S,o.finshMachine==e.machineNum){let E=e.numHeight*e.machinePrizeNum;o.prizeYPrev=[],JSON.parse(JSON.stringify(o.prizeY)).forEach(T=>{let M=T;for(;M>E;)M-=E;o.prizeYPrev.push(M)}),setTimeout(()=>{o.finshMachine=0,o.prizeLevelTrun<0?(n("scroll-end",!1),o.valFlag=!1):(n("scroll-end",!0),o.valFlag=!1)},130)}},30)};return t.onMounted(()=>{o.current=e.initNum,t.nextTick(()=>{s()})}),t.onUnmounted(()=>{c(),o.timer=null}),{...t.toRefs(o),...t.toRefs(t.reactive(e)),topNumber:f,turnNumber:u}}}),wk={class:"fox-countup"},Nk=["turn-number"];function Bk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",wk,[e.customBgImg!=""?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.type=="machine"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"run-number-machine-img",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.machineNum,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-machine-img-li",ref_for:!0,ref:"run-number-machine-img-li",key:"mImg"+s,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[s]+"px"})},null,4))),128))],4)):(t.openBlock(),t.createElementBlock("view",{key:1,class:"run-number-img",style:t.normalizeStyle({height:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"run-number-img-li",key:"cImg"+s,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(s>e.num_total_len-e.pointNum-1?s==e.num_total_len-e.pointNum?s*1.5:s*1.3:s)+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPosition:"0 "+-(String(e.relNum)[s]*e.numHeight+e.customSpacNum*String(e.relNum)[s])+"px",transition:"all linear "+e.during/10+"ms"})},null,4))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"pointstyl",style:t.normalizeStyle({width:e.numWidth/2+"px",bottom:0,left:e.numWidth*(e.num_total_len-e.pointNum)*1.1+"px",fontSize:"30px"})},".",4)):t.createCommentVNode("",!0)],4))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.scrolling?(t.openBlock(),t.createElementBlock("view",{key:0,class:"run-number",style:t.normalizeStyle({width:e.numWidth*e.num_total_len+e.numWidth/3+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.num_total_len,(a,s)=>(t.openBlock(),t.createElementBlock("view",{ref_for:!0,ref:"numberItem",class:"numberItem",key:a,style:t.normalizeStyle({top:e.topNumber(s),left:e.numWidth*(s>e.num_total_len-e.pointNum-1?s*1.1:s)+"px"}),"turn-number":e.turnNumber(s)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.to0_10,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:"itemSpan",key:"dote"+m,style:t.normalizeStyle({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},t.toDisplayString(c),5))),128))],12,Nk))),128)),e.pointNum>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"pointstyl",style: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)):t.createCommentVNode("",!0)],4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.current),1)],64))],64))])}const xa=W(Ck,[["render",Bk]]),At=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},Ua=e=>{if(!e)return Date.now();let n=e;return n=n>0?+n:n.toString().replace(/\-/g,"/"),new Date(n).getTime()},{componentName:Vk,create:Ak}=x("countdown"),Ek=Ak({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:o}){const l=t.reactive({restTime:0,timer:null,counting:!e.paused&&e.autoStart,handleEndTime:Date.now(),diffTime:0}),r=t.computed(()=>({[Vk]:!0})),i=t.computed(()=>c(l.restTime)),a=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-Ua(e.startTime),l.counting||(l.counting=!0),s()},s=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const C=Date.now()-l.diffTime,b=Math.max(l.handleEndTime-C,0);l.restTime=b,b||(l.counting=!1,u(),n("on-end")),b>0&&s()}}))},c=(C,b)=>{const h=C;let k={d:0,h:0,m:0,s:0,ms:0};const d=1e3,p=60*d,w=60*p,y=24*w;return h>0&&(k.d=h>=d?Math.floor(h/y):0,k.h=Math.floor(h%y/w),k.m=Math.floor(h%w/p),k.s=Math.floor(h%p/d),k.ms=Math.floor(h%d)),b=="custom"?k:m({...k})},m=C=>{let{d:b,h,m:k,s:d,ms:p}=C,w=e.format;if(w.includes("DD")?w=w.replace("DD",At(b)):h+=Number(b)*24,w.includes("HH")?w=w.replace("HH",At(h)):k+=Number(h)*60,w.includes("mm")?w=w.replace("mm",At(k)):d+=Number(k)*60,w.includes("ss")?w=w.replace("ss",At(d)):p+=Number(d)*1e3,w.includes("S")){const y=At(p,3).toString();w.includes("SSS")?w=w.replace("SSS",y):w.includes("SS")?w=w.replace("SS",y.slice(0,2)):w.includes("S")&&(w=w.replace("SS",y.slice(0,1)))}return w},f=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),s(),n("on-restart",l.restTime))},u=()=>{cancelAnimationFrame(l.timer),l.counting=!1,n("on-paused",l.restTime)},g=()=>{e.autoStart||(u(),l.restTime=e.time)};return t.onBeforeMount(()=>{e.autoStart?a():l.restTime=e.time}),t.watch(()=>l.restTime,C=>{let b=c(C,"custom");n("update:modelValue",b),n("input",b)}),t.watch(()=>e.paused,(C,b)=>{b?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),s()),n("on-restart",l.restTime)):l.counting&&u()}),t.watch(()=>e.endTime,C=>{a()}),t.watch(()=>e.startTime,C=>{a()}),{...t.toRefs(e),slots:o,classes:r,getTimeStamp:Ua,start:f,pause:u,renderTime:i,reset:g}}}),Tk=["innerHTML"];function $k(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.slots.default?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock("view",{key:1,class:"fo xcd-block",innerHTML:e.renderTime},null,8,Tk))],2)}const Ka=W(Ek,[["render",$k]]),{create:Dk}=x("badge"),Ik=Dk({props:{value:{type:[String,Number]},max:{type:Number,default:1e4},dot:{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){const n=t.reactive({}),o=t.computed(()=>({top:`${e.top}px`,right:`${e.right}px`,zIndex:e.zIndex,background:e.color})),l=t.computed(()=>{if(e.dot)return;const r=e.value,i=e.max;return typeof r=="number"&&typeof i=="number"&&i<r?`${i}+`:r});return{state:n,stl:o,content:l}}}),qk={class:"fox-badge"},zk={class:"slot-icons"},Mk=["textContent"];function Pk(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",qk,[t.createElementVNode("view",zk,[t.renderSlot(e.$slots,"icons")]),t.renderSlot(e.$slots,"default"),t.withDirectives(t.createElementVNode("view",{textContent:t.toDisplayString(e.content),class:t.normalizeClass(["fox-badge__content sup",{"is-dot":e.dot}]),style:t.normalizeStyle(e.stl)},null,14,Mk),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}const Ha=W(Ik,[["render",Pk]]),{componentName:Rk,create:Lk}=x("tag"),Ok=Lk({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}},emits:["close","click"],setup(e,{emit:n}){const{type:o,color:l,plain:r,round:i,mark:a,textColor:s}=t.toRefs(e);return{classes:t.computed(()=>{const g=Rk;return{[g]:!0,[`${g}--${o.value}`]:o.value,[`${g}--plain`]:r.value,[`${g}--round`]:i.value,[`${g}--mark`]:a.value}}),getStyle:()=>{const g={};return s.value?g.color=s.value:l.value&&r.value&&(g.color=l.value),r.value?(g.background="#fff",g["border-color"]=l.value):l.value&&(g.background=l.value),g},onClose:g=>{g.stopPropagation(),n("close",g)},onClick:g=>{n("click",g)}}}});function Fk(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.getStyle()),onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},[t.renderSlot(e.$slots,"default"),e.closeable?(t.openBlock(),t.createBlock(a,{key:0,class:"fox-tag--close",name:"close",size:"12",onClick:e.onClose},null,8,["onClick"])):t.createCommentVNode("",!0)],6)}const ja=W(Ok,[["render",Fk]]),{componentName:xk,create:Uk}=x("popover"),Kk=Uk({inheritAttrs:!1,components:{[ge.name]:ge,[et.name]:et},props:{...xe,list:{type:Array,default:[]},theme:{type:String,default:"light"},location:{type:String,default:"bottom"}},emits:["update","update:visible","close","choose","openPopover"],setup(e,{emit:n}){const o=t.ref(),l=t.reactive({elWidth:0,elHeight:0}),r=t.ref(e.visible),{theme:i,location:a}=t.toRefs(e),s=t.computed(()=>{const d=xk;return{[d]:!0,[`${d}--${i.value}`]:i.value}}),c=t.computed(()=>{const d="popoverContent";return{[d]:!0,[`${d}--${a.value}`]:a.value}}),m=t.computed(()=>{const d="popoverArrow";return{[d]:!0,[`${d}--${a.value}`]:a.value}});function f(){l.elWidth=o.value.offsetWidth,l.elHeight=o.value.offsetHeight}const u=t.computed(()=>{const d={};return a.value=="top"?(d.bottom=l.elHeight+20+"px",d.left=0+"px"):a.value=="right"?(d.top=0+"px",d.right=-l.elWidth+"px"):a.value=="left"?(d.top=0+"px",d.left=-l.elWidth+"px"):(d.top=l.elHeight+20+"px",d.left=0+"px"),d}),g=t.computed(()=>{const d={};return a.value=="top"?(d.bottom=-20+"px",d.left=l.elWidth/2+"px"):a.value=="right"?(d.top=20+"px",d.left=-20+"px"):a.value=="left"?(d.top=20+"px",d.right=-20+"px"):(d.left=l.elWidth/2+"px",d.top=-20+"px"),d});t.onMounted(()=>{f()}),t.watch(()=>e.visible,d=>{r.value=d});const C=d=>{n("update",d),n("update:visible",d)};return{classes:s,showPopup:r,openPopover:()=>{C(!e.visible),n("open")},popoverContent:c,popoverArrow:m,closePopover:()=>{n("close"),n("update:visible",!1)},chooseItem:(d,p)=>{d.disabled||n("choose",d,p)},getReference:f,reference:o,getStyle:u,getArrowStyle:g}}}),Hk={ref:"reference"},jk=["onClick"],Wk={class:"title-name"};function Yk(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{onClick:n[1]||(n[1]=t.withModifiers((...s)=>e.openPopover&&e.openPopover(...s),["stop"])),class:t.normalizeClass(e.classes)},[t.createElementVNode("div",Hk,[t.renderSlot(e.$slots,"reference")],512),e.showPopup?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("view",{class:"more-background",onClick:n[0]||(n[0]=t.withModifiers((...s)=>e.closePopover&&e.closePopover(...s),["stop"]))}),t.createElementVNode("view",{class:t.normalizeClass(e.popoverContent),style:t.normalizeStyle(e.getStyle)},[t.createElementVNode("view",{class:t.normalizeClass(e.popoverArrow),style:t.normalizeStyle(e.getArrowStyle)},null,6),t.renderSlot(e.$slots,"content"),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.list,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass({"title-item":!0,disabled:s.disabled}),onClick:t.withModifiers(m=>e.chooseItem(s,c),["stop"])},[s.icon?t.renderSlot(e.$slots,"default",{key:0},()=>[t.createVNode(a,{class:"item-img",name:s.icon},null,8,["name"])]):t.createCommentVNode("",!0),t.createElementVNode("view",Wk,t.toDisplayString(s.name),1)],10,jk))),128))],6)],64)):t.createCommentVNode("",!0)],2)}const Wa=W(Kk,[["render",Yk]]),Xk={props:{width:{type:String,default:"100px"},height:{type:String,default:"100px"},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(e){const{avatarShape:n,round:o,avatarSize:l}=t.toRefs(e),r=t.computed(()=>{const s="avatarClass";return{[s]:!0,[`${s}--${n.value}`]:n.value}}),i=s=>({[s]:!0,[`${s}--round`]:o.value}),a=()=>l.value?{width:l.value,height:l.value}:{width:"50px",height:"50px"};return t.onMounted(()=>{}),{avatarShape:n,avatarClass:r,getBlockClass:i,getStyle:a}}},{create:Qk}=x("skeleton"),vk=Qk(Xk),Gk={key:0},Zk={key:1,class:"skeleton"},Jk={key:0,class:"skeleton-animation"},_k={class:"content"};function eS(e,n,o,l,r,i){const a=t.resolveComponent("fox-avatar");return e.loading?(t.openBlock(),t.createElementBlock("view",Zk,[e.animated?(t.openBlock(),t.createElementBlock("view",Jk)):t.createCommentVNode("",!0),t.createElementVNode("view",_k,[e.avatar?(t.openBlock(),t.createBlock(a,{key:0,class:t.normalizeClass(e.avatarClass),shape:e.avatarShape,style:t.normalizeStyle(e.getStyle())},null,8,["class","shape","style"])):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"content-line",style:t.normalizeStyle({width:e.width})},[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.getBlockClass("blockTitle")),style:t.normalizeStyle({height:e.height})},null,6)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Number(e.row),s=>(t.openBlock(),t.createElementBlock("view",{key:s,class:t.normalizeClass(e.getBlockClass("blockLine")),style:t.normalizeStyle({height:e.height})},null,6))),128))],4)])])):(t.openBlock(),t.createElementBlock("view",Gk,[t.renderSlot(e.$slots,"default")]))}const Ya=W(vk,[["render",eS]]),{create:tS}=x("collapse"),nS=tS({props:{active:{type:[String,Number,Array]},accordion:{type:Boolean},titleIcon:{type:String,default:""},titleIconSize:{type:String,default:"16px"},titleIconColor:{type:String,default:""},titleIconPosition:{type:String,default:"left"},icon:{type:String,default:""},iconSize:{type:String,default:"16px"},iconColor:{type:String,default:""},rotate:{type:[String,Number],default:180}},emits:["update:active","change"],setup(e,{emit:n,slots:o}){const l=t.ref(null),r=t.ref([]);t.watch(()=>e.active,(c,m)=>{let f=r.value;Array.from(f).forEach(u=>{typeof c=="number"||typeof c=="string"?c==u.name?u.changeOpen(!0):u.changeOpen(!1):Object.values(c)instanceof Array&&(c.indexOf(Number(u.name))>-1||c.indexOf(String(u.name))>-1?u.changeOpen(!0):u.changeOpen(!1)),u.animation()})}),t.onMounted(()=>{r.value=t.getCurrentInstance().provides.collapseParent.children||[]});const i=c=>{n("update:active",c),n("change",c)},a=c=>{const m=e.active instanceof Object?Object.values(e.active):e.active;let f=-1;m.forEach((u,g)=>{String(u)==String(c)&&(f=g)}),f>-1?m.splice(f,1):m.push(c),i(m)},s=c=>{const{accordion:m,active:f}=e;if(m)return typeof f=="number"||typeof f=="string"?f==c:!1};return t.provide("collapseParent",{children:[],props:e,changeValAry:a,changeVal:i,isExpanded:s}),{collapseDom:l}}}),oS={ref:"collapseDom"};function lS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",oS,[t.renderSlot(e.$slots,"default")],512)}const Xa=W(nS,[["render",lS]]),{create:aS,componentName:rS}=x("collapse-item"),sS=aS({props:{title:{type:String,default:""},subTitle:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[Number,String],default:-1,required:!0},collapseRef:{type:Object}},setup(e,n){const o=t.inject("collapseParent"),l=t.reactive(o),r=t.computed(()=>{const y=rS;return{[y]:!0,[`${y}-icon`]:l.props.icon}});(y=>{y.proxy&&l.children.push(y.proxy)})(t.getCurrentInstance());const a=t.reactive({icon:l.props.icon,iconSize:l.props.iconSize,iconColor:l.props.iconColor,openExpanded:!1,iconStyle:{transform:"rotate(0deg)",marginTop:l.props.iconHeght?"-"+l.props.iconHeght/2+"px":"-10px"}}),s=t.reactive({titleIcon:l.props.titleIcon,titleIconSize:l.props.titleIconSize,titleIconColor:l.props.titleIconColor,titleIconPosition:l.props.titleIconPosition}),c=t.ref(null),m=t.ref(null),f=()=>{const y=document.getElementsByClassName("collapse-wrapper")[0];y&&(y.style.willChange="auto")},u=()=>{const y=c.value,S=m.value;if(!y||!S)return;const N=S.offsetHeight||"auto";if(N){const B=`${N}px`;y.style.willChange="height",y.style.height=a.openExpanded?B:0,l.props.icon&&!a.openExpanded?a.iconStyle.transform="rotate(0deg)":a.iconStyle.transform="rotate("+l.props.rotate+"deg)"}a.openExpanded||f()},g=()=>{a.openExpanded=!a.openExpanded,u()},C=()=>{g(),l.props.icon&&(a.iconStyle.transform="rotate("+l.props.rotate+"deg)")},b=t.computed(()=>e.name),h=()=>{l.props.accordion?t.nextTick(()=>{b.value==l.props.active?g():l.changeVal(b.value)}):(l.changeValAry(String(e.name)),g())},k=y=>{a.openExpanded=y},d=t.computed(()=>l?l.isExpanded(e.name):null);t.watch(d,(y,S)=>{y&&(a.openExpanded=!0)}),t.watch(()=>n?.slots?.default?.(),()=>{setTimeout(()=>{u()},300)});const p=()=>{const{name:y}=e,S=l&&l.props.active;t.nextTick(()=>{typeof S=="number"||typeof S=="string"?y==S&&C():Object.values(S)instanceof Array&&Object.values(S).filter(B=>B==y).length>0&&C()})};t.onMounted(()=>{p()});const w=t.computed(()=>{let y=m.value,S="";return y?.innerText||(S="empty"),S});return{classes:r,emptyContent:w,...t.toRefs(a),...t.toRefs(l.props),...t.toRefs(s),wrapperRef:c,contentRef:m,open:g,toggleOpen:h,changeOpen:k,animation:u}}}),iS={class:"collapse-title"},cS={class:"collapse-title-value"},dS=["innerHTML"],uS={key:0,class:"subTitle"},fS=["innerHTML"],mS={key:0,class:"collapse-extraWrapper"},pS={class:"collapse-extraRender"},hS={class:"collapse-wrapper",ref:"wrapperRef"};function gS(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["collapse-item",{"item-expanded":e.openExpanded},{"fox-collapse-item-disabled":e.disabled}]),onClick:n[0]||(n[0]=(...s)=>e.toggleOpen&&e.toggleOpen(...s))},[t.createElementVNode("view",iS,[t.createElementVNode("view",null,[t.createElementVNode("view",cS,[e.titleIcon?(t.openBlock(),t.createBlock(a,{key:0,name:e.titleIcon,size:e.titleIconSize,color:e.titleIconColor,class:t.normalizeClass([e.titleIconPosition=="left"?"titleIconLeft":"titleIconRight"])},null,8,["name","size","color","class"])):t.createCommentVNode("",!0),e.$slots.mTitle?t.renderSlot(e.$slots,"mTitle",{key:1}):(t.openBlock(),t.createElementBlock("view",{key:2,innerHTML:e.title,class:"collapse-icon-title"},null,8,dS))])])]),e.$slots.sTitle?(t.openBlock(),t.createElementBlock("view",uS,[t.renderSlot(e.$slots,"sTitle")])):(t.openBlock(),t.createElementBlock("view",{key:1,innerHTML:e.subTitle,class:"subTitle"},null,8,fS)),e.icon?(t.openBlock(),t.createBlock(a,{key:2,name:e.icon,size:e.iconSize,color:e.iconColor,class:t.normalizeClass(["collapse-icon",{"col-expanded":e.openExpanded},{"collapse-icon-disabled":e.disabled}]),style:t.normalizeStyle(e.iconStyle)},null,8,["name","size","color","class","style"])):t.createCommentVNode("",!0)],2),e.$slots.extraRender?(t.openBlock(),t.createElementBlock("view",mS,[t.createElementVNode("div",pS,[t.renderSlot(e.$slots,"extraRender")])])):t.createCommentVNode("",!0),t.createElementVNode("view",hS,[t.createElementVNode("view",{class:t.normalizeClass(["collapse-content",e.emptyContent]),ref:"contentRef"},[t.renderSlot(e.$slots,"default")],2)],512)],2)}const Qa=W(sS,[["render",gS]]),yS={setup(e){return()=>t.h("view",{},e.slots[0]?e.slots[0](e.record):e.slots[1](e.record))},props:{slots:Array,record:Object}},kS=(e,n)=>({components:{RenderColumn:yS},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(o,{emit:l,slots:r}){const{t:i}=ee.useFoxI18n(n),a=t.reactive({curData:o.data}),s=t.computed(()=>({[e]:!0})),c=h=>({"fox-table__main__head__tr--border":o.bordered,[`fox-table__main__head__tr--align${h.align?h.align:""}`]:!0}),m=h=>h.stylehead?h.stylehead:"",f=h=>h.stylecolumn?h.stylecolumn:"",u=h=>o.columns.filter(k=>k.key===h)[0],g=h=>{const k=o.columns.filter(d=>d.key===h);return k[0].stylecolumn?k[0].stylecolumn:""},C=h=>{h.sorter&&(l("sorter",h),a.curData=typeof h.sorter=="function"?a.curData.sort(h.sorter):h.sorter==="default"?a.curData.sort():a.curData)},b=()=>o.columns.map(h=>[h.key,h.render]);return t.watch(()=>o.data,h=>{a.curData=h.slice()}),{...t.toRefs(a),classes:s,cellClasses:c,getColumnItem:u,getColumnItemStyle:g,handleSorterClick:C,sortDataItem:b,t:i,stylehead:m,stylecolumn:f}}}),{componentName:SS,create:bS,scope:CS}=x("table"),wS=bS(kS(SS,CS)),NS={class:"fox-table__main__head"},BS={class:"fox-table__main__head__tr"},VS=["onClick"],AS={class:"fox-table__main__body"},ES={key:1},TS={key:0,class:"fox-table__nodata"},$S={key:0,class:"fox-table__nodata__text"},DS={key:1,class:"fox-table__summary"},IS=["innerHTML"];function qS(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("RenderColumn");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",{class:t.normalizeClass(["fox-table__main",{"fox-table__main--striped":e.striped}])},[t.createElementVNode("view",NS,[t.createElementVNode("view",BS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,c=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__head__tr__th",e.cellClasses(c)]),key:c.key,onClick:m=>e.handleSorterClick(c),style:t.normalizeStyle(c.stylehead)},[t.createTextVNode(t.toDisplayString(c.title)+" ",1),t.renderSlot(e.$slots,"icon"),!e.$slots.icon&&c.sorter?(t.openBlock(),t.createBlock(a,{key:0,name:"down-arrow",size:"12px"})):t.createCommentVNode("",!0)],14,VS))),128))])]),t.createElementVNode("view",AS,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.curData,c=>(t.openBlock(),t.createElementBlock("view",{class:"fox-table__main__body__tr",key:c},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.sortDataItem(),([m,f])=>(t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(m))]),key:m,style:t.normalizeStyle(e.getColumnItemStyle(m))},[typeof c[m]=="function"||typeof f=="function"?(t.openBlock(),t.createBlock(s,{key:0,slots:[f,c[m]],record:c},null,8,["slots","record"])):(t.openBlock(),t.createElementBlock("view",ES,t.toDisplayString(c[m]),1))],6))),128))]))),128))])],2),e.curData.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",TS,[t.createElementVNode("div",{class:t.normalizeClass(["fox-table__nodata",{"fox-table__nodata--border":e.bordered}])},[t.renderSlot(e.$slots,"nodata"),e.$slots.nodata?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",$S,t.toDisplayString(e.t("noData")),1))],2)])),e.summary?(t.openBlock(),t.createElementBlock("view",DS,[t.createElementVNode("span",{class:"fox-table__summary__text",innerHTML:e.summary().value},null,8,IS)])):t.createCommentVNode("",!0)],2)}const va=W(wS,[["render",qS]]),{componentName:zS,create:MS}=x("ellipsis"),PS=MS({props:{class:{type:String},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 o=t.ref(null);let l=null,r=0;const i=t.ref(),a=t.reactive({exceeded:!1,expanded:!1}),s=t.computed(()=>{let h=zS;return e.class&&(h=`${h} ${e.class}`),h});t.watch(()=>e.content,(h,k)=>{h!=k&&(l&&document.body.appendChild(l),c())}),t.onMounted(()=>{c()});const c=()=>{if(!o.value)return;const h=window.getComputedStyle(o.value);l=document.createElement("div"),Array.prototype.slice.apply(h).forEach(p=>{l.style.setProperty(p,h.getPropertyValue(p))}),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 d=g(h.lineHeight==="normal"?e.lineHeight:h.lineHeight);r=Math.floor(d*(Number(e.rows)+.5)+g(h.paddingTop)+g(h.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),m()},m=()=>{if(l.offsetHeight<=r)a.exceeded=!1;else{a.exceeded=!0;const h=e.content.length,k=Math.floor((0+h)/2),d=e.direction==="middle"?u([0,k],[k,h]):f(0,h);i.value=d,document.body.removeChild(l)}},f=(h,k)=>{const d=a.expanded?e.collapseText:e.expandText,p=e.content.length;if(k-h<=1)return e.direction==="end"?{leading:e.content.slice(0,h)+e.symbol}:{tailing:e.symbol+e.content.slice(k,p)};const w=Math.round((h+k)/2);return e.direction==="end"?l.innerText=e.content.slice(0,w)+e.symbol+d:l.innerText=d+e.symbol+e.content.slice(w,p),l.offsetHeight<=r?e.direction==="end"?f(w,k):f(h,w):e.direction==="end"?f(h,w):f(w,k)},u=(h,k)=>{const d=a.expanded?e.collapseText:e.expandText,p=e.content.length;if(h[1]-h[0]<=1&&k[1]-k[0]<=1)return{leading:e.content.slice(0,h[0])+e.symbol,tailing:e.symbol+e.content.slice(k[1],p)};const w=Math.floor((h[0]+h[1])/2),y=Math.ceil((k[0]+k[1])/2);return l.innerText=e.content.slice(0,w)+e.symbol+d+e.symbol+e.content.slice(y,p),l.offsetHeight<=r?u([w,h[1]],[k[0],y]):u([h[0],w],[y,k[1]])},g=h=>{if(!h)return 0;const k=h.match(/^\d*(\.\d*)?/);return k?Number(k[0]):0},C=h=>{h==1?(a.expanded=!0,n("change","expand")):(a.expanded=!1,n("change","collapse"))},b=()=>{n("click")};return{...t.toRefs(a),root:o,ellipsis:i,classes:s,clickHandle:C,handleClick:b}}}),RS={key:0},LS={key:1},OS={key:2};function FS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a)),ref:"root"},[e.exceeded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",RS,t.toDisplayString(e.content),1)),e.exceeded&&!e.expanded?(t.openBlock(),t.createElementBlock("view",LS,[t.createTextVNode(t.toDisplayString(e.ellipsis.leading)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis-text",onClick:n[0]||(n[0]=t.withModifiers(a=>e.clickHandle(1),["stop"]))},t.toDisplayString(e.expandText),1)):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.ellipsis.tailing),1)])):t.createCommentVNode("",!0),e.exceeded&&e.expanded?(t.openBlock(),t.createElementBlock("view",OS,[t.createTextVNode(t.toDisplayString(e.content)+" ",1),e.expandText?(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-ellipsis-text",onClick:n[1]||(n[1]=t.withModifiers(a=>e.clickHandle(2),["stop"]))},t.toDisplayString(e.collapseText),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}const Ga=W(PS,[["render",FS]]),{componentName:xS,create:US}=x("animate"),KS=US({props:{type:{type:String,default:""},action:{type:String,default:"initial"},loop:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:n}){const{type:o,loop:l,action:r}=t.toRefs(e),i=t.reactive({clicked:!1});let a=t.computed(()=>({"fox-ani-container":!0,[`${xS}-${o.value}`]:r.value==="initial"||i.clicked?o.value:!1,loop:l.value}));const s=c=>{i.clicked=!0,l.value||setTimeout(()=>{i.clicked=!1},1e3),n("click",c)};return{...t.toRefs(i),classes:a,handleClick:s}}}),HS={class:"fox-animate"};function jS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",HS,[t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[t.renderSlot(e.$slots,"default")],2)])}const Za=W(KS,[["render",jS]]),{componentName:WS,create:YS}=x("watermark"),XS=YS({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 o=t.reactive({base64Url:""}),{zIndex:l,gapX:r,gapY:i,width:a,height:s,rotate:c,image:m,imageWidth:f,imageHeight:u,content:g,fontStyle:C,fontWeight:b,fontColor:h,fontSize:k,fontFamily:d}=e,p=()=>{const y=document.createElement("canvas"),S=window.devicePixelRatio,N=y.getContext("2d"),B=`${(r+a)*S}px`,E=`${(i+s)*S}px`,A=a*S,T=s*S;if(y.setAttribute("width",B),y.setAttribute("height",E),N){if(m){N.translate(A/2,T/2),N.rotate(Math.PI/180*Number(c));const M=new Image;M.crossOrigin="anonymous",M.referrerPolicy="no-referrer",M.src=m,M.onload=()=>{N.drawImage(M,-f*S/2,-u*S/2,f*S,u*S),N.restore(),o.base64Url=y.toDataURL()}}else if(g){N.textBaseline="middle",N.textAlign="center",N.translate(A/2,T/2),N.rotate(Math.PI/180*Number(c));const M=Number(k)*S;N.font=`${C} normal ${b} ${M}px/${T}px ${d}`,N.fillStyle=h,N.fillText(g,0,0),N.restore(),o.base64Url=y.toDataURL()}}else throw new Error("当前环境不支持Canvas")};p(),t.watch(()=>[l,r,i,a,s,c,m,f,u,g,C,b,h,k,d],()=>{p()});const w=t.computed(()=>{const y=WS;return{[y]:!0,[`${y}-full-page`]:e.fullPage}});return{...t.toRefs(o),classes:w}}});function QS(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle({zIndex:e.zIndex,backgroundSize:`${e.gapX+e.width}px`,backgroundImage:`url('${e.base64Url}')`})},null,6)}const Ja=W(XS,[["render",QS]]);function vS(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))}const{componentName:GS,create:ZS}=x("trendarrow"),JS=ZS({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"},iconSize:{type:String,default:"12px"},upIconName:{type:String,default:"triangle-up"},downIconName:{type:String,default:"triangle-down"}},setup(e){const n=t.reactive({rateTrend:e.rate>0}),o=t.computed(()=>({[GS]:!0})),l=t.computed(()=>{const{rate:a,digits:s,showSign:c,showZero:m}=e;n.rateTrend=a>0;const f=Math.abs(a);return!m&&a===0?"--":`${c&&a!==0?n.rateTrend?"+":"-":""}${vS(Number(f),s)}%`}),r=t.computed(()=>{const{dropColor:a,riseColor:s,syncTextColor:c,textColor:m,rate:f}=e;return{color:f===0?m:c?n.rateTrend?s:a:m}}),i=t.computed(()=>{const{dropColor:a,riseColor:s,iconSize:c,upIconName:m,downIconName:f}=e;return{name:n.rateTrend?m:f,color:n.rateTrend?s:a,size:c}});return{...t.toRefs(n),classes:o,calcRate:l,calcStyle:r,calcIconProps:i}}});function _S(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.arrowLeft?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:"fox-trendarrow-icon-before fox-trendarrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)),t.renderSlot(e.$slots,"default",{},()=>[Number(e.rate)!==0?(t.openBlock(),t.createBlock(a,{key:0,size:e.calcIconProps.size,name:e.calcIconProps.name,color:e.calcIconProps.color},null,8,["size","name","color"])):t.createCommentVNode("",!0)]),e.arrowLeft?(t.openBlock(),t.createElementBlock("span",{key:1,class:"fox-trendarrow-icon-after fox-trendarrow-rate",style:t.normalizeStyle(e.calcStyle)},t.toDisplayString(e.calcRate),5)):t.createCommentVNode("",!0)],2)}const _a=W(JS,[["render",_S]]),{componentName:eb,create:tb,scope:nb}=x("address"),ob=tb({inheritAttrs:!1,props:{...xe,modelValue:{type:Array,default:()=>[]},type:{type:String,default:"custom"},customAddressTitle:{type:String,default:""},province:{type:Array,default:()=>[]},city:{type:Array,default:()=>[]},country:{type:Array,default:()=>[]},town:{type:Array,default:()=>[]},isShowCustomAddress:{type:Boolean,default:!0},existAddress:{type:Array,default:()=>[]},existAddressTitle:{type:String,default:""},customAndExistTitle:{type:String,default:""},defaultIcon:{type:String,default:"location2"},selectedIcon:{type:String,default:"Check"},closeBtnIcon:{type:String,default:"circle-close"},backBtnIcon:{type:String,default:"left"},height:{type:[String,Number],default:"200px"},columnsPlaceholder:{type:[String,Array],default:""}},emits:["update:visible","update:modelValue","type","change","selected","close","close-mask","switch-module"],setup(e,{emit:n}){const{localeRef:o,t:l}=ee.useFoxI18n(nb),r=o(e.customAddressTitle,"selectRegion"),i=o(e.existAddressTitle,"deliveryTo"),a=o(e.customAndExistTitle,"chooseAnotherAddress"),s=t.computed(()=>({[eb]:!0})),c=t.ref(null),m=t.ref(null),f=t.ref(e.visible),u=t.ref(e.type),g=t.ref(0),C=t.ref(["province","city","country","town"]),b=t.ref([""]),h=t.computed(()=>e.type==="custom2"),k=V=>{if(!Array.isArray(V))throw new TypeError("params muse be array.");if(!V.length)return[];V.forEach(F=>{if(!F.title){console.error("[FoxUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");return}});const O=[];return V=V.sort((F,$)=>F.title.localeCompare($.title)),V.forEach(F=>{const $=O.findIndex(K=>K.title===F.title);$<=-1?O.push({title:F.title,list:[].concat(F)}):O[$]={title:F.title,list:O[$].list.concat(F)}}),O},d=t.reactive({province:h.value?k(e.province):e.province,city:h.value?k(e.city):e.city,country:h.value?k(e.country):e.country,town:h.value?k(e.town):e.town}),p=t.reactive({province:{},city:{},country:{},town:{}});let w=t.reactive({});const y=t.ref("self"),S=t.ref(20);t.onMounted(()=>{B()});const N=()=>{if(e.modelValue.length>0){g.value=e.modelValue.length-1;for(let V=0;V<e.modelValue.length;V++)if(d[C.value[V]].length==0){g.value=V-1;break}else{const O=e.modelValue[V],F=d[C.value[V]];if(u.value=="custom")p[C.value[V]]=F.filter($=>$.id==O)[0];else if(u.value=="custom2"){let $=[];F.map(K=>{$.push(...K.list)}),p[C.value[V]]=$.filter(K=>K.id==O)[0]}}M()}},B=()=>{let V=l("select"),O=Object.prototype.toString.call(e.columnsPlaceholder||V);O=="[object String]"?b.value=new Array(4).fill(e.columnsPlaceholder||V):O=="[object Array]"&&(b.value=new Array(4).fill(""),b.value.forEach((F,$)=>{e.columnsPlaceholder[$]?b.value[$]=e.columnsPlaceholder[$]:b.value[$]=V}))},E=(V,O)=>V.name||g.value<O?V.name:b.value[O],A=(V="self")=>{e.closeBtnIcon&&(y.value=V=="cross"?"cross":"self",f.value=!1)},T=()=>{y.value="mask"},M=()=>{t.nextTick(()=>{const V=m.value&&m.value.getElementsByClassName("active")[0];if(V){const O=V.offsetLeft;S.value=O||20}})},H=V=>{const O={next:"",value:"",custom:C.value[g.value]};p[C.value[g.value]]=V;for(let F=g.value;F<4;F++)p[C.value[F+1]]={};g.value<3?(g.value=g.value+1,M(),O.next=C.value[g.value],O.value=V,n("change",O)):(A(),n("update:modelValue"))},U=(V,O,F)=>{E(V,F)&&(g.value=F,M())},P=V=>{const O=e.existAddress;let F={};O.forEach(($,K)=>{$&&$.selectedAddress&&(F=$),$.selectedAddress=!1}),V.selectedAddress=!0,w=V,n("selected",F,V,O),A()},D=()=>{for(let V=0;V<C.value.length;V++)p[C.value[V]]={};g.value=0,M()},q=()=>{const V=Object.assign({addressIdStr:"",addressStr:""},p),O={data:{},type:u.value};if(u.value=="custom"||u.value=="custom2"){const{province:F,city:$,country:K,town:R}=V;V.addressIdStr=[F.id||0,$.id||0,K.id||0,R.id||0].join("_"),V.addressStr=[F.name,$.name,K.name,R.name].join(""),O.data=V}else O.data=w;D(),y.value=="self"?n("close",O):n("close-mask",{closeWay:y}),n("update:visible",!1)},I=()=>{u.value=="exist"?u.value="custom":u.value="exist",D(),n("switch-module",{type:u.value})},L=(V,O)=>{H(O)};return t.watch(()=>e.visible,V=>{f.value=V}),t.watch(()=>f.value,V=>{V==!1?q():N()}),t.watch(()=>e.province,V=>{d.province=h.value?k(V):V}),t.watch(()=>e.city,V=>{d.city=h.value?k(V):V}),t.watch(()=>e.country,V=>{d.country=h.value?k(V):V}),t.watch(()=>e.town,V=>{d.town=h.value?k(V):V}),t.watch(()=>e.existAddress,V=>{V.forEach((O,F)=>{O.selectedAddress&&(w=O)})}),{selectRegion:r,deliveryTo:i,chooseAnotherAddress:a,classes:s,showPopup:f,privateType:u,tabIndex:g,tabName:C,regionList:d,selectedRegion:p,selectedExistAddress:w,switchModule:I,closeWay:y,close:q,getTabName:E,nextAreaList:H,regionLine:c,tabRegion:m,lineDistance:S,changeRegionTab:U,selectedExist:P,clickOverlay:T,handClose:A,handleElevatorItem:L,initCustomSelected:N,...t.toRefs(e)}}}),lb={class:"fox-address__header"},ab={class:"fox-address__header__title"},rb={key:0,class:"custom-address"},sb={class:"region-tab",ref:"tabRegion"},ib=["onClick"],cb={class:"region-con"},db={class:"region-group"},ub=["onClick"],fb={key:1,class:"custom-address"},mb={class:"region-tab",ref:"tabRegion"},pb=["onClick"],hb={class:"elevator-group"},gb={key:2,class:"exist-address"},yb={class:"exist-address-group"},kb={class:"exist-ul"},Sb=["onClick"],bb={class:"exist-item-info"},Cb={key:0,class:"exist-item-info-top"},wb={class:"exist-item-info-name"},Nb={class:"exist-item-info-phone"},Bb={class:"exist-item-info-bottom"},Vb={class:"btn"};function Ab(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon"),s=t.resolveComponent("fox-elevator"),c=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(c,{position:"bottom","lock-scroll":e.lockScroll,onClose:e.close,onClickOverlay:e.clickOverlay,onOpen:n[3]||(n[3]=m=>e.closeWay="self"),visible:e.showPopup,"onUpdate:visible":n[4]||(n[4]=m=>e.showPopup=m),isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",lb,[t.createElementVNode("view",{class:"arrow-back",onClick:n[0]||(n[0]=(...m)=>e.switchModule&&e.switchModule(...m))},[t.withDirectives(t.createVNode(a,{name:e.backBtnIcon,color:"#cccccc"},null,8,["name"]),[[t.vShow,e.type=="exist"&&e.privateType=="custom"&&e.backBtnIcon]])]),t.createElementVNode("view",ab,t.toDisplayString(e.privateType=="custom"?e.selectRegion:e.deliveryTo),1),t.createElementVNode("view",{class:"arrow-close",onClick:n[1]||(n[1]=m=>e.handClose("cross"))},[e.closeBtnIcon?(t.openBlock(),t.createBlock(a,{key:0,name:e.closeBtnIcon,color:"#cccccc",size:"18px"},null,8,["name"])):t.createCommentVNode("",!0)])]),e.privateType=="custom"?(t.openBlock(),t.createElementBlock("view",rb,[t.createElementVNode("view",sb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(m,f,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[u==e.tabIndex?"active":""]]),key:u,onClick:g=>e.changeRegionTab(m,f,u)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(m,u)),1)],10,ib))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",cb,[t.createElementVNode("ul",db,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.regionList[e.tabName[e.tabIndex]],(m,f)=>(t.openBlock(),t.createElementBlock("li",{key:f,class:t.normalizeClass(["region-item",[e.selectedRegion[e.tabName[e.tabIndex]].id==m.id?"active":""]]),onClick:u=>e.nextAreaList(m)},[e.selectedRegion[e.tabName[e.tabIndex]].id==m.id?(t.openBlock(),t.createBlock(a,{key:0,class:"region-item-icon",type:"self",name:e.selectedIcon,size:"13px"},null,8,["name"])):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(m.name),1)],10,ub))),128))])])])):e.privateType=="custom2"?(t.openBlock(),t.createElementBlock("view",fb,[t.createElementVNode("view",mb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.selectedRegion,(m,f,u)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["tab-item",[u==e.tabIndex?"active":""]]),key:u,onClick:g=>e.changeRegionTab(m,f,u)},[t.createElementVNode("view",null,t.toDisplayString(e.getTabName(m,u)),1)],10,pb))),128)),t.createElementVNode("view",{class:"region-tab-line",ref:"regionLine",style:t.normalizeStyle({left:e.lineDistance+"px"})},null,4)],512),t.createElementVNode("view",hb,[t.createVNode(s,{height:e.height,"index-list":e.regionList[e.tabName[e.tabIndex]],onClickItem:e.handleElevatorItem},null,8,["height","index-list","onClickItem"])])])):e.privateType=="exist"?(t.openBlock(),t.createElementBlock("view",gb,[t.createElementVNode("div",yb,[t.createElementVNode("ul",kb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.existAddress,(m,f)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass(["exist-item",[m.selectedAddress?"active":""]]),key:f,onClick:u=>e.selectedExist(m)},[t.createVNode(a,{class:"exist-item-icon",type:"self",name:m.selectedAddress?e.selectedIcon:e.defaultIcon,size:"13px"},null,8,["name"]),t.createElementVNode("div",bb,[m.name&&m.phone?(t.openBlock(),t.createElementBlock("div",Cb,[t.createElementVNode("div",wb,t.toDisplayString(m.name),1),t.createElementVNode("div",Nb,t.toDisplayString(m.phone),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",Bb,[t.createElementVNode("view",null,t.toDisplayString(m.provinceName+m.cityName+m.countyName+m.townName+m.addressDetail),1)])])],10,Sb))),128))])]),e.isShowCustomAddress?(t.openBlock(),t.createElementBlock("div",{key:0,class:"choose-other",onClick:n[2]||(n[2]=(...m)=>e.switchModule&&e.switchModule(...m))},[t.createElementVNode("div",Vb,t.toDisplayString(e.chooseAnotherAddress),1)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"bottom")],2)]),_:3},8,["lock-scroll","onClose","onClickOverlay","visible","isWrapTeleport","teleport"])}const er=W(ob,[["render",Ab]]),{componentName:Eb,create:Tb}=x("barrage"),so=Tb({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}},emits:["click"],setup(e,{slots:n}){const o=!!t.useSlots().default,l=t.computed(()=>({[Eb]:!0}));let r=t.ref(document.createElement("div")),i=t.ref(document.createElement("div")),a=0;const s=t.ref(e.danmu),c=t.ref(e.rows),m=t.ref(e.top),f=t.ref(0),u=e.speeds,g=t.ref(0);t.onMounted(()=>{g.value=r.value.offsetWidth,o&&(s.value=n?.default?.()),b()}),t.onUnmounted(()=>{clearInterval(a),a=0}),t.onDeactivated(()=>{clearInterval(a),a=0}),t.watch(()=>e.danmu,d=>{e.danmu.length>0&&(s.value=[...d])});const C=d=>{const p=f.value%s.value.length;!e.loop&&f.value===s.value.length?s.value.splice(s.value.length,0,d):s.value.splice(p,0,d)},b=()=>{clearInterval(a),a=setInterval(()=>{k(),b()},e.frequency)},h=t.ref("0"),k=()=>{if(!e.loop&&f.value>=s.value.length)return;const d=e.loop?f.value%s.value.length:f.value;let p=document.createElement("div");o&&s.value[d]?.el?(p=s.value[d]?.el,p?.classList.contains("dmitem")&&p.classList.remove("dmitem"),p?.classList.contains("move")&&p.classList.remove("move"),p?.classList.add("dmitem")):(p.innerHTML=s.value[d],p.classList.add("dmitem"),i.value.appendChild(p)),t.nextTick(()=>{const w=p.offsetHeight;if(p.classList.add("move"),p.style.animationDuration=`${u}ms`,p.style.top=d%c.value*(w+m.value)+20+"px",!o){const y=p.offsetWidth;p.style.width=y+20+"px"}p.style.setProperty("--move-distance",`-${g.value}px`),h.value="-"+u/1e3*150+"%",p.dataset.index=`${d}`,o||p.addEventListener("animationend",()=>{i.value&&i.value.removeChild(p)}),f.value++})};return{classes:l,danmuList:s,dmBody:r,dmContainer:i,add:C,distance:h}}}),tr=()=>{t.useCssVars(e=>({a8aebf42:e.distance}))},nr=so.setup;so.setup=nr?(e,n)=>(tr(),nr(e,n)):tr;const gw="",$b={key:0,ref:"dmContainer",class:"dmContainer slotContainer"},Db={key:1,ref:"dmContainer",class:"dmContainer"};function Ib(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",{ref:"dmBody",class:t.normalizeClass(e.classes)},[e.$slots.default?(t.openBlock(),t.createElementBlock("div",$b,[t.renderSlot(e.$slots,"default")],512)):(t.openBlock(),t.createElementBlock("div",Db,null,512))],2)}const or=W(so,[["render",Ib]]),{componentName:qb,create:zb,scope:Mb}=x("signature"),Pb=zb({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},reSign:{type:String},confirmText:{type:String}},components:{},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n(Mb),l=o(e,["unSupportTpl","reSign","confirmText"]),r=t.ref(null),i=t.ref(null),a=t.computed(()=>({[qb]:!0,[`${e.customClass}`]:e.customClass})),s=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 d=document.createElement("canvas");return!!(d.getContext&&d.getContext("2d"))},m=()=>{r.value.addEventListener(s.events[0],f,!1)},f=d=>{d.preventDefault(),s.ctx.beginPath(),s.ctx.lineWidth=e.lineWidth,s.ctx.strokeStyle=e.strokeStyle,n("start"),r.value.addEventListener(s.events[1],u,!1),r.value.addEventListener(s.events[2],g,!1),r.value.addEventListener(s.events[3],C,!1)},u=d=>{d.preventDefault();let p=s.isSupportTouch?d.touches[0]:d;n("signing",p);let w=r.value.getBoundingClientRect(),y=p.clientX-w.left,S=p.clientY-w.top;s.ctx.lineTo(y,S),s.ctx.stroke()},g=d=>{d.preventDefault(),n("end"),r.value.removeEventListener(s.events[1],u,!1),r.value.removeEventListener(s.events[2],g,!1)},C=d=>{d.preventDefault(),r.value.removeEventListener(s.events[1],u,!1),r.value.removeEventListener(s.events[2],g,!1)},b=()=>{r.value.addEventListener(s.events[2],g,!1),s.ctx.clearRect(0,0,s.canvasWidth,s.canvasHeight),s.ctx.closePath(),n("clear")},h=()=>{k(r.value)},k=d=>{let p;switch(e.type){case"png":p=d.toDataURL("image/png");break;case"jpg":p=d.toDataURL("image/jpeg",.8);break}b(),n("confirm",d,p)};return t.onMounted(()=>{c()&&(s.ctx=r.value.getContext("2d"),s.canvasWidth=i.value.offsetWidth,s.canvasHeight=i.value.offsetHeight,m())}),{...l,...t.toRefs(s),canvas:r,wrap:i,isCanvasSupported:c,confirm:h,clear:b,classes:a}}}),Rb={class:"fox-signature-inner",ref:"wrap"},Lb=["height","width"],Ob={key:0,class:"fox-signature-unsopport"};function Fb(e,n,o,l,r,i){const a=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.createElementVNode("div",Rb,[t.withDirectives(t.createElementVNode("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,Lb),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",Ob,t.toDisplayString(e.unSupportTpl),1))],512),t.createVNode(a,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=s=>e.clear())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.reSign),1)]),_:1}),t.createVNode(a,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=s=>e.confirm())},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.confirmText),1)]),_:1})],2)}const lr=W(Pb,[["render",Fb]]),{componentName:xb,create:Ub,scope:Kb}=x("timeselect"),Hb=Ub({props:{visible:{type:Boolean,defalut:!1},height:{type:[String],default:"20%"},title:{type:String},currentKey:{type:[Number,String],default:0},currentTime:{type:Array,default:()=>[]},lockScroll:{type:[Boolean],default:!1},isWrapTeleport:{type:Boolean,default:!1}},emits:["update:visible","select"],setup:(e,n)=>{const{toLocaleRefs:o}=ee.useFoxI18n(Kb),l=o(e,["title"]),r=t.computed(()=>({[xb]:!0})),i=t.computed(()=>({width:"100%",height:e.height})),a=t.computed(()=>e.currentKey),s=t.computed(()=>e.currentTime),c=()=>{n.emit("update:visible",!1),n.emit("select",s.value)};return t.provide("currentKey",a),t.provide("currentTime",s),{...l,classes:r,popStyle:i,close:c}}}),jb={class:"fox-timeselect__title"},Wb={class:"fox-timeselect__title__fixed"},Yb={class:"fox-timeselect__content"},Xb={class:"fox-timeselect__content__pannel"},Qb={class:"fox-timeselect__content__detail"};function vb(e,n,o,l,r,i){const a=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(a,{position:"bottom",closeable:"",round:"",isWrapTeleport:e.isWrapTeleport,visible:e.visible,style:t.normalizeStyle(e.popStyle),"lock-scroll":e.lockScroll,onClickOverlay:e.close,onClickCloseIcon:e.close},{default:t.withCtx(()=>[t.createElementVNode("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",jb,[t.createElementVNode("view",Wb,t.toDisplayString(e.title),1)]),t.createElementVNode("view",Yb,[t.createElementVNode("view",Xb,[t.renderSlot(e.$slots,"pannel")]),t.createElementVNode("view",Qb,[t.renderSlot(e.$slots,"detail")])])],2)]),_:3},8,["isWrapTeleport","visible","style","lock-scroll","onClickOverlay","onClickCloseIcon"])}const ar=W(Hb,[["render",vb]]),{componentName:Gb,create:Zb}=x("timepannel"),Jb=Zb({name:"timepannel",props:{name:{type:String,default:""},pannelKey:{type:[Number,String],default:0}},emits:["change"],setup:(e,n)=>{const o=t.inject("currentKey"),l=t.reactive({currentKey:o}),r=t.computed(()=>({[Gb]:!0,"fox-timepannel--curr":l.currentKey==e.pannelKey})),i=a=>{n.emit("change",a)};return{...t.toRefs(l),classes:r,handlePannel:i}}});function _b(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=a=>e.handlePannel(e.pannelKey))},t.toDisplayString(e.name),3)}const rr=W(Jb,[["render",_b]]),{componentName:e0,create:t0}=x("timedetail"),n0=t0({name:"timedetail",props:{times:{type:Array,default:()=>[]},detailKey:{type:[Number,String],default:0}},emits:["select"],setup:(e,n)=>{const o=t.inject("currentKey"),l=t.inject("currentTime"),r=t.reactive({currentKey:o,currentTime:l}),i=t.computed(()=>({[e0]:!0})),a=m=>{let f=r.currentTime.find(u=>u.key==r.currentKey);if(f)return{"fox-timedetail__detail__list__item":!0,"fox-timedetail__detail__list__item--curr":f.list.filter(u=>u===m).length>0}},s=t.computed(()=>e.times.find(m=>m.key==r.currentKey).list),c=m=>{n.emit("select",m)};return{classes:i,...t.toRefs(r),getClass:a,renderData:s,handleTime:c}}}),o0={class:"fox-timedetail__detail fox-timedetail__detail--moring"},l0={class:"fox-timedetail__detail__list"},a0=["onClick"];function r0(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createElementVNode("view",o0,[t.createElementVNode("view",l0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.renderData,a=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.getClass(a)),key:a,onClick:s=>e.handleTime(a)},t.toDisplayString(a),11,a0))),128))])])],2)}const sr=W(n0,[["render",r0]]),{componentName:yw,create:s0,scope:i0}=x("sku-header"),c0=s0({props:{idText:{type:String,default:""},goods:{type:Object,default:{}}},emits:[],setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=ee.useFoxI18n(i0);return{...l(e,["idText"]),getSlots:a=>o[a]}}}),d0={class:"fox-sku-header"},u0=["src"],f0={class:"fox-sku-header-right"},m0={key:3,class:"fox-sku-header-right-extra"};function p0(e,n,o,l,r,i){const a=t.resolveComponent("fox-price");return t.openBlock(),t.createElementBlock("view",d0,[t.createElementVNode("img",{src:e.goods.imagePath},null,8,u0),t.createElementVNode("view",f0,[e.getSlots("sku-header-price")?t.renderSlot(e.$slots,"sku-header-price",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,price:e.goods.price,needSymbol:!0,thousands:!1},null,8,["price"])),e.getSlots("sku-header-extra")?t.renderSlot(e.$slots,"sku-header-extra",{key:2}):t.createCommentVNode("",!0),e.goods.skuId&&!e.getSlots("sku-header-extra")?(t.openBlock(),t.createElementBlock("view",m0,t.toDisplayString(e.idText)+" : "+t.toDisplayString(e.goods.skuId),1)):t.createCommentVNode("",!0)])])}const h0=W(c0,[["render",p0]]),{componentName:kw,create:g0}=x("sku-select"),y0=g0({props:{sku:{type:Array,default:()=>[]}},emits:["selectSku"],setup(e,{emit:n}){const o=t.ref([]);return t.watch(()=>e.sku,r=>{o.value=[].slice.call(r)},{deep:!0}),t.onMounted(()=>{e.sku.length>0&&(o.value=[].slice.call(e.sku))}),{skuInfo:o,changeSaleChild:(r,i,a,s)=>{r.checkFlag||r.disable||n("selectSku",{sku:r,skuIndex:i,parentSku:a,parentIndex:s})}}}}),k0={class:"fox-sku-select"},S0={class:"fox-sku-select-item-title"},b0={class:"fox-sku-select-item-skus"},C0=["onClick"];function w0(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("view",k0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.skuInfo,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-sku-select-item",key:a.id},[t.createElementVNode("view",S0,t.toDisplayString(a.name),1),t.createElementVNode("view",b0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.list,(c,m)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-sku-select-item-skus-sku",[{active:!c.disable&&c.active},{disable:c.disable}]]),onClick:f=>e.changeSaleChild(c,m,a,s),key:c.name},t.toDisplayString(c.name),11,C0))),128))])]))),128))])}const N0=W(y0,[["render",w0]]),{componentName:Sw,create:B0}=x("sku-stepper"),V0=B0({props:{stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},stepperExtraText:{type:[Function,Boolean],default:!1},stepperTitle:{type:String,default:"购买数量"}},emits:["click","changeSku","changeStepper","clickBtnOptions","overLimit","reduce","add"],setup(e,{emit:n}){const o=t.ref(e.stepperMin);return t.onMounted(()=>{o.value=e.stepperMin}),{goodsCount:o,add:c=>{n("add",c)},reduce:c=>{n("reduce",c)},overlimit:(c,m)=>{n("overLimit",{action:m,value:parseInt(o.value+"")})},getExtraText:()=>{const{stepperExtraText:c}=e;return c&&typeof c=="function"?c():""},changeStepper:c=>{o.value=c,n("changeStepper",c)}}}}),A0={class:"fox-sku-stepper"},E0={class:"fox-sku-stepper-title"},T0=["innerHTML"],$0={class:"fox-sku-stepper-count"};function D0(e,n,o,l,r,i){const a=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",A0,[t.createElementVNode("view",E0,t.toDisplayString(e.stepperTitle),1),t.createElementVNode("view",{class:"fox-sku-stepper-limit",innerHTML:e.getExtraText()},null,8,T0),t.createElementVNode("view",$0,[t.createVNode(a,{modelValue:e.goodsCount,"onUpdate:modelValue":n[0]||(n[0]=s=>e.goodsCount=s),min:e.stepperMin,max:e.stepperMax,onAdd:e.add,onReduce:e.reduce,onOverlimit:e.overlimit,onChange:e.changeStepper},null,8,["modelValue","min","max","onAdd","onReduce","onOverlimit","onChange"])])])}const I0=W(V0,[["render",D0]]),{componentName:bw,create:q0}=x("sku-operate"),z0=q0({props:{btnOptions:{type:Array,default:()=>["confirm"]},btnExtraText:{type:String,default:""},buyText:{type:String,default:"立即购买"},addCartText:{type:String,default:"加入购物车"},confirmText:{type:String,default:"确定"}},emits:["click","changeSku","changeBuyCount","clickBtnOperate"],setup(e,{emit:n,slots:o}){return{getBtnDesc:a=>({confirm:e.confirmText,cart:e.addCartText,buy:e.buyText})[a],clickBtnOperate:a=>{n("clickBtnOperate",a)},getSlots:a=>o[a]}}}),M0={key:0,class:"fox-sku-operate"},P0=["innerHTML"],R0={key:1,class:"fox-sku-operate-btn"},L0=["onClick"];function O0(e,n,o,l,r,i){return e.btnOptions.length>0?(t.openBlock(),t.createElementBlock("view",M0,[e.btnExtraText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-sku-operate-desc",innerHTML:e.btnExtraText},null,8,P0)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"operate-btn"),e.getSlots("operate-btn")?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("view",R0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.btnOptions,(a,s)=>(t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass([`fox-sku-operate-btn-${a}`,"fox-sku-operate-btn-item"]),key:s,onClick:c=>e.clickBtnOperate(a)},t.toDisplayString(e.getBtnDesc(a)),11,L0))),128))]))])):t.createCommentVNode("",!0)}const F0=W(z0,[["render",O0]]),{componentName:Cw,create:x0,scope:U0}=x("sku"),K0=x0({props:{...xe,sku:{type:Array,default:[]},goods:{type:Object,default:{}},stepperMax:{type:[Number,String],default:99999},stepperMin:{type:[Number,String],default:1},btnOptions:{type:Array,default:()=>["confirm"]},stepperTitle:{type:String,default:""},stepperExtraText:{type:[Function,Boolean],default:!1},btnExtraText:{type:String,default:""},buyText:{type:String,default:""},addCartText:{type:String,default:""},confirmText:{type:String,default:""}},emits:["update:visible","selectSku","changeStepper","clickBtnOperate","clickCloseIcon","clickOverlay","close","reduce","add","overLimit","click-overlay"],components:{SkuHeader:h0,SkuSelect:N0,SkuStepper:I0,SkuOperate:F0},setup(e,{emit:n,slots:o}){const{toLocaleRefs:l}=ee.useFoxI18n(U0),r=l(e,["confirmText","buyText","stepperTitle","addCartText"]),i=t.ref(e.visible),a=t.ref(e.stepperMin);t.watch(()=>e.visible,k=>{i.value=k}),t.watch(()=>i.value,k=>{k==!1&&h()}),t.onMounted(()=>{});const s=k=>o[k],c=k=>{n("selectSku",k)},m=k=>{a.value=k,n("changeStepper",k)},f=k=>{n("add",k)},u=k=>{n("reduce",k)},g=k=>{n("overLimit",k)},C=k=>{n("clickBtnOperate",{type:k,value:a.value})},b=k=>{k=="icon"&&n("click-close-icon"),k=="overlay"&&n("click-overlay"),k=="close"&&n("close"),i.value=!1},h=()=>{n("update:visible",!1)};return{...r,showPopup:i,closePopup:b,selectSku:c,changeStepper:m,stepperOverLimit:g,clickBtnOperate:C,add:f,reduce:u,getSlots:s}}}),H0={class:"fox-sku"},j0={class:"fox-sku-content"};function W0(e,n,o,l,r,i){const a=t.resolveComponent("sku-header"),s=t.resolveComponent("SkuSelect"),c=t.resolveComponent("sku-stepper"),m=t.resolveComponent("sku-operate"),f=t.resolveComponent("fox-popup");return t.openBlock(),t.createBlock(f,{position:"bottom",closeable:"",round:"",visible:e.showPopup,"onUpdate:visible":n[0]||(n[0]=u=>e.showPopup=u),onClickCloseIcon:n[1]||(n[1]=u=>e.closePopup("icon")),onClickOverlay:n[2]||(n[2]=u=>e.closePopup("overlay")),onClose:n[3]||(n[3]=u=>e.closePopup("close")),style:{height:"75%"},isWrapTeleport:e.isWrapTeleport,teleport:e.teleport},{default:t.withCtx(()=>[t.createElementVNode("view",H0,[t.renderSlot(e.$slots,"sku-header"),e.getSlots("sku-header")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,goods:e.goods},t.createSlots({_:2},[e.getSlots("sku-header-price")?{name:"sku-header-price",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-price")]),key:"0"}:void 0,e.getSlots("sku-header-extra")?{name:"sku-header-extra",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-header-extra")]),key:"1"}:void 0]),1032,["goods"])),t.createElementVNode("view",j0,[t.renderSlot(e.$slots,"sku-select-top"),t.renderSlot(e.$slots,"sku-select"),e.getSlots("sku-select")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,sku:e.sku,onSelectSku:e.selectSku},null,8,["sku","onSelectSku"])),t.renderSlot(e.$slots,"sku-stepper"),e.getSlots("sku-stepper")?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(c,{key:1,goods:e.goods,stepperTitle:e.stepperTitle,stepperMax:e.stepperMax,stepperMin:e.stepperMin,stepperExtraText:e.stepperExtraText,onAdd:e.add,onReduce:e.reduce,onChangeStepper:e.changeStepper,onOverLimit:e.stepperOverLimit},null,8,["goods","stepperTitle","stepperMax","stepperMin","stepperExtraText","onAdd","onReduce","onChangeStepper","onOverLimit"])),t.renderSlot(e.$slots,"sku-stepper-bottom")]),t.createVNode(m,{btnOptions:e.btnOptions,btnExtraText:e.btnExtraText,buyText:e.buyText,addCartText:e.addCartText,confirmText:e.confirmText,onClickBtnOperate:e.clickBtnOperate},t.createSlots({_:2},[e.getSlots("sku-operate")?{name:"operate-btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"sku-operate")]),key:"0"}:void 0]),1032,["btnOptions","btnExtraText","buyText","addCartText","confirmText","onClickBtnOperate"])])]),_:3},8,["visible","isWrapTeleport","teleport"])}const ir=W(K0,[["render",W0]]),{create:Y0}=x("card"),X0=Y0({props:{imgUrl:{type:String,default:""},title:{type:String,default:""},price:{type:String,default:""},vipPrice:{type:String,default:""},shopDesc:{type:String,default:""},delivery:{type:String,default:""},shopName:{type:String,default:""},isNeedPrice:{type:Boolean,default:!0}},setup(e,{emit:n,slots:o}){return{isHaveSlot:r=>o[r]}}}),Q0={class:"fox-card"},v0={class:"fox-card__left"},G0=["src"],Z0={class:"fox-card__right"},J0={class:"fox-card__right__title"},_0={key:0,class:"fox-card__right__price"},eC={class:"fox-card__right__other"},tC={class:"fox-card__right__shop"},nC={class:"fox-card__right__shop__name"};function oC(e,n,o,l,r,i){const a=t.resolveComponent("fox-price"),s=t.resolveComponent("fox-tag");return t.openBlock(),t.createElementBlock("div",Q0,[t.createElementVNode("div",v0,[t.createElementVNode("img",{src:e.imgUrl,alt:""},null,8,G0)]),t.createElementVNode("div",Z0,[t.createElementVNode("div",J0,t.toDisplayString(e.title),1),t.renderSlot(e.$slots,"prolist"),e.isNeedPrice?(t.openBlock(),t.createElementBlock("div",_0,[e.isHaveSlot("price")?t.renderSlot(e.$slots,"price",{key:0}):(t.openBlock(),t.createBlock(a,{key:1,price:e.price},null,8,["price"])),e.isHaveSlot("origin")?t.renderSlot(e.$slots,"origin",{key:2}):(t.openBlock(),t.createBlock(a,{key:3,class:"fox-card__right__price__origin",price:e.vipPrice},null,8,["price"]))])):t.createCommentVNode("",!0),t.createElementVNode("div",eC,[e.isHaveSlot("shop-tag")?t.renderSlot(e.$slots,"shop-tag",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(s,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.shopDesc),1)]),_:1}),t.createVNode(s,{plain:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.delivery),1)]),_:1})],64))]),t.createElementVNode("div",tC,[t.createElementVNode("div",nC,t.toDisplayString(e.shopName),1),t.renderSlot(e.$slots,"footer")])])])}const cr=W(X0,[["render",oC]]),{componentName:ww,create:lC,scope:aC}=x("ecard"),rC=lC({props:{chooseText:{type:String,default:""},otherValueText:{type:String,default:""},dataList:{type:[Object,Array],default:()=>[]},cardAmountMin:{type:Number,default:1},cardAmountMax:{type:Number,default:9999},cardBuyMin:{type:Number,default:1},cardBuyMax:{type:Number,default:9999},modelValue:{type:[Number,String],default:0},placeholder:{type:String,default:""},suffix:{type:String,default:"¥"}},emits:["inputChange","changeStep","inputClick","change","update:modelValue"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(aC),l=t.ref(null),r=t.ref(null),i=t.ref(""),a=t.ref(e.cardAmountMin),s=t.ref(e.modelValue),c=(g,C)=>{l.value=C,a.value=e.cardAmountMin,r.value=g.price,n("change",g),n("update:modelValue",g.price)},m=g=>{let b=g.target.value.replace(/[^\d]/g,"");i.value=b,r.value=b,Number(b)>e.cardAmountMax&&(i.value=e.cardAmountMax,r.value=e.cardAmountMax),Number(b)<e.cardAmountMin&&(i.value=e.cardAmountMin,r.value=e.cardAmountMin),n("inputChange",Number(i.value)),n("update:modelValue",Number(i.value))},f=()=>{l.value="input",a.value=e.cardAmountMin,r.value=i.value,n("update:modelValue",i.value),n("inputClick")},u=g=>{a.value=g,n("changeStep",a.value,r.value)};return t.watch(()=>e.modelValue,g=>{s.value=g}),{handleClick:c,changeStep:u,change:m,inputClick:f,stepValue:a,currentIndex:l,inputValue:i,money:s,t:o}}}),sC={class:"fox-ecard"},iC={class:"fox-ecard__title"},cC={class:"fox-ecard__list"},dC=["onClick"],uC={class:"fox-ecard__list__input--con"},fC=["placeholder"],mC={class:"fox-ecard__list__step"};function pC(e,n,o,l,r,i){const a=t.resolveComponent("fox-inputnumber");return t.openBlock(),t.createElementBlock("view",sC,[t.createElementVNode("view",iC,t.toDisplayString(e.chooseText||e.t("chooseText")),1),t.createElementVNode("view",cC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.dataList,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-ecard__list__item",e.currentIndex==c?"active":""]),onClick:m=>e.handleClick(s,c)},t.toDisplayString(s.price),11,dC))),128)),t.createElementVNode("view",{class:t.normalizeClass(["fox-ecard__list__input",e.currentIndex=="input"?"active":""]),onClick:n[2]||(n[2]=(...s)=>e.inputClick&&e.inputClick(...s))},[t.createElementVNode("view",null,t.toDisplayString(e.otherValueText||e.t("otherValueText")),1),t.createElementVNode("view",uC,[t.withDirectives(t.createElementVNode("input",{class:"fox-ecard__list__input--input",type:"text","onUpdate:modelValue":n[0]||(n[0]=s=>e.inputValue=s),onInput:n[1]||(n[1]=(...s)=>e.change&&e.change(...s)),placeholder:e.placeholder||e.t("placeholder")},null,40,fC),[[t.vModelText,e.inputValue]]),t.createTextVNode(" "+t.toDisplayString(e.suffix),1)])],2),t.createElementVNode("view",mC,[t.createElementVNode("view",null,t.toDisplayString(e.suffix)+t.toDisplayString(e.money),1),t.createVNode(a,{modelValue:e.stepValue,"onUpdate:modelValue":n[3]||(n[3]=s=>e.stepValue=s),min:e.cardBuyMin,max:e.cardBuyMax,onChange:e.changeStep},null,8,["modelValue","min","max","onChange"])])])])}const dr=W(rC,[["render",pC]]),{componentName:Nw,create:hC}=x("item-contents"),gC=hC({props:{name:{type:String,default:""},item:{type:Object,default:{}}},components:{},emits:["delIconClick","editIconClick","itemClick"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n();return{delClick:a=>{n("delIconClick",a,e.item),a.stopPropagation()},editClick:a=>{n("editIconClick",a,e.item),a.stopPropagation()},contentsClick:a=>{n("itemClick",a,e.item),a.stopPropagation()},t:o}}}),Bw="",yC={class:"fox-item-contents__info"},kC={class:"fox-item-contents__info-contact"},SC={class:"fox-item-contents__info-contact-name"},bC={class:"fox-item-contents__info-contact-tel"},CC={key:0,class:"fox-item-contents__info-contact-default"},wC={class:"fox-item-contents__info-handle"},NC={class:"fox-item-contents__addr"};function BC(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("div",{class:"fox-item-contents__contain",onClick:n[0]||(n[0]=(...s)=>e.contentsClick&&e.contentsClick(...s))},[t.createElementVNode("div",yC,[t.createElementVNode("div",kC,[t.renderSlot(e.$slots,"contentTop",{},()=>[t.createElementVNode("div",SC,t.toDisplayString(e.item.addressName),1),t.createElementVNode("div",bC,t.toDisplayString(e.item.phone),1),e.item.defaultAddress?(t.openBlock(),t.createElementBlock("div",CC,t.toDisplayString(e.t("defaultText")),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",wC,[t.renderSlot(e.$slots,"contentIcon",{},()=>[t.createVNode(a,{name:"del",class:"fox-item-contents__info-handle-del",onClick:e.delClick},null,8,["onClick"]),t.createVNode(a,{name:"edit",class:"fox-item-contents__info-handle-edit",onClick:e.editClick},null,8,["onClick"])])])]),t.createElementVNode("div",NC,[t.renderSlot(e.$slots,"contentAddr",{},()=>[t.createTextVNode(t.toDisplayString(e.item.fullAddress),1)])])])}const io=W(gC,[["render",BC]]),{componentName:Vw,create:VC}=x("long-press-shell"),AC=VC({props:{item:{type:Object,default:{}}},emits:["holdingDown","handleDel","handelMask","handleCopy","handleSet","handleDelIcon","handleEditIcon","handleItemContent"],components:{ItemContents:io},setup(e,{emit:n,slots:o}){let l=null;const r=t.ref(!1),i=d=>{l=0,r.value=!0,n("holdingDown",d,e.item)};return{holddownstart:d=>{l=setTimeout(()=>{i(d)},300)},holddownmove:d=>{clearTimeout(l)},holddownend:d=>{clearTimeout(l)},showMaskRef:r,delClick:d=>{l!=0&&(n("handleDel",d,e.item),d.stopPropagation())},copyCLick:d=>{l!=0&&(n("handleCopy",d,e.item),d.stopPropagation())},hideMaskClick:d=>{r.value=!1},setDefault:d=>{l!=0&&(n("handleSet",d,e.item),d.stopPropagation())},maskClick:d=>{l!=0&&(r.value=!1),d.stopPropagation(),d.preventDefault()},delShellClick:(d,p)=>{n("handleDelIcon",d,e.item),d.stopPropagation()},editShellClick:(d,p)=>{n("handleEditIcon",d,e.item),d.stopPropagation()},itemShellClick:(d,p)=>{n("handleItemContent",d,e.item),d.stopPropagation()}}}}),EC={class:"fox-long-press-shell"},TC=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("复制"),t.createElementVNode("br"),t.createTextVNode("地址")],-1)],$C=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("设置"),t.createElementVNode("br"),t.createTextVNode("默认")],-1)],DC=[t.createElementVNode("div",{class:"mask-contain"},[t.createTextVNode("删除"),t.createElementVNode("br"),t.createTextVNode("地址")],-1)];function IC(e,n,o,l,r,i){const a=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",EC,[t.createElementVNode("div",{class:"fox-long-press-shell__contain",onTouchstart:n[4]||(n[4]=(...s)=>e.holddownstart&&e.holddownstart(...s)),onTouchend:n[5]||(n[5]=(...s)=>e.holddownend&&e.holddownend(...s)),onTouchmove:n[6]||(n[6]=(...s)=>e.holddownmove&&e.holddownmove(...s))},[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick"]),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-long-press-shell__contain-mask",onClick:n[3]||(n[3]=(...s)=>e.maskClick&&e.maskClick(...s))},[t.renderSlot(e.$slots,"longpressAll",{},()=>[t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-copy",onClick:n[0]||(n[0]=(...s)=>e.copyCLick&&e.copyCLick(...s))},TC),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-set",onClick:n[1]||(n[1]=(...s)=>e.setDefault&&e.setDefault(...s))},$C),t.createElementVNode("div",{class:"fox-long-press-shell__contain-mask-del",onClick:n[2]||(n[2]=(...s)=>e.delClick&&e.delClick(...s))},DC)])])):t.createCommentVNode("",!0)],32),e.showMaskRef?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-addresslist__mask-bottom",onClick:n[7]||(n[7]=(...s)=>e.hideMaskClick&&e.hideMaskClick(...s))})):t.createCommentVNode("",!0)])}const qC=W(AC,[["render",IC]]),{componentName:$w,create:zC}=x("swipe-shell"),MC=zC({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:io},setup(e,{emit:n,slots:o}){const l=t.ref(!1);return{delShellClick:(f,u)=>{n("handleDelIcon",f,e.item),f.stopPropagation()},editShellClick:(f,u)=>{n("handleEditIcon",f,e.item),f.stopPropagation()},itemShellClick:(f,u)=>{l.value||(n("handleItemContent",f,e.item),f.stopPropagation())},swipeDelClick:(f,u)=>{n("handelSwipeDel",f,e.item),f.stopPropagation()},swipestart:()=>{l.value=!1},swipemove:()=>{l.value=!0}}}}),PC={class:"fox-swipe-shell"};function RC(e,n,o,l,r,i){const a=t.resolveComponent("item-contents"),s=t.resolveComponent("fox-button"),c=t.resolveComponent("fox-swipe");return t.openBlock(),t.createBlock(c,null,{right:t.withCtx(()=>[t.renderSlot(e.$slots,"swiperightbtn",{},()=>[t.createVNode(s,{shape:"square",style:{height:"100%"},type:"danger",onClick:e.swipeDelClick},{default:t.withCtx(()=>[t.createTextVNode("删除")]),_:1},8,["onClick"])])]),default:t.withCtx(()=>[t.createElementVNode("div",PC,[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick,onTouchmove:e.swipemove,onTouchstart:e.swipestart},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick","onTouchmove","onTouchstart"])])]),_:3})}const LC=W(MC,[["render",RC]]),{componentName:Dw,create:OC}=x("general-shell"),FC=OC({props:{item:{type:Object,default:{}}},emits:["handleDelIcon","handleEditIcon","handleItemContent","handelSwipeDel"],components:{ItemContents:io},setup(e,{emit:n,slots:o}){return{delShellClick:(s,c)=>{n("handleDelIcon",s,e.item),s.stopPropagation()},editShellClick:(s,c)=>{n("handleEditIcon",s,e.item),s.stopPropagation()},itemShellClick:(s,c)=>{n("handleItemContent",s,e.item),s.stopPropagation()},swipeDelClick:(s,c)=>{n("handelSwipeDel",s,e.item),s.stopPropagation()}}}}),xC={class:"fox-general-shell"};function UC(e,n,o,l,r,i){const a=t.resolveComponent("item-contents");return t.openBlock(),t.createElementBlock("div",xC,[t.createVNode(a,{item:e.item,onDelIconClick:e.delShellClick,onEditIconClick:e.editShellClick,onItemClick:e.itemShellClick},{contentTop:t.withCtx(()=>[t.renderSlot(e.$slots,"contentInfo")]),contentIcon:t.withCtx(()=>[t.renderSlot(e.$slots,"contentIcons")]),contentAddr:t.withCtx(()=>[t.renderSlot(e.$slots,"contentAddrs")]),_:3},8,["item","onDelIconClick","onEditIconClick","onItemClick"])])}const KC=W(FC,[["render",UC]]),{componentName:Iw,create:HC,scope:jC}=x("addresslist"),WC=HC({props:{data:{type:Array,default:[]},longPressEdition:{type:Boolean,default:!1},swipeEdition:{type:Boolean,default:!1},showBottomButton:{type:Boolean,default:!0},dataMapOptions:{type:Object,default:{}}},components:{LongPressShell:qC,SwipeShell:LC,GeneralShell:KC},emits:["handelDelIcon","handelEditIcon","handelItem","longPressCopyClick","longPressSetClick","longPressDelClick","swipeDelClick","addAddressClick"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(jC),l=t.ref([]),r=t.reactive({id:2,addressName:"",phone:"",defaultAddress:!1,fullAddress:""}),i=()=>{Object.keys(e.dataMapOptions).length>0&&(l.value=e.data.map((b,h)=>Do(r,b,e.dataMapOptions)))};t.watch(()=>e.data,()=>i(),{deep:!0});const a=(b,h)=>{n("handelDelIcon",b,h),b.stopPropagation()},s=(b,h)=>{n("handelEditIcon",b,h),b.stopPropagation()},c=(b,h)=>{n("handelItem",b,h),b.stopPropagation()},m=(b,h)=>{n("longPressCopyClick",b,h),b.stopPropagation()},f=(b,h)=>{n("longPressSetClick",b,h),b.stopPropagation()},u=(b,h)=>{n("longPressDelClick",b,h),b.stopPropagation()},g=(b,h)=>{n("swipeDelClick",b,h),b.stopPropagation()},C=b=>{n("addAddressClick",b),b.stopPropagation()};return t.onMounted(()=>{i()}),{clickDelIcon:a,clickEditIcon:s,clickContentItem:c,clickLongCopy:m,clickLongSet:f,clickLongDel:u,clickSwipeDel:g,addAddress:C,dataArray:l,t:o}}}),YC={class:"fox-addresslist"};function XC(e,n,o,l,r,i){const a=t.resolveComponent("general-shell"),s=t.resolveComponent("long-press-shell"),c=t.resolveComponent("swipe-shell"),m=t.resolveComponent("fox-button");return t.openBlock(),t.createElementBlock("div",YC,[!e.longPressEdition&&!e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.dataArray,(f,u)=>(t.openBlock(),t.createBlock(a,{key:"general"+u,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandelSwipeDel:e.clickSwipeDel},null,8,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandelSwipeDel"]))),128)):t.createCommentVNode("",!0),e.longPressEdition&&!e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.dataArray,(f,u)=>(t.openBlock(),t.createBlock(s,{key:"longpress"+u,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandleCopy:e.clickLongCopy,onHandleSet:e.clickLongSet,onHandleDel:e.clickLongDel},{contentInfo:t.withCtx(()=>[t.renderSlot(e.$slots,"iteminfos")]),contentIcons:t.withCtx(()=>[t.renderSlot(e.$slots,"itemicon")]),contentAddrs:t.withCtx(()=>[t.renderSlot(e.$slots,"itemaddr")]),longpressAll:t.withCtx(()=>[t.renderSlot(e.$slots,"longpressbtns")]),_:2},1032,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandleCopy","onHandleSet","onHandleDel"]))),128)):t.createCommentVNode("",!0),!e.longPressEdition&&e.swipeEdition?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.dataArray,(f,u)=>(t.openBlock(),t.createBlock(c,{key:"swipe"+u,item:f,onHandleDelIcon:e.clickDelIcon,onHandleEditIcon:e.clickEditIcon,onHandleItemContent:e.clickContentItem,onHandelSwipeDel:e.clickSwipeDel},{contentInfo:t.withCtx(()=>[t.renderSlot(e.$slots,"iteminfos")]),contentIcons:t.withCtx(()=>[t.renderSlot(e.$slots,"itemicon")]),contentAddrs:t.withCtx(()=>[t.renderSlot(e.$slots,"itemaddr")]),swiperightbtn:t.withCtx(()=>[t.renderSlot(e.$slots,"swiperight")]),_:2},1032,["item","onHandleDelIcon","onHandleEditIcon","onHandleItemContent","onHandelSwipeDel"]))),128)):t.createCommentVNode("",!0),e.showBottomButton?(t.openBlock(),t.createElementBlock("div",{key:3,class:"fox-addresslist__bottom",onClick:n[0]||(n[0]=(...f)=>e.addAddress&&e.addAddress(...f))},[t.createVNode(m,{block:"",type:"danger"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.t("addAddress")),1)]),_:1})])):t.createCommentVNode("",!0)])}const ur=W(WC,[["render",XC]]),{componentName:qw,create:QC}=x("category"),vC=QC({props:{type:{type:String,default:"classify"},category:{type:Array,default:()=>[]}},setup(e,{emit:n,slots:o}){const l=t.ref(0),r=t.ref(!1),i=a=>{l.value=a,n("change",a)};return t.onMounted(()=>{}),{getChildList:i,checkIndex:l,categoryLeft:r}}}),GC={class:"fox-category"},ZC={class:"fox-category__cateList"},JC={key:0},_C=["onClick"];function e1(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",GC,[t.createElementVNode("div",ZC,[e.type=="classify"||e.type=="text"?(t.openBlock(),t.createElementBlock("div",JC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.category,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-category__cateListLeft",key:s},[t.createElementVNode("div",{class:t.normalizeClass([e.checkIndex==s?"fox-category__cateListItemChecked":"fox-category__cateListItem"]),onClick:c=>e.getChildList(s)},t.toDisplayString(a?.catName),11,_C)]))),128))])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")])])}const fr=W(vC,[["render",e1]]),{componentName:zw,create:t1}=x("categorypane"),n1=t1({props:{type:{type:String,default:"classify"},categoryChild:{type:Array,default:()=>[]},customCategory:{type:Array,default:()=>[]}},setup(e,{emit:n}){return{onChange:l=>{n("onChange",l)}}}}),o1={class:"fox-categorypane"},l1={key:0,class:"fox-categorypane__cateListRight"},a1={class:"fox-categorypane__childTitle"},r1={key:0,class:"fox-categorypane__childItemList"},s1=["onClick"],i1=["src"],c1={class:"fox-categorypane__skuImg"},d1={key:1,class:"fox-categorypane__cateListRight"},u1={class:"fox-categorypane__childTitle"},f1={key:0,class:"fox-categorypane__childItemList"},m1=["onClick"],p1={class:"fox-categorypane__skuName"},h1={key:2,class:"fox-categorypane__selfItemList"};function g1(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("div",o1,[e.type=="classify"?(t.openBlock(),t.createElementBlock("div",l1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(a,s)=>(t.openBlock(),t.createElementBlock("div",{key:s},[t.createElementVNode("div",a1,t.toDisplayString(a.catName),1),a.catType==1?(t.openBlock(),t.createElementBlock("div",r1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.childCateList,(c,m)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:m,onClick:f=>e.onChange(c)},[t.createElementVNode("img",{class:"fox-categorypane__childImg",src:c.backImg},null,8,i1),t.createElementVNode("div",c1,t.toDisplayString(c.catName),1)],8,s1))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="text"?(t.openBlock(),t.createElementBlock("div",d1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.categoryChild,(a,s)=>(t.openBlock(),t.createElementBlock("div",{key:s},[t.createElementVNode("div",u1,t.toDisplayString(a.catName),1),a.catType==1?(t.openBlock(),t.createElementBlock("div",f1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.childCateList,(c,m)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__childItem",key:m,onClick:f=>e.onChange(c)},[t.createElementVNode("div",p1,t.toDisplayString(c.catName),1)],8,m1))),128))])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0),e.type=="custom"?(t.openBlock(),t.createElementBlock("div",h1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.customCategory,(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:"fox-categorypane__skuName",key:s,onClick:n[0]||(n[0]=c=>e.onChange())},t.toDisplayString(a.catName),1))),128))])):t.createCommentVNode("",!0)])}const mr=W(n1,[["render",g1]]),{componentName:Mw,create:y1}=x("comment-header"),k1=y1({props:{type:{type:String,default:"default"},info:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""}},components:{},emits:["handleClick"],setup(e,{emit:n}){return{handleClick:()=>{n("handleClick")}}}}),S1={class:"fox-comment-header__user"},b1={class:"fox-comment-header__user-avter"},C1=["src"],w1={class:"fox-comment-header__user-score"},N1={key:0,class:"fox-comment-header__time"};function B1(e,n,o,l,r,i){const a=t.resolveComponent("fox-rate");return t.openBlock(),t.createElementBlock("view",null,[e.info?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-header",onClick:n[1]||(n[1]=(...s)=>e.handleClick&&e.handleClick(...s))},[t.createElementVNode("view",S1,[t.createElementVNode("view",b1,[e.info.avatar?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.info.avatar},null,8,C1)):t.createCommentVNode("",!0)]),e.type=="default"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},[t.createElementVNode("span",null,t.toDisplayString(e.info.nickName),1),t.renderSlot(e.$slots,"labels")],2),t.createElementVNode("view",w1,[t.createVNode(a,{modelValue:e.info.score,"onUpdate:modelValue":n[0]||(n[0]=s=>e.info.score=s),"icon-size":"10",spacing:"5",readonly:"",onChange:e.handleClick},null,8,["modelValue","onChange"])])],2)):(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__user-${e.type}`])},[t.createElementVNode("span",{class:t.normalizeClass([`fox-comment-header__user-${e.type}-name`])},t.toDisplayString(e.info.nickName),3),t.renderSlot(e.$slots,"labels")],2))]),e.info.time?(t.openBlock(),t.createElementBlock("view",N1,t.toDisplayString(e.info.time),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.type=="complex"?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass([`fox-comment-header__${e.type}-score`])},[t.createVNode(a,{modelValue:e.info.score,"onUpdate:modelValue":n[2]||(n[2]=s=>e.info.score=s),"icon-size":"12",spacing:"3",readonly:""},null,8,["modelValue"]),t.createElementVNode("i",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-i`])},null,2),t.createElementVNode("view",{class:t.normalizeClass([`fox-comment-header__${e.type}-score-size`])},t.toDisplayString(e.info.size),3)],2)):t.createCommentVNode("",!0)])}const V1=W(k1,[["render",B1]]),{componentName:Pw,create:A1}=x("comment-images"),E1=A1({props:{type:{type:String,default:"one"},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]}},components:{},emits:["click","clickImages"],setup(e,{emit:n}){const o=t.ref(!1),l=t.ref(1),r=t.ref([]);return t.watch(()=>[e.videos,e.images],a=>{a[0].length>0&&a[0].forEach(s=>{s.type="video"}),r.value=a[0].concat(a[1])},{deep:!0}),t.onMounted(()=>{e.videos.length>0&&e.videos.forEach(a=>{a.type="video"}),r.value=e.videos.concat(e.images)}),{isShowImage:o,initIndex:l,showImages:(a,s)=>{const{videos:c,images:m}=e,f=a=="img"?s-c.length:s;n("clickImages",{type:a,index:f,value:a=="img"?m[f]:c[f]})},totalImages:r}}}),T1=["onClick"],$1=["src"],D1=t.createElementVNode("view",{class:"fox-comment-images__play"},null,-1),I1=["onClick"],q1=["src"],z1={key:0,class:"fox-comment-images__mask"};function M1(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(`fox-comment-images fox-comment-images--${e.type}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.videos,(s,c)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-comment-images__item fox-comment-images__item--video",key:s.id,onClick:m=>e.showImages("video",c,c)},[t.createElementVNode("img",{src:s.mainUrl},null,8,$1),D1],8,T1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.images,(s,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s.id},[e.type=="multi"&&e.videos.length+c<9||e.type!="multi"?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-images__item fox-comment-images__item--imgbox",onClick:m=>e.showImages("img",c+e.videos.length)},[t.createElementVNode("img",{src:s.smallImgUrl?s.smallImgUrl:s.imgUrl},null,8,q1),e.type=="multi"&&e.totalImages.length>9&&e.videos.length+c>7?(t.openBlock(),t.createElementBlock("view",z1,[t.createElementVNode("span",null,"共 "+t.toDisplayString(e.totalImages.length)+" 张",1),t.createVNode(a,{name:"right",size:"12"})])):t.createCommentVNode("",!0)],8,I1)):t.createCommentVNode("",!0)],64))),128))],2)}const P1=W(E1,[["render",M1]]),{componentName:Rw,create:R1}=x("comment-bottom"),L1=R1({props:{type:{type:String,default:"base"},info:{type:Object,default:()=>{}},operation:{type:Array,default:["replay","like","more"]},complaintsText:{type:String,default:""}},components:{},emits:["clickOperate","handleClick"],setup(e,{emit:n}){const{toLocaleRefs:o}=ee.useFoxI18n("comment"),l=o(e,["complaintsText"]),r=t.ref(!1),i=t.ref([]);return t.onMounted(()=>{const c=["replay","like","more"];e.operation&&e.operation.forEach(m=>{c.includes(m)&&i.value.push(m)})}),{...l,showPopver:r,operate:c=>{c=="more"&&(r.value=!r.value),n("clickOperate",c)},mergeOp:i,handleClick:()=>{n("handleClick")}}}}),O1={class:"fox-comment-bottom"},F1={key:0},x1={class:"fox-comment-bottom__cpx"},U1=["onClick"];function K1(e,n,o,l,r,i){const a=t.resolveComponent("fox-icon");return t.openBlock(),t.createElementBlock("view",O1,[t.createElementVNode("view",{onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s)),class:"fox-comment-bottom__lable"},[e.type!="complex"?(t.openBlock(),t.createElementBlock("span",F1,t.toDisplayString(e.info.size),1)):t.createCommentVNode("",!0)]),t.createElementVNode("view",x1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.mergeOp,(s,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-comment-bottom__cpx-item",`fox-comment-bottom__cpx-item--${s}`]),onClick:m=>e.operate(s)},[s!="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.info[s]),1),t.createVNode(a,{name:s=="like"?"fabulous":"comment"},null,8,["name"])],64)):t.createCommentVNode("",!0),s=="more"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(a,{name:"more-x"}),e.showPopver?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment-bottom__cpx-item-popover",onClick:n[1]||(n[1]=m=>e.operate("popover"))},t.toDisplayString(e.complaintsText),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],10,U1))),128))])])}const H1=W(L1,[["render",K1]]),{componentName:j1,create:W1,scope:Y1}=x("comment"),X1=W1({props:{headerType:{type:String,default:"default"},imagesRows:{type:String,default:"one"},ellipsis:{type:[String,Number,Boolean],default:!1},videos:{type:Array,default:()=>[]},images:{type:Array,default:()=>[]},info:{type:Object,default:()=>{}},follow:{type:Object,default:()=>{}},labels:{type:Function,default:()=>""},operation:{type:Array,default:["replay","like","more"]}},components:{CommentHeader:V1,CommentImages:P1,CommentBottom:H1},emits:["click","clickImages","clickOperate"],setup(e,{emit:n}){const{t:o}=ee.useFoxI18n(Y1),l=t.computed(()=>({[j1]:!0})),r=t.computed(()=>e.ellipsis?e.ellipsis:e.headerType=="complex"?6:2);return{classes:l,conEllipsis:r,clickOperate:c=>{n("clickOperate",c)},handleClick:()=>{n("click",e.info)},clickImages:c=>{n("clickImages",c)},t:o}}}),Q1=["innerHTML"],v1={class:"fox-comment__follow-title"},G1={class:"fox-comment__follow-com"},Z1={key:0,class:"fox-comment__follow-img"};function J1(e,n,o,l,r,i){const a=t.resolveComponent("comment-header"),s=t.resolveComponent("comment-images"),c=t.resolveComponent("fox-icon"),m=t.resolveComponent("comment-bottom");return e.info&&Object.keys(e.info)?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.classes)},[t.createVNode(a,{type:e.headerType,info:e.info,labels:e.labels,onHandleClick:e.handleClick},{labels:t.withCtx(()=>[t.renderSlot(e.$slots,"comment-labels")]),_:3},8,["type","info","labels","onHandleClick"]),t.renderSlot(e.$slots,"feature"),t.createElementVNode("view",{class:"fox-comment__main",style:t.normalizeStyle(`-webkit-line-clamp:${e.conEllipsis}`),onClick:n[0]||(n[0]=(...f)=>e.handleClick&&e.handleClick(...f)),innerHTML:e.info.content.replace(/\n/g,"<br>")},null,12,Q1),t.createVNode(s,{images:e.images,videos:e.videos,type:e.imagesRows,onClickImages:e.clickImages},null,8,["images","videos","type","onClickImages"]),e.follow&&e.follow.days>0?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-comment__follow",onClick:n[1]||(n[1]=(...f)=>e.handleClick&&e.handleClick(...f))},[t.createElementVNode("view",v1,[t.createVNode(c,{size:"14",name:"joy-smile"}),t.createTextVNode(t.toDisplayString(e.t("additionalReview",[e.follow.days])),1)]),t.createElementVNode("view",G1,t.toDisplayString(e.follow.content),1),e.follow.images&&e.follow.images.length>0?(t.openBlock(),t.createElementBlock("view",Z1,[t.createTextVNode(t.toDisplayString(e.t("additionalImages",[e.follow.images.length])),1),t.createVNode(c,{size:"12",name:"right"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(m,{type:e.headerType,info:e.info,operation:e.operation,onClickOperate:e.clickOperate,onHandleClick:e.handleClick},null,8,["type","info","operation","onClickOperate","onHandleClick"]),t.renderSlot(e.$slots,"comment-shop-reply")],2)):t.createCommentVNode("",!0)}const pr=W(X1,[["render",J1]]),_1=[xo,Uo,Ko,Ho,Yo,Te,vo,Go,_o,ll,al,$n,yl,Bl,Al,$l,Zn,Il,_n,zl,Ml,Ot,Pl,et,Rl,Ll,se,xt,ge,Ol,Fl,xl,Ul,Hl,jl,Xl,vl,Gl,Zl,Jl,_l,ea,ta,na,oa,la,aa,sa,ia,ca,da,ua,fa,qn,Qn,Yn,ma,pa,pt,ha,ga,ya,ka,Sa,ba,Ca,Yt,Na,lo,to,Vt,Aa,Ea,Ta,$a,Da,Ia,qa,za,Ma,ot,Pa,Ra,lt,at,Lt,Qt,xa,Ka,Ha,ja,Wa,Ya,Xa,Qa,va,Ga,Za,Ja,_a,er,or,lr,ar,rr,sr,ir,cr,dr,ur,fr,mr,pr],ew=new Wr(_1,"4.0.0");z.ActionSheet=Sa,z.Address=er,z.AddressList=ur,z.Animate=Za,z.Audio=Aa,z.AudioOperate=Ea,z.Avatar=Ta,z.AvatarGroup=$a,z.BackTop=ba,z.Badge=Ha,z.Barrage=or,z.Button=et,z.Calendar=Qn,z.CalendarItem=$l,z.Card=cr,z.Cascader=qn,z.CascaderItem=Bl,z.Category=fr,z.CategoryPane=mr,z.Cell=Rl,z.CellGroup=Ll,z.Checkbox=_n,z.CheckboxItem=zl,z.CircleProgress=qa,z.Col=xl,z.Collapse=Xa,z.CollapseItem=Qa,z.Comment=pr,z.Content=Ho,z.CountDown=Ka,z.CountUp=xa,z.DateItem=Al,z.DatePicker=Yn,z.DateUtils=G,z.Dialog=Yt,z.Divider=jl,z.Drag=Ca,z.Ecard=dr,z.Elevator=na,z.Ellipsis=Ga,z.Empty=Ma,z.FixedNav=Zl,z.FooterBar=Ko,z.Grid=Xl,z.GridItem=vl,z.Group=Yo,z.HeaderBar=Uo,z.Icon=se,z.Image=Ol,z.ImagePreview=Qt,z.Indicator=sa,z.InfiniteLoading=Na,z.InputItem=_o,z.InputNumber=ma,z.Item=Te,z.Layout=Fl,z.LinkItem=Pl,z.List=Da,z.Menu=Jl,z.MenuItem=_l,z.MoneyItem=ll,z.Navbar=Gl,z.NoticeBar=za,z.Notify=lo,z.NumberKeyboard=ya,z.OverLay=xt,z.Page=xo,z.Pagination=oa,z.Picker=pt,z.PickerItem=yl,z.Popover=Wa,z.Popup=ge,z.Price=Lt,z.Progress=Ia,z.Radio=Zn,z.RadioItem=Il,z.Range=ua,z.Rate=pa,z.Row=Ul,z.RowItem=vo,z.SearchBar=fa,z.ShortPassword=ha,z.SideNavBar=ia,z.SideNavBarItem=ca,z.Signature=lr,z.Skeleton=Ya,z.Sku=ir,z.SlotItem=Go,z.Step=Ra,z.Steps=Pa,z.Sticky=Hl,z.SubSideNavBar=da,z.Swipe=ka,z.Swiper=lt,z.SwiperItem=at,z.Switch=to,z.SwitchItem=Ml,z.TabPane=aa,z.Tabbar=ea,z.TabbarItem=ta,z.Table=va,z.Tabs=la,z.Tag=ja,z.Textarea=$n,z.TextareaItem=al,z.TimeDetail=sr,z.TimePannel=rr,z.TimeSelect=ar,z.Toast=Vt,z.TrendArrow=_a,z.UniqueID=Bn,z.Uploader=ga,z.Video=ot,z.WaterMark=Ja,z.clearNonNumber=un,z.clone=cn,z.compareTo=ln,z.debounce=Rr,z.decimalLength=Ao,z.default=ew,z.divide=on,z.excludeProps=$o,z.extend=Ue,z.floatData=Do,z.hasSymbol=So,z.hinttext=Ot,z.includeProps=ke,z.indexOf=To,z.integerLength=Vo,z.isArray=gr,z.isArrayLike=Co,z.isBrowser=Qe,z.isDate=De,z.isESModule=Cr,z.isEmptyString=Ce,z.isEqual=Ve,z.isFunction=rn,z.isMap=yr,z.isNumberString=Bo,z.isObject=Be,z.isPlainObject=sn,z.isPromise=$t,z.isRegExp=No,z.isSet=kr,z.isString=Sr,z.isSymbol=br,z.isWindow=bo,z.lastIndexOf=Ar,z.makeArray=Vr,z.merge=wo,z.multiply=ho,z.negate=go,z.nextTick=Nr,z.numberFormat=an,z.objectToString=ko,z.raf=Ke,z.throttle=pn,z.toBoolean=ye,z.toNumber=le,z.toTypeString=Dt,z.typeOf=It,z.unNumberFormat=yo,z.valueLength=de,Object.defineProperties(z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
9
|
+
`)}}});function vy(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.renderSlot)(e.$slots,"default")],2)}var Ya=ie(by,[["render",vy]]),{create:Sy}=ee("sticky"),ky=Sy({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)(),r=(0,t.reactive)({fixed:!1,height:0,transform:0}),i=(0,t.computed)(()=>e.position==="top"?Number(e.top):Number(e.bottom)),o=(0,t.computed)(()=>r.fixed?{height:`${r.height}px`}:{}),c=(0,t.computed)(()=>r.fixed?{[e.position]:`${i.value}px`,transform:r.transform?`translate3d(0, ${r.transform}px, 0)`:void 0,position:r.fixed?"fixed":void 0,zIndex:Number(e.zIndex)}:{}),s=()=>{const d=e.container;if(!a.value&&!d)return;const h=qe(a),u=l.value,p=qe(u),y=qe(d);r.height=h.height;const N=()=>{let w=!1;if(e.position==="top")w=d?i.value>h.top&&y.bottom>0:i.value>h.top;else{const v=document.documentElement.clientHeight;w=d?y.bottom>0&&v-i.value-p.height>y.top:v-i.value<h.bottom}return w},k=()=>{if(d)if(e.position==="top"){const w=y.bottom-i.value-p.height;return w<0?w:0}else{const w=document.documentElement.clientHeight,v=y.bottom-(w-i.value);return v<0?v:0}return 0};r.transform=k(),r.fixed=N()};return(0,t.watch)(()=>r.fixed,d=>{n("change",d)}),(0,t.onMounted)(()=>{s(),Ta(a.value).addEventListener("scroll",s,!0)}),(0,t.onUnmounted)(()=>{Ta(a.value).removeEventListener("scroll",s)}),{rootRef:a,rootStyle:o,stickyRef:l,stickyStyle:c}}});function wy(e,n,a,l,r,i){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 Zt=ie(ky,[["render",wy]]),{componentName:Cy,create:Ny}=ee("divider"),Ay=Ny({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=Cy;let l={[a]:!0},r={};return e.direction==="horizontal"?r={...l,[`${a}-center`]:n.slots.default,[`${a}-left`]:e.contentPosition==="left",[`${a}-right`]:e.contentPosition==="right",[`${a}-dashed`]:e.dashed,[`${a}-hairline`]:e.hairline}:r={...l,[`${a}-vertical`]:e.direction==="vertical"},r})}}});function By(e,n,a,l,r,i){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 Xa=ie(Ay,[["render",By]]),Jt=(e,n={})=>{const a=(0,t.shallowRef)([]),l=i=>{a.value.push(i),(0,t.triggerRef)(a)},r=i=>{const o=a.value.findIndex(c=>c===i);o!=-1&&(a.value.splice(o,1),(0,t.triggerRef)(a))};return(0,t.onUnmounted)(()=>{const i=a.value.length;a.value.splice(0,i)}),(0,t.provide)(e,{unlink:r,link:l,children:a,...n}),{children:a}};function en(e,n){const a=(0,t.inject)(e,null);if(a){const{link:l,unlink:r,children:i}=a;return l(n),(0,t.onUnmounted)(()=>{r(n)}),{parent:a,index:(0,t.computed)(()=>i.value.indexOf(n))}}return{parent:a,index:(0,t.computed)(()=>-1)}}var{componentName:Ty}=ee("grid"),Li=Symbol("grid"),Vy={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}},Ey={props:Vy,setup(e,{slots:n}){Jt(Li,{props:e});const a=(0,t.computed)(()=>{const r=Ty;return{[r]:!0,[`${r}--border`]:e.border&&!e.gutter}}),l=(0,t.computed)(()=>{const r={};return e.gutter&&(r.paddingLeft=he(e.gutter)),r});return()=>(0,t.h)("view",{class:a.value,style:l.value},n.default?.())}},{create:$y}=ee("grid"),Dy=$y(Ey),Qa=Dy,{create:Iy,componentName:Oi}=ee("grid-item"),qy=Iy({props:{text:{type:String}},emits:["click"],setup(e,{emit:n}){const{parent:a,index:l}=en(Li,{props:e}),r=(0,t.computed)(()=>({[Oi]:!0})),i=(0,t.computed)(()=>{const s={flexBasis:`${100/+a.props.columnNum}%`};return a.props.square?s.paddingTop=`${100/+a.props.columnNum}%`:a.props.gutter&&(s.paddingRight=he(a.props.gutter),l.value>=a.props.columnNum&&(s.marginTop=he(a.props.gutter))),s}),o=(0,t.computed)(()=>{const s=`${Oi}__content`;return{[`${s}`]:!0,[`${s}--border`]:a.props.border,[`${s}--surround`]:a.props.border&&a.props.gutter,[`${s}--center`]:a.props.center,[`${s}--square`]:a.props.square,[`${s}--reverse`]:a.props.reverse,[`${s}--${a.props.direction}`]:!!a.props.direction,[`${s}--clickable`]:a.props.clickable}});return{rootClass:r,rootStyle:i,contentClass:o,handleClick:s=>{n("click",s)}}}}),Py={class:"fox-grid-item__text"};function xy(e,n,a,l,r,i){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]=(...o)=>e.handleClick&&e.handleClick(...o))},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.contentClass)},[(0,t.renderSlot)(e.$slots,"default"),(0,t.createElementVNode)("view",Py,[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 Ga=ie(qy,[["render",xy]]),{componentName:My,create:Ry}=ee("navbar"),zy=Ry({components:{Left:re.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:r,placeholder:i,zIndex:o}=(0,t.toRefs)(e),c=(0,t.ref)(null),s=(0,t.ref)(null);let d=(0,t.ref)();const h=(0,t.computed)(()=>{const w=My;return{[w]:!0,[`${w}--border`]:a.value,[`${w}--fixed`]:l.value,[`${w}--safe-area-inset-top`]:r.value}}),u=(0,t.computed)(()=>({zIndex:o.value}));(0,t.onMounted)(()=>{l.value&&i.value&&(0,t.nextTick)(()=>{d.value=s?.value?.getBoundingClientRect().height,c.value.style.height=d.value+"px"})});function p(){n("on-click-back")}function y(){n("on-click-title")}function N(){n("on-click-icon")}function k(){n("on-click-right")}return{navBarWrap:c,navBarHtml:s,classes:h,styles:u,handleLeft:p,handleCenter:y,handleCenterIcon:N,handleRight:k}}}),Fy={key:0,class:"fox-navbar--placeholder",ref:"navBarWrap"},Ly={key:1,class:"fox-navbar__text"},Oy={class:"fox-navbar__title"},Ky={key:0,class:"fox-navbar__text"},Uy={key:1,class:"fox-navbar__text"},Hy={class:"fox-navbar__title"},jy={key:0,class:"fox-navbar__text"};function Wy(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Left");return e.fixed&&e.placeholder?((0,t.openBlock)(),(0,t.createElementBlock)("view",Fy,[(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]=(...c)=>e.handleLeft&&e.handleLeft(...c))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(o,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ly,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",Oy,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[1]||(n[1]=(...c)=>e.handleCenter&&e.handleCenter(...c))},(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]=(...c)=>e.handleCenterIcon&&e.handleCenterIcon(...c))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[2]||(n[2]=(...c)=>e.handleCenterIcon&&e.handleCenterIcon(...c))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[4]||(n[4]=(...c)=>e.handleRight&&e.handleRight(...c))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ky,(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]=(...c)=>e.handleLeft&&e.handleLeft(...c))},[e.leftShow?(0,t.renderSlot)(e.$slots,"left-show",{key:0},()=>[(0,t.createVNode)(o,{height:"12px",color:"#979797"})]):(0,t.createCommentVNode)("",!0),e.leftText?((0,t.openBlock)(),(0,t.createElementBlock)("view",Uy,(0,t.toDisplayString)(e.leftText),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"left")]),(0,t.createElementVNode)("view",Hy,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"title",onClick:n[6]||(n[6]=(...c)=>e.handleCenter&&e.handleCenter(...c))},(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]=(...c)=>e.handleCenterIcon&&e.handleCenterIcon(...c))},[(0,t.renderSlot)(e.$slots,"title-icon",{onClick:n[7]||(n[7]=(...c)=>e.handleCenterIcon&&e.handleCenterIcon(...c))})])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"content")]),(0,t.createElementVNode)("view",{class:"fox-navbar__right",onClick:n[9]||(n[9]=(...c)=>e.handleRight&&e.handleRight(...c))},[e.desc?((0,t.openBlock)(),(0,t.createElementBlock)("view",jy,(0,t.toDisplayString)(e.desc),1)):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"right")])],6))}var _a=ie(zy,[["render",Wy]]),Yy=(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:r}){const{toLocaleRefs:i}=(0,ye.useFoxI18n)(n),o=i(l,["activeText","unActiveText"]),c=(0,t.computed)(()=>({[e]:!0,active:l.visible,[l.type]:!0})),s=(0,t.ref)(-1);return{...o,classes:c,updateValue:(u=!l.visible)=>{r("update:visible",u)},selected:(u,p)=>{r("selected",{item:u,event:p}),s.value=u.id},current:s}}}),{componentName:Xy,create:Qy,scope:Gy}=ee("fixednav"),_y=Qy(Yy(Xy,Gy,{[dt.name]:dt,Left:re.Left})),Zy={class:"fox-fixednav__list"},Jy=["onClick"],eb=["src"],tb={class:"span"},nb={key:0,class:"b"},lb={class:"text"};function ab(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-overlay"),c=(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)(o,{key:0,visible:e.visible,"z-index":200,onClick:n[0]||(n[0]=s=>e.updateValue(!1))},null,8,["visible"])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"list",{},()=>[(0,t.createElementVNode)("view",Zy,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.navList,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-fixednav__list-item",{active:s.id==e.current}]),onClick:h=>e.selected(s,h),key:s.id||d},[(0,t.createElementVNode)("img",{src:s.icon},null,8,eb),(0,t.createElementVNode)("view",tb,(0,t.toDisplayString)(s.text),1),s.num?((0,t.openBlock)(),(0,t.createElementBlock)("view",nb,(0,t.toDisplayString)(s.num),1)):(0,t.createCommentVNode)("",!0)],10,Jy))),128))])]),(0,t.createElementVNode)("div",{class:"fox-fixednav__btn",onClick:n[1]||(n[1]=s=>e.updateValue())},[(0,t.renderSlot)(e.$slots,"btn",{},()=>[(0,t.createVNode)(c,{color:"#fff"}),(0,t.createElementVNode)("view",lb,(0,t.toDisplayString)(e.visible?e.activeText:e.unActiveText),1)])])],6)}var Za=ie(_y,[["render",ab]]),Ki=Symbol("fox-menu"),{componentName:ob,create:rb}=ee("menu"),ib=rb({components:{RectUp:re.RectUp,RectDown:re.RectDown},props:{activeColor:{type:String,default:""},overlay:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},scrollFixed:{type:[Boolean,String,Number],default:!1},titleClass:{type:String,default:""}},setup(e){const n=(0,t.ref)(),a=(0,t.ref)(0),l=(0,t.ref)(!1),{children:r}=Jt(Ki,{props:e,offset:a}),i=(0,t.computed)(()=>r.value.some(p=>p.state.showWrapper)),o=(0,t.computed)(()=>({[ob]:!0,"scroll-fixed":l.value})),c=()=>{if(n.value){const p=qe(n);e.direction==="down"?a.value=p.bottom:a.value=window.innerHeight-p.top}},s=p=>{r.value.forEach((y,N)=>{N===p?(c(),y.toggle()):y.state.showPopup&&y.toggle(!1,{immediate:!0})})},d=p=>Math.max(0,"scrollTop"in p?p.scrollTop:p.pageYOffset),h=()=>{const{scrollFixed:p}=e;l.value=d(window)>(typeof p=="boolean"?30:Number(p))},u=p=>{let y="";const{titleClass:N}=e;return p&&(y+="active"),N&&(y+=` ${N}`),y};return(0,t.onMounted)(()=>{const{scrollFixed:p}=e;p&&window.addEventListener("scroll",h)}),(0,t.onUnmounted)(()=>{const{scrollFixed:p}=e;p&&window.removeEventListener("scroll",h)}),{toggleItem:s,children:r,opened:i,classes:o,barRef:n,getClasses:u}}}),sb=["onClick"],cb={class:"fox-menu__title-text"},ub={class:"fox-menu__title-icon"};function db(e,n,a,l,r,i){const o=(0,t.resolveComponent)("RectUp"),c=(0,t.resolveComponent)("RectDown");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",{ref:"barRef",class:(0,t.normalizeClass)(["fox-menu__bar",{opened:e.opened}])},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.children,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:d,class:(0,t.normalizeClass)(["fox-menu__item",{disabled:s.props.disabled,active:s.state.showPopup}]),style:(0,t.normalizeStyle)({color:s.state.showPopup?e.activeColor:""}),onClick:h=>!s.props.disabled&&e.toggleItem(d)},[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-menu__title",e.getClasses(s.state.showPopup)])},[(0,t.createElementVNode)("view",cb,(0,t.toDisplayString)(s.renderTitle()),1),(0,t.createElementVNode)("span",ub,[(0,t.renderSlot)(e.$slots,"icon",{},()=>[e.direction==="up"?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0})):((0,t.openBlock)(),(0,t.createBlock)(c,{key:1}))])])],2)],14,sb))),128))],2),(0,t.renderSlot)(e.$slots,"default")],2)}var Ja=ie(ib,[["render",db]]),{create:fb}=ee("menu-item"),mb=fb({props:{title:[String],options:{type:Array,default:[]},disabled:{type:[Boolean],default:!1},modelValue:{type:[String,Number,Boolean]},cols:{type:Number,default:1},activeTitleClass:{type:[String]},inactiveTitleClass:{type:[String]}},components:{FoxPopup:Ce,Check:re.Check},emits:["update:modelValue","change","open","close"],setup(e,{emit:n}){const a=(0,t.reactive)({showPopup:!1,showWrapper:!1}),l=(0,t.computed)(()=>h.props.direction==="down"?{top:h.offset.value+"px"}:{bottom:h.offset.value+"px"}),r=(0,t.computed)(()=>{const u={height:h.offset.value+"px"};return h.props.direction==="down"?{...u,top:"0px"}:{...u,bottom:"0px"}}),i=(u=!a.showPopup)=>{u!==a.showPopup&&(a.showPopup=u,u&&(a.showWrapper=!0,n("open")))},o=()=>{if(e.title)return e.title;const u=e.options?.find(p=>p.value===e.modelValue);return u?u.text:""},c=u=>{a.showPopup=!1,u.value!==e.modelValue&&(n("update:modelValue",u.value),n("change",u.value))},s=()=>{n("close"),a.showWrapper=!1},d=()=>{a.showPopup=!1,n("close")},{parent:h}=en(Ki,{props:e,state:a,toggle:i,renderTitle:o});return{style:l,placeholderElementStyle:r,renderTitle:o,state:a,parent:h,toggle:i,onClick:c,handleClose:s,handleClickOutside:d}}}),pb={class:"fox-menu-item"},hb={class:"fox-menu-item__content fox-menu-item__overflow"},gb=["onClick"];function yb(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Check"),c=(0,t.resolveComponent)("FoxPopup");return(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)("view",pb,[(0,t.withDirectives)((0,t.createElementVNode)("div",{class:"fox-menu-item-placeholder-element",style:(0,t.normalizeStyle)(e.placeholderElementStyle),onClick:n[0]||(n[0]=(...s)=>e.handleClickOutside&&e.handleClickOutside(...s))},null,4),[[t.vShow,e.state.showPopup]]),(0,t.createVNode)(c,(0,t.mergeProps)(e.$attrs,{visible:e.state.showPopup,"onUpdate:visible":n[1]||(n[1]=s=>e.state.showPopup=s),style:{position:"absolute"},"overlay-style":{position:"absolute"},position:e.parent.props.direction==="down"?"top":"bottom",duration:e.parent.props.duration,"destroy-on-close":!1,overlay:e.parent.props.overlay,"lock-scroll":e.parent.props.lockScroll,"teleport-disable":!1,"close-on-click-overlay":e.parent.props.closeOnClickOverlay,onClosed:e.handleClose}),{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",hb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:d,class:(0,t.normalizeClass)(["fox-menu-item__option",[{active:s.value===e.modelValue}]]),style:(0,t.normalizeStyle)({"flex-basis":100/e.cols+"%"}),onClick:h=>e.onClick(s)},[s.value===e.modelValue?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:(0,t.normalizeClass)(["fox-menu-item__span",[s.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]])},[(0,t.renderSlot)(e.$slots,"icon",{},()=>[(0,t.createVNode)(o,(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)([s.value===e.modelValue?e.activeTitleClass:e.inactiveTitleClass]),style:(0,t.normalizeStyle)({color:s.value===e.modelValue?e.parent.props.activeColor:""})},(0,t.toDisplayString)(s.text),7)],14,gb))),128)),(0,t.renderSlot)(e.$slots,"default")])]),_:3},16,["visible","position","duration","overlay","lock-scroll","close-on-click-overlay","onClosed"])],512)),[[t.vShow,e.state.showWrapper]])}var eo=ie(mb,[["render",yb]]),Ui=Symbol("fox-tabbar"),{create:bb}=ee("tabbar"),vb=bb({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,{emit:n}){function a(i){l.value!==i&&(l.value=i,n("update:modelValue",i),n("change",i,r.value[i]))}const l=(0,t.reactive)({size:e.size,value:de(e.modelValue),inactiveColor:e.inactiveColor,activeColor:e.activeColor,changeIndex:a}),{children:r}=Jt(Ui,{state:l});return(0,t.watch)(()=>e.modelValue,i=>{l.value=de(i)}),{changeIndex:a}}});function Sb(e,n,a,l,r,i){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 to=ie(vb,[["render",Sb]]),{create:kb}=ee("tabbar-item"),wb=kb({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{parent:a,index:l}=en(Ui,{props:e}),r=(0,t.computed)(()=>l.value===a.state.value);function i(o){a&&typeof a.state.changeIndex=="function"&&a.state.changeIndex(o)}return{state:a.state,index:l,active:r,change:i}}}),Cb={class:"fox-tabbar-item_icon-box"},Nb={key:0,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_num"},Ab={key:1,class:"fox-tabbar-item_icon-box_tips fox-tabbar-item_icon-box_nums"},Bb={key:1,class:"fox-tabbar-item_icon-box_dot"},Tb={key:2},Vb={key:0};function Eb(e,n,a,l,r,i){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]=o=>e.change(e.index))},[(0,t.createElementVNode)("view",Cb,[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",Nb,(0,t.toDisplayString)(e.num),1)):e.num&&e.num>100?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ab,(0,t.toDisplayString)("99+"))):(0,t.createCommentVNode)("",!0)],64)),e.dot?((0,t.openBlock)(),(0,t.createElementBlock)("div",Bb)):(0,t.createCommentVNode)("",!0),e.icon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Tb,[((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",Vb,(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 no=ie(wb,[["render",Eb]]),{componentName:$b,create:Db}=ee("elevator"),Ib=Db({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}),r=(0,t.computed)(()=>({[$b]:!0})),i=(0,t.computed)(()=>({transform:`translate3d(0, ${l.scrollY+l.fixedTop}px, 0)`})),o=(0,t.computed)(()=>a.value.clientHeight),c=(v,f)=>v.getAttribute("data-"+f),s=v=>{(0,t.nextTick)(()=>{!l.listGroup.includes(v)&&v!=null&&l.listGroup.push(v)})},d=()=>{let v=0;l.listHeight.push(v);for(let f=0;f<l.listGroup.length;f++){let m=l.listGroup[f];v+=Math.floor(m.clientHeight),l.listHeight.push(v)}},h=v=>{!v&&v!==0||(v<0&&(v=0),v>l.listHeight.length-2&&(v=l.listHeight.length-2),l.codeIndex=v,a.value.scrollTo(0,l.listHeight[v]))},u=v=>{l.scrollStart=!0;let f=c(v.target,"index"),m=v.touches[0];l.touchState.y1=m.pageY,l.anchorIndex=+f,l.codeIndex=+f,h(+f)},p=v=>{let f=v.touches[0];l.touchState.y2=f.pageY;let m=(l.touchState.y2-l.touchState.y1)/e.spaceHeight|0;l.codeIndex=l.anchorIndex+m,h(l.codeIndex)},y=()=>{l.scrollStart=!1},N=(v,f)=>{n.emit("click-item",v,f),l.currentData=f,l.currentKey=v},k=v=>{n.emit("click-index",v)},w=v=>{let f=v.target.scrollTop;const m=l.listHeight;l.scrollY=f;for(let S=0;S<m.length-1;S++){let B=m[S],g=m[S+1];if(l.scrollY>=B&&l.scrollY<g){l.currentIndex=S,l.diff=g-l.scrollY;return}}l.currentIndex=m.length-2};return(0,t.onMounted)(()=>{a.value.addEventListener("scroll",w)}),n.expose({scrollTo:h}),(0,t.watch)(()=>l.listGroup.length,()=>{l.listHeight=[],(0,t.nextTick)(d)}),(0,t.watch)(()=>l.diff,v=>{const f=l.listHeight;let m=v>0&&v<e.titleHeight?v-e.titleHeight:0;l.scrollY+o.value===f[f.length-1]&&m!==0&&(m=0),l.fixedTop!==m&&(l.fixedTop=m)}),(0,t.watch)(()=>l.currentIndex,v=>{n.emit("change",v)}),{classes:r,...(0,t.toRefs)(l),fixedStyle:i,clientHeight:o,setListGroup:s,listview:a,touchStart:u,touchMove:p,touchEnd:y,handleClickItem:N,handleClickIndex:k}}}),qb={class:"fox-elevator__list__item__code"},Pb=["onClick"],xb=["innerHTML"],Mb={class:"fox-elevator__fixed-title"},Rb={class:"fox-elevator__bars__inner"},zb=["data-index","onClick"];function Fb(e,n,a,l,r,i){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,o=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-elevator__list__item",key:o[e.acceptKey],ref_for:!0,ref:e.setListGroup},[(0,t.createElementVNode)("view",qb,(0,t.toDisplayString)(o[e.acceptKey]),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.list,c=>((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===c.id&&e.currentKey===o[e.acceptKey]}]),key:c.id,onClick:s=>e.handleClickItem(o[e.acceptKey],c)},[e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:1,item:c}):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:c.name},null,8,xb))],10,Pb))),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",Mb,(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]=(...o)=>e.touchStart&&e.touchStart(...o)),onTouchmove:n[1]||(n[1]=(0,t.withModifiers)((...o)=>e.touchMove&&e.touchMove(...o),["stop","prevent"])),onTouchend:n[2]||(n[2]=(...o)=>e.touchEnd&&e.touchEnd(...o))},[(0,t.createElementVNode)("view",Rb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.indexList,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-elevator__bars__inner__item",{active:o[e.acceptKey]===e.indexList[e.currentIndex][e.acceptKey]}]),"data-index":c,key:o[e.acceptKey],onClick:s=>e.handleClickIndex(o[e.acceptKey])},(0,t.toDisplayString)(o[e.acceptKey]),11,zb))),128))])],32)],2)}var lo=ie(Ib,[["render",Fb]]),{componentName:U2,create:Lb,scope:Ob}=ee("pagination"),Kb=Lb({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,ye.useFoxI18n)(Ob),l=a(e,["prevText","nextText"]),{modelValue:r,mode:i,showPageSize:o,forceEllipses:c}=(0,t.toRefs)(e),s=(0,t.computed)(()=>{const{pageCount:p,totalItems:y,itemsPerPage:N}=(0,t.toRefs)(e),k=+p.value||Math.ceil(+y.value/+N.value);return Math.max(1,k)}),d=(p,y)=>{p>s.value||p<1||(p!=r.value&&n("update:modelValue",p),y&&n("change",p))},h=(p,y,N=!1)=>({number:p,text:y,active:N}),u=(0,t.computed)(()=>{if(i.value=="simple")return;let p=[];const y=s.value,N=+o.value;let k=1,w=y;const v=y>N;v&&(k=Math.max(r.value-Math.floor(N/2),1),w=k+N-1,w>y&&(w=y,k=w-N+1));for(var f=k;f<=w;f++){const m=h(f,f,r.value==f);p.push(m)}if(v&&N>0&&c.value){if(k>1){const m=h(k-1,"...");p.unshift(m)}if(w<y){const m=h(w+1,"...");p.push(m)}}return p});return(0,t.watchEffect)(()=>{d(r.value,!1)}),{...l,modelValue:r,select:d,countRef:s,mode:i,pages:u,forceEllipses:c}}}),Ub={class:"fox-pagination"},Hb={key:0,class:"fox-pagination-contain"},jb=["onClick"],Wb={key:1,class:"fox-pagination-contain"},Yb={class:"fox-pagination-simple"};function Xb(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",Ub,[(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]=o=>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",Hb,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.pages,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:c+"pagination",class:(0,t.normalizeClass)(["fox-pagination-item",o.active?"active":""]),onClick:s=>e.select(o.number,!0)},[(0,t.renderSlot)(e.$slots,"page",{item:o},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(o.text),1)])],10,jb))),128))])):(0,t.createCommentVNode)("",!0),e.mode=="simple"?((0,t.openBlock)(),(0,t.createElementBlock)("view",Wb,[(0,t.createElementVNode)("view",Yb,(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]=o=>e.select(e.modelValue+1,!0))},[(0,t.renderSlot)(e.$slots,"next-text",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.nextText),1)])],2)])}var ao=ie(Kb,[["render",Xb]]),Qb=(e,n,a,l)=>{const r=(0,t.ref)(),i=(0,t.ref)({width:0,height:0}),o=async()=>{if(a&&a.getEnv()!==a.ENV_TYPE.WEB){let u=await l(r,a);i.value.width=u.width||0,i.value.height=u.height||0}else i.value.width=r.value?.clientWidth||0,i.value.height=r.value?.clientHeight||0};(0,t.onMounted)(()=>{setTimeout(()=>{o()},100)});const c=(0,t.reactive)({offset:0,moving:!1}),s=ot();let d="";const h=(u,p)=>{let y=u;switch(e.direction=="horizontal"?(d=u>0?"right":"left",y=Math.abs(y)/i.value.width*100):(d=p>0?"bottom":"top",y=p,y=Math.abs(y)/i.value?.height*100),y>85&&(y=85),d){case"left":case"top":n.isEnd()&&(y=0,c.moving=!1);break;case"right":case"bottom":y=-y,n.isBegin()&&(y=0,c.moving=!1);break}c.offset=y};return{touchMethods:{onTouchStart(u){e.swipeable&&s.start(u)},onTouchMove(u){e.swipeable&&(s.move(u),c.moving=!0,h(s.deltaX.value,s.deltaY.value),e.direction=="horizontal"&&s.isHorizontal()&&(u.preventDefault(),u.stopPropagation()),e.direction=="vertical"&&s.isVertical()&&(u.preventDefault(),u.stopPropagation()))},onTouchEnd(){if(c.moving)switch(c.moving=!1,d){case"left":case"top":c.offset>35&&n.next();break;case"right":case"bottom":c.offset<-35&&n.prev();break}}},touchState:c,tabsContentRef:r}},Gb=class{title="";titleSlot;paneKey="";disabled=!1;constructor(){}},{create:_b}=ee("tabs"),Zb=_b({components:{[Zt.name]:Zt,JoySmile:re.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 r;(0,t.provide)("tabsOpiton",{activeKey:(0,t.computed)(()=>e.modelValue||"0"),autoHeight:(0,t.computed)(()=>e.autoHeight),animatedTime:(0,t.computed)(()=>e.animatedTime)});const i=(0,t.ref)([]),o=A=>{A.forEach((C,x)=>{let j=C.type;if(j=j.name||j,j=="fox-tab-pane"){let $=new Gb;if(C.props?.title||C.props?.["pane-key"]||C.props?.paneKey){let R=ht(C.props?.["pane-key"]),M=R=="number"||R=="string"?String(C.props?.["pane-key"]):null,F=ht(C.props?.paneKey),z=F=="number"||F=="string"?String(C.props?.paneKey):null;$.title=C.props?.title,$.paneKey=M||z||String(x),$.disabled=C.props?.disabled}i.value.push($)}else{if(C.children==" ")return;Array.isArray(C.children)&&o(C.children)}})},c=(0,t.ref)(e.modelValue||0),s=A=>{let C=i.value.findIndex(x=>x.paneKey==A);i.value.length==0||C==-1||(c.value=C)},d=(0,t.computed)(()=>e.titleScroll&&e.direction==="vertical"),h=(0,t.ref)(),u=(0,t.ref)([]),p=A=>{const C=h.value,x=u.value;if(!C||!x||!x[c.value])return;const j=x[c.value];let $=0;e.direction==="vertical"?$=j.offsetTop-C.offsetTop+10-(C.offsetHeight-j.offsetHeight)/2:$=j.offsetLeft-(C.offsetWidth-j.offsetWidth)/2,y(C,$,A?0:.3,e.direction)},y=(A,C,x,j)=>{let $=0;const R=j==="horizontal"?A.scrollLeft:A.scrollTop,M=x===0?1:Math.round(x*1e3/16);function F(){j==="horizontal"?A.scrollLeft+=(C-R)/M:A.scrollTop+=(C-R)/M,++$<M&&je(F)}F()},N=(A=a.default?.())=>{i.value=[],A=A?.filter(C=>typeof C.children!="string"),A&&A.length&&o(A),s(e.modelValue),(0,t.nextTick)(()=>{p()})},k=A=>{r=A.fixed};(0,t.watch)(()=>a.default?.(),A=>{N(A)});const w=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;(0,t.watch)(()=>e.modelValue,A=>{if(s(A),p(),r){let C=qe(l.value).top+w(),x=Math.ceil(C-e.top);window.scrollTo({top:x,behavior:"smooth"})}}),(0,t.onMounted)(N),(0,t.onActivated)(N);const v={isBegin:()=>c.value==0,isEnd:()=>c.value==i.value.length-1,next:()=>{c.value+=1,v.updateValue(i.value[c.value])},prev:()=>{c.value-=1,v.updateValue(i.value[c.value])},updateValue:A=>{n("update:modelValue",A.paneKey),n("change",A)},tabChange:(A,C)=>{n("click",A),!(A.disabled||c.value==C)&&(c.value=C,v.updateValue(A))},setTabItemRef:(A,C)=>{u.value[C]=A}},{tabsContentRef:f,touchState:m,touchMethods:S}=Qb(e,v),B=(0,t.computed)(()=>{let A=c.value*100;m.moving&&(A+=m.offset);let C={transform:e.direction=="horizontal"?`translate3d(-${A}%, 0, 0)`:`translate3d( 0,-${A}%, 0)`,transitionDuration:m.moving?void 0:`${e.animatedTime}ms`};return e.animatedTime==0&&(C={}),C}),g=(0,t.computed)(()=>({background:e.background})),b=(0,t.computed)(()=>({color:e.type=="smile"?e.color:"",background:e.type=="line"?e.color:""})),E=(0,t.computed)(()=>{if(!e.titleGutter)return{};const A=he(e.titleGutter);return e.direction==="vertical"?{marginTop:A,marginBottom:A}:{marginLeft:A,marginRight:A}}),V=(0,t.computed)(()=>a.fixedTitle);return{navRef:h,tabsContentRef:f,titles:i,contentStyle:B,tabsNavStyle:g,titleStyle:E,tabsActiveStyle:b,container:l,getScrollY:d,onStickyScroll:k,...v,...S,hasFixedTitle:V}}}),Jb=["onClick"],ev={key:0,class:"fox-tabs__titles-fixed-item"},tv=["onClick"],nv={key:0,class:"fox-tabs__titles-fixed-item"};function lv(e,n,a,l,r,i){const o=(0,t.resolveComponent)("JoySmile"),c=(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)(c,{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,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:s.paneKey==e.modelValue,disabled:s.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(s,d),key:s.paneKey},[(0,t.renderSlot)(e.$slots,"title",{title:s.title,paneKey:s.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)(o,{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)(s.title),3)])],14,Jb))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",ev,[(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,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-tabs__titles-item",{active:s.paneKey==e.modelValue,disabled:s.disabled}]),style:(0,t.normalizeStyle)(e.titleStyle),onClick:h=>e.tabChange(s,d),key:s.paneKey,ref_for:!0,ref:h=>e.setTabItemRef(h,d)},[(0,t.renderSlot)(e.$slots,"title",{title:s.title,paneKey:s.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)(o,{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)(s.title),3)])],14,tv))),128)),e.hasFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",nv,[(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]=(...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.renderSlot)(e.$slots,"default")],36)],2)}var oo=ie(Zb,[["render",lv]]),{create:av}=ee("tab-pane"),ov=av({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 rv(e,n,a,l,r,i){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 ro=ie(ov,[["render",rv]]),{componentName:Hi,create:iv}=ee("indicator"),sv=iv({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=Hi;return{[l]:!0,[`${l}--block`]:n.value,[`${l}--align__${a.value}`]:n.value&&a.value}}),componentName:Hi,padZero:st}}});function cv(e,n,a,l,r,i){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,o=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:o},[o===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(o)||o),3)):((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`${e.componentName}--dot`)},null,2))],64))),128))],2)}var io=ie(sv,[["render",cv]]),{componentName:uv,create:dv}=ee("side-navbar"),fv=dv({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)(()=>({[uv]:!0})),r=(o,c=1)=>{for(let s=0;s<o.length;s++){let d=o[s];d?.children?.[0]&&(d.children[0].style.paddingLeft=+e.offset*c+"px",d.className.includes("fox-side-navbar-item")||r(Array.from(d.children[1].children),++a.count))}a.count--},i=()=>{let o=n.value.childNodes;o.length&&(o=Array.from(o).filter(c=>c.nodeType!==3).map(c=>c),r(o))};return(0,t.onMounted)(()=>{i(),a.observer=new MutationObserver(function(){a.count=1,i()}),a.observer.observe(n.value,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),{...(0,t.toRefs)(a),list:n,classes:l}}}),mv={class:"fox-side-navbar__content"},pv={class:"fox-side-navbar__content__list",ref:"list"};function hv(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("view",mv,[(0,t.createElementVNode)("view",pv,[(0,t.renderSlot)(e.$slots,"default")],512)])],2)}var so=ie(fv,[["render",hv]]),{componentName:gv,create:yv}=ee("side-navbar-item"),bv=yv({props:{title:{type:String,default:""},ikey:{type:String,default:""}},emits:["click"],setup:(e,n)=>({classes:(0,t.computed)(()=>({[gv]:!0})),handleClick:()=>{n.emit("click")}})}),vv=["ikey"],Sv={class:"fox-side-navbar-item__title"};function kv(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...o)=>e.handleClick&&e.handleClick(...o),["stop"])),ikey:e.ikey},[(0,t.createElementVNode)("span",Sv,(0,t.toDisplayString)(e.title),1)],10,vv)}var co=ie(bv,[["render",kv]]),{componentName:wv,create:Cv}=ee("sub-side-navbar"),Nv=Cv({props:{title:{type:String,default:""},ikey:{type:[String,Number],default:""},open:{type:Boolean,default:!0}},components:{ArrowDown2:re.ArrowDown2,ArrowUp2:re.ArrowUp2},emits:["title-click"],setup:(e,n)=>{const a=(0,t.reactive)({direction:""}),l=(0,t.computed)(()=>({[wv]:!0})),r=(0,t.computed)(()=>({height:a.direction?"0px":"auto"})),i=()=>{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:r,handleClick:i}}}),Av=["ikey"],Bv={class:"fox-sub-side-navbar__title__text"},Tv={class:"fox-sub-side-navbar__title__icon"};function Vv(e,n,a,l,r,i){const o=(0,t.resolveComponent)("ArrowDown2"),c=(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)((...s)=>e.handleClick&&e.handleClick(...s),["stop"]))},[(0,t.createElementVNode)("span",Bv,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("span",Tv,[e.direction?((0,t.openBlock)(),(0,t.createBlock)(c,{key:1})):((0,t.openBlock)(),(0,t.createBlock)(o,{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,Av)}var uo=ie(Nv,[["render",Vv]]),{componentName:Ev,create:$v}=ee("range"),Dv=$v({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,r;const i=(0,t.ref)(),o=(0,t.ref)(),c=ot(),s=(0,t.computed)(()=>{const{marks:$,max:R,min:M}=e;return Object.keys($).map(parseFloat).sort((F,z)=>F-z).filter(F=>{const z=de(F);return z>=de(M)&&z<=de(R)})}),d=(0,t.computed)(()=>Number(e.max)-Number(e.min)),h=(0,t.computed)(()=>{const $=Ev;return{[$]:!0,[`${$}-disabled`]:e.disabled,[`${$}-vertical`]:e.vertical,[`${$}-show-number`]:!e.hiddenRange}}),u=(0,t.computed)(()=>{const $="fox-range-container";return{[$]:!0,[`${$}-vertical`]:e.vertical}}),p=(0,t.computed)(()=>({background:e.inactiveColor})),y=(0,t.computed)(()=>({borderColor:e.buttonColor})),N=$=>!!e.range&&Array.isArray($),k=()=>{const{modelValue:$,min:R}=e;return N($)?`${($[1]-$[0])*100/d.value}%`:`${($-Number(R))*100/d.value}%`},w=()=>{const{modelValue:$,min:R}=e;return N($)?`${($[0]-Number(R))*100/d.value}%`:"0%"},v=(0,t.computed)(()=>e.vertical?{height:k(),top:w(),background:e.activeColor,transition:o.value?"none":void 0}:{width:k(),left:w(),background:e.activeColor,transition:o.value?"none":void 0}),f=$=>{const R="fox-range-mark",{modelValue:M,max:F,min:z}=e;let X=Number(z),P=Number(F);if(e.range){const[te,oe]=M;X=te,P=oe}else P=M;let _=$<=P&&$>=X;return{[`${R}-text`]:!0,[`${R}-text-active`]:_}},m=$=>{const{min:R,vertical:M}=e;let F={left:`${($-Number(R))/d.value*100}%`};return M&&(F={top:`${($-Number(R))/d.value*100}%`}),F},S=$=>{const{modelValue:R,max:M,min:F}=e;let z=Number(F),X=Number(M);if(e.range){const[P,_]=R;z=P,X=_}return{background:$<=X&&$>=z?e.activeColor:e.inactiveColor}},B=$=>{const{min:R,max:M,step:F}=e;return $=Math.max(+R,Math.min($,+M)),Math.round($/+F)*+F},g=($,R)=>JSON.stringify($)===JSON.stringify(R),b=$=>$[0]>$[1]?$.slice(0).reverse():$,E=($,R)=>{N($)?$=b($).map(B):$=B($),g($,e.modelValue)||n("update:modelValue",$),R&&!g($,l)&&n("change",$)},V=$=>{if(e.disabled)return;const{min:R,modelValue:M}=e,F=qe(i);let z=$.clientX-F.left,X=F.width;e.vertical&&(z=$.clientY-F.top,X=F.height);const P=Number(R)+z/X*d.value;if(N(M)){const[_,te]=M;P<=(_+te)/2?E([P,te],!0):E([_,P],!0)}else E(P,!0)},A=$=>{e.disabled||(c.start($),r=e.modelValue,N(r)?l=r.map(B):l=B(r),o.value="start")},C=$=>{if(e.disabled)return;o.value==="start"&&n("drag-start"),c.move($),o.value="draging";const R=qe(i);let M=c.deltaX.value,F=R.width,z=M/F*d.value;e.vertical&&(M=c.deltaY.value,F=R.height,z=M/F*d.value),N(l)?r[a.value]=l[a.value]+z:r=l+z,E(r),$.stopPropagation(),$.preventDefault()},x=()=>{e.disabled||(o.value==="draging"&&(E(r,!0),n("drag-end")),o.value="")},j=$=>gn(e.modelValue)&&typeof $=="number"?e.modelValue[$]:Number(e.modelValue);return{root:i,classes:h,wrapperStyle:p,buttonStyle:y,onClick:V,onTouchStart:A,onTouchMove:C,onTouchEnd:x,...(0,t.toRefs)(e),barStyle:v,curValue:j,buttonIndex:a,containerClasses:u,markClassName:f,marksStyle:m,marksList:s,tickStyle:S}}}),Iv={key:0,class:"fox-range-min"},qv={key:0,class:"fox-range-mark"},Pv=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","onTouchstart"],xv={key:0,class:"number"},Mv=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax"],Rv={key:0,class:"number"},zv={key:1,class:"fox-range-max"};function Fv(e,n,a,l,r,i){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",Iv,(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)((...o)=>e.onClick&&e.onClick(...o),["stop"]))},[e.marksList.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",qv,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.marksList,o=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:o,class:(0,t.normalizeClass)(e.markClassName(o)),style:(0,t.normalizeStyle)(e.marksStyle(o))},[(0,t.createTextVNode)((0,t.toDisplayString)(o)+" ",1),(0,t.createElementVNode)("span",{class:"fox-range-tick",style:(0,t.normalizeStyle)(e.tickStyle(o))},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],o=>(0,t.createElementVNode)("view",{key:o,role:"slider",class:(0,t.normalizeClass)({"fox-range-button-wrapper-left":o==0,"fox-range-button-wrapper-right":o==1}),tabindex:e.disabled?-1:0,"aria-valuemin":+e.min,"aria-valuenow":e.curValue(o),"aria-valuemax":+e.max,"aria-orientation":"horizontal",onTouchstart:(0,t.withModifiers)(c=>{typeof o=="number"&&(e.buttonIndex=o),e.onTouchStart(c)},["stop","prevent"]),onTouchmove:n[0]||(n[0]=(0,t.withModifiers)((...c)=>e.onTouchMove&&e.onTouchMove(...c),["stop","prevent"])),onTouchend:n[1]||(n[1]=(0,t.withModifiers)((...c)=>e.onTouchEnd&&e.onTouchEnd(...c),["stop","prevent"])),onTouchcancel:n[2]||(n[2]=(0,t.withModifiers)((...c)=>e.onTouchEnd&&e.onTouchEnd(...c),["stop","prevent"])),onClick:n[3]||(n[3]=c=>c.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",xv,(0,t.toDisplayString)(e.curValue(o)),1))],4))],42,Pv)),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)(o=>{e.onTouchStart(o)},["stop","prevent"])),onTouchmove:n[5]||(n[5]=(0,t.withModifiers)((...o)=>e.onTouchMove&&e.onTouchMove(...o),["stop","prevent"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)((...o)=>e.onTouchEnd&&e.onTouchEnd(...o),["stop","prevent"])),onTouchcancel:n[7]||(n[7]=(0,t.withModifiers)((...o)=>e.onTouchEnd&&e.onTouchEnd(...o),["stop","prevent"])),onClick:n[8]||(n[8]=o=>o.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",Rv,(0,t.toDisplayString)(e.curValue()),1))],4))],40,Mv))],4)],6),e.hiddenRange?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",zv,(0,t.toDisplayString)(+e.max),1))],2)}var tn=ie(Dv,[["render",Fv]]),{create:Lv,scope:Ov}=ee("short-password"),Kv=Lv({components:{FoxPopup:Ce,Tips:re.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,ye.useFoxI18n)(Ov),l=a(e,["title","desc","tips"]),r=(0,t.ref)(e.modelValue),i=(0,t.computed)(()=>d(Number(e.length))),o=(0,t.ref)(e.visible),c=u=>{u.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,u=>{o.value=u}),(0,t.watch)(()=>e.modelValue,u=>{r.value=u,String(u).length===i.value&&n("complete",u)});const s=()=>{n("update:visible",!1),n("close")},d=u=>Math.min(Math.max(4,u),6);return{comLen:i,realInput:r,onTouchStart:c,range:d,close:s,onTips:()=>{n("tips")},show:o,...l}}}),Uv={class:"fox-short-password-title"},Hv={class:"fox-short-password-subtitle"},jv={class:"fox-short-password-wrapper"},Wv={key:0,class:"fox-short-password__item-icon"},Yv={class:"fox-short-password__message"},Xv={class:"fox-short-password--error"},Qv={key:0,class:"fox-short-password--forget"};function Gv(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Tips"),c=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(c,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=s=>e.show=s),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Uv,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",Hv,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",jv,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:d},[String(e.realInput).length>d?((0,t.openBlock)(),(0,t.createElementBlock)("view",Wv)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",Yv,[(0,t.createElementVNode)("view",Xv,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",Qv,[(0,t.createVNode)(o,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...s)=>e.onTips&&e.onTips(...s))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var fo=ie(Kv,[["render",Gv]]),_v=class{url="";name="file";fileType="image";formData;sourceFile;method="post";xhrState=200;timeout=30*1e3;headers={};withCredentials=!1;onStart;taroFilePath;onProgress;onSuccess;onFailure;beforeXhrUpload},Zv=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")}},Jv=class{status="ready";message="ready";uid=new Date().getTime().toString();name;url;type;path;percentage=0;formData={}},ji=(e,{args:n=[],done:a,canceled:l})=>{if(e){const r=e.apply(null,n);mt(r)?r.then(i=>{i?a(i):l&&l()}).catch(()=>{}):r?a():l&&l()}else a()},{create:eS}=ee("progress"),tS=eS({components:{Checked:re.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)(),r=(0,t.ref)(),i=(0,t.computed)(()=>{const s=de(e.percentage);return s>=100?100:s}),o=(0,t.computed)(()=>({width:i.value+"%",background:e.strokeColor||""})),c=(0,t.computed)(()=>({color:e.textColor||""}));return(0,t.onMounted)(()=>{}),{height:a,percentage:i,bgStyle:o,textStyle:c,progressOuter:l,insideText:r,slotDefault:n}}}),nS={class:"fox-progress"},lS={key:0,class:"fox-progress-text"};function aS(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Checked");return(0,t.openBlock)(),(0,t.createElementBlock)("div",nS,[(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",lS,[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)(o,{width:"15px",height:"15px",color:"#439422"})]):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)])}var nn=ie(tS,[["render",aS]]),{componentName:oS,create:rS,scope:iS}=ee("uploader"),sS=rS({components:{[nn.name]:nn,Photograph:re.Photograph,Failure:re.Failure,Loading:re.Loading,Del:re.Del,Link:re.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,ye.useFoxI18n)(iS),l=(0,t.reactive)(e.fileList);let r=[];const i=(0,t.computed)(()=>({[oS]:!0})),o=()=>{let f={class:"fox-uploader__input",type:"file",accept:e.accept,multiple:e.multiple,name:e.name,disabled:e.disabled};return e.capture&&(f.capture="camera"),(0,t.h)("input",f)},c=f=>{f.value=""},s=f=>{n("file-item-click",{fileItem:f})},d=(f,m)=>{const S=new _v;S.url=e.url,S.formData=f.formData,S.timeout=e.timeout*1,S.method=e.method,S.xhrState=e.xhrState,S.headers=e.headers,S.withCredentials=e.withCredentials,S.beforeXhrUpload=e.beforeXhrUpload;try{S.sourceFile=f.formData.get(e.name)}catch{}S.onStart=g=>{f.status="ready",f.message=a("readyUpload"),h(m),n("start",g)},S.onProgress=(g,b)=>{f.status="uploading",f.message=a("uploading"),f.percentage=(g.loaded/g.total*100).toFixed(0),n("progress",{event:g,option:b,percentage:f.percentage})},S.onSuccess=(g,b)=>{f.status="success",f.message=a("success"),n("success",{responseText:g,option:b,fileItem:f}),n("update:fileList",l)},S.onFailure=(g,b)=>{f.status="error",f.message=a("error"),n("failure",{responseText:g,option:b,fileItem:f})};let B=new Zv(S);e.autoUpload?B.upload():r.push(new Promise((g,b)=>{g(B)}))},h=(f=-1)=>{f>-1?r.splice(f,1):(r=[],l.splice(0,l.length))},u=()=>{Promise.all(r).then(f=>{f.forEach(m=>m.upload())})},p=f=>{f.forEach((m,S)=>{const B=new FormData;for(const[b,E]of Object.entries(e.data))B.append(b,E);B.append(e.name,m);const g=(0,t.reactive)(new Jv);if(g.name=m.name,g.status="ready",g.type=m.type,g.formData=B,g.message=a("waitingUpload"),d(g,S),e.isPreview&&m.type.includes("image")){const b=new FileReader;b.onload=E=>{g.url=E.target.result,l.push(g)},b.readAsDataURL(m)}else l.push(g)})},y=f=>{const m=e.maximum*1,S=e.maximize*1,B=new Array;f=f.filter(b=>b.size>S?(B.push(b),!1):!0),B.length&&n("oversize",B);let g=f.length+l.length;return g>m&&f.splice(f.length-(g-m)),f},N=(f,m)=>{l.splice(m,1),n("delete",{file:f,fileList:l,index:m})},k=(f,m)=>{h(m),ji(e.beforeDelete,{args:[f,l],done:()=>N(f,m)})},w=f=>{if(e.disabled)return;const m=f.target;let{files:S}=m;e.beforeUpload?e.beforeUpload(S).then(B=>v(B)):v(S),n("change",{fileList:l,event:f}),e.clearInput&&c(m)},v=f=>{p(y(new Array().slice.call(f)))};return{onChange:w,onDelete:k,fileList:l,classes:i,fileItemClick:s,clearUploadQueue:h,submit:u,renderInput:o}}}),cS={key:0,class:"fox-uploader__slot"},uS={key:0,class:"fox-uploader__preview-img"},dS={key:0,class:"fox-uploader__preview__progress"},fS={class:"fox-uploader__preview__progress__msg"},mS=["onClick"],pS=["onClick","src"],hS={key:3,class:"fox-uploader__preview-img__file"},gS=["onClick"],yS={class:"file__name_tips"},bS={class:"tips"},vS={key:1,class:"fox-uploader__preview-list"},SS=["onClick"],kS={class:"file__name_tips"};function wS(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Failure"),c=(0,t.resolveComponent)("Loading"),s=(0,t.resolveComponent)("Link"),d=(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",cS,[(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,y)=>((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",uS,[p.status!="success"?((0,t.openBlock)(),(0,t.createElementBlock)("view",dS,[p.status!="ready"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[p.status=="error"?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0,color:"#fff"})):((0,t.openBlock)(),(0,t.createBlock)(c,{key:1,name:"loading",color:"#fff"}))],64)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",fS,(0,t.toDisplayString)(p.message),1)])):(0,t.createCommentVNode)("",!0),e.isDeletable?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:"close",onClick:N=>e.onDelete(p,y)},[(0,t.renderSlot)(e.$slots,"delete-icon",{},()=>[(0,t.createVNode)(o)])],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:N=>e.fileItemClick(p),src:p.url},null,8,pS)):((0,t.openBlock)(),(0,t.createElementBlock)("view",hS,[(0,t.createElementVNode)("view",{onClick:N=>e.fileItemClick(p),class:"fox-uploader__preview-img__file__name"},[(0,t.createElementVNode)("view",yS,(0,t.toDisplayString)(p.name),1)],8,gS)])),(0,t.createElementVNode)("view",bS,(0,t.toDisplayString)(p.name),1)])):e.listType=="list"?((0,t.openBlock)(),(0,t.createElementBlock)("view",vS,[(0,t.createElementVNode)("view",{onClick:N=>e.fileItemClick(p),class:(0,t.normalizeClass)(["fox-uploader__preview-img__file__name",[p.status]])},[(0,t.createVNode)(s,{class:"fox-uploader__preview-img__file__link"}),(0,t.createElementVNode)("view",kS,(0,t.toDisplayString)(p.name),1),e.isDeletable?((0,t.openBlock)(),(0,t.createBlock)(d,{key:0,color:"#808080",class:"fox-uploader__preview-img__file__del",onClick:N=>e.onDelete(p,y)},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],10,SS),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 mo=ie(sS,[["render",wS]]),CS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozOUNBQTQ0MkY3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozOUNBQTQ0M0Y3RTMxMUVBQjIzNEJCQkY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KAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:AS,scope:BS}=ee("number-keyboard"),TS=AS({components:{FoxPopup:Ce},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,ye.useFoxI18n)(BS),l=a(e,["confirmText"]),r=(0,t.computed)(()=>{const f=["fox-number-keyboard-popup"];return e.popClass&&f.push(e.popClass),f}),i=(0,t.ref)(void 0),o=(0,t.ref)(e.visible),c=(0,t.ref)();function s(){const{customKey:f}=e;let m={id:"lock",type:"lock"},S=Array.isArray(f)?f:[f];return S.length===1&&(m={id:S[0],type:"custom"}),[...d(),m,{id:0,type:"number"},{id:"delete",type:"delete"}]}function d(){const f=[];for(let m=1;m<=9;m++)f.push({id:m,type:"number"});return e.randomKeys?f.sort(()=>Math.random()>.5?1:-1):f}function h(){const f=d(),{customKey:m}=e;let S=Array.isArray(m)?m:[m];return S.length>2&&(S=[S[0],S[1]]),S.length==2&&e.title&&e.type!="rightColumn"&&(S=[S[0]]),S.length===1?e.title&&e.type!="rightColumn"?f.push({id:S[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):f.push({id:0,type:"number"},{id:S[0],type:"custom"}):S.length===2&&f.push({id:S[0],type:"custom"},{id:0,type:"number"},{id:S[1],type:"custom"}),f}const u=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?h():s()),p=()=>{e.visible&&n("blur")},y=f=>{const m=c.value;m&&!m.contains(f.target)&&p()};(0,t.watch)(()=>e.visible,f=>{o.value=f,f?window.addEventListener("touchstart",y,!1):window.removeEventListener("touchstart",y,!1)});function N(f,m){m.stopPropagation(),i.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"&&v(),f.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function k(f){f.stopPropagation()}function w(f){f.preventDefault(),i.value=void 0}function v(){n("update:visible",!1),n("close")}return{...l,allPopClass:r,delImg:CS,lockImg:NS,clickKeyIndex:i,defaultKey:s,closeBoard:v,onTouchEnd:w,onTouchMove:k,onTouchstart:N,keysList:u,genCustomKeys:h,getBasicKeys:d,root:c,show:o}}}),VS={ref:"root"},ES={class:"fox-number-keyboard"},$S={key:0,class:"fox-number-keyboard__header"},DS={class:"fox-number-keyboard__title"},IS={class:"fox-number-keyboard__body"},qS={class:"fox-number-keyboard__keys"},PS=["onTouchstart"],xS=["src"],MS=["src"],RS={key:0,class:"fox-number-keyboard__sidebar"},zS={class:"fox-key__wrapper"},FS=["src"];function LS(e,n,a,l,r,i){const o=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",VS,[(0,t.createVNode)(o,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=c=>e.show=c),position:"bottom",popClass:e.allPopClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",ES,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",$S,[(0,t.createElementVNode)("h3",DS,(0,t.toDisplayString)(e.title),1),e.type=="default"?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-number-keyboard__close",onClick:n[0]||(n[0]=c=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",IS,[(0,t.createElementVNode)("div",qS,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,c=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+c.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":c.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{"fox-key--active":c.id==e.clickKeyIndex},{"fox-key--lock":c.type=="lock"},{"fox-key--delete":c.type=="delete"}]),onTouchstart:s=>e.onTouchstart(c,s),onTouchmove:n[1]||(n[1]=s=>e.onTouchMove(s)),onTouchend:n[2]||(n[2]=s=>e.onTouchEnd(s))},[c.type=="number"||c.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(c.id),1)],64)):(0,t.createCommentVNode)("",!0),c.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,xS)):(0,t.createCommentVNode)("",!0),c.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,MS)):(0,t.createCommentVNode)("",!0)],42,PS)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",RS,[(0,t.createElementVNode)("div",zS,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=c=>e.onTouchstart({id:"delete",type:"delete"},c)),onTouchmove:n[4]||(n[4]=c=>e.onTouchMove(c)),onTouchend:n[5]||(n[5]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,FS)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=c=>e.closeBoard())},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},(0,t.toDisplayString)(e.confirmText),3)])])):(0,t.createCommentVNode)("",!0)])])]),_:1},8,["visible","popClass"])],512)}var po=ie(TS,[["render",LS]]),{componentName:OS,create:KS}=ee("swipe"),US=KS({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,expose:a}){const l=(0,t.computed)(()=>({[OS]:!0})),r=m=>m.value?.clientWidth||0,i=(0,t.ref)(),o=(0,t.computed)(()=>r(i)),c=(0,t.ref)(),s=(0,t.computed)(()=>r(c));let d=!1,h="",u="";const p=(0,t.reactive)({offset:0,moving:!1}),y=(m="")=>{d=!0,m&&(p.offset=m==="left"?-s.value:o.value),n("open",{name:e.name,position:h||m})},N=()=>{p.offset=0,d=!1,n("close",{name:e.name,position:h})},k=(0,t.computed)(()=>({transform:`translate3d(${p.offset}px, 0, 0)`})),w=m=>{h=m>0?"right":"left";let S=m;switch(h){case"left":d&&u===h?S=-s.value:S=Math.abs(m)>s.value?-s.value:m;break;case"right":d&&u===h?S=o.value:S=Math.abs(m)>o.value?o.value:m;break}p.offset=S},v=ot(),f={onTouchStart(m){e.disabled||v.start(m)},onTouchMove(m){e.disabled||(v.move(m),v.isHorizontal()&&(p.moving=!0,w(v.deltaX.value),e.touchMovePreventDefault&&m.preventDefault(),e.touchMoveStopPropagation&&m.stopPropagation()))},onTouchEnd(){if(p.moving)switch(p.moving=!1,u=h,h){case"left":Math.abs(p.offset)<=s.value/2?N():(p.offset=-s.value,y());break;case"right":Math.abs(p.offset)<=o.value/2?N():(p.offset=o.value,y());break}}};return a({open:y,close:N}),{classes:l,touchStyle:k,...f,leftRef:i,rightRef:c,open:y,close:N}}}),HS={class:"fox-swipe__left",ref:"leftRef"},jS={class:"fox-swipe__content"},WS={class:"fox-swipe__right",ref:"rightRef"};function YS(e,n,a,l,r,i){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]=(...o)=>e.onTouchStart&&e.onTouchStart(...o)),onTouchmove:n[1]||(n[1]=(...o)=>e.onTouchMove&&e.onTouchMove(...o)),onTouchend:n[2]||(n[2]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o)),onTouchcancel:n[3]||(n[3]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o))},[(0,t.createElementVNode)("view",HS,[(0,t.renderSlot)(e.$slots,"left")],512),(0,t.createElementVNode)("view",jS,[(0,t.renderSlot)(e.$slots,"default")]),(0,t.createElementVNode)("view",WS,[(0,t.renderSlot)(e.$slots,"right")],512)],38)}var ho=ie(US,[["render",YS]]),{componentName:XS,create:QS}=ee("action-sheet"),GS=QS({components:{Popup:Ce,Loading:re.Loading},props:{...rt,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)(()=>({[XS]:!0}));return{slotDefault:a,isHighlight:s=>e.chooseTagValue&&e.chooseTagValue===s[e.optionTag]?e.color:"",cancelActionSheet:()=>{n("cancel"),n("update:visible",!1)},chooseItem:(s,d)=>{!s.disable&&!s.loading&&(n("choose",s,d),n("update:visible",!1))},close:s=>{n("close",s),n("update:visible",!1)},classes:l}}}),_S={key:0,class:"fox-action-sheet__title"},ZS={key:1},JS={key:0,class:"fox-action-sheet__item fox-action-sheet__desc"},e1={key:1,class:"fox-action-sheet__menu"},t1=["onClick"],n1={key:1},l1={class:"fox-action-sheet__subdesc"};function a1(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Loading"),c=(0,t.resolveComponent)("Popup");return(0,t.openBlock)(),(0,t.createBlock)(c,{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",_S,(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",ZS,[e.description?((0,t.openBlock)(),(0,t.createElementBlock)("view",JS,(0,t.toDisplayString)(e.description),1)):(0,t.createCommentVNode)("",!0),e.menuItems.length?((0,t.openBlock)(),(0,t.createElementBlock)("view",e1,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.menuItems,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-action-sheet__item",{"fox-action-sheet__item--disabled":s.disable,"fox-action-sheet__item--loading":s.loading}]),style:(0,t.normalizeStyle)({color:e.isHighlight(s)||s.color}),key:d,onClick:h=>e.chooseItem(s,d)},[s.loading?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0,name:"loading"})):((0,t.openBlock)(),(0,t.createElementBlock)("view",n1,(0,t.toDisplayString)(s[e.optionTag]),1)),(0,t.createElementVNode)("view",l1,(0,t.toDisplayString)(s[e.optionSubTag]),1)],14,t1))),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]=(...s)=>e.cancelActionSheet&&e.cancelActionSheet(...s))},(0,t.toDisplayString)(e.cancelTxt),1)):(0,t.createCommentVNode)("",!0)]))],2)]),_:3},8,["visible","onClickOverlay","closeOnClickOverlay"])}var go=ie(GS,[["render",a1]]),{componentName:o1,create:r1}=ee("backtop"),i1=r1({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}),r=(0,t.computed)(()=>({[o1]:!0,show:l.backTop})),i=(0,t.computed)(()=>({right:`${e.right}px`,bottom:`${e.bottom}px`,zIndex:e.zIndex}));function o(){l.scrollEl instanceof Window?l.scrollTop=l.scrollEl.pageYOffset:l.scrollTop=l.scrollEl.scrollTop,l.backTop=l.scrollTop>=e.distance}function c(N=0){l.scrollEl instanceof Window?window.scrollTo(0,N):l.scrollEl.scrollTop=N}function s(){let N=Ge(function k(){var w=e.duration-Math.max(0,l.startTime-+new Date+e.duration),v=w*-l.scrollTop/e.duration+l.scrollTop;c(v),N=Ge(k),(w==e.duration||v==0)&&_o(N)})}function d(){l.scrollEl.addEventListener("scroll",o,!1),l.scrollEl.addEventListener("resize",o,!1)}function h(){l.scrollEl.removeEventListener("scroll",o,!1),l.scrollEl.removeEventListener("resize",o,!1)}function u(N){l.startTime=+new Date,e.isAnimation&&e.duration>0?s():c(),n("click",N)}function p(){y.value?l.scrollEl=y.value.el:e.elId&&document.getElementById(e.elId)&&(l.scrollEl=document.getElementById(e.elId)),d()}(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 y=(0,t.computed)(()=>{if(typeof a.content=="function"){const N=a.content();return Array.isArray(N)?N[0]:N}return null});return()=>{const N=[];y.value&&N.push(y.value);const k=[];if(typeof a.default=="function")k.push(a.default());else{const v=(0,t.h)(re.Top,{class:["fox-backtop-main"],width:"19px",height:"19px"});k.push(v)}const w=(0,t.h)("div",{class:r.value,style:i.value,onClick:u},k);return N.push(w),N}}}),yo=i1,{componentName:s1,create:c1}=ee("drag"),u1=c1({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}}),r=(0,t.computed)(()=>({[s1]:!0}));function i(){const u=document.documentElement;l.elWidth=a.value.offsetWidth,l.elHeight=a.value.offsetHeight,l.screenWidth=u.clientWidth,l.screenHeight=u.clientHeight}function o(u){l.boundary.left?+u.style.left.split("px")[0]>l.boundary.left?(u.style.left=+u.style.left.split("px")[0]-10+"px",je(()=>{o(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",je(()=>{o(u)})):u.style.left="0px"}function c(u,p){p-parseInt(u.style.left.split("px")[0])>10?(u.style.left=parseInt(u.style.left.split("px")[0])+10+"px",je(()=>{c(u,p)})):u.style.left=p+"px"}function s(u){u.preventDefault();const p=u.currentTarget;if(u.targetTouches.length===1){const y=u.targetTouches[0];l.nx=y.clientX-l.position.x,l.ny=y.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny;const N=l.screenWidth-l.elWidth-l.boundary.right;Math.abs(l.xPum)>N?l.xPum=N: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 d(u){const p=u.currentTarget;let y=u.changedTouches[0].clientX;const N=l.screenWidth-l.elWidth-l.boundary.right;y>N?y=N:y<l.boundary.left?y=l.boundary.left:y=y<l.screenWidth/2?l.boundary.left:N,e.direction!="y"&&e.attract&&(y<l.screenWidth/2?je(()=>{o(p)}):je(()=>{c(p,N)})),e.direction!="x"&&(p.style.top=l.yPum+"px")}function h(u){const p=u.currentTarget,y=u.touches[0],N=u.targetTouches[0];l.startTop=p.offsetTop,l.startLeft=p.offsetLeft,l.position.x=y.clientX,l.position.y=y.clientY,l.nx=N.clientX-l.position.x,l.ny=N.clientY-l.position.y,l.xPum=l.startLeft+l.nx,l.yPum=l.startTop+l.ny}return(0,t.onMounted)(()=>{i(),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",s),u.value.removeEventListener("touchend",d)}),{classes:r,myDrag:a,touchStart:h,touchMove:s,touchEnd:d}}});function d1(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"myDrag",onTouchstart:n[0]||(n[0]=o=>e.touchStart(o)),onTouchmove:n[1]||(n[1]=o=>e.touchMove(o)),onTouchend:n[2]||(n[2]=o=>e.touchEnd(o))},[(0,t.renderSlot)(e.$slots,"default")],34)}var bo=ie(u1,[["render",d1]]),f1={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 p1(e,n,a,l,r){return{props:{...rt,...f1},setup(i,{attrs:o,slots:c,emit:s}){const{toLocaleRefs:d}=(0,ye.useFoxI18n)(n),h=d(i,["confirmText","cancelText"]),u=e,p=(0,t.ref)(i.visible);(0,t.watch)(()=>i.visible,g=>{p.value!==g&&(p.value=g,g&&s("opened"))});const y=g=>{p.value=g,s("update:visible",g),s("update",g)},N=g=>{if(s(g),!(g==="cancel"&&!i.cancelAutoClose))if(typeof i.beforeClose=="function"){const b=i.beforeClose(g);mt(b)?b.then(E=>{E&&(y(!1),s("closed",g))}):b===!0&&(y(!1),s("closed",g))}else y(!1),s("closed",g)},k=()=>{N("confirm")},w=()=>{N("cancel")},v=()=>{N("close")},f=(g,b)=>m1(g)?(b.src=g,(0,t.h)("img",b)):typeof g=="string"?(Array.isArray(b.class)?b.class.push(g):b.class&&typeof b.class=="object"?b[`${g}`]=!0:typeof b.class=="string"?b.class=`${b.class}, ${g}`:b.class=g,(0,t.h)(i.tag,b)):(0,t.h)(g,b),m=()=>{const g=[];if(c.header){const b=c.header();g.push(b)}else{if(i.title){const b=(0,t.h)("view",{class:`${u}__header-title`},[i.title]);g.push(b)}if(i.showClose){const b={class:[`${u}__header-close-icon`],onClick:v},E=f(i.closeIcon??r,b);g.push(E)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__header`]},g)},S=()=>{const g=[];if(c.default)g.push(c.default());else{const b={class:[`${u}__content`]};if(i.textAlign&&b.class.push(i.textAlign),typeof i.content=="string"){b.innerHTML=i.content;const E=(0,t.h)("view",b);g.push(E)}else if(typeof i.content=="function"){const E=(0,t.h)("view",b,[i.content()]);g.push(E)}else{const E=(0,t.h)("view",b,[i.content]);g.push(E)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__body`]},g)},B=()=>{if(!i.showFooter)return null;const g=[];if(c.footer)g.push(c.footer());else if(i.plain){if(i.showCancelButton){const b={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},onClick:w};i.cancelButtonClass&&b.class.push(i.cancelButtonClass),i.cancleButtonStyle&&typeof i.cancleButtonStyle=="object"&&Object.assign(b.style,i.cancleButtonStyle);const E=(0,t.h)("view",b,[i.cancelButtonText??h.cancelText.value]);g.push(E)}if(i.showConfirmButton){const b={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},onClick:k};i.confirmButtonClass&&b.class.push(i.confirmButtonClass),i.confirmButtonStyle&&typeof i.confirmButtonStyle=="object"&&Object.assign(b.style,i.confirmButtonStyle);const E=(0,t.h)("view",b,[i.confirmButtonText??h.confirmText.value]);g.push(E)}}else{if(i.showCancelButton){const b={class:[`${u}__footer-button`,`${u}__footer-cancel`],style:{},plain:!0,type:"primary",size:"small",onClick:w};i.cancelButtonClass&&b.class.push(i.cancelButtonClass),i.cancleButtonStyle&&typeof i.cancleButtonStyle=="object"&&Object.assign(b.style,i.cancleButtonStyle);const E=(0,t.h)(l,b,{default:()=>[i.cancelButtonText??h.cancelText.value]});g.push(E)}if(i.showConfirmButton){const b={class:[`${u}__footer-button`,`${u}__footer-confirm`],style:{},plain:!1,type:"primary",size:"small",onClick:k};i.confirmButtonClass&&b.class.push(i.confirmButtonClass),i.confirmButtonStyle&&typeof i.confirmButtonStyle=="object"&&Object.assign(b.style,i.confirmButtonStyle);const E=(0,t.h)(l,b,{default:()=>[i.confirmButtonText??h.confirmText.value]});g.push(E)}}return g.length===0?null:(0,t.h)("view",{class:[`${u}__footer`,`${u}__footer--${i.footerDirection}`]},g)};return()=>{const g=[],b=m();b&&g.push(b);const E=S();E&&g.push(E);const V=B();V&&g.push(V);const A=(0,t.h)("view",{class:{[`${u}`]:!0,[`${u}--plain`]:i.plain}},g),C=[`${u}__popup`];i.popClass&&C.push(i.popClass);const x={};return i.width&&(x.width=typeof i.width=="number"?`${i.width}px`:i.width),i.height&&(x.height=typeof i.height=="number"?`${i.height}px`:i.height),(0,t.h)(a,{...ve(i,rt),popClass:C.join(" "),style:x,visible:p.value,teleportDisable:!0,closeable:!1,"onUpdate:visible":y,position:i.position,onClickOverlay:v,closeOnClickOverlay:i.closeOnClickOverlay},{default:()=>A})}}}}var{componentName:h1,create:g1,scope:y1}=ee("dialog"),b1=g1(p1(h1,y1,Ce,Bt,re.Close)),Wi=b1,v1=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},S1=class{options=new v1;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 r=document.createElement("view"),i=`dialog-${n.id}`;r.id=i;const o=(0,t.createVNode)({setup(){return n.onUpdate=c=>{if(c===!1){const s=document.querySelector(`#${i}`);s&&s.parentNode?.removeChild(s)}},n?.onOpened&&n?.onOpened(),()=>(0,t.h)(Wi,n)}});a.appendChild(r),(0,t.render)(o,r)}},ln=function(e){return new S1(e)};ln.install=e=>{e.use(Wi),e.config.globalProperties.$dialog=ln};var k1={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}},w1=(e,n,a)=>({props:{...k1},emits:["change","refresh","update:modelValue"],setup(l,{emit:r,slots:i}){const{toLocaleRefs:o}=(0,ye.useFoxI18n)(n),c=o(l,["pullingText","loosingText","loadingText"]),s=Gn(),d=(0,t.ref)(),h=Di(d),u=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),p=(0,t.computed)(()=>({[e]:!0})),y=(0,t.computed)(()=>{switch(u.status){case"pulling":return i.pulling?"":c.pullingText.value;case"loosing":return i.loosing?"":c.loosingText.value;case"loading":return i.loading?"":c.loadingText.value;default:return""}}),N=(0,t.computed)(()=>({transitionDuration:`${l.duration}s`,transform:u.distance?`translate3d(0,${u.distance}px, 0)`:""})),k=(0,t.computed)(()=>{const b={};return l.headHeight!=50&&(b.height=he(l.headHeight)),b}),w=b=>{const E=+(l.pullDistance||l.headHeight);let V=b;return b>E&&(b<E*2?V=(b+E)/2:V=E+b/4),Math.round(V)},v=(b,E)=>{const V=+(l.pullDistance||l.headHeight);u.distance=b,E?u.status="loading":b===0?u.status="normal":b<V?u.status="pulling":u.status="loosing",r("change",{status:u.status,distance:b})},f=()=>u.status!=="loading"&&u.status!=="complete",m=()=>h.value==window?Ii()==0:h.value&&h.value.scrollTop==0,S=b=>{f()&&(m()?(s.start(b),u.isPullRefresh=!0,u.moving=!0):(u.distance=0,u.isPullRefresh=!1))},B=b=>{f()&&u.moving&&(s.move(b),s.isVertical()&&s.state.deltaY>0&&u.isPullRefresh&&(b.cancelable&&b.preventDefault(),v(w(s.state.deltaY))))},g=()=>{u.moving=!1,u.isPullRefresh&&f()&&s.state.deltaY&&(u.status==="loosing"?(v(+l.headHeight,!0),r("update:modelValue",!0),(0,t.nextTick)(()=>r("refresh"))):v(0)),setTimeout(()=>{s.reset()},0)};return(0,t.watch)(()=>l.modelValue,b=>{b?v(+l.headHeight,!0):v(0)}),()=>{const b=[];let E=null;u.status==="loading"?(E=i?.loading?.()??null,E||(E=(0,t.h)(a,{class:["fox-pull-refresh-container-topbox-icon"]}))):u.status==="pulling"?E=i?.pulling?.()??null:u.status==="loosing"&&(E=i?.loosing?.()??null),E&&b.push(E);const V=(0,t.h)("dive",{class:["fox-pull-refresh-container-topbox-text"]},[y.value]);b.push(V);const A=(0,t.h)("div",{class:["fox-pull-refresh-container-topbox"],style:k.value},b),C=(0,t.h)("div",{class:"fox-pull-refresh-container",style:N.value},[A,i?.default?.()]),x={ref:d,class:p.value};return Qn()?Object.assign(x,{onTouchstart:S,onTouchmove:B,onTouchend:g}):Object.assign(x,{onMousedown:S,onMousemove:B,onMouseup:g}),(0,t.h)("div",x,[C])}}}),{componentName:C1,create:N1,scope:A1}=ee("pull-refresh"),B1=N1(w1(C1,A1,re.Loading)),vo=B1,{create:T1}=ee("notify"),V1=T1({components:{[Ce.name]:Ce},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 r=()=>{l&&clearTimeout(l),l=null},i=()=>{n("update:visible",!1)},o=(0,t.ref)(!1),c=(0,t.watch)(()=>e.visible,d=>{o.value=e.visible;const h=e.duration;d&&h&&(l=setTimeout(()=>{i()},h))},{immediate:!0});return{onAfterLeave:()=>{r(),c&&c(),e.unmount&&e.unmount(e.id),e.onClose&&e.onClose()},clickCover:a,isShowPopup:o}}});function E1(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(o,{visible:e.isShowPopup,"onUpdate:visible":n[1]||(n[1]=c=>e.isShowPopup=c),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]=(...c)=>e.clickCover&&e.clickCover(...c))},[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 So=ie(V1,[["render",E1]]),ko={type:"base",visible:!0,msg:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:Function,teleport:"",unmount:new Function},Tt=[],an=[],Yi=e=>{if(e){const n=document.getElementById(e);an=an.filter(a=>a.id!==e),Tt=Tt.filter(a=>a!==e),n&&document.body.removeChild(n)}else Tt.forEach(n=>{const a=document.getElementById(n);a&&document.body.removeChild(a)}),an=[],Tt=[]},$1=e=>{const n=document.getElementById(e.id);if(n){const a=an.find(r=>r.id===e.id);a?e={...ko,...a,...e}:e={...ko,...e};const l=(0,t.createVNode)(So,e);return(0,t.render)(l,n),l.component.data}},on=e=>{e.unmount=Yi;let n;if(e.id){if(n=e.id,Tt.find(r=>r===e.id))return $1(e)}else n=new Date().getTime()+"";e={...ko,...e},e.id=n,Tt.push(e.id),an.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)(So,e)}});document.body.appendChild(a),(0,t.render)(l,a)},rn=e=>{if(!e){console.warn("[NutUI Notify]: msg不能为空");return}},wo={text(e,n={}){return rn(e),on({...n,msg:e})},primary(e,n={}){return rn(e),on({...n,msg:e,type:"primary"})},success(e,n={}){return rn(e),on({...n,msg:e,type:"success"})},danger(e,n={}){return rn(e),on({...n,msg:e,type:"danger"})},warn(e,n={}){return rn(e),on({...n,msg:e,type:"warning"})},hide(){Yi()},install(e){e.use(So)}},{create:D1}=ee("toast"),I1=D1({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 r=()=>{a&&(clearTimeout(a),a=null)},i=()=>{l.mounted=!1},o=()=>{r(),e.duration&&(a=setTimeout(()=>{i()},e.duration))},c=()=>{e.closeOnClickOverlay&&(i(),n("close"))};e.duration&&o(),(0,t.watch)(()=>e.duration,y=>{y&&o()});const s=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),d=()=>{const y=ue(e.iconSize);return(0,t.h)(e.icon,{width:y,height:y,color:e.iconColor})},h=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":s.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),u=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:i,clickCover:c,renderIcon:d,hasIcon:s,toastBodyClass:h,toastIconWrapperClass:u,onAfterLeave:()=>{r(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),q1={key:1,class:"fox-toast-title"},P1=["innerHTML"];function x1(e,n,a,l,r,i){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]=(...o)=>e.clickCover&&e.clickCover(...o))},[(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",q1,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,P1)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var Co=ie(I1,[["render",x1]]),No={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},Vt=[],sn=[],Xi=e=>{if(e){const n=document.getElementById(e);sn=sn.filter(a=>a.id!==e),Vt=Vt.filter(a=>a!==e),n&&((0,t.render)(null,n),document.body.removeChild(n))}else Vt.forEach(n=>{const a=document.getElementById(n);a&&((0,t.render)(null,a),document.body.removeChild(a))}),sn=[],Vt=[]},M1=e=>{const n=document.getElementById(e.id);if(n){const a=sn.find(r=>r.id===e.id);a?e={...No,...a,...e}:e={...No,...e};const l=(0,t.createVNode)(Co,e);return(0,t.render)(null,n),(0,t.render)(l,n),Et}},cn=e=>{e.unmount=Xi;let n;if(e.id){if(n=e.id,Vt.find(l=>l===e.id))return M1(e)}else n=new Date().getTime()+"";e={...No,...e},e.id=n,Vt.push(e.id),sn.push(e);const a=document.createElement("div");return a.id=e.id,(0,t.render)((0,t.createVNode)(Co,e),a),document.body.appendChild(a),Et},vl=e=>e?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Et={text(e,n={}){if(vl(e))return cn({...n,type:"text",msg:e})},success(e,n={}){if(vl(e))return cn({icon:re.Success,...n,msg:e,type:"success"})},fail(e,n={}){if(vl(e))return cn({icon:re.Failure,...n,msg:e,type:"fail"})},warn(e,n={}){if(vl(e))return cn({icon:re.Tips,...n,msg:e,type:"warn"})},loading(e,n={}){return cn({icon:re.Loading,...n,msg:e,type:"loading"})},hide(e){Xi(e)},install(e){e.use(Co),e.config.globalProperties.$toast=Et}},{componentName:H2,create:R1}=ee("audio"),z1=R1({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:re.Service,[tn.name]:tn},emits:["fastBack","play","forward","ended","changeProgress","mute","can-play"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),r=(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 k=["webkitVisibilityState","visibilitychange"];try{for(let w=0;w<k.length;w++)document.addEventListener(k[w],()=>{document.hidden?l.value.pause():r.playing&&setTimeout(()=>{l.value.play()},200)})}catch(w){w.message}});const i=k=>{const w=l.value;e.autoplay&&w&&w.paused&&w.play(),r.second=w.duration,r.duration=N(w.duration),n("can-play",k)},o=k=>{r.currentTime=parseInt(k.target.currentTime)},c=()=>{r.currentTime>0&&r.currentTime--,l.value.currentTime=r.currentTime,n("fastBack",r.currentTime)},s=()=>{const k=l.value;r.playing?(k.pause(),r.handPlaying=!1):(k.play(),r.handPlaying=!0),r.playing=!r.playing,n("play",r.playing)},d=()=>{r.currentTime++,l.value.currentTime=r.currentTime,n("forward",r.currentTime)},h=k=>{r.currentDuration=N(k),r.percent=k/r.second*100},u=()=>{r.playing=!1,n("ended")},p=k=>{const w=l.value;w.currentTime=r.second*k/100,n("changeProgress",w.currentTime)},y=()=>{r.hanMuted=!r.hanMuted,n("mute",r.hanMuted)},N=k=>{if(!k)return"00:00:00";let w=parseInt(k),v=Math.floor(w/3600),f=Math.floor((w-v*3600)/60),m=w-v*3600-f*60,S="";return S+=("0"+v.toString()).slice(-2)+":",S+=("0"+f.toString()).slice(-2)+":",S+=("0"+m.toString()).slice(-2),S};return(0,t.watch)(()=>r.currentTime,k=>{h(k)}),(0,t.provide)("audioParent",{children:[],props:e,audioData:r,handleMute:y,forward:d,fastBack:c,changeStatus:s}),{...(0,t.toRefs)(e),...(0,t.toRefs)(r),audioRef:l,fastBack:c,forward:d,changeStatus:s,progressChange:p,audioEnd:u,onTimeupdate:o,handleMute:y,onCanplay:i,slots:a}}}),F1={class:"fox-audio"},L1={key:0,class:"fox-audio__progress"},O1={class:"fox-audio__time"},K1={class:"fox-audio__bar"},U1={class:"fox-audio__time"},H1={key:1,class:"fox-audio__icon"},j1=["controls","src","preload","autoplay","loop","muted"];function W1(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-range"),c=(0,t.resolveComponent)("Service");return(0,t.openBlock)(),(0,t.createElementBlock)("div",F1,[e.type=="progress"?((0,t.openBlock)(),(0,t.createElementBlock)("div",L1,[(0,t.createElementVNode)("div",O1,(0,t.toDisplayString)(e.currentDuration),1),(0,t.createElementVNode)("div",K1,[(0,t.createVNode)(o,{modelValue:e.percent,"onUpdate:modelValue":n[0]||(n[0]=s=>e.percent=s),"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",U1,(0,t.toDisplayString)(e.duration),1)])):(0,t.createCommentVNode)("",!0),e.type=="icon"?((0,t.openBlock)(),(0,t.createElementBlock)("div",H1,[(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]=(...s)=>e.changeStatus&&e.changeStatus(...s))},[e.playing?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,class:"fox-icon-am-rotate fox-icon-am-infinite"})):((0,t.openBlock)(),(0,t.createBlock)(c,{key:1}))],2)])):(0,t.createCommentVNode)("",!0),e.type=="none"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,onClick:n[2]||(n[2]=(...s)=>e.changeStatus&&e.changeStatus(...s))},[(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]=(...s)=>e.onTimeupdate&&e.onTimeupdate(...s)),onCanplay:n[4]||(n[4]=(...s)=>e.onCanplay&&e.onCanplay(...s)),onEnded:n[5]||(n[5]=(...s)=>e.audioEnd&&e.audioEnd(...s)),muted:e.hanMuted},null,40,j1)])}var Ao=ie(z1,[["render",W1]]),{componentName:j2,create:Y1,scope:X1}=ee("audio-operate"),Q1=Y1({props:{type:{type:String,default:()=>"play"}},components:{},emits:["click"],setup(e,{emit:n}){const{t:a}=(0,ye.useFoxI18n)(X1),l=(0,t.reactive)((0,t.inject)("audioParent")),r=(0,t.ref)((0,t.useSlots)().default);return{...(0,t.toRefs)(e),...(0,t.toRefs)(l),customSlot:r,t:a}}}),G1={class:"fox-audio-operate"};function _1(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-button");return(0,t.openBlock)(),(0,t.createElementBlock)("div",G1,[e.type=="back"?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-audio-operate-item",onClick:n[0]||(n[0]=(...c)=>e.fastBack&&e.fastBack(...c))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(o,{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]=(...c)=>e.changeStatus&&e.changeStatus(...c))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(o,{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]=(...c)=>e.forward&&e.forward(...c))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(o,{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]=(...c)=>e.handleMute&&e.handleMute(...c))},[e.customSlot?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createBlock)(o,{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 Bo=ie(Q1,[["render",_1]]),{componentName:Z1,create:J1}=ee("avatar"),ek=J1({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:r}=(0,t.toRefs)(e),i=["large","normal","small"],o=(0,t.inject)("avatarGroup",null),c=(0,t.ref)(null),s=(0,t.reactive)({lightTheme:!1}),d=(0,t.reactive)({index:1,showMax:!1,maxIndex:0});(0,t.onMounted)(()=>{const N=o?.avatarGroupRef?.value?.children;N&&y(N)});const h=(0,t.computed)(()=>({[Z1]:!0,[`fox-avatar-${n.value||o?.props?.size||"normal"}`]:!0,[`fox-avatar-${a.value||o?.props?.shape||"normal"}`]:!0})),u=(0,t.computed)(()=>({width:i.indexOf(n.value)>-1?"":`${n.value}px`,height:i.indexOf(n.value)>-1?"":`${n.value}px`,backgroundColor:`${l.value}`,color:`${r.value}`,marginLeft:d.index!=1&&(o?.props?.span?`${o?.props?.span}px`:""),zIndex:o?.props?.zIndex=="right"?`${Math.abs(d.maxIndex-d.index)}`:""})),p=(0,t.computed)(()=>({backgroundColor:`${o?.props?.maxBgColor}`,color:`${o?.props?.maxColor}`})),y=N=>{d.maxIndex=N.length;for(let k=0;k<N.length;k++)N[k]&&N[k].classList&&N[k].classList[0]=="fox-avatar"&&N[k].setAttribute("data-index",k+1);d.index=c?.value?.dataset?.index,d.index==d.maxIndex&&d.index!=o?.props?.maxCount&&(d.showMax=!0)};return{classes:h,styles:u,maxStyles:p,avatarGroup:o,visible:s,avatarRef:c,...(0,t.toRefs)(d)}}});function tk(e,n,a,l,r,i){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 un=ie(ek,[["render",tk]]),{componentName:nk,create:lk}=ee("avatar-group"),ak=lk({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),r=(0,t.ref)(null),i=(0,t.ref)(0),o=(0,t.computed)(()=>({[nk]:!0}));return(0,t.onMounted)(()=>{}),(0,t.provide)("avatarGroup",{props:e,avatarGroupRef:r,index:i}),{classes:o,avatarGroupRef:r}}});function ok(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"avatarGroupRef"},[(0,t.renderSlot)(e.$slots,"default")],2)}var To=ie(ak,[["render",ok]]),$t=(function(e){return e[e.eq=1]="eq",e[e.lt=2]="lt",e[e.gt=3]="gt",e})({});function rk(e,n,a){let l=0,r=e.length-1,i=null;for(;l<=r;){i=Math.floor((l+r)/2);const o=e[i],c=a(o,n);if(c===$t.eq)return i;c===$t.lt?l=i+1:c===$t.gt&&(r=i-1)}return i}var{componentName:ik,create:sk}=ee("list"),Qi=document.documentElement.clientHeight||document.body.clientHeight||667,ck=sk({props:{listData:{type:Array,default:()=>[]},bufferSize:{type:Number,default:5},containerHeight:{type:[Number],default:Qi},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),r=(0,t.ref)(null),i=(0,t.reactive)({start:0,originStartIndex:0,scrollTop:0,list:e.listData.slice(),cachePositions:[],phantomHeight:e.height*e.listData.length}),o=(0,t.computed)(()=>Math.min(e.containerHeight,Qi)),c=(0,t.computed)(()=>Math.ceil(o.value/e.height)),s=(0,t.computed)(()=>Math.min(i.originStartIndex+c.value+e.bufferSize,i.list.length)),d=(0,t.computed)(()=>({[ik]:!0})),h=(0,t.computed)(()=>i.list.slice(i.start,s.value)),u=()=>{if(r.value)return`translate3d(0, ${i.start>=1?i.cachePositions[i.start-1].bottom:0}px, 0)`},p=()=>{i.cachePositions=[];for(let v=0;v<i.list.length;++v)i.cachePositions[v]={index:v,height:e.height,top:v*e.height,bottom:(v+1)*(e.height+e.margin),dValue:0}},y=()=>{let v=r.value.childNodes;v=Array.from(v).filter(g=>g.nodeType===1);const f=v[0];v.forEach((g,b)=>{if(!g)return;const{height:E}=qe(g),V=i.cachePositions[b+i.start].height-E;V&&(i.cachePositions[b+i.start].bottom-=V,i.cachePositions[b+i.start].height=E,i.cachePositions[b+i.start].dValue=V)});let m=0;f&&(m=i.start);const S=i.cachePositions.length;let B=i.cachePositions[m].dValue;i.cachePositions[m].dValue=0;for(let g=m+1;g<S;++g){const b=i.cachePositions[g];i.cachePositions[g].top=i.cachePositions[g-1].bottom,i.cachePositions[g].bottom=i.cachePositions[g].bottom-B,b.dValue!==0&&(B+=b.dValue,b.dValue=0)}i.phantomHeight=i.cachePositions[S-1].bottom},N=(v=0)=>{let f=rk(i.cachePositions,v,(m,S)=>{const B=m.bottom;return B===S?$t.eq:B<S?$t.lt:$t.gt});return i.cachePositions[f].bottom<v&&(f+=1),f},k=()=>{i.originStartIndex=0,i.start=0,i.scrollTop=0,a.value.scrollTop=0,p(),i.phantomHeight=e.height*i.list.length},w=()=>{const v=a.value?.scrollTop,{originStartIndex:f}=i,m=N(v);m!==f&&(i.originStartIndex=m,i.start=Math.max(i.originStartIndex-e.bufferSize,0),s.value>=i.list.length-1&&n("scroll-bottom")),n(v>i.scrollTop?"scroll-up":"scroll-down",v),i.scrollTop=v};return(0,t.watch)(()=>e.listData,v=>{if(i.list=v.slice(),i.list.length===v.length)p(),y();else{k();return}}),(0,t.watch)(()=>i.start,()=>{r.value&&i.list.length>0&&y()}),{...(0,t.toRefs)(i),list:a,phantom:l,actualContent:r,getTransform:u,visibleData:h,classes:d,getContainerHeight:o,handleScrollEvent:w}}});function uk(e,n,a,l,r,i){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]=(...o)=>e.handleScrollEvent&&e.handleScrollEvent(...o)),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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"fox-list-item",key:o},[(0,t.renderSlot)(e.$slots,"default",{item:o,index:c+e.start})]))),128))],4)],38)}var Vo=ie(ck,[["render",uk]]),{componentName:dk,create:fk}=ee("circleprogress"),mk=fk({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),r=(0,t.computed)(()=>({[dk]:!0})),i=(0,t.computed)(()=>{const c=e.clockwise?1:0;return`M 50 50 m 0 -45 a 45 45 0 1 ${c} 0 90 a 45 45 0 1, ${c} 0 -90`}),o=(0,t.computed)(()=>$e(e.color)?`url(#${l})`:e.color);return{classes:r,hoverStyle:(0,t.computed)(()=>{let c=283,s=c*Number(e.progress)/100;return{stroke:$e(e.color)?`url(#${l})`:e.color,strokeDasharray:`${s}px ${c}px`}}),pathStyle:(0,t.computed)(()=>({stroke:e.pathColor})),path:i,hoverColor:o,stop:(0,t.computed)(()=>{if(!$e(e.color))return;let c=e.color;const s=Object.keys(c).sort((h,u)=>parseFloat(h)-parseFloat(u));let d=[];return s.map((h,u)=>{let p={key:"",value:""};p.key=h,p.value=c[h],d.push(p)}),d}),slotDefault:a,refRandomId:l}}}),pk={viewBox:"0 0 100 100"},hk=["id"],gk=["offset","stop-color"],yk=["d","stroke-width"],bk=["d","stroke","stroke-linecap","stroke-width"],vk={class:"fox-circleprogress-text"},Sk={key:0};function kk(e,n,a,l,r,i){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",pk,[(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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("stop",{key:c,offset:o.key,"stop-color":o.value},null,8,gk))),128))],8,hk)]),(0,t.createElementVNode)("path",{class:"fox-circleprogress-path",style:(0,t.normalizeStyle)(e.pathStyle),d:e.path,fill:"none","stroke-width":e.strokeWidth}," > ",12,yk),(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,bk)])),(0,t.createElementVNode)("div",vk,[(0,t.renderSlot)(e.$slots,"default"),e.slotDefault?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("div",Sk,(0,t.toDisplayString)(e.progress)+"%",1))])],6)}var Eo=ie(mk,[["render",kk]]),{componentName:wk,create:Ck}=ee("noticebar"),Nk=Ck({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:re.Notice,CircleClose:re.CircleClose},emits:["click","close","across-end"],setup(e,{emit:n,slots:a}){const l=(0,t.ref)(null),r=(0,t.ref)(null),i=(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}),o=(0,t.computed)(()=>({[wk]:!0})),c=(0,t.computed)(()=>i.isCanScroll==null?e.wrapable:!i.isCanScroll&&!e.wrapable),s=(0,t.computed)(()=>({"fox-noticebar__page-wrap-content":!0,"fox-ellipsis":c.value,[i.animationClass]:!0})),d=(0,t.computed)(()=>{let b={};return e.color&&(b.color=e.color),e.background&&(b.background=e.background),e.direction=="vertical"&&(b.height=`${e.height}px`),b}),h=(0,t.computed)(()=>({animationDelay:(i.firstRound?e.delay:0)+"s",animationDuration:i.duration+"s",transform:`translateX(${i.firstRound?0:i.wrapWidth+"px"})`})),u=(0,t.computed)(()=>{let b={};if(e.complexAm)b={transform:`translateY(${i.distance}px)`};else if(i.animate){let E=~~(e.height/e.speed/4);b={transition:`all ${E==0?~~(e.height/e.speed):E}s`,"margin-top":`-${e.height}px`}}return b});(0,t.watch)(()=>e.text,b=>{p(b)}),(0,t.watch)(()=>e.list,b=>{i.scrollList=[...b]});const p=b=>{i.showNoticebar!=!1&&setTimeout(()=>{if(!l.value||!r.value)return;const E=l.value.getBoundingClientRect().width,V=r.value.getBoundingClientRect().width;i.isCanScroll=e.scrollable==null?V>E:e.scrollable,i.isCanScroll?(i.wrapWidth=E,i.offsetWidth=V,i.duration=V/e.speed,i.animationClass="play"):i.animationClass=""},0)},y=b=>{n("click",b)},N=b=>{e.closeMode&&(i.showNoticebar=!e.closeMode),n("close",b)},k=b=>{i.firstRound=!1,n("across-end",b),setTimeout(()=>{i.duration=(i.offsetWidth+i.wrapWidth)/e.speed,i.animationClass="play-infinite"},0)},w=()=>{v(),i.timer=setInterval(v,~~(e.height/e.speed/4*1e3)+e.standTime)},v=()=>{i.animate=!0,setTimeout(()=>{i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.animate=!1},~~(e.height/e.speed/4*1e3))},f=()=>{i.timer=setInterval(()=>{let b=100;for(let E=0;E<b;E++)m(E,!(E<b-1))},e.standTime+100*e.speed)},m=(b,E)=>{setTimeout(()=>{i.distance-=e.height/100,E&&(i.scrollList.push(i.scrollList[0]),i.scrollList.shift(),i.distance=0)},b*e.speed)},S=b=>{n("click",b)},B=()=>{e.closeMode&&(i.showNoticebar=!e.closeMode),n("close",i.scrollList[0])};(0,t.onMounted)(()=>{e.direction=="vertical"?(a.default?g(a.default()):i.scrollList=[...e.list],setTimeout(()=>{e.complexAm?f():w()},e.standTime)):p(e.text)}),(0,t.watch)(()=>a.default?a.default():[],b=>{e.direction==="vertical"&&a.default&&(i.showNotica=!1,setTimeout(()=>{i.showNotica=!0}),g(b))});const g=b=>{b&&b.length>0&&(i.scrollList=b[0].children)};return(0,t.onActivated)(()=>{i.keepAlive&&(i.keepAlive=!1)}),(0,t.onDeactivated)(()=>{i.keepAlive=!0,clearInterval(i.timer)}),(0,t.onUnmounted)(()=>{clearInterval(i.timer)}),{...(0,t.toRefs)(e),...(0,t.toRefs)(i),isEllipsis:c,classes:o,barStyle:d,contentStyle:h,horseLampStyle:u,wrap:l,content:r,handleClick:y,onClickIcon:N,onAnimationEnd:k,go:S,handleClickIcon:B,slots:a,toPxString:he,wrapContentClass:s}}}),Ak={key:0,class:"fox-noticebar__page-lefticon"},Bk={ref:"wrap",class:"fox-noticebar__page-wrap"},Tk={class:"showNotica"},Vk=["onClick"];function Ek(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Notice"),c=(0,t.resolveComponent)("CircleClose"),s=(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]=(...d)=>e.handleClick&&e.handleClick(...d))},[e.showLeftIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ak,[(0,t.renderSlot)(e.$slots,"left-icon",{},()=>[e.leftIcon?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0,size:"16px"})):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Bk,[(0,t.createElementVNode)("view",{ref:"content",class:(0,t.normalizeClass)(e.wrapContentClass),style:(0,t.normalizeStyle)(e.contentStyle),onAnimationend:n[0]||(n[0]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d)),"on:webkitAnimationEnd":n[1]||(n[1]=(...d)=>e.onAnimationEnd&&e.onAnimationEnd(...d))},[(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)((...d)=>e.onClickIcon&&e.onClickIcon(...d),["stop"]))},[e.$slots["right-icon"]?(0,t.renderSlot)(e.$slots,"right-icon",{key:0}):((0,t.openBlock)(),(0,t.createBlock)(c,{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",Tk,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.scrollList,(d,h)=>((0,t.openBlock)(),(0,t.createBlock)(s,{key:h,style:(0,t.normalizeStyle)({height:e.height+"px","line-height":e.height+"px"}),item:d},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,(d,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(d)},[(0,t.renderSlot)(e.$slots,"item",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(d),1)])],12,Vk))),128))],4)),(0,t.createElementVNode)("view",{class:"go",onClick:n[4]||(n[4]=d=>!e.slots.rightIcon&&e.handleClickIcon())},[(0,t.renderSlot)(e.$slots,"right-icon",{},()=>[e.closeMode?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,color:e.color,size:"11px"},null,8,["color"])):(0,t.createCommentVNode)("",!0)])])],4)):(0,t.createCommentVNode)("",!0)],2)}var $o=ie(Nk,[["render",Ek]]),$k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAKoCAMAAACMZv1uAAAC+lBMVEUAAAD19fXz9PTd1tvf3t708vPx7/Dz9PTY2NjY2NjWy837+fr09/f09fU0MzX09fX08vP09fXMzMz19vbY2NgyMjLz9PT19vb29/cuLDrY2Njz6uzKw8Tx7e719vby8/PY2Nj19vb09fUrKzb09fX19vbc09X09fXLy8v19fX09PS5uLjV1dX09fXV1dXU1NT/y9X19va8vLz09vb19fXX19fSyssxLzz09fX09fX09fX19vb19fX19vbU1NQxLzz09fXY2Nj19vb19vYsKjNVVFYUFBT19fXMzMz09fX09fX09fXMzMzW1tavr6/09fX09fXY2NjX19ebm536ssD09fXMzMw1MzzY2Nj19fUyMTz/y9XMzMzMzMzR0dH09fXMzMzY2NjZ2dnY2NjExMQuLDUpJzAyMDzY2NhpaWrMzMz19vbLy8sVFRXMzMy5ubm6ubkqKTL8ws7/x9IqKjIpJy//y9X19va5uLi5u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jclqt1OpSr2iWsN6ntZp0T2zW1abtcpsZ3tqdmYEt8h9AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIC/PTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAUMS6uSWMRCGwAAAABJRU5ErkJggg==",{componentName:W2,create:qk,scope:Pk}=ee("empty"),xk={empty:$k,error:Dk,network:Ik},Mk=qk({props:{image:{type:String,default:"empty"},imageSize:{type:[Number,String],default:""},description:{type:String,default:""}},setup(e){const{toLocaleRefs:n}=(0,ye.useFoxI18n)(Pk),a=n(e,["description"]),{image:l,imageSize:r}=(0,t.toRefs)(e),i=(0,t.computed)(()=>r.value?typeof r.value=="number"?`width:${r.value}px;height:${r.value}px`:`width:${r.value};height:${r.value}`:""),o=l.value.startsWith("https://")||l.value.startsWith("http://")||l.value.startsWith("//")?l.value:xk[l.value];return{...a,imageUrl:o,imgStyle:i}}}),Rk={class:"fox-empty"},zk=["src"],Fk={key:1,class:"fox-empty-description"};function Lk(e,n,a,l,r,i){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,zk)):(0,t.createCommentVNode)("",!0)],64))],4),e.$slots.description?(0,t.renderSlot)(e.$slots,"description",{key:0}):((0,t.openBlock)(),(0,t.createElementBlock)("view",Fk,(0,t.toDisplayString)(e.description),1)),e.$slots.default?(0,t.renderSlot)(e.$slots,"default",{key:2}):(0,t.createCommentVNode)("",!0)])}var Do=ie(Mk,[["render",Lk]]),{create:Ok,scope:Kk}=ee("video"),Uk=Ok({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,ye.useFoxI18n)(Kk),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}),r=(0,t.ref)(null),i=(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 o=()=>{l.videoElm=r.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)),N(),l.showToolbox?c():(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",Nn(u,1e3)))},c=()=>{const g=r.value,b=r.value.getElementsByClassName("fox-video-controller__progress-value")[0];l.player.$player=g,l.progressBar.progressElm=b,l.progressBar.pos=b.getBoundingClientRect(),l.videoSet.progress.width=Math.round(b.getBoundingClientRect().width)},s=()=>{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",Nn(u,1e3)),l.videoElm.addEventListener("ended",p),n("play",l.videoElm)}catch{y()}else l.videoElm.pause(),n("pause",l.videoElm)},d=g=>{let b=[];const E=Math.floor(g/3600);E>0&&(E<10?b.push(`0${E}`):b.push(`${E}`));const V=Math.floor(g%3600/60);V<10?b.push(`0${V}`):b.push(`${V}`);const A=Math.round(g%3600%60);return A<10?b.push(`0${A}`):b.push(`${A}`),b.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=d(l.videoElm.duration),l.videoSet.displayTime=d(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)},y=()=>{l.state.isError=!0},N=()=>{l.state.vol=e.options.volume},k=()=>{l.state.isMuted=!l.state.isMuted,l.videoElm.muted=l.state.isMuted},w=()=>{},v=g=>{let b=g.targetTouches[0].pageX-l.progressBar.pos.left;b<=0&&(b=0),b>=l.videoSet.progress.width&&(b=l.videoSet.progress.width),l.videoSet.progress.current=b;let E=l.videoSet.progress.current/l.videoSet.progress.width;l.videoElm.duration&&m(E,l.videoElm.duration)},f=g=>{let b=g.changedTouches[0].pageX-l.progressBar.pos.left;l.videoSet.progress.current=b;let E=b/l.videoSet.progress.width;l.videoElm.duration&&m(E,l.videoElm.duration)},m=(g,b)=>{l.videoElm.currentTime=Math.floor(g*b)},S=()=>{l.state.isError=!1,o()},B=()=>{l.state.fullScreen?(l.state.fullScreen=!1,document.webkitCancelFullScreen()):(l.state.fullScreen=!0,l.videoElm.webkitRequestFullScreen())};return(0,t.onMounted)(()=>{o()}),{root:r,...(0,t.toRefs)(e),...(0,t.toRefs)(l),handleError:y,isDisabled:i,play:s,handleMuted:k,touchSlidSrart:w,touchSlidMove:v,touchSlidEnd:f,retry:S,fullScreen:B,t:a}}}),Hk={class:"fox-video",ref:"videocon"},jk=["muted","autoplay","loop","poster","controls","preload"],Wk=["src","type"],Yk={class:"fox-video-controller__now"},Xk={class:"fox-video-controller__progress"},Qk={class:"fox-video-controller__progress-value",ref:"progressBar"},Gk={class:"fox-video-controller__played",ref:"playedBar"},_k={class:"fox-video-controller__total"},Zk={class:"fox-video-error"},Jk={class:"fox-video-error-tip"};function ew(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("div",Hk,[(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]=(...o)=>e.handleError&&e.handleError(...o))},[(0,t.createElementVNode)("source",{src:e.source.src,type:e.source.type},null,8,Wk)],40,jk),e.showToolbox&&!e.isDisabled?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-video-mask",ref:"touchMask",onClick:n[1]||(n[1]=(...o)=>e.play&&e.play(...o))},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]=(...o)=>e.play&&e.play(...o))},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]=(...o)=>e.play&&e.play(...o))}),(0,t.createElementVNode)("div",Yk,(0,t.toDisplayString)(e.videoSet.displayTime),1),(0,t.createElementVNode)("div",Xk,[(0,t.createElementVNode)("div",Qk,[(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)(o=>e.touchSlidMove(o),["stop","prevent"])),onTouchstart:n[5]||(n[5]=(0,t.withModifiers)(o=>e.touchSlidSrart(),["stop"])),onTouchend:n[6]||(n[6]=(0,t.withModifiers)(o=>e.touchSlidEnd(o),["stop"]))},[...n[10]||(n[10]=[(0,t.createElementVNode)("div",{class:"fox-video-controller__ball-move"},null,-1)])],36),(0,t.createElementVNode)("div",Gk,null,512)],512)]),(0,t.createElementVNode)("div",_k,(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]=(...o)=>e.handleMuted&&e.handleMuted(...o))},null,2),(0,t.createElementVNode)("div",{class:"fox-video-controller__full",onClick:n[8]||(n[8]=(...o)=>e.fullScreen&&e.fullScreen(...o))})],2),[[t.vShow,e.showToolbox&&!e.isDisabled]]),(0,t.withDirectives)((0,t.createElementVNode)("div",Zk,[(0,t.createElementVNode)("p",Jk,(0,t.toDisplayString)(e.t("errorTip")),1),(0,t.createElementVNode)("p",{class:"fox-video-error-retry",onClick:n[9]||(n[9]=(...o)=>e.retry&&e.retry(...o))},(0,t.toDisplayString)(e.t("clickRetry")),1)],512),[[t.vShow,e.state.isError]])],512)}var Dt=ie(Uk,[["render",ew]]),Gi=Symbol("fox-steps"),{create:tw,componentName:nw}=ee("steps"),lw=tw({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.computed)(()=>{const i=nw;return{[i]:!0,[`${i}-${e.direction}`]:!0,[`${i}-dot`]:!!e.progressDot}});return Jt(Gi,{props:e,onEmit:i=>{n("click-step",i)}}),()=>(0,t.h)("view",{class:l.value},a.default?.())}}),Io=lw,{create:aw,componentName:ow}=ee("step"),rw=aw({props:{title:{type:[String],default:""},content:{type:[String],default:""}},emits:["click-step"],setup(e){const{parent:n,index:a}=en(Gi,{props:e}),l=(0,t.reactive)({dot:n.props.progressDot}),r=()=>{const s=a.value+1;return s<+n.props.current?"finish":s===+n.props.current?"process":"wait"},i=(0,t.computed)(()=>r()),o=(0,t.computed)(()=>{const s=ow;return{[s]:!0,[`${s}-${i.value}`]:!0}}),c=()=>{n.onEmit(a.value)};return{...(0,t.toRefs)(l),index:a,classes:o,handleClickStep:c}}}),iw={class:"fox-step-head"},sw={class:"fox-step-icon-inner"},cw={key:1,class:"fox-step-inner"},uw={class:"fox-step-main"},dw={class:"fox-step-title"},fw={key:0},mw={key:0,class:"fox-step-content"},pw=["innerHTML"];function hw(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...o)=>e.handleClickStep&&e.handleClickStep(...o))},[(0,t.createElementVNode)("view",iw,[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",sw,[(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",cw,(0,t.toDisplayString)(e.index+1),1))])])],2)]),(0,t.createElementVNode)("view",uw,[(0,t.createElementVNode)("view",dw,[e.$slots.title?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",fw,(0,t.toDisplayString)(e.title),1)),(0,t.renderSlot)(e.$slots,"title")]),e.content||e.$slots.content?((0,t.openBlock)(),(0,t.createElementBlock)("view",mw,[e.$slots.content?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,innerHTML:e.content},null,8,pw)),(0,t.renderSlot)(e.$slots,"content")])):(0,t.createCommentVNode)("",!0)])],2)}var qo=ie(rw,[["render",hw]]),_i=Symbol("fox-swiper"),{create:gw,componentName:Po}=ee("swiper"),yw=gw({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,expose:l}){const r=(0,t.ref)(),i=(0,t.reactive)({active:0,num:0,rect:null,width:0,height:0,moving:!1,offset:0,touchTime:0,autoplayTimer:null,style:{}}),o=(0,t.computed)(()=>i[h.value?"height":"width"]),{children:c}=Jt(_i,{props:e,size:o}),s=ot(),d=(0,t.computed)(()=>({[Po]:!0})),h=(0,t.computed)(()=>e.direction==="vertical"),u=(0,t.computed)(()=>{const z=Po;return{[`${z}-inner`]:!0,[`${z}-vertical`]:h.value}}),p=(0,t.computed)(()=>{const z=Po;return{[`${z}-pagination`]:!0,[`${z}-pagination-vertical`]:h.value}}),y=(0,t.computed)(()=>h.value?s.deltaY.value:s.deltaX.value),N=(0,t.computed)(()=>s.direction.value===e.direction),k=(0,t.computed)(()=>c.value.length),w=(0,t.computed)(()=>k.value*o.value),v=(0,t.computed)(()=>i.rect?(h.value?i.rect.height:i.rect.width)-o.value*k.value:0),f=(0,t.computed)(()=>(i.active+k.value)%k.value),m=()=>{let z=0;z=i.offset,i.style={transitionDuration:`${i.moving?0:e.duration}ms`,transform:`translate${h.value?"Y":"X"}(${z}px)`,[h.value?"height":"width"]:`${o.value*k.value}px`,[h.value?"width":"height"]:`${h.value?i.width:i.height}px`}},S=(z,X=0)=>{let P=z*o.value;e.loop||(P=Math.min(P,-v.value));let _=X-P;return e.loop||(_=Ye(_,v.value,0)),_},B=z=>{const{active:X}=i;return z?e.loop?Ye(X+z,-1,k.value):Ye(X+z,0,k.value-1):X},g=({pace:z=0,offset:X=0,isEmit:P=!1})=>{if(k.value<=1)return;const{active:_}=i,te=B(z),oe=S(te,X);if(e.loop){if(c.value[0]&&oe!==v.value){const Q=oe<v.value;c.value[0].setOffset(Q?w.value:0)}if(c.value[k.value-1]&&oe!==0){const Q=oe>0;c.value[k.value-1].setOffset(Q?-w.value:0)}}i.active=te,i.offset=oe,P&&_!==i.active&&n("change",f.value),m()},b=()=>{i.moving=!0,i.active<=-1&&g({pace:k.value}),i.active>=k.value&&g({pace:-k.value})},E=()=>{i.autoplayTimer&&clearTimeout(i.autoplayTimer)},V=z=>{b(),s.reset(),Ge(()=>{Ge(()=>{i.moving=!1,g({pace:z,isEmit:!0})})})},A=()=>{V(-1)},C=()=>{V(1)},x=z=>{b(),s.reset(),Ge(()=>{i.moving=!1;let X=0;e.loop&&k.value===z?X=i.active===0?0:z:X=z%k.value,g({pace:X-i.active,isEmit:!0})})},j=()=>{const z=de(e.autoPlay);z<=0||k.value<=1||(E(),i.autoplayTimer=setTimeout(()=>{C(),j()},z))},$=(z=+e.initPage)=>{E(),i.rect=r.value.getBoundingClientRect(),z=Math.min(k.value-1,z),i.width=e.width?+e.width:i.rect.width,i.height=e.height?+e.height:i.rect.height,i.active=z,i.offset=S(i.active),i.moving=!0,m(),j()},R=z=>{e.isPreventDefault&&z.preventDefault(),e.isStopPropagation&&z.stopPropagation(),e.touchable&&(s.start(z),i.touchTime=Date.now(),E(),b())},M=z=>{e.touchable&&i.moving&&(s.move(z),N.value&&g({offset:y.value}))},F=z=>{if(!e.touchable||!i.moving)return;const X=y.value/(Date.now()-i.touchTime);if((Math.abs(X)>.3||Math.abs(y.value)>+(o.value/2).toFixed(2))&&N.value){let P=0;const _=h.value?s.offsetY.value:s.offsetX.value;e.loop?P=_>0?y.value>0?-1:1:0:P=-Math[y.value>0?"ceil":"floor"](y.value/o.value),g({pace:P,isEmit:!0})}else y.value&&g({pace:0});i.moving=!1,m(),j()};return l({prev:A,next:C,to:x}),(0,t.onDeactivated)(()=>{E()}),(0,t.onBeforeUnmount)(()=>{E()}),(0,t.watch)(()=>e.initPage,z=>{(0,t.nextTick)(()=>{$(Number(z))})}),(0,t.watch)(()=>c.value.length,()=>{(0,t.nextTick)(()=>{$()})}),(0,t.watch)(()=>e.autoPlay,z=>{de(z)>0?j():E()}),{state:i,children:c,classes:d,classesInner:u,classesPagination:p,container:r,activePagination:f,onTouchStart:R,onTouchMove:M,onTouchEnd:F}}});function bw(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{ref:"container",class:(0,t.normalizeClass)(e.classes),onTouchstart:n[0]||(n[0]=(...o)=>e.onTouchStart&&e.onTouchStart(...o)),onTouchmove:n[1]||(n[1]=(...o)=>e.onTouchMove&&e.onTouchMove(...o)),onTouchend:n[2]||(n[2]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o)),onTouchcancel:n[3]||(n[3]=(...o)=>e.onTouchEnd&&e.onTouchEnd(...o))},[(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.children.length,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("i",{style:(0,t.normalizeStyle)({backgroundColor:e.activePagination===c?e.paginationColor:"#ddd"}),class:(0,t.normalizeClass)({active:e.activePagination===c}),key:c},null,6))),128))],2)):(0,t.createCommentVNode)("",!0)],34)}var It=ie(yw,[["render",bw]]),{create:vw,componentName:Sw}=ee("swiper-item"),kw=vw({setup(e,{slots:n,expose:a}){const l=(0,t.reactive)({offset:0}),r=(0,t.computed)(()=>({[Sw]:!0})),i=s=>{l.offset=s},{parent:o}=en(_i,{setOffset:i}),c=(0,t.computed)(()=>{const s={},d=o?.props.direction;return o?.size.value&&(s[d==="horizontal"?"width":"height"]=`${o?.size.value}px`),l.offset&&(s.transform=`translate${d==="horizontal"?"X":"Y"}(${l.offset}px)`),s});return a({setOffset:i}),{style:c,classes:r}}});function ww(e,n,a,l,r,i){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 qt=ie(kw,[["render",ww]]),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:Cw}=ee("image-preview-item"),Nw=Cw({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:{[Dt.name]:Dt,[qt.name]:qt},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=ot(),r=(0,t.computed)(()=>{const{rootWidth:V,rootHeight:A}=e,C=A/V;return a.imageRatio>C}),i=(0,t.computed)(()=>{const V=e.image;if(V&&V.src){const{scale:A,moveX:C,moveY:x,moving:j,zooming:$}=a,R={transitionDuration:$||j?"0s":".3s"};return A!==1&&(R.transform=`scale(${A}, ${A}) translate(${C/A}px, ${x/A}px)`),R}return{}}),o=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:V,rootHeight:A}=e,C=r.value?A/a.imageRatio:V;return Math.max(0,(a.scale*C-V)/2)}return 0}),c=(0,t.computed)(()=>{if(a.imageRatio){const{rootWidth:V,rootHeight:A}=e,C=r.value?A:V*a.imageRatio;return Math.max(0,(a.scale*C-A)/2)}return 0}),s=V=>{const{naturalWidth:A,naturalHeight:C}=V.target;a.imageRatio=C/A},d=()=>{h(1),a.moveX=0,a.moveY=0},h=V=>{V=Ye(V,+e.minZoom,+e.maxZoom+1),V!==a.scale&&(a.scale=V,n("scale",{scale:V,index:e.initNo}))},u=()=>{h(a.scale>1?1:2),a.moveX=0,a.moveY=0},p=V=>Math.sqrt((V[0].clientX-V[1].clientX)**2+(V[0].clientY-V[1].clientY)**2);let y,N,k,w,v,f,m;const S=V=>{const{touches:A}=V,{offsetX:C}=l;l.start(V),m=A.length,y=a.moveX,N=a.moveY,f=Date.now(),a.moving=m===1&&a.scale!==1,a.zooming=m===2&&!C.value,a.zooming&&(k=a.scale,w=p(V.touches))},B=V=>{const{touches:A}=V;if(l.move(V),(a.moving||a.zooming)&&xl(V,!0),a.moving){const{deltaX:C,deltaY:x}=l,j=C.value+y,$=x.value+N;a.moveX=Ye(j,-o.value,o.value),a.moveY=Ye($,-c.value,c.value)}if(a.zooming&&A.length===2){const C=p(A);h(k*C/w)}},g=()=>{if(m==1&&e.video&&e.video.source||m>1)return;const{offsetX:V,offsetY:A}=l,C=Date.now()-f,x=250,j=5;V.value<j&&A.value<j&&C<x&&(v?(clearTimeout(v),v=null,u()):v=setTimeout(()=>{e.contentClose&&n("close"),v=null},x))},b=V=>{let A=!1;(a.moving||a.zooming)&&(A=!0,a.moving&&y===a.moveX&&N===a.moveY&&(A=!1),V.touches.length||(a.zooming&&(a.moveX=Ye(a.moveX,-o.value,o.value),a.moveY=Ye(a.moveY,-c.value,c.value),a.zooming=!1),a.moving=!1,y=0,N=0,k=1,a.scale<1&&d(),a.scale>e.maxZoom&&(a.scale=+e.maxZoom))),xl(V,A),g(),l.reset()},E=()=>{n("close")};return(0,t.watch)(()=>e.initNo,d),(0,t.watch)(()=>e.show,V=>{V||d()}),{...(0,t.toRefs)(a),onTouchStart:S,onTouchMove:B,onTouchEnd:b,getDistance:p,imageStyle:i,imageLoad:s,closeSwiper:E}}}),Aw=["src"];function Bw(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-video"),c=(0,t.resolveComponent)("fox-swiper-item");return(0,t.openBlock)(),(0,t.createBlock)(c,{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]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[2]||(n[2]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[4]||(n[4]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s))},[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]=(...s)=>e.imageLoad&&e.imageLoad(...s))},null,40,Aw)):(0,t.createCommentVNode)("",!0),e.video&&e.video.source?((0,t.openBlock)(),(0,t.createBlock)(o,{key:1,source:e.video.source,options:e.video.options},null,8,["source","options"])):(0,t.createCommentVNode)("",!0)],36)]),_:1},8,["onClick"])}var Tw=ie(Nw,[["render",Bw]]),{create:Vw}=ee("image-preview"),Ew=Vw({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:Tw,CircleClose:re.CircleClose,[Ce.name]:Ce,[It.name]:It},setup(e,{emit:n}){const a=(0,t.ref)(),l=(0,t.reactive)({showPop:e.show,active:0,rootWidth:0,rootHeight:0}),r=(0,t.computed)(()=>{const h="fox-image-preview-close";return`fox-image-preview-close-icon ${e.closeIconPosition=="top-right"?`${h}-right`:`${h}-left`}`}),i=(0,t.computed)(()=>gn(e.videos)?[].concat(e.videos).concat(e.images):e.images),o=h=>{h!==l.active&&(l.active=h,n("change",l.active))},c=()=>{ji(e.beforeClose,{args:[l.active],done:()=>s()})},s=()=>{l.showPop=!1,n("close")},d=()=>{if(a.value){const h=qe(a.value);l.rootHeight=h.height,l.rootWidth=h.width}};return(0,t.watch)(()=>e.show,h=>{l.showPop=h,h&&(o(e.initNo),d())}),(0,t.watch)(()=>e.initNo,h=>{h!=l.active&&o(h)}),(0,t.onMounted)(()=>{o(e.initNo)}),{swipeRef:a,...(0,t.toRefs)(l),onClose:c,mergeImages:i,setActive:o,iconClasses:r}}}),$w={class:"fox-image-preview",ref:"swipeRef"},Dw={key:0,class:"fox-image-preview-index"};function Iw(e,n,a,l,r,i){const o=(0,t.resolveComponent)("image-preview-item"),c=(0,t.resolveComponent)("fox-swiper"),s=(0,t.resolveComponent)("CircleClose"),d=(0,t.resolveComponent)("fox-popup");return(0,t.openBlock)(),(0,t.createBlock)(d,{"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",$w,[e.showPop?((0,t.openBlock)(),(0,t.createBlock)(c,{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)(o,{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",Dw,(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)(s,{color:"#ffffff"})])],2)):(0,t.createCommentVNode)("",!0)]),_:3},8,["visible","teleportDisable","teleport","onClosed"])}var Ji=ie(Ew,[["render",Iw]]),qw=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"},Pw=class{options=new qw;constructor(e){const n=Object.assign(this.options,e),{unmount:a}=Hs(n,{name:"image-preview",components:[Ce,Dt,It,qt,dt],wrapper:()=>({setup(){return()=>(n.onClose=()=>{n.show=!1,(0,t.nextTick)(()=>{a()})},(0,t.h)(Ji,n))}})})}},Sl=e=>new Pw(e);Sl.install=e=>{e.use(Ji)};var{create:xw}=ee("countup"),Mw=xw({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","scrollEnd"],setup(e,{emit:n,expose:a}){const l=(0,t.ref)(null),r=(0,t.ref)([]),i=V=>{V&&r.value.push(V)},o=(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:c,scrolling:s,customBgImg:d,type:h}=(0,t.reactive)(e);(0,t.watch)(()=>e.customChangeNum,()=>{p(),v(0)}),(0,t.watch)(()=>e.machinePrizeLevel,V=>{o.prizeLevelTrun=V}),(0,t.watch)(()=>e.initNum,V=>{o.current=V,o.valFlag=!1,u()}),(0,t.watch)(()=>e.endNum,()=>{o.current=e.initNum,o.valFlag=!1,u()});const u=()=>{if(o.valFlag)return!1;c&&(s||d?h!="machine"&&v():(w(),setTimeout(()=>{o.valFlag=!0},300)))},p=()=>{clearInterval(Number(o.timer)),o.timer=null},y=(V,A,C)=>{const x=(V.toString().split(".")[1]||"").length,j=(A.toString().split(".")[1]||"").length,$=Math.pow(10,Math.max(x,j));return C=="-"?Number((V*$-A*$).toFixed(0))/$:Number((V*$+A*$).toFixed(0))/$},N=V=>{let{num_total_len:A,pointNum:C,initDigit1:x,initDigit2:j,sortFlag:$}=o,R=$=="add"||$=="equal"?String(j)[V-(A-C)]:10-Number(String(j)[V-(A-C)]),M=$=="add"||$=="equal"?String(x)[V]:10-Number(String(x)[V]),F=V>A-C-1?-R*100+"%":V<=String(x).length-1?-M*100+"%":0;return F=="-1000%"&&(F=0),F},k=V=>{let{num_total_len:A,pointNum:C,initDigit1:x,initDigit2:j}=o,$=String(j)[V-(A-C)];return V>A-C-1?$||0:V<=String(x).length-1?String(x)[V]:0},w=()=>{let{endNum:V,initNum:A,speed:C,toFixed:x}=e,j=setInterval(()=>{A>V?Number(o.current)<=V||Number(o.current)<=C?(o.current=V.toFixed(x),clearInterval(j),n("scrollEnd"),o.valFlag=!1):o.current=(parseFloat(String(o.current))-parseFloat(String(C))).toFixed(x):Number(o.current)>=V?(o.current=V.toFixed(x),clearInterval(j),n("scrollEnd"),o.valFlag=!1):o.current=(parseFloat(String(o.current))+parseFloat(String(C))).toFixed(x)},e.during)},v=V=>{let{initNum:A,endNum:C,toFixed:x,customBgImg:j}=e;j&&(A=e.customChangeNum);let $,R,M,F;A!=0?(x!=0&&(A=Number(A.toFixed(x))),String(A).indexOf(".")>-1?($=String(A).split(".")[0].length,R=String(A).split(".")[1].length):($=String(A).length,R=0)):($=1,R=0),C!=0?(x!=0&&(C=Number(C.toFixed(x))),String(C).indexOf(".")>-1?(M=String(C).split(".")[0].length,F=String(C).split(".")[1].length):(M=String(C).length,F=0)):(M=1,F=0);let z=$>=M?$:M,X=R>=F?R:F;o.num_total_len=z+X,o.pointNum=X,A>C?(o.sortFlag="reduce",o.to0_10=[0,9,8,7,6,5,4,3,2,1,0],o.totalCount=y(A,C,"-"),o.numberVal=Number(String(A))):A<C?(o.sortFlag="add",o.to0_10=[0,1,2,3,4,5,6,7,8,9,0],o.totalCount=y(C,A,"-"),o.numberVal=Number(String(C))):o.sortFlag="equal";var P=1;for(let te=0;te<o.pointNum;te++)P*=10;var _=o.numberVal*P;if(o.relNum=_,x!=0&&(o.pointNum=String(o.numberVal).split(".")[1]?String(o.numberVal).split(".")[1].length:0,o.num_total_len=String(_).length),String(A).indexOf(".")>-1){let te=String(A).split(".");o.initDigit1=Number(te[0]),o.initDigit2=Number(te[1])}else o.initDigit1=A,o.initDigit2=0;s&&!j?(0,t.nextTick)(()=>{if(o.sortFlag=="equal")return!1;let te=r.value[o.num_total_len-1];f(te)}):V!==0&&B()},f=V=>{p();var A=1;o.pointNum!=0&&(A=1/Math.pow(10,o.pointNum)),o.timer=setInterval(()=>{m(V),o.totalCount=y(o.totalCount,A,"-"),o.totalCount<=0&&(p(),n("scrollEnd"),o.valFlag=!1)},e.during)},m=V=>{let A=V.getAttribute("turn-number"),C;if(o.sortFlag=="add"?C=parseInt(String(A))+1:C=parseInt(String(A))-1>=0?parseInt(String(A))-1:9,V.setAttribute("turn-number",String(C)),(V.style.transition=="none 0s ease 0s"||C==1||!V.style.transition)&&(V.style.transition=`all linear ${e.during}ms`),C==10||o.sortFlag=="reduce"&&C==0){var x=null;V.style.top=`-${o.sortFlag=="add"?C*100:(10-C)*100}%`,V.setAttribute("turn-number","0"),x=setTimeout(()=>{x&&clearTimeout(x),V.style.transition="none",V.style.top="0",S(V,C)},.975*e.during)}else V.style.top=`-${o.sortFlag=="add"?C*100:(10-C)*100}%`;V.style.top=="-100%"&&o.sortFlag=="reduce"&&m(V.previousSibling)},S=(V,A)=>{setTimeout(()=>{A==10&&V.previousSibling&&m(V.previousSibling)},200)},B=()=>{(0,t.nextTick)(()=>{l.value.addEventListener("webkitTransitionEnd",()=>{n("scrollEnd"),o.valFlag=!1})})},g=()=>{for(o.notPrize=[];o.notPrize.length<3;){var V=Math.floor(Math.random()*e.machinePrizeNum+1);o.notPrize.indexOf(V)==-1&&o.notPrize.push(V)}};a({machineLuck:()=>{const V=e.machineTurnMore<0?0:e.machineTurnMore;let A=e.numHeight*e.machinePrizeNum;o.prizeLevelTrun<0&&g();for(let C=0;C<e.machineNum;C++)setTimeout(()=>{let x=A*(C+1+parseFloat(String(V)));o.prizeYPrev.length!=0&&(o.prizeY[C]=o.prizeYPrev[C]);let j=o.prizeYPrev[C]?o.prizeYPrev[C]:0,$=x+j+(e.machinePrizeNum-o.prizeLevelTrun+1)*e.numHeight+(A-j);o.prizeLevelTrun<0&&($+=e.numHeight*o.notPrize[C]),E(C,$,j)},500*C)}});const E=(V,A,C)=>{let x=setInterval(()=>{if(C<=A)C+=10,o.prizeY[V]=parseFloat(String(C));else if(clearInterval(x),x=null,o.finshMachine+=1,o.prizeY[V]=A,o.finshMachine==e.machineNum){let j=e.numHeight*e.machinePrizeNum;o.prizeYPrev=[],JSON.parse(JSON.stringify(o.prizeY)).forEach($=>{let R=$;for(;R>j;)R-=j;o.prizeYPrev.push(R)}),setTimeout(()=>{o.finshMachine=0,o.prizeLevelTrun<0?(n("scrollEnd",!1),o.valFlag=!1):(n("scrollEnd",!0),o.valFlag=!1)},130)}},30)};return(0,t.onMounted)(()=>{o.current=e.initNum,(0,t.nextTick)(()=>{u()})}),(0,t.onUnmounted)(()=>{p(),o.timer=null}),{...(0,t.toRefs)(o),...(0,t.toRefs)((0,t.reactive)(e)),runNumberImg:l,setRef:i,topNumber:N,turnNumber:k}}}),Rw={class:"fox-countup"},zw=["turn-number"];function Fw(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",Rw,[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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:"mImg"+c,class:"fox-countup__machine-item",style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionY:e.prizeY[c]+"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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:"cImg"+c,class:"fox-countup__numberimg__item",style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",left:e.numWidth*(Number(c)>e.num_total_len-e.pointNum-1?Number(c)==e.num_total_len-e.pointNum?Number(c)*1.5:Number(c)*1.3:Number(c))+"px",backgroundImage:"url("+e.customBgImg+")",backgroundPositionX:"0",backgroundPositionY:-(+String(e.relNum)[c]*e.numHeight+e.customSpacNum*+String(e.relNum)[c])+"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,(o,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{ref_for:!0,ref:s=>e.setRef(s),key:o,class:"fox-countup__number-item",style:(0,t.normalizeStyle)({top:e.topNumber(c),left:e.numWidth*(Number(c)>e.num_total_len-e.pointNum-1?Number(c)*1.1:Number(c))+"px"}),"turn-number":e.turnNumber(c)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.to0_10,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:"dote"+d,class:"fox-countup__number-item__span",style:(0,t.normalizeStyle)({width:e.numWidth+"px",height:e.numHeight+"px",lineHeight:e.numHeight+"px"})},(0,t.toDisplayString)(s),5))),128))],12,zw))),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 xo=ie(Mw,[["render",Fw]]),Lw=e=>{if(!e)return Date.now();let n=Number(e),a=n>0?+n:n.toString().replace(/\-/g,"/");return new Date(a).getTime()},{componentName:Ow,create:Kw}=ee("countdown"),Uw=Kw({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}),r=(0,t.computed)(()=>({[Ow]:!0})),i=(0,t.computed)(()=>s(l.restTime)),o=()=>{l.handleEndTime=e.endTime,l.diffTime=Date.now()-Lw(e.startTime),l.counting||(l.counting=!0),c()},c=()=>{window!==void 0&&(l.timer=requestAnimationFrame(()=>{if(l.counting){const y=Date.now()-l.diffTime,N=Math.max(l.handleEndTime-y,0);l.restTime=N,N||(l.counting=!1,u(),n("on-end")),N>0&&c()}}))},s=(y,N)=>{const k=y;let w={d:0,h:0,m:0,s:0,ms:0};const v=1e3,f=60*v,m=60*f,S=24*m;return k>0&&(w.d=k>=v?Math.floor(k/S):0,w.h=Math.floor(k%S/m),w.m=Math.floor(k%m/f),w.s=Math.floor(k%f/v),w.ms=Math.floor(k%v)),N=="custom"?w:d({...w})},d=y=>{let{d:N,h:k,m:w,s:v,ms:f}=y,m=e.format;if(m.includes("DD")?m=m.replace("DD",st(N)):k+=Number(N)*24,m.includes("HH")?m=m.replace("HH",st(k)):w+=Number(k)*60,m.includes("mm")?m=m.replace("mm",st(w)):v+=Number(w)*60,m.includes("ss")?m=m.replace("ss",st(v)):f+=Number(v)*1e3,m.includes("S")){const S=st(f,3).toString();m.includes("SSS")?m=m.replace("SSS",S):m.includes("SS")?m=m.replace("SS",S.slice(0,2)):m.includes("S")&&(m=m.replace("SS",S.slice(0,1)))}return m},h=()=>{!l.counting&&!e.autoStart&&(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),c(),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?o():l.restTime=e.time}),(0,t.watch)(()=>l.restTime,y=>{let N=s(y,"custom");n("update:modelValue",N),n("input",N)}),(0,t.watch)(()=>e.paused,(y,N)=>{N?(l.counting||(l.counting=!0,l.handleEndTime=Date.now()+Number(l.restTime),c()),n("on-restart",l.restTime)):l.counting&&u()}),(0,t.watch)(()=>e.endTime,y=>{o()}),(0,t.watch)(()=>e.startTime,y=>{o()}),{...(0,t.toRefs)(e),slots:a,classes:r,start:h,pause:u,renderTime:i,reset:p}}}),Hw=["innerHTML"];function jw(e,n,a,l,r,i){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 Mo=ie(Uw,[["render",jw]]),{create:Ww}=ee("badge"),Yw=Ww({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})}}}),Xw={class:"fox-badge"},Qw=["textContent"];function Gw(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",Xw,[(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,Qw),[[t.vShow,!e.hidden&&(e.content||e.dot)]])])}var Ro=ie(Yw,[["render",Gw]]),{componentName:_w,create:Zw}=ee("tag"),Jw=Zw({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:re.Close},emits:["close","click"],setup(e,{emit:n}){return{classes:(0,t.computed)(()=>{const o=_w;return{[o]:!0,[`${o}--${e.type}`]:!0,[`${o}--plain`]:e.plain,[`${o}--round`]:e.round,[`${o}--mark`]:e.mark,[`${o}--symbol`]:e.symbol,[`${o}--text`]:e.text,[`${o}--light`]:e.light}}),getStyle:()=>{const o={};return e.textColor?o.color=e.textColor:(e.color&&e.plain||e.color&&e.text)&&(o.color=e.color),e.plain?(o.background="#fff",o["border-color"]=e.color):!e.text&&e.color&&(o.background=e.color),o},onClose:o=>{o.stopPropagation(),n("close",o)},onClick:o=>{n("click",o)}}}});function eC(e,n,a,l,r,i){const o=(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]=(...c)=>e.onClick&&e.onClick(...c))},[(0,t.renderSlot)(e.$slots,"default"),e.closeable?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0,class:"fox-tag--close",onClick:e.onClose},null,8,["onClick"])):(0,t.createCommentVNode)("",!0)],6)}var zo=ie(Jw,[["render",eC]]),{create:tC}=ee("popover"),nC=tC({components:{FoxPopup:Ce},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)(),r=(0,t.ref)(e.visible);let i=(0,t.ref)(),o=(0,t.ref)();const c=(0,t.computed)(()=>{const f="fox-popover-arrow",m=e.location;return`${f} ${f}-${m.split("-")[0]} ${f}--${m}`}),s=(0,t.computed)(()=>{const f={},{bgColor:m,arrowOffset:S,location:B}=e,g=B.split("-")[0],b=B.split("-")[1],E=16;return m&&(f[`border${d(g)}Color`]=m),e.arrowOffset!=0&&(["bottom","top"].includes(g)&&(b||(f.left=`calc(50% + ${S}px)`),b=="start"&&(f.left=`${E+S}px`),b=="end"&&(f.right=`${E-S}px`)),["left","right"].includes(g)&&(b||(f.top=`calc(50% - ${S}px)`),b=="start"&&(f.top=`${E-S}px`),b=="end"&&(f.bottom=`${E+S}px`))),f}),d=f=>(f=f.toLowerCase(),f=f.replace(/\b\w+\b/g,m=>m.substring(0,1).toUpperCase()+m.substring(1)),f),h=(0,t.computed)(()=>{let f={};if(!i.value||!o.value)return{};const m=o.value.width,S=o.value.height,{width:B,height:g,left:b,top:E}=i.value,{location:V,offset:A}=e,C=V.split("-")[0],x=V.split("-")[1];let j=0,$=0;return gn(A)&&A.length==2&&(j+=Number(A[1]),$+=Number(A[0])),B&&(["bottom","top"].includes(C)&&(f.top=`${E+(C=="bottom"?g+j:-(S+j))}px`,x||(f.left=`${-(m-B)/2+b+$}px`),x=="start"&&(f.left=`${b+$}px`),x=="end"&&(f.left=`${i.value.right+$}px`)),["left","right"].includes(C)&&(f.left=`${b+(C=="left"?-(m+j):B+j)}px`,x||(f.top=`${E-S/2+g/2-4+$}px`),x=="start"&&(f.top=`${E+$}px`),x=="end"&&(f.top=`${E+g+$}px`))),f}),u=(0,t.computed)(()=>{const f={};return e.bgColor&&(f.background=e.bgColor),f}),p=()=>{let f=qe(a.value);e.targetId&&(f=qe(document.querySelector(`#${e.targetId}`))),i.value=f,setTimeout(()=>{o.value={height:l.value?.clientHeight,width:l.value?.clientWidth}},0)};(0,t.onMounted)(()=>{setTimeout(()=>{p()},200)}),(0,t.watch)(()=>e.visible,f=>{r.value=f,f?(window.addEventListener("touchstart",v,!0),p()):window.removeEventListener("touchstart",v,!0)});const y=f=>{n("update",f),n("update:visible",f)},N=()=>{y(!e.visible),n("open")},k=()=>{n("update:visible",!1),n("close")},w=(f,m)=>{!f.disabled&&n("choose",f,m),e.closeOnClickAction&&k()},v=f=>{const m=a.value,S=l.value;let B=m&&!m.contains(f.target);if(e.targetId){const g=document.querySelector(`#${e.targetId}`);B=g&&!g.contains(f.target)}B&&S&&!S.contains(f.target)&&e.closeOnClickOutside&&k()};return{showPopup:r,openPopover:N,popoverArrow:c,closePopover:k,chooseItem:w,popoverRef:a,popoverContentRef:l,getRootPosition:h,customStyle:u,popoverArrowStyle:s,renderIcon:xr}}}),lC={ref:"popoverContentRef",class:"fox-popover-content-group"},aC=["onClick"],oC={class:"fox-popover-menu-item-name"};function rC(e,n,a,l,r,i){const o=(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]=(...c)=>e.openPopover&&e.openPopover(...c))},[(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)(o,{visible:e.showPopup,"onUpdate:visible":n[1]||(n[1]=c=>e.showPopup=c),"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",lC,[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,(c,s)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:s,class:(0,t.normalizeClass)([c.className,c.disabled&&"fox-popover-menu-disabled","fox-popover-menu-item"]),onClick:(0,t.withModifiers)(d=>e.chooseItem(c,s),["stop"])},[c.icon?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon(c.icon)),{key:0,class:"fox-popover-item-img"})):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",oC,(0,t.toDisplayString)(c.name),1)],10,aC))),128))],512)]),_:3},8,["visible","pop-class","style","teleport-disable","overlay","duration","overlay-style","overlay-class","close-on-click-overlay"])],6)],64)}var dn=ie(nC,[["render",rC]]),iC=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:r}=(0,t.toRefs)(n),i=(0,t.computed)(()=>{const s="avatarClass";return{[s]:!0,[`${s}--${a.value}`]:a.value}});return{avatarShape:a,avatarClass:i,getBlockClass:s=>({[s]:!0,[`${s}--round`]:l.value}),getStyle:()=>r.value?{width:r.value,height:r.value}:{width:"50px",height:"50px"}}}}),{create:sC}=ee("skeleton"),cC=sC(iC({[un.name]:un})),uC={key:0},dC={key:1,class:"fox-skeleton"},fC={key:0,class:"fox-skeleton-animation"},mC={class:"fox-skeleton-content"};function pC(e,n,a,l,r,i){const o=(0,t.resolveComponent)("fox-avatar");return e.loading?((0,t.openBlock)(),(0,t.createElementBlock)("view",dC,[e.animated?((0,t.openBlock)(),(0,t.createElementBlock)("view",fC)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",mC,[e.avatar?((0,t.openBlock)(),(0,t.createBlock)(o,{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),c=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:c,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",uC,[(0,t.renderSlot)(e.$slots,"default")]))}var Fo=ie(cC,[["render",pC]]),{create:hC,componentName:gC}=ee("collapse"),yC=hC({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?"":[])),r=(0,t.computed)(()=>({[gC]:!0}));(0,t.watch)(()=>e.modelValue,s=>{l.value=s});const i=(s,d,h=!0)=>{l.value=s,n("update:modelValue",s),n("change",s,d,h)},o=s=>{e.accordion?l.value===s?i("",s,!1):i(s,s,!0):Array.isArray(l.value)?l.value.includes(s)?i(l.value.filter(d=>d!==s),s,!1):i(l.value.concat([s]),s,!0):console.warn("[FoxUI] <Collapse> 未开启手风琴模式时 v-model 应为数组")},c=s=>e.accordion?l.value===s:Array.isArray(l.value)?l.value.includes(s):!1;return(0,t.provide)("collapseParent",{updateVal:o,isExpanded:c}),{collapseDom:a,classes:r}}});function bC(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),ref:"collapseDom"},[(0,t.renderSlot)(e.$slots,"default")],2)}var Lo=ie(yC,[["render",bC]]),{create:vC,componentName:SC}=ee("collapse-item"),kC=vC({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:re.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")),r=(0,t.computed)(()=>{const u=SC;return{[u]:!0,[u+"__border"]:e.border}}),i=(0,t.computed)(()=>l?l.isExpanded(e.name):!1),o=(0,t.ref)(i.value?"auto":"0px"),c=()=>{l.updateVal(e.name)},s=()=>{i.value&&(o.value="auto")},d=()=>{o.value="0px",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const u=a.value?.offsetHeight;o.value=u?`${u}px`:"auto"})})},h=()=>{const u=a.value?.offsetHeight;o.value=u?`${u}px`:"auto",requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.value="0px"})})};return(0,t.watch)(i,u=>{u?d():h()}),{classes:r,renderIcon:xr,wrapperRef:n,contentRef:a,open:d,toggle:c,wrapperHeight:o,expanded:i,onTransitionEnd:s}}}),wC={class:"fox-collapse-item__title-main"},CC={class:"fox-collapse-item__title-main-value"},NC=["innerHTML"],AC={key:2,class:"fox-collapse-item__title-label"},BC={key:0,class:"fox-collapse-item__title-sub"},TC=["innerHTML"],VC={key:0,class:"fox-collapse__item-extraWrapper"},EC={class:"fox-collapse__item-extraWrapper__extraRender"},$C={class:"fox-collapse__item-wrapper__content",ref:"contentRef"};function DC(e,n,a,l,r,i){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]=(...o)=>e.toggle&&e.toggle(...o))},[(0,t.createElementVNode)("view",wC,[(0,t.createElementVNode)("view",CC,[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,NC)),e.label?((0,t.openBlock)(),(0,t.createElementBlock)("view",AC,(0,t.toDisplayString)(e.label),1)):(0,t.createCommentVNode)("",!0)])]),e.$slots.value?((0,t.openBlock)(),(0,t.createElementBlock)("view",BC,[(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,TC)),(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",VC,[(0,t.createElementVNode)("div",EC,[(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]=(...o)=>e.onTransitionEnd&&e.onTransitionEnd(...o))},[(0,t.createElementVNode)("view",$C,[(0,t.renderSlot)(e.$slots,"default")],512)],36)],2)}var Oo=ie(kC,[["render",DC]]),IC=(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:qC,create:PC,scope:xC}=ee("table"),MC=PC({components:{RenderColumn:IC,DownArrow:re.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,ye.useFoxI18n)(xC),r=(0,t.reactive)({curData:e.data}),i=(0,t.computed)(()=>({[qC]:!0})),o=y=>({"fox-table__main__head__tr--border":e.bordered,[`fox-table__main__head__tr--align${y.align?y.align:""}`]:!0}),c=y=>y.stylehead?y.stylehead:"",s=y=>y.stylecolumn?y.stylecolumn:"",d=y=>e.columns.filter(N=>N.key===y)[0],h=y=>{const N=e.columns.filter(k=>k.key===y);return N[0].stylecolumn?N[0].stylecolumn:""},u=y=>{y.sorter&&(n("sorter",y),r.curData=typeof y.sorter=="function"?r.curData.sort(y.sorter):y.sorter==="default"?r.curData.sort():r.curData)},p=()=>e.columns.map(y=>[y.key,y.render]);return(0,t.watch)(()=>e.data,y=>{r.curData=y.slice()}),{...(0,t.toRefs)(r),classes:i,cellClasses:o,getColumnItem:d,getColumnItemStyle:h,handleSorterClick:u,sortDataItem:p,t:l,stylehead:c,stylecolumn:s}}}),RC={class:"fox-table__main__head"},zC={class:"fox-table__main__head__tr"},FC=["onClick"],LC={class:"fox-table__main__body"},OC={key:1},KC={key:0,class:"fox-table__nodata"},UC={key:0,class:"fox-table__nodata__text"},HC={key:1,class:"fox-table__summary"},jC=["innerHTML"];function WC(e,n,a,l,r,i){const o=(0,t.resolveComponent)("DownArrow"),c=(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",RC,[(0,t.createElementVNode)("view",zC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,s=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__head__tr__th",e.cellClasses(s)]),key:s.key,onClick:d=>e.handleSorterClick(s),style:(0,t.normalizeStyle)(s.stylehead)},[(0,t.createTextVNode)((0,t.toDisplayString)(s.title)+" ",1),(0,t.renderSlot)(e.$slots,"icon"),!e.$slots.icon&&s.sorter?((0,t.openBlock)(),(0,t.createBlock)(o,{key:0,width:"12px",height:"12px"})):(0,t.createCommentVNode)("",!0)],14,FC))),128))])]),(0,t.createElementVNode)("view",LC,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.curData,s=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-table__main__body__tr",key:s},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sortDataItem(),([d,h])=>((0,t.openBlock)(),(0,t.createElementBlock)("span",{class:(0,t.normalizeClass)(["fox-table__main__body__tr__td",e.cellClasses(e.getColumnItem(d))]),key:d,style:(0,t.normalizeStyle)(e.getColumnItemStyle(d))},[typeof s[d]=="function"||typeof h=="function"?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,slots:[h,s[d]],record:s},null,8,["slots","record"])):((0,t.openBlock)(),(0,t.createElementBlock)("view",OC,(0,t.toDisplayString)(s[d]),1))],6))),128))]))),128))])],2),e.curData.length?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",KC,[(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",UC,(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,jC)])):(0,t.createCommentVNode)("",!0)],2)}var Ko=ie(MC,[["render",WC]]),{componentName:YC,create:XC}=ee("ellipsis"),QC=XC({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,r=0;const i=(0,t.ref)(),o=(0,t.reactive)({exceeded:!1,expanded:!1}),c=(0,t.computed)(()=>({[YC]:!0}));(0,t.watch)(()=>e.content,(k,w)=>{k!=w&&s()}),(0,t.onMounted)(()=>{s()});const s=()=>{if(!a.value)return;const k=window.getComputedStyle(a.value);l=document.createElement("div"),Array.prototype.slice.apply(k).forEach(v=>{l.style.setProperty(v,k.getPropertyValue(v))}),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 w=p(k.lineHeight==="normal"?e.lineHeight:k.lineHeight);r=Math.floor(w*(Number(e.rows)+.5)+p(k.paddingTop)+p(k.paddingBottom)),l.innerText=e.content,document.body.appendChild(l),d()},d=()=>{if(l.offsetHeight<=r)o.exceeded=!1,document.body.removeChild(l);else{o.exceeded=!0;const k=e.content.length,w=Math.floor((0+k)/2);i.value=e.direction==="middle"?u([0,w],[w,k]):h(0,k),document.body.removeChild(l)}},h=(k,w)=>{const v=o.expanded?e.collapseText:e.expandText,f=e.content.length;if(w-k<=1)return e.direction==="end"?{leading:e.content.slice(0,k)+e.symbol}:{tailing:e.symbol+e.content.slice(w,f)};const m=Math.round((k+w)/2);return e.direction==="end"?l.innerText=e.content.slice(0,m)+e.symbol+v:l.innerText=v+e.symbol+e.content.slice(m,f),l.offsetHeight<=r?e.direction==="end"?h(m,w):h(k,m):e.direction==="end"?h(k,m):h(m,w)},u=(k,w)=>{const v=o.expanded?e.collapseText:e.expandText,f=e.content.length;if(k[1]-k[0]<=1&&w[1]-w[0]<=1)return{leading:e.content.slice(0,k[0])+e.symbol,tailing:e.symbol+e.content.slice(w[1],f)};const m=Math.floor((k[0]+k[1])/2),S=Math.ceil((w[0]+w[1])/2);return l.innerText=e.content.slice(0,m)+e.symbol+v+e.symbol+e.content.slice(S,f),l.offsetHeight<=r?u([m,k[1]],[w[0],S]):u([k[0],m],[S,w[1]])},p=k=>{if(!k)return 0;const w=k.match(/^\d*(\.\d*)?/);return w?Number(w[0]):0},y=k=>{k==1?(o.expanded=!0,n("change","expand")):(o.expanded=!1,n("change","collapse"))},N=()=>{n("click")};return{...(0,t.toRefs)(o),root:a,ellipsis:i,classes:c,clickHandle:y,handleClick:N}}}),GC={key:0},_C={key:1},ZC={key:2};function JC(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[2]||(n[2]=(...o)=>e.handleClick&&e.handleClick(...o)),ref:"root"},[e.exceeded?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("view",GC,(0,t.toDisplayString)(e.content),1)),e.exceeded&&!e.expanded?((0,t.openBlock)(),(0,t.createElementBlock)("view",_C,[(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)(o=>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",ZC,[(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)(o=>e.clickHandle(2),["stop"]))},(0,t.toDisplayString)(e.collapseText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0)],2)}var Uo=ie(QC,[["render",JC]]),{componentName:e2,create:t2}=ee("animate"),n2=t2({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:r}=(0,t.toRefs)(e),i=(0,t.reactive)({clicked:!1});let o=(0,t.computed)(()=>({"fox-animate__container":!0,[`${e2}-${a.value}`]:r.value==="initial"||i.clicked?a.value:!1,loop:l.value}));const c=s=>{i.clicked=!0,l.value||setTimeout(()=>{i.clicked=!1},1e3),n("click",s)};return{...(0,t.toRefs)(i),classes:o,handleClick:c}}}),l2={class:"fox-animate"};function a2(e,n,a,l,r,i){return(0,t.openBlock)(),(0,t.createElementBlock)("view",l2,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o)),style:(0,t.normalizeStyle)({animationDuration:e.duration?`${e.duration}ms`:void 0})},[(0,t.renderSlot)(e.$slots,"default")],6)])}var Ho=ie(n2,[["render",a2]]),{componentName:o2,create:r2}=ee("watermark"),i2=r2({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:r,gapY:i,width:o,height:c,rotate:s,image:d,imageWidth:h,imageHeight:u,content:p,fontStyle:y,fontWeight:N,fontColor:k,fontSize:w,fontFamily:v}=e,f=()=>{const S=document.createElement("canvas"),B=window.devicePixelRatio,g=S.getContext("2d"),b=`${(r+o)*B}px`,E=`${(i+c)*B}px`,V=o*B,A=c*B;if(S.setAttribute("width",b),S.setAttribute("height",E),g)if(d){g.translate(V/2,A/2),g.rotate(Math.PI/180*Number(s));const C=new Image;C.crossOrigin="anonymous",C.referrerPolicy="no-referrer",C.src=d,C.onload=()=>{g.drawImage(C,-h*B/2,-u*B/2,h*B,u*B),g.restore(),a.base64Url=S.toDataURL()}}else p&&(g.textBaseline="middle",g.textAlign="center",g.translate(V/2,A/2),g.rotate(Math.PI/180*Number(s)),g.font=`${y} normal ${N} ${Number(w)*B}px/${A}px ${v}`,g.fillStyle=k,g.fillText(p,0,0),g.restore(),a.base64Url=S.toDataURL());else throw new Error("当前环境不支持Canvas")};f(),(0,t.watch)(()=>[l,r,i,o,c,s,d,h,u,p,y,N,k,w,v],()=>{f()});const m=(0,t.computed)(()=>{const S=o2;return{[S]:!0,[`${S}-full-page`]:e.fullPage}});return{...(0,t.toRefs)(a),classes:m}}});function s2(e,n,a,l,r,i){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 jo=ie(i2,[["render",s2]]);function c2(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:u2,create:d2}=ee("trend-arrow"),f2=d2({components:{TriangleUp:re.TriangleUp,TriangleDown:re.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)(()=>({[u2]:!0})),l=(0,t.computed)(()=>{const{rate:i,digits:o,showSign:c,showZero:s}=e;n.rateTrend=i>0;const d=Math.abs(i);return!s&&i===0?"--":`${c&&i!==0?n.rateTrend?"+":"-":""}${c2(Number(d),o)}%`}),r=(0,t.computed)(()=>{const{dropColor:i,riseColor:o,syncTextColor:c,textColor:s,rate:d}=e;return{color:d===0?s:c?n.rateTrend?o:i:s}});return{...(0,t.toRefs)(n),classes:a,calcRate:l,calcStyle:r}}});function m2(e,n,a,l,r,i){const o=(0,t.resolveComponent)("TriangleUp"),c=(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)(o,{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)(c,{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 Wo=ie(f2,[["render",m2]]),{create:p2}=ee("tour"),h2=p2({components:{[dn.name]:dn,Close:re.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)({}),r=(0,t.computed)(()=>"fox-tour"),i=(0,t.computed)(()=>{const{offset:h,maskWidth:u,maskHeight:p}=e,{width:y,height:N,left:k,top:w}=l.value,v=[k+y/2,w+N/2],f=Number(u||y),m=Number(p||N);return{width:`${f+ +h[1]*2}px`,height:`${m+ +h[0]*2}px`,top:`${v[1]-m/2-+h[0]}px`,left:`${v[0]-f/2-+h[1]}px`}}),o=h=>{h=="next"?a.active=a.active+1:a.active=a.active-1,a.showPopup=!1,(0,t.nextTick)(()=>{a.showPopup=!0,c()}),n("change",a.active)},c=()=>{l.value=qe(document.querySelector(`#${e.steps[a.active].target}`))},s=()=>{a.showTour=!1,a.showPopup=!1,n("close",a.active),n("update:modelValue",!1)},d=()=>{e.closeOnClickOverlay&&s()};return(0,t.onMounted)(()=>{a.active=0,c()}),(0,t.watch)(()=>e.modelValue,h=>{h&&c(),a.active=0,a.showTour=h,a.showPopup=h}),{...(0,t.toRefs)(a),classes:r,maskStyle:i,changeStep:o,close:s,handleClickMask:d}}}),g2={key:0,class:"fox-tour-content"},y2={key:0,class:"fox-tour-content-top"},b2={class:"fox-tour-content-inner"},v2={class:"fox-tour-content-bottom"},S2={class:"fox-tour-content-bottom-init"},k2={class:"fox-tour-content-bottom-operate"},w2={key:1,class:"fox-tour-content fox-tour-content-tile"},C2={class:"fox-tour-content-inner"};function N2(e,n,a,l,r,i){const o=(0,t.resolveComponent)("Close"),c=(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]=(...s)=>e.handleClickMask&&e.handleClickMask(...s))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(s,d)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:d,style:{height:"0"}},[d==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)(c,{visible:e.showPopup,"onUpdate:visible":n[5]||(n[5]=h=>e.showPopup=h),location:s.location||e.location,targetId:"fox-tour-popid",bgColor:e.bgColor,theme:e.theme,"close-on-click-outside":!1,offset:s.popoverOffset||[0,12],arrowOffset:s.arrowOffset||0},{content:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",g2,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",y2,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...h)=>e.close&&e.close(...h))},[(0,t.createVNode)(o,{class:"fox-tour-content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",b2,(0,t.toDisplayString)(s.content),1),(0,t.createElementVNode)("div",v2,[(0,t.createElementVNode)("div",S2,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",k2,[(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",w2,[(0,t.createElementVNode)("div",C2,(0,t.toDisplayString)(s.content),1)])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","location","bgColor","theme","offset","arrowOffset"])],64)):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Yo=ie(h2,[["render",N2]]),{componentName:A2,create:B2}=ee("barrage"),T2=B2({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)(()=>({[A2]:!0}));let r=(0,t.ref)(document.createElement("div")),i=(0,t.ref)(document.createElement("div")),o=null;const c=(0,t.ref)(e.danmu),s=(0,t.ref)(e.rows),d=(0,t.ref)(e.top),h=(0,t.ref)(0),u=e.speeds,p=(0,t.ref)(0);(0,t.onMounted)(()=>{y(),a&&document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"?(k(),h.value=0,N("hidden")):document.visibilityState==="visible"&&y()})}),(0,t.onUnmounted)(()=>{c.value=[],k()});const y=()=>{p.value=r.value.offsetWidth,a&&N("init"),setTimeout(()=>{r.value?.style.setProperty("--move-distance",`-${p.value}px`),v()},300)},N=m=>{let S=document.getElementsByClassName("slotBody"+n)?.[0]?.children||[];const B=[];S&&Array.from(S).forEach(g=>{m=="init"?(g.style.opacity="0",B.push(g)):(g.classList="",g.style={})}),m=="init"&&(c.value=B)},k=()=>{o&&(clearTimeout(o),o=null)};(0,t.watch)(()=>e.danmu,m=>{e.danmu.length>0&&(c.value=[...m])});const w=m=>{const S=h.value%c.value.length;!e.loop&&h.value===c.value.length?c.value.splice(c.value.length,0,m):c.value.splice(S,0,m)},v=()=>{k(),o=setTimeout(()=>{f()},e.frequency)},f=()=>{const m=e.loop?h.value%c.value.length:h.value;let S=document.createElement("view");a&&typeof c.value[m]=="object"?(S=c.value[m],S?.classList?.add("fox-barrage__item")):(S.innerHTML=c.value[m],S.classList.add("fox-barrage__item"),i.value.appendChild(S)),(0,t.nextTick)(()=>{const B=S.offsetHeight;if(S?.classList?.add("move"),S.style.animationDuration=`${u}ms`,S.style.top=m%s.value*(B+d.value)+20+"px",S.style.opacity="1",!a){const g=S.offsetWidth;S.style.width=g+20+"px"}S.addEventListener("animationend",()=>{a?S.classList.remove("move"):i.value.removeChild(S)}),!(!e.loop&&h.value>=c.value.length-1)&&(h.value++,h.value>=c.value.length&&(h.value=0),S.removeEventListener("animationend",()=>{}),v())})};return{classTime:n,classes:l,danmuList:c,dmBody:r,dmContainer:i,add:w}}});function V2(e,n,a,l,r,i){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 Xo=ie(T2,[["render",V2]]),{componentName:E2,create:$2,scope:D2}=ee("signature"),I2=$2({props:{customClass:{type:[String],default:""},lineWidth:{type:[Number],default:2},strokeStyle:{type:[String],default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:[String],default:"png"},unSupportTpl:{type:[String],default:""}},components:{FoxButton:Bt},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n,expose:a}){const{toLocaleRefs:l}=(0,ye.useFoxI18n)(D2),r=l(e,["unSupportTpl","reSign","confirmText"]),i=(0,t.ref)(null),o=(0,t.ref)(null),c=(0,t.computed)(()=>({[E2]:!0,[`${e.customClass}`]:e.customClass})),s=(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"]}),d=()=>{let m=document.createElement("canvas");return!!(m.getContext&&m.getContext("2d"))},h=()=>{i.value.addEventListener(s.events[0],u,!1)},u=m=>{m.preventDefault(),s.ctx.beginPath(),s.ctx.lineWidth=e.lineWidth,s.ctx.strokeStyle=e.strokeStyle,n("start"),i.value.addEventListener(s.events[1],p,!1),i.value.addEventListener(s.events[2],y,!1),i.value.addEventListener(s.events[3],N,!1)},p=m=>{m.preventDefault();let S=s.isSupportTouch?m.touches[0]:m;n("signing",S);let B=i.value.getBoundingClientRect(),g=S.clientX-B.left,b=S.clientY-B.top;s.ctx.lineTo(g,b),s.ctx.stroke()},y=m=>{m.preventDefault(),n("end"),i.value.removeEventListener(s.events[1],p,!1),i.value.removeEventListener(s.events[2],y,!1)},N=m=>{m.preventDefault(),i.value.removeEventListener(s.events[1],p,!1),i.value.removeEventListener(s.events[2],y,!1)},k=()=>{i.value.addEventListener(s.events[2],y,!1),s.ctx.clearRect(0,0,s.canvasWidth,s.canvasHeight),s.ctx.closePath(),n("clear")},w=()=>{f(i.value)},v=m=>{if(!m)return!0;var S=document.createElement("canvas");return S.width=m.width,S.height=m.height,m?.toDataURL()==S.toDataURL()},f=m=>{let S;switch(e.type){case"png":S=m.toDataURL("image/png");break;case"jpg":S=m.toDataURL("image/jpeg",.8);break}n("confirm",v(m)?"请绘制签名":m,v(m)?"":S)};return(0,t.onMounted)(()=>{d()&&(s.ctx=i.value.getContext("2d"),s.canvasWidth=o.value.offsetWidth,s.canvasHeight=o.value.offsetHeight,h())}),a({confirm:w,clear:k}),{...r,...(0,t.toRefs)(s),canvas:i,wrap:o,isCanvasSupported:d,confirm:w,clear:k,classes:c}}}),q2={class:"fox-signature__inner",ref:"wrap"},P2=["height","width"],x2={key:0,class:"fox-signature-unsopport"},M2={class:"fox-signature__toolbar"};function R2(e,n,a,l,r,i){const o=(0,t.resolveComponent)("FoxButton");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",q2,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,P2),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",x2,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createElementVNode)("div",M2,[(0,t.renderSlot)(e.$slots,"toolbar",{},()=>[(0,t.createVNode)(o,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=c=>e.clear())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.reSign),1)]),_:1}),(0,t.createVNode)(o,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=c=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})])])],2)}var Qo=ie(I2,[["render",R2]]),z2=[Ul,jl,Wl,Yl,Gl,jt,jn,ea,ta,na,la,oa,Xn,sa,fa,ga,ba,ol,rl,va,sl,cl,ka,Ca,vt,Na,Ba,yl,Va,$a,Qt,Gt,Zn,Da,Pa,xa,Ma,ft,Ra,za,Wn,St,Yn,Fa,La,Bt,Oa,Ka,Ua,dt,Ce,Ha,ja,Wa,Ya,Zt,Xa,Qa,Ga,_a,Za,Ja,eo,to,no,lo,ao,oo,ro,io,so,co,uo,tn,pl,Jn,al,nl,bl,fl,Yt,fo,mo,po,ho,go,yo,bo,ln,ml,vo,wo,dl,Et,Ao,Bo,un,To,Vo,nn,Eo,$o,Do,Dt,Io,qo,It,qt,Kn,Sl,xo,Mo,Ro,zo,dn,Fo,Lo,Oo,Ko,Uo,Ho,jo,Wo,Yo,Xo,Qo],F2=new Us(z2,"4.0.0");T.AbstractPageScopeKey=Ol,T.ActionSheet=go,T.FoxActionSheet=go,T.ActionsheetItem=Va,T.FoxActionsheetItem=Va,T.ActionsheetPane=yl,T.FoxActionsheetPane=yl,T.Animate=Ho,T.FoxAnimate=Ho,T.Audio=Ao,T.FoxAudio=Ao,T.AudioOperate=Bo,T.FoxAudioOperate=Bo,T.Avatar=un,T.FoxAvatar=un,T.AvatarGroup=To,T.FoxAvatarGroup=To,T.BackTop=yo,T.FoxBackTop=yo,T.Badge=Ro,T.FoxBadge=Ro,T.Barrage=Xo,T.FoxBarrage=Xo,T.Broadcast=hr,T.BroadcastKey=Re,T.Button=Bt,T.FoxButton=Bt,T.ButtonsItem=ea,T.FoxButtonsItem=ea,T.Calendar=al,T.FoxCalendar=al,T.CalendarItem=ba,T.FoxCalendarItem=ba,T.Cascader=Jn,T.FoxCascader=Jn,T.CascaderItem=fa,T.FoxCascaderItem=fa,T.Cell=Oa,T.FoxCell=Oa,T.CellGroup=Ua,T.FoxCellGroup=Ua,T.Checkbox=sl,T.FoxCheckbox=sl,T.CheckboxGroup=cl,T.FoxCheckboxGroup=cl,T.CheckboxItem=ka,T.FoxCheckboxItem=ka,T.CircleProgress=Eo,T.FoxCircleProgress=Eo,T.Col=Wa,T.FoxCol=Wa,T.Collapse=Lo,T.FoxCollapse=Lo,T.CollapseItem=Oo,T.FoxCollapseItem=Oo,T.Content=Yl,T.FoxContent=Yl,T.CountDown=Mo,T.FoxCountDown=Mo,T.CountUp=xo,T.FoxCountUp=xo,T.DataItemsKey=Ot,T.DateItem=ga,T.FoxDateItem=ga,T.DatePicker=nl,T.FoxDatePicker=nl,T.DateUtils=Ct,T.Dialog=ln,T.FoxDialog=ln,T.Divider=Xa,T.FoxDivider=Xa,T.Domain=An,T.DomainKey=et,T.DomainProvider=Fa,T.FoxDomainProvider=Fa,T.Drag=bo,T.FoxDrag=bo,T.Dropdown=za,T.FoxDropdown=za,T.Elevator=lo,T.FoxElevator=lo,T.Ellipsis=Uo,T.FoxEllipsis=Uo,T.Empty=Do,T.FoxEmpty=Do,T.FixedNav=Za,T.FoxFixedNav=Za,T.FloatingButton=xa,T.FoxFloatingButton=xa,T.FooterBar=Wl,T.FoxFooterBar=Wl,T.FoxGrid=Qa,T.Grid=Qa,T.FoxGridItem=Ga,T.GridItem=Ga,T.FoxGroup=Gl,T.Group=Gl,T.FoxHeaderBar=jl,T.HeaderBar=jl,T.FoxHintText=vt,T.HintText=vt,T.FoxIcon=Ka,T.Icon=Ka,T.FoxImage=Ha,T.Image=Ha,T.FoxImagePreview=Sl,T.ImagePreview=Sl,T.FoxIndicator=io,T.Indicator=io,T.FoxInfiniteLoading=ml,T.InfiniteLoading=ml,T.FoxInputItem=na,T.InputItem=na,T.FoxInputNumber=bl,T.InputNumber=bl,T.FoxInputNumberItem=$a,T.InputNumberItem=$a,T.FoxItem=jt,T.Item=jt,T.FoxLayout=ja,T.Layout=ja,T.FoxLinkItem=Na,T.LinkItem=Na,T.FoxList=Vo,T.List=Vo,T.FoxMapping=Yn,T.Mapping=Yn,T.FoxMenu=Ja,T.Menu=Ja,T.FoxMenuItem=eo,T.MenuItem=eo,T.FoxMessageBox=ft,T.MessageBox=ft,T.FoxMoneyItem=la,T.MoneyItem=la,T.FoxMoreButton=Ma,T.MoreButton=Ma,T.FoxNavbar=_a,T.Navbar=_a,T.FoxNoticeBar=$o,T.NoticeBar=$o,T.FoxNotify=wo,T.Notify=wo,T.FoxNumberKeyboard=po,T.NumberKeyboard=po,T.FoxOverLay=dt,T.OverLay=dt,T.FoxPage=Ul,T.Page=Ul,T.FoxPagination=ao,T.Pagination=ao,T.FoxPicker=Yt,T.Picker=Yt,T.FoxPickerItem=sa,T.PickerItem=sa,T.FoxPopover=dn,T.Popover=dn,T.FoxPopoverDialog=Wn,T.PopoverDialog=Wn,T.FoxPopup=Ce,T.Popup=Ce,T.FoxPopupWrapper=Ra,T.PopupWrapper=Ra,T.FoxPrice=Kn,T.Price=Kn,T.FoxProgress=nn,T.Progress=nn,T.FoxPullRefresh=vo,T.PullRefresh=vo,T.FoxRadio=ol,T.Radio=ol,T.FoxRadioGroup=rl,T.RadioGroup=rl,T.FoxRadioItem=va,T.RadioItem=va,T.FoxRange=tn,T.Range=tn,T.FoxRate=fl,T.Rate=fl,T.FoxRateItem=Ba,T.RateItem=Ba,T.FoxRollingProvider=La,T.RollingProvider=La,T.FoxRow=Ya,T.Row=Ya,T.FoxRowItem=jn,T.RowItem=jn,T.FoxSearchBar=pl,T.SearchBar=pl,T.FoxShortPassword=fo,T.ShortPassword=fo,T.FoxSideNavBar=so,T.SideNavBar=so,T.FoxSideNavBarItem=co,T.SideNavBarItem=co,T.FoxSignature=Qo,T.Signature=Qo,T.FoxSkeleton=Fo,T.Skeleton=Fo,T.FoxSlotItem=ta,T.SlotItem=ta,T.FoxStep=qo,T.Step=qo,T.FoxSteps=Io,T.Steps=Io,T.FoxStepsBar=Pa,T.StepsBar=Pa,T.FoxSticky=Zt,T.Sticky=Zt,T.FoxSubSideNavBar=uo,T.SubSideNavBar=uo,T.FoxSwipe=ho,T.Swipe=ho,T.FoxSwiper=It,T.Swiper=It,T.FoxSwiperItem=qt,T.SwiperItem=qt,T.FoxSwitch=dl,T.Switch=dl,T.FoxSwitchItem=Ca,T.SwitchItem=Ca,T.FoxTabPane=ro,T.TabPane=ro,T.FoxTabbar=to,T.Tabbar=to,T.FoxTabbarItem=no,T.TabbarItem=no,T.FoxTable=Ko,T.Table=Ko,T.FoxTabs=oo,T.Tabs=oo,T.FoxTabsBar=Qt,T.TabsBar=Qt,T.FoxTabsContainer=Gt,T.TabsContainer=Gt,T.FoxTabsFrame=Da,T.TabsFrame=Da,T.FoxTabsPane=Zn,T.TabsPane=Zn,T.FoxTag=zo,T.Tag=zo,T.FoxText=St,T.Text=St,T.FoxTextarea=Xn,T.Textarea=Xn,T.FoxTextareaItem=oa,T.TextareaItem=oa,T.FoxToast=Et,T.Toast=Et,T.FoxTour=Yo,T.Tour=Yo,T.FoxTrendArrow=Wo,T.TrendArrow=Wo,T.FoxUploader=mo,T.Uploader=mo,T.FoxVideo=Dt,T.Video=Dt,T.FoxWaterMark=jo,T.WaterMark=jo,T.InnerPageScopeKey=Ll,T.PriorityPolicy=lt,T.UniqueID=Un,T.ValidateSchema=Sr,T.ValidateSchemaKey=Je,T.browseProperty=Ir,T.cancelRaf=_o,T.clamp=Ye,T.clearNonNumber=Pl,T.compareTo=El,T.createBroadcast=Rt,T.createValidateSchema=wn,T.debounce=Pe,T.debounceRef=$s,T.decimalLength=mr,T.default=F2,T.defineConfigDomain=wr,T.defineDataItem=Cr,T.defineDomain=zl,T.defineDomainItemProperty=Ve,T.defineItem=Be,T.definePageState=Nr,T.defineSimpleItem=Fe,T.deleteGlobalValidator=Bs,T.disabledProperty=Dr,T.divide=Vl,T.excludeProps=Ze,T.extend=pt,T.floatData=Ss,T.getGlobalIcons=Pn,T.getGlobalValidateCheckEvents=yr,T.getGlobalValidateResetEvents=vr,T.getPageContentAreaHeight=En,T.getPageContentAreaWidth=$n,T.getPageFooterAreaHeight=Vn,T.getPageHeaderAreaHeight=Tn,T.getRootDomain=gt,T.hasSymbol=sr,T.includeProps=ve,T.indexOf=bs,T.injectAbstractPageScope=Ut,T.injectAbstractPageScopeForContent=Er,T.injectAbstractPageScopeForFooterBar=Vr,T.injectAbstractPageScopeForHeaderBar=Tr,T.injectInnerPageScope=Kt,T.integerLength=fr,T.isArray=gn,T.isArrayLike=ur,T.isBrowser=_e,T.isDate=We,T.isDisplayNone=Il,T.isESModule=ms,T.isEmptyString=pe,T.isEqual=De,T.isFunction=yn,T.isHidden=Dl,T.isMap=cs,T.isNil=Ee,T.isNumberString=vn,T.isObject=$e,T.isPlainObject=fs,T.isPromise=mt,T.isRegExp=ql,T.isSet=us,T.isString=rr,T.isSubPage=xs,T.isSymbol=ds,T.isTouch=Qn,T.isWindow=cr,T.kebabToPascal=Sn,T.lastIndexOf=vs,T.makeArray=ys,T.merge=dr,T.multiply=lr,T.negate=ar,T.nextTick=hs,T.numberFormat=hn,T.objectToString=ir,T.once=Ds,T.overrideGlobalIcons=_s,T.overrideGlobalValidateHandler=Ns,T.padZero=st,T.pascalToKebab=ks,T.preventDefault=xl,T.property=Te,T.provideAbstractPageScope=Br,T.provideInnerPageScope=Ar,T.px2Number=Ps,T.raf=je,T.readonlyProperty=$r,T.setGlobalValidateCheckEvents=Ts,T.setGlobalValidateHandler=Cs,T.setGlobalValidateMessages=Es,T.setGlobalValidateResetEvents=Vs,T.setGlobalValidator=As,T.throttle=Nn,T.toBoolean=ke,T.toNumber=de,T.toPadding=Le,T.toPx=ue,T.toPxDesc=qs,T.toPxString=he,T.toTypeString=bn,T.toValue=xe,T.tryTimes=Ml,T.typeOf=ht,T.unNumberFormat=or,T.updatePageState=Fl,T.useBroadcast=zt,T.useDomain=tt,T.useInnerSize=qn,T.usePageState=Bn,T.usePosition=_l,T.useRawTouch=Gn,T.useRect=qe,T.useSize=Hl,T.useSlotChildren=On,T.useTouch=ot,T.valueLength=we});
|